Skip to contentSkip to conversation

RFE: Add support for MS-DOS FPU compatibility mode

Bug 23992 [email protected] 1 participant 6 messages Aug 12, 2011 – Dec 10, 2013 1 message not in the archive KVM

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=23992

CJ <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from CJ <[email protected]> 2011-08-12 08:53:42 --- Is this still the case? If yes, I would like to take a look and would you please to show me what I should test with GNU Mach as it looks like somebody is already booting it on top of KVM.

http://lists.gnu.org/archive/html/bug-hurd/2011-03/msg00055.html

Thanks,
CJ

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#2 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=23992

--- Comment #2 from Samuel Thibault <[email protected]> 2011-08-12 09:47:56 --- Well, yes, of course, I didn't wait for KVM to fix this bug and let
people think that GNU Mach just does not work while it's actually KVM
which has a bug... Right after submitting the bug I've made GNU Mach
enable CR0_NE. The simplest way to test is probably to checkout
revision 8d4fdfbe43628119fc87920239704fe3d240d8a2 of
git://git.sv.gnu.org/hurd/gnumach.git and try to boot it e.g. using
grub's multiboot command.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#3 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=23992

--- Comment #3 from CJ <[email protected]> 2011-08-15 02:55:24 --- I followed the notes to install netinst.iso
(http://people.debian.org/~sthibault/hurd-i386/installer/cdimage/netinst.iso)
on KVM but the guest OS hangs at "Select and install software" -- "Running post-installation trigger install-info"

Is it a known issue?

sudo /usr/local/kvm/bin/qemu-system-x86_64 -m 1024 -net nic,model=rtl8139 -net user -hda hurd-install.qemu -cdrom netinst.iso -boot d -vnc :4 -no-kvm-irqchip

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#4 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=23992

--- Comment #4 from Samuel Thibault <[email protected]> 2011-08-15 18:31:28 --- No, it is not a known issue. Which task(s) did you install?

Note that you do not need to install GNU/Hurd to build GNU Mach, just

git clone git.savannah.gnu.org:/srv/git/hurd/gnumach.git

and autoreconf -i && ./configure && make. If you have a 64bit box, you need to cross-compile:

CPP='gcc -m32 -E -x c -undef -ansi' CC='gcc -m32' LD='ld -melf_i386' ./configure --host=i686-unknown-linux-gnu

Thinking again about, IIRC the kernel will just boot fine, it's only in some application use case that the issue shows up. I'll attach a patch which shows the CR0 value before and after Mach changes it. The 0x20 flag currently shows up both before and after. It should only show up after (because Mach sets it). To easily get the boot logs, pass console=com0 as kernel parameter during the multiboot command, that will direct logs to the serial port.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#5 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=23992

--- Comment #5 from Samuel Thibault <[email protected]> 2011-08-15 18:34:43 --- Created an attachment (id=68962)
--> (https://bugzilla.kernel.org/attachment.cgi?id=68962)
gnumach patch to show CR0 initialization

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.