Geometry issue with USB mass storage

Sandeep Kumar skumar at juniper.net
Wed Aug 11 19:49:37 PDT 2004


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



More information about the freebsd-scsi mailing list