NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: install/58932: NetBSD-10.99.12-i386-install.img ACPI problems Compal DL-75 laptop
The following reply was made to PR install/58932; it has been noted by GNATS.
From: Ramiro Aceves <ea1abz%gmail.com@localhost>
To: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost, install-manager%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: install/58932: NetBSD-10.99.12-i386-install.img ACPI problems
Compal DL-75 laptop
Date: Thu, 26 Dec 2024 16:53:49 +0100
El 26/12/24 a las 15:33, Taylor R Campbell escribió:
>> Date: Thu, 26 Dec 2024 08:25:02 +0100
>> From: Ramiro Aceves <ea1abz%gmail.com@localhost>
>>
>> I compiled the kernel with the patched file using ./build.sh command
>> like you explained (changing to i386). This way compilation succeded
>> fine, it build toolchain first after a long time in this weird, slow but
>> beloved i386 machine.
>
> FYI, the command I gave you runs a cross-build, so you can do it on
> whatever is your most-capable machine -- no need to do it on a small,
> elderly i386 system!
>
> Also, once you've done `build.sh ... tools' once, no need to do it
> again; you can just do the `build.sh ... kernel=GENERIC' stage to
> build a new kernel.
>
>> It seems that the "manual way" method of building
>> the kernel as The Guide describe does not work in this case. I required
>> toolchain to be built even when there is no change in architecture.
>
> If you're building from (say) 10.0 to 10.99.x, you may still have to
> build a new toolchian -- e.g., right now, 10.99.x is on gcc-12, while
> 10.0 is on gcc-10, and there are often also relevant changes in
> /usr/share/mk to handle changes in compiler warnings like the
> -Werror=address-of-packed-member failure you saw.
>
> So the instructions at
> <https://www.netbsd.org/docs/guide/en/chap-kernel.html#chap-kernel-building-manually>
> (34.4 Building the kernel manually) are really only for building small
> updates to a kernel of the same major version (10.99.x should be
> thought of as 11.0 - epsilon rather than as 10.something), unless
> you're doing a cross-build.
>
>> I booted with the new kernel and it enters again in ddb, rebooted from
>> that and dmesg was saved. I attach dmesg below:
>
> Thanks, looks like the ichlpcib(4) timecounter might be busted in the
> same way -- and I suspect it's the same hardware underneath anyway
> (not really sure why we have two access paths to it).
>
> Can you try the attached patch on top of the last one I sent?
Hello Taylor,
First thank you very much for the explanations about my newbie NetBSD
kernel building questions. I think it is clear to me now! Thanks indeed.
I have just applied the second patch, forgot the "-u" and had to wait 50
minutes for full kernel compilation. ;-) It enters again in DDB, please
see below.
Regards.
[ 6065.777897] rebooting...
[ 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003,
[ 1.000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
2012, 2013,
[ 1.000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021,
2022, 2023,
[ 1.000000] 2024
[ 1.000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.000000] The Regents of the University of California. All
rights reserved.
[ 1.000000] NetBSD 10.99.12 (GENERIC) #2: Thu Dec 26 16:40:03 CET 2024
[ 1.000000]
ramiro@netbsd-compal.remigio:/usr/obj/sys/arch/i386/compile/GENERIC
[ 1.000000] total memory = 2039 MB
[ 1.000000] avail memory = 1977 MB
[ 1.000000] timecounter: Timecounters tick every 10.000 msec
[ 1.000000] Kernelized RAIDframe activated
[ 1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz
quality 100
[ 1.000004] mainbus0 (root)
[ 1.000004] ACPI: RSDP 0x00000000000E5010 000014 (v00 INSYDE)
[ 1.000004] ACPI: RSDT 0x000000007F7FB2BB 000034 (v01 INSYDE
RSDT_000 00000100 ABCD 00010200)
[ 1.000004] ACPI: FACP 0x000000007F7FFB00 000074 (v01 INSYDE
FACP_000 00000100 0000 00010200)
[ 1.000004] ACPI: DSDT 0x000000007F7FB920 0041DE (v01 COMPAL DL7x
00000001 INTL 02002036)
[ 1.000004] ACPI: FACS 0x000000007F7FFFC0 000040
[ 1.000004] ACPI: APIC 0x000000007F7FFB90 000068 (v01 STUPID
MAPIC_00 30307830 ABCD 00010200)
[ 1.000004] ACPI: SSDT 0x000000007F7FB4C7 000277 (v01 PmRef Cpu0Ist
00003000 INTL 20030522)
[ 1.000004] ACPI: SSDT 0x000000007F7FB2EF 0001D8 (v01 PmRef Cpu0Cst
00003001 INTL 20030522)
[ 1.000004] ACPI: 3 ACPI AML tables successfully acquired and loaded
[ 1.000004] ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 0x20,
24 pins
[ 1.000004] cpu0 at mainbus0 apid 0
[ 1.000004] cpu0: Use lfence to serialize rdtsc
[ 1.000004] cpu0: Intel(R) Pentium(R) M processor 1.86GHz, id 0x6d8
[ 1.000004] cpu0: node 0, package 0, core 0, smt 0
[ 1.000004] acpi0 at mainbus0: Intel ACPICA 20240827
[ 1.000004] acpi0: X/RSDT: OemId <INSYDE,RSDT_000,00000100>, AslId
<ABCD,00010200>
[ 1.000004] acpi0: SCI interrupting at int 9
[ 1.000004] acpi0: fixed power button present
[ 1.000004] acpiec0 at acpi0 (EC0, PNP0C09): io 0x62,0x66
[ 1.000004] acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch
[ 1.000004] acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
[ 1.000004] acpibut1 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
[ 1.000004] acpivga0 at acpi0 (GFX0): ACPI Display Adapter
[ 1.000004] acpiout0 at acpivga0 (LCD, 0x0400): ACPI Display Output
Device
[ 1.000004] acpiout1 at acpivga0 (CRT1, 0x0100): ACPI Display Output
Device
[ 1.000004] acpiout2 at acpivga0 (DTV1, 0x0200): ACPI Display Output
Device
[ 1.000004] acpivga0: connected output devices:
[ 1.000004] acpivga0: 0x0100 (acpiout1): Ext. Monitor, head 0,
bios detect
[ 1.000004] acpivga0: 0x0400 (acpiout0): Unknown Output Device,
head 0, bios detect
[ 1.000004] acpivga0: 0x0200 (acpiout2): TV, head 0, bios detect
[ 1.000004] FWHD (INT0800) at acpi0 not configured
[ 1.000004] MATH (PNP0C04) at acpi0 not configured
[ 1.000004] attimer1 at acpi0 (TIMR, PNP0100): io
0x40-0x43,0x50-0x53 irq 0
[ 1.000004] acpiacad0 at acpi0 (ACAD, ACPI0003): ACPI AC Adapter
[ 1.000004] acpibat0 at acpi0 (BAT1, PNP0C0A-1): ACPI Battery
[ 1.000004] pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64
irq 1
[ 1.000004] pckbc2 at acpi0 (PS2M, PNP0F13) (aux port): irq 12
[ 1.000004] apm0 at acpi0: Power Management spec V1.2
[ 1.000004] ACPI: Enabled 4 GPEs in block 00 to 1F
[ 1.000004] pckbd0 at pckbc1 (kbd slot)
[ 1.000004] pckbport_cmd: send error
[ 1.000004] pckbc1: using irq 1 for kbd slot
[ 1.000004] wskbd0 at pckbd0: console keyboard
[ 1.000004] autoconfiguration error: pckbc: aux echo error 1
[ 1.000004] pci0 at mainbus0 bus 0: configuration mode 1
[ 1.000004] pci0: i/o space, memory space enabled, rd/line, rd/mult,
wr/inv ok
[ 1.000004] pchb0 at pci0 dev 0 function 0: Intel
82915PM/GM/GMS,82910GML Host Bridge (rev. 0x04)
[ 1.000004] agp0 at pchb0: i915-family chipset
[ 1.000004] agp0: detected 7932k stolen memory
[ 1.000004] agp0: aperture at 0xa0000000, size 0x10000000
[ 1.000004] i915drmkms0 at pci0 dev 2 function 0: Intel
82915GM/GMS,82910GML Integrated Graphics Device (rev. 0x04)
[ 1.000004] Intel 82915GM/GMS IGD Companion (miscellaneous display,
revision 0x04) at pci0 dev 2 function 1 not configured
[ 1.000004] uhci0 at pci0 dev 29 function 0: Intel 82801FB/FR USB
UHCI Controller (rev. 0x04)
[ 1.000004] uhci0: interrupting at ioapic0 pin 23
[ 1.000004] usb0 at uhci0: USB revision 1.0
[ 1.000004] uhci1 at pci0 dev 29 function 1: Intel 82801FB/FR USB
UHCI Controller (rev. 0x04)
[ 1.000004] uhci1: interrupting at ioapic0 pin 19
[ 1.000004] usb1 at uhci1: USB revision 1.0
[ 1.000004] uhci2 at pci0 dev 29 function 2: Intel 82801FB/FR USB
UHCI Controller (rev. 0x04)
[ 1.000004] uhci2: interrupting at ioapic0 pin 18
[ 1.000004] usb2 at uhci2: USB revision 1.0
[ 1.000004] uhci3 at pci0 dev 29 function 3: Intel 82801FB/FR USB
UHCI Controller (rev. 0x04)
[ 1.000004] uhci3: interrupting at ioapic0 pin 16
[ 1.000004] usb3 at uhci3: USB revision 1.0
[ 1.000004] ehci0 at pci0 dev 29 function 7: Intel 82801FB/FR USB
EHCI Controller (rev. 0x04)
[ 1.000004] ehci0: 64-bit DMA - limited
[ 1.000004] ehci0: interrupting at ioapic0 pin 23
[ 1.000004] ehci0: EHCI version 0.0
[ 1.000004] ehci0: wrong number of companions (0 != 4)
[ 1.000004] ehci0: Using DMA subregion for control data structures
[ 1.000004] ehci0: autoconfiguration error: reset timeout
[ 1.000004] ehci0: autoconfiguration error: init failed, error=5
[ 1.000004] ppb0 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI
Bridge (rev. 0xd4)
[ 1.000004] pci1 at ppb0 bus 1
[ 1.000004] pci1: i/o space, memory space enabled
[ 1.000004] fwohci0 at pci1 dev 0 function 0: VIA Technologies
VT6306 IEEE 1394 Host Controller (rev. 0x80)
[ 1.000004] fwohci0: interrupting at ioapic0 pin 20
[ 1.000004] fwohci0: OHCI version 1.0 (ROM=1)
[ 1.000004] fwohci0: No. of Isochronous channels is 4.
[ 1.000004] fwohci0: EUI64 00:02:3f:59:88:40:01:0f
[ 1.000004] fwohci0: Phy 1394a available S400, 2 ports.
[ 1.000004] fwohci0: Link S400, max_rec 512 bytes.
[ 1.000004] fwohci0: max_rec 512 -> 2048
[ 1.000004] ieee1394if0 at fwohci0: IEEE1394 bus
[ 1.000004] fwip0 at ieee1394if0: IP over IEEE1394
[ 1.000004] fwohci0: Initiate bus reset
[ 1.000004] re0 at pci1 dev 1 function 0: RealTek 8169/8110 Gigabit
Ethernet (rev. 0x10)
[ 1.000004] re0: interrupting at ioapic0 pin 21
[ 1.000004] re0: RTL8169/8110SB (0x1000)
[ 1.000004] re0: Ethernet address 00:0f:b0:93:6f:e1
[ 1.000004] re0: using 256 tx descriptors
[ 1.000004] rgephy0 at re0 phy 7: RTL8211B 1000BASE-T media interface
[ 1.000004] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseT, 1000baseT-FDX, auto
[ 1.000004] iwi0 at pci1 dev 2 function 0: Intel PRO/Wireless LAN
2200BG Mini-PCI Adapter (rev. 0x05)
[ 1.000004] iwi0: interrupting at ioapic0 pin 22
[ 1.000004] iwi0: 802.11 address 00:13:ce:6b:7d:01
[ 1.000004] cbb0 at pci1 dev 4 function 0: ENE Technology CB710
CardBus Controller (rev. 0x00)
[ 1.000004] ENE Technology product 0530 (flash memory) at pci1 dev 4
function 1 not configured
[ 1.000004] sdhc0 at pci1 dev 4 function 2: ENE Technology
CB712/714/810 PCI SD Card Reader Controller (rev. 0x00)
[ 1.000004] sdhc0: interrupting at ioapic0 pin 17
[ 1.000004] sdhc0: SDHC 1.0, rev 0, caps <01e021a1/00000000>, SDMA,
33000 kHz, HS 3.3V, 512 byte blocks
[ 1.000004] sdmmc0 at sdhc0 slot 0
[ 1.000004] cbb0: cacheline 0x8 lattimer 0x40
[ 1.000004] cbb0: bhlc 0x824008
[ 1.000004] cbb0: autoconfiguration error: secondary bus number
uninitialized; try PCI_BUS_FIXUP
[ 1.000004] cbb0: interrupting at ioapic0 pin 16
[ 1.000004] cardslot0 at cbb0
[ 1.000004] pcmcia0 at cardslot0
[ 1.000004] auich0 at pci0 dev 30 function 2: i82801FB (ICH6) AC-97
Audio
[ 1.000004] auich0: interrupting at ioapic0 pin 17
[ 1.000004] auich0: ac97: Avance Logic unknown (0x414c4752) codec;
headphone, 20 bit DAC, 18 bit ADC, no 3D stereo
[ 1.000004] auich0: ac97: ext id 0xa07<AC97_23,AMAP,SPDIF,DRA,VRA>
[ 1.000004] Intel 82801FB/FR AC'97 Modem Controller (modem
communications, revision 0x04) at pci0 dev 30 function 3 not configured
[ 1.000004] ichlpcib0 at pci0 dev 31 function 0: Intel 82801FBM
ICH6M LPC Interface Bridge (rev. 0x04)
[ 1.000004] tco0 at ichlpcib0: TCO (watchdog) timer configured.
[ 1.000004] tco0: Min/Max interval 1/367 seconds
[ 1.000004] piixide0 at pci0 dev 31 function 1: Intel 82801FB IDE
Controller (ICH6) (rev. 0x04)
[ 1.000004] piixide0: bus-master DMA support present
[ 1.000004] piixide0: primary channel configured to compatibility mode
[ 1.000004] piixide0: primary channel interrupting at ioapic0 pin 14
[ 1.000004] atabus0 at piixide0 channel 0
[ 1.000004] piixide0: secondary channel configured to compatibility mode
[ 1.000004] piixide0: secondary channel interrupting at ioapic0 pin 15
[ 1.000004] atabus1 at piixide0 channel 1
[ 1.000004] ichsmb0 at pci0 dev 31 function 3: Intel 82801FB/FR
SMBus Controller (rev. 0x04)
[ 1.000004] ichsmb0: interrupting at ioapic0 pin 19
[ 1.000004] iic0 at ichsmb0: I2C bus
[ 1.000004] isa0 at ichlpcib0
[ 1.000004] pcppi0 at isa0 port 0x61
[ 1.000004] midi0 at pcppi0: PC speaker
[ 1.000004] sysbeep0 at pcppi0
[ 1.000004] attimer1: attached to pcppi0
[ 1.000004] acpicpu0 at cpu0: ACPI CPU
[ 1.000004] acpicpu0: C1: HLT, lat 0 us, pow 0 mW
[ 1.000004] acpicpu0: C2: I/O, lat 1 us, pow 0 mW
[ 1.000004] acpicpu0: C3: I/O, lat 85 us, pow 0 mW
[ 1.000004] acpicpu0: P0: I/O, lat 110 us, pow 27000 mW, 1867 MHz
[ 1.000004] acpicpu0: P1: I/O, lat 110 us, pow 23000 mW, 1600 MHz
[ 1.000004] acpicpu0: P2: I/O, lat 110 us, pow 20000 mW, 1333 MHz
[ 1.000004] acpicpu0: P3: I/O, lat 110 us, pow 17000 mW, 1067 MHz
[ 1.000004] acpicpu0: P4: I/O, lat 110 us, pow 13000 mW, 800 MHz
[ 1.000004] acpicpu0: T0: I/O, lat 1 us, pow 0 mW, 100 %
[ 1.000004] acpicpu0: T1: I/O, lat 1 us, pow 0 mW, 88 %
[ 1.000004] acpicpu0: T2: I/O, lat 1 us, pow 0 mW, 76 %
[ 1.000004] acpicpu0: T3: I/O, lat 1 us, pow 0 mW, 64 %
[ 1.000004] acpicpu0: T4: I/O, lat 1 us, pow 0 mW, 52 %
[ 1.000004] acpicpu0: T5: I/O, lat 1 us, pow 0 mW, 40 %
[ 1.000004] acpicpu0: T6: I/O, lat 1 us, pow 0 mW, 28 %
[ 1.000004] acpicpu0: T7: I/O, lat 1 us, pow 0 mW, 16 %
[ 1.000004] fwohci0: BUS reset
[ 1.000004] fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
[ 1.000004] ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
[ 1.000004] ieee1394if0: bus manager 0
[ 1.000004] WARNING: system needs entropy for security; see entropy(7)
[ 1.000004] timecounter: Timecounter "clockinterrupt" frequency 100
Hz quality 0
[ 1.151611] panic: cpu0: time has not advanced in 1501 heartbeats
[ 1.151611] cpu0: Begin traceback...
[ 1.151611]
vpanic(c14353dc,db6b0f04,db6b0f4c,c0d71782,c14353dc,c1651764,5dd,dc8e6e64,0,c43fe4c0)
at netbsd:vpanic+0x176
[ 1.151611]
panic(c14353dc,c1651764,5dd,dc8e6e64,0,c43fe4c0,0,5dc,5dc,f) at
netbsd:panic+0x18
[ 1.151611]
heartbeat(dc8e6e64,0,5dd,0,2ee69,dc8e6ef8,dc8e6ebc,c0102fd4,dc8e6e64,dc8e6e64)
at netbsd:heartbeat+0x292
[ 1.151611] hardclock(dc8e6e64,dc8e6e64,0,0,0,0,0,0,0,0) at
netbsd:hardclock+0x79
[ 1.151611] --- switch to interrupt stack ---
[ 1.151611] Xresume_lapic_ltimer() at netbsd:Xresume_lapic_ltimer+0x24
[ 1.151611] --- interrupt ---
[ 1.151611]
x86_write_flags(c1653f60,c43fe4c0,0,e0f,c1653f60,9751ad54,c16893c0,0,dc8e6f60,dc8e6f60)
at netbsd:x86_write_flags+0x6
[ 1.151611] binuptime(dc8e6ef8,1,0,d1bde1d8,26ccce91,0,0,0,0,0) at
netbsd:binuptime+0x7d
[ 1.151611]
microtime(dc8e6f60,dc0c4200,4,1,dc8f1000,c43ee108,10,bb80,c0dc875a,0) at
netbsd:microtime+0x1a
[ 1.151611]
auich_finish_attach(c43e8400,10,c01020f3,c43fe4c0,c43fe4c0,c43fe4c0,c0db646b,0,c0102011,c43fe4c0)
at netbsd:auich_finish_attach+0x1fc
[ 1.151611]
config_interrupts_thread(c43fe4c0,1965000,1971000,0,c01005a8,0,0,0,0,0)
at netbsd:config_interrupts_thread+0x7f
[ 1.151611] cpu0: End traceback...
[ 1.151611] fatal breakpoint trap in supervisor mode
[ 1.151611] trap type 1 code 0 eip 0xc0128094 cs 0x8 eflags 0x202
cr2 0 ilevel 0x7 esp 0xdb6b0ee8
[ 1.151611] curlwp 0xc43fe4c0 pid 0 lid 103 lowest kstack 0xdc8e42c0
rebooting...
[ 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003,
[ 1.000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
2012, 2013,
[ 1.000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021,
2022, 2023,
[ 1.000000] 2024
[ 1.000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.000000] The Regents of the University of California. All
rights reserved.
Home |
Main Index |
Thread Index |
Old Index