From owner-freebsd-questions@FreeBSD.ORG Wed Jul 9 18:56:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80C7E37B401 for ; Wed, 9 Jul 2003 18:56:53 -0700 (PDT) Received: from exit1.i-55.com (exit1.i-55.com [208.231.96.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DF2443F3F for ; Wed, 9 Jul 2003 18:56:52 -0700 (PDT) (envelope-from dpuryear@usa.net) Received: from mail.actioncore.com ([204.251.1.226]) by exit1.i-55.com (8.11.7/8.11.4) with ESMTP id h6A1uvC01434; Wed, 9 Jul 2003 20:56:58 -0500 Received: from dpboxen.usa.net (unknown [10.0.0.99]) by mail.actioncore.com (Postfix) with ESMTP id 3356660E04; Wed, 9 Jul 2003 20:56:45 -0500 (CDT) Message-Id: <5.2.1.1.0.20030709201951.030358f8@pop.netaddress.com> X-Sender: dpuryear@pop.netaddress.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Wed, 09 Jul 2003 20:53:02 -0500 To: sage-members@sage.org From: Dustin Puryear In-Reply-To: <20030708141953.GA19574@globnix.org> References: <20030708140952.GA18349@globnix.org> <5.2.1.1.0.20030707125459.04c46fe0@mail.puryear-it.com> <20030708140952.GA18349@globnix.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: [SAGE] FreeBSD 4.4-REL to FreeBSD 4.8-STABLE upgrade problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 01:56:53 -0000 Before reading below: I am considering a new install rather than an upgrade of our servers. However, now I just want to beat this problem. :) At 02:19 PM 7/8/2003 +0000, Phil Pennock wrote: >On 2003-07-08 at 14:09 +0000, Phil Pennock wrote: > > There was a fairly major update to the IDE disk device handlers which > > required new device nodes. Bringing in the new MAKEDEV script and > > running that to create the disk devices will probably let you boot on > > the new kernel and try to repair things from there. > >Okay, I'll go get more coffee after sending this. You noticed this one. >Sorry. > >There are two mergemaster steps, one which does the minimum needed to >let the rest of the build continue. Yes, I ran 'mergemaster -p' but found that it really only merged my passwd and group files with the new ones. Unless it did some other things behind the scenes then there is no fix here. >The issue is, as you note, the device stuff. As I said though, just >pull in MAKEDEV manually and run it. That will fix this. Either >"sh MAKEDEV all" or "sh MAKEDEV ad0" ... I keep thinking it's the device stuff myself, but even MAKEDEV didn't do the trick (interesting notes below this stuff): # cd /usr/src # make update # /usr/src/usr.sbin/mergemaster/mergemaster.sh -p # make buildworld # make buildkernel # make installkernel # cd /etc # mv MAKEDEV MAKEDEV.old # cp /usr/src/etc/MAKEDEV . # sh MAKEDEV all # reboot Upon reboot I get my favorite lines: blah, blah blah, blah ar0: ... [...] status: READY subdisks: 0 READY ad4: ... at ata2-master UDMA100 1 READY ad6: ... at ata3-master UDMA100 acd0: CDROM ... at ata0-master PIO4 Mounting root from ufs:/dev/ad4s1a Root mount failed: 16 Manual root filesystem specification: blah, blah Okay, so I reboot, but this time I load kernel.good and the system comes up fine with the old 4.4-REL kernel: ar0: ... [...] status: READY subdisks: ad4: ... at ata2-master UDMA100 ad6: ... at ata3-master UDMA100 acd0: CDROM ... at ata0-master using PIO4 Oh, and I found that this server has a HighPoint RAID controller which can do RAID 0, 1, 0+1, and JBOD. Looking in my array configuration I see that we have: Channel Mode Status Primary Master: Mirror (RAID 1) for array #0 UDMA 5 HDD0 Secondary Master: Mirror ... UDMA 5 Hidden I initially said that this was a Promise controller. Here is my /etc/fstab for /: /dev/ad4s1a / ufs rw 1 1 Following is /var/run/dmesg.log after booting from kernel.good: Copyright (c) 1992-2001 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 4.4-RELEASE #1: Sun Jun 30 21:23:39 CDT 2002 root@XXX:/usr/src/sys/compile/WWW Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1494468860 Hz CPU: Pentium 4 (1494.47-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf07 Stepping = 7 Features=0x3febf9ff,ACC> real memory = 268369920 (262080K bytes) avail memory = 257404928 (251372K bytes) Preloaded elf kernel "kernel.good" at 0xc0375000. md0: Malloc disk Using $PIR table, 12 entries at 0xc00fdea0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 12 pcib2: at device 30.0 on pci0 pci2: on pcib2 rl0: port 0x9000-0x90ff mem 0xd9000000-0xd90000ff irq 11 at device 3.0 on pci2 rl0: Ethernet address: 00:50:ba:60:7b:83 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci0: port 0xa400-0xa4ff,0xa000-0xa003,0x9c00-0x9c07,0x9800-0x9803,0x9400-0x9407 irq 10 at device 6.0 on pci2 ata2: at 0x9400 on atapci0 ata3: at 0x9c00 on atapci0 isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0xf000-0xf00f at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 pci0: at 31.2 irq 11 pci0: (vendor=0x8086, dev=0x2443) at 31.3 irq 0 pci0: at 31.4 irq 11 pci0: (vendor=0x8086, dev=0x2445) at 31.5 irq 9 orm0: