Red Hat Bugzilla – Bug 18793
RH 7.0 hangs on boot after the text 'Enabling swap space'
Last modified: 2005-10-31 17:00:50 EST
This does not appear to occur on all systems, but during the boot
sequence, the system hangs after printing the text, 'Enabling swap space'.
I have a work around which involves booting the rescue image, and editing
rc.sysinit and commenting out the 'Load agpgart here' section.
Once that section is commented out, the system boots normally and
everything appears to function normally.
I would assume that this problem only occurs on systems with an AGP card,
but to be specific, I have heard of the problem occuring on HP Netserver
I've got just the same problem. I've got a laptop (HP Omnibook XE-2 DD) with an
onboard AGP card (Silicon Motion LynxEM 4MB). I'll try your workaround and
report the result to you.
I' ve just reinstalled RH 7.0 on my machine. Your workaround works fine. But you
should know that a RH Rescue floppy disk or CD isn't able to boot the system. It
hangs at the same point ("enabling swap space"). The boot under aid of a well
known rescue disk (tomsrtbt) worked fine. So I was able to mount the
root-file-sytem and to edit the rc.sysinit.
Quoted from Denis Hruza on the Support Forum:
-- BEGIN QUOTE
Don't know if it will work with the SCSI setups, but you can also try
At the graphical lilo screen hit ctrl-x
At the lilo boot prompt type:
linux init=/bin/bash rw
It will load the kernel and pop up a bash shell without running any of the init
stuff. You can then go edit what you need to.
-- END QUOTE
I honestly haven't tried this.
Thanks for your tip. I'll try it.
Same problem and same resolution on an HP Omnibook 4150 with a NeoMagic 128 2MB
OK, it appears the agpgart module hangs some systems. Any ideas from the kernel
*** Bug 19228 has been marked as a duplicate of this bug. ***
*** Bug 18761 has been marked as a duplicate of this bug. ***
*** Bug 20356 has been marked as a duplicate of this bug. ***
*** Bug 21489 has been marked as a duplicate of this bug. ***
I can't get my E60 (SCSI) past the swap line no matter what I do. Even
reformatting the drive and doing a clean install didn't work. I was able to get
into bash and edit rc.sysinit in pico, which is easier than the rescue CD route,
but it still didn't help. My next step, I suppose, is to replace the AGP video
card with a PCI type and reinstall 7.0.
*** Bug 22779 has been marked as a duplicate of this bug. ***
*** Bug 23064 has been marked as a duplicate of this bug. ***
I found if I delete /etc/sysinfo/hwconf everytime I can then boot my machine.
I think its related to Kudzu. They marked my bug report as a duplicate.
Because it *is* a duplicate. It's only related to kudzu because that's
where it looks for the configuration information to load the agpgart
module. It's the agpgart module that's hanging your system.
The hang on boot problem also occurs on my Gateway 8200 Servers. The published
fix (edit agp line from rc.sysinit) corrects the problem.
The bug also occurs on the Toshiba Satellite Pro 4270ZDVD laptop computer.
I have been having exactly this problem after installing RedHat Linux 7.0.
commenting out those lines of code does not seem to work on my Toshiba
SatellitePro 4270ZDVD laptop. It still hangs either just after Enabling swap
space or just before it (after a message about turning on quotas or something)
HP NETSERVER 60 W/32MB AGP ATI VIDEO.HAVING SAME PROBLEM. I HAVE NO LINUX
EXPERIENCE AND TRIED THE LINUX SINGLE INIT COMMAND. MACHINE BOOTS TO INIT-
2.04#. ANYONE GOT THE TIME TO SEND ME DIRECTIONS ON HOW TO EDIT THESE LINES 583-
585? I AM STARING AT INIT-2.04# _ AND NEED HELP PLEASE. THANK YOU!!
FWIW, the current initscripts do *not* automatically load agpgart.
Same problem happened with me with redhat 7.1. I have a pentium 166 MMX. PCI
video card here though! If I boot from the floppy it works fine, but not
othewise! I tried re-installing with several different configurations (size of
swap or even different hard-drives!) I'll try this fix, hopefully it'll work!
Latest release 7.1 works fine.
I'm unable to boot the system using and edit the files (either
rc.sysinit or inittab) either way the file system is mounted in read-
only mode, any suggestions?