Hello,

I am trying to run OpenBSD 7.8 on an Acer TravelMate 8204WLMi. The
installation went fine, however when I boot into the system, I get the
following kernel panic:

uvm_fault(0xfffffd8008db7730, 0x0, 0, 1) -> e
kernel: page fault, trap, code=0
Stopped at      comopen+0x820:  movq    0(%rax),%r11
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*114766   5614      0         0x3          0    0K ttyflags
comopen(804,5,2000,ffff80002c61d4d8) at comopen+0x820
spec_open(ffff80002d7cb118) at spec_open+0xe2
VOP_OPEN(fffffd80a765cb38,5,fffffd8008ffbea0,ffff80002c61d4d8) at VOP_OPEN+0x57
vn_open(ffff80002d7cb330,5,0) at vn_open+0x2ea
doopenat(ffff80002c61d4d8,ffffff9c,75c694cadd50,4,0,ffff80002d7cb4d0)
at doopenat+0x221
syscall(ffff80002d7cb550) at syscall+0x5f9
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x75c694cadd40, count: 8

Here is other mandatory info from ddb:
ddb{0}> ps
   PID     TID   PPID  UID  S       FLAGS  WAIT       COMMAND
*10431  506582  36495    0  7         0x3             ttyflags
 36495  280295      1    0  3    0x10008b  sigsusp    sh
 45520  244085      0    0  3     0x14200  bored      wsdisplay0
 47144  449252      0    0  3     0x14200  bored      radeon-crtc
 21639   71679      0    0  3     0x14200  bored      radeon-crtc
 11460  511373      0    0  3     0x14200  bored      card0-crtc1
 15367   35659      0    0  3     0x14200  bored      card0-crtc0
 43166  187940      0    0  3     0x14200  bored      ttm
 73019  181669      0    0  3     0x14200  bored      smr
 31667  465732      0    0  3     0x14200  pgzero     zerothread
 65116  362986      0    0  3     0x14200  aiodoned   aiodoned
 44992  172067      0    0  3     0x14200  syncer     update
  6281   46002      0    0  3     0x14200  cleaner    cleaner
 99628  236562      0    0  3     0x14200  reaper     reaper
 91848  223649      0    0  3     0x14200  pgdaemon   pagedaemon
 67263   92921      0    0  3     0x14200  usbtsk     usbtask
 36169  263843      0    0  3     0x14200  usbatsk    usbatsk
 84791  342358      0    0  3     0x14200  bored      drmtskl
 30869  303678      0    0  3     0x14200  bored      drmlwq
  6253  253976      0    0  3     0x14200  bored      drmlwq
 64289  341938      0    0  3     0x14200  bored      drmlwq
 26961   70659      0    0  3     0x14200  bored      drmubwq
 53318  177655      0    0  3     0x14200  bored      drmubwq
 83195  427339      0    0  3     0x14200  bored      drmubwq
 47608  448803      0    0  3     0x14200  bored      drmubwq
 80790  381525      0    0  3     0x14200  bored      drmhpwq
 81019  188583      0    0  3     0x14200  bored      drmhpwq
 54297  370872      0    0  3     0x14200  bored      drmwq
 33459   47916      0    0  3     0x14200  bored      drmwq
 53855  521291      0    0  3     0x14200  bored      drmwq
 41030  164940      0    0  3     0x14200  bored      drmwq
 90662  374924      0    0  3     0x14200  bored      acpi0
 38268  497213      0    0  3     0x14200  bored      idle1
 91865  315209      0    0  3     0x14200  bored      sensors
 13178  386035      0    0  3  0x40014200  acpi0      acpi0
 62127  313653      0    0  3  0x40014200             idle1
 34232  383815      0    0  3     0x14200  bored      sensors
 66012  381077      0    0  3     0x14200  bored      softnet1
 94951  177307      0    0  3     0x14200  bored      softnet0
 50757  436192      0    0  3     0x14200  bored      systqmp
 29854  504334      0    0  3     0x14200  bored      systq
 26234  431329      0    0  3     0x14200  tmoslp     softclockmp
 38447  105394      0    0  3  0x40014200  tmoslp     softclock
 19694   86205      0    0  3  0x40014200             idle0
     1  239928      0    0  3        0x82  wait       init
     0       0     -1    0  3     0x10200  scheduler  swapper
ddb{0}> show registers
rdi               0xffff800000ec8600
rsi                              0x5
rbp               0xffff80002d7cafd0
rbx                              0x5
rdx                            0x4c0
rcx                                0
rax                                0
r8                0xffff80002c61cd14
r9                                 0
r10               0xffff80002d7caf20
r11               0xd62c04779d07ce90
r12               0xffff800000198000
r13               0xffff800000ec8600
r14               0xffff800000ec8710
r15                            0x804
rip               0xffffffff81ae09f0    comopen+0x820
cs                               0x8
rflags                       0x10297    __ALIGN_SIZE+0xf297
rsp               0xffff80002d7caf70
ss                              0x10
comopen+0x820:  movq    0(%rax),%r11


and the dmesg:

OpenBSD 7.8 (GENERIC.MP) #54: Sun Oct 12 12:58:11 MDT 2025
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3202875392 (3054MB)
avail mem = 3079254016 (2936MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xbfee7000 (34 entries)
bios0: vendor Acer version "v1.3521" date 02/08/07
bios0: Acer, inc. TravelMate 8200
acpi0 at bios0: ACPI 1.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC HPET MCFG APIC BOOT ASF! SLIC SSDT
acpi0: wakeup devices HDEF(S3) PXS1(S4) LANE(S4) PXS5(S4) USB1(S3)
USB2(S3) USB3(S3) USB4(S3) USB7(S3) LANC(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz, 1666.89 MHz, 06-0f-06,
patch 000000d1
cpu0: cpuid 1 
edx=bfebfbff<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>
ecx=e39d<SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM>
cpu0: cpuid 6 eax=1<SENSOR> ecx=1<EFFFREQ>
cpu0: cpuid a vers=2, gp=2, gpwidth=40, ff=0, ffwidth=0
cpu0: cpuid 80000001 edx=20100800<NXE,LONG> ecx=1<LAHF>
cpu0: MELTDOWN
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 2MB
64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 166MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz, 1667.02 MHz, 06-0f-06,
patch 000000d1
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins, remapped
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEGP)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 3 (RP02)
acpiprt4 at acpi0: bus 4 (RP03)
acpiprt5 at acpi0: bus 5 (RP04)
acpiprt6 at acpi0: bus 6 (RP05)
acpiprt7 at acpi0: bus -1 (PXHA)
acpiprt8 at acpi0: bus 10 (PCIB)
acpiec0 at acpi0
acpipci0 at acpi0 PCI0
acpicmos0 at acpi0
"PNP0A05" at acpi0 not configured
"NSC6001" at acpi0 not configured
com0 at acpi0 COMA addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
"PNP0303" at acpi0 not configured
"SYN1003" at acpi0 not configured
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 not present
acpibat1 at acpi0: BAT2 not present
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
"PNP0C14" at acpi0 not configured
acpicpu0 at acpi0: !C3(100@57 io@0x1016), !C2(500@1 io@0x1014),
C1(1000@1 halt), PSS
acpicpu1 at acpi0: !C3(100@57 io@0x1016), !C2(500@1 io@0x1014),
C1(1000@1 halt), PSS
acpitz0 at acpi0
acpitz0: critical temperature is 97 degC
acpidock0 at acpi0: DOCK not docked (0)
acpivideo0 at acpi0: GFX0
cpu0: Enhanced SpeedStep 1666 MHz: speeds: 1667, 1333, 1000 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 0 function 0 "ATI Radeon Mobility X1600" rev 0x00
drm0 at radeondrm0
radeondrm0: apic 1 int 16
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02:
apic 1 int 22
azalia0: codecs: Realtek ALC883, AT&T/Lucent/0x3026, using Realtek ALC883
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 17
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 16
pci3 at ppb2 bus 3
3:0:2: io address conflict 0x3040/0x8
3:0:2: io address conflict 0x3034/0x4
3:0:2: io address conflict 0x3038/0x8
3:0:2: io address conflict 0x3030/0x4
3:0:2: io address conflict 0x3020/0x10
3:0:3: io address conflict 0x3048/0x8
3:0:3: mem address conflict 0xd0120000/0x1000
3:0:4: mem address conflict 0xd0121000/0x1000
3:0:4: io address conflict 0x3050/0x4
em0 at pci3 dev 0 function 0 "Intel 82573E" rev 0x03: apic 1 int 17,
address 00:16:36:10:1a:2d
pciide0 at pci3 dev 0 function 2 "Intel 82573E IDE" rev 0x03: DMA
(unsupported), channel 0 wired to native-PCI, channel 1 wired to
native-PCI
pciide0: using apic 1 int 18 for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
"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
ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 18
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 19
pci5 at ppb4 bus 5
wpi0 at pci5 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
apic 1 int 19, MoW2, address 00:13:02:04:c5:74
ppb5 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x02: apic 1 int 17
pci6 at ppb5 bus 6
ppb6 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x02: apic 1 int 16
pci7 at ppb6 bus 7
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1
ppb7 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci8 at ppb7 bus 10
cbb0 at pci8 dev 9 function 0 "O2 Micro OZ711MP1 CardBus" rev 0x21:
apic 1 int 20
cbb1 at pci8 dev 9 function 1 "O2 Micro OZ711MP1 CardBus" rev 0x21:
apic 1 int 20
"O2 Micro Firewire" rev 0x02 at pci8 dev 9 function 4 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 11 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 11 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
pcib0 at pci0 dev 31 function 0 "Intel 82801GHM LPC" rev 0x02
pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide1 channel 0 drive 0: <SSDPR-CX400-128-G2>
wd0: 8-sector PIO, LBA48, 122104MB, 250069680 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
atapiscsi0 at pciide1 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVDRAM GSA-4082N, HR02> removable
cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 1 int 19
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 6.2, 0x12a0b1 0x204000 0x0 0xa04713 0x0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
com4 at pcmcia1 function 0: can't allocate i/o space
ugen0 at uhub0 port 8 "Vimicro Corp. USB2.0 Web Camera" rev 2.00/1.00 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on wd0a (55fdc0e45a55052e.a) swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
radeondrm0: RV530
radeondrm0: 1680x1050, 32bpp
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
WARNING: R/W mount of / denied.  Filesystem is not clean - run fsck
WARNING: R/W mount of /home denied.  Filesystem is not clean - run fsck
WARNING: R/W mount of /tmp denied.  Filesystem is not clean - run fsck
WARNING: R/W mount of /usr denied.  Filesystem is not clean - run fsck
WARNING: R/W mount of /var denied.  Filesystem is not clean - run fsck

This laptop initially came with a Core Duo T2500, which I've upgraded
to a Core 2 Duo T5500, however this kernel panic persist even on the
32 bit CPU, so the CPU upgrade is not a factor.

My own investigations as instructed per
https://www.openbsd.org/ddb.html tells me line 1628 is responsible
(this contains 10 lines before and after):

/usr/src/sys/dev/ic/com.c:1637
    3ccd:    4c 8b 58 70              mov    0x70(%rax),%r11
    3cd1:    eb 04                    jmp    3cd7 <com_attach_subr+0x57>
/usr/src/sys/dev/ic/com.c:1639
    3cd3:    4c 8b 58 60              mov    0x60(%rax),%r11
    3cd7:    31 d2                    xor    %edx,%edx
    3cd9:    e8 00 00 00 00           callq  3cde <com_attach_subr+0x5e>
            3cda: R_X86_64_PLT32    __x86_indirect_thunk_r11+0xfffffffffffffffc
com_attach_subr():
/usr/src/sys/dev/ic/com.c:1311
    3cde:    48 c7 44 24 f8 00 00     movq   $0x0,0xfffffffffffffff8(%rsp)
    3ce5:    00 00
    3ce7:    49 8b 46 50              mov    0x50(%r14),%rax
    3ceb:    48 3b 05 00 00 00 00     cmp    0(%rip),%rax        #
3cf2 <com_attach_subr+0x72>
            3cee: R_X86_64_PC32    comconsiot+0xfffffffffffffffc
    3cf2:    75 48                    jne    3d3c <com_attach_subr+0xbc>
    3cf4:    49 8b 8e 08 01 00 00     mov    0x108(%r14),%rcx
    3cfb:    48 3b 0d 00 00 00 00     cmp    0(%rip),%rcx        #
3d02 <com_attach_subr+0x82>
            3cfe: R_X86_64_PC32    comconsaddr+0xfffffffffffffffc
    3d02:    75 38                    jne    3d3c <com_attach_subr+0xbc>
/usr/src/sys/dev/ic/com.c:1312
    3d04:    c7 05 00 00 00 00 01     movl   $0x1,0(%rip)        #
3d0e <com_attach_subr+0x8e>
    3d0b:    00 00 00
            3d06: R_X86_64_PC32    comconsattached+0xfffffffffffffff8
/usr/src/sys/dev/ic/com.c:1313
    3d0e:    4c 8b 1d 00 00 00 00     mov    0(%rip),%r11        #
3d15 <com_attach_subr+0x95>
            3d11: R_X86_64_PC32    delay_func+0xfffffffffffffffc
    3d15:    bf 10 27 00 00           mov    $0x2710,%edi
    3d1a:    e8 00 00 00 00           callq  3d1f <com_attach_subr+0x9f>
            3d1b: R_X86_64_PLT32    __x86_indirect_thunk_r11+0xfffffffffffffffc
/usr/src/sys/dev/ic/com.c:1314
    3d1f:    48 c7 44 24 f8 00 00     movq   $0x0,0xfffffffffffffff8(%rsp)
    3d26:    00 00
    3d28:    41 80 8e 23 01 00 00     orb    $0x40,0x123(%r14)
    3d2f:    40
/usr/src/sys/dev/ic/com.c:1315
    3d30:    41 80 8e 24 01 00 00     orb    $0x1,0x124(%r14)
    3d37:    01
com_read_reg():
    3d38:    49 8b 46 50              mov    0x50(%r14),%rax
/usr/src/sys/dev/ic/com.c:1623
    3d3c:    41 0f b6 8e 21 01 00     movzbl 0x121(%r14),%ecx
    3d43:    00
    3d44:    be 03 00 00 00           mov    $0x3,%esi
    3d49:    48 d3 e6                 shl    %cl,%rsi
/usr/src/sys/dev/ic/com.c:1625
    3d4c:    41 80 be 20 01 00 00     cmpb   $0x4,0x120(%r14)
    3d53:    04
    3d54:    75 1e                    jne    3d74 <com_attach_subr+0xf4>
/usr/src/sys/dev/ic/com.c:1626
    3d56:    4c 8b 58 10              mov    0x10(%rax),%r11
    3d5a:    49 8b be 18 01 00 00     mov    0x118(%r14),%rdi
    3d61:    e8 00 00 00 00           callq  3d66 <com_attach_subr+0xe6>
            3d62: R_X86_64_PLT32    __x86_indirect_thunk_r11+0xfffffffffffffffc
    3d66:    48 c7 44 24 f8 00 00     movq   $0x0,0xfffffffffffffff8(%rsp)
    3d6d:    00 00
    3d6f:    41 89 c7                 mov    %eax,%r15d
    3d72:    eb 1b                    jmp    3d8f <com_attach_subr+0x10f>
/usr/src/sys/dev/ic/com.c:1628
    3d74:    4c 8b 18                 mov    (%rax),%r11
    3d77:    49 8b be 18 01 00 00     mov    0x118(%r14),%rdi
    3d7e:    e8 00 00 00 00           callq  3d83 <com_attach_subr+0x103>
            3d7f: R_X86_64_PLT32    __x86_indirect_thunk_r11+0xfffffffffffffffc
    3d83:    48 c7 44 24 f8 00 00     movq   $0x0,0xfffffffffffffff8(%rsp)
    3d8a:    00 00
    3d8c:    41 89 c7                 mov    %eax,%r15d
com_write_reg():
/usr/src/sys/dev/ic/com.c:1634
    3d8f:    41 0f b6 8e 21 01 00     movzbl 0x121(%r14),%ecx
    3d96:    00
    3d97:    be 03 00 00 00           mov    $0x3,%esi
    3d9c:    48 d3 e6                 shl    %cl,%rsi
/usr/src/sys/dev/ic/com.c:1636
    3d9f:    41 80 be 20 01 00 00     cmpb   $0x4,0x120(%r14)
    3da6:    04
    3da7:    49 8b 46 50              mov    0x50(%r14),%rax
    3dab:    49 8b be 18 01 00 00     mov    0x118(%r14),%rdi
    3db2:    75 06                    jne    3dba <com_attach_subr+0x13a>
/usr/src/sys/dev/ic/com.c:1637
    3db4:    4c 8b 58 70              mov    0x70(%rax),%r11
    3db8:    eb 04                    jmp    3dbe <com_attach_subr+0x13e>
/usr/src/sys/dev/ic/com.c:1639
    3dba:    4c 8b 58 60              mov    0x60(%rax),%r11
    3dbe:    ba bf 00 00 00           mov    $0xbf,%edx
    3dc3:    e8 00 00 00 00           callq  3dc8 <com_attach_subr+0x148>
            3dc4: R_X86_64_PLT32    __x86_indirect_thunk_r11+0xfffffffffffffffc
/usr/src/sys/dev/ic/com.c:1634
    3dc8:    48 c7 44 24 f8 00 00     movq   $0x0,0xfffffffffffffff8(%rsp)
    3dcf:    00 00
    3dd1:    41 0f b6 8e 21 01 00     movzbl 0x121(%r14),%ecx
    3dd8:    00
    3dd9:    be 02 00 00 00           mov    $0x2,%esi
    3dde:    48 d3 e6                 shl    %cl,%rsi
/usr/src/sys/dev/ic/com.c:1636
    3de1:    41 80 be 20 01 00 00     cmpb   $0x4,0x120(%r14)
    3de8:    04
    3de9:    49 8b 46 50              mov    0x50(%r14),%rax
    3ded:    49 8b be 18 01 00 00     mov    0x118(%r14),%rdi
    3df4:    75 06                    jne    3dfc <com_attach_subr+0x17c>
/usr/src/sys/dev/ic/com.c:1637
    3df6:    4c 8b 58 70              mov    0x70(%rax),%r11
    3dfa:    eb 04                    jmp    3e00 <com_attach_subr+0x180>
/usr/src/sys/dev/ic/com.c:1639
    3dfc:    4c 8b 58 60              mov    0x60(%rax),%r11
    3e00:    31 d2                    xor    %edx,%edx
    3e02:    e8 00 00 00 00           callq  3e07 <com_attach_subr+0x187>
            3e03: R_X86_64_PLT32    __x86_indirect_thunk_r11+0xfffffffffffffffc
/usr/src/sys/dev/ic/com.c:1634
    3e07:    48 c7 44 24 f8 00 00     movq   $0x0,0xfffffffffffffff8(%rsp)
    3e0e:    00 00
    3e10:    41 0f b6 8e 21 01 00     movzbl 0x121(%r14),%ecx
    3e17:    00
    3e18:    be 03 00 00 00           mov    $0x3,%esi
    3e1d:    48 d3 e6                 shl    %cl,%rsi
/usr/src/sys/dev/ic/com.c:1636
    3e20:    41 80 be 20 01 00 00     cmpb   $0x4,0x120(%r14)
    3e27:    04
    3e28:    49 8b 46 50              mov    0x50(%r14),%rax
    3e2c:    49 8b be 18 01 00 00     mov    0x118(%r14),%rdi
    3e33:    75 06                    jne    3e3b <com_attach_subr+0x1bb>

$ nl -ba sys/dev/ic/com.c | grep 1628
  1628            return bus_space_read_1(sc->sc_iot, sc->sc_ioh, reg);

located inside the com_read_reg function. If needed, here's the full
com.dis I made: https://termbin.com/8cu3

I am still trying to get a core dump, because I cannot find it
anywhere. It tells me "dumping to dev 0, 1 offset ...", but I don't
see the core dump file anywhere, and it isn't on the empty USB drive I
formatted with FAT16 either. FreeBSD offers me dumpon to change where
the dumpfile would be stored, but I don't see a way here besides
recompiling the kernel.

I have to mention that FreeBSD 14.3 works fine on this laptop, Linux
requires me to disable firewire_ohci but otherwise works, and NetBSD
kernel panics right in the installer (I don't remember the exact
details, and I will make a separate bug report over on that side).

Stefan.

Reply via email to