Re: 2.4.0-test11: arch/i386/boot/bootsect.S incompatible with Vaio C1VE (Crusoe) floppy

2000-12-02 Thread H. Peter Anvin

Followup to:  <[EMAIL PROTECTED]>
By author:Jeff Garzik <[EMAIL PROTECTED]>
In newsgroup: linux.dev.kernel
>
> On Sat, 2 Dec 2000, Wolfgang Spraul wrote:
> > 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.
> 
> 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...)
> 

I concur, but I'm biased :)

-hpa
-- 
<[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/



Re: 2.4.0-test11: arch/i386/boot/bootsect.S incompatible with Vaio C1VE (Crusoe) floppy

2000-12-02 Thread Jeff Garzik

On Sat, 2 Dec 2000, Wolfgang Spraul wrote:
> 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.

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/



2.4.0-test11: arch/i386/boot/bootsect.S incompatible with Vaio C1VE (Crusoe) floppy

2000-12-02 Thread Wolfgang Spraul

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/