prolems w/ 2048 byte sectorsize media - 2.2.14

From: Gregory Hosler (gregory.hosler@eno.ericsson.se)
Date: Thu Mar 30 2000 - 20:38:13 EST


Several problems to report as regards to using > 1024 byte sectorsize media
in the 2.2.14 kernel.

I have a 2048 byte sectorsize MO cartridge.

When I insert the cartridge in the MO drive, and then access it, sd.c properly
sees the media change, and properly detects the media size as 2048.

It then goes and stores that value in sd_hardsizes[] (way down in
sd_init_onedisk())

1st problem: sd_ioctl, for ioctl SSZGET, the return value is returned as 1024.
             This is probably because, SSZGET gets the media size from someplace
             else (sorry, a 2.2.14 kernel tree is not within my immediate
             reach).
            
2nd problem: I fdisk this disk, and when I mke2fs, the system halts/freezes.
             This is repeatable. I can't say whether this is related to the
             above or not though.

-Greg

----------------------------------
E-Mail: Gregory Hosler <gregory.hosler@eno.ericsson.se>
Date: 31-Mar-00
Time: 09:26:20

       The answer to the meaning of life:

  perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '

----------------------------------

-
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 : Fri Mar 31 2000 - 21:00:28 EST