Bug 1125

Summary: Device class '3c59x' does not have a release() function, it is broken and must be fixed
Product: Drivers Reporter: Felipe Alfaro Solana (felipe_alfaro)
Component: NetworkAssignee: Jeff Garzik (jgarzik)
Status: CLOSED CODE_FIX    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.0-test3-mm3 Subsystem:
Regression: --- Bisected commit-id:
Attachments: The .config file used to build 2.6.0-test3-mm3
The dmesg command output
The output of the "lspci -vvv" command

Description Felipe Alfaro Solana 2003-08-19 04:27:14 UTC
Distribution: 
Red Hat Linux 9.0.93 
 
Hardware Environment: 
NEC Chrom@ laptop 
Intel 440BX chipset 
Pentium III 700 Mhz 
Texas Instruments PCI4450 PC card Cardbus Controller 
3Com Corporation 3CCFE575CT Cyclone CardBus (rev 10) 
 
Software Environment: 
Red Hat Linux 9.0.93 
 
Problem Description: 
When unloading the 3c59x module by running "rmmod 3c59x", I get some kernel 
oopses complaining that the 3c59x device driver does not have a release() 
function. 
 
I have attached the output of "lspci -vvv" of the running kernel, plus the 
output of the "dmesg" command and the "config" used to build the kernel. 
 
Steps to reproduce: 
Try unloading the 3c59x module by running "rmmod 3c59x" and the mentioned 
kernel oops will happen.
Comment 1 Felipe Alfaro Solana 2003-08-19 04:28:00 UTC
Created attachment 673 [details]
The .config file used to build 2.6.0-test3-mm3
Comment 2 Felipe Alfaro Solana 2003-08-19 04:28:37 UTC
Created attachment 674 [details]
The dmesg command output
Comment 3 Felipe Alfaro Solana 2003-08-19 04:28:58 UTC
Created attachment 675 [details]
The output of the "lspci -vvv" command
Comment 4 Greg Kroah-Hartman 2003-08-19 14:26:26 UTC
Should be fixed in the latest bk tree.  Can you try 2.6.0-test3-bk7 or wait
until 2.6.0-test4?
Comment 5 Felipe Alfaro Solana 2003-10-27 01:41:56 UTC
Seems to be fixed in 2.6.0-test9: rmmod'ing 3c59x no longer causes any kernel 
oops.