All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: gerneral question for linux-2.6 and udev and hotplug
Date: Fri, 30 Sep 2005 17:07:01 +0000	[thread overview]
Message-ID: <20050930170701.GA18039@vrfy.org> (raw)
In-Reply-To: <11E3973D1E78D311A5B400508B4A70CE02B3CEE1@COMSRVR>

On Fri, Sep 30, 2005 at 10:51:55AM -0400, Gavin Li wrote:
> All,
> 
> I am trying migrate to 2.6 kernel from 2.4.
> I copied RedHat FC3 kernel binary vmlinuz-2.6.9-1.667 to my harddrive, and
> /bin /sbin and /lib /usr/ are also copied.
> I didn't copy /etc to my harddrive, I installed hotplug-2004_09_23 to my
> /etc
> In my /etc/inittab, I set start script to my own start script, which is
> /etc/rc.d/rcS

Hell, what are you doing? How about installing a recent distro version
and everything will just work out of the box?

> My problem is:
> when I plug in a USB flash drive, nothing happened, I can't find hotplug is
> working
> 
> Then I change echo /sbin/udevsend > /proc/sys/kernel/hotplug to echo
> /sbin/mytest > /proc/sys/kernel/hotplug
> 
> and mytest script is :
> echo "starting hotplug" > /tmp/tmp.txt
> 
> then I do plug/unplug USB flash drive, the file size of /tmp/tmp.txt is 0,
> which means mytest script is never got executed.
> 
> Anything I did wrong? or do I miss something

Yes, the very first thing you did wrong is messing around with an old
installation and mixing completely incompatible components!

The script is broken, I expect. Does it have #!/bin/sh? Is it executable?

> One more question:If I use udev-070, do I still need to compile and install
> sysfsutils and/or sysutils?

No, it's not needed or useful.

Kay


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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

  reply	other threads:[~2005-09-30 17:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30 14:51 gerneral question for linux-2.6 and udev and hotplug Gavin Li
2005-09-30 17:07 ` Kay Sievers [this message]
2005-10-01  0:30 ` Patrick Mansfield

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=20050930170701.GA18039@vrfy.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.