Mailinglist Archive: packet-writing (23 mails)

< Previous Next >
Inappropriate ioctl for device
  • From: Francesco <francesco@xxxxxxxxxxxxx>
  • Date: Thu, 17 Feb 2005 20:39:10 +0000 (UTC)
  • Message-id: <421500EA.9030904@xxxxxxxxxxxxx>
Hi,
I'm trying to do some packet writing with my PIONEER DVR-106D dvd-rw but I'm running in the problem that it doesn't seem to be recognized by the kernel module (at least this is what I think).

This is my system:
kernel 2.6.10, pktcdvd 0.2.0a, udftools 1.0.0b2, dvd+rw-tools 5.21.4.10.8-2

This is the output from dvd+rw-mediainfo:
[root@artemide ~]# dvd+rw-mediainfo /dev/dvd
INQUIRY: [PIONEER ][DVD-RW DVR-106D][1.08]
GET [CURRENT] CONFIGURATION:
Mounted Media: 14h, DVD-RW Sequential
Media ID: CMCW02
Current Write Speed: 2.0x1385=2770KB/s
Write Speed #0: 2.0x1385=2770KB/s
Write Speed #1: 1.0x1385=1385KB/s
Speed Descriptor#0: 00/2298495 R@xxxxxxxx=1385KB/s W@xxxxxxxx=2770KB/s
Speed Descriptor#1: 00/2298495 R@xxxxxxxx=1385KB/s W@xxxxxxxx=1385KB/s
READ DVD STRUCTURE[#10h]:
Media Book Type: 32h, DVD-RW book [revision 2]
Legacy lead-out at: 2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
Media Book Type: 32h, DVD-RW book [revision 2]
Last border-out at: 0*2KB=0
READ DISC INFORMATION:
Disc status: blank
Number of Sessions: 1
State of Last Session: empty
Number of Tracks: 1
READ TRACK INFORMATION[#1]:
Track State: invisible incremental
Track Start Address: 0*2KB
Next Writable Address: 0*2KB
Free Blocks: 2297888*2KB
Track Size: 2297888*2KB
READ CAPACITY: 1*2048=2048
[root@artemide ~]# dvd+rw-mediainfo /dev/dvd
INQUIRY: [PIONEER ][DVD-RW DVR-106D][1.08]
GET [CURRENT] CONFIGURATION:
Mounted Media: 14h, DVD-RW Sequential
Media ID: CMCW02
Current Write Speed: 2.0x1385=2770KB/s
Write Speed #0: 2.0x1385=2770KB/s
Write Speed #1: 1.0x1385=1385KB/s
Speed Descriptor#0: 00/2298495 R@xxxxxxxx=1385KB/s W@xxxxxxxx=2770KB/s
Speed Descriptor#1: 00/2298495 R@xxxxxxxx=1385KB/s W@xxxxxxxx=1385KB/s
READ DVD STRUCTURE[#10h]:
Media Book Type: 32h, DVD-RW book [revision 2]
Legacy lead-out at: 2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
Media Book Type: 32h, DVD-RW book [revision 2]
Last border-out at: 0*2KB=0
READ DISC INFORMATION:
Disc status: blank
Number of Sessions: 1
State of Last Session: empty
Number of Tracks: 1
READ TRACK INFORMATION[#1]:
Track State: invisible incremental
Track Start Address: 0*2KB
Next Writable Address: 0*2KB
Free Blocks: 2297888*2KB
Track Size: 2297888*2KB
READ CAPACITY: 1*2048=2048


Formatting and blanking the media goes without any problem but if it try to issue pktsetup:

[root@artemide ~]# pktsetup /dev/pktcdvd /dev/dvd
ioctl: Inappropriate ioctl for device

The kernel module is loaded succesfully so don't know why I get this error.
Could be my DVD burner blacklisted or inappropriate for packet writing? Or am I missing something?

ciao,
Francesco


< Previous Next >