why does linux hang when i try to mount cd-rewriter ???
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Windows 98SE
rootnoverify (hd0,0)
chainloader +1
title Red Hat Linux (2.4.18-3)
root (hd0,1)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda6 hdd=ide-scsi mem=nopentium
initrd /initrd-2.4.18-3.img
title Mandrake Linux
kernel (hd0,6)/boot/vmlinuz root=/dev/hda7 devfs=mount hdd=ide-scsi quiet vga=788 mem=nopentium
initrd (hd0,6)/boot/initrd.img
title Gentoo Linux
root (hd0,1)
kernel (hd0,1)/boot/bzImage root=/dev/hda3 hdd=ide-scsi mem=nopentium
Make sure that hdd=ide-scsi is added so that it is passed to the kernel
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
# 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)
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.
Originally posted by qwijibow Sorry for this, buti dont understand this command ?
ln -sf /dev/cdrom1 /dev/scd1
ln (make a link) -sf (symbolic, force, ie make it a symbolic link and don't ask me any questions about it, just do it) /dev/<first> (device to point to) /dev/<second> (name of the symbolic link).
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 ..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.