NetBSD-Bugs archive

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

Re: port-i386/43331: X server locks up under -current on NEC Versa DayLite laptop



The following reply was made to PR port-i386/43331; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: coypu%sdf.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: port-i386/43331: X server locks up under -current on NEC Versa
 DayLite laptop
Date: Sat, 29 Dec 2018 18:01:54 +0200

 I added another debug printf:
 
 diff -u -r1.36 pckbc_acpi.c
 --- pckbc_acpi.c        28 Oct 2017 04:53:55 -0000      1.36
 +++ pckbc_acpi.c        29 Dec 2018 15:25:04 -0000
 @@ -245,6 +245,9 @@
          */
         for (i = 0; i < pckbc_cd.cd_ndevs; i++) {
                 psc = device_lookup_private(&pckbc_cd, i);
 +                printf("  i=%d psc=%p\n", i, psc);
 +               if (psc)
 +                       printf("    psc->sc_slot=%d slot=%d\n", psc->sc_slot, slot);
                 if (psc && psc->sc_slot == slot) {
                         irq = psc->sc_irq;
                         ist = psc->sc_ist;
 
 Full dmesg output with both this and the previous patch:
 
 [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 [   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
 [   1.0000000]     2018 The NetBSD Foundation, Inc.  All rights reserved.
 [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [   1.0000000]     The Regents of the University of California.  All rights reserved.
 
 [   1.0000000] NetBSD 8.99.29 (GUNNEL_TEST) #2: Sat Dec 29 17:25:16 EET 2018
 [   1.0000000] 	gson%guido.araneus.fi@localhost:/ssd/current/i386/obj/sys/arch/i386/compile/GUNNEL_TEST
 [   1.0000000] total memory = 175 MB
 [   1.0000000] avail memory = 151 MB
 [   1.0000000] timecounter: Timecounters tick every 10.000 msec
 [   1.0000000] Kernelized RAIDframe activated
 [   1.0000000] running cgd selftest aes-xts-256 aes-xts-512 done
 [   1.0000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 [   1.0000030] NEC                              VUS6BCE-00B-000 (                                )
 [   1.0000030] mainbus0 (root)
 [   1.0000030] ACPI: RSDP 0x00000000000F7330 000014 (v00 PTLTD )
 [   1.0000030] ACPI: RSDT 0x000000000AFFA5B9 000028 (v01 NEC    ND000034 06040005  LTP 00000000)
 [   1.0000030] ACPI: FACP 0x000000000AFFFB8C 000074 (v01 NEC    ND000034 06040005 PTL  000F4240)
 [   1.0000030] ACPI: DSDT 0x000000000AFFA5E1 0055AB (v01 NEC    ND000034 06040005 MSFT 0100000B)
 [   1.0000030] ACPI: FACS 0x000000000AFFFFC0 000040
 [   1.0000030] ACPI: 1 ACPI AML tables successfully acquired and loaded
 [   1.0000030] cpu0 at mainbus0
 [   1.0000030] cpu0: Transmeta(tm) Crusoe(tm) Processor TMTM5600, id 0x543
 [   1.0000030] cpu0: package 0, core 0, smt 0
 [   1.0000030] acpi0 at mainbus0: Intel ACPICA 20180810
 [   1.0000030] acpi0: X/RSDT: OemId <NEC   ,ND000034,06040005>, AslId < LTP,00000000>
 [   1.0000030] LNK1: ACPI: Found matching pin for 0.3.INTA at func 0: 255
 [   1.0000030] LNK2: ACPI: Found matching pin for 0.4.INTA at func 0: 11
 [   1.0000030] LNK3: ACPI: Found matching pin for 0.5.INTA at func 0: 10
 [   1.0000030] LNK1: ACPI: Found matching pin for 0.6.INTA at func 0: 9
 [   1.0000030] LNKU: ACPI: Found matching pin for 0.20.INTA at func 0: 5
 [   1.0000030] acpi0: SCI interrupting at int 9
 [   1.0000030] acpi0: fixed power button present
 [   1.0000030] timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
 [   1.0029623] attimer1 at acpi0 (TIME, PNP0100): io 0x40-0x43 irq 0
 [   1.0029623] MATH (PNP0C04) at acpi0 not configured
 [   1.0029623] pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
 [   1.0029623] midi0 at pcppi1: PC speaker
 [   1.0029623] sysbeep0 at pcppi1
 [   1.0029623] pckbc1 at acpi0 (USKB, PNP0303) (kbd port): io 0x60,0x64 irq 1
 [   1.0029623] SYSR (PNP0C02) at acpi0 not configured
 [   1.0029623] acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
 [   1.0029623] acpiacad0 at acpi0 (ADP, ACPI0003): ACPI AC Adapter
 [   1.0029623] acpibat0 at acpi0 (BAT2, PNP0C0A-2): ACPI Battery
 [   1.0029623] acpifan0 at acpi0 (LRA0, PNP0C0B): ACPI Fan
 [   1.0029623] acpitz0 at acpi0 (THRM)
 [   1.0029623] acpitz0: levels: critical 100.0 C, passive cooling
 [   1.0029623] apm0 at acpi0: Power Management spec V1.2
 [   1.0029623] ACPI: Enabled 1 GPEs in block 00 to 3F
 [   1.0029623] attimer1: attached to pcppi1
 [   1.0029623] pckbd0 at pckbc1 (kbd slot)
 [   1.0029623]   i=0 psc=0x0
 [   1.0029623]   i=1 psc=0xc1a52180
 [   1.0029623]     psc->sc_slot=0 slot=0
 [   1.0029623] isa_intr_establish_xname(ic, irq=1, ist=2, IPL_TTY=6, pckbcintr, sc, intr_xname=pckbc1 kbd
 [   1.0029623] pckbc1: using irq 1 for kbd slot
 [   1.0029623] wskbd0 at pckbd0: console keyboard
 [   1.0029623] pms0 at pckbc1 (aux slot)
 [   1.0029623]   i=0 psc=0x0
 [   1.0029623]   i=1 psc=0xc1a52180
 [   1.0029623]     psc->sc_slot=0 slot=1
 [   1.0029623]   i=2 psc=0x0
 [   1.0029623]   i=3 psc=0x0
 [   1.0029623] pckbc1: autoconfiguration error: unable to establish interrupt for aux slot
 [   1.0029623] wsmouse0 at pms0 mux 0
 [   1.0029623] pci0 at mainbus0 bus 0: configuration mode 1
 [   1.0029623] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 [   1.0029623] pchb0 at pci0 dev 0 function 0: vendor 1279 product 0395 (rev. 0x00)
 [   1.0029623] vendor 1279 product 0396 (RAM memory) at pci0 dev 0 function 1 not configured
 [   1.0029623] vendor 1279 product 0397 (RAM memory) at pci0 dev 0 function 2 not configured
 [   1.0029623] cbb0 at pci0 dev 3 function 0: vendor 104c product ac50 (rev. 0x01)
 [   1.0029623] eso0 at pci0 dev 4 function 0: ESS Solo-1 PCI AudioDrive ES1946 Revision E
 [   1.0029623] eso0: interrupting at irq 11
 [   1.0029623] eso0: mapping Audio 1 DMA using VC I/O space at 0x1480
 [   1.0029623] audio0 at eso0: full duplex, playback, capture, mmap, independent
 [   1.0029623] eso0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
 [   1.0029623] eso0: Latency: 256 milliseconds
 [   1.0029623] opl0 at eso0: model OPL3
 [   1.0029623] midi1 at opl0: ESO Yamaha OPL3
 [   1.0029623] mpu0 at eso0
 [   1.0029623] midi2 at mpu0: ESO MPU-401 MIDI UART
 [   1.0029623] joy0 at eso0
 [   1.0029623] joy0: joystick not connected
 [   1.0029623] vga0 at pci0 dev 5 function 0: vendor 1002 product 4c52 (rev. 0x64)
 [   1.0029623] wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
 [   1.0029623] wsmux1: connecting to wsdisplay0
 [   1.0029623] drm at vga0 not configured
 [   1.0029623] fxp0 at pci0 dev 6 function 0: i82559S Ethernet (rev. 0x09)
 [   1.0029623] fxp0: interrupting at irq 9
 [   1.0029623] fxp0: May need receiver lock-up workaround
 [   1.0029623] fxp0: Ethernet address 00:10:a4:16:62:84
 [   1.0029623] inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
 [   1.0029623] inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 [   1.0029623] vendor 115d product 002b (serial communications, 16550-compat) at pci0 dev 6 function 1 not configured
 [   1.0029623] pcib0 at pci0 dev 7 function 0: vendor 10b9 product 1533 (rev. 0x00)
 [   1.0029623] aceride0 at pci0 dev 16 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc3)
 [   1.0029623] aceride0: bus-master DMA support present
 [   1.0029623] aceride0: using PIO transfers above 137GB as workaround for 48bit DMA access bug, expect reduced performance
 [   1.0029623] aceride0: primary channel wired to compatibility mode
 [   1.0029623] aceride0: primary channel interrupting at irq 14
 [   1.0029623] atabus0 at aceride0 channel 0
 [   1.0029623] aceride0: secondary channel wired to compatibility mode
 [   1.0029623] aceride0: secondary channel interrupting at irq 15
 [   1.0029623] atabus1 at aceride0 channel 1
 [   1.0029623] alipm0 at pci0 dev 17 function 0: 74KHz clock
 [   1.0029623] iic0 at alipm0: I2C bus
 [   1.0029623] ohci0 at pci0 dev 20 function 0: vendor 10b9 product 5237 (rev. 0x03)
 [   1.0029623] ohci0: interrupting at irq 5
 [   1.0029623] ohci0: OHCI version 1.0, legacy support
 [   1.0029623] usb0 at ohci0: USB revision 1.0
 [   1.0029623] cbb0: cacheline 0x8 lattimer 0x51
 [   1.0029623] cbb0: bhlc 0x25108
 [   1.0029623] cbb0: interrupting at irq 9
 [   1.0029623] cardslot0 at cbb0
 [   1.0029623] cardbus0 at cardslot0: bus 1
 [   1.0029623] pcmcia0 at cardslot0
 [   1.0029623] isa0 at pcib0
 [   1.0029623] acpicpu0 at cpu0: ACPI CPU
 [   1.0029623] acpicpu0: C1: HLT, lat   0 us, pow     0 mW
 [   1.0029623] acpicpu0: C2: I/O, lat  10 us, pow     0 mW
 [   1.0029623] acpicpu0: C3: I/O, lat  32 us, pow     0 mW
 [   1.0029623] acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
 [   1.0029623] acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
 [   1.0029623] acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
 [   1.0029623] acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
 [   1.0029623] acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
 [   1.0029623] acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
 [   1.0029623] acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
 [   1.0029623] acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
 [   1.0029623] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 [   1.3361591] acpiacad0: AC adapter online.
 [   1.5376596] uhub0 at usb0: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
 [   1.5462973] uhub0: 2 ports with 2 removable, self powered
 [   1.5584676] IPsec: Initialized Security Association Processing.
 [   1.5961533] tlp0 at cardbus0 function 0: ADMtek AN985 Ethernet, pass 1.1
 [   1.7561265] tlp0: Ethernet address 00:0a:cd:10:e0:e4
 [   1.7665426] ukphy0 at tlp0 phy 1: OUI 0x00e092, model 0x0001, rev. 1
 [   1.7761776] ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 [   4.6961708] wd0 at atabus0 drive 0
 [   4.7062215] wd0: <IC25N020ATCS04-0>
 [   4.7062215] wd0: drive supports 16-sector PIO transfers, LBA addressing
 [   4.7062215] wd0: 19077 MB, 41344 cyl, 15 head, 63 sec, 512 bytes/sect x 39070080 sectors
 [   4.8061890] wd0: 32-bit data port
 [   4.8061890] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 [   4.8173401] wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA)
 [   5.2261938] WARNING: 1 error while detecting hardware; check system log.
 [   5.2261938] boot device: wd0
 [   5.2261938] root on wd0a dumps on wd0b
 [   5.4361950] root file system type: ffs
 [   5.4361950] kern.module.path=/stand/i386/8.99.29/modules
 [  22.2166358] wsdisplay0: screen 1 added (80x25, vt100 emulation)
 [  22.2664779] wsdisplay0: screen 2 added (80x25, vt100 emulation)
 [  22.3066084] wsdisplay0: screen 3 added (80x25, vt100 emulation)
 [  22.3464892] wsdisplay0: screen 4 added (80x25, vt100 emulation)
 [  31.4766259] acpibat0: normal capacity on 'charge state'
 [  72.0372443] tlp0: transmit underrun; new threshold: 96/256 bytes
 [  75.6472607] tlp0: transmit underrun; new threshold: 128/512 bytes
 
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index