Re: [PATCH v2] u_ether: move hardware transmit to RX NAPI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



W dniu 13.05.2014 17:57, Weinn Jheng pisze:
---
Changes for v2:
   - Trying to fix the plug/unplug problem which cause KE.


I tested it. I'm sorry, no improvement here. :(

Please see the log below:

33.737909] ------------[ cut here ]------------
[   33.742365] kernel BUG at include/linux/netdevice.h:495!
[   33.747652] Internal error: Oops - BUG: 0 [#1] PREEMPT ARM
[   33.753112] Modules linked in: usb_f_ecm g_ether usb_f_rndis u_ether libcomposite
[   33.760570] CPU: 0 PID: 0 Comm: swapper Not tainted 3.15.0-rc4+ #326
[   33.766890] task: c0590760 ti: c0586000 task.ti: c0586000
[   33.772281] PC is at eth_start+0x80/0x84 [u_ether]
[   33.777036] LR is at __netif_schedule+0x80/0x88
[   33.781537] pc : [<bf0127a8>]    lr : [<c03150b8>]    psr: 60000193
[   33.781537] sp : c0587c98  ip : c0587c78  fp : c0587cac
[   33.792973] r10: e6b98ba8  r9 : bf02443c  r8 : 0000000a
[   33.798172] r7 : e6863cfc  r6 : 00000000  r5 : e6863ce0  r4 : e6863ce0
[   33.804671] r3 : 00000000  r2 : c058e83c  r1 : 00000001  r0 : 00000000
[   33.811173] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[   33.818537] Control: 10c5387d  Table: 56a18019  DAC: 00000015
[   33.824256] Process swapper (pid: 0, stack limit = 0xc0586238)
[   33.830062] Stack: (0xc0587c98 to 0xc0588000)
[   33.834397] 7c80:                                                       0000000b e69fb240
[   33.842546] 7ca0: c0587cd4 c0587cb0 bf012904 bf012734 00000000 e69fb240 bf01c820 e6b98500
[   33.850691] 7cc0: 00000001 e6b98500 c0587cf4 c0587cd8 bf019708 bf0127b8 bf019668 e69fb290
[   33.858837] 7ce0: e77c8c88 e69fb240 c0587d5c c0587cf8 bf0029c0 bf019674 bf024360 c0587d08
[   33.866982] 7d00: c02cd334 c02cb490 c0587d4c 00000002 e77c8c88 e6a39500 e6b98544 e77c8c88
[   33.875128] 7d20: bf024438 00000000 00000000 c03b2fd8 bf0244e4 e77c8c7c e77c8c10 e77c8c24
[   33.883274] 7d40: e76e3000 c05d0c30 00000010 00000000 c0587da4 c0587d60 c02cf204 bf001f10
[   33.891419] 7d60: c0586000 e77c8c24 e76e3000 c03b3150 00000000 c03b2fd8 c02cf120 e7595a00
[   33.899565] 7d80: e76e3000 e77c8c10 00000000 e77c8c24 00000010 00000000 c0587ddc c0587da8
[   33.907711] 7da0: c02cbcd4 c02cf12c c0587df4 c0587db8 c0046970 c03b3010 ffff2ff8 e7595a00
[   33.915856] 7dc0: 00000000 e77c8c10 e76e3000 00000001 c0587e0c c0587de0 c02cdbf0 c02cbc48
[   33.924002] 7de0: 00000000 c0586000 e77c8c10 e77c8c10 01680000 c05d0c30 00000007 00000000
[   33.932148] 7e00: c0587e54 c0587e10 c02cede0 c02cdb34 00000021 00000000 c0587e78 c05f5e80
[   33.940294] 7e20: 00000000 e77c8c24 0000000b e7595700 c05a4918 00000058 c0587f28 00000000
[   33.948439] 7e40: 00000000 c0586000 c0587e94 c0587e58 c005f0e4 c02ce738 c0071c98 c007219c
[   33.956585] 7e60: 00000000 c05a48c4 00060000 c05a48c4 c05a4918 e7595700 c0587f28 00000000
[   33.964731] 7e80: c05cd3b0 c0586000 c0587eb4 c0587e98 c005f350 c005f084 00020000 c05a48c4
[   33.972877] 7ea0: c05a4918 00000000 c0587ecc c0587eb8 c0061980 c005f310 c05b8450 00000058
[   33.981023] 7ec0: c0587edc c0587ed0 c005e8dc c00618e0 c0587efc c0587ee0 c00106ec c005e8b4
[   33.989168] 7ee0: c061eaa8 c0587f28 00000001 c061ea80 c0587f24 c0587f00 c00085f8 c00106a4
[   33.997314] 7f00: 00000000 c00108a4 60000013 ffffffff c0587f5c c058e0d0 c0587f7c c0587f28
[   34.005460] 7f20: c0013d84 c0008598 c058e83c 00001c3a c058e83c 00000000 c0586000 c05d2540
[   34.013605] 7f40: c0586000 c05cd3b0 c058e0d0 c05cd3b0 c0586000 c0587f7c c0587f70 c0587f70
[   34.021751] 7f60: c00108a0 c00108a4 60000013 ffffffff c0587f9c c0587f80 c00541c4 c0010880
[   34.029897] 7f80: c0587f9c c0586000 c03af8c8 c0570f5c c0587fb4 c0587fa0 c03a9754 c00540c0
[   34.038043] 7fa0: c0571ea8 c058eb90 c0587ff4 c0587fb8 c0544a50 c03a96e0 ffffffff ffffffff
[   34.046188] 7fc0: c0544544 00000000 00000000 c0570f5c 10c53c7d c058e060 c0570f58 c0591acc
[   34.054334] 7fe0: 30004059 00000000 00000000 c0587ff8 30008070 c05447bc 00000000 00000000
[   34.062504] [<bf0127a8>] (eth_start [u_ether]) from [<bf012904>] (gether_connect+0x158/0x1bc [u_ether])
[   34.071859] [<bf012904>] (gether_connect [u_ether]) from [<bf019708>] (rndis_set_alt+0xa0/0x1f0 [usb_f_rndis])
[   34.081840] [<bf019708>] (rndis_set_alt [usb_f_rndis]) from [<bf0029c0>] (composite_setup+0xabc/0x1088 [libcomposite])
[   34.092480] [<bf0029c0>] (composite_setup [libcomposite]) from [<c02cf204>] (s3c_hsotg_complete_setup+0xe4/0x508)
[   34.102701] [<c02cf204>] (s3c_hsotg_complete_setup) from [<c02cbcd4>] (s3c_hsotg_complete_request+0x98/0x14c)
[   34.112572] [<c02cbcd4>] (s3c_hsotg_complete_request) from [<c02cdbf0>] (s3c_hsotg_handle_outdone+0xc8/0x16c)
[   34.122447] [<c02cdbf0>] (s3c_hsotg_handle_outdone) from [<c02cede0>] (s3c_hsotg_irq+0x6b4/0x950)
[   34.131293] [<c02cede0>] (s3c_hsotg_irq) from [<c005f0e4>] (handle_irq_event_percpu+0x6c/0x28c)
[   34.139955] [<c005f0e4>] (handle_irq_event_percpu) from [<c005f350>] (handle_irq_event+0x4c/0x6c)
[   34.148794] [<c005f350>] (handle_irq_event) from [<c0061980>] (handle_level_irq+0xac/0x148)
[   34.157112] [<c0061980>] (handle_level_irq) from [<c005e8dc>] (generic_handle_irq+0x34/0x48)
[   34.165523] [<c005e8dc>] (generic_handle_irq) from [<c00106ec>] (handle_IRQ+0x54/0xc0)
[   34.173404] [<c00106ec>] (handle_IRQ) from [<c00085f8>] (vic_handle_irq+0x6c/0xac)
[   34.180941] [<c00085f8>] (vic_handle_irq) from [<c0013d84>] (__irq_svc+0x44/0x78)
[   34.188387] Exception stack(0xc0587f28 to 0xc0587f70)
[   34.193417] 7f20:                   c058e83c 00001c3a c058e83c 00000000 c0586000 c05d2540
[   34.201564] 7f40: c0586000 c05cd3b0 c058e0d0 c05cd3b0 c0586000 c0587f7c c0587f70 c0587f70
[   34.209706] 7f60: c00108a0 c00108a4 60000013 ffffffff
[   34.214738] [<c0013d84>] (__irq_svc) from [<c00108a4>] (arch_cpu_idle+0x30/0x40)
[   34.222111] [<c00108a4>] (arch_cpu_idle) from [<c00541c4>] (cpu_startup_entry+0x110/0x258)
[   34.230343] [<c00541c4>] (cpu_startup_entry) from [<c03a9754>] (rest_init+0x80/0x98)
[   34.238054] [<c03a9754>] (rest_init) from [<c0544a50>] (start_kernel+0x2a0/0x2e8)
[   34.245499] Code: e89da818 e5930004 eb4c0a24 eafffff2 (e7f001f2)
[   34.251565] ---[ end trace 773b6a5f3b722d64 ]---
[   34.256155] Kernel panic - not syncing: Fatal exception in interrupt
[   34.262482] ---[ end Kernel panic - not syncing: Fatal exception in interrupt


AP


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux