From owner-freebsd-bugs Mon Apr 9 14:40:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E8CB637B422 for ; Mon, 9 Apr 2001 14:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f39Le3i45676; Mon, 9 Apr 2001 14:40:03 -0700 (PDT) (envelope-from gnats) Date: Mon, 9 Apr 2001 14:40:03 -0700 (PDT) Message-Id: <200104092140.f39Le3i45676@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Poul-Henning Kamp Subject: Re: kern/26466: devfs panics Reply-To: Poul-Henning Kamp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/26466; it has been noted by GNATS. From: Poul-Henning Kamp To: mi@aldan.algebra.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG, julian@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: kern/26466: devfs panics Date: Mon, 09 Apr 2001 23:33:53 +0200 In message <200104092131.f39LV6C17200@misha.privatelabs.com>, mi@aldan.algebra. com writes: >On 9 Apr, Poul-Henning Kamp wrote: >= >= > The usual /dev/ad8e and the devfs /devs/rad8e are supposed to be the >= > same. Major number is 116, minor -- 68. The drive is "dangerously >= > allocated". >= > >= > >= > The /dev/ad8e can be used properly and houses my /home partition. >= > However, attempts to use /devs/rad8e, even for something as minor as >= > ``tunefs -n enable /devs/rad8e'' causes an instant panic. >= >= Please send us the details of the kernel panic (see the handbook for >= how to report usefull info. > >I know how. It is just fairly difficult to do in this case. The machine >has 1Gb of RAM and a total of 4Gb of virtual memory. I was hoping, it >would be easy to reproduce, but if you insist, I'll look around for the >dump-device, that is big enough. I'm not asking for a core dump, I'm asking for the panic string and a dump of the name table around the offending %eip >= > May be, someone will address the naming problem in devfs too :) >= > >= > Ultimately, I'd like to be able to mount devfs as /dev, so I can >= > mount the / as read-only. > >= Uhm, you need to be much more specific here... > >Well, it seems, that the only thing, that prevents me from having a >read-only / is the stuff in /dev. For example, sshd will want to chown >the tty to me when I login an close the session if it can not. Have you tried enabling DEVFS in your kernel ? It will automagically mount on /dev... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message