Re: problems with pktsetup
Ingo Brunberg <[email protected]> Thu, 24 Feb 2005 23:18:14 +0100
| Newsgroups | gmane.linux.suse.packet-writing |
|---|---|
| Message-ID | <[email protected]> |
I think your problem is that you are using the old fashioned 2.6.8 kernel/packet-patch together with the udftools patch for newer kernels. Try an unmodified version of udftools-1.0.0b3. Then "pktsetup /dev/pktcdvd0 /dev/hdd" should get you going. Ingo > hallo all, > > Using SuSE-9.2 I have read all stuff, here in the ML too. > And beliefe me, I tried more than 50 hours to help me myself. > > Have my (new) self made Kernel 2.6.8-24.11-6 patched with > packet-2.6.8.patch, compiled and installed. So there is > packet-writimg in the kernel (Modul pktcdvd) > The Modul udf is aktiv too. > > After this I compiled and install udftools-1.0.0b3.tar.gz > and patched it with udftools-1.0.0b3.patch.bz2 > The patch for pktsetup.c was done well. > > In /dev I found /dev/pktcdvd > I did a mknod /dev/pktcdvd0 b 97 0 > I wrote into /etc/modprobe.conf : alias block-major-97 pktcdvd > > lsmod shows the moduls udf and pktcdvd > > My cdrom = /dev/hdb, dvd (no burner) = /dev/hdc, > and my cd-burner (cdrw - ATAPI) is /dev/hdd > /media/cdrecorder is a link to /dev/hdd > > I could format a disc (cdrw) with "cdrwtool -d /dev/hdd -q" well > (I have for MSWindows "InCD" too and could use the formated > cdrw with InCD, all ok) > > adda:~ # pktsetup > pktsetup /dev/pktcdvd0 /dev/cdrom setup device > pktsetup -d /dev/pktcdvd0 tear down device > adda:~ # > > And now my problems: here some experiments of me: > > adda:~ # pktsetup /dev/pktcdvd0 /cdrecorder > open packet device: No such device or address > > adda:~ # pktsetup /pktcdvd0 /dev/hdd > ioctl: Inappropriate ioctl for device > > adda:~ # pktsetup /dev/pktcdvd0 /dev/hdd > open packet device: No such device or address > > adda:~ # pktsetup pktcdvd0 /dev/hdd > ioctl: Inappropriate ioctl for device > > adda:~ # pktsetup /dev/pktcdvd0 /cdrom > open packet device: No such device or address > adda:~ # > > What is here wrong? I can't setup my writer. > > In /usr/src/linux/Documentation/cdrom/Packet-writing > is written: > > Setup your writer: # pktsetup dev_name /dev/hdc (my=hdd) > > What is the correctly "dev_name"? > I didn't find a sample for "dev_name". And you can see, > with my experiments i had no luck. And without a correct > setup for the writer I can't mount the writer too. > > Scripts I found couldn't help me (why?) > I use udev and hotplug > The /dev/hdd (cdrecorder) isn't mounted with subfs > Tests in /etc/fstab didn't help. > > In /etc/init.d and /etc/default there are no inscriptions > for udftools. > > Only I didn't install the packet "udf-0.9.8.tar.gz > But I think, that's ok, or? > > My cdrecorder is no scsi-driver, its ide-cd > But it can format, so I think there is no problem > > Also I'll tell you, that everytime by the experiments > there was a formated udf-cd in the cdrecorder. > > I hope, now you know all you need to help me. > > For your help here many thanks > Sorry for my (bad) english, don't be angry about > > Best regards > yours Bernd