Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --ask sys-kernel/gentoo-sources --Failed--
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
oldrunner
n00b
n00b


Joined: 14 Sep 2016
Posts: 10

PostPosted: Wed Sep 14, 2016 1:47 pm    Post subject: emerge --ask sys-kernel/gentoo-sources --Failed-- Reply with quote

Installing Gentoo on an old i686
Command: emerge --ask sys-kernel/gentoo-sources

Ended with:
Code:

* Final size of build directory: 4 KiB
 * Final size of installed tree: 726800 KiB
ecompressdir: bzip2 -9 /usr/share/doc
>>> Installing (2 of 2) sys-kernel/gentoo-sources-4.4.6::gentoo
>>> Failed to install sys-kernel/gentoo-sources-4.4.6, Log file:
>>>  '/var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/temp/build.log'
 * Regenerating GNU info directory index...
 * Processed 89 info files.


What's my next step?

BTW, code button not activated when I posted this. This is my first post and first Gentoo install.

Thanks

[Moderator edit: added [code] tags to preserve output layout.

OP: You can add code markings without using forum buttons. They are ordinary text. Edit this post to see how I did it. -Hu]
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Wed Sep 14, 2016 1:50 pm    Post subject: Reply with quote

Check out the log, of course. Probably ran out of disk space or inodes.
Back to top
View user's profile Send private message
oldrunner
n00b
n00b


Joined: 14 Sep 2016
Posts: 10

PostPosted: Wed Sep 14, 2016 1:56 pm    Post subject: Reply with quote

Disk space only 12% used. Inodes, not sure how to check.

Log File:
Code:

(chroot) sysresccd / # cat /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/temp/build.log
 * Package:    sys-kernel/gentoo-sources-4.4.6
 * Repository: gentoo
 * Maintainer: kernel@gentoo.org
 * USE:        abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Preparing to unpack ...
>>> Unpacking source...
>>> Unpacking linux-4.4.tar.xz to /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/work
>>> Unpacking genpatches-4.4-8.base.tar.xz to /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/work/patches
>>> Unpacking genpatches-4.4-8.extras.tar.xz to /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/work/patches
 * Excluding Patch #5000_enable-additional-cpu-optimizations-for-gcc.pat [ ok ]
 * Excluding Patch #5015_kdbus*.patch ...                                [ ok ]
 * Applying 1000_linux-4.4.1.patch (-p1) ...                             [ ok ]
 * Applying 1001_linux-4.4.2.patch (-p1) ...                             [ ok ]
 * Applying 1002_linux-4.4.3.patch (-p1) ...                             [ ok ]
 * Applying 1003_linux-4.4.4.patch (-p1) ...                             [ ok ]
 * Applying 1004_linux-4.4.5.patch (-p1) ...                             [ ok ]
 * Applying 1005_linux-4.4.6.patch (-p1) ...                             [ ok ]
 * Applying 1500_XATTR_USER_PREFIX.patch (-p1) ...                       [ ok ]
 * Applying 1510_fs-enable-link-security-restrictions-by-default.patch ( [ ok ].
 * Applying 2700_ThinkPad-30-brightness-control-fix.patch (-p1) ...      [ ok ]
 * Applying 2900_dev-root-proc-mount-fix.patch (-p1) ...                 [ ok ]
 * Applying 4200_fbcondecor-3.19.patch (-p1) ...                         [ ok ]
 * Applying 4567_distro-Gentoo-Kconfig.patch (-p1) ...                   [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/work
>>> Preparing source in /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/work/linux-4.4.6-gentoo ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/work/linux-4.4.6-gentoo ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/work/linux-4.4.6-gentoo ...
>>> Source compiled.
>>> Test phase [not enabled]: sys-kernel/gentoo-sources-4.4.6

>>> Install gentoo-sources-4.4.6 into /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/image/ category sys-kernel
>>> Copying sources ...
>>> Completed installing gentoo-sources-4.4.6 into /var/tmp/portage/sys-kernel/gentoo-sources-4.4.6/image/

 * Final size of build directory: 4 KiB
 * Final size of installed tree: 726800 KiB

ecompressdir: bzip2 -9 /usr/share/doc


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Wed Sep 14, 2016 2:01 pm    Post subject: Reply with quote

Check inodes
Code:
df -i
Back to top
View user's profile Send private message
oldrunner
n00b
n00b


Joined: 14 Sep 2016
Posts: 10

PostPosted: Wed Sep 14, 2016 2:03 pm    Post subject: Reply with quote

Code:
(chroot) sysresccd / # df -i
df: cannot read table of mounted file systems: No such file or directory


Might be a clue??
Thanks for the help...

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21754
Location: here

PostPosted: Wed Sep 14, 2016 2:16 pm    Post subject: Reply with quote

oldrunner wrote:
(chroot) sysresccd / # df -i
df: cannot read table of mounted file systems: No such file or directory

https://forums.gentoo.org/viewtopic-p-6155143.html#6155143
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
oldrunner
n00b
n00b


Joined: 14 Sep 2016
Posts: 10

PostPosted: Wed Sep 14, 2016 2:18 pm    Post subject: Reply with quote

I used gparted to create the file systems.
Didn't do the step "root #mkfs.ext2 -j -T small /dev/<device>".
Looks like I need to go back and start over, not using gparted and doing all the steps in preparing the disks...
Back to top
View user's profile Send private message
oldrunner
n00b
n00b


Joined: 14 Sep 2016
Posts: 10

PostPosted: Wed Sep 14, 2016 2:22 pm    Post subject: Reply with quote

Code:
root@sysresccd /root % df -i
Filesystem      Inodes  IUsed   IFree IUse% Mounted on
udev             59432    721   58711    2% /dev
/dev/sr0             0      0       0     - /livemnt/boot
/dev/loop0       82693  82693       0  100% /livemnt/squashfs
tmpfs            62369    593   61776    1% /livemnt/memory
none             62369    593   61776    1% /
tmpfs            62369     13   62356    1% /livemnt/tftpmem
none             62369     13   62356    1% /tftpboot
tmpfs            62369    431   61938    1% /run
shm              62369      1   62368    1% /dev/shm
tmpfs            62369     17   62352    1% /tmp
/dev/sda4      2232048 312706 1919342   15% /mnt/gentoo
/dev/sda1        32768     12   32756    1% /mnt/gentoo/boot
/dev/sda3      2371040    108 2370932    1% /mnt/lfs


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
oldrunner
n00b
n00b


Joined: 14 Sep 2016
Posts: 10

PostPosted: Wed Sep 14, 2016 2:29 pm    Post subject: Reply with quote

Previous post was difficult to read but the only problem I see is 100% used on /dev/loop0. Not sure what that means:

/dev/loop0 82693 82693 0 100% /livemnt/squashfs
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13830

PostPosted: Thu Sep 15, 2016 1:27 am    Post subject: Reply with quote

Your preceding post is much easier to read now that I added code tags. It is normal for /livemnt/squashfs to be full. It is built to be exactly as big as it needs to be, with no spare capacity.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Thu Sep 15, 2016 7:57 am    Post subject: Reply with quote

oldrunner wrote:
I used gparted to create the file systems.
Didn't do the step "root #mkfs.ext2 -j -T small /dev/<device>".
Looks like I need to go back and start over, not using gparted and doing all the steps in preparing the disks...


Nothing wrong to use gparted to create discs. I did that several times in the past from different live-cds or my gentoo itself / arch itself / linux mint itself.

There may be scenarios when you may need to tweak settings.

In my opinion it does not matter how you craete those partitions when you know what you are doing. When you have no clue it does not matter if you use gparted or the command line tools itself. Gparted is like k3b just a very nice frontend for hte command line tools. Gparted provide a nice visual feedback for myself.
Back to top
View user's profile Send private message
oldrunner
n00b
n00b


Joined: 14 Sep 2016
Posts: 10

PostPosted: Thu Sep 15, 2016 11:45 am    Post subject: Reply with quote

I tried parted with same result. Forgot to mention that I'm installing from rescuecd since I could't get minimum to successfully load ipw2200 wireless driver. Went through install process from scratch 5 times with same result so for now I'm giving up.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Thu Sep 15, 2016 4:39 pm    Post subject: Reply with quote

Reinstalling is not a solution, you have to fix what's wrong.
Back to top
View user's profile Send private message
oldrunner
n00b
n00b


Joined: 14 Sep 2016
Posts: 10

PostPosted: Thu Sep 15, 2016 10:54 pm    Post subject: Reply with quote

Buffoon, you're absolutely correct.
I tried installing Arch Linux which I've successfully installed before and it wouldn't install, acted as if I'd not setup my disk correctly.
So then I installed slackware which was the previous distro installed. It failed but said either the cd or the disk was bad. I replugged both and then successfully installed slackware. Looks like it was a hardware problem. Will retry Gentoo tomorrow.
Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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