Return-path: Received: from 3a.49.1343.static.theplanet.com ([67.19.73.58]:42965 "EHLO pug.o-hand.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756317AbXJOJiH (ORCPT ); Mon, 15 Oct 2007 05:38:07 -0400 Subject: Re: b43 with upstream-davem stacktrace From: Richard Purdie To: Johannes Berg Cc: Michael Buesch , bcm43xx-dev@lists.berlios.de, Christian Hoffmann , linux-wireless@vger.kernel.org In-Reply-To: <1192354978.4770.100.camel@johannes.berg> References: <200710131823.33420.email@christianhoffmann.info> <200710131726.14289.mb@bu3sch.de> (sfid-20071013_162714_205094_D26CE64D) <1192354978.4770.100.camel@johannes.berg> Content-Type: text/plain Date: Mon, 15 Oct 2007 10:05:26 +0100 Message-Id: <1192439126.5684.13.camel@localhost.localdomain> (sfid-20071015_103817_044820_3B3599A8) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sun, 2007-10-14 at 11:42 +0200, Johannes Berg wrote: > On Sat, 2007-10-13 at 17:26 +0200, Michael Buesch wrote: > > > I also saw this sometimes, but I have absolutely no idea how that happens. > > Someone any idea? > > Nope, but adding more CCs :) I briefly looked at the code and couldn't > track it. Got a powerpc oops with disassembly? It appears to be having a problem in the strcmp in led_trigger_set_default() which is odd. Code above that checks if one of the options is NULL so all I can think it either the default_trigger string being passed in is invalid or there is a trigger with an invalid name registered with the system. Is this an SMP system and would something else be registering an LED trigger on another processor or similar? There is locking there which should be sufficient though. So no, I'm not sure whats going on either... Richard > > > b43-phy0 debug: Loading firmware version 351.126 (2006-07-29 05:54:02) > > > Registered led device: b43-phy0:tx > > > Registered led device: b43-phy0:rx > > > general protection fault: 0000 [1] SMP > > > CPU 0 > > > Modules linked in: eeprom ircomm_tty ircomm af_packet snd_pcm_oss > > > snd_mixer_oss snd_seq snd_seq_device radeon drm cpufreq_conservative > > > cpufreq_userspace cpufreq _powersave powernow_k8 pcmcia snd_atiixp_modem > > > arc4 snd_atiixp ecb blkcipher rc8 0211_simple snd_ac97_codec yenta_socket > > > ac97_bus snd_pcm rsrc_nonstatic snd_time r snd pcmcia_core b43 > > > firmware_class parport_pc ohci1394 ide_cd ssb rfkill mac80 211 rtc_cmos > > > irda crc_ccitt rtc_core k8temp rtc_lib cfg80211 led_class tifm_7xx1 output > > > battery ac parport ieee1394 button cdrom tifm_core container soundcore s > > > nd_page_alloc tg3 hwmon joydev input_polldev i2c_piix4 serio_raw ide_disk > > > ehci_h cd ohci_hcd usbcore radeonfb fb_ddc i2c_algo_bit i2c_core edd ext3 > > > mbcache jbd f an atiixp ide_core thermal processor > > > Pid: 2295, comm: NetworkManager Not tainted 2.6.23-rc9-default #1 > > > RIP: 0010:[] [] strcmp+0x0/0x1a > > > RSP: 0018:ffff810078fe5740 EFLAGS: 00010283 > > > RAX: ffff81007d1f5f70 RBX: ffff81007d1f5f40 RCX: ffffffff80418988 > > > RDX: ffffffff881ed3d0 RSI: ffffffff8048498b RDI: 66355f306e616c77 > > > RBP: ffff81007da723a8 R08: 0000000000000000 R09: 0000000000000000 > > > R10: ffffffff881ed3a0 R11: ffffffff803921b5 R12: ffff81007da72000 > > > R13: 0000000000000001 R14: 0000000000000000 R15: 66355f306e616c77 > > > FS: 0000000040800950(0063) GS:ffffffff804fc000(0000) > > > knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > > CR2: 0000000000616278 CR3: 0000000079556000 CR4: 00000000000006e0 > > > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > > > DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 > > > Process NetworkManager (pid: 2295, threadinfo ffff810078fe4000, task > > > ffff810079f be040) > > > Stack: ffffffff803861f8 ffff81007da723a8 ffff81007da723a8 0000000000000000 > > > ffffffff881ec218 ffff81007da72000 ffff81007da7240a ffff81007da723a0 > > > ffffffff882da4ba ffff810078fe57f8 0000000000000000 ffff81007d5802e0 > > > Call Trace: > > > [] led_trigger_set_default+0x3a/0x77 > > > [] :led_class:led_classdev_register+0xb9/0x10d > > > [] :b43:b43_register_led+0x83/0xb6 > > > [] :b43:b43_leds_init+0x263/0x293 > > > [] :ssb:ssb_pci_switch_core+0x40/0x4b > > > [] :b43:b43_chip_init+0x56c/0x8d6 > > > [] :b43:b43_wireless_core_init+0x284/0x766 > > > [] :b43:b43_start+0x2e/0x6d > > > [] :mac80211:ieee80211_open+0x1b6/0x39d > > > [] dev_open+0x2f/0x67 > > > [] dev_change_flags+0xaa/0x161 > > > [] do_setlink+0x279/0x34b > > > [] rtnetlink_rcv_msg+0x0/0x1dc > > > [] rtnl_setlink+0xf5/0x116 > > > [] netlink_run_queue+0x68/0xf7 > > > [] rtnetlink_rcv+0x28/0x43 > > > [] netlink_data_ready+0x12/0x50 > > > [] netlink_sendskb+0x23/0x3c > > > [] netlink_sendmsg+0x2ac/0x2bf > > > [] memcpy_fromiovec+0x36/0x66 > > > [] sock_sendmsg+0xea/0x107 > > > [] autoremove_wake_function+0x0/0x2e > > > [] autoremove_wake_function+0x0/0x2e > > > [] autoremove_wake_function+0x0/0x2e > > > [] sys_sendmsg+0x217/0x28a > > > [] netlink_insert+0x13c/0x14b > > > [] sys_getsockname+0x9c/0xb2 > > > [] system_call+0x7e/0x83 > > > > > > > > > Code: 8a 17 88 d0 2a 06 48 ff c6 84 c0 75 09 84 d2 74 05 48 ff c7 > > > RIP [] strcmp+0x0/0x1a > > > RSP > > > (none):~ # > >