You are not logged in.
Pages: 1
Good evening,
just got Arch up'n running with xfce4 and various window managers.
Wired network works fine. Wireless, not so good.
hwdetect --show-net gives me:
$ hwdetect --show-net
NET : tg3 ieee80211 ieee80211_crypt mac80211 ipw3945 iwl3945 cfg80211
I can find ipw3945 in the lists of modules in rc.conf, but I can't find anything called wlan0. Just eth0 and lo.
What's the problem?
Flux
Offline
Have you installed the package iwlwifi-3945-ucode?
Oh... also check if there is any conflict between iwl3945 and ipw3945 (old driver).
Last edited by vtn (2008-06-05 04:35:14)
Offline
pacman gave me:
pacman -Qs 3945
local/ipw3945 1.2.2-10
Driver for the Intel PRO/Wireless 3945ABG miniPCI express adapter
local/ipw3945-ucode 1.14.2-2
Intel Centrino Drivers firmware for IPW3945
local/ipw3945d 1.7.22-4
Regulatory daemon for IPW3945
local/iwlwifi-3945-ucode 2.14.1.5-2
Intel wireless firmware for IPW3945 (iwlwifi driver)
Should I remove the two first entries?
Last edited by fluxme (2008-06-05 14:07:30)
Offline
Use only one of iwl3945 or ipw3945. They will conflict with each other.
ipw3945 is the old driver. It uses device name ethX. It requires a regulatory daemon name ipw3945d, and firmware named ipw3945-ucode.
iwl3945 is the newer driver. It uses device name wlan0. It has no regulatory daemon, and uses firmware iwl3945-ucode.
I suggest trying iwl3945 first. Remove all your ipw- packages (the first 3 in the list you provided).
Offline
I removed the files, but it still doesn't work.
less /var/log/dmesg.log | grep 3945
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.23k
iwl3945: Copyright(c) 2003-2007 Intel Corporation
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
phy0: Selected rate control algorithm 'iwl-3945-rs'
iwl3945: Failed to register network device (error -12)
iwl3945: probe of 0000:0c:00.0 failed with error -12
ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.2.2dmpr
sda:<6>ipw3945: Copyright(c) 2003-2006 Intel Corporation
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:0c:00.0 failed with error -2
Offline
ipw3945.ucode load failed: Reason -2
it still search for ipw3945...
I imagine you are using the latest kernel so try this:
rmmod ipw3945
modprobe iwl3945
add iw3945 to your /etc/rc.conf modules=() line
remove from that line the ipw3945
install if you don't have it the "wireless_tools" package
run in a console iwconfig and tell us the output
(try to reboot too to see if the driver is correctly loaded after the first reboot)
tell us how it's gone and good luck
Offline
From my errors.log:
Jun 5 22:00:14 archblue iwl3945: Failed to register network device (error -12)
Jun 5 22:00:14 archblue hub 1-1.2:1.0: hub_port_status failed (err = -71)
Jun 5 22:00:14 archblue hub 1-1.2:1.0: connect-debounce failed, port 2 disabled
Jun 5 22:00:14 archblue hub 1-1.2:1.0: cannot disable port 2 (err = -71)
Jun 5 22:00:14 archblue hub 1-1.2:1.0: hub_port_status failed (err = -71)
Jun 5 22:00:14 archblue ipw3945: ipw3945.ucode load failed: Reason -2
Jun 5 22:00:14 archblue ipw3945: Could not read microcode: -2
Jun 5 22:00:14 archblue hub 5-0:1.0: unable to enumerate USB device on port 1
Jun 5 22:00:14 archblue intel_rng: FWH not detected
and dmesg.log still gives me this:
sudo less /var/log/dmesg.log | grep 3945
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.23k
iwl3945: Copyright(c) 2003-2007 Intel Corporation
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
iwl3945: Tunable channels: 13 802.11bg, 23 802.11a channels
phy0: Selected rate control algorithm 'iwl-3945-rs'
iwl3945: Failed to register network device (error -12)
iwl3945: probe of 0000:0c:00.0 failed with error -12
ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.2.2dmpr
ipw3945: Copyright(c) 2003-2006 Intel Corporation
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:0c:00.0 failed with error -2
I take it that you meant I should add "iwl3945" to the modules and not "iw3945", Marco.
Don't know if it helps, but here's my rc.conf:
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="nb_NO.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Berlin/Europe"
KEYMAP="no-latin1"
CONSOLEFONT="ter-v16b"
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(tg3 acpi-cpufreq iwl3945 snd-mixer-oss snd-pcm-oss snd-hwdep
snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="archblue"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="dhcp"
INTERFACES=(eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(@syslog-ng @network !dhcdbd !networkmanager !netfs !crond
@acpid @laptop-mode @alsa @hal @fam @slim)
Thanks for all the answers
Offline
Apparently, you did not remove ipw3945. Try this:
pacman -R ipw3945
rmmod iwl3945
modprobe iwl3945
If all went well, you can try to bring up your interface
ifconfig wlan0 up
The rest is in the wiki: http://wiki.archlinux.org/index.php/Netcfg
Good luck.
Offline
I did remove it. And forgot to mention, iwconfig tells me there are no wireless devices.
pacman -Qs 3945
local/iwlwifi-3945-ucode 2.14.1.5-2
Intel wireless firmware for IPW3945 (iwlwifi driver)
Offline
Well, that's weird. ipw3945 shouldn't load if it was removed...
Did you reboot after removing it?
Another thing you can do is add !ipw3945 to your MODULES array and reboot. If it still loads after that, then your machine is possessed!
Offline
error.log
Jun 6 04:14:11 archblue usb 1-1.2: device descriptor read/all, error -71
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot disable port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue iwl3945: Failed to register network device (error -12)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: Cannot enable port 2. Maybe the USB cable is bad?
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot disable port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: Cannot enable port 2. Maybe the USB cable is bad?
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot disable port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot reset port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: Cannot enable port 2. Maybe the USB cable is bad?
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot disable port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: unable to enumerate USB device on port 2
Jun 6 04:14:11 archblue hub 1-1:1.0: cannot disable port 2 (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: hub_port_status failed (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: hub_port_status failed (err = -71)
Jun 6 04:14:11 archblue hub 1-1:1.0: hub_port_status failed (err = -71)
Jun 6 04:14:11 archblue ipw3945: ipw3945.ucode load failed: Reason -2
Jun 6 04:14:11 archblue ipw3945: Could not read microcode: -2
Jun 6 04:14:11 archblue hub 5-0:1.0: unable to enumerate USB device on port 1
Jun 6 04:14:11 archblue intel_rng: FWH not detected
Omg! Somebody call an exorcist!
Offline
Jun 6 04:14:11 archblue ipw3945: ipw3945.ucode load failed: Reason -2
Jun 6 04:14:11 archblue ipw3945: Could not read microcode: -2
this is the only relevant error..
have you tried my suggestion?
("rmmod ipw3945","modprobe iwl3945","iwconfig")
edit:
(following the suggestion of peart it is better this:
("rmmod ipw3945", "rmmod iwl3945", "modprobe iwl3945", "iwconfig")
so if the iwl3945 module is loaded but doesn't work well, this reload it too..
Last edited by _Marco_ (2008-06-06 06:52:58)
Offline
Well, that's weird. ipw3945 shouldn't load if it was removed...
Unless he still has it inside the initrd. He should update it.
Offline
Marco, I tried
"rmmod ipw3945"
"rmmod iwl3945" and
"modprobe iwl 3945"
And it works!
I've found out that I first have to "rmmod iwl3945" before I "modprobe iwl3945" in order for it to work. However, I have to do this every time I boot my computer.
How do I automate this task?
And I still get errors: errors.log
Jun 6 16:09:19 archblue hub 1-1:1.0: hub_port_status failed (err = -71)
Jun 6 16:09:19 archblue hub 1-1:1.0: connect-debounce failed, port 2 disabled
Jun 6 16:09:19 archblue hub 1-1:1.0: cannot disable port 2 (err = -71)
Jun 6 16:09:19 archblue hub 1-1:1.0: hub_port_status failed (err = -71)
Jun 6 16:09:19 archblue hub 1-1:1.0: hub_port_status failed (err = -71)
Jun 6 16:09:19 archblue iwl3945: Failed to register network device (error -12)
Jun 6 16:09:19 archblue hub 5-0:1.0: unable to enumerate USB device on port 1
Jun 6 16:09:19 archblue ipw3945: ipw3945.ucode load failed: Reason -2
Jun 6 16:09:19 archblue ipw3945: Could not read microcode: -2
Jun 6 16:09:19 archblue intel_rng: FWH not detected
Thanks for the help so far
Offline
are you sure that (even after the rmmod ipw3945) on reboot it still searching for ipw3945 firmware?
I don't know if carlocci is right, but I never known of wireless driver in initrd.
I know the ugly way to get it working on every reboot
(putting the line I suggested you in /etc/rc.local) but not the good way...
let's wait for some better solution
edit:
I write the "/etc/rc.local" that should TEMPORARILY fix your problem (this is the ugly way) just to be more clear..
#!/bin/bash
rmmod ipw3945
rmmod iwl3945
modprobe iwl3945
I hope this help
Last edited by _Marco_ (2008-06-06 19:59:24)
Offline
It seems like I've got the same problem here. rmmod followed by modprobe does appear to fix the problem, but it would be nice if there were some other solution
In my case, I didn't have to worry about removing the ipw firmware.
less /var/log/dmesg.log | grep 3945 looks like this:
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.23k
iwl3945: Copyright(c) 2003-2007 Intel Corporation
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
iwl3945: Tunable channels: 11 802.11bg, 13 802.11a channels
phy0: Selected rate control algorithm 'iwl-3945-rs'
iwl3945: Failed to register network device (error -12)
iwl3945: probe of 0000:05:00.0 failed with error -12
Needless to say, I'm using the wired ethernet port at the moment
Harry
Offline
Thanks for the script Marco.
Actually, the wireless isn't the only problem I have with Arch. It seems that Arch doesn't save the changes I'm making to my system. I'm fond of mpd + Sonata. And every time after a reboot I have to
chown username:users /var/lib/mpd/*
touch /var/run/mpd/mpd.pid
chown username:users /var/run/mpd/*
chown username:users /var/log/mpd/*
mpd
I also got my Wacom tablet up and running, but after a reboot it didn't work anymore.
I made a script for the mpd-startup which saves me some time. But I'd still want to fix the problem.
Maybe I should start a new thread based on the discovery of the extent of my problems?
Cheers,
Daniel.
Oh, and Harry, wireless works fine! As long as you rmmod and modprobe
Offline
Yep, I've done that, and it works. Like you, though, I still want to know what the problem is
Harry
Offline
Pages: 1