Re: pktsetup problem...

Chris Clayton <[email protected]> Sat, 29 Oct 2005 11:56:29 +0000
Newsgroups gmane.linux.suse.packet-writing
Message-ID <[email protected]>
Hi Raquel,

<snip> 

> I used "rpm -q udftools" because when I ejecuted pktsetup without
> arguments it displayed the option needed:
> 
> linux:~ # pktsetup
> pktsetup /dev/pktcdvd0 /dev/cdrom       setup device
> pktsetup -d /dev/pktcdvd0               tear down device
> 
That may be your problem. On my system pktsetup with no arguments gives:

$ pktsetup
For pktcdvd < 0.2.0:
  pktsetup /dev/pktcdvd0 /dev/cdrom  setup device
  pktsetup -d /dev/pktcdvd0          tear down device
For pktcdvd >= 0.2.0:
  pktsetup dev_name /dev/cdrom       setup device
  pktsetup -d dev_name               tear down device
  pktsetup -d major:minor            tear down device
  pktsetup -s                        show device mappings

When packet writing was included in the mainline kernel, some changes that were
made to the driver meant that a patch to pktsetup was also needed.  However,
1.0.0b3 is the right (patched) version so it's strange that pktsetup is producing
the wrong output. The only thing I can think of is that you have two versions of
pktsetup on your system and the wrong one is being found first.

Hope this helps.

Chris