Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2000 11:21:34 -0400 (EDT)
From:      Ed DeHart <dehart@pageone.net>
To:        freebsd-mobile@freebsd.org
Subject:   Re: WaveLAN almost working with PCI adapter
Message-ID:  <200006081521.LAA17373@darth.pageone.net>

next in thread | raw e-mail | index | archive | help
I would like to thank everyone for all of the e-mail but I'm still not
having much luck.

I was using irq 13 for the pccard.  It was pointed out that irq 13 is used
by npx0.  I selected 13 because it was in the pccard.conf file as a possible
irq to use.  Since nothing I installed used 13 I thought it was free.
I should have caught this error.  To prevent others from making this mistake,
the maintainer of the pccard.conf file should remove 13 from it.  Just
a suggestion.

It was suggested that I remove some of the devices from the system. It
was making it hard to find a free irq and devices where sharing irqs which
is not very good.  I disabled the sio2 and the printer port.  I removed
the second ehternet card.  I built a kernel that only supported the
hardware I needed.

The good news is the system boots much faster but the WaveLAN card still
does not work.  The dmesg dump (included) show there are two pccards
inserted.  Since the PCI adapter only holds one card, this might be a
problem.

	-Ed

---------------
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-STABLE #1: Thu Jun  8 10:50:53 EDT 2000
    dehart@orange.prismserver.com:/usr/src/sys/compile/ORANGE
Calibrating clock(s) ... TSC clock: 501137740 Hz, i8254 clock: 1193185 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: AMD-K6(tm) 3D processor (501.14-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
Data TLB: 128 entries, 2-way associative
Instruction TLB: 64 entries, 1-way associative
L1 data cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative
L1 instruction cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative
Write Allocate Enable Limit: 128M bytes
Write Allocate 15-16M bytes: Enable
real memory  = 134201344 (131056K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x002c5000 - 0x07ff3fff, 131264512 bytes (32047 pages)
avail memory = 127660032 (124668K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f9d50
bios32: Entry = 0xf0690 (c00f0690)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0x6c0
pnpbios: Found PnP BIOS data at 0xc00fd1d0
pnpbios: Entry = f0000:d200  Rev = 1.0
pnpbios: OEM ID cd041
Other BIOS signatures found:
ACPI: 000f81a0
K6-family MTRR support enabled (2 registers)
md0: Malloc disk
Creating DISK md0
Math emulator present
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000058
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=154110b9)
npx0: <math processor> on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 677273673 bytes/sec
bzero() bandwidth = 133582687 bytes/sec
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=154110b9)
pcib0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> on motherboard
found->	vendor=0x10b9, dev=0x1541, revid=0x04
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base e0000000, size 26
found->	vendor=0x10b9, dev=0x5243, revid=0x04
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
found->	vendor=0x10b9, dev=0x5237, revid=0x03
	class=0c-03-10, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=12
	map[10]: type 1, range 32, base de000000, size 12
found->	vendor=0x10b9, dev=0x7101, revid=0x00
	class=06-80-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x10b9, dev=0x1533, revid=0xc3
	class=06-01-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x10b7, dev=0x9055, revid=0x30
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base 0000d800, size  7
	map[14]: type 1, range 32, base dd800000, size  7
found->	vendor=0x104c, dev=0xac1c, revid=0x01
	class=06-07-00, hdrtype=0x02, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=5
found->	vendor=0x104c, dev=0xac1c, revid=0x01
	class=06-07-00, hdrtype=0x02, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=5
found->	vendor=0x10b9, dev=0x5229, revid=0xc1
	class=01-01-8a, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=0
	map[20]: type 1, range 32, base 0000d400, size  4
pci0: <PCI bus> on pcib0
pcib1: <AcerLabs M5243 PCI-PCI bridge> at device 1.0 on pci0
found->	vendor=0x1023, dev=0x9750, revid=0xf3
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base df800000, size 22
	map[14]: type 1, range 32, base df000000, size 17
	map[18]: type 1, range 32, base de800000, size 22
pci1: <PCI bus> on pcib1
pci1: <Trident model 9750 VGA-compatible display device> (vendor=0x1023, dev=0x9750) at 0.0 irq 11
pci0: <AcerLabs M5237 (Aladdin-V) USB controller> (vendor=0x10b9, dev=0x5237) at 2.0 irq 12
chip1: <AcerLabs M15x3 Power Management Unit> at device 3.0 on pci0
isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd800-0xd87f mem 0xdd800000-0xdd80007f irq 10 at device 9.0 on pci0
xl0: Ethernet address: 00:01:02:3d:6e:24
xl0: media options word: a
xl0: found MII/AUTO
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: xl0 attached
pcic-pci0: <TI PCI-1225 PCI-CardBus Bridge> irq 5 at device 10.0 on pci0
pcic-pci0: TI12XX PCI Config Reg: [pwr save][pci only]
pcic-pci0: Legacy address set to 0x3e0
PCI Config space:
00:  ac1c104c 02100003 06070001 00822008
10:  00000000 020000a0 00000000 00000000
20:  00000000 00000000 00000000 00000000
30:  00000000 00000000 00000000 03c00105
40:  2023133f 000003e1 00000000 00000000
50:  00000000 00000000 00000000 00000000
60:  00000000 00000000 00000000 00000000
70:  00000000 00000000 00000000 00000000
80:  28449060 00000000 00000000 0cc07d92
90:  606000c0 00000000 00000000 00000000
Cardbus Socket registers:
00:  f000ef6f: f000ef6f: f000e2c3: f000ef6f:
10:  f000ef6f: f000ff54: f00081d8: f000ef6f:
ExCa registers:
00: 13 88 f5 5a 72 d0 80 e1 3f 74 c8 fa 66 8b 46 08
10: 52 66 0f b6 d9 66 31 d2 66 f7 f3 88 eb 88 d5 43
20: 30 d2 66 f7 f3 88 d7 5a 66 3d ff 03 00 00 fb 77
30: a2 86 c4 c0 c8 02 08 e8 40 91 88 fe 28 e0 8a 66
pcic-pci1: <TI PCI-1225 PCI-CardBus Bridge> irq 5 at device 10.1 on pci0
pcic-pci1: TI12XX PCI Config Reg: [pwr save][pci only]
PCI Config space:
00:  ac1c104c 02100003 06070001 00822008
10:  00000000 020000a0 00000000 00000000
20:  00000000 00000000 00000000 00000000
30:  00000000 00000000 00000000 03c00105
40:  2023133f 000003e1 00000000 00000000
50:  00000000 00000000 00000000 00000000
60:  00000000 00000000 00000000 00000000
70:  00000000 00000000 00000000 00000000
80:  28449060 00000000 00000000 0cc07d92
90:  606000c0 00000000 00000000 00000000
Cardbus Socket registers:
00:  f000ef6f: f000ef6f: f000e2c3: f000ef6f:
10:  f000ef6f: f000ff54: f00081d8: f000ef6f:
ExCa registers:
00: 13 88 f5 5a 72 d0 80 e1 3f 74 c8 fa 66 8b 46 08
10: 52 66 0f b6 d9 66 31 d2 66 f7 f3 88 eb 88 d5 43
20: 30 d2 66 f7 f3 88 d7 5a 66 3d ff 03 00 00 fb 77
30: a2 86 c4 c0 c8 02 08 e8 40 91 88 fe 28 e0 8a 66
atapci0: <AcerLabs Aladdin ATA33 controller> port 0xd400-0xd40f irq 0 at device 15.0 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd400
ata0: mask=03 status0=50 status1=00
ata0: mask=03 status0=50 status1=00
ata0: devices = 0x1
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd408
ata1: mask=01 status0=50 status1=ff
ata1: mask=01 status0=00 status1=ff
ata1: devices = 0x4
ata1: at 0x170 irq 15 on atapci0
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
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
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
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0067
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
psm0: current command byte:0067
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fe
kbdc: RESET_AUX return code:00fe
kbdc: RESET_AUX return code:00fe
kbdc: DIAGNOSE status:0055
kbdc: TEST_KBD_PORT status:0000
psm0: failed to reset the aux device.
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 0e 0f 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> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic0: <VLSI 82C146> at port 0x3e0 iomem 0xd0000 irq 11 on isa0
pcic0: management irq 11
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03ff0f3f 0..1023=1024 cylinders, 0..15=16 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: ppp0 attached
new masks: bio 4008c040, tty 40030012, net 40070412
bpf: lo0 attached
bpf: gif0 attached
bpf: gif1 attached
bpf: gif2 attached
bpf: gif3 attached
bpf: stf0 attached
bpf: faith0 attached
ata0-master: success setting up UDMA2 mode on Aladdin chip
ad0: <WDC WD102AA/05.05B05> ATA-4 disk at ata0 as master
ad0: 9787MB (20044080 sectors), 19885 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=2 cblid=0
Creating DISK ad0
Creating DISK wd0
ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
ata1-master: success setting up PIO4 mode on generic chip
acd0: <COMPAQ CDR-8335/0008> CDROM drive at ata1 as master
acd0: read 1779KB/s (4134KB/s), 128KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm photo disc loaded, unlocked
Mounting root from ufs:ad0s1a
ad0s1: type 0xa5, start 0, end = 20044079, size 20044080 : OK
start_init: trying /sbin/init
pccard: card inserted, slot 0
pccard: card inserted, slot 1
Linux-ELF exec handler installed
pcic: I/O win 0 flags 15 240-27f
pcic: I/O win 0 flags 5 240-27f
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 9 slot 0 on pccard0
pcic: I/O win 0 flags 15 240-27f
wi0: Ethernet address: 00:60:1d:f7:71:ed
bpf: wi0 attached
wi0: device timeout
wi0: tx buffer allocation failed
----



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




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