Hi David,

I encountered a relink failure after the last syspatch as well.

For me, ld segfaulted during the relink. I posted some info here:

https://marc.info/?l=openbsd-bugs&m=175023041416172&w=2

I originally thought it was related to a change I had made, but now
reading this I'm not so sure.

Regards
Lloyd

David Diggles wrote:

> Any ideas? I'm thinking maybe the root disk is on a bad CF card.
> 
> Get/Verify syspatch77-001_nfs.tgz 100%
> || 158 KB
> 00:00
> Installing patch 001_nfs
> Get/Verify syspatch77-002_zic.tgz 100%
> || 24992
> 00:00
> Installing patch 002_zic
> Get/Verify syspatch77-003_zoneinf... 100%
> || 74310 00:00
> Installing patch 003_zoneinfo
> Get/Verify syspatch77-004_pfsynco... 100%
> || 359 KB 00:00
> Installing patch 004_pfsyncook
> Get/Verify syspatch77-005_acme.tgz 100%
> |**| 39531
> 00:00
> Installing patch 005_acme
> Get/Verify syspatch77-006_xserver... 100%
> || 4313 KB 00:02
> Installing patch 006_xserver
> Relinking to create unique kernel... failed!
> !!! "/usr/libexec/reorder_kernel" must be run manually to install the
> new kernel
> 
> # cat /usr/share/relink/kernel/GENERIC.MP/relink.log
> (SHA256) /bsd: OK
> LD="ld" sh makegap.sh 0xcccccccc gapdummy.o
> ld -T ld.script -X --warn-common -nopie -o newbsd ${SYSTEM_HEAD} vers.o
> ${OBJS}
> ld: error: vega20_smumgr.o:(.debug_str): offset is outside the section
> *** Error 1 in /usr/share/relink/kernel/GENERIC.MP (Makefile:2435
> 'newbsd': @echo ld -T ld.script -X --warn-common -nopie -o newbsd
> '${SYSTE...)
> 
> OpenBSD 7.7 (GENERIC.MP) #0: Sun May 4 11:23:50 MDT 2025
> 
> r...@syspatch-77-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 4267245568 (4069MB)
> avail mem = 4111486976 (3921MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0000 (39 entries)
> bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date
> 10/26/2010
> bios0: OEM OEM
> acpi0 at bios0: ACPI 3.0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP HPET MCFG APIC
> acpi0: wakeup devices PCI0(S5) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5)
> PEX4(S5) PEX5(S5) HUB0(S5) UAR1(S5) UAR2(S5) IGBE(S5) USB0(S3) USB1(S3)
> USB2(S3) USB3(S3) USB4(S3) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xe0000000, bus 0-255
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Atom(TM) CPU D525 @ 1.80GHz, 1800.03 MHz, 06-1c-0a, patch
> 00000107
> cpu0: cpuid 1
> edx=bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> 
> ecx=40e31d<SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE>
> 
> cpu0: cpuid 6 eax=1<SENSOR> ecx=1<EFFFREQ>
> 
> cpu0: cpuid a vers=3, gp=2, gpwidth=40, ff=3, ffwidth=40
> cpu0: cpuid 80000001 edx=20100800<NXE,LONG> ecx=1<LAHF>
> 
> cpu0: MELTDOWN
> cpu0: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 512KB
> 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 200MHz
> cpu0: mwait min=64, max=64, C-substates=0.1, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Atom(TM) CPU D525 @ 1.80GHz, 1800.02 MHz, 06-1c-0a, patch
> 00000107
> cpu1: smt 0, core 1, package 0
> ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 20, 24 pins, remapped
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (PEX0)
> acpiprt2 at acpi0: bus 2 (PEX1)
> acpiprt3 at acpi0: bus 3 (PEX2)
> acpiprt4 at acpi0: bus -1 (PEX3)
> acpiprt5 at acpi0: bus -1 (PEX4)
> acpiprt6 at acpi0: bus -1 (PEX5)
> acpiprt7 at acpi0: bus 4 (HUB0)
> acpibtn0 at acpi0: PWRB
> acpipci0 at acpi0 PCI0
> acpicmos0 at acpi0
> com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
> com1 at acpi0 UAR2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo
> "PNP0303" at acpi0 not configured
> com4 at acpi0 UAR3 addr 0x2a0/0x8 irq 5: ns16550a, 16 byte fifo
> com4: probed fifo depth: 15 bytes
> com5 at acpi0 UAR4 addr 0x2a8/0x8 irq 7: ns16550a, 16 byte fifo
> com5: probed fifo depth: 15 bytes
> com6 at acpi0 UAR5 addr 0x280/0x8 irq 10: ns16550a, 16 byte fifo
> com6: probed fifo depth: 15 bytes
> com7 at acpi0 UAR6 addr 0x288/0x8 irq 11: ns16550a, 16 byte fifo
> com7: probed fifo depth: 15 bytes
> "PNP0C0B" at acpi0 not configured
> acpicpu0 at acpi0: C1(@1 halt!)
> acpicpu1 at acpi0: C1(@1 halt!)
> acpitz0 at acpi0
> acpitz0: critical temperature is 98 degC
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x02
> inteldrm0 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x02
> drm0 at inteldrm0
> intagp0 at inteldrm0
> agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
> inteldrm0: apic 4 int 16, PINEVIEW, gen 3
> "Intel Pineview Video" rev 0x02 at pci0 dev 2 function 1 not configured
> uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x04: apic 4 int
> 16
> uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x04: apic 4 int
> 21
> ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x04: apic 4 int
> 18
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev
> 2.00/1.00 addr 1
> azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x04: msi
> azalia0: codecs: Realtek ALC888
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x04: msi
> pci1 at ppb0 bus 1
> em0 at pci1 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address
> 00:03:1d:0b:48:fe
> ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x04: msi
> pci2 at ppb1 bus 2
> em1 at pci2 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address
> 00:03:1d:0b:48:ff
> ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x04: msi
> pci3 at ppb2 bus 3
> em2 at pci3 dev 0 function 0 "Intel 82583V" rev 0x00: msi, address
> 00:03:1d:0b:49:00
> uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x04: apic 4 int
> 23
> uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x04: apic 4 int
> 19
> uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x04: apic 4 int
> 18
> ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x04: apic 4 int
> 23
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
> 2.00/1.00 addr 1
> ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf4
> pci4 at ppb3 bus 4
> pcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x04
> pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x04: DMA,
> channel 0 configured to compatibility, channel 1 configured to
> compatibility
> wd0 at pciide0 channel 0 drive 1: <CF Card>
> 
> wd0: 1-sector PIO, LBA48, 7623MB, 15613920 sectors
> wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> pciide1 at pci0 dev 31 function 2 "Intel 82801HBM SATA" rev 0x04: DMA,
> channel 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide1: using apic 4 int 19 for native-PCI interrupt
> ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x04: apic 4
> int 19
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 4GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
> usb2 at uhci0: USB revision 1.0
> uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev
> 1.00/1.00 addr 1
> usb3 at uhci1: USB revision 1.0
> uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev
> 1.00/1.00 addr 1
> usb4 at uhci2: USB revision 1.0
> uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev
> 1.00/1.00 addr 1
> usb5 at uhci3: USB revision 1.0
> uhub5 at usb5 configuration 1 interface 0 "Intel UHCI root hub" rev
> 1.00/1.00 addr 1
> usb6 at uhci4: USB revision 1.0
> uhub6 at usb6 configuration 1 interface 0 "Intel UHCI root hub" rev
> 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> wbsio0 at isa0 port 0x2e/2: W83627DHG-P rev 0x73
> lm1 at wbsio0 port 0x290/8: W83627DHG
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> root on wd0a (f0d29aa41984a920.a) swap on wd0b dump on wd0b
> inteldrm0: 800x600, 32bpp
> wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using
> wskbd0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> acpitz0: _AL0[0] _PR0 failed
> carp1: state transition: BACKUP -> MASTER
> 
> carp1: state transition: MASTER -> BACKUP

Reply via email to