Skip to contentSkip to conversation

2.6.18-rc3 does not like an old udev (071)

DISCUSSION Guillaume Chazarain 5 participants 6 messages Jul 30, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

When updating only the kernel to 2.6.18-rc3 on Ubuntu Dapper/x86, /dev/usblp0 is no more created on boot. If I manually create it, it works fine.

Vanilla udev from Dapper: version 079 (Documentation/Changes requires udev 071 ;-) ).

git-bisect told me the culprit was
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bd00949647ddcea47ce4ea8bb2cfcfc98ebf9f2a

Reverting only this commit makes an Oopsing kernel.

This patch was next to last in its serie:
http://www.mail-archive.com/[email protected]/msg44538.html

Reverting the last patch in the serie (as well as the culprit found by git bisect):
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=43104f1da88f5335e9a45695df92a735ad550dda
fixes the problem.

Updating udev to 096, and using a normal 2.6.18-rc3 kernel works too, so maybe the correct (albeit unpopular) fix is to update the udev requirement in Documentation/Changes?

Thanks.

Signature · 1 line
Guillaume
#1 lore raw
Quoted 9 lines · Guillaume Chazarain

Hi,

When updating only the kernel to 2.6.18-rc3 on Ubuntu Dapper/x86, /dev/usblp0
is no more created on boot. If I manually create it, it works fine.

Vanilla udev from Dapper: version 079 (Documentation/Changes requires udev 071 ;-) ).

Hmm, udev 071 works fine here...
i must admit though that I don't have any USB printers, so what I have here is probably not 100% comparable.
Just wanted to point out that udev 071 and 2.6.18-rc3 is not universally broken :-)

juhl@dragon:~$ cat /etc/slackware-version
Slackware 10.2.0
juhl@dragon:~$ uname -a
Linux dragon 2.6.18-rc3 #1 SMP PREEMPT Sun Jul 30 13:31:49 CEST 2006
i686 athlon-4 i386 GNU/Linux
juhl@dragon:~$ udevinfo -V
udevinfo, version 071
Signature · 3 lines
Jesper Juhl <[email protected]>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html
#2 lore raw
Quoted 7 lines · Jesper Juhl
Quoted 6 lines · Guillaume Chazarain

Hi,

When updating only the kernel to 2.6.18-rc3 on Ubuntu Dapper/x86, /dev/usblp0
is no more created on boot. If I manually create it, it works fine.

Quoted 6 lines
Quoted 3 lines

Vanilla udev from Dapper: version 079 (Documentation/Changes requires udev 071 ;-) ).

Hmm, udev 071 works fine here...
i must admit though that I don't have any USB printers, so what I have

I think you will find he's pointing out that he's running udev 079 and the kernel Documentation/Changes file states :-
o udev 071 # udevinfo -V

brad@bklaptop2:~$ zcat /usr/share/doc/udev/changelog.gz | head -n1
Summary of changes from v078 to v079

Same distribution :)

Brad

Signature · 3 lines
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
#4 lore raw
In reply to Guillaume Chazarain
Quoted 3 lines · Guillaume Chazarain

When updating only the kernel to 2.6.18-rc3 on Ubuntu Dapper/x86, /dev/usblp0
is no more created on boot. If I manually create it, it works fine.

I can confirm this exact problem.

Quoted 2 lines

git-bisect told me the culprit was
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bd00949647ddcea47ce4ea8bb2cfcfc98ebf9f2a

Thanks for doing the work, Guillaume! I was trying to find the time to do the same.

Quoted 3 lines

Updating udev to 096, and using a normal 2.6.18-rc3 kernel works too, so maybe the correct (albeit unpopular) fix is to update the udev requirement in Documentation/Changes?

I hope this won't be necessary..

Thanks!

Signature · 2 lines
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services
#5 lore raw
In reply to Guillaume Chazarain
Quoted 22 lines · Guillaume Chazarain

Hi,

When updating only the kernel to 2.6.18-rc3 on Ubuntu Dapper/x86, /dev/usblp0
is no more created on boot. If I manually create it, it works fine.

Vanilla udev from Dapper: version 079 (Documentation/Changes requires udev 071 ;-) ).

git-bisect told me the culprit was
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bd00949647ddcea47ce4ea8bb2cfcfc98ebf9f2a

Reverting only this commit makes an Oopsing kernel.

This patch was next to last in its serie:
http://www.mail-archive.com/[email protected]/msg44538.html

Reverting the last patch in the serie (as well as the culprit found by git bisect):
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=43104f1da88f5335e9a45695df92a735ad550dda
fixes the problem.

Quoted 4 lines

Updating udev to 096, and using a normal 2.6.18-rc3 kernel works too, so maybe
the correct (albeit unpopular) fix is to update the udev requirement in Documentation/Changes?

No, I'm going to revert the above change, as I didn't realize that we needed a change to udev to support it. I'll wait until the next major release for that, and other changes that will require an update to udev version 081 (released back in January).

But upgrading udev sure doesn't hurt anything :)

thanks,

greg k-h

#3 lore raw
In reply to Jesper Juhl
Quoted 11 lines · Jesper Juhl
Quoted 9 lines · Guillaume Chazarain

Hi,

When updating only the kernel to 2.6.18-rc3 on Ubuntu Dapper/x86, /dev/usblp0
is no more created on boot. If I manually create it, it works fine.

Vanilla udev from Dapper: version 079 (Documentation/Changes requires udev 071 ;-) ).

Quoted 5 lines

Hmm, udev 071 works fine here...
i must admit though that I don't have any USB printers, so what I have here is probably not 100% comparable.
Just wanted to point out that udev 071 and 2.6.18-rc3 is not universally broken :-)

Yes, it only shows up if you have any devices that use the USB major number (like a USB printer.)

Or, if you use the -mm tree, there are lots of patches in there that require an updated udev.

thanks,

greg k-h