Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2001 17:48:05 +0930
From:      Benjamin Close <cisbjc@cs.unisa.edu.au>
To:        freebsd-mobile@freebsd.org
Subject:   PCcard support issues under current
Message-ID:  <3BC4043D.951386C0@reason.levels.unisa.edu.au>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi All,
	My PCMCIA ports are not being assigned an interrupt or valid memory
address at boot time under -current. I've tried adding option
PCI_ALLOW_UNSUPPORTED_IO_RANGE (which apperently config doesn't like
anymore) hence the C code got hacked. But still no luck. The attached
dmesg is only a few minutes old but indicates the problem. Note, the
attached dmesg was generated with a kernel (based on GENERIC) which did
not have ALLOW_UNSUPPORTED_IO_RANGE enabled. Ie range is limited.

Suggestions, patches, test requests all welcome.
(Also suggestions no the CDDrive which is ignored, with an illegal magic
number would be appreciated).

Cheers,
	Benjamin
--
3D Research Assistant                            +61 8 8302 3669
School of Computer and Information Science       Room D1-07, Levels
Campus  
University of South Australia                    Mawson Lakes Blvd.   
Benjamin.Close@cs.unisa.edu.au                   South Australia, 5095
[-- Attachment #2 --]
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 5.0-CURRENT #0: Wed Oct 10 16:40:42 CST 2001
    benjsc@draco.nodomain.yet:/usr/obj/usr/src/sys/DRACO
Calibrating clock(s) ... TSC clock: 698454086 Hz, i8254 clock: 1193156 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
Timecounter "TSC"  frequency 698474029 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (698.47-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 402563072 (393128K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x005cf000 - 0x17fe1fff, 396439552 bytes (96787 pages)
avail memory = 385691648 (376652K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00ffe80
bios32: Entry = 0xffe90 (c00ffe90)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf0000+0xc06e
pnpbios: Found PnP BIOS data at 0xc00fe2d0
pnpbios: Entry = f0000:e2f4  Rev = 1.0
pnpbios: Event flag at 4b4
Other BIOS signatures found:
Preloaded elf kernel "/boot/kernel/kernel" at 0xc05a8000.
Preloaded splash_image_data "/boot/splash.bmp" at 0xc05a80b4.
Preloaded elf module "/boot/kernel/snd_maestro3.ko" at 0xc05a8104.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc05a81b8.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05a8264.
random: <entropy source>
mem: <memory & I/O>
Pentium Pro MTRR support enabled
null: <null device, zero device>
WARNING: Driver mistake: destroy_dev on 154/0
Math emulator present
pci_open(1):	mode 1 addr port (0x0cf8) is 0x8000fac4
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=11308086)
Using $PIR table, 10 entries at 0xc00fbc20
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL   CPi R  > on motherboard
Timecounter "ACPI"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu: CLK_VAL field overflows P_CNT register
acpi_cpu: CLK_VAL field overlaps THT_EN bit
acpi_tz0: <thermal zone> on acpi0
acpi_acad0: <AC adapter> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_cmbat1: <Control method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: physical bus=0
	map[10]: type 3, range 32, base e4000000, size 26, enabled
found->	vendor=0x8086, dev=0x1130, revid=0x02
	bus=0, slot=0, func=0
	class=06-00-00, hdrtype=0x00, mfdev=0
found->	vendor=0x8086, dev=0x1131, revid=0x02
	bus=0, slot=1, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
found->	vendor=0x8086, dev=0x2448, revid=0x02
	bus=0, slot=30, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
found->	vendor=0x8086, dev=0x244c, revid=0x02
	bus=0, slot=31, func=0
	class=06-01-00, hdrtype=0x00, mfdev=1
	map[20]: type 4, range 32, base 0000bfa0, size  4, enabled
found->	vendor=0x8086, dev=0x244a, revid=0x02
	bus=0, slot=31, func=1
	class=01-01-80, hdrtype=0x00, mfdev=0
	map[20]: type 4, range 32, base 0000bce0, size  5, enabled
found->	vendor=0x8086, dev=0x2442, revid=0x02
	bus=0, slot=31, func=2
	class=0c-03-00, hdrtype=0x00, mfdev=0
	intpin=d, irq=11
pci0: <PCI bus> on acpi_pcib0
agp0: <Intel 82815 (i815 GMCH) host to PCI bridge> mem 0xe4000000-0xe7ffffff at device 0.0 on pci0
agp0: allocating GATT for aperture of size 64M
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0xc000-0xcfff
pcib1:   memory decode     0xfc000000-0xfdffffff
pcib1:   prefetched decode 0xe8000000-0xebffffff
pci1: physical bus=1
	map[10]: type 3, range 32, base e8000000, size 26, enabled
	map[14]: type 4, range 32, base 0000cc00, size  8, enabled
	map[18]: type 1, range 32, base fcffc000, size 14, enabled
found->	vendor=0x1002, dev=0x4d46, revid=0x00
	bus=1, slot=0, func=0
	class=03-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=11
	powerspec 2  supports D0 D1 D2 D3  current D0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <PCI-PCI bridge> at device 30.0 on pci0
pcib2:   secondary bus     2
pcib2:   subordinate bus   16
pcib2:   I/O decode        0xd000-0xffff
pcib2:   memory decode     0xf2000000-0xfbffffff
pcib2:   prefetched decode 0xfff00000-0xfffff
pci2: physical bus=2
	map[10]: type 4, range 32, base 0000dc00, size  8, enabled
	map[14]: type 1, range 32, base f6ffe000, size 13, enabled
found->	vendor=0x125d, dev=0x1998, revid=0x10
	bus=2, slot=3, func=0
	class=04-01-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=5
	powerspec 2  supports D0 D1 D2 D3  current D0
found->	vendor=0x1668, dev=0x0100, revid=0x11
	bus=2, slot=6, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
found->	vendor=0x104c, dev=0xac42, revid=0x00
	bus=2, slot=15, func=0
	class=06-07-00, hdrtype=0x02, mfdev=1
	intpin=a, irq=255
	powerspec 2  supports D0 D1 D2 D3  current D0
found->	vendor=0x104c, dev=0xac42, revid=0x00
	bus=2, slot=15, func=1
	class=06-07-00, hdrtype=0x02, mfdev=1
	intpin=a, irq=255
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 1, range 32, base f6ffd800, size 11, enabled
	map[14]: type 1, range 32, base f6ff8000, size 14, enabled
found->	vendor=0x104c, dev=0x8027, revid=0x00
	bus=2, slot=15, func=2
	class=0c-00-10, hdrtype=0x00, mfdev=1
	intpin=a, irq=11
	powerspec 2  supports D0 D2 D3  current D0
pci2: <PCI bus> on pcib2
pcm0: <ESS Technology Maestro3> port 0xdc00-0xdcff mem 0xf6ffe000-0xf6ffffff irq 5 at device 3.0 on pci2
pcib2: device pcm0 requested decoded I/O range 0xdc00-0xdcff
pcm0: ac97 codec id 0x83847609 (SigmaTel STAC9721/9723)
pcm0: ac97 codec features 18 bit DAC, 18 bit ADC, 5 bit master volume, SigmaTel 3D Enhancement
pcm0: ac97 primary codec extended features AMAP
pcm: setmap 6b6000, 1000; 0xd3a8b000 -> 6b6000
pcm: setmap 6b7000, 1000; 0xd3a8c000 -> 6b7000
pcm: setmap 6b8000, 1000; 0xd3a8d000 -> 6b8000
pcib3: <PCI-PCI bridge> at device 6.0 on pci2
pcib3:   secondary bus     8
pcib3:   subordinate bus   8
pcib3:   I/O decode        0xe000-0xefff
pcib3:   memory decode     0xf8000000-0xf9ffffff
pcib3:   prefetched decode 0xfff00000-0xfffff
pci3: physical bus=8
	map[10]: type 1, range 32, base f8fff000, size 12, enabled
	map[14]: type 4, range 32, base 0000ecc0, size  6, enabled
	map[18]: type 1, range 32, base f8e00000, size 20, enabled
found->	vendor=0x8086, dev=0x1229, revid=0x08
	bus=8, slot=4, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=11
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 1, range 32, base f8ffec00, size  8, enabled
	map[14]: type 4, range 32, base 0000ecb8, size  3, enabled
	map[18]: type 4, range 32, base 0000e800, size  8, enabled
found->	vendor=0x11c1, dev=0x0448, revid=0x01
	bus=8, slot=8, func=0
	class=07-80-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=11
	powerspec 2  supports D0 D2 D3  current D0
pci3: <PCI bus> on pcib3
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xecc0-0xecff mem 0xf8e00000-0xf8efffff,0xf8fff000-0xf8ffffff irq 11 at device 4.0 on pci3
pcib3: device fxp0 requested decoded memory range 0xf8fff000-0xf8ffffff
pcib2: device fxp0 requested decoded memory range 0xf8fff000-0xf8ffffff
fxp0: using memory space register mapping
fxp0: Ethernet address 00:20:e0:64:53:e7
fxp0: PCI IDs: 8086 1229 1668 1100 0008
fxp0: Chip Type: 0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: fxp0 attached
pci3: <simple comms> at device 8.0 (no driver attached)
pcib2: routed slot 15 INTA to irq 255
pcic0: <TI PCI-4451 PCI-CardBus Bridge> at device 15.0 on pci2
pcib2: device pcic0 requested unsupported memory range 0x44000000-0xffffffff (decoding 0xf2000000-0xfbffffff, 0xfff00000-0xfffff)
pcic0: Could not grab register memory
device_probe_and_attach: pcic0 attach returned 12
pcib2: routed slot 15 INTA to irq 255
pcic0: <TI PCI-4451 PCI-CardBus Bridge> at device 15.1 on pci2
pcib2: device pcic0 requested unsupported memory range 0x44000000-0xffffffff (decoding 0xf2000000-0xfbffffff, 0xfff00000-0xfffff)
pcic0: Could not grab register memory
device_probe_and_attach: pcic0 attach returned 12
pci2: <serial bus, FireWire> at device 15.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0xbfa0-0xbfaf at device 31.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xbfa0
ata0: mask=03 ostat0=52 ostat2=00
ata0-slave: ATAPI probe d0 d0
ata0-master: ATAPI probe 00 00
ata0: mask=03 stat0=50 stat1=00
ata0-master: ATA probe 01 a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xbfa8
ata1: mask=03 ostat0=00 ostat2=00
ata1-master: ATAPI probe 00 00
ata1-slave: ATAPI probe 00 00
ata1: mask=03 stat0=00 stat1=00
ata1: devices=00
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xbce0-0xbcff irq 11 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
psmcpnp0 irq 12 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0065
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
fdc0: <NEC 72065B or clone> port 0x3f7,0x3f2-0x3f5 irq 6 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0: using extended I/O port range
ppc0: ECP SPP ECP+EPP SPP
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
ata-: ata0 already exists, using ata2 instead
ata-: ata1 already exists, using ata3 instead
atkbdc-: atkbdc0 already exists, using atkbdc1 instead
fdc-: fdc0 already exists, using fdc1 instead
ppc-: ppc0 already exists, using ppc1 instead
sio-: sio0 already exists, using sio1 instead
sio-: sio1 already exists, using sio2 instead
sio-: sio2 already exists, using sio3 instead
sio-: sio3 already exists, using sio4 instead
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
ex_isa_identify()
sc-: sc0 already exists, using sc1 instead
vga-: vga0 already exists, using vga1 instead
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
adv0 failed to probe on isa0
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0 failed to probe at port 0x134-0x137 on isa0
aic0 failed to probe at port 0x140-0x15f on isa0
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 failed to probe at port 0x170 irq 15 on isa0
atkbdc1: <Keyboard controller (i8042)> failed to probe at port 0x60 on isa0
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x330
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x334
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x230
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x234
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x130
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x134
bt0 failed to probe at port 0x134-0x137 on isa0
cs0 failed to probe at port 0x300-0x31f on isa0
ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
fdc1: cannot reserve I/O port range (6 ports)
fdc1 failed to probe at port 0x3f0 irq 6 drq 2 on isa0
fe0 failed to probe at port 0x300-0x31f on isa0
ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
le0 failed to probe at port 0x300 iomem 0xd0000 irq 5 on isa0
lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic1: not probed (disabled)
pmtimer0 on isa0
ppc1: parallel port found at 0x378
ppc1: cannot reserve I/O port range
ppc1: <Parallel port> failed to probe at port 0x378-0x37f irq 7 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio1 failed to probe at port 0x3f8 irq 4 flags 0x10 on isa0
sio2: irq maps: 0x1 0x9 0x1 0x1
sio2 at port 0x2f8-0x2ff irq 3 on isa0
sio2: type 16550A
sio3: not probed (disabled)
sio4: not probed (disabled)
sn0 failed to probe at port 0x300-0x30f irq 10 on isa0
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
vga0: vga: WARNING: video mode switching is not fully supported on this adapter
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 6f 4f 4f 93 55 c3 
9e 1f 00 4f 0d 0e 00 00 07 80 8f 82 8f 28 1f 8f 
9f 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 00 00 03 00 02 67 6f 4f 4f 93 55 c3 
9e 1f 00 4f 0d 0e 00 00 07 80 8f 82 8f 28 1f 8f 
9f 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 
vt0 failed to probe on isa0
sc1: no video adapter found.
sc1: <System console> failed to probe on isa0
vga1: <Generic ISA VGA> failed to probe on isa0
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: ppp0 attached
acpi_acad0: On Line
ad0: DMA limited to UDMA33, non-ATA66 compliant cable
ad0: success setting UDMA2 on Intel chip
Creating DISK ad0
ad0: <HITACHI_DK23BA-10/00E2A0D2> ATA-5 disk at ata0-master
ad0: 9590MB (19640880 sectors), 19485 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=4 cblid=0
Mounting root from ufs:/dev/ad0s2a
ad0s1: type 0xb, start 63, end = 7454159, size 7454097 : OK
ad0s2: type 0xa5, start 7454160, end = 19631429, size 12177270 
ad0s2: C/H/S end 1022/254/63 (16434494) != end 19631429: invalid
WARNING: / was not properly dismounted
start_init: trying /sbin/init
acpi_acad0: On Line
acpi_acad0: On Line
Linux ELF exec handler installed
linprocfs registered

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BC4043D.951386C0>