From owner-freebsd-i386@FreeBSD.ORG Sat May 7 18:40:02 2005 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7A8116A4DC for ; Sat, 7 May 2005 18:40:02 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85F1943DBC for ; Sat, 7 May 2005 18:40:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j47Ie2T3035962 for ; Sat, 7 May 2005 18:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j47Ie2xf035961; Sat, 7 May 2005 18:40:02 GMT (envelope-from gnats) Resent-Date: Sat, 7 May 2005 18:40:02 GMT Resent-Message-Id: <200505071840.j47Ie2xf035961@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joseph Dunn Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4A2716A4DB for ; Sat, 7 May 2005 18:34:29 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B278043D31 for ; Sat, 7 May 2005 18:34:29 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j47IYTKo010705 for ; Sat, 7 May 2005 18:34:29 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j47IYTxJ010704; Sat, 7 May 2005 18:34:29 GMT (envelope-from nobody) Message-Id: <200505071834.j47IYTxJ010704@www.freebsd.org> Date: Sat, 7 May 2005 18:34:29 GMT From: Joseph Dunn To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: i386/80739: Strange panic (keyboard related?) on 5.4 when dropping to single-user mode X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2005 18:40:02 -0000 >Number: 80739 >Category: i386 >Synopsis: Strange panic (keyboard related?) on 5.4 when dropping to single-user mode >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 07 18:40:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Joseph Dunn >Release: 5.4 >Organization: >Environment: FreeBSD reason.theory 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sat May 7 08:27:10 CDT 2005 root@reason.theory:/usr/obj/usr/src/sys/REASON i386 >Description: On my 5.4 box (cvsup'ed and rebuilt last night), when I attempt to drop to single-user mode via 'shutdown now', I get the standard prompt for path of shell or return for /bin/sh. If I press return or begin to type the path of a shell, I immediately get a page fault: Fatal trap 12: page fault while in kernel mode fault virtual address = 0xae fault code = supervisor read, page not present instruction pointer = 0x8:0xae stack pointer = 0x10:0xcbcf2ca4 frame pointer = 0x10:0xcbcf2cc0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 13 (irq1: atkbd0) trap number = 12 panic: page fault If I attempt to boot into single-user mode, I get the same "shell path or press return" prompt, but I am unable to enter text at it. It's like the keyboard is not plugged in. Ctrl-Alt-Del does work, however, but results in the *same* page fault as above. For what it's worth, my dmesg output is as follows: Copyright (c) 1992-2005 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 5.4-RELEASE #0: Sat May 7 08:27:10 CDT 2005 root@reason.theory:/usr/obj/usr/src/sys/REASON Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (398.27-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 268435456 (256 MB) avail memory = 253009920 (241 MB) npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: mem 0xe4000000-0xe7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x18e0-0x18ef,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0x18c0-0x18df irq 9 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 7.3 (no driver attached) pci0: at device 13.0 (no driver attached) pcm0: port 0x1880-0x18bf irq 11 at device 14.0 on pci0 pcm0: xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x1800-0x187f mem 0xe0004000-0xe000407f irq 10 at device 15.0 on pci0 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:10:4b:79:59:7d dc0: port 0x1400-0x14ff mem 0xe0004400-0xe00047ff irq 9 at device 16.0 on pci0 miibus1: on dc0 ukphy0: on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: Ethernet address: 00:04:5a:6e:c9:b6 dc0: if_start running deferred for Giant orm0: at iomem 0xe4000-0xeffff,0xe0000-0xe3fff,0xc0000-0xc7fff on isa0 pmtimer0 on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) ums0: Microsoft Microsoft IntelliMouse\M-. Optical, rev 1.10/1.21, addr 2, iclass 3/1 ums0: 5 buttons and Z dir. Timecounter "TSC" frequency 398270636 Hz quality 800 Timecounters tick every 10.000 msec ad0: 19092MB [38792/16/63] at ata0-master UDMA33 ad1: 9787MB [19885/16/63] at ata0-slave UDMA33 acd0: CDRW at ata1-master PIO4 ad3: 407MB [1002/16/52] at ata1-slave WDMA0 cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 16.000MB/s transfers cd0: cd present [10744 x 2048 byte records] Mounting root from ufs:/dev/ad3s1a >How-To-Repeat: Run 'shutdown now' on a FreeBSD 5.4/i386 system. Alternatively, boot into single-user mode, and press Ctrl-Alt-Del at the prompt for shell path. >Fix: >Release-Note: >Audit-Trail: >Unformatted: