Date: Wed, 14 Feb 2001 01:55:54 +0800 (SGT) From: Chan Tur Wei <twchan@singnet.com.sg> To: freebsd-mobile@freebsd.org Subject: uhci0: Could not map ports Message-ID: <Pine.BSF.4.21.0102140141170.413-200000@zargrok.ctlsg.creaf.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi,
I would love to try out USB on FreeBSD on my laptop but the probe fails:
(Extracts from boot verbose (attached file)):
...
found-> vendor=0x8086, dev=0x7112, revid=0x01
class=0c-03-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=d, irq=128
...
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> irq 128 at device 7.2 on pci0
uhci0: Could not map ports
device_probe_and_attach: uhci0 attach returned 6
...
Somehow or other the BIOS (apparently it's a SystemSoft MobilePro Bios)
does not assign the I/O port address correctly...
I've not seen any resolution to this problem in the mail archives
except to "Set PnP OS option in the Bios to: NO" but the Bios does not
support such an option at all.
Is there any way for me hack some hard-coded addresses and IRQ's
(which I'd obtain from Windows on this dual-booted machine) into the
probe routines somewhere? Short of such drastic action, is there
any resolution for this problem of mine? I.e. for FreeBSD to somehow
or other allocate a port address/IRQ to the device, even if the
address is user-configured a'la isa hardware addresses?
Hoping for some positive response...
Regards
-T.W.Chan-
[-- 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 4.2-STABLE #2: Sun Feb 11 23:21:41 SGT 2001
root@zargrok:/usr/obj/usr/src/sys/ZARGKERNEL
Calibrating clock(s) ... TSC clock: 331864994 Hz, i8254 clock: 1193307 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 II/Pentium II Xeon/Celeron (331.83-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x66a Stepping = 10
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory = 100597760 (98240K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x003aa000 - 0x05fe7fff, 96722944 bytes (23614 pages)
avail memory = 94228480 (92020K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00e8050
bios32: Entry = 0xeb170 (c00eb170) Rev = 0 Len = 1
pcibios: PCI BIOS entry at 0x31b0
pnpbios: Found PnP BIOS data at 0xc00ff020
pnpbios: Entry = ec000:2fb2 Rev = 1.0
pnpbios: OEM ID 8224744e
Other BIOS signatures found:
ACPI: 000f0010
Preloaded elf kernel "kernel" at 0xc0384000.
Preloaded elf module "splash_bmp.ko" at 0xc03840a8.
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
module_register_init: MOD_LOAD (splash_bmp, c037f798, 0) error 2
pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086)
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pci_open(1): mode 1 addr port (0x0cf8) is 0x80003b58
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086)
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
found-> vendor=0x8086, dev=0x7190, revid=0x03
class=06-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
map[10]: type 1, range 32, base 20000000, size 28
found-> vendor=0x8086, dev=0x7191, revid=0x03
class=06-04-00, hdrtype=0x01, mfdev=0
subordinatebus=1 secondarybus=1
found-> vendor=0x8086, dev=0x7110, revid=0x02
class=06-01-00, hdrtype=0x00, mfdev=1
subordinatebus=0 secondarybus=0
found-> vendor=0x8086, dev=0x7111, revid=0x01
class=01-01-80, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
map[20]: type 1, range 32, base 00001100, size 4
found-> vendor=0x8086, dev=0x7112, revid=0x01
class=0c-03-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=d, irq=128
found-> vendor=0x8086, dev=0x7113, revid=0x02
class=06-80-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
map[90]: type 1, range 32, base 00001400, size 4
found-> vendor=0x104c, dev=0xac1c, revid=0x01
class=06-07-00, hdrtype=0x02, mfdev=1
subordinatebus=0 secondarybus=0
intpin=a, irq=10
found-> vendor=0x104c, dev=0xac1c, revid=0x01
class=06-07-00, hdrtype=0x02, mfdev=1
subordinatebus=0 secondarybus=0
intpin=a, irq=10
found-> vendor=0x1013, dev=0x6003, revid=0x01
class=04-01-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=a, irq=5
map[10]: type 1, range 32, base e8000000, size 12
map[14]: type 1, range 32, base e9000000, size 20
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
found-> vendor=0x1002, dev=0x4c42, revid=0xdc
class=03-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=a, irq=255
map[10]: type 1, range 32, base e4000000, size 24
map[14]: type 1, range 32, base 0000d000, size 8
map[18]: type 1, range 32, base e6000000, size 12
pci1: <PCI bus> on pcib1
pci1: <ATI model 4c42 graphics accelerator> (vendor=0x1002, dev=0x4c42) at 0.0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1100-0x110f at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1100
ata0: mask=03 status0=50 status1=00
ata0: mask=03 ostat0=50 ostat2=00
ata0-slave: ATAPI probe a=00 b=00
ata0-master: 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=0x1108
ata1: mask=03 status0=50 status1=01
ata1: mask=03 ostat0=50 ostat2=01
ata1-master: ATAPI probe a=14 b=eb
ata1-slave: ATAPI probe a=14 b=eb
ata1: mask=03 status0=00 status1=01
ata1: devices=0c
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> irq 128 at device 7.2 on pci0
uhci0: Could not map ports
device_probe_and_attach: uhci0 attach returned 6
chip1: <Intel 82371AB Power management controller> port 0x1400-0x140f at device 7.3 on pci0
pcic-pci0: <TI PCI-1225 PCI-CardBus Bridge> irq 10 at device 8.0 on pci0
pcic-pci0: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq]
pcic-pci0: Legacy address set to 0x3e0
PCI Config space:
00: ac1c104c 02100007 06070001 00820000
10: 00000000 020000a0 00000000 00000000
20: 00000000 00000000 00000000 00000000
30: 00000000 00000000 00000000 03c0010a
40: ac1c1071 000003e1 00000000 00000000
50: 00000000 00000000 00000000 00000000
60: 00000000 00000000 00000000 00000000
70: 00000000 00000000 00000000 00000000
80: 20449060 00000000 00000000 01dc1622
90: 606402c0 00000000 00000000 00000000
Cardbus Socket registers:
00: 00000000: 00000000: f000e2c3: f000c899:
10: 00000000: f000ff54: f000c899: f000c89a:
ExCa registers:
00: eb 88 d5 43 30 d2 66 f7 f3 88 d7 5a 66 3d ff 03
10: 00 00 fb 77 44 86 c4 c0 c8 02 08 e8 40 91 88 fe
20: 28 e0 8a 66 02 38 e0 72 02 88 e0 bf 05 00 c4 5e
30: 04 50 b4 02 cd 13 5b 73 0a 4f 74 1c 30 e4 cd 13
pcic-pci1: <TI PCI-1225 PCI-CardBus Bridge> irq 10 at device 8.1 on pci0
pcic-pci1: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq]
PCI Config space:
00: ac1c104c 02100007 06070001 00820000
10: 00000000 020000a0 00000000 00000000
20: 00000000 00000000 00000000 00000000
30: 00000000 00000000 00000000 03c0010a
40: ac1c1071 000003e1 00000000 00000000
50: 00000000 00000000 00000000 00000000
60: 00000000 00000000 00000000 00000000
70: 00000000 00000000 00000000 00000000
80: 20449060 00000000 00000000 01dc1622
90: 606402c0 00000000 00000000 00000000
Cardbus Socket registers:
00: 00000000: 00000000: f000e2c3: f000c899:
10: 00000000: f000ff54: f000c899: f000c89a:
ExCa registers:
00: eb 88 d5 43 30 d2 66 f7 f3 88 d7 5a 66 3d ff 03
10: 00 00 fb 77 44 86 c4 c0 c8 02 08 e8 40 91 88 fe
20: 28 e0 8a 66 02 38 e0 72 02 88 e0 bf 05 00 c4 5e
30: 04 50 b4 02 cd 13 5b 73 0a 4f 74 1c 30 e4 cd 13
csa0: <Crystal Semiconductor CS4614/4622/4624 Audio accelerator/4280 Audio controller> mem 0xe9000000-0xe90fffff,0xe8000000-0xe8000fff irq 5 at device 9.0 on pci0
pcm0: <CS461x PCM Audio> on csa0
pcm0: ac97 codec id 0x43525903
pcm0: ac97 codec features headphone, 18 bit DAC, 18 bit ADC, 6 bit master volume, no 3D Stereo Enhancement
pcm: setmap 5e5d000, 1000; 0xc09a9000 -> 5e5d000
pcm: setmap 5e7e000, 1000; 0xc09aa000 -> 5e7e000
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
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 MouseMan+, device ID 0-51, 3 buttons
psm0: config:00006000, flags:00000000, packet size:3
psm0: syncmask:08, syncbits:08
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 e7 73 4f 4f 97 53 84
b4 1f 00 4f 0d 0e 00 00 07 80 91 87 8f 28 1f 8f
b5 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 e7 73 4f 4f 97 53 84
b4 1f 00 4f 0d 0e 00 00 07 80 91 87 8f 28 1f 8f
b5 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)
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
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0x41 0x49 0x41 0x41
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: not probed (disabled)
sio3: not probed (disabled)
ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 5 on isa0
pca0 at port 0x40 on isa0
joy0 at port 0x201 on isa0
pcic0: <VLSI 82C146> at port 0x3e0-0x3e1 on isa0
pcic0: Polling mode
stat is 0
stat is 4c
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
pcic1: Cannot get I/O range
pcic1 failed to probe at port 0x3e0-0x3e1 on isa0
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
isa_probe_children: probing PnP devices
BIOS Geometries:
0:03fdfe3f 0..1021=1022 cylinders, 0..254=255 heads, 1..63=63 sectors
1:03ff0001 0..1023=1024 cylinders, 0..0=1 heads, 1..1=1 sectors
2:03ff0001 0..1023=1024 cylinders, 0..0=1 heads, 1..1=1 sectors
3:03ff0001 0..1023=1024 cylinders, 0..0=1 heads, 1..1=1 sectors
0 accounted for
Device configuration finished.
RTC BIOS diagnostic error 20<config_unit>
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 68c040, tty 6310ba, net 6710ba
bpf: sl0 attached
pccard: card inserted, slot 1
Slot 1 chg = 0x1
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ata0-master: success setting UDMA2 on PIIX4 chip
Creating DISK ad0
Creating DISK wd0
ad0: <IBM-DARA-212000/AR4OA51A> ATA-4 disk at ata0-master
ad0: 11513MB (23579136 sectors), 23392 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=4 cblid=1
ad0: 11513MB <IBM-DARA-212000> [23392/16/63] at ata0-master UDMA33
ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
ata1-master: success setting PIO4 on generic chip
acd0: <CD-224E/1.0A> CDROM drive at ata1 as master
acd0: read 4134KB/s (4134KB/s), 512KB buffer, PIO4
acd0: Reads: CD-R, CD-DA stream
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm data disc loaded, unlocked
Mounting root from ufs:/dev/ad0s2a
ad0s1: type 0xb, start 63, end = 12289724, size 12289662 : OK
ad0s2: type 0xa5, start 12289725, end = 23567354, size 11277630 : OK
start_init: trying /sbin/init
fire_saver: the console does not support M_VGA_CG320
module_register_init: MOD_LOAD (fire_saver, c0a5b6dc, 0) error 19
Linux-ELF exec handler installed
xe0 at port 0x2e8-0x2ef iomem 0xd0000-0xd0fff irq 11 slot 1 on pccard1
pcic: I/O win 1 flags 17 100-10f
xe0: Xircom CEM56, bonding version 0x55, 100Mbps capable, with modem
xe0: DingoID = 0x444b, RevisionID = 0x1, VendorID = 0
xe0: Ethernet address 00:10:a4:e3:a5:b9
bpf: xe0 attached
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102140141170.413-200000>
