From owner-freebsd-current Thu Nov 2 9: 3: 1 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail.rdc1.kt.home.ne.jp (ha1.rdc1.kt.home.ne.jp [203.165.9.242]) by hub.freebsd.org (Postfix) with ESMTP id 4CB2437B4C5; Thu, 2 Nov 2000 09:02:53 -0800 (PST) Received: from daemon.local.idaemons.org ([203.165.161.10]) by mail.rdc1.kt.home.ne.jp (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20001102170252.JIME1774.mail.rdc1.kt.home.ne.jp@daemon.local.idaemons.org>; Thu, 2 Nov 2000 09:02:52 -0800 Received: by daemon.local.idaemons.org (8.11.0/3.7W) id eA2H2o157882; Fri, 3 Nov 2000 02:02:51 +0900 (JST) Date: Fri, 03 Nov 2000 02:02:50 +0900 Message-ID: <86vgu6b939.wl@daemon.local.idaemons.org> From: "Akinori MUSHA" To: Marcel Moolenaar Cc: current@FreeBSD.org, morganw@chemicals.tacorp.com, phk@FreeBSD.org, gallatin@FreeBSD.org Subject: Re: cvs commit: src/sys/compat/linux linux_stats.c In-Reply-To: <200011020608.WAA56694@freefall.freebsd.org> References: <200011020608.WAA56694@freefall.freebsd.org> User-Agent: Wanderlust/2.3.93 (Roam) EMIKO/1.13.12 (Euglena sociabilis) FLIM/1.13.2 (Kasanui) APEL/10.2 Emacs/20.7 (i386--freebsd) MULE/4.0 (HANANOEN) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by EMIKO 1.13.12 - "Euglena sociabilis") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At Wed, 1 Nov 2000 22:08:26 -0800 (PST), Marcel Moolenaar wrote: > marcel 2000/11/01 22:08:26 PST > > Modified files: > sys/compat/linux linux_stats.c > Log: > Fix linux_ustat syscall. We only have cdevs now, so looking > for a block device isn't that useful anymore. > > Reported by: Wesley Morgan > Submitted by: gallatin > Acknowledged by: phk After this change, it panics when you perform stat against a linux block device node. Actually, emulators/vmware2 port creates some block device nodes in /compat/linux/dev, so all the vmware2 users still have ones installed. And when they hit `ls /compat/linux/dev' or `pkg_delete vmware-2.0.x.yyy', they will see their boxen panic. ;) I'm 100% sure this change caused the panic because the stack trace showed it panicked at vfinddev() called from linux_ustat(). Please fix it! ;> -- / /__ __ / ) ) ) ) / and.or.jp / ruby-lang.org Akinori -Aki- MUSHA aka / (_ / ( (__( @ idaemons.org / FreeBSD.org "We're only at home when we're on the run, on the wing, on the fly" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message