[SeaBIOS] First access to the block drive

Kevin O'Connor kevin at koconnor.net
Sun Mar 4 20:18:42 CET 2012


On Thu, Mar 01, 2012 at 05:39:25PM +0900, Daniel Castro wrote:
> Hello all,
> 
> The xen pv drivers are almost done.
> 
> When I start the booting process from hda seabios tries to read lba at
> 0 (sector 0) buffer (buf_fl) to 7c00 count 0 operation 0 (read)
> command 1 (unlisted)
> I do not understand count 0 and command 1.
> Should it be count 1, for the first sector on the drive and a command
> such as listed in drive.h?
> 
> Is this normal? Am I missing something?

I don't understand what you are reporting/asking.

The code at boot.c:boot_disk() issues a legacy bios read (int 13 ah=2)
of the first sector (count=1).

-Kevin



More information about the SeaBIOS mailing list