Unix Technical Forum

udev vs. coldplug

This is a discussion on udev vs. coldplug within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> After my latest 'emerge --sync' and 'emerge -Dp world', came udev-104-r11 which is incompatible with coldplug. All I could ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 12:00 PM
AZ Nomad
 
Posts: n/a
Default udev vs. coldplug

After my latest 'emerge --sync' and 'emerge -Dp world', came udev-104-r11
which is incompatible with coldplug.

All I could find at the gentoo site is " You no longer need to emerge
coldplug if you're using udev version 103 and higher. If you receive a
message that udev blocks coldplug from being installed, then you don't need
to install coldplug."

Not true. I've installed udev on my mythtv box and it no longer detects
an external USB drive at bootup nor does it detect an external video capture
device (plextor convertx). Kernel is linux-2.6.17 (2.6.18+ broke the
via vt8251 sata support so I can't move past linux-2.6.17 right now)

Any idea how I can get the system to detect my usb devices? In the
meantime, I'll be reverting to the old udev.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 12:00 PM
Xanadu
 
Posts: n/a
Default Re: udev vs. coldplug

On Tue, 20 Feb 2007 16:49:10 +0000, AZ Nomad wrote:

> After my latest 'emerge --sync' and 'emerge -Dp world', came udev-104-r11
> which is incompatible with coldplug.
>
> All I could find at the gentoo site is " You no longer need to emerge
> coldplug if you're using udev version 103 and higher. If you receive a
> message that udev blocks coldplug from being installed, then you don't need
> to install coldplug."
>
> Not true. I've installed udev on my mythtv box and it no longer detects
> an external USB drive at bootup nor does it detect an external video capture
> device (plextor convertx). Kernel is linux-2.6.17 (2.6.18+ broke the
> via vt8251 sata support so I can't move past linux-2.6.17 right now)
>
> Any idea how I can get the system to detect my usb devices? In the
> meantime, I'll be reverting to the old udev.


Hey!

It may be a silly question, but did you do a revdep-rebuild after updating udev? It's a required
thing is you were using udev <1.*

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 12:00 PM
AZ Nomad
 
Posts: n/a
Default Re: udev vs. coldplug

On Tue, 20 Feb 2007 19:11:08 GMT, Xanadu <xanadu@inorbit.com> wrote:


>On Tue, 20 Feb 2007 16:49:10 +0000, AZ Nomad wrote:


>> After my latest 'emerge --sync' and 'emerge -Dp world', came udev-104-r11
>> which is incompatible with coldplug.
>>
>> All I could find at the gentoo site is " You no longer need to emerge
>> coldplug if you're using udev version 103 and higher. If you receive a
>> message that udev blocks coldplug from being installed, then you don't need
>> to install coldplug."
>>
>> Not true. I've installed udev on my mythtv box and it no longer detects
>> an external USB drive at bootup nor does it detect an external video capture
>> device (plextor convertx). Kernel is linux-2.6.17 (2.6.18+ broke the
>> via vt8251 sata support so I can't move past linux-2.6.17 right now)
>>
>> Any idea how I can get the system to detect my usb devices? In the
>> meantime, I'll be reverting to the old udev.


>Hey!


>It may be a silly question, but did you do a revdep-rebuild after updating udev? It's a required
>thing is you were using udev <1.*


I didn't; why would it be necessary? AFAIK, The only thing udev does is
create /dev device entries and load kernel modules. I did an 'equery
depends udev' and on my main desktop all I came up with was 'hal' and I
don't have that on the mythtv box that is having the problems.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 12:00 PM
Arthur Hagen
 
Posts: n/a
Default Re: udev vs. coldplug

AZ Nomad <aznomad.2@PremoveOBthisOX.COM> wrote:
> On Tue, 20 Feb 2007 19:11:08 GMT, Xanadu <xanadu@inorbit.com> wrote:
>
>> It may be a silly question, but did you do a revdep-rebuild after
>> updating udev? It's a required thing is you were using udev <1.*

>
> I didn't; why would it be necessary? AFAIK, The only thing udev does
> is create /dev device entries and load kernel modules.


Because of this:

# equery files udev | egrep "\.(so|a)"
/lib/libvolume_id.so
/lib/libvolume_id.so.0
/lib/libvolume_id.so.0.75.0
/usr/lib/libvolume_id.a
/usr/lib/libvolume_id.so

Regards,
--
*Art
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 12:00 PM
Johan Lindquist
 
Posts: n/a
Default Re: udev vs. coldplug

So anyway, it was like, 17:49 CET Feb 20 2007, you know? Oh, and, yeah,
AZ Nomad was all like, "Dude,

[..]

> Kernel is linux-2.6.17 (2.6.18+ broke the via vt8251 sata support so
> I can't move past linux-2.6.17 right now)


Strange, that.

-----8<-----
johan@tiger ~ $ uname -r
2.6.18.1
johan@tiger ~ $ lspci|grep -i vt8251
00:0f.0 IDE interface: VIA Technologies, Inc. VT8251 AHCI/SATA 4-Port Controller
----->8-----

That's a file server, too, so I should have noticed the sata support
breaking.

> Any idea how I can get the system to detect my usb devices? In the
> meantime, I'll be reverting to the old udev.


Instead of asking why you should run revdep-rebuild, why don't you
just try it (with -vp) and see what it says? I routinely do that after
every upgrade just to be on the safe side. Might be excessive, but
there's no harm in it.

--
Time flies like an arrow, fruit flies like a banana. Perth ---> *
10:01:58 up 104 days, 7:43, 5 users, load average: 0.10, 0.19, 0.21
Linux 2.6.18.1 x86_64 GNU/Linux Registered Linux user #261729
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 12:00 PM
Sebastian Volke
 
Posts: n/a
Default Re: udev vs. coldplug

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

AZ Nomad said the following on 20.02.2007 17:49:
| After my latest 'emerge --sync' and 'emerge -Dp world', came udev-104-r11
| which is incompatible with coldplug.
|
| All I could find at the gentoo site is " You no longer need to emerge
| coldplug if you're using udev version 103 and higher. If you receive a
| message that udev blocks coldplug from being installed, then you don't
need
| to install coldplug."
|
| Not true. I've installed udev on my mythtv box and it no longer detects
| an external USB drive at bootup nor does it detect an external video
capture
| device (plextor convertx). Kernel is linux-2.6.17 (2.6.18+ broke the
| via vt8251 sata support so I can't move past linux-2.6.17 right now)
|
| Any idea how I can get the system to detect my usb devices? In the
| meantime, I'll be reverting to the old udev.

Just to make sure: did you edit /etc/conf.d/rc, so that RC_COLDPLUG is
set to "yes"? Udev only does autodetection if this variable is set,
according to that file. I completely missed this information at first,
found it by coincidence. Maybe that helps, otherwise I've no clue how to
solve this.

- --
*Sebastian Volke*
registered Linux user #426550

mail address: echo ozslxhmfw_gfxyn@lrc.sjy | perl -pe 'y/a-z/v-za-w/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF3B1NTVzZ9whcz3sRAhBnAKC+9qUc1pVBqVZn/CJkQqSlhM4GnQCfUdxD
wCrxQBB7MTnJk0x0SyEixMI=
=4j87
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 12:00 PM
AZ Nomad
 
Posts: n/a
Default Re: udev vs. coldplug

On Tue, 20 Feb 2007 19:11:08 GMT, Xanadu <xanadu@inorbit.com> wrote:


>On Tue, 20 Feb 2007 16:49:10 +0000, AZ Nomad wrote:


>> After my latest 'emerge --sync' and 'emerge -Dp world', came udev-104-r11
>> which is incompatible with coldplug.
>>
>> All I could find at the gentoo site is " You no longer need to emerge
>> coldplug if you're using udev version 103 and higher. If you receive a
>> message that udev blocks coldplug from being installed, then you don't need
>> to install coldplug."
>>
>> Not true. I've installed udev on my mythtv box and it no longer detects
>> an external USB drive at bootup nor does it detect an external video capture
>> device (plextor convertx). Kernel is linux-2.6.17 (2.6.18+ broke the
>> via vt8251 sata support so I can't move past linux-2.6.17 right now)
>>
>> Any idea how I can get the system to detect my usb devices? In the
>> meantime, I'll be reverting to the old udev.


>Hey!


>It may be a silly question, but did you do a revdep-rebuild after updating udev? It's a required
>thing is you were using udev <1.*


revdep-rebuild didn't help

I did an emerge =udev-87-r1 and an emerge coldplug and ended up with a
system that now saw my usb devices, but lost the loopback network device!
'lo' was missing, 127.0.0.1 was mapped to eth0 and my normal fixed ip
address was mapped to eth0:1. a u r g h. Had to drag out a keyboard for
the first time in a year (this is a mythtv box normally w/out keyboard)

I removed coldplug and reemerged udev and this time it took. /etc/conf.d/rc
had COLDPLUG set. My usb devices were properly detected and the network
is back to normal.

Now if only the kernel.org people would fix bug 7589 and get via vt8251 sata
working again for kernel versions >2.6.18.5.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-21-2008, 12:00 PM
Johan Lindquist
 
Posts: n/a
Default Re: udev vs. coldplug

So anyway, it was like, 16:09 CET Feb 21 2007, you know? Oh, and, yeah,
AZ Nomad was all like, "Dude,

> Now if only the kernel.org people would fix bug 7589 and get via
> vt8251 sata working again for kernel versions >2.6.18.5.


Interesting. Maybe it's fortunate I've been too lazy to upgrade from
18.1 after all.

--
Time flies like an arrow, fruit flies like a banana. Perth ---> *
16:34:24 up 104 days, 14:15, 5 users, load average: 0.05, 0.13, 0.36
Linux 2.6.18.1 x86_64 GNU/Linux Registered Linux user #261729
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com