From owner-freebsd-questions Mon Jul 17 19: 9:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from sparenix.metronet.com (sparenix.metronet.com [207.170.106.3]) by hub.freebsd.org (Postfix) with SMTP id B7C5C37B84B for ; Mon, 17 Jul 2000 19:09:37 -0700 (PDT) (envelope-from jmanley@metronet.com) Received: (qmail 14692 invoked by uid 7770); 18 Jul 2000 02:09:25 -0000 Received: from fcn105-93.tmi.net (HELO darkstar.metronet.com) (207.170.105.93) by sparenix.metronet.com with SMTP; 18 Jul 2000 02:09:25 -0000 From: Jim Manley Reply-To: jmanley@metronet.com To: freebsd-questions@freebsd.org Subject: 4.1-RC hangs on boot Date: Mon, 17 Jul 2000 20:37:15 -0500 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain Cc: jmanley@metronet.com MIME-Version: 1.0 Message-Id: <00071721060100.00422@darkstar.metronet.com> Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay. After gleaning the mail archives of the last two weeks, I managed = to sort out what was required to get a kernel built to with the post 7/6 sou= rces. I cvsup'd my 4.0-stable sources on 7/11 and used the following procedure to build sources and kernel: # make buildworld (no problems encountered here) # make buildkernel KERNEL=3DMYKERNEL (no problems) # make installkernel KERNEL=3DMYKERNEL (Now I had a kernel called "MYKERN= EL" in /) # cd / # chflags noschg kernel # mv kernel kernel.old # chflags noschg MYKERNEL # mv MYKERNEL kernel # chflags schg kernel # shutdown now # make installworld (no problems here) # mergemaster (basically installed all the updated files except /etc/rc.c= onf, /etc/hosts, and a few others that I had previously modified) # reboot Here's where things went to hell in a handbasket. The system loads the n= ew kernel and starts to boot. On the screen, I get to=20 =09'Doing inital network setup: hostname ." and it hangs up. Won't respond to the keyboard. I have to reset the har= dware to recover. I've gone through the rc.network script and, by placing a judicious numbe= r of "echo" commands, found that I'm getting to the portion of the script that= deals with DHCP: =09dhcp_interfaces=3D"" =09for ifn in ${network_interfaces}; do =09=09if [ -r /etc/start_if.${ifn} ]; then =09=09=09. /etc/start_if.${ifn} =09=09=09eval showstat_$ifn=3D1 =09=09fi =09=09# Do the primary ifconfig if specified =09=09# =09=09eval ifconfig_args=3D\$ifconfig_${ifn} =09=09echo $ifconfig_args #jim added I know I'm getting this far since the echo statement I added spews out va= lues for $ifconfig_args. =20 =09=09case ${ifconfig_args} in =09=09'') =09=09=09;; =09=09[Dd][Hh][Cc][Pp]) =09=09=09# DHCP inits are done all in one go below =09=09=09dhcp_interfaces=3D"$dhcp_interfaces $ifn" =09=09=09eval showstat_$ifn=3D1 =09=09=09;; Don't use DHCP so it's not set in either /etc/defaults/rc.conf or /etc/rc= =2Econf. =09=09*) =09=09=09ifconfig ${ifn} ${ifconfig_args} Here's where things die since I never get the output of the ifconfig com= mand that I do when I boot the old (pre 7/6 4.0-stable) kernel file. =09=09=09eval showstat_$ifn=3D1 =09=09=09;; =09=09esac =09done If I reboot the machine and load /kernel.old, everything works just fine = (well, I did have to turn off the linux emulation). I've gone through the email archives since 7/1 and haven't found where an= yone else has reported a similar problem. If anybody has any ideas, I'd appreciate the help. Regards, Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message