Mailinglist Archive: packet-writing (59 mails)

< Previous Next >
Re: packet-writing with Redhat?
  • From: Glenn <glenpm@xxxxxxx>
  • Date: Sun, 24 Sep 2000 16:39:56 +0000 (UTC)
  • Message-id: <39CE2E66.5C61E492@xxxxxxx>
Jens Axboe wrote:
>
> On Sun, Sep 24 2000, Glenn wrote:
> > > I was also able to format a CDRW just fine. My
> > > question/problem is in getting the new device to be recognized. I
> > > created it:
> > >
> > > mknod /dev/pktcdvd0 b 97 0
>
> That looks good
>
> > > and verified that it existed after this problem:
> > >
> > > # ./pktsetup /dev/pktcdvd0 /dev/scd0
> > > packet open: No such device
> > > [root@h000094b6613f /packages/udf/tools]
>
> Is the pktcdvd module loaded?
>
> > > I also get this when I tried to mount it, recognizing that this is
> > > probably foolish since it didn't set it up, but don't understand the
> > > file system not being supported since the module "udf" is installed and
> > > active.
> > >
> > > # mount -t udf /dev/pktcdvd0 /mnt/cdr
> > > mount: fs type udf not supported by kernel
> > > [root@h000094b6613f /dev]
>
> And udf is not there, are you sure you booted the right kernel? If both
> pktcdvd and udf is missing, something smells fishy.
>
> --
> * Jens Axboe <axboe@xxxxxxx>
> * SuSE Labs


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