From owner-freebsd-questions Sun Feb 23 11:30:12 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A892A37B401 for ; Sun, 23 Feb 2003 11:30:08 -0800 (PST) Received: from riker.skynet.be (riker.skynet.be [195.238.3.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4711243FDD for ; Sun, 23 Feb 2003 11:30:07 -0800 (PST) (envelope-from rix@advalvas.be) Received: from pentiumii (81.111-200-80.adsl.skynet.be [80.200.111.81]) by riker.skynet.be (8.12.7/8.12.7/Skynet-OUT-2.21) with SMTP id h1NJU29u016494 for ; Sun, 23 Feb 2003 20:30:02 +0100 (MET) (envelope-from ) Message-ID: <007e01c2db72$18d48210$020a0a0a@pentiumii> Reply-To: "Eric Landuyt" From: "Eric Landuyt" To: Subject: Problem: wi0: watchdog timeout. Date: Sun, 23 Feb 2003 20:30:58 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I 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 root@builder.freebsdmall.com:/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 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 rl0: port 0xfc00-0xfcff mem 0xfffbfc00-0xfffbfcff irq 10 at device 13.0 on pci0 rl0: Ethernet address: 00:00:1c:db:cf:0e miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcic0: irq 0 at device 14.0 on pci0 pcic0: PCI Memory allocated: 0x88000000 pcic0: Polling mode pccard0: on pcic0 orm0: