Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2001 22:19:43 -0700
From:      "R.P. Aditya" <aditya@grot.org>
To:        Warner Losh <imp@harmony.village.org>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: 2 inserts to get WaveLAN (wi) card to work?
Message-ID:  <20011015221942.A85263@mighty.grot.org>
In-Reply-To: <200110160351.f9G3pe728481@harmony.village.org>; from imp@harmony.village.org on Mon, Oct 15, 2001 at 09:51:40PM -0600
References:  <20011015114913.A67702@mighty.grot.org> <200110160351.f9G3pe728481@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
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: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 128254456 bytes/sec
bzero() bandwidth = 183958793 bytes/sec
pcib0: <Host to PCI bridge> 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: <PCI bus> on pcib0
isab0: <PCI to ISA bridge (vendor=1045 device=c700)> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <NeoMagic MagicGraph 128XD SVGA controller> (vendor=0x10c8, dev=0x0004) at 2.0 irq 0
pcic0: <TI PCI-1131 PCI-CardBus Bridge> 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: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1131 PCI-CardBus Bridge> 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: <PC Card bus (classic)> on pcic1
pci0: <OPTi 82C861 (FireLink) USB controller> (vendor=0x1045, dev=0xc861) at 4.0
atapci0: <Generic PCI ATA controller> 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: <Option ROM> at iomem 0xc0000-0xc9fff 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
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000
ata3: mask=00 status0=ff status1=ff
ata3: probe allocation failed
ata3 failed to probe 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
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0047
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic2 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic3: not probed (disabled)
sio0: irq maps: 0x241 0x251 0x241 0x241
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0x241 0x249 0x241 0x241
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: ECP SPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
isa_probe_children: probing PnP devices
pcic0: Event mask 0xf stat 0x30000316
pcic0: BAD Vcc request
BIOS Geometries:
 0:03df7f3f 0..991=992 cylinders, 0..127=128 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: faith0 attached
Creating DISK ad0
ad0: <IBM-DTCA-24090/TC6OAB1A> ATA-3 disk at ata0-master
ad0: 3909MB (8007552 sectors), 7944 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, BIOSPIO
ad0: piomode=4 dmamode=2 udmamode=2 cblid=0
ad0: 3909MB <IBM-DTCA-24090> [7944/16/63] at ata0-master BIOSPIO
Mounting root from ufs:/dev/ad0s1a
ad0s1: type 0xa5, start 63, end = 8007551, size 8007489 : OK
start_init: trying /sbin/init
IP Filter: v3.4.20 initialized.  Default = pass all, Logging = enabled
Linux-ELF exec handler installed
pcic0: Event mask 0x6 stat 0x30000710
pcic0: BAD Vcc request
pccard: card inserted, slot 0
pcic0: reset 1 int is 10 stat is 4f
pcic0: reset 2 int is 70 stat is 4f
pcic0: reset 3 int is 70 stat is 6f
Oct 15 21:56:35 netpunk pccardd[104]: Card "Lucent Technologies"("WaveLAN/IEEE") [Version 01.01] [] matched "Lucent Technologies" ("WaveLAN/IEEE") [(null)] [(null)] 
Oct 15 21:56:35 netpunk pccardd[104]: Using I/O addr 0x240, size 64 
Oct 15 21:56:35 netpunk pccardd[104]: Setting config reg at offs 0x3e0 to 0x41, Reset time = 50 ms 
Oct 15 21:56:40 netpunk pccardd[104]: Assigning I/O window 0, start 0x240, size 0x40 flags 0x5 
pccard0: Assigning wi0: io 0x240-0x27f irq 9 mem 0x0-0xffffffff
Oct 15 21:56:40 netpunk pccardd[104]: Assign wi0, io 0x240-0x27f, mem 0x0, 0 bytes, irq 9, flags 0 
Oct 15 21:56:40 netpunk pccardd[104]: driver allocation failed for Lucent Technologies(WaveLAN/IEEE): Device not configured
pcic0: Event mask 0xf stat 0x3000031f
pcic0: BAD Vcc request
pccard: card removed, slot 0
Oct 15 21:56:48 netpunk pccardd[104]: wi0: Lucent Technologies (WaveLAN/IEEE) removed.
pcic0: Event mask 0xe stat 0x30000710
pcic0: BAD Vcc request
pccard: card inserted, slot 0
pcic0: reset 1 int is 10 stat is 4f
pcic0: reset 2 int is 70 stat is 4f
pcic0: reset 3 int is 70 stat is 6f
Oct 15 21:57:00 netpunk pccardd[104]: Card "Lucent Technologies"("WaveLAN/IEEE") [Version 01.01] [] matched "Lucent Technologies" ("WaveLAN/IEEE") [(null)] [(null)] 
Oct 15 21:57:00 netpunk pccardd[104]: Found existing driver (wi) for Lucent Technologies 
Oct 15 21:57:00 netpunk pccardd[104]: Using I/O addr 0x240, size 64
Oct 15 21:57:00 netpunk pccardd[104]: Setting config reg at offs 0x3e0 to 0x41, Reset time = 50 ms 
Oct 15 21:57:05 netpunk pccardd[104]: Assigning I/O window 0, start 0x240, size 0x40 flags 0x5 
pccard0: Assigning wi0: io 0x240-0x27f irq 9 mem 0x0-0xffffffff
pcic: I/O win 0 flags 15 240-27f
wi0: Forcing IRQ to 9
pcic: I/O win 0 flags 5 240-27f
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 9 slot 0 on pccard0
wi0: found Lucent chip
pcic: I/O win 0 flags 15 240-27f
wi0: Forcing IRQ to 9
wi0: Ethernet address: 00:02:2d:20:38:70
wi0: wi_generic_attach:wi_has_wep = 1
bpf: wi0 attached
Oct 15 21:57:05 netpunk pccardd[104]: Assign wi0, io 0x240-0x27f, mem 0x0, 0 bytes, irq 9, flags 0 
Oct 15 21:57:05 netpunk pccardd[104]: wi0: Lucent Technologies (WaveLAN/IEEE) inserted.
pcic0: Event mask 0x9 stat 0x30000719
pcic0: BAD Vcc request

Thanks,
Adi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011015221942.A85263>