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

Submitted by:  Daniel Lawson <fang0654>
Submitted on:  Fri 05 Feb 2010 02:48:19 AM UTC  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: Daniel Lawson
Open/Closed: ClosedRelease: 
Release: 1.97Reproducibility: 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>
Project 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>
Project 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>

 

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
  • -unavailable- added by marburg (Posted a comment)
  • -unavailable- added by phcoder (Updated the item)
  • -unavailable- added by fang0654 (Submitted the item)
  • -unavailable- added by fang0654
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 May 2010 04:09:33 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 24 Feb 2010 10:26:03 AM UTCphcoderAttached File-=>Added raidfix.diff, #19785
    Fri 05 Feb 2010 02:48:19 AM UTCfang0654Attached File-=>Added grub.cfg, #19625
      Attached File-=>Added device.map, #19626
      Carbon-Copy-=>Added fang0654

    Back to the top


    Powered by Savane 3.1-cleanup1