Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 2004 19:49:32 -0700
From:      Sandeep Kumar <skumar@juniper.net>
To:        freebsd-scsi@FreeBSD.org
Subject:   Geometry issue with USB mass storage
Message-ID:  <411ADABC.4030805@juniper.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?411ADABC.4030805>