Re: unsupported io range problem

Christoph Rosport <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Marco van de Voort wrote:
> I've installed FreeBSD 5.2.1 on a Latitude Cpi. 
> 
> The Cpi has a C/dock dockingstation that works fine under 4.9.
> Contents: a 3c905 integrated, a 3c900 in the free PCI slot, and some adaptec SCSI controller.
> 	There is also a Latitude modular bay which is an IDE device.
> 
> For all the docking station devices I get errors like:
> pcib1: device xl0 requested unsupported I/O range 0xfcc0-0xfcff (decoding 0x0-0xfff)
> 
> The normal laptop devices seem to go ok. (the realtek is a 32-bits cardbus card, so in the laptop,
> not the docking)
> 
> Some googling made me find the a hw.pci.unsupported...="1" key that I added to loader.conf, to no
> avail.
> 
> Anybody any hints
> 
> Dmesg:
> Copyright (c) 1992-2004 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.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
>     [email protected]:/usr/obj/usr/src/sys/GENERIC
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc09e3000.
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Pentium II/Pentium II Xeon/Celeron (233.86-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
>   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
> real memory  = 134152192 (127 MB)
> avail memory = 120692736 (115 MB)
> Pentium Pro MTRR support enabled
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcibios: BIOS version 2.10
> Using $PIR table, 5 entries at 0xc00fb940
> pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> at pcibus 0 on motherboard
> pci0: <PCI bus> on pcib0
> pci_cfgintr: 0:2 INTA BIOS irq 11
> pci_cfgintr: 0:3 INTA BIOS irq 11
> pci_cfgintr: 0:3 INTB BIOS irq 11
> pci_cfgintr: 0:7 INTD BIOS irq 11
> pci0: <display, VGA> at device 2.0 (no driver attached)
> cbb0: <TI1131 PCI-CardBus Bridge> irq 11 at device 3.0 on pci0
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> cbb0: [MPSAFE]
> cbb1: <TI1131 PCI-CardBus Bridge> irq 11 at device 3.1 on pci0
> cardbus1: <CardBus bus> on cbb1
> pccard1: <16-bit PCCard bus> on cbb1
> cbb1: [MPSAFE]
> isab0: <PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 UDMA33 controller> port 0x860-0x86f at device 7.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata0: [MPSAFE]
> ata1: at 0x170 irq 15 on atapci0
> ata1: [MPSAFE]
> uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xece0-0xecff irq 11 at device 7.2 on pci0
> usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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
> piix0: <PIIX Timecounter> port 0x840-0x84f at device 7.3 on pci0
> Timecounter "PIIX" frequency 3579545 Hz quality 0
> pcib1: <PCI-PCI bridge> at device 17.0 on pci0
> pci1: <PCI bus> on pcib1
> pci_cfgintr: 0:17 INTB routed to irq 11
> pcib1: slot 1 INTA is routed to irq 11
> pci_cfgintr: 0:17 INTB routed to irq 11
> pcib1: slot 5 INTA is routed to irq 11
> pci_cfgintr: 0:17 INTD routed to irq 11
> pcib1: slot 7 INTA is routed to irq 11
> pci_cfgintr: 0:17 INTA routed to irq 11
> pcib1: slot 8 INTA is routed to irq 11
> xl0: <3Com 3c900-COMBO Etherlink XL> port 0xfcc0-0xfcff irq 11 at device 1.0 on pci1
> end (fcff) > sc->iolimit (fff)
> pcib1: device xl0 requested unsupported I/O range 0xfcc0-0xfcff (decoding 0x0-0xfff)
> xl0: couldn't map ports/memory
> device_probe_and_attach: xl0 attach returned 6
> atapci1: <CMD 646 WDMA2 controller> port 0xfc80-0xfc8f,0xfc98-0xfc9b,0xfca0-0xfca7,0xfcb0-0xfcb3,0xfcb8-0xfcbf irq 11 at device 5.0 on pci1
> end (fc8f) > sc->iolimit (fff)
> pcib1: device atapci1 requested unsupported I/O range 0xfc80-0xfc8f (decoding 0x0-0xfff)
> atapci1: [MPSAFE]
> atapci1: HW has secondary channel disabled
> end (fcbf) > sc->iolimit (fff)
> pcib1: device atapci1 requested unsupported I/O range 0xfcb8-0xfcbf (decoding 0x0-0xfff)
> ahc0: <Adaptec aic7860 Ultra SCSI adapter> port 0xf800-0xf8ff mem 0xfdfff000-0xfdffffff irq 11 at device 7.0 on pci1
> end (f8ff) > sc->iolimit (fff)
> pcib1: device ahc0 requested unsupported I/O range 0xf800-0xf8ff (decoding 0x0-0xfff)
> ahc0: can't allocate register resources
> device_probe_and_attach: ahc0 attach returned 12
> xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xfc40-0xfc7f irq 11 at device 8.0 on pci1
> end (fc7f) > sc->iolimit (fff)
> pcib1: device xl0 requested unsupported I/O range 0xfc40-0xfc7f (decoding 0x0-0xfff)
> xl0: couldn't map ports/memory
> device_probe_and_attach: xl0 attach returned 6
> orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
> pmtimer0 on isa0
> atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model Generic PS/2 mouse, device ID 0
> fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/8 bytes threshold
> ppbus0: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> unknown: <PNP0c01> can't assign resources (port)
> unknown: <PNP0303> can't assign resources (port)
> unknown: <PNP0f13> can't assign resources (irq)
> unknown: <PNP0501> can't assign resources (port)
> unknown: <SMCf010> can't assign resources (irq)
> unknown: <PNP0401> can't assign resources (port)
> unknown: <CSC0000> can't assign resources (irq)
> unknown: <PNP0700> can't assign resources (port)
> Timecounter "TSC" frequency 233864918 Hz quality 800
> Timecounters tick every 10.000 msec
> rl0: <RealTek 8139 10/100BaseTX> port 0x1000-0x10ff mem 0x88002000-0x880021ff irq 11 at device 0.0 on cardbus1
> rl0: Ethernet address: 00:40:f4:91:cc:75
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> GEOM: create disk ad0 dp=0xc2048760
> ad0: 19077MB <IC25N020ATCS04-0> [38760/16/63] at ata0-master UDMA33
> acd0: CDROM <CD-ROM CDR_U200> at ata1-master PIO3
> Mounting root from ufs:/dev/ad0s2a
> 
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "[email protected]"
> 
Hi,

my IBM R40 works fine with these settings:

hw.pci.allhw.pci.allow_unsupported_io_range="1"
hw.cbb.memory_range="0x20000000"

You must check the second key for your special device.

Regards,
Christoph
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.