Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183171 - gentoo-sources-2.6.21-r3 crashes because of activity in ipw2200 driver
Summary: gentoo-sources-2.6.21-r3 crashes because of activity in ipw2200 driver
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-25 16:29 UTC by Andrey Melentyev
Modified: 2007-06-25 18:26 UTC (History)
0 users

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


Attachments
Full dmesg output from 2.6.21-gentoo-r3 kernel (dmesg-2.6.21-gentoo-r3,15.29 KB, text/plain)
2007-06-25 17:39 UTC, Andrey Melentyev
Details
my config for 2.6.21-gentoo-r3 kernel (config-2.6.21-gentoo-r3,40.97 KB, text/plain)
2007-06-25 17:43 UTC, Andrey Melentyev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Melentyev 2007-06-25 16:29:09 UTC
I've got a laptop with Intel WiFi adapter:
# lspci|grep 2200
00:06.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)

The dmesg output seems to be almost fine:
# dmesg |grep ipw2200
[   33.913675] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.0kd
[   33.913686] ipw2200: Copyright(c) 2003-2006 Intel Corporation
[   34.047047] ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
[   36.619980] ipw2200: Radio Frequency Kill Switch is On:
[   36.621185] ipw2200: Detected geography ZZM (11 802.11bg channels, 0 802.11a channels)
[   40.695000] ipw2200: Failed to send TX_POWER: Command timed out.
[   41.717000] ipw2200: Failed to send RTS_THRESHOLD: Command timed out.
[   42.724000] ipw2200: Failed to send FRAG_THRESHOLD: Command timed out.
[   79.111000] ipw2200: Failed to send TX_POWER: Command timed out.
[   80.118000] ipw2200: Failed to send RTS_THRESHOLD: Command timed out.
[   80.122000] ipw2200: No space for Tx
[   80.122000] ipw2200: Failed to send FRAG_THRESHOLD: Reason -16

# dmesg |grep ieee80211
[   33.874281] ieee80211_crypt: registered algorithm 'NULL'
[   33.877079] ieee80211: 802.11 data/management/control stack, git-1.1.13
[   33.877088] ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
[ 4035.544000] ieee80211_crypt: registered algorithm 'WEP'
[ 4037.584000] ieee80211_crypt: registered algorithm 'TKIP'
[ 4039.497000] ieee80211_crypt: registered algorithm 'CCMP'

Laptop is connected to WiFi AP (WPA TKIP+CCMP) with static IP address and route. I use wpa_supplicant to connect to my AP. The interface is configured via /etc/conf.d/net and started with /etc/init.d/net.eth1 start

The wireless connection works, but kernel lockups after 5-15 minutes of high network laod (about 2-3Mb/sec total). If network load is low the kernel may lockup also, but later.

I tried to monitor the problem with 'watch -n 1 dmesg|tail' but there are no messages when system freezes. After hard reboot /var/log/messages contains no suspicious messages too. When system is frozen SysRq magic keys are not working for me (of course other keys including power don't work too)

There is no such behavior when ipw2200 radio is switched off (with hardware button) or when ipw2200.ko module is not loaded.

I had the same trouble with ck-sources-2.6.21-ck1 and 2.6.20-ck* too. And the bug also exists at least in vanilla 2.6.22-rc4-git3 kernel.

Please tell me, if additional info is needed.

Reproducible: Always

Steps to Reproduce:
1. Connect to some wireless network (WPA TKIP+CCMP in my case) with ipw2200
2. Make some network load (downloading from ftp 1.5Mb/sec + Direct Connect 1Mb/sec)

Actual Results:  
System hangs after 5-15 minutes of network activity

Expected Results:  
The kernel shouldn't lockup

# emerge --info
Portage 2.1.3_rc5 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.21-ck2 i686)
=================================================================
System uname: 2.6.21-ck2 i686 VIA Esther processor 1500MHz
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 24 Jun 2007 23:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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.17.50.0.16
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS=""
DISTDIR="/home/portage/distfiles"
FEATURES="autoaddcvs ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="ftp://router/gentoo ftp://longobard.local/gentoo ftp://ignatich.local/gentoo ftp://fu.local/gentoo ftp://80.70.228.204/gentoo ftp://kest.local/gentoo ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,--hash-style=both"
LINGUAS="ru en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects /usr/local/portage"
SYNC="rsync://192.168.0.5/gentoo-portage"
USE="X a52 aac acpi alsa bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt cscope cups dbus dga dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac ftp gdbm gif glut gphoto2 gpm hal hashstyle icc iconv imagemagick ipod isdnlog javascript jpeg kde lcms libg++ logrotate mad midi mikmod mmap mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg openexr opengl openmp oss pam pcmcia pcre pdf perl png pppd qt3 qt3support qt4 quicktime readline reflection samba sasl scanner sdl session slang spell spl sse sse2 ssl svg tetex tiff truetype truetype-fonts type1-fonts unicode usb videos vim vorbis wifi win32codecs x86 xcomposite xml xorg xosd xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="fbdev via"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-25 16:33:41 UTC
ck-sources is not a supported kernel on Gentoo. Reopen if you can reproduce this issue with a supported one.

http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap2
Comment 2 Andrey Melentyev 2007-06-25 17:39:43 UTC
Created attachment 123058 [details]
Full dmesg output from 2.6.21-gentoo-r3 kernel

I've reproduced the bug on the kernel compiled from gentoo-sources-2.6.21-r3
Comment 3 Andrey Melentyev 2007-06-25 17:41:59 UTC
(In reply to comment #1)
> ck-sources is not a supported kernel on Gentoo. Reopen if you can reproduce
> this issue with a supported one.
> 
> http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap2
> 

Reproduced on gentoo-sources-2.6.21-r3
Kernel crashed after less that a minute of high network load. I've made an attachment with a full dmesg log and I'll attach my kernel config now.
Comment 4 Andrey Melentyev 2007-06-25 17:43:15 UTC
Created attachment 123059 [details]
my config for 2.6.21-gentoo-r3 kernel
Comment 5 Andrey Melentyev 2007-06-25 18:26:40 UTC
I've just checked, it seems that bug exists in Windows too. So this is probably a hardware problem. Sorry for disturbing you.