Re: Compiling from the source on -current Failed
On Mon, Sep 24, 2012 at 7:38 PM, Ted Unangst wrote: > On Mon, Sep 24, 2012 at 20:09, Stefan Sperling wrote: > >> Just upgrade to the latest snapshot, and then compile from source. >> Trying to do anything else is a waste of time. > > Compiling is a waste of time. Are you changing the source? No? Then > you don't need to build it. ...particularly since the snapshots often contain work-in-progress. If you instantly rebuild, then you can't provide any real feedback on those changes. (If you're wonder how you can provide feedback on fixes that you don't know about, it's often *more* important to get testing of a fix on the 99% that it *shouldn't* affect than on the 1% that it fixes. If you run a snapshot and it breaks, let us know. If you immediately rebuild, then, well, *yawn*) Philip Guenther
Re: Compiling from the source on -current Failed
On Mon, Sep 24, 2012 at 20:09, Stefan Sperling wrote: > Just upgrade to the latest snapshot, and then compile from source. > Trying to do anything else is a waste of time. Compiling is a waste of time. Are you changing the source? No? Then you don't need to build it.
Re: Compiling from the source on -current Failed
Hi Misc@, On Tue, 25 Sep 2012 01:09:10 +0700, Stefan Sperling wrote: On Mon, Sep 24, 2012 at 07:52:44PM +0200, Stefan Sperling wrote: On Tue, Sep 25, 2012 at 12:29:25AM +0700, Insan Praja SW wrote: > Hi Misc@, > > I was just trying to upgrade to -current by compiling from the > source, on an old (6 years) server. I updated make(1) first to the > latest (compiling from the source, of course) and compiling the > kernel. Using the FAQ instruction, make(1) failed at; > > {standard input}: Assembler messages: > {standard input}:376: Error: no such instruction: `rdrand %edx' > *** Error code 1 in target cpu.o > > Stop in /usr/src/sys/arch/i386/compile/GENERIC.MP: > Exit status 1 (line 933 of Makefile, target cpu.o) Upgrade the linker and compiler first, see http://www.openbsd.org/faq/current.html#20120823 and http://www.openbsd.org/faq/current.html#20120831 Well, a coffee-less night is... like it is.. Obviously I miss that one. My bad. I got done. And... did you really say 6 years old A source upgrade from a system that old is not supported and the FAQ clearly states that: http://www.openbsd.org/faq/faq5.html#BldBinary Noo.. the "hardware/machine" is.. the kernel is 3 weeks old. Just upgrade to the latest snapshot, and then compile from source. Trying to do anything else is a waste of time. Thanks, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Compiling from the source on -current Failed
Hi Misc@, Forgot one thing that on newer machine, this is not happening; Thanks, Insan Praja DMESG: -- OpenBSD 5.2-current (GENERIC.MP) #36: Mon Sep 24 00:28:08 WIT 2012 r...@yyy.xxx.zzz:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 80 cpu0: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu0: FPU,V86,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,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF real mem = 2135588864 (2036MB) avail mem = 2089746432 (1992MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/23/10, BIOS32 rev. 0 @ 0xfd7e1, SMBIOS rev. 2.5 @ 0x7f6b9000 (55 entries) bios0: vendor IBM Corp. version "-[GYE144AUS-1.09]-" date 12/16/2010 bios0: IBM 81Y6793 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S5 acpi0: tables DSDT FACP TCPA APIC MCFG SLIC HPET SSDT SSDT ERST DMAR acpi0: wakeup devices PCIB(S4) POP3(S4) POP1(S4) POP6(S4) POP5(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) EHI1(S3) EHI2(S3) PWRB(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 132MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu1: FPU,V86,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,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu2: FPU,V86,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,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu3: FPU,V86,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,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0x8000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 36 (PCIB) acpiprt2 at acpi0: bus 26 (POP3) acpiprt3 at acpi0: bus -1 (POP1) acpiprt4 at acpi0: bus -1 (POP6) acpiprt5 at acpi0: bus 31 (POP5) acpiprt6 at acpi0: bus 1 (PEX1) acpiprt7 at acpi0: bus 6 (PEX2) acpiprt8 at acpi0: bus 11 (PEX3) acpiprt9 at acpi0: bus 16 (PEX4) acpiprt10 at acpi0: bus 21 (PEX5) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x1000 0xca000/0x1000 ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xc92/2 spacing 1 cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2394, 2261, 2128, 1995, 1862, 1729, 1596, 1463, 1330, 1197 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel Core DMI" rev 0x11 ppb0 at pci0 dev 3 function 0 "Intel Core PCIE" rev 0x11: apic 8 int 16 pci1 at ppb0 bus 26 ppb1 at pci0 dev 5 function 0 "Intel Core PCIE" rev 0x11: apic 8 int 16 pci2 at ppb1 bus 31 em0 at pci2 dev 0 function 0 "Intel I340-T2 (82580)" rev 0x01: msi, address 00:1b:21:90:00:d0 em1 at pci2 dev 0 function 1 "Intel I340-T2 (82580)" rev 0x01: msi, address 00:1b:21:90:00:d1 "Intel Core Management" rev 0x11 at pci0 dev 8 function 0 not configured "Intel Core Scratch" rev 0x11 at pci0 dev 8 function 1 not configured "Intel Core Control" rev 0x11 at pci0 dev 8 function 2 not configured "Intel Core Misc" rev 0x11 at pci0 dev 8 function 3 not configured "Intel Core QPI Link" rev 0x11 at pci0 dev 16 function 0 not configured "Intel Core QPI Routing" rev 0x11 at pci0 dev 16 function 1 not configured ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 8 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb2 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05: apic 8 int 17 pci3 at ppb2 bus 1 ppb3 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x05: apic 8 int 17 pci4 at ppb3 bus 6 ppb4 at pci4 dev 0 function 0 unknown vendor 0x101b product 0x0452 rev 0x01 pci5 at ppb4 bus 7 vga1 at pci5 dev 0 function 0 vendor "Matrox", unknown product 0x0530 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb5 at pci0 dev 28 function 5 "Intel 3400 PCIE" rev 0x05: apic 8 int 16 pci6 at ppb5 bus 11 em2 at pci6 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: msi, address 00:21:5e:6b:b7:42 ppb6 at pci0 dev 28
Re: Compiling from the source on -current Failed
On 09/24/2012 01:52 PM, Stefan Sperling wrote: On Tue, Sep 25, 2012 at 12:29:25AM +0700, Insan Praja SW wrote: Hi Misc@, I was just trying to upgrade to -current by compiling from the source, on an old (6 years) server. I updated make(1) first to the latest (compiling from the source, of course) and compiling the kernel. Using the FAQ instruction, make(1) failed at; {standard input}: Assembler messages: {standard input}:376: Error: no such instruction: `rdrand %edx' *** Error code 1 in target cpu.o Stop in /usr/src/sys/arch/i386/compile/GENERIC.MP: Exit status 1 (line 933 of Makefile, target cpu.o) Upgrade the linker and compiler first, see http://www.openbsd.org/faq/current.html#20120823 and http://www.openbsd.org/faq/current.html#20120831 or actually follow the FAQ instructions... "5.3.2 - Install or Upgrade to closest available binary The first step in building from source is to make sure you have the closest available binary installed." You upgrade to -current by installing snapshots. Compiling from source is just what you do for fun, it is not part of the upgrade process. I think this is made pretty clear in the FAQ. Nick.
Re: Compiling from the source on -current Failed
On Mon, Sep 24, 2012 at 07:52:44PM +0200, Stefan Sperling wrote: > On Tue, Sep 25, 2012 at 12:29:25AM +0700, Insan Praja SW wrote: > > Hi Misc@, > > > > I was just trying to upgrade to -current by compiling from the > > source, on an old (6 years) server. I updated make(1) first to the > > latest (compiling from the source, of course) and compiling the > > kernel. Using the FAQ instruction, make(1) failed at; > > > > {standard input}: Assembler messages: > > {standard input}:376: Error: no such instruction: `rdrand %edx' > > *** Error code 1 in target cpu.o > > > > Stop in /usr/src/sys/arch/i386/compile/GENERIC.MP: > > Exit status 1 (line 933 of Makefile, target cpu.o) > > Upgrade the linker and compiler first, see > http://www.openbsd.org/faq/current.html#20120823 and > http://www.openbsd.org/faq/current.html#20120831 And... did you really say 6 years old A source upgrade from a system that old is not supported and the FAQ clearly states that: http://www.openbsd.org/faq/faq5.html#BldBinary Just upgrade to the latest snapshot, and then compile from source. Trying to do anything else is a waste of time.
Re: Compiling from the source on -current Failed
On Tue, Sep 25, 2012 at 12:29:25AM +0700, Insan Praja SW wrote: > Hi Misc@, > > I was just trying to upgrade to -current by compiling from the > source, on an old (6 years) server. I updated make(1) first to the > latest (compiling from the source, of course) and compiling the > kernel. Using the FAQ instruction, make(1) failed at; > > {standard input}: Assembler messages: > {standard input}:376: Error: no such instruction: `rdrand %edx' > *** Error code 1 in target cpu.o > > Stop in /usr/src/sys/arch/i386/compile/GENERIC.MP: > Exit status 1 (line 933 of Makefile, target cpu.o) Upgrade the linker and compiler first, see http://www.openbsd.org/faq/current.html#20120823 and http://www.openbsd.org/faq/current.html#20120831
Compiling from the source on -current Failed
Hi Misc@, I was just trying to upgrade to -current by compiling from the source, on an old (6 years) server. I updated make(1) first to the latest (compiling from the source, of course) and compiling the kernel. Using the FAQ instruction, make(1) failed at; {standard input}: Assembler messages: {standard input}:376: Error: no such instruction: `rdrand %edx' *** Error code 1 in target cpu.o Stop in /usr/src/sys/arch/i386/compile/GENERIC.MP: Exit status 1 (line 933 of Makefile, target cpu.o) Thanks, Insan Praja DMESG: -- OpenBSD 5.2-current (GENERIC.MP) #6: Wed Aug 29 19:01:43 WIT 2012 r...@dev.xxx.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error e cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu0: FPU,V86,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,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF real mem = 2142711808 (2043MB) avail mem = 2096783360 (1999MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT SLIC FACP APIC WDDT HPET MCFG ASF! SSDT SSDT SSDT SSDT SSDT HEST BERT ERST EINJ acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S1) PEX4(S4) PEX5(S4) UHC1(S1) UHC2(S1) UHC3(S1) UHC4(S1) EHCI(S1) AC9M(S4) AZAL(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu1: FPU,V86,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,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu2: FPU,V86,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,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu3: FPU,V86,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,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xf000, bus 0-127 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 4 (P32_) acpiprt2 at acpi0: bus 1 (PEX0) acpiprt3 at acpi0: bus -1 (PEX1) acpiprt4 at acpi0: bus -1 (PEX2) acpiprt5 at acpi0: bus -1 (PEX3) acpiprt6 at acpi0: bus 2 (PEX4) acpiprt7 at acpi0: bus 3 (PEX5) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1000 cpu0: Enhanced SpeedStep 2401 MHz: speeds: 2394, 1596 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel E7230 Host" rev 0x00 ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 5 int 17 pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16, address 00:15:17:86:54:08 em1 at pci2 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 17, address 00:15:17:86:54:09 ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 int 16 pci3 at ppb2 bus 3 em2 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: msi, address 00:15:17:25:0a:9d "Intel 82573E Serial" rev 0x03 at pci3 dev 0 function 3 not configured "Intel 82573E KCS" rev 0x03 at pci3 dev 0 function 4 not configured uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 5 int 23 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 5 int 19 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 5 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 5 int 16 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 5 int 23 ehci0: timed out waiting for BIOS usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1 pci4 at ppb3 bus 4 skc0 at pci4 dev 0 function 0 "D-Link DGE-530T B1" rev 0x11, Yukon Lite (0x9): apic 5 int 21 sk0 at skc0 port A: address 00:1b:11:10:07:26 eeph