Subject: pci-usb card problem

From: "tony" <[email-masked]>
Date: Mon, 16 Oct 2006 17:51:33 +0800

hi,all
    I got a pci to usb card problem this days.
    env: linux-2.6.17,ppc405ep,bubinga board
    problem: 
        during boot time,an error show up like this
        Scanning device for bad blocks
Creating 1 MTD partitions on "NAND 8MiB 1,8V 8-bit":
0x00000000-0x00800000 : "NAND simulator partition"
ehci_hcd 0000:00:02.2: EHCI Host Controller
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:02.2: irq 29, io mem 0xbfffff00
ehci_hcd 0000:00:02.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.17-rc3 ehci_hcd
usb usb1: SerialNumber: 0000:00:02.2
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
USB Universal Host Controller Interface driver v3.0
uhci_hcd 0000:00:02.0: UHCI Host Controller
uhci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:02.0: detected 2 ports
uhci_hcd 0000:00:02.0: irq 29, io base 0x0000ffe0
usb usb2: Product: UHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.17-rc3 uhci_hcd
usb usb2: SerialNumber: 0000:00:02.0
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:02.1: UHCI Host Controller
uhci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:02.1: detected 2 ports
uhci_hcd 0000:00:02.1: irq 29, io base 0x0000ffc0
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.17-rc3 uhci_hcd
usb usb3: SerialNumber: 0000:00:02.1
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usb 1-3: new high speed USB device using ehci_hcd and address 2
usb 1-3: configuration #1 chosen from 1 choice
ub(1.2): GetMaxLUN returned 0, using 1 LUNs
Oops: kernel access of bad area, sig: 11 [#1]
NIP: 00000000 LR: C0170314 CTR: 00000000
REGS: c030bd40 TRAP: 0400   Not tainted  (2.6.17-rc3)
MSR: 00021030 <ME,IR,DR>  CR: 42004024  XER: 20000000
TASK = c02c78f8[0] 'swapper' THREAD: c030a000
GPR00: 00000000 C030BDF0 C02C78F8 C75CE800 C75D0A00 00000000 00000008 00000008 
GPR08: 00000001 00000000 C75D0A00 C75CE854 22004082 00000000 07FF7F00 00000000 
GPR16: 00000001 00000001 FFFFFFFF 007FFF00 07FF2B4C 00000000 C75CE9D4 C016F5C0 
GPR24: 00029030 00000000 C75CE960 C75CE9F4 C75CE978 C0330000 00000000 C75CE800 
Call Trace:
[C030BDF0] [C0330000]  (unreliable)
[C030BE10] [C01704C8] 
[C030BE40] [C001F734] 
[C030BE60] [C001F908] 
[C030BE90] [C0007CC0] 
[C030BEA0] [C001F638] 
[C030BEB0] [C0007C1C] 
[C030BED0] [C00032F8] 
[C030BF90] [C000A6B0] 
[C030BFB0] [C0002358] 
[C030BFC0] [C030C694] 
[C030BFF0] [C0002254] 
Instruction dump:
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 
Kernel panic - not syncing: Aiee, killing interrupt handler!
 <0>Rebooting in 1 seconds.. 

rarely,it can boot successfully,shows:
Initializing USB Mass Storage driver...
usb 1-3: new high speed USB device using ehci_hcd and address 2
usb 1-3: Product: USBFlash
usb 1-3: Manufacturer: Generic 
usb 1-3: configuration #1 chosen from 1 choice
ub(1.2): Unable to submit GetMaxLUN (-22)  
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
TCP bic registered

I have tried to configure kernel many times...but the problem still exists....
any advise is appreciated.

tony