* [gentoo-user] loop devices not present
@ 2007-02-19 10:35 Alan McKinnon
2007-02-21 1:28 ` Walter Dnes
0 siblings, 1 reply; 5+ messages in thread
From: Alan McKinnon @ 2007-02-19 10:35 UTC (permalink / raw
To: gentoo-user
Hi all,
Kernel 2.6.20-gentoo
My various /dev/loop/* devices used to always JustWork, until a recent
update. Unfortunately I can't tell when the breakage happened.
Right now what happens is I don't get these devices automatically
and 'mount - o loop' fails. A simple 'modprobe loop' fixes this, the
kernel is configured as I've been using it for ages:
config-2.6.20-gentoo:CONFIG_BLK_DEV_LOOP=m
config-2.6.20-gentoo:CONFIG_KMOD=y
Oddly, I never had 'loop' in /etc/modules.autoload.d/kernel-2.6 before
(I do now), anyone know of a recent change that would cause this?
alan
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] loop devices not present
2007-02-19 10:35 [gentoo-user] loop devices not present Alan McKinnon
@ 2007-02-21 1:28 ` Walter Dnes
2007-02-21 7:51 ` Alan McKinnon
0 siblings, 1 reply; 5+ messages in thread
From: Walter Dnes @ 2007-02-21 1:28 UTC (permalink / raw
To: gentoo-user
On Mon, Feb 19, 2007 at 12:35:13PM +0200, Alan McKinnon wrote
> Hi all,
>
> Kernel 2.6.20-gentoo
>
> My various /dev/loop/* devices used to always JustWork, until a recent
> update. Unfortunately I can't tell when the breakage happened.
>
> Right now what happens is I don't get these devices automatically
> and 'mount - o loop' fails. A simple 'modprobe loop' fixes this, the
> kernel is configured as I've been using it for ages:
>
> config-2.6.20-gentoo:CONFIG_BLK_DEV_LOOP=m
> config-2.6.20-gentoo:CONFIG_KMOD=y
>
> Oddly, I never had 'loop' in /etc/modules.autoload.d/kernel-2.6 before
> (I do now), anyone know of a recent change that would cause this?
If you want loopback devices to "just work", they should be compiled
into the kernel, like so...
make menuconfig
Device Drivers --->
Block devices --->
<*> Loopback device support
My guess is that somewhere along the line, the "<*>" got changed to a
"<M>". Change it back to "<*>", recompile the kernel and any necessary
modules, and reboot.
--
Walter Dnes <waltdnes@waltdnes.org> In linux /sbin/init is Job #1
My musings on technology and security at http://techsec.blog.ca
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] loop devices not present
2007-02-21 1:28 ` Walter Dnes
@ 2007-02-21 7:51 ` Alan McKinnon
2007-02-21 16:08 ` Neil Bothwick
0 siblings, 1 reply; 5+ messages in thread
From: Alan McKinnon @ 2007-02-21 7:51 UTC (permalink / raw
To: gentoo-user
On Wednesday 21 February 2007, Walter Dnes wrote:
> If you want loopback devices to "just work", they should be
> compiled into the kernel, like so...
>
> make menuconfig
> Device Drivers --->
> Block devices --->
> <*> Loopback device support
>
> My guess is that somewhere along the line, the "<*>" got changed to
> a "<M>". Change it back to "<*>", recompile the kernel and any
> necessary modules, and reboot.
That would be true except I've beeen setting loop to <M> since many
kernel versions back. I actually suspect it's more a udev thing, there
has been a lot of activity and changes with the rules recently. But I'm
too rushed to decrypt all the rules syntax and see what changed.
In a way it makes sense to make udev not create loop devices by default.
If the user didn't ask for them, they shouldn't be there (aka
TheGentooWay). And 'loop' in kernel-2.6 fixes it all.
Thanks for replying,
alan
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] loop devices not present
2007-02-21 7:51 ` Alan McKinnon
@ 2007-02-21 16:08 ` Neil Bothwick
2007-02-22 9:04 ` Alan McKinnon
0 siblings, 1 reply; 5+ messages in thread
From: Neil Bothwick @ 2007-02-21 16:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 629 bytes --]
On Wed, 21 Feb 2007 09:51:45 +0200, Alan McKinnon wrote:
> That would be true except I've beeen setting loop to <M> since many
> kernel versions back. I actually suspect it's more a udev thing, there
> has been a lot of activity and changes with the rules recently. But I'm
> too rushed to decrypt all the rules syntax and see what changed.
My loop devices disappeared like this some time ago - are you using
stable? I initially put loop in modules.autoload.d but since I use loop
devices every time I boot, I moved them into the kernel instead.
--
Neil Bothwick
Plagarism prohibited. Derive carefully.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] loop devices not present
2007-02-21 16:08 ` Neil Bothwick
@ 2007-02-22 9:04 ` Alan McKinnon
0 siblings, 0 replies; 5+ messages in thread
From: Alan McKinnon @ 2007-02-22 9:04 UTC (permalink / raw
To: gentoo-user
On Wednesday 21 February 2007, Neil Bothwick wrote:
> On Wed, 21 Feb 2007 09:51:45 +0200, Alan McKinnon wrote:
> > That would be true except I've beeen setting loop to <M> since many
> > kernel versions back. I actually suspect it's more a udev thing,
> > there has been a lot of activity and changes with the rules
> > recently. But I'm too rushed to decrypt all the rules syntax and
> > see what changed.
>
> My loop devices disappeared like this some time ago - are you using
> stable? I initially put loop in modules.autoload.d but since I use
> loop devices every time I boot, I moved them into the kernel instead.
No, I'm using ~x86.
I got things to a satisfactory state using modules.autoload.d just like
you and get the best of both worlds.
thanks
alan
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-02-22 9:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-19 10:35 [gentoo-user] loop devices not present Alan McKinnon
2007-02-21 1:28 ` Walter Dnes
2007-02-21 7:51 ` Alan McKinnon
2007-02-21 16:08 ` Neil Bothwick
2007-02-22 9:04 ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox