From owner-freebsd-stable@FreeBSD.ORG Mon Dec 17 10:42:28 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FD7E16A418 for ; Mon, 17 Dec 2007 10:42:28 +0000 (UTC) (envelope-from MH@kernel32.de) Received: from crivens.kernel32.de (crivens.terrorteam.de [81.169.171.191]) by mx1.freebsd.org (Postfix) with ESMTP id 7854113C4F7 for ; Mon, 17 Dec 2007 10:42:27 +0000 (UTC) (envelope-from MH@kernel32.de) Received: from [10.38.0.12] (unknown [194.50.70.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by crivens.kernel32.de (Postfix) with ESMTP id ACFC4B0281; Mon, 17 Dec 2007 11:42:25 +0100 (CET) Message-ID: <47665299.4050208@kernel32.de> Date: Mon, 17 Dec 2007 11:42:33 +0100 From: Marian Hettwer User-Agent: Thunderbird 1.5.0.12 (Macintosh/20070509) MIME-Version: 1.0 To: Jeremy Chadwick References: <6d41e00a0d0deb2e305b1a4f86b9c601@127.0.0.1> <20071213205053.GA10017@eos.sc1.parodius.com> In-Reply-To: <20071213205053.GA10017@eos.sc1.parodius.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 7.0 BETA4 no serial console X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 10:42:28 -0000 Hi Jeremy, Jeremy Chadwick schrieb: > On Thu, Dec 13, 2007 at 04:12:15PM +0100, Marian Hettwer wrote: > >> here's a snipped of a verbose boot: >> sio0: configured irq 3 not in bitmap of probed irqs 0 >> sio0: port may not be enabled >> > > This is somewhat normal (depends on the system), and can sometimes > even function normally (as is the case on your system). > > good. >> looks like some garbled output between bce0 and it seems to say: >> bec0: link state changed to up >> NFS ROOT: 10.38.0.14:/usr/local/nfsroot/freebsd-70-amd64 >> > > Please see http://jdc.parodius.com/freebsd/common_issues.txt for > that problem. > > jup. That was nothing I was worried about, though :) >> my configuration as is: >> /boot.config >> -Dh >> > > Change this to -S9600 -Dh, and remove the lines from /boot/loader.conf. > > did that. Still no login prompt via serial console. Although my getty is running: marian46-23# ps ax | grep ttyd 810 ?? I 0:00.00 /usr/libexec/getty std.9600 ttyd1 809 d0 Is+ 0:00.00 /usr/libexec/getty std.9600 ttyd0 882 p1 R+ 0:00.00 grep ttyd marian46-23# grep ttyd /etc/ttys ttyd0 "/usr/libexec/getty std.9600" vt220 on secure ttyd1 "/usr/libexec/getty std.9600" vt220 on secure ttyd2 "/usr/libexec/getty std.9600" dialup off secure ttyd3 "/usr/libexec/getty std.9600" dialup off secure This was of course logged in via ssh. >> /etc/ttys >> [mhettwer@blowfish] grep ttyd0 etc/ttys [16:10:55 on 07-12-13] >> ttyd0 "/usr/libexec/getty std.9600" vt220 on secure >> >> I believe my configuration is correct, isn't it? >> > > Looks correct. > > No serial login prompt, though :-/ >> Where's my login prompt? :) >> >> It's there with VGA output... >> > > conscontrol(8) might be able to tell you. It's very likely dedicated to > the VGA system at this point. conscontrol(8) appears to simply read and > parse the output of the kern.console sysctl. > > actually that sysctl looks fine to me: marian46-23# sysctl kern.console kern.console: ttyd0,dcons,consolectl,/dcons,consolectl,ttyd0, FWIW here's the complete serial output of the boot process. And yeah, it's really missing the login prompt. marian46-23# cat /tmp/boot.txt ? or [Space] to pause timer 0 ? ??????????????????????????????????????????? Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-BETA4 #0: Thu Dec 13 13:47:35 CET 2007 root@blowfish:/usr/obj/amd64/usr/src/sys/MOBILE Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Dual-Core AMD Opteron(tm) Processor 2218 (2600.12-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x40f13 Stepping = 3 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x1f Cores per package: 2 usable memory = 4280684544 (4082 MB) avail memory = 4119326720 (3928 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x920-0x923 on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 powernow0: on cpu0 cpu1: on acpi0 powernow1: on cpu1 cpu2: on acpi0 powernow2: on cpu2 cpu3: on acpi0 powernow3: on cpu3 pcib0: on acpi0 pci0: on pcib0 vgapci0: port 0x1000-0x10ff mem 0xe8000000-0xefffffff,0xf7ff0000-0xf7ffffff irq 20 at device 3.0 on pci0 pci0: at device 4.0 (no driver attached) pci0: at device 4.2 (no driver attached) uhci0: port 0x1800-0x181f irq 21 at device 4.4 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: <(0x103c) UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 2 ports with 2 removable, self powered pci0: at device 4.6 (no driver attached) pcib1: at device 5.0 on pci0 pci1: on pcib1 pcib2: at device 13.0 on pci1 pci2: on pcib2 bce0: mem 0xfa000000-0xfbffffff irq 22 at device 3.0 on pci2 miibus0: on bce0 brgphy0: PHY 1 on miibus0 brgphy0: 1000baseSX-FDX, auto bce0: Ethernet address: 00:1c:c4:aa:08:58 bce0: [ITHREAD] bce0: ASIC (0x57060021); Rev (A2); Bus (PCI-X, 64-bit, 100MHz); F/W (0x01090605); Flags( MSI ) bce1: mem 0xf8000000-0xf9ffffff irq 23 at device 4.0 on pci2 miibus1: on bce1 brgphy1: PHY 1 on miibus1 brgphy1: 1000baseSX-FDX, auto bce1: Ethernet address: 00:1c:c4:aa:08:88 bce1: [ITHREAD] bce1: ASIC (0x57060021); Rev (A2); Bus (PCI-X, 64-bit, 100MHz); F/W (0x01090605); Flags( MSI ) isab0: at device 6.2 on pci0 isa0: on isab0 ohci0: port 0x1c00-0x1cff mem 0xf7ee0000-0xf7ee0fff irq 5 at device 7.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci0 usb1: USB revision 1.0 uhub1: <(0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 uhub1: 2 ports with 2 removable, self powered ohci1: port 0x3000-0x30ff mem 0xf7ed0000-0xf7ed0fff irq 5 at device 7.1 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb2: OHCI version 1.0, legacy support usb2: SMM does not respond, resetting usb2: on ohci1 usb2: USB revision 1.0 uhub2: <(0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: port 0x3400-0x34ff mem 0xf7ec0000-0xf7ec0fff irq 5 at device 7.2 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: <(0x1166) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3 uhub3: 4 ports with 4 removable, self powered pcib3: on acpi0 pci4: on pcib3 pcib4: irq 16 at device 15.0 on pci4 pci5: on pcib4 pcib5: irq 20 at device 16.0 on pci4 pci12: on pcib5 pcib6: irq 19 at device 17.0 on pci4 pci19: on pcib6 pcib7: at device 0.0 on pci19 pci20: on pcib7 pcib8: at device 4.0 on pci20 pci21: on pcib8 ciss0: port 0x4000-0x40ff mem 0xfdf80000-0xfdffffff,0xfdf70000-0xfdf77fff irq 19 at device 8.0 on pci20 ciss0: [ITHREAD] pcib9: irq 18 at device 18.0 on pci4 pci22: on pcib9 pcib10: irq 17 at device 19.0 on pci4 pci25: on pcib10 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] sio0: configured irq 3 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 3 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 sio0: type 16550A, console sio0: [FILTER] orm0: at iomem 0xc0000-0xcafff,0xcb000-0xcefff,0xcf000-0xd07ff,0xe6000-0xe7fff on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd0: on uhub0 kbd2 at ukbd0 ums0: on uhub0 ums0: X report 0x0002 not supported device_attach: ums0 attach returned 6 uhub4: on uhub0 uhub4: 7 ports with 7 removable, self powered Timecounters tick every 1.000 msec SMP: APd aC0P Ua #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! t ciss0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 135.168MB/s transfers da0: 69973MB (143305920 512 byte sectors: 255H 32S/T 17562C) Trying to mount root from ufs:/dev/da0s1a bce0: link state changed to DOWN bce0: link state changed to UP bce1: link state changed to UP More hints on what's going on? :) TIA, Marian