LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-22-2004, 01:58 PM   #1
baskew91
LQ Newbie
 
Registered: Nov 2003
Distribution: debian
Posts: 14

Rep: Reputation: 0
cannot mount combo drive


Im running Slackware 9.1 on a toshiba laptop 1955-S805, it has a combo dvd/cd-r drive. I just updated to the 2.6.5 kernel yesterday, and ever since then I cannot mount any data cds, or listen to audio(not trying to mount audio) cds. I put a data cd in the drive, and try mounting with this:

root@itap:~# mount /dev/cdrom /mnt/cdrom
mount: /dev/cdrom is not a valid block device
or
root@itap:~# mount -t iso9660 /mnt/cdrom /mnt/cdrom
mount: /mnt/cdrom is not a block device
also
root@itap:~# mount /dev/hdc /mnt/cdrom
/dev/hdc: Invalid argument
mount: /dev/hdc: can't read superblock

Ive read that scsi emulation is no longer needed with the 2.6 kernels, I noticed that in my lilo.conf i still have append="hdc=ide-scsi", Ive tried commenting this out, and rebooting, but no difference. on doing a:
lroot@itap:~# ls -l /dev/cdrom
i get:
lrwxrwxrwx 1 root root 8 Nov 15 17:42 /dev/cdrom -> /dev/sr0

any suggestions?

thanks in advance,
Brad

Last edited by baskew91; 04-22-2004 at 01:59 PM.
 
Old 04-22-2004, 06:38 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Check what the CD device is actually called. Type dmesg | grep CD to see what's up. If it still is treated as an ide-scsi device it is probably /dev/scd0.

/dev/cdrom is a symlink to the actual device, so if it is called /dev/scd0 you will have to remove the link and recreate it, pointing to scd0 (ln -s /dev/scd0 /dev/cdrom) or whatever the actual device is. Then you should be able to mount it using mount /dev/cdrom /mnt/cdrom.

If you do have it configured as an ide-scsi device you need to load the ide-scsi module in order to access it - modprobe ide-scsi.


Håkan
 
Old 04-23-2004, 11:33 AM   #3
baskew91
LQ Newbie
 
Registered: Nov 2003
Distribution: debian
Posts: 14

Original Poster
Rep: Reputation: 0
heres what I found:

ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: TOSHIBA Model: DVD-ROM SD-R6012 Rev: 1031
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5

so which device should be linked to /dev/cdrom? I tried linking it to /dev/hdc and it did not work. Before I noticed that when i tried modprobe ide-scsi it would give me "FATAL: Module ide_scsi already in kernel." Which seems contradictory to dmesg shows.
 
Old 04-23-2004, 11:49 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
You are using SCSI emulation, so load the ide-scsi module and symlink /dev/cdrom to /dev/scd0.

Håkan
 
Old 04-23-2004, 03:16 PM   #5
baskew91
LQ Newbie
 
Registered: Nov 2003
Distribution: debian
Posts: 14

Original Poster
Rep: Reputation: 0
i really appreciate you help, and maybe because of my ignorance i might have screwed something up here, i 1st had tried to link /dev/cdrom to /dev/scd0, and when i unlinked, now i have no scd0 device same with hdc and cdrom...AAHH i goofed...i reviewed the <kernel-source>/Documentation/devices.txt and recreated the /dev/scd0 by using

mknod /dev/scd0 b 11 0
also
mknod /dev/hdc b 22 0

then symlinked,

ln -s /dev/scd0 /dev/cdrom

so

ls -al /dev/cdrom
lrwxrwxrwx 1 root root 9 Apr 23 14:50 /dev/cdrom -> /dev/scd0

but

mount /dev/cdrom /mnt/cdrom
mount: /dev/cdrom is not a valid block device

if i
unlink /dev/cdrom

then

ln -s /dev/hdc /dev/cdrom

then try to mount

mount /dev/cdrom /mnt/cdrom
/dev/cdrom: Invalid argument
mount: /dev/cdrom: can't read superblock

so either way i get errors, and both are different, should /dev/cdrom be a block device that i have to create, or will it be just a link, like now how it is?

thanks again


Last edited by baskew91; 04-23-2004 at 04:03 PM.
 
Old 12-09-2004, 04:24 PM   #6
ericdan
LQ Newbie
 
Registered: Dec 2004
Distribution: fedora core 3
Posts: 2

Rep: Reputation: 0
cd rom superblock Please help!!

hi

i get this message when trying to read from my cd-rom
Could not mount CD-RW/DVD-ROM Drive:
Unable to mount the selected volume.:
/dev/hdc: Input/output error
mount: /dev/hdc: can't read superblock

does anyone know what the problem is?
how can i fix it?
please help me on this issue.

thanks,

eric

Quote:
Originally posted by hw-tph
Check what the CD device is actually called. Type dmesg | grep CD to see what's up. If it still is treated as an ide-scsi device it is probably /dev/scd0.

/dev/cdrom is a symlink to the actual device, so if it is called /dev/scd0 you will have to remove the link and recreate it, pointing to scd0 (ln -s /dev/scd0 /dev/cdrom) or whatever the actual device is. Then you should be able to mount it using mount /dev/cdrom /mnt/cdrom.

If you do have it configured as an ide-scsi device you need to load the ide-scsi module in order to access it - modprobe ide-scsi.


Håkan
 
  


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
Cannot mount DVD/CDRW Combo drive iff in fstab Iggyboo Linux - Hardware 0 12-21-2004 06:18 PM
LG combo drive in Mandrake 9.1 ? Kassava Linux - Hardware 2 10-29-2004 07:57 AM
Deafing combo drive region... SGFHK321 Linux - Hardware 0 07-10-2004 11:33 AM
combo drive h1tman Linux - Hardware 11 10-01-2003 08:36 PM
How to mount "Combo DRIVE"? (CD-RW/DVD) wailinux Linux - Hardware 8 12-30-2002 08:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 06:34 PM.

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