getting wireless to work

Mark Knecht markknecht at gmail.com
Tue Jan 11 22:32:46 UTC 2005


On Tue, 11 Jan 2005 13:39:06 -0800 (GMT-08:00), William
<wsbcomm at earthlink.com> wrote:
> aaarrrrggghh, :)
> 

Hi,
  OK, I've built a new 2.6.10 kernel from scratch. Download was from
kernel.org - latest stable kernel. I've configured it (I think) to use
an 8K kernel stack size. (How do I get 16K? I cannot find that
option...)

   Here's where I'm at:

1) When the machine boots it looks like there is still automated stuff
going on with the kernel and modules for the card. The same set of
messages happen:

orinoco 0.13e (David Gibson <hermes at gibson.dropbear.id.au>, Pavel
Roskin <proski at gnu.org>, et al)orinoco_pci 0.13e (Pavel Roskin
<proski at gnu.org>, David Gibson <hermes at gibson.dropbear.id.au> & Jean
Tourrilhes <jt at hpl.hp.com>)
ACPI: PCI Interrupt Link [LNK0] enabled at IRQ 10
ACPI: PCI interrupt 0000:01:01.0[A] -> GSI 10 (level, low) -> IRQ 10
orinoco_pci: Detected Orinoco/Prism2 PCI device at 0000:01:01.0,
mem:0xF2000000 to 0xF2000FFF -> 0xdf9a4000, irq:10
Reset done.........
Clear Reset...................
pci_cor : reg = 0x15BA - FFFC0E06 - FFFC0C12
divert: allocating divert_blk for eth1
hermes @ MEM 0xdf9a4000: Timeout waiting for card to reset (reg=0x0000)!
eth1: failed to initialize firmware (err = -110)
divert: freeing divert_blk for eth1
eth1: Failed to register net device
orinoco_pci: probe of 0000:01:01.0 failed with error -110

I suspect that this is because I left the Hermes driver build in the
kernel as a module and the kernel is finding the deivce and (possily)
loading it by mistake, or loading it and it isn't working, just as
before.

2) I removed the Orinoco call from /etc/modprobe.conf and it's not
loaded when I boot. I added ndis wrapper but the system doesn't see
wlan0, according to /var/log/messages so it doesn't seem to try and
load it.

alias eth0 8139too
alias snd-card-0 snd-intel8x0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ;
}; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
#alias eth1 orinoco_pci
alias wlan0 ndiswrapper

[root at localhost log]# lsmod
Module                  Size  Used by
snd_mixer_oss          16896  2
snd_intel8x0           25632  4
snd_ac97_codec         65248  1 snd_intel8x0
snd_pcm                78088  2 snd_intel8x0,snd_ac97_codec
snd_timer              19716  1 snd_pcm
snd_page_alloc          7812  2 snd_intel8x0,snd_pcm
snd                    42212  9
snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               7008  3 snd
i830                   80228  2
sunrpc                123236  1
ipt_REJECT              5888  1
ipt_state               1920  2
ip_conntrack           38004  1 ipt_state
iptable_filter          3328  1
ip_tables              15872  3 ipt_REJECT,ipt_state,iptable_filter
sg                     32800  0
microcode               5792  0
sd_mod                 14736  0
usb_storage            61504  0
scsi_mod              104960  3 sg,sd_mod,usb_storage
uhci_hcd               28432  0
ehci_hcd               26116  0
video                  13956  0
fan                     3460  0
button                  5136  0
ipv6                  218752  8
[root at localhost log]#


3) ndiswrapper sees the hardware and can be modprobed:

[root at localhost log]# ndiswrapper -l
Installed ndis drivers:
netprism        driver present, hardware present
[root at localhost log]# modprobe ndiswrapper
[root at localhost log]# lsmod
Module                  Size  Used by
ndiswrapper           110580  0
snd_mixer_oss          16896  2
snd_intel8x0           25632  4
snd_ac97_codec         65248  1 snd_intel8x0
snd_pcm                78088  2 snd_intel8x0,snd_ac97_codec
snd_timer              19716  1 snd_pcm
snd_page_alloc          7812  2 snd_intel8x0,snd_pcm
snd                    42212  9
snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               7008  3 snd
i830                   80228  2
sunrpc                123236  1
ipt_REJECT              5888  1
ipt_state               1920  2
ip_conntrack           38004  1 ipt_state
iptable_filter          3328  1
ip_tables              15872  3 ipt_REJECT,ipt_state,iptable_filter
sg                     32800  0
microcode               5792  0
sd_mod                 14736  0
usb_storage            61504  0
scsi_mod              104960  3 sg,sd_mod,usb_storage
uhci_hcd               28432  0
ehci_hcd               26116  0
video                  13956  0
fan                     3460  0
button                  5136  0
ipv6                  218752  8
[root at localhost log]#


4) wlan0 doesn't come up when I do the modprobe:

[root at localhost log]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:CA:74:21:E9
          inet addr:192.168.10.100  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::240:caff:fe74:21e9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:194 errors:0 dropped:0 overruns:0 frame:0
          TX packets:195 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:110755 (108.1 Kb)  TX bytes:38422 (37.5 Kb)
          Interrupt:11 Base address:0x9000

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:139 errors:0 dropped:0 overruns:0 frame:0
          TX packets:139 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9039 (8.8 Kb)  TX bytes:9039 (8.8 Kb)

[root at localhost log]#

5) The cardis seen, in a sense. It's there, although most of what's
shown at this point doesn't seem to make sense. At least the system
hasn't crashed (yet!) like it did with the FC2 kernel:

[root at localhost log]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

Warning: Driver for device wlan0 has been compiled with version 17
of Wireless Extension, while this program is using version 16.
Some things may be broken...

wlan0     IEEE 802.11b  ESSID:off/any
          Mode:Managed  Frequency:2.457GHz  Access Point: 00:09:5B:E7:DA:14
          Bit Rate:11Mb/s
          RTS thr:0 B   Fragment thr:0 B
          Encryption key:off
          Power Management min timeout:0us  mode:All packets received
          Link Quality:100/100  Signal level:-33 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[root at localhost log]#

6) Something seems to have built a new ifcfg-eth1 file for me killing
my carefully crafted config from yesterday:
[root at localhost network-scripts]# cat ifcfg-eth1
# Intersil Corporation|Prism 2.5 Wavelan chipset
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.10.51
NETMASK=255.255.255.0
GATEWAY=192.168.10.3
[root at localhost network-scripts]#

7) Unlucky 7 - At this point if I type ifconfig wlan0 up The machine
completely crashes. Not very forgiving....

- Mark




More information about the Redhat-install-list mailing list