Thursday, January 18, 2018

Re: Help moving OpenBSD installation to new machine

The vendor suggested that I disable the COM port and use the HDMI
connector on the box, saying that there had been reports of a problem
with the OpenBSD serial support. That does seem to be the issue.
Using HDMI instead of COM allows amd64 6.2 to install and boot.



At 4:35 PM -0800 1/18/18, Randall Gellens wrote:

> Thank you for your help, Stuart.
>
> I've tried booting 6.2 in the amd64, but that won't boot either, it
> just hangs:
>
> Using drive 0, partition
> 3.
>
> Loading......
> probing: pc0 com0 mem[611K 2152M 83M 1M 5872M
> a20=on]
> disk: hd0+ hd1+
>>> OpenBSD/amd64 BOOT 3.33
>
> boot>
> cannot open hd0a:/etc/random.seed: No such file or
> directory
> booting hd0a:/6.2/amd64/bsd.rd: 3371132+1459200+3873512+0+598016
> [373741-
> 00-
>
> At 12:41 PM +0000 1/18/18, Stuart Henderson wrote:
>
>> On 2018/01/17 16:52, Randall Gellens wrote:
>>> At 6:44 PM -0800 1/16/18, Randall Gellens wrote:
>>> > I have a new box, a Protectli with a dual core Intel Celeron 3865U.
>>>
>>> Following the advice to do a clean install onto the new box, I
>>> did so, with
>>> OpenBSD 6.2. The install seemed to go smoothly, initializing the disk and
>>> fetching file sets. However, when booting it drops into ddb,
>>> although "show
>>> panic" says the kernel did not panic.
>>>
>>> Attached is a zip file containing text captures of the "dmesg" command (as
>>> files dmesg-1.txt through dmesg-9.txt) and the "trace", "ps", and "show
>>> panic" commands (as trace-ps.txt).
>>
>> I've included a copy of your dmesg and trace inline so others can read
>> it without unzipping the attachment, etc. (Also CC'd bugs@ because it's
>> likely to be missed on misc@).
>>
>> It would be worth trying a -current snapshot on this before spending
>> more time on debugging. If that does indeed fixes things then you can
>> just run that and update to 6.3 when it's released. (Also I would
>> generally suggest running in 64-bit mode by using the amd64 version
>> rather than the i386 version of OpenBSD. The cpu supports it.)
>>
>> If that doesn't help but the error is different, send a new trace.
>>
>> inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 610" rev 0x02
>> drm0 at inteldrm0
>> inteldrm0: msi
>> error: [drm:pid0:i915_firmware_load_error_print] *ERROR* failed
>> to load firmwar
>> e i915/kbl_dmc_ver1.bin (-22)
>> uvm_fault(0xd0c703b8, 0xd3bca000, 0, 1) -> e
>> kernel: page fault trap, code=0
>> Stopped at execlists_update_context+0x10f: pushl 0x34(%eax)
>> ddb{0}> ddb{0}>
>> ddb{0}>
>> ddb{0}> trace
>>
>>
>> execlists_update_context(d5d12800,d0ed6b94,d08ff4fb,d5d298cc,d5d298c4)
>> at execl
>> ists_update_context+0x10f
>> execlists_context_unqueue(d5d298b4,0,d5d298c4,d5d297e4,d5d18f40)
>> at execlists_c
>> ontext_unqueue+0x178
>> gen8_emit_request(d5bde0fc) at gen8_emit_request+0x224
>> __i915_add_request(d5bde0fc,0,0) at __i915_add_request+0x9a
>> i915_gem_init_hw(d5d20800) at i915_gem_init_hw+0x79c
>> i915_gem_init(d5d20800) at i915_gem_init+0x1d1
>> i915_driver_load(d5d20800,d0a9b4f0) at i915_driver_load+0xef4
>> inteldrm_attach(d5d24980,d5d27000,d0ed6d58) at inteldrm_attach+0x331
>> config_attach(d5d24980,d0c1a950,d0ed6d58,d06f0f80) at config_attach+0x194
>> config_found_sm(d5d24980,d0ed6d58,d06f0f80,d06f1040,0) at
>> config_found_sm+0x29
>> pci_probe_device(d5d24980,80001000,0,0) at pci_probe_device+0x502
>> pci_enumerate_bus(d5d24980,0,0) at pci_enumerate_bus+0xb9
>> pciattach(d5bf5100,d5d24980,d0ed6eb8) at pciattach+0xe2
>> config_attach(d5bf5100,d0c191f0,d0ed6eb8,d06bec90) at config_attach+0x194
>> config_found_sm(d5bf5100,d0ed6eb8,d06bec90,0) at config_found_sm+0x29
>> mainbus_attach(0,d5bf5100,0) at mainbus_attach+0x2a6
>> config_attach(0,d0c190d0,0,0) at config_attach+0x194
>> config_rootfound(d0b10334,0) at config_rootfound+0xc0
>> cpu_configure(bd832264,ed4000,ee3000,0,d02004ce) at cpu_configure+0x51
>> main(0,0,0,0,0) at main+0x4a7
>> ddb{0}> ps
>> PID TID PPID UID S FLAGS WAIT COMMAND
>> * 0 0 -1 0 7 0x10200 swapper
>> ddb{0}>
>>
>>
>> OpenBSD 6.2 (GENERIC.MP) #166: Tue Oct 3 19:58:05 MDT 2017
>> deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
>> cpu0: Intel(R) Celeron(R) CPU 3865U @ 1.80GHz ("GenuineIntel"
>> 686-class) 1.70 G
>> Hz
>> cpu0:
>> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C
>>
>>
>> FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,PAGE1GB,LONG,SSE3,PCLMUL,DTES
>>
>>
>> 64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC
>>
>>
>> ,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,
>> SMEP,ERMS,INVPCID,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
>> real mem = 2346717184 (2238MB)
>> avail mem = 2287648768 (2181MB)
>> mpath0 at root
>> scsibus0 at mpath0: 256 targets
>> mainbus0 at root
>> bios0 at mainbus0: date 04/04/16, SMBIOS rev. 3.0 @ 0x8d318000 (86 entries)
>> bios0: vendor American Megatrends Inc. version "5.12" date 06/08/2017
>> bios0: Default string YL-SKUL6
>> acpi0 at bios0: rev 2
>> acpi0: sleep states S0 S5
>> acpi0: tables DSDT FACP APIC FPDT MCFG SSDT FIDT SSDT HPET SSDT
>> SSDT UEFI SSDT L
>> PIT WSMT SSDT SSDT SSDT SSDT DBGP DBG2 SPCR DMAR ASF!
>> acpi0: wakeup devices PS2K(S0) PS2M(S0) PXSX(S0) RP09(S0)
>> PXSX(S0) RP10(S0) PXS
>> X(S0) RP11(S0) PXSX(S0) RP12(S0) PXSX(S0) RP13(S0) PXSX(S0)
>> RP01(S0) PXSX(S0) R
>> P02(S0) [...]
>> acpitimer0 at acpi0: 3579545 Hz, 24 bits
>> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
>> cpu0 at mainbus0: apid 0 (boot processor)
>> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
>> cpu0: apic clock running at 23MHz
>> cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
>> cpu1 at mainbus0: apid 2 (application processor)
>> cpu1: Intel(R) Celeron(R) CPU 3865U @ 1.80GHz ("GenuineIntel"
>> 686-class) 1.80 G
>> Hz
>> cpu1:
>> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C
>>
>>
>> FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,PAGE1GB,LONG,SSE3,PCLMUL,DTES
>>
>>
>> 64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC
>>
>>
>> ,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,
>> SMEP,ERMS,INVPCID,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
>> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
>> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
>> acpihpet0 at acpi0: 23999999 Hz
>> acpiprt0 at acpi0: bus 0 (PCI0)
>> acpiprt1 at acpi0: bus -1 (PEG0)
>> acpiprt2 at acpi0: bus -1 (PEG1)
>> acpiprt3 at acpi0: bus -1 (PEG2)
>> acpiprt4 at acpi0: bus -1 (RP09)
>> acpiprt5 at acpi0: bus -1 (RP10)
>> acpiprt6 at acpi0: bus -1 (RP11)
>> acpiprt7 at acpi0: bus -1 (RP12)
>> acpiprt8 at acpi0: bus -1 (RP13)
>> acpiprt9 at acpi0: bus 1 (RP01)
>> acpiprt10 at acpi0: bus 2 (RP02)
>> acpiprt11 at acpi0: bus 3 (RP03)
>> acpiprt12 at acpi0: bus 4 (RP04)
>> acpiprt10 at acpi0: bus 2 (RP02)
>> acpiprt11 at acpi0: bus 3 (RP03)
>> acpiprt12 at acpi0: bus 4 (RP04)
>> acpiprt13 at acpi0: bus 5 (RP05)
>> acpiprt14 at acpi0: bus 6 (RP06)
>> acpiprt15 at acpi0: bus -1 (RP07)
>> acpiprt16 at acpi0: bus -1 (RP08)
>> acpiprt17 at acpi0: bus -1 (RP17)
>> acpiprt18 at acpi0: bus -1 (RP18)
>> acpiprt19 at acpi0: bus -1 (RP19)
>> acpiprt20 at acpi0: bus -1 (RP20)
>> acpiprt21 at acpi0: bus -1 (RP21)
>> acpiprt22 at acpi0: bus -1 (RP22)
>> acpiprt23 at acpi0: bus -1 (RP23)
>> acpiprt24 at acpi0: bus -1 (RP24)
>> acpiprt25 at acpi0: bus -1 (RP14)
>> acpiprt26 at acpi0: bus -1 (RP15)
>> acpiprt27 at acpi0: bus -1 (RP16)
>> acpiec0 at acpi0: not present
>> acpicpu0 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151
>> mwait.1@0x33), C1(1000
>> @1 mwait.1), PSS
>> acpicpu1 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151
>> mwait.1@0x33), C1(1000
>> @1 mwait.1), PSS
>> acpipwrres0 at acpi0: WRST
>> acpipwrres1 at acpi0: WRST
>> acpipwrres2 at acpi0: WRST
>> acpipwrres3 at acpi0: WRST
>> acpipwrres4 at acpi0: WRST
>> acpipwrres5 at acpi0: WRST
>> acpipwrres6 at acpi0: WRST
>> acpipwrres7 at acpi0: WRST
>> acpipwrres8 at acpi0: WRST
>> acpipwrres9 at acpi0: WRST
>> acpipwrres10 at acpi0: WRST
>> acpipwrres11 at acpi0: WRST
>> acpipwrres12 at acpi0: WRST
>> acpipwrres13 at acpi0: WRST
>> acpipwrres14 at acpi0: WRST
>> acpipwrres15 at acpi0: WRST
>> acpipwrres16 at acpi0: WRST
>> acpipwrres17 at acpi0: WRST
>> acpipwrres18 at acpi0: WRST
>> acpipwrres19 at acpi0: WRST
>> acpipwrres20 at acpi0: FN00, resource for FAN0
>> acpipwrres21 at acpi0: FN01, resource for FAN1
>> acpipwrres22 at acpi0: FN02, resource for FAN2
>> acpipwrres23 at acpi0: FN03, resource for FAN3
>> acpipwrres24 at acpi0: FN04, resource for FAN4
>> acpitz0 at acpi0: critical temperature is 119 degC
>> acpipwrres6 at acpi0: WRST
>> acpipwrres7 at acpi0: WRST
>> acpipwrres8 at acpi0: WRST
>> acpipwrres9 at acpi0: WRST
>> acpipwrres10 at acpi0: WRST
>> acpipwrres11 at acpi0: WRST
>> acpipwrres12 at acpi0: WRST
>> acpipwrres13 at acpi0: WRST
>> acpipwrres14 at acpi0: WRST
>> acpipwrres15 at acpi0: WRST
>> acpipwrres16 at acpi0: WRST
>> acpipwrres17 at acpi0: WRST
>> acpipwrres18 at acpi0: WRST
>> acpipwrres19 at acpi0: WRST
>> acpipwrres20 at acpi0: FN00, resource for FAN0
>> acpipwrres21 at acpi0: FN01, resource for FAN1
>> acpipwrres22 at acpi0: FN02, resource for FAN2
>> acpipwrres23 at acpi0: FN03, resource for FAN3
>> acpipwrres24 at acpi0: FN04, resource for FAN4
>> acpitz0 at acpi0: critical temperature is 119 degC
>> acpitz1 at acpi0: critical temperature is 119 degC
>> "MSFT0001" at acpi0 not configured
>> "MSFT0003" at acpi0 not configured
>> "INT3F0D" at acpi0 not configured
>> acpibtn0 at acpi0: SLPB
>> "INT33A1" at acpi0 not configured
>> acpibtn1 at acpi0: PWRB
>> "INT340E" at acpi0 not configured
>> "PNP0C0B" at acpi0 not configured
>> "PNP0C0B" at acpi0 not configured
>> "PNP0C0B" at acpi0 not configured
>> "PNP0C0B" at acpi0 not configured
>> "PNP0C0B" at acpi0 not configured
>> acpivideo0 at acpi0: GFX0
>> acpivout0 at acpivideo0: DD1F
>> bios0: ROM list: 0xc0000/0x10000
>> cpu0: Enhanced SpeedStep 1800 MHz: speeds: 1801, 1800, 1700,
>> 1600, 1500, 1400, 1
>> 300, 1200, 1100, 1000, 900, 800, 700, 600, 500, 400 MHz
>> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
>> pchb0 at pci0 dev 0 function 0 "Intel Core 7G Host" rev 0x02
>> inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 610" rev 0x02
>> drm0 at inteldrm0
>> inteldrm0: msi
>> error: [drm:pid0:i915_firmware_load_error_print] *ERROR* failed
>> to load firmwar
>> e i915/kbl_dmc_ver1.bin (-22)
>> uvm_fault(0xd0c703b8, 0xd3bca000, 0, 1) -> e
>> kernel: page fault trap, code=0
>> Stopped at execlists_update_context+0x10f: pushl 0x34(%eax)
>> [...]
>
>
> --
> Randall Gellens
> -------------- Randomly-selected tag: ---------------
> Had those who drew and ratified the due process clauses of the 5th
> Amendment or the 14th Amendment known the components of liberty in its
> manifold possibilities, they might have been more specific. They did
> not presume to have this insight. They knew times can blind us to
> certain truths and later generations can see that laws once thought
> necessary and proper in fact serve only to oppress. As the Constitution
> endures, persons in every generation can invoke its principles in their
> own search for greater freedom.
>
> --Majority opinion by Justice Anthony M. Kennedy in
> John Geddes Lawrence and Tyron Garner v. Texas, 2003.


--
Randall Gellens
-------------- Randomly-selected tag: ---------------
A sick customer results in a sick airplane manufacturing industry,
whatever the cause may be.
--John E. Steiner, Boeing Commercial Airplanes.

No comments:

Post a Comment