LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-17-2003, 06:13 AM   #1
windsok
LQ Newbie
 
Registered: Sep 2003
Posts: 19

Rep: Reputation: 0
Cant eject cdrom after slackware-current update


i updated to slackware-current with swaret and now i cant seem to eject my cdrom, i unmount it and press the eject button and nothing happens.

this doesnt work either:

root@windsok:/# eject /dev/cdrom
eject: unable to eject, last error: Invalid argument

root@windsok:/var/swaret# eject -r /dev/cdrom
eject: unable to eject, last error: Device or resource busy

I can mount the cdrom and read the contents fine though, i just want to be able to change the cd in there!

Another problem is i cant figure out what device my dvd-rw drive is, how would i go about figuring this out?

thanks alot

Last edited by windsok; 09-17-2003 at 06:16 AM.
 
Old 09-17-2003, 07:43 AM   #2
linuxJaver
Member
 
Registered: Jul 2003
Location: Jakartax, ID
Distribution: slack9.1+,9.1,rh9
Posts: 203

Rep: Reputation: 30
I've also problem with the cdrom since upgraded to the slackware current. Here below are the screen output :

[root@tx97e:/mnt]$ mount -t iso9660 /dev/cdrom /mnt/cdrom
mount: /dev/cdrom is not a valid block device
[root@tx97e:/mnt]$ mount -t iso9660 /dev/hdc /mnt/cdrom
mount: /dev/hdc is not a valid block device
[root@tx97e:/mnt]$ eject
eject: unable to eject, last error: Inappropriate ioctl for device
[root@tx97e:/mnt]$ eject /dev/cdrom
eject: unable to find or open device for: `/dev/cdrom'
[root@tx97e:/mnt]$ eject /dev/hdc
eject: unable to find or open device for: `/dev/hdc'

After lots of reading in /usr/doc/Linux-HOWTO/CDROM-HOWTO, I speculate the problem could be laid on the kernel. I installed the downloaded slackware-current from the mounted slackware.iso.

This has a little bit problem that at the end of the installation, no possibility is given for choosing which kernel to install as boot-kernel compared to installing directly from a burnt-CD. The only option is to install that kernel from the boot diskett (bare.ide ..). As this must be a very minim featured and highly hardware compatibile kernel, therefore it can not be expected too ( as said, only my speculation ..).

Possible solution:
Copy the desired kernel from a mounted slackware.iso, put in /boot, adjust lilo to boot the choosed kernel ..

Gonna test it later. My slackware.iso is moved to a ntfs partition. That can not be mounted (another problem) as like:

mount -o loop -t iso9660 /dev/ntfs1/slackware.iso /mnt/adir
(/dev/ntfs1 premounted)

=> I must boot into other kernel/release/distro/windows to gain access to the other kernels ..

Last edited by linuxJaver; 09-17-2003 at 07:53 AM.
 
Old 09-18-2003, 10:52 PM   #3
linuxJaver
Member
 
Registered: Jul 2003
Location: Jakartax, ID
Distribution: slack9.1+,9.1,rh9
Posts: 203

Rep: Reputation: 30
Oo, it was a mistake from me ..
I just read from the dmesg output that my cdrom was attached on hdd:

[root@tx97e:~/etc]$ dmesg | grep cdrom
hdd: attached ide-cdrom driver.

Tried mount -t iso9660 /dev/hdd /mnt/cdrom now working ..
 
Old 09-19-2003, 05:30 AM   #4
BearClaw
Member
 
Registered: Jun 2003
Location: USA
Distribution: Slackware-Current
Posts: 90

Rep: Reputation: 15
Try this: ls -l /dev/cdrom and ls -l /dev/scd0. I had the same problem after a few different current updates.

After entering the commands listed above, it turned out that I did not have permission to execute the cdrom dev. I then did:
#chmod 777 /dev/scd0 (or whatever is correct for you) and all was functional after that. Some of the current-updates change your config and/or permissions, so be aware, even on your security settings.

Good luck, BC
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
did a slackware-current update nuke .Xmodmap for anyone else? Danus ex Slackware 11 09-15-2005 05:35 PM
CDROM won't eject.. pookguy88 Linux - Newbie 2 01-18-2005 10:50 PM
Can't eject cdrom seagreen Linux - Newbie 4 12-09-2004 02:34 PM
After slackpkg update(all current p'kges), Slackware 10 stops loading (black screen). SlawioG Slackware 3 11-28-2004 09:19 AM
cdrom eject FNC Linux - General 2 05-31-2001 09:47 PM


All times are GMT -5. The time now is 08:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration