On Mon, 5 Nov 2012, Dawe wrote: > Hi, > > after updating to the Nov. 03 snapshot my amd64 system doesn't boot > anymore. The boot process prints: > Loading... > _ (<- blinking) > and then it just keeps blinking instead of starting boot(8). > Forcing it to use CHS ends in an ERR M. > > Installing the boot code of the 5.2 release (v3.20) via updating with no > selected set makes the system boot again. > > It's a dual boot system with /boot beyond sector 268435455.
What is the primary boot loader and how are the boot loaders chained? If you've copied the PBR for OpenBSD to a location other than the disk, you will need to update it since the details patched into biosboot(8) will have changed significantly. In reality you should do that after every update since the PBR may have changed. > But that wasn't a problem in the past. Did the recent work on the boot code > change that on purpose? No. If you are booting directly from biosboot(8) on the active partition then we may have another issue that needs to be investigated. > Judging from the commit messages it looks more like > a regression. > > > $ disklabel sd0 > # /dev/rsd0c: > type: SCSI > disk: SCSI disk > label: FUJITSU MJA2320B > duid: 1faf18323d454978 > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 240 > sectors/cylinder: 15120 > cylinders: 41345 > total sectors: 625142448 > boundstart: 354971648 > boundend: 604659712 > drivedata: 0 > > 16 partitions: > # size offset fstype [fsize bsize cpg] > a: 2097152 354971648 4.2BSD 2048 16384 1 # / > b: 4426720 357068800 swap # none > c: 625142448 0 unused > d: 8388608 361495520 4.2BSD 2048 16384 1 # /tmp > e: 16193472 369884128 4.2BSD 2048 16384 1 # /var > f: 4194304 386077600 4.2BSD 2048 16384 1 # /usr > g: 2097152 390271904 4.2BSD 2048 16384 1 # > /usr/X11R6 h: 20971520 392369056 4.2BSD 2048 16384 1 # > /usr/local i: 2457600 2048 NTFS > j: 352511992 2459648 NTFS > k: 20480000 604659712 NTFS > l: 4194304 413340576 4.2BSD 2048 16384 1 # /usr/src > m: 4194304 417534880 4.2BSD 2048 16384 1 # /usr/obj > n: 182930528 421729184 RAID > > $ dmesg > OpenBSD 5.2-current (GENERIC.MP) #96: Sat Nov 3 14:43:34 MDT 2012 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 1998045184 (1905MB) > avail mem = 1922433024 (1833MB) > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe0010 (78 entries) > bios0: vendor LENOVO version "6IET68WW (1.28 )" date 07/12/2010 > bios0: LENOVO 25184QG > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT TCPA > SSDT SSDT SSDT > acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP1(S4) EXP2(S4) > EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpiec0 at acpi0 > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz, 2261.44 MHz > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL >USH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST >,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF cpu0: 256KB > 64b/line 8-way L2 cache > cpu0: apic clock running at 132MHz > cpu1 at mainbus0: apid 1 (application processor) > cpu1: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz, 2261.00 MHz > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL >USH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST >,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF cpu1: 256KB > 64b/line 8-way L2 cache > cpu2 at mainbus0: apid 4 (application processor) > cpu2: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz, 2261.00 MHz > cpu2: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL >USH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST >,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF cpu2: 256KB > 64b/line 8-way L2 cache > cpu3 at mainbus0: apid 5 (application processor) > cpu3: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz, 2261.00 MHz > cpu3: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFL >USH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST >,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF cpu3: 256KB > 64b/line 8-way L2 cache > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins > ioapic0: misconfigured as apic 2, remapped to apid 1 > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > acpihpet0 at acpi0: 14318179 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus -1 (PEG_) > acpiprt2 at acpi0: bus 2 (EXP1) > acpiprt3 at acpi0: bus 3 (EXP2) > acpiprt4 at acpi0: bus -1 (EXP3) > acpiprt5 at acpi0: bus -1 (EXP4) > acpiprt6 at acpi0: bus 13 (EXP5) > acpicpu0 at acpi0: C3, C1, PSS > acpicpu1 at acpi0: C3, C1, PSS > acpicpu2 at acpi0: C3, C1, PSS > acpicpu3 at acpi0: C3, C1, PSS > acpipwrres0 at acpi0: PUBS > acpitz0 at acpi0: critical temperature is 100 degC > acpibtn0 at acpi0: LID_ > acpibtn1 at acpi0: SLPB > acpibat0 at acpi0: BAT0 not present > acpibat1 at acpi0: BAT1 not present > acpiac0 at acpi0: AC unit online > acpithinkpad0 at acpi0 > cpu0: Enhanced SpeedStep 2261 MHz: speeds: 2267, 2266, 2133, 1999, 1866, > 1733, 1599, 1466, 1333, 1199 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x02 > vga1 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x02 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > intagp0 at vga1 > agp0 at intagp0: aperture at 0xd0000000, size 0x10000000 > inteldrm0 at vga1: apic 1 int 16 > drm0 at inteldrm0 > "Intel 3400 MEI" rev 0x06 at pci0 dev 22 function 0 not configured > em0 at pci0 dev 25 function 0 "Intel 82577LM" rev 0x06: msi, address > 00:26:2d:fb:c7:02 > ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x06: apic 1 int 23 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > azalia0 at pci0 dev 27 function 0 "Intel 3400 HD Audio" rev 0x06: msi > azalia0: codecs: Conexant/0x5069, Intel/0x2804, using Conexant/0x5069 > audio0 at azalia0 > ppb0 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x06: msi > pci1 at ppb0 bus 2 > ppb1 at pci0 dev 28 function 1 "Intel 3400 PCIE" rev 0x06: msi > pci2 at ppb1 bus 3 > iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 1000" rev 0x00: msi, MIMO > 1T2R, BGS, address 00:26:c7:31:15:06 > ppb2 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x06: msi > pci3 at ppb2 bus 13 > sdhc0 at pci3 dev 0 function 0 "Ricoh 5U822 SD/MMC" rev 0x01: apic 1 int 16 > sdmmc0 at sdhc0 > "Ricoh 5U230 Memory Stick" rev 0x01 at pci3 dev 0 function 1 not configured > "Ricoh 5U832 Firewire" rev 0x01 at pci3 dev 0 function 3 not configured > ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x06: apic 1 int 19 > usb1 at ehci1: USB revision 2.0 > uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xa6 > pci4 at ppb3 bus 14 > pcib0 at pci0 dev 31 function 0 "Intel QM57 LPC" rev 0x06 > ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x06: msi, AHCI 1.3 > scsibus0 at ahci0: 32 targets > sd0 at scsibus0 targ 0 lun 0: <ATA, FUJITSU MJA2320B, 0084> SCSI3 0/direct > fixed naa.500000e0448000a9 > sd0: 305245MB, 512 bytes/sector, 625142448 sectors > cd0 at scsibus0 targ 1 lun 0: <HL-DT-ST, DVDRAM GU10N, MX05> ATAPI 5/cdrom > removable > ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x06: apic 1 int > 23 iic0 at ichiic0 > spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-8500 SO-DIMM > itherm0 at pci0 dev 31 function 6 "Intel 3400 Thermal" rev 0x06 > isa0 at pcib0 > isadma0 at isa0 > pckbc0 at isa0 port 0x60/5 > pckbd0 at pckbc0 (kbd slot) > pckbc0: using irq 1 for kbd slot > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pms0 at pckbc0 (aux slot) > pckbc0: using irq 12 for aux slot > wsmouse0 at pms0 mux 0 > wsmouse1 at pms0 mux 0 > pms0: Synaptics touchpad, firmware 7.2 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > aps0 at isa0 port 0x1600/31 > pci5 at mainbus0 bus 255 > pchb1 at pci5 dev 0 function 0 vendor "Intel", unknown product 0x2c62 rev > 0x02 pchb2 at pci5 dev 0 function 1 vendor "Intel", unknown product 0x2d01 > rev 0x02 pchb3 at pci5 dev 2 function 0 vendor "Intel", unknown product > 0x2d10 rev 0x02 pchb4 at pci5 dev 2 function 1 vendor "Intel", unknown > product 0x2d11 rev 0x02 pchb5 at pci5 dev 2 function 2 vendor "Intel", > unknown product 0x2d12 rev 0x02 pchb6 at pci5 dev 2 function 3 vendor > "Intel", unknown product 0x2d13 rev 0x02 mtrr: Pentium Pro MTRR support > uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 > uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 > vscsi0 at root > scsibus1 at vscsi0: 256 targets > softraid0 at root > scsibus2 at softraid0: 256 targets > root on sd0a (1faf18323d454978.a) swap on sd0b dump on sd0b > sd1 at scsibus2 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct > fixed sd1: 89321MB, 512 bytes/sector, 182930000 sectors -- "Reason is not automatic. Those who deny it cannot be conquered by it. Do not count on them. Leave them alone." -- Ayn Rand
