From owner-freebsd-stable Mon Oct 15 22:19:55 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mighty.grot.org (mighty.grot.org [216.15.97.5]) by hub.freebsd.org (Postfix) with ESMTP id 9DA4637B401 for ; Mon, 15 Oct 2001 22:19:43 -0700 (PDT) Received: by mighty.grot.org (Postfix, from userid 515) id 1F5965E1A; Mon, 15 Oct 2001 22:19:43 -0700 (PDT) Date: Mon, 15 Oct 2001 22:19:43 -0700 From: "R.P. Aditya" To: Warner Losh Cc: freebsd-stable@FreeBSD.ORG Subject: Re: 2 inserts to get WaveLAN (wi) card to work? Message-ID: <20011015221942.A85263@mighty.grot.org> Reply-To: "R.P. Aditya" References: <20011015114913.A67702@mighty.grot.org> <200110160351.f9G3pe728481@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200110160351.f9G3pe728481@harmony.village.org>; from imp@harmony.village.org on Mon, Oct 15, 2001 at 09:51:40PM -0600 X-PGP-Key: http://www.grot.org/pubkey.asc X-PGP-Key-ID: 0x6405D8D5 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Oct 15, 2001 at 09:51:40PM -0600, Warner Losh wrote: > cause pccardd to be more verbose. Also, booting verbose will give > more information. Finally, IRQ 8 is JUST WRONG. You can't use it. > The bridge chipset shouldn't support it. But it looks like you have a > pci based one since irq 9 isn't in the above list. Okay, I took IRQ 8 out of my irq list in pccard.conf and rebooted, and there was no difference, it still took two inserts before the wi card would work. > Also, add "debuglevel 4" to your /etc/pccard.conf file. This will I did this too, and I've attached the verbose dmesg output as well as interleaved the pcardd stuff from /var/log/messages below. > In message <20011015114913.A67702@mighty.grot.org> "R.P. Aditya" writes: > > The first time I insert a wi card (same behaviour for Lucent Gold and Dlink > > 650), the driver allocation fails. Removing the card and reinserting it makes > > it work fine...(if I try a wired ethernet xe card, it works fine on the first > > insert after a "watchdog timer reset"): > > What does the rest of dmesg say? The above doesn't tell me too much. Copyright (c) 1992-2001 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.4-STABLE #1: Sun Oct 14 16:43:13 PDT 2001 root@netpunk.berkeley.edu:/usr/obj/usr/src/sys/TEST Calibrating clock(s) ... TSC clock: 166665705 Hz, i8254 clock: 1193265 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium/P55C (166.66-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping = 3 Features=0x8001bf real memory = 67108864 (65536K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00312000 - 0x03ff7fff, 63856640 bytes (15590 pages) avail memory = 62337024 (60876K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fdba0 bios32: Entry = 0xf56e2 (c00f56e2) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x5c6 pnpbios: Found PnP BIOS data at 0xc00fdbb0 pnpbios: Entry = f0000:e09 Rev = 1.0 pnpbios: Event flag at fb31c Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel" at 0xc02eb000. Preloaded elf module "snd_ess.ko" at 0xc02eb0b0. Preloaded elf module "snd_sbc.ko" at 0xc02eb150. Preloaded elf module "snd_pcm.ko" at 0xc02eb1f0. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk Creating DISK md0 Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x80000848 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=c7011045) Using $PIR table, 4 entries at 0xc00f5bf0 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 128254456 bytes/sec bzero() bandwidth = 183958793 bytes/sec pcib0: on motherboard found-> vendor=0x1045, dev=0xc701, revid=0x20 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x1045, dev=0xc700, revid=0x20 class=06-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x10c8, dev=0x0004, revid=0x00 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=0 map[10]: type 1, range 32, base fd000000, size 24 map[14]: type 1, range 32, base fea00000, size 21 map[18]: type 1, range 32, base fed00000, size 20 found-> vendor=0x104c, dev=0xac15, revid=0x01 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=9 found-> vendor=0x104c, dev=0xac15, revid=0x01 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=0 secondarybus=0 intpin=b, irq=9 found-> vendor=0x1045, dev=0xc861, revid=0x03 class=0c-03-10, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=255 found-> vendor=0x1045, dev=0xd568, revid=0x12 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 0000fcf0, size 4 pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 pci0: (vendor=0x10c8, dev=0x0004) at 2.0 irq 0 pcic0: irq 9 at device 3.0 on pci0 pcic0: PCI Memory allocated: 0x44000000 pcic0: TI113X PCI Config Reg: [speaker enable][CSC serial isa irq] pccard0: on pcic0 pcic1: irq 9 at device 3.1 on pci0 pcic1: PCI Memory allocated: 0x44001000 pcic1: TI113X PCI Config Reg: [speaker enable][CSC serial isa irq] using shared irq9. pccard1: on pcic1 pci0: (vendor=0x1045, dev=0xc861) at 4.0 atapci0: port 0xfcf0-0xfcff at device 20.0 on pci0 atapci0: Busmastering DMA not supported ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0000 ata0: mask=03 status0=50 status1=00 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI probe a=00 b=00 ata0-slave: ATAPI probe a=00 b=00 ata0: mask=03 status0=50 status1=00 ata0-master: ATA probe a=01 b=a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000 ata1: mask=00 status0=ff status1=ff ata1: probe allocation failed ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number pcic-: pcic0 exists, using next available unit number pcic-: pcic1 exists, using next available unit number Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: