Re: [PATCH] make ide-cd handle non-2kB sector sizes

From: Maciej W. Rozycki (macro_at_ds2.pg.gda.pl)
Date: 01/23/04

  • Next message: Jens Axboe: "Re: Unneeded Code Found??"
    Date:	Fri, 23 Jan 2004 23:10:01 +0100 (CET)
    To: Pascal Schmidt <der.eremit@email.de>
    
    

    On Fri, 23 Jan 2004, Pascal Schmidt wrote:

    > > So that's just opposite to what ide-cd does, but I think ide-cd should be
    > > limited to CD-like devices with their all properties (oddities).
    >
    > When I brought up the issue a few months back, the consensus was to
    > use ide-cd, not ide-floppy.

     Interesting. I would consider ide-floppy (despite its somewhat
    inadequate name) the driver for all ATAPI disks as opposed to ATA disks
    that use ide-disk. CD-like devices are much different, supporting such
    alien to disk devices entities like tracks or audio reading or playing.

     BTW, does ide-cd support partition tables yet? You typically want them
    for MO disks if you want to transport data to/from other OSes or simply
    because their space is big enough to create separate filesystems for
    certain applications. Or perhaps swap space even. ;-)

    > > Specifically you can do random writes to an MO disk, perhaps even format
    > > it, which is usually not the case with CDs.
    >
    > ide-cd also handles DVD-RAM, which can also handle random writes.

     Well, an exception rather than a rule. ;-)

    > > BTW, what does ide-scsi say of the device type for the MO: is it "CD-ROM"
    > > or "Direct-Access" or anything else? I used an MO drive (a SCSI one --
    > > nobody was crazy enough to think of an ATAPI interface for that kinds of
    > > devices at that time) for a short while under Linux once and it used to be
    > > the latter, with sd, not sr being the appropriate driver.
    >
    > On 2.4:
    >
    > scsi0 : SCSI host adapter emulation for IDE ATAPI devices
    > Vendor: FUJITSU Model: M25-MCC3064AP Rev: 0051
    > Type: Optical Device ANSI SCSI revision: 02
    >
    > And yes, this uses the sd driver.

     I see -- that's reasonable. And I can't understand the proposed
    inconsistency with drivers -- why it should be a CD when being an ATAPI
    device and a disk when being a SCSI one? After all SCSI has a separate
    driver for CDs as well...

      Maciej

    -- 
    +  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
    +--------------------------------------------------------------+
    +        e-mail: macro@ds2.pg.gda.pl, PGP key available        +
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Jens Axboe: "Re: Unneeded Code Found??"

    Relevant Pages

    • Re: Merge I2O patches from -mm
      ... >>reported issues with I2O RAID devices. ... > I've looked over it and except for the i2o_scsi driver it looks sane. ... Note that the i2o_scsi "sees" all disks ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: sata_vsc problem.... Please help me.
      ... >> attached disks. ... >> Is there a way to disable or ignore these interrupts until the driver is ... >> housekeeping is finished and the driver is finished loading?? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: sata_vsc problem.... Please help me.
      ... > attached disks. ... > interrupts before it is fully loaded and ready to deal with them.... ... > Is there a way to disable or ignore these interrupts until the driver is ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • hard disk not accessable via second ide controller
      ... I have a recently installed Debian with Linux 2.4.18-bf2.4. ... I have not yet moved any data to the 40 Gb disks. ... 00:01.0 PCI bridge: VIA Technologies, ... Serial driver version 5.05c with MANY_PORTS SHARE_IRQ ...
      (Debian-User)
    • Re: Intel IXP420/425 BSP Compact Flash Driver
      ... The compact flash is connected to the IXP400 through expansion bus and is ... original ATAPI to fit the board, but when I looked for ATAPI the registry ... code of the ATAPI driver? ... Devices/Compact Flash / PC Card Storage " driver from the catalog ...
      (microsoft.public.windowsce.platbuilder)