LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-26-2004, 03:22 PM   #1
miroslavhalas
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
Hang after enabling swap space


Guys,

could you please help me with this problems. We have several computers running Fedora Core 1. All of them were working perfectly for some time (several months). Then last week two of them stopped booting. They start booting and then stop after message Enabling swap space. All the computers have the same fixed configuration running just plain Fedora with one custom application. After analyzing user's behaviour we think it may have something to do with use of USB key. Our users plug in USB key to transfer some data. The only commong behaviour we could identify was that if the users removed the key during shutdown or sometimes plugged it in during startup it rendered the computer unbootable.

We have tried everything, the computers don't have plugged in any peripheral, only keyboard and mouse (and we tried even without eyboard and mouse) but they will not boot anymore.

Can anybody advice me how to troubleshoot this? I would like to know if I can find out what is causing the problems or how can make the computers boot again to get to the data and make them usable again. Reinstall is not an option since as I said, the computers have fixed configuration and nothing but the data changes on them so nothing should be different from those working computers. Is there any explanation how can this happen? Any help would be really appreciated.

Miro
 
Old 05-28-2004, 11:19 AM   #2
blainehilton
Member
 
Registered: Dec 2002
Location: Portage, IN, USA
Distribution: Fedora
Posts: 34

Rep: Reputation: 15
I'm having the same problem with a fresh install of Fedora Core 2. The system was working fine with Redhat (v7 I believe). From what I've been able to read in other places after the enableing swap space says okay then the system searches for hardware, running INIT scripts.
 
Old 06-09-2004, 11:37 AM   #3
miroslavhalas
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
It is now in checking integrite

I have forced file system integrity check and the system still hangs during Enabling swap space? Even if I get interactive boot it still hangs before I can do anything. Any idea how to troubleshoot it?
 
Old 06-09-2004, 11:48 AM   #4
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
Try booting into single user interactive... then shut-down cleanly and start-up again... I set up a fixed /etc/fstab entry for my usb-key to avoid hardware checking and fstab rewriting (makes for a faster boot-up as well).
 
Old 06-09-2004, 12:01 PM   #5
purplecow
Member
 
Registered: Aug 2003
Location: Finland
Distribution: Mandriva
Posts: 102

Rep: Reputation: 15
I'm running Mandrake 10, and bootup sometimes, randomly, without warning, hangs upon "activating swapspace".
I press reset, and it comes up fine.

I'm betting on sunspots.
 
Old 06-09-2004, 12:21 PM   #6
jrittvo
Member
 
Registered: Apr 2004
Location: NJ, USA
Distribution: Fedora
Posts: 82

Rep: Reputation: 15
Just a shot in the dark here.... Maybe the USB key is causing the device numbers to change? Like what used to be dev/hdc3 and was the swap space is now dev/hdc4 to the machine. But the mount line in fstab still says dev/hdc3, so initializing the swap space hangs.
 
Old 06-09-2004, 01:28 PM   #7
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
Quote:
Originally posted by jrittvo
Just a shot in the dark here.... Maybe the USB key is causing the device numbers to change? Like what used to be dev/hdc3 and was the swap space is now dev/hdc4 to the machine. But the mount line in fstab still says dev/hdc3, so initializing the swap space hangs.
usb devices are generally sda not hdc
 
Old 06-09-2004, 04:12 PM   #8
jrittvo
Member
 
Registered: Apr 2004
Location: NJ, USA
Distribution: Fedora
Posts: 82

Rep: Reputation: 15
Shot in the dark #2 then... the hard drive wouldn't happen to be SCSI, would it?
 
Old 04-26-2005, 10:46 AM   #9
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Quote:
Originally posted by lupin_the_3rd
Try booting into single user interactive... then shut-down cleanly and start-up again... I set up a fixed /etc/fstab entry for my usb-key to avoid hardware checking and fstab rewriting (makes for a faster boot-up as well).
I did the single user interactive and it worked perfectly for me. Thanks for the tip!!

Travis
 
Old 04-27-2005, 05:49 AM   #10
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Rep: Reputation: 30
another stuff is that it's possible to be the next thing not exactly swap related it happened to be with usb printer .. it was almost a saga till I fixed it and interactive was not applicable it still hung, but running kudzu kind of fixxed stuff
 
Old 04-28-2005, 04:25 AM   #11
m.ozgur.karahan
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Enabling Swap Space

It is not because of swap space. The reason is one or more service starting-up problems during boot-up. You should go to services and select "no automatic start" for some services during boot. I suggest you start selecting "no start" for kudzu and any other network query services. Just to be sure select no-automatic start for all services and start them manually. You may also see the log's for the best candicates.
 
Old 04-28-2005, 05:22 AM   #12
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Rep: Reputation: 30
but with kudzu it was very strange with this printer.. I really spend much time initially if the printer was plugged it crashed and the "swap" thing, why is it so hard to use kudzu I mean I do not enable it for automatic but as the printer was detected for another usb hub and as I switched it it really messed up.. I had to reboot many times till it deleted previous configuration for the printer and so on.. maybe because of some timeout(meaning times of reboot till it confirms the absense of piece of HW)

In general my question is is it possible to better handle usb stuff? like usb-sticks and printers..
 
Old 05-05-2005, 12:21 PM   #13
dominedi
LQ Newbie
 
Registered: Mar 2005
Location: italy
Distribution: mandrake 10
Posts: 26

Rep: Reputation: 15
same issue with mandriva le 2005

Hi, i have the same issue with the last version of mandriva 2005 le.

it hang after activating the swap partition.
tried booting with the single option boot it still hang.

i'm a very newbie in linux so any help is appreciated...
thanks
 
  


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
after Enabling swap space Fedora hangs on boot ejbest Linux - Newbie 11 10-07-2004 08:27 AM
Update For Post Install Hang On "enabling Swap" Briska_69 Fedora 0 09-06-2004 09:36 AM
freeze after Enabling Swap Space niteshadw Fedora 5 08-17-2004 10:50 AM
error enabling swap space endezeichen Linux - General 3 11-20-2003 09:05 PM
getgrnam failed for$Enabling swap space rhonneil Linux - Networking 0 09-15-2003 09:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:38 AM.

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