I just finished installing FC5 on a machine and now I can't boot it up. The motherboard supports two CPUs, however only one's installed. But for some stupid reason, the installer decided to put only the smp kernel on, instead of both the smp as well as the single (one-up) kernel, so I can't boot the machine now. It locks up during the boot process, doing what appears to be something with CPU1 which doesn't exist. It goes through CPU0 just fine then quits. Does anyone have any suggestions on how to rectify this problem now? The machine does not have a CD drive in it so I can't boot the rescue (or any other) disk.
With past FC versions it always installed two kernels, one smp and one non-smp so I always had the choice to boot with the single one (then proceed to remove the smp one since I don't need it.) Apparently FC5 disagrees with that arrangement.
For those curious, I booted it through floppies [1] and did an NFS install.
[1] http://www.thisiscool.com/fcfloppy.htm
On Mon, 2006-08-28 at 17:39 -0600, Ashley M. Kirchner wrote:
I just finished installing FC5 on a machine and now I can't boot it
up. The motherboard supports two CPUs, however only one's installed. But for some stupid reason, the installer decided to put only the smp kernel on, instead of both the smp as well as the single (one-up) kernel, so I can't boot the machine now. It locks up during the boot process, doing what appears to be something with CPU1 which doesn't exist. It goes through CPU0 just fine then quits. Does anyone have any suggestions on how to rectify this problem now? The machine does not have a CD drive in it so I can't boot the rescue (or any other) disk.
You may have success by adding isolcpus=1 to the kernel command line, which should limit your system to using CPU#0. Alternatively you could boot from floppy, chroot to the installed root and manually add a non-smp kernel from the NFS mounted source with rpm -i.
With past FC versions it always installed two kernels, one smp and
one non-smp so I always had the choice to boot with the single one (then proceed to remove the smp one since I don't need it.) Apparently FC5 disagrees with that arrangement.
It was recently reported on the list that FC6 will only ship with SMP kernels, since it works fine on (most) uni-processor units.
Regards Hendrik
For those curious, I booted it through floppies [1] and did an NFS
install.
[1] http://www.thisiscool.com/fcfloppy.htm
-- W | It's not a bug - it's an undocumented feature. +-------------------------------------------------------------------- Ashley M. Kirchner mailto:ashley@pcraft.com . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
Hendrik Strydom wrote:
You may have success by adding isolcpus=1 to the kernel command line, which should limit your system to using CPU#0.
That didn't work. It gets stuck at the same exact line of output every time:
CPU 1 irqstacks, hard=c0422000, soft=0402000
Now, please keep in mind that I'm not 100% certain whether it is actually trying to access a second CPU or not. All I'm seeing is that it finds CPU0 and displays what the kernel normally does then it quits on that line. When I look for that same line on any of my single CPU machines, it's always 'CPU 0 irqstacks...' On this trouble machine it says 'CPU 1 irqstacks...' That's what makes me think it's trying to boot a second CPU which isn't present in the machine.
Alternatively you could boot from floppy, chroot to the installed root and manually add a non-smp kernel from the NFS mounted source with rpm -i.
How would you suggest I go about doing that? The floppies that I have are for installing the OS and will start the installer if I boot off of them. Is there another floppy image that gives me the ability to get on the machine, configure one of the ethernet cards to where I can pull the kernel from the NFS onto the machine (through rpm)?
On Monday 28 August 2006 19:39, Ashley M. Kirchner wrote:
the installer decided to put only the smp kernel on,
I have a single CPU board and the FC5 smp kernel was all that was installed on my system and it boots fine.