#22 pktsetup errors

open
nobody
None
5
2002-09-24
2002-09-24
Anonymous
No

Okay, I have been messing with this for some time now.

I have an hp dvd+r[w] 200xi. I have successfully used
growisofs with this drive on all forms of supported media.
But growisofs does not allow me to do certain things, in
and of itself, like random r/w access.

I got the latest version of udf tools (udftools-1.0.0b2). I
patched the kernel with packet-2.4.19.patch and patched
the sg-2.4.19.patch as well (I forwent the linux-2.4.patch
mentioned on Andrew's the DVD+RW page because I
could not get them to agree). I have the kernel compiled
with udf r/w and packet writing to CD.

I have the drive sent through scsi emulation, and is the
device: /dev/scd0. The system is a redhat 7.3 system
with a cdrom, and the DVD+R[W] mentioned above. I am
using kernel 2.4.19. The media is a maxell cdrw 74 (two
different ones).

When I try the command: cdrtool -d /dev/scd0 -g I get
this output:
Initiating quick disc blank
Disc capacity is 275616 blocks (551232KB/538MB)
Formatting track
start=0, blocks=16, type=RESERVED
start=16, blocks=3, type=VRS
start=19, blocks=237, type=USPACE
start=256, blocks=1, type=ANCHOR
start=257, blocks=31, type=USPACE
start=288, blocks=32, type=PVDS
start=320, blocks=32, type=LVID
start=352, blocks=32, type=STABLE
start=384, blocks=1024, type=SSPACE
start=1408, blocks=273920, type=PSPACE
start=275328, blocks=31, type=USPACE
start=275359, blocks=1, type=ANCHOR
start=275360, blocks=160, type=USPACE
start=275520, blocks=32, type=STABLE
start=275552, blocks=32, type=RVDS
start=275584, blocks=31, type=USPACE
start=275615, blocks=1, type=ANCHOR
Writing UDF structures to disc
wait_cmd: No medium found
Command failed: 2a 00 00 00 00 00 00 00 20 00 00 00 -
sense 02.04.07
wait_cmd: No medium found
Command failed: 2a 00 00 00 01 00 00 00 20 00 00 00 -
sense 02.04.07
wait_cmd: No medium found
Command failed: 2a 00 00 00 01 20 00 00 20 00 00 00 -
sense 02.04.07
wait_cmd: No medium found
Command failed: 2a 00 00 00 01 40 00 00 20 00 00 00 -
sense 02.04.07
wait_cmd: No medium found
Command failed: 2a 00 00 00 01 60 00 00 20 00 00 00 -
sense 02.04.07
wait_cmd: No medium found
Command failed: 2a 00 00 00 05 80 00 00 20 00 00 00 -
sense 02.04.07
wait_cmd: No medium found
Command failed: 2a 00 00 00 05 a0 00 00 20 00 00 00 -
sense 02.04.07
wait_cmd: No medium found
Command failed: 2a 00 00 00 05 c0 00 00 20 00 00 00 -
sense 02.04.07
wait_cmd: No medium found
Command failed: 2a 00 00 00 05 e0 00 00 20 00 00 00 -
sense 02.04.07
wait_cmd: No medium found
Command failed: 2a 00 00 00 06 00 00 00 20 00 00 00 -
sense 02.04.07
wait_cmd: No medium found
Command failed: 2a 00 00 04 33 80 00 00 20 00 00 00 -
sense 02.04.07
wait_cmd: No medium found
Command failed: 2a 00 00 04 34 40 00 00 20 00 00 00 -
sense 02.04.07
wait_cmd: No medium found
Command failed: 2a 00 00 04 34 60 00 00 20 00 00 00 -
sense 02.04.07
wait_cmd: No medium found
Command failed: 2a 00 00 04 34 80 00 00 20 00 00 00 -
sense 02.04.07
wait_cmd: No medium found
Command failed: 35 02 00 00 00 00 00 00 00 00 00 00 -
sense 02.04.07
Quick setup complete!

Then the drive light stays on forever. I cannot eject the
cdrom, when I try this: eject -v /dev/cdrom1 (or
/dev/scd0) I get this:
eject: device name is `/dev/cdrom1'
eject: expanded name is `/dev/cdrom1'
eject: `/dev/cdrom1' is a link to `/dev/scd0'
eject: `/dev/scd0' is not mounted
eject: `/dev/scd0' is not a mount point
eject: `/dev/scd0' is not a multipartition device
eject: trying to eject `/dev/scd0' using CD-ROM eject
command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/scd0' using SCSI commands
eject: SCSI eject failed
eject: trying to eject `/dev/scd0' using floppy eject
command
eject: floppy eject command failed
eject: trying to eject `/dev/scd0' using tape offline
command
eject: tape offline command failed
eject: unable to eject, last error: Invalid argument

The ONLY way i found to get the drive to stop, is by
rebooting. Needless to day, the cd-rw in the drive was
NOT formatted.

The interesting thing is that the cdrom (/dev/cdrom) is
empty, but after executing cdrtool -d /dev/scd0 -g, it still
spins intermittently (also forever or until reboot -- but is
ejectable).

I have recompiled the kernel a dozen times, I have tried
varying syntaxes -- what am I doing wrong?

Help!

Thank you,

Chris

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks