[Bug 512142] Re: pktcdvd module missing

pirx67 pirx67 at gmx.de
Mon Feb 22 00:06:03 GMT 2010


Downloaded the current Ubuntu linux-source package that originates from
2.6.31.6. Had a look into the pktcdvd.c. Found the following code
snippet that initialize a structure to register the "pktcdvd/control"
device as a "misc" driver. It seemed apparently wrong because the
structure member .name is initialized twice.

static struct miscdevice pkt_misc = {
	.minor 		= MISC_DYNAMIC_MINOR,
	.name  		= DRIVER_NAME,
	.name  		= "pktcdvd/control",
	.fops  		= &pkt_ctl_fops
};

Commented the line with "pktcdvd/control" out and built a new kernel
hoping that would fix the wrong name of the misc driver when reading
"/proc/misc" to get the minor device number for pktsetup.

Apparently it did fix that. The output of "/proc/misc" contains now that
fits to the original version of pktsetup:

 61 pktcdvd

But unfortunately /dev/pktcdvd is no directory any more and therefore
there is no way to access /dev/pktcdvd/control and add the necessary
/dev/pktcdvd/pktcdvd? device nodes.

At the moment the patch to pktsetup.c seems for me the way to get the
pktcdvd module configured using pktsetup.

-- 
pktcdvd module missing
https://bugs.launchpad.net/bugs/512142
You received this bug notification because you are a member of Ubuntu
Burning Team, which is subscribed to udftools in ubuntu.



More information about the Ubuntu-burning mailing list