why does linux hang when i try to mount cd-rewriter ???
Hello.
why is it, that everytime i try to mount my second cd-drive (a cd re-writer (samsung RW 8.8.32) the thing is, the cd drive works perfectly when im playing audio cd'svia xmms or grip or mplayer. but the second i type mount /dev/cdrom1 everything goes bad, first the disk activity light comes on like it should while it reads the disk, then a few seconds later, still mounting the thing everything halts, mouse dead, and all keyboard shortcuts dead Ctrl + alt + backspace does nothing. is this some huge bug in linux of what ??? incase its important /dev/cdrom is a link to /dev/hdd and my pc spec is 1.3 gigHz AMD Athlon ATI Rage128 graphics (running "r128" driver) first cd drive /dev/cdrom is a DVD player hitachi 256 meg dram 266mhz ohh, and im running a fresh non upgraded redhat 9 distrobution |
What is the actual device is /dev/cdrom1 pointing to?
Also, what is your /etc/fstab entry for it? Was hd<X>=ide-scsi passed to the kernel for it? If you use grub, post /boot/grub/grub.conf as well. |
like i said..
/dev/cdrom1 is a link to /dev/hdd/ and my fstab entry for it is /dev/cdrom1 /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 and as for the rest of what you said.... could you explain it in ummmm DUMBER words. lol, im still very much new to this, the last operating system i used was windows, so to me the kernel is a weired mysteriouse thing which is onlt updated once every millenium, the concept of passing it strings scares me ! but since i can play audio cd's with it, i assume the kernel is happy with the device. |
Are you using the grub bootloader? (Redhat 7.3 up defaults to grub) If so, examine /boot/grub/grub.conf (or menu.lst, depending on distro). Here is mine:
Code:
default=0 My /etc/fstab entry: Code:
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,ro 0 0 # CD burning info Is it configured and what is the device? Command this to find out: cdrecord -scanbus Adding an IDE CD-Writer to Linux CD Writing HOWTO |
im using redhat 9 and booting through grub yes.
looks like the scanbus didnt detect my cd-rewiter ! [root@localhost root]# cdrecord -scanbus Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jrg Schilling Linux sg driver version: 3.1.24 Using libscg version 'schily-0.7' cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c 1.75 02/10/21 Copyright 1997 J. Schilling'). scsibus0: 0,0,0 0) 'HITACHI ' 'DVD-ROM GD-2500 ' '0101' Removable CD-ROM 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * also, where do i add the hdd=ide-scsi line, does it matter. and yes, i found it unusual that my .dev.cdrom1 was a symbolic link to /dev/hdd/ shouldnt it be sumthing like /dev/scd1 since my sirst cd drive is /dev/scd0 ThanX for the help. |
Here's my grub.conf
# grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/hda2 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz title Red Hat Linux (2.4.20-8) root (hd0,0) kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi hdd=ide-scsi mem=nopentium initrd /initrd-2.4.20-8.img ive just added the hdd=ide-scsi mem=nopentium part, not rebooted yet so.... dont know if it will help. (downloadeing a new kernel) |
Edit /boot/grub/grub.conf
Look for your Redhat stanza and put it in the kernel line. Just a space between each thing you want to pass. Something like this Code:
title Red Hat Linux (your value) ln -sf /dev/cdrom1 /dev/scd1 Reboot and try. |
You only need mem=nopentium if you are using an AMD processor. If you have an intel, leave that out. That's for a memory bug between the AMD processor instruction set and AGP.
|
Yeah, i have a AMD Athlon Processor.
Sorry for this, buti dont understand this command ? ln -sf /dev/cdrom1 /dev/scd1 what is it please ?? sorry if im being annoying, im just trying to learn, so i understand exactly what im doing. ThanX |
ahh, read the man page.. LEARNING :D
thanX for all the help, this forum is KEWL, im off to reboot now,, byby, and here comes the moment of truth |
AGH !!!!!!!!!!!!!!!!!!!!!!!!!!!
the command line ln -sf /dev/cdrom1 /dev/scd1 changes the /dev/scd1 file into a symbolic link to /dev/cdrom1 i needed the /dev/cdrom sybbolic link to be changed to /scd1 now that file is GONE !!!! DMANIT !!!! where can i ger a replacement scd1 file ????? :'( damnit, i was so close, now im further away than when i started GRRR |
Ran it up the flagpole and nobody saluted? :D
:eek: I am built backwards, my nose runs and my feet smell. Sorry!! ln -sf /dev/scd1 /dev/cdrom1 was the command, I got it backwards. Try this as root /dev/MAKEDEV scd1 Then ln -sf /dev/scd1 /dev/cdrom1 |
Quote:
Apparently, neither do I. :D |
ThanX. thats got my sorted out properly.
suppose the man page isnt too helpful. when reading it, you could take it to mean eaither, depening.. anyway, thanX |
Sooo.
after i updated the grub.config a littte, change the symbolic link of cdrom1 from /dev/hdd to /dev/scd1 the command # cdrecord -scanbus detects my cd-re writer.... however. mount /dev/cdrom1 STILL hangs my system i run it, the cd drive activity light blinks a bit, like it should, but the drive does not mount, no error messages or anything, he command just doesnt finish executing, then 10 seconds later, i have a TOTAL system freeze up, whats wrong ??? is this sum kind of bug in linux and my cd drive .. can i fix it by updating the kernel of sumthing.. any1 else have this trouble ? |
All times are GMT -5. The time now is 07:34 PM. |