Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ipw3945 wireless drivers
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5 ... 30, 31, 32  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sprognak
n00b
n00b


Joined: 30 Mar 2006
Posts: 38

PostPosted: Sun Apr 02, 2006 1:01 pm    Post subject: Reply with quote

Just tried emerge -av ipw3945 again and it let me.

Code:
gloin ~ # emerge -av ipw3945

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-wireless/ipw3945-0.0.69  0 kB [1]

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage

Do you want me to merge these packages? [Yes/No] yes
>>> emerge (1 of 1) net-wireless/ipw3945-0.0.69 to /
>>> 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
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/share/doc/ipw3945-0.0.69/README.ipw3945.gz
--- !mtime obj /usr/share/doc/ipw3945-0.0.69/ISSUES.gz
--- !mtime obj /usr/share/doc/ipw3945-0.0.69/CHANGES.gz
--- cfgpro obj /lib/modules/2.6.15-gentoo-r7/net/wireless/ipw3945.ko
--- cfgpro dir /lib/modules/2.6.15-gentoo-r7/net/wireless
--- cfgpro dir /lib/modules/2.6.15-gentoo-r7/net
--- cfgpro dir /lib/modules/2.6.15-gentoo-r7
--- cfgpro obj /etc/modules.d/ipw3945
--- cfgpro dir /etc/modules.d
--- !empty dir /usr/share/doc/ipw3945-0.0.69
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr
--- !empty dir /lib/modules
--- !empty dir /lib
--- !empty dir /etc
 * Removing net-wireless/ipw3945-0.0.69 from moduledb.
>>> original instance of package unmerged safely.
 * 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.

>>> 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


If I type emerge -av ipw3945 again it does the same.... Something isn't working properly on the emerge...
Back to top
View user's profile Send private message
sprognak
n00b
n00b


Joined: 30 Mar 2006
Posts: 38

PostPosted: Sun Apr 02, 2006 1:02 pm    Post subject: Reply with quote

Code:
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)


Could this be a problem?
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Apr 02, 2006 1:04 pm    Post subject: Reply with quote

I think I've got that kind of thing once. IIRC I just unmerged ieee80211 and re-emerged it again. Then the same with ipw3945.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
sprognak
n00b
n00b


Joined: 30 Mar 2006
Posts: 38

PostPosted: Sun Apr 02, 2006 1:10 pm    Post subject: Reply with quote

unmerged ipw3945, then ieee80211, ran script to clean kernel version - nothing found.

remerged ipw3945 - it selected ieee80211 and remerged - same problem.

unmerged ipw3945, then ieee80211, remerged 80211 then 3945 - same problem

unmerged ieee80211, remerged 80211, unmerged ipw3945, remerged ipw3945 - same problem...

*edit* I'm pretty convinced everything is coming down properly, but the ipw3945 is not for some reason, it seems to start at that dir copy error...

*edit again* Ok, the error is identical if I remove ipw3945 to if I have ipw3945 emerged, which would indicate it is ipw3945 not emerging properly....
Back to top
View user's profile Send private message
sprognak
n00b
n00b


Joined: 30 Mar 2006
Posts: 38

PostPosted: Sun Apr 02, 2006 1:29 pm    Post subject: Reply with quote

VinzC, what do you have in /usr/include/*.mod?
Back to top
View user's profile Send private message
sprognak
n00b
n00b


Joined: 30 Mar 2006
Posts: 38

PostPosted: Sun Apr 02, 2006 1:36 pm    Post subject: Reply with quote

Wait a sec, I had the same error of these mod files not being found by rmh's ebuild earlier.

I've since moved his ebuild out, removed it from the make.conf list and done a clean kernel rebuild (unmerge and remerge) but could something be hanging over? How do I check?
Back to top
View user's profile Send private message
sprognak
n00b
n00b


Joined: 30 Mar 2006
Posts: 38

PostPosted: Sun Apr 02, 2006 2:40 pm    Post subject: Reply with quote

Ok well this appears to be a dead end...

I have unmerged everything, purged the modules and rerun make modules_install to clean things up.

I followed the ipw3945 sourceforge website with all latest versions, installed ieee80211. No error messages all the way through....

Except on the trial of ./load debug=0 it bombs out with:

Code:
gloin ipw3945-0.0.73 # ./load debug=0
ERROR: Module ieee80211 does not exist in /proc/modules
Unloaded: ieee80211 ieee80211_crypt
FATAL: Error inserting ieee80211 (/lib/modules/2.6.15-gentoo-r7/net/ieee80211/ieee80211.ko): Unknown symbol in module, or unknown parameter (see dmesg)
insmod: error inserting './ipw3945.ko': -1 Unknown symbol in module
Load failed.
ipw3945d - regulatory daemon
Copyright (C) 2005-2006 Intel Corporation. All rights reserved.
version: 1.7.18
2006-04-02 16:39:37: ERROR: opening /sys/bus/pci/drivers/ipw3945:
No such file or directory (2)
2006-04-02 16:39:37: ERROR: Could not find Intel PRO/Wireless 3945ABG Network Connection
gloin ipw3945-0.0.73 #


and dmesg says:

Code:
ieee80211_crypt: unregistered algorithm 'NULL'
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: disagrees about version of symbol ieee80211_wx_get_encodeext
ipw3945: Unknown symbol ieee80211_wx_get_encodeext
ipw3945: disagrees about version of symbol ieee80211_wx_set_encode
ipw3945: Unknown symbol ieee80211_wx_set_encode
ipw3945: disagrees about version of symbol ieee80211_wx_get_encode
ipw3945: Unknown symbol ieee80211_wx_get_encode
ipw3945: disagrees about version of symbol ieee80211_txb_free
ipw3945: Unknown symbol ieee80211_txb_free
ipw3945: disagrees about version of symbol ieee80211_wx_set_encodeext
ipw3945: Unknown symbol ieee80211_wx_set_encodeext
ipw3945: disagrees about version of symbol ieee80211_wx_get_scan
ipw3945: Unknown symbol ieee80211_wx_get_scan
ipw3945: disagrees about version of symbol ieee80211_freq_to_channel
ipw3945: Unknown symbol ieee80211_freq_to_channel
ipw3945: disagrees about version of symbol ieee80211_set_geo
ipw3945: Unknown symbol ieee80211_set_geo
ipw3945: disagrees about version of symbol ieee80211_rx
ipw3945: Unknown symbol ieee80211_rx
ipw3945: Unknown symbol ieee80211_get_channel
ipw3945: disagrees about version of symbol ieee80211_channel_to_index
ipw3945: Unknown symbol ieee80211_channel_to_index
ipw3945: disagrees about version of symbol ieee80211_rx_mgt
ipw3945: Unknown symbol ieee80211_rx_mgt
ipw3945: disagrees about version of symbol ieee80211_get_geo
ipw3945: Unknown symbol ieee80211_get_geo
ipw3945: disagrees about version of symbol free_ieee80211
ipw3945: Unknown symbol free_ieee80211
ipw3945: disagrees about version of symbol ieee80211_tx_frame
ipw3945: Unknown symbol ieee80211_tx_frame
ipw3945: disagrees about version of symbol ieee80211_is_valid_channel
ipw3945: Unknown symbol ieee80211_is_valid_channel
ipw3945: Unknown symbol ieee80211_get_channel_flags
ipw3945: disagrees about version of symbol alloc_ieee80211
ipw3945: Unknown symbol alloc_ieee80211
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Apr 02, 2006 4:25 pm    Post subject: Reply with quote

First have you got these questions while running the remove-old script?
Code:
# /bin/sh /usr/portage/net-wireless/ieee80211/files/remove-old /usr/src/linux
Checking in /usr/src/linux/ for ieee80211 components...
/usr/src/linux/include/config/ieee80211.h
Above files found.  Remove? [y],n
#undef CONFIG_IEEE80211
Above definitions found.  Comment out? [y], n

Use the default answers (Y). You also MUST unselect ieee80211 support in your kernel beforehand. Sorry to repeat this but just in case.

I'm currently checking all the steps I indicated and re-emerging ieee80211. I'll be back once I've done everything once again.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Apr 02, 2006 4:26 pm    Post subject: Reply with quote

sprognak wrote:
VinzC, what do you have in /usr/include/*.mod?

Code:
# ls -l /usr/include/*.mod
ls: /usr/include/*.mod: No such file or directory

EDIT: Well, that all worked. No warning while compiling ieee80211 :roll: .
Code:
# emerge -av ipw3945

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-wireless/ipw3945-0.0.70  0 kB [1]

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage

Do you want me to merge these packages? [Yes/No]
>>> emerge (1 of 1) net-wireless/ipw3945-0.0.70 to /
>>> md5 files   ;-) ipw3945-0.0.69.ebuild
>>> md5 files   ;-) ipw3945-0.0.70.ebuild
>>> md5 files   ;-) files/digest-ipw3945-0.0.69
>>> md5 files   ;-) files/digest-ipw3945-0.0.70
>>> 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.16-gentoo-r1
 * Checking for suitable kernel configuration options:
>>> Unpacking source...
>>> Unpacking ipw3945-0.0.70.tgz to /var/tmp/portage/ipw3945-0.0.70/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.70/work/ipw3945-0.0.70/tmp/.tmp_versions
cp /usr/include/*.mod /var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/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.70/work/ipw3945-0.0.70 MODVERDIR=/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/src/linux-2.6.16-gentoo-r1'
  CC [M]  /var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.o
  Building modules, stage 2.
  MODPOST
*** Warning: "free_ieee80211" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "alloc_ieee80211" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_wx_get_encodeext" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_wx_set_encodeext" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_wx_get_encode" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_wx_set_encode" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_wx_get_scan" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_freq_to_channel" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_rx" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_rx_mgt" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_channel_to_index" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "escape_essid" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_txb_free" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_is_valid_channel" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_set_geo" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_tx_frame" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_get_channel_flags" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_get_channel" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
*** Warning: "ieee80211_get_geo" [/var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko] undefined!
  CC      /var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.mod.o
  LD [M]  /var/tmp/portage/ipw3945-0.0.70/work/ipw3945-0.0.70/ipw3945.ko
make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r1'
>>> Test phase [not enabled]: net-wireless/ipw3945-0.0.70

>>> Install ipw3945-0.0.70 into /var/tmp/portage/ipw3945-0.0.70/image/ category net-wireless
 * Installing ipw3945 module
 * Preparing file for modules.d ...                                       [ ok ]
man:
prepallstrip:
>>> Completed installing ipw3945-0.0.70 into /var/tmp/portage/ipw3945-0.0.70/image/

>>> Merging net-wireless/ipw3945-0.0.70 to /
--- /etc/
--- /etc/modules.d/
>>> /etc/modules.d/ipw3945
--- /lib/
--- /lib/modules/
--- /lib/modules/2.6.16-gentoo-r1/
--- /lib/modules/2.6.16-gentoo-r1/net/
--- /lib/modules/2.6.16-gentoo-r1/net/wireless/
>>> /lib/modules/2.6.16-gentoo-r1/net/wireless/ipw3945.ko
--- /usr/
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/ipw3945-0.0.70/
>>> /usr/share/doc/ipw3945-0.0.70/ISSUES.gz
>>> /usr/share/doc/ipw3945-0.0.70/README.ipw3945.gz
>>> /usr/share/doc/ipw3945-0.0.70/CHANGES.gz
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/share/doc/ipw3945-0.0.70/README.ipw3945.gz
--- !mtime obj /usr/share/doc/ipw3945-0.0.70/ISSUES.gz
--- !mtime obj /usr/share/doc/ipw3945-0.0.70/CHANGES.gz
--- cfgpro obj /lib/modules/2.6.16-gentoo-r1/net/wireless/ipw3945.ko
--- cfgpro dir /lib/modules/2.6.16-gentoo-r1/net/wireless
--- cfgpro dir /lib/modules/2.6.16-gentoo-r1/net
--- cfgpro dir /lib/modules/2.6.16-gentoo-r1
--- cfgpro obj /etc/modules.d/ipw3945
--- cfgpro dir /etc/modules.d
--- !empty dir /usr/share/doc/ipw3945-0.0.70
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr
--- !empty dir /lib/modules
--- !empty dir /lib
--- !empty dir /etc
 * Removing net-wireless/ipw3945-0.0.70 from moduledb.
>>> original instance of package unmerged safely.
 * Updating module dependencies for 2.6.16-gentoo-r1 ...                  [ ok ]
 * Adding module to moduledb.
>>> Regenerating /etc/ld.so.cache...
>>> net-wireless/ipw3945-0.0.70 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.

See the warnings? You get them because ieee80211 binaries are not included in ipw3945 temporary tree while compiling. Hence it's referencing unknown symbols at link time. But it doesn't harm.

Note I have ipw3945 version 0.0.70. Just copy-rename the ebuild. That's all.

EDIT: just in case...
Code:
# cat $(equery w ipw3945)
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Author: VinzC (vcadet@hotmail.com)

inherit linux-mod

# The following works with both pre-releases and releases
S=${WORKDIR}/${P}

IEEE80211_VERSION="1.1.11"
FW_VERSION="1.13"
IPWD_VERSION="0.7.16"

DESCRIPTION="Intel(R) PRO/Wireless 3945 Network Connection driver for Linux"
HOMEPAGE="http://ipw3945.sourceforge.net"
SRC_URI="http://osdn.dl.sourceforge.net/sourceforge/${PN}/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

IUSE=""
DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}"
RDEPEND="${DEPEND}
                =net-wireless/ipw3945d-${IPWD_VERSION}
                =net-wireless/ipw3945-firmware-${FW_VERSION}
                net-wireless/wireless-tools"

BUILD_TARGETS="all"
MODULE_NAMES="ipw3945(net/wireless:)"
MODULESD_IPW3945_DOCS="README.ipw3945"

CONFIG_CHECK="NET_RADIO FW_LOADER"
ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)."

pkg_setup() {
        linux-mod_pkg_setup

        if kernel_is 2 4; then
                die "${P} does not support building against kernel 2.4.x"
        fi

        BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR} IEEE80211_INC=/usr/include"
}

src_compile() {
        einfo
        einfo "You may safely ignore any errors from compilation that contain"
        einfo "warnings about undefined references to the ieee80211 subsystem."
        einfo

        linux-mod_src_compile
}

src_install() {
        linux-mod_src_install

        dodoc CHANGES ISSUES
}

pkg_postinst() {
        linux-mod_pkg_postinst

        if [ -f /lib/modules/${KV_FULL}/net/${PN}.ko ]; then
                einfo
                einfo "Modules from an earlier installation detected. You will need to manually"
                einfo "remove those modules by running the following commands:"
                einfo "  # rm -f /lib/modules/${KV_FULL}/net/${PN}.ko"
                einfo "  # rm -f /lib/modules/${KV_FULL}/net/ieee80211*.ko"
                einfo "  # depmod -a"
                einfo
        fi
}

_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!


Last edited by VinzC on Fri Apr 21, 2006 1:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
sprognak
n00b
n00b


Joined: 30 Mar 2006
Posts: 38

PostPosted: Sun Apr 02, 2006 5:15 pm    Post subject: Reply with quote

Solved it!

I unmerged everything (again), updated the kernel to 2.6.16-r1 with kernel ieee80211set to modular (can't be removed from menuconfig) and ran the remove script.

Then I downloaded the latest source from sourceforge and did a full manual build.

After a little tinkering, it works quite nicely!

Just playing with the init.d scripts to set my Wireless details up for bootup.

Thanks for all the help though!


btw, I must confess, yesterday in a heated rage I wiped everything and put Debian back. After 30 minutes I got sick of being able to 'fine tune' debian to the same extent and reinstalled Gentoo.

It's suprisingly addictive this stuff....
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Apr 02, 2006 5:20 pm    Post subject: Reply with quote

Glad you found a way to make it work. Never give up. That's the lesson :-) .

Keep cool man.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
sprognak
n00b
n00b


Joined: 30 Mar 2006
Posts: 38

PostPosted: Sun Apr 02, 2006 7:05 pm    Post subject: Reply with quote

Ok, it's getting picked up at boot but it's not getting any further.

I have to su to root, then iwconfig .......settings.......

then ifconfig eth1 up

then dhcpd eth1


then it works fine. How can I get this to happen automatically?
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Apr 02, 2006 7:21 pm    Post subject: Reply with quote

sprognak wrote:
Ok, it's getting picked up at boot but it's not getting any further.

I have to su to root, then iwconfig .......settings.......

then ifconfig eth1 up

then dhcpd eth1


then it works fine. How can I get this to happen automatically?

What version of baselayout do you have? You should have 1.12 series. Version 1.12.0_pre16 requires bash 3.1.xx and you'll have to unmask them (by ~ARCH in /etc/portage/keywords). You also should have udev version 070-r1 or above as stated in my howto.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
sprognak
n00b
n00b


Joined: 30 Mar 2006
Posts: 38

PostPosted: Sun Apr 02, 2006 7:30 pm    Post subject: Reply with quote

Ok, I just thought I was beginning to understand a few things then that flew right over my head.

Could you explain that in simpler terms please?
Back to top
View user's profile Send private message
moumou
n00b
n00b


Joined: 01 Apr 2006
Posts: 12
Location: Paris, France

PostPosted: Mon Apr 03, 2006 2:20 am    Post subject: Reply with quote

VinzC wrote:
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.


What I meant is that rmh's ebuilds on gentoo-sources don't work (at least for me), because it doesn't work with the kernel ieee80211 system, and it doesn't find the ieee80211.h file when you install ieee80211 from portage. So I modified rmh's ebuild like this (diff-style) :

Code:
 src_compile() {
-        linux-mod_src_compile
+        IEEE80211_INC=/usr/include linux-mod_src_compile
         
         einfo
 }

However I don't know how it works with your ebuilds, VinzC.
_________________
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
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Mon Apr 03, 2006 7:01 am    Post subject: Reply with quote

Ah, Ok. I misunderstood. But I'd try that trick to have ipw3945 use the built-in ieee80211.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
chi-z
n00b
n00b


Joined: 23 Jul 2004
Posts: 9
Location: Pflugerville, TX

PostPosted: Wed Apr 05, 2006 8:19 pm    Post subject: Reply with quote

I'm in the same boat you were in. I'm getting all of the same errors you reported previously and was curious other than updating to a 2.6.16 kernel was there anything else you did to resolve the issue? I'm hoping I don't have to build a new kernel(currently running 2.6.15-r1). I tried manually installing the 0.0.73 driver version and the exact error still occurs when I try to modprobe ipw3945, as it also occurs when changing the ebuild to install .73(Unknown symbol in module... error. and then dmesg reports unknown symbols with : ieee80211_(get_geo|tx_frame|is_valid_channel) and free_ieee80211 and a bunch more "ieee80211_*" symbol errors).

Thanks

sprognak wrote:
Solved it!

I unmerged everything (again), updated the kernel to 2.6.16-r1 with kernel ieee80211set to modular (can't be removed from menuconfig) and ran the remove script.

Then I downloaded the latest source from sourceforge and did a full manual build.

After a little tinkering, it works quite nicely!

Just playing with the init.d scripts to set my Wireless details up for bootup.

Thanks for all the help though!


btw, I must confess, yesterday in a heated rage I wiped everything and put Debian back. After 30 minutes I got sick of being able to 'fine tune' debian to the same extent and reinstalled Gentoo.

It's suprisingly addictive this stuff....
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Thu Apr 06, 2006 7:01 am    Post subject: Reply with quote

I definitely believe this is due to ipw3945 not being (correctly) linked against the right ieee80211 binaries. I don't know how exactly this issue can be solved but I'm convinced this is the reason why you get "unknown symbol" messages while loading the module.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Thu Apr 06, 2006 7:43 am    Post subject: Reply with quote

After further investigations, I've had troubles with driver 0.0.72 and above. Loading the driver makes the WiFi led flash forever (or a rather long time) and the wireless network isn't established. I have no problem at all with and up to ipw3945-0.0.71.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
firebeard
n00b
n00b


Joined: 11 Apr 2006
Posts: 2

PostPosted: Tue Apr 11, 2006 10:07 pm    Post subject: driver 1.0.0 Reply with quote

what about linux driver 1.0.0 on intel site? ipw3945-linux-1.0.0.tgz
[url]http://downloadfinder.intel.com/scripts-df-external/detail_desc.aspx?strstate=live&productid=1783&dwnldid=10315&agr=y&lang=eng&prdmap=1783
[/url]
how can one make it available for ebuild and on sourceforge?
I only find 0.0.74 on sourceforge.

(sorry - total newbie at work...)
Back to top
View user's profile Send private message
quat
Guru
Guru


Joined: 18 Sep 2004
Posts: 316

PostPosted: Wed Apr 12, 2006 12:17 am    Post subject: Re: driver 1.0.0 Reply with quote

firebeard wrote:
what about linux driver 1.0.0 on intel site?

:) if you download it and check the changelog it seems that its 0.0.69 version, so the number 1.0.0 is at least strane

@VinzC: i did succesfully emerge your ebuilds (good job) with versions:

o ieee80211-1.1.13
o ipw3945-0.0.73 (and even 0.0.74)
o ipw3945-firmware-1.13
o ipw3945d-0.7.16

and it works :) i would like to write flawlessly but it's not. of course this not a problem of ebuilds but the driver itself.

i'm just loosing connnection with my AP and get the errors in logs about errors in decoding algorithms during authorization (i'm using WPA). BTW this behavior is a known bug.

the solution is not very "nice" but works: simply reload the driver.

ps. i'm using vanilla kernel 2.16.16 with the newest ACPI patches and i'm running ~x86
_________________
a mind is like a parachute, it's better when it's open
Back to top
View user's profile Send private message
firebeard
n00b
n00b


Joined: 11 Apr 2006
Posts: 2

PostPosted: Wed Apr 12, 2006 2:25 pm    Post subject: can't remove ipw3945 module Reply with quote

Hi,

thanks for the fabulous ebuilds first!

usually i don't need wireless so I want to deactivate it.
but all fails:

0) ipw3945d --kill
1) /etc/init.d/net.eth1 stop
2) modprobe -r ipw3945 || rmmod -f ipw3945

even after compiling a new kernel and rebooting
lsmod still shows the module [permanent] and it's dependencies.

it's like magic???
how can I get rid of the module and load and unload it at will?
Back to top
View user's profile Send private message
Sejam
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2004
Posts: 80

PostPosted: Wed Apr 12, 2006 2:31 pm    Post subject: Re: can't remove ipw3945 module Reply with quote

firebeard wrote:
Hi,

thanks for the fabulous ebuilds first!

usually i don't need wireless so I want to deactivate it.
but all fails:

0) ipw3945d --kill
1) /etc/init.d/net.eth1 stop
2) modprobe -r ipw3945 || rmmod -f ipw3945

even after compiling a new kernel and rebooting
lsmod still shows the module [permanent] and it's dependencies.

it's like magic???
how can I get rid of the module and load and unload it at will?


I've used rmmod myself and that works. I really don't do that too much though. If I want to turn the wireless off, I just use Fn-F2 and mine turns off.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Thu Apr 13, 2006 5:32 am    Post subject: Reply with quote

You can also put the module name in /etc/hotplug/blacklist if you don't need it for a long time. Remember however once the module name is there you must remove it manually from the file if you want to use the module again. The Fn+F2 key combo is more elegant in this case as the BIOS remembers the state of your WiFi, i.e. the RF-Switch state survives a reboot.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Thu Apr 13, 2006 7:14 am    Post subject: Re: driver 1.0.0 Reply with quote

quat wrote:
firebeard wrote:
what about linux driver 1.0.0 on intel site?

:) if you download it and check the changelog it seems that its 0.0.69 version, so the number 1.0.0 is at least strane

Interresting...

quat wrote:
@VinzC: i did succesfully emerge your ebuilds (good job) with versions:

o ieee80211-1.1.13
o ipw3945-0.0.73 (and even 0.0.74)
o ipw3945-firmware-1.13
o ipw3945d-0.7.16

Thanks a lot :). When I tried version 0.0.73 the driver had troubles finding an access point to associate with. Glad to hear it worked for you.

quat wrote:
I would like to write flawlessly but it's not. of course this not a problem of ebuilds but the driver itself.

i'm just loosing connnection with my AP and get the errors in logs about errors in decoding algorithms during authorization (i'm using WPA). BTW this behavior is a known bug.

the solution is not very "nice" but works: simply reload the driver.

ps. i'm using vanilla kernel 2.16.16 with the newest ACPI patches and i'm running ~x86

Now I'm using Gentoo Sources and I experience connection drops only from time to time (2-3 a week at most). So I wonder if Gentoo Sources are responsible for bringing more stability. Have you tried version 0.0.71?

Note I'm using the stable x86 branch and only ~x86 packages when absolutely necessary (e.g. baselayout and bash). Maybe the instability you experience is due to the ~x86 branch itself.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4, 5 ... 30, 31, 32  Next
Page 4 of 32

 
Jump to:  
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