yenta socket mips ComactPCI

Dmitriy Tochansky toch at dfpost.ru
Fri May 27 10:24:06 EDT 2005


Hello!

	Few days work with following problem. I'm using mips board with
compactpci pci-pcmcia adapter CP3-HOUSE from ekf.de. In x86 host it works fine
but in mips I got kernel panic. Any ideas? Kernel 2.6.12-rc4 from cvs linux-mips.org.

Here is pci:

# cat /proc/pci                                                                 
PCI devices found:                                                              
  Bus  0, device  13, function  0:                                              
    CardBus bridge: Texas Instruments PCI1420 (rev 0).                          
      IRQ 1.                                                                    
      Master Capable.  Latency=64.  Min Gnt=64.Max Lat=3.                       
      Non-prefetchable 32 bit memory at 0x48000000 [0x48000fff].                
  Bus  0, device  13, function  1:                                              
    CardBus bridge: Texas Instruments PCI1420 (#2) (rev 0).                     
      IRQ 1.                                                                    
      Master Capable.  Latency=64.  Min Gnt=64.Max Lat=3.                       
      Non-prefetchable 32 bit memory at 0x48001000 [0x48001fff].                

The following error:

Yenta: CardBus bridge found at 0000:00:0d.0 [e4bf:2000]                         
yenta 0000:00:0d.0: Preassigned resource 0 busy, reconfiguring...               
yenta 0000:00:0d.0: Preassigned resource 1 busy, reconfiguring...               
Yenta: Enabling burst memory read transactions                                  
Yenta: Using CSCINT to route CSC interrupts to PCI                              
Yenta: Routing CardBus interrupts to PCI                                        
Yenta TI: socket 0000:00:0d.0, mfunc 0x0fc01d02, devctl 0x66                    
Yenta TI: socket 0000:00:0d.0 probing PCI interrupt failed, trying to fix       
Yenta TI: socket 0000:00:0d.0 falling back to parallel PCI interrupts           
Yenta TI: socket 0000:00:0d.0 no PCI interrupts. Fish. Please report.           
CPU 0 Unable to handle kernel paging request at virtual address 00000004, epc =c
Oops in arch/mips/mm/fault.c::do_page_fault, line 167[#1]:                      
Cpu 0                                                                           
$ 0   : 00000000 1000fc00 00000000 00000000                                     
$ 4   : 0000007f 00000000 00040000 00000000                                     
$ 8   : 05c00000 00000036 00000000 802ae000                                     
$12   : 00000000 00000000 00000000 00000000                                     
$16   : 0000007f 80316fe0 81290008 802f5b14                                     
$20   : 00000000 00000000 00000000 00000 : 00000003 00000000                    
$28   : 81290000 81291db0 00000000 801cb3fc                                     
Hi    : 000001ea                                                                
Lo    : 7ef7a400                                                                
epc   : 80056818 probe_irq_on+0x338/0x3fc     Not tainted                       
ra    : 801cb3fc yenta_probe_irq+0x68/0x154                                     
Status: 1000fc02    KERNEL EXL                                                  
Cause : 00800008                                                                
BadVA : 00000004                                                                
PrId  : 01030202                                                                
Modules linked in:                                                              
Process swapper (pid: 1, threadinfo=81290000, task=8126bb78)                    
Stack : 1000fc01 8013c998 8013cc38 0fc01d02 801ca66c 801ca5ec 00000ef8 8f983c00 
        000005c0 802f5b14 00000000 00000000 801cb3fc 801cb3c8 28449020 802f5b14 
        00000000 00000000 801c0540 801cad88 8f983c00 00000000 8ff87800 801cb668 
        8ff87800 802f5b14 00000000 00000000 8f983c00 801cb998 80878a0           
        0000e4bf 00002000 00000000 4b87ad6e ffffffed 802f5e08 8ff87800 ffffffed 
        ...                                                                     
Call Trace:                                                                     
 [<8013c998>] pci_bus_read_config_word+0x88/0xf4                                
 [<8013cc38>] pci_bus_write_config_word+0x78/0xdc                               
 [<801ca66c>] ti12xx_irqroute_func0+0xd8/0x320                                  
 [<801ca5ec>] ti12xx_irqroute_func0+0x58/0x320                                  
 [<801cb3fc>] yenta_probe_irq+0x68/0x154                                        
 [<801cb3c8>] yenta_probe_irq+0x34/0x154                                        
 [<801c0540>] alloc_io_space+0x184/0x2ec                                        
 [<801cad88>] ti12xx_override+0xa8/0x1ac                                        
 [<801cb668>] yenta_get_socket_capabilities+0 [<801cb998>] yenta_probe+0x1dc/0x0
 [<80141184>] pci_device_probe_static+0x64/0x80                                 
 [<80172b98>] get_device+0x1c/0x34                                              
 [<801411f0>] __pci_device_probe+0x50/0x74                                      
 [<801416a0>] pci_dev_get+0x20/0x34                                             
 [<80141244>] pci_device_probe+0x30/0x64                                        
 [<80141238>] pci_device_probe+0x24/0x64                                        
 [<801743fc>] driver_probe_device+0x44/0x90                                     
 [<80134bd4>] kobject_add+0xf4/0x120                                            
 [<80134a24>] kobject_init+0x38/0x68                                            
 [<80174588>] driver_attach+0x7c/0xa8                                           
 [<80134c28>] kobject_register+0x28/0x78                                        
 [<80174b5c>] bus_add_driver+0xac<80174b54>] bus_add_driver+0xa4/0xd4           
 [<80175100>] driver_register+0x2c/0x38                                         
 [<80176234>] class_interface_register+0x5c/0x274                               
 [<8014156c>] pci_register_driver+0x68/0x9c                                     
 [<80028c44>] printk+0x20/0x2c                                                  
 [<80333e70>] yenta_socket_init+0x18/0x24                                       
 [<80333e4c>] nonstatic_sysfs_init+0x18/0x24                                    
 [<803188b8>] do_initcalls+0x54/0x11c                                           
 [<803188b8>] do_initcalls+0x54/0x11c                                           
 [<80334374>] sock_init+0x34/0x4c                                               
 [<8032ad90>] sysctl_init+0x28/0x34                                             
 [<803189b8>] do_basic_setup+0x38/0x44                                          
 [<800014f0>] init+0x40/0x120                                                   
 [<800014e8>] init+0x38/0x120                                                   
 [<800064a0>] kernel_thread_helper+0x10/0x18                                    
 [<80006490>] kernel_thread_helper+0x0/0x18                                     
                                                                                
                                                                                
Code: 08015970  00000000  8e230000 <8c620004> 0040f809  00000000  08015962  000 
Kernel panic - not syncing: Attempted to kill init!                             


-- 
Dmitriy Tochansky
toch at dfpost.ru
JID: dtoch at jabber.ru



More information about the linux-pcmcia mailing list