Subject: port-i386/18591: biosboot bug: int13 func 0 needed after int13 func 2 error
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itojun@itojun.org>
List: netbsd-bugs
Date: 10/09/2002 13:07:13
>Number:         18591
>Category:       port-i386
>Synopsis:       biosboot bug: int13 func 0 needed after int13 func 2 error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 08 21:09:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jun-ichiro itojun Hagino
>Release:        NetBSD 1.6I
>Organization:
	itojun.org
>Environment:
System: NetBSD starfruit.itojun.org 1.6I NetBSD 1.6I (STARFRUIT) #5: Tue Oct 8 11:49:30 JST 2002 itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386
Architecture: i386
Machine: i386
>Description:
Subject: Re: [Soekris] booting NetBSD on net4521: fixed (PATCH)
From: David Young <dyoung@ojctech.com>
To: soekris-tech@lists.soekris.com
Date: Tue, 8 Oct 2002 22:55:04 -0500
Reply-To: dyoung@pobox.com
Delivery-Date: Wed Oct  9 13:01:14 2002
Mail-Followup-To: David Young <dyoung@che.onthejob.net>,
        soekris-tech@lists.soekris.com

It is actually a bug in the NetBSD bootloader which causes problems on
CompactFlash cards with ID "Toshiba THNCF064MBA".

The bootloader commands the BIOS to load sectors using Interrupt 0x13,
function 2. According to "Ralf Brown's Interrupt List," when function 2
indicates an error, you are supposed to call Interrupt 0x13, function
0, to reset the disk. The NetBSD bootloader does no such thing. LILO,
which always works, does.

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: