pavva94 / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 1 forks source link

Can't access to my disk #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a 2TB FutjiSu HD Drive
2. Go to Log

What is the expected output? What do you see instead?
Jan 1 00:00:23 boot-kernel: 0x00000000-0x003f0000 : "ALL"
Jan 1 00:00:23 boot-kernel: str8100-ehci str8100-ehci: str8100-ehci
Jan 1 00:00:23 boot-kernel: str8100-ehci str8100-ehci: new USB bus registered, 
assigned bus number 1
Jan 1 00:00:23 boot-kernel: str8100-ehci str8100-ehci: irq 24, io mem 0xcc000000
Jan 1 00:00:23 boot-kernel: str8100-ehci str8100-ehci: USB 0.0 started, EHCI 
1.00, driver 10 Dec 2004
Jan 1 00:00:23 boot-kernel: usb usb1: configuration #1 chosen from 1 choice
Jan 1 00:00:23 boot-kernel: hub 1-0:1.0: USB hub found
Jan 1 00:00:23 boot-kernel: hub 1-0:1.0: 2 ports detected
Jan 1 00:00:23 boot-kernel: ohci_hcd: 2005 April 22 USB 1.1 'Open' Host 
Controller (OHCI) Driver (STR8100)
Jan 1 00:00:23 boot-kernel: str8100-ohci str8100-ohci: str8100-ohci
Jan 1 00:00:23 boot-kernel: str8100-ohci str8100-ohci: new USB bus registered, 
assigned bus number 2
Jan 1 00:00:23 boot-kernel: str8100-ohci str8100-ohci: irq 23, io mem 0xc4000000
Jan 1 00:00:23 boot-kernel: usb usb2: configuration #1 chosen from 1 choice
Jan 1 00:00:23 boot-kernel: hub 2-0:1.0: USB hub found
Jan 1 00:00:23 boot-kernel: hub 2-0:1.0: 2 ports detected
Jan 1 00:00:23 boot-kernel: ohci_hcd: 2005 April 22 USB 1.1 'Open' Host 
Controller (OHCI) Driver (PCI)
Jan 1 00:00:24 boot-kernel: usbcore: registered new driver usblp
Jan 1 00:00:24 boot-kernel: drivers/usb/class/usblp.c: v0.13: USB Printer 
Device Class driver
Jan 1 00:00:24 boot-kernel: Initializing USB Mass Storage driver...
Jan 1 00:00:24 boot-kernel: usbcore: registered new driver usb-storage
Jan 1 00:00:24 boot-kernel: USB Mass Storage support registered.
Jan 1 00:00:24 boot-kernel: NET: Registered protocol family 2
Jan 1 00:00:24 boot-kernel: IP route cache hash table entries: 512 (order: -1, 
2048 bytes)
Jan 1 00:00:24 boot-kernel: TCP established hash table entries: 2048 (order: 1, 
8192 bytes)
Jan 1 00:00:24 boot-kernel: TCP bind hash table entries: 2048 (order: 1, 8192 
bytes)
Jan 1 00:00:24 boot-kernel: TCP: Hash tables configured (established 2048 bind 
2048)
Jan 1 00:00:24 boot-kernel: TCP reno registered
Jan 1 00:00:24 boot-kernel: TCP bic registered
Jan 1 00:00:24 boot-kernel: NET: Registered protocol family 1
Jan 1 00:00:24 boot-kernel: NET: Registered protocol family 17
Jan 1 00:00:24 boot-kernel: Empty flash at 0x00299114 ends at 0x0029fff0
Jan 1 00:00:24 boot-kernel: VFS: Mounted root (jffs2 filesystem) readonly.
Jan 1 00:00:24 boot-kernel: Freeing init memory: 76K
Jan 1 00:00:24 boot-kernel: Reset config: NO
Jan 1 00:00:24 boot-kernel: MAC Addr: ac:de:48:5f:43:a5
Jan 1 00:00:24 boot-kernel: eth0:star_nic_lan_open
Jan 1 00:00:24 boot-kernel: star_nic_enable: starting patch check.
Jan 1 00:00:24 kernel: klogd started: BusyBox v1.14.2 (2010-06-13 18:24:16 CEST)
Jan 1 00:00:24 kernel: Linux version 2.6.16-gazineu (root@MLG-ubuntu) (gcc 
version 3.4.6) #5 Sun Jun 13 18:58:51 CEST 2010
Jan 1 00:00:24 kernel: CPU: FA526id(wb) [66015261] revision 1 (ARMv4)
Jan 1 00:00:24 kernel: Machine: STAR STR8100
Jan 1 00:00:24 kernel: Warning: bad configuration page, trying to continue
Jan 1 00:00:24 kernel: Ignoring unrecognised tag 0x00000000
Jan 1 00:00:24 kernel: Memory policy: ECC disabled, Data cache writeback
Jan 1 00:00:24 kernel: On node 0 totalpages: 8192
Jan 1 00:00:24 kernel: DMA zone: 8192 pages, LIFO batch:1
Jan 1 00:00:24 kernel: DMA32 zone: 0 pages, LIFO batch:0
Jan 1 00:00:24 kernel: Normal zone: 0 pages, LIFO batch:0
Jan 1 00:00:24 kernel: HighMem zone: 0 pages, LIFO batch:0
Jan 1 00:00:24 kernel: CPU0: D VIVT write-back cache
Jan 1 00:00:24 kernel: CPU0: I cache: 8192 bytes, associativity 2, 16 byte 
lines, 256 sets
Jan 1 00:00:24 kernel: CPU0: D cache: 8192 bytes, associativity 2, 16 byte 
lines, 256 sets
Jan 1 00:00:24 kernel: PLL clock at 250MHz
Jan 1 00:00:24 kernel: CPU clock at 250MHz
Jan 1 00:00:24 kernel: AHB clock at 125MHz
Jan 1 00:00:24 kernel: APB clock at 62MHz
Jan 1 00:00:24 kernel: Built 1 zonelists
Jan 1 00:00:24 kernel: Kernel command line: 
mtdparts=m25p80:256k(boot)ro,128k(config),960k(kernel)ro,2688k(initrd)ro,4032k@0
x0000(web),4032k@0x0000(flash) root=31:03 ro rootfstype=jffs2
Jan 1 00:00:24 kernel: PID hash table entries: 256 (order: 8, 4096 bytes)
Jan 1 00:00:24 kernel: Dentry cache hash table entries: 8192 (order: 3, 32768 
bytes)
Jan 1 00:00:24 kernel: Inode-cache hash table entries: 4096 (order: 2, 16384 
bytes)
Jan 1 00:00:24 kernel: Memory: 32MB = 32MB total
Jan 1 00:00:24 kernel: Memory: 30348KB available (1808K code, 160K data, 76K 
init)
Jan 1 00:00:24 kernel: Calibrating delay loop... 191.69 BogoMIPS (lpj=958464)
Jan 1 00:00:24 kernel: Mount-cache hash table entries: 512
Jan 1 00:00:24 kernel: CPU: Testing write buffer coherency: ok
Jan 1 00:00:24 kernel: NET: Registered protocol family 16
Jan 1 00:00:24 kernel: PCI clock at 33M
Jan 1 00:00:24 kernel: PCI: bus0: Fast back to back transfers disabled
Jan 1 00:00:24 kernel: PCI Bridge not found
Jan 1 00:00:24 kernel: PCI map irq: 00:00.00 slot 0, pin 1, irq: 0
Jan 1 00:00:24 kernel: SCSI subsystem initialized
Jan 1 00:00:24 kernel: usbcore: registered new driver usbfs
Jan 1 00:00:24 kernel: usbcore: registered new driver hub
Jan 1 00:00:24 kernel: str8100_led_init: <6>Registered NAS 652 led device 
driver.
Jan 1 00:00:24 kernel: NetWinder Floating Point Emulator V0.97 (extended 
precision)
Jan 1 00:00:24 kernel: JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Jan 1 00:00:24 kernel: fuse init (API version 7.8)
Jan 1 00:00:24 kernel: fuse distribution version: 2.7.4
Jan 1 00:00:24 kernel: io scheduler noop registered
Jan 1 00:00:24 kernel: io scheduler cfq registered (default)
Jan 1 00:00:24 kernel: str8100_rtc.o: rtc module version 1.0.0
Jan 1 00:00:24 kernel: str8100_wdt.o: watchdog module version 1.0.1
Jan 1 00:00:24 kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ 
sharing disabled
Jan 1 00:00:24 kernel: serial8250: ttyS0 at MMIO 0x78000000 (irq = 9) is a 
16550A
Jan 1 00:00:24 kernel: serial8250: ttyS1 at MMIO 0x78800000 (irq = 10) is a 
16550A
Jan 1 00:00:24 kernel: loop: loaded (max 8 devices)
Jan 1 00:00:24 kernel: Star NIC Driver(for Linux Kernel 2.6) - Star 
Semiconductor
Jan 1 00:00:24 kernel: rxring.vir_addr=0xFFC00000 rxring.phy_addr=0x003C6000
Jan 1 00:00:24 kernel: txring.vir_addr=0xFFC01000 txring.phy_addr=0x003C7000
Jan 1 00:00:24 kernel: Star Internal PHY
Jan 1 00:00:24 kernel: MAC Addr: 08:0a:0b:0c:0d:0e
Jan 1 00:00:24 kernel: star_nic_init_module: internal phy patch included.
Jan 1 00:00:24 kernel: star_nic_init_module: scatter/gather enabled.
Jan 1 00:00:24 kernel: STR8100 SPI: init
Jan 1 00:00:24 kernel: m25p80 spi1.0: m25p64 (8192 Kbytes)
Jan 1 00:00:24 kernel: Creating 6 MTD partitions on "m25p80":
Jan 1 00:00:24 kernel: 0x00000000-0x00040000 : "BOOT"
Jan 1 00:00:24 kernel: 0x00040000-0x00060000 : "CFG"
Jan 1 00:00:24 kernel: 0x00060000-0x00150000 : "KERNEL"
Jan 1 00:00:24 kernel: 0x00150000-0x003f0000 : "INITRD"
Jan 1 00:00:24 kernel: 0x00000000-0x003f0000 : "WEB"
Jan 1 00:00:24 kernel: 0x00000000-0x003f0000 : "ALL"
Jan 1 00:00:24 kernel: str8100-ehci str8100-ehci: str8100-ehci
Jan 1 00:00:24 kernel: str8100-ehci str8100-ehci: new USB bus registered, 
assigned bus number 1
Jan 1 00:00:24 kernel: str8100-ehci str8100-ehci: irq 24, io mem 0xcc000000
Jan 1 00:00:24 kernel: str8100-ehci str8100-ehci: USB 0.0 started, EHCI 1.00, 
driver 10 Dec 2004
Jan 1 00:00:24 kernel: usb usb1: configuration #1 chosen from 1 choice
Jan 1 00:00:24 kernel: hub 1-0:1.0: USB hub found
Jan 1 00:00:24 kernel: hub 1-0:1.0: 2 ports detected
Jan 1 00:00:24 kernel: ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller 
(OHCI) Driver (STR8100)
Jan 1 00:00:24 kernel: str8100-ohci str8100-ohci: str8100-ohci
Jan 1 00:00:24 kernel: str8100-ohci str8100-ohci: new USB bus registered, 
assigned bus number 2
Jan 1 00:00:24 kernel: str8100-ohci str8100-ohci: irq 23, io mem 0xc4000000
Jan 1 00:00:24 kernel: usb usb2: configuration #1 chosen from 1 choice
Jan 1 00:00:24 kernel: hub 2-0:1.0: USB hub found
Jan 1 00:00:24 kernel: hub 2-0:1.0: 2 ports detected
Jan 1 00:00:24 kernel: ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller 
(OHCI) Driver (PCI)
Jan 1 00:00:24 kernel: usbcore: registered new driver usblp
Jan 1 00:00:24 kernel: drivers/usb/class/usblp.c: v0.13: USB Printer Device 
Class driver
Jan 1 00:00:24 kernel: Initializing USB Mass Storage driver...
Jan 1 00:00:24 kernel: usbcore: registered new driver usb-storage
Jan 1 00:00:24 kernel: USB Mass Storage support registered.
Jan 1 00:00:24 kernel: NET: Registered protocol family 2
Jan 1 00:00:24 kernel: IP route cache hash table entries: 512 (order: -1, 2048 
bytes)
Jan 1 00:00:24 kernel: TCP established hash table entries: 2048 (order: 1, 8192 
bytes)
Jan 1 00:00:24 kernel: TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
Jan 1 00:00:24 kernel: TCP: Hash tables configured (established 2048 bind 2048)
Jan 1 00:00:24 kernel: TCP reno registered
Jan 1 00:00:24 kernel: TCP bic registered
Jan 1 00:00:24 kernel: NET: Registered protocol family 1
Jan 1 00:00:24 kernel: NET: Registered protocol family 17
Jan 1 00:00:24 kernel: Empty flash at 0x00299114 ends at 0x0029fff0
Jan 1 00:00:24 kernel: VFS: Mounted root (jffs2 filesystem) readonly.
Jan 1 00:00:24 kernel: Freeing init memory: 76K
Jan 1 00:00:24 kernel: Reset config: NO
Jan 1 00:00:24 kernel: MAC Addr: ac:de:48:5f:43:a5
Jan 1 00:00:24 kernel: eth0:star_nic_lan_open
Jan 1 00:00:24 kernel: star_nic_enable: starting patch check.
Jan 1 00:00:24 crond[547]: crond (busybox 1.14.2) started, log level 8
Jan 1 00:04:20 kernel: usb 1-1: new high speed USB device using str8100-ehci 
and address 2
Jan 1 00:04:20 kernel: usb 1-1: configuration #1 chosen from 1 choice
Jan 1 00:04:20 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jan 1 00:04:20 kernel: usb-storage: device found at 2
Jan 1 00:04:20 kernel: usb-storage: waiting for device to settle before scanning
Jan 1 00:04:27 kernel: Vendor: Hitachi Model: HDS722020ALA330 Rev:
Jan 1 00:04:27 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 1 00:04:41 kernel: ready
Jan 1 00:04:42 kernel: SCSI device sda: 3907029168 512-byte hdwr sectors 
(2000399 MB)
Jan 1 00:04:42 kernel: sda: Write Protect is off
Jan 1 00:04:42 kernel: sda: Mode Sense: 34 00 00 00
Jan 1 00:04:42 kernel: sda: assuming drive cache: write through
Jan 1 00:04:42 kernel: SCSI device sda: 3907029168 512-byte hdwr sectors 
(2000399 MB)
Jan 1 00:04:42 kernel: sda: Write Protect is off
Jan 1 00:04:42 kernel: sda: Mode Sense: 34 00 00 00
Jan 1 00:04:42 kernel: sda: assuming drive cache: write through
Jan 1 00:04:42 kernel: sda: sda1
Jan 1 00:04:42 kernel: sd 0:0:0:0: Attached scsi disk sda
Jan 1 00:04:42 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Jan 1 00:04:42 kernel: usb-storage: device scan complete
Jan 1 00:04:42 kernel: usb 1-1: reset high speed USB device using str8100-ehci 
and address 2
Jan 1 00:04:42 kernel: usb 1-1: device descriptor read/64, error -32
Jan 1 00:04:42 kernel: usb 1-1: device descriptor read/64, error -32
Jan 1 00:04:43 kernel: usb 1-1: reset high speed USB device using str8100-ehci 
and address 2
Jan 1 00:04:43 kernel: usb 1-1: device descriptor read/64, error -32
Jan 1 00:04:44 kernel: usb 1-1: device descriptor read/64, error -32
Jan 1 00:04:44 kernel: usb 1-1: reset high speed USB device using str8100-ehci 
and address 2
Jan 1 00:04:45 kernel: usb 1-1: device descriptor read/8, error -71
Jan 1 00:04:45 kernel: usb 1-1: device descriptor read/8, error -71
Jan 1 00:04:45 kernel: usb 1-1: reset high speed USB device using str8100-ehci 
and address 2
Jan 1 00:04:45 kernel: usb 1-1: device descriptor read/8, error -71
Jan 1 00:04:45 kernel: usb 1-1: device descriptor read/8, error -71
Jan 1 00:04:46 kernel: usb 1-1: USB disconnect, address 2
Jan 1 00:04:46 kernel: sd 0:0:0:0: SCSI error: return code = 0x10000
Jan 1 00:04:46 kernel: end_request: I/O error, dev sda, sector 64
Jan 1 00:04:46 kernel: Buffer I/O error on device sda, logical block 8
Jan 1 00:04:46 kernel: sd 0:0:0:0: rejecting I/O to device being removed
Jan 1 00:04:46 kernel: Buffer I/O error on device sda, logical block 9
Jan 1 00:04:46 kernel: Buffer I/O error on device sda, logical block 10
Jan 1 00:04:46 kernel: Buffer I/O error on device sda, logical block 11
Jan 1 00:04:46 kernel: Buffer I/O error on device sda, logical block 12
Jan 1 00:04:46 kernel: Buffer I/O error on device sda, logical block 13
Jan 1 00:04:46 kernel: Buffer I/O error on device sda, logical block 14
Jan 1 00:04:46 kernel: 0:0:0:0: rejecting I/O to dead device
Jan 1 00:04:46 kernel: 0:0:0:0: rejecting I/O to dead device
Jan 1 00:04:46 kernel: 0:0:0:0: rejecting I/O to dead device
Jan 1 00:04:46 kernel: 0:0:0:0: rejecting I/O to dead device
Jan 1 00:04:46 kernel: usb 1-1: new high speed USB device using str8100-ehci 
and address 3
Jan 1 00:04:46 kernel: usb 1-1: device descriptor read/64, error -32
Jan 1 00:04:46 kernel: usb 1-1: device descriptor read/64, error -32
Jan 1 00:04:47 kernel: usb 1-1: new high speed USB device using str8100-ehci 
and address 4
Jan 1 00:04:47 kernel: usb 1-1: device descriptor read/64, error -32
Jan 1 00:04:47 kernel: usb 1-1: device descriptor read/64, error -32
Jan 1 00:04:47 kernel: usb 1-1: new high speed USB device using str8100-ehci 
and address 5
Jan 1 00:04:47 kernel: usb 1-1: device descriptor read/8, error -71
Jan 1 00:04:48 kernel: usb 1-1: device descriptor read/8, error -71
Jan 1 00:04:48 kernel: usb 1-1: new high speed USB device using str8100-ehci 
and address 6
Jan 1 00:04:48 kernel: usb 1-1: device descriptor read/8, error -71
Jan 1 00:04:48 kernel: usb 1-1: device descriptor read/8, error -71
Jan 1 00:10:01 crond[547]: USER root pid 1015 cmd /usr/share/snake/setntp

What version of the product are you using? On what operating system?
Version snakeos-V1.1.0-20100613-from-original.bin

Please provide any additional information below.
It looks similar to: http://ubuntuforums.org/archive/index.php/t-143672.html

Thanks a lot for support.

Original issue reported on code.google.com by clin...@gmail.com on 13 Jul 2010 at 11:18

GoogleCodeExporter commented 9 years ago
I have a one TB drive and a similar problem. The disk would not show itself in 
the "Disk" list.
I could click "format" and it would say OK but not be able to mount.
As I guessed, I think it was a memory problem. Solution:

1. Get a USB-key of at leat 512MB.
2. Insert and format it.
3. Start the Swap File Service and make a swap file on the USB key.
4. Format the 2TB drive. It took 20 minutes for my 1 TB drive. At first it will 
look like nothing is happening. After a while it will show progress numbers.
My first attempt failed, but the second worked.

/Magnus

Original comment by magnu...@gmail.com on 2 Jan 2011 at 6:18