Discussion:
thinkpad X60s inteldrm uvm fault
Stefan Sperling
2017-06-11 16:04:38 UTC
Permalink
On the Thinkpad X60s, the i386 snapshot from June 9 crashes
when glxgears is started. ddb captured via serial console:

uvm_fault(0xd0c17440, 0xd2be2000, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at i915_gem_pread_ioctl+0x38a: movl clean_idt+0x14(%edx),%e
ax
ddb{0}> trace
i915_gem_pread_ioctl(d5786000,f5c6ae74,d58fae00,f5c6ae74,d0c438a8) at i915_gem_
pread_ioctl+0x38a
drmioctl(15800,8020645c,f5c6ae74,7,d51bf014,3fb000,f5c6ad5c,d062ea52,d2be4fec,c
f800000,7f70d000,d06bc215) at drmioctl+0xa7
spec_ioctl(f5c6ad60,0,f5c6adec,d53e6588,8020645c) at spec_ioctl+0x9b
VOP_IOCTL(d53e6588,8020645c,f5c6ae74,7,d571dcc0) at VOP_IOCTL+0x4b
vn_ioctl(d510441c,8020645c,f5c6ae74,d51bf014,0) at vn_ioctl+0x7e
sys_ioctl(d51bf014,f5c6af54,f5c6af7c,0,f5c6afa8) at sys_ioctl+0x1b7
syscall() at syscall+0x250
--- syscall (number -813940760) ---
0x6:
ddb{0}> show reg
ds 0x10
es 0x10
fs 0x20 clean_idt
gs 0
edi 0
esi 0x1000 __ALIGN_SIZE
ebp 0xf5c6accc
ebx 0x1
edx 0xd2be2cb0 end+0x1ee6cb0
ecx 0xd58fdac0 end+0x4c01ac0
eax 0
eip 0xd046ff7a i915_gem_pread_ioctl+0x38a
cs 0x8
eflags 0x210246 __rodata_size+0xc77e
esp 0xf5c6ac34
ss 0x10
i915_gem_pread_ioctl+0x38a: movl clean_idt+0x14(%edx),%eax
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
69728 33243 19746 1000 3 0x3 biowait glxgears
19746 377224 51461 1000 3 0x10008b pause ksh
51461 485415 71974 1000 3 0x1000b2 select xterm
71974 417942 26296 1000 3 0x10008a pause sh
26296 393602 78752 1000 3 0x82 poll fvwm2
5951 6303 1 1000 3 0x1000b0 select ssh-agent
78752 135243 69230 1000 3 0x10008a pause sh
69230 232409 83421 0 3 0x100080 wait xenodm
77352 179472 56263 0 3 0x1000b0 netio Xorg
58860 325551 1 0 3 0x100083 ttyin getty
35901 6616 1 0 3 0x100083 ttyin getty
54141 231053 1 0 3 0x100083 ttyin getty
43566 423054 1 0 3 0x100083 ttyin getty
73962 475740 1 0 3 0x100083 ttyin getty
76318 87321 1 0 3 0x100083 ttyin getty
*56263 217187 83421 35 7 0x32 Xorg
83421 374979 1 0 3 0x88 pause xenodm
79078 2880 1 0 3 0x100098 poll cron
65917 330814 1 0 3 0x80 kqread apmd
32502 498153 1 572 3 0x90 poll dbus-daemon
91107 243127 1 99 3 0x100090 poll sndiod
42089 292993 1 110 3 0x100090 poll sndiod
46819 215306 51015 95 3 0x100092 kqread smtpd
56030 457486 51015 103 3 0x100092 kqread smtpd
38579 222615 51015 95 3 0x100092 kqread smtpd
28849 92512 51015 95 3 0x100092 kqread smtpd
33276 491022 51015 95 3 0x100092 kqread smtpd
48470 431199 51015 95 3 0x100092 kqread smtpd
51015 237527 1 0 3 0x100080 kqread smtpd
3590 248026 1 0 3 0xb0 select lpd
52296 201348 1 0 3 0x80 select sshd
18907 263603 0 0 3 0x14280 nfsidl nfsio
23400 157363 0 0 3 0x14280 nfsidl nfsio
52017 80811 0 0 3 0x14280 nfsidl nfsio
64265 490795 0 0 3 0x14280 nfsidl nfsio
96807 116644 1 0 3 0x100080 poll ntpd
52753 277429 21766 83 3 0x100092 poll ntpd
21766 244090 1 83 3 0x100092 poll ntpd
40653 442572 94372 74 2 0x100490 pflogd
94372 281381 1 0 3 0x80 netio pflogd
52703 339306 20439 73 2 0x100090 syslogd
20439 436157 1 0 3 0x100082 netio syslogd
30651 282877 1 77 3 0x100090 poll dhclient
58713 233562 1 0 3 0x80 poll dhclient
89578 207572 66702 115 3 0x100092 kqread slaacd
62917 342424 66702 115 3 0x100092 kqread slaacd
66702 291538 1 0 3 0x80 kqread slaacd
5548 252304 1 0 3 0x80 mfsidl mount_mfs
23621 124126 0 0 3 0x14200 pgzero zerothread
89609 23948 0 0 3 0x14200 aiodoned aiodoned
48312 459918 0 0 3 0x14200 syncer update
77418 243314 0 0 3 0x14200 cleaner cleaner
94308 387404 0 0 3 0x14200 reaper reaper
95524 160122 0 0 3 0x14200 pgdaemon pagedaemon
36388 132995 0 0 7 0x14200 srdis
38164 436484 0 0 3 0x14200 bored crynlk
36836 162130 0 0 3 0x14200 bored crypto
92569 305558 0 0 3 0x14200 pftm pfpurge
62006 450610 0 0 3 0x14200 mmctsk sdmmc0
93912 275112 0 0 3 0x14200 usbtsk usbtask
35374 513138 0 0 3 0x14200 usbatsk usbatsk
92402 497553 0 0 3 0x14200 bored i915-hangcheck
14193 275975 0 0 3 0x14200 bored i915-dp
20670 367410 0 0 3 0x14200 bored i915
38662 122314 0 0 3 0x14200 bored sensors
79845 446392 0 0 3 0x40014200 acpi0 acpi0
45968 434444 0 0 3 0x40014200 idle1
87245 379551 0 0 3 0x14200 bored softnet
94869 369620 0 0 3 0x14200 bored systqmp
51589 483872 0 0 3 0x14200 bored systq
93111 431533 0 0 3 0x40014200 bored softclock
95904 476768 0 0 3 0x40014200 idle0
56407 440677 0 0 3 0x14200 bored sbar
45521 244680 0 0 3 0x14200 kmalloc kmthread
1 343471 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> dmesg
OpenBSD 6.1-current (GENERIC.MP) #108: Fri Jun 9 20:46:40 MDT 2017
***@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU L2400 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF,S
ENSOR
real mem = 2137341952 (2038MB)
avail mem = 2083151872 (1986MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 03/31/08, BIOS32 rev. 0 @ 0xfd690, SMBIOS rev. 2.4 @ 0x
e0010 (67 entries)
bios0: vendor LENOVO version "7BETD5WW (2.16 )" date 03/31/2008
bios0: LENOVO 170255G
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4) EXP
3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
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: Genuine Intel(R) CPU L2400 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM,PERF,S
ENSOR
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf0000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: !C3(***@17 ***@0x1015), !C2(***@1 ***@0x1014), C1(***@1 halt)
, PSS
acpicpu1 at acpi0: !C3(***@17 ***@0x1015), !C2(***@1 ***@0x1014), C1(***@1 halt)
, PSS
acpipwrres0 at acpi0: PUBS, resource for USB0, USB2, USB7
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 97 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
"PNP0303" at acpi0 not configured
"IBM3780" at acpi0 not configured
"PNP0501" at acpi0 not configured
"PNP0400" at acpi0 not configured
"IBM0071" at acpi0 not configured
"ATM1200" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "93P5030" serial 1546 type LION oem "SONY"
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
"IBM0079" at acpi0 not configured
acpidock0 at acpi0: GDCK docked (15)
acpivideo0 at acpi0: VID_
acpivout0 at acpivideo0: LCD0
acpivideo1 at acpi0: VID_
bios0: ROM list: 0xc0000/0xea00! 0xcf000/0x1000 0xd0000/0x1000 0xdc000/0x4000! 0
xe0000/0x10000!
cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1667, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
inteldrm0 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0: apic 1 int 16
inteldrm0: 1024x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog Devices
AD1981HD
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 20
pci1 at ppb0 bus 2
em0 at pci1 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address 00:0a:e4:3e:
f1:4e
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 21
pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: msi, MoW2,
address 00:13:02:03:a5:e7
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 22
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 23
pci4 at ppb3 bus 12
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 16
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 17
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 19
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 19
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 a
ddr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci5 at ppb4 bus 21
cbb0 at pci5 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xb4: apic 1 int 16
"Ricoh 5C552 Firewire" rev 0x09 at pci5 dev 0 function 1 not configured
sdhc0 at pci5 dev 0 function 2 "Ricoh 5C822 SD/MMC" rev 0x18: apic 1 int 18
sdhc0: SDHC 1.0, 33 MHz base clock
sdmmc0 at sdhc0: 4-bit
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, channel 0 c
onfigured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <MATSHITA, DVD-RAM UJ-842, RB01> ATAPI 5/cdrom re
movable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801GBM AHCI" rev 0x02: msi, AHCI 1.1
ahci0: port 0: 1.5Gb/s
scsibus2 at ahci0: 32 targets
sd0 at scsibus2 targ 0 lun 0: <ATA, STT_FTM64G225H, 1819> SCSI3 0/direct fixed t
10.ATA_STT_FTM64G225H_P596723-TFBX-B119290
sd0: 61057MB, 512 bytes/sector, 125045424 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 1 int 23

iic0 at ichiic0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 a
ddr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 a
ddr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 a
ddr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 a
ddr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt2 at isa0 port 0x3bc/4: polled
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
vmm0 at mainbus0: VMX
umass0 at uhub0 port 2 configuration 1 interface 0 "vendor 0x048d product 0x117
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd1 at scsibus3 targ 1 lun 0: <, , 0.00> SCSI2 0/direct removable serial.048d11
72307030000657
sd1: 3854MB, 512 bytes/sector, 7892992 sectors
uhub5 at uhub0 port 6 configuration 1 interface 0 "Lenovo product 0x1000" rev 2
.00/0.01 addr 3
ugen0 at uhub4 port 1 "Broadcom Corp BCM2045B" rev 2.00/1.00 addr 2
ugen1 at uhub4 port 2 "STMicroelectronics Biometric Coprocessor" rev 1.00/0.01 a
ddr 3
vscsi0 at root
scsibus4 at vscsi0: 256 targets
softraid0 at root
scsibus5 at softraid0: 256 targets
sd2 at scsibus5 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed
sd2: 60989MB, 512 bytes/sector, 124905808 sectors
root on sd2a (6c72355cf4fd5d01.a) swap on sd2b dump on sd2b
uvm_fault(0xd0c17440, 0xd2be2000, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at i915_gem_pread_ioctl+0x38a: movl clean_idt+0x14(%edx),%e
ax

Loading...