Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 456126 - sys-kernel/gentoo-sources-3.6.11 with net-wireless/wireless-tools and wext interface - `iwlist` causes kernel BUG at include/net/cfg80211.h:2474.
Summary: sys-kernel/gentoo-sources-3.6.11 with net-wireless/wireless-tools and wext in...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-08 09:32 UTC by Sergey Bobrov
Modified: 2013-02-11 11:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel config (config.gz,22.95 KB, text/plain)
2013-02-08 09:32 UTC, Sergey Bobrov
Details
kernel config (config.gz,22.95 KB, application/x-gzip)
2013-02-08 09:32 UTC, Sergey Bobrov
Details
segfault out (segfault.out,5.92 KB, application/octet-stream)
2013-02-08 09:34 UTC, Sergey Bobrov
Details
dmesg output (dmesg.out,5.92 KB, text/plain)
2013-02-08 09:34 UTC, Sergey Bobrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Bobrov 2013-02-08 09:32:14 UTC
Created attachment 338294 [details]
kernel config

iwlist scan produce segfault and hangs system

Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)

net-wireless/wireless-tools-30_pre9
net-wireless/wpa_supplicant-0.7.3-r5

emerge --info
Portage 2.1.11.31 (default/linux/amd64/13.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r3, 3.6.11-gentoo x86_64)
=================================================================
System uname: Linux-3.6.11-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_M_380_@_2.53GHz-with-gentoo-2.1
Timestamp of tree: Fri, 08 Feb 2013 07:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.kiev.ua/ftp"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.ua.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acl acpi additions aiglx aim alsa amd64 apm artswrappersuid audiofile avahi avi bash-completion berkdb bidi bindist bluetooth branding bzip2 cairo cdda cddb cdr classic cli consolekit cracklib crypt cxx dbus dga dhclient dhcpcd dri dts dv dvb dvd dvdr dvdread dvi edit eds egl emboss encode evo exif fam fame fat ffmpeg firefox flac foomatic-db fortran freerdp freetype g3dvl gallium gcj gdbm gif gimpprint gmp gnome gnome-keyring gnome-online-accounts gnutls google-chrome gphoto2 gpm gsm gstreamer gtk gtk3 gzip hal hfs http iconv icq imap inotify ipv6 irc jabber jack java jfs joystick jpeg jpeg2k kerberos lame lcd lcdfilter lcms ldap libnotify libvisual live lm_sensors lzo mad mail matroska minizip mjpeg mms mmx mng modules mp3 mp3rtp mp4 mpeg mplayer msn mudflap multilib musepack musicbrainz nautilus network nls nmap nptl nsplugin nss ntfs ogg openal openexr opengl openmp oss pam pango pcre pda pdf perl perl* png policykit ppds ppp pulseaudio python qmax qt3support rar rdesktop readline reiserfs rss samba scanner sdl semantic-desktop session slang slp socialweb sound speex spell sse sse2 sse3 ssl ssse3 startup-notification stream svg sysfs syslog taglib tcpd textures theora tiff truetype udev udisks unicode upower usb v4l v4l2 vcd visualization vorbis wavpack wmf wxwidgets x264 xattr xcb xdg xfs xine xinerama xml xmpp xpm xprint xulrunner xv xvid xvmc yahoo zeroconf zlib zsh-completion" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru uk" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Sergey Bobrov 2013-02-08 09:32:33 UTC
Created attachment 338296 [details]
kernel config
Comment 2 Sergey Bobrov 2013-02-08 09:34:00 UTC
Created attachment 338298 [details]
segfault out
Comment 3 Sergey Bobrov 2013-02-08 09:34:48 UTC
Created attachment 338300 [details]
dmesg output
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-08 14:15:02 UTC
Comment on attachment 338300 [details]
dmesg output

There is no segfault here.
Comment 5 Sergey Bobrov 2013-02-08 14:52:31 UTC
But i got it when i run iwlist scan
Comment 6 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-02-08 15:47:43 UTC
Which driver are you using? You could try brcmsmac, according to http://wiki.debian.org/brcm80211 your card is supported.

As you are using the wext interface, you might try switching to the newer nl80211 interface.

Can you also try =sys-kernel/gentoo-sources-3.7.6 to see whether it is resolved there?

`echo "sys-kernel/gentoo-sources" >> /etc/portage/package.accept_keywords`
Comment 7 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-02-08 15:52:39 UTC
Also take a look at using net-wireless/iw (http://wireless.kernel.org/en/users/Documentation/iw) instead of net-wireless/wireless-tools if you switch to the newer nl80211 interface, since the old tools use the old interface and the newer tools use the newer interface.
Comment 8 Sergey Bobrov 2013-02-11 09:37:42 UTC
Problem was in broadcom-sta. I switched to brcmsmac and now wireless worked fine.
Thanks for help.