Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installing kernel sources for Virtualbox
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
raptor
Apprentice
Apprentice


Joined: 20 Sep 2002
Posts: 171

PostPosted: Tue Jun 25, 2013 6:46 pm    Post subject: installing kernel sources for Virtualbox Reply with quote

trying to install kernel source :

emerge =sys-kernel/sabayon-sources-3.7 -av

from :
# layman -l

* sabayon-distro [Git ] (git://github.com/Sabayon/sabayon-distro.git

here is what I got ? Something to do with ZFS, is there a way to overcome this .. ?

Quote:


.......
....Including LUKS support
* >> Appending modules cpio data...
* >> Appending zfs cpio data...
* Could not copy file /etc/zfs/zdev.conf for ZFS
* Could not copy file /etc/zfs/zpool.cache for ZFS
* Gentoo Linux Genkernel; Version 15ESC[0m
* Running with options: --no-save-config --disklabel --e2fsprogs --udev --splash=sabayon --dmraid --iscsi --mdadm --luks --lvm --zfs --compress-initramfs-type=gzip --kerneldir=/var/tmp/portage/sys-kernel/linux-sabayon-3.7/work/linux-3.7.0-sabayon --kernel-config=/var/tmp/portage/sys-kernel/linux-sabayon-3.7/work/config --cachedir=/var/tmp/portage/sys-kernel/linux-sabayon-3.7/work/cache --makeopts=-j16 --tempdir=/var/tmp/portage/sys-kernel/linux-sabayon-3.7/work/linux-3.7.0-sabayon/temp --logfile=/var/tmp/portage/sys-kernel/linux-sabayon-3.7/work/genkernel.log --bootdir=/var/tmp/portage/sys-kernel/linux-sabayon-3.7/work/boot --mountboot --module-prefix=/var/tmp/portage/sys-kernel/linux-sabayon-3.7/work/lib all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86/modules_load ..

* ERROR: Binary /sbin/mount.zfs could not be found


......................

* ERROR: sys-kernel/linux-sabayon-3.7 failed (compile phase):
* genkernel failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 4053: Called sabayon-kernel_src_compile
* environment, line 3956: Called _kernel_src_compile
* environment, line 540: Called die
* The specific snippet of code:
* DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" genkernel "${GKARGS[@]}" ${K_GENKERNEL_ARGS} --kerneldir="${S}" --kernel-config="${WORKDIR}"/config --cachedir="${WORKDIR}"/cache --makeopts="${mkopts}" --tempdir="${S}"/temp --logfile="${WORKDIR}"/genkernel.log --bootdir="${WORKDIR}"/boot --mountboot --module-prefix="${WORKDIR}"/lib all || die "genkernel failed";
*

Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1411

PostPosted: Tue Jun 25, 2013 8:00 pm    Post subject: Reply with quote

Are you installing the Sabayon distro? Do not use the Sabayon overlay unless you know what you're doing, as it is a fork of Gentoo. The Sabayon overlay is used by the Sabayon developers.

ZFS implies that that kernel is looking for a mountpoint containing a ZFS filesystem. Those sources have been patched to work specifically with Sabayon. Info on ZFS can be found at: ZFS - Gentoo Wiki

Try:
Code:
layman -d sabayon
layman -a sunrise
emerge genkernel && emerge gentoo-sources

_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
raptor
Apprentice
Apprentice


Joined: 20 Sep 2002
Posts: 171

PostPosted: Tue Jun 25, 2013 8:07 pm    Post subject: sabayon Reply with quote

I'm using sabayon distro ... and virtualbox mods require me to have the 3.7 sources installed... :(

So I'm trying to install them.

Quote:

# ls /usr/src/ -ltr
total 1
drwxr-xr-x 3 root root 184 Feb 19 12:04 linux-3.7.0-sabayon
lrwxrwxrwx 1 root root 19 Feb 19 12:04 linux -> linux-3.7.0-sabayon
drwxr-xr-x 23 root root 824 Jun 24 14:31 linux-3.9.7-gentoo

# ls /usr/src/linux-3.7.0-sabayon/ -ltr
total 3519
-rw-r--r-- 1 root root 2684328 Jan 23 16:21 System.map
-rw-r--r-- 1 root root 860842 Jan 23 16:21 Module.symvers
-rw-r--r-- 1 root root 47886 Jan 23 16:21 Makefile
drwxr-xr-x 3 root root 80 Feb 19 12:04 include

# uname -a
Linux workhorse 3.7.0-sabayon #1 SMP Wed Jan 23 21:08:19 UTC 2013 i686 Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz GenuineIntel GNU/Linux



the gentoo sources are there cause I didnt first check which specific sources I need.. they are not used anyway..
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1411

PostPosted: Tue Jun 25, 2013 8:38 pm    Post subject: Reply with quote

how r u installing Sabayon?
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32328
Location: 56N 3W

PostPosted: Tue Jun 25, 2013 8:39 pm    Post subject: Reply with quote

Moved from Kernel & Hardware to Unsupported Software.

To avoid confusing Gentoo users. Sabayon is not Gentoo.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
raptor
Apprentice
Apprentice


Joined: 20 Sep 2002
Posts: 171

PostPosted: Tue Jun 25, 2013 8:39 pm    Post subject: from DVD Reply with quote

I installed it from Sabayon DVD installer..
and then I'm using only portage to update it..
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1411

PostPosted: Tue Jun 25, 2013 8:45 pm    Post subject: Re: from DVD Reply with quote

raptor wrote:
I installed it from Sabayon DVD installer..
and then I'm using only portage to update it..


You cant, read the Sabayon Documentation on Equo - Sabayon's Equivalent to portage
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
raptor
Apprentice
Apprentice


Joined: 20 Sep 2002
Posts: 171

PostPosted: Tue Jun 25, 2013 8:52 pm    Post subject: ;) Reply with quote

I've been using emerge only on Sabayon for years.. on at least 10 different installation.. :)

Never have used the equo, though


thanks btw, for spending time to look at this
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1411

PostPosted: Tue Jun 25, 2013 9:00 pm    Post subject: Re: ;) Reply with quote

raptor wrote:
I've been using emerge only on Sabayon for years.. on at least 10 different installation.. :)

Never have used the equo, though


thanks btw, for spending time to look at this


you are on your own, i can give you some pointers.

emerge will not install ur kernel as your virtual box install did not format your vdk disk as zfs. Equo might can overcome this, but if not restart the DVD installer making sure to "Format Entire Disk" before installing...
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 354

PostPosted: Fri Jul 12, 2013 3:22 pm    Post subject: Reply with quote

* ERROR: Binary /sbin/mount.zfs could not be found

Maybe to install this sources you will only need zfs-tools .
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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