[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: udev HOWTO?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is getting Off-Topic really fast...

Am Donnerstag, 25. März 2004 16:19 schrieb Craig Dickson:
> Patrick Dreker wrote:
> > I am actually using udev here on my production desktop, so it *is* usable
> > (and /dev/console is there...). The only thing that really gave me a
> > headache, was that I did not have devpts compiled into my kernel. After
> > adding that most of the system worked as before...
> Okay, so you installed udev from unstable, rebuilt your kernel with
> devpts, and that's it? No udev customization required?
No custimization was required to get the system up and running. Of course I 
had to add some rules to get my usb-storage devices to always have the same 
device (or rather their devices are always linked to the same file, 
like /dev/sdX (memstick) -> /dev/memstick). Changing or adding the entries to 
fstab is of course also needed. udev uses a devfs like naming scheme 
(/dev/bus0/host0/disc0.....) by default, but automatically cretates link to 
the "classic" devices (hda e.g.).

Aside from the usb-storage devices I had to tweak the settings for my USB 
printer, which was not assigned a device for some reason (at least it was not 
assigned a device CUPS was willing to use with the USB backend). Part of the 
trouble I had, may have been the fact, that I had to learn how to write 
rules, so I probably made some mistakes.

Currently my DVD-+RW is not recognized by k3b. It seems like udev does not 
make the needed links (hdc) but I have not really looked into that. Aside 
from that my system seems to work fine.

> Right, so you need ramfs in your kernel also, right? (Or as a module.) I
> have that already, but it's not something I've seen noted as a
> requirement before.
I don't know if udev itself needs ramfs, or if that is a speciality of the 
debian initscript for udev. But yes: ramfs is required (at least for the SID 
package).

> My idea of a rescue CD these days is Knoppix. Hmm. My Knoppix CD is about
> a year or more old, I think; better update it...
Knoppix is fine. Just take care, that you can mount your harddisks, more isn't 
required. After disabling the etc/init.d/udev script the system should come 
back up without udev, so one can apt-get remove it. Actually when I found 
that my DVD-RW didn't work directly, I simply removed udev, rebooted, burned 
a DVD and reinstalled udev... A quick and dirty workaround until I have more 
time...

Always remember: this is rather "bleeding edge"... You're out on the wild side 
of OSS... ;-) But the more people give it a try and report bugs, the better 
it will get.

Patrick
- -- 
Patrick Dreker

GPG KeyID  : 0xFCC2F7A7 (Patrick Dreker)
Fingerprint: 7A21 FC7F 707A C498 F370  1008 7044 66DA FCC2 F7A7
Key available from keyservers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAYv/0cERm2vzC96cRAu8RAJ9Esn3ID7ADkEsi94Z4upQvMiseiQCcDIbI
e2UO8oa7U89MUoCQRzsnTU8=
=A4jD
-----END PGP SIGNATURE-----



Reply to: