Page MenuHomeFreeBSD

biosdisk needs to use std probe for floppy devices
ClosedPublic

Authored by tsoome on Wed, Jan 2, 8:41 PM.

Details

Summary

With buggy int13 ah=15, we can mis-identify the floppy devices.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

tsoome created this revision.Wed, Jan 2, 8:41 PM
yuripv added a subscriber: yuripv.Wed, Jan 2, 10:44 PM

Are we *guaranteed* to have the floppy drives coming only at the start of the list?

tsoome added a comment.Thu, Jan 3, 6:34 AM

Are we *guaranteed* to have the floppy drives coming only at the start of the list?

There is no such thing as *guaranteed* in the BIOS world. However, the fact about hard disks starting from 0x80 and floppy drives starting from 0 (or hdd's having high bit set:) is so fundamental that I hope they do not dare to break it:) In any case, if this fact is broken, all but trivial boot loaders are broken.

This revision was not accepted when it landed; it landed in state Needs Review.Sat, Jan 5, 7:20 AM
This revision was automatically updated to reflect the committed changes.