[SeaBIOS] [coreboot] Patch number 4 for floppy in SeaBIOS

Kevin O'Connor kevin at koconnor.net
Sat Dec 7 19:43:17 CET 2013


On Sat, Dec 07, 2013 at 07:27:02PM +0100, Gelip wrote:
> More debug:
> 07.544: Booting from Floppy...
> 07.544: enter handle_13:
> 07.544:    a=00000201  b=00000000  c=00000001  d=00000000 ds=0000 es=07c0 ss=dd80
> 07.544:   si=00000000 di=00000000 bp=00000000 sp=0000fac8 cs=f000 ip=c9ac  f=0202
> 07.544: disk_op d=0x000f4510 lba=0 buf=0x00007c00 count=1 cmd=2
> 07.565: check_recal_drive 0
> 07.565: floppy_drive_recal 0
> 07.565: handle_0e
> 07.565: handle_0e
> 07.565: floppy_media_sense 0 ftype=4
> 07.565: floppy_drive_readid 0 rate=0 head=0
> 07.930: handle_0e
> 07.930: floppy_media_sense finish 0 data_rate=0 fms=17 stype=4
> 08.123: handle_0e
> 08.123: Booting from 0000:7c00
> 08.123: enter handle_13:
> 08.123:    a=00000201  b=00000700  c=00000002  d=00000100 ds=0000 es=0000 ss=dd80
> 08.124:   si=00007bd2 di=00000700 bp=00007c00 sp=0000fac8 cs=0000 ip=7d6e  f=0002
> 08.124: disk_op d=0x000f4510 lba=19 buf=0x00000700 count=1 cmd=2
> 08.313: handle_0e
> 08.313: enter handle_13:
> 08.313:    a=00000201  b=00000700  c=00000010  d=00000100 ds=0000 es=0000 ss=dd80
> 08.313:   si=00007bd2 di=00000002 bp=00007c00 sp=0000fac8 cs=0000 ip=7d6e  f=0002
> 08.315: disk_op d=0x000f4510 lba=33 buf=0x00000700 count=1 cmd=2
> 08.445: handle_0e
> 08.445: enter handle_13:
> 08.445:    a=00000201  b=00000900  c=00000011  d=00000100 ds=0000 es=0000 ss=dd80
> 08.445:   si=00007bd2 di=00000002 bp=00007c00 sp=0000fac8 cs=0000 ip=7d6e  f=0006
> 08.445: disk_op d=0x000f4510 lba=34 buf=0x00000900 count=1 cmd=2
> 08.635: handle_0e
> 08.635: enter handle_13:
> 08.635:    a=00000201  b=00000b00  c=00000012  d=00000100 ds=0000 es=0000 ss=dd80
> 08.635:   si=00007bd2 di=00000002 bp=00007c00 sp=0000fac8 cs=0000 ip=7d6e  f=0006
> 08.638: disk_op d=0x000f4510 lba=35 buf=0x00000b00 count=1 cmd=2
> 08.823: handle_0e
> 08.823: enter handle_13:
> 08.823:    a=00000201  b=00000d00  c=00000101  d=00000000 ds=0000 es=0000 ss=dd80
> 08.823:   si=00007bd2 di=00000002 bp=00007c00 sp=0000fac8 cs=0000 ip=7d6e  f=0002
> 08.826: disk_op d=0x000f4510 lba=36 buf=0x00000d00 count=1 cmd=2
> 09.205: handle_0e
> 09.205: floppy error: 40 04 10 01 00 01 02
> 09.205: invalid basic_access:96:
> 09.206:    a=00000200  b=00000d00  c=00000101  d=00000000 ds=0000 es=0000 ss=dd80
> 09.206:   si=00007bd2 di=00000002 bp=00007c00 sp=0000fac8 cs=0000 ip=7d6e  f=0002

Thanks.  The above shows five sectors read and a failure on the
sixth.  So, I guess that's progress.

Can you try the repo at:

git clone https://github.com/KevinOConnor/seabios -b testing

with debug level 8 and the same changes to src/config.h described in
my last mail?

-Kevin



More information about the SeaBIOS mailing list