From owner-freebsd-stable@FreeBSD.ORG Mon Jul 28 22:17:56 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D363D26 for ; Mon, 28 Jul 2014 22:17:56 +0000 (UTC) Received: from mail-vc0-x22a.google.com (mail-vc0-x22a.google.com [IPv6:2607:f8b0:400c:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3E8DC2AB0 for ; Mon, 28 Jul 2014 22:17:56 +0000 (UTC) Received: by mail-vc0-f170.google.com with SMTP id lf12so12272200vcb.29 for ; Mon, 28 Jul 2014 15:17:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=IF16LWFBHWN2D6lbv4EcXVNn8ET8BX/3gg2VZIYcccM=; b=xU1pbykYMh15SHp95nSgAY2749QzvGeAtH3X5J96nK8bqdwz3Wl3au7dr7Tmfimyrn JireWEga4VoEnyMXxz/ksVOYx5E4X695BHscuS0hfNUmyZsa9U59nhuj8tihksE2LReP 9E3RKHSbxj94FLdGCvKnJsUAhT2BwLgK2k9SrpUT1JzSs12xf9ALwAa07fzoTYLWdXig LiThvFFm1CmQ11NZ4IL/BFfIMja9Bt8fkRwAU8MR0lyPr2Aj6Y512R41CrTT3tiHTKhH 0t89m3WIeTjZKuCWfsRnJ9JTMcWOnCNqeSrrt+Tw13XsjfJXmxuyIsXPZnI8c8Pt1yos 4n+g== MIME-Version: 1.0 X-Received: by 10.52.36.80 with SMTP id o16mr279954vdj.58.1406585875306; Mon, 28 Jul 2014 15:17:55 -0700 (PDT) Received: by 10.220.194.68 with HTTP; Mon, 28 Jul 2014 15:17:55 -0700 (PDT) In-Reply-To: References: Date: Tue, 29 Jul 2014 00:17:55 +0200 Message-ID: Subject: Re: Recent 10-STABLE powers off during boot if SMP is enabled From: Nikolay Denev To: FreeBSD Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2014 22:17:56 -0000 On Mon, Jul 28, 2014 at 10:02 PM, Nikolay Denev wrote: > Hi, > > I've just upgraded from a few months old 10-STABLE to today's > 10-STABLE and suddenly > my machine started to poweroff during boot. > The machine itself is a bit old and quirky (HP ex470) and the kernel > is with RCTL, VIMAGE and other stuff not in GENERIC. > > The last thing that flashes on the screen before powering off is this > : http://tinypic.com/r/2uf3oqt/8 > > I've then tried to add "kern.smp.disabled=1" in /boot/loader.conf and > it boots Ok with one CPU. > > Any ideas? > > --Nikolay Here's what I have in loader.conf: net.fibs="16" autoboot_delay="3" dtraceall_load="YES" vfs.root.mountfrom="zfs:zfs" amdtemp_load="YES" if_sge_load="YES" zfs_load="YES" aio_load="YES" kern.ipc.nmbclusters=256000 hw.ata.wc=0 dev.cpu.0.freq=2000 linux_load="YES" hw.mca.enabled=1 vfs.zfs.arc_min="256M" vfs.zfs.arc_max="1024M" ex470_load="YES" kern.geom.label.gpt.enable=1 kern.cam.ada.legacy_aliases=0 KERNCONF : cpu HAMMER ident NAS makeoptions DEBUG=-gdwarf-2 makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support options RACCT options RCTL options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options TCP_OFFLOAD # TCP offload #options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories #options UFS_GJOURNAL # Enable gjournal-based UFS journaling #options QUOTA # Enable disk quotas for UFS #options MD_ROOT # MD is a potential root device options NFSCL # New Network Filesystem Client options NFSD # New Network Filesystem Server options NFSLOCKD # Network Lock Manager #options NFS_ROOT # NFS usable as /, requires NFSCL #options MSDOSFS # MSDOS Filesystem #options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_RAID # Soft RAID functionality. options GEOM_LABEL # Provides labelization options COMPAT_FREEBSD32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options SCSI_DELAY=500 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. options KBD_INSTALL_CDEV # install a CDEV entry in /dev options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) options AUDIT # Security event auditing options CAPABILITY_MODE # Capsicum capability mode options CAPABILITIES # Capsicum capabilities options PROCDESC # Support for process descriptors options MAC # TrustedBSD MAC Framework options KDTRACE_FRAME # Ensure frames are compiled in options KDTRACE_HOOKS # Kernel DTrace hooks options DDB_CTF # Kernel ELF linker loads CTF data options INCLUDE_CONFIG_FILE # Include this file in kernel # Debugging support. Always need this: options KDB # Enable kernel debugger support. options KDB_TRACE # Print a stack trace for a panic. # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor Kernel # CPU frequency control device cpufreq # Bus support. device acpi device pci # ATA controllers device ahci # AHCI-compatible SATA controllers device ata # Legacy ATA/SATA controllers options ATA_STATIC_ID # Static device numbering device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA # ATA/SCSI peripherals device scbus # SCSI bus (required for ATA/SCSI) #device ch # SCSI media changers device da # Direct Access (disks) #device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct ATA/SCSI access) device ses # Enclosure Services (SES and SAF-TE) #device ctl # CAM Target Layer # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard #device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver #options VGA_WIDTH90 device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc options SC_PIXEL_MODE device agp # support several AGP chipsets # Serial (COM) ports device uart # Generic UART driver # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device sge # Silicon Integrated Systems SiS190/191 # Pseudo devices. device loop # Network loopback device random # Entropy device device padlock_rng # VIA Padlock RNG device rdrand_rng # Intel Bull Mountain RNG device ether # Ethernet support device vlan # 802.1Q VLAN support device tun # Packet tunnel. device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device firmware # firmware assist module device bpf # Berkeley packet filter # USB support options USB_DEBUG # enable debug msgs device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device xhci # XHCI PCI->USB interface (USB 3.0) device usb # USB Bus (required) device ukbd # Keyboard device umass # Disks/Mass storage - Requires scbus and da options VIMAGE options ROUTETABLES=8 options RADIX_MPATH