| View previous topic :: View next topic |
| Author |
Message |
punter Guru

Joined: 25 Nov 2002 Posts: 506
|
Posted: Sat Dec 02, 2006 2:22 pm Post subject: linux/config.h does not exist! [kernel 2.6.19] |
|
|
Hi,
I'm getting the following error while emerging acx. I don't know what to do!
/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work/wlan.c:40:26:error: linux/config.h: No such file or directory
EDIT: here is the solution:
nano /usr/src/linux-2.6.19-gentoo-r1/include/linux/config.h
and copy and paste this
| Code: |
#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H
/* This file is no longer in use and kept only for backward compatibility.
* autoconf.h is now included via -imacros on the commandline
*/
#include <linux/autoconf.h>
#endif
|
Last edited by punter on Mon Dec 11, 2006 11:59 pm; edited 2 times in total |
|
| Back to top |
|
 |
Arfrever Bodhisattva


Joined: 29 Apr 2006 Posts: 2462 Location: Polska / Lenkija
|
Posted: Sat Dec 02, 2006 3:34 pm Post subject: Re: linux/config.h does not exist! |
|
|
Give the output of: | Code: | ls -aFhn /usr/src
ls -aFhn /usr/src/linux/
eix "\-sources" |
You must have Linux sources configured.
Sveikinu
Arfrever |
|
| Back to top |
|
 |
wynn Advocate


Joined: 01 Apr 2005 Posts: 2399 Location: UK
|
Posted: Sat Dec 02, 2006 3:55 pm Post subject: |
|
|
If you are running 2.6.19 then there is no linux/config.h any more and packages creating modules have to be updated. [Edited to add] There is also this fix
If you are not running 2.6.19 then Arfrever has the podium. _________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
| Back to top |
|
 |
punter Guru

Joined: 25 Nov 2002 Posts: 506
|
Posted: Sat Dec 02, 2006 4:02 pm Post subject: |
|
|
FYI this is a fresh gentoo install.... 2 days old.
I've used genkernel for kernel compilation and install
I've installed gentoo-sources
I have the "~x86" keyword set.
and I created a /usr/src/linux symlink using the symlink USE flag.
this is the output which you requested:
| Code: | fatbox ~ # ls -aFhn /usr/src
total 1.5K
drwxr-xr-x 3 0 0 136 Dec 1 17:33 ./
drwxr-xr-x 15 0 0 424 Dec 2 07:32 ../
-rw-r--r-- 1 0 0 0 Aug 3 15:23 .keep
lrwxrwxrwx 1 0 0 19 Dec 1 17:33 linux -> linux-2.6.19-gentoo/
drwxr-xr-x 20 0 0 1.6K Dec 2 14:46 linux-2.6.19-gentoo/
fatbox ~ # ls -aFhn /usr/src/linux/
total 16M
drwxr-xr-x 20 0 0 1.6K Dec 2 14:46 ./
drwxr-xr-x 3 0 0 136 Dec 1 17:33 ../
-rw-r--r-- 1 0 0 559 Dec 1 19:24 ..tmp_kallsyms1.o.cmd
-rw-r--r-- 1 0 0 559 Dec 1 19:24 ..tmp_kallsyms2.o.cmd
-rw-r--r-- 1 0 0 622 Dec 1 19:24 ..tmp_vmlinux1.cmd
-rw-r--r-- 1 0 0 638 Dec 1 19:24 ..tmp_vmlinux2.cmd
-rw-r--r-- 1 0 0 36K Dec 1 19:15 .config
-rw-r--r-- 1 0 0 37K Dec 1 19:13 .config.bak
-rw-r--r-- 1 0 0 36K Dec 1 19:15 .config.old
-rw-r--r-- 1 0 0 547 Dec 1 17:31 .gitignore
-rw-r--r-- 1 0 0 718K Dec 1 19:24 .tmp_System.map
-rw-r--r-- 1 0 0 817K Dec 1 19:24 .tmp_kallsyms1.S
-rw-r--r-- 1 0 0 141K Dec 1 19:24 .tmp_kallsyms1.o
-rw-r--r-- 1 0 0 817K Dec 1 19:24 .tmp_kallsyms2.S
-rw-r--r-- 1 0 0 141K Dec 1 19:24 .tmp_kallsyms2.o
drwxr-xr-x 2 0 0 2.5K Dec 1 19:27 .tmp_versions/
-rwxr-xr-x 1 0 0 3.6M Dec 1 19:24 .tmp_vmlinux1*
-rwxr-xr-x 1 0 0 3.7M Dec 1 19:24 .tmp_vmlinux2*
-rw-r--r-- 1 0 0 2 Dec 1 19:24 .version
-rw-r--r-- 1 0 0 626 Dec 1 19:24 .vmlinux.cmd
-rw-r--r-- 1 0 0 19K Dec 1 17:31 COPYING
-rw-r--r-- 1 0 0 89K Dec 1 17:31 CREDITS
drwxr-xr-x 60 0 0 6.0K Dec 1 17:33 Documentation/
-rw-r--r-- 1 0 0 1.3K Dec 1 17:31 Kbuild
-rw-r--r-- 1 0 0 75K Dec 1 17:31 MAINTAINERS
-rw-r--r-- 1 0 0 50K Dec 1 17:31 Makefile
-rw-r--r-- 1 0 0 174K Dec 1 19:27 Module.symvers
-rw-r--r-- 1 0 0 17K Dec 1 17:31 README
-rw-r--r-- 1 0 0 3.0K Dec 1 17:31 REPORTING-BUGS
-rw-r--r-- 1 0 0 718K Dec 1 19:24 System.map
drwxr-xr-x 27 0 0 656 Dec 1 17:32 arch/
drwxr-xr-x 2 0 0 968 Dec 1 19:20 block/
-rw-r--r-- 1 0 0 36K Dec 1 19:15 config-done
-rw-r--r-- 1 0 0 37K Dec 1 18:33 config-done.old
-rw-r--r-- 1 0 0 38K Dec 1 17:55 config-modified
-rw-r--r-- 1 0 0 36K Dec 1 17:56 config-suse
-rw-r--r-- 1 0 0 36K Dec 1 17:45 config.last
-rw-r--r-- 1 0 0 43K Dec 1 17:43 config.orig
drwxr-xr-x 2 0 0 2.8K Dec 1 19:27 crypto/
drwxr-xr-x 62 0 0 1.7K Dec 1 19:22 drivers/
drwxr-xr-x 64 0 0 6.3K Dec 1 19:19 fs/
drwxr-xr-x 43 0 0 1.2K Dec 1 19:15 include/
drwxr-xr-x 2 0 0 968 Dec 1 19:24 init/
drwxr-xr-x 2 0 0 656 Dec 1 19:19 ipc/
drwxr-xr-x 5 0 0 5.5K Dec 1 19:17 kernel/
drwxr-xr-x 5 0 0 5.7K Dec 1 19:27 lib/
drwxr-xr-x 2 0 0 3.8K Dec 1 19:17 mm/
drwxr-xr-x 37 0 0 1.3K Dec 1 19:24 net/
-rw-r--r-- 1 0 0 52 Dec 1 17:31 patches.txt
drwxr-xr-x 9 0 0 1.7K Dec 1 19:15 scripts/
drwxr-xr-x 4 0 0 448 Dec 1 19:19 security/
drwxr-xr-x 17 0 0 744 Dec 1 19:22 sound/
drwxr-xr-x 2 0 0 536 Dec 1 19:15 usr/
-rwxr-xr-x 1 0 0 3.7M Dec 1 19:24 vmlinux*
fatbox ~ # eix "\-sources"
* sys-freebsd/freebsd-sources
Available versions:
(6.1-r3) !6.1-r3
(6.1-r4) !6.1-r4
(6.2_beta3) !6.2_beta3
(6.2_rc1) !6.2_rc1
Homepage: http://www.freebsd.org/
Description: FreeBSD kernel sources
* sys-kernel/cell-sources
Available versions:
(2.6.18-r6) !2.6.18-r6
(2.6.19_rc5-r1) !2.6.19_rc5-r1
(2.6.19_rc6-r1) !2.6.19_rc6-r1
Homepage: http://kernel.org/pub/linux/kernel/people/arnd/patches/
Description: Full sources including the arnd patchset for the 2.6 kernel tree
* sys-kernel/ck-sources
Available versions:
(2.6.16_p12-r2) (~)2.6.16_p12-r2
(2.6.17_p1-r3) (~)2.6.17_p1-r3
(2.6.18_p1-r2) (~)2.6.18_p1-r2
Homepage: http://www.kernel.org/ http://www.gentoo.org/ http://members.optusnet.com.au/ckolivas/kernel/
Description: Sources for the 2.6 linux kernel
[I] sys-kernel/gentoo-sources
Available versions:
(2.4.32-r7) 2.4.32-r7
(2.6.15-r1) 2.6.15-r1
(2.6.16-r13) 2.6.16-r13
(2.6.17-r8) 2.6.17-r8
(2.6.17-r9) (~)2.6.17-r9
(2.6.18) (~)2.6.18
(2.6.18-r1) (~)2.6.18-r1
(2.6.18-r2) 2.6.18-r2
(2.6.18-r3) 2.6.18-r3
(2.6.19) (~)2.6.19
Installed versions: 2.6.19(2.6.19)(17:31:23 12/01/06)(-build symlink)
Homepage: http://dev.gentoo.org/~dsd/genpatches
Description: Full sources including the Gentoo patchset for the 2.6 kernel tree
* sys-kernel/git-sources
Available versions:
(2.6.19_rc1-r1) (~)2.6.19_rc1-r1
(2.6.19_rc1-r2) (~)2.6.19_rc1-r2
(2.6.19_rc1-r3) (~)2.6.19_rc1-r3
(2.6.19_rc3) (~)2.6.19_rc3
(2.6.19_rc6-r5) (~)2.6.19_rc6-r5
(2.6.19_rc6-r8) (~)2.6.19_rc6-r8
(2.6.19_rc6-r9) (~)2.6.19_rc6-r9
(2.6.19_rc6-r10) (~)2.6.19_rc6-r10
Homepage: http://www.kernel.org
Description: The very latest -git version of the Linux kernel
* sys-kernel/hardened-sources
Available versions:
(2.4.32-r6) 2.4.32-r6
(2.4.32-r7) (~)2.4.32-r7
(2.6.14-r7) 2.6.14-r7
(2.6.16-r10) 2.6.16-r10
(2.6.16-r11) 2.6.16-r11
(2.6.17-r1) 2.6.17-r1
(2.6.18) (~)2.6.18
(2.6.18-r1) (~)2.6.18-r1
Homepage: http://www.kernel.org/ http://www.gentoo.org/
Description: Hardened sources for the 2.6 kernel tree
* sys-kernel/hppa-sources
Available versions:
(2.6.16.24_p11) *2.6.16.24_p11
(2.6.17.6_p6) *2.6.17.6_p6
(2.6.17.7_p6) *2.6.17.7_p6
(2.6.17.10_p6) *2.6.17.10_p6
(2.6.18.2) *2.6.18.2
Homepage: http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org/
Description: Full sources for the Linux kernel with patch for hppa
* sys-kernel/kurobox-sources
Available versions: (2.4.31-kurobox) [M]*2.4.31
Homepage: http://www.kernel.org/ http://www.kurobox.com
Description: Full sources for the Linux kernel, including kurobox hardware patches.
* sys-kernel/mips-sources
Available versions:
(2.6.16.27) *2.6.16.27
(2.6.17.10) *2.6.17.10
Homepage: http://www.linux-mips.org/ http://www.gentoo.org/
Description: Linux-Mips GIT sources for MIPS-based machines, dated 20060618
* sys-kernel/mm-sources
Available versions:
(2.6.19_rc2-r1) (~)2.6.19_rc2-r1
(2.6.19_rc2-r2) (~)2.6.19_rc2-r2
(2.6.19_rc3-r1) (~)2.6.19_rc3-r1
(2.6.19_rc4-r1) (~)2.6.19_rc4-r1
(2.6.19_rc4-r2) (~)2.6.19_rc4-r2
(2.6.19_rc5-r1) (~)2.6.19_rc5-r1
(2.6.19_rc5-r2) (~)2.6.19_rc5-r2
(2.6.19_rc6-r2) (~)2.6.19_rc6-r2
Homepage: http://www.kernel.org/ http://www.gentoo.org/
Description: Andrew Morton's kernel, mostly fixes for 2.6 vanilla, some vm stuff too
* sys-kernel/openblocks-sources
Available versions: (2.6.11.12) [M]2.6.11.12
Homepage: http://dev.gentoo.org/~matsuu/obs/
Description: Full sources including the OpenBlockS patchset for the 2.6 kernel tree
* sys-kernel/openmosix-sources
Available versions:
(2.4.24-openmosix-r10) [M](~)2.4.24-r10
(2.4.26-openmosix-r1) [M](~)2.4.26-r1
(2.4.30-openmosix-r3) [M]2.4.30-r3
(2.4.32-openmosix) [M](~)2.4.32
(2.6.12.577) [M](~)2.6.12.577
Homepage: http://openmosix.snarc.org/
Description: Full sources for the Gentoo openMosix Linux kernel 2.6 kernel tree
* sys-kernel/openvz-sources
Available versions:
(022.077) 022.077
(023.030) (~)023.030
(023.032) (~)023.032
(026.018) (~)026.018
(026.020) (~)026.020
(028.002) (~)028.002
(028.003) (~)028.003
(028.005) (~)028.005
Homepage: http://www.openvz.org
Description: Full sources including OpenVZ patchset for the 2.6 kernel tree
* sys-kernel/rsbac-sources
Available versions:
(2.6.13) 2.6.13
(2.6.14) 2.6.14
(2.6.14-r1) 2.6.14-r1
(2.6.16) (~)2.6.16
(2.6.16-r1) (~)2.6.16-r1
(2.6.18) (~)2.6.18
(2.6.99) [M](~)2.6.99
Homepage: http://hardened.gentoo.org/rsbac/
Description: RSBAC hardened sources for the 2.6 kernel tree
* sys-kernel/sh-sources
Available versions:
(2.6.13) *2.6.13
(2.6.14) *2.6.14
(2.6.15) *2.6.15
(2.6.16.20) *2.6.16.20
Homepage: http://dev.gentoo.org/~dsd/genpatches
Description: Full SuperH sources including the gentoo patchset for the 2.6 kernel tree
* sys-kernel/sparc-sources
Available versions:
(2.4.32-r6) *2.4.32-r6
(2.4.33.3) *2.4.33.3
Homepage: http://www.kernel.org/ http://www.gentoo.org
Description: Full sources for the Gentoo Sparc Linux kernel
* sys-kernel/suspend2-sources
Available versions:
(2.6.16-r8) 2.6.16-r8
(2.6.16-r12) (~)2.6.16-r12
(2.6.17-r5) (~)2.6.17-r5
(2.6.17-r6) (~)2.6.17-r6
(2.6.18) (~)2.6.18
Homepage: http://dev.gentoo.org/~dsd/genpatches http://www.suspend2.net
Description: Software Suspend 2 + Gentoo patchset sources
* sys-kernel/systrace-sources
Available versions: (2.6.16) (~)2.6.16
Homepage: http://www.kernel.org/ http://www.gentoo.org/
Description: Systrace sources for the 2.6 kernel tree
* sys-kernel/usermode-sources
Available versions:
(2.6.16-r3) (~)2.6.16-r3
(2.6.16-r4) (~)2.6.16-r4
(2.6.16-r5) (~)2.6.16-r5
(2.6.18) (~)2.6.18
Homepage: http://www.kernel.org/ http://user-mode-linux.sourceforge.net
Description: Full sources for the User Mode Linux kernel
* sys-kernel/vanilla-sources
Available versions:
(2.4.32) 2.4.32
(2.4.33) (~)2.4.33
(2.4.33.1) (~)2.4.33.1
(2.4.33.2) (~)2.4.33.2
(2.4.33.3) (~)2.4.33.3
(2.4.33.4) (~)2.4.33.4
(2.6.16.14) (~)2.6.16.14
(2.6.16.16) 2.6.16.16
(2.6.16.19) 2.6.16.19
(2.6.16.20) (~)2.6.16.20
(2.6.16.26) (~)2.6.16.26
(2.6.16.27) (~)2.6.16.27
(2.6.17.6) 2.6.17.6
(2.6.17.7) (~)2.6.17.7
(2.6.17.8) (~)2.6.17.8
(2.6.17.9) (~)2.6.17.9
(2.6.17.10) (~)2.6.17.10
(2.6.17.11) (~)2.6.17.11
(2.6.17.12) (~)2.6.17.12
(2.6.17.13) 2.6.17.13
(2.6.18) (~)2.6.18
(2.6.18.1) (~)2.6.18.1
(2.6.18.2) (~)2.6.18.2
(2.6.18.3) (~)2.6.18.3
(2.6.18.4) (~)2.6.18.4
(2.6.19) (~)2.6.19
Homepage: http://www.kernel.org
Description: Full sources for the Linux kernel
* sys-kernel/vserver-sources
Available versions:
(2.0.1-r5) 2.0.1-r5
(2.0.2.1) 2.0.2.1
(2.0.2.2_rc6) (~)2.0.2.2_rc6
(2.1.1) (~)2.1.1
(2.1.1-r1) (~)2.1.1-r1
Homepage: http://dev.croup.de/proj/gentoo-vps
Description: Full sources including gentoo and Linux-VServer patchsets for the 2.6 kernel tree
* sys-kernel/xbox-sources
Available versions:
(2.4.32-r1) [M]2.4.32-r1
(2.6.16.26) (~)2.6.16.26
Homepage: http://www.kernel.org/ http://www.gentoo.org/
Description: Full sources for the Xbox Linux kernel
* sys-kernel/xen-sources
Available versions:
(2.6.16.26) (~)2.6.16.26
(2.6.16.26-r1) (~)2.6.16.26-r1
(2.6.16.28) (~)2.6.16.28
Homepage: http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html
Description: Full sources for a dom0/domU Linux kernel to run under Xen
Found 23 matches.
|
|
|
| Back to top |
|
 |
punter Guru

Joined: 25 Nov 2002 Posts: 506
|
Posted: Sat Dec 02, 2006 4:27 pm Post subject: |
|
|
| wynn wrote: | If you are running 2.6.19 then there is no linux/config.h any more and packages creating modules have to be updated. [Edited to add] There is also this fix
If you are not running 2.6.19 then Arfrever has the podium. |
yup, that was it !
[edit] appended "kernel 2.6.19" to the thread subject to help any other user that encounters the same problem. |
|
| Back to top |
|
 |
bubbl07 Apprentice


Joined: 06 Feb 2005 Posts: 235 Location: Boston, MA (USA)
|
Posted: Sat Dec 02, 2006 7:34 pm Post subject: |
|
|
| A similar issue was popping up for me when trying to compile vesfb-tng in 2.6.19-gentoo (missing config.h). Apparently, this was fixed in gentoo-sources-2.6.19-r1 so maybe that'll carry over to your issue as well. |
|
| Back to top |
|
 |
slycordinator Advocate


Joined: 31 Jan 2004 Posts: 3050 Location: Houston, TX
|
Posted: Sat Dec 02, 2006 8:08 pm Post subject: |
|
|
I didn't find any bugs on this; you should write one I think.
http://bugs.gentoo.org/ |
|
| Back to top |
|
 |
TheCoop Veteran


Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Dec 03, 2006 2:33 pm Post subject: |
|
|
this bug's been fixed in 2.6.19-r1 _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
| Back to top |
|
 |
Raistlin l33t


Joined: 17 May 2004 Posts: 691 Location: Boston, MA
|
Posted: Sun Dec 10, 2006 6:15 pm Post subject: |
|
|
Well, the fix should propagate to suspend2-sources: there the config.h-not-found error still remains for vesafb-tng.
Also: does it only occur to me or are there substantially more warnings while compiling the sources? "return value not used" and such-the-like. Although these are only minor issues it makes me feel somehow uncomfortable... _________________ Zwei Was Eins Initially
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." |
|
| Back to top |
|
 |
indrek n00b

Joined: 17 Apr 2005 Posts: 6
|
Posted: Mon Dec 11, 2006 1:22 am Post subject: |
|
|
| I am running gentoo-sources-2.6.19-r1 and this is not fixed (for acx), but luckily fix pointed out by wynn helped. Thanks! |
|
| Back to top |
|
 |
Raistlin l33t


Joined: 17 May 2004 Posts: 691 Location: Boston, MA
|
Posted: Mon Dec 11, 2006 1:43 am Post subject: |
|
|
gentoo-sources are supposed to be fixed... The problem remains (at least) in suspend2-sources... _________________ Zwei Was Eins Initially
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." |
|
| Back to top |
|
 |
Hadriel Tux's lil' helper

Joined: 28 Jul 2005 Posts: 75
|
Posted: Mon Dec 11, 2006 10:19 am Post subject: |
|
|
i use 2.6.19-r1, too. it was not fixed for me (when trying to emerge ipw3945 or ieee80211, i dont remember which one, i got the same message with linux/config.h missing). i simply did a "touch" on the missing file  |
|
| Back to top |
|
 |
LD Guru


Joined: 23 Dec 2003 Posts: 329 Location: Middle of No-Where Granbury, Tx
|
|
| Back to top |
|
 |
LD Guru


Joined: 23 Dec 2003 Posts: 329 Location: Middle of No-Where Granbury, Tx
|
|
| Back to top |
|
 |
mla n00b


Joined: 10 Jan 2005 Posts: 39 Location: sthlm.swe
|
Posted: Tue Dec 12, 2006 10:40 pm Post subject: |
|
|
It is quite embarrassing that ATI has not fixed this since linux/config.h has been deprecated since vanilla kernel version 2.6.15
still, changes like this is quite a mess, but the linux way. |
|
| Back to top |
|
 |
punter Guru

Joined: 25 Nov 2002 Posts: 506
|
Posted: Wed Dec 13, 2006 12:33 pm Post subject: |
|
|
| mla wrote: | It is quite embarrassing that ATI has not fixed this since linux/config.h has been deprecated since vanilla kernel version 2.6.15
still, changes like this is quite a mess, but the linux way. |
I don't think ATI's alone in here..... I bumped against acx module, which still relied on config.h as well.
I'm sure there're quite a few external modules and drivers out there still depending on this....
maybe keep this post sticky until some of the most common modules/drivers are sorted. |
|
| Back to top |
|
 |
LD Guru


Joined: 23 Dec 2003 Posts: 329 Location: Middle of No-Where Granbury, Tx
|
|
| Back to top |
|
 |
azuriel Apprentice


Joined: 27 Feb 2005 Posts: 166
|
Posted: Sat Dec 16, 2006 11:57 pm Post subject: |
|
|
I'm using gentoo-source 2.6.19-r2, and had to make the dummy linux/config.h file as described in the first post. That finally allowed acx to compile successfully. However, since then I've been unable to connect to my wireless network (also mentioned in a bugzilla comment). The acx module loads fine and there aren't any oddities in dmesg; anyone else got this working or have any tips? _________________ Adopt an unanswered post
TJGames.org
The folly of mistaking a torrent of verbiage for a spring of capital truths, and oneself for an oracle, is inborn in us. -Valery |
|
| Back to top |
|
 |
punter Guru

Joined: 25 Nov 2002 Posts: 506
|
Posted: Sun Dec 17, 2006 3:46 am Post subject: |
|
|
| azuriel wrote: | | I'm using gentoo-source 2.6.19-r2, and had to make the dummy linux/config.h file as described in the first post. That finally allowed acx to compile successfully. However, since then I've been unable to connect to my wireless network (also mentioned in a bugzilla comment). The acx module loads fine and there aren't any oddities in dmesg; anyone else got this working or have any tips? |
I have it working with gentoo-sources-2.6.19..... I don't know what kind of information I can provide for you to compare or diagnose your problem with.
but there's not much to it, except this little twist
in /etc/modules.autoload.d/kernel-2.6 you have to load acx as follows
| Code: | | acx debug=0 firmware_dir=/lib/firmware |
|
|
| Back to top |
|
 |
azuriel Apprentice


Joined: 27 Feb 2005 Posts: 166
|
Posted: Sun Dec 17, 2006 4:45 am Post subject: |
|
|
Unfortunately, that didn't solve my problem I've spent most of today trying to figure out why it's not associating, but for now I'm just going to use my 1.6.17 kernel.
I'm also pretty sure that it was loading the firmware before I put in your modified /etc/modules.autoload.d/kernel-2.6 line, because it showed up in iwconfig and I could set keys and the essid. I don't know if it changed anything, but I'm leaving it in for now. _________________ Adopt an unanswered post
TJGames.org
The folly of mistaking a torrent of verbiage for a spring of capital truths, and oneself for an oracle, is inborn in us. -Valery |
|
| Back to top |
|
 |
Auz n00b


Joined: 01 Jul 2006 Posts: 15
|
Posted: Mon Dec 18, 2006 12:16 pm Post subject: |
|
|
I have the same problem with 2.6.19 kernels, but not 2.6.18s. When net.wlan0 starts, it says:
| Code: | * Starting wlan0
* Loading networking modules for wlan0
* modules: apipa arping ccwgroup macchanger macnet rename iwconfig
* essidnet iptunnel ifconfig system dhcpcd ip6to4
* iwconfig provides wireless
* ifconfig provides interface
* dhcpcd provides dhcp
* Running preup function
* Configuring wlan0 for MAC address 00:09:5B:BF:24:0B ... [ ok ]
* Configuring wireless network for wlan0 [ ok ]
* Scanning for access points
* Found "TARANIS" at 00:14:6C:AB:B0:1E (managed, encrypted)
* Connecting to "TARANIS" in managed mode (WEP enabled - open) ...
* Couldn't associate with any access points on wlan0 [ !! ]
* Failed to configure wireless for wlan0 [ !! ] |
In /var/log/messages I have
| Code: | Dec 18 11:25:22 homestar acx: form factor 0x01 ((mini-)PCI / CardBus), radio type 0x16 (Radia), EEPROM version 0x05, uploaded firmware 'Rev 2.3.1.31' (0x03010101)
Dec 18 11:25:22 homestar acx v0.3.35: net device wlan0, driver compiled against wireless extensions 21 and Linux 2.6.19-gentoo-r2
Dec 18 11:25:22 homestar usbcore: registered new interface driver acx_usb |
| Code: | Dec 18 11:31:47 homestar wlan0: issue_cmd(): timed out waiting for CMD_COMPLETE. irq bits:0x0000 irq_status:0x0000 timeout:49ms cmd_status:0 (Idle)
Dec 18 11:31:47 homestar wlan0: issue_cmd(cmd:0x0008) FAILED
Dec 18 11:31:47 homestar
Dec 18 11:31:47 homestar Call Trace:
Dec 18 11:31:47 homestar [<ffffffff8813e38c>] :acx:acxpci_s_issue_cmd_timeo+0x2fc/0x340
Dec 18 11:31:47 homestar [<ffffffff88136b20>] :acx:acx_s_cmd_start_scan+0xf0/0x110
Dec 18 11:31:47 homestar [<ffffffff88138cd3>] :acx:acx_s_update_card_settings+0xb93/0xbb0
Dec 18 11:31:47 homestar [<ffffffff881380bc>] :acx:acx_set_status+0xfc/0x180
Dec 18 11:31:47 homestar [<ffffffff8813e850>] :acx:acxpci_i_interrupt+0x0/0x400
Dec 18 11:31:47 homestar [<ffffffff8024b814>] request_irq+0xa4/0xf0
Dec 18 11:31:47 homestar [<ffffffff8813e588>] :acx:acxpci_e_open+0x68/0x80
Dec 18 11:31:47 homestar [<ffffffff8049ccfe>] dev_open+0x2e/0x70
Dec 18 11:31:47 homestar [<ffffffff8049ac98>] dev_change_flags+0x68/0x140
Dec 18 11:31:47 homestar [<ffffffff804df760>] devinet_ioctl+0x2e0/0x720
Dec 18 11:31:47 homestar [<ffffffff804904fc>] sock_ioctl+0x21c/0x260
Dec 18 11:31:47 homestar [<ffffffff8027930b>] do_ioctl+0x1b/0x60
Dec 18 11:31:47 homestar [<ffffffff8027958f>] vfs_ioctl+0x23f/0x260
Dec 18 11:31:47 homestar [<ffffffff802795f9>] sys_ioctl+0x49/0x80
Dec 18 11:31:47 homestar [<ffffffff8052915d>] error_exit+0x0/0x84
Dec 18 11:31:47 homestar [<ffffffff8020993e>] system_call+0x7e/0x83
Dec 18 11:31:47 homestar
Dec 18 11:31:47 homestar ADDRCONF(NETDEV_UP): wlan0: link is not
ready |
(this section then repeats another 13 times)
I've read about a problem with firmware, udev > 0.96 and hotplug and I do have hotplug installed, because acx_firmware depends on it. Could that be the issue? |
|
| Back to top |
|
 |
|