View previous topic :: View next topic |
Author |
Message |
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Mon Mar 27, 2006 6:16 am Post subject: |
|
|
Sejam wrote: | How's it going VinzC, looks like we'll be working together again, my E1705 just showed up. |
Oh great . Glad you made up your mind. I was away a couple of days so couldn't answer immediately.
Sejam wrote: | Anyways, trying to follow the pure ebuild path, I could never get the ipw3945 to compile correctly. This was attempted with many different configurations with kernels 2.6.15-gentoo-r1 and 2.6.16-gentoo. Both of them I also tried with built in ieee80211 built in / modules and also trying with the ~x86 version of ieee80211. Each time I tried again I rebuild the sources. During the ebuild of ieee80211, I would remove the headers with the command above. |
Aha. That is wierd. I'm going to check it out with a new kernel source tree, see if it happens too.
Sejam wrote: | In the end, I ended up using the kernel patch on the 2.6.16-rc6-mm2 kernel. I built the ipw3945 as modules and the ieee80211 into the kernel. Just a note that I had the ieee80211 not emerged (I unmerged ieee80211 before emerging mm-sources). Once that was done, I then used the ipw3945_ebuilds specified above. Difference is, I only emerged ipw3945-firmware and ipw3945d (since the driver was built through the kernel patch, I did not need the ipw3945 ebuild).
With that configuration, I was able to get everything working great. I haven't had it working long enough to test to make sure that the connection remains stable. My Wireless LED does not stay on, but flashes with wireless activity (which I personally like a lot better anyways).
On a side note, the 2.6.16-rc6-mm2 does have some nice features added to it already, like the sd reader and a cpu scheduler just for multi-core systems. |
If that works with that source tree I might as well try it too. Note my WiFi LED flashes sometimes only. It might vary from time to time but I can see it flash rapidly or slowlier. I don't know what it's depending on but there is a flashing description in the driver manual IIRC.
If the LED is flashing slowly and is off most of the flashing cycle then it is initializing the driver. When it flashes on/off with equal periods then the network script is starting. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Mon Mar 27, 2006 6:19 am Post subject: |
|
|
Sejam wrote: | For those of you that previously owned the Inspiron 6000 which had the Intel 2200, have you noticed a decrease in range with the 3945? Didn't realize it last night, but I'm not able to get as good as a signal as I did with the 2200 in my house. |
No, I didn't. I'm using a Belkin 54g Access Point and the signal is excellent all the time. I'll check bigger distances. However I experienced my first WiFi disconnection at work last week. I had to unload/reload the driver module and things were back on. I'll watch it out. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
Sejam Tux's lil' helper
Joined: 25 Oct 2004 Posts: 80
|
Posted: Mon Mar 27, 2006 7:58 am Post subject: |
|
|
VinzC wrote: | Sejam wrote: | For those of you that previously owned the Inspiron 6000 which had the Intel 2200, have you noticed a decrease in range with the 3945? Didn't realize it last night, but I'm not able to get as good as a signal as I did with the 2200 in my house. |
No, I didn't. I'm using a Belkin 54g Access Point and the signal is excellent all the time. I'll check bigger distances. However I experienced my first WiFi disconnection at work last week. I had to unload/reload the driver module and things were back on. I'll watch it out. |
The distances was pretty far, I should mention. I'm using the LinkSys Wireless G Wireless Access Point. It's in the basement of our house and I'm in our bedroom which is on the second floor. My wifes computer won't reach that high and neither will the E1705 too well (off and on), but the 6000 never had an issue up there. |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Tue Mar 28, 2006 9:28 am Post subject: |
|
|
With my access point I can go up to the third floor and the signal is still good. The floors (traditional) are all made of wood, not of concrete. Belkin has a technology for passing through tough walls and floors made of concrete. You might consider it for your wife's computer . _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
sprognak n00b
Joined: 30 Mar 2006 Posts: 38
|
Posted: Fri Mar 31, 2006 9:19 pm Post subject: |
|
|
Followed VinzC's instructions.
Code: | modprobe ipw3495
FATAL: Module ipw3495 not found. |
Everything appeared to work until the point I typed modprobe. Is there something I should do between the emerge -av ipw3495 and the modprobe?[/quote][/code]
*edit* please feel free to suggest the obvious. I've been playing with Gentoo for about 4 days now so am at a pretty novice level. I figured the best way to learn was to dive right on in |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Fri Mar 31, 2006 9:37 pm Post subject: |
|
|
sprognak wrote: | Followed VinzC's instructions.
Code: | modprobe ipw3495
FATAL: Module ipw3495 not found. |
|
Did you get any error message while compiling ipw3945? Did you recently upgrade your kernel sources? What's your current kernel (run uname -r)? Have you removed your kernel's bult-in support for ieee80211 by running shell script /usr/portage/net-wireless/ieee80211/files/remove-old?
You must reinstall the driver each time you install a new kernel source tree, for instance. module-rebuild list and module-rebuild rebuild does help you know what modules need to be reinstalled. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
moumou n00b
Joined: 01 Apr 2006 Posts: 12 Location: Paris, France
|
Posted: Sat Apr 01, 2006 5:22 am Post subject: |
|
|
Version 0.0.73 is out ! I would have updated the svn, but I don't know how to do it :/
I also found why the ebuilds wouldn't work with ieee80211 from portage. It's because it doesn't find the ieee80211.h in /lib/modules/`uname -r`/include. In fact they are in /usr/include. I just added IEEE80211_INCLUDEDIR=/usr/include (if I remember clearly) to the ebuild, in front of the function that compiles the module, and it worked flawlessly _________________ moobox.moonet.moo - AMD 64 3500+, 1024MB, Geforce 6800GT 256MB, Gentoo Linux 2005.1
moobook.moonet.moo - (Sony Vaio VGN-FE11M) Intel Core Duo T2300, 1024MB, Geforce 7400 Go 256MB (shared), Gentoo Linux 2006.0 |
|
Back to top |
|
|
sprognak n00b
Joined: 30 Mar 2006 Posts: 38
|
Posted: Sat Apr 01, 2006 5:35 am Post subject: |
|
|
VinzC wrote: | sprognak wrote: | Followed VinzC's instructions.
Code: | modprobe ipw3495
FATAL: Module ipw3495 not found. |
|
Did you get any error message while compiling ipw3945? Did you recently upgrade your kernel sources? What's your current kernel (run uname -r)? Have you removed your kernel's bult-in support for ieee80211 by running shell script /usr/portage/net-wireless/ieee80211/files/remove-old?
You must reinstall the driver each time you install a new kernel source tree, for instance. module-rebuild list and module-rebuild rebuild does help you know what modules need to be reinstalled. |
No error when compiling, a few warnings. Is there a way I can force a recompile so I can post a dump?
It's a fresh install of 2.6.15-gentoo-r5 from the LiveCD. I've removed ieee80211 with the script, followed your post down to the modprobe. I've triped a emerge --sync and emerge --update --deep world
Here's the result from module-rebuild:
Code: | gloin ~ # module-rebuild list
** Packages which I will emerge are:
=net-wireless/ipw3945-0.0.69
=net-wireless/ieee80211-1.1.13
gloin ~ # emerge ipw3495
Calculating dependencies
emerge: there are no ebuilds to satisfy "ipw3495".
gloin ~ # module-rebuild rebuild
** Preparing to merge modules:
** Packages which I will emerge are:
=net-wireless/ipw3945-0.0.69
=net-wireless/ieee80211-1.1.13
5 4 3 2 1
Calculating dependencies
emerge: there are no ebuilds to satisfy "=net-wireless/ipw3945-0.0.69".
gloin ~ # |
I'm guessing that means I still have something to do, but I'm not quite sure what... |
|
Back to top |
|
|
sprognak n00b
Joined: 30 Mar 2006 Posts: 38
|
Posted: Sat Apr 01, 2006 5:41 am Post subject: |
|
|
Just tried following the steps again from the start yet now I get:
Code: | gloin ipw3945 # /usr/portage/net-wireless/ieee80211/files/remove-old
bash: /usr/portage/net-wireless/ieee80211/files/remove-old: Permission denied
gloin ipw3945 # |
Is this because it's gone already or did I break something?
And this may help diagnosing:
Code: | gloin downloads # slocate ipw3945
/var/db/pkg/net-wireless/ipw3945-firmware-1.13
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/ipw3945-firmware-1.13.ebuild
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/ASFLAGS
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/CATEGORY
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/CBUILD
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/CC
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/CFLAGS
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/CHOST
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/CTARGET
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/CXX
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/CXXFLAGS
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/DEPEND
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/EXTRA_ECONF
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/EXTRA_EINSTALL
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/EXTRA_MAKE
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/FEATURES
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/INHERITED
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/IUSE
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/PKGUSE
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/LDFLAGS
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/LIBCFLAGS
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/LIBCXXFLAGS
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/LICENSE
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/PDEPEND
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/PF
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/PROVIDE
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/RDEPEND
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/RESTRICT
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/SLOT
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/USE
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/EAPI
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/NEEDED
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/environment.bz2
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/COUNTER
/var/db/pkg/net-wireless/ipw3945-firmware-1.13/CONTENTS
/var/db/pkg/net-wireless/ipw3945d-0.7.16
/var/db/pkg/net-wireless/ipw3945d-0.7.16/ipw3945d-0.7.16.ebuild
/var/db/pkg/net-wireless/ipw3945d-0.7.16/ASFLAGS
/var/db/pkg/net-wireless/ipw3945d-0.7.16/CATEGORY
/var/db/pkg/net-wireless/ipw3945d-0.7.16/CBUILD
/var/db/pkg/net-wireless/ipw3945d-0.7.16/CC
/var/db/pkg/net-wireless/ipw3945d-0.7.16/CFLAGS
/var/db/pkg/net-wireless/ipw3945d-0.7.16/CHOST
/var/db/pkg/net-wireless/ipw3945d-0.7.16/CTARGET
/var/db/pkg/net-wireless/ipw3945d-0.7.16/CXX
/var/db/pkg/net-wireless/ipw3945d-0.7.16/CXXFLAGS
/var/db/pkg/net-wireless/ipw3945d-0.7.16/DEPEND
/var/db/pkg/net-wireless/ipw3945d-0.7.16/EXTRA_ECONF
/var/db/pkg/net-wireless/ipw3945d-0.7.16/EXTRA_EINSTALL
/var/db/pkg/net-wireless/ipw3945d-0.7.16/EXTRA_MAKE
/var/db/pkg/net-wireless/ipw3945d-0.7.16/FEATURES
/var/db/pkg/net-wireless/ipw3945d-0.7.16/INHERITED
/var/db/pkg/net-wireless/ipw3945d-0.7.16/IUSE
/var/db/pkg/net-wireless/ipw3945d-0.7.16/PKGUSE
/var/db/pkg/net-wireless/ipw3945d-0.7.16/LDFLAGS
/var/db/pkg/net-wireless/ipw3945d-0.7.16/LIBCFLAGS
/var/db/pkg/net-wireless/ipw3945d-0.7.16/LIBCXXFLAGS
/var/db/pkg/net-wireless/ipw3945d-0.7.16/LICENSE
/var/db/pkg/net-wireless/ipw3945d-0.7.16/PDEPEND
/var/db/pkg/net-wireless/ipw3945d-0.7.16/PF
/var/db/pkg/net-wireless/ipw3945d-0.7.16/PROVIDE
/var/db/pkg/net-wireless/ipw3945d-0.7.16/RDEPEND
/var/db/pkg/net-wireless/ipw3945d-0.7.16/RESTRICT
/var/db/pkg/net-wireless/ipw3945d-0.7.16/SLOT
/var/db/pkg/net-wireless/ipw3945d-0.7.16/USE
/var/db/pkg/net-wireless/ipw3945d-0.7.16/EAPI
/var/db/pkg/net-wireless/ipw3945d-0.7.16/NEEDED
/var/db/pkg/net-wireless/ipw3945d-0.7.16/environment.bz2
/var/db/pkg/net-wireless/ipw3945d-0.7.16/COUNTER
/var/db/pkg/net-wireless/ipw3945d-0.7.16/CONTENTS
/var/db/pkg/net-wireless/ipw3945-0.0.69
/var/db/pkg/net-wireless/ipw3945-0.0.69/ipw3945-0.0.69.ebuild
/var/db/pkg/net-wireless/ipw3945-0.0.69/ASFLAGS
/var/db/pkg/net-wireless/ipw3945-0.0.69/CATEGORY
/var/db/pkg/net-wireless/ipw3945-0.0.69/CBUILD
/var/db/pkg/net-wireless/ipw3945-0.0.69/CC
/var/db/pkg/net-wireless/ipw3945-0.0.69/CFLAGS
/var/db/pkg/net-wireless/ipw3945-0.0.69/CHOST
/var/db/pkg/net-wireless/ipw3945-0.0.69/CTARGET
/var/db/pkg/net-wireless/ipw3945-0.0.69/CXX
/var/db/pkg/net-wireless/ipw3945-0.0.69/CXXFLAGS
/var/db/pkg/net-wireless/ipw3945-0.0.69/DEPEND
/var/db/pkg/net-wireless/ipw3945-0.0.69/EXTRA_ECONF
/var/db/pkg/net-wireless/ipw3945-0.0.69/EXTRA_EINSTALL
/var/db/pkg/net-wireless/ipw3945-0.0.69/EXTRA_MAKE
/var/db/pkg/net-wireless/ipw3945-0.0.69/FEATURES
/var/db/pkg/net-wireless/ipw3945-0.0.69/INHERITED
/var/db/pkg/net-wireless/ipw3945-0.0.69/IUSE
/var/db/pkg/net-wireless/ipw3945-0.0.69/PKGUSE
/var/db/pkg/net-wireless/ipw3945-0.0.69/LDFLAGS
/var/db/pkg/net-wireless/ipw3945-0.0.69/LIBCFLAGS
/var/db/pkg/net-wireless/ipw3945-0.0.69/LIBCXXFLAGS
/var/db/pkg/net-wireless/ipw3945-0.0.69/LICENSE
/var/db/pkg/net-wireless/ipw3945-0.0.69/PDEPEND
/var/db/pkg/net-wireless/ipw3945-0.0.69/PF
/var/db/pkg/net-wireless/ipw3945-0.0.69/PROVIDE
/var/db/pkg/net-wireless/ipw3945-0.0.69/RDEPEND
/var/db/pkg/net-wireless/ipw3945-0.0.69/RESTRICT
/var/db/pkg/net-wireless/ipw3945-0.0.69/SLOT
/var/db/pkg/net-wireless/ipw3945-0.0.69/USE
/var/db/pkg/net-wireless/ipw3945-0.0.69/EAPI
/var/db/pkg/net-wireless/ipw3945-0.0.69/NEEDED
/var/db/pkg/net-wireless/ipw3945-0.0.69/environment.bz2
/var/db/pkg/net-wireless/ipw3945-0.0.69/COUNTER
/var/db/pkg/net-wireless/ipw3945-0.0.69/CONTENTS
/var/cache/edb/dep/usr/local/portage/net-wireless/ipw3945-0.0.70
/usr/share/doc/ipw3945d-0.7.16
/usr/share/doc/ipw3945d-0.7.16/README.ipw3945d.gz
/usr/share/doc/ipw3945-0.0.69
/usr/share/doc/ipw3945-0.0.69/README.ipw3945.gz
/usr/share/doc/ipw3945-0.0.69/CHANGES.gz
/usr/share/doc/ipw3945-0.0.69/ISSUES.gz
/usr/local/portage/net-wireless/ipw3945d
/usr/local/portage/net-wireless/ipw3945d/ipw3945d-0.7.16.ebuild
/usr/local/portage/net-wireless/ipw3945d/Manifest
/usr/local/portage/net-wireless/ipw3945d/files
/usr/local/portage/net-wireless/ipw3945d/files/digest-ipw3945d-0.7.16
/usr/local/portage/net-wireless/ipw3945-firmware
/usr/local/portage/net-wireless/ipw3945-firmware/Manifest
/usr/local/portage/net-wireless/ipw3945-firmware/files
/usr/local/portage/net-wireless/ipw3945-firmware/files/digest-ipw3945-firmware-1.13
/usr/local/portage/net-wireless/ipw3945-firmware/ipw3945-firmware-1.13.ebuild
/usr/local/portage/net-wireless/ipw3945
/usr/local/portage/net-wireless/ipw3945/Manifest
/usr/local/portage/net-wireless/ipw3945/files
/usr/local/portage/net-wireless/ipw3945/files/digest-ipw3945-0.0.69
/usr/local/portage/net-wireless/ipw3945/files/digest-ipw3945-0.0.70
/usr/local/portage/net-wireless/ipw3945/ipw3945-0.0.69.ebuild
/usr/local/portage/net-wireless/ipw3945/ipw3945-0.0.70.ebuild
/usr/portage/distfiles/ipw3945-ucode-1.13.tgz
/usr/portage/distfiles/ipw3945d-0.7.16.tgz
/usr/portage/distfiles/ipw3945-0.0.69.tgz
/usr/portage/distfiles/ipw3945-0.0.70.tgz
/usr/src/linux-2.6.15-gentoo-r1/drivers/net/wireless/ipw3945.c
/usr/src/linux-2.6.15-gentoo-r1/drivers/net/wireless/ipw3945.h
/usr/src/linux-2.6.15-gentoo-r1/drivers/net/wireless/ipw3945_daemon.h
/usr/src/linux-2.6.15-gentoo-r1/drivers/net/wireless/Kconfig.ipw3945
/usr/src/linux-2.6.15-gentoo-r1/ipw3945-ebuildset.tar.bz2
/etc/modules.d/ipw3945
/lib/firmware/ipw3945.ucode
/lib/firmware/ipw3945-1.13-LICENSE
/lib/modules/2.6.15-gentoo-r1/net/wireless/ipw3945.ko
/sbin/ipw3945d
/root/downloads/ipw3945-ucode-1.13.gz
/root/downloads/ipw3945d-1.7.18.gz
/root/downloads/ipw3945-0.0.71.tar
/root/downloads/ipw3945-0.0.71
/root/downloads/ipw3945-0.0.71/load
/root/downloads/ipw3945-0.0.71/Makefile
/root/downloads/ipw3945-0.0.71/ISSUES
/root/downloads/ipw3945-0.0.71/FILES
/root/downloads/ipw3945-0.0.71/LICENSE
/root/downloads/ipw3945-0.0.71/dvals
/root/downloads/ipw3945-0.0.71/sim_rx.c
/root/downloads/ipw3945-0.0.71/remove-old
/root/downloads/ipw3945-0.0.71/ipw3945_daemon.h
/root/downloads/ipw3945-0.0.71/config
/root/downloads/ipw3945-0.0.71/LICENSE.BSD
/root/downloads/ipw3945-0.0.71/LICENSE.GPL
/root/downloads/ipw3945-0.0.71/GIT_SHA1
/root/downloads/ipw3945-0.0.71/status
/root/downloads/ipw3945-0.0.71/unload
/root/downloads/ipw3945-0.0.71/INSTALL
/root/downloads/ipw3945-0.0.71/CHANGES
/root/downloads/ipw3945-0.0.71/in-tree
/root/downloads/ipw3945-0.0.71/in-tree/Kconfig.ipw3945
/root/downloads/ipw3945-0.0.71/ipw3945.c
/root/downloads/ipw3945-0.0.71/ipw3945.h
/root/downloads/ipw3945-0.0.71/README.ipw3945
/root/downloads/ipw3945-0.0.70.patch.bz2
/root/usr/local/portage/net-wireless/ipw3945d
/root/usr/local/portage/net-wireless/ipw3945d/ipw3945d-0.7.16.ebuild
/root/usr/local/portage/net-wireless/ipw3945d/Manifest
/root/usr/local/portage/net-wireless/ipw3945d/files
/root/usr/local/portage/net-wireless/ipw3945d/files/digest-ipw3945d-0.7.16
/root/usr/local/portage/net-wireless/ipw3945-firmware
/root/usr/local/portage/net-wireless/ipw3945-firmware/Manifest
/root/usr/local/portage/net-wireless/ipw3945-firmware/files
/root/usr/local/portage/net-wireless/ipw3945-firmware/files/digest-ipw3945-firmware-1.13
/root/usr/local/portage/net-wireless/ipw3945-firmware/ipw3945-firmware-1.13.ebuild
/root/usr/local/portage/net-wireless/ipw3945
/root/usr/local/portage/net-wireless/ipw3945/Manifest
/root/usr/local/portage/net-wireless/ipw3945/files
/root/usr/local/portage/net-wireless/ipw3945/files/digest-ipw3945-0.0.69
/root/usr/local/portage/net-wireless/ipw3945/ipw3945-0.0.69.ebuild
/root/usr/portage/licenses/ipw3945-fw
/root/ipw3945-ebuildset.tar.bz2 |
|
|
Back to top |
|
|
moumou n00b
Joined: 01 Apr 2006 Posts: 12 Location: Paris, France
|
Posted: Sat Apr 01, 2006 5:54 am Post subject: |
|
|
sprognak wrote: | Just tried following the steps again from the start yet now I get:
Code: | gloin ipw3945 # /usr/portage/net-wireless/ieee80211/files/remove-old
bash: /usr/portage/net-wireless/ieee80211/files/remove-old: Permission denied
gloin ipw3945 # |
|
The remove-old script is not chmod-ed +x, you need to run
Code: | /bin/sh /usr/portage/net-wireless/ieee80211/files/remove-old /usr/src/linux |
_________________ moobox.moonet.moo - AMD 64 3500+, 1024MB, Geforce 6800GT 256MB, Gentoo Linux 2005.1
moobook.moonet.moo - (Sony Vaio VGN-FE11M) Intel Core Duo T2300, 1024MB, Geforce 7400 Go 256MB (shared), Gentoo Linux 2006.0 |
|
Back to top |
|
|
sprognak n00b
Joined: 30 Mar 2006 Posts: 38
|
Posted: Sat Apr 01, 2006 6:14 am Post subject: |
|
|
Run the script, no change.
Tried a genkernel --menuconfig all and selected ieee.....
Ran the remove script again, it removed it.
Still no change on modprobe and I am no longer able to emerge -av ipw3945.
Redownloaded the bz2 file as VinC says at the start and unzipped to back to the areas. Run an emerge --regen and tried to search for (emerge -s) ipw3945 - nothing found....
It's vanished!!! |
|
Back to top |
|
|
nemectic Apprentice
Joined: 20 Aug 2004 Posts: 182
|
Posted: Sat Apr 01, 2006 6:45 pm Post subject: |
|
|
My only net access is wireless, so I can't connect to the net from gentoo to get these drivers, is there a way I can copy them to cd and then just make them in gentoo?
H |
|
Back to top |
|
|
sprognak n00b
Joined: 30 Mar 2006 Posts: 38
|
Posted: Sat Apr 01, 2006 7:16 pm Post subject: |
|
|
rmh3093 wrote: | Ok people here are some new ebuilds for people to play with.... Thanks again VinzC for starting this project.
New
- svn to make updates easier
- requires in-kernel IEEE80211 subsystem
- corrected paths so downloads dont fail
- ditched the license
- ipw3945d includes rc-script
- useflags for QoS and RFmon
Setup
Code: | echo 'PORTDIR_OVERLAY="/usr/local/ipw3945_ebuilds $PORTDIR_OVERLAY"' >> /etc/make.conf
cd /usr/local
svn co http://opensvn.csie.org/rmh3093/ipw3945_ebuilds
|
Install
Code: | USE="monitor qos" emerge ipw3945 |
Quote: | These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] net-wireless/ipw3945d-0.7.16-r1 0 kB [1]
[ebuild N ] net-wireless/ipw3945-firmware-1.13-r1 0 kB [1]
[ebuild N ] net-wireless/ipw3945-0.0.70-r1 USE="monitor qos" 0 kB [1]
Total size of downloads: 0 kB
Portage overlays:
[1] /usr/local/ipw3945_ebuilds |
Post-Install
Code: | rc-update add ipw3945d boot |
Kismet
Kismet dosen't support the ipw3945 yet but it does support the ipw2200 which uses radiotap, the same headers the ipw3945 for monitor mode so kistmet can be setup like this
Quote: | source=ipw2200,eth1,ipw3945 |
|
Just tried this method on a brand new livecd 2006.0 install of Gentoo. I have emerge --sync'ed, emerge gentoo-source and then followed the aboves. On the emerge - this is what happened...
Code: | gloin local # USE="monitor qos" emerge ipw3945
Calculating dependencies ...done!
>>> emerge (1 of 3) net-wireless/ipw3945d-0.7.16-r1 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/ipw3945d-0.7.16.tgz
--21:13:55-- http://distfiles.gentoo.org/distfiles/ipw3945d-0.7.16.tgz
=> `/usr/portage/distfiles/ipw3945d-0.7.16.tgz'
Resolving distfiles.gentoo.org... 64.50.238.52, 64.50.236.52, 216.165.129.135, ...
Connecting to distfiles.gentoo.org|64.50.238.52|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
21:13:55 ERROR 404: Not Found.
>>> Downloading http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ipw3945d-0.7.16.tgz
--21:13:55-- http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ipw3945d-0.7.16.tgz
=> `/usr/portage/distfiles/ipw3945d-0.7.16.tgz'
Resolving distro.ibiblio.org... 152.2.210.109
Connecting to distro.ibiblio.org|152.2.210.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
21:14:01 ERROR 404: Not Found.
>>> Downloading http://bughost.org/ipw3945/ipw3945d-0.7.16.tgz
--21:14:01-- http://bughost.org/ipw3945/ipw3945d-0.7.16.tgz
=> `/usr/portage/distfiles/ipw3945d-0.7.16.tgz'
Resolving bughost.org... 198.76.39.147
Connecting to bughost.org|198.76.39.147|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 57,270 (56K) [application/x-gzip]
100%[===================================>] 57,270 78.95K/s
21:14:03 (78.69 KB/s) - `/usr/portage/distfiles/ipw3945d-0.7.16.tgz' saved [57270/57270]
>>> md5 files ;-) ipw3945d-0.7.16-r1.ebuild
>>> md5 files ;-) files/ipw3945d
>>> md5 files ;-) files/digest-ipw3945d-0.7.16-r1
>>> md5 files ;-) files/digest-ipw3945d-0.7.16
>>> md5 src_uri ;-) ipw3945d-0.7.16.tgz
>>> Unpacking source...
>>> Unpacking ipw3945d-0.7.16.tgz to /var/tmp/portage/ipw3945d-0.7.16-r1/work
>>> Source unpacked.
>>> Test phase [not enabled]: net-wireless/ipw3945d-0.7.16-r1
>>> Install ipw3945d-0.7.16-r1 into /var/tmp/portage/ipw3945d-0.7.16-r1/image/ category net-wireless
man:
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
sbin/ipw3945d
>>> Completed installing ipw3945d-0.7.16-r1 into /var/tmp/portage/ipw3945d-0.7.16-r1/image/
>>> Merging net-wireless/ipw3945d-0.7.16-r1 to /
--- /sbin/
>>> /sbin/ipw3945d
--- /usr/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/ipw3945d-0.7.16-r1/
>>> /usr/share/doc/ipw3945d-0.7.16-r1/README.ipw3945d.gz
--- /etc/
--- /etc/init.d/
>>> /etc/init.d/ipw3945d
>>> Regenerating /etc/ld.so.cache...
>>> net-wireless/ipw3945d-0.7.16-r1 merged.
>>> clean: No packages selected for removal.
>>> emerge (2 of 3) net-wireless/ipw3945-firmware-1.13-r1 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/ipw3945-ucode-1.13.tgz
--21:14:08-- http://distfiles.gentoo.org/distfiles/ipw3945-ucode-1.13.tgz
=> `/usr/portage/distfiles/ipw3945-ucode-1.13.tgz'
Resolving distfiles.gentoo.org... 64.50.238.52, 64.50.236.52, 216.165.129.135, ...
Connecting to distfiles.gentoo.org|64.50.238.52|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
21:14:08 ERROR 404: Not Found.
>>> Downloading http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ipw3945-ucode-1.13.tgz
--21:14:08-- http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ipw3945-ucode-1.13.tgz
=> `/usr/portage/distfiles/ipw3945-ucode-1.13.tgz'
Resolving distro.ibiblio.org... 152.2.210.109
Connecting to distro.ibiblio.org|152.2.210.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
21:14:09 ERROR 404: Not Found.
>>> Downloading http://bughost.org/ipw3945/ipw3945-ucode-1.13.tgz
--21:14:09-- http://bughost.org/ipw3945/ipw3945-ucode-1.13.tgz
=> `/usr/portage/distfiles/ipw3945-ucode-1.13.tgz'
Resolving bughost.org... 198.76.39.147
Connecting to bughost.org|198.76.39.147|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 61,175 (60K) [application/x-gzip]
100%[===================================>] 61,175 96.87K/s
21:14:10 (96.67 KB/s) - `/usr/portage/distfiles/ipw3945-ucode-1.13.tgz' saved [61175/61175]
>>> md5 files ;-) ipw3945-firmware-1.13-r1.ebuild
>>> md5 files ;-) files/digest-ipw3945-firmware-1.13-r1
>>> md5 files ;-) files/digest-ipw3945-firmware-1.13
>>> md5 src_uri ;-) ipw3945-ucode-1.13.tgz
>>> Unpacking source...
>>> Unpacking ipw3945-ucode-1.13.tgz to /var/tmp/portage/ipw3945-firmware-1.13-r1/work
>>> Source unpacked.
>>> Test phase [not enabled]: net-wireless/ipw3945-firmware-1.13-r1
>>> Install ipw3945-firmware-1.13-r1 into /var/tmp/portage/ipw3945-firmware-1.13-r1/image/ category net-wireless
man:
prepallstrip:
>>> Completed installing ipw3945-firmware-1.13-r1 into /var/tmp/portage/ipw3945-firmware-1.13-r1/image/
>>> Merging net-wireless/ipw3945-firmware-1.13-r1 to /
--- /lib/
>>> /lib/firmware/
>>> /lib/firmware/ipw3945.ucode
>>> Regenerating /etc/ld.so.cache...
>>> net-wireless/ipw3945-firmware-1.13-r1 merged.
>>> clean: No packages selected for removal.
>>> emerge (3 of 3) net-wireless/ipw3945-0.0.70-r2 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/ipw3945-0.0.70.tgz
--21:14:14-- http://distfiles.gentoo.org/distfiles/ipw3945-0.0.70.tgz
=> `/usr/portage/distfiles/ipw3945-0.0.70.tgz'
Resolving distfiles.gentoo.org... 64.50.238.52, 64.50.236.52, 216.165.129.135, ...
Connecting to distfiles.gentoo.org|64.50.238.52|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
21:14:15 ERROR 404: Not Found.
>>> Downloading http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ipw3945-0.0.70.tgz
--21:14:15-- http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ipw3945-0.0.70.tgz
=> `/usr/portage/distfiles/ipw3945-0.0.70.tgz'
Resolving distro.ibiblio.org... 152.2.210.109
Connecting to distro.ibiblio.org|152.2.210.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
21:14:16 ERROR 404: Not Found.
>>> Downloading http://easynews.dl.sourceforge.net/sourceforge/ipw3945/ipw3945-0.0.70.tgz
--21:14:16-- http://easynews.dl.sourceforge.net/sourceforge/ipw3945/ipw3945-0.0.70.tgz
=> `/usr/portage/distfiles/ipw3945-0.0.70.tgz'
Resolving easynews.dl.sourceforge.net... 69.16.168.245
Connecting to easynews.dl.sourceforge.net|69.16.168.245|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 159,106 (155K) [application/x-tar]
100%[===================================>] 159,106 92.09K/s
21:14:18 (91.87 KB/s) - `/usr/portage/distfiles/ipw3945-0.0.70.tgz' saved [159106/159106]
>>> md5 files ;-) ipw3945-0.0.70-r2.ebuild
>>> md5 files ;-) files/enable-monitor_mode.patch
>>> md5 files ;-) files/remove-check_inc.patch
>>> md5 files ;-) files/digest-ipw3945-0.0.70
>>> md5 files ;-) files/digest-ipw3945-0.0.70-r1
>>> md5 files ;-) files/digest-ipw3945-0.0.70-r2
>>> md5 files ;-) files/ipw3945-0.0.70-associate_timeout.patch
>>> md5 files ;-) files/enable-qos.patch
>>> md5 src_uri ;-) ipw3945-0.0.70.tgz
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.
!!! ERROR: net-wireless/ipw3945-0.0.70-r2 failed.
!!! Function linux-info_pkg_setup, Line 537, Exitcode 1
!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, NOT this status message. |
|
|
Back to top |
|
|
sprognak n00b
Joined: 30 Mar 2006 Posts: 38
|
Posted: Sat Apr 01, 2006 7:38 pm Post subject: |
|
|
Update:
1.Just cd'ed to /usr/src/linux and ran make menuconfig
added ieee802.11 support under networking
and under device drivers - network device - non hamradio
then exited and saved the config
2. make oldconfig
3. make modules_prepare
Now I get:
Code: |
ERROR: ieee80211.h not found in '/lib/modules/2.6.15-gentoo-r5/include'.
You need to install the ieee80211 subsystem from http://ieee80211.sf.net
and point this build to the location where you installed those sources, eg.:
% make IEEE80211_INC=/usr/src/ieee80211/
will look for ieee80211.h in /usr/src/ieee80211/net/
make: *** [check_inc] Error 1
!!! ERROR: net-wireless/ipw3945-0.0.70-r2 failed.
!!! Function linux-mod_src_compile, Line 509, Exitcode 2
!!! Unable to make all.
!!! If you need support, post the topmost build error, NOT this status message. |
|
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sun Apr 02, 2006 9:48 am Post subject: |
|
|
moumou wrote: | Version 0.0.73 is out ! I would have updated the svn, but I don't know how to do it :/
I also found why the ebuilds wouldn't work with ieee80211 from portage. It's because it doesn't find the ieee80211.h in /lib/modules/`uname -r`/include. In fact they are in /usr/include. I just added IEEE80211_INCLUDEDIR=/usr/include (if I remember clearly) to the ebuild, in front of the function that compiles the module, and it worked flawlessly |
Ah, that's interresting: do you mean you can now use kernel built-in ieee80211 drivers and not the ones from portage anymore? Could you please post your modified ebuild so I can update mine accordingly?
Thanks a lot for the info. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sun Apr 02, 2006 9:54 am Post subject: |
|
|
nemectic wrote: | My only net access is wireless, so I can't connect to the net from gentoo to get these drivers, is there a way I can copy them to cd and then just make them in gentoo? |
Do you have a USB data storage key? If not you can download my ebuild set and the tarballs from sourceforge then burn them on a CDROM. The tarballs must go into /usr/portage/distfiles. Then extract the ebuild into their overlay directory. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
sprognak n00b
Joined: 30 Mar 2006 Posts: 38
|
Posted: Sun Apr 02, 2006 10:04 am Post subject: |
|
|
Following rmh's ebuild, I get:
Code: | * Preparing ipw3945 module
ERROR: ieee80211.h not found in '/lib/modules/2.6.15-gentoo-r7/include'.
You need to install the ieee80211 subsystem from http://ieee80211.sf.net
and point this build to the location where you installed those sources, eg.:
% make IEEE80211_INC=/usr/src/ieee80211/
will look for ieee80211.h in /usr/src/ieee80211/net/
make: *** [check_inc] Error 1
!!! ERROR: net-wireless/ipw3945-0.0.70-r2 failed.
!!! Function linux-mod_src_compile, Line 509, Exitcode 2
!!! Unable to make all.
!!! If you need support, post the topmost build error, NOT this status message. |
locate ieee80211.h shows the file in
Code: | /usr/src/linux-2.6.15-gentoo-r7/include/net/ieee80211.h
/usr/src/linux-2.6.15-gentoo-r7/include/config/ieee80211.h |
I am using kernel 2.6.15-r7 now which I installed yesterday with the ieee80211 stuff.
If I symlink /usr/src/linux-2.6.15-gentoo/r7/include to /lib/modules/2.6.15-gentoo-r7/include it starts to work then bombs out with this:
Code: | gloin downloads # USE="monitor qos" emerge -v ipw3945
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/ipw3945-0.0.70-r2 to /
>>> md5 files ;-) ipw3945-0.0.70-r2.ebuild
>>> md5 files ;-) files/enable-monitor_mode.patch
>>> md5 files ;-) files/remove-check_inc.patch
>>> md5 files ;-) files/digest-ipw3945-0.0.70
>>> md5 files ;-) files/digest-ipw3945-0.0.70-r1
>>> md5 files ;-) files/digest-ipw3945-0.0.70-r2
>>> md5 files ;-) files/ipw3945-0.0.70-associate_timeout.patch
>>> md5 files ;-) files/enable-qos.patch
>>> md5 src_uri ;-) ipw3945-0.0.70.tgz
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.15-gentoo-r7
* Checking for suitable kernel configuration options:
>>> Unpacking source...
>>> Unpacking ipw3945-0.0.70.tgz to /var/tmp/portage/ipw3945-0.0.70-r2/work
* Applying enable-qos.patch ... [ ok ] * Applying enable-monitor_mode.patch ... [ ok ]>>> Source unpacked.
* Preparing ipw3945 module
mkdir -p /var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/tmp/.tmp_versions
cp /lib/modules/2.6.15-gentoo-r7/net/ieee80211/.tmp_versions/*.mod /var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/tmp/.tmp_versions
cp: cannot stat `/lib/modules/2.6.15-gentoo-r7/net/ieee80211/.tmp_versions/*.mod': No such file or directory
make: [modules] Error 1 (ignored)
make -C /lib/modules/2.6.15-gentoo-r7/build M=/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70 MODVERDIR=/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/src/linux-2.6.15-gentoo-r7'
CC [M] /var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.o
In file included from /var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:68:
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.h:1991: error: field `action' has incomplete type
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c: In function `ipw_add_power_capability':
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:3192: warning: implicit declaration of function `ieee80211_get_channel'
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:3192: warning: initialization makes pointer from integer without a cast
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c: In function `ipw_add_supported_channels':
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:3222: warning: implicit declaration of function `ieee80211_get_channel_flags'
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c: In function `ipw_best_network':
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:7090: error: `NETWORK_HAS_IBSS_DFS' undeclared (first use in this function)
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:7090: error: (Each undeclared identifier is reported only once
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:7090: error: for each function it appears in.)
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:7099: error: `NETWORK_HAS_POWER_CONSTRAINT' undeclared (first use in this function)
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:7108: error: `NETWORK_HAS_TPC_REPORT' undeclared (first use in this function)
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c: In function `ipw_handle_reply_rx':
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:9820: error: unknown field `tsf' specified in initializer
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:9821: error: unknown field `beacon_time' specified in initializer
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:9821: warning: excess elements in struct initializer
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:9821: warning: (near initialization for `stats')
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c: In function `ipw_build_tx_cmd_hwcrypto':
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:13227: error: too many arguments to function
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c: In function `ipw_pci_probe':
/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.c:14734: warning: assignment from incompatible pointer type
make[2]: *** [/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70/ipw3945.o] Error 1
make[1]: *** [_module_/var/tmp/portage/ipw3945-0.0.70-r2/work/ipw3945-0.0.70] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.15-gentoo-r7'
make: *** [modules] Error 2
!!! ERROR: net-wireless/ipw3945-0.0.70-r2 failed.
!!! Function linux-mod_src_compile, Line 509, Exitcode 2
!!! Unable to make all.
!!! If you need support, post the topmost build error, NOT this status message |
I've now been banging away at this for some time. If anyone has any advice please let me know. I'm sure it's something simple.... |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sun Apr 02, 2006 10:49 am Post subject: |
|
|
@sprognak:
I suggest you wiped out your current kernel tree (of course booting from a previous one that worked) and redo all the steps I mentionned to the letter. I'm sure something was messed up in the way. If you follow my howto to the letter no extra steps are required and if you have the slightest little error message again, please post.
So boot up with a previously working kernel, unmerge your latest kernel tree and rm -r it to be sure. Then emerge it again and follow the howto. I've done the same steps with Gentoo Sources 2.6.15-r7 and it worked like a charm.
Note: /usr/src/linux must point to the kernel tree you are compiling against. You'll also be required to compile it once before you can add ipw3945 drivers. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
nemectic Apprentice
Joined: 20 Aug 2004 Posts: 182
|
Posted: Sun Apr 02, 2006 10:49 am Post subject: |
|
|
Quote: | Do you have a USB data storage key? If not you can download my ebuild set and the tarballs from sourceforge then burn them on a CDROM. The tarballs must go into /usr/portage/distfiles. Then extract the ebuild into their overlay directory. |
I have a USB key, ill give it a go as soon as I manage to get this damned GUI installer working, cheers for the help
H |
|
Back to top |
|
|
sprognak n00b
Joined: 30 Mar 2006 Posts: 38
|
Posted: Sun Apr 02, 2006 11:05 am Post subject: |
|
|
VinzC wrote: | @sprognak:
I suggest you wiped out your current kernel tree (of course booting from a previous one that worked) and redo all the steps I mentionned to the letter. I'm sure something was messed up in the way. If you follow my howto to the letter no extra steps are required and if you have the slightest little error message again, please post.
So boot up with a previously working kernel, unmerge your latest kernel tree and rm -r it to be sure. Then emerge it again and follow the howto. I've done the same steps with Gentoo Sources 2.6.15-r7 and it worked like a charm.
Note: /usr/src/linux must point to the kernel tree you are compiling against. You'll also be required to compile it once before you can add ipw3945 drivers. |
Code: | gloin linux # emerge -av ipw3945
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] net-wireless/ieee80211-1.1.13 -debug 65 kB
[ebuild UD] net-wireless/ipw3945d-0.7.16 [0.7.16-r1] 0 kB [1]
[ebuild N ] net-wireless/wireless-tools-28_pre14 -multicall +nls 234 kB
[ebuild UD] net-wireless/ipw3945-firmware-1.13 [1.13-r1] 0 kB [1]
[ebuild N ] net-wireless/ipw3945-0.0.69 155 kB [1]
Total size of downloads: 455 kB
Portage overlays:
[1] /usr/local/portage
Do you want me to merge these packages? [Yes/No] Yes
>>> emerge (1 of 5) net-wireless/ieee80211-1.1.13 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/ieee80211-1.1.13.tgz
--13:02:53-- http://distfiles.gentoo.org/distfiles/ieee80211-1.1.13.tgz
=> `/usr/portage/distfiles/ieee80211-1.1.13.tgz'
Resolving distfiles.gentoo.org... 64.50.238.52, 64.50.236.52, 216.165.129.135, ...
Connecting to distfiles.gentoo.org|64.50.238.52|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
13:02:54 ERROR 404: Not Found.
>>> Downloading http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ieee80211-1.1.13.tgz
--13:02:54-- http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ieee80211-1.1.13.tgz
=> `/usr/portage/distfiles/ieee80211-1.1.13.tgz'
Resolving distro.ibiblio.org... 152.2.210.109
Connecting to distro.ibiblio.org|152.2.210.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
13:02:54 ERROR 404: Not Found.
>>> Downloading http://ovh.dl.sourceforge.net/sourceforge/ieee80211/ieee80211-1.1.13.tgz
--13:02:54-- http://ovh.dl.sourceforge.net/sourceforge/ieee80211/ieee80211-1.1.13.tgz
=> `/usr/portage/distfiles/ieee80211-1.1.13.tgz'
Resolving ovh.dl.sourceforge.net... 213.186.33.91
Connecting to ovh.dl.sourceforge.net|213.186.33.91|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 67,289 (66K) [application/x-gzip]
100%[====================================>] 67,289 220.47K/s
13:02:55 (220.34 KB/s) - `/usr/portage/distfiles/ieee80211-1.1.13.tgz' saved [67289/67289]
>>> md5 files ;-) ieee80211-1.1.9.ebuild
>>> md5 files ;-) ieee80211-1.1.6.ebuild
>>> md5 files ;-) ieee80211-1.1.8.ebuild
>>> md5 files ;-) ieee80211-1.1.7.ebuild
>>> md5 files ;-) ieee80211-1.1.12-r1.ebuild
>>> md5 files ;-) ieee80211-1.1.11.ebuild
>>> md5 files ;-) ieee80211-1.1.12.ebuild
>>> md5 files ;-) ieee80211-1.1.13.ebuild
>>> md5 files ;-) files/digest-ieee80211-1.1.8
>>> md5 files ;-) files/digest-ieee80211-1.1.6
>>> md5 files ;-) files/ieee80211-1.1.8-nocast.patch
>>> md5 files ;-) files/digest-ieee80211-1.1.9
>>> md5 files ;-) files/digest-ieee80211-1.1.7
>>> md5 files ;-) files/remove-old
>>> md5 files ;-) files/digest-ieee80211-1.1.12-r1
>>> md5 files ;-) files/digest-ieee80211-1.1.11
>>> md5 files ;-) files/digest-ieee80211-1.1.12
>>> md5 files ;-) files/ieee80211-1.1.12-qos.patch
>>> md5 files ;-) files/digest-ieee80211-1.1.13
>>> md5 files ;-) files/ieee80211-1.1.12-tkip-qos-new.patch
>>> md5 src_uri ;-) ieee80211-1.1.13.tgz
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.15-gentoo-r7
* Checking for suitable kernel configuration options:
>>> Unpacking source...
>>> Unpacking ieee80211-1.1.13.tgz to /var/tmp/portage/ieee80211-1.1.13/work
>>> Source unpacked.
* Preparing ieee80211 module
make -C /usr/src/linux M=/var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13 modules
make[1]: Entering directory `/usr/src/linux-2.6.15-gentoo-r7'
WARNING: Symbol version dump /usr/src/linux-2.6.15-gentoo-r7/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_module.o
/bin/sh: scripts/genksyms/genksyms: No such file or directory
make[2]: *** [/var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_module.o] Error 1
make[1]: *** [_module_/var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.15-gentoo-r7'
make: *** [modules] Error 2
!!! ERROR: net-wireless/ieee80211-1.1.13 failed.
!!! Function linux-mod_src_compile, Line 509, Exitcode 2
!!! Unable to make KSRC=/usr/src/linux KSRC_OUTPUT=/usr/src/linux modules.
!!! If you need support, post the topmost build error, NOT this status message. |
|
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sun Apr 02, 2006 11:34 am Post subject: |
|
|
What are these -r1 suffixes? Have you renamed the ebuilds in your overlay directory? You don't have to rename them as ebuilds in the overlay take precedece over portage. So you can simply copy the ebuilds into the overlay directory and emerge.
I also advise you to unmerge everything that relates to ipw3945 and restart all over again. The only one case you have to rename an ebuild is when an upgrade version is available from CVS or Sourceforge, like I did with ipw3945.ebuild. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
sprognak n00b
Joined: 30 Mar 2006 Posts: 38
|
Posted: Sun Apr 02, 2006 11:45 am Post subject: |
|
|
Think I just got it... will post if successful |
|
Back to top |
|
|
sprognak n00b
Joined: 30 Mar 2006 Posts: 38
|
Posted: Sun Apr 02, 2006 11:48 am Post subject: |
|
|
Well I think I'm closer...
I rebooted to r5, unmerged r7, rm -r on the r7 source dir. Then I re-emerged r7
Checked the src/linux symlink was now going to r7, then did a genkernel --menuconfig all.
Then I checked the time/datestamp on the /boot kernel image to make sure it updated and rebooted into the new kernel.
Followed your instructions to the letter and got further:
Code: | gloin ~ # emerge -av ipw3945
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] net-wireless/ieee80211-1.1.13 -debug 0 kB
[ebuild UD] net-wireless/ipw3945d-0.7.16 [0.7.16-r1] 0 kB [1]
[ebuild N ] net-wireless/wireless-tools-28_pre14 -multicall +nls 234 kB
[ebuild UD] net-wireless/ipw3945-firmware-1.13 [1.13-r1] 0 kB [1]
[ebuild N ] net-wireless/ipw3945-0.0.69 155 kB [1]
Total size of downloads: 389 kB
Portage overlays:
[1] /usr/local/portage
Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 5) net-wireless/ieee80211-1.1.13 to /
>>> md5 files ;-) ieee80211-1.1.9.ebuild
>>> md5 files ;-) ieee80211-1.1.6.ebuild
>>> md5 files ;-) ieee80211-1.1.8.ebuild
>>> md5 files ;-) ieee80211-1.1.7.ebuild
>>> md5 files ;-) ieee80211-1.1.12-r1.ebuild
>>> md5 files ;-) ieee80211-1.1.11.ebuild
>>> md5 files ;-) ieee80211-1.1.12.ebuild
>>> md5 files ;-) ieee80211-1.1.13.ebuild
>>> md5 files ;-) files/digest-ieee80211-1.1.8
>>> md5 files ;-) files/digest-ieee80211-1.1.6
>>> md5 files ;-) files/ieee80211-1.1.8-nocast.patch
>>> md5 files ;-) files/digest-ieee80211-1.1.9
>>> md5 files ;-) files/digest-ieee80211-1.1.7
>>> md5 files ;-) files/remove-old
>>> md5 files ;-) files/digest-ieee80211-1.1.12-r1
>>> md5 files ;-) files/digest-ieee80211-1.1.11
>>> md5 files ;-) files/digest-ieee80211-1.1.12
>>> md5 files ;-) files/ieee80211-1.1.12-qos.patch
>>> md5 files ;-) files/digest-ieee80211-1.1.13
>>> md5 files ;-) files/ieee80211-1.1.12-tkip-qos-new.patch
>>> md5 src_uri ;-) ieee80211-1.1.13.tgz
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.15-gentoo-r7
* Checking for suitable kernel configuration options:
>>> Unpacking source...
>>> Unpacking ieee80211-1.1.13.tgz to /var/tmp/portage/ieee80211-1.1.13/work
>>> Source unpacked.
* Preparing ieee80211 module
make -C /usr/src/linux M=/var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13 modules
make[1]: Entering directory `/usr/src/linux-2.6.15-gentoo-r7'
CC [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_module.o
CC [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_tx.o
CC [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_rx.o
CC [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_wx.o
CC [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_geo.o
LD [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211.o
CC [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_crypt.o
CC [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_crypt_wep.o
CC [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_crypt_ccmp.o
CC [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_crypt_tkip.o
Building modules, stage 2.
MODPOST
CC /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211.mod.o
LD [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211.ko
CC /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_crypt.mod.o
LD [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_crypt.ko
CC /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_crypt_ccmp.mod.o
LD [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_crypt_ccmp.ko
CC /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_crypt_tkip.mod.o
LD [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_crypt_tkip.ko
CC /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_crypt_wep.mod.o
LD [M] /var/tmp/portage/ieee80211-1.1.13/work/ieee80211-1.1.13/ieee80211_crypt_wep.ko
make[1]: Leaving directory `/usr/src/linux-2.6.15-gentoo-r7'
>>> Test phase [not enabled]: net-wireless/ieee80211-1.1.13
>>> Install ieee80211-1.1.13 into /var/tmp/portage/ieee80211-1.1.13/image/ category net-wireless
* Installing ieee80211 module
* Installing ieee80211_crypt module
* Installing ieee80211_crypt_wep module
* Installing ieee80211_crypt_ccmp module
* Installing ieee80211_crypt_tkip module
man:
prepallstrip:
>>> Completed installing ieee80211-1.1.13 into /var/tmp/portage/ieee80211-1.1.13/image/
>>> Merging net-wireless/ieee80211-1.1.13 to /
--- /lib/
--- /lib/modules/
--- /lib/modules/2.6.15-gentoo-r7/
>>> /lib/modules/2.6.15-gentoo-r7/net/
>>> /lib/modules/2.6.15-gentoo-r7/net/ieee80211/
>>> /lib/modules/2.6.15-gentoo-r7/net/ieee80211/ieee80211.ko
>>> /lib/modules/2.6.15-gentoo-r7/net/ieee80211/ieee80211_crypt.ko
>>> /lib/modules/2.6.15-gentoo-r7/net/ieee80211/ieee80211_crypt_wep.ko
>>> /lib/modules/2.6.15-gentoo-r7/net/ieee80211/ieee80211_crypt_ccmp.ko
>>> /lib/modules/2.6.15-gentoo-r7/net/ieee80211/ieee80211_crypt_tkip.ko
--- /usr/
--- /usr/include/
--- /usr/include/net/
>>> /usr/include/net/ieee80211.h
>>> /usr/include/net/ieee80211_crypt.h
>>> /usr/include/net/ieee80211_radiotap.h
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/ieee80211-1.1.13/
>>> /usr/share/doc/ieee80211-1.1.13/CHANGES.gz
* Updating module dependencies for 2.6.15-gentoo-r7 ... [ ok ] * Adding module to moduledb.
>>> Regenerating /etc/ld.so.cache...
>>> net-wireless/ieee80211-1.1.13 merged.
>>> clean: No packages selected for removal.
>>> emerge (2 of 5) net-wireless/ipw3945d-0.7.16 to /
>>> md5 files ;-) ipw3945d-0.7.16.ebuild
>>> md5 files ;-) files/digest-ipw3945d-0.7.16
>>> md5 src_uri ;-) ipw3945d-0.7.16.tgz
>>> Unpacking source...
>>> Unpacking ipw3945d-0.7.16.tgz to /var/tmp/portage/ipw3945d-0.7.16/work
>>> Source unpacked.
>>> Test phase [not enabled]: net-wireless/ipw3945d-0.7.16
>>> Install ipw3945d-0.7.16 into /var/tmp/portage/ipw3945d-0.7.16/image/ category net-wireless
man:
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
sbin/ipw3945d
>>> Completed installing ipw3945d-0.7.16 into /var/tmp/portage/ipw3945d-0.7.16/image/
>>> Merging net-wireless/ipw3945d-0.7.16 to /
--- /sbin/
>>> /sbin/ipw3945d
--- /usr/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/ipw3945d-0.7.16/
>>> /usr/share/doc/ipw3945d-0.7.16/README.ipw3945d.gz
>>> net-wireless/ipw3945d-0.7.16 merged.
net-wireless/ipw3945d
selected: 0.7.16-r1
protected: 0.7.16
omitted: none
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging net-wireless/ipw3945d-0.7.16-r1...
No package files given... Grabbing a set.
<<< obj /usr/share/doc/ipw3945d-0.7.16-r1/README.ipw3945d.gz
--- !mtime obj /sbin/ipw3945d
--- cfgpro obj /etc/init.d/ipw3945d
--- cfgpro dir /etc/init.d
<<< dir /usr/share/doc/ipw3945d-0.7.16-r1
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr
--- !empty dir /sbin
--- !empty dir /etc
>>> Regenerating /etc/ld.so.cache...
>>> emerge (3 of 5) net-wireless/wireless-tools-28_pre14 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/wireless_tools.28.pre14.tar.gz
--13:44:50-- http://distfiles.gentoo.org/distfiles/wireless_tools.28.pre14.tar.gz
=> `/usr/portage/distfiles/wireless_tools.28.pre14.tar.gz'
Resolving distfiles.gentoo.org... 64.50.238.52, 64.50.236.52, 216.165.129.135, ...
Connecting to distfiles.gentoo.org|64.50.238.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 240,275 (235K) [application/x-gzip]
100%[==============================================================================================>] 240,275 202.04K/s
13:44:52 (201.44 KB/s) - `/usr/portage/distfiles/wireless_tools.28.pre14.tar.gz' saved [240275/240275]
>>> md5 files ;-) wireless-tools-28_pre10.ebuild
>>> md5 files ;-) wireless-tools-28_pre11.ebuild
>>> md5 files ;-) wireless-tools-27-r1.ebuild
>>> md5 files ;-) wireless-tools-28_pre13.ebuild
>>> md5 files ;-) wireless-tools-28_pre12.ebuild
>>> md5 files ;-) wireless-tools-28_pre14.ebuild
>>> md5 files ;-) wireless-tools-28_pre15.ebuild
>>> md5 files ;-) wireless-tools-28_pre16.ebuild
>>> md5 files ;-) files/digest-wireless-tools-28_pre12
>>> md5 files ;-) files/digest-wireless-tools-27-r1
>>> md5 files ;-) files/digest-wireless-tools-28_pre10
>>> md5 files ;-) files/digest-wireless-tools-28_pre11
>>> md5 files ;-) files/digest-wireless-tools-28_pre13
>>> md5 files ;-) files/digest-wireless-tools-28_pre14
>>> md5 files ;-) files/digest-wireless-tools-28_pre15
>>> md5 files ;-) files/digest-wireless-tools-28_pre16
>>> md5 src_uri ;-) wireless_tools.28.pre14.tar.gz
>>> Unpacking source...
>>> Unpacking wireless_tools.28.pre14.tar.gz to /var/tmp/portage/wireless-tools-28_pre14/work
>>> Source unpacked.
cp wireless.19.h wireless.h
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -fPIC -c -o iwlib.so iwlib.c
i686-pc-linux-gnu-gcc -shared -o libiw.so.28 -Wl,-soname,libiw.so.28 -lm -lc iwlib.so
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -c iwconfig.c
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -o iwconfig iwconfig.o libiw.so.28 -lm
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -c iwlist.c
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -o iwlist iwlist.o libiw.so.28 -lm
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -c iwpriv.c
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -o iwpriv iwpriv.o libiw.so.28 -lm
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -c iwspy.c
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -o iwspy iwspy.o libiw.so.28 -lm
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -c iwgetid.c
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -o iwgetid iwgetid.o libiw.so.28 -lm
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -c iwevent.c
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -o iwevent iwevent.o libiw.so.28 -lm
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -c ifrename.c
i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -MMD -o ifrename ifrename.o libiw.so.28 -lm
>>> Test phase [not enabled]: net-wireless/wireless-tools-28_pre14
>>> Install wireless-tools-28_pre14 into /var/tmp/portage/wireless-tools-28_pre14/image/ category net-wireless
install -m 755 -d /var/tmp/portage/wireless-tools-28_pre14/image//lib/
install -m 755 libiw.so.28 /var/tmp/portage/wireless-tools-28_pre14/image//lib/
ln -sfn libiw.so.28 /var/tmp/portage/wireless-tools-28_pre14/image//lib//libiw.so
*** Don't forget to add /var/tmp/portage/wireless-tools-28_pre14/image//lib/ to /etc/ld.so.conf, and run ldconfig as root. ***
#@ldconfig || echo "*** Could not run ldconfig ! ***"
install -m 755 -d /var/tmp/portage/wireless-tools-28_pre14/image//sbin/
install -m 755 iwconfig iwlist iwpriv iwspy iwgetid iwevent ifrename /var/tmp/portage/wireless-tools-28_pre14/image//sbin/
install -m 755 -d /var/tmp/portage/wireless-tools-28_pre14/image//usr/include
install -m 644 iwlib.h /var/tmp/portage/wireless-tools-28_pre14/image//usr/include
install -m 644 wireless.h /var/tmp/portage/wireless-tools-28_pre14/image//usr/include
install -m 755 -d /var/tmp/portage/wireless-tools-28_pre14/image//usr/share/man/man8/
install -m 644 iwconfig.8 iwlist.8 iwpriv.8 iwspy.8 iwgetid.8 iwevent.8 ifrename.8 /var/tmp/portage/wireless-tools-28_pre14/image//usr/share/man/man8/
install -m 755 -d /var/tmp/portage/wireless-tools-28_pre14/image//usr/share/man/man7/
install -m 644 wireless.7 /var/tmp/portage/wireless-tools-28_pre14/image//usr/share/man/man7/
install -m 755 -d /var/tmp/portage/wireless-tools-28_pre14/image//usr/share/man/man5/
install -m 644 iftab.5 /var/tmp/portage/wireless-tools-28_pre14/image//usr/share/man/man5/
man:
gzipping man page: iwconfig.8
gzipping man page: iwlist.8
gzipping man page: iwpriv.8
gzipping man page: iwspy.8
gzipping man page: iwgetid.8
gzipping man page: iwevent.8
gzipping man page: ifrename.8
gzipping man page: wireless.7
gzipping man page: iftab.5
gzipping man page: iftab.5
gzipping man page: wireless.7
gzipping man page: ifrename.8
gzipping man page: iwconfig.8
gzipping man page: iwevent.8
gzipping man page: iwgetid.8
gzipping man page: iwlist.8
gzipping man page: iwpriv.8
gzipping man page: iwspy.8
gzipping man page: iftab.5
gzipping man page: wireless.7
gzipping man page: ifrename.8
gzipping man page: iwconfig.8
gzipping man page: iwevent.8
gzipping man page: iwgetid.8
gzipping man page: iwlist.8
gzipping man page: iwpriv.8
gzipping man page: iwspy.8
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
lib/libiw.so.28
sbin/iwconfig
sbin/iwlist
sbin/iwpriv
sbin/iwspy
sbin/iwgetid
sbin/iwevent
sbin/ifrename
making executable: /lib/libiw.so.28
>>> Completed installing wireless-tools-28_pre14 into /var/tmp/portage/wireless-tools-28_pre14/image/
>>> Merging net-wireless/wireless-tools-28_pre14 to /
--- /lib/
>>> /lib/libiw.so.28
>>> /lib/libiw.so -> libiw.so.28
--- /sbin/
>>> /sbin/iwconfig
>>> /sbin/iwlist
>>> /sbin/iwpriv
>>> /sbin/iwspy
>>> /sbin/iwgetid
>>> /sbin/iwevent
>>> /sbin/ifrename
--- /usr/
--- /usr/include/
>>> /usr/include/iwlib.h
>>> /usr/include/wireless.h
--- /usr/share/
--- /usr/share/man/
--- /usr/share/man/man8/
>>> /usr/share/man/man8/iwlist.8.gz
>>> /usr/share/man/man8/iwspy.8.gz
>>> /usr/share/man/man8/iwgetid.8.gz
>>> /usr/share/man/man8/iwevent.8.gz
>>> /usr/share/man/man8/ifrename.8.gz
>>> /usr/share/man/man8/iwconfig.8.gz
>>> /usr/share/man/man8/iwpriv.8.gz
--- /usr/share/man/man7/
>>> /usr/share/man/man7/wireless.7.gz
--- /usr/share/man/man5/
>>> /usr/share/man/man5/iftab.5.gz
--- /usr/share/man/fr/
--- /usr/share/man/fr/man5/
>>> /usr/share/man/fr/man5/iftab.5.gz
>>> /usr/share/man/fr/man7/
>>> /usr/share/man/fr/man7/wireless.7.gz
--- /usr/share/man/fr/man8/
>>> /usr/share/man/fr/man8/iwevent.8.gz
>>> /usr/share/man/fr/man8/iwgetid.8.gz
>>> /usr/share/man/fr/man8/iwlist.8.gz
>>> /usr/share/man/fr/man8/iwpriv.8.gz
>>> /usr/share/man/fr/man8/iwspy.8.gz
>>> /usr/share/man/fr/man8/ifrename.8.gz
>>> /usr/share/man/fr/man8/iwconfig.8.gz
--- /usr/share/man/cs/
--- /usr/share/man/cs/man5/
>>> /usr/share/man/cs/man5/iftab.5.gz
>>> /usr/share/man/cs/man7/
>>> /usr/share/man/cs/man7/wireless.7.gz
--- /usr/share/man/cs/man8/
>>> /usr/share/man/cs/man8/iwevent.8.gz
>>> /usr/share/man/cs/man8/iwgetid.8.gz
>>> /usr/share/man/cs/man8/iwlist.8.gz
>>> /usr/share/man/cs/man8/iwpriv.8.gz
>>> /usr/share/man/cs/man8/iwspy.8.gz
>>> /usr/share/man/cs/man8/ifrename.8.gz
>>> /usr/share/man/cs/man8/iwconfig.8.gz
--- /usr/share/doc/
>>> /usr/share/doc/wireless-tools-28_pre14/
>>> /usr/share/doc/wireless-tools-28_pre14/README.fr.gz
>>> /usr/share/doc/wireless-tools-28_pre14/CHANGELOG.h.gz
>>> /usr/share/doc/wireless-tools-28_pre14/HOTPLUG.txt.gz
>>> /usr/share/doc/wireless-tools-28_pre14/DISTRIBUTIONS.txt.gz
>>> /usr/share/doc/wireless-tools-28_pre14/PCMCIA.txt.gz
>>> /usr/share/doc/wireless-tools-28_pre14/IFRENAME-VS-XXX.txt.gz
>>> /usr/share/doc/wireless-tools-28_pre14/README.gz
>>> Regenerating /etc/ld.so.cache...
>>> net-wireless/wireless-tools-28_pre14 merged.
>>> clean: No packages selected for removal.
>>> emerge (4 of 5) net-wireless/ipw3945-firmware-1.13 to /
>>> md5 files ;-) ipw3945-firmware-1.13.ebuild
>>> md5 files ;-) files/digest-ipw3945-firmware-1.13
>>> md5 src_uri ;-) ipw3945-ucode-1.13.tgz
>>> Unpacking source...
>>> Unpacking ipw3945-ucode-1.13.tgz to /var/tmp/portage/ipw3945-firmware-1.13/work
>>> Source unpacked.
>>> Test phase [not enabled]: net-wireless/ipw3945-firmware-1.13
>>> Install ipw3945-firmware-1.13 into /var/tmp/portage/ipw3945-firmware-1.13/image/ category net-wireless
man:
prepallstrip:
>>> Completed installing ipw3945-firmware-1.13 into /var/tmp/portage/ipw3945-firmware-1.13/image/
>>> Merging net-wireless/ipw3945-firmware-1.13 to /
--- /lib/
--- /lib/firmware/
>>> /lib/firmware/ipw3945.ucode
>>> /lib/firmware/ipw3945-1.13-LICENSE
>>> net-wireless/ipw3945-firmware-1.13 merged.
net-wireless/ipw3945-firmware
selected: 1.13-r1
protected: 1.13
omitted: none
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging net-wireless/ipw3945-firmware-1.13-r1...
No package files given... Grabbing a set.
--- !mtime obj /lib/firmware/ipw3945.ucode
--- !empty dir /lib/firmware
--- !empty dir /lib
>>> Regenerating /etc/ld.so.cache...
>>> emerge (5 of 5) net-wireless/ipw3945-0.0.69 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/ipw3945-0.0.69.tgz
--13:45:14-- http://distfiles.gentoo.org/distfiles/ipw3945-0.0.69.tgz
=> `/usr/portage/distfiles/ipw3945-0.0.69.tgz'
Resolving distfiles.gentoo.org... 64.50.238.52, 64.50.236.52, 216.165.129.135, ...
Connecting to distfiles.gentoo.org|64.50.238.52|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
13:45:14 ERROR 404: Not Found.
>>> Downloading http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ipw3945-0.0.69.tgz
--13:45:14-- http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ipw3945-0.0.69.tgz
=> `/usr/portage/distfiles/ipw3945-0.0.69.tgz'
Resolving distro.ibiblio.org... 152.2.210.109
Connecting to distro.ibiblio.org|152.2.210.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
13:45:15 ERROR 404: Not Found.
>>> Downloading http://osdn.dl.sourceforge.net/sourceforge/ipw3945/ipw3945-0.0.69.tgz
--13:45:15-- http://osdn.dl.sourceforge.net/sourceforge/ipw3945/ipw3945-0.0.69.tgz
=> `/usr/portage/distfiles/ipw3945-0.0.69.tgz'
Resolving osdn.dl.sourceforge.net... 66.35.250.221
Connecting to osdn.dl.sourceforge.net|66.35.250.221|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 158,799 (155K) [application/x-tar-gz]
100%[==============================================================================================>] 158,799 54.67K/s
13:45:19 (54.54 KB/s) - `/usr/portage/distfiles/ipw3945-0.0.69.tgz' saved [158799/158799]
>>> md5 files ;-) ipw3945-0.0.69.ebuild
>>> md5 files ;-) files/digest-ipw3945-0.0.69
>>> md5 src_uri ;-) ipw3945-0.0.69.tgz
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.15-gentoo-r7
* Checking for suitable kernel configuration options:
>>> Unpacking source...
>>> Unpacking ipw3945-0.0.69.tgz to /var/tmp/portage/ipw3945-0.0.69/work
>>> Source unpacked.
*
* You may safely ignore any errors from compilation that contain
* warnings about undefined references to the ieee80211 subsystem.
*
* Preparing ipw3945 module
mkdir -p /var/tmp/portage/ipw3945-0.0.69/work/ipw3945-0.0.69/tmp/.tmp_versions
cp /usr/include/*.mod /var/tmp/portage/ipw3945-0.0.69/work/ipw3945-0.0.69/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/ipw3945-0.0.69/work/ipw3945-0.0.69 MODVERDIR=/var/tmp/portage/ipw3945-0.0.69/work/ipw3945-0.0.69/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/src/linux-2.6.15-gentoo-r7'
CC [M] /var/tmp/portage/ipw3945-0.0.69/work/ipw3945-0.0.69/ipw3945.o
Building modules, stage 2.
MODPOST
*** Warning: "ieee80211_get_channel_flags" [/var/tmp/portage/ipw3945-0.0.69/work/ipw3945-0.0.69/ipw3945.ko] undefined!
*** Warning: "ieee80211_get_channel" [/var/tmp/portage/ipw3945-0.0.69/work/ipw3945-0.0.69/ipw3945.ko] undefined!
CC /var/tmp/portage/ipw3945-0.0.69/work/ipw3945-0.0.69/ipw3945.mod.o
LD [M] /var/tmp/portage/ipw3945-0.0.69/work/ipw3945-0.0.69/ipw3945.ko
make[1]: Leaving directory `/usr/src/linux-2.6.15-gentoo-r7'
>>> Test phase [not enabled]: net-wireless/ipw3945-0.0.69
>>> Install ipw3945-0.0.69 into /var/tmp/portage/ipw3945-0.0.69/image/ category net-wireless
* Installing ipw3945 module
* Preparing file for modules.d ... [ ok ]man:
prepallstrip:
>>> Completed installing ipw3945-0.0.69 into /var/tmp/portage/ipw3945-0.0.69/image/
>>> Merging net-wireless/ipw3945-0.0.69 to /
--- /lib/
--- /lib/modules/
--- /lib/modules/2.6.15-gentoo-r7/
--- /lib/modules/2.6.15-gentoo-r7/net/
>>> /lib/modules/2.6.15-gentoo-r7/net/wireless/
>>> /lib/modules/2.6.15-gentoo-r7/net/wireless/ipw3945.ko
--- /etc/
--- /etc/modules.d/
>>> /etc/modules.d/ipw3945
--- /usr/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/ipw3945-0.0.69/
>>> /usr/share/doc/ipw3945-0.0.69/README.ipw3945.gz
>>> /usr/share/doc/ipw3945-0.0.69/CHANGES.gz
>>> /usr/share/doc/ipw3945-0.0.69/ISSUES.gz
* Updating module dependencies for 2.6.15-gentoo-r7 ... [ ok ] * Adding module to moduledb.
>>> Regenerating /etc/ld.so.cache...
>>> net-wireless/ipw3945-0.0.69 merged.
>>> Recording net-wireless/ipw3945 in "world" favorites file...
>>> clean: No packages selected for removal.
>>> Auto-cleaning packages ...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
* IMPORTANT: 19 config files in /etc need updating.
* Type emerge --help config to learn how to update config files.
gloin ~ # modprobe ipw3945
WARNING: Error inserting ieee80211 (/lib/modules/2.6.15-gentoo-r7/net/ieee80211/ieee80211.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting ipw3945 (/lib/modules/2.6.15-gentoo-r7/net/wireless/ipw3945.ko): Unknown symbol in module, or unknown parameter (see dmesg)
gloin ~ # |
dmesg shows:
Code: | ieee80211_crypt: registered algorithm 'NULL'
ieee80211: disagrees about version of symbol ieee80211_get_crypto_ops
ieee80211: Unknown symbol ieee80211_get_crypto_ops
ieee80211: disagrees about version of symbol ieee80211_crypt_deinit_entries
ieee80211: Unknown symbol ieee80211_crypt_deinit_entries
ieee80211: disagrees about version of symbol ieee80211_crypt_delayed_deinit
ieee80211: Unknown symbol ieee80211_crypt_delayed_deinit
ieee80211: disagrees about version of symbol ieee80211_crypt_quiescing
ieee80211: Unknown symbol ieee80211_crypt_quiescing
ipw3945: Unknown symbol ieee80211_get_channel
ipw3945: Unknown symbol ieee80211_get_channel_flags |
|
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sun Apr 02, 2006 12:51 pm Post subject: |
|
|
Hmmm... It looks like ieee80211 has not been linked correctly. Have you run Code: | /bin/sh /usr/portage/net-wireless/ieee80211/files/remove-old /usr/src/linux | before you emerged the package from portage?
First try to remove ipw3945 (only that one) and ieee80211. Next run Code: | /bin/sh /usr/portage/net-wireless/ieee80211/files/remove-old /usr/src/linux | and emerge both again. Note wireless tools must be present before all packages are merged but at least you've gone one step further. When I compiled ieee80211 I got a couple of warnings. So I'm surprised you didn't get any. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
sprognak n00b
Joined: 30 Mar 2006 Posts: 38
|
Posted: Sun Apr 02, 2006 12:58 pm Post subject: |
|
|
Yep, I ran the script to kill the old stuff from the kernel before the emerge of ipw3945. This is becoming very frustrating... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|