View previous topic :: View next topic |
Author |
Message |
MalachiX Tux's lil' helper

Joined: 10 Apr 2005 Posts: 101 Location: Miami, Fl
|
Posted: Fri Sep 29, 2006 3:31 am Post subject: Genkernel - Load loop support (solved) |
|
|
I rebuilt my kernel and I distinctly remember leaving out loopback support. So naturally when I went to run "genkernel --oldconfig --menuconfig all" I received the following output:
Code: |
* Gentoo Linux Genkernel; Version 3.4.1
* Running with options: --oldconfig --menuconfig all
* Linux Kernel 2.6.18-gentoo for x86
* The build-host kernel does not appear to have loop device support.
* Please load loop support before running genkernel!
* Gentoo Linux Genkernel; Version 3.4.1
* Running with options: --oldconfig --menuconfig all
* ERROR: Load loop support!
* -- Grepping log... --
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
|
However since then I have rebuilt the kernel with loopback support manually. I verified that by running "cat .config | grep BLK_DEV_LOOP":
Code: | CONFIG_BLK_DEV_LOOP=y |
Yet there is still no /etc/loop device. What could be the problem? I am really trying to get this resolved so I can go back to using genkernel again.
P.S. Thanks in advanced!
Last edited by MalachiX on Fri Sep 29, 2006 9:40 pm; edited 1 time in total |
|
Back to top |
|
 |
desultory Bodhisattva


Joined: 04 Nov 2005 Posts: 9410
|
Posted: Fri Sep 29, 2006 4:11 am Post subject: |
|
|
Post the output of: | ls -l /dev/loop* |
Note that loopback device support allows multiple loopback devices when built as a module, though I do not know how that interacts with genkernel.
When you built a kernel with loopback device support, did you use the same source tree as genkernel? If not, did you copy that configuration into the tree used by genkernel?
You should probably post at least the relevant parts of /var/log/genkernel.log to allow for diagnosis. |
|
Back to top |
|
 |
MalachiX Tux's lil' helper

Joined: 10 Apr 2005 Posts: 101 Location: Miami, Fl
|
Posted: Fri Sep 29, 2006 7:04 pm Post subject: |
|
|
I'm not completely sure what the relevant parts of my .config would be? |
|
Back to top |
|
 |
desultory Bodhisattva


Joined: 04 Nov 2005 Posts: 9410
|
Posted: Fri Sep 29, 2006 7:12 pm Post subject: |
|
|
Already posted in the topic head, though that might need changed to 'm' from 'y'.
Post the last session worth of /var/log/genkernel.log and the output of ls -l /dev/loop*. |
|
Back to top |
|
 |
MalachiX Tux's lil' helper

Joined: 10 Apr 2005 Posts: 101 Location: Miami, Fl
|
Posted: Fri Sep 29, 2006 9:39 pm Post subject: |
|
|
I removed my gentoo-sources package and then emerged it again. Then used the same .config from before but changed the loopback device option to a module rather than compiling it into the kernel. Then I rebooted and turns out that I have loopback support again. Thanks
P.S. On one of my computers I have loopback support built in and genkernel runs fine. So I would have to assume the problem was caused by soemthign else other than the "loopback support" option in the kernel. Nonetheless, I'm glad this issue is resolved even if the exact answer is still elusive. |
|
Back to top |
|
 |
|