On Mon, May 23, 2011 at 2:33 PM, Bernd Blaauw <[email protected]> wrote: > (I'm not sure I'm a member of the FreeDOS kernel mailinglist, can't find > anything, so sticking to development list) > > Right now when experimenting I'm experiencing an issue: > switching to B: by entering B: seems to give the following error: > "Error reading from drive B: DOS area: drive not ready > (A)bort, (I)gnore, (R)etry, (F)ail. > > Situation: > Under VmWare Workstation 7.04 (Win64), a single floppydrive with inside > it a 1.44MB diskette with Syslinux 4.04 on it. This Syslinux bootloader > loads MEMDISK, then a 360KB bootable image located on the diskette. The > 360KB image becomes A:, meanwhile pushing real diskette from which it > loaded, back to B:. > Trying to perform B: (or DIR B:) triggers the error. > ...
There is a small bug in memdisk 3.x and 4.x that seems to switch two bytes in the floppy diskette parameter table that int 1Eh points to, it swaps the values for bytes per sector and sectors per track. MSDOS overwrites the bytes per sectors so works fine, virtual box ignores the invalid value for bytes per sector so also works fine with freedos kernel, and vmware (at least lastest player) seems to do something with the invalid value so correctly returns an error. I will commit a patch shortly to the kernel to fix the issue when using current versions of memdisk, in the meantime an updated version (only change from today's git of memdisk is to swap the order of those two values in mstructs.h) can be downloaded for a few days [until I get the patch posted to syslinux] at http://www.fdos.org/kernel/memdisk . Please let me know if using this replacement also works for you or if there are any other issues. Thanks, Jeremy ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
