On Thu, 11 May 2006, Dan Sandberg wrote:

> I'm trying to boot from a SanDisk Cruzer Micro 512MB USB Pen drive but
> get a kernel panic.
> 
> The same drive works perfectly if I plug it in after the machine has
> booted.  I have another 512MB Pen drive ( different manufacturer --
> Lexar Jumpdrive ) which can be booted fine.
> 
> I booted the kernel ( 2.6.16.11 ) with the following options:
> root=/dev/sda1 rootdelay=10
> 
> The 2.6.15.3 kernel exhibits the same symptoms.
> 
> The motherboard is an VIA EPIA MII10000.
> 
> If I disable EHCI in the kernel then the key is bootable, but everything
> is very slow ( because it is not USB 2.0 ).
> 
> I'm searched the newsgroups and mailing lists and am surprised to see
> that this isn't a common problem.  Anyone have any idea?  I would
> suspect faulty hardware, but the fact that the key works fine once the
> computer has been booted seems to make that unlikely.
> 
> I'm not sure how to capture debug information since the problem only
> happens when booting from the key.  The log below was manually typed:

You have to boot using a serial or network console and set up a second 
machine to capture the console messages.

> [67.8...] Using IPI Shortcut mode
> [67.8...] Waiting 10sec before mounting root device...
> [72.8...] Vendor: SanDisk Model: Cruzer Micro  Rev: 0.2
> [72.8...] Type: Direct-Access ANSI SCSI revision: 02
> [72.8...] SCSI device sda: 1000944 512-byte hdwr sections(512MB)
> [72.8...] sda: Write Protect is off
> [72.8...] sda: assuming drive cache: write through
> [72.8...] SCSI device sda: 1000944 512-byte hdwr sections(512MB)
> [72.8...] sda: Write Protect is off
> [72.8...] sda: assuming drive cache: write through
> [72.8...]  sda:<7>usb-storage: queuecommand called
> [102....] usb 1-2: reset high speed USB device using ehci_hcd and address 2
> [133....] usb 1-2: reset high speed USB device using ehci_hcd and address 2
> [163....] usb 1-2: reset high speed USB device using ehci_hcd and address 2
> [193....] usb 1-2: reset high speed USB device using ehci_hcd and address 2
> [223....] usb 1-2: reset high speed USB device using ehci_hcd and address 2
> [253....] usb 1-2: reset high speed USB device using ehci_hcd and address 2
> [254....] sd 0:0:0:0: SCSI error: return code = 0x50000
> [254....] end_request: I/O error, dev sda, sector 0
> [254....] Buffer I/O error on device sda, logical block 0
> [284....] usb 1-2: reset high speed USB device using ehci_hcd and address 2
> [314....] usb 1-2: reset high speed USB device using ehci_hcd and address 2
> [344....] usb 1-2: reset high speed USB device using ehci_hcd and address 2
> [374....] usb 1-2: reset high speed USB device using ehci_hcd and address 2
> [404....] usb 1-2: reset high speed USB device using ehci_hcd and address 2
> [435....] usb 1-2: reset high speed USB device using ehci_hcd and address 2
> [435....] sd 0:0:0:0: Attached scsi removable disk sda
> [435....] sd 0:0:0:0: Attached scsi generic sg0 type 0
> [435....] VFS: Cannot open root device "sda1" or unknown-block(8,1)
> ... kernel panic ...

Turn on USB verbose debugging and USB mass storage verbose debugging in 
the kernel configuration (CONFIG_USB_DEBUG and CONFIG_USB_STORAGE DEBUG).  
Then capture all the console messages and post them here.

Alan Stern



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to