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
At first sorry for PM! Am Donnerstag, 24. Februar 2005 21:31 schrieb Bernd Adda:
Joe Kalden schrieb:
Hi!
[...installation notes...] And now my problems: here some experiments of me:
adda:~ # pktsetup /dev/pktcdvd0 /cdrecorder open packet device: No such device or address Try /dev/cdrecorder here instead of /cdrecorder
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:~ # And here try /dev/cdrom instead of /cdrom What is here wrong? I can't setup my writer.
It should be 'pktsetup /dev/pktcdvd/<device name> /dev/cdrom' , mind the folder pktcdvd in the dev directory!
[...some more trials...]
Greets Joe
hi Joe
I did try it, here you can see:
adda~ # pktsetup /dev/pktcdvd/dev/cdrecorder /dev/cdrom open packet device: Not a directory
[similar tries]
Or what is the <device-name> ?
The device name is like pktcdvd0, eg 'pktsetup /dev/pktcdvd/dev/cdrecorder /dev/cdrom' should succeed! It depends on how you create the device nodes. see pktsetup -h or the udftools doc for more, I'm not totally in to that! Greets -- Suse 9.2 Kernel 2.6.8 KDE 3.3.2 Medion 6100: P4@2.6GHz - 512MB DDR-RAM - Geforce4 488Go
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
Bernd Adda wrote
Setup your writer: # pktsetup dev_name /dev/hdc (my=hdd)
This needs to be upgraded. dev_name is not supposed to be the device in /dev, but any symbolic name you like. With udev etc., all you need to do is pktsetup mycd /dev/hdd All you need for this to work is a directory /dev/pktcdvd If this directory exists and has some stuff in it, you can complete remove the directory and recreate it with a simple "mkdir /dev/pktcdvd" Then use "pktsetup mycd /dev/hdd" and later on you can use "pktsetup -d mycd". Mounting then works with "mount /dev/pktcdvd/mycd /wherever" That's it. cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
Joe Kalden schrieb: [ . .]
Or what is the <device-name> ?
The device name is like pktcdvd0, eg 'pktsetup /dev/pktcdvd/dev/cdrecorder /dev/cdrom' should succeed! It depends on how you create the device nodes. see pktsetup -h or the udftools doc for more, I'm not totally in to that! Greets
thank you - - - - - - - Ingo Brunberg schrieb:
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
ok, I did so - - - - - - - - - Frank Steiner schrieb:
Bernd Adda wrote
Setup your writer: # pktsetup dev_name /dev/hdc (my=hdd)
This needs to be upgraded. dev_name is not supposed to be the device in /dev, but any symbolic name you like. With udev etc., all you need to do is
pktsetup mycd /dev/hdd
All you need for this to work is a directory /dev/pktcdvd If this directory exists and has some stuff in it, you can complete remove the directory and recreate it with a simple "mkdir /dev/pktcdvd" Then use "pktsetup mycd /dev/hdd" and later on you can use "pktsetup -d mycd".
Mounting then works with "mount /dev/pktcdvd/mycd /wherever"
That's it.
cu, Frank
hi all, thank you for help, but my problems exists still like this: I modified my configuration: In /dev is yet no pktcdvd but a ln -s /dev/hdd /dev/pktcdvd0 My mountpoint is now /pktcdrw in /etc/fstab I added the following: /dev/pktcdvd0 /pktcdrw udf rw,noauto,noatime,user,exec 0 0 My cdrw-burner = /media/cdrecorder -> /dev/hdd Now I did -> and got: adda:~ # pktsetup /pktcdrw /dev/pktcdvd0 open packet device: Is a directory adda:~ # mount /pktcdrw mount: blockorientiertes Gerät /dev/pktcdvd0 ist schreibgeschützt, wird eingehängt im Nur-Lese-Modus (: only read-modus) adda:~ # mount /dev/pktcdvd0/pktcdrw /pktcdrw mount: Spezialgerät /dev/pktcdvd0/pktcdrw existiert nicht (ein Pfadpräfix ist kein Verzeichnis) (mount: special tool /pktcdvd0/pktcdrw does not exist) adda:~ # pktsetup pktcdrw /dev/hdd ioctl: Inappropriate ioctl for device You see, still I can not write on /pktcdrw please, have you therefore a idea greetings Bernd
sorry but after sending my Mail I found complemental the following: you know, in /etc/fstab I added the following: /dev/pktcdvd0 /pktcdrw udf rw,noauto,noatime,user,exec 0 0 New: I did -> I got adda:~ # mount /pktcdrw mount: blockorientiertes Gerät /dev/pktcdvd0 ist schreibgeschützt, wird eingehängt im Nur-Lese-Modus And this is the new info: adda:~ # mount [ . . .] /dev/hdd on /pktcdrw type udf (ro,nosuid,nodev,noatime) adda:~ # thanks Bernd
Frank Steiner schrieb:
Bernd Adda wrote
[ . . . .]
all you need to do is
pktsetup mycd /dev/hdd
yes, I did it like the following: # pktsetup /pktcdrw* /dev/hdd =*) my udf-cd-Mountpoint open packet device: Is a directory But what can you tell me to the following? Can that do it too or isn't it used here: # pktsetup /pktcdrw /dev/pktcdvd0** =**) mknood b 97 0 open packet device: Is a directory # pktsetup /pktcdrw /dev/pktcdvd*** =***) mknood c ? ? open packet device: Is a directory # pktsetup /media/cdrecorder+) /dev/pktcdvd =+) burner open packet device: Is a directory
All you need for this to work is a directory /dev/pktcdvd If this directory exists and has some stuff in it, you can complete remove the directory and recreate it with a simple "mkdir /dev/pktcdvd" Then use "pktsetup mycd /dev/hdd" and later on you can use "pktsetup -d mycd".
Mounting then works with "mount /dev/pktcdvd/mycd /wherever"
That's it.
cu, Frank
I did so and other too, please see here # mount /dev/pktcdvd/pktcdrw /cdrom -t udf -o rw,noatime mount: Spezialgerät /dev/pktcdvd/pktcdrw existiert nicht (ein Pfadpräfix ist kein Verzeichnis) # mount /dev/pktcdvd/media/cdrecorder /mnt mount: Spezialgerät /dev/pktcdvd/media/cdrecorder existiert nicht (ein Pfadpräfix ist kein Verzeichnis) # mount -t udf /dev/pktcdvd /pktcdrw mount: /dev/pktcdvd ist kein blockorientiertes Gerät now I did the following too: # mount -t udf /dev/pktcdvd0 /pktcdrw mount: blockorientiertes Gerät /dev/pktcdvd0 ist schreibgeschützt, wird eingehängt im Nur-Lese-Modus # mount /dev/pktcdvd0 /pktcdrw -t udf -o rw,noauto,noatime mount: blockorientiertes Gerät /dev/pktcdvd0 ist schreibgeschützt, wird eingehängt im Nur-Lese-Modus #mount /dev/hdd /media/cdrecorder -t udf -o rw,noauto,noatime mount: blockorientiertes Gerät /dev/hdd ist schreibgeschützt, wird eingehängt im Nur-Lese-Modus # mount /dev/hdd on /pktcdrw type udf (ro) /dev/hdd on /media/cdrecorder type udf (ro) How can I make "mount = ro" to "mount = rw". I couldn't find a answer to this question? Can you help me? (I would like, you write german to me -> PM ?)
participants (4)
-
Bernd Adda
-
Frank Steiner
-
Ingo Brunberg
-
Joe Kalden