You are not logged in.
Hi, i just install ArchLinux on laptop dell 1420 i follow the tutorials of the official documentations.
But i hace a small problem with the wireless. My laptop have an Intel 3945 wifi card so i install teh module iwl-3945-udev, i dont add this module in rc.conf file becouse this module in now part of the kernel... but i doesnt owrk.. so i check error log and i found this:
Feb 9 21:54:24 pichirilo iwl3945: Failed to register network device (error -12)
And the rc.conf is:
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Canada/Pacific"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
MOD_AUTOLOAD="yes"
MODULES=(tg3 mac80211 snd-mixer-oss snd-pcm-oss snd-hwdep iwl3945 snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
USELVM="no"
HOSTNAME="pichirilo"
eth0="dhcp"
INTERFACES=(eth0,wlan0)
ROUTES=(!gateway)
DAEMONS=(syslog-ng network netfs crond alsa hal fam kdm)
i try to add the module manually but i have the same result...
any idea ???
Thanks
Last edited by dilaang (2009-02-10 05:53:43)
Offline
just to verify, you installed the package iwlwifi-3945-ucode? you had the name slightly different in your post. Probably not the problem, but no harm in asking.
Offline
Yes i install that package.. im sorry for my ortography. :)
Last edited by dilaang (2009-02-10 03:56:43)
Offline
Can you retry without the mac80211 module in rc.conf ?
That one is normally built inside the kernel so no need to add it.
Offline
Yes.. i remove it from the kernel mod .. but i can get it work in the boot time.. i have to unload the module (modprobe -r iwl3945) and load it again (modprobe iwl3945 ) i dont know why... any clues ??
Here is the error.log
Feb 10 18:00:32 pichirilo iwl3945: Failed to register network device (error -2)
Feb 10 18:00:32 pichirilo Error: Driver 'pcspkr' is already registered, aborting...
Feb 10 18:00:32 pichirilo uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26).
Feb 10 18:00:32 pichirilo Error: Driver 'pcspkr' is already registered, aborting...
Feb 10 18:00:45 pichirilo kdm_greet[2596]: Cannot open default user face
Feb 10 18:08:35 pichirilo uvcvideo: Failed to query (1) UVC control 9 (unit 5) : -32 (exp. 2).
Feb 10 18:08:35 pichirilo uvcvideo: Failed to query (1) UVC control 9 (unit 5) : -32 (exp. 2).
Feb 10 18:08:35 pichirilo uvcvideo: Failed to query (1) UVC control 9 (unit 5) : -32 (exp. 2).
Feb 10 18:08:48 pichirilo uvcvideo: Failed to query (1) UVC control 9 (unit 5) : -32 (exp. 2).
Feb 10 18:08:48 pichirilo uvcvideo: Failed to query (1) UVC control 9 (unit 5) : -32 (exp. 2).
and the 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="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Canada/Pacific"
KEYMAP="us"
CONSOLEFONT=
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 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="pichirilo"
# 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="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(!lo !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=menu
#AUTO_NETWORKS=(auto-wireless wlan0)
# -----------------------------------------------------------------------
# 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 hal network net-profiles !netfs crond alsa fam kdm)
Last edited by dilaang (2009-02-10 23:28:34)
Offline
Can this help ? http://wiki.archlinux.org/index.php/Dell_Inspiron_1420 i.e. can you try to remove the tg3 module too ?
According to the wiki it should also be loaded automatically.
...just trying to find what interferes with your iwl3945 module.
You should also insert !pcspkr in your rc.conf to avoid this problem:
Error: Driver 'pcspkr' is already registered, aborting...
Offline
Here is the ifconfig output after doing unload and load again de module iwl3945...
I will remove the tg3 module and pcspkr.
Thanks...
eth0 Link encap:Ethernet HWaddr 00:1C:23:F8:A1:85
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:160227928 errors:0 dropped:0 overruns:0 frame:0
TX packets:160227928 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15058863700 (14361.2 Mb) TX bytes:15058863700 (14361.2 Mb)
wlan0 Link encap:Ethernet HWaddr 00:1C:BF:1E:63:EF
inet addr:10.105.101.71 Bcast:10.105.103.255 Mask:255.255.252.0
inet6 addr: fe80::21c:bfff:fe1e:63ef/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:116136 errors:0 dropped:0 overruns:0 frame:0
TX packets:8673 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22032842 (21.0 Mb) TX bytes:1379857 (1.3 Mb)
wmaster0 Link encap:UNSPEC HWaddr 00-1C-BF-1E-63-EF-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Offline
Even i have exactly the same problem..I tried removing tg3 ...still no luck..
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="en_US.utf8"
#HARDWARECLOCK="localtime"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
#TIMEZONE="Canada/Pacific"
TIMEZONE="Asia/Calcutta"
KEYMAP="us"
CONSOLEFONT=
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=(iwl3945 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore fuse)
# 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="muttai"
# 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"
wlan0="dhcp"
INTERFACES=(!eth0 !wlan0)
# 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 netfs crond dbus hal wicd fam gdm)
Offline
Hi, but your wireless interface is working ?.
Becouse if i unload and load again the module iwl3945 it works...
Offline
yes exactly the same.....
i remove the module and re-add it works exactly fine...
modprobe -r iwl3945
modprobe iwl3945
Offline
I just add that lines in rc.local file..
Offline
My iwl3945 works on my Thinkpad T60
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="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="US/Eastern"
KEYMAP="us"
CONSOLEFONT=
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=(e1000e iwl3945 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore fuse)
# 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="thor"
# 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="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0="dhcp"
#wlan0="dhcp"
INTERFACES=(!eth0 !wlan0)
# 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 @hal !network @netfs @crond @alsa !dhcdbd !networkmanager @wicd @fam @kdm @acpi-cpufreq @laptop-mode)
Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw
Offline
Remove the iwl3945 from your module array...
Offline
No luck...removed iwl3495 from rc.conf still no luck..
[root@muttai ~]# lsmod | more
Module Size Used by
i915 67208 2
drm 108768 3 i915
ndiswrapper 249600 0
joydev 14208 0
uvcvideo 62344 0
compat_ioctl32 11520 1 uvcvideo
videodev 37888 2 uvcvideo,compat_ioctl32
psmouse 57116 0
sdhci_pci 10624 0
sdhci 19588 1 sdhci_pci
btusb 15768 0
i2c_i801 12444 0
iTCO_wdt 15184 0
sg 31840 0
serio_raw 8196 0
mmc_core 54624 1 sdhci
i2c_core 26144 1 i2c_i801
iTCO_vendor_support 5636 1 iTCO_wdt
v4l1_compat 17284 2 uvcvideo,videodev
bluetooth 60836 1 btusb
video 22420 0
output 5248 1 video
intel_agp 33136 1
wmi 8896 0
dcdbas 10928 0
thermal 20896 0
processor 46648 3 thermal
fan 7304 0
button 9504 0
battery 14600 0
ac 7176 0
fuse 59584 2
evdev 13984 16
snd_seq_oss 35584 0
snd_seq_midi_event 9344 1 snd_seq_oss
snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 9364 2 snd_seq_oss,snd_seq
snd_hda_intel 531124 1
snd_hwdep 10632 1 snd_hda_intel
snd_pcm_oss 45440 0
snd_pcm 82952 2 snd_hda_intel,snd_pcm_oss
snd_timer 24720 2 snd_seq,snd_pcm
snd_page_alloc 11792 2 snd_hda_intel,snd_pcm
snd_mixer_oss 18944 1 snd_pcm_oss
snd 65096 11 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_inte
l,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 9632 1 snd
rtc_cmos 14040 0
rtc_core 21060 1 rtc_cmos
rtc_lib 4992 1 rtc_core
usbhid 41536 0
hid 49856 1 usbhid
ext3 141328 5
jbd 57000 1 ext3
mbcache 10244 1 ext3
dm_mod 62704 0
ohci1394 34612 0
ieee1394 91392 1 ohci1394
sr_mod 18884 0
iwl3945 103416 0
rfkill 13776 1 iwl3945
cdrom 39080 1 sr_mod
mac80211 182960 1 iwl3945
led_class 6280 1 iwl3945
sd_mod 29096 7
tg3 133124 0
libphy 22656 1 tg3
cfg80211 36896 2 iwl3945,mac80211
uhci_hcd 27552 0
ehci_hcd 41356 0
usbcore 160432 7 ndiswrapper,uvcvideo,btusb,usbhid,uhci_hcd,ehci_
hcd
ata_piix 27652 0
ahci 36876 6
ata_generic 8068 0
pata_acpi 7296 0
libata 176352 4 ata_piix,ahci,ata_generic,pata_acpi
scsi_mod 119256 4 sg,sr_mod,sd_mod,libata
[root@muttai ~]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
[root@muttai ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1C:23:FC:D7:1B
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:280 (280.0 b) TX bytes:280 (280.0 b)
[root@muttai ~]# modprobe -r iwl3945
[root@muttai ~]# modprobe iwl3945
[root@muttai ~]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11abg ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[root@muttai ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1C:23:FC:D7:1B
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:280 (280.0 b) TX bytes:280 (280.0 b)
[root@muttai ~]#
Offline
from your iwconfig output, wlan0 interface appears. This shows your wireless module is setup correctly. I believe you will need to set WEP or WPA to connect to your router...
Offline
I am able to connect to router but not on bootup...if you check the logs in order the first iwconfig wlan is not present......then i remove the module and readd again then it works...
Offline
I add this to /etc/rc.local
#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
hdparm -B 254 /dev/sda
modprobe -r iwl3945
modprobe iwl3945
And now everithing works... i know this is not the best solution but it works...
Last edited by dilaang (2009-02-19 01:01:42)
Offline
Cool....that solved my problem too for the time.......
if anybody has the exact reason for this then its really good..
Offline