linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: udev hang
@ 2004-05-17  1:35 jnf
  2004-05-19  7:18 ` Greg KH
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jnf @ 2004-05-17  1:35 UTC (permalink / raw)
  To: linux-hotplug

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

Hi,

I was told to post my query here just so it would be public/get archived 
by the search engines. I recently installed udev under 2.6.6, I originally 
had some problems with it, but as it turned out that part of it was an ID 
10 T error in that the default config used rules located in 
'/etc/udev/rules.d' and '/etc/udev/permissions.d' [im on slackware, i 
think the config/install mightve detected me as gentoo?], anyways my fault 
i shouldve noticied that when i edited the config file. Noticing that 
helped me figure out why udev refused to follow what I said to use for 
permissions. Now I have a new and seperate problem, when I enable udev to 
from boot, that is have it start on boot, I hang at:

echo 'udev: Creating initial udev devices nodes:'
... (comments removed here)
/sbin/udevstart

Interesting to note is that if I boot with it enabled, then run the rc 
script, everything works fine- and if my rules/permission files are misset 
in the udev.config file, then it boots fine [just doesnt set the correct 
perms to my devices]. Any idea's what would be causing this? I'm not sure 
what information you all would like me to include,

$ udevinfo -V
udevinfo, version 025

(I cant seem to figure out how to get the version from hotplug itself)
$ ls hot*
hotplug-2004_04_01.tar.bz2

hotplug-2004_04_01:
(...)
$

A thought off the top of my head is, I should be enabling this before 
hotplug correct? rc.udev (start_udev) is called from my rc.S [system init] 
scripts, just before I mount the other drives, just after sysfs is 
mounted, and then hotplug isnt started until all the way into my rc.local 
scripts; is that the correct order?

any other hints/ideas/etc?

justin f.


- -- 

It is only the great men who are truly obscene.  If they had not dared to 
be obscene, they could never have dared to be great.
                -- Havelock Ellis
 


On Sun, 16 May 2004, Greg KH wrote:

> On Sat, May 15, 2004 at 01:51:39PM -0500, jnf wrote:
> > Hi,
> 
> Great questions, care to ask this on the linux-hotplug-devel mailing
> list and CC me?  That way I can answer it in public to enable everyone
> else to know the answer, and let the search engines pick it up.
> 
> thanks,
> 
> greg k-h
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (OpenBSD)

iD8DBQFAqBcDsKAeTAhLiCERAvf1AJsEOPtm8C/3Ql/SFkQYi+Mx1aUo+wCeM2hB
fPV/stJpgXcwbIhQrS8XwTU=Tuu0
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&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] 7+ messages in thread

* Re: udev hang
  2004-05-17  1:35 udev hang jnf
@ 2004-05-19  7:18 ` Greg KH
  2004-05-19 16:02 ` jnf
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2004-05-19  7:18 UTC (permalink / raw)
  To: linux-hotplug

On Sun, May 16, 2004 at 08:35:59PM -0500, jnf wrote:
> Hi,
> 
> I was told to post my query here just so it would be public/get archived 
> by the search engines. I recently installed udev under 2.6.6, I originally 
> had some problems with it, but as it turned out that part of it was an ID 
> 10 T error in that the default config used rules located in 
> '/etc/udev/rules.d' and '/etc/udev/permissions.d' [im on slackware, i 
> think the config/install mightve detected me as gentoo?], anyways my fault 
> i shouldve noticied that when i edited the config file. Noticing that 
> helped me figure out why udev refused to follow what I said to use for 
> permissions. Now I have a new and seperate problem, when I enable udev to 
> from boot, that is have it start on boot, I hang at:
> 
> echo 'udev: Creating initial udev devices nodes:'
> ... (comments removed here)
> /sbin/udevstart
> 
> Interesting to note is that if I boot with it enabled, then run the rc 
> script, everything works fine- and if my rules/permission files are misset 
> in the udev.config file, then it boots fine [just doesnt set the correct 
> perms to my devices]. Any idea's what would be causing this? I'm not sure 
> what information you all would like me to include,
> 
> $ udevinfo -V
> udevinfo, version 025
> 
> (I cant seem to figure out how to get the version from hotplug itself)
> $ ls hot*
> hotplug-2004_04_01.tar.bz2
> 
> hotplug-2004_04_01:
> (...)
> $
> 
> A thought off the top of my head is, I should be enabling this before 
> hotplug correct? rc.udev (start_udev) is called from my rc.S [system init] 
> scripts, just before I mount the other drives, just after sysfs is 
> mounted, and then hotplug isnt started until all the way into my rc.local 
> scripts; is that the correct order?

Did you take a look at the README that details how to add this to a Red
Hat distro?

What distro are you using?

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&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] 7+ messages in thread

* Re: udev hang
  2004-05-17  1:35 udev hang jnf
  2004-05-19  7:18 ` Greg KH
@ 2004-05-19 16:02 ` jnf
  2004-05-19 16:22 ` Greg KH
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jnf @ 2004-05-19 16:02 UTC (permalink / raw)
  To: linux-hotplug

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

No I hadn't read that, but I just did (assuming  rh_udev_for_dev.txt) is 
it; I didn't see anything that applied, I already figured out those little 
quirks when I had the paths set wrong in the config file- none of those 
seem to be the problem-
the system hands when it tries to start udevstart on boot, if i do it 
manually it seems to work ok. Anyways, to answer you question- I am 
running slackware 9.0 w/ a 2.6.6 kernel and glibc 2.3.2.

j



- -- 

The cry has been that when war is declared, all opposition should
therefore be hushed.  A sentiment more unworthy of a free country could
hardly be propagated.  If the doctrine be admitted, rulers have only to
declare war and they are screened at once from scrutiny ...  In war,
then, as in peace, assert the freedom of speech and of the press.
Cling to this as the bulwark of all our rights and privileges.
                -- William Ellery Channing 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (OpenBSD)

iD8DBQFAq4UTsKAeTAhLiCERAoMyAJ4yu8nT62y10bqLKHYSj+ZgSCaODgCdEP9H
jDr59XLnKEsgQtU3aoHFSgY=Tcr6
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&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] 7+ messages in thread

* Re: udev hang
  2004-05-17  1:35 udev hang jnf
  2004-05-19  7:18 ` Greg KH
  2004-05-19 16:02 ` jnf
@ 2004-05-19 16:22 ` Greg KH
  2004-05-19 18:15 ` jnf
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2004-05-19 16:22 UTC (permalink / raw)
  To: linux-hotplug

On Wed, May 19, 2004 at 11:02:24AM -0500, jnf wrote:
> No I hadn't read that, but I just did (assuming  rh_udev_for_dev.txt) is 
> it; I didn't see anything that applied, I already figured out those little 
> quirks when I had the paths set wrong in the config file- none of those 
> seem to be the problem-
> the system hands when it tries to start udevstart on boot, if i do it 
> manually it seems to work ok. Anyways, to answer you question- I am 
> running slackware 9.0 w/ a 2.6.6 kernel and glibc 2.3.2.

Hm, I don't know of anyone who has got this to work on Slackware, you
might try on one of their mailing lists...

But as to why udevstart doesn't work, did you build it with klibc or
glibc?  If glibc, can you actually get to the libraries needed that
early in the boot process?  Try using the klibc version and see if that
helps or not.

If not, can you enable full debug logging and let us know what the
syslog says?

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&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] 7+ messages in thread

* Re: udev hang
  2004-05-17  1:35 udev hang jnf
                   ` (2 preceding siblings ...)
  2004-05-19 16:22 ` Greg KH
@ 2004-05-19 18:15 ` jnf
  2004-05-20 21:58 ` Greg KH
  2004-05-21  1:31 ` jnf
  5 siblings, 0 replies; 7+ messages in thread
From: jnf @ 2004-05-19 18:15 UTC (permalink / raw)
  To: linux-hotplug

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

> Hm, I don't know of anyone who has got this to work on Slackware

yes you do, me.

> But as to why udevstart doesn't work, did you build it with klibc or
> glibc?  If glibc, can you actually get to the libraries needed that
> early in the boot process?

very good point; sleep deprivation affects million of americans, i wonder 
how many false bug reports are also caused by it.


>  Try using the klibc version and see if
> that
> helps or not.

that was the problem, I had actually forgotten that I used glibc on it- 
and when I tried to rebuild it with USE_KLIBC=true, I remembered why.
Is udev-025 the latest stable release? It has an older version of klibc 
packed with it, and after digging through some of the klibc mailing list 
archives, i saw a patch from you that talked about some failed #include's 
in newer kernels, so I grabbed the latest release from kernel.org, test 
compiled it, then switched it out with the klibc directory in udev-025/, 
poof compile worked fine, and so did boot up [although with DEBUG=true, it 
provides *ALOT* of debug info, more than ive ever seen ;]), anyways to be 
along to my point. You have a sucessfull boot time use of udev on 
slackware.


$ cat /etc/slackware-version
Slackware 9.0.0
$ uname -a 
Linux theory 2.6.6 #3 Sat May 15 01:18:38 MST 2004 i686 unknown
$ gcc -v
<snip>
gcc version 3.2.2
$ /lib/libc.so.6
GNU C Library stable release version 2.3.2, by Roland McGrath et al.
<snip>
$ ls *.tar.bz2
udev-025.tar.bz2
hotplug-2004_04_01.tar.bz2
$ echo 'thanks' 
thanks

j


- -- 

The cry has been that when war is declared, all opposition should
therefore be hushed.  A sentiment more unworthy of a free country could
hardly be propagated.  If the doctrine be admitted, rulers have only to
declare war and they are screened at once from scrutiny ...  In war,
then, as in peace, assert the freedom of speech and of the press.
Cling to this as the bulwark of all our rights and privileges.
                -- William Ellery Channing 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (OpenBSD)

iD8DBQFAq6QssKAeTAhLiCERAkPHAJ0flJsYlWhGSDwpYThK2+eleZWMQQCfYxKV
aQPpoieFq8CLTadnakxtVjk=UUa2
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&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] 7+ messages in thread

* Re: udev hang
  2004-05-17  1:35 udev hang jnf
                   ` (3 preceding siblings ...)
  2004-05-19 18:15 ` jnf
@ 2004-05-20 21:58 ` Greg KH
  2004-05-21  1:31 ` jnf
  5 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2004-05-20 21:58 UTC (permalink / raw)
  To: linux-hotplug

On Wed, May 19, 2004 at 01:15:04PM -0500, jnf wrote:
> > Hm, I don't know of anyone who has got this to work on Slackware
> 
> yes you do, me.

Yeah, glad to hear it works for you!

Yes, 025 is the latest version, and the version of klibc in the udev
tarball builds properly and works for me with a 2.6.6-bk5 kernel.

But I'll go resync up to the latest version of klibc just to be safe and
release a new version of udev.

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_idÅ66&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] 7+ messages in thread

* Re: udev hang
  2004-05-17  1:35 udev hang jnf
                   ` (4 preceding siblings ...)
  2004-05-20 21:58 ` Greg KH
@ 2004-05-21  1:31 ` jnf
  5 siblings, 0 replies; 7+ messages in thread
From: jnf @ 2004-05-21  1:31 UTC (permalink / raw)
  To: linux-hotplug

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

Ah well the build problems i was having w/ klibc was about moved header 
files i believe, you have a post on the klibc mailing list from last month 
i believe about one of the 2 exact problems i was having and 2.6.4, 
anyways yea it works fine now.

thank

j

- -- 

The cry has been that when war is declared, all opposition should
therefore be hushed.  A sentiment more unworthy of a free country could
hardly be propagated.  If the doctrine be admitted, rulers have only to
declare war and they are screened at once from scrutiny ...  In war,
then, as in peace, assert the freedom of speech and of the press.
Cling to this as the bulwark of all our rights and privileges.
                -- William Ellery Channing 


On Thu, 20 May 2004, Greg KH wrote:

> On Wed, May 19, 2004 at 01:15:04PM -0500, jnf wrote:
> > > Hm, I don't know of anyone who has got this to work on Slackware
> > 
> > yes you do, me.
> 
> Yeah, glad to hear it works for you!
> 
> Yes, 025 is the latest version, and the version of klibc in the udev
> tarball builds properly and works for me with a 2.6.6-bk5 kernel.
> 
> But I'll go resync up to the latest version of klibc just to be safe and
> release a new version of udev.
> 
> thanks,
> 
> greg k-h
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (OpenBSD)

iD8DBQFArVvdsKAeTAhLiCERAqkRAJ4i/mAkwJAsJ8Ge1JSUf4+Yqf0WKQCfciFK
T25BVcNQeKvBu1khPxpSiPE=/hqo
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_idÅ66&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] 7+ messages in thread

end of thread, other threads:[~2004-05-21  1:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-17  1:35 udev hang jnf
2004-05-19  7:18 ` Greg KH
2004-05-19 16:02 ` jnf
2004-05-19 16:22 ` Greg KH
2004-05-19 18:15 ` jnf
2004-05-20 21:58 ` Greg KH
2004-05-21  1:31 ` jnf

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