Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange non-functional environment after Gentoo installation
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
sushant354
n00b
n00b


Joined: 26 Jun 2008
Posts: 12

PostPosted: Thu Jan 05, 2017 3:22 pm    Post subject: Strange non-functional environment after Gentoo installation Reply with quote

One of my Server machine had a disk failure and I bought a new disk. Installed hardened gentoo. Took it to the data center and replaced the disk. I did that to not spend time in the data center.

The machine booted fine but I am experiencing a strange non-functional environment after boot up.

When I try to emerge any package, the configure gets stuck at "checking that generated files are newer than configure". The top shows all memory values as "11111...."

top - 20:41:09 up -24855 days, -3:-14, 5 users, load average: 0.00, 0.00, 0.00
Tasks: 247 total, 1 running, 246 sleeping, 0 stopped, 0 zombie
KiB Mem : 11111�11 total, 11111�11 free, 111111 used, 1111112 buff/cache
KiB Swap: 1111111 total, 1111111 free, 0 used. 11111I11 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
20405 root 20 0 111111 1111 1111 S 0.3 0.1 0:03.60 top
23852 root 20 0 11111 1111 1111 S 0.3 0.1 0:02.45 top
23917 root 20 0 11111 1111 1111 R 0.3 0.1 0:00.08 top

The /proc<pid>/status shows that the values of memory are fine.

uptime also shows negative values:
20:43:37 up -24855 days, -3:-14, 5 users, load average: 0.00, 0.00, 0.00

I created a /mnt/gentoo direcory and and un-tarred the stage3 tarball there. When I chroot into that, everything looks fine. I am able to compile packages as well there. But not in the main environment.

I also noticed that the machine that I used to install was having date as January, 17 and I did not set the correct date in the beginning of the install. It was an old machine that was not used for a while. Could that be a reason?

What should I do? Reinstall Gentoo or is there an easier fix?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7130
Location: almost Mile High in the USA

PostPosted: Thu Jan 05, 2017 7:48 pm    Post subject: Reply with quote

You probably have a kernel and userland mismatch, what version of kernel and procps do you have installed/running?
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
sushant354
n00b
n00b


Joined: 26 Jun 2008
Posts: 12

PostPosted: Fri Jan 06, 2017 2:29 am    Post subject: Reply with quote

All of that is fresh
sys-process/procps-3.3.12:0/5

uname -a
Linux 4.4.39-gentoo #2 SMP Thu Jan 12 21:25:21 IST 2017 x86_64 Intel(R) Xeon(R) CPU L5639 @ 2.13GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7090
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 06, 2017 2:56 am    Post subject: Reply with quote

You sure your clock is correct now? Kernel date is Jan 12 ...
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
sushant354
n00b
n00b


Joined: 26 Jun 2008
Posts: 12

PostPosted: Fri Jan 06, 2017 4:01 am    Post subject: Reply with quote

Yes I fixed the clock at the end of installation. And I wonder if that is the real problem.

date
Fri Jan 6 09:30:36 IST 2017

Shows correct time now.
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