All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1840719] [NEW] win98se floppy fails to boot with isapc machine
@ 2019-08-19 23:15 Philippe Mathieu-Daudé
  2019-08-19 23:16 ` [Qemu-devel] [Bug 1840719] " Philippe Mathieu-Daudé
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-08-19 23:15 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

QEMU emulator version 4.1.50 (commit 50d69ee0d)

floppy image from:
https://winworldpc.com/download/417d71c2-ae18-c39a-11c3-a4e284a2c3a5

$ qemu-system-i386 -M isapc -fda Windows\ 98\ Second\ Edition\ Boot.img
SeaBIOS (version rel-1.12.1-0...)
Booting from Floppy...
Boot failed: could not read the boot disk

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: bios floppy x86

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1840719

Title:
  win98se floppy fails to boot with isapc machine

Status in QEMU:
  New

Bug description:
  QEMU emulator version 4.1.50 (commit 50d69ee0d)

  floppy image from:
  https://winworldpc.com/download/417d71c2-ae18-c39a-11c3-a4e284a2c3a5

  $ qemu-system-i386 -M isapc -fda Windows\ 98\ Second\ Edition\ Boot.img
  SeaBIOS (version rel-1.12.1-0...)
  Booting from Floppy...
  Boot failed: could not read the boot disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1840719/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Qemu-devel] [Bug 1840719] Re: win98se floppy fails to boot with isapc machine
  2019-08-19 23:15 [Qemu-devel] [Bug 1840719] [NEW] win98se floppy fails to boot with isapc machine Philippe Mathieu-Daudé
@ 2019-08-19 23:16 ` Philippe Mathieu-Daudé
  2019-08-20  9:29 ` Philippe Mathieu-Daudé
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-08-19 23:16 UTC (permalink / raw)
  To: qemu-devel

Bisected following note from http://gunkies.org/wiki/I386-softmmu:

the isapc configuration no longer works... So legacy systems must resort
to Qemu 0.9.0 or Qemu 0.10.0

I get:

fd646122418ecefcde228d43821d07da79dd99bb is the first bad commit
commit fd646122418ecefcde228d43821d07da79dd99bb
Author: Anthony Liguori <aliguori@us.ibm.com>
Date:   Fri Oct 30 09:06:09 2009 -0500

    Switch pc bios from pc-bios to seabios
    
    SeaBIOS is a port of pc-bios to GCC.  Besides using a more modern tool chain,
    SeaBIOS introduces a number of new features including PMM support, better
    BEV and BCV support, and better PnP support.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1840719

Title:
  win98se floppy fails to boot with isapc machine

Status in QEMU:
  New

Bug description:
  QEMU emulator version 4.1.50 (commit 50d69ee0d)

  floppy image from:
  https://winworldpc.com/download/417d71c2-ae18-c39a-11c3-a4e284a2c3a5

  $ qemu-system-i386 -M isapc -fda Windows\ 98\ Second\ Edition\ Boot.img
  SeaBIOS (version rel-1.12.1-0...)
  Booting from Floppy...
  Boot failed: could not read the boot disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1840719/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Qemu-devel] [Bug 1840719] Re: win98se floppy fails to boot with isapc machine
  2019-08-19 23:15 [Qemu-devel] [Bug 1840719] [NEW] win98se floppy fails to boot with isapc machine Philippe Mathieu-Daudé
  2019-08-19 23:16 ` [Qemu-devel] [Bug 1840719] " Philippe Mathieu-Daudé
@ 2019-08-20  9:29 ` Philippe Mathieu-Daudé
  2019-08-20  9:46 ` Philippe Mathieu-Daudé
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-08-20  9:29 UTC (permalink / raw)
  To: qemu-devel

Apparently the bisection result from comment #1 comes from a different
issue, the VGA display stays blank, can not test the floppy drive.

Bisecting using the pcbios.bin from fd646122418~, the VGA display stops
working at:

345c22aa80d1f6ddfe7898f721fd1be3bccb08f1 is the first bad commit
commit 345c22aa80d1f6ddfe7898f721fd1be3bccb08f1
Author: Gerd Hoffmann <kraxel@redhat.com>
Date:   Fri Dec 18 12:01:12 2009 +0100

    roms: remove option rom packing logic
    
    Now that we load the option roms via fw_cfg, we can stop copying
    them to the 0xc000 -> 0xe000.  The patch does just that.
    
    Also the rom loader gets simplified as all remaining users of the
    rom loader load the bits at a fixed address so the packing and
    aligning logic can go away.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1840719

Title:
  win98se floppy fails to boot with isapc machine

Status in QEMU:
  New

Bug description:
  QEMU emulator version 4.1.50 (commit 50d69ee0d)

  floppy image from:
  https://winworldpc.com/download/417d71c2-ae18-c39a-11c3-a4e284a2c3a5

  $ qemu-system-i386 -M isapc -fda Windows\ 98\ Second\ Edition\ Boot.img
  SeaBIOS (version rel-1.12.1-0...)
  Booting from Floppy...
  Boot failed: could not read the boot disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1840719/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Qemu-devel] [Bug 1840719] Re: win98se floppy fails to boot with isapc machine
  2019-08-19 23:15 [Qemu-devel] [Bug 1840719] [NEW] win98se floppy fails to boot with isapc machine Philippe Mathieu-Daudé
  2019-08-19 23:16 ` [Qemu-devel] [Bug 1840719] " Philippe Mathieu-Daudé
  2019-08-20  9:29 ` Philippe Mathieu-Daudé
@ 2019-08-20  9:46 ` Philippe Mathieu-Daudé
  2019-08-20  9:53 ` Philippe Mathieu-Daudé
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-08-20  9:46 UTC (permalink / raw)
  To: qemu-devel

So finally, the commit that introduced this regression is not directly
related to QEMU:

0b8f74488e50f98b04e63157f85fde8a13f8d6aa is the first bad commit
commit 0b8f74488e50f98b04e63157f85fde8a13f8d6aa
Author: Gerd Hoffmann <kraxel@redhat.com>
Date:   Tue Nov 6 12:23:53 2018 +0100

    update seabios to master snapshot
    
    seabios 1.12 release is planned for november.
    
    update seabios to a master branch snapshot so it gets more testing
    and to make the delta smaller when updating to -final during freeze.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1840719

Title:
  win98se floppy fails to boot with isapc machine

Status in QEMU:
  New

Bug description:
  QEMU emulator version 4.1.50 (commit 50d69ee0d)

  floppy image from:
  https://winworldpc.com/download/417d71c2-ae18-c39a-11c3-a4e284a2c3a5

  $ qemu-system-i386 -M isapc -fda Windows\ 98\ Second\ Edition\ Boot.img
  SeaBIOS (version rel-1.12.1-0...)
  Booting from Floppy...
  Boot failed: could not read the boot disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1840719/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Qemu-devel] [Bug 1840719] Re: win98se floppy fails to boot with isapc machine
  2019-08-19 23:15 [Qemu-devel] [Bug 1840719] [NEW] win98se floppy fails to boot with isapc machine Philippe Mathieu-Daudé
                   ` (2 preceding siblings ...)
  2019-08-20  9:46 ` Philippe Mathieu-Daudé
@ 2019-08-20  9:53 ` Philippe Mathieu-Daudé
  2020-06-12  8:20 ` Roman Bolshakov
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-08-20  9:53 UTC (permalink / raw)
  To: qemu-devel

And the (SeaBIOS) winner is...

4a6dbcea3e412fe12effa2f812f50dd7eae90955 is the first bad commit
commit 4a6dbcea3e412fe12effa2f812f50dd7eae90955
Author: Nikolay Nikolov <nickysn@users.sourceforge.net>
Date:   Sun Feb 4 17:27:01 2018 +0200

    floppy: Use timer_check() in floppy_wait_irq()
    
    Use timer_check() instead of using floppy_motor_counter in BDA for the
    timeout check in floppy_wait_irq().
    
    The problem with using floppy_motor_counter was that, after it reaches
    0, it immediately stops the floppy motors, which is not what is
    supposed to happen on real hardware. Instead, after a timeout (like in
    the end of every floppy operation, regardless of the result - success,
    timeout or error), the floppy motors must be kept spinning for
    additional 2 seconds (the FLOPPY_MOTOR_TICKS). So, now the
    floppy_motor_counter is initialized to 255 (the max value) in the
    beginning of the floppy operation. For IRQ timeouts, a different
    timeout is used, specified by the new FLOPPY_IRQ_TIMEOUT constant
    (currently set to 5 seconds - a fairly conservative value, but should
    work reliably on most floppies).
    
    After the floppy operation, floppy_drive_pio() resets the
    floppy_motor_counter to 2 seconds (FLOPPY_MOTOR_TICKS).
    
    This is also consistent with what other PC BIOSes do.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1840719

Title:
  win98se floppy fails to boot with isapc machine

Status in QEMU:
  New

Bug description:
  QEMU emulator version 4.1.50 (commit 50d69ee0d)

  floppy image from:
  https://winworldpc.com/download/417d71c2-ae18-c39a-11c3-a4e284a2c3a5

  $ qemu-system-i386 -M isapc -fda Windows\ 98\ Second\ Edition\ Boot.img
  SeaBIOS (version rel-1.12.1-0...)
  Booting from Floppy...
  Boot failed: could not read the boot disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1840719/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1840719] Re: win98se floppy fails to boot with isapc machine
  2019-08-19 23:15 [Qemu-devel] [Bug 1840719] [NEW] win98se floppy fails to boot with isapc machine Philippe Mathieu-Daudé
                   ` (3 preceding siblings ...)
  2019-08-20  9:53 ` Philippe Mathieu-Daudé
@ 2020-06-12  8:20 ` Roman Bolshakov
  2020-06-12  9:24 ` Laurent Vivier
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Roman Bolshakov @ 2020-06-12  8:20 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1840719

Title:
  win98se floppy fails to boot with isapc machine

Status in QEMU:
  Confirmed

Bug description:
  QEMU emulator version 4.1.50 (commit 50d69ee0d)

  floppy image from:
  https://winworldpc.com/download/417d71c2-ae18-c39a-11c3-a4e284a2c3a5

  $ qemu-system-i386 -M isapc -fda Windows\ 98\ Second\ Edition\ Boot.img
  SeaBIOS (version rel-1.12.1-0...)
  Booting from Floppy...
  Boot failed: could not read the boot disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1840719/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1840719] Re: win98se floppy fails to boot with isapc machine
  2019-08-19 23:15 [Qemu-devel] [Bug 1840719] [NEW] win98se floppy fails to boot with isapc machine Philippe Mathieu-Daudé
                   ` (4 preceding siblings ...)
  2020-06-12  8:20 ` Roman Bolshakov
@ 2020-06-12  9:24 ` Laurent Vivier
  2020-06-13 13:07 ` [Bug 1840719] [NEW] " Launchpad Bug Tracker
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Laurent Vivier @ 2020-06-12  9:24 UTC (permalink / raw)
  To: qemu-devel

** Project changed: qemu => seabios

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1840719

Title:
  win98se floppy fails to boot with isapc machine

Status in Seabios:
  Confirmed

Bug description:
  QEMU emulator version 4.1.50 (commit 50d69ee0d)

  floppy image from:
  https://winworldpc.com/download/417d71c2-ae18-c39a-11c3-a4e284a2c3a5

  $ qemu-system-i386 -M isapc -fda Windows\ 98\ Second\ Edition\ Boot.img
  SeaBIOS (version rel-1.12.1-0...)
  Booting from Floppy...
  Boot failed: could not read the boot disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/seabios/+bug/1840719/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1840719] [NEW] win98se floppy fails to boot with isapc machine
  2019-08-19 23:15 [Qemu-devel] [Bug 1840719] [NEW] win98se floppy fails to boot with isapc machine Philippe Mathieu-Daudé
                   ` (5 preceding siblings ...)
  2020-06-12  9:24 ` Laurent Vivier
@ 2020-06-13 13:07 ` Launchpad Bug Tracker
  2020-06-13 13:09 ` [Bug 1840719] " Roman Bolshakov
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Launchpad Bug Tracker @ 2020-06-13 13:07 UTC (permalink / raw)
  To: qemu-devel

You have been subscribed to a public bug:

QEMU emulator version 4.1.50 (commit 50d69ee0d)

floppy image from:
https://winworldpc.com/download/417d71c2-ae18-c39a-11c3-a4e284a2c3a5

$ qemu-system-i386 -M isapc -fda Windows\ 98\ Second\ Edition\ Boot.img
SeaBIOS (version rel-1.12.1-0...)
Booting from Floppy...
Boot failed: could not read the boot disk

** Affects: qemu
     Importance: Undecided
     Assignee: Roman Bolshakov (roolebo)
         Status: Confirmed


** Tags: bios floppy x86
-- 
win98se floppy fails to boot with isapc machine
https://bugs.launchpad.net/bugs/1840719
You received this bug notification because you are a member of qemu-devel-ml, which is subscribed to QEMU.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1840719] Re: win98se floppy fails to boot with isapc machine
  2019-08-19 23:15 [Qemu-devel] [Bug 1840719] [NEW] win98se floppy fails to boot with isapc machine Philippe Mathieu-Daudé
                   ` (6 preceding siblings ...)
  2020-06-13 13:07 ` [Bug 1840719] [NEW] " Launchpad Bug Tracker
@ 2020-06-13 13:09 ` Roman Bolshakov
  2020-07-13  4:48 ` Roman Bolshakov
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Roman Bolshakov @ 2020-06-13 13:09 UTC (permalink / raw)
  To: qemu-devel

The ticket should be closed as soon as SeaBIOS gets updated in QEMU. A patch has been posted to SeaBIOS mailing list:
https://mail.coreboot.org/hyperkitty/list/seabios@seabios.org/thread/XPKQNLVWZX55TSLSXZVY5S5DMFYS4CNO/

** Changed in: seabios
     Assignee: (unassigned) => Roman Bolshakov (roolebo)

** Project changed: seabios => qemu

** Changed in: qemu
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1840719

Title:
  win98se floppy fails to boot with isapc machine

Status in QEMU:
  In Progress

Bug description:
  QEMU emulator version 4.1.50 (commit 50d69ee0d)

  floppy image from:
  https://winworldpc.com/download/417d71c2-ae18-c39a-11c3-a4e284a2c3a5

  $ qemu-system-i386 -M isapc -fda Windows\ 98\ Second\ Edition\ Boot.img
  SeaBIOS (version rel-1.12.1-0...)
  Booting from Floppy...
  Boot failed: could not read the boot disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1840719/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1840719] Re: win98se floppy fails to boot with isapc machine
  2019-08-19 23:15 [Qemu-devel] [Bug 1840719] [NEW] win98se floppy fails to boot with isapc machine Philippe Mathieu-Daudé
                   ` (7 preceding siblings ...)
  2020-06-13 13:09 ` [Bug 1840719] " Roman Bolshakov
@ 2020-07-13  4:48 ` Roman Bolshakov
  2020-07-13  5:07 ` Philippe Mathieu-Daudé
  2020-08-14  6:31 ` Roman Bolshakov
  10 siblings, 0 replies; 12+ messages in thread
From: Roman Bolshakov @ 2020-07-13  4:48 UTC (permalink / raw)
  To: qemu-devel

The commit fixes the issue in master branch:
https://git.qemu.org/?p=qemu.git;a=commit;h=de15df5ead400b7c3d0cf21c8164a7686dc81933

The fix is going to be released in 5.1

** Changed in: qemu
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1840719

Title:
  win98se floppy fails to boot with isapc machine

Status in QEMU:
  Fix Committed

Bug description:
  QEMU emulator version 4.1.50 (commit 50d69ee0d)

  floppy image from:
  https://winworldpc.com/download/417d71c2-ae18-c39a-11c3-a4e284a2c3a5

  $ qemu-system-i386 -M isapc -fda Windows\ 98\ Second\ Edition\ Boot.img
  SeaBIOS (version rel-1.12.1-0...)
  Booting from Floppy...
  Boot failed: could not read the boot disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1840719/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1840719] Re: win98se floppy fails to boot with isapc machine
  2019-08-19 23:15 [Qemu-devel] [Bug 1840719] [NEW] win98se floppy fails to boot with isapc machine Philippe Mathieu-Daudé
                   ` (8 preceding siblings ...)
  2020-07-13  4:48 ` Roman Bolshakov
@ 2020-07-13  5:07 ` Philippe Mathieu-Daudé
  2020-08-14  6:31 ` Roman Bolshakov
  10 siblings, 0 replies; 12+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-07-13  5:07 UTC (permalink / raw)
  To: qemu-devel

** Tags removed: x86
** Tags added: i386 testcase

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1840719

Title:
  win98se floppy fails to boot with isapc machine

Status in QEMU:
  Fix Committed

Bug description:
  QEMU emulator version 4.1.50 (commit 50d69ee0d)

  floppy image from:
  https://winworldpc.com/download/417d71c2-ae18-c39a-11c3-a4e284a2c3a5

  $ qemu-system-i386 -M isapc -fda Windows\ 98\ Second\ Edition\ Boot.img
  SeaBIOS (version rel-1.12.1-0...)
  Booting from Floppy...
  Boot failed: could not read the boot disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1840719/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Bug 1840719] Re: win98se floppy fails to boot with isapc machine
  2019-08-19 23:15 [Qemu-devel] [Bug 1840719] [NEW] win98se floppy fails to boot with isapc machine Philippe Mathieu-Daudé
                   ` (9 preceding siblings ...)
  2020-07-13  5:07 ` Philippe Mathieu-Daudé
@ 2020-08-14  6:31 ` Roman Bolshakov
  10 siblings, 0 replies; 12+ messages in thread
From: Roman Bolshakov @ 2020-08-14  6:31 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1840719

Title:
  win98se floppy fails to boot with isapc machine

Status in QEMU:
  Fix Released

Bug description:
  QEMU emulator version 4.1.50 (commit 50d69ee0d)

  floppy image from:
  https://winworldpc.com/download/417d71c2-ae18-c39a-11c3-a4e284a2c3a5

  $ qemu-system-i386 -M isapc -fda Windows\ 98\ Second\ Edition\ Boot.img
  SeaBIOS (version rel-1.12.1-0...)
  Booting from Floppy...
  Boot failed: could not read the boot disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1840719/+subscriptions


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-08-14  6:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-19 23:15 [Qemu-devel] [Bug 1840719] [NEW] win98se floppy fails to boot with isapc machine Philippe Mathieu-Daudé
2019-08-19 23:16 ` [Qemu-devel] [Bug 1840719] " Philippe Mathieu-Daudé
2019-08-20  9:29 ` Philippe Mathieu-Daudé
2019-08-20  9:46 ` Philippe Mathieu-Daudé
2019-08-20  9:53 ` Philippe Mathieu-Daudé
2020-06-12  8:20 ` Roman Bolshakov
2020-06-12  9:24 ` Laurent Vivier
2020-06-13 13:07 ` [Bug 1840719] [NEW] " Launchpad Bug Tracker
2020-06-13 13:09 ` [Bug 1840719] " Roman Bolshakov
2020-07-13  4:48 ` Roman Bolshakov
2020-07-13  5:07 ` Philippe Mathieu-Daudé
2020-08-14  6:31 ` Roman Bolshakov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.