Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System freeze on boot solution!
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
blk_jack
Apprentice
Apprentice


Joined: 10 May 2002
Posts: 298
Location: Toronto

PostPosted: Sun May 19, 2002 5:32 pm    Post subject: System freeze on boot solution! Reply with quote

I recently put Gentoo on a harddrive which I intend to transfer to a p166mmx. The machine I installed it on is a pII 400. I compiled everything with the -mcpu=i686 flag and I compiled the kernel as a Pentium-MMX.

However when I initially booted the system froze after "Freeing unused kernel memory". So I did a little reading and found that this type of freeze is sometimes found when a kernel is compiled with flags that pertain to a higher CPU. ie: If I compiled the kernel with -march i686 and I intended to run the drive off a p166mmx. :)

So I recompiled the kernel with march=i386 after reading the help file on the cpu-type option in the kernel. This option said it would work on all x86 cpu types, but when I put the harddrive back in the p166mmx it continues to freeze after "Freeing unused kernel memory..". I've recompiled the entire system twice already and the kernel countless times. ANY help or suggestions would be greatly appreciated.


Last edited by blk_jack on Mon May 20, 2002 10:16 am; edited 1 time in total
Back to top
View user's profile Send private message
FINITE
Guru
Guru


Joined: 10 May 2002
Posts: 449

PostPosted: Sun May 19, 2002 7:22 pm    Post subject: Reply with quote

How far into the install of gentoo did you get before transfering it over to the lesser system?
Back to top
View user's profile Send private message
Guest






PostPosted: Sun May 19, 2002 9:39 pm    Post subject: Reply with quote

FINITE wrote:
How far into the install of gentoo did you get before transfering it over to the lesser system?

I've installed the entire Gentoo system flawlessly to the harddrive while running it off the pII 400. I've lilo'd the kernel to the harddrive MBR and everything too. Once I make sure everything completely works I take the harddrive out, plop it in the p166mmx, and boot. This is where I get the freezes & all that.
So to recap:

System installs & runs perfectly on pII 400
System freezes on bootup once the harddrive is transferred to the p166mmx.
Back to top
blk_jack
Apprentice
Apprentice


Joined: 10 May 2002
Posts: 298
Location: Toronto

PostPosted: Sun May 19, 2002 10:38 pm    Post subject: Reply with quote

Just so everyone knows, the system freezes either as it's loading INIT or just before. As I said, it displays "Freeing unused kernel memory 208k" (or similar) just before it halts. However I can still type and scroll back (shift-pgup) from there.

The only thing I can think of is if it's LILO or maybe the fact that my root partition is ext3. My boot partition used to be ext3 too, but I read somewhere about that having problems so I converted it to ext2 but it still crashes.

:(
Back to top
View user's profile Send private message
blk_jack
Apprentice
Apprentice


Joined: 10 May 2002
Posts: 298
Location: Toronto

PostPosted: Mon May 20, 2002 10:27 am    Post subject: Reply with quote

Hey all! I have good news!

After days & days of recompiles, search engines, posts on this forum, mailinglists, and well, general hell. HOWEVER!!! After a few trail & error methods I managed to get it all working and it's working very nicely.

Despite documentation you cannot compile the entire system as -mcpu=i686 and have it boot without problems. At one point my system was compiled like this and it would freeze right after "Freeing unused kernel memory XXXk" even with the kernel selected as 586.

However I got the harddrive back under the initial install system and selected march=i586 flag(s) for compilation. After a recompile of baselayout, sh-utils and glibc I put the harddrive BACK into the target machine and it booted beautifully.

Everything appears to be working now and the system is up & running. Hopefully this little post here will save some other poor soul cross compiling a Gentoo install from another (faster) machine a lot of headache and time! :)
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