Problem: wi0: watchdog timeout

"Eric Landuyt" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <027401c2dcf9$c4d89190$020a0a0a@pentiumii>
 have a DLink DWL650 wireless card, on a P90, and I'm desesperately trying
to get it working on a FreeBSD 4.7 system.

I wanted to setup it on a FreeBSD 4.7, but the box freezes after printing:

Mounting root from ufs:/dev/md0c

So I looked on the net, and added the following lines to my
/boot/loader.conf file:

hw.pcic.irq="0"
hw.pcic.intr_path="1"

Now, FreeBSD boots very well, all others network cards are working properly
(1 NE2000 ISA card and 1 Realtek PCI card), but I always get the following
line
just after pccardd setups the card:

wi0: watchdog timeout.

I looked on the web and in various man pages, and found a lot of references
(solutions?) to the following variables (to define in /boot/loader.conf):

hw.pcic.ignore_function_1: 0 to enabled function 1 - 1 to disable function 1
hw.pcic.init_routing: 1 to force to route via PCI interrupt - 0 default
hw.pcic.intr_path: 1 to route via ISA - 2 to route via PCI
hw.pcic.irq: override the IRQ to use for ISA interrupt routing - 0 to use
polling mode
hw.pcic.ignore_pci: no documentation found about this one, but seems to
fully disable PCI probing
machdep.pccard.pcic_irq: override the IRQ normally assigned to a PCCard
controler - 0 to use polling mode.

Finally, some IRQs settings can also be applied through pccardd -i, or in
/etc/pccard.conf.

I think my problem is due to an IRQ conflict.
Theoretically, from what I see with various tools (by looking at /proc
informations using Linux, ...)
it seems that IRQs 3, 5 and 12 are free on the box.

My questions are:
- How does all those PCI/ISA/IRQ settings interact all together ?
- How to setup those to have a properly working wireless card?
- Else,is it possible to indicate me the appropriated mailing list /person
where I can get an answer?

With an /boot/loader.conf as following:

userconfig_script_load="YES"
hw.pcic.intr_path="1"
hw.pcic.irq="0"

and the line  pccardd_flags=" -i 12"   in /etc/rc.conf,
Here's what I get during the boot (dmesg output):

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT 2002
    [email protected]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (99.72-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x526  Stepping = 6
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 50331648 (49152K bytes)
config> di sio1
config> di sio0
config> di ppc0
config> di sn0
config> di lnc0
config> di ie0
config> di fe0
config> di cs0
config> di bt0
config> di aic0
config> di aha0
config> di adv0
config> en ed0
config> po ed0 0x340
config> ir ed0 11
config> iom ed0 0xd8000
config> f ed0 0
config> q
avail memory = 43851776 (42824K bytes)
Preloaded elf kernel "kernel" at 0xc050f000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc050f09c.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371FB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
rl0: <RealTek 8139 10/100BaseTX> port 0xfc00-0xfcff mem
0xfffbfc00-0xfffbfcff irq 10 at device 13.0 on pci0
rl0: Ethernet address: 00:00:1c:db:cf:0e
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcic0: <Ricoh RL5C475 PCI-CardBus Bridge> irq 0 at device 14.0 on pci0
pcic0: PCI Memory allocated: 0x88000000
pcic0: Polling mode
pccard0: <PC Card 16-bit bus (classic)> on pcic0
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xed000-0xedfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
ed0 at port 0x340-0x35f iomem 0xd8000 irq 11 drq 0 on isa0
ed0: address 08:00:00:51:69:44, type NE2000 (16 bit)
ad0: 58644MB <IC35L060AVER07-0> [119150/16/63] at ata0-master BIOSPIO
ad2: 38166MB <ST340016A> [77545/16/63] at ata1-master BIOSPIO
acd0: CDROM <LTN301> at ata1-slave BIOSPIO
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 0
wi0 at port 0x240-0x27f irq 12 slot 0 on pccard0
wi0: 802.11 address: 00:05:5d:5c:21:3c
wi0: using RF:PRISM2.5 MAC:ISL3873
wi0: Intersil Firmware: Primary 1.00.07, Station 1.03.05
wi0: watchdog timeout
wi0: watchdog timeout

also, pccardd prints me the following a bit later:
freebsd pccardd[41]: wi0: D (Link DWL-650 11Mbps WLAN Card) inserted.
freebsd pccardd[41]: pccardd started

Don't forget I must conserve the following settings to boot properly:
(except if you have another solution...;)

hw.pcic.irq="0"
hw.pcic.intr_path="1"

Thanks in advance


To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.