* pktcdvd major contradicts <linux/Documentation/devices.txt>
@ 2006-05-20 21:17 Herbert Rosmanith
2006-05-20 21:35 ` Alexey Dobriyan
0 siblings, 1 reply; 3+ messages in thread
From: Herbert Rosmanith @ 2006-05-20 21:17 UTC (permalink / raw)
To: linux-kernel; +Cc: Herbert Rosmanith
good evening,
(1)
# grep -B 1 pktcdvd /usr/src/linux/Documentation/devices.txt
97 block Packet writing for CD/DVD devices
0 = /dev/pktcdvd0 First packet-writing module
1 = /dev/pktcdvd1 Second packet-writing module
but:
(2)
# modprobe pktcdvd
# grep pktcdvd /proc/devices
254 pktcdvd
so, in contrast to the documentation, pktcdvd gets a dynamic major.
kind regards,
h.rosmanith
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pktcdvd major contradicts <linux/Documentation/devices.txt>
2006-05-20 21:17 pktcdvd major contradicts <linux/Documentation/devices.txt> Herbert Rosmanith
@ 2006-05-20 21:35 ` Alexey Dobriyan
2006-05-20 22:18 ` Herbert Rosmanith
0 siblings, 1 reply; 3+ messages in thread
From: Alexey Dobriyan @ 2006-05-20 21:35 UTC (permalink / raw)
To: Herbert Rosmanith; +Cc: linux-kernel
On Sat, May 20, 2006 at 11:17:29PM +0200, Herbert Rosmanith wrote:
> (1)
> # grep -B 1 pktcdvd /usr/src/linux/Documentation/devices.txt
> 97 block Packet writing for CD/DVD devices
> 0 = /dev/pktcdvd0 First packet-writing module
> 1 = /dev/pktcdvd1 Second packet-writing module
>
> but:
>
> (2)
> # modprobe pktcdvd
> # grep pktcdvd /proc/devices
> 254 pktcdvd
>
>
> so, in contrast to the documentation, pktcdvd gets a dynamic major.
Fixed is in -git since Mon May 15 09:44:40 2006 -0700.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pktcdvd major contradicts <linux/Documentation/devices.txt>
2006-05-20 21:35 ` Alexey Dobriyan
@ 2006-05-20 22:18 ` Herbert Rosmanith
0 siblings, 0 replies; 3+ messages in thread
From: Herbert Rosmanith @ 2006-05-20 22:18 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: linux-kernel
> Fixed is in -git since Mon May 15 09:44:40 2006 -0700.
aha. I'm only working with 2.6.16.16.
anyway. As I just started with the pkt-writing module, I noticed
another strange behaviour (at least, it seems strange to me, but YMMV),
and I wonder if this is has already been fixed in some -git or -mm
prepatch or snapshot or subsubsub-release-canditate ...
<linux/Documentation/cdrom/packet-writing.txt> says:
- Setup your writer
# pktsetup dev_name /dev/hdc
Therefore, I do "pktsetup node0 /dev/hdc", which gives:
# pktsetup node0 /dev/hdc
ctl open: Not a directory
strace shows that pktsetup is trying to open /dev/pktcdvd/control,
which it cannot, since /dev/pktcdvd is a char device obviously
created upon "modprobe pktcdvd". The char device has major 10 minor
63, which seems to be missing in devices.txt.
Once I remove the char-device, pktsetup will work and create
/dev/pktcdvd/control and /dev/pktcdvd/node0. Now I try to figure
out how the rest of "packet-writing.txt" works ...
kind regards,
h.rosmanith
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-20 22:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-20 21:17 pktcdvd major contradicts <linux/Documentation/devices.txt> Herbert Rosmanith
2006-05-20 21:35 ` Alexey Dobriyan
2006-05-20 22:18 ` Herbert Rosmanith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome