LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-04-2003, 04:17 PM   #1
dabicho
LQ Newbie
 
Registered: Aug 2003
Posts: 25

Rep: Reputation: 15
boot freezes on "activating swap partition" sometimes


This is very frequent, Im running a custom built kernel that freezes the boot process on Activating swap partiotions what I have the boot param hdc=ide-scsi, to enable cd burning.

I think I may have done something wrong when configuring the kernel, but I didnt do anything strange that I hadnt done before.

the kernel is 2.4.22, and the system is fedora 2 (rh current beta)


what may be wrong, if anybody has seen this problem before?
 
Old 10-04-2003, 05:04 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"what may be wrong,"

You may have a corrupt swap partition. You could reformat the swap partition with:

swapoff
mkswap
swapon

See the man pages for the correct parameters to pass these three commands.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 10-04-2003, 09:31 PM   #3
dabicho
LQ Newbie
 
Registered: Aug 2003
Posts: 25

Original Poster
Rep: Reputation: 15
Ill try that, and post back when Ive got the result, but the funny thing is that Fedora's kernel never halts there, only my custom made kernel, and only when I have the boot param hdc=ide-scsi

Thank you for the response.
 
Old 10-04-2003, 10:23 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"but the funny thing is that Fedora's kernel never halts there, only my custom made kernel, and only when I have the boot param hdc=ide-scsi"

Maybe swap is the last thing that it does right before it hits the error condition. What is the message immediately after the swap message when the kernel goes through the boot process correctly? Maybe that is the process that it is hanging on when it fails.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 10-05-2003, 10:53 AM   #5
dabicho
LQ Newbie
 
Registered: Aug 2003
Posts: 25

Original Poster
Rep: Reputation: 15
I think I have found the problem.

It appears, and I didnt know, that Fedora comes with 3 different versions of gcc.

gcc-3.3.1-5 (latest), and gcc
gcc32-3.2.3-6 (binary is gcc32)
compat-gcc-7.3-2.96.118 (binary is gcc296)

For what I have read on the mailing list, I deduced (havent find it on documents yet) that fedora's kernel was compiled with 3.2.3, an I am compiling it with latest gcc... that may be the problem.

I have googled a bit, and will do some testing with rc.sysinit to see where its stoping.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 3 boot hangs after "Enabling swap space: [OK]" Voroojack Fedora 2 11-29-2005 09:21 AM
Redhat linux 8.0 freezes at "partition check" during installation murthy Linux - General 0 08-15-2004 05:24 AM
Mandrake 10.0 Laptop Won't Boot Past "Activating Swap Partitions"? Aaron Josephson Linux - Software 0 06-26-2004 08:02 PM
Swap file "drive" or partition for new PC/speed questions? robbow52 Linux - Hardware 4 01-08-2004 04:59 PM
boot stops at "enable swap space" heather_k Linux - General 5 06-07-2002 03:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration