Here is the content of /etc/ttys file. do you see any mistake ?

-bash-3.2$ grep -v none /etc/ttys
#
#       $OpenBSD: ttys,v 1.17 2002/06/09 06:15:14 todd Exp $
#
# name  getty                           type    status          comments
#
console "/usr/libexec/getty Pc"         vt220   off secure
ttyC0   "/usr/libexec/getty Pc"         vt220   on  secure
ttyC1   "/usr/libexec/getty Pc"         vt220   off secure
ttyC2   "/usr/libexec/getty Pc"         vt220   off secure
ttyC3   "/usr/libexec/getty Pc"         vt220   off secure
ttyC4   "/usr/libexec/getty Pc"         vt220   off secure
ttyC5   "/usr/libexec/getty Pc"         vt220   off secure
ttyC6   "/usr/libexec/getty Pc"         vt220   off secure
ttyC7   "/usr/libexec/getty Pc"         vt220   off secure
ttyC8   "/usr/libexec/getty Pc"         vt220   off secure
ttyC9   "/usr/libexec/getty Pc"         vt220   off secure
ttyCa   "/usr/libexec/getty Pc"         vt220   off secure
ttyCb   "/usr/libexec/getty Pc"         vt220   off secure
tty00   "/usr/libexec/getty std.9600"   vt220   on  secure
tty01   "/usr/libexec/getty std.9600"   unknown off
tty02   "/usr/libexec/getty std.9600"   unknown off
tty03   "/usr/libexec/getty std.9600"   unknown off
tty04   "/usr/libexec/getty std.9600"   unknown off
tty05   "/usr/libexec/getty std.9600"   unknown off
tty06   "/usr/libexec/getty std.9600"   unknown off
tty07   "/usr/libexec/getty std.9600"   unknown off


when getting the stage 2 boot loading prompt, I also get the following message :
probing: pc0 com0 mem[639K 1023M a20=on]
disk: fd0 fd1 hd0+ hd1+
>> OpenBSD/i386 BOOT 2.13
boot >

So, my installation sees an com port. is that because it is physically
detected ? or because it is configured in the /etc/ttys file ?

Thanks again

On 8/20/07, nicodache <[EMAIL PROTECTED]> wrote:
> Ok, the dmesg is here :)
>
> BTW, is it normal to still have access the the ctrl-alt-del keys when
> I'm (or at least I should be) using the serial to redirect all the i/o
> from the other computer ?
>
> DMESG :
> OpenBSD 4.1 (GENERIC.RAID) #0: Sun Jul  8 22:16:34 CEST 2007
>     [EMAIL PROTECTED]:/sys/arch/i386/compile/GENERIC.RAID
> cpu0: Intel Pentium III ("GenuineIntel" 686-class) 795 MHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
> real mem  = 1073311744 (1048156K)
> avail mem = 971534336 (948764K)
> using 4278 buffers containing 53788672 bytes (52528K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @
> 0xeca00, SMBIOS rev. 2.3 @ 0xf2000 (41 entries)
> bios0: Compaq ProLiant DL320
> pcibios0 at bios0: rev 2.1 @ 0xeca00/0x3600
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfaca0/160 (8 entries)
> pcibios0: PCI Interrupt Router at 000:15:0 ("ServerWorks OSB4" rev 0x00)
> pcibios0: PCI bus #0 is the last bus
> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x8000 0xd0000/0x3400 0xe8000/0x8000!
> acpi at mainbus0 not configured
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20LE Host" rev 0x05
> pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20LE Host" rev 0x05
> pci1 at pchb1 bus 1
> pciide0 at pci1 dev 1 function 0 "Promise PDC20375" rev 0x02: DMA
> wd0 at pciide0 channel 0 drive 0: <ST380811AS>
> wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
> wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 6
> wd1 at pciide0 channel 1 drive 0: <ST380811AS>
> wd1: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
> wd1(pciide0:1:0): using BIOS timings, Ultra-DMA mode 6
> pciide0: using irq 3 for native-PCI interrupt
> siop0 at pci1 dev 2 function 0 "Symbios Logic 53c895A" rev 0x01: irq
> 3, using 8K of on-board RAM
> scsibus0 at siop0: 16 targets
> fxp0 at pci1 dev 3 function 0 "Intel 8255x" rev 0x08, i82559: irq 11,
> address 00:50:8b:e8:56:04
> inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
> fxp1 at pci1 dev 4 function 0 "Intel 8255x" rev 0x08, i82559: irq 11,
> address 00:50:8b:e8:56:05
> inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
> vga1 at pci0 dev 2 function 0 "ATI Rage XL" rev 0x27
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> "Compaq Netelligent ASMC" rev 0x00 at pci0 dev 3 function 0 not configured
> piixpm0 at pci0 dev 15 function 0 "ServerWorks OSB4" rev 0x51: polling
> iic0 at piixpm0
> "adm1022" at iic0 addr 0x2c not configured
> iic0: addr 0x2c 13=3a 14=4d 15=02 17=46 18=64 19=00 20=80 26=3b 27=1b
> 2b=7f 2c=80 37=48 38=c9 39=35 3a=c9 3e=41 3f=c9 40=2b 41=10 43=11
> 44=08 47=50 4a=01 4c=10 93=3a 94=4d 95=02 97=46 98=64 99=00 a0=80
> a6=3b a7=1b ab=7f ac=80 b7=48 b8=c9 b9=35 ba=c9 be=41 bf=c9 c0=2b
> c1=10 c3=11 c4=08 c7=50 ca=01 cc=10: adm1022
> pciide1 at pci0 dev 15 function 1 "ServerWorks OSB4 IDE" rev 0x00: DMA
> atapiscsi0 at pciide1 channel 1 drive 0
> scsibus1 at atapiscsi0: 2 targets
> cd0 at scsibus1 targ 0 lun 0: <COMPAQ, CD-ROM CRN-8241B, 2.23> SCSI0
> 5/cdrom removable
> cd0(pciide1:1:0): using PIO mode 4, DMA mode 2
> ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x04:
> irq 5, version 1.0, legacy support
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0
> uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
> uhub0: 4 ports with 4 removable, self powered
> isa0 at mainbus0
> isadma0 at isa0
> 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
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> biomask f7ed netmask ffed ttymask ffef
> pctr: 686-class user-level performance counters enabled
> mtrr: Pentium Pro MTRR support
> Kernelized RAIDframe activated
> cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x0
>     SENSE KEY: Not Ready
>      ASC/ASCQ: Medium Not Present
> raid0 (root): (RAID Level 1) total number of sectors is 156091648
> (76216 MB) as root
> dkcsum: wd0 matches BIOS drive 0x80
> dkcsum: wd1 matches BIOS drive 0x81
> swapmount: no device
>
>
> On 8/20/07, Darren Spruell <[EMAIL PROTECTED]> wrote:
> > On 8/20/07, nicodache <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > I was just looking this webpage when I got your answer ; as Michael
> > > Lucas didn't talk about this file in his talk about consoles, I though
> > > console ports were active by default... (but I found this file in this
> > > book's index, however)
> > >
> > > So, tty00 is "tty00   "/usr/libexec/getty std.9600"   vt220   on
> > > secure", but it still does not work (I tried 19200 also).
> > >
> > > At the boot prompt, when I type "set tty", there is some sort of
> > > autocompletion, that lists me only pc0, no com port is present. Does
> > > that mean the kernel does not recognize the serial ports ?
> > >
> > > I'm still running generic kernel plus RAIDframe. My serial port should
> > > be detected by the kernel, shouldn't they ?
> > > any guess would be neat, I really do feel unconfident with serial ports 
> > > :-/
> > >
> > > Would a dmesg be of any use in this case ?
> >
> > Of course. Your post should have had one from the beginning. ;)
> >
> > DS

Reply via email to