linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* little udev problem - loop devices instead of hda devices!
@ 2004-02-12 15:50 fbarton
  2004-02-12 21:03 ` John L. Fjellstad
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fbarton @ 2004-02-12 15:50 UTC (permalink / raw)
  To: linux-hotplug

I'm not posting this from the affected machine, so apologies if any vital 
information is missing.

I am running Fedora Core 1 and I recently compiled kernel 2.6.2 as an upgrade. 
I was intrigued to see that devfs, which I had previously found useful, was 
labelled OBSOLETE and so I decided to see what udev was all about.

Reading Greg's FAQ etc I can see that udev is going to be great. I installed 
udev 0.16 last night and had a play with the config/rules/permissions files. 
When eventually I felt ready to reboot I took a deep breath and did it.

Overall, it seemed to handle most of my devices just fine, and I got a really 
slimline /udev directory with all my devices just sitting there and no crud.

Except... no hard drive. The computer didn't actually boot because it couldn't 
find a console. Using my rescue disk I went in and mknodded a /dev/console 
file. The next time it booted a bit further until it said "Error: canot 
find /dev/hda1 - no such file or device" (I paraphrase).

I have seven partitions on my single hard drive: hda1 - hda7. None of these 
were there in /dev or /udev. I hadn't changed anything to do with ide or hda in 
the config files, AFAIK.

What I had instead was /udev/loop0 ... /udev/loop7 - very suspicious! For some 
reason instead of loading hda devices it was loading loop devices - seven of 
them (this is no coincidence I'm sure!). (The loop nodes were char-major 7 as 
you would expect). And in /dev I had all the redundant hda files from hda8 
upwards.

Can anyone help with these questions please:

What should I do to make sure my hda partitions are found at boot time? Why are 
the loop devices being created instead? Is it safe yet to empty /dev and just 
rely on /udev when things are properly configured (and presumably udev then 
somehow symlinks from /dev or intercepts calls to /dev/* and uses /udev/* 
instead)? Should I just go in and mknod my hda* devices again or would that not 
be a good idea? Anyone have an idea what I might have set up wrong; or does 
this look as if a piece of software is missing???

Sorry I can't post my /etc/udev/* files very easily, but I can get at them if 
needed.

Many thanks,

Francis Barton


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-02-21 17:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-12 15:50 little udev problem - loop devices instead of hda devices! fbarton
2004-02-12 21:03 ` John L. Fjellstad
2004-02-13  1:32 ` Greg KH
2004-02-15  3:28 ` Francis Barton
2004-02-21 17:43 ` Francis Barton
2004-02-21 17:51 ` Jon Smirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).