Date: Wed, 5 Mar 2008 22:36:15 GMT From: Esoga Simmons <freebsd7-pr@i-cnct.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/121409: [WORKAROUND] /boot/loader Can't work out which disk we are booting from Message-ID: <200803052236.m25MaFhG099243@www.freebsd.org> Resent-Message-ID: <200803052240.m25Me0Jw014403@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 121409 >Category: kern >Synopsis: [WORKAROUND] /boot/loader Can't work out which disk we are booting from >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 05 22:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Esoga Simmons >Release: System: FreeBSD 7.0-STABLE FreeBSD 7.0-STABLE #0: >Organization: Home >Environment: FreeBSD HOSTNAME 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Mar 5 18:47:36 MST 2008 freebsd7-pr@i-cnct.com:/usr/obj/usr/src/sys/MEG i386 >Description: read /usr/src/updating read all current pr reports previous OS FreeBSD 6.3 make.conf has no build options (although have also built with NO_PROFILE=true and CFLAGS= -0 -pipe but no difference in results) building from src # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. & 4. can be combined by using the "kernel" target] # 5. `reboot' (in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' # 10. `reboot' After final mergemaster and reboot, /boot/loader gives error: Guessed BIOS device 0x%x not found by probes, defaulting to disk0: Can't work out which disk we are booting from. [WORKAROUND] Interrupt the boot process before the error, boot from: boot: /boot/loader.old or use the fix-it disk and copy loader to loader.sav, loader.old to loader # fsck_ffs /dev/da0s1 # mkdir /mnt/root # mount -rw /dev/da0s1a /mnt/root # mv /mnt/root/boot/loader /mnt/root/boot/loader.sav # cp /mnt/root/boot/loader.old /mnt/root/boot/loader I can then boot from loader.old # 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-STABLE #0: Wed Mar 5 18:47:36 MST 2008 freebsd7-pr@i-cnct.com:/usr/obj/usr/src/sys/MEG Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.95-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFL USH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x400<CNXT-ID> Logical CPUs per core: 2 real memory = 536805376 (511 MB) avail memory = 511320064 (487 MB) ACPI APIC Table: <INTEL SWV20 > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 <Version 2.0> irqs 0-23 on motherboard ioapic1 <Version 2.0> irqs 24-47 on motherboard ioapic2 <Version 2.0> irqs 48-71 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Mar 5 2008 18:47:05) acpi0: <INTEL SWV20> on motherboard ACPI Warning (dswload-0794): Type override - [DEB_] had invalid type (Integer) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [MLIB] had invalid type (Integer) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [DATA] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [SIO_] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [LEDP] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [GPEN] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [GPST] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [WUES] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [WUSE] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [SBID] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [SWCE] had invalid type (String) for Scope operator, changed to (Scope) [20070320] acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi_timer0: couldn't allocate resource (port 0x408) acpi_ec0: <Embedded Controller: GPE 0x8> port 0xca6,0xca7 on acpi0 cpu0: <ACPI CPU> on acpi0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 cpu1: <ACPI CPU> on acpi0 p4tcc1: <CPU Frequency Thermal Control> on cpu1 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pci0: <unknown> at device 0.1 (no driver attached) pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0 pci2: <ACPI PCI bus> on pcib1 pcib2: <ACPI PCI-PCI bridge> at device 29.0 on pci2 pci4: <ACPI PCI bus> on pcib2 asr0: <Adaptec Caching SCSI RAID> mem 0xfea00000-0xfeafffff,0xfb000000-0xfbffffff,0xf8000000-0xf9ffffff irq 48 at device 8.0 on pci4 asr0: [GIANT-LOCKED] asr0: [ITHREAD] asr0: ADAPTEC 2000S FW Rev. 380E, 2 channel, 256 CCBs, Protocol I2O pcib3: <ACPI PCI-PCI bridge> at device 31.0 on pci2 pci3: <ACPI PCI bus> on pcib3 em0: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0x2040-0x207f mem 0xfe7c0000-0xfe7dffff irq 30 at device 7.0 on pci3 em0: Ethernet address: 00:07:e9:04:93:b2 em0: [FILTER] em1: <Intel(R) PRO/1000 Network Connection Version - 6.7.3> port 0x2000-0x203f mem 0xfe7e0000-0xfe7fffff irq 31 at device 7.1 on pci3 em1: Ethernet address: 00:07:e9:04:93:b3 em1: [FILTER] pci0: <unknown> at device 3.1 (no driver attached) uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x3020-0x303f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0 usb0: USB revision 1.0 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x3000-0x301f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1 usb1: USB revision 1.0 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 uhub1: 2 ports with 2 removable, self powered pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci1: <ACPI PCI bus> on pcib4 vgapci0: <VGA-compatible display> port 0x1000-0x10ff mem 0xfd000000-0xfdffffff,0xfe6f0000-0xfe6f0fff irq 17 at device 12.0 on pci1 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH3 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3a0-0x3af at device 31.1 on pci0 ata0: <ATA channel 0> on atapci0 ata0: [ITHREAD] ata1: <ATA channel 1> on atapci0 ata1: [ITHREAD] pci0: <serial bus, SMBus> at device 31.3 (no driver attached) atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] fdc0: <floppy drive controller (FDE)> port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0 sio1: type 16550A sio1: [FILTER] acpi_timer0: couldn't allocate resource (port 0x408) pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcdfff,0xce000-0xcf7ff,0xcf800-0xd0fff,0xe4000-0xe7fff pnpid ORM0000 on isa0 ppc0: parallel port not found. sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec hptrr: no controller detected. acd0: CDROM <SAMSUNG CD-ROM SN-124/QM15> at ata1-master PIO4 da0 at asr0 bus 1 target 0 lun 0 da0: <ADAPTEC RAID-1 380E> Fixed Direct Access SCSI-2 device ses0 at asr0 bus 1 target 6 lun 0 ses0: <ESG-SHV SCA HSBP M20 0.05> Fixed Processor SCSI-2 device lapic1: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/da0s1a em1: link state changed to UP >How-To-Repeat: Install FreeBSD6.3 and upgrade to FreeBSD7 using src. After final mergemaster, reboot. Error happens in trying to load from /boot/loader Have other server/system that is similar in hardware but only 1 processor. Build works on this machine (although I think that is a red herring). Have seen some other similar problem reports http://groups.google.com/group/lucky.freebsd.questions/browse_thread/thread/f18554c471e8d29e/bbb6c94e7b6e655d?lnk=raot >Fix: [WORKAROUND] Break out of the boot process before the failure and: boot: /boot/loader.old Then # mv /boot/loader /boot/loader.sav # cp /boot/loader.old /boot/loader >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803052236.m25MaFhG099243>