danpedron / snake-os

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

Unable to mount ext3 drive #271

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. OI connected a 1TB drive to USB1 port of the NAS
2. I formatted a 1TB drive with ext3 format of snake OS
3. I tried to mount

What is the expected output? What do you see instead?
the drive will be mounted

What version of the product are you using? On what operating system?

V1.3.2 (20111019)
Please provide any additional information below.

For some reason it will not mount

Original issue reported on code.google.com by golan.y...@gmail.com on 12 Jan 2012 at 6:41

GoogleCodeExporter commented 8 years ago
Can you post the contents of system -> log?

Original comment by stefansc...@googlemail.com on 12 Jan 2012 at 2:24

GoogleCodeExporter commented 8 years ago
Jan 11 18:07:07 kernel: PCI map irq: 00:00.00 slot 0, pin 1, irq: 0
Jan 11 18:07:07 kernel: SCSI subsystem initialized
Jan 11 18:07:07 kernel: usbcore: registered new driver usbfs
Jan 11 18:07:07 kernel: usbcore: registered new driver hub
Jan 11 18:07:07 kernel: str8100_led_init: <6>Registered NAS 652 led device 
driver.
Jan 11 18:07:07 kernel: NetWinder Floating Point Emulator V0.97 (extended 
precision)
Jan 11 18:07:07 kernel: JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Jan 11 18:07:07 kernel: fuse init (API version 7.8)
Jan 11 18:07:07 kernel: fuse distribution version: 2.7.4
Jan 11 18:07:07 kernel: io scheduler noop registered
Jan 11 18:07:07 kernel: io scheduler cfq registered (default)
Jan 11 18:07:07 kernel: str8100_rtc.o: rtc module version 1.0.0
Jan 11 18:07:07 kernel: str8100_wdt.o: watchdog module version 1.0.1
Jan 11 18:07:07 kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, 
IRQ sharing disabled
Jan 11 18:07:07 kernel: serial8250: ttyS0 at MMIO 0x78000000 (irq = 9) is a 
16550A
Jan 11 18:07:07 kernel: serial8250: ttyS1 at MMIO 0x78800000 (irq = 10) is a 
16550A
Jan 11 18:07:07 kernel: loop: loaded (max 8 devices)
Jan 11 18:07:07 kernel: Star NIC Driver(for Linux Kernel 2.6) - Star 
Semiconductor
Jan 11 18:07:07 kernel: rxring.vir_addr=0xFFC00000 rxring.phy_addr=0x003DD000
Jan 11 18:07:07 kernel: txring.vir_addr=0xFFC01000 txring.phy_addr=0x003D8000
Jan 11 18:07:07 kernel: Star Internal PHY
Jan 11 18:07:07 kernel: MAC Addr: 08:0a:0b:0c:0d:0e
Jan 11 18:07:07 kernel: star_nic_init_module: internal phy patch included.
Jan 11 18:07:07 kernel: star_nic_init_module: scatter/gather enabled.
Jan 11 18:07:07 kernel: STR8100 SPI: init
Jan 11 18:07:07 kernel: m25p80 spi1.0: m25p64 (8192 Kbytes)
Jan 11 18:07:07 kernel: Creating 6 MTD partitions on "m25p80":
Jan 11 18:07:07 kernel: 0x00000000-0x00040000 : "BOOT"
Jan 11 18:07:07 kernel: 0x00040000-0x00060000 : "CFG"
Jan 11 18:07:07 kernel: 0x00060000-0x00150000 : "KERNEL"
Jan 11 18:07:07 kernel: 0x00150000-0x003f0000 : "INITRD"
Jan 11 18:07:07 kernel: 0x00000000-0x003f0000 : "WEB"
Jan 11 18:07:07 kernel: 0x00000000-0x003f0000 : "ALL"
Jan 11 18:07:07 kernel: str8100-ehci str8100-ehci: str8100-ehci
Jan 11 18:07:07 kernel: str8100-ehci str8100-ehci: new USB bus registered, 
assigned bus number 1
Jan 11 18:07:07 kernel: str8100-ehci str8100-ehci: irq 24, io mem 0xcc000000
Jan 11 18:07:07 kernel: str8100-ehci str8100-ehci: USB 0.0 started, EHCI 1.00, 
driver 10 Dec 2004
Jan 11 18:07:07 kernel: usb usb1: configuration #1 chosen from 1 choice
Jan 11 18:07:07 kernel: hub 1-0:1.0: USB hub found
Jan 11 18:07:07 kernel: hub 1-0:1.0: 2 ports detected
Jan 11 18:07:07 kernel: ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller 
(OHCI) Driver (STR8100)
Jan 11 18:07:07 kernel: str8100-ohci str8100-ohci: str8100-ohci
Jan 11 18:07:07 kernel: str8100-ohci str8100-ohci: new USB bus registered, 
assigned bus number 2
Jan 11 18:07:07 kernel: str8100-ohci str8100-ohci: irq 23, io mem 0xc4000000
Jan 11 18:07:07 kernel: usb usb2: configuration #1 chosen from 1 choice
Jan 11 18:07:07 kernel: hub 2-0:1.0: USB hub found
Jan 11 18:07:07 kernel: hub 2-0:1.0: 2 ports detected
Jan 11 18:07:07 kernel: ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller 
(OHCI) Driver (PCI)
Jan 11 18:07:07 kernel: usb 1-1: new high speed USB device using str8100-ehci 
and address 2
Jan 11 18:07:07 kernel: usb 1-1: configuration #1 chosen from 1 choice
Jan 11 18:07:07 kernel: usbcore: registered new driver usblp
Jan 11 18:07:07 kernel: drivers/usb/class/usblp.c: v0.13: USB Printer Device 
Class driver
Jan 11 18:07:07 crond[525]: crond: crond (busybox 1.18.5) started, log level 8
Jan 11 18:07:07 kernel: Initializing USB Mass Storage driver...
Jan 11 18:07:07 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jan 11 18:07:07 kernel: usbcore: registered new driver usb-storage
Jan 11 18:07:07 kernel: USB Mass Storage support registered.
Jan 11 18:07:07 kernel: NET: Registered protocol family 2
Jan 11 18:07:07 kernel: usb-storage: device found at 2
Jan 11 18:07:07 kernel: usb-storage: waiting for device to settle before 
scanning
Jan 11 18:07:07 kernel: IP route cache hash table entries: 512 (order: -1, 2048 
bytes)
Jan 11 18:07:07 kernel: TCP established hash table entries: 2048 (order: 1, 
8192 bytes)
Jan 11 18:07:07 kernel: TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
Jan 11 18:07:07 kernel: TCP: Hash tables configured (established 2048 bind 2048)
Jan 11 18:07:07 kernel: TCP reno registered
Jan 11 18:07:07 kernel: TCP bic registered
Jan 11 18:07:07 kernel: NET: Registered protocol family 1
Jan 11 18:07:07 kernel: NET: Registered protocol family 17
Jan 11 18:07:07 kernel: Vendor: Samsung Model: G3 Station Rev:
Jan 11 18:07:07 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 11 18:07:07 kernel: SCSI device sda: 1953524992 512-byte hdwr sectors 
(1000205 MB)
Jan 11 18:07:07 kernel: sda: Write Protect is off
Jan 11 18:07:07 kernel: sda: Mode Sense: 28 00 00 00
Jan 11 18:07:07 kernel: sda: assuming drive cache: write through
Jan 11 18:07:07 kernel: SCSI device sda: 1953524992 512-byte hdwr sectors 
(1000205 MB)
Jan 11 18:07:07 kernel: sda: Write Protect is off
Jan 11 18:07:07 kernel: sda: Mode Sense: 28 00 00 00
Jan 11 18:07:07 kernel: sda: assuming drive cache: write through
Jan 11 18:07:07 kernel: sda: sda1
Jan 11 18:07:07 kernel: sd 0:0:0:0: Attached scsi disk sda
Jan 11 18:07:07 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Jan 11 18:07:07 kernel: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found 
at 0x0029fff0: 0x4e0a instead
Jan 11 18:07:07 kernel: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found 
at 0x0029fff4: 0xaaa5 instead
Jan 11 18:07:07 kernel: usb-storage: device scan complete
Jan 11 18:07:07 kernel: VFS: Mounted root (jffs2 filesystem) readonly.
Jan 11 18:07:07 kernel: Freeing init memory: 76K
Jan 11 18:07:07 kernel: Reset config: NO
Jan 11 18:07:07 kernel: MAC Addr: ac:de:48:f9:96:d7
Jan 11 18:07:07 kernel: eth0:star_nic_lan_open
Jan 11 18:07:07 kernel: star_nic_enable: starting patch check.
Jan 11 18:07:08 kernel: usbcore: registered new driver usbserial
Jan 11 18:07:08 kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
Jan 11 18:07:08 kernel: drivers/usb/serial/usb-serial.c: USB Serial support 
registered for FTDI USB Serial Device
Jan 11 18:07:08 kernel: usbcore: registered new driver ftdi_sio
Jan 11 18:07:08 kernel: drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial 
Converters Driver
Jan 11 18:08:32 kernel: SCSI device sda: 1953524992 512-byte hdwr sectors 
(1000205 MB)
Jan 11 18:08:32 kernel: sda: Write Protect is off
Jan 11 18:08:32 kernel: sda: Mode Sense: 28 00 00 00
Jan 11 18:08:32 kernel: sda: assuming drive cache: write through
Jan 11 18:08:32 kernel: sda:
Jan 11 18:08:33 kernel: SCSI device sda: 1953524992 512-byte hdwr sectors 
(1000205 MB)
Jan 11 18:08:33 kernel: sda: Write Protect is off
Jan 11 18:08:33 kernel: sda: Mode Sense: 28 00 00 00
Jan 11 18:08:33 kernel: sda: assuming drive cache: write through
Jan 11 18:08:33 kernel: sda: sda1
Jan 11 18:08:39 kernel: oom-killer: gfp_mask=0x200d2, order=0
Jan 11 18:08:39 kernel: Mem-info:
Jan 11 18:08:39 kernel: DMA per-cpu:
Jan 11 18:08:39 kernel: cpu 0 hot: high 6, batch 1 used:5
Jan 11 18:08:39 kernel: cpu 0 cold: high 2, batch 1 used:1
Jan 11 18:08:39 kernel: DMA32 per-cpu: empty
Jan 11 18:08:39 kernel: Normal per-cpu: empty
Jan 11 18:08:39 kernel: HighMem per-cpu: empty
Jan 11 18:08:39 kernel: Free pages: 728kB (0kB HighMem)
Jan 11 18:08:39 kernel: Active:6565 inactive:64 dirty:0 writeback:0 unstable:0 
free:182 slab:482 mapped:6566 pagetables:57
Jan 11 18:08:39 kernel: DMA free:728kB min:724kB low:904kB high:1084kB 
active:26260kB inactive:256kB present:32768kB pages_scanned:23733 
all_unreclaimable? no
Jan 11 18:08:39 kernel: lowmem_reserve[]: 0 0 0 0
Jan 11 18:08:39 kernel: DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB 
inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jan 11 18:08:39 kernel: lowmem_reserve[]: 0 0 0 0
Jan 11 18:08:39 kernel: Normal free:0kB min:0kB low:0kB high:0kB active:0kB 
inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jan 11 18:08:39 kernel: lowmem_reserve[]: 0 0 0 0
Jan 11 18:08:39 kernel: HighMem free:0kB min:128kB low:128kB high:128kB 
active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jan 11 18:08:39 kernel: lowmem_reserve[]: 0 0 0 0
Jan 11 18:08:39 kernel: DMA: 2*4kB 0*8kB 1*16kB 0*32kB 1*64kB 1*128kB 0*256kB 
1*512kB 0*1024kB 0*2048kB 0*4096kB = 728kB
Jan 11 18:08:39 kernel: DMA32: empty
Jan 11 18:08:39 kernel: Normal: empty
Jan 11 18:08:39 kernel: HighMem: empty
Jan 11 18:08:39 kernel: Swap cache: add 0, delete 0, find 0/0, race 0+0
Jan 11 18:08:39 kernel: Free swap = 0kB
Jan 11 18:08:39 kernel: Total swap = 0kB
Jan 11 18:08:39 kernel: Free swap: 0kB
Jan 11 18:08:39 kernel: 8192 pages of RAM
Jan 11 18:08:39 kernel: 268 free pages
Jan 11 18:08:39 kernel: 590 reserved pages
Jan 11 18:08:39 kernel: 482 slab pages
Jan 11 18:08:39 kernel: 25 pages shared
Jan 11 18:08:39 kernel: 0 pages swap cached
Jan 11 18:08:39 kernel: Out of Memory: Kill process 760 (mke2fs) score 495 and 
children.
Jan 11 18:08:39 kernel: Out of memory: Killed process 760 (mke2fs).
Jan 11 18:10:01 crond[525]: crond: USER root pid 949 cmd /usr/share/snake/setntp
Jan 11 18:15:58 kernel: usb 1-1: USB disconnect, address 2
Jan 11 18:16:15 kernel: usb 1-1: new high speed USB device using str8100-ehci 
and address 3
Jan 11 18:16:15 kernel: usb 1-1: configuration #1 chosen from 1 choice
Jan 11 18:16:15 kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jan 11 18:16:15 kernel: usb-storage: device found at 3
Jan 11 18:16:15 kernel: usb-storage: waiting for device to settle before 
scanning
Jan 11 18:16:20 kernel: Vendor: SanDisk Model: U3 Titanium Rev: 4.06
Jan 11 18:16:20 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 11 18:16:20 kernel: SCSI device sda: 15724672 512-byte hdwr sectors (8051 
MB)
Jan 11 18:16:20 kernel: sda: Write Protect is off
Jan 11 18:16:20 kernel: sda: Mode Sense: 03 00 00 00
Jan 11 18:16:20 kernel: sda: assuming drive cache: write through
Jan 11 18:16:20 kernel: SCSI device sda: 15724672 512-byte hdwr sectors (8051 
MB)
Jan 11 18:16:20 kernel: sda: Write Protect is off
Jan 11 18:16:20 kernel: sda: Mode Sense: 03 00 00 00
Jan 11 18:16:20 kernel: sda: assuming drive cache: write through
Jan 11 18:16:20 kernel: sda: sda1
Jan 11 18:16:20 kernel: sd 1:0:0:0: Attached scsi removable disk sda
Jan 11 18:16:20 kernel: sd 1:0:0:0: Attached scsi generic sg0 type 0
Jan 11 18:16:20 kernel: usb-storage: device scan complete
Jan 11 18:16:44 kernel: usb 1-1: USB disconnect, address 3
Jan 11 18:17:06 kernel: usb 1-1: new high speed USB device using str8100-ehci 
and address 4
Jan 11 18:17:06 kernel: usb 1-1: configuration #1 chosen from 1 choice
Jan 11 18:17:06 kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jan 11 18:17:06 kernel: usb-storage: device found at 4
Jan 11 18:17:06 kernel: usb-storage: waiting for device to settle before 
scanning
Jan 11 18:17:11 kernel: Vendor: Samsung Model: G3 Station Rev:
Jan 11 18:17:11 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 11 18:17:11 kernel: SCSI device sda: 1953524992 512-byte hdwr sectors 
(1000205 MB)
Jan 11 18:17:11 kernel: sda: Write Protect is off
Jan 11 18:17:11 kernel: sda: Mode Sense: 28 00 00 00
Jan 11 18:17:11 kernel: sda: assuming drive cache: write through
Jan 11 18:17:11 kernel: SCSI device sda: 1953524992 512-byte hdwr sectors 
(1000205 MB)
Jan 11 18:17:11 kernel: sda: Write Protect is off
Jan 11 18:17:11 kernel: sda: Mode Sense: 28 00 00 00
Jan 11 18:17:11 kernel: sda: assuming drive cache: write through
Jan 11 18:17:11 kernel: sda: sda1
Jan 11 18:17:11 kernel: sd 2:0:0:0: Attached scsi disk sda
Jan 11 18:17:11 kernel: sd 2:0:0:0: Attached scsi generic sg0 type 0
Jan 11 18:17:11 kernel: usb-storage: device scan complete
Jan 11 19:10:01 crond[525]: crond: USER root pid 1484 cmd 
/usr/share/snake/setntp

Original comment by golan.y...@gmail.com on 12 Jan 2012 at 2:26

GoogleCodeExporter commented 8 years ago
done
With Best Regards,
Yoav Golan

http://www.linkedin.com/in/yoavgolan

Original comment by golan.y...@gmail.com on 12 Jan 2012 at 2:39

GoogleCodeExporter commented 8 years ago
Looks like you are getting bitten by this issue:

http://code.google.com/p/snake-os/issues/detail?id=266

The system is running out memory when it tries to format the disk. I guess 
that's wy they are often advertised as supporting up to 500GB only.

If you have an USB stick at hand try using it as a swap disk. Otherwise you 
have to format the disk on another computer.

Original comment by stefansc...@googlemail.com on 12 Jan 2012 at 3:05

GoogleCodeExporter commented 8 years ago
how to use swap disk?

Original comment by fl3...@gmail.com on 25 Feb 2012 at 12:53