Date: Sun, 15 Sep 2002 05:40:04 -0700 (PDT) From: Alexander Leidinger <Alexander@Leidinger.net> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/27275: kernel bug Message-ID: <200209151240.g8FCe4ll038116@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/27275; it has been noted by GNATS. From: Alexander Leidinger <Alexander@Leidinger.net> To: freebsd-gnats-submit@FreeBSD.org Cc: schweikh@freebsd.org Subject: Re: kern/27275: kernel bug Date: Sun, 15 Sep 2002 14:38:45 +0200 Hi, I've got a report from a 4.6.2 System too which did a unwanted reboot after: ---snip--- Sep 15 00:11:15 barney /kernel: negative sbsize for uid = 65534 Sep 15 00:11:47 barney last message repeated 747 times Sep 15 00:13:43 barney last message repeated 5191 times Sep 15 00:19:50 barney /kernel: Copyright (c) 1992-2002 The FreeBSD Project. Sep 15 00:19:50 barney /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Sep 15 00:19:50 barney /kernel: The Regents of the University of California. All rights reserved. Sep 15 00:19:50 barney /kernel: FreeBSD 4.6.2-RELEASE #0: Mon Sep 2 11:55:11 CEST 2002 Sep 15 00:19:50 barney /kernel: root@barney.ms-net.de:/usr/src/sys/compile/MOESTAVERNE ---snip--- There's an apache running as nobody on this system. I don't know exactly what's going on in sys/kern/kern_resource.c, but I think the printf() in case sbsize is negative isn't enough. Maybe returning 0 if new is negative before we assign the new value may be needed (I'm speculating without any knowledge about sbsize only based upon comments in kern_resource.c (rev 1.107)). Bye, Alexander. -- The computer revolution is over. The computers won. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209151240.g8FCe4ll038116>