[realtek] Cardbus problem with "kmem_free"

Jesse op den Brouw jesse@bestweb.nl
Wed, 24 May 2000 20:17:59 +0200 (CEST)


Hi,

I've bought a Dynalink cardbus card and it's working like a charm now
using the drivers supplied by Don Becker (took me some time to 
trace down the drivers....).

But I'm wondering about kernel message containing kmem_free and alloc_skb.
 Here's what the messages file
looks like (I'm using Red Hat 6.2). I'm using dhcpcd but I'm not connected
right now so that's why you see those errors.

May 23 21:04:14 baby kernel: cs: cb_alloc(bus 32): vendor 0x10ec, device 0x8138 
May 23 21:04:14 baby cardmgr[449]: initializing socket 0
May 23 21:04:14 baby cardmgr[449]: socket 0: 32-bit CardBus Ethernet 10/100 (R5)
May 23 21:04:14 baby cardmgr[449]: executing: 'insmod /lib/modules/2.2.14-5.0/pcmcia/cb_enabler.o'
May 23 21:04:15 baby cardmgr[449]: executing: 'insmod /lib/modules/2.2.14-5.0/pcmcia/realtek_cb.o'
May 23 21:04:15 baby kernel: rtl8139.c:v1.09 4/08/2000 Donald Becker, becker@scyld.com. 
May 23 21:04:15 baby kernel:  http://www.scyld.com/network/rtl8139.html 
May 23 21:04:15 baby kernel: cs: cb_config(bus 32) 
May 23 21:04:15 baby kernel:   fn 0 bar 1: io 0xa00-0xaff 
May 23 21:04:15 baby kernel:   fn 0 bar 2: mem 0xa0002000-0xa00021ff 
May 23 21:04:15 baby kernel: eth0: RealTek RTL8139B PCI/CardBus at 0xa00, IRQ 3, 00:10:d7:0a:30:06. 
May 23 21:04:15 baby cardmgr[449]: executing: './network start eth0'
May 23 21:04:45 baby kernel: kmem_free: Either bad obj addr or double free (objp=c0f68010, name=size-65536) 
May 23 21:05:15 baby kernel: kmem_free: Either bad obj addr or double free (objp=c0f68010, name=size-65536) 
May 23 21:05:15 baby cardmgr[449]: + Determining IP information for eth0...Operation failed.
May 23 21:05:15 baby cardmgr[449]: +  failed.
May 23 21:05:15 baby cardmgr[449]: start cmd exited with status 1

While removing the card gives me this:

May 23 21:03:34 baby kernel: rtl8139_detach(eth0) 
May 23 21:03:34 baby kernel: alloc_skb called nonatomically from interrupt c01514b1 
May 23 21:03:34 baby kernel: cs: cb_free(bus 32) 
May 23 21:03:34 baby cardmgr[449]: shutting down socket 0
May 23 21:03:34 baby cardmgr[449]: executing: './network stop eth0'
May 23 21:03:34 baby cardmgr[449]: executing: 'rmmod realtek_cb'
May 23 21:03:34 baby cardmgr[449]: executing: 'rmmod cb_enabler'
May 23 21:05:15 baby cardmgr[449]: start cmd exited with status 1


Please mail me direct as I'm not on the list (I tried to but I got
an error messsage that the request mail address didn't exist).


--Jesse op den Brouw
  Holland