AdamZ
11-05-2004, 09:08 PM
I'm running Debian unstable on a Dell inpiron 600m, kernel 2.6.8.1 (more on this later). Here's what cdrecord has to say about my cd drive.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'RW/DVD GCC-4243N'
Revision : 'A102'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
If the drive has not been mounted since bootup, the drive will eject using the eject command (run as a normal user), or by pressing the button on the drive:
adam@cobalt:~$ eject -v
eject: using default device `cdrom'
eject: device name is `cdrom'
eject: expanded name is `/dev/cdrom'
eject: `/dev/cdrom' is a link to `/dev/hdc'
eject: `/dev/hdc' is not mounted
eject: `/dev/hdc' is not a mount point
eject: `/dev/hdc' is a multipartition device
eject: trying to eject `/dev/hdc' using CD-ROM eject command
eject: CD-ROM eject command succeeded
However, after the drive has been mounted once, it will no longer eject, when eject is run by a normal user:
adam@cobalt:~$ eject -v
eject: using default device `cdrom'
eject: device name is `cdrom'
eject: expanded name is `/dev/cdrom'
eject: `/dev/cdrom' is a link to `/dev/hdc'
eject: `/dev/hdc' is not mounted
eject: `/dev/hdc' is not a mount point
eject: `/dev/hdc' is a multipartition device
eject: trying to eject `/dev/hdc' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/hdc' using SCSI commands
eject: SCSI eject failed
eject: trying to eject `/dev/hdc' using floppy eject command
eject: floppy eject command failed
eject: trying to eject `/dev/hdc' using tape offline command
eject: tape offline command failed
eject: unable to eject, last error: Invalid argument
If I run eject -v as root, I get exactly the same message. However, it pauses after saying "trying to eject /dev/hdc using SCSI commands", and the drive ejects. eject then continues spitting out the rest of the error messages.
I remember that there are issues with cd burning as a user since 2.6.8, so I booted into 2.6.7 and tried the same things. Everything is the same, except the drive ejects when I run eject as a user. It still does it after the SCSI command though, and I still get the error messages.
After I've successfully ejected the cd, it will eject the (now empty) cd normally and successfully again, until it is mounted again.
I'm running gnome, and it mounts cds automatically for me. However, lsof does not show any program using the cd drive, so I don't think that's the problem (as well, I just switched from the method using magicdev to the other method, I ithnk involving things called dbus and hal. I had the eject issues under both systems). Any other ideas/things I should try?
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'RW/DVD GCC-4243N'
Revision : 'A102'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
If the drive has not been mounted since bootup, the drive will eject using the eject command (run as a normal user), or by pressing the button on the drive:
adam@cobalt:~$ eject -v
eject: using default device `cdrom'
eject: device name is `cdrom'
eject: expanded name is `/dev/cdrom'
eject: `/dev/cdrom' is a link to `/dev/hdc'
eject: `/dev/hdc' is not mounted
eject: `/dev/hdc' is not a mount point
eject: `/dev/hdc' is a multipartition device
eject: trying to eject `/dev/hdc' using CD-ROM eject command
eject: CD-ROM eject command succeeded
However, after the drive has been mounted once, it will no longer eject, when eject is run by a normal user:
adam@cobalt:~$ eject -v
eject: using default device `cdrom'
eject: device name is `cdrom'
eject: expanded name is `/dev/cdrom'
eject: `/dev/cdrom' is a link to `/dev/hdc'
eject: `/dev/hdc' is not mounted
eject: `/dev/hdc' is not a mount point
eject: `/dev/hdc' is a multipartition device
eject: trying to eject `/dev/hdc' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/hdc' using SCSI commands
eject: SCSI eject failed
eject: trying to eject `/dev/hdc' using floppy eject command
eject: floppy eject command failed
eject: trying to eject `/dev/hdc' using tape offline command
eject: tape offline command failed
eject: unable to eject, last error: Invalid argument
If I run eject -v as root, I get exactly the same message. However, it pauses after saying "trying to eject /dev/hdc using SCSI commands", and the drive ejects. eject then continues spitting out the rest of the error messages.
I remember that there are issues with cd burning as a user since 2.6.8, so I booted into 2.6.7 and tried the same things. Everything is the same, except the drive ejects when I run eject as a user. It still does it after the SCSI command though, and I still get the error messages.
After I've successfully ejected the cd, it will eject the (now empty) cd normally and successfully again, until it is mounted again.
I'm running gnome, and it mounts cds automatically for me. However, lsof does not show any program using the cd drive, so I don't think that's the problem (as well, I just switched from the method using magicdev to the other method, I ithnk involving things called dbus and hal. I had the eject issues under both systems). Any other ideas/things I should try?