Hello Stefan,
Thanks for your report.
On 16/11/25(Sun) 13:36, Ștefan-Iulian Alecu wrote:
> 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
This is certainly related to the following:
> com4 at pcmcia1 function 0: can't allocate i/o space
I believe com4 doesn't exist on your machine. There are multiple way to
fix this problem. One of them is to make sure the com(4) driver cannot
open devices that aren't enabled. Could you please try the diff below
and let me know if it helps?
Index: dev/ic/com.c
===================================================================
RCS file: /cvs/src/sys/dev/ic/com.c,v
diff -u -p -r1.180 com.c
--- dev/ic/com.c 16 Sep 2025 12:18:10 -0000 1.180
+++ dev/ic/com.c 28 Nov 2025 11:03:42 -0000
@@ -242,7 +242,7 @@ comopen(dev_t dev, int flag, int mode, s
if (unit >= com_cd.cd_ndevs)
return ENXIO;
sc = com_cd.cd_devs[unit];
- if (!sc)
+ if (!sc || !sc->enabled)
return ENXIO;
s = spltty();