From owner-freebsd-questions Mon Jul 17 19:20:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id 4C1AC37B85C for ; Mon, 17 Jul 2000 19:20:49 -0700 (PDT) (envelope-from kstewart@urx.com) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id TAA00416; Mon, 17 Jul 2000 19:20:34 -0700 Message-ID: <3973BF04.ABFD8D12@urx.com> Date: Mon, 17 Jul 2000 19:20:52 -0700 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: jmanley@metronet.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 4.1-RC hangs on boot References: <00071721060100.00422@darkstar.metronet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jim Manley wrote: > > 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 sources. > > 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=MYKERNEL (no problems) > # make installkernel KERNEL=MYKERNEL (Now I had a kernel called "MYKERNEL" in /) > # cd / > # chflags noschg kernel > # mv kernel kernel.old > # chflags noschg MYKERNEL > # mv MYKERNEL kernel > # chflags schg kernel > # shutdown now I hope you cd'ed back to /usr/src Kent > # make installworld (no problems here) > # mergemaster (basically installed all the updated files except /etc/rc.conf, > /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 new > kernel and starts to boot. On the screen, I get to > > 'Doing inital network setup: hostname ." > > and it hangs up. Won't respond to the keyboard. I have to reset the hardware > to recover. > > I've gone through the rc.network script and, by placing a judicious number of > "echo" commands, found that I'm getting to the portion of the script that deals > with DHCP: > > dhcp_interfaces="" > for ifn in ${network_interfaces}; do > if [ -r /etc/start_if.${ifn} ]; then > . /etc/start_if.${ifn} > eval showstat_$ifn=1 > fi > > # Do the primary ifconfig if specified > # > eval ifconfig_args=\$ifconfig_${ifn} > echo $ifconfig_args #jim added > > I know I'm getting this far since the echo statement I added spews out values > for $ifconfig_args. > > case ${ifconfig_args} in > '') > ;; > [Dd][Hh][Cc][Pp]) > # DHCP inits are done all in one go below > dhcp_interfaces="$dhcp_interfaces $ifn" > eval showstat_$ifn=1 > ;; > > Don't use DHCP so it's not set in either /etc/defaults/rc.conf or /etc/rc.conf. > > *) > ifconfig ${ifn} ${ifconfig_args} > > Here's where things die since I never get the output of the ifconfig command > that I do when I boot the old (pre 7/6 4.0-stable) kernel file. > > eval showstat_$ifn=1 > ;; > esac > done > > 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 anyone > 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 -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://www.3-cities.com/~kstewart/index.html FreeBSD News http://daily.daemonnews.org/ Bomber dropping fire retardant in front of Hanford Wild fire. http://www.3-cities.com/~kstewart/bomber.jpg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message