Since I've upgraded broadcom driver I'm getting strange issues. Sometimes system boots just fine, other times it hangs waiting for modules, other times it crashes (preempt_smp oops and often prints something regarding wl driver), other times again it crashes just after trying to load net.lo, and other times again it crashes during netmount. Here are some lines I've been able to collect: Jul 5 01:59:20 whitebox wl: module license 'MIXED/Proprietary' taints kernel. Jul 5 01:59:20 whitebox wl 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 Jul 5 01:59:20 whitebox wl 0000:02:00.0: setting latency timer to 64 Jul 5 01:59:20 whitebox eth1 (wl): not using net_device_ops yet Jul 5 01:59:20 whitebox eth1: Broadcom BCM4328 802.11 Wireless Controller 5.10.91.9 ... ... Jul 5 01:59:20 whitebox BUG: unable to handle kernel NULL pointer dereference at 00000013 Jul 5 01:59:20 whitebox IP: [<f8ba7563>] wl_alloc_dma_resources+0x14/0x3f [wl] Jul 5 01:59:20 whitebox *pde = 00000000 Jul 5 01:59:20 whitebox Oops: 0000 [#1] PREEMPT SMP Jul 5 01:59:20 whitebox last sysfs file: /sys/block/sda/uevent Jul 5 01:59:20 whitebox Modules linked in: snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss vboxnetflt vboxdrv snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep wl(P) snd_pcm snd_timer snd sky2 soundcore snd_page_alloc applesmc Jul 5 01:59:20 whitebox Jul 5 01:59:20 whitebox Pid: 3432, comm: ifconfig Tainted: P (2.6.29-tuxonice-r3 #14) MacBook3,1 Jul 5 01:59:20 whitebox EIP: 0060:[<f8ba7563>] EFLAGS: 00010202 CPU: 1 Jul 5 01:59:20 whitebox EIP is at wl_alloc_dma_resources+0x14/0x3f [wl] Jul 5 01:59:20 whitebox EAX: f6018c00 EBX: f6018c00 ECX: f8ba7552 EDX: 00000013 Jul 5 01:59:20 whitebox ESI: f61c0bc0 EDI: 00000239 EBP: f6018c00 ESP: f674ff0c Jul 5 01:59:20 whitebox DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 Jul 5 01:59:20 whitebox Process ifconfig (pid: 3432, ti=f674e000 task=f6439770 task.ti=f674e000) Jul 5 01:59:20 whitebox Stack: Jul 5 01:59:20 whitebox f6018c00 f61c0bc0 00000239 c04cc2e2 c04cc621 c05a5fd4 f61c0bc0 c0291776 Jul 5 01:59:20 whitebox 00000400 b7fbc000 f65981c0 f61c0be8 00000000 00000004 00000000 00000003 Jul 5 01:59:20 whitebox 00000000 fffffffb f68abf40 c0291525 f65981c0 c02aa4f6 f674ffa0 00000400 Jul 5 01:59:20 whitebox Call Trace: Jul 5 01:59:20 whitebox [<c04cc2e2>] dev_get_stats+0x13/0x18 Jul 5 01:59:20 whitebox [<c04cc621>] dev_seq_show+0x1e/0x79 Jul 5 01:59:20 whitebox [<c0291776>] seq_read+0x251/0x327 Jul 5 01:59:20 whitebox [<c0291525>] seq_read+0x0/0x327 Jul 5 01:59:20 whitebox [<c02aa4f6>] proc_reg_read+0x60/0x73 Jul 5 01:59:20 whitebox [<c02aa496>] proc_reg_read+0x0/0x73 Jul 5 01:59:20 whitebox [<c027ec33>] vfs_read+0x81/0xf4 Jul 5 01:59:20 whitebox [<c027ed3e>] sys_read+0x3c/0x63 Jul 5 01:59:20 whitebox [<c0202db1>] sysenter_do_call+0x12/0x25 Jul 5 01:59:20 whitebox Code: c8 5b 5e 5f 5d c3 90 90 85 d2 74 07 8b 82 a8 00 00 00 c3 8b 40 0c c3 b0 01 c3 57 85 c0 56 53 74 2d 8b 90 64 04 00 00 85 d2 74 23 <83> 3a 00 74 1e 6b 82 f8 00 00 00 5c 8d 5a 24 8d b4 02 fc 00 00 Jul 5 01:59:20 whitebox EIP: [<f8ba7563>] wl_alloc_dma_resources+0x14/0x3f [wl] SS:ESP 0068:f674ff0c Jul 5 01:59:20 whitebox ---[ end trace d34ca62762a3e169 ]--- Jul 5 01:59:20 whitebox note: ifconfig[3432] exited with preempt_count 1 Jul 5 01:59:20 whitebox BUG: unable to handle kernel NULL pointer dereference at 0000010b Jul 5 01:59:20 whitebox IP: [<f8ba7c28>] wl_get_wireless_stats+0x1a/0x13a [wl] Jul 5 01:59:20 whitebox *pde = 00000000 Jul 5 01:59:20 whitebox Oops: 0000 [#2] PREEMPT SMP Jul 5 01:59:20 whitebox last sysfs file: /sys/block/sda/uevent Jul 5 01:59:20 whitebox Modules linked in: snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss vboxnetflt vboxdrv snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep wl(P) snd_pcm snd_timer snd sky2 soundcore snd_page_alloc applesmc Jul 5 01:59:20 whitebox Jul 5 01:59:20 whitebox Pid: 3435, comm: grep Tainted: P D (2.6.29-tuxonice-r3 #14) MacBook3,1 Jul 5 01:59:20 whitebox EIP: 0060:[<f8ba7c28>] EFLAGS: 00010286 CPU: 1 Jul 5 01:59:20 whitebox EIP is at wl_get_wireless_stats+0x1a/0x13a [wl] Jul 5 01:59:20 whitebox EAX: f6018c00 EBX: f6018fc0 ECX: c05aa05c EDX: f8ba7c0e Jul 5 01:59:20 whitebox ESI: 00000013 EDI: 000000a2 EBP: f6018c00 ESP: f67c3ef8 Jul 5 01:59:20 whitebox DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 Jul 5 01:59:20 whitebox Process grep (pid: 3435, ti=f67c2000 task=f6439ac0 task.ti=f67c2000) Jul 5 01:59:20 whitebox Stack: Jul 5 01:59:20 whitebox f67c3f10 f67c3f48 f61c0880 c05aa05c f61c0880 000000a2 c054c1b7 f61c0880 Jul 5 01:59:20 whitebox c05aa05c f61c0880 000000a2 f6018c00 c0291776 00008000 0805f000 f65524c0 Jul 5 01:59:20 whitebox f61c08a8 00000000 00000004 00000000 00000003 00000000 fffffffb f68abdc0 Jul 5 01:59:20 whitebox Call Trace: Jul 5 01:59:20 whitebox [<c054c1b7>] wireless_seq_show+0x46/0xdf Jul 5 01:59:20 whitebox [<c0291776>] seq_read+0x251/0x327 Jul 5 01:59:20 whitebox [<c0291525>] seq_read+0x0/0x327 Jul 5 01:59:20 whitebox [<c02aa4f6>] proc_reg_read+0x60/0x73 Jul 5 01:59:20 whitebox [<c02aa496>] proc_reg_read+0x0/0x73 Jul 5 01:59:20 whitebox [<c027ec33>] vfs_read+0x81/0xf4 Jul 5 01:59:20 whitebox [<c027ed3e>] sys_read+0x3c/0x63 Jul 5 01:59:20 whitebox [<c0202db1>] sysenter_do_call+0x12/0x25 Jul 5 01:59:20 whitebox [<c0560000>] cpuup_canceled+0x53/0xf7 Jul 5 01:59:20 whitebox Code: 89 f8 e8 cc b3 9b c7 89 f2 5b 0f b6 c2 5b 5e 5f c3 57 56 53 83 ec 0c 85 c0 0f 84 ea 00 00 00 8d 98 c0 03 00 00 8b b3 a4 00 00 00 <8b> 8e f8 00 00 00 8b be 14 02 00 00 c7 86 fc 01 00 00 00 00 00 Jul 5 01:59:20 whitebox EIP: [<f8ba7c28>] wl_get_wireless_stats+0x1a/0x13a [wl] SS:ESP 0068:f67c3ef8 Jul 5 01:59:20 whitebox ---[ end trace d34ca62762a3e16a ]--- Jul 5 01:59:20 whitebox note: grep[3435] exited with preempt_count 1 Jul 5 01:59:20 whitebox BUG: scheduling while atomic: grep/3435/0x10000002 Jul 5 01:59:20 whitebox Modules linked in: snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss vboxnetflt vboxdrv snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep wl(P) snd_pcm snd_timer snd sky2 soundcore snd_page_alloc applesmc Jul 5 01:59:20 whitebox Pid: 3435, comm: grep Tainted: P D 2.6.29-tuxonice-r3 #14 Jul 5 01:59:20 whitebox Call Trace: Jul 5 01:59:20 whitebox [<c0561279>] schedule+0xa5/0x7e4 Jul 5 01:59:20 whitebox [<c02290cf>] run_timer_softirq+0x178/0x180 Jul 5 01:59:20 whitebox [<c02642f4>] lru_add_drain+0x68/0x83 Jul 5 01:59:20 whitebox [<c021f52c>] __cond_resched+0xf/0x27 Jul 5 01:59:20 whitebox [<c0561a3e>] _cond_resched+0x21/0x2a Jul 5 01:59:20 whitebox [<c026d38e>] unmap_vmas+0x4ea/0x5b7 Jul 5 01:59:20 whitebox [<c0270706>] exit_mmap+0x97/0x12e Jul 5 01:59:20 whitebox [<c022013d>] mmput+0x1e/0x82 Jul 5 01:59:20 whitebox [<c0223250>] exit_mm+0xd8/0xdf Jul 5 01:59:20 whitebox [<c0224753>] do_exit+0x146/0x67b Jul 5 01:59:20 whitebox [<c0560eea>] printk+0xe/0x11 Jul 5 01:59:20 whitebox [<c02057a1>] oops_end+0x72/0x75 Jul 5 01:59:20 whitebox [<c0214d9c>] do_page_fault+0x507/0x597 Jul 5 01:59:20 whitebox [<c038564b>] vsnprintf+0x6f4/0x742 Jul 5 01:59:20 whitebox [<c026a793>] __inc_zone_state+0xd/0x67 and so on.. I really can't provide you a more precise informations since I really don't know how to collect those. BTW: I reverted to net-wireless/broadcom-sta-5.10.91.9-r1 and everything seems running fine. If somebody would help me in discovering what's precisely happening it would be nice. Reproducible: Always whitebox ~ # emerge --info Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r2 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r2-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.0 Timestamp of tree: Sun, 05 Jul 2009 09:00:02 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=core2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=core2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="it en" MAKEOPTS="-j5 -s" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/gechi /usr/local/portage/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdread eds encode esd evo fam firefox flac gdbm gif gmail gnome gstreamer gtk hal hddtemp iconv imap ipod java jpeg laptop libnotify lm_sensors mad midi mikmod mng mp3 mpeg msn mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection samba sdl session ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb vorbis wifi win32codecs x86 xml xorg xulrunner xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" USERLAND="GNU" VIDEO_CARDS="intel vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I've double checked this thing again and I can confirm that lastest drivers are so bugged. I've re-upgraded to r2 and I got the same crash on the next reboot. Downgrading to r1 fixes all the problems. May this could be related to net_devices stack introduced in last kernel release?
masked 5.10.91.9-r2.
broadcom-sta-5.10.91.9-r3 in cvs. could you test it?
Just tried to install it. It does not work. Same problem reported above (kernel oops and bitching about NULL pointer dereference). I tested it with gentoo-sources-2.6.30-r2 (same kernel, same configuration as my first post in this bug)
I am having the same problem, also with net-wireless/broadcom-sta-5.10.91.9-r1 and gentoo-sources-2.6.30-r2. For me, the kernel crashes while starting udev. Here is the error I get: * Populating /dev with existing devices through uevents... [ ok ] * Waiting for uevents to be processed... BUG: unable to handle kernel NULL pointer dereference at 0000000d IP: [<f8cb756f>] wl_alloc_dma_resources+0x1b/0x47 [wl] *pde = 00000000 Oops: 0000 [#1] SMP last sysfs file: /sys/devices/pnp0/00:07/id Modules linked in: wl(P+) ohci1394 ieee1394 Pid: 2509, comm: modprobe Tainted: P (2.6.30-gentoo-r2 #1) Latitude E6500 EIP: 0060:[<f8cb756f>] EFLAGS: 00010202 CPU: 0 EIP is at wl_alloc_dma_resources+0x1b/0x47 [wl] EAX: f6b27800 EBX: f68b2090 ECX: f8cb755b EDX: 0000000d ESI: f6b27960 EDI: f6b12900 EBP: f676bc8c ESP: f676bc80 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 Process modprobe (pid: 2509, ti=f676a000 task=f6704000 task.ti=f676a000) Stack: f68b2090 f6b27960 f6b12900 f676bc94 c03ba4e2 f676bcdc c03c4240 f600bcc4 f6b27800 f68b2000 000000d0 000003d0 00000000 00000000 00000000 00000000 f1ffc000 00000000 00000011 000005dc c05d87e0 f6b12900 00000000 f676bd0c Call Trace: [<c03ba4e2>] ? dev_get_stats+0x19/0x1b [<c03c4240>] ? rtnl_fill_ifinfo+0x2eb/0x4ae [<c03c46de>] ? rtmsg_ifinfo+0x81/0xe3 [<c03c4778>] ? rtnetlink_event+0x38/0x3c [<c0472ccc>] ? notifier_call_chain+0x2b/0x4a [<c0135e43>] ? raw_notifier_call_chain+0xc/0xe [<c03be46f>] ? register_netdevice+0x33c/0x379 [<c025818e>] ? strlcpy+0x17/0x49 [<c03bb0ef>] ? dev_alloc_name+0x11a/0x12b [<c0148300>] ? request_threaded_irq+0xbc/0x106 [<c04702b5>] ? mutex_lock+0xe/0x28 [<c03be4de>] ? register_netdev+0x32/0x3f [<f8cbb993>] ? wl_pci_probe+0x304/0x3fc [wl] [<c0254ab5>] ? ida_get_new_above+0xd0/0x171 [<c01863de>] ? find_inode+0x1f/0x5b [<c01ace0c>] ? sysfs_ilookup_test+0x0/0x11 [<c0185ff9>] ? iput+0x24/0x4e [<c01ad47a>] ? sysfs_addrm_finish+0x4c/0x1a7 [<c01ad187>] ? sysfs_add_one+0x14/0xbd [<c0265358>] ? local_pci_probe+0xe/0x10 [<c0265d6e>] ? pci_device_probe+0x43/0x66 [<c02d097e>] ? driver_probe_device+0x79/0x105 [<c02d0a4d>] ? __driver_attach+0x43/0x5f [<c02d03be>] ? bus_for_each_dev+0x3d/0x67 [<c02d0857>] ? driver_attach+0x14/0x16 [<c02d0a0a>] ? __driver_attach+0x0/0x5f [<c02cfe07>] ? bus_add_driver+0xdc/0x200 [<c02d0c93>] ? driver_register+0x8b/0xe8 [<c0266099>] ? __pci_register_driver+0x38/0x93 [<f803e017>] ? init_module+0x17/0x19 [wl] [<c0101137>] ? do_one_initcall+0x4a/0x10c [<f803e000>] ? init_module+0x0/0x19 [wl] [<c0136019>] ? __blocking_notifier_call_chain+0x40/0x4c [<c0142720>] ? sys_init_module+0x87/0x18b [<c0102948>] ? sysenter_do_call+0x12/0x26 Code: 88 c6 01 00 00 b9 5c 00 00 00 ba 07 00 00 00 89 f8 e8 e4 bc e9 ff 85 c0 89 c3 0f 84 ab 01 00 00 8b 45 c4 e8 89 62 ff ff 8d 53 04 <8b> 08 89 4b 04 8b 48 04 89 4a 04 8b 48 08 89 4a 08 8b 48 0c 89 EIP: [<c03c4243>] rtnl_fill_ifinfo+0x2ee/0x4ae SS:ESP 0068:f690fc9c CR2: 0000000000000000 ---[ end trace e0770e76a9f363d7 ]--- ohci1394 0000:03:01.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17 udevd-event[2546]: '/sbin/modprobe -b pci:v000014E4d0000432Bsv00001028sd0000000Dbc02sc80i00' abnormal exit
sorry, typo, I meant net-wireless/broadcom-sta-5.10.91.9-r3, net-wireless/broadcom-sta-5.10.91.9-r1 works just fine.
Yes. When loading udev initscript there's the kernel oops you posted above. Then the system tries to continue but when comes to load net.lo it fatally crashes.
(In reply to comment #2) > masked 5.10.91.9-r2. > r5 gives the same problems (but it's unmasked so far). I tried on my friend's laptop and it crashes on boot on kernel 2.6.30-r4
I have the following here: 2.6.29-gentoo-r6 + broadcom-sta-5.10.91.9-r5 = works 2.6.30-gentoo-r4 without broadcom-sta = works 2.6.30-gentoo-r4 + broadcom-sta-5.10.91.9-r5 = crash during startup
I think the current setup is completely wrong. Since the stable version of kernel is 2.6.30, someone new that needs these drivers would get serious problems. I think should be time to stabilize -r1 or to hard mask this non-working version. I hope someone fix this quickly
(In reply to comment #10) > Since the stable version of kernel is 2.6.30, someone new that needs these > drivers would get serious problems. > > I think should be time to stabilize -r1 or to hard mask this non-working > version. I agree... I forgot -r1 in my list - so here again: 2.6.29-gentoo-r6 + broadcom-sta-5.10.91.9-r5 = works 2.6.30-gentoo-r4 without broadcom-sta = works 2.6.30-gentoo-r4 + broadcom-sta-5.10.91.9-r1 = works 2.6.30-gentoo-r4 + broadcom-sta-5.10.91.9-r5 = crash during startup
5.10.91.9-r6 in cvs now. Its based on 5.10.91.9-r1. Could you test it?
(In reply to comment #12) > 5.10.91.9-r6 in cvs now. Its based on 5.10.91.9-r1. Could you test it? Great, 2.6.30-gentoo-r4 + broadcom-sta-5.10.91.9-r6 = works Thanks!
(In reply to comment #13) > (In reply to comment #12) > > 5.10.91.9-r6 in cvs now. Its based on 5.10.91.9-r1. Could you test it? > > Great, > 2.6.30-gentoo-r4 + broadcom-sta-5.10.91.9-r6 = works > > Thanks! > Confirmed. It works here too (same configuration above). :)
I had these very annoying bugs too with r5. I'm using kernel 2.6.31-rc4, and it seems it works with r6 !
fixed in cvs.