After upgrading to the masked madwifi-driver-01_pre20051111 (I know it's testing and masked and everything) I start the ath0 init script via /etc/init.d/net.ath0 start and this happens: * Caching service dependencies ... [ ok ] * Starting ath0 * Running preup function /etc/conf.d/net: line 6: 12988 Segmentation fault /sbin/wlanconfig ath0 create wlandev wifi0 wlanmode sta After that the whole system gets somewhat flaky; when rebooting it hangs at brining down lo0, for example. The old driver (ebuild 20050420) doesn't work for me anymore with wpa_supplicant, just times out everytime, no matter what I do, so I upgraded (had the 20050809 ebuild working fine until yesterday, but after a sync it was gone and replaced by the 20051111). Reproducible: Always Steps to Reproduce: 1. Add to package.keywords /etc/portage/package.keywords: ... =net-wireless/madwifi-driver-0.1_pre20051111 ~x86 =net-wireless/madwifi-tools-0.1_pre20051111 ~x86 ... 2. Unmask /etc/portage/package.unmask: =net-wireless/madwifi-driver-0.1_pre20051111 =net-wireless/madwifi-tools-0.1_pre20051111 3. Emerge the new driver: emerge -v =net-wireless/madwifi-driver-0.1_pre20051111 net-wireless/madwifi-tools-0.1_pre20051111 4. Edit /etc/conf.d/net preup() { if [ "${IFACE}" = "ath0" ]; then /sbin/wlanconfig ath0 create wlandev wifi0 wlanmode sta return $? fi } postdown() { if [ "${IFACE}" = "ath0" ]; then /sbin/wlanconfig ath0 destroy return $? fi } config_eth0=( "dhcp" ) modules_eth0=( "ifconfig" ) modules_ath0=( "wpa_supplicant" ) wpa_supplicant_ath0="-Dmadwifi" preferred_aps=( "one_working_ssid" ) associate_order="forcepreferredonly" mode_ath0="managed" 5. Load the modules via modprobe ath_pci Sidenote: hotplug/net.agent says: kernel: net.agent[12455]: add event not handled That's not the problem though, obviously it means that hotplug can't yet handle the start of /etc/init.d/net.ath0 by itself, yes? 6. Start the init script: /etc/init.d/net.ath0 start Actual Results: * Caching service dependencies ... [ ok ] * Starting ath0 * Running preup function /etc/conf.d/net: line 6: 12988 Segmentation fault /sbin/wlanconfig ath0 create wlandev wifi0 wlanmode sta Expected Results: Create ath0, bring it up to be configured by wpa_supplicant (or iwconfig, depending). Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r2 i686) ================================================================= System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1700MHz Gentoo Base System version 1.12.0_pre10 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -mtune=pentium-m -O2 -pipe -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64 -momit-leaf-frame-pointer -ftracer -fweb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium-m -mtune=pentium-m -O2 -pipe -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64 -momit-leaf-frame-pointer -ftracer -fweb -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="english" LC_ALL="en_IE.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm bash-completion browserplugin cdr crypt cups doc dvd dvdread ethereal gcj gif gnome gtk gtk2 i8x0 jpeg latex madwifi mmx mp3 ncurses nls nptl nptlonly offensive opengl oss pcmcia perl png ppds radeon samba sse sse2 ssl tetex truetype truetype-fonts unicode usb userlocales win32codecs xml xosd xv xvid video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Created attachment 73021 [details] Stack trace of the segfault
Portage does not unmerge files in /lib/modules/ at the moment The amrr module is only present in the old madwifi snapshots. So you have to delete the amrr module yourself in /lib/modules. find /lib/modules -name "*amrr*"