From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 20:58:03 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEA331065673 for ; Wed, 23 Jul 2008 20:58:03 +0000 (UTC) (envelope-from clarkp@mtmary.edu) Received: from fear.mtmary.edu (rrcs-74-62-87-82.west.biz.rr.com [74.62.87.82]) by mx1.freebsd.org (Postfix) with ESMTP id 734D18FC15 for ; Wed, 23 Jul 2008 20:58:03 +0000 (UTC) (envelope-from clarkp@mtmary.edu) Received: from [127.0.0.1] (war.mtmary.edu [172.16.0.200]) by fear.mtmary.edu (Postfix) with ESMTP id DA7D74E0D19 for ; Wed, 23 Jul 2008 15:58:02 -0500 (CDT) Message-ID: <48879B59.2040009@mtmary.edu> Date: Wed, 23 Jul 2008 15:58:01 -0500 From: Peter Clark User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: boot -s hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2008 20:58:03 -0000 Hello, I have a FreeBSD install that will hang when trying to enter single user mode. If I use "shutdown now" from the console the system will return "System shutdown time has arrived" as expected but it will just hang there indefinitely. If I use option 4 (enter single user mode) from the boot options menu everything seems to boot properly until: "Trying to mount root from ufs:/dev/mfid0s1a" and that is where it hangs. In both cases it never returns a cursor or the expected "enter path" statement. In both cases I can ctrl-alt-delete the box once and it synchs disks and nicely reboots. If I go through standard booting it boots just fine. I am a bit stumped by this. Is this some weird raid card issue? I am not sure how to really trouble shoot this. /var/log/messages and /var/log/console do not even show the hung boot as having happened. # uname -a FreeBSD greed.mtmary.edu 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Wed Jul 23 14:19:22 CDT 2008 root@greed.mtmary.edu:/usr/src/sys/amd64/compile/PETE-GENERIC-AMD64 amd64 # dmesg Copyright (c) 1992-2008 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-RELEASE-p3 #0: Wed Jul 23 14:19:22 CDT 2008 root@greed.mtmary.edu:/usr/src/sys/amd64/compile/PETE-GENERIC-AMD64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5410 @ 2.33GHz (2336.82-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features=0xbfebfbff Features2=0xce3bd> AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 4 usable memory = 2133131264 (2034 MB) avail memory = 2058424320 (1963 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-23 on motherboard ioapic1 irqs 24-47 on motherboard lapic0: Forcing LINT1 to edge trigger acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 720072006000720 device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 720072006000720 device_attach: est1 attach returned 6 p4tcc1: on cpu1 cpu2: on acpi0 est2: on cpu2 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 720072006000720 device_attach: est2 attach returned 6 p4tcc2: on cpu2 cpu3: on acpi0 est3: on cpu3 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 720072006000720 device_attach: est3 attach returned 6 p4tcc3: on cpu3 acpi_button0: on acpi0 pcib0: port 0xca2,0xca3,0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: irq 16 at device 0.0 on pci1 pci2: on pcib2 pcib3: irq 16 at device 0.0 on pci2 pci3: on pcib3 pcib4: at device 0.0 on pci3 pci4: on pcib4 mfi0: mem 0xb8b00000-0xb8b0ffff,0xb8900000-0xb891ffff irq 18 at device 14.0 on pci4 mfi0: Megaraid SAS driver Ver 2.00 mfi0: 1093 (270141940s/0x0020/0) - Shutdown command received from host mfi0: 1094 (4278190080s/0x0020/0) - PCI 0x041000 0x04411 0x048086 0x043501: Firmware initialization started (PCI ID 0411/1000/3501/8086) mfi0: 1095 (4278190080s/0x0020/0) - Type 18: Firmware version 1.12.00-0310 mfi0: 1096 (4278190080s/0x0020/0) - PCI 0x041000 0x04411 0x048086 0x043501: Firmware initialization started (PCI ID 0411/1000/3501/8086) mfi0: 1097 (4278190080s/0x0020/0) - Type 18: Firmware version 1.12.00-0310 mfi0: 1098 (4278190095s/0x0008/0) - Battery temperature is normal mfi0: 1099 (4278190095s/0x0008/0) - Battery Present mfi0: 1100 (4278190095s/0x0020/0) - Type 18: Board Revision mfi0: 1101 (4278190137s/0x0002/1) - PD 03(e0/s3) err 3: PD 03(e0x00/s3) reset (Type 03) mfi0: 1102 (4278190141s/0x0004/0) - PD 11(e1/s255) event: Enclosure (SES) discovered on PD 0b(c None/p1) mfi0: 1103 (4278190141s/0x0002/0) - PD 11(e11/s255) event: Inserted: Encl PD 0b mfi0: 1104 (4278190141s/0x0002/0) - Type 29: Inserted: PD 0b(c None/p1) Info: enclPd=0b, scsiType=d, portMap=09, sasAddr=50015074f5c46000,0000000000000000 mfi0: 1105 (4278190141s/0x0002/0) - PD 12(e11/s0) event: Inserted: PD 0c(e0x0b/s0) mfi0: 1106 (4278190141s/0x0002/0) - Type 29: Inserted: PD 0c(e0x0b/s0) Info: enclPd=0b, scsiType=0, portMap=00, sasAddr=0b221d0a75787d4a,0000000000000000 mfi0: 1107 (4278190141s/0x0002/0) - PD 13(e11/s1) event: Inserted: PD 0d(e0x0b/s1) mfi0: 1108 (4278190141s/0x0002/0) - Type 29: Inserted: PD 0d(e0x0b/s1) Info: enclPd=0b, scsiType=0, portMap=01, sasAddr=0b221d0a7c886c4e,0000000000000000 mfi0: 1109 (4278190141s/0x0002/0) - PD 14(e11/s2) event: Inserted: PD 0e(e0x0b/s2) mfi0: 1110 (4278190141s/0x0002/0) - Type 29: Inserted: PD 0e(e0x0b/s2) Info: enclPd=0b, scsiType=0, portMap=02, sasAddr=0b221d0a7695742b,0000000000000000 mfi0: 1111 (4278190141s/0x0042/0) - Type 22: Global Hot Spare created on PD 0e(e0x0b/s2) (global) mfi0: 1112 (4278190141s/0x0002/0) - PD 14(e11/s2) state prior 0 new 2: State change on PD 0e(e0x0b/s2) from UNCONFIGURED_GOOD(0) to HOT SPARE(2) mfi0: 1113 (270142036s/0x0020/0) - Adapter ticks 270142036 elapsed 62s: Time established as 07/23/08 15:27:16; (62 seconds since power on) mfi0: [ITHREAD] pcib5: at device 0.2 on pci3 pci5: on pcib5 pcib6: irq 16 at device 1.0 on pci2 pci6: on pcib6 pcib7: irq 16 at device 2.0 on pci2 pci7: on pcib7 em0: port 0x2020-0x203f mem 0xb8820000-0xb883ffff,0xb8400000-0xb87fffff irq 18 at device 0.0 on pci7 em0: Using MSI interrupt em0: Ethernet address: 00:15:17:4f:5c:46 em0: [FILTER] em1: port 0x2000-0x201f mem 0xb8800000-0xb881ffff,0xb8000000-0xb83fffff irq 19 at device 0.1 on pci7 em1: Using MSI interrupt em1: Ethernet address: 00:15:17:4f:5c:47 em1: [FILTER] pcib8: at device 0.3 on pci1 pci8: on pcib8 pcib9: at device 3.0 on pci0 pci9: on pcib9 pcib10: at device 4.0 on pci0 pci10: on pcib10 pcib11: at device 5.0 on pci0 pci11: on pcib11 pcib12: at device 6.0 on pci0 pci12: on pcib12 pcib13: at device 7.0 on pci0 pci13: on pcib13 pci0: at device 8.0 (no driver attached) uhci0: port 0x3080-0x309f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x3060-0x307f irq 22 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x3040-0x305f irq 23 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x3020-0x303f irq 22 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xb8d00000-0xb8d003ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered pcib14: at device 30.0 on pci0 pci14: on pcib14 vgapci0: port 0x1000-0x10ff mem 0xb0000000-0xb7ffffff,0xb8c00000-0xb8c0ffff irq 17 at device 12.0 on pci14 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30a0-0x30af irq 20 at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] orm0: at iomem 0xc0000-0xc8fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <8 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec IP Filter: v4.1.28 initialized. Default = pass all, Logging = enabled acd0: CDRW at ata0-slave UDMA33 mfid0: on mfi0 mfid0: 304222MB (623046656 sectors) RAID volume '' is optimal lapic1: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! lapic2: Forcing LINT1 to edge trigger SMP: AP CPU #2 Launched! lapic3: Forcing LINT1 to edge trigger SMP: AP CPU #3 Launched! Trying to mount root from ufs:/dev/mfid0s1a em0: link state changed to UP Is there some other output that I should post or should be looking at? Any help would be appreciated. Peter