bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #43004] nativedisk aborts Virtualbox VM


From: adrian15
Subject: [bug #43004] nativedisk aborts Virtualbox VM
Date: Mon, 12 Jan 2015 02:45:42 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0

Follow-up Comment #1, bug #43004 (project grub):

So, this is an update with GIT HEAD.
You even have Virtualbox logs so that you might infer what Virtualbox does not
like.

Jessie chroots - Package I installed
--------------------------------------------

python autoconf bison flex unicode libfreetype6-dev

Affected GIT commit
-------------------

bac5d1a64ab4191058a8fd4c05f6b3b339e249e7

Build system
-------------

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

grub> nativedisk pata ahci
error: no device connected.
error: no device connected.
error: no device connected.
(Virtualbox aborts. You can see Virtualbox log just below).
00:00:24.705222 AHCI#0P0: Canceled read at offset 0 (32768 bytes left)
returned rc=VINF_SUCCESS
00:00:25.428764 AHCI#0P0: Canceled write at offset 0 (512 bytes left) returned
rc=VINF_SUCCESS


# Test 2 (These are the default modules when you run nativedisk without an
argument)

grub> nativedisk pata ahci usbms ohci uhci ehci
error: no device connected.
error: no device connected.
error: no device connected.
error disk `hd96' not found
(Virtualbox aborts. You can see Virtualbox log just below).
00:00:25.632528 OHCI: Software reset
00:00:25.633299 OHCI: USB Operational
00:00:26.521020 AHCI#0P0: Canceled read at offset 0 (32768 bytes left)
returned rc=VINF_SUCCESS
00:00:27.247422 AHCI#0P0: Canceled write at offset 0 (512 bytes left) returned
rc=VINF_SUCCESS

I'm using Virtualbox 4.3.20 r96996.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43004>

_______________________________________________
  Mensaje enviado vía/por Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]