* [gentoo-user] Cannot compile ipw2100 against kernel 2.6.13
@ 2005-09-28 11:03 John Green
2005-09-28 14:00 ` Willie Wong
0 siblings, 1 reply; 5+ messages in thread
From: John Green @ 2005-09-28 11:03 UTC (permalink / raw
To: gentoo-user
Hi,
I have been using wireless on my Dell laptop successfully under kernel
2.6.12
and earlier, but I can't get it to build under kernel 2.6.13. Specifically,
the ipw2100 package fails to compile against kernel 2.6.13.{,1,2}. I
have looked in
bugzilla, but couldn't see anything relevant. M`aybe I'm missing a
trick somewhere.
In detail, when
/usr/src/linux => /usr/src/linux-2.6.12.6
everything works OK.
But when
/usr/src/linux => /usr/src/linux-2.6.13.2
there are errors beginning like this.
---------------------
>>> Source unpacked.
* You may safely ignore any errors from compilation that contain
* warnings about undefined references to the ieee80211 subsystem.
*
* Preparing ipw2100 module
mkdir -p
/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/tmp/.tmp_versions
cp /usr/include/*.mod
/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/tmp/.tmp_versions
cp: cannot stat `/usr/include/*.mod': No such file or directory
make: [modules] Error 1 (ignored)
make -C /usr/src/linux
M=/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2
MODVERDIR=/var/tmp/portage/ipw2100-1.1.2-r1/w
make[1]: Entering directory `/usr/src/linux-2.6.13.2'
CC [M] /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.o
/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c: In
function `ipw2100_set_scan_options':
/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:1584:
error: structure has no member named `sec'
/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:1584:
error: structure has no member named `sec'
/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c: In
function `ipw2100_configure_security':
/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:5103:
error: structure has no member named `sec'
/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:5108:
error: structure has no member named `sec'
------------------
BTW, I am totally confused about in-kernel versus out-of-kernel software
for Intel wireless
and about the hardware/driver nomenclature. Here is the (possibly)
relevant part of
my kernel .config file.
----------------------
#
# Wireless LAN (non-hamradio)
#
CONFIG_NET_RADIO=y
#
# Obsolete Wireless cards support (pre-802.11)
#
# CONFIG_STRIP is not set
# CONFIG_PCMCIA_WAVELAN is not set
# CONFIG_PCMCIA_NETWAVE is not set
#
# Wireless 802.11 Frequency Hopping cards support
#
# CONFIG_PCMCIA_RAYCS is not set
#
# Wireless 802.11b ISA/PCI cards support
#
CONFIG_HERMES=y
# CONFIG_PLX_HERMES is not set
# CONFIG_TMD_HERMES is not set
CONFIG_PCI_HERMES=y
# CONFIG_ATMEL is not set
#
# Wireless 802.11b Pcmcia/Cardbus cards support
#
# CONFIG_PCMCIA_HERMES is not set
# CONFIG_AIRO_CS is not set
# CONFIG_PCMCIA_WL3501 is not set
#
# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
#
# CONFIG_PRISM54 is not set
CONFIG_NET_WIRELESS=y
#
# PCMCIA network device support
#
CONFIG_NET_PCMCIA=y
# CONFIG_PCMCIA_3C589 is not set
CONFIG_PCMCIA_3C574=y
# CONFIG_PCMCIA_FMVJ18X is not set
# CONFIG_PCMCIA_PCNET is not set
# CONFIG_PCMCIA_NMCLAN is not set
# CONFIG_PCMCIA_SMC91C92 is not set
# CONFIG_PCMCIA_XIRC2PS is not set
# CONFIG_PCMCIA_AXNET is not set
-----------------------
(I sometimes use a PCMCIA cable-ethernet card, but not at present.)
There is a comment that the ipw in-kernel driver may change in 2.6.14,
but I don't want to wait
for that if it turns out to be my error anyway.
Thanks,
John Green
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Cannot compile ipw2100 against kernel 2.6.13
2005-09-28 11:03 [gentoo-user] Cannot compile ipw2100 against kernel 2.6.13 John Green
@ 2005-09-28 14:00 ` Willie Wong
2005-09-28 22:27 ` John Green
0 siblings, 1 reply; 5+ messages in thread
From: Willie Wong @ 2005-09-28 14:00 UTC (permalink / raw
To: gentoo-user
On Wed, Sep 28, 2005 at 11:03:18AM +0000, John Green wrote:
> In detail, when
>
> /usr/src/linux => /usr/src/linux-2.6.12.6
>
> everything works OK.
>
> But when
>
> /usr/src/linux => /usr/src/linux-2.6.13.2
>
> there are errors beginning like this.
>
> ---------------------
>
> >>> Source unpacked.
>
> * You may safely ignore any errors from compilation that contain
> * warnings about undefined references to the ieee80211 subsystem.
> *
> * Preparing ipw2100 module
> mkdir -p
> /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/tmp/.tmp_versions
> cp /usr/include/*.mod
> /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/tmp/.tmp_versions
> cp: cannot stat `/usr/include/*.mod': No such file or directory
> make: [modules] Error 1 (ignored)
> make -C /usr/src/linux
> M=/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2
> MODVERDIR=/var/tmp/portage/ipw2100-1.1.2-r1/w
> make[1]: Entering directory `/usr/src/linux-2.6.13.2'
> CC [M] /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.o
> /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c: In
> function `ipw2100_set_scan_options':
> /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:1584:
> error: structure has no member named `sec'
> /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:1584:
> error: structure has no member named `sec'
> /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c: In
> function `ipw2100_configure_security':
> /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:5103:
> error: structure has no member named `sec'
> /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:5108:
> error: structure has no member named `sec'
>
hum, have you tried asking about on ipw2100.sourceforge.net?
There's an IRC channel on freenode and they also have their own bug
database you can search through. Maybe you will find something there?
> ------------------
>
> BTW, I am totally confused about in-kernel versus out-of-kernel software
> for Intel wireless
> and about the hardware/driver nomenclature. Here is the (possibly)
> relevant part of
> my kernel .config file.
>
if I remember correctly, the ipw2?00 ebuilds checks for kernel options
before emerging, so if it got to the compile phase it shouldn't be a
problem with your kernel setup. Or at least a known problem.
W
--
Richard M. Stallman, Linus Torvalds, and Donald E. Knuth engage in a
discussion on whose impact on the computerized world was the
greatest.
Stallman: "God told me I have programmed the best editor in the
world!"
Torvalds: "Well, God told *me* that I have programmed the best
operating system in the world!"
Knuth: "Wait, wait - I never said that."
Sortir en Pantoufles: up 47 days, 17:00
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Cannot compile ipw2100 against kernel 2.6.13
2005-09-28 22:27 ` John Green
@ 2005-09-28 22:20 ` Richard Fish
2005-09-29 17:45 ` John Green
0 siblings, 1 reply; 5+ messages in thread
From: Richard Fish @ 2005-09-28 22:20 UTC (permalink / raw
To: gentoo-user
John Green wrote:
>the problem might be with ieee80211. A detailed look at my log file for
>rebuilding ieee80211
>under 2.6.13.2 showed that the ebuild tried to delete kernel file
>include/net/ieee80211.h,
>but failed with insufficient privilege, even though emerge was running
>as root. I deleted
>the kernel header file by hand and the ebuild for ipw2100 then ran
>successfully.
>
>
BTW, the current ~x86 version of the ipw2100 ebuild has a check for
this, and if the file exists, it will prompt you to remove it and then
fail the build.
You might try:
echo "net-wireless/ipw2100 ~x86" >>/etc/portage/package.keywords
emerge -Dv net-wireless/ipw2100
I'm using ipw2100-1.1.2-r3 with suspend2-sources-2.6.13-r4 without any
significant problems.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Cannot compile ipw2100 against kernel 2.6.13
2005-09-28 14:00 ` Willie Wong
@ 2005-09-28 22:27 ` John Green
2005-09-28 22:20 ` Richard Fish
0 siblings, 1 reply; 5+ messages in thread
From: John Green @ 2005-09-28 22:27 UTC (permalink / raw
To: gentoo-user
Willie Wong wrote:
>On Wed, Sep 28, 2005 at 11:03:18AM +0000, John Green wrote:
>
>
>>In detail, when
>>
>>/usr/src/linux => /usr/src/linux-2.6.12.6
>>
>>everything works OK.
>>
>>But when
>>
>>/usr/src/linux => /usr/src/linux-2.6.13.2
>>
>>there are errors beginning like this.
>>
>>---------------------
>>
>>
>>
>>>>>Source unpacked.
>>>>>
>>>>>
>> * You may safely ignore any errors from compilation that contain
>> * warnings about undefined references to the ieee80211 subsystem.
>> *
>> * Preparing ipw2100 module
>>mkdir -p
>>/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/tmp/.tmp_versions
>>cp /usr/include/*.mod
>>/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/tmp/.tmp_versions
>>cp: cannot stat `/usr/include/*.mod': No such file or directory
>>make: [modules] Error 1 (ignored)
>>make -C /usr/src/linux
>>M=/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2
>>MODVERDIR=/var/tmp/portage/ipw2100-1.1.2-r1/w
>>make[1]: Entering directory `/usr/src/linux-2.6.13.2'
>> CC [M] /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.o
>>/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c: In
>>function `ipw2100_set_scan_options':
>>/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:1584:
>>
>>
<snip>
>hum, have you tried asking about on ipw2100.sourceforge.net?
>There's an IRC channel on freenode and they also have their own bug
>database you can search through. Maybe you will find something there?
>
>
>
Thanks for the tip. Their bug database did not help, so it was IRC or
nothing.
I'd been on IRC only once before, and that was two years ago... so this time
I made notes on how to do it. Anyway, someone on freenode/#ipw2100 thought
the problem might be with ieee80211. A detailed look at my log file for
rebuilding ieee80211
under 2.6.13.2 showed that the ebuild tried to delete kernel file
include/net/ieee80211.h,
but failed with insufficient privilege, even though emerge was running
as root. I deleted
the kernel header file by hand and the ebuild for ipw2100 then ran
successfully.
Kernel 2.6.12.6 does not contain the file include/net/ieee80211.h, so the
compilation error never happened with that kernel.
Unfortunately, wireless would still not work under 2.6.13.2, despite
many rebuilds
in different orders and many reboots. I guess I'll stick with kernel
2.6.12.6 for now.
If I ever do get wireless working under 2.6.13 or higher, I'll try to
add a note to the
Gentoo Wiki for ipw2100. (More learning and note-taking!)
I use a script to detect errors in ebuild log files because the logs are
usually too long to read.
The script clearly needs an extra clause to highlight the phrase
'insufficient privilege'.
John Green
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Cannot compile ipw2100 against kernel 2.6.13
2005-09-28 22:20 ` Richard Fish
@ 2005-09-29 17:45 ` John Green
0 siblings, 0 replies; 5+ messages in thread
From: John Green @ 2005-09-29 17:45 UTC (permalink / raw
To: gentoo-user
Richard Fish wrote:
> John Green wrote:
>
>> the problem might be with ieee80211. A detailed look at my log file for
>> rebuilding ieee80211
>> under 2.6.13.2 showed that the ebuild tried to delete kernel file
>> include/net/ieee80211.h,
>> but failed with insufficient privilege, even though emerge was running
>> as root. I deleted
>> the kernel header file by hand and the ebuild for ipw2100 then ran
>> successfully.
>>
>>
>
> BTW, the current ~x86 version of the ipw2100 ebuild has a check for
> this, and if the file exists, it will prompt you to remove it and then
> fail the build.
>
> You might try:
>
> echo "net-wireless/ipw2100 ~x86" >>/etc/portage/package.keywords
> emerge -Dv net-wireless/ipw2100
>
> I'm using ipw2100-1.1.2-r3 with suspend2-sources-2.6.13-r4 without any
> significant problems.
>
> -Richard
>
Thanks for the tip, but it did not help. I still get no communication
when running with 2.6.13.2.
I guess I'll wait for 2.6.14 and try again.
John Green
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-09-29 16:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-28 11:03 [gentoo-user] Cannot compile ipw2100 against kernel 2.6.13 John Green
2005-09-28 14:00 ` Willie Wong
2005-09-28 22:27 ` John Green
2005-09-28 22:20 ` Richard Fish
2005-09-29 17:45 ` John Green
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox