linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: Udev problem
Date: Thu, 09 Sep 2004 08:33:28 +0000	[thread overview]
Message-ID: <1094718808.3360.10.camel@localhost.localdomain> (raw)
In-Reply-To: <200408300912.01950.sander@knopper.tk>

On Wed, 2004-09-08 at 16:13 -0700, Greg KH wrote:
> On Mon, Aug 30, 2004 at 09:12:01AM +0200, Sander Knopper wrote:
> > Hi all,
> > 
> > I've just compiled udev with uclibc and busybox but when I start 'udevstart' 
> > during boot it basically does nothing. When I use the supplied init script 
> > all it does is create those links to other files which isn't done by udev but 
> > besides that nothing is done.
> 
> Hm, try asking this on the busybox mailing lists, as I know some people
> successfully do this, but I think that udev needs some tweaks to work
> properly with uclibc.
> 
> If you do find that some changes are necessary, could you please tell us
> so that udev will work "out of the box" properly with uclibc and
> busybox?

Oops, I missed the original mail.
Feels like the mknod() is not working. Sander, could try a "strace" for
any device present on your box, but with no device node currently in
your udev-root? It may narrow down the problem.

  ACTION­d DEVPATH=/block/hda strace -s 1000 /sbin/udev block

You will get a lot of output. Close to the end, it looks like this on my box.
You will find the return values of the system calls at the end of every line:

  ...
  stat64("/udev/hda", 0xfeee2230)         = -1 ENOENT (No such file or directory)
  mknod("/udev/hda", S_IFBLK|0660, makedev(3, 0)) = 0
  chmod("/udev/hda", 060660)              = 0
  chown32("/udev/hda", 0, 6)              = 0
  ...

Thanks,
Kay



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id\x10808&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-09-09  8:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-30  7:12 Udev problem Sander Knopper
2004-09-08 23:13 ` Greg KH
2004-09-09  8:33 ` Kay Sievers [this message]

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=1094718808.3360.10.camel@localhost.localdomain \
    --to=kay.sievers@vrfy.org \
    --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).