From owner-freebsd-hardware@FreeBSD.ORG Tue Aug 31 10:04:15 2004 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6BD616A4EE for ; Tue, 31 Aug 2004 10:04:14 +0000 (GMT) Received: from croclist.gatorhole.com (213-150-135-231.telenor.se [213.150.135.231]) by mx1.FreeBSD.org (Postfix) with SMTP id 54DAC43D58 for ; Tue, 31 Aug 2004 10:04:13 +0000 (GMT) (envelope-from prl@gatorhole.se) Received: (qmail 11838 invoked by uid 1000); 31 Aug 2004 10:01:35 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 31 Aug 2004 10:01:35 -0000 Date: Tue, 31 Aug 2004 12:01:35 +0200 (MEST) From: Ragnar Lonn X-X-Sender: To: In-Reply-To: Message-ID: X-ALLYOURBASEAREBELONGTO: Us MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: sio/puc config problems X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 10:04:15 -0000 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: on pcib7 puc0: 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: 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: 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: on motherboard > pci1: on pcib1 > ciss0: port 0x3000-0x30ff mem 0xf7ef0000-0xf7ef3fff,0xf7fc0000-0xf7ffffff irq 11 at device 4.0 on pci1 > bge0: mem 0xf7fb0000-0xf7fbffff irq 5 at device 5.0 on pci1 > bge0: Ethernet address: 00:0b:cd:1b:33:bd > miibus0: on bge0 > brgphy0: on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto > pcib0: on motherboard > pci0: on pcib0 > pci0: at 3.0 irq 7 > pci0: (vendor=0x0e11, dev=0xb203) at 5.0 irq 3 > pci0: (vendor=0x0e11, dev=0xb204) at 5.2 irq 15 > isab0: at device 15.0 on pci0 > isa0: on isab0 > atapci0: 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: on motherboard > pci2: on pcib2 > pcib7: on motherboard > pci7: on pcib7 > puc0: port 0xfff8-0xffff irq 15 at device 5.0 on pci7 > sio1: type 16550A > pci7: (vendor=0x1407, dev=0x0111) at 5.1 irq 0 > pcib3: on motherboard > pci3: on pcib3 > eisa0: on motherboard > mainboard0: on eisa0 slot 0 > orm0: