Re: toolchain/52722: config(8) busy-loops, then cores

2017-11-19 Thread bch
On Fri, Nov 17, 2017 at 9:58 AM John D. Baker 
wrote:

> Following this commit:
>
>   http://mail-index.netbsd.org/source-changes/2017/11/16/msg089749.html
>
> the stock kernels in a release build fine, but when trying to build the
> first of my custom kernels, "nbconfig" spins, consuming most of the CPU.
> It doesn't seem to be eating memory, however.
>
> In the most recent attempt it has been spinning for 45 minutes so far.


Mine (amd64) just segfaults. I copied a 8.99.6 version in place and builds
can proceed from there.


>
> --
> |/"\ John D. Baker, KN5UKS   NetBSD Darwin/MacOS X
> |\ / jdbaker[snail]mylinuxisp[flyspeck]comOpenBSDFreeBSD
> | X  No HTML/proprietary data in email.   BSD just sits there and works!
> |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
>
>


Re: toolchain/52722: config(8) busy-loops, then cores

2017-11-17 Thread John D. Baker
On Fri, 17 Nov 2017, Christos Zoulas wrote:

> Well, put the spinning kernel in the PR :-)

Just saw the above in the mailing list archive as I'm not on the default
distribution list for this PR (not originator).

I appended to it as the commit and the behavior seemed relevant.

Kernel config below.  I began using it with netbsd-6, with slight
adjustments over the years.  It has never had a problem until now.


# YGGDRASIL - big file server based on intel D945GCL board

include "arch/amd64/conf/GENERIC"
no options  INCLUDE_CONFIG_FILE
options INCLUDE_JUST_CONFIG
#maxusers   64  # estimated number of users
no options  INSECURE# disable kernel security levels - X needs this
no options  RTC_OFFSET  # hardware clock is this many mins. west of GMT
no est0 at cpu0 # Intel Enhanced SpeedStep (non-ACPI)
no powernow0at cpu0 # AMD PowerNow! and Cool'n'Quiet (non-ACPI)
# Beep when it is safe to power down the system (requires sysbeep)
options BEEP_ONHALT
# Some tunable details of the above feature (default values used below)
#optionsBEEP_ONHALT_COUNT=3 # Times to beep
#optionsBEEP_ONHALT_PITCH=1500  # Default frequency (in Hz)
#optionsBEEP_ONHALT_PERIOD=250  # Default duration (in msecs)
no options  COMPAT_15   # compatibility with NetBSD 1.5,
#no options COMPAT_70   # NetBSD 7.0, and
#no options COMPAT_80   # NetBSD 8.0 binary compatibility.
no options  COMPAT_43   # and 4.3BSD
no options  COMPAT_OSSAUDIO
no options  COMPAT_LINUX
no options  COMPAT_LINUX32  # req. COMPAT_LINUX and COMPAT_NETBSD32
no file-system  MFS # memory file system
no file-system  CODA# Coda File System; also needs vcoda (below)
options APPLE_UFS
no options  PPP_BSDCOMP # BSD-Compress compression support for PPP
no options  PPP_DEFLATE # Deflate compression support for PPP
no options  PPP_FILTER  # Active filter support for PPP (requires bpf)
no options  IPFILTER_LOG# ipmon(8) log support
no options  IPFILTER_LOOKUP # ippool(8) support
no options  IPFILTER_COMPAT # Compat for IP-Filter
no ipmi0at mainbus?
no options  MPBIOS  # configure CPUs and APICs using MPBIOS
no options  MPBIOS_SCANPCI  # MPBIOS configures PCI roots
no options  VGA_POST# in-kernel support for VGA POST
no acpiacad*at acpi?# ACPI AC Adapter
no acpibat* at acpi?# ACPI Battery
no acpidalb*at acpi?# Direct Application Launch Button
no acpiec*  at acpi?# ACPI Embedded Controller (late)
no acpiecdt*at acpi?# ACPI Embedded Controller (early)
no acpifan* at acpi?# ACPI Fan
no acpilid* at acpi?# ACPI Lid Switch
no acpitz*  at acpi?# ACPI Thermal Zone
no acpivga* at acpi?# ACPI Display Adapter
no acpiout* at acpivga? # ACPI Display Output Device
no acpiwdrt*at acpi?# ACPI Watchdog Resource Table
no acpiwmi* at acpi?# ACPI WMI Mapper
no aibs*at acpi?# ASUSTeK AI Booster hardware monitor
no asus*at acpi?# ASUS hotkeys
com*at acpi?# Serial communications interface
fdc*at acpi?# Floppy disk controller
no fujbp*   at acpi?# Fujitsu Brightness & Pointer
no fujhk*   at acpi?# Fujitsu Hotkeys
#no hpet*   at acpihpetbus? # High Precision Event Timer (table)
no hpet*at acpinodebus? # High Precision Event Timer (device)
no joy* at acpi?# Joystick/Game port
lpt*at acpi?# Parallel port
no mpu* at acpi?# Roland MPU-401 MIDI UART
no sdhc*at acpi?# SD Host Controller
no sony*at acpi?# Sony Notebook Controller
no spic*at acpi?# Sony Programmable I/O Controller
no wsmouse* at spic?# mouse
no thinkpad*at acpi?# IBM/Lenovo Thinkpad hotkeys
no ug*  at acpi?# Abit uGuru Hardware monitor
no wb*  at acpi?# Winbond W83L518D SD/MMC reader
no sdmmc*   at wb?  # SD/MMC bus
no wmidell* at acpiwmibus?  # Dell WMI mappings
no wmieeepc*at acpiwmibus?  # Asus Eee PC WMI mappings
no wmihp*   at acpiwmibus?  # HP WMI mappings
no wmimsi*  at acpiwmibus?  # MSI WMI mappings
no pwdog*   at pci? # QUANCOM PWDOG1
no pci* at pchb?
#no pcib*   at pci? # PCI-ISA bridges
no puc* at pci? # PCI "universal" comm. cards
#no ichlpcib*   at pci? # Intel ICH PCI-LPC w/ timecounter,
no fwhrng*  at ichlpcib?# Intel 82802 FWH Random Number Generator
hpet*   at ichlpcib?
no aapic*   at pci? # AMD 8131 IO apic
no isa0 at mainbus?
#no isa0at pcib?
#no isa0at ichlpcib?
no cbb* at pci?
no cardslot*at cbb?
no cardbus* at cardslot?
no pcmcia*  at cardslot?
no pckbc0   at isa? # pc keyboard controller

Re: toolchain/52722: config(8) busy-loops, then cores

2017-11-17 Thread John D. Baker
Following this commit:

  http://mail-index.netbsd.org/source-changes/2017/11/16/msg089749.html

the stock kernels in a release build fine, but when trying to build the
first of my custom kernels, "nbconfig" spins, consuming most of the CPU.
It doesn't seem to be eating memory, however.

In the most recent attempt it has been spinning for 45 minutes so far.

-- 
|/"\ John D. Baker, KN5UKS   NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]comOpenBSDFreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645