NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: suspend-to-RAM intel-x86 issues and tests
Hi,
David Brownlee wrote:
I don't have a setup to build there, I am trying RelEng kernels.
I could use those to bisect - but I have worse news. Even NetBSD 8
release is actually unreliable. So it did work, but I tried again and
got a black screen... so it is not a repeatable reference.
Darn :) Would have made things easier.
If you have any kind of box (even Windows or Mac) that you could use
for testing builds it is likely to be very helpful.
Sorry, did not get fully what do you mean. What should I use that Win or
Mac box for? I am full of "boxen" :) Including several NetBSD ones.
As a random test idea on the Thinkpad - maybe go into the BIOS and try
disabling as much hardware there as possible to see if that helps the
suspend/resume. It probably wont affect anything, but should be easy
to test and if it does then it gives some useful information.
I took the T30, the P4 with ATI Radeon, which looked promising since it
at least spits out some kernel messages before dieing!
I went into the BIOS and disabled: Strange "wake on lan or flash on LAN
options", Serial Port, Parallel Port, Infrared Port, USB port, legacy
floppy drives (not present anyway), even the TrackPoint. I don't have
the Security chip, so it is disabled by default.
I even disabled Intel Speed Step (I hope it does no harm)
So pretty much anything I could find!
Then I booted a couple of days old generic kernel.
There I disabled more stuff:
- isa
- fxp
- radeon
- audio
should be quite barebones!!! Below a dmesg of such "bare" configuration.
Yet... it crashes on sleep with the already stated error
trap_tss() at netbsd:trap_tss
--- trap via task gate ---
netbsd:cpu_info_primary:
cpu0 End traceback...
dmesg after lots of disabling:
[ 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.25 (GENERIC) #0: Sun Sep 30 14:23:24 UTC 2018
[ 1.0000000]
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC
[ 1.0000000] total memory = 1535 MB
[ 1.0000000] avail memory = 1488 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] userconf: configure system autoconfiguration:
[ 1.0000000] uc> i^H ^Hdisable isa
[ 1.0000000] [468] isa0 disabled
[ 1.0000000] [469] isa0 disabled
[ 1.0000000] [470] isa0 disabled
[ 1.0000000] [471] isa0 disabled
[ 1.0000000] [472] isa0 disabled
[ 1.0000000] [473] isa0 disabled
[ 1.0000000] [474] isa0 disabled
[ 1.0000000] [475] isa0 disabled
[ 1.0000000] uc> disable fxp
[ 1.0000000] [156] fxp* disabled
[ 1.0000000] [157] fxp* disabled
[ 1.0000000] uc> disable radeon
[ 1.0000000] [441] radeon* disabled
[ 1.0000000] uc> disable audio
[ 1.0000000] [ 0] audio* disabled
[ 1.0000000] [ 1] audio* disabled
[ 1.0000000] uc> disable floppy
[ 1.0000000] uc> quit
[ 1.0000000] Continuing...
[ 1.0000000] timecounter: Timecounter "i8254" frequency 1193182 Hz
quality 100
[ 1.0000030] IBM 236688G (Not Available)
[ 1.0000030] mainbus0 (root)
[ 1.0000030] ACPI: RSDP 0x00000000000F7010 000024 (v02 IBM )
[ 1.0000030] ACPI: XSDT 0x000000005FF731CD 00004C (v01 IBM TP-1I
00002100 LTP 00000000)
[ 1.0000030] ACPI: FACP 0x000000005FF73300 000081 (v01 IBM TP-1I
00002100 IBM 00000001)
[ 1.0000030] ACPI: DSDT 0x000000005FF733E7 00AAD5 (v01 IBM TP-1I
00002100 MSFT 0100000D)
[ 1.0000030] ACPI: FACS 0x000000005FF7F000 000040
[ 1.0000030] ACPI: SSDT 0x000000005FF733B4 000033 (v01 IBM TP-1I
00002100 MSFT 0100000D)
[ 1.0000030] ACPI: ECDT 0x000000005FF7DEBC 000052 (v01 IBM TP-1I
00002100 IBM 00000001)
[ 1.0000030] ACPI: TCPA 0x000000005FF7DF0E 000032 (v01 IBM TP-1I
00002100 PTL 00000001)
[ 1.0000030] ACPI: BOOT 0x000000005FF7DFD8 000028 (v01 IBM TP-1I
00002100 LTP 00000001)
[ 1.0000030] ACPI: 2 ACPI AML tables successfully acquired and loaded
[ 1.0000030] cpu0 at mainbus0
[ 1.0000030] cpu0: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz, id 0xf27
[ 1.0000030] cpu0: package 0, core 0, smt 0
[ 1.0000030] acpi0 at mainbus0: Intel ACPICA 20180810
[ 1.0000030] acpi0: X/RSDT: OemId <IBM ,TP-1I ,00002100>, AslId <
LTP,00000000>
[ 1.0000030] acpiecdt0 at acpi0: ACPI Embedded Controller via ECDT
[ 1.0000030] LNKA: ACPI: Found matching pin for 0.29.INTA at func 0: 11
[ 1.0000030] LNKD: ACPI: Found matching pin for 0.29.INTB at func 1: 11
[ 1.0000030] LNKC: ACPI: Found matching pin for 0.29.INTC at func 2: 11
[ 1.0000030] LNKC: ACPI: Found matching pin for 0.31.INTA at func 1: 255
[ 1.0000030] LNKB: ACPI: Found matching pin for 0.31.INTB at func 3: 11
[ 1.0000030] LNKA: ACPI: Found matching pin for 1.0.INTA at func 0: 11
[ 1.0000030] LNKA: ACPI: Found matching pin for 2.0.INTA at func 0: 11
[ 1.0000030] LNKB: ACPI: Found matching pin for 2.0.INTB at func 1: 11
[ 1.0000030] LNKC: ACPI: Found matching pin for 2.2.INTA at func 0: 11
[ 1.0000030] LNKE: ACPI: Found matching pin for 2.8.INTA at func 0: 11
[ 1.0000030] acpi0: SCI interrupting at int 9
[ 1.0000030] acpi0: fixed power button present
[ 1.0000030] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz
quality 1000
[ 1.0054925] acpiec0 at acpi0 (EC, PNP0C09-0): using acpiecdt0
[ 1.0054925] MEM (PNP0C01) at acpi0 not configured
[ 1.0054925] acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
[ 1.0054925] acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
[ 1.0054925] SIO (PNP0C02) at acpi0 not configured
[ 1.0054925] attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43 irq 0
[ 1.0054925] pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
[ 1.0054925] midi0 at pcppi1: PC speaker
[ 1.0054925] sysbeep0 at pcppi1
[ 1.0054925] FPU (PNP0C04) at acpi0 not configured
[ 1.0054925] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
[ 1.0054925] pckbc2 at acpi0 (MOU, IBM3780) (aux port): irq 12
[ 1.0054925] acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery
[ 1.0054925] acpiacad0 at acpi0 (AC, ACPI0003-0): ACPI AC Adapter
[ 1.0054925] thinkpad0 at acpi0 (HKEY, IBM0068)
[ 1.0054925] acpivga0 at acpi0 (VID): ACPI Display Adapter
[ 1.0054925] acpiout0 at acpivga0 (LCD0, 0x0110): ACPI Display Output
Device
[ 1.0054925] acpiout1 at acpivga0 (CRT0, 0x0100): ACPI Display Output
Device
[ 1.0054925] acpiout2 at acpivga0 (TV0, 0x0200): ACPI Display Output
Device
[ 1.0054925] acpiout3 at acpivga0 (DVI0, 0x0210): ACPI Display Output
Device
[ 1.0054925] acpivga0: connected output devices:
[ 1.0054925] acpivga0: 0x0110 (acpiout0): LCD Panel, head 0
[ 1.0054925] acpivga0: 0x0100 (acpiout1): Ext. Monitor, head 0
[ 1.0054925] acpivga0: 0x0200 (acpiout2): TV, head 0
[ 1.0054925] acpivga0: 0x0210 (acpiout3): Unknown Output Device, head 0
[ 1.0054925] acpitz0 at acpi0 (THM0)
[ 1.0054925] acpitz0: levels: critical 92.0 C, passive 86.5 C, passive
cooling
[ 1.0054925] apm0 at acpi0: Power Management spec V1.2
[ 1.0054925] attimer1: attached to pcppi1
[ 1.0054925] pckbd0 at pckbc1 (kbd slot)
[ 1.0054925] pckbc1: using irq 1 for kbd slot
[ 1.0054925] wskbd0 at pckbd0: console keyboard
[ 1.0054925] pci0 at mainbus0 bus 0: configuration mode 1
[ 1.0054925] pci0: i/o space, memory space enabled, rd/line, rd/mult,
wr/inv ok
[ 1.0054925] pchb0 at pci0 dev 0 function 0: vendor 8086 product 1a30
(rev. 0x04)
[ 1.0054925] agp0 at pchb0: aperture at 0xe0000000, size 0x4000000
[ 1.0054925] ppb0 at pci0 dev 1 function 0: vendor 8086 product 1a31
(rev. 0x04)
[ 1.0054925] pci1 at ppb0 bus 1
[ 1.0054925] pci1: i/o space, memory space enabled
[ 1.0054925] vga0 at pci1 dev 0 function 0: vendor 1002 product 4c57
(rev. 0x00)
[ 1.0054925] wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100
emulation), using wskbd0
[ 1.0054925] wsmux1: connecting to wsdisplay0
[ 1.0054925] drm at vga0 not configured
[ 1.0054925] uhci0 at pci0 dev 29 function 0: vendor 8086 product 2482
(rev. 0x02)
[ 1.0054925] uhci0: interrupting at irq 11
[ 1.0054925] usb0 at uhci0: USB revision 1.0
[ 1.0054925] uhci1 at pci0 dev 29 function 1: vendor 8086 product 2484
(rev. 0x02)
[ 1.0054925] uhci1: interrupting at irq 11
[ 1.0054925] usb1 at uhci1: USB revision 1.0
[ 1.0054925] uhci2 at pci0 dev 29 function 2: vendor 8086 product 2487
(rev. 0x02)
[ 1.0054925] uhci2: interrupting at irq 11
[ 1.0054925] usb2 at uhci2: USB revision 1.0
[ 1.0054925] ppb1 at pci0 dev 30 function 0: vendor 8086 product 2448
(rev. 0x42)
[ 1.0054925] pci2 at ppb1 bus 2
[ 1.0054925] pci2: i/o space, memory space enabled
[ 1.0054925] cbb0 at pci2 dev 0 function 0: vendor 104c product ac55
(rev. 0x01)
[ 1.0054925] cbb1 at pci2 dev 0 function 1: vendor 104c product ac55
(rev. 0x01)
[ 1.0054925] iwi0 at pci2 dev 2 function 0: vendor 8086 product 4220
(rev. 0x05)
[ 1.0054925] iwi0: interrupting at irq 11
[ 1.0054925] iwi0: 802.11 address 00:16:6f:0c:0f:59
[ 1.0054925] iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 1.0054925] iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps
12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 1.0054925] vendor 8086 product 1031 (ethernet network, revision
0x42) at pci2 dev 8 function 0 not configured
[ 1.0054925] cbb0: autoconfiguration error: bad Vcc request. sock_ctrl
0xffffff88, sock_status 0xffffffff
[ 1.0054925] cbb0: autoconfiguration error: disabling socket
[ 1.0054925] new status 0xffffffff
[ 1.0054925] cbb0: cacheline 0x8 lattimer 0x40
[ 1.0054925] cbb0: bhlc 0x824008
[ 1.0054925] cbb0: interrupting at irq 11
[ 1.0054925] cardslot0 at cbb0
[ 1.0054925] cardbus0 at cardslot0: bus 3
[ 1.0054925] pcmcia0 at cardslot0
[ 1.0054925] cbb1: autoconfiguration error: bad Vcc request. sock_ctrl
0xffffff88, sock_status 0xffffffff
[ 1.0054925] cbb1: autoconfiguration error: disabling socket
[ 1.0054925] new status 0xffffffff
[ 1.0054925] cbb1: cacheline 0x8 lattimer 0x40
[ 1.0054925] cbb1: bhlc 0x824008
[ 1.0054925] cbb1: interrupting at irq 11
[ 1.0054925] cardslot1 at cbb1
[ 1.0054925] cardbus1 at cardslot1: bus 6
[ 1.0054925] pcmcia1 at cardslot1
[ 1.0054925] ichlpcib0 at pci0 dev 31 function 0: vendor 8086 product
248c (rev. 0x02)
[ 1.0054925] timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz
quality 1000
[ 1.0054925] ichlpcib0: 24-bit timer
[ 1.0054925] tco0 at ichlpcib0: TCO (watchdog) timer configured.
[ 1.0054925] tco0: Min/Max interval 2/37 seconds
[ 1.0054925] ichlpcib0: SpeedStep enabled
[ 1.0054925] piixide0 at pci0 dev 31 function 1: Intel 82801CA IDE
Controller (ICH3) (rev. 0x02)
[ 1.0054925] piixide0: bus-master DMA support present
[ 1.0054925] piixide0: primary channel configured to compatibility mode
[ 1.0054925] piixide0: primary channel interrupting at irq 14
[ 1.0054925] atabus0 at piixide0 channel 0
[ 1.0054925] piixide0: secondary channel configured to compatibility mode
[ 1.0054925] piixide0: secondary channel interrupting at irq 15
[ 1.0054925] atabus1 at piixide0 channel 1
[ 1.0054925] ichsmb0 at pci0 dev 31 function 3: vendor 8086 product
2483 (rev. 0x02)
[ 1.0054925] ichsmb0: interrupting at irq 11
[ 1.0054925] iic0 at ichsmb0: I2C bus
[ 1.0054925] auich0 at pci0 dev 31 function 5: i82801CA (ICH3) AC-97 Audio
[ 1.0054925] auich0: interrupting at irq 11
[ 1.0054925] auich0: ac97: Analog Devices AD1881A codec; headphone,
Analog Devices Phat Stereo
[ 1.0054925] auich0: ac97: ext id 0x1<VRA>
[ 1.0054925] vendor 8086 product 2486 (modem communications, revision
0x02) at pci0 dev 31 function 6 not configured
[ 1.0054925] isa at ichlpcib0 not configured
[ 1.0054925] isa at mainbus0 not configured
[ 1.0054925] timecounter: Timecounter "clockinterrupt" frequency 100
Hz quality 0
[ 2.0948466] auich0: measured ac97 link rate at 47309 Hz, will use
48000 Hz
[ 2.0948466] audio at auich0 not configured
[ 2.0948466] acpiacad0: AC adapter online.
[ 2.0948466] uhub0 at usb0: NetBSD (0000) UHCI root hub (0000), class
9/0, rev 1.00/1.00, addr 1
[ 2.0948466] uhub0: 2 ports with 2 removable, self powered
[ 2.0948466] uhub1 at usb1: NetBSD (0000) UHCI root hub (0000), class
9/0, rev 1.00/1.00, addr 1
[ 2.0948466] uhub1: 2 ports with 2 removable, self powered
[ 2.0948466] uhub2 at usb2: NetBSD (0000) UHCI root hub (0000), class
9/0, rev 1.00/1.00, addr 1
[ 2.0948466] uhub2: 2 ports with 2 removable, self powered
[ 2.1248496] IPsec: Initialized Security Association Processing.
[ 2.1349062] acpibat0: SANYO LION rechargeable battery
[ 2.1349062] acpibat0: granularity: low->warn 0.001 Wh, warn->full
0.001 Wh
[ 5.1048929] wd0 at atabus0 drive 0
[ 5.1048929] wd0: <TOSHIBA MK4019GAX>
[ 5.1048929] wd0: drive supports 16-sector PIO transfers, LBA addressing
[ 5.1048929] wd0: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect
x 78140160 sectors
[ 5.7549040] wd0: 32-bit data port
[ 5.7549040] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA
mode 5 (Ultra/100)
[ 5.7549040] wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5
(Ultra/100) (using DMA)
[ 5.7549040] atapibus0 at atabus1: 2 targets
[ 5.7649044] cd0 at atapibus0 drive 0: <DW-28E, , 2.1A> cdrom removable
[ 5.7649044] cd0: 32-bit data port
[ 5.7649044] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA
mode 2 (Ultra/33)
[ 5.7649044] cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2
(Ultra/33) (using DMA)
[ 6.1849095] WARNING: 4 errors while detecting hardware; check system log.
[ 6.1849095] boot device: wd0
[ 6.1849095] root on wd0a dumps on wd0b
[ 6.3149115] root file system type: ffs
[ 6.3249119] kern.module.path=/stand/i386/8.99.25/modules
[ 6.3249119] WARNING: clock gained 14 days
[ 10.0149689] wsdisplay0: screen 1 added (80x25, vt100 emulation)
[ 10.0249738] wsdisplay0: screen 2 added (80x25, vt100 emulation)
[ 10.0249738] wsdisplay0: screen 3 added (80x25, vt100 emulation)
[ 10.0249738] wsdisplay0: screen 4 added (80x25, vt100 emulation)
Home |
Main Index |
Thread Index |
Old Index