mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* readcd supossed to suport 2.5.x IDE interface?
@ 2003-05-30 17:20 uaca
  2003-05-30 17:32 ` uaca
  2003-05-30 17:34 ` Jordan Breeding
  0 siblings, 2 replies; 3+ messages in thread
From: uaca @ 2003-05-30 17:20 UTC (permalink / raw)
  To: linux-kernel

Hi all

I'm recording CD-R/W media with cdrecord using dev=<ide device> without
problems but I tried to use readcd in order to read media in raw mode 
and doesn't work:

agapito:/home/ulisses# readcd dev=/dev/hdc f=/dev/null
Read  speed:  8450 kB/s (CD  48x, DVD  6x).
Write speed:  7056 kB/s (CD  40x, DVD  5x).
Capacity: 359819 Blocks = 719638 kBytes = 702 MBytes = 736 prMB
Sectorsize: 2048 Bytes
Copy from SCSI (0,0,0) disk to file '/dev/null'
end:    359819
readcd: Operation not permitted. Cannot send SCSI cmd via ioctl
agapito:/home/ulisses# readcd dev=/dev/hdc f=/dev/null

the error message comes from:

ioctl(3, 0x2285, 0xbffff570)            = -1 ENOTTY (Inappropriate ioctl for device)

where the file descriptor is the IDE device

I would like to help if this is a kernel flaw

I was not sure were I should post this because Joerg Schilling doesn't
support it's tools for IDE devices (not SCSI emulated) on Linux

Thanks all

	Ulisses

PD: I had a crazy idea, there are a lot of Install Parties, why not "Bug
hunting fests/sessions" before 2.6 reach the street?

                Debian GNU/Linux: a dream come true
-----------------------------------------------------------------------------
"Computers are useless. They can only give answers."            Pablo Picasso

--->	Visita http://www.valux.org/ para saber acerca de la	<---
--->	Asociación Valenciana de Usuarios de Linux		<---
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: readcd supossed to suport 2.5.x IDE interface?
  2003-05-30 17:20 readcd supossed to suport 2.5.x IDE interface? uaca
@ 2003-05-30 17:32 ` uaca
  2003-05-30 17:34 ` Jordan Breeding
  1 sibling, 0 replies; 3+ messages in thread
From: uaca @ 2003-05-30 17:32 UTC (permalink / raw)
  To: linux-kernel


Hi again,

I'm sorry I did not tell I was using 2.5.68 vanilla, also I just saw the new
patches. I will report about it later

	Ulisses

On Fri, May 30, 2003 at 07:20:36PM +0200, uaca@alumni.uv.es wrote:
> Hi all
> 
> I'm recording CD-R/W media with cdrecord using dev=<ide device> without
> problems but I tried to use readcd in order to read media in raw mode 
> and doesn't work:
> 
> agapito:/home/ulisses# readcd dev=/dev/hdc f=/dev/null
> Read  speed:  8450 kB/s (CD  48x, DVD  6x).
> Write speed:  7056 kB/s (CD  40x, DVD  5x).
> Capacity: 359819 Blocks = 719638 kBytes = 702 MBytes = 736 prMB
> Sectorsize: 2048 Bytes
> Copy from SCSI (0,0,0) disk to file '/dev/null'
> end:    359819
> readcd: Operation not permitted. Cannot send SCSI cmd via ioctl
> agapito:/home/ulisses# readcd dev=/dev/hdc f=/dev/null
> 
> the error message comes from:
> 
> ioctl(3, 0x2285, 0xbffff570)            = -1 ENOTTY (Inappropriate ioctl for device)
> 
> where the file descriptor is the IDE device
> 
> I would like to help if this is a kernel flaw
> 
> I was not sure were I should post this because Joerg Schilling doesn't
> support it's tools for IDE devices (not SCSI emulated) on Linux
> 
> Thanks all
> 
> 	Ulisses
> 
> PD: I had a crazy idea, there are a lot of Install Parties, why not "Bug
> hunting fests/sessions" before 2.6 reach the street?
> 
>                 Debian GNU/Linux: a dream come true
> -----------------------------------------------------------------------------
> "Computers are useless. They can only give answers."            Pablo Picasso
> 
> --->	Visita http://www.valux.org/ para saber acerca de la	<---
> --->	Asociación Valenciana de Usuarios de Linux		<---
>  
> -
> 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/

-- 
                Debian GNU/Linux: a dream come true
-----------------------------------------------------------------------------
"Computers are useless. They can only give answers."            Pablo Picasso

--->	Visita http://www.valux.org/ para saber acerca de la	<---
--->	Asociación Valenciana de Usuarios de Linux		<---
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: readcd supossed to suport 2.5.x IDE interface?
  2003-05-30 17:20 readcd supossed to suport 2.5.x IDE interface? uaca
  2003-05-30 17:32 ` uaca
@ 2003-05-30 17:34 ` Jordan Breeding
  1 sibling, 0 replies; 3+ messages in thread
From: Jordan Breeding @ 2003-05-30 17:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: uaca

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1891 bytes --]

Please see this thread:
http://marc.theaimsgroup.com/?t=105430004000003&r=1&w=2.

Jordan

--- uaca@alumni.uv.es wrote:
> Hi all
> 
> I'm recording CD-R/W media with cdrecord using
> dev=<ide device> without
> problems but I tried to use readcd in order to read
> media in raw mode 
> and doesn't work:
> 
> agapito:/home/ulisses# readcd dev=/dev/hdc
> f=/dev/null
> Read  speed:  8450 kB/s (CD  48x, DVD  6x).
> Write speed:  7056 kB/s (CD  40x, DVD  5x).
> Capacity: 359819 Blocks = 719638 kBytes = 702 MBytes
> = 736 prMB
> Sectorsize: 2048 Bytes
> Copy from SCSI (0,0,0) disk to file '/dev/null'
> end:    359819
> readcd: Operation not permitted. Cannot send SCSI
> cmd via ioctl
> agapito:/home/ulisses# readcd dev=/dev/hdc
> f=/dev/null
> 
> the error message comes from:
> 
> ioctl(3, 0x2285, 0xbffff570)            = -1 ENOTTY
> (Inappropriate ioctl for device)
> 
> where the file descriptor is the IDE device
> 
> I would like to help if this is a kernel flaw
> 
> I was not sure were I should post this because Joerg
> Schilling doesn't
> support it's tools for IDE devices (not SCSI
> emulated) on Linux
> 
> Thanks all
> 
> 	Ulisses
> 
> PD: I had a crazy idea, there are a lot of Install
> Parties, why not "Bug
> hunting fests/sessions" before 2.6 reach the street?
> 
>                 Debian GNU/Linux: a dream come true
>
-----------------------------------------------------------------------------
> "Computers are useless. They can only give answers."
>            Pablo Picasso
> 
> --->	Visita http://www.valux.org/ para saber acerca
> de la	<---
> --->	Asociación Valenciana de Usuarios de Linux	
> <---
>  
> -
> 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/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-30 17:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-30 17:20 readcd supossed to suport 2.5.x IDE interface? uaca
2003-05-30 17:32 ` uaca
2003-05-30 17:34 ` Jordan Breeding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®