Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Genkernel - Load loop support (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MalachiX
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2005
Posts: 101
Location: Miami, Fl

PostPosted: Fri Sep 29, 2006 3:31 am    Post subject: Genkernel - Load loop support (solved) Reply with quote

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
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Fri Sep 29, 2006 4:11 am    Post subject: Reply with quote

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
View user's profile Send private message
MalachiX
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2005
Posts: 101
Location: Miami, Fl

PostPosted: Fri Sep 29, 2006 7:04 pm    Post subject: Reply with quote

I'm not completely sure what the relevant parts of my .config would be?
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Fri Sep 29, 2006 7:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
MalachiX
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2005
Posts: 101
Location: Miami, Fl

PostPosted: Fri Sep 29, 2006 9:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum