LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   boot freezes on "activating swap partition" sometimes (https://www.linuxquestions.org/questions/linux-software-2/boot-freezes-on-activating-swap-partition-sometimes-100250/)

dabicho 10-04-2003 04:17 PM

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?

jailbait 10-04-2003 05:04 PM

"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

dabicho 10-04-2003 09:31 PM

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.

jailbait 10-04-2003 10:23 PM

"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

dabicho 10-05-2003 10:53 AM

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.


All times are GMT -5. The time now is 02:19 AM.