* [gentoo-user] No /dev/sd? devices. Udev problem?
@ 2010-04-29 14:02 Alex Schuster
2010-05-01 19:39 ` Alex Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Alex Schuster @ 2010-04-29 14:02 UTC (permalink / raw
To: gentoo-user
Hi there!
I just migrated a friend's machine to ~am64. Everything was updated, but
after a reboot some partitons are not found. No wonder, there are no
/dev/sd? devices, only /dev/sg?. I suspect the problem is udev, because
that was updated. Root is encrypted, so this machine makes use of an
initramfs. At that point, all devices are found, so the system comes up,
but later mounting of data partitions fails due to the missing devices.
Any idea what the cause is? I will try to downgrade udev and see what
happens. I have to wait for my friend to arrive here though, because I do
not know the LUKS password. So I thought I'd ask here first, maybe someone
knows this problem.
Wonko
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] No /dev/sd? devices. Udev problem?
2010-04-29 14:02 [gentoo-user] No /dev/sd? devices. Udev problem? Alex Schuster
@ 2010-05-01 19:39 ` Alex Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Alex Schuster @ 2010-05-01 19:39 UTC (permalink / raw
To: gentoo-user
I wrote:
> I just migrated a friend's machine to ~am64. Everything was updated,
> but after a reboot some partitons are not found. No wonder, there are
> no /dev/sd? devices, only /dev/sg?. I suspect the problem is udev,
> because that was updated. Root is encrypted, so this machine makes use
> of an initramfs. At that point, all devices are found, so the system
> comes up, but later mounting of data partitions fails due to the
> missing devices.
>
> Any idea what the cause is? I will try to downgrade udev and see what
> happens. I have to wait for my friend to arrive here though, because I
> do not know the LUKS password. So I thought I'd ask here first, maybe
> someone knows this problem.
A downgrade from 151-r2 to 150-r1 did not change anything. I can try to go
to lower versions, but I wonder what the problem is. My own machine is
~x86 instead of ~am64, but has a similar setup, and all is working. Well,
not all, but I spare you my KDE4 rants for the moment.
The missing devices appear in the /sys/block/ hierarchy, so I can create
the device nodes by udevadm test. I created a new init script with
basically these commands, that activates all the devices:
for disk in /sys/block/sd*
do
udevadm test /block/${disk#/sys/block/}
done
for part in /sys/block/sd*/sd*
do
udevadm test /block/${part#/sys/block/}
done
Another thing I am missing is the /dev/vg/lvm entries, but I can also
access the LVM volumes as /dev/mapper/vg-lvm, so this is no problem. But I
wonder what else is missing that I do not know of yet. And I would prefer
a real solution over this hack, so if anyone has any ideas, I'd be happy
to hear them.
Wonko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-01 19:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-29 14:02 [gentoo-user] No /dev/sd? devices. Udev problem? Alex Schuster
2010-05-01 19:39 ` Alex Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox