Upgrading from FreeBSD 6.1-Stable to Latest

Wil Hatfield freebsd at hyperconx.com
Wed Mar 14 18:50:32 UTC 2007


Taking this thread a little further since it is right in line with my todo
list for tonight. I currently have 6.1 installed on a Supermicro machine
with two ata drives. There has been a major bug that causes frequent kernel
panics which started at 6.0. The following build options seemed to help with
quick rebooting and recovery. But of course this week the reboots aren't
going to well and it is definately time to upgrade to 6.2-RELEASE
(RELENG_6_2) in hopes that whatever is causing the kernel panics is software
related and has been fixed.

makeoptions     DEBUG=-g
options         DDB, KDB, GDB
options         INVARIANTS
options         INVARIANT_SUPPORT
options         WITNESS_KDB
options         WITNESS_SKIPSPIN

options         BREAK_TO_DEBUGGER,ALT_BREAK_TO_DEBUGGER
options         KDB_UNATTENDED

options         QUOTA
options         PMAP_SHPGPERPROC=601
options         TCP_DROP_SYNFIN
options         SMP
options         IPFILTER
options         IPFILTER_LOG
options         IPFILTER_DEFAULT_BLOCK
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         DUMMYNET
options         IPSTEALTH
options         HZ=2000

#options                RESTARTABLE_PANICS
options         PANIC_REBOOT_WAIT_TIME=5

Will some of these options still work with 6.2-RELEASE or should I omit
something here in order to use the 6.2 release properly? I am sure there are
some since I am going from a 6.1 prerelease to a release. I am just not sure
which ones should be omitted. I still want the capability of the machine
rebooting unattended if a panic should occur.

Here is some more info in case anybody sees anything that I don't regarding
those panics. Never a single vmcore so I have found debugging quite useless.
But of course I do understand that I have alot to learn about debugging. Not
my forte.


### uname -a ###
123.domain.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Thu Apr 20 16:01:16
PDT 2006     wilh at 123.domain.net:/usr/obj/usr/src/sys/CUSTOM-KERNEL  i386

### dmesg.today ###
Copyright (c) 1992-2006 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 6.1-PRERELEASE #0: Thu Apr 20 16:01:16 PDT 2006
    wilh at 123.domain.net:/usr/obj/usr/src/sys/CUSTOM-KERNEL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3206.53-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,M
CA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,P
BE>
  Features2=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>>
  AMD Features=0x20100000<NX,LM>
  Hyperthreading: 2 logical CPUs
real memory  = 2146893824 (2047 MB)
avail memory = 2094931968 (1997 MB)
MPTable: <INTEL    Lindenhurst >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ioapic0: Assuming intbase of 0
ioapic1: Assuming intbase of 24
ioapic2: Assuming intbase of 48
ioapic3: Assuming intbase of 72
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
ioapic3 <Version 2.0> irqs 72-95 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
cpu1 on motherboard
cpu2 on motherboard
cpu3 on motherboard
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: <unknown> at device 0.1 (no driver attached)
pci0: <base peripheral> at device 1.0 (no driver attached)
pcib1: <PCI-PCI bridge> irq 16 at device 2.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <PCI-PCI bridge> at device 0.0 on pci1
pci2: <PCI bus> on pcib2
pci1: <base peripheral, interrupt controller> at device 0.1 (no driver
attached)
pcib3: <PCI-PCI bridge> at device 0.2 on pci1
pci3: <PCI bus> on pcib3
pci1: <base peripheral, interrupt controller> at device 0.3 (no driver
attached)
pcib4: <PCI-PCI bridge> irq 16 at device 4.0 on pci0
pci4: <PCI bus> on pcib4
pcib5: <PCI-PCI bridge> irq 16 at device 6.0 on pci0
pci5: <PCI bus> on pcib5
pcib6: <MPTable PCI-PCI bridge> at device 28.0 on pci0
pci6: <PCI bus> on pcib6
em0: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port
0x2000-0x203f mem 0xdd200000-0xdd21ffff irq 24 at device 1.0 on pci6
em0: Ethernet address: 00:30:48:84:f0:04
em1: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port
0x2040-0x207f mem 0xdd220000-0xdd23ffff irq 25 at device 2.0 on pci6
em1: Ethernet address: 00:30:48:84:f0:05
uhci0: <UHCI (generic) USB controller> port 0x1400-0x141f irq 16 at device
29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0x1420-0x143f irq 19 at device
29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <base peripheral> at device 29.4 (no driver attached)
pci0: <base peripheral, interrupt controller> at device 29.5 (no driver
attached)
ehci0: <Intel 6300ESB USB 2.0 controller> mem 0xdd001400-0xdd0017ff irq 23
at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: <Intel 6300ESB USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
pcib7: <MPTable PCI-PCI bridge> at device 30.0 on pci0
pci7: <PCI bus> on pcib7
pci7: <display, VGA> at device 1.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel 6300ESB UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1460-0x146f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
Timecounters tick every 1.000 msec
IP Filter: v4.1.8 initialized.  Default = block all, Logging = enabled
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled,
default to deny, logging unlimited
ad0: 190782MB <WDC WD2000JB-00KFA0 08.05J08> at ata0-master UDMA100
ad1: 190782MB <WDC WD2000JB-00KFA0 08.05J08> at ata0-slave UDMA100
acd0: CDROM <CD-224E/1.9A> at ata1-master UDMA33
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
em0: link state changed to UP
















More information about the freebsd-questions mailing list