When I run kernel 2.6.19 (gentoo-sources-2.6.19-r1), I get segfaults when using wireless-tools (28 and 19_pre10) and my computer get frozen. For example: # /etc/init.d/net.wlan0 restart Segmentation Fault # Then everything is frozen or get frozen in some seconds. I had also two segfaults like this one when doing "iwlist wlan0 scan". I use ndiswrapper-1.30. What more info could I give you? (I tried to catch dmesg after the segfault, but everything gets frozen quickly) emerge --info ----------------------------------- Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6 .17-beyond4 i686) ================================================================= System uname: 2.6.17-beyond4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.12.6 Last Sync: Mon, 11 Dec 2006 15:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable d] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu tdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms / /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox s fperms splitdebug strict" GENTOO_MIRRORS="http://distfiles.gentoo.org" LC_ALL="es_ES.UTF-8" LINGUAS="es es_ES en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d istfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 7zip X a52 aac ace acpi aiglx aim allegro alsa alsa_cards_ati ao apache 2 asf asm audiofile bash-completion berkdb bitmap-fonts bittorrent bzip2 cairo c cache cdda cddb cdio cdparanoia cdr cli cracklib crypt css ctype cups curl daap dba dbus dga dhcp dlloader dmx dri dssi dts dv dvd dvdr dvdread dvi ecc elibc_gl ibc emboss encode exif expat fam fastbuild fastcgi fat festival ffmpeg fftw fire fox flac fluidsynth fmod fortran ftp gd gdbm geoip gif gimp glade glitz glsa glu t glx gmp gpm gstreamer gtk gtk2 guile hal howl icecast iconv icq idn imagemagic k input_devices_joystick input_devices_keyboard input_devices_mouse input_device s_synaptics irc irda irssi isdnlog jabber jack javascript jpeg jpeg2k kde kernel _linux kqemu ladspa lame lcms ldap libg++ linguas_en linguas_es linguas_es_ES ma d matroska mbrola memlimit mikmod mjpeg mmx mng modplug mozilla mp3 mpeg mplayer msn musepack musicbrainz mysql ncurses nfs nis nls nptl nptlonly ntfs offensive ogg openal opengl pam pango pcmcia pcre pda pdf pear perl php png portaudio pos ix ppds pppd python qt3 qt4 quicktime rar readline reflection reiserfs rss ruby samba samplerate sdl session sid simplexml slang smp sndfile soap sockets softmm u speex spell spl sqlite sse sse2 ssl startup-notification subtitles subversion svg tcpd tga theora threads tidy tiff timidity tokenizer transcode truetype true type-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd vfat video_car ds_radeon vidix vim visualization vnc vorbis win32codecs wma wmf x264 xanim xcom posite xine xml xml2 xorg xosd xpm xrandr xscreensaver xsl xv xvid xvmc yahoo zi p zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC _EXTRA_OPTS
wireless-tools-29_pre10 works quite happily on my 2.6.19 kernels using ipw2200, madwifi and rt2500 drivers. I therefore assume that it's a ndiswrapper problem.
Looks like ndiswrapper needs WE21 support Here's an example of the fixes needed: http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=919ee6ddcd3fcff09dee90c11af17a802196ad1f;hp=b978d0278c3a4c41bda806743c6ef5dca86b4c61 Please fix this in the stable tree ASAP. Find me on IRC if you need help and don't have other options.
peper: This seems urgent so please take a look
Could you please try ndiswrapper-1.32 first before I get deeper into it?
1. I cannot reproduce that with 1.30, gentoo-sources-2.6.19-r2 and wireless-tools-29_pre10. 2. Release Name: 1.25 - Changes: * Support for WE-21 * Bug fixes I hope that you have one of the problems below and 1.32 will work fine. Test plz. 1.31 * Fixed crashes with shutting down computer without unloading ndiswrapper module. * Added support for Davicom 9601 USB ethernet device. * Fixed ndiswrapper script to show correct device IDs. 1.32 * Added compatability with 2.6.20-rc1 kernel * Fixed crash when changing MAC address (with 'ifconfig hw ether') * Fixed crash when names of other network device are changed (e.g., by udev)
marking 1.32 stable would at least get me off your back :) are you in a position to request that?
I am even thinking of 1.33 - don't worry, will take care of that before 2.6.19 is marked stable.
This bug is still unconfirmed for me as it's the only report I have seen and I cannot reproduce it - maybe smth else is broken? Would love to hear from Santiago about that. btw I have filed a stabilization request for ndiswrapper-1.33 - bug #160485.
Sorry, I've been on holydays and couldn't test it again. I've just tested with kernel 2.6.19-gentoo-r3 and ndiswrapper-1.33. It works by now (one hour, the segfaults I was experiencing poped up in less than 5 minutes changing ESSIDs and such), so I'd say the bug is gone.
Thnx for update. Closing this one as there is already a stabilization bug for 1.33.