Re: 250MB iomega zip?

From: Andre Hedrick (andre@linux-ide.org)
Date: Sat Jun 03 2000 - 14:10:41 EST


AEB,

What is the geometry of the drive media?
There was a dirty table that listed drives like my 100ZIP that has screw
CHS.

32/64/96

There is a forced 64 head limit in ide-floppy.c

static void idefloppy_setup (ide_drive_t *drive, idefloppy_floppy_t *floppy)
        /*
         * We used to check revisions here. At this point however
         * I'm giving up. Just assume they are all broken, its easier.
         *
         * The actual reason for the workarounds was likely
         * a driver bug after all rather than a firmware bug,
         * and the workaround below used to hide it. It should
         * be fixed as of version 1.9, but to be on the safe side
         * we'll leave the limitation below for the 2.2.x tree.
         */

You may need to add a lime like.........

        if (strcmp(drive->id->model, "IOMEGA ZIP 100 ATAPI") == 0)
        {
                for (i = 0; i < 1 << PARTN_BITS; i++)
                        max_sectors[major][minor + i] = 64;
        }

        if (strcmp(drive->id->model, "IOMEGA ZIP 250 ATAPI") == 0)
        {
                for (i = 0; i < 1 << PARTN_BITS; i++)
                        max_sectors[major][minor + i] = 64; << here
        }

Alan what is your spin?

Andre Hedrick
The Linux ATA/IDE guy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:17 EST