[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-bugs
Subject:    Re: Panic kernel after "startx"
From:       <paul () irofti ! net>
Date:       2017-04-30 10:32:35
Message-ID: 201704301032.v3UAWYS5024925 () irofti ! net
[Download RAW message or body]

Hi,

It is not the battery. Pretty sure acpivideo(4) runs into AML code that chokes our \
parser. So it is either a BIOS or an ACPI bug. I'll look into it soon, thanks for the \
dump.

Paul

De la: Rafeiro, Humberto
Trimis: sâmbătă, 29 aprilie 2017 06:22
Cc: bugs@openbsd.org
Subiect: Re: Panic kernel after "startx"

Attached I'm sending the ACPIDUMP files. Hope that it will help.

By the way, I found out that the laptop doesn't have battery, I hope that
this is not the case of the kernel panic.

best regards



Humberto Rafeiro   Associate Professor
Pontificia Universidad Javeriana
s: hrafeiro.github.io e: hrafeiro@gmail.com



On Thu, Apr 27, 2017 at 1:39 PM, <paul@irofti.net> wrote:

> Interesting. Can you please send the acpidump? Use sendbug if in doubt.
> 
> 
> 
> *De la: *Rafeiro, Humberto <hrafeiro@gmail.com>
> *Trimis: *joi, 27 aprilie 2017 20:15
> *Către: *bugs@openbsd.org
> *Subiect: *Panic kernel after "startx"
> 
> 
> 
> I've been interested in OpenBSD for some time (in a near future I want to
> 
> use OpenBSD almost exclusively).
> 
> 
> 
> Since I've an old laptop (ASUS K50IJ) I decided to finally try OpenBSD.
> 
> Before installation I read the appropriate parts in the book of Michael
> 
> Lucas, *Absolute OpenBSD: Unix for the practical paranoid*.
> 
> 
> 
> After several installations I manage to install correctly OpenBSD 6.1. In
> 
> terminal everything is OK, e.g. *pkg_add* works flawlessly. The problem is
> 
> when *startx* there is immediately a kernel panic
> 
> or if it enters in *fvwn* when I *Ctrl+Alt+Backspace*  I get a kernel
> 
> panic. I tried several things, e.g. installed *xfce* and the same problem.
> 
> I tried to use *cwm* (as stated in the book of Lucas) and was not able to
> 
> get it working.
> 
> 
> 
> Attached I'm sending the appropriate files
> 
> 
> 
> 
> 
> DMESG
> 
> 
> 
> 
> 
> 73896   51737      1      0  3    0x100080  poll          ntpd
> 
> 74914   72586  64861     74  2    0x100490                pflogd
> 
> 64861  175966      1      0  3        0x80  netio         pflogd
> 
> 65384  334212   4553     73  2    0x100090                syslogd
> 
> 4553  457397      1      0  3    0x100082  netio         syslogd
> 
> 81460  472523      1     77  7    0x100010                dhclient
> 
> 41808  369124      1      0  3        0x80  poll          dhclient
> 
> 21385  249501      0      0  3     0x14200  pgzero        zerothread
> 
> 37356   56033      0      0  3     0x14200  aiodoned      aiodoned
> 
> 86331  221089      0      0  2     0x14200                update
> 
> 69895  271114      0      0  3     0x14200  cleaner       cleaner
> 
> 49215  254348      0      0  3     0x14200  reaper        reaper
> 
> 630  281654      0      0  3     0x14200  pgdaemon      pagedaemon
> 
> 43810  387341      0      0  3     0x14200  bored         crynlk
> 
> 48572  267059      0      0  3     0x14200  bored         crypto
> 
> 36301  369870      0      0  2     0x14600                pfpurge
> 
> 92690  365748      0      0  3     0x14200  usbtsk        usbtask
> 
> 10999   46299      0      0  3     0x14200  usbatsk       usbatsk
> 
> 23313   67691      0      0  3     0x14200  bored         i915
> 
> 24259  373213      0      0  3     0x14200  bored         sensors
> 
> 8666  497888      0      0  3  0x40014200  acpi0         acpi0
> 
> 65224  283871      0      0  3  0x40014200                idle1
> 
> 73997   83734      0      0  3     0x14200  bored         softnet
> 
> 79027  395392      0      0  2     0x14200                systqmp
> 
> 92034   13077      0      0  2     0x14200                systq
> 
> 30106  462142      0      0  2  0x40014200                softclock
> 
> 69756  515664      0      0  3  0x40014200                idle0
> 
> 45248  124625      0      0  3     0x14200  bored         sbar
> 
> 50876  174360      0      0  3     0x14200  kmalloc       kmthread
> 
> 1  296572      0      0  3        0x82  wait          init
> 
> 0       0     -1      0  3     0x10200  scheduler     swapper
> 
> ddb{0}>    PID     TID   PPID    UID  S       FLAGS  WAIT
> 
> COMMAND
> 
> *80056   81645  62926   1000  7        0x32                Xorg
> 
> 62926  123733  58439   1000  2       0x483                xinit
> 
> 58439  520556   9726   1000  3    0x10008b  pause         sh
> 
> 71392  339035      1      0  3    0x100083  ttyin         getty
> 
> 43345  384252      1      0  3    0x100083  ttyin         getty
> 
> 52001  141379      1      0  3    0x100083  ttyin         getty
> 
> 13800   96340      1      0  3    0x100083  ttyin         getty
> 
> 9726  205827      1   1000  3    0x10008b  pause         ksh
> 
> 18643  382201      1      0  3    0x100098  poll          cron
> 
> 79759  310901      1     99  3    0x100090  poll          sndiod
> 
> 55037  404426      1    110  3    0x100090  poll          sndiod
> 
> 63079  419025  23808     95  3    0x100092  kqread        smtpd
> 
> 29042  365202  23808    103  3    0x100092  kqread        smtpd
> 
> 61133  429151  23808     95  3    0x100092  kqread        smtpd
> 
> 82672  367916  23808     95  3    0x100092  kqread        smtpd
> 
> 39534  335364  23808     95  3    0x100092  kqread        smtpd
> 
> 69306  295690  23808     95  3    0x100092  kqread        smtpd
> 
> 23808  219559      1      0  3    0x100080  kqread        smtpd
> 
> 94892  223351      1      0  3        0x80  select        sshd
> 
> 70018  294624  21111     83  3    0x100092  poll          ntpd
> 
> 21111  198656  73896     83  3    0x100092  poll          ntpd
> 
> 73896   51737      1      0  3    0x100080  poll          ntpd
> 
> 74914   72586  64861     74  2    0x100490                pflogd
> 
> 64861  175966      1      0  3        0x80  netio         pflogd
> 
> 65384  334212   4553     73  2    0x100090                syslogd
> 
> ddb{0}>    PID     TID   PPID    UID  S       FLAGS  WAIT
> 
> COMMAND
> 
> *80056   81645  62926   1000  7        0x32                Xorg
> 
> 62926  123733  58439   1000  2       0x483                xinit
> 
> 58439  520556   9726   1000  3    0x10008b  pause         sh
> 
> 71392  339035      1      0  3    0x100083  ttyin         getty
> 
> 43345  384252      1      0  3    0x100083  ttyin         getty
> 
> 52001  141379      1      0  3    0x100083  ttyin         getty
> 
> 13800   96340      1      0  3    0x100083  ttyin         getty
> 
> 9726  205827      1   1000  3    0x10008b  pause         ksh
> 
> 18643  382201      1      0  3    0x100098  poll          cron
> 
> 79759  310901      1     99  3    0x100090  poll          sndiod
> 
> 55037  404426      1    110  3    0x100090  poll          sndiod
> 
> 63079  419025  23808     95  3    0x100092  kqread        smtpd
> 
> 29042  365202  23808    103  3    0x100092  kqread        smtpd
> 
> 61133  429151  23808     95  3    0x100092  kqread        smtpd
> 
> 82672  367916  23808     95  3    0x100092  kqread        smtpd
> 
> 39534  335364  23808     95  3    0x100092  kqread        smtpd
> 
> 69306  295690  23808     95  3    0x100092  kqread        smtpd
> 
> 23808  219559      1      0  3    0x100080  kqread        smtpd
> 
> 94892  223351      1      0  3        0x80  select        sshd
> 
> 70018  294624  21111     83  3    0x100092  poll          ntpd
> 
> 21111  198656  73896     83  3    0x100092  poll          ntpd
> 
> ddb{0}> aml_die aml_parse:3752
> 
> ddb{0}>    PID     TID   PPID    UID  S       FLAGS  WAIT
> 
> COMMAND
> 
> *80056   81645  62926   1000  7        0x32                Xorg
> 
> 62926  123733  58439   1000  2       0x483                xinit
> 
> 58439  520556   9726   1000  3    0x10008b  pause         sh
> 
> 71392  339035      1      0  3    0x100083  ttyin         getty
> 
> 43345  384252      1      0  3    0x100083  ttyin         getty
> 
> 52001  141379      1      0  3    0x100083  ttyin         getty
> 
> 13800   96340      1      0  3    0x100083  ttyin         getty
> 
> 9726  205827      1   1000  3    0x10008b  pause         ksh
> 
> 18643  382201      1      0  3    0x100098  poll          cron
> 
> 79759  310901      1     99  3    0x100090  poll          sndiod
> 
> 55037  404426      1    110  3    0x100090  poll          sndiod
> 
> 63079  419025  23808     95  3    0x100092  kqread        smtpd
> 
> 29042  365202  23808    103  3    0x100092  kqread        smtpd
> 
> 61133  429151  23808     95  3    0x100092  kqread        smtpd
> 
> 82672  367916  23808     95  3    0x100092  kqread        smtpd
> 
> 39534  335364  23808     95  3    0x100092  kqread        smtpd
> 
> 69306  295690  23808     95  3    0x100092  kqread        smtpd
> 
> 23808  219559      1      0  3    0x100080  kqread        smtpd
> 
> 94892  223351      1      0  3        0x80  select        sshd
> 
> 70018  294624  21111     83  3    0x100092  poll          ntpd
> 
> 21111  198656  73896     83  3    0x100092  poll          ntpd
> 
> 73896   51737      1      0  3    0x100080  poll          ntpd
> 
> 74914   72586  64861     74  2    0x100490                pflogd
> 
> 64861  175966      1      0  3        0x80  netio         pflogd
> 
> 65384  334212   4553     73  2    0x100090                syslogd
> 
> 4553  457397      1      0  3    0x100082  netio         syslogd
> 
> 81460  472523      1     77  7    0x100010                dhclient
> 
> 41808  369124      1      0  3        0x80  poll          dhclient
> 
> 21385  249501      0      0  3     0x14200  pgzero        zerothread
> 
> 37356   56033      0      0  3     0x14200  aiodoned      aiodoned
> 
> 86331  221089      0      0  2     0x14200                update
> 
> 69895  271114      0      0  3     0x14200  cleaner       cleaner
> 
> 49215  254348      0      0  3     0x14200  reaper        reaper
> 
> 630  281654      0      0  3     0x14200  pgdaemon      pagedaemon
> 
> 43810  387341      0      0  3     0x14200  bored         crynlk
> 
> 48572  267059      0      0  3     0x14200  bored         crypto
> 
> 36301  369870      0      0  2     0x14600                pfpurge
> 
> 92690  365748      0      0  3     0x14200  usbtsk        usbtask
> 
> 10999   46299      0      0  3     0x14200  usbatsk       usbatsk
> 
> 23313   67691      0      0  3     0x14200  bored         i915
> 
> 24259  373213      0      0  3     0x14200  bored         sensors
> 
> 8666  497888      0      0  3  0x40014200  acpi0         acpi0
> 
> 65224  283871      0      0  3  0x40014200                idle1
> 
> 73997   83734      0      0  3     0x14200  bored         softnet
> 
> 79027  395392      0      0  2     0x14200                systqmp
> 
> 92034   13077      0      0  2     0x14200
> 
> OpenBSD 6.1 (GENERIC.MP) #291: Sat Apr  1 13:53:41 MDT 2017
> 
> deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> 
> cpu0: Pentium(R) Dual-Core CPU T4300 @ 2.10GHz ("GenuineIntel" 686-class)
> 2 GHz
> 
> cpu0: FPU,V86,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,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,
> CX16,xTPR,PDCM,XSAVE,LAHF,PERF,SENSOR
> 
> real mem  = 3184508928 <(318)%20450-8928> (3036MB)
> 
> avail mem = 3110735872 (2966MB)
> 
> mpath0 at root
> 
> scsibus0 at mpath0: 256 targets
> 
> mainbus0 at root
> 
> bios0 at mainbus0: date 09/09/09, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev.
> 
> 2.5 @ 0xfce90 (38 entries)
> 
> bios0: vendor American Megatrends Inc. version "213" date 09/09/2009
> 
> bios0: ASUSTeK Computer Inc. K50IJ
> 
> acpi0 at bios0: rev 2
> 
> acpi0: ATKG checksum error
> 
> acpi0: sleep states S0 S3 S4 S5
> 
> acpi0: tables DSDT FACP APIC MCFG SLIC ECDT DBGP BOOT OEMB HPET GSCI ATKG
> SSDT
> 
> acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB5(S3) EUSB(S3)
> 
> USB3(S3) USB4(S3) USB6(S3) USBE(S3) HDAC(S3) P0P1(S3) P0P3(S3)
> 
> P0P5(S3) P0P6(S3) P0P7(S4) GLAN(S4) [...]
> 
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> 
> 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 199MHz
> 
> cpu0: mwait min=64, max=64, C-substates=0.2.2.2, IBE
> 
> cpu1 at mainbus0: apid 1 (application processor)
> 
> cpu1: Pentium(R) Dual-Core CPU T4300 @ 2.10GHz ("GenuineIntel"
> 
> 686-class) 2.10 GHz
> 
> cpu1: FPU,V86,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,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,
> CX16,xTPR,PDCM,XSAVE,LAHF,PERF,SENSOR
> 
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> 
> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
> 
> acpiec0 at acpi0
> 
> acpihpet0 at acpi0: 14318179 Hz
> 
> acpiprt0 at acpi0: bus 0 (PCI0)
> 
> acpiprt1 at acpi0: bus 2 (P0P2)
> 
> acpiprt2 at acpi0: bus -1 (P0P3)
> 
> acpiprt3 at acpi0: bus 3 (P0P7)
> 
> acpicpu0 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10),
> 
> C1(1000@1 mwait.1), PSS
> 
> acpicpu1 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10),
> 
> C1(1000@1 mwait.1), PSS
> 
> acpitz0 at acpi0: critical temperature is 111 degC
> 
> "PNP0303" at acpi0 not configured
> 
> "ETD0001" at acpi0 not configured
> 
> acpiac0 at acpi0: AC unit online
> 
> acpibat0 at acpi0: BAT0 not present
> 
> "ATK0100" at acpi0 not configured
> 
> acpibtn0 at acpi0: SLPB
> 
> acpibtn1 at acpi0: LID_
> 
> acpivideo0 at acpi0: VGA_
> 
> acpivout0 at acpivideo0: LCDD
> 
> bios0: ROM list: 0xc0000/0xfe00!
> 
> cpu0: Enhanced SpeedStep 2095 MHz: speeds: 2100, 1600, 1200 MHz
> 
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> 
> pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x09
> 
> inteldrm0 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x09
> 
> drm0 at inteldrm0
> 
> intagp0 at inteldrm0
> 
> agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
> 
> inteldrm0: msi
> 
> inteldrm0: 1366x768, 32bpp
> 
> wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
> 
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> 
> "Intel GM45 Video" rev 0x09 at pci0 dev 2 function 1 not configured
> 
> uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2 int 16
> 
> uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2 int 21
> 
> uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2 int 19
> 
> ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2 int 18
> 
> 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
> 
> azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: msi
> 
> azalia0: codecs: VIA/0x0397
> 
> audio0 at azalia0
> 
> ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03
> 
> pci1 at ppb0 bus 1
> 
> ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03
> 
> pci2 at ppb1 bus 2
> 
> athn0 at pci2 dev 0 function 0 "Atheros AR9285" rev 0x01: apic 2 int 17
> 
> athn0: AR9285 rev 2 (1T1R), ROM rev 13, address 00:25:d3:c2:af:1c
> 
> ppb2 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x03: apic 2 int 17
> 
> pci3 at ppb2 bus 3
> 
> ale0 at pci3 dev 0 function 0 "Attansic Technology L1E" rev 0xb0:
> 
> AR8121, msi, address 90:e6:ba:aa:23:af
> 
> atphy0 at ale0 phy 0: F1 10/100/1000 PHY, rev. 9
> 
> uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 2 int 23
> 
> uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 2 int 19
> 
> uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 2 int 18
> 
> ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 2 int 23
> 
> usb1 at ehci1: USB revision 2.0
> 
> uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
> 
> 2.00/1.00 addr 1
> 
> ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
> 
> pci4 at ppb3 bus 4
> 
> pcib0 at pci0 dev 31 function 0 "Intel 82801IBM LPC" rev 0x03
> 
> ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: msi, AHCI 1.2
> 
> ahci0: port 0: 3.0Gb/s
> 
> ahci0: port 1: 1.5Gb/s
> 
> scsibus1 at ahci0: 32 targets
> 
> sd0 at scsibus1 targ 0 lun 0: <ATA, ST9320325AS, 0002> SCSI3 0/direct
> 
> fixed naa.5000c5001c2a508c
> 
> sd0: 305245MB, 512 bytes/sector, 625142448 sectors
> 
> cd0 at scsibus1 targ 1 lun 0: <MATSHITA, DVD-RAM UJ862AS, 1.12> ATAPI
> 
> 5/cdrom removable
> 
> usb2 at uhci0: USB revision 1.0
> 
> uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev
> 
> 1.00/1.00 addr 1
> 
> usb3 at uhci1: USB revision 1.0
> 
> uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev
> 
> 1.00/1.00 addr 1
> 
> usb4 at uhci2: USB revision 1.0
> 
> uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev
> 
> 1.00/1.00 addr 1
> 
> usb5 at uhci3: USB revision 1.0
> 
> uhub5 at usb5 configuration 1 interface 0 "Intel UHCI root hub" rev
> 
> 1.00/1.00 addr 1
> 
> usb6 at uhci4: USB revision 1.0
> 
> uhub6 at usb6 configuration 1 interface 0 "Intel UHCI root hub" rev
> 
> 1.00/1.00 addr 1
> 
> usb7 at uhci5: USB revision 1.0
> 
> uhub7 at usb7 configuration 1 interface 0 "Intel UHCI 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
> 
> pckbd0 at pckbc0 (kbd slot)
> 
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> 
> pms0 at pckbc0 (aux slot)
> 
> wsmouse0 at pms0 mux 0
> 
> pms0: Elantech Touchpad, version 2, firmware 0x40101
> 
> pcppi0 at isa0 port 0x61
> 
> spkr0 at pcppi0
> 
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> 
> uvideo0 at uhub0 port 3 configuration 1 interface 0 "Chicony
> 
> Electronics Co., Ltd. CNF7129" rev 2.00/15.15 addr 2
> 
> video0 at uvideo0
> 
> vscsi0 at root
> 
> scsibus2 at vscsi0: 256 targets
> 
> softraid0 at root
> 
> scsibus3 at softraid0: 256 targets
> 
> root on sd0a (3447b34fe0cc641f.a) swap on sd0b dump on sd0b
> 
> WARNING: / was not properly unmounted
> 
> umass0 at uhub1 port 4 configuration 1 interface 0 "vendor 0x13fe USB
> 
> DISK 2.0" rev 2.00/1.00 addr 2
> 
> umass0: using SCSI over Bulk-Only
> 
> scsibus4 at umass0: 2 targets, initiator 0
> 
> sd1 at scsibus4 targ 1 lun 0: <, USB DISK 2.0, PMAP> SCSI4 0/direct
> 
> removable serial.13fe4200486279C22099
> 
> sd1: 7386MB, 512 bytes/sector, 15128575 sectors
> 
> 
> 
> TRACE
> 
> 
> 
> [image: Inline image 1]
> 
> 
> 
> 
> 
> SHOW PANIC
> 
> 
> 
> [image: Inline image 2]
> 
> 
> 
> 
> 
> REGISTER
> 
> 
> 
> [image: Inline image 3]
> 
> 
> 
> 
> 
> PS
> 
> 
> 
> 
> 
> [image: Inline image 4]
> 
> 
> 
> 
> 
> [image: Inline image 5]
> 
> 
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic