Bug 80892

Summary: Notify user when architecture is not supported (ie, no kernel package exists)
Product: [Retired] Red Hat Linux Reporter: David Chambers <david.chambers>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-05-25 14:56:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 79578    
Attachments:
Description Flags
Diagnostic Dump via floppy none

Description David Chambers 2003-01-01 20:56:22 UTC
Description of problem:

Anaconda crashes when creating the recommended rescue disk toward the end of 
the installation process, indicating a bug. This occurs independent of whether 
GRUB or LILO Loader is selected. Previous notification message indicated that 
(despite being a clean new all Linux installation) no Kernel packages were 
loaded, so the boot loader/config had not been updated. Disks and floppy have 
been double checked/reformatted, and same result happens 4 or 5 times, 
regardless of build (workstation, server etc).

This is a text mode installation on a very simple and old Dell 486P machine, 
using a newish high speed CDROM. Memory 40MBytes, Disk 6GB, Processor 
486/33DX, onboard bog standard VGA graphics with 1K video RAM.

If I skip this option (ie make no disk) the installation completes but does 
not boot, because BIOS cannot find any boot record.

BIOS can only see 504MBytes of disk, but boots successfully into a 10MB MSDOS 
partition at the start of the disk.

Error message was:
File /usr/bin/anaconda line 694 in intf.run(id,dispatch,ConfigFileData)
File /usr/text/anaconda/text.py line 446
in run dispatch.gotoNext()

Version-Release number of selected component (if applicable):


How reproducible:
Every time - I have tried this 4 or 5 times, double checked/used different the 
media (floppies, CDROMs etc), and whether selected GRUB or LILO boot loader


Steps to Reproduce:
1. Text install booted from floppy using CDROM disks, Linux only machine
2. Agree to create boot/rescue floppy disk toward end of installation
3. Crash when trying to write to floppy
    
Actual results:
Crashes every time with error message (indicating a bug) in anaconda program

Expected results:
Create floppy (or give graceful error message)

Additional info:
I will append the debug dump via a floppy to this bug report after filing, but 
the top part is included below:
Traceback (most recent call last):
  File "/usr/bin/anaconda", line 694, in ?
    intf.run(id, dispatch, configFileData)
  File "/usr/lib/anaconda/text.py", line 446, in run
    dispatch.gotoNext()
  File "/usr/lib/anaconda/dispatch.py", line 150, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/dispatch.py", line 215, in moveStep
    rc = apply(func, self.bindArgs(args))
  File "/usr/lib/anaconda/floppy.py", line 59, in makeBootdisk
    kernel = hdList['kernel']
  File "/usr/lib/anaconda/comps.py", line 171, in __getitem__
    return self.packages[item]
KeyError: kernel

Local variables in innermost frame:
item: kernel
self:

Comment 1 David Chambers 2003-01-01 20:58:25 UTC
Created attachment 89040 [details]
Diagnostic Dump via floppy

Dump produced when installer crashes

Comment 2 Michael Fulbright 2003-01-02 21:41:18 UTC
You need to have a Pentium processor as a minimum.

Jeremy we need to make sure we catch this earlier. I think you were working on
making sure a kernel package exists?

Comment 3 Jeremy Katz 2003-01-02 21:48:49 UTC
Already done in CVS

Comment 4 Brent Fox 2003-05-25 14:56:36 UTC
I'm going through Bugzilla closing some bugs that have been marked as Modified
for some period of time.  I believe that most of these issues have been fixed,
so I'm resolving these bugs as Rawhide.  If the bug you are seeing still exists,
please reopen this report and mark it as Reopened.