![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
Hello,
I have an Intel Atom C3758 based board that I developed. I run OpenBSD as OS on my board. Some features of the board are as follows : LinuxBIOS : Coreboot 4.16 Payload : SeaBIOS 1.16 OpenBSD version : 7.2 After a successful OpenBSD installation, I run it. Sometimes it starts running smoothly, sometimes it hangs. I would like to show below the hanging state. Code:
>> OpenBSD/amd64 BOOT 3.55 boot> booting hd0a:/bsd: 15713560+3765264+311328+0+1175552 [1160415+128+1228056+930158]=0x172b7e8 entry point at 0xffffffff81001000 [ using 3319784 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2022 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 7.2 (GENERIC.MP) #758: Tue Sep 27 11:57:54 MDT 2022 deraadt@amd64.openbsd.org:/usr/src/s...ile/GENERIC.MP real mem = 8563920896 (8167MB) avail mem = 8286953472 (7903MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x7f745040 (15 entries) bios0: vendor coreboot version "4.16" date 02/26/2022 bios0: Intel Harcuvar acpi0 at bios0: ACPI 6.0 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP SSDT MCFG APIC DMAR HPET acpi0: wakeup devices PWRB(S5) XHC1(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits 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 C3758 @ 2.20GHz, 1500.00 MHz, 06-5f-01 cpu0: 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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SS cpu0: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line 16-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 25MHz cpu0: mwait min=64, max=64, C-substates=0.2.0.2, IBE cpu1 at mainbus0: apid 4 (application processor) cpu1: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, 1500.00 MHz, 06-5f-01 cpu1: 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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SS cpu1: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line 16-way L2 cache cpu1: smt 0, core 2, package 0 cpu2 at mainbus0: apid 8 (application processor) cpu2: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, 1500.00 MHz, 06-5f-01 cpu2: 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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SS cpu2: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line 16-way L2 cache cpu2: smt 0, core 4, package 0 cpu3 at mainbus0: apid 12 (application processor) cpu3: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, 1500.00 MHz, 06-5f-01 cpu3: 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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SS cpu3: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line 16-way L2 cache cpu3: smt 0, core 6, package 0 cpu4 at mainbus0: apid 16 (application processor) cpu4: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, 1500.00 MHz, 06-5f-01 cpu4: 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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SS cpu4: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line 16-way L2 cache cpu4: smt 0, core 8, package 0 cpu5 at mainbus0: apid 20 (application processor) cpu5: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, 1500.00 MHz, 06-5f-01 cpu5: 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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SS cpu5: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line 16-way L2 cache cpu5: smt 0, core 10, package 0 cpu6 at mainbus0: apid 24 (application processor) cpu6: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, 1500.00 MHz, 06-5f-01 cpu6: 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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SS cpu6: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line 16-way L2 cache cpu6: smt 0, core 12, package 0 cpu7 at mainbus0: apid 28 (application processor) cpu7: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz, 1500.00 MHz, 06-5f-01 cpu7: 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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SS cpu7: 24KB 64b/line 6-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line 16-way L2 cache cpu7: smt 0, core 14, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins, remapped acpihpet0 at acpi0: 23999999 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (VRP2) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus -1 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus 3 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus 4 (RP07) acpiprt9 at acpi0: bus -1 (RP08) acpiprt10 at acpi0: bus 5 (VRP0) acpiprt11 at acpi0: bus 6 (VRP1) acpibtn0 at acpi0: PWRB acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001 acpicmos0 at acpi0 "PNP0003" at acpi0 not configured com0 at acpi0 IUR3 addr 0x3f8/0x8 irq 16: ns16550a, 16 byte fifo com0: console com1 at acpi0 IUR4 addr 0x2f8/0x8 irq 17: ns16550a, 16 byte fifo com2 at acpi0 IUR5 addr 0x3e8/0x8 irq 18: ns16550a, 16 byte fifo "BOOT0000" at acpi0 not configured acpicpu0 at acpi0: C3(10@50 io@0x1815), C2(10@10 io@0x1814), C1(1000@2 mwait.1), PSS acpicpu1 at acpi0: C3(10@50 io@0x1815), C2(10@10 io@0x1814), C1(1000@2 mwait.1), PSS acpicpu2 at acpi0: C3(10@50 io@0x1815), C2(10@10 io@0x1814), C1(1000@2 mwait.1), PSS acpicpu3 at acpi0: C3(10@50 io@0x1815), C2(10@10 io@0x1814), C1(1000@2 mwait.1), PSS acpicpu4 at acpi0: C3(10@50 io@0x1815), C2(10@10 io@0x1814), C1(1000@2 mwait.1), PSS acpicpu5 at acpi0: C3(10@50 io@0x1815), C2(10@10 io@0x1814), C1(1000@2 mwait.1), PSS acpicpu6 at acpi0: C3(10@50 io@0x1815), C2(10@10 io@0x1814), C1(1000@2 mwait.1), PSS acpicpu7 at acpi0: C3(10@50 io@0x1815), C2(10@10 io@0x1814), C1(1000@2 mwait.1), PSS cpu0: Enhanced SpeedStep 1500 MHz: speeds: 2200, 2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz pci0 at mainbus0 bus 0 0:31:5: mem address conflict 0xfe010000/0x1000 pchb0 at pci0 dev 0 function 0 "Intel C3000 Host" rev 0x11 pchb1 at pci0 dev 4 function 0 "Intel C3000 GLREG" rev 0x11 "Intel C3000 RCEC" rev 0x11 at pci0 dev 5 function 0 not configured ppb0 at pci0 dev 6 function 0 "Intel C3000 PCIE" rev 0x11 pci1 at ppb0 bus 1 "Intel C3000 QAT" rev 0x11 at pci1 dev 0 function 0 not configured ppb1 at pci0 dev 9 function 0 "Intel C3000 PCIE" rev 0x11 pci2 at ppb1 bus 2 ppb2 at pci0 dev 14 function 0 "Intel C3000 PCIE" rev 0x11 pci3 at ppb2 bus 3 ppb3 at pci0 dev 16 function 0 "Intel C3000 PCIE" rev 0x11 pci4 at ppb3 bus 4 "Intel C3000 SMBus" rev 0x11 at pci0 dev 18 function 0 not configured ahci0 at pci0 dev 20 function 0 "Intel C3000 AHCI" rev 0x11: msi, AHCI 1.3.1 ahci0: port 1: 6.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 1 lun 0: <ATA, RBU-SNS8350DES31, S404> naa.5132333435363738 sd0: 122104MB, 512 bytes/sector, 250069680 sectors, thin xhci0 at pci0 dev 21 function 0 "Intel C3000 xHCI" rev 0x11: msi, xHCI 1.0 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 ppb4 at pci0 dev 22 function 0 "Intel C3000 PCIE" rev 0x11 pci5 at ppb4 bus 5 vendor "Intel", unknown product 0x1306 (class network subclass ethernet, rev 0x11) at pci5 dev 0 function 0 not configured vendor "Intel", unknown product 0x1306 (class network subclass ethernet, rev 0x11) at pci5 dev 0 function 1 not configured ppb5 at pci0 dev 23 function 0 "Intel C3000 PCIE" rev 0x11 pci6 at ppb5 bus 6 vendor "Intel", unknown product 0x1306 (class network subclass ethernet, rev 0x11) at pci6 dev 0 function 0 not configured vendor "Intel", unknown product 0x1306 (class network subclass ethernet, rev 0x11) at pci6 dev 0 function 1 not configured "Intel C3000 ME HECI" rev 0x11 at pci0 dev 24 function 0 not configured sdhc0 at pci0 dev 28 function 0 "Intel C3000 eMMC" rev 0x11: apic 2 int 16 sdhc0: SDHC 3.0, 200 MHz base clock sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, ddr52, dma pcib0 at pci0 dev 31 function 0 "Intel C3000 LPC" rev 0x11 "Intel C3000 PMC" rev 0x11 at pci0 dev 31 function 2 not configured "Intel C3000 SMBus" rev 0x11 at pci0 dev 31 function 4 not configured "Intel C3000 SPI" rev 0x11 at pci0 dev 31 function 5 not configured isa0 at pcib0 isadma0 at isa0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 vmm0 at mainbus0: VMX/EPT uhub1 at uhub0 port 4 configuration 1 interface 0 "Texas Instruments product 0x8142" rev 2.10/1.00 addr 2 uhub2 at uhub0 port 5 configuration 1 interface 0 "Texas Instruments product 0x8140" rev 3.00/1.00 addr 3 sdmmc0: can't enable card vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (cec3df00ccb8f8bc.a) swap on sd0b dump on sd0b WARNING: / was not properly unmounted What could be the reason for hanging here, Do you have a comment? Thank you in advance for your interest. Last edited by ocicat; 3 Weeks Ago at 12:38 PM. Reason: Adding [code] & [/code] tags for clarity. |
|
|||
![]()
Possibly just needs the file system checked - & please use 'code tags' when posting lots of info.
![]() ('Go advanced' then '#')
__________________
Linux since 1999, & also a BSD user. ![]() |
|
|||
![]()
This was my first post, I will pay attention in the next use code tags.
I installed OpenBSD to two different M.2 SSD, one of them is auto layout and other is custom layout which has four partition(a is /,b is[swap] ,c is unused and d is /usr). Both of them sometimes halting at "root on sd0a (07e16116310df1b7.a) swap on sd0b dump on sd0b", sometimes automatic boot in progres and starting file system checks. Code:
root on sd0a (07e16116310df1b7.a) swap on sd0b dump on sd0b WARNING: / was not properly unmounted Automatic boot in progress: starting file system checks. /dev/sd0a (07e16116310df1b7.a): 1814 files, 49938 used, 454773 free (53 frags, 56840 blocks, 0.0% fragmentation) /dev/sd0a (07e16116310df1b7.a): MARKING FILE SYSTEM CLEAN /dev/sd0k (07e16116310df1b7.k): 1 files, 1 used, 26524340 free (12 frags, 3315541 blocks, 0.0% fragmentation) /dev/sd0k (07e16116310df1b7.k): MARKING FILE SYSTEM CLEAN /dev/sd0d (07e16116310df1b7.d): 6 files, 5 used, 2028730 free (42 frags, 253586 blocks, 0.0% fragmentation) /dev/sd0d (07e16116310df1b7.d): MARKING FILE SYSTEM CLEAN /dev/sd0f (07e16116310df1b7.f): UNREF FILE I=155598 OWNER=root MODE=100444 /dev/sd0f: SIZE=301192 MTIME=Mar 7 06:24 2023 (CLEARED) /dev/sd0f (07e16116310df1b7.f): UNREF FILE I=985088 OWNER=root MODE=100444 /dev/sd0f: SIZE=3615104 MTIME=Mar 7 06:24 2023 (CLEARED) /dev/sd0f (07e16116310df1b7.f): FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED) /dev/sd0f (07e16116310df1b7.f): SUMMARY INFORMATION BAD (SALVAGED) /dev/sd0f (07e16116310df1b7.f): BLK(S) MISSING IN BIT MAPS (SALVAGED) /dev/sd0f (07e16116310df1b7.f): 16669 files, 641767 used, 5610520 free (592 frags, 701241 blocks, 0.0% fragmentation) /dev/sd0f (07e16116310df1b7.f): MARKING FILE SYSTEM CLEAN /dev/sd0g (07e16116310df1b7.g): 5885 files, 138914 used, 365797 free (149 frags, 45706 blocks, 0.0% fragmentation) /dev/sd0g (07e16116310df1b7.g): MARKING FILE SYSTEM CLEAN /dev/sd0h (07e16116310df1b7.h): 111 files, 110 used, 8771793 free (73 frags, 1096465 blocks, 0.0% fragmentation) /dev/sd0h (07e16116310df1b7.h): MARKING FILE SYSTEM CLEAN /dev/sd0j (07e16116310df1b7.j): 1 files, 1 used, 3044750 free (14 frags, 380592 blocks, 0.0% fragmentation) /dev/sd0j (07e16116310df1b7.j): MARKING FILE SYSTEM CLEAN /dev/sd0i (07e16116310df1b7.i): 1 files, 1 used, 1520726 free (14 frags, 190089 blocks, 0.0% fragmentation) /dev/sd0i (07e16116310df1b7.i): MARKING FILE SYSTEM CLEAN /dev/sd0e (07e16116310df1b7.e): UNREF FILE I=1788496 OWNER=root MODE=100444 /dev/sd0e: SIZE=11163 MTIME=Mar 7 06:24 2023 (CLEARED) /dev/sd0e (07e16116310df1b7.e): FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED) /dev/sd0e (07e16116310df1b7.e): SUMMARY INFORMATION BAD (SALVAGED) /dev/sd0e (07e16116310df1b7.e): BLK(S) MISSING IN BIT MAPS (SALVAGED) /dev/sd0e (07e16116310df1b7.e): 178 files, 4086 used, 7198697 free (169 frags, 899816 blocks, 0.0% fragmentation) /dev/sd0e (07e16116310df1b7.e): MARKING FILE SYSTEM CLEAN pf enabled starting network reordering libraries: done. starting early daemons: syslogd pflogd ntpd. starting RPC daemons:. savecore: no core dump checking quotas: done. clearing /tmp kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd smtpd sndiod. starting local daemons: cron. Tue Mar 7 16:01:39 +03 2023 OpenBSD/amd64 (openbsd.done) (tty00) login: |
|
|||
![]()
From https://en.wikipedia.org/wiki/M.2
Quote:
Because you did not post the complete dmesg, we do not know which one OpenBSD picked. I don't have a system with a M.2 interface and card. So this is just guessing .... I also don't know whether (and how) you could force OpenBSD for example to attach the M.2 disk using legacy SATA or AHCI. If one of these 2 work, it would kind of prove the nvme driver being the culprit .......
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
nfs file transfer hanging | geoinsbay | OpenBSD General | 6 | 1st April 2016 12:37 PM |
opensolaris latop keeps hanging screen freezes | chrisd | Solaris | 3 | 16th January 2009 07:08 PM |
Hanging on boot command syscons | caesius | FreeBSD General | 2 | 28th November 2008 09:07 AM |
FreeBSD 7.0 hanging up randomly - again | lumiwa | FreeBSD General | 6 | 6th September 2008 05:24 PM |
FreeBSD 7.0 hanging up randomly | mc_i2020 | FreeBSD General | 22 | 28th August 2008 11:20 AM |