bugGNU GRUB - Bugs: bug #43945, Can't Find Disk

 
 

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

bug #43945: Can't Find Disk

Submitter:  LiuHang <jobcrazy>
Submitted:  Tue 06 Jan 2015 03:22:46 PM UTC
   
 
Category:  Disk & Partition Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Git master
Release:  Reproducibility:  Every Time
Planned Release:  None

Wed 07 Jan 2015 04:15:06 PM UTC, comment #2: 

It's not a bug. Native drivers (pata etc) are incompatible with platform firmware drivers. Loafing them will disable platform firmware drivers. This is now enforced.

Andrei Borzenkov <arvidjaar>
Group Member
Wed 07 Jan 2015 04:03:06 AM UTC, comment #1: 

insmod will be the same result,for example:

insmod ehci.

I've tested the grub-mkimage of official ubuntu(x84-64-efi),it has the same bug

LiuHang <jobcrazy>
Tue 06 Jan 2015 03:22:46 PM UTC, original submission:  

I install Win7 in vmware,and the firmware is efi

I download the code of grub2 from git,compile and then mkimage like this:

/usr/local/grub2b2/bin/grub-mkimage -O x86_64-efi -o ORMLdr.efi -m memdisk newc normal font fat ntfs iso9660 loopback part_gpt cpio font memdisk search linux boot chain ata pata scsi gfxterm efi_gop efi_uga usb ehci ohci at_keyboard usb_keyboard

but it can't boot.(It works with the code of grub 2.00)

I type ls,there is only (memdisk) and nothing else.

I've try to insmod every module,but it dosen't work.

And then I found that if the module pata(or ehci/uhci/ohci) is buildin with grub-mkimage,this will happen.

At last, I exclude modules like this,and it works:

/usr/local/grub2b2/bin/grub-mkimage -O x86_64-efi -o ORMLdr.efi -m memdisk newc normal font fat ntfs iso9660 loopback part_gpt cpio font memdisk search linux boot chain gfxterm efi_gop efi_uga

The code infomation is here:
SHA1 ID:bac5d1a64ab4191058a8fd4c05f6b3b339e249e7
Author: Andrei Borzenkov <arvidjaar@gmail.com> 2014-12-10 02:41:49
Committer: Andrei Borzenkov <arvidjaar@gmail.com> 2014-12-10 02:56:39
Parent: 17328db3b33d67f2e5365fcb123d41aacc7ab16b (grub-core/kern/arm/misc.S: fix unaligned grub_uint64_t local variable)
Child: 0000000000000000000000000000000000000000 (Local uncommitted changes, not checked in to index)
Branches: master, remotes/origin/master
Follows: grub-2.02-beta2
Precedes:
Fix serial --rtscts option processing

LiuHang <jobcrazy>

 

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

Attached Files
file #32772:  GPT.jpg added by jobcrazy (45KiB - image/jpeg)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arvidjaar (Posted a comment)
  • -email is unavailable- added by jobcrazy (Submitted the item)
  •  

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-01-07 arvidjaar StatusNone Invalid
        Open/ClosedOpen Closed
    2015-01-06 jobcrazy Attached File- Added GPT.jpg, #32772

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code