linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jon Smirl <jonsmirl@yahoo.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: how to use udev
Date: Sat, 03 Jan 2004 06:01:45 +0000	[thread overview]
Message-ID: <20040103060145.23737.qmail@web14911.mail.yahoo.com> (raw)
In-Reply-To: <3FF61CFA.2080501@mail.ru>

udev won't work if sysfs isn't mounted. from fstab...
none                    /sys                    sysfs   defaults        0 0

Does your sysfs directory have a class directory?
under the various classes do they have dev attributes?
For example: /sys/class/tty/console/dev

Without these dev entries udev won't work. They should be automatically
generated by the device drivers.

--- Roman Duka <rduka@mail.ru> wrote:
> > If you go into the test directory, after installing udev, and run the
> > test.all script as root with the 'add' paramater:
> > 	test.all add
> > 
> > Do you see new nodes show up in /udev?
> > 
> > If not, something is not installed properly.
> > 
> > If there are nodes, great, it's working :)
> > 
> 
> No Greg I don't get anything in /udev the script calls udev and there 
> are no error messages or anything, however /udev is still empty I need 
> to ask you a few questions:
> - I compiled udev on Linux running kenel 2.4.20, however I am trying to 
> get udev working on kernel 2.6.0 which has support for hot-pluggable 
> devices and module loading/unloading enabled. I don't think I need to be 
> running kernel 2.6.0 in order to just compile udev, am I correct here??
> - I didn't switch my system to kernel 2.6.0 and udev, I am trying to 
> test it within initrd (Initial Ram Disk), so what I have is a 
> subdirectory in my home directory, where I installed busybox, bash, 
> insmod, modprobe, hotplug scripts and udev, plus the needed shared 
> libraries in /lib. Note I installed udev with the following command 
> "make DESTDIR=mydir install" i.e. I didn't use "prefix" so all the 
> config files etc should be relative to the root directory, and I've 
> checked them, they're fine. I created a initrd and put it on a CD-RW 
> disk and that's what I am booting from and testing udev. My question is, 
> does running udev withing initrd make any impact on its operations? May 
> be the reason why it doesn't work for me is because it has some issues 
> in initrd environment???
> 
> If nothing else, what else do you think could be wrong??
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&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


==Jon Smirl
jonsmirl@yahoo.com

__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&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

  parent reply	other threads:[~2004-01-03  6:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-03  1:38 how to use udev Roman Duka
2004-01-03  4:53 ` Greg KH
2004-01-03  5:54 ` Roman Duka
2004-01-03  5:56 ` Greg KH
2004-01-03  6:01 ` Jon Smirl [this message]
2004-01-03  6:10 ` Roman Duka
2004-01-03  6:18 ` Roman Duka
2004-01-03  6:26 ` Roman Duka
2004-01-03  6:31 ` Jon Smirl
2004-01-03  6:39 ` Roman Duka
2004-01-03  6:55 ` Roman Duka
2004-01-03  6:58 ` Greg KH
2004-01-03  7:00 ` Greg KH

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=20040103060145.23737.qmail@web14911.mail.yahoo.com \
    --to=jonsmirl@yahoo.com \
    --cc=linux-hotplug@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).