2.4.0-test11: arch/i386/boot/bootsect.S incompatible with Vaio C1VE (Crusoe) floppy
2.4.0-test11, arch/i386/boot/bootsect.S has a probe_loop: to determine the number of sectors that can be read at once (i.e. in one track).
This routine does not work with the Sony UDF5 USB floppy disk, mapped as an Int13 device by the Vaio C1VE (Crusoe) BIOS.
Therefore, a bzdisk floppy will not be bootable.
I solved the problem for me by changing "disksizes: .byte 36, 18, 15, 9" to "disksizes: .byte 18, 18, 18, 18", but I think someone should do it right. I will assist debugging if needed.
Regards,
Wolfgang
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 6 lines · Wolfgang Spraul
2.4.0-test11,
arch/i386/boot/bootsect.Shas aprobe_loop: to determine the number of sectors that can be read at once (i.e. in one track).This routine does not work with the Sony UDF5 USB floppy disk, mapped as an Int13 device by the Vaio C1VE (Crusoe) BIOS.
Therefore, a bzdisk floppy will not be bootable.
The bzdisk code is used so infrequently compared to the normal bootloaders, lilo, grub, and syslinux, that I'm not surprised it has problems with many edge cases.
Although I imagine this is an unpopular opinion, I think that we
should remove all bzdisk-type code from X86... syslinux and other
boot loaders handle weird BIOS quirks much better, simply because they are used in far more situations than bzdisk.
syslinux especially is quite nice for loading kernels from floppy. It's very small, and "syslinux -s" adds in some wonderfully-paranoid sanity checks which make boot loading works on many a quirky BIOS. (don't use '-s' unless you need it, of course, it slows things down...)
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Followup to: <Pine.LNX.3.96.1001202131716.1450C-100000@mandrakesoft.mandrakesoft.com> By author: Jeff Garzik <[email protected]> In newsgroup: linux.dev.kernel
Quoted 18 lines · Wolfgang Spraul
Quoted 6 lines
2.4.0-test11,
arch/i386/boot/bootsect.Shas aprobe_loop: to determine the number of sectors that can be read at once (i.e. in one track).This routine does not work with the Sony UDF5 USB floppy disk, mapped as an Int13 device by the Vaio C1VE (Crusoe) BIOS.
Therefore, a bzdisk floppy will not be bootable.The bzdisk code is used so infrequently compared to the normal bootloaders, lilo, grub, and syslinux, that I'm not surprised it has problems with many edge cases.
Although I imagine this is an unpopular opinion, I think that we
should remove all bzdisk-type code from X86... syslinux and other
boot loaders handle weird BIOS quirks much better, simply because they are used in far more situations than bzdisk.
Quoted 5 lines
syslinux especially is quite nice for loading kernels from floppy. It's very small, and "syslinux -s" adds in some wonderfully-paranoid sanity checks which make boot loading works on many a quirky BIOS. (don't use '-s' unless you need it, of course, it slows things down...)
I concur, but I'm biased :)
-hpa
Signature · 7 lines
<[email protected]> at work, <[email protected]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] Please read the FAQ at http://www.tux.org/lkml/