Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Freeze while booting a cloned and working system
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
RAPHEAD
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2003
Posts: 134
Location: Germany

PostPosted: Fri Jan 30, 2015 9:00 pm    Post subject: [SOLVED] Freeze while booting a cloned and working system Reply with quote

Hi,
I have a very strange problem. I have cloned my well running Gentoo system optimized for systems running Intel Core 2 CPU and Nvidia GPU.
I'm running it on several Haswell and older Laptops. I'm trying to use it now in a pretty old Core 2 6600 based system with an older Nvidia GPU.
I have really nothing special, Kernel 3.18.2 and the following CFLAGS:

Code:
CFLAGS="-O2 -pipe -march=core2 -fomit-frame-pointer"


The problem is that the system is booting, I see the first starting... [ok] messages but then it suddenly freezes.
Before it freezes. the background color (in text mode) is getting green!
So it seems like it is doing some GPU initialization.
I tried some older kernels but no difference, except the point where it freezes.

I then booted with system rescue CD (also Gentoo based) into the system and
tried to see the log files, especially /var/log/messages. Unfortunately, this file is not existing (I've deleteed it to make sure).
So without log files and without dmesg, what can I do to trace this?

Do I need to enable serial console output of the kernel?!


Last edited by RAPHEAD on Sat Jan 31, 2015 4:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


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

PostPosted: Sat Jan 31, 2015 9:55 am    Post subject: Reply with quote

The hardware is compatible?

lspci vs lspci existing installation??

I am pretty sure you have a legacy gpu bc mine on my t9500 is 9800m gts from nvidia and it is legacy already too. your processor is much older than my t9500.

I assume you need to use this version or any version which is older for a legacy gpu

Quote:
roman@localhost ~ $ eix nvidia-driv
[U] x11-drivers/nvidia-drivers
Available versions: [M]96.43.23^msd [M]173.14.39^msd 304.125^msd 331.113^msd 340.65^msd (~)340.76^msd [m]343.36^msd [m](~)346.35^msd {+X acpi custom-cflags gtk gtk2 gtk3 multilib pax_kernel (+)tools uvm KERNEL="FreeBSD linux"}
Installed versions: 340.65^msd(19:39:06 10.01.2015)(X acpi multilib tools uvm -pax_kernel KERNEL="linux -FreeBSD")
Homepage: http://www.nvidia.com/
Description: NVIDIA Accelerated Graphics Driver


REading that you use also haswell with nvidia means you use newest supported gpu with legacy gpus ...

try to boot to init 1.
try to build generic kernel and use that with that box.

in which runlevel do you boot? 5 or 3?

what does rc-update shows? highly recommended to remove xdm from rc-update
Back to top
View user's profile Send private message
RAPHEAD
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2003
Posts: 134
Location: Germany

PostPosted: Sat Jan 31, 2015 3:35 pm    Post subject: [solved] Reply with quote

Hi tw04l124,

thx four your input!
The runlevel stuff was a good idea and I tried it but it didn't help.
Then I remembered that there is a possibility to boot rc interactively when pressing "I"/
This has to be enabled in /etc/rc.conf.
That worked and I figured out that the problem occurs when udev is started.
Then it was clear that it has something to be with some graphics related modules.
So I removed /lib/modules/3.18.1/kernel/drivers/video/fbdev completely (there was a folder `nvidia` and `core` in it).
Then it didn't freeze anymore.
So most likely the problem was with the nvidia frame buffer module.
After I switched to some older nvidia module (340.65) everything worked!

Thanks


Last edited by RAPHEAD on Sat Jan 31, 2015 5:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


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

PostPosted: Sat Jan 31, 2015 4:19 pm    Post subject: Reply with quote

Cool. Plase marke the topic as solved and the version I posted is for legacy gpus..
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