From owner-freebsd-sparc64@FreeBSD.ORG Mon Nov 1 11:18:03 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54C7F16A4CE for ; Mon, 1 Nov 2004 11:18:03 +0000 (GMT) Received: from smtphost2.nhl.nl (smtphost2.nhl.nl [141.252.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9462E43D31 for ; Mon, 1 Nov 2004 11:18:02 +0000 (GMT) (envelope-from kwm@rainbow-runner.nl) Received: from ultra.schoollan (eng5008.engineering.tech.nhl.nl [141.252.171.68]) by smtphost2.nhl.nl (8.12.10/8.12.10) with ESMTP id iA1BHvrU069457 for ; Mon, 1 Nov 2004 12:17:58 +0100 (CET) (envelope-from kwm@rainbow-runner.nl) From: Koop Mast To: freebsd-sparc64@freebsd.org Content-Type: multipart/mixed; boundary="=-lMnQpyRRN7oOs9ee+m71" Date: Mon, 01 Nov 2004 12:15:35 +0100 Message-Id: <1099307735.14328.22.camel@jan.schoollan> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0 X-NHL-MailScanner-Information: Please contact the ISP for more information X-NHL-MailScanner: Found to be clean X-MailScanner-From: kwm@rainbow-runner.nl Subject: getty: tcsetattr /dev/ttya: Invalid argument X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 11:18:03 -0000 --=-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: null: random: nexus0: 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: on nexus0 pcm0: mem 0xc000000-0xc0001ff irq 2020 on sbus0 pcm0: [MPSAFE] pcm0: pcm0: sndbuf_setmap fc002000, 8000; 0xc0846000 -> fc002000 pcm0: sndbuf_setmap fc00c000, 8000; 0xc0856000 -> fc00c000 sbus0: , type (unknown) (no driver attached) sbus0: , type (unknown) (no driver attached) sbus0: , type block (no driver attached) eeprom0: 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: mem 0x1100000-0x1100003 irq 2024 on sbus0 zs0: [FAST] zstty0: on zs0 zstty1: on zs0 sbus0: , type serial (no driver attached) sbus0: , type (unknown) (no driver attached) sbus0: , type (unknown) (no driver attached) esp0: mem 0x8810000-0x881003f,0x8800000-0x880000f irq 2016 on sbus0 esp0: [GIANT-LOCKED] esp0: FAS366/HME, 40MHz, SCSI ID 7 hme0: mem 0x8c07000-0x8c0701f,0x8c06000-0x8c07fff,0x8c04000-0x8c05fff,0x8c02000-0x8c03fff,0x8c00000-0x8c00107 irq 2017 on sbus0 miibus0: on hme0 nsphy0: 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: , type (unknown) (no driver attached) nexus0: , 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: 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--