From owner-freebsd-hackers Wed Mar 21 9:25:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout1-100bt.midsouth.rr.com (mailout1-100bt.midsouth.rr.com [24.92.68.6]) by hub.freebsd.org (Postfix) with ESMTP id 0AA3237B72A for ; Wed, 21 Mar 2001 09:25:03 -0800 (PST) (envelope-from dchance@valuedata.net) Received: from mail.midsouth.rr.com (mail.midsouth.rr.com [24.92.68.1]) by mailout1-100bt.midsouth.rr.com (8.11.2/8.11.2) with ESMTP id f2LHOuL15675; Wed, 21 Mar 2001 11:24:56 -0600 (CST) Received: from mike ([24.95.125.205]) by mail.midsouth.rr.com (Post.Office MTA v3.5.3 release 223 ID# 0-59787U250000L250000S0V35) with SMTP id com; Wed, 21 Mar 2001 11:24:57 -0600 Message-ID: <002e01c0b22b$da43fb00$0200000a@mike> From: "Daryl Chance" To: , References: <3AB8E402.51160B75@amx.dyn.dhs.org> Subject: Re: 4.3-BETA world crashing 4.2-RELEASE kernel ? Date: Wed, 21 Mar 2001 11:24:54 -0600 Organization: ValueData, LLC MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ---------------------------------------------------------------------------- ---- > Copyright (c) 1992-2000 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.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000 > jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC > Timecounter "i8254" frequency 1193182 Hz > CPU: Pentium III/Pentium III Xeon/Celeron (735.00-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x686 Stepping = 6 > Features=0x383fbff > real memory = 66060288 (64512K bytes) > config> di sn0 > config> di lnc0 > config> di ie0 > config> di fe0 > config> di ed0 > config> di cs0 > config> q > avail memory = 60080128 (58672K bytes) > Preloaded elf kernel "kernel" at 0xc0436000. > Preloaded userconfig_script "/boot/kernel.conf" at 0xc043609c. > Pentium Pro MTRR support enabled > md0: Malloc disk > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > pci0: at 1.0 irq 0 > pcib1: at device 30.0 on pci0 > pci1: on pcib1 > fxp0: port 0xdf00-0xdf3f mem 0xff700000-0xff7fffff,0xff8df000-0xff8dffff irq 10 at device 5.0 on pci1 > fxp0: Ethernet address 00:e0:81:01:7e:be > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port 0xffa0-0xffaf at device 31.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > pci0: (vendor=0x8086, dev=0x2413) at 31.3 irq 11 > fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: at port 0x60,0x64 on isa0 > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x100> > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A, console > sio1: configured irq 3 not in bitmap of probed irqs 0 > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > ad0: 19541MB [39704/16/63] at ata0-master UDMA66 > Mounting root from ufs:/dev/ad0s1a > fxp0: promiscuous mode enabled > fxp0: promiscuous mode disabled > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message