On Fri, Jun 16, 2023 at 02:30:27PM +0300, Vitaliy Makkoveev wrote:
> On Fri, Jun 16, 2023 at 10:53:33AM +0200, Peter J. Philipp wrote:
> > On Fri, Jun 16, 2023 at 10:40:30AM +0200, Peter J. Philipp wrote:
> > > Sorry for no formatting and the bad quality photo, the kernel paniced on 
> > > me
> > > on process Xorg, when I turned on the sound card.  I use fluxbox windows
> > > manager if it's worth any.  Odd is that it paniced on poll().  I had 
> > > turned
> > > 
> > > pjp@polarstern$ sysctl -a|grep aperture
> > > machdep.allowaperture=1
> > > 
> > > aperture to 1 a while back, dunno if this could be the cause?
> > 
> > It was paniced in the wscons keyboard driver attached to control buttons > 
> > of the sound card. Could you detach all you usb keyboards, connect sound > 
> > card and turn it on?

Let me explain my console setup.  I have a usb keyboard attached to a "4x1 \
USB HDMI KVM Switch" purchased at conrad.de.  When I press shift-lock three
times and the number of the kvm port (1 to 4) I switch into another physical
computer.  This could be windows or another OpenBSD computer.  I don't know
if it's relevant because I did not switch KVM consoles at the moment of
panic.  However, and many can probably attest to this too, when in console
without X (so installer, or just not booting into xenodm) the keyboard and
mouse detach frequently from the computer and one has to wait a while for it
to come back.  This is often seen on KVM's (I noticed this at hetzner online,
possibly at iweb.com too).  I may have tried to investigate this once but that
was a long time ago and I gave up after not finding anything further.

It seems to me when the X11 drivers are attached that there is no such mis-
event happening, but then there was this panic so who knows what is really
happening.

I tried unplugging the keyboard from this KVM switch and turned on the sound-
card as you had requested.  It did not panic again.  Was it just memory
corruption in the computer you think?  One thing to note is that I have the
basic pf rules set on with a bit of other anchors.


Best Regards,
-peter


> > Pardon me,  I forgot to attach the dmesg:
> > 
> > OpenBSD 7.3 (GENERIC.MP) #1125: Sat Mar 25 10:36:29 MDT 2023
> >     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > real mem = 4257812480 (4060MB)
> > avail mem = 4109357056 (3918MB)
> > random: good seed from bootblocks
> > mpath0 at root
> > scsibus0 at mpath0: 256 targets
> > mainbus0 at root
> > bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeafb0 (100 entries)
> > bios0: vendor American Megatrends Inc. version "E7728MLN.209" date 
> > 12/22/2011
> > bios0: MEDIONPC MS-7728
> > acpi0 at bios0: ACPI 4.0
> > acpi0: sleep states S0 S1 S3 S4 S5
> > acpi0: tables DSDT FACP APIC SSDT MCFG SLIC HPET
> > acpi0: wakeup devices BR20(S3) EUSB(S3) USBE(S3) PEX0(S4) RTL_(S1) PEX1(S4) 
> > PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) PEX6(S4) PEX7(S4) P0P1(S4) P0P2(S3) 
> > P0P3(S3) P0P4(S3) [...]
> > 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) i3-2120 CPU @ 3.30GHz, 3292.67 MHz, 06-2a-07
> > 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
> > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 
> > 64b/line 8-way L2 cache, 3MB 64b/line 12-way L3 cache
> > cpu0: smt 0, core 0, package 0
> > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> > cpu0: apic clock running at 99MHz
> > cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
> > cpu1 at mainbus0: apid 2 (application processor)
> > cpu1: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, 3292.70 MHz, 06-2a-07
> > 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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
> > cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 
> > 64b/line 8-way L2 cache, 3MB 64b/line 12-way L3 cache
> > cpu1: smt 0, core 1, package 0
> > ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
> > acpimcfg0 at acpi0
> > acpimcfg0: addr 0xe0000000, bus 0-255
> > acpihpet0 at acpi0: 14318179 Hz
> > acpiprt0 at acpi0: bus 0 (PCI0)
> > acpiprt1 at acpi0: bus 2 (PEX0)
> > acpiprt2 at acpi0: bus -1 (PEX1)
> > acpiprt3 at acpi0: bus -1 (PEX2)
> > acpiprt4 at acpi0: bus -1 (PEX3)
> > acpiprt5 at acpi0: bus 3 (PEX4)
> > acpiprt6 at acpi0: bus 4 (PEX5)
> > acpiprt7 at acpi0: bus -1 (PEX6)
> > acpiprt8 at acpi0: bus -1 (PEX7)
> > acpiprt9 at acpi0: bus 1 (P0P1)
> > acpiprt10 at acpi0: bus -1 (P0P2)
> > acpiprt11 at acpi0: bus -1 (P0P3)
> > acpiprt12 at acpi0: bus -1 (P0P4)
> > acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
> > acpicmos0 at acpi0
> > acpibtn0 at acpi0: PWRB
> > acpicpu0 at acpi0: C3(350@104 mwait.3@0x20), C1(1000@1 halt), PSS
> > acpicpu1 at acpi0: C3(350@104 mwait.3@0x20), C1(1000@1 halt), PSS
> > cpu0: using VERW MDS workaround (except on vmm entry)
> > cpu0: Enhanced SpeedStep 3292 MHz: speeds: 3300, 3100, 2900, 2700, 2500, 
> > 2300, 2100, 1900, 1700, 1600 MHz
> > pci0 at mainbus0 bus 0
> > pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
> > ppb0 at pci0 dev 1 function 0 "Intel Core 2G PCIE" rev 0x09: msi
> > pci1 at ppb0 bus 1
> > radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 6450" rev 0x00
> > drm0 at radeondrm0
> > radeondrm0: msi
> > azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 6400 Audio" rev 0x00: msi
> > azalia0: no supported codecs
> > "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> > ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x05: apic 0 int 16
> > 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
> > azalia1 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: msi
> > azalia1: codecs: Realtek ALC887
> > audio0 at azalia1
> > ppb1 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: msi
> > pci2 at ppb1 bus 2
> > ppb2 at pci0 dev 28 function 4 "Intel 6 Series PCIE" rev 0xb5: msi
> > pci3 at ppb2 bus 3
> > xhci0 at pci3 dev 0 function 0 "ASMedia ASM1042 xHCI" rev 0x00: msi, xHCI 
> > 0.96
> > usb1 at xhci0: USB revision 3.0
> > uhub1 at usb1 configuration 1 interface 0 "ASMedia xHCI root hub" rev 
> > 3.00/1.00 addr 1
> > ppb3 at pci0 dev 28 function 5 "Intel 6 Series PCIE" rev 0xb5: msi
> > pci4 at ppb3 bus 4
> > re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL 
> > (0x2c80), msi, address 8c:89:a5:68:9c:a7
> > rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
> > ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x05: apic 0 int 23
> > usb2 at ehci1: USB revision 2.0
> > uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 
> > 2.00/1.00 addr 1
> > pcib0 at pci0 dev 31 function 0 "Intel H61 LPC" rev 0x05
> > ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x05: msi, AHCI 
> > 1.3
> > ahci0: port 0: 3.0Gb/s
> > scsibus1 at ahci0: 32 targets
> > sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 850, EMT0> 
> > naa.5002538d4262db53
> > sd0: 476940MB, 512 bytes/sector, 976773168 sectors, thin
> > ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: apic 0 
> > int 18
> > iic0 at ichiic0
> > spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600
> > spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600
> > isa0 at pcib0
> > isadma0 at isa0
> > pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> > pckbd0 at pckbc0 (kbd slot)
> > wskbd0 at pckbd0: console keyboard
> > pcppi0 at isa0 port 0x61
> > spkr0 at pcppi0
> > vmm0 at mainbus0: VMX/EPT
> > uhub3 at uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" 
> > rev 2.00/0.00 addr 2
> > uhidev0 at uhub3 port 1 configuration 1 interface 0 "American Power 
> > Conversion Back-UPS CS 650 FW:817.v9.I USB FW:v9" rev 1.10/0.06 addr 3
> > uhidev0: iclass 3/0, 98 report ids
> > upd0 at uhidev0
> > uhid0 at uhidev0 reportid 1: input=0, output=0, feature=1
> > uhid1 at uhidev0 reportid 2: input=0, output=0, feature=1
> > uhid2 at uhidev0 reportid 3: input=0, output=0, feature=1
> > uhid3 at uhidev0 reportid 4: input=0, output=0, feature=1
> > uhid4 at uhidev0 reportid 5: input=0, output=0, feature=1
> > uhid5 at uhidev0 reportid 6: input=0, output=0, feature=2
> > uhid6 at uhidev0 reportid 8: input=0, output=0, feature=2
> > uhid7 at uhidev0 reportid 9: input=0, output=0, feature=2
> > uhid8 at uhidev0 reportid 10: input=0, output=0, feature=2
> > uhid9 at uhidev0 reportid 11: input=0, output=0, feature=2
> > uhid10 at uhidev0 reportid 12: input=1, output=0, feature=1
> > uhid11 at uhidev0 reportid 13: input=2, output=0, feature=2
> > uhid12 at uhidev0 reportid 14: input=0, output=0, feature=2
> > uhid13 at uhidev0 reportid 15: input=0, output=0, feature=1
> > uhid14 at uhidev0 reportid 16: input=0, output=0, feature=2
> > uhid15 at uhidev0 reportid 17: input=0, output=0, feature=1
> > uhid16 at uhidev0 reportid 18: input=0, output=0, feature=2
> > uhid17 at uhidev0 reportid 19: input=0, output=0, feature=3
> > uhid18 at uhidev0 reportid 20: input=0, output=0, feature=1
> > uhid19 at uhidev0 reportid 21: input=0, output=0, feature=2
> > uhid20 at uhidev0 reportid 22: input=1, output=0, feature=1
> > uhid21 at uhidev0 reportid 23: input=0, output=0, feature=1
> > uhid22 at uhidev0 reportid 24: input=0, output=0, feature=2
> > uhid23 at uhidev0 reportid 25: input=0, output=0, feature=2
> > uhid24 at uhidev0 reportid 26: input=0, output=0, feature=2
> > uhid25 at uhidev0 reportid 27: input=0, output=0, feature=1
> > uhid26 at uhidev0 reportid 28: input=0, output=0, feature=1
> > uhid27 at uhidev0 reportid 29: input=0, output=0, feature=2
> > uhid28 at uhidev0 reportid 30: input=0, output=0, feature=2
> > uhid29 at uhidev0 reportid 31: input=0, output=0, feature=2
> > uhid30 at uhidev0 reportid 32: input=0, output=0, feature=4
> > uhid31 at uhidev0 reportid 33: input=0, output=0, feature=1
> > uhid32 at uhidev0 reportid 34: input=0, output=0, feature=1
> > uhid33 at uhidev0 reportid 35: input=0, output=0, feature=2
> > uhid34 at uhidev0 reportid 36: input=0, output=0, feature=2
> > uhid35 at uhidev0 reportid 37: input=0, output=0, feature=2
> > uhid36 at uhidev0 reportid 38: input=0, output=0, feature=2
> > uhid37 at uhidev0 reportid 39: input=0, output=0, feature=2
> > uhid38 at uhidev0 reportid 40: input=0, output=0, feature=2
> > uhid39 at uhidev0 reportid 41: input=0, output=0, feature=3
> > uhid40 at uhidev0 reportid 42: input=0, output=0, feature=2
> > uhid41 at uhidev0 reportid 43: input=0, output=0, feature=2
> > uhid42 at uhidev0 reportid 44: input=0, output=0, feature=2
> > uhid43 at uhidev0 reportid 45: input=0, output=0, feature=2
> > uhid44 at uhidev0 reportid 46: input=0, output=0, feature=1
> > uhid45 at uhidev0 reportid 47: input=0, output=0, feature=1
> > uhid46 at uhidev0 reportid 48: input=0, output=0, feature=1
> > uhid47 at uhidev0 reportid 49: input=0, output=0, feature=1
> > uhid48 at uhidev0 reportid 50: input=0, output=0, feature=1
> > uhid49 at uhidev0 reportid 51: input=2, output=0, feature=2
> > uhid50 at uhidev0 reportid 52: input=0, output=0, feature=1
> > uhid51 at uhidev0 reportid 53: input=0, output=0, feature=2
> > uhid52 at uhidev0 reportid 54: input=0, output=0, feature=1
> > uhid53 at uhidev0 reportid 55: input=0, output=0, feature=1
> > uhid54 at uhidev0 reportid 62: input=0, output=0, feature=4
> > uhid55 at uhidev0 reportid 63: input=0, output=0, feature=4
> > uhid56 at uhidev0 reportid 64: input=0, output=0, feature=1
> > uhid57 at uhidev0 reportid 65: input=0, output=0, feature=2
> > uhid58 at uhidev0 reportid 66: input=0, output=0, feature=1
> > uhid59 at uhidev0 reportid 69: input=0, output=0, feature=3
> > uhid60 at uhidev0 reportid 70: input=0, output=0, feature=1
> > uhid61 at uhidev0 reportid 71: input=0, output=0, feature=1
> > uhid62 at uhidev0 reportid 72: input=0, output=0, feature=4
> > uhid63 at uhidev0 reportid 81: input=0, output=0, feature=1
> > uhid64 at uhidev0 reportid 82: input=0, output=0, feature=2
> > uhid65 at uhidev0 reportid 96: input=0, output=0, feature=2
> > uhid66 at uhidev0 reportid 97: input=0, output=0, feature=1
> > uhid67 at uhidev0 reportid 98: input=0, output=0, feature=4
> > uhub4 at uhub3 port 2 configuration 1 interface 0 "Genesys Logic USB2.0 
> > Hub" rev 2.00/77.63 addr 4
> > uaudio0 at uhub4 port 4 configuration 1 interface 1 "C-Media Electronics 
> > Inc. USB PnP Sound Device" rev 1.10/1.00 addr 5
> > uaudio0: class v1, full-speed, sync, channels: 2 play, 1 rec, 8 ctls
> > audio1 at uaudio0
> > uhidev1 at uhub4 port 4 configuration 1 interface 3 "C-Media Electronics 
> > Inc. USB PnP Sound Device" rev 1.10/1.00 addr 5
> > uhidev1: iclass 3/0
> > ucc0 at uhidev1: 10 usages, 3 keys, enum
> > wskbd1 at ucc0 mux 1
> > uhub5 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" 
> > rev 2.00/0.00 addr 2
> > vscsi0 at root
> > scsibus2 at vscsi0: 256 targets
> > softraid0 at root
> > scsibus3 at softraid0: 256 targets
> > root on sd0a (8223b91dd813f26a.a) swap on sd0b dump on sd0b
> > WARNING: / was not properly unmounted
> > radeondrm0: CAICOS
> > uhub6 at uhub4 port 2 configuration 1 interface 0 "ROCLA KVM PORT SWITCH" 
> > rev 1.10/1.00 addr 6
> > radeondrm0: 1920x1080, 32bpp
> > wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
> > wskbd1: connecting to wsdisplay0
> > wsdisplay0: screen 1-5 added (std, vt100 emulation)
> > uhidev2 at uhub6 port 1 configuration 1 interface 0 "Cherry GmbH CHERRY 
> > Wired Keyboard" rev 2.00/1.20 addr 7
> > uhidev2: iclass 3/1
> > ukbd0 at uhidev2: 8 variable keys, 6 key codes
> > wskbd2 at ukbd0 mux 1
> > wskbd2: connecting to wsdisplay0
> > uhidev3 at uhub6 port 1 configuration 1 interface 1 "Cherry GmbH CHERRY 
> > Wired Keyboard" rev 2.00/1.20 addr 7
> > uhidev3: iclass 3/0
> > ucc1 at uhidev3: 9 usages, 8 keys, enum
> > wskbd3 at ucc1 mux 1
> > wskbd3: connecting to wsdisplay0
> > uhidev4 at uhub6 port 2 configuration 1 interface 0 "PixArt USB Optical 
> > Mouse" rev 1.10/1.00 addr 8
> > uhidev4: iclass 3/1
> > ums0 at uhidev4: 3 buttons, Z dir
> > wsmouse0 at ums0 mux 0
> > uhidev5 at uhub6 port 3 configuration 1 interface 0 "Alcor Micro USB 
> > Multimedia Keyboard" rev 1.10/1.22 addr 9
> > uhidev5: iclass 3/1
> > ukbd1 at uhidev5: 8 variable keys, 6 key codes
> > wskbd4 at ukbd1 mux 1
> > wskbd4: connecting to wsdisplay0
> > uhidev6 at uhub6 port 3 configuration 1 interface 1 "Alcor Micro USB 
> > Multimedia Keyboard" rev 1.10/1.22 addr 9
> > uhidev6: iclass 3/0, 3 report ids
> > uhid68 at uhidev6 reportid 2: input=1, output=0, feature=0
> > ucc2 at uhidev6 reportid 3: 573 usages, 20 keys, array
> > wskbd5 at ucc2 mux 1
> > wskbd5: connecting to wsdisplay0
> > umass0 at uhub4 port 3 configuration 1 interface 0 "OLYMPUS 
> > FE4000,X920,X925" rev 2.00/1.00 addr 10
> > umass0: using SCSI over Bulk-Only
> > scsibus4 at umass0: 2 targets, initiator 0
> > sd1 at scsibus4 targ 1 lun 0: <OLYMPUS, FE4000,X920,X925, 1.00> removable
> > sd1: 999MB, 512 bytes/sector, 2047815 sectors
> > sd1 detached
> > scsibus4 detached
> > umass0 detached
> > 
> > 
> > Best Regards,
> > -peter
> > 
> > -- 
> > Over thirty years experience on Unix-like Operating Systems starting with 
> > QNX.
> > 
> 

-- 
Over thirty years experience on Unix-like Operating Systems starting with QNX.

Reply via email to