On Thu, Oct 7, 2010 at 4:22 PM, Bruno Randolf <b...@einfach.org> wrote: > On Thu October 7 2010 14:41:18 Jonathan Guerin wrote: >> > I seem to be getting a kernel panic when creating an IBSS with the >> > latest ath5k driver. I remember Bruno submitting patches recently >> > which modifies the behaviour of timestamps in ath5k, so I was >> > wondering if this was related. > > did i? ;) i don't remember that.
Oops, maybe you were just discussing it. > >> Correction, this is not when creating an IBSS, but when bringing up an >> interface in monitor-mode. > > hmm... i don't see that with current wireless-testing. how do you create your > monitor interface? I use: iw dev wlan0 interface add mon0 type monitor ifconfig mon0 up > > bruno > > >> > [ 54.501954] skb_under_panic: text:c04e27f2 len:110 put:14 he0 >> > [ 54.507979] ------------[ cut here ]------------ >> > [ 54.511864] kernel BUG at net/core/skbuff.c:146! >> > [ 54.511864] invalid opcode: 0000 [#1] SMP >> > [ 54.511864] last sysfs file: >> > /sys/devices/pci0000:00/0000:00:0c.0/device [ 54.511864] Modules >> > linked in: ath5k ath mac80211 led_class nfs lockd nfs_ac] [ 54.511864] >> > [ 54.511864] Pid: 0, comm: swapper Not tainted 2.6.36-rc6-wl-wl+ #3 / >> > [ 54.511864] EIP: 0060:[<c04c2b90>] EFLAGS: 00010286 CPU: 0 >> > [ 54.511864] EIP is at skb_push+0x80/0x90 >> > [ 54.511864] EAX: 00000087 EBX: c04e27f2 ECX: c079daf4 EDX: 00000000 >> > [ 54.511864] ESI: cfd62cc0 EDI: cf468910 EBP: c0791d64 ESP: c0791d3c >> > [ 54.511864] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 >> > [ 54.511864] Process swapper (pid: 0, ti=c0790000 task=c07976a0 >> > task.ti=c0790) [ 54.511864] Stack: >> > [ 54.511864] c0754518 c04e27f2 0000006e 0000000e cfee8a00 cfee89f2 >> > cfee8a60 0 [ 54.511864] <0> ce56c000 cfd62cc0 c0791d78 c04e27f2 >> > cfd62cc0 cfd62cc0 cf46890 [ 54.511864] <0> c04cc866 00000040 cf4682c0 >> > cf4682c0 cf4682c0 c0791df8 d0c06a0 [ 54.511864] Call Trace: >> > [ 54.511864] [<c04e27f2>] ? skb_defer_rx_timestamp+0x22/0x80 >> > [ 54.511864] [<c04e27f2>] ? skb_defer_rx_timestamp+0x22/0x80 >> > [ 54.511864] [<c04cc866>] ? netif_receive_skb+0x26/0x90 >> > [ 54.511864] [<d0c06a83>] ? ieee80211_rx+0x613/0x800 [mac80211] >> > [ 54.511864] [<c04c33dc>] ? __alloc_skb+0x5c/0x110 >> > [ 54.511864] [<d0c8badf>] ? ath5k_rx_skb_alloc+0x7f/0x160 [ath5k] >> > [ 54.511864] [<d0c8cfa5>] ? ath5k_tasklet_rx+0x315/0x860 [ath5k] >> > [ 54.511864] [<c0108538>] ? sched_clock+0x8/0x10 >> > [ 54.511864] [<c016d885>] ? sched_clock_local+0xa5/0x180 >> > [ 54.511864] [<d0c818c0>] ? ath5k_hw_get_isr+0xa0/0x380 [ath5k] >> > [ 54.511864] [<d0c8ca9e>] ? ath5k_intr+0x2ae/0x4a0 [ath5k] >> > [ 54.511864] [<c014fc17>] ? tasklet_action+0xa7/0xb0 >> > [ 54.511864] [<c015095c>] ? __do_softirq+0x9c/0x1b0 >> > [ 54.511864] [<c012c868>] ? default_spin_lock_flags+0x8/0x10 >> > [ 54.511864] [<c05b927f>] ? _raw_spin_lock_irqsave+0x2f/0x50 >> > [ 54.511864] [<c0150ab5>] ? do_softirq+0x45/0x50 >> > [ 54.511864] [<c0150c25>] ? irq_exit+0x65/0x70 >> > [ 54.511864] [<c05c0055>] ? do_IRQ+0x55/0xc0 >> > [ 54.511864] [<c017112f>] ? ktime_get+0x6f/0x110 >> > [ 54.511864] [<c01035b0>] ? common_interrupt+0x30/0x40 >> > [ 54.511864] [<c012bcaa>] ? native_safe_halt+0xa/0x10 >> > [ 54.511864] [<c0109f53>] ? default_idle+0x53/0xb0 >> > [ 54.511864] [<c0101e4a>] ? cpu_idle+0x8a/0xf0 >> > [ 54.511864] [<c05a2ccd>] ? rest_init+0x5d/0x70 >> > [ 54.511864] [<c07d297b>] ? start_kernel+0x357/0x35d >> > [ 54.511864] [<c07d2450>] ? unknown_bootoption+0x0/0x19e >> > [ 54.511864] [<c07d20de>] ? i386_start_kernel+0xde/0xe6 >> > [ 54.511864] Code: 00 00 89 4c 24 14 8b 88 ac 00 00 00 89 54 24 0c 89 >> > 4c 24 1 [ 54.511864] EIP: [<c04c2b90>] skb_push+0x80/0x90 SS:ESP >> > 0068:c0791d3c [ 54.511864] ---[ end trace ccaff68ea5123ae2 ]--- >> > [ 54.513037] Kernel panic - not syncing: Fatal exception in interrupt >> > [ 54.520124] Pid: 0, comm: swapper Tainted: G D >> > 2.6.36-rc6-wl-wl+ #3 [ 54.521277] Call Trace: >> > [ 54.524656] [<c05b6936>] ? printk+0x1d/0x1f >> > [ 54.529491] [<c05b6817>] panic+0x5c/0x15e >> > [ 54.533818] [<c05babdd>] oops_end+0xcd/0xd0 >> > [ 54.538655] [<c0105ce4>] die+0x54/0x80 >> > [ 54.542199] [<c05ba286>] do_trap+0x96/0xc0 >> > [ 54.546781] [<c0103d10>] ? do_invalid_op+0x0/0xa0 >> > [ 54.549181] [<c0103d9b>] do_invalid_op+0x8b/0xa0 >> > [ 54.555342] [<c04c2b90>] ? skb_push+0x80/0x90 >> > [ 54.556724] [<c014b041>] ? vprintk+0x191/0x3f0 >> > [ 54.562339] [<c04e27f2>] ? skb_defer_rx_timestamp+0x22/0x80 >> > [ 54.567341] [<c05ba017>] error_code+0x67/0x70 >> > [ 54.568699] [<c04e27f2>] ? skb_defer_rx_timestamp+0x22/0x80 >> > [ 54.573704] [<c04c2b90>] ? skb_push+0x80/0x90 >> > [ 54.579064] [<c04e27f2>] ? skb_defer_rx_timestamp+0x22/0x80 >> > [ 54.584082] [<c04e27f2>] skb_defer_rx_timestamp+0x22/0x80 >> > [ 54.588612] [<c04cc866>] netif_receive_skb+0x26/0x90 >> > [ 54.595838] [<d0c06a83>] ieee80211_rx+0x613/0x800 [mac80211] >> > [ 54.597099] [<c04c33dc>] ? __alloc_skb+0x5c/0x110 >> > [ 54.603523] [<d0c8badf>] ? ath5k_rx_skb_alloc+0x7f/0x160 [ath5k] >> > [ 54.605849] [<d0c8cfa5>] ath5k_tasklet_rx+0x315/0x860 [ath5k] >> > [ 54.611392] [<c0108538>] ? sched_clock+0x8/0x10 >> > [ 54.613284] [<c016d885>] ? sched_clock_local+0xa5/0x180 >> > [ 54.617265] [<d0c818c0>] ? ath5k_hw_get_isr+0xa0/0x380 [ath5k] >> > [ 54.623076] [<d0c8ca9e>] ? ath5k_intr+0x2ae/0x4a0 [ath5k] >> > [ 54.627564] [<c014fc17>] tasklet_action+0xa7/0xb0 >> > [ 54.629963] [<c015095c>] __do_softirq+0x9c/0x1b0 >> > [ 54.636107] [<c012c868>] ? default_spin_lock_flags+0x8/0x10 >> > [ 54.637124] [<c05b927f>] ? _raw_spin_lock_irqsave+0x2f/0x50 >> > [ 54.642137] [<c0150ab5>] do_softirq+0x45/0x50 >> > [ 54.647499] [<c0150c25>] irq_exit+0x65/0x70 >> > [ 54.652340] [<c05c0055>] do_IRQ+0x55/0xc0 >> > [ 54.652664] [<c017112f>] ? ktime_get+0x6f/0x110 >> > [ 54.658547] [<c01035b0>] common_interrupt+0x30/0x40 >> > [ 54.661471] [<c012bcaa>] ? native_safe_halt+0xa/0x10 >> > [ 54.664668] [<c0109f53>] default_idle+0x53/0xb0 >> > [ 54.670559] [<c0101e4a>] cpu_idle+0x8a/0xf0 >> > [ 54.675405] [<c05a2ccd>] rest_init+0x5d/0x70 >> > [ 54.680506] [<c07d297b>] start_kernel+0x357/0x35d >> > [ 54.682907] [<c07d2450>] ? unknown_bootoption+0x0/0x19e >> > [ 54.686869] [<c07d20de>] i386_start_kernel+0xde/0xe6 >> > >> > Branch information: >> > commit 25de059bdad7ce916df6f2cfdfc1c2d2d72abf11 >> > Merge: 412d5af 46bf695 >> > Author: John W. Linville <linvi...@tuxdriver.com> >> > Date: Tue Oct 5 15:09:33 2010 -0400 >> > >> > Thanks, >> > >> > Jonathan Guerin >> >> _______________________________________________ >> ath5k-devel mailing list >> ath5k-devel@lists.ath5k.org >> https://lists.ath5k.org/mailman/listinfo/ath5k-devel > _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel