tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kernel 8.2 and 9.1 crashes



I tried to recompile a kernel, with 8.2 and with 9.1 and both
crash, 9.1 with:

unable to execute instruction 0x18 (SMEP)

(from memory)

The kernel enters debugging but the keyboard being unusable (no key
does whatever) I have to hard reboot.

The last message (via dmesg) from 9.1 is:

[   1.7964198] ahcisata0 port 3: device present, speed: 6.0Gb/s

It works with 8.0.

Here is the dmesg from 8.0:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
    2018 The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 8.0 (CONFIG) #0: Thu Apr 16 18:47:07 CEST 2020
	tlaronde@cauchy.polynum.local:/usr/obj/polynum.NODECONF-cauchy.polynum.local_netbsd-8.0-amd64_netbsd-amd64/obj/sys/arch/amd64/compile/CONFIG
total memory = 8120 MB
avail memory = 7868 MB
cpu_rng: RDRAND
rnd: seeded with 128 bits
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
MSI MS-7823 (1.0)
mainbus0 (root)
ACPI: RSDP 0x00000000000F04A0 000024 (v02 ALASKA)
ACPI: XSDT 0x00000000DDF9A078 000074 (v01 ALASKA A M I    01072009 AMI  00010013)
ACPI: FACP 0x00000000DDFA7AC8 00010C (v05 ALASKA A M I    01072009 AMI  00010013)
ACPI: DSDT 0x00000000DDF9A188 00D940 (v02 ALASKA A M I    00000034 INTL 20120711)
ACPI: FACS 0x00000000DDFC7F80 000040
ACPI: APIC 0x00000000DDFA7BD8 000062 (v03 ALASKA A M I    01072009 AMI  00010013)
ACPI: FPDT 0x00000000DDFA7C40 000044 (v01 ALASKA A M I    01072009 AMI  00010013)
ACPI: SSDT 0x00000000DDFA7C88 000539 (v01 PmRef  Cpu0Ist  00003000 INTL 20120711)
ACPI: SSDT 0x00000000DDFA81C8 000AD8 (v01 PmRef  CpuPm    00003000 INTL 20120711)
ACPI: MCFG 0x00000000DDFA8CA0 00003C (v01 ALASKA A M I    01072009 MSFT 00000097)
ACPI: HPET 0x00000000DDFA8CE0 000038 (v01 ALASKA A M I    01072009 AMI. 00000005)
ACPI: SSDT 0x00000000DDFA8D18 00036D (v01 SataRe SataTabl 00001000 INTL 20120711)
ACPI: SSDT 0x00000000DDFA9088 0034E1 (v01 SaSsdt SaSsdt   00003000 INTL 20091112)
ACPI: ASF! 0x00000000DDFAC570 0000A5 (v32 INTEL   HCG     00000001 TFSM 000F4240)
ACPI: Executed 1 blocks of module-level executable AML code
ACPI: 5 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 8: pa 0xfec00000, version 0x20, 24 pins
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Pentium(R) CPU G3220 @ 3.00GHz, id 0x306c3
cpu0: package 0, core 0, smt 0
cpu1 at mainbus0 apid 2
cpu1: Intel(R) Pentium(R) CPU G3220 @ 3.00GHz, id 0x306c3
cpu1: package 0, core 1, smt 0
acpi0 at mainbus0: Intel ACPICA 20170303
acpi0: X/RSDT: OemId <ALASKA,   A M I,01072009>, AslId <AMI ,00010013>
acpi0: MCFG: segment 0, bus 0-63, address 0x00000000f8000000
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE821BD9E010 0003D3 (v01 PmRef  Cpu0Cst  00003001 INTL 20120711)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE810E813810 0005AA (v01 PmRef  ApIst    00003000 INTL 20120711)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE821BCFB1D0 000119 (v01 PmRef  ApCst    00003000 INTL 20120711)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
acpiec0 at acpi0 (H_EC, PNP0C09-1)acpiec0: unable to evaluate _GPE: AE_NOT_FOUND
TPMX (PNP0C01) at acpi0 not configured
FWHD (INT0800) at acpi0 not configured
LDRC (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
CWDT (INT3F0D) at acpi0 not configured
SIO1 (PNP0C02) at acpi0 not configured
com2 at acpi0 (UAR1, PNP0501-1): io 0x3f8-0x3ff irq 4
com2: ns16550a, working fifo
lpt2 at acpi0 (LPTE, PNP0400): io 0x378-0x37f irq 5
RMSC (PNP0C02) at acpi0 not configured
acpiwmi0 at acpi0 (WMI1, PNP0C14-MXM2): ACPI WMI Interface
acpiwmibus at acpiwmi0 not configured
PDRC (PNP0C02) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
acpiwmi1 at acpi0 (WMIO, PNP0C14-0): ACPI WMI Interface
acpiwmibus at acpiwmi1 not configured
PTMD (INT3394) at acpi0 not configured
acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
acpifan1 at acpi0 (FAN1, PNP0C0B-1): ACPI Fan
acpifan2 at acpi0 (FAN2, PNP0C0B-2): ACPI Fan
acpifan3 at acpi0 (FAN3, PNP0C0B-3): ACPI Fan
acpifan4 at acpi0 (FAN4, PNP0C0B-4): ACPI Fan
acpitz0 at acpi0 (TZ00)
acpitz0: active cooling level 0: 80.0C
acpitz0: active cooling level 1: 55.0C
acpitz0: active cooling level 2: 0.0C
acpitz0: active cooling level 3: 0.0C
acpitz0: active cooling level 4: 0.0C
acpitz0: levels: critical 105.0 C
acpitz1 at acpi0 (TZ01): cpu0 cpu1
acpitz1: levels: critical 105.0 C, passive 108.0 C, passive cooling
ACPI: Enabled 6 GPEs in block 00 to 3F
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: Intel Haswell Host Bridge, DRAM (rev. 0x06)
ppb0 at pci0 dev 1 function 0: Intel Haswell PCI-E x16 Controller (rev. 0x06)
ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x16 @ 8.0GT/s
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
radeon0 at pci1 dev 0 function 0: ATI Technologies Radeon HD 5450 (rev. 0x00)
hdaudio0 at pci1 dev 0 function 1: HD Audio Controller
hdaudio0: interrupting at msi0 vec 0
hdafg0 at hdaudio0: vendor 1002 product aa01
hdafg0: HDMI00 2ch: Digital Out [Jack]
hdafg0: 2ch/0ch 32000Hz 44100Hz 48000Hz PCM16 AC3
xhci0 at pci0 dev 20 function 0: Intel 8 Series USB xHCI (rev. 0x05)
xhci0: interrupting at msi1 vec 0
xhci0: xHCI version 1.0
usb0 at xhci0: USB revision 3.0
usb1 at xhci0: USB revision 2.0
Intel 8 Series MEI Controller (miscellaneous communications, revision 0x04) at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0: Intel 8 Series USB EHCI (rev. 0x05)
ehci0: interrupting at ioapic0 pin 16
ehci0: EHCI version 1.0
usb2 at ehci0: USB revision 2.0
hdaudio1 at pci0 dev 27 function 0: HD Audio Controller
hdaudio1: interrupting at msi2 vec 0
hdafg1 at hdaudio1: vendor 10ec product 0892
hdafg1: DAC00 8ch: Speaker [Jack]
hdafg1: DAC01 2ch: HP Out [Jack]
hdafg1: DIG02 2ch: SPDIF Out [Jack]
hdafg1: ADC03 2ch: Line In [Jack], Mic In [Jack]
hdafg1: ADC04 2ch: Mic In [Jack]
hdafg1: 8ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg1: full duplex, playback, capture, mmap, independent
hdafg1: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
hdafg1: Latency: 128 milliseconds
ppb1 at pci0 dev 28 function 0: Intel 8 Series PCIE (rev. 0xd5)
ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x4 @ 5.0GT/s
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 28 function 4: Intel 8 Series PCIE (rev. 0xd5)
ppb2: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 5.0GT/s
ppb2: link is x1 @ 2.5GT/s
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
re0 at pci3 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x0c)
re0: interrupting at msi3 vec 0
re0: Ethernet address 44:8a:5b:9b:9f:0f
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8251 1000BASE-T media interface, rev. 0
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
ppb3 at pci0 dev 28 function 5: Intel 8 Series PCIE (rev. 0xd5)
ppb3: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 5.0GT/s
ppb3: link is x1 @ 2.5GT/s
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
re1 at pci4 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x06)
re1: interrupting at msi4 vec 0
re1: Ethernet address e8:de:27:01:f4:55
re1: using 256 tx descriptors
rgephy1 at re1 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 4
rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb4 at pci0 dev 28 function 6: Intel 8 Series PCIE (rev. 0xd5)
ppb4: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 5.0GT/s
ppb4: link is x1 @ 2.5GT/s
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
pciide0 at pci5 dev 0 function 0: JMicron Technology JMB368 PATA Controller (rev. 0x00)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel wired to native-PCI mode
pciide0: using ioapic0 pin 18 for native-PCI interrupt
atabus0 at pciide0 channel 0
pciide0: secondary channel wired to native-PCI mode
atabus1 at pciide0 channel 1
ehci1 at pci0 dev 29 function 0: Intel 8 Series USB EHCI (rev. 0x05)
ehci1: interrupting at ioapic0 pin 23
ehci1: EHCI version 1.0
usb3 at ehci1: USB revision 2.0
pcib0 at pci0 dev 31 function 0: Intel B85 LPC (rev. 0x05)
ahcisata0 at pci0 dev 31 function 2: Intel 8 Series (desktop) SATA Controller (AHCI) (rev. 0x05)
ahcisata0: interrupting at ioapic0 pin 19
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.30, 6 ports, 32 slots, CAP 0xc330ff45<EMS,PSC,SSC,PMD,ISS=0x3=Gen3,SCLO,SAL,SNCQ,S64A>
atabus2 at ahcisata0 channel 0
atabus3 at ahcisata0 channel 1
atabus4 at ahcisata0 channel 2
atabus5 at ahcisata0 channel 3
atabus6 at ahcisata0 channel 4
atabus7 at ahcisata0 channel 5
Intel 8 Series SMBus Controller (SMBus serial bus, revision 0x05) at pci0 dev 31 function 3 not configured
isa0 at pcib0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer1: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
acpicpu0: C2: FFH, lat 117 us, pow   350 mW
acpicpu0: P0: FFH, lat  10 us, pow 53000 mW, 3000 MHz
acpicpu0: P1: FFH, lat  10 us, pow 50301 mW, 2900 MHz
acpicpu0: P2: FFH, lat  10 us, pow 46082 mW, 2700 MHz
acpicpu0: P3: FFH, lat  10 us, pow 43525 mW, 2600 MHz
acpicpu0: P4: FFH, lat  10 us, pow 39557 mW, 2400 MHz
acpicpu0: P5: FFH, lat  10 us, pow 37137 mW, 2300 MHz
acpicpu0: P6: FFH, lat  10 us, pow 33398 mW, 2100 MHz
acpicpu0: P7: FFH, lat  10 us, pow 31112 mW, 2000 MHz
acpicpu0: P8: FFH, lat  10 us, pow 27610 mW, 1800 MHz
acpicpu0: P9: FFH, lat  10 us, pow 25455 mW, 1700 MHz
acpicpu0: P10: FFH, lat  10 us, pow 22171 mW, 1500 MHz
acpicpu0: P11: FFH, lat  10 us, pow 20144 mW, 1400 MHz
acpicpu0: P12: FFH, lat  10 us, pow 17084 mW, 1200 MHz
acpicpu0: P13: FFH, lat  10 us, pow 15181 mW, 1100 MHz
acpicpu0: P14: FFH, lat  10 us, pow 12329 mW,  900 MHz
acpicpu0: P15: FFH, lat  10 us, pow 10550 mW,  800 MHz
coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=100
acpicpu1 at cpu1: ACPI CPU
coretemp1 at cpu1: thermal sensor, 1 C resolution, Tjmax=100
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 3000095400 Hz quality 3000
uhub0 at usb0: Intel (0x8086) xHCI Root Hub (0000), class 9/0, rev 1.00/1.00, addr 0
uhub0: 6 ports with 6 removable, self powered
uhub1 at usb1: Intel (0x8086) xHCI Root Hub (0000), class 9/0, rev 2.00/1.00, addr 0
uhub1: 12 ports with 12 removable, self powered
uhub2 at usb2: Intel (0x8086) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: Intel (0x8086) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ahcisata0 port 0: device present, speed: 1.5Gb/s
ahcisata0 port 1: device present, speed: 6.0Gb/s
ahcisata0 port 3: device present, speed: 6.0Gb/s
atapibus0 at atabus2: 1 targets
cd0 at atapibus0 drive 0: <ASUS     DRW-24F1ST   a, S10L68BF4001TQ, 1.00> cdrom removable
ugen0 at uhub1 port 1
ugen0: Canon (0x4a9) CanoScan (0x190e), rev 2.00/7.04, addr 1
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
wd0 at atabus3 drive 0
wd0: <WDC WD1003FZEX-00MK2A0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd1 at atabus5 drive 0
wd1: <WDC WD1003FZEX-00MK2A0>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(ahcisata0:3:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
uhub4 at uhub3 port 1: Intel (0x8087) product 8000 (0x8000), class 9/0, rev 2.00/0.05, addr 2
uhub4: single transaction translator
uhub5 at uhub2 port 1: Intel (0x8087) product 8008 (0x8008), class 9/0, rev 2.00/0.05, addr 2
uhub5: single transaction translator
uhub4: 6 ports with 6 removable, self powered
uhub5: 6 ports with 6 removable, self powered
uhidev0 at uhub1 port 3 configuration 1 interface 0
uhidev0: CM Storm (0x2516) Keyboard -- QuickFire XT (0x1a), rev 1.10/1.04, addr 2, iclass 3/1
ukbd0 at uhidev0: 8 Variable keys, 6 Array codes
wskbd0 at ukbd0: console keyboard
uhidev1 at uhub1 port 3 configuration 1 interface 1
uhidev1: CM Storm (0x2516) Keyboard -- QuickFire XT (0x1a), rev 1.10/1.04, addr 2, iclass 3/1
uhidev1: 2 report ids
uhid0 at uhidev1 reportid 1: input=6, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
uhidev2 at uhub1 port 4 configuration 1 interface 0
uhidev2: vendor 1bcf (0x1bcf) USB Optical Mouse (0x05), rev 2.00/0.14, addr 3, iclass 3/1
uhidev2: 1 report ids
ums0 at uhidev2 reportid 1: 5 buttons, W and Z dirs
wsmouse0 at ums0 mux 0
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture, mmap
pad0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 44100
pad0: Latency: 139 milliseconds
WARNING: 1 error while detecting hardware; check system log.
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
kern.module.path=/stand/amd64/8.0/modules
drm: initializing kernel modesetting (CEDAR 0x1002:0x68F9 0x174B:0xE164).
drm: register mmio base: 0xf7e20000
drm: register mmio size: 131072
drm kern info: ATOM BIOS: C09302
radeon0: info: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
radeon0: info: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
drm: Detected VRAM RAM=400M, BAR=256M
drm: RAM width 64bits DDR
Zone  kernel: Available graphics memory: 2604328 kiB
Zone   dma32: Available graphics memory: 2097152 kiB
drm: radeon: 1024M of VRAM memory ready
drm: radeon: 1024M of GTT memory ready.
drm: Loading CEDAR Microcode
drm: Internal thermal controller with fan control
drm: radeon: dpm initialized
drm: GART: num cpu pages 262144, num gpu pages 262144
drm: PCIE GART of 1024M enabled (table at 0x000000000025D000).
radeon0: info: WB enabled
radeon0: info: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0x0xffff8000ae6eec00
radeon0: info: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0x0xffff8000ae6eec0c
radeon0: info: fence driver on ring 5 use gpu addr 0x000000000005c418 and cpu addr 0x0xffff8000ae2ec418
drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
drm: Driver supports precise vblank timestamp query.
radeon0: interrupting at ioapic0 pin 16 (radeon)
drm: radeon: irq initialized.
drm: ring test on 0 succeeded in 1 usecs
drm: ring test on 3 succeeded in 1 usecs
drm: ring test on 5 succeeded in 1 usecs
drm: UVD initialized successfully.
drm: ib test on ring 0 succeeded in 0 usecs
drm: ib test on ring 3 succeeded in 0 usecs
drm: ib test on ring 5 succeeded
drm: Radeon Display Connectors
drm: Connector 0:
drm:   HDMI-A-1
drm:   HPD2
drm:   DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
drm:   Encoders:
drm:     DFP1: INTERNAL_UNIPHY1
drm: Connector 1:
drm:   DVI-I-1
drm:   HPD4
drm:   DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c
drm:   Encoders:
drm:     DFP2: INTERNAL_UNIPHY
drm:     CRT1: INTERNAL_KLDSCP_DAC1
drm: Connector 2:
drm:   VGA-1
drm:   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
drm:   Encoders:
drm:     CRT2: INTERNAL_KLDSCP_DAC2
radeondrmkmsfb0 at radeon0
radeon0: info: registered panic notifier
radeondrmkmsfb0: framebuffer at 0xffff8000ae910000, size 1600x900, depth 32, stride 6400
wsdisplay0 at radeondrmkmsfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 1 added (default, vt100 emulation)
wsdisplay0: screen 2 added (default, vt100 emulation)
wsdisplay0: screen 3 added (default, vt100 emulation)
wsdisplay0: screen 4 added (default, vt100 emulation)

What can I do to help to find the culprit?
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
                       http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index