Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160138 - The ipw2200 module doesn't load/work with the gentoo-sources 2.6.19* kernel series
Summary: The ipw2200 module doesn't load/work with the gentoo-sources 2.6.19* kernel s...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: linux-2.6.19-regression
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-04 16:56 UTC by Jorge Manuel B. S. Vicetto
Modified: 2007-01-09 22:07 UTC (History)
0 users

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


Attachments
Full kernel .config (kernel-config,41.46 KB, text/plain)
2007-01-04 16:58 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details
Full 2.6.18 kernel config (kernel-2.6.18,37.87 KB, text/plain)
2007-01-04 19:44 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details
Full dmesg output for 2.6.18 (dmesg-2.6.18,15.07 KB, text/plain)
2007-01-07 16:50 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details
Full dmesg output for 2.6.19-r2 (dmesg-2.6.19-r2,15.06 KB, text/plain)
2007-01-07 16:51 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details
/proc/interrupts for 2.6.18 (interrupts-2.6.18,654 bytes, text/plain)
2007-01-07 16:52 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details
/proc/interrupts for 2.6.19-r2 (interrupts-2.6.19-r2,820 bytes, text/plain)
2007-01-07 16:52 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details
Full dmesg output for 2.6.19-r2 without irqpoll (dmesg-2.6.19-r2-noirqpoll,15.06 KB, text/plain)
2007-01-07 17:01 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details
/proc/interrupts for 2.6.19-r2 without irqpoll (interrupts-2.6.19-r2-noirqpoll,776 bytes, text/plain)
2007-01-07 17:02 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details
Full dmesg output for 2.6.19-r2 without irqpoll and without fglrx (dmesg-2.6.19-r2-noirqpoll-test,15.07 KB, text/plain)
2007-01-07 17:38 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details
/proc/interrupts for 2.6.19-r2 without irqpoll and without fglrx (interrupts-2.6.19-r2-noirqpoll-test,778 bytes, text/plain)
2007-01-07 17:40 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details
/proc/interrupts for 2.6.19-r2 without irqpoll and without fglrx (later) (interrupts-2.6.19-r2-noirqpoll-test2,778 bytes, text/plain)
2007-01-07 17:42 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details
/proc/interrupts for 2.6.19-r2 without irqpoll and without fglrx (even later) (interrupts-2.6.19-r2-noirqpoll-test3,778 bytes, text/plain)
2007-01-07 17:43 UTC, Jorge Manuel B. S. Vicetto (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-04 16:56:49 UTC
Ever since the gentoo-sources 2.6.19 kernel series was released, my ipw2200 wireless network card stopped working. It worked / works with the 2.6.18* kernel series.

Output of dmesg after removing and reloading the ipw2200 module:

ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.4km
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ACPI: PCI Interrupt 0000:06:04.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: Failed to send TX_POWER: Command timed out.
ipw2200: Failed to send TX_POWER: Command timed out.
ipw2200: Failed to send TX_POWER: Command timed out.
ipw2200: Failed to send TX_POWER: Command timed out.
ipw2200: Failed to send TX_POWER: Command timed out.
ipw2200: Unable to initialize device after 5 attempts.
ipw2200: failed to register network device
ipw2200: probe of 0000:06:04.0 failed with error -5

Relevant section of the kernel config:

CONFIG_IPW2200=m
CONFIG_IPW2200_MONITOR=y
# CONFIG_IPW2200_RADIOTAP is not set
# CONFIG_IPW2200_PROMISCUOUS is not set
# CONFIG_IPW2200_QOS is not set
# CONFIG_IPW2200_DEBUG is not set

emerge --info:

Portage 2.1.2_rc4-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.8
Last Sync: Thu, 28 Dec 2006 17:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
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.8
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -momit-leaf-frame-pointer -ftracer -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/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium-m -momit-leaf-frame-pointer -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://mirrors1.netvisao.pt/gentoo/ ftp://ftp.gentoo-pt.org/pub/gentoo/"
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=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/xeffects"
SYNC="rsync://atl64.acores.pt/gentoo-portage"
USE="x86 X acpi alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm avi berkdb bitmap-fonts cdr cli cracklib crypt cups dlloader dri dvd eds elibc_glibc emboss encode foomaticdb fortran gdbm gif gpm gstreamer iconv imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kdeenablefinal kernel_linux libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_vesa vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-04 16:58:56 UTC
Created attachment 105437 [details]
Full kernel .config

My .config for gentoo-sources 2.6.19-r2
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-04 19:44:49 UTC
Created attachment 105444 [details]
Full 2.6.18 kernel config

This is the .config file for the 2.6.18 kernel - ipw2200 works with this kernel
Comment 3 Christian Heim (RETIRED) gentoo-dev 2007-01-05 05:24:42 UTC
(In reply to comment #0)
> Ever since the gentoo-sources 2.6.19 kernel series was released, my ipw2200
> wireless network card stopped working. It worked / works with the 2.6.18*
> kernel series.
> 
> Output of dmesg after removing and reloading the ipw2200 module:
> 
> ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.4km
> ipw2200: Copyright(c) 2003-2006 Intel Corporation
> ACPI: PCI Interrupt 0000:06:04.0[A] -> Link [LNKA] -> GSI 11 (level, low) ->
> IRQ 11
> ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
> ipw2200: Failed to send TX_POWER: Command timed out.
> ipw2200: Failed to send TX_POWER: Command timed out.
> ipw2200: Failed to send TX_POWER: Command timed out.
> ipw2200: Failed to send TX_POWER: Command timed out.
> ipw2200: Failed to send TX_POWER: Command timed out.
> ipw2200: Unable to initialize device after 5 attempts.
> ipw2200: failed to register network device
> ipw2200: probe of 0000:06:04.0 failed with error -5
> 
> Relevant section of the kernel config:
> 
> CONFIG_IPW2200=m
> CONFIG_IPW2200_MONITOR=y
> # CONFIG_IPW2200_RADIOTAP is not set
> # CONFIG_IPW2200_PROMISCUOUS is not set
> # CONFIG_IPW2200_QOS is not set
> # CONFIG_IPW2200_DEBUG is not set

Could you please enable the CONFIG_IPW2200_DEBUG and post what's in the logs then ?
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-05 15:49:36 UTC
After enabling the debug option, I get the following on dmesg:

ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.4kdm
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ACPI: PCI Interrupt 0000:06:04.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: Failed to send TX_POWER: Command timed out.
ipw2200: Failed to send TX_POWER: Command timed out.
ipw2200: Failed to send TX_POWER: Command timed out.
ipw2200: Failed to send TX_POWER: Command timed out.
ipw2200: Failed to send TX_POWER: Command timed out.
ipw2200: Unable to initialize device after 5 attempts.
ipw2200: failed to register network device
ipw2200: probe of 0000:06:04.0 failed with error -5

If you notice carefully, the only difference to the previous output is on the end of the first line: km to kdm.
What tests can I do or what logs can I check for more useful info?
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-07 16:06:56 UTC
The problem seems to be caused by an IRQ conflict that leads the kernel to disable IRQ11. To solve the issue, just pass the 'irqpoll' option to the kernel.

Relevant section of dmesg:
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.4kdm
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: Detected geography ZZM (11 802.11bg channels, 0 802.11a channels)
[<f8f7575e>] (ipw_isr+0x0/0x244 [ipw2200])
ipw2200: Firmware error detected.  Restarting.

grep 11 /proc/interrupts
 11:     100000    XT-PIC-XT        uhci_hcd:usb3, uhci_hcd:usb4, uhci_hcd:usb5, yenta, sdhci:slot0, sdhci:slot1, sdhci:slot2, ipw2200, fglrx
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-07 16:50:42 UTC
Created attachment 105857 [details]
Full dmesg output for 2.6.18
Comment 7 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-07 16:51:21 UTC
Created attachment 105861 [details]
Full dmesg output for 2.6.19-r2
Comment 8 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-07 16:52:02 UTC
Created attachment 105863 [details]
/proc/interrupts for 2.6.18
Comment 9 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-07 16:52:35 UTC
Created attachment 105865 [details]
/proc/interrupts for 2.6.19-r2
Comment 10 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-07 17:01:29 UTC
Created attachment 105875 [details]
Full dmesg output for 2.6.19-r2 without irqpoll
Comment 11 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-07 17:02:04 UTC
Created attachment 105877 [details]
/proc/interrupts for 2.6.19-r2 without irqpoll
Comment 12 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-07 17:38:12 UTC
Created attachment 105895 [details]
Full dmesg output for 2.6.19-r2 without irqpoll and without fglrx
Comment 13 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-07 17:40:05 UTC
Created attachment 105899 [details]
/proc/interrupts for 2.6.19-r2 without irqpoll and without fglrx
Comment 14 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-07 17:42:39 UTC
Created attachment 105905 [details]
/proc/interrupts for 2.6.19-r2 without irqpoll and without fglrx (later)
Comment 15 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-07 17:43:09 UTC
Created attachment 105907 [details]
/proc/interrupts for 2.6.19-r2 without irqpoll and without fglrx (even later)
Comment 16 Alan Woods 2007-01-09 20:26:14 UTC
> Ever since the gentoo-sources 2.6.19 kernel series was released, my ipw2200
> wireless network card stopped working. It worked / works with the 2.6.18*
> kernel series.
> 
Version 1.2.1 of ipw2200 has been released which seems to include a 2.6.19+ compatibility update. http://ipw2200.sourceforge.net/

Don't know if it fixes your particular problem, but it may be worth giving it a try.

Cheers, Alan
Comment 17 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-01-09 21:05:59 UTC
After much debbuging with dsd's help - many thanks for your help and time - the kernel that didn't worked with ipw2200, started working. It seems my problems might have been caused by the kernel config.
If the issue returns, I'll come back here.
Comment 18 Daniel Drake (RETIRED) gentoo-dev 2007-01-09 22:07:37 UTC
.