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
Nobody Here
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
Hi; I dont know if that kernel has the required patches; 2.6.12 is is the only vanilla kernel I know of that will not only work, but doesnt have corruption problems with pktcdvd.
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
That is an ugly result! How did '/dev/mycd' get created? With the most recent kernel and tools, this should have worked, however Im not sure how it works for people not using udev or devfs. It should create a node under /dev/pktcdvd named 'mycd'. Then you could use /dev/pktcdvd/mycd as a normal r/w block device. Im using 'udftools-1.0.0b-r3', which is a gentoo package and may be patched. Get the latest, and build it from source if you have to.
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
This syntax is the old way, but you would have to say '/dev/hdc' instead of just 'hdc' for it to work.
Using a preexisting character device: # pktsetup pktcdvd hdc ioctl: Inappropriate ioctl for device
If /dev/pktcdvd exists, it is probably a directory? Paul set@pobox.com
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
participants (3)
-
Carl Luescher
-
Nobody Here
-
Paul