Messages in this thread | | | Date | Fri, 24 Mar 2000 17:21:42 -0600 | From | David Elliott <> | Subject | Re: Cylinder limits jumper for drives over 32GB |
| |
Sorry, it never occured to me to post logs until now. This error log is actually running a kernel with my patch to make Linux think the drive is bigger. DMA Mode was enabled with hdparm -X66 -d1 /dev/hda, which only works correctly if the BIOS actually enables DMA when it detects the drive, so if I set the drive type to None to get it to boot without cylinder limitations, I can't set DMA mode with the older kernel (though it looks like I can with this patch).
One thing seems interesting about the log below.... why does it say 65530/15/61 ??? Linux thinks the logical geometry is 4982/255/63 (which is correct) but maybe the drive thinks it is 65531/16/63 (which multiplies out to that magic 66055248 number. I took a look at the manual for Diamond hard-drives, and one command I noticed was the initialize geometry command. I know that this command shouldn't make any difference in an LBA world, but maybe the drive needs you to set the H=255 and S=63 with that command and that would enable it to see the full capacity. I have no idea though, I am throwing that out (probably not gonna work).
You can use the drive you have there to test this behavior, just set J46 (the middle jumper) and try reading past sector 66055248 and see what happens. If it works on your drive, then apparently running JUMPON has basically screwed any chance of me using the drive with Linux until Linux is updated. If it doesn't work on your drive, then I'll feel better but I'll still have to search for a way to make the drive think it is the correct capacity.
BTW... anyone know of any tools to un-PKLITE the JUMPON .EXE and then disassemble it? Maybe there is some usefull information there.
-Dave
Mar 24 05:19:46 c543746-a kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } Mar 24 05:19:46 c543746-a kernel: hda: dma_intr: error=0x10 { SectorIdNotFound }, CHS=65530/15/61, sector=48737112 Mar 24 05:19:46 c543746-a kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } Mar 24 05:19:46 c543746-a kernel: hda: dma_intr: error=0x10 { SectorIdNotFound }, CHS=65530/15/61, sector=48737112 Mar 24 05:19:46 c543746-a kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } Mar 24 05:19:46 c543746-a kernel: hda: dma_intr: error=0x10 { SectorIdNotFound }, CHS=65530/15/61, sector=48737112 Mar 24 05:19:46 c543746-a kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } Mar 24 05:19:46 c543746-a kernel: hda: dma_intr: error=0x10 { SectorIdNotFound }, CHS=65530/15/61, sector=48737112 Mar 24 05:19:46 c543746-a kernel: hda: DMA disabled Mar 24 05:19:46 c543746-a kernel: hdb: DMA disabled Mar 24 05:19:46 c543746-a kernel: ide0: reset: success Mar 24 05:19:46 c543746-a kernel: hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error } Mar 24 05:19:46 c543746-a kernel: hda: read_intr: error=0x10 { SectorIdNotFound }, CHS=65530/15/61, sector=48737112 Mar 24 05:19:46 c543746-a kernel: hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error } Mar 24 05:19:46 c543746-a kernel: hda: read_intr: error=0x10 { SectorIdNotFound }, CHS=65530/15/61, sector=48737112 Mar 24 05:19:46 c543746-a kernel: hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error } Mar 24 05:19:46 c543746-a kernel: hda: read_intr: error=0x10 { SectorIdNotFound }, CHS=65530/15/61, sector=48737112 Mar 24 05:19:46 c543746-a kernel: hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error } Mar 24 05:19:46 c543746-a kernel: hda: read_intr: error=0x10 { SectorIdNotFound }, CHS=65530/15/61, sector=48737112 Mar 24 05:19:46 c543746-a kernel: ide0: reset: success Mar 24 05:19:47 c543746-a kernel: hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error } Mar 24 05:19:47 c543746-a kernel: hda: read_intr: error=0x10 { SectorIdNotFound }, CHS=65530/15/61, sector=48737112 Mar 24 05:19:47 c543746-a kernel: end_request: I/O error, dev 03:06 (hda), sector 48737112
Andre Hedrick wrote:
> Try this combination. > > ide.2.2.15-14.20000324.patch > hdparm-3.9a.patch > util-linux-2.10c-fdisk.patch > > Andre Hedrick > The Linux ATA/IDE guy > http://www.linux-ide.org/ only announcement
- 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/
| |