Date: Sun, 9 Apr 2000 19:43:34 -0700 (PDT) From: asherrod@sharemedia.com To: freebsd-gnats-submit@FreeBSD.org Subject: i386/17890: Still having trouble identifying disk geometry (in ata-disk.c now) Message-ID: <200004100243.TAA94671@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 17890 >Category: i386 >Synopsis: Still having trouble identifying disk geometry (in ata-disk.c now) >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 9 19:50:07 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Andrew Sherrod >Release: 4.0 >Organization: Sharemedia >Environment: FreeBSD 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Mon Apr 10 20:21:45 EDT 2000 root@parzival.radiojackboot.com:/usr/src/sys/compile/PARZIVAL i386 >Description: This problem existed in wd.c and was carried over to ata-disk.c. I have been told over and over it is not a "real" problem. Asking various users, I have discovered that I am not alone in experiencing this. Of course, others just followed the "Well, add a DOS partition, and let Microsoft fix your problem" advice. But it IS a problem. Whenever I install I have to go back and re-write the disk driver then re-run newfs, etc... It is a problem. It can be fixed (easily). My drives are not antiques or that unusual. One Western Digital, one Maxtor. Okay, cheap disks, but not uncommon. The problem: Not all disks return 16383 cylinders to indicate LBA mode must be used. Mine return 4192, which rsults in rather small disk sizes. >How-To-Repeat: Boot the system with one of the disks in question. Try running /stand/sysinstall. Look at how small the disks just became. >Fix: 129c129,130 < if(AD_PARAM->cylinder = 16383 && adp->total_sec < AD_PARAM->lbasize) --- > if((AD_PARAM->cylinder == 16383 || AD_PARAM->lbaflag) > && adp->total_sec < AD_PARAM->lbasize) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004100243.TAA94671>