bugGNU GRUB - Bugs: bug #28815, Grub fails to boot with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #28815: Grub fails to boot with "error: cannot get C/H/S values" while probing non-existant floppies

Submitter:  Daniel Lawson <fang0654>
Submitted:  Fri 05 Feb 2010 02:48:19 AM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name:  Daniel Lawson
Open/Closed:  Closed Release:  1.97
Release:  Reproducibility:  Every Time
Planned Release:  None

Tue 13 Apr 2010 12:51:25 AM UTC, comment #4: 

Thank you for the suggestion on 1.98.  It resolved my problem.

Aaron Marburg <marburg>
Mon 12 Apr 2010 07:27:23 AM UTC, comment #3: 

Please upgrade to 1.98. While the complete issue isn't solved because we can't avoid probing floppies since some BIOSes present USB pendrives as "floppies" it should react gracefully now

Vladimir Serbinenko <phcoder>
Group administrator
Mon 12 Apr 2010 03:25:31 AM UTC, comment #2: 

I appear to be replicating this problem even with the patch below.  OS is stock Ubuntu Server 9.10 x64 (grub-pc 1.97~beta4-1ubuntu4.1).  Hardware is a HP Proliant DL140 with no floppy (and no way to add a floppy, or disable it in BIOS). 

As before, two drives configured as raid1 with dmraid.  Symptoms before and after installing the patched s/w are the same.  I was able to change the version number in the grub splash screen (displayed after "insmod normal"), so I think I'm actually effecting a change in the installed grub ... but I'm open to it being a newb error in installing the patched version of grub.

This is a non-critical system so I'd be happy to test s/w as appropriate.

Aaron Marburg <marburg>
Wed 24 Feb 2010 10:26:04 AM UTC, comment #1: 

Attached patch should fix the problem

(file #19785)

Vladimir Serbinenko <phcoder>
Group administrator
Fri 05 Feb 2010 02:48:19 AM UTC, original submission:  

Using 1.97~beta4, with Ubuntu Server 9.10 x64.
I have two drives, configured as a raid 1 with dmraid.

When booting, I get the following:

GRUB Loading.
error: cannot get C/H/S values
grub rescue>

From there, if i type ls, I get the following:

(md0) (md1) (hd0) (hd0,5) (hd0,1) (hd1) (hd1,5) (hd1,1) (fd0) (fd1)
error: cannot get C/H/S values

There is a 1 second delay between displaying (hd1,1) and displaying (fd0).  There are no floppy drives installed on my system, and the floppy is disabled in the BIOS.  Interestingly enough, if I re-enable the floppy in the BIOS, and attach a physical floppy drive, the server boots fine.

If I install grub with just a single hard drive, it also works fine.  Seems to only be when dmraid is involved.

Attached is device.map and grub.cfg.

Daniel Lawson <fang0654>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #19785:  raidfix.diff added by phcoder (872B - text/x-diff)
file #19625:  grub.cfg added by fang0654 (4KiB - application/octet-stream)
file #19626:  device.map added by fang0654 (30B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by marburg (Posted a comment)
  • -email is unavailable- added by phcoder (Updated the item)
  • -email is unavailable- added by fang0654 (Submitted the item)
  • -email is unavailable- added by fang0654
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-05-09 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2010-02-24 phcoder Attached File- Added raidfix.diff, #19785
    2010-02-05 fang0654 Attached File- Added grub.cfg, #19625
        Attached File- Added device.map, #19626
        Carbon-Copy- Added fang0654

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code