From owner-freebsd-hackers Wed Mar 21 11:58:55 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from relayout1.micronpc.com (meihost.micronpc.com [209.19.139.2]) by hub.freebsd.org (Postfix) with ESMTP id F012537B729 for ; Wed, 21 Mar 2001 11:58:38 -0800 (PST) (envelope-from mpsimerson@hostpro.com) Received: from mei00wssout01.micron.com (mei00wssout01.micronpc.com [172.30.41.216]) by relayout1.micronpc.com (2.5 Build 2640 (Berkeley 8.8.6)/8.8.4) with SMTP id MAA02754 for ; Wed, 21 Mar 2001 12:58:11 -0700 Received: from 172.30.41.146 by mei00wssout01.micron.com with ESMTP ( Tumbleweed MMS SMTP Relay(WSS) v4.5); Wed, 21 Mar 2001 12:58:12 -0700 X-Server-Uuid: 6b1d535a-5b27-11d3-bf09-00902786a6a3 Received: by imcout1.micronpc.com with Internet Mail Service ( 5.5.2650.21) id ; Wed, 21 Mar 2001 12:58:38 -0700 Message-ID: <8D18712B2604D411A6BB009027F6449801B4B53D@0SEA01EXSRV1> From: "Matt Simerson" To: freebsd-hackers@freebsd.org Subject: RE: 4.3-BETA world crashing 4.2-RELEASE kernel ? Date: Wed, 21 Mar 2001 12:58:04 -0700 X-Mailer: Internet Mail Service (5.5.2650.21) MIME-Version: 1.0 X-WSS-ID: 16A7D85E266764-01-01 Content-Type: text/plain Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Here's how I do a make world: # screen # cvsup /etc/cvsup-stable ; grab the latest sources # cd /usr/src # make buildkernel KERNEL= # ctrl-A c ; creates a new virtual terminal # cd /usr/src; make buildworld # ctrl-A d ; detaches your current screen session At this point you wait a while. I typically start one of these at the end of the day and then go home. When I get home I can ssh into the machine: # ssh host.with.newworld.com # su - # screen -r ; reattaches me to my screen session Now I can see the output of the build commands and if everything looks good, I finish it up as follows: # make installworld # make installkernel # mergemaster # reboot Works like a charm nearly every time (on some older systems it's necessary to build the kernel the old way). Matt > -----Original Message----- > From: Daryl Chance [mailto:dchance@valuedata.net] > Sent: Wednesday, March 21, 2001 11:00 AM > To: mathieu@amx.dyn.dhs.org > Cc: freebsd-hackers@freebsd.org > Subject: Re: 4.3-BETA world crashing 4.2-RELEASE kernel ? > > > I may go about it wrong, but when I upgrade releases I do this: > > make buildworld > make installworld > reboot > > config > cd ../../conf/ > make depend && make && make install && reboot > > the gist, I think you need to build the world before the > kernal....that > *might* be your problem, I don't know :). > > HTH, > - > Daryl Chance | And which parallel universe did > ValueData, LLC | YOU crawl out of? > Memphis, TN | - http://www.thinkgeek.com > ----- Original Message ----- > From: "Mathieu" > To: "Daryl Chance" > Cc: > Sent: Wednesday, March 21, 2001 12:05 PM > Subject: Re: 4.3-BETA world crashing 4.2-RELEASE kernel ? > > > > Interesting.. I didn't know -O2 could do that. :p > > > > But I don't think I compiled with any optimisations, nothing in my > > make.conf, nothing in my kernel config file. What I did to > upgrade was > > CVSup, Backuping /etc, make buildkernel, make buildworld, make > > installkernel, reboot, make installworld, reboot, > mergemaster, reboot ! > > And then it worked fine for 24 hours ! Did I foget something ? > > > > Daryl Chance wrote: > > > > > > Are you compiling with any optimizations? I had a problem similar > > > to this in that ssh, ftp, apache were running, and I could connect > > > on my internal network....but connections from the > outside (like me > > > trying to connect to it from work) would either make it seem the > > > machine was "locked down". you could ping and see that it was > > > alive, but you couldn't get in through SSH or anything else. I > > > traced it down to a compile I did with kernal optimizations (-02), > > > so I turned that off, rebuilt the kernal, rebooted and > all was fine. > > > > > > - > > > Daryl Chance | And which parallel universe did > > > ValueData, LLC | YOU crawl out of? > > > Memphis, TN | - http://www.thinkgeek.com > > > ----- Original Message ----- > > > From: "Mathieu" > > > To: > > > Sent: Wednesday, March 21, 2001 11:25 AM > > > Subject: 4.3-BETA world crashing 4.2-RELEASE kernel ? > > > > > > > Hello ! > > > > > > > > First, sorry I don't speak English very well :p Usually > speak French ! > > > > > > > > I have a problem with a FreeBSD server that is far far > away, so I > don't > > > > have access to the console. As far as I know, it worked > fine with > > > > 4.2-RELEASE for... hmm, 2 days, then I upgraded it to the latest > STABLE > > > > (4.3-BETA), and the server worked fine for 24 hours or > so, but then, > the > > > > server locked up. It was still answering to pings, but > all daemons > > > > weren't responding anymore. I could still telnet to it, > but I was just > > > > not getting the login prompt, same thing for Apache, > FTP, SSH... I can > > > > connect, but no answers. > > > > > > > > I asked to reboot it many time. And each time, I can > telnet to it, and > > > > get the login prompt (!), but that's strange... seems > it can't fork a > > > > shell... I don't even get the motd, just the "Last > login from..." > thing. > > > > But sometime SendMail is working, and I could send mail > to the account > > > > previously created on the machine. But all the servers > always die in > > > > something like, 5 minutes.. Then it still answers to > pings, but just > no > > > > answers from Telnet/Apache/FTP, etc... :( > > > > > > > > However, the technicians there were able to do a make > world in single > > > > user mode, worked fine. But in multi user mode, the > server seems to > > > > consume all his ressources, and then processes start to crash > randomly, > > > > and there is also files corrumption, and always some > kind of error > > > > messages like "Cannot kill process", things like that, > they don't know > > > > what's causing this. > > > > > > > > Of course, technicians there want to bill me 100$ to reinstall > > > > 4.2-RELEASE.. hehehe :p But luckily, I've backuped a 4.2-RELEASE > kernel > > > > in the root. So, now, the computer does exactly the > same thing with > the > > > > 4.2 kernel, exactly. But those technicians still says > that the problem > > > > came from the 4.3-BETA environnement (hmm, the "world" > !), not the > > > > kernel, nor the hardware, so they have to "repair" what > I've broken > ($). > > > > :( > > > > > > > > So, is it safe to say that the world is indenpendent of > the hardware > so > > > > this problem should reproduce on all 4.3 system around > the planet > > > > (Hehehe, personnaly, it works fine on my computer ! > :p), or could this > > > > really be a bug NOT in the FreeBSD kernel that causes > the machine to > die > > > > in 5 minutes or so in multi user mode (even will it is idle !) ? > > > > > > > > Thanks ! And sorry for this long long long e-mail :p > > > > > > > > I've attached a DMESG from 4.2-RELEASE, sorry... I > don't have a more > > > > recent one. > > > > > > > > -- > > > > Mathieu > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-hackers" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message