Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Nov 2015 11:06:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 176748] [libi386] [patch] BTX Loader i386 incorrectly probes EDD, possibly resulting division by zero
Message-ID:  <bug-176748-8-tXucP78gGq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-176748-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-176748-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=176748

--- Comment #3 from Arrigo Marchiori <ardovm@yahoo.it> ---
Hello,

after some investigation, I could confirm that yes, the BIOS is broken.
However, the vendor of the embedded PC's I am using, is still applying the old
and broken BIOS to recent units.

I only upgraded the FreeBSD sources last week, and the patch seems not to be
effective any more, when booting from (recent) USB pen drives. For some weird
reasons, the sector size of such USB sticks is returned as 12022 bytes or
something like that, that is not correct.

Would it be advisable to add some more safety checks, such as:
  - sectors must be non-zero;
  - sector_size must be non-zero;
  - sector_size must be a multiple of 512?

Such a check enables my terminals to boot again.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-176748-8-tXucP78gGq>