Re: Question about LS120 floppies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/02/2009 05:19 PM, Larry Finger wrote:
Robert Hancock wrote:
Yes, definitely a lot of uninformed speculation on that thread. The
floppy driver has nothing to do with any IDE/ATA drive like this, and if
OpenSUSE is using libata drivers then attempting to load the IDE floppy
driver is also useless.

It would be useful if the reporter could verify that the drive is at all
functional with that media under any OS. That "Cannot read medium -
unknown format" is being reported by the drive itself in response to a
"read capacity" request, not the driver. So unless there's some magic
that the driver needs to do to get the drive to recognize the disc, it
seems like a hardware problem.

Since the last posting on this thread, I have acquired the hardware
from Roland Hughes. He reports that it worked with Ubuntu Hardy,
FreeDOS and Windows XP. I am assuming that the hardware is OK, but it
certainly is strange. I don't know the details for all commands, but
the command to get the capacity is 0x23 rather than the standard 0x25.

Will it be possible to make such strange hardware work under libata?
Is there a document that shows how to implement quirky devices? I
found the scsi_static_device_list[] entries, but also saw the
admonition not to add to that list.

Well, it looks like there is some specific code for this drive in drivers/ide/ide-floppy.c that uses READ FORMAT CAPACITIES, which "allows the Host to request a list of the possible format capacities for an installed writable media" instead of READ CAPACITY. The code in the sd driver (which gets used under libata) doesn't do that. However from my reading of the MMC spec (which is where READ FORMAT CAPACITIES is defined), it seems like READ CAPACITY should still work. (But then I wouldn't be surprised if the manufacturer used the SCSI/MMC standards as toilet paper..)

Supposedly LS-120 disks are pre-formatted, so the "cannot read medium - unknown format" error is rather bizarre. It would definitely be useful to verify that this drive is at all functional under an older distro using the IDE drivers, or WinXP before spending too much time on it..
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux