Ticket #15 (closed defect: later)

Opened 12 years ago

Last modified 2 years ago

kernel oops when unloading g_ether

Reported by: laforge@… Owned by: jserv@…
Priority: high Milestone:
Component: kernel Version: unspecified
Severity: normal Keywords:
Cc: laforge@…, buglog@…, olvaffe@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:


root@fic-gta01:~$ rmmod g_ether
0.4790 USB: usb_gadget_register_driver() 'ether'
ep_disable: ep1-bulk
0.4791 USB: ep1-bulk disabled
ep_disable: ep2-bulk
0.4792 USB: ep2-bulk disabled
ep_disable: ep3-bulk
0.4793 USB: ep3-bulk disabled
BUG: warning at lib/kref.c:32/kref_get()
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c58c0000
[00000000] *pgd=367e1031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 #1
Modules linked in: ohci_hcd g_ether rfcomm hidp l2cap bluetooth
CPU: 0
PC is at wait_for_completion+0x74/0xfc
LR is at wait_for_completion+0x44/0xfc
pc : [<c0245448>] lr : [<c0245418>] Not tainted
sp : c640fe98 ip : 00000000 fp : c640fec4
r10: 00000000 r9 : c640e000 r8 : c0025f44
r7 : 00000000 r6 : c02aadf8 r5 : c640e000 r4 : c640fea4
r3 : c003801c r2 : 00000001 r1 : c02aadfc r0 : 00000000
Flags: nZcv IRQs off FIQs on Mode SVC_32 Segment user
Control: C000317F Table: 358C0000 DAC: 00000015
Process rmmod (pid: 2860, stack limit = 0xc640e198)
Stack: (0xc640fe98 to 0xc6410000)
fe80: 00000001 c635aa40
fea0: c003801c c02aadfc 00000000 c02aade8 bf02519c c02aae24 c640fed8 c640fec8
fec0: c02446e0 c02453e4 c02aadbc c640fef4 c640fedc c015aa98 c02446d4 c02aae88
fee0: bf02517c c02aadbc c640ff08 c640fef8 c015ae04 c015aa64 c02aac84 c640ff28
ff00: c640ff0c c01bacf8 c015addc bf025480 c640e000 00000000 c640ff3c c640ff38
ff20: c640ff2c bf022ed0 c01bac80 c640ffa4 c640ff3c c0055f5c bf022ecc 74655f67
ff40: 00726568 c640ff84 00000000 ffffffff 40125b98 00021000 00000000 c640ffb0
ff60: 00000000 4014c000 c640ff9c c640ff78 c002c918 0002c620 bf025480 00000880
ff80: c640ff84 00000000 beccecf8 beccc4e4 beccc4f8 00000081 00000000 c640ffa8
ffa0: c0025da0 c0055da4 beccecf8 beccc4e4 beccc4e4 00000880 00000000 00000000
ffc0: beccecf8 beccc4e4 beccc4f8 00000003 00000880 00000000 00000000 becced68
ffe0: 400ef950 beccc4dc 0000918c 400ef954 60000010 beccc4e4 8c518c51 8c518c51
[<c02453d4>] (wait_for_completion+0x0/0xfc) from [<c02446e0>]

r6 = C02AAE24 r5 = BF02519C r4 = C02AADE8

[<c02446c4>] (klist_remove+0x0/0x20) from [<c015aa98>]

r4 = C02AADBC

[<c015aa54>] (device_release_driver+0x0/0x90) from [<c015ae04>]

r6 = C02AADBC r5 = BF02517C r4 = C02AAE88

[<c015adcc>] (device_release_driver+0x0/0x60) from [<c01bacf8>]

r4 = C02AAC84

[<c01bac70>] (usb_gadget_unregister_driver+0x0/0xa4) from [<bf022ed0>]
(cleanup+0x14/0x1c [g_ether])

r7 = C640FF3C r6 = 00000000 r5 = C640E000 r4 = BF025480

[<bf022ebc>] (cleanup+0x0/0x1c [g_ether]) from [<c0055f5c>]
[<c0055d94>] (sys_delete_module+0x0/0x1f8) from [<c0025da0>]

r7 = 00000081 r6 = BECCC4F8 r5 = BECCC4E4 r4 = BECCECF8

Code: e50b3024 e50b202c e50b1020 e5814004 (e5804000)

Segmentation fault

Change History

comment:1 Changed 12 years ago by mickey@…

Is this still a problem in 2.6.20.x? Is this or problem or mainline?

comment:2 Changed 12 years ago by laforge@…

it is a mainline problem. Will verify this with 2.6.20.x and report back.

comment:3 Changed 12 years ago by mickey@…

does it work now?

comment:4 Changed 12 years ago by laforge@…

  • Owner changed from laforge@… to jserv@…
  • Cc laforge@… added

I fear the bug might still exist.

Jserv: Can you ask somebody of our team to build a kernel with g_ether module
(not compiled-in) and do some load/unload testing?


comment:5 Changed 12 years ago by jserv@…

  • Status changed from new to assigned

comment:6 Changed 12 years ago by olvaffe@…

  • Cc olvaffe@… added

comment:7 Changed 12 years ago by olvaffe@…

Tried on, unloading g_ether does not give any oops.

However, re-loading it does not bring the network up. The interfaces are up,
but ping does not respond. I get these messages on the host machine:

usb 1-1: USB disconnect, address 69
usb0: unregister 'cdc_ether' usb-0000:00:1d.0-1, CDC Ethernet Device
usb 1-1: new full speed USB device using uhci_hcd and address 70
usb 1-1: configuration #1 chosen from 2 choices
usb0: register 'cdc_ether' at usb-0000:00:1d.0-1, CDC Ethernet Device,
NETDEV WATCHDOG: usb0: transmit timed out
NETDEV WATCHDOG: usb0: transmit timed out
NETDEV WATCHDOG: usb0: transmit timed out
NETDEV WATCHDOG: usb0: transmit timed out

comment:8 Changed 12 years ago by jserv@…

  • Status changed from assigned to closed
  • Resolution set to later

As comment #15 said, kernel doesn't encounter kernel oops when
unloading g_ether. However, there is a side effect of not working cdc ether
while reloading. So, change the state for looking into details later.

comment:9 Changed 2 years ago by Kennescoma

Propecia Nioxin Combined <a href=http://kama1.xyz/generic-kamagra-online.php>Generic Kamagra Online</a> Prescription Drugs For Sale Online Propecia Pills For Sale <a href=http://prednisone.ccrpdc.com/cheap-deltasone-online.php>Cheap Deltasone Online</a> Ebay Precio De La Ciales Bestellen Levitra <a href=http://zol1.xyz/zoloft-cheap.php>Zoloft Cheap</a> Cialis 5mg Vidal Viagra Professional 100 Mg <a href=http://cial1.xyz/cheap-cialis-tablets.php>Cheap Cialis Tablets</a> Viagra Wirkung Nicht Euro Med <a href=http://cial1.xyz/order-generic-cialis.php>Order Generic Cialis</a> Gassy Baby Amoxicillin Cialis 20mg Von Lilly <a href=http://cial1.xyz/cheap-cialis-40mg.php>Cheap Cialis 40mg</a> Need Acticin 30gm Best Website Cialis 20 Mg Effets <a href=http://zol1.xyz/cheap-zoloft-generic.php>Cheap Zoloft Generic</a> Is Kamagra Good Tretinoin Cream U.S.P <a href=http://cial5mg.xyz/order-cialis-online-usa.php>Order Cialis Online Usa</a> Tarif Du Levitra En Pharmacie Order Now Free Shipping Fluoxetine Cod Accepted Amex Accepted <a href=http://kama1.xyz/kamagra-online.php>Kamagra Online</a> Cialis Effet Kamagra 100mg Besancon <a href=http://cial5mg.xyz/buy-cheap-cialis-pills.php>Buy Cheap Cialis Pills</a> Abra 100 Finasteride 10mg Mail Order On Line <a href=http://lasix.ccrpdc.com>Buy Lasix</a> Rx Pills Direct Buy Cheap Finasteride <a href=http://viag1.xyz/cheap-viagra-fast.php>Cheap Viagra Fast</a> Warfarin Without Prescription Cialis Levitra Viagra Espana <a href=http://zol1.xyz/buy-zoloft-uk.php>Buy Zoloft Uk</a> Amoxicillin Uses For Dogs 40mg Tadalafil <a href=http://viag1.xyz/viagra-for-sale.php>Viagra For Sale</a> Legally Online Progesterone Visa Accepted Website C.O.D. Shipped Ups Sildenafil 100 Mg Kamagra Oral Jelly <a href=http://zithromax.ccrpdc.com/antibiotic-zithromax.php>Antibiotic Zithromax</a> Can You Take Clindamycin And Amoxicillin For new homeowners securing another loan on top of a mortgage with your home is risky. <a href=http://money-loan-today.com>loans for people with bad credit</a> Bad credit loans to payday with instant approval guaranteed and same day direct payday lenders finding a no faxing payday lender list for low interest faxless pay.See why you save more with us With Daily Rates You Only Pay For The Days You Use.Cialis Es Para Mujeres <a href=http://viag1.xyz/viagra-online-fast.php>Viagra Online Fast</a> Supradyn Propecia Hair Loss Symptoms <a href=http://cial5mg.xyz/buy-cheap-cialis-on-line.php>Buy Cheap Cialis On Line</a> Kamagraoraljellsold Inperthpharmacy Kosten Levitra Ihre <a href=http://zol1.xyz/online-zoloft.php>Online Zoloft</a> Propecia Shedding To Work Venta De Cialis Por Internet <a href=http://zol1.xyz/sertraline-no-prescription.php>Sertraline No Prescription</a> Cialis Kaufen In Deutschland Cialis A Prezzo Basso <a href=http://cial1.xyz/cialis-professional.php>Cialis Professional</a> Is Amoxillin In Penicillin Family Elocon 0.1% <a href=http://cial1.xyz/tadalafil-online.php>Tadalafil Online</a> Amoxicillin 2 Grams Farmacia Online Uk <a href=http://cial5mg.xyz/cialis-free-trial.php>Cialis Free Trial</a> What Is The Average Price For Viagra? Baclofene Arret Cigarette <a href=http://prednisone.ccrpdc.com/deltasone-sale.php>Deltasone Sale</a> Order Progesterone Menopause Medicine

Note: See TracTickets for help on using tickets.