Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2011 11:49:29 +0200
From:      Olaf Seibert <O.Seibert@cs.ru.nl>
To:        Peter Jeremy <peterjeremy@acm.org>
Cc:        freebsd-stable@freebsd.org, Olaf Seibert <O.Seibert@cs.ru.nl>
Subject:   Re: Automatic reboot doesn't reboot
Message-ID:  <20110503094929.GX6733@twoquid.cs.ru.nl>
In-Reply-To: <20110503072152.GA78915@server.vk2pj.dyndns.org>
References:  <20110502143230.GW6733@twoquid.cs.ru.nl> <20110503072152.GA78915@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue 03 May 2011 at 17:21:52 +1000, Peter Jeremy wrote:
> On 2011-May-02 16:32:30 +0200, Olaf Seibert <O.Seibert@cs.ru.nl> wrote:
> >However, it doesn't automatically reboot in 15 seconds, as promised.
> >It just sits there the whole weekend, until I log onto the IPMI console
> >and press the virtual reset button.
> 
> Your reference to IMPI indicates this is not a consumer PC.  Can you
> please provide some details of the hardware.

It is a Supermicro H8DME-2 motherboard with 2 dual Opteron S-F 2000
series CPUs (according to the spec sheet I have here). The IPMI console
(front-end processor as one would call it in the mainframe years ;-) is
an AOC-SiM1U+ with KVM over a dedicated LAN port. I usually access it
via its built-in webserver. I have appendend dmesg.boot at the end.

> Are you running ipmitools or similar? 

Not so far.

> Does "shutdown -r" or "reboot" work normally?

Yes, when I last used it while upgrading from 8.1 to 8.2 "shutdown -r"
worked fine, and on previous upgrades it worked too.

I can possibly imagine that the IPMI console would press a key just at
this inconvenient moment (so that the fault is entirely outside FreeBSD's
domain), but since it doesn't seem to do this at other moments, it seems
unlikely. Would pressing a key like "shift" stop a reboot?

> >panic: kmem_alloc(131072): kmem_map too small: 3428782080 total allocated
> 
> I suggest you have a read of the thread beginning
> http://lists.freebsd.org/pipermail/freebsd-fs/2011-March/010862.html
> (note that mailman has split it into at least 3 threads).

Thanks for the link. There seem to be some contradictory advices there
though: tune vm.kmem_size to twice the physical RAM size, or the same
size, or even 1,5 times. Apparently it is supposed to default to 1 x RAM
size, but for some reason on this machine it doesn't:

$ sysctl hw.realmem hw.physmem hw.usermem vm.kmem_size
hw.realmem: 9126805504
hw.physmem: 8580272128
hw.usermem: 3317899264
vm.kmem_size: 3739230208

$ sysctl vm.kmem_size_scale
vm.kmem_size_scale: 1

despite even the tune to 2 x RAM size in /boot/loader.conf.

I can imagine that since vfs.zfs.arc_max="4G" is larger than
vm.kmem_size, this might present a problem. On the other hand the
currently set value has apparently also been adjusted down:

$ sysctl vfs.zfs.arc_max
vfs.zfs.arc_max: 2665488384

This resembles the findings of Jeremy Chadwick  in
http://lists.freebsd.org/pipermail/freebsd-fs/2011-March/010880.html .

I think, based on that, that I will simply take out these setting
altogether, and after the next reboot we'll see how that affects
matters.

> -- 
> Peter Jeremy


Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.2-RELEASE #3: Tue Apr 19 13:02:11 CEST 2011
    root@fourquid.cs.ru.nl:/usr/obj/usr/src/sys/FOURQUID amd64
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Dual-Core AMD Opteron(tm) Processor 2212 (2010.32-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x40f13  Family = f  Model = 41  Stepping = 3
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x2001<SSE3,CX16>
  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
real memory  = 8589934592 (8192 MB)
avail memory = 8267616256 (7884 MB)
ACPI APIC Table: <S M C  OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 2 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <S M C OEMXSDT> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of fec00000, 1000 (3) failed
acpi0: reservation of fee00000, 1000 (3) failed
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, dff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x2008-0x200b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory, RAM> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <nVidia nForce MCP55 USB Controller> mem 0xfe9bf000-0xfe9bffff irq 22 at device 2.0 on pci0
ohci0: [ITHREAD]
usbus0: <nVidia nForce MCP55 USB Controller> on ohci0
ehci0: <NVIDIA nForce MCP55 USB 2.0 controller> mem 0xfe9bec00-0xfe9becff irq 23 at device 2.1 on pci0
ehci0: [ITHREAD]
usbus1: EHCI version 1.0
usbus1: <NVIDIA nForce MCP55 USB 2.0 controller> on ehci0
atapci0: <nVidia nForce MCP55 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 4.0 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
atapci1: <nVidia nForce MCP55 SATA300 controller> port 0xd480-0xd487,0xd400-0xd403,0xd080-0xd087,0xd000-0xd003,0xcc00-0xcc0f mem 0xfe9bd000-0xfe9bdfff irq 21 at device 5.0 on pci0
atapci1: [ITHREAD]
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
atapci2: <nVidia nForce MCP55 SATA300 controller> port 0xc880-0xc887,0xc800-0xc803,0xc480-0xc487,0xc400-0xc403,0xc080-0xc08f mem 0xfe9bc000-0xfe9bcfff irq 22 at device 5.1 on pci0
atapci2: [ITHREAD]
ata4: <ATA channel 0> on atapci2
ata4: [ITHREAD]
ata5: <ATA channel 1> on atapci2
ata5: [ITHREAD]
atapci3: <nVidia nForce MCP55 SATA300 controller> port 0xc000-0xc007,0xbc00-0xbc03,0xb880-0xb887,0xb800-0xb803,0xb480-0xb48f mem 0xfe9bb000-0xfe9bbfff irq 23 at device 5.2 on pci0
atapci3: [ITHREAD]
ata6: <ATA channel 0> on atapci3
ata6: [ITHREAD]
ata7: <ATA channel 1> on atapci3
ata7: [ITHREAD]
pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xe000-0xe0ff mem 0xf0000000-0xf7ffffff,0xfeaf0000-0xfeafffff irq 16 at device 5.0 on pci1
nfe0: <NVIDIA nForce MCP55 Networking Adapter> port 0xb400-0xb407 mem 0xfe9ba000-0xfe9bafff,0xfe9be800-0xfe9be8ff,0xfe9be400-0xfe9be40f irq 20 at device 8.0 on pci0
miibus0: <MII bus> on nfe0
e1000phy0: <Marvell 88E1149 Gigabit PHY> PHY 2 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
nfe0: Ethernet address: 00:30:48:cd:b9:9e
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe0: [FILTER]
nfe1: <NVIDIA nForce MCP55 Networking Adapter> port 0xb080-0xb087 mem 0xfe9b9000-0xfe9b9fff,0xfe9be000-0xfe9be0ff,0xfe9b8c00-0xfe9b8c0f irq 20 at device 9.0 on pci0
miibus1: <MII bus> on nfe1
e1000phy1: <Marvell 88E1149 Gigabit PHY> PHY 3 on miibus1
e1000phy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
nfe1: Ethernet address: 00:30:48:cd:b9:9f
nfe1: [FILTER]
nfe1: [FILTER]
nfe1: [FILTER]
nfe1: [FILTER]
nfe1: [FILTER]
nfe1: [FILTER]
nfe1: [FILTER]
nfe1: [FILTER]
pcib2: <ACPI PCI-PCI bridge> at device 10.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 0.0 on pci2
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 0.1 on pci2
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 13.0 on pci0
pci5: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci6: <ACPI PCI bus> on pcib6
pcib7: <PCI-PCI bridge> at device 0.0 on pci6
pci7: <PCI bus> on pcib7
arcmsr0: <Areca SATA Host Adapter RAID Controller (RAID6 capable)
> mem 0xfebff000-0xfebfffff,0xfdc00000-0xfdffffff irq 17 at device 14.0 on pci7
ARECA RAID ADAPTER0: Driver Version 1.20.00.19 2010-11-11 
ARECA RAID ADAPTER0: FIRMWARE VERSION V1.46 2008-08-06 
arcmsr0: [ITHREAD]
pcib8: <PCI-PCI bridge> at device 0.2 on pci6
pci8: <PCI bus> on pcib8
pcib9: <ACPI PCI-PCI bridge> at device 15.0 on pci0
pci9: <ACPI PCI bus> on pcib9
acpi_button0: <Power Button> on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
uart1: [FILTER]
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcafff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
A
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
ppc0: cannot reserve I/O port range
powernow0: <PowerNow! K8> on cpu0
powernow1: <PowerNow! K8> on cpu1
powernow2: <PowerNow! K8> on cpu2
powernow3: <PowerNow! K8> on cpu3
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 480Mbps High Speed USB v2.0
acd0: DVDROM <DVD-ROM UJDA780/1.50> at ata0-slave UDMA33 
ugen0.1: <nVidia> at usbus0
uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <nVidia> at usbus1
uhub1: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ad4: 238475MB <Seagate ST3250310NS SN06> at ata2-master UDMA100 SATA 3Gb/s
ad6: 238475MB <Seagate ST3250310NS SN06> at ata3-master UDMA100 SATA 3Gb/s
GEOM_MIRROR: Device mirror/gm0 launched (2/2).
uhub0: 10 ports with 10 removable, self powered
da0 at arcmsr0 bus 0 scbus0 target 0 lun 0
da0: <Seagate ST31500341AS R001> Fixed Direct Access SCSI-5 device 
da0: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit)
da0: Command Queueing enabled
da0: 1430799MB (2930277168 512 byte sectors: 255H 63S/T 182401C)
da1 at arcmsr0 bus 0 scbus0 target 0 lun 1
da1: <Seagate ST31500341AS R001> Fixed Direct Access SCSI-5 device 
da1: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit)
da1: Command Queueing enabled
da1: 1430799MB (2930277168 512 byte sectors: 255H 63S/T 182401C)
da2 at arcmsr0 bus 0 scbus0 target 0 lun 2
da2: <Seagate ST31500341AS R001> Fixed Direct Access SCSI-5 device 
da2: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit)
da2: Command Queueing enabled
da2: 1430799MB (2930277168 512 byte sectors: 255H 63S/T 182401C)
da3 at arcmsr0 bus 0 scbus0 target 0 lun 3
da3: <Seagate ST31500341AS R001> Fixed Direct Access SCSI-5 device 
da3: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit)
da3: Command Queueing enabled
da3: 1430799MB (2930277168 512 byte sectors: 255H 63S/T 182401C)
da4 at arcmsr0 bus 0 scbus0 target 0 lun 4
da4: <Seagate ST31500341AS R001> Fixed Direct Access SCSI-5 device 
da4: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit)
da4: Command Queueing enabled
da4: 1430799MB (2930277168 512 byte sectors: 255H 63S/T 182401C)
da5 at arcmsr0 bus 0 scbus0 target 0 lun 5
da5: <Seagate ST31500341AS R001> Fixed Direct Access SCSI-5 device 
da5: 166.666MB/s transfers (83.333MHz DT, offset 32, 16bit)
da5: Command Queueing enabled
da5: 1430799MB (2930277168 512 byte sectors: 255H 63S/T 182401C)
pass6 at arcmsr0 bus 0 scbus0 target 16 lun 0
pass6: <Areca RAID controller R001> Fixed Processor SCSI-0 device 
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
GEOM: da0: partition 2 does not start on a track boundary.
GEOM: da0: partition 2 does not end on a track boundary.
GEOM: da0: partition 1 does not end on a track boundary.
GEOM: da1: partition 2 does not start on a track boundary.
GEOM: da1: partition 2 does not end on a track boundary.
GEOM: da1: partition 1 does not end on a track boundary.
Root mount waiting for: usbus1
uhub1: 10 ports with 10 removable, self powered
ugen1.2: <Peppercon AG> at usbus1
ums0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on usbus1
ums0: 3 buttons and [Z] coordinates ID=0
ukbd0: <Peppercon AG Multidevice, class 0/0, rev 2.00/0.01, addr 2> on usbus1
kbd2 at ukbd0
Trying to mount root from ufs:/dev/mirror/gm0s1a
WARNING: / was not properly dismounted
ZFS filesystem version 4
ZFS storage pool version 15
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted

(the messages about "GEOM: da0: partition..." are remainders from some
previously installed operating system that apparently were not
overwritten. The da? disks store the zpool.

-Olaf.
-- 
Pipe rene = new PipePicture(); assert(Not rene.GetType().Equals(Pipe));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110503094929.GX6733>