[moving to ports@ where there's a slightly higher chance someone
else reading might have an idea what's happening]

On 2022-08-11, Andy Bradford 
<amb-sendok-1662777873.mdjmhnaeacklfpecf...@bradfords.org> wrote:
> Hello,
>
> I was  running qcad without  problems on 6.9  and decided to  upgrade to
> 7.1. After upgrading from 6.9->7.0->7.1 qcad now segfaults.

Confirmed on -current as well.

> $ qcad 
> QCAD version  3.24.3
> Warning:  RPropertyTypeId::generateId: property already initialized:  
> 7RObject : "" : "Invisible"
> Segmentation fault 
>
> Unfortunately it does not leave a core file (ulimit -c is "unlimited"):
>
> I installed gdb to see if that would provide any info (of course without
> symbols it may not be as helpful):
>
> (gdb) run
> Starting program: /usr/local/bin/qcad 
> QCAD version  3.24.3
> Warning:  RPropertyTypeId::generateId: property already initialized:  
> 7RObject : "" : "Invisible"
> [New thread 291749]
> [New thread 341567]
>
> Thread 1 received signal SIGSEGV, Segmentation fault.
> 0x000000e806e924e0 in QScriptEnginePrivate::mark(QTJSC::MarkStack&) () from 
> /usr/local/lib/qt5/libQt5Script.so.3.0
> (gdb) bt
> #0  0x000000e806e924e0 in QScriptEnginePrivate::mark(QTJSC::MarkStack&) () 
> from /usr/local/lib/qt5/libQt5Script.so.3.0
> #1  0x000000e806e0db6c in QTJSC::Heap::markRoots() () from 
> /usr/local/lib/qt5/libQt5Script.so.3.0
> #2  0x000000e806e0c905 in QTJSC::Heap::allocate(unsigned long) () from 
> /usr/local/lib/qt5/libQt5Script.so.3.0
> #3  0x000000e806e9b4ee in QScriptEnginePrivate::newVariant(QVariant const&) 
> () from /usr/local/lib/qt5/libQt5Script.so.3.0
> #4  0x000000e806e9cb71 in QScriptEngine::newVariant(QVariant const&) () from 
> /usr/local/lib/qt5/libQt5Script.so.3.0
> #5  0x000000e7e648c3b1 in qtscript_create_Qt_class(QScriptEngine*) () from 
> /usr/local/share/qcad/plugins/script/libqtscript_core.so.1.0
> #6  0x000000e7e65315f9 in 
> qtscript_initialize_com_trolltech_qt_core_bindings(QScriptValue&) () from 
> /usr/local/share/qcad/plugins/script/libqtscript_core.so.1.0
> #7  0x000000e7e6390b43 in non-virtual thunk to 
> com_trolltech_qt_core_ScriptPlugin::initialize(QString const&, 
> QScriptEngine*) () from 
> /usr/local/share/qcad/plugins/script/libqtscript_core.so.1.0
> #8  0x000000e806ea3719 in QScriptEngine::importExtension(QString const&) () 
> from /usr/local/lib/qt5/libQt5Script.so.3.0
> #9  0x000000e7881d2eb0 in RScriptHandlerEcma::RScriptHandlerEcma() () from 
> /usr/local/lib/libqcadecmaapi.so.1.0
> #10 0x000000e7881dee8b in RScriptHandlerEcma::factory() () from 
> /usr/local/lib/libqcadecmaapi.so.1.0
> #11 0x000000e7defcb0cd in RScriptHandlerRegistry::createScriptHandler(QString 
> const&) () from /usr/local/lib/libqcadcore.so.1.0
> #12 0x000000e7defcb1fe in 
> RScriptHandlerRegistry::getGlobalScriptHandler(QString const&) () from 
> /usr/local/lib/libqcadcore.so.1.0
> #13 0x000000e57ffd0393 in ?? ()
> #14 0x000000e57ffcf6a2 in ?? ()
> #15 0x0000000000000000 in ?? ()
> (gdb) 
> (gdb) quit
> A debugging session is active.
>
>         Inferior 1 [process 56629] will be killed.
>
> Quit anyway? (y or n) n
> Not confirmed.
> (gdb) next
> Single stepping until exit from function 
> _ZN20QScriptEnginePrivate4markERN5QTJSC9MarkStackE,
> which has no line number information.
>
> Program terminated with signal SIGSEGV, Segmentation fault.
> The program no longer exists.
> (gdb) quit
>
>
> I tried to build the port by altering the Makefile by adding:
>
> DEBUG_PACKAGES =      ${BUILD_PACKAGES}
>
> But it failed to build the package:
>
>> Extracting debug info from 
>> /usr/ports/pobj/qcad-3.24.3.0/fake-amd64/usr/local/share/qcad/plugins/imageformats/libqgif.so
> Warning: no debug-info in 
> /usr/ports/pobj/qcad-3.24.3.0/fake-amd64/usr/local/share/qcad/plugins/imageformats/libqgif.so
> dwz: 
> /usr/ports/pobj/qcad-3.24.3.0/fake-amd64/usr/local/share/qcad/plugins/imageformats/.debug/libqgif.so.dbg:
>  .debug_info section not present
> objcopy: 
> /usr/ports/pobj/qcad-3.24.3.0/fake-amd64/usr/local/share/qcad/plugins/imageformats/.debug/libqgif.so.dbg:
>  Invalid operation
> *** Error 1 in /usr/ports/pobj/qcad-3.24.3.0/fake-amd64 
> (debug-pkg/Makefile:74 
> '/usr/ports/pobj/qcad-3.24.3.0/fake-amd64/usr/local/share/qcad/plugins/imageformats/.debug/libqgif.so.dbg')
> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3070 
> '_copy-debug-info': @cd /usr/ports/pobj/qcad-3.24.3.0/fake-amd64 &&  exec 
> /u...)
> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2142 
> '/usr/ports/packages/amd64/all/qcad-3.24.3.0p2.tgz': @cd 
> /usr/ports/cad/qcad...)
> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2628 
> '_internal-package': @case X${_DEPENDS_CACHE} in  X) _DEPENDS_CACHE=$( 
> mktem...)
> *** Error 2 in /usr/ports/cad/qcad 
> (/usr/ports/infrastructure/mk/bsd.port.mk:2607 'package': 
> @lock=qcad-3.24.3.0p2;  export _LOCKS_HELD=" qc...)

Seems that's failing because it does not actually build these files
itself, rather copies them from /usr/local/lib/qt5/plugins/imageformats/
in qtbase, which do not have debug symbols, so the ports scaffolding
fails when it tries to create a file with detached symbols for the
debug-package.

> So I'm not sure  how to get debug info. There is  also a warning emitted
> that matches one mentioned in bsd.port.mk(5).

It should work with "make clean; make DEBUG=-g repackage" (see
https://www.openbsd.org/faq/ports/ports.html#Backtrace) -
this doesn't use the DEBUG_PACKAGES mechanism to produce
detached debug symbols, and so shouldn't fail in the same way.

> I also ran with ktrace and last few lines from kdump are:
>
>   1224 qcad     NAMI  "/usr/local/share/qcad/plugins/script"
>   1224 qcad     STRU  struct stat { dev=1030, ino=2074515, mode=drwxr-xr-x , 
> nlink=2, uid=0<"root">, gid=0<"wheel">, rdev=8307245, atime=1660173220<"Aug 
> 10 17:13:40 2022">.010414261, mtime=1659727243<"Aug  5 13:20:43 
> 2022">.312048317, ctime=1659727243<"Aug  5 13:20:43 2022">.312048317, 
> size=512, blocks=4, blksize=16384, flags=0x0, gen=0x0 }
>   1224 qcad     RET   stat 0
>   1224 qcad     CALL  stat(0x9e26e540598,0x7f7ffffdd350)
>   1224 qcad     NAMI  "/usr/local/share/qcad/plugins/script/qt"
>   1224 qcad     RET   stat -1 errno 2 No such file or directory
>   1224 qcad     CALL  kbind(0x7f7ffffdd578,24,0x8402fe15d75860)
>   1224 qcad     RET   kbind 0
>   1224 qcad     CALL  kbind(0x7f7ffffdd578,24,0x8402fe15d75860)
>   1224 qcad     RET   kbind 0
>   1224 qcad     CALL  kbind(0x7f7ffffdd518,24,0x8402fe15d75860)
>   1224 qcad     RET   kbind 0
>   1224 qcad     CALL  kbind(0x7f7ffffdd518,24,0x8402fe15d75860)
>   1224 qcad     RET   kbind 0
>   1224 qcad     CALL  kbind(0x7f7ffffdd518,24,0x8402fe15d75860)
>   1224 qcad     RET   kbind 0
>   1224 qcad     CALL  kbind(0x7f7ffffdd488,24,0x8402fe15d75860)
>   1224 qcad     RET   kbind 0
>   1224 qcad     CALL  kbind(0x7f7ffffdd458,24,0x8402fe15d75860)
> ...
>   1224 qcad     RET   kbind 0
>   1224 qcad     CALL  kbind(0x7f7ffffdd488,24,0x8402fe15d75860)
>   1224 qcad     RET   kbind 0
>   1224 qcad     CALL  kbind(0x7f7ffffdd488,24,0x8402fe15d75860)
>   1224 qcad     RET   kbind 0
>   1224 qcad     CALL  kbind(0x7f7ffffdd2e8,24,0x8402fe15d75860)
>   1224 qcad     RET   kbind 0
>   1224 qcad     CALL  sigprocmask(SIG_BLOCK,0<>)
>   1224 qcad     RET   sigprocmask 0<>
>   1224 qcad     CALL  kbind(0x7f7ffffdd2a8,24,0x8402fe15d75860)
>   1224 qcad     RET   kbind 0
>   1224 qcad     CALL  kbind(0x7f7ffffdd268,24,0x8402fe15d75860)
>   1224 qcad     RET   kbind 0
>   1224 qcad     CALL  getrlimit(RLIMIT_STACK,0x9e2791cde70)
>   1224 qcad     STRU  struct rlimit { cur=4194304, max=33554432 }
>   1224 qcad     RET   getrlimit 0
>   1224 qcad     CALL  kbind(0x7f7ffffdd268,24,0x8402fe15d75860)
>   1224 qcad     RET   kbind 0
>   1224 qcad     CALL  
> sysctl(2.3<vm.psstrings>,0x9e2791cde68,0x7f7ffffdd340,0,0)
>   1224 qcad     RET   sysctl 0
>   1224 qcad     PSIG  SIGSEGV SIG_DFL code SEGV_MAPERR<1> 
> addr=0xffffffffffffffc9 trapno=6
>   1224 qcad     NAMI  "qcad.core"
>   1224 qcad     STRU  struct kevent
>   1224 qcad     STRU  struct pollfd { fd=3, events=0x1<POLLIN>, revents=0<> }
>
> Does this help point to any obvious problem?

The backtrace is probably slightly more useful than the ktrace.

> I checked the CVS  history for qcad and it doesn't  seem like there were
> any changes  to the  port that  would be significant  enough to  cause a
> segfault.

Qt was updated though (and of course there have been many other
changes in the OS and toolchain).

> What can I do to help figure out what's wrong?

I have one possible idea which I am trying now (it will be some time
before my build finishes to test it).

Failing that: qcad is already several revisions out of date in ports,
trying to update the port to build the most recent release is probably
the best starting point. It may fix the problem anyway, and if not,
it's a better base from which to work on tracking it down (maybe
with help from upstream if available).


>
> Here is dmesg info:
>
> OpenBSD 7.1 (GENERIC.MP) #3: Sun May 15 10:27:01 MDT 2022
>     
> r...@syspatch-71-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 16030953472 (15288MB)
> avail mem = 15527796736 (14808MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xebfd0 (46 entries)
> bios0: vendor AMI version "A0.03" date 07/13/2015
> bios0: HP 550-127c
> acpi0 at bios0: ACPI 5.0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC FPDT FIDT MCFG MSDM HPET UEFI SSDT SSDT CRAT 
> DBGP SSDT SSDT
> acpi0: wakeup devices SBAZ(S4) ECIR(S4) P0PC(S4) PE23(S4) PB34(S4) RTL0(S4) 
> PB7_(S4) RTL0(S4) PB2_(S4) PE20(S4) PE21(S4) PE22(S4) PB21(S4) OHC1(S3) 
> EHC1(S3) OHC2(S3) [...]
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 16 (boot processor)
> cpu0: AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G, 3496.06 MHz, 15-30-01
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,DBKP,PERFTSC,ITSC,FSGSBASE,BMI1,XSAVEOPT
> cpu0: 96KB 64b/line 3-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 
> 16-way L2 cache
> cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
> cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, IBE
> cpu1 at mainbus0: apid 17 (application processor)
> cpu1: AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G, 3493.49 MHz, 15-30-01
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,DBKP,PERFTSC,ITSC,FSGSBASE,BMI1,XSAVEOPT
> cpu1: 96KB 64b/line 3-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 
> 16-way L2 cache
> cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
> cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu1: smt 1, core 0, package 0
> cpu2 at mainbus0: apid 18 (application processor)
> cpu2: AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G, 3493.51 MHz, 15-30-01
> cpu2: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,DBKP,PERFTSC,ITSC,FSGSBASE,BMI1,XSAVEOPT
> cpu2: 96KB 64b/line 3-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 
> 16-way L2 cache
> cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
> cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu2: disabling user TSC (skew=204)
> cpu2: smt 0, core 1, package 0
> cpu3 at mainbus0: apid 19 (application processor)
> cpu3: AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G, 3493.49 MHz, 15-30-01
> cpu3: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,DBKP,PERFTSC,ITSC,FSGSBASE,BMI1,XSAVEOPT
> cpu3: 96KB 64b/line 3-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 
> 16-way L2 cache
> cpu3: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
> cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu3: smt 1, core 1, package 0
> ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 21, 24 pins
> ioapic1 at mainbus0: apid 1 pa 0xfec01000, version 21, 32 pins
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xe0000000, bus 0-255
> acpihpet0 at acpi0: 14318180 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PB22)
> acpiprt2 at acpi0: bus -1 (PB31)
> acpiprt3 at acpi0: bus -1 (PB32)
> acpiprt4 at acpi0: bus -1 (PB33)
> acpiprt5 at acpi0: bus -1 (PE23)
> acpiprt6 at acpi0: bus 1 (PB34)
> acpiprt7 at acpi0: bus -1 (PB7_)
> acpiprt8 at acpi0: bus -1 (PE20)
> acpiprt9 at acpi0: bus -1 (PE21)
> acpiprt10 at acpi0: bus -1 (PE22)
> acpiprt11 at acpi0: bus -1 (PB21)
> acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
> acpicmos0 at acpi0
> "AMDC003" at acpi0 not configured
> acpibtn0 at acpi0: PWRB
> "PNP0C14" at acpi0 not configured
> acpicpu0 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpicpu1 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpicpu2 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpicpu3 at acpi0: C2(0@400 io@0x1771), C1(@1 halt!), PSS
> acpivideo0 at acpi0: VGA_
> acpivideo1 at acpi0: VGA_
> acpivideo2 at acpi0: VGA_
> acpivideo3 at acpi0: VGA_
> cpu0: 3496 MHz: speeds: 3500 3000 2500 1900 1400 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "AMD 15h Root Complex" rev 0x00
> radeondrm0 at pci0 dev 1 function 0 "ATI Kaveri Radeon R7" rev 0x00
> drm0 at radeondrm0
> radeondrm0: msi
> azalia0 at pci0 dev 1 function 1 "ATI Kaveri HD Audio" rev 0x00: msi
> azalia0: no supported codecs
> pchb1 at pci0 dev 2 function 0 "AMD 15h PCIE" rev 0x00
> pchb2 at pci0 dev 3 function 0 "AMD 15h PCIE" rev 0x00
> ppb0 at pci0 dev 3 function 4 "AMD 15h PCIE" rev 0x00: msi
> pci1 at ppb0 bus 1
> re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x0c: RTL8168G/8111G 
> (0x4c00), msi, address 34:64:a9:24:38:85
> rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
> pchb3 at pci0 dev 4 function 0 "AMD 15h PCIE" rev 0x00
> xhci0 at pci0 dev 16 function 0 "AMD Bolton xHCI" rev 0x09: msi, xHCI 1.0
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 
> addr 1
> xhci1 at pci0 dev 16 function 1 "AMD Bolton xHCI" rev 0x09: msi, xHCI 1.0
> usb1 at xhci1: USB revision 3.0
> uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 
> addr 1
> ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: msi, AHCI 1.3
> ahci0: port 0: 6.0Gb/s
> ahci0: port 1: 6.0Gb/s
> ahci0: port 2: 1.5Gb/s
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, KINGSTON SQ500S3, S350> 
> naa.50026b778405a142
> sd0: 228936MB, 512 bytes/sector, 468862128 sectors, thin
> sd1 at scsibus1 targ 1 lun 0: <ATA, ST1000DM003-1SB1, CC43> 
> naa.5000c500925a66c1
> sd1: 953869MB, 512 bytes/sector, 1953525168 sectors
> cd0 at scsibus1 targ 2 lun 0: <hp, DVDRAM GUB0N, SA02> removable
> ohci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB" rev 0x11: apic 0 int 18, 
> version 1.0, legacy support
> ehci0 at pci0 dev 18 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 0 int 17
> usb2 at ehci0: USB revision 2.0
> uhub2 at usb2 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 
> addr 1
> ohci1 at pci0 dev 19 function 0 "AMD Hudson-2 USB" rev 0x11: apic 0 int 18, 
> version 1.0, legacy support
> ehci1 at pci0 dev 19 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 0 int 17
> usb3 at ehci1: USB revision 2.0
> uhub3 at usb3 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 
> addr 1
> piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x16: SMI
> iic0 at piixpm0
> spdmem0 at iic0 addr 0x52: 8GB DDR3 SDRAM PC3-12800
> spdmem1 at iic0 addr 0x53: 8GB DDR3 SDRAM PC3-12800
> azalia1 at pci0 dev 20 function 2 "AMD Hudson-2 HD Audio" rev 0x01: apic 0 
> int 16
> azalia1: codecs: Realtek ALC662
> audio0 at azalia1
> pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11
> ppb1 at pci0 dev 20 function 4 "AMD Hudson-2 PCI" rev 0x40
> pci2 at ppb1 bus 2
> ohci2 at pci0 dev 20 function 5 "AMD Hudson-2 USB" rev 0x11: apic 0 int 18, 
> version 1.0, legacy support
> pchb4 at pci0 dev 24 function 0 "AMD 15h Link Cfg" rev 0x00
> pchb5 at pci0 dev 24 function 1 "AMD 15h Address Map" rev 0x00
> pchb6 at pci0 dev 24 function 2 "AMD 15h DRAM Cfg" rev 0x00
> pchb7 at pci0 dev 24 function 3 "AMD 15h Misc Cfg" rev 0x00
> pchb8 at pci0 dev 24 function 4 "AMD 15h CPU Power" rev 0x00
> pchb9 at pci0 dev 24 function 5 "AMD 15h Misc Cfg" rev 0x00
> usb4 at ohci0: USB revision 1.0
> uhub4 at usb4 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 
> addr 1
> usb5 at ohci1: USB revision 1.0
> uhub5 at usb5 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 
> addr 1
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> usb6 at ohci2: USB revision 1.0
> uhub6 at usb6 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 
> addr 1
> uhidev0 at uhub0 port 3 configuration 1 interface 0 "Holtek USB-HID Keyboard" 
> rev 2.00/1.06 addr 2
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 variable keys, 6 key codes
> wskbd0 at ukbd0: console keyboard
> uhidev1 at uhub0 port 3 configuration 1 interface 1 "Holtek USB-HID Keyboard" 
> rev 2.00/1.06 addr 2
> uhidev1: iclass 3/0
> uhid0 at uhidev1: input=64, output=64, feature=0
> uhidev2 at uhub0 port 3 configuration 1 interface 2 "Holtek USB-HID Keyboard" 
> rev 2.00/1.06 addr 2
> uhidev2: iclass 3/0, 4 report ids
> uhid1 at uhidev2 reportid 1: input=1, output=0, feature=0
> ucc0 at uhidev2 reportid 2: 18 usages, 13 keys, enum
> wskbd1 at ucc0 mux 1
> ums0 at uhidev2 reportid 3: 8 buttons, Z and W dir
> wsmouse0 at ums0 mux 0
> ukbd1 at uhidev2 reportid 4: no usable key codes array
> uhidev3 at uhub0 port 4 configuration 1 interface 0 "Acrox AmazonBasics 
> gaming mouse" rev 2.00/2.15 addr 3
> uhidev3: iclass 3/1
> ums1 at uhidev3: 5 buttons, Z and W dir
> wsmouse1 at ums1 mux 0
> uhidev4 at uhub0 port 4 configuration 1 interface 1 "Acrox AmazonBasics 
> gaming mouse" rev 2.00/2.15 addr 3
> uhidev4: iclass 3/1, 32 report ids
> ukbd2 at uhidev4 reportid 1: 8 variable keys, 6 key codes
> wskbd2 at ukbd2 mux 1
> ucc1 at uhidev4 reportid 2: 897 usages, 18 keys, array
> wskbd3 at ucc1 mux 1
> uhid2 at uhidev4 reportid 4: input=63, output=63, feature=0
> uhid3 at uhidev4 reportid 32: input=0, output=0, feature=50
> ugen0 at uhub2 port 1 "Amazon Kindle" rev 2.00/2.16 addr 2
> umass0 at uhub2 port 3 configuration 1 interface 0 "Generic USB2.0-CRW" rev 
> 2.00/57.13 addr 3
> umass0: using SCSI over Bulk-Only
> scsibus2 at umass0: 2 targets, initiator 0
> sd2 at scsibus2 targ 1 lun 0: <Generic-, SD/MMC/MS PRO, 1.00> removable 
> serial.0bda0153926571200000
> vscsi0 at root
> scsibus3 at vscsi0: 256 targets
> softraid0 at root
> scsibus4 at softraid0: 256 targets
> root on sd0a (2efaa3fa93ca6a53.a) swap on sd0b dump on sd0b
> radeondrm0: KAVERI
> ### AML PARSE ERROR (0xf98): Undefined name: \\_SB_.ALIB
> error evaluating: \\_SB_.PCI0.VGA_.ATCS
> radeondrm0: 1920x1200, 32bpp
> wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
> wskbd1: connecting to wsdisplay0
> wskbd2: connecting to wsdisplay0
> wskbd3: connecting to wsdisplay0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
>
> Thanks,
>
> Andy
>
>


-- 
Please keep replies on the mailing list.

Reply via email to