Gentoo Archives: gentoo-user

From: John Green <jg012b8403_2@×××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cannot compile ipw2100 against kernel 2.6.13
Date: Wed, 28 Sep 2005 21:41:02
Message-Id: 433B18DE.7070909@blueyonder.co.uk
In Reply to: Re: [gentoo-user] Cannot compile ipw2100 against kernel 2.6.13 by Willie Wong
1 Willie Wong wrote:
2
3 >On Wed, Sep 28, 2005 at 11:03:18AM +0000, John Green wrote:
4 >
5 >
6 >>In detail, when
7 >>
8 >>/usr/src/linux => /usr/src/linux-2.6.12.6
9 >>
10 >>everything works OK.
11 >>
12 >>But when
13 >>
14 >>/usr/src/linux => /usr/src/linux-2.6.13.2
15 >>
16 >>there are errors beginning like this.
17 >>
18 >>---------------------
19 >>
20 >>
21 >>
22 >>>>>Source unpacked.
23 >>>>>
24 >>>>>
25 >> * You may safely ignore any errors from compilation that contain
26 >> * warnings about undefined references to the ieee80211 subsystem.
27 >> *
28 >> * Preparing ipw2100 module
29 >>mkdir -p
30 >>/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/tmp/.tmp_versions
31 >>cp /usr/include/*.mod
32 >>/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/tmp/.tmp_versions
33 >>cp: cannot stat `/usr/include/*.mod': No such file or directory
34 >>make: [modules] Error 1 (ignored)
35 >>make -C /usr/src/linux
36 >>M=/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2
37 >>MODVERDIR=/var/tmp/portage/ipw2100-1.1.2-r1/w
38 >>make[1]: Entering directory `/usr/src/linux-2.6.13.2'
39 >> CC [M] /var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.o
40 >>/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c: In
41 >>function `ipw2100_set_scan_options':
42 >>/var/tmp/portage/ipw2100-1.1.2-r1/work/ipw2100-1.1.2/ipw2100.c:1584:
43 >>
44 >>
45 <snip>
46
47 >hum, have you tried asking about on ipw2100.sourceforge.net?
48 >There's an IRC channel on freenode and they also have their own bug
49 >database you can search through. Maybe you will find something there?
50 >
51 >
52 >
53 Thanks for the tip. Their bug database did not help, so it was IRC or
54 nothing.
55 I'd been on IRC only once before, and that was two years ago... so this time
56 I made notes on how to do it. Anyway, someone on freenode/#ipw2100 thought
57 the problem might be with ieee80211. A detailed look at my log file for
58 rebuilding ieee80211
59 under 2.6.13.2 showed that the ebuild tried to delete kernel file
60 include/net/ieee80211.h,
61 but failed with insufficient privilege, even though emerge was running
62 as root. I deleted
63 the kernel header file by hand and the ebuild for ipw2100 then ran
64 successfully.
65 Kernel 2.6.12.6 does not contain the file include/net/ieee80211.h, so the
66 compilation error never happened with that kernel.
67
68 Unfortunately, wireless would still not work under 2.6.13.2, despite
69 many rebuilds
70 in different orders and many reboots. I guess I'll stick with kernel
71 2.6.12.6 for now.
72 If I ever do get wireless working under 2.6.13 or higher, I'll try to
73 add a note to the
74 Gentoo Wiki for ipw2100. (More learning and note-taking!)
75
76 I use a script to detect errors in ebuild log files because the logs are
77 usually too long to read.
78 The script clearly needs an extra clause to highlight the phrase
79 'insufficient privilege'.
80
81 John Green
82 --
83 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Cannot compile ipw2100 against kernel 2.6.13 Richard Fish <bigfish@××××××××××.org>