UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Newbie 694917653
Newbie
2,078 Views
Registered: ‎09-07-2011

Linux boot error on ml510 (chci_hcd driver error)

Hi,

  I'm trying to get the two USB ports on the ML510 working . I got an .ace file from Roderick Colenbrander, which could get the two ports working.  http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-March/069185.html shows his explorations on .dts file to make the PCI working properly.

  However, when I configured a linux kernel with chci_hcd supported and plugged in a USB disk, the kernel crashed. Here are  the messages:

 

~ # [   31.409009] Unable to handle kernel paging request for instruction fetch                                                             
[   31.488352] Faulting instruction address: 0x00000000                                                      
[   31.547732] Oops: Kernel access of bad area, sig: 11 [#1]                                                           
[   31.612299] PREEMPT Xilinx Virtex440                                      
[   31.655005] Modules linked in:                                
[   31.691466] **bleep**: 00000000 LR: c001a4f4 CTR: 00000000                                                      
[   31.750841] REGS: c03ddca0 TRAP: 0400   Not tainted  (2.6.31-rc8)                                                                   
[   31.823745] MSR: 00021000 <ME,CE>  CR: 24000044  XER: 00000000                                                                
[   31.893537] TASK = c03b6318[0] 'swapper' THREAD: c03dc000                                                           
[   31.956028] GPR00: c001a4bc c03ddd50 c03b6318 00000010 c03ba5e0 000000                                                                       
366c df804080            
[   32.056021] GPR08: c03e0000 00000000 c03e0000 00000001 c03b6528 ffffab78 ffff                                                                               
0000 ffff4b20            
[   32.156015] GPR16: ffff0000 ffff0000 ffff0000 ffff0000 ffffffff 009e7ae0 ffff                                                                               
0000 00000000            
[   32.256008] GPR24: 00000000 00000000 00000f60 c03e47b4 00000007 00000010 c03b                                                                               
a5e0 00000000            
[   32.358087] **bleep** [00000000] (null)                                   
[   32.397696] LR [c001a4f4] xilinx_i8259_cascade+0x54/0x7c                                                          
[   32.461204] Call Trace:                         
[   32.490396] [c03ddd50] [c001a4bc] xilinx_i8259_cascade+0x1c/0x7c (unreliable)                                                                               

[   32.575801] [c03ddd70] [c0004108] do_IRQ+0x98/0xb4                                                    
[   32.633095] [c03ddd90] [c000e9c4] ret_from_except+0x0/0x18                                                            
[   32.698721] [c03dde50] [c003afe4] __do_softirq+0xe4/0x138                                                           
[   32.763296] [c03dde70] [c0066784] handle_level_irq+0xb8/0x170                                                               
[   32.832040] [c03dde90] [c001a4e0] xilinx_i8259_cascade+0x40/0x7c                                                                  
[   32.903905] [c03ddeb0] [c0004108] do_IRQ+0x98/0xb4                                                    
[   32.961199] [c03dded0] [c000e9c4] ret_from_except+0x0/0x18                                                            
[   33.026818] [c03ddf90] [c0006fac] cpu_idle+0xcc/0xdc                                                      
[   33.086180] [c03ddfb0] [c000172                                
[   33.146608] [c03ddfc0] [c0385854] start_kernel+0x230/0x2ac                                                            
[   33.212211] [c03ddff0] [c0000200] skpinv+0x190/0x1cc                                                      
[   33.271568] Instruction dump:                               
[   33.306985] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XX
XXXXXX
[   33.399683] XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XX
XXXXXX
[   33.492397] Kernel panic - not syncing: Fatal exception in interrupt
[   33.568423] Call Trace:
[   33.597613] [c03ddbd0] [c0005de8] show_stack+0x44/0x16c (unreliable)
[   33.673647] [c03ddc10] [c0034ad4] panic+0x94/0x168
[   33.730929] [c03ddc60] [c000bd44] die+0x178/0x18c
[   33.787195] [c03ddc80] [c00119f0] bad_page_fault+0x90/0xd8
[   33.852809] [c03ddc90] [c000e834] handle_page_fault+0x7c/0x80
[   33.921553] [c03ddd50] [c001a4bc] xilinx_i8259_cascade+0x1c/0x7c
[   33.993419] [c03ddd70] [c0004108] do_IRQ+0x98/0xb4
[   34.050713] [c03ddd90] [c000e9c4] ret_from_except+0x0/0x18
[   34.116338] [c03dde50] [c003afe4] __do_softirq+0xe4/0x138
[   34.180913] [c03dde70] [c0066784] handle_level_irq+0xb8/0x170
[   34.249657] [c03dde90] [c001a4e0] xilinx_i8259_cascade+0x40/0x7c
[   34.321523] [c03ddeb0] [c0004108] do_IRQ+0x98/0xb4
[   34.378815] [c03dded0] [c000e9c4] ret_from_except+0x0/0x18
[   34.444436] [c03ddf90] [c0006fac] cpu_idle+0xcc/0xdc
[   34.503798] [c03ddfb0] [c000172c] rest_init+0x70/0x84
[   34.564225] [c03ddfc0] [c0385854] start_kernel+0x230/0x2ac
[   34.629828] [c03ddff0] [c0000200] skpinv+0x190/0x1cc
[   34.689192] Rebooting in 180 seconds..

 

   Using Roderick Colenbrander's .ace file, the result will be :

  ~ # [   23.969225] usb 1-1: new full speed USB device using ohci_hcd and address
 2
[   24.354126] usb 1-1: configuration #1 chosen from 1 choice
[   24.422183] scsi0 : SCSI emulation for USB Mass Storage devices
[   29.501795] scsi 0:0:0:0: Direct-Access     Teclast  CoolFlash        8.01 PQ
: 0 ANSI: 2
[   29.621941] sd 0:0:0:0: [sda] 7637374 512-byte logical blocks: (3.91 GB/3.64
GiB)
[   29.725708] sd 0:0:0:0: [sda] Write Protect is off
[   29.782472] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   29.893729] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   29.966115]  sda:
[   30.278727]
[   30.320689] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   30.393134] sd 0:0:0:0: [sda] Attached SCSI removable disk

 


[   34.084935] usb 1-1: USB disconnect, address 2

  I really don't know what's the problem. Could you help me?

  My .dts file and boot message are in the attachments.

  Thank you!

0 Kudos