[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #43983] alloc magic is broken at 0x7ff16f90 when nativedisk usbms
From: |
adrian15 |
Subject: |
[bug #43983] alloc magic is broken at 0x7ff16f90 when nativedisk usbms |
Date: |
Mon, 12 Jan 2015 02:15:50 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0 |
URL:
<http://savannah.gnu.org/bugs/?43983>
Summary: alloc magic is broken at 0x7ff16f90 when nativedisk
usbms
Project: GNU GRUB
Submitted by: adrian15sgd
Submitted on: lun 12 ene 2015 02:15:49 GMT
Category: Terminal
Severity: Major
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: Git master
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
Jessie chroots - Package I installed
--------------------------------------------
python autoconf bison flex unicode libfreetype6-dev
Affected GIT commit
-------------------
bac5d1a64ab4191058a8fd4c05f6b3b339e249e7
Build system
-------------
Debian Jessie from 12 January 2015
Build options
./configure --with-platform=efi at first pass.
./configure --with-platform=pc at second pass.
How do I build and prepare my system
------------------------------------
Make sure no Debian grub package is found in chroot
apt-get remove '.grub.'
Grub2 (efi+pc)) Build and installation
# Make sure we are testing the right revision
mkdir grub_upstream
cd grub_upstream
git clone git://git.savannah.gnu.org/grub.git .
git checkout COMMIT-TO-TEST
# Remove any non git related file - BEGIN
git reset --hard
git clean -f -d
git clean -f -x -d
# Remove any non git related file - END
# Build efi based grub and install it - BEGIN
./autogen.sh && ./configure --enable-grub-mkfont --with-platform=efi && make
# Dont forget to delete any rest of previous installation - BEGIN
sudo rm -rf /usr/local/etc/grub.d/ /usr/local/bin/grub-*
/usr/local/share/grub/
# Dont forget to delete any rest of previous installation - END
sudo make install
# Build efi based grub and install it - END
make clean # Prepare for next build
./configure --enable-grub-mkfont --with-platform=pc && make # Prepare for a
i386 build
sudo make install # Install i386 build
Super Grub2 Disk build
----------------------
grub-mkrescue --output=/tmp/test1.iso
VM system
----------
Virtualbox 4.3.10 r93012
Enable EFI option is unchecked!
Cdrom drive: super_grub2_disk_2.00s2.iso
Disk 1: Windows 7 and Debian
How to reproduce the bug
-------------------------
If needed press 'c' to go to grub shell.
# Test 1 (Which does not rise the bug. Just for your reference.)
grub> nativedisk pata
error: no device connected.
error: no device connected.
error: no device connected.
grub> nativedisk ahci
grub> nativedisk usbms
grub> nativedisk ohci
grub> nativedisk uhci
grub> nativedisk ehci
grub>
# Test 2 (Identical to Test 1 but adding ls commands. Now the bug is risen.)
grub> nativedisk pata
error: no device connected.
error: no device connected.
error: no device connected.
grub> ls
(ata2) (ata2,apple4) (ata2,apple3) (ata2,apple2) (ata2,apple1) (ata2,gpt3)
(ata2,gpt2) (ata2,gpt1)
grub> nativedisk ahci
grub> ls
(ahci0) (ata2) (ata2,apple4) (ata2,apple3) (ata2,apple2) (ata2,apple1)
(ata2,gpt3) (ata2,gpt2) (ata2,gpt1)
grub> nativedisk usbms
alloc magic is broken at 0x7ff16f90: 0
Aborted. Press any key to exit.
# I press a key
FATAL: INT18: BOOT FAILURE
(Grub is hang).
I'm using Virtualbox 4.3.20 r96996.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43983>
_______________________________________________
Mensaje enviado vía/por Savannah
http://savannah.gnu.org/
- [bug #43983] alloc magic is broken at 0x7ff16f90 when nativedisk usbms,
adrian15 <=