LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-01-2004, 06:06 PM   #1
dnial
Member
 
Registered: Jun 2004
Location: US
Distribution: slackware,knoppix,xp nlited
Posts: 34

Rep: Reputation: 15
Mounting a DVDRW


I'm trying to get my DVDRW going with slackware 10 here.

Any recommendations?

My fstab:

/dev/hda7 swap swap defaults 0 0
/dev/hda6 / reiserfs defaults 1 1
/dev/hda8 /usr/local reiserfs defaults 1 2
/dev/hda1 /dev/win_c ntfs ro 1 0
/dev/hda5 /dev/win_d vfat defaults 1 0
/dev/hda9 /dev/win_e ntfs ro 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,users,rw 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/dvd /mnt/dvd auto auto,users,rw 0 0
 
Old 07-01-2004, 06:39 PM   #2
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
For your fstab line, try this:
Code:
/dev/dvd /mnt/dvd iso9660,udf noauto,users,ro 0 0
The changes are in bold type.........NOTE - You want to mount CDs and DVDs as read only (ro), not read-write (rw)................When writing to them they are not mounted anyway, and Linux usually doesn't like it if you try to mount them with the "rw" option........

Also, there may be owner/permission settings that may need to be addressed........

 
Old 07-02-2004, 11:55 AM   #3
dnial
Member
 
Registered: Jun 2004
Location: US
Distribution: slackware,knoppix,xp nlited
Posts: 34

Original Poster
Rep: Reputation: 15
Error - kio_devices_mounthelper
mount: /dev/dvd is not a block device
Please check that the disk is entered correctly.


I made the changes in my fstab as suggested, this is what im getting now.
Anything to try from here?
Thanks for your time,and help...


-dnial
 
Old 07-02-2004, 06:13 PM   #4
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
Sounds like Slack isn't using /dev/dvd for your DVD drive...............So. you'll need to find the device Slack is using for it..........

Try this.................let's look at the boot msg from dmesg..............However, since the output from dmesg shows the ongoing converstaion from the kernel it will change over time, so add the following lines at the _end_ of /etc/rc.d/rc.local:
Code:
# Write the boot info to disk. Make sure it is the last entry in
# the startup sequence.
/bin/dmesg > /dmesg-boot
This will keep an updated dmesg output in the Root Directory (not root's home directory), in a file called "dmesg-boot".............This is handy to have whenever you need to troubleshoot startup problems or need to find the current startup info. Then when someone asks for the output of the command 'dmesg', you can use 'cat /dmesg-boot' in its place..............(NOTE: There may be times when you need the current output of dmesg, mostly the last few entries, to determine what is currently going on. In that case, you can use the command 'dmesg | tail | sort -r' to view the last 10 entries in the dmesg output.)

Okay, after adding the above lines to rc.local, reboot the computer and post the output of this command:

cat /dmesg-boot | egrep -B2 -A6 -i '(ide_|hd[a-d]|dvd|scsi)'

Hopefully, this will give us enough info to determine what's going on at boot time..........

 
Old 07-03-2004, 01:03 PM   #5
dnial
Member
 
Registered: Jun 2004
Location: US
Distribution: slackware,knoppix,xp nlited
Posts: 34

Original Poster
Rep: Reputation: 15
Here is what I get:

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: 00:09.0 (rev a2) UDMA133 controller
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hdaMA, hdbMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdcMA, hddMA
hda: WDC WD800JB-00ETA0, ATA DISK drive
blk: queue c03b3360, I/O limit 4095Mb (mask 0xffffffff)
hdc: CD-RW BCE5224IM, ATAPI CD/DVD-ROM drive
hdd: SONY DVD RW DRU-510A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=9729/255/63, UDMA(100)
hdc: attached ide-cdrom driver.
hdc: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdd: attached ide-cdrom driver.
hdd: ATAPI 31X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 >
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 2634.800 MB/sec
--
agpgart: Detected NVIDIA nForce2 chipset
agpgart: AGP aperture is 64M @ 0xd0000000
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,8)) ...
for (ide0(3,8))
ide0(3,8):Using r5 hash to sort names
NTFS driver v1.1.22 [Flags: R/O MODULE]
Linux Kernel Card Services 3.1.22
----------------------------------------------------

I see the DVDRW in there...But I don't know where I'm going wrong..
The IDE=33 thing cant be good.
Where do I go from here? Thanks for all the help!

-dnial
 
Old 07-03-2004, 01:17 PM   #6
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
make sure /dev/dvd is symlinked to /dev/hdd and not to /dev/cdrom
 
Old 07-03-2004, 01:35 PM   #7
dnial
Member
 
Registered: Jun 2004
Location: US
Distribution: slackware,knoppix,xp nlited
Posts: 34

Original Poster
Rep: Reputation: 15
hdd: attached ide-cdrom driver.
Is this bad?
How do I check, and correct such if needed?




Quote:
Originally posted by lupin_the_3rd
make sure /dev/dvd is symlinked to /dev/hdd and not to /dev/cdrom
 
Old 07-03-2004, 03:29 PM   #8
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
to check the link you can ls -l it :
ls -l /dev/dvd
If your setting is correct you should see something similar :
lrwxr-xr-x 1 root cdrom 8 2004-06-02 02:12 /dev/dvd -> /dev/hdd

you see the '->', it means that /dev/dvd points to /dev/hdd, in other words /dev/dvd is a link of /dev/hdd
If you have to change it, thirst rm the link :
rm /dev/dvd

second, create the new link ( ln -s <source> <destination> ) :
ln -s /dev/hdd /dev/dvd
 
Old 07-03-2004, 03:37 PM   #9
dnial
Member
 
Registered: Jun 2004
Location: US
Distribution: slackware,knoppix,xp nlited
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks all that helped.
It works now, after rm'ing the sym link and recreating it.
 
Old 07-03-2004, 06:00 PM   #10
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
Quote:
Originally posted by dnial
Thanks all that helped.
It works now, after rm'ing the sym link and recreating it.
Glad it's working!
 
Old 07-03-2004, 06:53 PM   #11
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
Quote:
Originally posted by dnial
hdd: attached ide-cdrom driver.
Is this bad?...
No, it's merely telling you it's using the cdrom driver instead of the scsi driver...................If you were using scsi emulation it should say:

hdd: attached ide-scsi driver.

Glad you got it working. Since you weren't using scsi emulation according to the output you posted, I was going to suggest taking a look at the block devices themselves and see if they were pointing to the right ones...................but lupin_the_3rd and keefaz beat me to it......LOL
 
Old 05-17-2006, 10:28 AM   #12
tntslack
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
hi from me. This is my 1st post i am a new one here.
So my problem is the same with dnial and i done what ever you sayed here but i steel can't mount my dvdrw
With old kernel that use slackware 10.2 kernel 2.4.x it is working but with kernel 2.6.x is not working
What can i do now ? Help ))
 
Old 05-17-2006, 06:41 PM   #13
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 543

Rep: Reputation: Disabled
Mounting optical drives

Kernel 2.6.X uses udev to set names, symlinks, etc. for hardware. 2.4.X does not. So the symlinks will be different in the two. To determine all the symlinks set for your first four drives, issue the command:
Code:
ls -l /dev | grep hd[a-d]
This will give you a listing of the hda, hdb, hdc & hdd drives, all partitions & symlinks to them in the /dev directory.
However, you don't need to use the symlink to refer to the drive. Simply use /dev/hda (or hdb, etc.) in fstab & your cd player, etc.
Regards,
Bill
 
Old 05-18-2006, 03:37 PM   #14
tntslack
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
whell i done it yesterday. And i find something iterest in kernel that with default config my dvd is on /dev/dvd /mnt/dvd (/etc/fstab) and i found a allready compiled config and i replased some config in to my defaul config and it is working now. and the interest is that now in my /etc/fstab is /dev/cdrom /mnt/cdrom.
by ls -al /dev/cdrom lrwxr-xr-x 1 root cdrom 8 2004-06-02 02:12 /dev/cdrom -> /dev/sr0
 
  


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
dvdrw new device dragon13 Linux - Hardware 2 10-29-2005 06:55 PM
Dvdrw CrEsPo Linux - Software 3 05-12-2005 04:50 AM
Need help with liteon dvdrw zonen Linux - Hardware 2 05-11-2005 04:23 PM
Compatible DVDRW TY2K4 Linux - Hardware 1 12-06-2003 07:24 AM
DVDRW HHH Linux - General 0 06-28-2001 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:18 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration