Wednesday, April 13, 2022

Re: How do I report a kernel panic occuring on install media?

> It sounds like you're trying to use the 32bit OpenBSD installer for a
> 64bit cpu. In that case, you would want the AMD64 installer.

As far as I remember the CPU is only 32-bit capable. But outputs I gathered from Linux is telling me otherwise (given below).

To give it a shot, I just tried to boot amd64 install70.img (sha256: 6bc7f945c2709247d449892c33c0f1b9a31590528572c1e988fef4a7637210e6) on the machine and this time it didn't even get to kernel panic stage.

Using drive 0, partition 3.
Loading.....
probing: pc0 mem[634K 2035M a20=on]
disk hd0+ hd1+*
>> OpenBSD/amd64 BOOT 3.53
boot>
cannot open hd0a:/etc/random.seed: No such file or directory
booting hd0a /7.0/amd64/bsd.rd: 3830471+1598464+3907256+0+704512 [109+288+28]=0x995530
entry point at 0xffffffff81001000

Then it stops. Pressing Ctrl+Alt+Del or any key doesn't do anything. Only way is to press the power button to force shutdown.

I wrote the image with "sudo dd if=install70.img of=/dev/sdd bs=1024k status=progress; sync" from Arch Linux. Does that have to do with anything?

To test if it can boot any other 64-bit OS, I tried to boot "slitaz-rolling-core64.iso" from <https://mirror.slitaz.org/iso/rolling/> which is a "Full 32 bits desktop with 64 bits kernel." On boot it said:

2036M RAM and 32 bit cpu found.

It fails to boot. Then I tried "slitaz-rolling-core.iso" the "Full 32 bits desktop with 32 bits kernel." It booted into GUI desktop as expected. So it seems to support only 32-bit OSs despite Linux outputs saying otherwise (except lscpu one). As far as I know i383 should run fine on i686 CPUs. So not sure what's happening.

Here are the outputs about the CPU from the Debian install on the same machine, if it's useful:

$ uname -rmso
Linux 5.10.0-13-686-pae i686 GNU/Linux
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
$ sudo lshw -C processor | grep width
       width: 64 bits      
          width: 64 bits
          width: 64 bits
          width: 64 bits
          width: 64 bits
$ lscpu|grep "CPU op-mode"
CPU op-mode(s):                  32-bit
$ grep flags /proc/cpuinfo | grep " lm "
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm arat
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm arat
$ lscpu
Architecture:                    i686
CPU op-mode(s):                  32-bit
Byte Order:                      Little Endian
Address sizes:                   36 bits physical, 32 bits virtual
CPU(s):                          4
On-line CPU(s) list:             0-3
Thread(s) per core:              2
Core(s) per socket:              2
Socket(s):                       1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           54
Model name:                      Intel(R) Atom(TM) CPU N2600   @ 1.60GHz
Stepping:                        1
CPU MHz:                         598.568
CPU max MHz:                     1600.0000
CPU min MHz:                     600.0000
BogoMIPS:                        3192.29
L1d cache:                       48 KiB
L1i cache:                       64 KiB
L2 cache:                        1 MiB
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Not affected
Vulnerability Spectre v1:        Not affected
Vulnerability Spectre v2:        Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat p
                                 se36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_ts
                                 c arch_perfmon pebs bts nonstop_tsc cpuid aperfmperf pni dtes64 mon
                                 itor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm dtherm arat
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 54
model name : Intel(R) Atom(TM) CPU N2600   @ 1.60GHz
stepping : 1
microcode : 0x10c
cpu MHz : 598.549
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm dtherm arat
bugs :
bogomips : 3192.29
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 32 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 54
model name : Intel(R) Atom(TM) CPU N2600   @ 1.60GHz
stepping : 1
microcode : 0x10c
cpu MHz : 598.547
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm dtherm arat
bugs :
bogomips : 3192.29
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 32 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 54
model name : Intel(R) Atom(TM) CPU N2600   @ 1.60GHz
stepping : 1
microcode : 0x10c
cpu MHz : 598.554
cache size : 512 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 2
initial apicid : 2
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm arat
bugs :
bogomips : 3192.29
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 54
model name : Intel(R) Atom(TM) CPU N2600   @ 1.60GHz
stepping : 1
microcode : 0x10c
cpu MHz : 598.573
cache size : 512 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 3
initial apicid : 3
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm arat
bugs :
bogomips : 3192.29
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

No comments:

Post a Comment