* [BUG] - SATA / ioctl(). (HDIO_GET_IDENTITY failed...) @ 2005-03-03 1:53 Damian Kolkowski 2005-03-03 2:11 ` Damian Kolkowski 2005-03-03 2:23 ` Jeff Garzik 0 siblings, 2 replies; 3+ messages in thread From: Damian Kolkowski @ 2005-03-03 1:53 UTC (permalink / raw) To: linux-kernel Hi, Is there any patch to correct libata working with ioctl()? For example: .~. # hdparm -t /dev/hda /dev/sda /dev/hda: Timing buffered disk reads: 174 MB in 3.03 seconds = 57.36 MB/sec /dev/sda: Timing buffered disk reads: 152 MB in 3.03 seconds = 50.11 MB/sec HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device .~. # I can attach addition: dmesg, kernel.config, lspci, etc... take care. -- ### Damian Kołkowski (dEiMoS) ## http://kolkowski.no-ip.org/ ### # echo teb.cv-ba.vxfjbxybx.anvznq | rot13 | rev | sed s/\\./@/ # ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] - SATA / ioctl(). (HDIO_GET_IDENTITY failed...) 2005-03-03 1:53 [BUG] - SATA / ioctl(). (HDIO_GET_IDENTITY failed...) Damian Kolkowski @ 2005-03-03 2:11 ` Damian Kolkowski 2005-03-03 2:23 ` Jeff Garzik 1 sibling, 0 replies; 3+ messages in thread From: Damian Kolkowski @ 2005-03-03 2:11 UTC (permalink / raw) To: linux-kernel * Damian Kołkowski <damian@kolkowski.no-ip.org> [2005-03-03 03:07]: > Is there any patch to correct libata working with ioctl()? Probably hdparm is not the right software for this test, so sorry for bother ;-) -- ### Damian Kołkowski (dEiMoS) ## http://kolkowski.no-ip.org/ ### # echo teb.cv-ba.vxfjbxybx.anvznq | rot13 | rev | sed s/\\./@/ # ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] - SATA / ioctl(). (HDIO_GET_IDENTITY failed...) 2005-03-03 1:53 [BUG] - SATA / ioctl(). (HDIO_GET_IDENTITY failed...) Damian Kolkowski 2005-03-03 2:11 ` Damian Kolkowski @ 2005-03-03 2:23 ` Jeff Garzik 1 sibling, 0 replies; 3+ messages in thread From: Jeff Garzik @ 2005-03-03 2:23 UTC (permalink / raw) To: Damian Kolkowski; +Cc: linux-kernel Damian Kolkowski wrote: > Hi, > > Is there any patch to correct libata working with ioctl()? libata works fine with ioctl(2). > For example: > > .~. # hdparm -t /dev/hda /dev/sda > /dev/hda: > Timing buffered disk reads: 174 MB in 3.03 seconds = 57.36 MB/sec > /dev/sda: > Timing buffered disk reads: 152 MB in 3.03 seconds = 50.11 MB/sec > HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device > .~. # > > I can attach addition: dmesg, kernel.config, lspci, etc... Arbitrary command execution is only supported in libata-dev tree for now. Jeff ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-03-03 2:34 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-03-03 1:53 [BUG] - SATA / ioctl(). (HDIO_GET_IDENTITY failed...) Damian Kolkowski 2005-03-03 2:11 ` Damian Kolkowski 2005-03-03 2:23 ` Jeff Garzik
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox