[SOLVED] Update to 24.7.2 results in kernel panic

Started by mroess, August 22, 2024, 08:42:18 AM

Previous topic - Next topic
I saw these patches. Should be "good".

We don't know yet a dmesg of such a system or a "ls /dev/agp*" so that's more or less guesswork.

My favourite solution is removing agp from the kernel now but at least two people with the hardware should test it to be sure.


Cheers,
Franco

August 24, 2024, 11:28:01 AM #61 Last Edit: August 24, 2024, 03:34:53 PM by doktornotor
Quote from: franco on August 24, 2024, 11:24:29 AM
My favourite solution is removing agp from the kernel now

#metoo


set hint.agp.0.disabled=1
set hint.agp.1.disabled=1
set hint.agp.2.disabled=1
set hint.agp.3.disabled=1
boot


can get you running from the loader shell probably (on most setups, agp.0 should be enough).

The VGA and DVD images I posted earlier have the agp-disabled kernel.

It can also be installed via

# opnsense-update -zkr 24.7.2

(note the -z for snapshot)

I had this boot tested on non-legacy hardware just to be sure. ;)


Cheers,
Franco

August 24, 2024, 01:25:59 PM #63 Last Edit: August 24, 2024, 01:28:17 PM by klmi
Quote from: doktornotor on August 24, 2024, 11:28:01 AM
Quote from: franco on August 24, 2024, 11:24:29 AM
My favourite solution is removing agp from the kernel now
set hint.agp.0.disabled=1
set hint.agp.1.disabled=1
set hint.agp.2.disabled=1
set hint.agp.3.disabled=1
boot


didn't work on my setup (https://www.ipcstation.net/lanner/fw-7540b)

OK set hint.agp.0.disable=1
OK  set hint.agp.1.disable=1
OK  set hint.agp.2.disable=1
OK  set hint.agp.3.disable=1
OK boot
Loading kernel...
/boot/kernel/kernel text=0x1813e0 text=0xe011a8 text=0x45598c data=0x180+0xe80 data=0x196dc0+0x469240 0x8+0x1a0778+0x8+0x1c5352
Loading configured modules...
/boot/kernel/pflog.ko size 0x3c10 at 0x2166000
loading required module 'pf'
/boot/kernel/pf.ko size 0x8e588 at 0x216a000
/boot/modules/if_re.ko size 0x11d718 at 0x21f9000
/boot/kernel/zfs.ko size 0x5cd5e0 at 0x2317000
/boot/kernel/if_enc.ko size 0x4c20 at 0x28e5000
/boot/kernel/if_bridge.ko size 0xea58 at 0x28ea000
loading required module 'bridgestp'
/boot/kernel/bridgestp.ko size 0x8930 at 0x28f9000
/boot/kernel/opensolaris.ko size 0x1e2c8 at 0x2902000
/boot/kernel/pfsync.ko size 0x11a18 at 0x2921000
/etc/hostid size=0x25
/boot/kernel/if_lagg.ko size 0x165f0 at 0x2933000
loading required module 'if_infiniband'
/boot/kernel/if_infiniband.ko size 0x3540 at 0x294a000
/boot/kernel/carp.ko size 0xfba8 at 0x294e000
/boot/kernel/if_gre.ko size 0xaa30 at 0x295e000
/boot/entropy size=0x1000
KDB: debugger backends: ddb
KDB: current backend: ddb
---<<BOOT>>---
panic: running without device atpic requires a local APIC
cpuid = 0
time = 1
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff82d3be20
vpanic() at vpanic+0x131/frame 0xffffffff82d3bf50
panic() at panic+0x43/frame 0xffffffff82d3bfb0
apic_init() at apic_init+0xfc/frame 0xffffffff82d3bfd0
mi_startup() at mi_startup+0xb5/frame 0xffffffff82d3bff0
KDB: enter: panic
[ thread pid 0 tid 0 ]
Stopped at      kdb_enter+0x33: movq    $0,0xfd9962(%rip)
db>


i'm not quite sure how to perform @franco suggestion # opnsense-update -zkr 24.7.2 as my machine is offline :-/

Yes.
Exactly the same thing here. Using UFS instead of ZFS leads to another problem: lots of messages and repeated reboots.
Using UFS is not a workaround, but instead seems to point at another kernel problem.



Quote from: rackenthogg on August 22, 2024, 05:24:18 PM
Update: I wiped disk and booted OPNsense 27.2 from USB. Then I logged in as installer and selected UFS option. After that screen was bombarded with fast scrolling messages (to fast to read anything) and the box rebooted.

Repeated the same, after selecting UFS install I paused the screen messages using "Pause" key but before I focused my camera on display, the box rebooted anyway.

Edit 2: ZFS install mode with config restore proceeds without problems, but after 24.7.2 update the whole kernel crash happens again. Selecting UFS install mode results in stream of error messages shown below.
Edit: I managed to take a quick paparazzo-style photo, so here is the part of fast-scrolling stream of messages:



Hmmm, but that appears to be a completely different issue...

Quote from: klmi on August 24, 2024, 01:25:59 PM

---<<BOOT>>---
panic: running without device atpic requires a local APIC


Well so ZFS works on the images that I posted? "UFS as a workaround for the agp(4) issue. That doesn't mean this hardware doesn't have other issues as well. How can anybody guess or expect that?

So I'll ask again: the hardware where the agp_close() panic was seen works with ZFS install on one of the images that I have posted based on 24.7.2 with agp(4) turned off in the kernel?


Cheers,
Franco

August 24, 2024, 01:44:49 PM #67 Last Edit: August 24, 2024, 01:46:43 PM by doktornotor
IOW: people who did NOT have the agp_close() call in the backtrace would be better off starting their own thread.

E.g., the APIC one probably related to a completely different change (first thing on Google) incompatible with old hardware: https://lists.freebsd.org/archives/freebsd-current/2023-November/005064.html

Yes, the new images do seem to fix the problem for me.
Thank you.

Procedure:
1) boot Fresh install of 24.7
2) login root
3) shell: opnsense-update -zkr 24.7.2
4) reboot
5) system boots fine, into the GUI
6) update to 24.7.2 from GUI
7) reboot

All is fine, running fine, I expect no other problems, but I am yet to install the config I had before.
For now: Thank you very much for your support, all.



Quote from: franco on August 24, 2024, 01:39:35 PM
Well so ZFS works on the images that I posted? "UFS as a workaround for the agp(4) issue. That doesn't mean this hardware doesn't have other issues as well. How can anybody guess or expect that?

So I'll ask again: the hardware where the agp_close() panic was seen works with ZFS install on one of the images that I have posted based on 24.7.2 with agp(4) turned off in the kernel?


Cheers,
Franco

Quote from: doktornotor on August 24, 2024, 01:33:56 PM
Hmmm, but that appears to be a completely different issue...

Quote from: klmi on August 24, 2024, 01:25:59 PM

---<<BOOT>>---
panic: running without device atpic requires a local APIC


sorry, i mixed up logs, the one i posted was with ACPI turned off, so please ignore it


here is the correct with agp_close inside

OK
OK set hint.agp.0.disable=1
OK set hint.agp.1.disable=1
OK set hint.agp.2.disable=1
OK set hint.agp.3.disable=1
OK boot
Loading kernel...
/boot/kernel/kernel text=0x1813e0 text=0xe011a8 text=0x45598c data=0x180+0xe80 data=0x196dc0+0x469240 0x8+0x1a0778+0x8+0x1c5352
Loading configured modules...
/boot/kernel/zfs.ko size 0x5cd5e0 at 0x2166000
/boot/modules/if_re.ko size 0x11d718 at 0x2734000
/etc/hostid size=0x25
/boot/kernel/opensolaris.ko size 0x1e2c8 at 0x2852000
/boot/kernel/if_enc.ko size 0x4c20 at 0x2871000
/boot/kernel/if_gre.ko size 0xaa30 at 0x2876000
/boot/kernel/carp.ko size 0xfba8 at 0x2881000
/boot/kernel/pfsync.ko size 0x11a18 at 0x2891000
loading required module 'pf'
/boot/kernel/pf.ko size 0x8e588 at 0x28a3000
/boot/kernel/pflog.ko size 0x3c10 at 0x2932000
/boot/kernel/if_lagg.ko size 0x165f0 at 0x2936000
loading required module 'if_infiniband'
/boot/kernel/if_infiniband.ko size 0x3540 at 0x294d000
/boot/kernel/if_bridge.ko size 0xea58 at 0x2951000
loading required module 'bridgestp'
/boot/kernel/bridgestp.ko size 0x8930 at 0x2960000
/boot/entropy size=0x1000
KDB: debugger backends: ddb
KDB: current backend: ddb
---<<BOOT>>---
Copyright (c) 1992-2023 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 14.1-RELEASE-p3 stable/24.7-n267796-c61a3c23fb1 SMP amd64
FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9)
VT(vga): resolution 640x480
CPU: Intel(R) Atom(TM) CPU D525   @ 1.80GHz (1800.10-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x106ca  Family=0x6  Model=0x1c  Stepping=10
  Features=0xbfebfbff<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,HTT,TM,PBE>
  Features2=0x40e31d<SSE3,DTES64,MON,DS_CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant, performance statistics
real memory  = 4294967296 (4096 MB)
avail memory = 4083974144 (3894 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <020812 APIC1311>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads
random: unblocking device.
ioapic0: MADT APIC ID 4 != hw id 1
ioapic0 <Version 2.0> irqs 0-23
Launching APs: 3 2 1
random: entropy device external interface
wlan: mac acl policy registered
kbd1 at kbdmux0
WARNING: Device "spkr" is Giant locked and may be deleted before FreeBSD 15.0.
vtvga0: <VT VGA driver>
smbios0: <System Management BIOS> at iomem 0xfa390-0xfa3ae
smbios0: Version: 2.6
aesni0: No AES or SHA support.
acpi0: <020812 RSDT1311>
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x9080-0x9087 mem 0xfe700000-0xfe77ffff,0xd0000000-0xdfffffff,0xfe600000-0xfe6fffff irq 16 at device 2.0 on pci0
agp0: <Intel Pineview SVGA controller> on vgapci0
WARNING: Device "agp" is Giant locked and may be deleted before FreeBSD 15.0.
agp0: aperture size is 256M, detected 8188k stolen memory
vgapci0: Boot video device
vgapci1: <VGA-compatible display> mem 0xfe580000-0xfe5fffff at device 2.1 on pci0
uhci0: <Intel 82801H (ICH8) USB controller USB-D> port 0x9480-0x949f irq 16 at device 26.0 on pci0
uhci0: LegSup = 0x2f00
usbus0 on uhci0
usbus0: 12Mbps Full Speed USB v1.0
uhci1: <Intel 82801H (ICH8) USB controller USB-E> port 0x9400-0x941f irq 21 at device 26.1 on pci0
uhci1: LegSup = 0x2f00
usbus1 on uhci1
usbus1: 12Mbps Full Speed USB v1.0
ehci0: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> mem 0xfe7ff400-0xfe7ff7ff irq 18 at device 26.7 on pci0
usbus2: EHCI version 1.0
usbus2 on ehci0
usbus2: 480Mbps High Speed USB v2.0
pcib1: <ACPI PCI-PCI bridge> irq 22 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
em0: <Intel(R) 82583V> port 0xbc00-0xbc1f mem 0xfe8e0000-0xfe8fffff,0xfe8dc000-0xfe8dffff irq 16 at device 0.0 on pci1
em0: EEPROM V1.10-0
em0: Using 1024 TX descriptors and 1024 RX descriptors
em0: Using an MSI interrupt
em0: Ethernet address: 00:90:0b:28:55:f0
em0: netmap queues/slots: TX 1/1024, RX 1/1024
pcib2: <ACPI PCI-PCI bridge> irq 23 at device 28.1 on pci0
pci2: <ACPI PCI bus> on pcib2
em1: <Intel(R) 82583V> port 0xcc00-0xcc1f mem 0xfe9e0000-0xfe9fffff,0xfe9dc000-0xfe9dffff irq 17 at device 0.0 on pci2
em1: EEPROM V1.10-0
em1: Using 1024 TX descriptors and 1024 RX descriptors
em1: Using an MSI interrupt
em1: Ethernet address: 00:90:0b:28:55:f1
em1: netmap queues/slots: TX 1/1024, RX 1/1024
pcib3: <ACPI PCI-PCI bridge> irq 20 at device 28.2 on pci0
pci3: <ACPI PCI bus> on pcib3
em2: <Intel(R) 82583V> port 0xdc00-0xdc1f mem 0xfeae0000-0xfeafffff,0xfeadc000-0xfeadffff irq 18 at device 0.0 on pci3
em2: EEPROM V1.10-0
em2: Using 1024 TX descriptors and 1024 RX descriptors
em2: Using an MSI interrupt
em2: Ethernet address: 00:90:0b:28:55:f2
em2: netmap queues/slots: TX 1/1024, RX 1/1024
pcib4: <ACPI PCI-PCI bridge> irq 21 at device 28.3 on pci0
pci4: <ACPI PCI bus> on pcib4
em3: <Intel(R) 82583V> port 0xec00-0xec1f mem 0xfebe0000-0xfebfffff,0xfebdc000-0xfebdffff irq 19 at device 0.0 on pci4
em3: EEPROM V1.10-0
em3: Using 1024 TX descriptors and 1024 RX descriptors
em3: Using an MSI interrupt
em3: Ethernet address: 00:90:0b:28:55:f3
em3: netmap queues/slots: TX 1/1024, RX 1/1024
uhci2: <Intel 82801H (ICH8) USB controller USB-A> port 0x9c00-0x9c1f irq 23 at device 29.0 on pci0
uhci2: LegSup = 0x3f00
usbus3 on uhci2
usbus3: 12Mbps Full Speed USB v1.0
uhci3: <Intel 82801H (ICH8) USB controller USB-B> port 0x9880-0x989f irq 19 at device 29.1 on pci0
uhci3: LegSup = 0x2f00
usbus4 on uhci3
usbus4: 12Mbps Full Speed USB v1.0
uhci4: <Intel 82801H (ICH8) USB controller USB-C> port 0x9800-0x981f irq 18 at device 29.2 on pci0
uhci4: LegSup = 0x2f00
usbus5 on uhci4
usbus5: 12Mbps Full Speed USB v1.0
ehci1: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> mem 0xfe7ff800-0xfe7ffbff irq 23 at device 29.7 on pci0
usbus6: EHCI version 1.0
usbus6 on ehci1
usbus6: 480Mbps High Speed USB v2.0
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib5
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH8M UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
atapci1: <Intel ICH8M SATA300 controller> port 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f,0xa080-0xa08f irq 18 at device 31.2 on pci0
ata2: <ATA channel> at channel 0 on atapci1
ata3: <ATA channel> at channel 1 on atapci1
acpi_button0: <Power Button> on acpi0
ns8250: UART FCR is broken
ns8250: UART FCR is broken
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
ns8250: UART FCR is broken
uart0: console (115200,n,8,1)
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
Timecounter "TSC" frequency 1799999591 Hz quality 1000
Timecounters tick every 1.000 msec
ugen5.1: <Intel UHCI root HUB> at usbus5
ugen0.1: <Intel UHCI root HUB> at usbus0
ugen6.1: <Intel EHCI root HUB> at usbus6
uhub0 on usbus5
ugen1.1: <Intel UHCI root HUB> at usbus1
uhub1 on usbus0
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
uhub2 on usbus6
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus6
uhub3 on usbus1
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen4.1: <Intel UHCI root HUB> at usbus4
ugen2.1: <Intel EHCI root HUB> at usbus2
ugen3.1: <Intel UHCI root HUB> at usbus3
uhub4 on usbus4
uhub5 on usbus2
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
uhub5: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
uhub6 on usbus3
uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Trying to mount root from zfs:zroot/ROOT/default []...
uhub3: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub6: 2 ports with 2 removable, self powered
Root mount waiting for: usbus2 usbus6 CAM
uhub5: 4 ports with 4 removable, self powered
uhub2: 6 ports with 6 removable, self powered
ada0 at ata2 bus 0 scbus1 target 0 lun 0
ada0: <INTENSO SSD V0718B0> ACS-2 ATA SATA 3.x device
ada0: Serial Number AA000000000000002900
ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 512bytes)
ada0: 114473MB (234441648 512 byte sectors)
Root mount waiting for: ada
Mounting filesystems...


Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 02
fault virtual address   = 0x0
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff804d7de7
stack pointer           = 0x28:0xfffffe0063322b20
frame pointer           = 0x28:0xfffffe0063322b40
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 30 (zpool)
rdi: fffff800038a7100 rsi: 0000000000020005 rdx: 000000000000000b
rcx: fffff80003893400  r8: 0000000000000001  r9: 0000000000000000
rax: 0000000000000000 rbx: fffff800038a7100 rbp: fffffe0063322b40
r10: 0000000000000016 r11: fffff80017f12c60 r12: 0000000000002000
r13: 0000000000020005 r14: fffff800038a6700 r15: fffff800038a6600
trap number             = 12
panic: page fault
cpuid = 2
time = 1724500496
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0063322810
vpanic() at vpanic+0x131/frame 0xfffffe0063322940
panic() at panic+0x43/frame 0xfffffe00633229a0
trap_fatal() at trap_fatal+0x40b/frame 0xfffffe0063322a00
trap_pfault() at trap_pfault+0x46/frame 0xfffffe0063322a50
calltrap() at calltrap+0x8/frame 0xfffffe0063322a50
--- trap 0xc, rip = 0xffffffff804d7de7, rsp = 0xfffffe0063322b20, rbp = 0xfffffe0063322b40 ---
agp_close() at agp_close+0x57/frame 0xfffffe0063322b40
giant_close() at giant_close+0x68/frame 0xfffffe0063322b90
devfs_close() at devfs_close+0x4b3/frame 0xfffffe0063322c00
VOP_CLOSE_APV() at VOP_CLOSE_APV+0x1d/frame 0xfffffe0063322c20
vn_close1() at vn_close1+0x14c/frame 0xfffffe0063322c90
vn_closefile() at vn_closefile+0x3d/frame 0xfffffe0063322ce0
devfs_close_f() at devfs_close_f+0x2a/frame 0xfffffe0063322d10
_fdrop() at _fdrop+0x11/frame 0xfffffe0063322d30
closef() at closef+0x24a/frame 0xfffffe0063322dc0
closefp_impl() at closefp_impl+0x58/frame 0xfffffe0063322e00
amd64_syscall() at amd64_syscall+0x100/frame 0xfffffe0063322f30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0063322f30
--- syscall (6, FreeBSD ELF64, close), rip = 0x2510eeb22ba, rsp = 0x25117523d88, rbp = 0x25117523da0 ---
KDB: enter: panic
[ thread pid 30 tid 100262 ]
Stopped at      kdb_enter+0x33: movq    $0,0xfd9962(%rip)
db>
db>
db>

August 24, 2024, 02:05:59 PM #70 Last Edit: August 24, 2024, 02:54:01 PM by doktornotor
<deleted>

Shouldn't that be "disabled" instead of "disable"?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

August 24, 2024, 02:48:28 PM #72 Last Edit: August 24, 2024, 02:52:30 PM by klmi
The Lanner FW-7540b only has SERIAL, is there an image or can i just flash VGA?

Quote from: Patrick M. Hausen on August 24, 2024, 02:47:11 PM
Shouldn't that be "disabled" instead of "disable"?
:-X

OK set hint.agp.0.disabled=1
OK set hint.agp.1.disabled=1
OK set hint.agp.2.disabled=1
OK set hint.agp.3.disabled=1
OK boot
Loading kernel...
/boot/kernel/kernel text=0x1813e0 text=0xe011a8 text=0x45598c data=0x180+0xe80 data=0x196dc0+0x469240 0x8+0x1a0778+0x8+0x1c5352
Loading configured modules...
/boot/entropy size=0x1000
/boot/kernel/if_bridge.ko size 0xea58 at 0x2167000
loading required module 'bridgestp'
/boot/kernel/bridgestp.ko size 0x8930 at 0x2176000
/boot/kernel/carp.ko size 0xfba8 at 0x217f000
/boot/kernel/if_gre.ko size 0xaa30 at 0x218f000
/boot/kernel/if_enc.ko size 0x4c20 at 0x219a000
/boot/kernel/zfs.ko size 0x5cd5e0 at 0x219f000
/boot/kernel/pfsync.ko size 0x11a18 at 0x276d000
loading required module 'pf'
/boot/kernel/pf.ko size 0x8e588 at 0x277f000
/boot/kernel/opensolaris.ko size 0x1e2c8 at 0x280e000
/boot/kernel/pflog.ko size 0x3c10 at 0x282d000
/boot/kernel/if_lagg.ko size 0x165f0 at 0x2831000
loading required module 'if_infiniband'
/boot/kernel/if_infiniband.ko size 0x3540 at 0x2848000
/boot/modules/if_re.ko size 0x11d718 at 0x284c000
/etc/hostid size=0x25
KDB: debugger backends: ddb
KDB: current backend: ddb
---<<BOOT>>---
Copyright (c) 1992-2023 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 14.1-RELEASE-p3 stable/24.7-n267796-c61a3c23fb1 SMP amd64
FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9)
VT(vga): resolution 640x480
CPU: Intel(R) Atom(TM) CPU D525   @ 1.80GHz (1800.09-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x106ca  Family=0x6  Model=0x1c  Stepping=10
  Features=0xbfebfbff<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,HTT,TM,PBE>
  Features2=0x40e31d<SSE3,DTES64,MON,DS_CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant, performance statistics
real memory  = 4294967296 (4096 MB)
avail memory = 4083978240 (3894 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <020812 APIC1311>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads
random: unblocking device.
ioapic0: MADT APIC ID 4 != hw id 1
ioapic0 <Version 2.0> irqs 0-23
Launching APs: 3 2 1
random: entropy device external interface
wlan: mac acl policy registered
kbd1 at kbdmux0
WARNING: Device "spkr" is Giant locked and may be deleted before FreeBSD 15.0.
vtvga0: <VT VGA driver>
smbios0: <System Management BIOS> at iomem 0xfa390-0xfa3ae
smbios0: Version: 2.6
aesni0: No AES or SHA support.
acpi0: <020812 RSDT1311>
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x9080-0x9087 mem 0xfe700000-0xfe77ffff,0xd0000000-0xdfffffff,0xfe600000-0xfe6fffff irq 16 at device 2.0 on pci0
agp0: <Intel Pineview SVGA controller> on vgapci0
WARNING: Device "agp" is Giant locked and may be deleted before FreeBSD 15.0.
agp0: aperture size is 256M, detected 8188k stolen memory
vgapci0: Boot video device
vgapci1: <VGA-compatible display> mem 0xfe580000-0xfe5fffff at device 2.1 on pci0
uhci0: <Intel 82801H (ICH8) USB controller USB-D> port 0x9480-0x949f irq 16 at device 26.0 on pci0
uhci0: LegSup = 0x2f00
usbus0 on uhci0
usbus0: 12Mbps Full Speed USB v1.0
uhci1: <Intel 82801H (ICH8) USB controller USB-E> port 0x9400-0x941f irq 21 at device 26.1 on pci0
uhci1: LegSup = 0x2f00
usbus1 on uhci1
usbus1: 12Mbps Full Speed USB v1.0
ehci0: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> mem 0xfe7ff400-0xfe7ff7ff irq 18 at device 26.7 on pci0
usbus2: EHCI version 1.0
usbus2 on ehci0
usbus2: 480Mbps High Speed USB v2.0
pcib1: <ACPI PCI-PCI bridge> irq 22 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
em0: <Intel(R) 82583V> port 0xbc00-0xbc1f mem 0xfe8e0000-0xfe8fffff,0xfe8dc000-0xfe8dffff irq 16 at device 0.0 on pci1
em0: EEPROM V1.10-0
em0: Using 1024 TX descriptors and 1024 RX descriptors
em0: Using an MSI interrupt
em0: Ethernet address: 00:90:0b:28:55:f0
em0: netmap queues/slots: TX 1/1024, RX 1/1024
pcib2: <ACPI PCI-PCI bridge> irq 23 at device 28.1 on pci0
pci2: <ACPI PCI bus> on pcib2
em1: <Intel(R) 82583V> port 0xcc00-0xcc1f mem 0xfe9e0000-0xfe9fffff,0xfe9dc000-0xfe9dffff irq 17 at device 0.0 on pci2
em1: EEPROM V1.10-0
em1: Using 1024 TX descriptors and 1024 RX descriptors
em1: Using an MSI interrupt
em1: Ethernet address: 00:90:0b:28:55:f1
em1: netmap queues/slots: TX 1/1024, RX 1/1024
pcib3: <ACPI PCI-PCI bridge> irq 20 at device 28.2 on pci0
pci3: <ACPI PCI bus> on pcib3
em2: <Intel(R) 82583V> port 0xdc00-0xdc1f mem 0xfeae0000-0xfeafffff,0xfeadc000-0xfeadffff irq 18 at device 0.0 on pci3
em2: EEPROM V1.10-0
em2: Using 1024 TX descriptors and 1024 RX descriptors
em2: Using an MSI interrupt
em2: Ethernet address: 00:90:0b:28:55:f2
em2: netmap queues/slots: TX 1/1024, RX 1/1024
pcib4: <ACPI PCI-PCI bridge> irq 21 at device 28.3 on pci0
pci4: <ACPI PCI bus> on pcib4
em3: <Intel(R) 82583V> port 0xec00-0xec1f mem 0xfebe0000-0xfebfffff,0xfebdc000-0xfebdffff irq 19 at device 0.0 on pci4
em3: EEPROM V1.10-0
em3: Using 1024 TX descriptors and 1024 RX descriptors
em3: Using an MSI interrupt
em3: Ethernet address: 00:90:0b:28:55:f3
em3: netmap queues/slots: TX 1/1024, RX 1/1024
uhci2: <Intel 82801H (ICH8) USB controller USB-A> port 0x9c00-0x9c1f irq 23 at device 29.0 on pci0
uhci2: LegSup = 0x2f00
usbus3 on uhci2
usbus3: 12Mbps Full Speed USB v1.0
uhci3: <Intel 82801H (ICH8) USB controller USB-B> port 0x9880-0x989f irq 19 at device 29.1 on pci0
uhci3: LegSup = 0x2f00
usbus4 on uhci3
usbus4: 12Mbps Full Speed USB v1.0
uhci4: <Intel 82801H (ICH8) USB controller USB-C> port 0x9800-0x981f irq 18 at device 29.2 on pci0
uhci4: LegSup = 0x2f00
usbus5 on uhci4
usbus5: 12Mbps Full Speed USB v1.0
ehci1: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> mem 0xfe7ff800-0xfe7ffbff irq 23 at device 29.7 on pci0
usbus6: EHCI version 1.0
usbus6 on ehci1
usbus6: 480Mbps High Speed USB v2.0
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib5
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH8M UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
atapci1: <Intel ICH8M SATA300 controller> port 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f,0xa080-0xa08f irq 18 at device 31.2 on pci0
ata2: <ATA channel> at channel 0 on atapci1
ata3: <ATA channel> at channel 1 on atapci1
acpi_button0: <Power Button> on acpi0
ns8250: UART FCR is broken
ns8250: UART FCR is broken
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
ns8250: UART FCR is broken
uart0: console (115200,n,8,1)
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
Timecounter "TSC" frequency 1799999856 Hz quality 1000
Timecounters tick every 1.000 msec
ugen5.1: <Intel UHCI root HUB> at usbus5
ugen1.1: <Intel UHCI root HUB> at usbus1
ugen2.1: <Intel EHCI root HUB> at usbus2
ugen0.1: <Intel UHCI root HUB> at usbus0
uhub0 on usbus5
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
uhub1 on usbus0
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
uhub2 on usbus1
ugen6.1: <Intel EHCI root HUB> at usbus6
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen4.1: <Intel UHCI root HUB> at usbus4
uhub3 on usbus6
uhub4 on usbus4
ugen3.1: <Intel UHCI root HUB> at usbus3
uhub5 on usbus2
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
uhub6 on usbus3
uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
uhub5: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus6
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Trying to mount root from zfs:zroot/ROOT/default []...
uhub1: 2 ports with 2 removable, self powered
uhub6: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
Root mount waiting for: usbus2 usbus6 CAM
uhub5: 4 ports with 4 removable, self powered
ada0 at ata2 bus 0 scbus1 target 0 lun 0
ada0: <INTENSO SSD V0718B0> ACS-2 ATA SATA 3.x device
ada0: Serial Number AA000000000000002900
ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 512bytes)
ada0: 114473MB (234441648 512 byte sectors)
Root mount waiting for: usbus6 ada
uhub3: 6 ports with 6 removable, self powered
Mounting filesystems...


Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 02
fault virtual address   = 0x0
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff804d7de7
stack pointer           = 0x28:0xfffffe00846e7b20
frame pointer           = 0x28:0xfffffe00846e7b40
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 30 (zpool)
rdi: fffff800038a7100 rsi: 0000000000020005 rdx: 000000000000000b
rcx: fffff80003893400  r8: 0000000000000001  r9: 0000000000000000
rax: 0000000000000000 rbx: fffff800038a7100 rbp: fffffe00846e7b40
r10: 0000000000000016 r11: fffff80017ce4c60 r12: 0000000000002000
r13: 0000000000020005 r14: fffff800038a6700 r15: fffff800038a6600
trap number             = 12
panic: page fault
cpuid = 2
time = 1724503787
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00846e7810
vpanic() at vpanic+0x131/frame 0xfffffe00846e7940
panic() at panic+0x43/frame 0xfffffe00846e79a0
trap_fatal() at trap_fatal+0x40b/frame 0xfffffe00846e7a00
trap_pfault() at trap_pfault+0x46/frame 0xfffffe00846e7a50
calltrap() at calltrap+0x8/frame 0xfffffe00846e7a50
--- trap 0xc, rip = 0xffffffff804d7de7, rsp = 0xfffffe00846e7b20, rbp = 0xfffffe00846e7b40 ---
agp_close() at agp_close+0x57/frame 0xfffffe00846e7b40
giant_close() at giant_close+0x68/frame 0xfffffe00846e7b90
devfs_close() at devfs_close+0x4b3/frame 0xfffffe00846e7c00
VOP_CLOSE_APV() at VOP_CLOSE_APV+0x1d/frame 0xfffffe00846e7c20
vn_close1() at vn_close1+0x14c/frame 0xfffffe00846e7c90
vn_closefile() at vn_closefile+0x3d/frame 0xfffffe00846e7ce0
devfs_close_f() at devfs_close_f+0x2a/frame 0xfffffe00846e7d10
_fdrop() at _fdrop+0x11/frame 0xfffffe00846e7d30
closef() at closef+0x24a/frame 0xfffffe00846e7dc0
closefp_impl() at closefp_impl+0x58/frame 0xfffffe00846e7e00
amd64_syscall() at amd64_syscall+0x100/frame 0xfffffe00846e7f30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00846e7f30
--- syscall (6, FreeBSD ELF64, close), rip = 0x31976572ba, rsp = 0x319f2c6d88, rbp = 0x319f2c6da0 ---
KDB: enter: panic
[ thread pid 30 tid 100257 ]
Stopped at      kdb_enter+0x33: movq    $0,0xfd9962(%rip)
db>

August 24, 2024, 02:51:13 PM #73 Last Edit: August 24, 2024, 02:53:49 PM by ftonioli
Hello,

Using set hint.agp.0.disabled=1, was enought to back my server to life.

Trying to run: opnsense-update -zfkr 24.7.2, to force reinstall from snapshot, returns error:

Fetching kernel-24.7.2-amd64.txz: .............[fetch: https://pkg.opnsense.org/FreeBSD:14:amd64/snapshots/sets/kernel-24.7.2-amd64.txz.sig: Address family for host not supported] failed, no signature found

So I included -i option, like opnsense-update -zfikr 24.7.2, was able to install snapshop.

Tks all fot help in this case.

August 24, 2024, 02:51:58 PM #74 Last Edit: August 24, 2024, 02:54:42 PM by doktornotor
Ok, I fail to understand how it only has serial.


agp0: <Intel Pineview SVGA controller> on vgapci0


You can use this method from 24.7 - https://forum.opnsense.org/index.php?topic=42373.msg209660#msg209660

Or perhaps fix your fat fingers and type the hints properly. Was confirmed by another user to be working.