devfs
[Top] [All Lists]

Re: Removeable Media, partitions and devfs?

To: "Kevin P. Fleming" <kevin@xxxxxxxxxxxxx>
Subject: Re: Removeable Media, partitions and devfs?
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Sat, 8 Dec 2001 20:05:53 -0700
Cc: "Paul Bristow" <paul@xxxxxxxxxxxxxxx>, <Andrej.Borsenkow@xxxxxxxxxxxxxx>, <mfedyk@xxxxxxxxxxxxx>, <devfs@xxxxxxxxxxx>
In-reply-to: <000701c18011$8f1b1280$6caaa8c0@kevin>
References: <3C0C9AC5.4080504@paulbristow.net> <001801c17d15$758b6760$c8aaa8c0@kevin> <3C0D588F.9000806@paulbristow.net> <03be01c17d20$5d1b72f0$c8aaa8c0@kevin> <200112050639.fB56d0a05344@vindaloo.ras.ucalgary.ca> <00e901c17dd2$8ccffe50$c8aaa8c0@kevin> <200112060633.fB66XoZ22006@vindaloo.ras.ucalgary.ca> <3C0FED36.9050506@paulbristow.net> <200112070708.fB778bo09456@vindaloo.ras.ucalgary.ca> <000701c18011$8f1b1280$6caaa8c0@kevin>
Sender: owner-devfs@xxxxxxxxxxx
Kevin P. Fleming writes:
> > --- check.c~ Thu Oct 11 18:25:10 2001
> > +++ check.c Thu Dec  6 23:49:54 2001
> > @@ -383,6 +383,8 @@
> >
> >   dev->part[first_minor].nr_sects = size;
> >   /* No such device or no minors to use for partitions */
> > + if ( !size && dev->flags && (dev->flags[drive] & GENHD_FL_REMOVABLE) )
> > + devfs_register_disc (dev, first_minor);
> >   if (!size || minors == 1)
> >   return;
> >
> 
> I'm sorry to say that this patch does not seem to work for me. I
> applied it to 2.4.17-pre5, and installed the new kernel and rebooted
> with no media in my ZIP 250 drive. The drive did not show in either
> /dev/discs or /dev/ide at all. It _was_ found by the ide driver and
> ide-floppy driver (version 0.97.sv as shipped with 2.4.17-pre5), but
> did not show in up the /dev heirarchy anywhere.

Someone else reported having problems, and it looks to me like the
media revalidation isn't working. It used to. Check the list
archives, I asked for people to insert debugging printk()'s to find
out what's going wrong. I don't have hardware to check this.

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>