I am having an issue using a USB root filesystem. I
have tried both an NEC uPD720101 and a Phillips
ISP1563 host controller plugged into the PCI bus.
Both systems I am trying this on are PowerPC; one is a
Freescale MPC8540, and the other is an AMCC 440SP.
The filesystem resides on an M-Systems uDiskOnChip
module. The kernel I am running is 2.6.13 and I am
using the rootdelay=10 option.
Everything works fine on the MPC8540 system:
Waiting 10sec before mounting root device...
Vendor: M-Sys Model: uDiskOnChip Rev: 5.02
Type: Direct-Access ANSI SCSI
revision: 00
sda: Unit Not Ready, sense:
: Current: sense key=0x6
ASC=0x28 ASCQ=0x0
SCSI device sda: 2052607 512-byte hdwr sectors (1051
MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 2052607 512-byte hdwr sectors (1051
MB)
sda: Write Protect is off
sda: assuming drive cache: write through
sda:<7>usb-storage: queuecommand called
sda1
Attached scsi removable disk sda at scsi0, channel 0,
id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0,
lun 0, type 0
EXT2-fs warning: mounting unchecked fs, running e2fsck
is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 340k init
/sbin/udhcpc: invalid option -- o
BusyBox v1.00 (2005.09.09-11:31+0000) multi-call
binary
Usage: udhcpc [-fbnqv] [-c CLIENTID] [-H HOSTNAME] [-i
INTERFACE]
Please press Enter to activate this console.
However, on the 440SP system it works sometimes and
not others. Right now, I might get it to work about
every 10 reboots. When it doesn't work, I see the
following:
Waiting 10sec before mounting root device...
Vendor: M-Sys Model: uDiskOnChip Rev: 5.02
Type: Direct-Access ANSI SCSI
revision: 00
Oops: kernel access of bad area, sig: 11 [#1]
NIP: C00FFAB0 LR: C00FB1C0 SP: C0781EE0 REGS: c0781e30
TRAP: 0300 Not tainted
MSR: 00029000 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 00
DAR: 00000034, DSISR: 00800000
TASK = c072e770[2] 'ksoftirqd/0' THREAD: c0780000
Last syscall: -1
GPR00: 0000FFFE C0781EE0 C072E770 DFDD5060 DFE39DCC
00000000 DFE46264 00000000
GPR08: 00000000 DF843C00 00000002 DFE46200 000000A9
00000000 00000000 00000000
GPR16: 00000000 00000000 00000000 00000003 00000003
52180000 FFFFFFFD 00000000
GPR24: 00000000 C0240000 C0240000 0000000A DFDEA000
DF843C00 00000000 C00FFA8C
NIP [c00ffab0] scsi_wait_done+0x24/0x78
LR [c00fb1c0] scsi_finish_command+0x84/0xb0
Call trace:
[c00fb1c0] scsi_finish_command+0x84/0xb0
[c00fb0cc] scsi_softirq+0xec/0x114
[c001befc] __do_softirq+0xe0/0xe8
[c001bf5c] do_softirq+0x58/0x5c
[c001c49c] ksoftirqd+0x7c/0xb8
[c002d370] kthread+0xb4/0xbc
[c00042b4] kernel_thread+0x44/0x60
Kernel panic - not syncing: Aiee, killing interrupt
handler!
<0>Rebooting in 180 seconds..
I am having another issue on this system that has to
do with mapping pci memory to user space (seems to be
a remap_pfn_range or mmap issue). Could this issue be
related? I have tried both controllers on the 440SP
and it doesn't seem to matter. I have made sure that
both the SCSI and USB kernel options are the same
between the two systems. Also, If I boot the 440SP
system using an NFS filesystem, I can then mount the
USB flash to /mnt and read/write from/to it just fine.
Has anyone else seen this issue before? Any help
would be greatly appreciated.
Thanks,
Jeff Stevens
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users