Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-20-2003, 06:02 PM
|
#1
|
|
Member
Registered: Sep 2003
Distribution: Kubuntu 6.10 Edgy
Posts: 37
Rep:
|
When switched to command line, repeats "sr0: CD-ROM device not ready" over and over
Hello all, and thank you in advance for any help.
I got into Debian via Knoppix, but have since upgraded and what-not, so my system is a fairly standard Debian setup, running testing with large chunks of unstable.
I think a recent apt-get upgrade (performed using standard debian.org apt sources) messed up my system though. When in KDE, everything works fine. Konsole also works fine. But when I switch to a command line window, it displays:
sr0: CD-ROM device not ready. Make sure there is a disk in the drive.
Over and over, scrolling up the page slowly. They don't display until I switch over- I can still see, for example, the system start information on the first terminal.
When I put in ANY CD into my CD drive, the errors stop. However, they restart if I subsequently remove the CD.
I have checked- There isn't an error in my fstab file, which is the only thing I could think of off-hand. What else could be causing this strange behavior?
Thank you in advance for any help.
Andrew J. Bonham
admin - at - paradoxdruid.com
|
|
|
|
10-20-2003, 08:23 PM
|
#2
|
|
Member
Registered: Sep 2003
Location: Dallas, Tx, USA
Distribution: Red Hat, Gentoo, Libranet
Posts: 94
Rep:
|
Check and see if you have an automounter running. ( I hate the thing, for exactly the problem you describe, so I've always made a point NOT to install it.) I also have just begun experimenting with Debian (via Libranet), so I'm not sure what the daemon is called in Debian. I'm pretty sure it has "auto" in it, though, so try "ps -ef | grep auto". If you find one, kill it while you're having the problem. If the messages stops, that's your culprit.
What's happening is that its trying every few seconds to mount a CD, so that you don't manually have to enter a mount command. Mandrake has (or had, I know it's been in and out, and I don't know its current status) a thing called "supermount" which made it work a lot like Windows. If the CD is in, its mounted, and if you hit the button, it automatically unmounts it and ejects the CD.
Automount does NOT do that, and it constantly bitches if it can't find a CD, so I shot mine between the eyes.
|
|
|
|
10-20-2003, 09:37 PM
|
#3
|
|
Member
Registered: Sep 2003
Distribution: Kubuntu 6.10 Edgy
Posts: 37
Original Poster
Rep:
|
I think you've nailed the problem...
However, I can't find a process running by grepping for anything like "auto" or "mount".
Any other suggestions on killing this thing? I tried googling for names of automount daemons in debian, but seems like all have mount or auto in their name... hmmm. When I grepped top for "daemon", all it found was atd and portmap.
Thank you in advance for any additional help.
here's the output of a ps -e
Quote:
PID TTY TIME CMD
1 ? 00:00:04 init
2 ? 00:00:00 keventd
3 ? 00:00:00 ksoftirqd_CPU0
4 ? 00:00:00 kswapd
5 ? 00:00:00 bdflush
6 ? 00:00:00 kupdated
8 ? 00:00:00 kjournald
65 ? 00:00:00 kapmd
67 ? 00:00:00 khubd
138 ? 00:00:00 pagebufd
144 ? 00:00:00 xfslogd/0
148 ? 00:00:00 xfsdatad/0
192 ? 00:00:11 usb-storage-0
193 ? 00:00:00 scsi_eh_1
201 ? 00:00:00 brltty
379 ? 00:00:00 pump
388 ? 00:00:00 eth0
393 ? 00:00:00 portmap
608 ? 00:00:00 syslogd
611 ? 00:00:00 klogd
617 ? 00:00:00 apmd
888 ? 00:00:00 inetd
891 ? 00:00:00 lisa
909 ? 00:00:00 squid
912 ? 00:00:00 squid
913 ? 00:00:00 unlinkd
920 ? 00:00:00 cupsd
952 ? 00:00:00 atd
955 ? 00:00:00 cron
960 ? 00:00:00 kdm
965 tty3 00:00:00 getty
966 tty4 00:00:00 getty
967 tty5 00:00:00 getty
969 ? 00:06:51 X
970 ? 00:00:00 kdm
985 ? 00:00:00 x-session-manag
1010 ? 00:00:00 ssh-agent
1026 ? 00:00:00 kdeinit
1029 ? 00:00:03 kdeinit
1032 ? 00:00:00 kdeinit
1034 ? 00:00:02 kdeinit
1041 ? 00:00:00 kdeinit
1048 ? 00:00:00 artsd
1050 ? 00:00:02 kdeinit
1052 ? 00:00:00 kdeinit
1053 ? 00:00:00 kwrapper
1055 ? 00:00:00 kdeinit
1056 ? 00:00:12 kdeinit
1058 ? 00:00:10 kdeinit
1060 ? 00:00:36 kdeinit
1063 ? 00:00:00 kdeinit
1065 ? 00:00:05 acme
1068 ? 00:00:00 gconfd-2
1069 ? 00:00:00 kscd
1070 ? 00:00:08 evolution
1078 ? 00:00:00 kalarmd
1237 ? 00:00:00 oafd
1303 ? 00:00:00 wombat
1329 ? 00:00:00 bonobo-moniker-
1333 ? 00:00:05 evolution-execu
1337 ? 00:00:00 evolution-calen
1342 ? 00:00:00 evolution-alarm
1348 ? 00:00:09 evolution-mail
1353 ? 00:00:00 evolution-addre
1358 ? 00:00:00 evolution-mail
1359 ? 00:00:00 evolution-mail
1360 ? 00:00:00 evolution-mail
1361 ? 00:00:02 evolution-mail
1362 ? 00:00:02 evolution-mail
1368 ? 00:00:00 evolution-execu
1369 ? 00:00:00 evolution-execu
1370 ? 00:00:00 evolution-execu
1371 ? 00:00:00 evolution-execu
1372 ? 00:00:00 evolution-execu
1373 ? 00:00:00 evolution-execu
1374 ? 00:00:00 evolution-execu
1375 ? 00:00:00 evolution-execu
1376 ? 00:00:00 evolution-execu
2044 ? 00:00:45 gaim
2703 tty2 00:00:00 getty
2704 tty1 00:00:00 getty
2753 ? 00:00:00 gksu
2758 pts/0 00:00:00 bash
2760 pts/0 00:00:06 firestarter
3436 tty6 00:00:00 getty
3530 ? 00:00:06 kdeinit
3618 ? 00:00:00 nmbd
3620 ? 00:00:00 smbd
4056 ? 00:00:03 kdeinit
4060 ? 00:00:21 kdeinit
4068 ? 00:00:04 kdeinit
4086 ? 00:00:00 smbd
4090 ? 00:00:00 kdeinit
4697 ? 00:00:00 wineloader
4706 ? 00:01:07 wineserver
4707 ? 00:01:11 wineloader
4756 ? 00:00:00 wineloader
4943 ? 00:00:00 run-mozilla.sh
4949 ? 00:00:36 MozillaFirebird
4951 ? 00:00:00 MozillaFirebird
4952 ? 00:00:00 MozillaFirebird
4953 ? 00:00:00 MozillaFirebird
4954 ? 00:00:00 MozillaFirebird
4966 ? 00:00:01 kdeinit
4967 pts/1 00:00:00 bash
5041 ? 00:00:00 MozillaFirebird
5042 pts/1 00:00:00 ps
|
|
|
|
|
10-20-2003, 11:02 PM
|
#4
|
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513
Rep:
|
Quote:
Originally posted by paradoxdruid
I think you've nailed the problem...
However, I can't find a process running by grepping for anything like "auto" or "mount".
Any other suggestions on killing this thing? I tried googling for names of automount daemons in debian, but seems like all have mount or auto in their name... hmmm. When I grepped top for "daemon", all it found was atd and portmap.
Thank you in advance for any additional help.
here's the output of a ps -e
|
It is called autofs4 and it is being loaded from /etc/modules as autofs so you would want to comment that out, it however works perfectly on my machine.
Code:
HappyTux:/home/stephen# lsmod
Module Size Used by Tainted: P
sg 24700 0 (autoclean)
nvidia 1628640 11 (autoclean)
apm 9256 2 (autoclean)
hid 21668 0 (unused)
usb-uhci 21708 0 (unused)
usbcore 57120 1 [hid usb-uhci]
ide-scsi 9008 0
via686a 8192 0 (unused)
i2c-proc 6256 0 [via686a]
i2c-isa 1196 0 (unused)
i2c-core 12868 0 [via686a i2c-proc i2c-isa]
nls_iso8859-15 3388 0 (unused)
sidewinder 8388 0 (unused)
emu10k1-gp 1224 0 (unused)
emu10k1 56360 1
ac97_codec 12204 0 [emu10k1]
sound 54252 0 [emu10k1]
soundcore 3556 7 [emu10k1 sound]
mousedev 3864 0 (unused)
joydev 6976 1
gameport 1516 0 [sidewinder emu10k1-gp]
parport_pc 25192 1 (autoclean)
lp 6528 0
parport 24960 1 [parport_pc lp]
tulip 38080 1
crc32 2848 0 [tulip]
autofs4 8500 2
input 3360 0 [hid sidewinder mousedev joydev]
Also I notice in the list of processes you have running that kscd is there I have had nothing but problems with it so much so that I un-installed you may want to see if that is causing this problem, checking my list of processes running you see that automount is running so I doubt if that is your problem it is not even listed in your processes listed.
Code:
HappyTux:/home/stephen# ps -e
PID TTY TIME CMD
1 ? 00:00:04 init
2 ? 00:00:00 keventd
3 ? 00:00:00 ksoftirqd_CPU0
4 ? 00:00:00 kswapd
5 ? 00:00:00 bdflush
6 ? 00:00:00 kupdated
9 ? 00:00:00 i2oevtd
10 ? 00:00:00 kreiserfsd
107 ? 00:00:00 kjournald
108 ? 00:00:00 kjournald
193 ? 00:00:00 khubd
401 ? 00:00:01 syslogd
407 ? 00:00:00 klogd
411 ? 00:00:01 spamd
415 ? 00:00:00 kapmd
417 ? 00:00:00 apmd
487 ? 00:00:00 automount
492 ? 00:00:00 automount
502 ? 00:00:00 cupsd
524 ? 00:00:00 exim3
530 ? 00:00:00 inetd
535 ? 00:00:00 lpd
542 ? 00:00:00 sshd
553 ? 00:00:00 xfs
559 ? 00:00:00 atd
562 ? 00:00:00 cron
567 ? 00:00:00 kdm
594 tty2 00:00:00 getty
595 tty3 00:00:00 getty
596 tty4 00:00:00 getty
597 tty5 00:00:00 getty
598 tty6 00:00:00 getty
4851 tty1 00:00:00 getty
4852 ? 00:05:02 XFree86
4853 ? 00:00:00 kdm
4869 ? 00:00:00 kde3
4905 ? 00:00:00 ssh-agent
4921 ? 00:00:00 kdeinit
4924 ? 00:00:01 kdeinit
4927 ? 00:00:00 kdeinit
4929 ? 00:00:02 kdeinit
4936 ? 00:00:00 kdeinit
4944 ? 00:12:02 artsd
4946 ? 00:00:00 kdeinit
4947 ? 00:00:00 kwrapper
4949 ? 00:00:00 kdeinit
4950 ? 00:00:00 kdeinit
4951 ? 00:00:05 kdeinit
4953 ? 00:00:00 kdeinit
4956 ? 00:00:06 kdeinit
4957 ? 00:00:00 kdeinit
4960 ? 00:00:11 kdeinit
4961 ? 00:00:00 kdeinit
4962 ? 00:00:00 kdeinit
4968 ? 00:00:00 ksensors
4973 ? 00:00:02 kdeinit
4974 ? 00:00:02 kdeinit
4975 ? 00:00:34 kdeinit
4976 pts/0 00:00:00 bash
5008 ? 00:00:24 kmail
5031 ? 00:00:02 xmms
5032 ? 00:00:00 xmms
5033 ? 00:00:00 xmms
5034 ? 00:00:00 xmms
5035 ? 00:00:00 xmms
5038 pts/0 12:23:52 setiathome
5403 ? 00:00:03 kdeinit
5404 pts/1 00:00:00 bash
5530 ? 00:00:00 xmms
5531 ? 00:00:00 xmms
7749 ? 00:00:00 kdeinit
7756 ? 00:00:21 kdeinit
7973 ? 00:00:42 kdeinit
9170 ? 00:01:00 kdeinit
9679 pts/1 00:00:00 bash
9715 ? 00:00:00 kdeinit
9764 pts/1 00:00:00 ps
|
|
|
|
10-20-2003, 11:42 PM
|
#5
|
|
Member
Registered: Sep 2003
Distribution: Kubuntu 6.10 Edgy
Posts: 37
Original Poster
Rep:
|
Thank you very much, Happy Tux!
I commented out the autofs line, rebooted, and it's working like a charm.
|
|
|
|
10-21-2003, 12:18 AM
|
#6
|
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513
Rep:
|
Quote:
Originally posted by paradoxdruid
Thank you very much, Happy Tux!
I commented out the autofs line, rebooted, and it's working like a charm.
|
Seems strange that it works when there was nothing in the processes list I guess it is time to chalk another up for the computer gremlins. Good to hear you got it going BTW and nice to see that you posted the solution in the Knoppix forum for your question there as well.
|
|
|
|
10-21-2003, 04:22 PM
|
#7
|
|
Member
Registered: Sep 2003
Distribution: Kubuntu 6.10 Edgy
Posts: 37
Original Poster
Rep:
|
Actually, you were right.. it was too strange to be true.
I did comment out autofs, but I might restore that... it seems to have had no effect.
KsCD, however, was the source of my woes. You were right to warn me against it.
Last edited by paradoxdruid; 10-21-2003 at 04:27 PM.
|
|
|
|
10-21-2003, 05:44 PM
|
#8
|
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513
Rep:
|
Quote:
Originally posted by paradoxdruid
Actually, you were right.. it was too strange to be true.
I did comment out autofs, but I might restore that... it seems to have had no effect.
KsCD, however, was the source of my woes. You were right to warn me against it.
|
That's what I thought I had nothing but problems with it, at least you got the problem tracked down now.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:20 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|