Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Nov 2000 02:02:50 +0900
From:      "Akinori MUSHA" <knu@idaemons.org>
To:        Marcel Moolenaar <marcel@FreeBSD.org>
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
Message-ID:  <86vgu6b939.wl@daemon.local.idaemons.org>
In-Reply-To: <200011020608.WAA56694@freefall.freebsd.org>
References:  <200011020608.WAA56694@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <morganw@chemicals.tacorp.com>
>   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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86vgu6b939.wl>