It looks like I'm having problems mounting a XFS filesystem via USB. I get the following at boot. Notice, the XFS kernel module is loaded, but when I try to mount the filesystem, the command hangs and never returns. I have tried to mount the disk on another linux box with success.
Thanks,
-Marc
root@OpenWrt:~# dmesg
CPU revision is: 00029007
Primary instruction cache 8kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 4kB, 2-way, linesize 16 bytes.
Linux version 2.4.30 (wbx@ux-2y02) (gcc version 3.4.4) #1 Wed Nov 23 22:35:53 CET 2005
Setting the PFC value as 0x15
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM5365 rev 1 at 200 MHz
Using 100.000 MHz high precision timer.
Calibrating delay loop... 199.47 BogoMIPS
Memory: 30504k/32768k available (1395k kernel code, 2264k reserved, 100k data, 80k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
Squashfs 2.1-r2 (released 2004/12/15) (C) 2002-2004 Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 0) is a 16550A
Software Watchdog Timer: 0.05, timer margin: 60 sec
Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1c000000
Creating 4 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "pmon"
0x00040000-0x003f0000 : "linux"
0x000c0000-0x003f0000 : "rootfs"
0x003f0000-0x00400000 : "nvram"
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 320 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (jffs2 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 80k freed
Algorithmics/MIPS FPU Emulator v1.5
diag boardtype: 00000000
jffs2.bbc: SIZE compression mode activated.
PCI: Setting latency timer of device 00:01.0 to 64
eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.23.0
PCI: Setting latency timer of device 01:03.0 to 64
PCI: Enabling device 01:03.0 (0004 -> 0006)
eth1: Broadcom BCM4320 802.11 Wireless Controller 3.90.37.0
SGI XFS with no debug enabled
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Enabling device 01:02.0 (0000 -> 0001)
uhci.c: USB UHCI at I/O 0x100, IRQ 2
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling device 01:02.1 (0000 -> 0001)
uhci.c: USB UHCI at I/O 0x120, IRQ 2
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling device 01:02.2 (0000 -> 0002)
ehci_hcd 01:02.2: PCI device 1106:3104
ehci_hcd 01:02.2: irq 2, pci mem c020b000
usb.c: new USB bus registered, assigned bus number 3
ehci_hcd 01:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 4 ports detected
device eth0 entered promiscuous mode
hub.c: connect-debounce failed, port 2 disabled
hub.c: new USB device 01:02.2-2, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Maxtor 6 Model: Y120P0 Rev: 0811
Type: Direct-Access ANSI SCSI revision: 02
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
device eth1 entered promiscuous mode
eth1: attempt to add interface with same source address.
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 240121728 512-byte hdwr sectors (122942 MB)
Partition check:
/dev/scsi/host0/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
br0: port 2(eth1) entering learning state
br0: port 1(vlan0) entering learning state
br0: port 2(eth1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(vlan0) entering forwarding state
br0: topology change detected, propagating
jffs2: attempt to mount non-MTD device 08:01
SQUASHFS error: Can't find a SQUASHFS superblock on sd(8,1)
XFS mounting filesystem sd(8,1)
Starting XFS recovery on filesystem: sd(8,1) (dev: sd(8,1))
Break instruction in kernel code in traps.c::do_bp, line 593:
$0 : 00000000 1000fc00 00000000 00000000 81191b00 81aa8500 00000000 00000010
$8 : 00000480 00000000 00000000 00002000 00000000 81191b00 00004001 00000000
$16: 81191b00 81aa8500 00000000 81aa8500 811997e0 00004001 00000000 00000000
$24: 00000000 c0187338 81aba000 81abba20 81195fa0 c01ad640
Hi : 00000000
Lo : 00000480
epc : c01ab4bc Tainted: P
Status: 1000fc03
Cause : 00000024
PrId : 00029007
Process mount (pid: 379, stackpage=81aba000)
Stack: 81a7af80 c01abdf4 072853a5 00000000 81191b00 00004001 81191b00
81aa8500 00000000 c01c0000 c01ad640 c01ad60c 00000001 00000000 00000000
00000000 00000000 00004001 81aa8500 00000000 81195fa0 00000000 81195fa0
00004001 811997e0 81dc9800 811997e0 00000000 00000000 00000000 81195fa0
c01adb30 81aba000 81abbac8 00000000 00000010 00000000 00004001 81195fa0
00000000 ...
Call Trace: [<c01abdf4>] [<c01c0000>] [<c01ad640>] [<c01ad60c>] [<c01adb30>]
[<c01889c4>] [<c018897c>] [<c0185094>] [<80017df0>] [<c018a87c>] [<c01ab1f4>]
[<c0185164>] [<c0185094>] [<c018a87c>] [<c018a494>] [<c01b0000>] [<c018b0a8>]
[<c01ae9ec>] [<c0183060>] [<c0182f94>] [<c01a0000>] [<c018dca8>] [<c01adb74>]
[<c01adb30>] [<c0195b34>] [<c01b0000>] [<c0195d64>] [<c01b0000>] [<c0195d64>]
[<c01b4bf0>] [<c01b4bf0>] [<c01a9774>] [<c01e9038>] [<8003db18>] [<8003e820>]
[<80043600>] [<800539cc>] [<801454a0>] [<c01cc46c>] [<8005dc08>] ...
Code: 8fae0044 14400002 8fb30048 <0200000d> 8da2001c 00001821 01631824 01421024 00431025
vlan1: add 01:00:5e:00:00:01 mcast address to master interface
usb.c: USB disconnect on device 01:02.2-2 address 2
root@OpenWrt:~# lsmod
Module Size Used by Tainted: P
ehci-hcd 20140 0 (unused)
uhci 30164 0 (unused)
usb-storage 65328 1
sd_mod 12452 2
scsi_mod 70488 2 [usb-storage sd_mod]
printer 9788 0 (unused)
usbcore 74792 1 [ehci-hcd uhci usb-storage printer]
xfs 561120 2
wlcompat 14896 0 (unused)
wl 423640 0 (unused)
et 32064 0 (unused)
diag 2560 0 (unused)
