Lack of release() function in i82365 driver

Jurij Smakov jurij at
Fri Sep 23 00:27:11 EDT 2005

[Please CC the responses to me as I'm not subscribed]


We have recently received a bug report [0] about an oops in i82365 driver with 
2.6.12 kernel, possibly related to the fact that i82365 driver is lacking the 
release() function. Bug report quotes the following boot log fragment:

Linux Kernel Card Services
   options:  [pci] [cardbus] [apm]
Intel ISA PCIC probe: not found
Device 'i82365.0' does not have a release() function, it is broken and
must be fixed.
Badness in device_release at drivers/base/core.c:83
   [<c0195185>] kobject_cleanup+0x3f/0x64
   [<c01951aa>] kobject_release+0x0/0xa
   [<c01958f0>] kref_put+0x48/0x54
   [<c01951ca>] kobject_put+0x16/0x19
   [<c01951aa>] kobject_release+0x0/0xa
   [<d0966d4f>] init_i82365+0x6f/0x164 [i82365]
   [<c0127f3f>] sys_init_module+0xb8/0x176
   [<c0102e9d>] syscall_call+0x7/0xb
* Using yenta_socket instead of i82365
cardmgr[3051]: no sockets found!
Loading the saved-state of the serial devices...

After cursory search I was able to find a patch for this problem, suggested on 
this list over a year ago. It would be nice if someone knowledgeable could have 
a look at it and finally incorporate it (or an alternative solution) into the tree.


Thanks and best regards,

Jurij Smakov                                        jurij at
Debian kernel team
Key:                   KeyID: C99E03CC

More information about the linux-pcmcia mailing list