View previous topic :: View next topic |
Author |
Message |
tony11235 Apprentice

Joined: 15 May 2006 Posts: 198
|
Posted: Mon Feb 19, 2007 7:06 pm Post subject: [solved] ipw3945-firmware |
|
|
I'm currently running kernel 2.6.19-r5, and I'm trying to get my intel pro wireless 3945 to work. I've emerge ipw3945, ipw3945d, ipw3945-ucode. I've started ipw3945d, but its not recognizing my card, or my card is not appearing. Is there supposed to be a ipw3945-firmware package in portage? There's not in my case. And I have the right kernel configuration. Any ideas?
BTW I get the following:
/etc/init.d/ipw3945d restart
* Stopping ipw3945d ... [ ok ]
* Starting ipw3945d ...
chown: cannot access `/sys/bus/pci/drivers/ipw3945/00*/cmd': No such file or directory
chmod: cannot access `/sys/bus/pci/drivers/ipw3945/00*/cmd': No such file or directory [ ok ]
Last edited by tony11235 on Sat Feb 24, 2007 4:41 pm; edited 1 time in total |
|
Back to top |
|
 |
pH n00b

Joined: 13 Sep 2002 Posts: 16 Location: MA, USA
|
Posted: Mon Feb 19, 2007 7:44 pm Post subject: |
|
|
ipw3945-ucode is the firmware... I am having the same problem. Print out the relevent portion of 'dmesg' it tells me it loaded the module but for everyone else it's working it also prints out a few more lines like "detected ABG connection" or something like that which I'm not getting. |
|
Back to top |
|
 |
tony11235 Apprentice

Joined: 15 May 2006 Posts: 198
|
Posted: Mon Feb 19, 2007 8:10 pm Post subject: |
|
|
Here is the relevant portion of my dmesg
Quote: |
ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection
ipw3945: ipw3945.ucode load failed: Reason -2
ipw3945: Could not read microcode: -2
ipw3945: probe of 0000:03:00.0 failed with error -2
|
|
|
Back to top |
|
 |
pH n00b

Joined: 13 Sep 2002 Posts: 16 Location: MA, USA
|
Posted: Mon Feb 19, 2007 8:14 pm Post subject: |
|
|
I haven't even gotten my to get that far yet |
|
Back to top |
|
 |
tony11235 Apprentice

Joined: 15 May 2006 Posts: 198
|
Posted: Tue Feb 20, 2007 5:20 am Post subject: |
|
|
I would think that "ipw3945.ucode load failed: Reason -2" would indicate that the firmware isn't installed. But then ipw3945 IS the firmware, so I'm still clueless. Going with ndiswrapper til this is solved. |
|
Back to top |
|
 |
tony11235 Apprentice

Joined: 15 May 2006 Posts: 198
|
Posted: Thu Feb 22, 2007 7:58 pm Post subject: |
|
|
OK so I did a reinstall, new kernel. Now when after I've install ipw3945*, modprobe ipw3945 gives me
Quote: |
ERROR: Unable to create pid file '/var/run/ipw3945d/ipw3945d'
FATAL: Error running install command for ipw3945
|
This sucks. |
|
Back to top |
|
 |
sdfg Apprentice

Joined: 11 Feb 2005 Posts: 200
|
Posted: Thu Feb 22, 2007 9:15 pm Post subject: |
|
|
Have a look here. Has worked for most of us. |
|
Back to top |
|
 |
tony11235 Apprentice

Joined: 15 May 2006 Posts: 198
|
Posted: Thu Feb 22, 2007 10:03 pm Post subject: |
|
|
I tried the procedure, but I'm still getting the same results. Right now all I care about is getting my card to be recognized.
I have the following
Quote: |
ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.2.0dmpr
ipw3945: Copyright(c) 2003-2006 Intel Corporation
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:03:00.0 to 64
ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection
|
But yet it doesn't appear in after iwconfig. ipw3945d won't even start. Complains as always.[/quote] |
|
Back to top |
|
 |
sdfg Apprentice

Joined: 11 Feb 2005 Posts: 200
|
Posted: Thu Feb 22, 2007 10:05 pm Post subject: |
|
|
tony11235 wrote: | I tried the procedure, but I'm still getting the same results. Right now all I care about is getting my card to be recognized.
I have the following
Quote: |
ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.2.0dmpr
ipw3945: Copyright(c) 2003-2006 Intel Corporation
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:03:00.0 to 64
ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection
|
But yet it doesn't appear in after iwconfig. ipw3945d won't even start. Complains as always. | [/quote]
Hmm. Did you follow it exactly? Even the kernel version? Because from what I can see, that procedure covers every aspect of the card, hardware upwards. |
|
Back to top |
|
 |
tony11235 Apprentice

Joined: 15 May 2006 Posts: 198
|
Posted: Thu Feb 22, 2007 10:18 pm Post subject: |
|
|
Is 2.6.19-r5 not enough? It absolutely HAS to be 2.6.20? |
|
Back to top |
|
 |
sdfg Apprentice

Joined: 11 Feb 2005 Posts: 200
|
Posted: Thu Feb 22, 2007 10:19 pm Post subject: |
|
|
tony11235 wrote: | Is 2.6.19-r5 not enough? It absolutely HAS to be 2.6.20? |
I don't know. All I know is that I did exactly what was down there, even upgrading from 2.6.19-r2, and it works. |
|
Back to top |
|
 |
tony11235 Apprentice

Joined: 15 May 2006 Posts: 198
|
Posted: Thu Feb 22, 2007 10:31 pm Post subject: |
|
|
All I know is have ieee211 built in. And I tried the steps you posted. And I'm having these weird results. I didn't have coldplug installed in the beginning, I have udev 104-r11. It has to be something simple. |
|
Back to top |
|
 |
ziggysquatch Apprentice


Joined: 16 Nov 2004 Posts: 172 Location: /USA/Minnesota
|
Posted: Thu Feb 22, 2007 11:16 pm Post subject: |
|
|
I have the same issue and have tried everything. The firmware is not loading. Tried first on 2.6.19 then on 2.6.20. |
|
Back to top |
|
 |
Spiderboy n00b

Joined: 14 Feb 2006 Posts: 11 Location: UK
|
Posted: Fri Feb 23, 2007 12:21 am Post subject: |
|
|
tony11235 wrote: | OK so I did a reinstall, new kernel. Now when after I've install ipw3945*, modprobe ipw3945 gives me
Quote: |
ERROR: Unable to create pid file '/var/run/ipw3945d/ipw3945d'
FATAL: Error running install command for ipw3945
|
This sucks. |
I had a problem around Christmas with permissions which I tracked down by running ipw3945d manually under strace. It might be worth giving that a go and checking your permissions on the pid dir. I can't think of the number of times strace has got me out of trouble. |
|
Back to top |
|
 |
tony11235 Apprentice

Joined: 15 May 2006 Posts: 198
|
Posted: Fri Feb 23, 2007 3:57 pm Post subject: |
|
|
I used strace on ipw3945d.
Quote: |
execve("/sbin/ipw3945d", ["ipw3945d"], [/* 47 vars */]) = 0
brk(0) = 0x805b000
fcntl64(0, F_GETFD) = 0
fcntl64(1, F_GETFD) = 0
fcntl64(2, F_GETFD) = 0
access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f86000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=51348, ...}) = 0
mmap2(NULL, 51348, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f79000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0RY\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1221408, ...}) = 0
mmap2(NULL, 1185212, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e57000
mmap2(0xb7f73000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11c) = 0xb7f73000
mmap2(0xb7f76000, 9660, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f76000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e56000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e566b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7f73000, 4096, PROT_READ) = 0
mprotect(0xb7fa2000, 4096, PROT_READ) = 0
munmap(0xb7f79000, 51348) = 0
brk(0) = 0x805b000
brk(0x807e000) = 0x807e000
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f85000
write(1, "ipw3945d - regulatory daemon\n", 29) = 29
write(1, "Copyright (C) 2005-2006 Intel Co"..., 64) = 64
write(1, "version: 1.7.22\n", 16) = 16
open("/var/run/ipw3945d.pid", O_RDONLY) = -1 ENOENT (No such file or directory)
getcwd("/root", 4096) = 6
open("/sys/bus/pci/drivers/ipw3945", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
chdir("/sys/bus/pci/drivers/ipw3945") = 0
getdents(3, /* 8 entries */, 4096) = 156
stat64("debug_level", {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
stat64("new_id", {st_mode=S_IFREG|0200, st_size=4096, ...}) = 0
stat64("bind", {st_mode=S_IFREG|0200, st_size=4096, ...}) = 0
stat64("unbind", {st_mode=S_IFREG|0200, st_size=4096, ...}) = 0
stat64("module", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
chdir("module") = 0
stat64("cmd", 0xbfb450ac) = -1 ENOENT (No such file or directory)
chdir("/sys/bus/pci/drivers/ipw3945") = 0
stat64("0000:03:00.0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
chdir("0000:03:00.0") = 0
stat64("cmd", {st_mode=S_IFREG|0600, st_size=4096, ...}) = 0
geteuid32() = 105
close(3) = 0
chdir("/root") = -1 EACCES (Permission denied)
write(1, "Intel PRO/Wireless 3945ABG Netwo"..., 56) = 56
write(1, " /sys/bus/pci/drivers/ipw3945/00"..., 43) = 43
access("/var/run", W_OK) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e566f8) = 21725
--- SIGCHLD (Child exited) @ 0 (0) ---
write(1, "Daemon launched as pid 21725. E"..., 40) = 40
exit_group(0) = ?
|
This "chdir("/root") = -1 EACCES (Permission denied)" is about the only thing that looks odd. Any suggestions? |
|
Back to top |
|
 |
Spiderboy n00b

Joined: 14 Feb 2006 Posts: 11 Location: UK
|
Posted: Fri Feb 23, 2007 4:45 pm Post subject: |
|
|
tony11235 wrote: | I used strace on ipw3945d.
Quote: |
...
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e566f8) = 21725
--- SIGCHLD (Child exited) @ 0 (0) ---
write(1, "Daemon launched as pid 21725. E"..., 40) = 40
exit_group(0) = ?
|
This "chdir("/root") = -1 EACCES (Permission denied)" is about the only thing that looks odd. Any suggestions? |
You'll need to pass the --foreground parameter to ipw3945d so it doesn't fork off into the background or tell strace to follow the forked processes with the -f parameter. If it's exiting prematurely then all the action is going to be happening in the daemonised process. |
|
Back to top |
|
 |
tony11235 Apprentice

Joined: 15 May 2006 Posts: 198
|
Posted: Fri Feb 23, 2007 4:55 pm Post subject: |
|
|
OK this is what I have.[/quote]
Quote: |
execve("/sbin/ipw3945d", [, ...], [/* 34 vars */]) = 0
brk(0) = 0x805b000
fcntl64(0, F_GETFD) = 0
fcntl64(1, F_GETFD) = 0
fcntl64(2, F_GETFD) = 0
access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb8000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=52212, ...}) = 0
mmap2(NULL, 52212, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fab000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, ""..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1221408, ...}) = 0
mmap2(NULL, 1185212, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e89000
mmap2(0xb7fa5000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11c) = 0xb7fa5000
mmap2(0xb7fa8000, 9660, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fa8000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e88000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e886b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7fa5000, 4096, PROT_READ) = 0
mprotect(0xb7fd4000, 4096, PROT_READ) = 0
munmap(0xb7fab000, 52212) = 0
brk(0) = 0x805b000
brk(0x807e000) = 0x807e000
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb7000
write(1, ""..., 29ipw3945d - regulatory daemon
) = 29
write(1, ""..., 64Copyright (C) 2005-2006 Intel Corporation. All rights reserved.
) = 64
write(1, ""..., 16version: 1.7.22
) = 16
open("/var/run/ipw3945d.pid", O_RDONLY) = -1 ENOENT (No such file or directory)
getcwd("/root", 4096) = 6
open("/sys/bus/pci/drivers/ipw3945", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
chdir("/sys/bus/pci/drivers/ipw3945") = 0
getdents(3, /* 8 entries */, 4096) = 156
stat64("debug_level", {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
stat64("new_id", {st_mode=S_IFREG|0200, st_size=4096, ...}) = 0
stat64("bind", {st_mode=S_IFREG|0200, st_size=4096, ...}) = 0
stat64("unbind", {st_mode=S_IFREG|0200, st_size=4096, ...}) = 0
stat64("module", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
chdir("module") = 0
stat64("cmd", 0xbfc3fb7c) = -1 ENOENT (No such file or directory)
chdir("/sys/bus/pci/drivers/ipw3945") = 0
stat64("0000:03:00.0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
chdir("0000:03:00.0") = 0
stat64("cmd", {st_mode=S_IFREG|0600, st_size=4096, ...}) = 0
geteuid32() = 105
close(3) = 0
chdir("/root") = -1 EACCES (Permission denied)
write(1, ""..., 56Intel PRO/Wireless 3945ABG Network Connection found at:
) = 56
write(1, ""..., 43 /sys/bus/pci/drivers/ipw3945/0000:03:00.0
) = 43
access("/var/run", W_OK) = 0
open("/var/run/ipw3945d.pid", O_WRONLY|O_CREAT, 0600) = -1 EACCES (Permission denied)
time(NULL) = 1172249637
open("/etc/localtime", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1649, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1649, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb6000
read(3, ""..., 4096) = 1649
close(3) = 0
munmap(0xb7fb6000, 4096) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1649, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1649, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1649, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1649, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1649, ...}) = 0
write(2, ""..., 862007-02-23 11:53:57: ERROR: Could not open '/var/run/ipw3945d.pid': Permission denied
) = 86
unlink("/var/run/ipw3945d.pid") = -1 ENOENT (No such file or directory)
exit_group(-13) = ?
Process 12887 detached
|
|
|
Back to top |
|
 |
Morpheus_GT1 n00b


Joined: 23 Jan 2006 Posts: 18 Location: Vienna, Austria
|
Posted: Fri Feb 23, 2007 5:40 pm Post subject: Same Problem |
|
|
Hy guys...
I have the same problem as described above... I first tried to install ipw3945, ipw3945d and ipw3945-ucode with 2.6.19-r5 sources (iee80211 stack in the kernel) and ended up with the same problem as described at the top... I then followed the guide that was postet here that treats the problem with the 2.6.20 sources... Unfortunatly I had no luck in solving the problem.
I hope that we can find a workaround here...
thx for your efforts...
Greetz, ->M_GT1 |
|
Back to top |
|
 |
Morpheus_GT1 n00b


Joined: 23 Jan 2006 Posts: 18 Location: Vienna, Austria
|
Posted: Sat Feb 24, 2007 1:11 pm Post subject: |
|
|
ok, strange things are goin' on... Yesterday i wasted my gentoo installation in trying to get the wireless card to work... Luck for me it was my new notebook and nothing but the bare system on it... So I did a reinstall from scratch, and what should I say, this is nearly Windows Style... Reinstall, and erverything works... Strange, but true...
I'm using the 2.6.19-r5 kernel-sources (with built in ieee80211 Stack), udev 104-r11, ipw3945-1.2.0, ipw3945-ucode-1.14.2 and ipw3945d-1.7.22-r4...
ok so now I'm hedin' for the rest of my hardware to works... |
|
Back to top |
|
 |
Spiderboy n00b

Joined: 14 Feb 2006 Posts: 11 Location: UK
|
Posted: Sat Feb 24, 2007 3:33 pm Post subject: |
|
|
tony11235 wrote: | OK this is what I have. |
Quote: |
<snip...>
write(2, ""..., 862007-02-23 11:53:57: ERROR: Could not open '/var/run/ipw3945d.pid': Permission denied
) = 86
unlink("/var/run/ipw3945d.pid") = -1 ENOENT (No such file or directory)
exit_group(-13) = ?
Process 12887 detached
|
I'd forgotten that when the ipw3945d init script runs it passes a "--pidfile /var/run/ipw3945d/ipw3945d.pid" to the deamon. This run here shows that it can't write to "/var/run/", which makes sense. I just tried reemerging ipw3945d and the problem came back. If I then did a "chmod g+w /var/run/ipw3945d" the problem went away again. You might want to try that. |
|
Back to top |
|
 |
tony11235 Apprentice

Joined: 15 May 2006 Posts: 198
|
Posted: Sat Feb 24, 2007 4:40 pm Post subject: |
|
|
Ok finally. That worked. |
|
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
|
|