HDIO_SET_PIO_MODE and other IDE ioctls
From: ina (celina.miranda_at_eazix.com)
Date: 10/31/03
- Next message: Gary G. Taylor: "Re: Has anyone ever heard of a "PC Chips" M851LU Motherboard ?"
- Previous message: Marc Nadeau: "Re: Hard disk goes idle too early"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Oct 2003 18:42:14 -0800
I'm checking the IDE subsytem of a linux distribution. I've found out
that whenever I issue the ioctl HDIO_SET_PIO_MODE (hdparm -p 0
/dev/hdx) it returns an error "Function not implemented". But when i
try to issue the command hdparm -d0 -X0 /dev/hdx it reports: "setting
xfermode to 0 (default PIO mode)"
My question is: What is the difference between calling hdparm -p and
hdparm -X0 since they both set the PIO mode? How do I verify if the
desired PIO mode has been set?
Also, when i try to issue the ioctl HDIO_SET_ACOUSTIC, I get
"input/output error". Does it mean that the disk does not support
acoustic management? But when i try to query the device using hdparm
-I, it reports that it has acoustic management.
Celina Miranda
- Next message: Gary G. Taylor: "Re: Has anyone ever heard of a "PC Chips" M851LU Motherboard ?"
- Previous message: Marc Nadeau: "Re: Hard disk goes idle too early"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|