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