Re: unable to pktsetup

Carl Luescher <[email protected]> Sat, 6 Aug 2005 23:32:15 -0400
Newsgroups gmane.linux.suse.packet-writing
Message-ID <[email protected]>
On Monday 01 August 2005 22:52, Nobody Here wrote:
> I'm using SuSE 9.3 .
>
> pktsetup fails regardless of what device I tell it.  cdrwtool correctly
> formats the disk.  The module loads from modprobe without sign of
> difficulty.  There is a notice in the syslog that it is loaded.
>
> # lsmod
> pktcdvd                30140  0
> cdrom                  36640  3 pktcdvd,sr_mod,ide_cd
>
> # uname -orp
> 2.6.11.4-21.7-default i686 GNU/Linux
>
> My drive is part of a new Sony laptop
> #  ata_identify hdc
> SONY_DVD_RW_DW-D56A
>
> Giving pktsetup a non-existant device as parameter:
>
> #  pktsetup mycd /dev/hdc
> ioctl: Inappropriate ioctl for device
> 0 desto:/dev#  ls -l mycd
> --wS--x---  1 root root 0 2005-08-01 18:05 mycd
>
> Creating a block device according to documentation I've found.
>
> mknod /dev/pktcdvd0 b 97 0
>
> #  ls -l pktcdvd*
> crw-rw----  1 root root 10, 62 2005-08-01 17:32 pktcdvd
> brw-rw----  1 root root 97,  0 2005-08-01 17:49 pktcdvd0
>
> #  pktsetup pktcdvd0 hdc
> open packet device: No such device or address
>
> Using a preexisting character device:
> #  pktsetup pktcdvd hdc
> ioctl: Inappropriate ioctl for device

Make sure you are using the patched udftools-1.0.0b3 then run:

pktsetup pktcdvd0 /dev/hdc

This worked for me with SuSE 9.3.

Carl