Problems with 2.6.8.1/Debian unstable/LG-4160b
Hi,
I've build my kernel (vanilla 2.6.8.1 + packet-writing patch) and trying
to use with a LG GSA-4160b DVD+/-RW drive.
# modprobe -v pktcdvd
insmod /lib/modules/2.6.8.1-dexter/kernel/drivers/block/pktcdvd.ko
# lsmod | grep pkt
pktcdvd 32892 0
cdrom 41180 2 pktcdvd,ide_cd
# ls -l /dev/pktcdvd*
brw-rw---- 1 root cdrom 97, 0 Oct 23 13:46 /dev/pktcdvd0
brw-rw---- 1 root cdrom 97, 1 Oct 23 13:46 /dev/pktcdvd1
brw-rw---- 1 root cdrom 97, 2 Oct 23 13:46 /dev/pktcdvd2
brw-rw---- 1 root cdrom 97, 3 Oct 23 13:46 /dev/pktcdvd3
# pktsetup /dev/pktcdvd0 /dev/hdc
open packet device: No such device or address
same problem happens with 2.6.9-mm1. Both cases using DVD+RW media.
Any idea, even how to debug this ?
Thanks.
--
Theo Cabrerizo Diem
On Saturday 23 Oct 2004 22:03, Theo Cabrerizo Diem wrote:
Hi,
I've build my kernel (vanilla 2.6.8.1 + packet-writing patch) and trying to use with a LG GSA-4160b DVD+/-RW drive.
# modprobe -v pktcdvd insmod /lib/modules/2.6.8.1-dexter/kernel/drivers/block/pktcdvd.ko # lsmod | grep pkt pktcdvd 32892 0 cdrom 41180 2 pktcdvd,ide_cd # ls -l /dev/pktcdvd* brw-rw---- 1 root cdrom 97, 0 Oct 23 13:46 /dev/pktcdvd0 brw-rw---- 1 root cdrom 97, 1 Oct 23 13:46 /dev/pktcdvd1 brw-rw---- 1 root cdrom 97, 2 Oct 23 13:46 /dev/pktcdvd2 brw-rw---- 1 root cdrom 97, 3 Oct 23 13:46 /dev/pktcdvd3 # pktsetup /dev/pktcdvd0 /dev/hdc open packet device: No such device or address
same problem happens with 2.6.9-mm1. Both cases using DVD+RW media.
Any idea, even how to debug this ?
Thanks.
-- Theo Cabrerizo Diem
The packet writing driver changed recently - see Documentation/cdrom/packet-writing.txt in the kernel sources for details of how packet device setup is now achieved. You will also need to patch and rebuild udftools. the patch is available at http://w1.894.telia.com/~u89404340/patches/packet/udftools-1.0.0b3.patch.bz2 -- Chris
Hi again ;) The debian package of udftools include this patch (I've checked and diff'ed .. it's the same file). As Marcelo managed to made packet writing work on same kernel as mine, I tried to find what was different from our setup. So... just installed udev and everything works now ... :) .. but the /dev/pktcdvd0 file hasn't same major number than /dev/pktcdvd/0 (don't know lots about udev). Everything is working now ;) Thanks. On Sun, 2004-10-24 at 07:54 +0000, Chris Clayton wrote:
On Saturday 23 Oct 2004 22:03, Theo Cabrerizo Diem wrote:
Hi,
I've build my kernel (vanilla 2.6.8.1 + packet-writing patch) and trying to use with a LG GSA-4160b DVD+/-RW drive.
# modprobe -v pktcdvd insmod /lib/modules/2.6.8.1-dexter/kernel/drivers/block/pktcdvd.ko # lsmod | grep pkt pktcdvd 32892 0 cdrom 41180 2 pktcdvd,ide_cd # ls -l /dev/pktcdvd* brw-rw---- 1 root cdrom 97, 0 Oct 23 13:46 /dev/pktcdvd0 brw-rw---- 1 root cdrom 97, 1 Oct 23 13:46 /dev/pktcdvd1 brw-rw---- 1 root cdrom 97, 2 Oct 23 13:46 /dev/pktcdvd2 brw-rw---- 1 root cdrom 97, 3 Oct 23 13:46 /dev/pktcdvd3 # pktsetup /dev/pktcdvd0 /dev/hdc open packet device: No such device or address
same problem happens with 2.6.9-mm1. Both cases using DVD+RW media.
Any idea, even how to debug this ?
Thanks.
-- Theo Cabrerizo Diem
The packet writing driver changed recently - see Documentation/cdrom/packet-writing.txt in the kernel sources for details of how packet device setup is now achieved. You will also need to patch and rebuild udftools. the patch is available at http://w1.894.telia.com/~u89404340/patches/packet/udftools-1.0.0b3.patch.bz2
--
Theo Cabrerizo Diem
participants (2)
-
Chris Clayton
-
Theo Cabrerizo Diem