From dirkx@foem.leiden.webweaving.org  Thu May 22 08:37:12 2003
Return-Path: <dirkx@foem.leiden.webweaving.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5417937B404
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 May 2003 08:37:12 -0700 (PDT)
Received: from foem.leiden.webweaving.org (fia224-72.dsl.hccnet.nl [62.251.72.224])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3A8A443F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 May 2003 08:37:04 -0700 (PDT)
	(envelope-from dirkx@foem.leiden.webweaving.org)
Received: from foem.leiden.webweaving.org (IDENT:chuckwebweaving.org@localhost [127.0.0.1])
	by foem.leiden.webweaving.org (8.12.6/8.12.6) with ESMTP id h4MFb2v6053990
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 May 2003 17:37:02 +0200 (CEST)
	(envelope-from dirkx@foem.leiden.webweaving.org)
Received: (from dirkx@localhost)
	by foem.leiden.webweaving.org (8.12.6/8.12.6/Submit) id h4MFb2Tt053989;
	Thu, 22 May 2003 17:37:02 +0200 (CEST)
Message-Id: <200305221537.h4MFb2Tt053989@foem.leiden.webweaving.org>
Date: Thu, 22 May 2003 17:37:02 +0200 (CEST)
From: Dirk-Willem van Gulik <dirkx@webweaving.org>
Reply-To: Dirk-Willem van Gulik <dirkx@webweaving.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Boot loaders reading more than one sector at the time
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52581
>Category:       i386
>Synopsis:       [loader] boot loaders reading more than one sector at the time
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 22 08:40:05 PDT 2003
>Closed-Date:    Mon Sep 11 10:09:17 GMT 2006
>Last-Modified:  Mon Sep 11 10:09:17 GMT 2006
>Originator:     Dirk-Willem van Gulik
>Release:        FreeBSD 5.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD foem.leiden.webweaving.org 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Mon Apr 28 16:12:26 CEST 2003 dirkx@foem.leiden.webweaving.org:/usr/obj/usr/src/sys/FOEM i386

i386 machines booting from recent CompactFlash ROM's from a range
of vendors; including SanDisk which OEM's for a very large number
of others which have BIOS-es which do not nicely go to 'read one
sector at a time' on error.

>Description:
	http://webfolder.wleiden.webweaving.org/apacer-flash/	
		msg2.txt

Essentially an increasing number of vendors sells flash
cards which cannot cope wiht a read of more than one sector
at the time.

>How-To-Repeat:
	Requires hardware booting from flash and a broken
	flash and a BIOS which is too simple. Soekris boxes are
	a good example. And more and more of the flash coming _new_
	on the market (i.e. the larger sizes; and not the so called
	faster flash) has this issue.
>Fix:
	http://webfolder.wleiden.webweaving.org/apacer-flash/ 
	I.e. force the reads to be one sector at the time; makes
	the boot 0.5-1.5 second longer on the hardware tried.

	Or nice; detect the error and then go back to 1-at-the-time
	reading.

	But given the small, if any, speed penalty, this may not
	be actually needed.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Sun Sep 3 10:07:28 UTC 2006 
State-Changed-Why:  
Hi, 

I see an increase in embedded system usage over the last few 
months and I wondered whether this problem is still alive 
today or not? 


Responsible-Changed-From-To: freebsd-i386->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Sun Sep 3 10:07:28 UTC 2006 
Responsible-Changed-Why:  
Grab the PR 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52581 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Sep 11 10:09:14 UTC 2006 
State-Changed-Why:  
feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52581 
>Unformatted:
