Date: Sat, 1 Apr 2000 20:37:10 -0400 (AST) From: The Hermit Hacker <scrappy@hub.org> To: freebsd-questions@freebsd.org Subject: Re: Serial->serial connection (sio0 -> sio1) Message-ID: <Pine.BSF.4.21.0004012034510.437-200000@thelab.hub.org> In-Reply-To: <Pine.BSF.4.21.0004011859490.310-100000@thelab.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
An appendum to this ... the motherboard is an ABit BP6 with only one CPU
installed, and not overclocked ... don't know if it makes any difference
... I should have thought of it before, but I've added my dmesg output to
this email, jus tin case something stands out to someone?
On Sat, 1 Apr 2000, The Hermit Hacker wrote:
>
> Morning all ...
>
> I'm trying to test a null modem cable under FreeBSD by connecting
> each end to my two serial ports, and for the life of me, I can't get a
> login prompt, so either this isn't possible or I'm doing something
> wrong. We ended up testing it by using the 'Direct Connect' feature in
> Win98, so we know the cable is working, but I want to get this working
> with my FreeBSD machine :(
>
> My /etc/ttys looks like:
>
> ttyd0 "/usr/libexec/getty std.9600" dialup off secure
> ttyd1 "/usr/libexec/getty std.9600" dialup on secure
> ttyd2 "/usr/libexec/getty std.9600" dialup off secure
> ttyd3 "/usr/libexec/getty std.9600" dialup off secure
>
> My kernel/dmesg shows:
>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
>
> And, a kermit session looks like:
>
> Script started on Sat Apr 1 18:58:42 2000
> You have mail.
> thelab# g[Kps ax | gfep [K[K[Krep ttyd
> 295 ?? I 0:00.01 /usr/libexec/getty std.9600 ttyd1
> thelab# kermit
> C-Kermit 7.0.196, 1 Jan 2000, for FreeBSD 3.0
> Copyright (C) 1985, 2000,
> Trustees of Columbia University in the City of New York.
> Type ? or HELP for help.
> (/root/) C-Kermit>c
> Connecting to /dev/ttyd0, speed 9600.
> The escape character is Ctrl-\ (ASCII 28, FS)
> Type the escape character followed by C to get back,
> or followed by ? to see other options.
> ?Carrier required but not detected.
> ***********************************
> Hint: To CONNECT to a serial device that
> is not presenting the Carrier Detect signal,
> first tell C-Kermit to:
>
> SET CARRIER-WATCH OFF
>
> ***********************************
>
> (/root/) C-Kermit>set cr arrier-watch off
> (/root/) C-Kermit>c
> Connecting to /dev/ttyd0, speed 9600.
> The escape character is Ctrl-\ (ASCII 28, FS)
> Type the escape character followed by C to get back,
> or followed by ? to see other options.
> ----------------------------------------------------
>
> (Back at thelab.hub.org)
> ----------------------------------------------------
> (/root/) C-Kermit>quit
> Closing /dev/ttyd0...OK
> thelab# ps ax | grep ttyd
> 295 ?? I 0:00.01 /usr/libexec/getty std.9600 ttyd1
> thelab# exit
> exit
>
>
> Is there something obvious that I'm overlooking here? :(
>
> Thanks ...
>
> Script done on Sat Apr 1 18:59:24 2000
> Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
> Systems Administrator @ hub.org
> primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
>
>
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
[-- Attachment #2 --]
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 4.0-RELEASE #0: Mon Mar 20 22:50:22 GMT 2000
root@monster.cdrom.com:/usr/src/sys/compile/GENERIC
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (467.73-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x665 Stepping = 5
Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory = 134217728 (131072K bytes)
avail memory = 126251008 (123292K bytes)
Preloaded elf kernel "kernel" at 0xc03c0000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia GeForce 256 graphics accelerator> at 0.0 irq 10
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 11
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xc400-0xc4ff mem 0xf1000000-0xf1000fff irq 5 at device 13.0 on pci0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
vx0: <3COM 3C590 Etherlink III PCI> port 0xc800-0xc81f irq 10 at device 15.0 on pci0
utp[*utp*]: disable 'auto select' with DOS util! address 00:20:af:f7:8f:d2
vx0: supplying EUI64: 00:20:af:ff:fe:f7:8f:d2
Warning! Defective early revision adapter!
vx0: driver is using old-style compatability shims
pci0: <unknown card> (vendor=0x1274, dev=0x5000) at 17.0 irq 11
atapci1: <HighPoint HPT366 ATA66 controller> port 0xd800-0xd8ff,0xd400-0xd403,0xd000-0xd007 irq 15 at device 19.0 on pci0
atapci2: <HighPoint HPT366 ATA66 controller> port 0xe400-0xe4ff,0xe000-0xe003,0xdc00-0xdc07 irq 15 at device 19.1 on pci0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port not found.
acd0: CDROM <CD-ROM 32X/AKU> at ata0-master using PIO4
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s2a
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST36530N 1281> Fixed Direct Access SCSI-2 device
da0: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da0: 6208MB (12715920 512 byte sectors: 255H 63S/T 791C)
vx0: starting DAD for fe80:0001::0220:afff:fef7:8fd2
vx0: DAD complete for fe80:0001::0220:afff:fef7:8fd2 - no duplicates found
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004012034510.437-200000>
