Mailinglist Archive: packet-writing (59 mails)

< Previous Next >
Re: [packet-writing] Re: packet-writing with Redhat?
  • From: Glenn <glenpm@xxxxxxx>
  • Date: Sun, 24 Sep 2000 17:05:09 +0000 (UTC)
  • Message-id: <39CE344C.FF70F2F3@xxxxxxx>
Hi,

Well a little more progrees. I changed my sym link for my /dev/scd0 to
/dev/cdrom. I was then able to:

./pktsetup /dev/pktcdvd0 /dev/scd0 without errors.

However, when I attempt to mount I can't write:

mount -t udf -o rw,user /dev/pktcdvd0 /mnt/cdrom
mount: block device /dev/pktcdvd0 is write-protected, mounting read-only

These are my current questions:

1) Why aren't udf and pktcdvd0 modules being auto loaded even though
they appear in my modules.dep file?
2) How do I get pktcdvd to use cdr and not cdrom?
3) Why is it mounting as read only?

I also noted the size difference as pointed out by Adam Huffman.

# df
/dev/pktcdvd0 447680 34 447646 1% /mnt/cdrom

Glenn
-----


> Thanks for the response,
>
> >From my "/lib/modules/2.4.0-test7/modules.dep" file
> /lib/modules/2.4.0-test7/modules.dep the modules were created OK:
>
> /lib/modules/2.4.0-test7/kernel/drivers/block/pktcdvd.o
> /lib/modules/2.4.0-test7/kernel/fs/udf/udf.o
>
> However if I do a "lsmod" it shows that the modules udf and pktcdvd0
> aren't being loaded and I don't have a clue why they aren't So then I do
> a modprobe for both of them.
>
> # modprobe udf
> [root@h000094b6613f /lib/modules/2.4.0-test7]
> # modprobe pktcdvd
> [root@h000094b6613f /lib/modules/2.4.0-test7]
> # lsmod
> Module Size Used by
> pktcdvd 14180 0
> cdrom 27452 0 [pktcdvd] <--------
> udf 77648 0 (unused)
> --- snip
> # ls /dev/pktcdvd0
> /dev/pktcdvd0
> # cd /packages/udf/tools/
> # ./pktsetup /dev/pktcdvd0 scd0
> open device: No such file or directory
> [root@h000094b6613f /packages/udf/tools]
>
> I just noticed something from the above. I have a cdrom and a cdr on my
> machine. Both are IDE devices and I use scsi emulation for the cdr.
> pktcdvd is using the cdrom and it should be the cdr.
>
> Any suggestions?
>
> Thanks,
> Glenn
> -----

< Previous Next >
List Navigation
This Thread
Follow Ups