Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2004 12:01:35 +0200 (MEST)
From:      Ragnar Lonn <prl@gatorhole.se>
To:        <freebsd-hardware@freebsd.org>
Subject:   sio/puc config problems
Message-ID:  <Pine.GSO.4.33.0408311111400.11444-100000@pommac>
In-Reply-To: <Pine.GSO.4.33.0408231644550.19061-100000@pommac>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi again,

My troubles with Lavalink's card and sio/puc continues. I added
a second serial port to the Lavalink Dserial card configuration entry in
pucdata.c and then used in the kernel config:

device          puc0    at pci? port 0x4000 flags 0x205
device          puc1    at pci? port 0x4008 irq 15 flags 0x205

# Serial (COM) ports
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4

But while the boot messages look more promising I still don't get
any working serial ports (except for COM1/sio0):

found-> vendor=0x1407, dev=0x0110, revid=0x00
        class=07-00-02, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
        intpin=a, irq=15
        map[10]: type 1, range 32, base 00004000, size  3
found-> vendor=0x1407, dev=0x0111, revid=0x00
        class=07-00-02, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
        intpin=a, irq=15
        map[10]: type 3, range 32, base 00004008, size  3
pci7: <PCI bus> on pcib7
puc0: <Lava Computers serial port> port 0x4000-0x4007 irq 15 at device 5.0 on pci7
        using shared irq15.
could not get resource
sio1: irq maps: 0x3 0x8007 0x3 0x3
sio1: probe failed test(s): 9
puc1: <Lava Computers serial port> port 0x4008-0x400f irq 15 at device 5.1 on pci7
could not get resource
sio2: irq maps: 0x3 0x8007 0x8007 0x3
sio2: probe failed test(s): 4 6

Apparently, the sio1 and sio2 ports fail on some tests (but not the same
on both ports?)

And is "could not get resource" a show-stopper or not?

If anyone could explain to me a little more in-depth the various
parameters used by sio and puc I'd be willing to write some documentation
about it all. I have seen several people ask for help with their serial
port problems and the only decent documentation is the sio man file,
which doesn't help much when something doesn't work.

Anyway, any help at all is appreciated of course.

Regards,

  /Ragnar


On Tue, 24 Aug 2004, Ragnar Lonn wrote:

> Hi all,
>
> I'm trying to get a Lavalink DSerial 3.3V PCI-X card to
> work on FreeBSD 4.10 but with no luck so far.
>
> The machine is a HP Proliant DL360. We compiled in the puc driver and now
> it sees the card as:
>
> puc0: <Lava Computers serial port> port 0xfff8-0xffff irq 15 at device 5.0 on pci7
>
> Below is the dmesg output. Does anyone have any clues as to how to get all
> three serial ports (the original, COM1 on the motherboard plus the two
> ports on the Lava card) to work?
>
> Regards,
>
>   /Ragnar
>
>
> pcib1: <ServerWorks host to PCI bridge> on motherboard
> pci1: <PCI bus> on pcib1
> ciss0: <Compaq Smart Array 5i> port 0x3000-0x30ff mem 0xf7ef0000-0xf7ef3fff,0xf7fc0000-0xf7ffffff irq 11 at device 4.0 on pci1
> bge0: <Broadcom BCM5701 Gigabit Ethernet, ASIC rev. 0x105> mem 0xf7fb0000-0xf7fbffff irq 5 at device 5.0 on pci1
> bge0: Ethernet address: 00:0b:cd:1b:33:bd
> miibus0: <MII bus> on bge0
> brgphy0: <BCM5701 10/100/1000baseTX PHY> on miibus0
> brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
> pcib0: <ServerWorks host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> pci0: <ATI Mach64-GR graphics accelerator> at 3.0 irq 7
> pci0: <unknown card> (vendor=0x0e11, dev=0xb203) at 5.0 irq 3
> pci0: <unknown card> (vendor=0x0e11, dev=0xb204) at 5.2 irq 15
> isab0: <PCI to ISA bridge (vendor=1166 device=0201)> at device 15.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <ServerWorks CSB5 ATA100 controller> port 0-0x3,0x2000-0x200f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> pcib2: <ServerWorks host to PCI bridge> on motherboard
> pci2: <PCI bus> on pcib2
> pcib7: <ServerWorks host to PCI bridge> on motherboard
> pci7: <PCI bus> on pcib7
> puc0: <Lava Computers serial port> port 0xfff8-0xffff irq 15 at device 5.0 on pci7
> sio1: type 16550A
> pci7: <unknown card> (vendor=0x1407, dev=0x0111) at 5.1 irq 0
> pcib3: <Host to PCI bridge> on motherboard
> pci3: <PCI bus> on pcib3
> eisa0: <EISA bus> on motherboard
> mainboard0: <CPQ0724 (System Board)> on eisa0 slot 0
> orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xcc000-0xcd7ff,0xee000-0xeffff on isa0
> pmtimer0 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
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> psm0: failed to get data.
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model IntelliMouse Explorer, device ID 4
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> 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
> acd0: CDROM <CRN-8245B> at ata0-master PIO4
> Mounting root from ufs:/dev/da0s1a
>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.33.0408311111400.11444-100000>