Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151414 - sys-fs/udev goes into continuous loop with two error messages "get_netlink_msg: unable to receive..."
Summary: sys-fs/udev goes into continuous loop with two error messages "get_netlink_ms...
Status: VERIFIED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
: 159376 (view as bug list)
Depends on:
Blocks: udev-meta
  Show dependency tree
 
Reported: 2006-10-14 23:48 UTC by Ian Frazer
Modified: 2013-03-13 22:32 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Emerge --info (emergeinfo,1.93 KB, text/plain)
2006-10-14 23:50 UTC, Ian Frazer
Details
Kernel config (config,32.27 KB, text/plain)
2006-10-14 23:51 UTC, Ian Frazer
Details
dmesg output (dmesg,28.81 KB, text/plain)
2006-10-14 23:53 UTC, Ian Frazer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Frazer 2006-10-14 23:48:26 UTC
Trying to boot the system results in a continuous loop of two error messages.

"udevd[2108]: get_netlink_msg: unable to receive kernel netlink message: socket..."

is all I managed to write down o the error messages before it rebooted on its own because my hard drive was now corrupt...

sys-fs/udev-100-r2

Steps to recreate
1. install gentoo
2. build kernel with genkernel
3. boot from initramfs
4. watch udev kill your hard drive
Comment 1 Ian Frazer 2006-10-14 23:50:06 UTC
Created attachment 99702 [details]
Emerge --info

Emerge --info from chroot off livecd
Comment 2 Ian Frazer 2006-10-14 23:51:22 UTC
Created attachment 99703 [details]
Kernel config

hardened-sources-2.6.17 config
Comment 3 Ian Frazer 2006-10-14 23:53:14 UTC
Created attachment 99704 [details]
dmesg output

dmesg output from within the livecd
Comment 4 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-10-24 14:41:02 UTC
Please attach your kernel configuration file, I'm guessing that you don't have a needed config option enabled.
Comment 5 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-10-24 14:41:46 UTC
oh nevermind, you did attach it, will look at it now...
Comment 6 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-10-24 14:43:08 UTC
Ah, change CONFIG_NETFILTER_NETLINK to be Y not M and see if that fixes this issue.
Comment 7 Ian Frazer 2006-10-24 20:48:50 UTC
(In reply to comment #6)
> Ah, change CONFIG_NETFILTER_NETLINK to be Y not M and see if that fixes this
> issue.
> 

Same issue even with the above compiled into the kernel, rather than as a modules.

it did give me a chance to grab the rest of the error messages, again requiring a good 'ole --rebuild-tree...

"udevd[2108]: get_netlink_msg: unable to receive kernel netlink message: socket operation on non-socket
udevd[2108]: get_ctrl_msg: unable to receive udev user message: socket operation on non-socket"
Comment 8 Mik 2006-10-26 06:19:29 UTC
(In reply to comment #7)

> 
> "udevd[2108]: get_netlink_msg: unable to receive kernel netlink message: socket
> operation on non-socket
> udevd[2108]: get_ctrl_msg: unable to receive udev user message: socket
> operation on non-socket"
> 

Got the same problem here. Hardware I use: Toshiba Satellite P100. This is weird because I can boot using livecd's but have problems when trying to boot it from hdd. I've tried to use couple of different versions of udev but with no success.
Any ideas?
Comment 9 Maurice Volaski 2006-11-13 12:30:22 UTC
This bug is still present in udev-103, but interestingly it appears only on the kernel running from the desktop but not when it runs from a CD. And doesn't appear on every machine either.
Comment 10 Norman Yarvin 2006-12-28 20:10:19 UTC
I just ran into this bug when trying to move a Gentoo installation from the first hard disk on a desktop system to the second hard disk, via

cd / ; tar cf - --one-file-system . | (cd /mnt/sdb4 ; tar xpf - )

(The installation was all on one partition.)  I wondered whether it might have anything to do with the empty /dev in the new filesystem, and indeed it seems that was part of the cause: populating that /dev with the contents of the old /dev fixed the problem.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-01-26 20:48:42 UTC
*** Bug 159376 has been marked as a duplicate of this bug. ***
Comment 12 ivo welch 2007-01-26 20:51:04 UTC
(In reply to comment #10)
> I just ran into this bug when trying to move a Gentoo installation from the
> first hard disk on a desktop system to the second hard disk, via
> 
> cd / ; tar cf - --one-file-system . | (cd /mnt/sdb4 ; tar xpf - )
> 
> (The installation was all on one partition.)  I wondered whether it might have
> anything to do with the empty /dev in the new filesystem, and indeed it seems
> that was part of the cause: populating that /dev with the contents of the old
> /dev fixed the problem.

could someone in the know please comment on whether this is a recommended fix?

regards,

/iaw


Comment 13 SpanKY gentoo-dev 2007-01-29 00:52:10 UTC
no, those directions are not recommended

the simpler fix is:
mkdir /mnt/fixit
mount --bind / /mnt/fixit
cp -a /dev/* /mnt/fixit/dev/
umount /mnt/fixit
rmdir /mnt/fixit

i can reproduce this error when /dev/console is missing ... so something about udev sucks
Comment 14 Matthias Schwarzott gentoo-dev 2007-01-29 19:27:52 UTC
With udev-104-r5 it should finally work again to boot with empty /dev directory.
Comment 15 ivo welch 2007-01-30 15:27:51 UTC
I can confirm that this fixes my problem.
Comment 16 Ian Frazer 2007-01-31 00:31:55 UTC
Upgrading to Udev-104-r5 and copying /dev from a livecd fixed the problem.
Comment 17 Matthias Schwarzott gentoo-dev 2007-03-22 10:27:31 UTC
In udev-107 there is finally a patch against this, which removes the need for workarounds in udev-start.sh