Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Nov 2004 12:15:35 +0100
From:      Koop Mast <kwm@rainbow-runner.nl>
To:        freebsd-sparc64@freebsd.org
Subject:   getty: tcsetattr /dev/ttya: Invalid argument
Message-ID:  <1099307735.14328.22.camel@jan.schoollan>

next in thread | raw e-mail | index | archive | help

--=-lMnQpyRRN7oOs9ee+m71
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello,

I upgraded FreeBSD 5.3-Stable to 6.0-Current. This got me this problem.
Every 30 seconds it prints the following to the screen.

 Nov  1 09:22:18 ultra getty[504]: tcsetattr /dev/ttya: Invalid argument
 Nov  1 09:22:18 ultra getty[526]: tcsetattr /dev/ttya: Invalid argument
 Nov  1 09:22:18 ultra getty[527]: tcsetattr /dev/ttya: Invalid argument
 Nov  1 09:22:18 ultra getty[528]: tcsetattr /dev/ttya: Invalid argument
 Nov  1 09:22:18 ultra getty[529]: tcsetattr /dev/ttya: Invalid argument
 Nov  1 09:22:18 ultra init: getty repeating too quickly on
 port /dev/ttya, sleeping 30 secs

If I let the machine use the serial console at a point the console
output turns into garbage and is not useable anymore. When using a
monitor it just keeps reporting it, I can log in and do stuff but its
annoying with all those lines at 30 secs interval.

I removed /usr/obj and rebuild both world and kernel. A mergemaster
tells me that everything is up to date.

uname :
FreeBSD ultra.rainbow-runner.nl 6.0-CURRENT FreeBSD 6.0-CURRENT #37: Mon
Nov  1 11:14:14 CET 2004 root@ultra.rainbow-
runner.nl:/usr/obj/usr/src/sys/BlackBird  sparc64

Boot -v attached and more information on request.

Koop

--=-lMnQpyRRN7oOs9ee+m71
Content-Disposition: attachment; filename=dmesg
Content-Type: text/plain; name=dmesg; charset=us-ascii
Content-Transfer-Encoding: 7bit

Gstray vector interrupt 2033
DB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 6.0-CURRENT #37: Mon Nov  1 11:14:14 CET 2004
    root@ultra.rainbow-runner.nl:/usr/obj/usr/src/sys/BlackBird
WARNING: WITNESS option enabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel/kernel" at 0xc058a000.
Preloaded elf module "/boot/kernel/sound.ko" at 0xc058a180.
Preloaded elf module "/boot/kernel/snd_audiocs.ko" at 0xc058a250.
Timecounter "tick" frequency 296007375 Hz quality -100
real memory  = 939524096 (896 MB)
avail memory = 888774656 (847 MB)
machine: SUNW,Ultra-2
cpu0: Sun Microsystems UltraSparc-II Processor (296.01 MHz CPU)
  mask=0x11 maxtl=5 maxwin=7
initalizing intr_countp
cpu1: Sun Microsystems UltraSparc-II Processor (296.01 MHz CPU)
  mask=0x11 maxtl=5 maxwin=7
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
openfirm: <Open Firmware control device>
null: <null device, zero device>
random: <entropy source, Software, Yarrow>
nexus0: <Open Firmware Nexus device>
sbus0: clock 25.000 MHz
sbus dvma: DVMA map: 0xfc000000 to 0xffffffff
sbus0: [FAST]
sbus0: [FAST]
initializing counter-timer
Timecounter "counter-timer" frequency 1000000 Hz quality 100
sbus0: <U2S UPA-SBus bridge> on nexus0
pcm0: <Sun Audiocs> mem 0xc000000-0xc0001ff irq 2020 on sbus0
pcm0: [MPSAFE]
pcm0: <CS4231A Codec Id. 10>
pcm0: sndbuf_setmap fc002000, 8000; 0xc0846000 -> fc002000
pcm0: sndbuf_setmap fc00c000, 8000; 0xc0856000 -> fc00c000
sbus0: <auxio>, type (unknown) (no driver attached)
sbus0: <flashprom>, type (unknown) (no driver attached)
sbus0: <SUNW,fdtwo>, type block (no driver attached)
eeprom0: <EEPROM/clock> mem 0x1200000-0x1201fff on sbus0
eeprom0: model mk48t59
eeprom0: registered as a time-of-day clock (resolution 1000000us)
eeprom0: hostid 808f7104
eeprom0: current time: 1099311080.000000000
zs0: <Zilog Z8530> mem 0x1100000-0x1100003 irq 2024 on sbus0
zs0: [FAST]
zstty0: <ttya> on zs0
zstty1: <ttyb> on zs0
sbus0: <zs>, type serial (no driver attached)
sbus0: <sc>, type (unknown) (no driver attached)
sbus0: <SUNW,pll>, type (unknown) (no driver attached)
esp0: <Sun FAS366 Fast-Wide SCSI> mem 0x8810000-0x881003f,0x8800000-0x880000f irq 2016 on sbus0
esp0: [GIANT-LOCKED]
esp0: FAS366/HME, 40MHz, SCSI ID 7
hme0: <Sun HME 10/100 Ethernet> mem 0x8c07000-0x8c0701f,0x8c06000-0x8c07fff,0x8c04000-0x8c05fff,0x8c02000-0x8c03fff,0x8c00000-0x8c00107 irq 2017 on sbus0
miibus0: <MII bus> on hme0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme0: bpf attached
hme0: Ethernet address: 08:00:20:8f:71:04
hme0: if_start running deferred for Giant
hme0: [GIANT-LOCKED]
sbus0: <SUNW,bpp>, type (unknown) (no driver attached)
nexus0: <SUNW,afb>, type display (no driver attached)
Timecounters tick every 10.000 msec
lo0: bpf attached
Waiting 2 seconds for SCSI devices to settle
(probe0:esp0:0:0:0): CAM Status 0x0
(probe0:esp0:0:0:0): Retrying Command
GEOM: new disk da0
SMP: AP CPU #1 Launched!
da0 at esp0 bus 0 target 0 lun 0
da0: <SEAGATE ST336704LC 0004> Fixed Direct Access SCSI-3 device
da0: Serial Number 3CD0MD6200007113HH9U
da0: 20.000MB/s transfers (10.000MHz, offset 15, 16bit), Tagged Queueing Enabledda0: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
GEOM: Configure da0a, start 0 length 270286848 end 270286847
GEOM: Configure da0b, start 270286848 length 1871216640 end 2141503487
GEOM: Configure da0c, start 0 length 36696637440 end 36696637439
GEOM: Configure da0d, start 2141503488 length 270286848 end 2411790335
GEOM: Configure da0e, start 2411790336 length 270286848 end 2682077183
GEOM: Configure da0f, start 2682077184 length 34014560256 end 36696637439
Mounting root from ufs:/dev/da0a
start_init: trying /sbin/init

--=-lMnQpyRRN7oOs9ee+m71--



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