From owner-freebsd-current Tue Aug 25 12:24:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA19100 for freebsd-current-outgoing; Tue, 25 Aug 1998 12:24:58 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA19089 for ; Tue, 25 Aug 1998 12:24:53 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id LAA12243; Tue, 25 Aug 1998 11:57:25 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpdN12241; Tue Aug 25 18:57:22 1998 Date: Tue, 25 Aug 1998 11:57:20 -0700 (PDT) From: Julian Elischer To: Andrzej Bialecki cc: freebsd-current@FreeBSD.ORG Subject: Re: Panic with DEVFS In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG is it possible to find out which device it is? disabled devices should not show up in devfs as they should not be probed and the probe routine should be responsible for adding the devfs entries.. (actually the attach routine but...) except for devices that do not probe, (e.g. /dev/mem) which do it in their init routine. On Tue, 25 Aug 1998, Andrzej Bialecki wrote: > Hi, > > It was pointed to me that it's very easy to panic -current system running > DEVFS on /dev, with / on MFS. > > The problem manifested itself with picobsd floppy. The following scenario > causes panic with "mfs_strategy: bad dev": > > 1. boot with -c > 2. disable at least one device > 3. log in > 4. cd /dev > 5. ls -l > > What's funny is that when I do 'ls' (without -l) in step 5., everything is > ok. > > My guess is that DEVFS doesn't like these devices which are present in > kernel, but are disabled... > > Andrzej Bialecki > > +---------------------+------------------------+--------------------------+ > | | When in problem or in | if(halt_per_mth > 0) { | > | Research & Academic | doubt, run in circles, | fetch("FreeBSD"); | > | Network in Poland | scream and shout. | } | > + --------------------+------------------------+--------------------------+ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message