From owner-freebsd-commit Sat Mar 25 04:07:43 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA21017 for commit-outgoing; Sat, 25 Mar 1995 04:07:43 -0800 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA21004 for cvs-sys-outgoing; Sat, 25 Mar 1995 04:07:39 -0800 Received: (from bde@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA20994; Sat, 25 Mar 1995 04:07:33 -0800 Date: Sat, 25 Mar 1995 04:07:33 -0800 From: Bruce Evans Message-Id: <199503251207.EAA20994@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa diskslice_machdep.c Sender: commit-owner@FreeBSD.ORG Precedence: bulk bde 95/03/25 04:07:32 Modified: sys/i386/isa diskslice_machdep.c Log: Add more compatibility cruft: - ignore the partition table if it is identical with the bogus one in /usr/src/sys/i386/boot/biosboot/start.S. Honoring the bogus size field was fatal. The error is detected but other compatibilty cruft weakens the error handling too much for this case. - weaken the partition entry checking to allow the following treatments of C/H/S addresses when C should be >= 1024: (1) allow C = 1023, H = max, S = max. (2) allow C to be correct modulo 1024. Other compatibilty cruft weakens the error handling to allow all C/H/S addresses, but there too many errors were reported. Improve error messages: - print C/H/S addresses if relevant. - distinguish primary partition table from extended partition tables. - don't use diskerr() except for i/o errors.