On Tue, Nov 20, 2012 at 12:33 AM, Imre Oolberg <i...@auul.pri.ee> wrote:
> Hi!
>
> I am having hard time getting "NetMos Nm9835" addon PCI adapter going for
> gaining two more com ports. OpenBSD 5.2-current of Nov 13 says on commodity
> i386 hardware
>
> # dmesg
> ...
> puc0 at pci0 dev 8 function 0 "NetMos Nm9835" rev 0x01: ports: 2 com, 1 lpt
> com3 at puc0 port 0 irq 10: ns16550a, 16 byte fifo
> com4 at puc0 port 1 irq 10: ns16550a, 16 byte fifo
> lpt3 at puc0 port 2 irq 10
>
> and /etc/ttys has
>
> # cat /etc/ttys
> ...
>
> tty03   "/usr/libexec/getty std.9600"   vt200 off secure
> tty04   "/usr/libexec/getty std.9600"   vt200 off secure

But you need to have on here http://www.openbsd.org/faq/faq7.html#SerCon

>
> Issuing usual cu gives
>
> # cu -l /dev/cua03 -s 9600
> Connected
> <and stays here>
>
> # cu -l /dev/cua03 -s 9600
> Connected
> <and stays here>
>
> I would be thankful if somebody comments whether i am doing wrong something
> obious or this particular device isnt supposed to work on OpenBSD although
> man puc kind of says it should. (Actually haven't tried this particular
> piece on anything else yet). Or some advice how to debug it to get some
> meaningful information to make it possible to help me further. (And i also
> tried to serve serial console from this computer on cua03 and cua04, no
> luck).
>
>
> Best regards,
>
> Imre
>
> PS This computer has two onboard com ports and they work both ways, i.e. as
> serial consoles and as means to get connected to serial consoles elsewhere.
> So cable should be good (so to say factory null modem cable).
>
> OpenBSD 5.2-current (GENERIC) #82: Tue Nov 13 13:09:22 MST 2012
>     dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: AMD Duron(tm) Processor ("AuthenticAMD" 686-class, 64KB L2 cache) 698
> MHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,MMXX,3DNOW2,3DNOW
> real mem  = 2146955264 (2047MB)
> avail mem = 2100928512 (2003MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 10/06/00, BIOS32 rev. 0 @ 0xfb350,
> SMBIOS rev. 2.3 @ 0xf0800 (38 entries)
> bios0: vendor Award Software International, Inc. version "6.00 PG" date
> 10/06/2000
> bios0: VIA Technologies, Inc. VT8363
> apm0 at bios0: Power Management spec V1.2 (slowidle)
> acpi at bios0 function 0x0 not configured
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0xb7d0
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd00/176 (9 entries)
> pcibios0: PCI Exclusive IRQs: 5 10
> pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev 0x00)
> pcibios0: PCI bus #1 is the last bus
> bios0: ROM list: 0xc0000/0x10000 0xd0000/0x1000 0xd1000/0x1800
> cpu0 at mainbus0: (uniprocessor)
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "VIA VT8363 Host" rev 0x03
> viaagp0 at pchb0: v2
> agp0 at viaagp0: aperture at 0xd0000000, size 0x10000000
> ppb0 at pci0 dev 1 function 0 "VIA VT8363 AGP" rev 0x00
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "NVIDIA Vanta" rev 0x15
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> pcib0 at pci0 dev 7 function 0 "VIA VT82C686 ISA" rev 0x22
> pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x10: ATA66, channel
> 0 configured to compatibility, channel 1 configured to compatibility
> wd0 at pciide0 channel 0 drive 0: <WDC WD2000JB-32EVA0>
> wd0: 16-sector PIO, LBA48, 190781MB, 390719855 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, CD-RW GCE-8520B, 1.03> ATAPI
> 5/cdrom removable
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x10: irq 5
> uhci1 at pci0 dev 7 function 3 "VIA VT83C572 USB" rev 0x10: irq 5
> viapm0 at pci0 dev 7 function 4 "VIA VT82C686 SMBus" rev 0x30: SMI
> iic0 at viapm0
> spdmem0 at iic0 addr 0x50: 1GB SDRAM registered ECC PC133CL2
> spdmem1 at iic0 addr 0x51: 1GB SDRAM registered ECC PC133CL2
> viapm0: 24-bit timer at 3579545Hz
> auvia0 at pci0 dev 7 function 5 "VIA VT82C686 AC97" rev 0x20: irq 10
> ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
> ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
> audio0 at auvia0
> puc0 at pci0 dev 8 function 0 "NetMos Nm9835" rev 0x01: ports: 2 com, 1 lpt
> com3 at puc0 port 0 irq 10: ns16550a, 16 byte fifo
> com4 at puc0 port 1 irq 10: ns16550a, 16 byte fifo
> lpt3 at puc0 port 2 irq 10
> em0 at pci0 dev 9 function 0 "Intel PRO/1000GT (82541GI)" rev 0x05: irq 10,
> address 00:0e:0c:b0:96:b6
> em1 at pci0 dev 10 function 0 "Intel PRO/1000MT (82545GM)" rev 0x04: irq 10,
> address 00:04:23:bd:17:d9
> fxp0 at pci0 dev 11 function 0 "Intel 8255x" rev 0x0c, i82550: irq 5,
> address 00:03:47:9b:76:56
> inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
> re0 at pci0 dev 12 function 0 "Realtek 8169" rev 0x10: RTL8169/8110SB
> (0x1000), irq 10, address 00:06:4f:63:e3:d7
> rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 3
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> com1: console
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0 "VIA UHCI root hub" rev 1.00/1.00 addr 1
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
> mtrr: Pentium Pro MTRR support
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> root on wd0e (24635f1cb2e8a1bb.e) swap on wd0b dump on wd0b

Reply via email to