Openmoko Bug #2240: removing/reloading g_ether not working

Openmoko Public Trac bugs at docs.openmoko.org
Mon Apr 27 13:41:09 CEST 2009


#2240: removing/reloading g_ether not working
-------------------------+--------------------------------------------------
 Reporter:  frankmpunkt  |          Owner:  openmoko-devel
     Type:  defect       |         Status:  new           
 Priority:  high         |      Milestone:                
Component:  unknown      |        Version:  unspecified   
 Severity:  normal       |       Keywords:                
 Haspatch:  0            |      Blockedby:                
Estimated:               |    Patchreview:                
 Blocking:               |   Reproducible:                
-------------------------+--------------------------------------------------

Comment(by lindi):

 A reliable way to crash the kernel is
 {{{
 insmod g_ether.ko.2
 sleep 1
 ifconfig usb0 up
 sleep 1
 ifconfig usb0 down
 sleep 1
 rmmod g_ether # ip link still shows usb0
 sleep 2
 insmod g_ether.ko.2 # now uses usb1 instead of usb0
 sleep 2
 ifconfig usb0 up # crash when dev_open tries to use usb0
 sleep 2
 }}}

 I can even do "ifconfig usb0 up" after I have removed the g_ether module
 completely.

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2240#comment:3>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the devel mailing list