How to set hdparms for ide-scsi devices on devfs?
Sorry, if this issue was already discussed in lkml. I didn't find a reference to this at www.geocrawler.com
My Problem:
I want to set the unmaskirq and dma -flag for my ide cd-recorder. The Problem is, that devfs creates no ide device, but only the /dev/scsi/../{cd,general} devices are created. And hdparm don't accepts this devices for setting the ide-parameters.
My current workaround is to create a /dev/hd? device "by hand" at system startup. This is not very beautiful. Furthermore, if the device numbers in devfs are deactivated, this won't work anymore.
I can live with my current solution. But i would be very happy if someone can present a clean solution.
I posted this message intentionally not on the devfs mailing list as i think this problem is related to accessing the same device through different /dev entries. Under devfs, the /dev/ide/... device node gets allocated after the corresponding ide-xx.o has been loaded. But this is not possible with ide-scsi claiming the device :(
Thanks in advance
Signature · 3 lines
Eduard Hasenleithner student of Salzburg University of Applied Sciences and Technologies
procfs
echo unmaskirq:1 /proc/ide/hdx/settings
Andre Hedrick
Linux ATA Development
ASL Kernel Development
-----------------------------------------------------------------------------
ASL, Inc. Toll free: 1-877-ASL-3535 1757 Houret Court Fax: 1-408-941-2071 Milpitas, CA 95035 Web: www.aslab.com
Quoted 5 lines · Andre Hedrick
procfs
echo unmaskirq:1
/proc/ide/hdx/settings
Thank you, thats perfect. Is setting the parameters a relatively new feature? I searched for a possibiliy like this and found no references.
PS: Is there still a possibility for setting the IDE-sleep timeout
for a ide-scsi harddisk? (I know, this doesnt make sense)
Signature · 3 lines
Eduard Hasenleithner student of Salzburg University of Applied Sciences and Technologies
Quoted 2 lines
PS: Is there still a possibility for setting the IDE-sleep timeout
for a ide-scsi harddisk? (I know, this doesnt make sense)
I didn't know you could use ide-scsi emulation for hard drives.
Signature · 1 line
Lab tests show that use of micro$oft causes cancer in lab animals
There are mystert ATAPI harddrives in the world!
Quoted 13 lines · Wakko Warner
Quoted 2 lines
PS: Is there still a possibility for setting the IDE-sleep timeout
for a ide-scsi harddisk? (I know, this doesnt make sense)I didn't know you could use ide-scsi emulation for hard drives.
Signature · 6 lines
Lab tests show that use of micro$oft causes cancer in lab animals - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Andre Hedrick
Linux ATA Development
ASL Kernel Development
-----------------------------------------------------------------------------
ASL, Inc. Toll free: 1-877-ASL-3535 1757 Houret Court Fax: 1-408-941-2071 Milpitas, CA 95035 Web: www.aslab.com
Quoted 2 lines · Wakko Warner
Quoted 2 lines
PS: Is there still a possibility for setting the IDE-sleep timeout
for a ide-scsi harddisk? (I know, this doesnt make sense)
Yeah, why would you ? ide-scsi is mainly to support cd-rw
drives, AFAIK
Quoted 11 lines
I didn't know you could use ide-scsi emulation for hard drives.
--
Lab tests show that use of micro$oft causes cancer in lab animals
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 7 lines · Jeremy Jackson
Quoted 2 lines · Wakko Warner
Quoted 2 lines
PS: Is there still a possibility for setting the IDE-sleep timeout
for a ide-scsi harddisk? (I know, this doesnt make sense)Yeah, why would you ? ide-scsi is mainly to support cd-rw
drives, AFAIK
It's a general SCSI-over-ATAPI interface, and as such regular ATA hard drives cannot be run with ide-scsi.
Signature · 1 line
Jens Axboe