cardbus problem (with oops)

Mathijs Mohlmann mathijs en knoware.nl
Lun Ene 31 01:19:50 CST 2000


	3com megahertz 10/100 LAN cardbus on a fujitsu laptop. I compiled
kernels up to 2.3.41 with:

CONFIG_PCI=y
CONFIG_PCMCIA=y
CONFIG_CARDBUS=y
# CONFIG_I82365 is not set

When i first powerup the laptop, the card doesn't work at all:
[root en palm /root]# cardctl status 0
  5V CardBus card
  function 0: [busy]

after i do an eject and insert, i get the right response and the card
works:
[root en palm /root]# cardctl status 0
  3.3V CardBus card
  function 0: [ready]

Then when a eject the card again, i get the following oops:

Warning (compare_ksyms_lsmod): module serial_cs is in lsmod but not in
ksyms, probably no symbols exported
e820: 0009fc00 @ 00000000 (usable)
e820: 00000400 @ 0009fc00 (reserved)
e820: 0000f400 @ 000f0c00 (reserved)
e820: 07eea400 @ 00100000 (usable)
e820: 00005c00 @ 07fea400 (ACPI data)
e820: 00010000 @ 07ff0000 (ACPI NVS)
e820: 0000f400 @ ffff0c00 (reserved)
cpu: 0, clocks: 0, slice: 0
Unable to handle kernel NULL pointer dereference at virtual address
00000014
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<c0201e0c>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010202
eax: 00000000   ebx: c127a800   ecx: 0540ffa4   edx: 00000000
esi: 00000000   edi: c127a800   ebp: c127e800   esp: c029ff2c
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 0, stackpage=c029f000)
Stack: c127a800 c020db06 c127a800 00000000 c127e800 00000073 c029ff9c
c0204b9d 
       c127e800 c127e800 00000000 c0204b30 c01265cd 00000000 00000001
c0329100 
       00000000 c029ff9c 00000000 c027a97c c0122ecf c02ce800 00000000
c027a97c 
Call Trace: [<c020db06>] [<c0204b9d>] [<c0204b30>] [<c01265cd>]
[<c0122ecf>] [<c010d9ec>] [<c0108690>] 
       [<c0108690>] [<c010b978>] [<c0108690>] [<c0108690>] [<c0100018>]
[<c01086b5>] [<c01086f4>] [<c0105000>] 
       [<c01001c2>] 
Code: 8b 40 14 85 c0 74 06 53 ff d0 83 c4 04 c7 43 34 00 00 00 00 

>>EIP; c0201e0c <pci_remove_device+8/44>   <=====
Trace; c020db06 <cb_free+32/68>
Trace; c0204b9d <shutdown_socket+6d/e0>
Trace; c0204b30 <shutdown_socket+0/e0>
Trace; c01265cd <timer_bh+3ed/4d4>
Trace; c0122ecf <do_bottom_half+9f/c0>
Trace; c010d9ec <do_IRQ+210/220>
Trace; c0108690 <default_idle+0/28>
Trace; c0108690 <default_idle+0/28>
Trace; c010b978 <ret_from_intr+0/20>
Trace; c0108690 <default_idle+0/28>
Trace; c0108690 <default_idle+0/28>
Trace; c0100018 <startup_32+18/a4>
Trace; c01086b5 <default_idle+25/28>
Trace; c01086f4 <cpu_idle+3c/50>
Trace; c0105000 <empty_bad_page+0/1000>
Trace; c01001c2 <L6+0/2>
Code;  c0201e0c <pci_remove_device+8/44>
00000000 <_EIP>:
Code;  c0201e0c <pci_remove_device+8/44>   <=====
   0:   8b 40 14                  movl   0x14(%eax),%eax   <=====
Code;  c0201e0f <pci_remove_device+b/44>
   3:   85 c0                     testl  %eax,%eax
Code;  c0201e11 <pci_remove_device+d/44>
   5:   74 06                     je     d <_EIP+0xd> c0201e19
<pci_remove_devic
e+15/44>
Code;  c0201e13 <pci_remove_device+f/44>
   7:   53                        pushl  %ebx
Code;  c0201e14 <pci_remove_device+10/44>
   8:   ff d0                     call   *%eax
Code;  c0201e16 <pci_remove_device+12/44>
   a:   83 c4 04                  addl   $0x4,%esp
Code;  c0201e19 <pci_remove_device+15/44>
   d:   c7 43 34 00 00 00 00      movl   $0x0,0x34(%ebx)

Aiee, killing interrupt handler
Kernel panic: Attempted to kill the idle task!
In swapper task - not syncing

That's it. I'm afraid i don't know enough of the cardbus stuff to fix it,
maybe you can.

	me



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda