Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2000 20:48:19 -0500 (CDT)
From:      Joe Greco <jgreco@ns.sol.net>
To:        ap@bnc.net (Achim Patzner)
Cc:        smp@freebsd.org
Subject:   Re: Any problems with serial consoles?
Message-ID:  <200004150148.UAA46158@aurora.sol.net>
In-Reply-To: <20000412083325.C55899@bnc.net> from Achim Patzner at "Apr 12, 2000  8:33:25 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> > No.  I've been doing serial consoles since day 1, and was one of the fo=
lks
> > who've done more bizarre stuff like setting up diskless boot to allow s=
erial
> > consoles.  I'm talking about a problem that is _specific_ to SMP boxes,=
 and
> > in particular, the systems I described.  That's why I described it the =
way
> > I did.  :-)
>=20
> May I have your original problem description again - I guess I never got =
it
> but I'm running 4.0-STABLE on an HP LH4 and it's doing weird things to the
> console while booting (it even crashed the Linux system being the
> console...).

Okay.

Fairly straightforward SMP server-class system.  P2B-DS, various
configurations.  I've maybe a dozen of these and all exhibit it.

Consoles are all 9600 baud (i.e. default), and have ttyd0 enabled
in ttys.

A good percentage of the time (ranging all the way on up to 100%),
the console goes "nuts" right around the time it starts doing the=20
ifconfig's in netstart.  This continues until the box is booted and
the getty runs on ttyd0, at which point all is fine.  Alternatively,
if I go into single user mode and run /etc/netstart, I run the risk
of losing my console to this problem.

Now, it _appears_ as though something odd happens to the baud or parity
or whatever.  However, kernel console messages (particularly ipfw)
continue to print with no problem.

Now, I "solved" (partially) this problem on some of my machines by
sticking a 'stty 9600 sane' in rc.network, but that doesn't really
solve the problem, because running other commands like ifconfig have
been known to toast the machine.

It looks like this:

/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=
=08|=08/=08-=08Console: serial port
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS drive D: is disk2
BIOS drive E: is disk3
BIOS drive F: is disk4
BIOS drive G: is disk5
BIOS drive H: is disk6
BIOS drive I: is disk7
BIOS drive J: is disk8

FreeBSD/i386 bootstrap loader, Revision 0.7  640/65472kB
(jkh@highwing.cdrom.com, Thu Sep 16 22:16:41 GMT 1999)
|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=
=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08=
/=08-=08\=08|=08/=08Loading /boot/defaults/loader.conf=20
-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=
=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/kernel =
text=3D0x10a408 /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=
=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08=
-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=
=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08=
\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08=
-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=
=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08=
\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08data=3D0x17=
b48+0x1a97c \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08syms=3D[0x4+0x1=
ee30\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08+0x4+0x=
206b3\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08]
\=08|=08/=08-=08\=08|=08/=08
Hit [Enter] to boot immediately, or any other key for command prompt.
=0DBooting [kernel] in 14 seconds... =0DBooting [kernel] in 13 seconds... =
=0DBooting [kernel] in 12 seconds... =0DBooting [kernel] in 11 seconds... =
=0DBooting [kernel]...              =20
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.3-RELEASE #0: Mon Nov 15 06:21:26 CST 1999
    root@:/usr/src/sys/compile/SMP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (686-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x653  Stepping =3D 3
  Features=3D0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  =3D 536870912 (524288K bytes)
avail memory =3D 519716864 (507536K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc027e000.
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.4.0
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.4.3
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> rev 0x00 int a irq 19 on pci=
0.6.0
ahc0: aic7890/91 Wide Channel A, SCSI Id=3D7, 16/255 SCBs
hfa0: <FORE Systems PCA-200E ATM> rev 0x00 int a irq 19 on pci0.9.0
chip4: <PCI to PCI bridge (vendor=3D1011 device=3D0021)> rev 0x02 on pci0.1=
1.0
ahc1: <Adaptec 3940A Ultra SCSI adapter> rev 0x03 int a irq 16 on pci0.12.0
ahc1: aic7895 Wide Channel A, SCSI Id=3D7, 255 SCBs
ahc2: <Adaptec 3940A Ultra SCSI adapter> rev 0x03 int b irq 17 on pci0.12.1
ahc2: aic7895 Wide Channel B, SCSI Id=3D7, 255 SCBs
Probing for devices on PCI bus 1:
Probing for devices on PCI bus 2:
de0: <Digital 21140A Fast Ethernet> rev 0x20 int a irq 17 on pci2.4.0
de0: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0
de0: address 00:e0:29:10:e5:e9
de1: <Digital 21140A Fast Ethernet> rev 0x20 int a irq 18 on pci2.5.0
de1: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0
de1: address 00:e0:29:10:e5:e8
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=3D0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A, console
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2: configured irq 5 not in bitmap of probed irqs 0
sio2 not found at 0x3e8
sio3: configured irq 9 not in bitmap of probed irqs 0
sio3 not found at 0x2e8
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
we0 at 0x2e8 on isa
we0: kernel is keeping watchdog alive
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
IP packet filtering initialized, divert disabled, rule-based forwarding dis=
abled, logging limited to 100 packets/entry by default
ccd0-3: Concatenated disk drivers
Waiting 2 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
de0: enabling 100baseTX port
de1: enabling 100baseTX port
cda1 at ahc1 bus 0 target 0 lun 0
da1: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da1: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da1: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da4 at ahc1 bus 0 target 3 lun 0
da4: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da4: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da4: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da7 at ahc1 bus 0 target 6 lun 0
da7: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da7: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da7: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da10 at ahc2 bus 0 target 0 lun 0
da10: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da10: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da10: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da6 at ahc1 bus 0 target 5 lun 0
da6: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da6: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da6: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da13 at ahc2 bus 0 target 3 lun 0
da13: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da13: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da13: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da5 at ahc1 bus 0 target 4 lun 0
da5: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da5: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da5: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da16 at ahc2 bus 0 target 6 lun 0
da16: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da16: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da16: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da3 at ahc1 bus 0 target 2 lun 0
da3: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da3: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da3: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da15 at ahc2 bus 0 target 5 lun 0
da15: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da15: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da15: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da2 at ahc1 bus 0 target 1 lun 0
da2: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da2: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da2: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da14 at ahc2 bus 0 target 4 lun 0
da14: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da14: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da14: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da9 at ahc1 bus 0 target 9 lun 0
da9: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da9: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da9: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da12 at ahc2 bus 0 target 2 lun 0
da12: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da12: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da12: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da8 at ahc1 bus 0 target 8 lun 0
da8: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da8: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Ena=
bled
da8: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da11 at ahc2 bus 0 target 1 lun 0
da11: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da11: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da11: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da18 at ahc2 bus 0 target 9 lun 0
da18: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da18: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da18: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da17 at ahc2 bus 0 target 8 lun 0
da17: <SEAGATE ST118273W 6244> Fixed Direct Access SCSI-2 device=20
da17: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing En=
abled
da17: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DDRS-34560W S97B> Fixed Direct Access SCSI-2 device=20
da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing En=
abled
da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)
hanging root device to da0s2a
vinum: loaded
Can't open history file /var/tmp/vinum_history: No such file or directory (=
2)
vinum: reading configuration from /dev/da17s1e
vinum: updating configuration from /dev/da15s1e
vinum: updating configuration from /dev/da14s1e
vinum: updating configuration from /dev/da16s1e
vinum: updating configuration from /dev/da18s1e
vinum: updating configuration from /dev/da11s1e
vinum: updating configuration from /dev/da12s1e
vinum: updating configuration from /dev/da13s1e
vinum: updating configuration from /dev/da10s1e
vinum: updating configuration from /dev/da5s1e
vinum: updating configuration from /dev/da6s1e
vinum: updating configuration from /dev/da7s1e
vinum: updating configuration from /dev/da8s1e
vinum: updating configuration from /dev/da9s1e
vinum: updating configuration from /dev/da1s1e
vinum: updating configuration from /dev/da4s1e
vinum: updating configuration from /dev/da3s1e
vinum: updating configuration from /dev/da2s1e
vinum: /dev is mounted read-only, not rebuilding /dev/vinum
swapon: adding /dev/da0s2b as swap device
Automatic reboot in progress...
/dev/rda0s2a: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/rda0s2a: clean, 137165 free (301 frags, 17108 blocks, 0.2% fragmentati=
on)
/dev/rda0s2h: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/rda0s2h: clean, 787453 free (29 frags, 98428 blocks, 0.0% fragmentatio=
n)
/dev/rda0s2e: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/rda0s2e: clean, 46261 free (7917 frags, 4793 blocks, 4.0% fragmentatio=
n)
/dev/rda0s2f: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/rda0s2f: clean, 110419 free (163 frags, 13782 blocks, 0.1% fragmentati=
on)
/dev/rda0s2g: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/rda0s2g: clean, 1003665 free (217 frags, 125431 blocks, 0.0% fragmenta=
tion)
Doing initial network setup: hostname.
de0: enabling 100baseTX port
de0: enabling Full Duplex 100baseTX port
de0: flags=3D884@@@@=00=00@=00=0E@@=00=0F@=00=00=00=00=00@=00=00=00=00p=00=
=00=00=00=00=00px=00=00=00=00=00=00=00p=0Cp=00@=00=00p=0C=0C=00=00=00=00x=
=00=0E=00=00=00x=00=1E=00=00=00=00=00=00@pTXde1: enabling Full Duplex 100ba=
seTX port
=00=00=00

Now, at that point normally it'd carry on like that until the login prompt
was spawned, but still spitting out kernel messages like the de1: thing.
However, this box has the "stty sane" hack and actually reverts shortly
after that point.

--=20
... Joe

---------------------------------------------------------------------------=
----
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/342-4847


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004150148.UAA46158>