linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Udev problem
@ 2004-08-30  7:12 Sander Knopper
  2004-09-08 23:13 ` Greg KH
  2004-09-09  8:33 ` Kay Sievers
  0 siblings, 2 replies; 3+ messages in thread
From: Sander Knopper @ 2004-08-30  7:12 UTC (permalink / raw)
  To: linux-hotplug

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.

Hotplugging works fine, when I plug in my ipod I get a kernel message but udev 
doesn't create some block devices for me.

Is this a problem of udev, or shouldn't I be trying to use udev in a 
uclibc/busybox environment?

Ow, I'm using the latest version (030) by the way.....


Thanks in advance,

Sander Knopper


-------------------------------------------------------
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

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

* Re: Udev problem
  2004-08-30  7:12 Udev problem Sander Knopper
@ 2004-09-08 23:13 ` Greg KH
  2004-09-09  8:33 ` Kay Sievers
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2004-09-08 23:13 UTC (permalink / raw)
  To: linux-hotplug

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?

thanks,

greg k-h


-------------------------------------------------------
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

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

* Re: Udev problem
  2004-08-30  7:12 Udev problem Sander Knopper
  2004-09-08 23:13 ` Greg KH
@ 2004-09-09  8:33 ` Kay Sievers
  1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2004-09-09  8:33 UTC (permalink / raw)
  To: linux-hotplug

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

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

end of thread, other threads:[~2004-09-09  8:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-30  7:12 Udev problem Sander Knopper
2004-09-08 23:13 ` Greg KH
2004-09-09  8:33 ` Kay Sievers

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).