From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 13 16:47:43 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FF401065671 for ; Wed, 13 Aug 2008 16:47:43 +0000 (UTC) (envelope-from neldredge@math.ucsd.edu) Received: from euclid.ucsd.edu (euclid.ucsd.edu [132.239.145.52]) by mx1.freebsd.org (Postfix) with ESMTP id ECEE48FC19 for ; Wed, 13 Aug 2008 16:47:42 +0000 (UTC) (envelope-from neldredge@math.ucsd.edu) Received: from zeno.ucsd.edu (zeno.ucsd.edu [132.239.145.22]) by euclid.ucsd.edu (8.11.7p3+Sun/8.11.7) with ESMTP id m7DGlfO20658; Wed, 13 Aug 2008 09:47:41 -0700 (PDT) Received: from localhost (neldredg@localhost) by zeno.ucsd.edu (8.11.7p3+Sun/8.11.7) with ESMTP id m7DGlfY17556; Wed, 13 Aug 2008 09:47:41 -0700 (PDT) X-Authentication-Warning: zeno.ucsd.edu: neldredg owned process doing -bs Date: Wed, 13 Aug 2008 09:47:41 -0700 (PDT) From: Nate Eldredge X-X-Sender: neldredg@zeno.ucsd.edu To: Kostik Belousov In-Reply-To: <20080813141059.GH1803@deviant.kiev.zoral.com.ua> Message-ID: References: <20080813132822.18394zk66kfg0xcs@webmail.leidinger.net> <20080813115413.GF1803@deviant.kiev.zoral.com.ua> <20080813160353.55171pui9o2wvm4g@webmail.leidinger.net> <20080813141059.GH1803@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Nate Eldredge , Alexander Leidinger , freebsd-hackers@freebsd.org Subject: Re: Debugging reboot with Linux emulation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2008 16:47:43 -0000 On Wed, 13 Aug 2008, Kostik Belousov wrote: > Then, the issue of mixing our reboot(2)/linux fcntl(2) is irrelevant. > The original reporter said that system "just rebooted", and I believe > that filesystems where not synced and not unmounted properly. Our > reboot(2) does not have flag combination that could cause such > behaviour, I think. You are right, file systems were not unmounted, and I doubt that they were synced either. They had to be fscked when the system came back up. > Also, I doubt that the program being run is statically linked or > run by root. Confirmation ? I did not run it as root. Sorry, I should have said that before. It is a little hard to trace their maze of shell scripts to figure out which binary was being run, but if I am looking at the right one, it is dynamically linked and branded SVR4. I will make sure later today. > Overall, this looks like a nasty bug, hopefully in the linuxolator. Indeed. -- Nate Eldredge neldredge@math.ucsd.edu