From owner-freebsd-scsi@FreeBSD.ORG Thu Aug 12 02:49:37 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B64C516A4CE for ; Thu, 12 Aug 2004 02:49:37 +0000 (GMT) Received: from colo-dns-ext1.juniper.net (colo-dns-ext1.juniper.net [207.17.137.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id A135043D41 for ; Thu, 12 Aug 2004 02:49:37 +0000 (GMT) (envelope-from skumar@juniper.net) Received: from merlot.juniper.net (merlot.juniper.net [172.17.27.10]) by colo-dns-ext1.juniper.net (8.11.3/8.9.3) with ESMTP id i7C2nb997330 for ; Wed, 11 Aug 2004 19:49:37 -0700 (PDT) (envelope-from skumar@juniper.net) Received: from juniper.net (skumar-bsd.juniper.net [172.17.12.161]) by merlot.juniper.net (8.11.3/8.11.3) with ESMTP id i7C2nWe53669 for ; Wed, 11 Aug 2004 19:49:32 -0700 (PDT) (envelope-from skumar@juniper.net) Message-ID: <411ADABC.4030805@juniper.net> Date: Wed, 11 Aug 2004 19:49:32 -0700 From: Sandeep Kumar User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031028 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-scsi@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Geometry issue with USB mass storage X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2004 02:49:37 -0000 Hi, I'm trying to boot from Sandisk Cruzer SDCZ2-512 This is the geometry information used based on hardcoded values in cam_calc_geometry() cylinders=488 heads=64 sectors/track=32 (2048 blks/cyl) The AMI BIOS is not able to read the boot1 block at sector 32 using CHS value of 0:1:1 . It works with CHS value 0:0:33 The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 32, size 999392 (487 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 487/ sector 32/ head 63 Is there a way to get the right geometry information for USB mass storage devices? Thanks, Sandeep Kumar