2008-07-27 20:58:43

by Andrew Morton

[permalink] [raw]
Subject: Fw: [Oops] b43 driver on 2.6.26



Begin forwarded message:

Date: Wed, 23 Jul 2008 01:03:24 +0300
From: "Mohammed Gamal" <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: [Oops] b43 driver on 2.6.26


I get the following oops with b43 driver on scanning for wireless networks.
----

[ 979.059158] ------------[ cut here ]------------
[ 979.059181] kernel BUG at net/core/dev.c:1328!
[ 979.059190] invalid opcode: 0000 [1] SMP
[ 979.059202] CPU 0
[ 979.059211] Modules linked in: rfkill_input arc4 ecb crypto_blkcipher b43 rfkill mac80211 cfg80211 led_class input_polldev ipv6 i915 drm binfmt_misc rfcomm l2cap nfsd lockd auth_rpcgss sunrpc exportfs ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp bridge stp kvm_intel kvm ppdev acpi_cpufreq cpufreq_ondemand cpufreq_userspace cpufreq_stats freq_table cpufreq_conservative cpufreq_powersave pci_slot sbs sbshc iptable_filter ip_tables x_tables parport_pc lp parport snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd hci_usb soundcore serio_raw bluetooth ac iTCO_wdt button psmouse pcspkr iTCO_vendor_support container battery shpchp pci_hotplug intel_agp evdev dm_multipath dm_mod scsi_dh ext3 jbd mbcache sg sr_mod sd_mod cdrom ata_generic ata_piix libata scsi_mod dock uhci_hcd ehci_hcd ssb pcmcia pcmcia_c!
ore usbcore raid10 raid456 async_xor async_memcpy async_tx xor raid1 raid0 multipath linear md_mod thermal processor fan fuse
[ 979.059564] Pid: 8718, comm: b43 Not tainted 2.6.26 #11
[ 979.059573] RIP: 0010:[<ffffffff803f0f0d>] [<ffffffff803f0f0d>] __netif_schedule+0x6d/0x80
[ 979.059603] RSP: 0018:ffff880039253de0 EFLAGS: 00010246
[ 979.059612] RAX: 00000000ffffffff RBX: ffff880032049700 RCX: 0000000000000000
[ 979.059622] RDX: ffff880039b5e740 RSI: ffffffff805dca40 RDI: ffffffff805dca40
[ 979.059632] RBP: ffff880039253df0 R08: ffff88003b599808 R09: ffffffffa216cee0
[ 979.059641] R10: 0000000000000001 R11: 0000000000000000 R12: ffff880031dc6f18
[ 979.059651] R13: ffff880032f1d000 R14: ffff880031dc62e0 R15: 0000000000000000
[ 979.059663] FS: 0000000000000000(0000) GS:ffffffff806ad280(0000) knlGS:0000000000000000
[ 979.059674] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[ 979.059683] CR2: 000000000042d6a0 CR3: 0000000000201000 CR4: 00000000000026e0
[ 979.059694] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 979.059704] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 979.059715] Process b43 (pid: 8718, threadinfo ffff880039252000, task ffff88003a1fce20)
[ 979.059723] Stack: ffff880039253df0 ffff880032049700 ffff880039253e50 ffffffffa20a6123
[ 979.059745] ffffffffffffffff ffff880032049000 0000000000000000 0000000000000000
[ 979.059762] ffff880039253e40 ffff880031dc6f48 0000000000000000 ffff880031dc62e0
[ 979.059778] Call Trace:
[ 979.059855] [<ffffffffa20a6123>] ieee80211_scan_completed+0x233/0x2c0 [mac80211]
[ 979.059947] [<ffffffffa20a8f38>] ieee80211_sta_scan_work+0xa8/0x200 [mac80211]
[ 979.060002] [<ffffffffa20a8e90>] ? ieee80211_sta_scan_work+0x0/0x200 [mac80211]
[ 979.060036] [<ffffffff802509a0>] run_workqueue+0xd0/0x170
[ 979.060068] [<ffffffff80251493>] worker_thread+0xa3/0x110
[ 979.060090] [<ffffffff80254970>] ? autoremove_wake_function+0x0/0x40
[ 979.060122] [<ffffffff802513f0>] ? worker_thread+0x0/0x110
[ 979.060142] [<ffffffff802544bd>] kthread+0x4d/0x80
[ 979.060175] [<ffffffff8020d8f9>] child_rip+0xa/0x11
[ 979.060239] [<ffffffff80254470>] ? kthread+0x0/0x80
[ 979.060255] [<ffffffff8020d8ef>] ? child_rip+0x0/0x11
[ 979.060273]
[ 979.060278]
[ 979.060283] Code: 80 80 bf 02 00 00 00 48 01 c2 48 8b 02 48 89 46 68 48 89 32 e8 f5 31 e5 ff 48 89 df 57 9d 66 0f 1f 44 00 00 48 83 c4 08 5b c9 c3 <0f> 0b eb fe 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48
[ 979.060427] RIP [<ffffffff803f0f0d>] __netif_schedule+0x6d/0x80
[ 979.060444] RSP <ffff880039253de0>
[ 979.060526] ---[ end trace 55f1610a9e5669be ]---



Attachments:
oops (3.74 kB)

2008-07-27 21:32:13

by Larry Finger

[permalink] [raw]
Subject: Re: Fw: [Oops] b43 driver on 2.6.26

Mohammed Gamal wrote:
> On Sun, Jul 27, 2008 at 11:58 PM, Andrew Morton
> <[email protected]> wrote:
>>
>> Begin forwarded message:
>>
>> Date: Wed, 23 Jul 2008 01:03:24 +0300
>> From: "Mohammed Gamal" <[email protected]>
>> To: [email protected]
>> Cc: [email protected]
>> Subject: [Oops] b43 driver on 2.6.26
>>
>>
>> I get the following oops with b43 driver on scanning for wireless networks.
>> ----
>> [...]
>
> Ignore this, I'm no longer getting this oops on the latest git tree.

This message came from a BUG_ON statement in __netif_schedule(). A subsequent
commit changed it to a WARN_ON, and finally commit 5b3ab1d removed it completely
as the tested condition was essentially harmless.

You should be aware that wireless has not worked since commit
175f9c1bba9b825d22b142. See the thread at
http://www.ussg.iu.edu/hypermail/linux/kernel/0807.3/0936.html for details. This
problem is not yet formally entered at bugzilla as a regression.

Larry



2008-07-27 21:44:44

by Mohammed Gamal

[permalink] [raw]
Subject: Re: Fw: [Oops] b43 driver on 2.6.26

On Mon, Jul 28, 2008 at 12:32 AM, Larry Finger
<[email protected]> wrote:
> Mohammed Gamal wrote:
>>
>> On Sun, Jul 27, 2008 at 11:58 PM, Andrew Morton
>> <[email protected]> wrote:
>>>
>>> Begin forwarded message:
>>>
>>> Date: Wed, 23 Jul 2008 01:03:24 +0300
>>> From: "Mohammed Gamal" <[email protected]>
>>> To: [email protected]
>>> Cc: [email protected]
>>> Subject: [Oops] b43 driver on 2.6.26
>>>
>>>
>>> I get the following oops with b43 driver on scanning for wireless
>>> networks.
>>> ----
>>> [...]
>>
>> Ignore this, I'm no longer getting this oops on the latest git tree.
>
> This message came from a BUG_ON statement in __netif_schedule(). A
> subsequent
> commit changed it to a WARN_ON, and finally commit 5b3ab1d removed it
> completely
> as the tested condition was essentially harmless.
>
> You should be aware that wireless has not worked since commit
> 175f9c1bba9b825d22b142. See the thread at
> http://www.ussg.iu.edu/hypermail/linux/kernel/0807.3/0936.html for details.
> This problem is not yet formally entered at bugzilla as a regression.
>
> Larry
>

Actually wireless is *partially* working for me. It seems that there's
a lot of packet loss though.

2008-07-27 21:02:11

by Mohammed Gamal

[permalink] [raw]
Subject: Re: Fw: [Oops] b43 driver on 2.6.26

On Sun, Jul 27, 2008 at 11:58 PM, Andrew Morton
<[email protected]> wrote:
>
>
> Begin forwarded message:
>
> Date: Wed, 23 Jul 2008 01:03:24 +0300
> From: "Mohammed Gamal" <[email protected]>
> To: [email protected]
> Cc: [email protected]
> Subject: [Oops] b43 driver on 2.6.26
>
>
> I get the following oops with b43 driver on scanning for wireless networks.
> ----
> [...]

Ignore this, I'm no longer getting this oops on the latest git tree.