mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Taylor Carpenter <taylorcc@codecafe.com>
To: Richard Gooch <rgooch@ras.ucalgary.ca>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Oops when accessing /dev/fd0 (kernel 2.4.7 and devfsd 1.3.11)
Date: Wed, 22 Aug 2001 19:12:27 -0500	[thread overview]
Message-ID: <20010822191227.A11226@pioneer.oftheInter.net> (raw)
In-Reply-To: <20010816222811.A1672@pioneer.oftheInter.net> <200108170419.f7H4J7c20693@vindaloo.ras.ucalgary.ca> <20010821223042.A30478@pioneer.oftheInter.net> <200108220507.f7M576q25412@vindaloo.ras.ucalgary.ca>
In-Reply-To: <200108220507.f7M576q25412@vindaloo.ras.ucalgary.ca>; from rgooch@ras.ucalgary.ca on Tue, Aug 21, 2001 at 11:07:06PM -0600

On Tue, Aug 21, 2001 at 11:07:06PM -0600, Richard Gooch wrote:
> Taylor Carpenter writes:
> > 
> Well, the following line suggests a devfs interaction (provided you
> are sure that you used the correct System.map:
> > Trace; c015469b <devfs_unregister_blkdev+12eb/1960>

I can check again, but I am fairly certain it was the correct System.map (I
looked before and after when running ksymoops).

> Are you unloading the floppy driver at some point? Or using module
> autoloading?

I am using module autoloading.  It seems that right after the mountall script
is called this happens.


> Interesting. What happens if you use /dev/floppy/0 instead of /dev/fd0
> in the /etc/fstab? Still an Oops?

I will try that...  

I did not get the oops, but I could not access the device until I manually
loaded the floppy module (the /dev/fd0 was created as usual).

After booting w/the floppy module not loaded I can start and stop devfsd and
load and unload the floppy module in any order w/o an oops. I only get the
oops if the module is loaded during boot.

Also when I get the oops during boot, the floppy module is not loaded once the
system is through booting and I login, but /dev/fd* are all there!  With out
the oops /dev/fd* is only there when I load the floppy module (and disappears
as usual when I rmmod the module).


> Strange. I tried the following sequence, without problems:
> # devfsd /dev
> # mount /floppy
> # ls -lF /dev/floppy

I could not mount the floppy until I manually loaded the floppy module!  This
is after editing /etc/fstab as you said below.

> 
> where /etc/fstab has:
> /dev/floppy/0  /floppy  ext2  defaults,noauto,user  0 0
> 
> I have nothing in my /etc/devfsd.conf which refers to the floppy.

I only reference floppy in my perms file.

> In addition, I don't have any LOOKUP entries. I did this with 2.4.9 with
> devfs-patch-v188.

I have many LOOKUP entries.  I did not have any specific to /dev/fd*, but that
was caught by the .* LOOKUP entry.  I commented that out, which is probably
why mdir and other commands do not work w/o manually loading floppy.o.

> Could you please try reproducing the problem with the setup and sequence I
> used?

I believe I followed your steps, and had no oops during boot w/the /etc/fstab
change.  I do not think that made the difference though.  I think telling
devfsd to not autoload floppy is what let me boot w/o oops.  So I think there
still is a problem w/loading the floppy module during boot.

  reply	other threads:[~2001-08-23  0:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-17  3:28 Taylor Carpenter
2001-08-17  4:19 ` Richard Gooch
2001-08-22  3:30   ` Taylor Carpenter
2001-08-22  9:00     ` Steve Hill
2001-08-22 10:47       ` Alan Cox
2001-08-22 10:48         ` Steve Hill
2001-08-22 10:53           ` Alan Cox
2001-08-22  5:07   ` Richard Gooch
2001-08-23  0:12     ` Taylor Carpenter [this message]
2001-08-23  5:05     ` Richard Gooch
2001-08-25 16:28       ` Taylor Carpenter
2001-09-03 23:07       ` Richard Gooch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010822191227.A11226@pioneer.oftheInter.net \
    --to=taylorcc@codecafe.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rgooch@ras.ucalgary.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®