LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-14-2007, 05:43 AM   #1
grautu
Member
 
Registered: Jul 2005
Posts: 142

Rep: Reputation: 15
Can't mount _BLANK_ optical media


Hi!
My Slackware 11.0 box can't mount optical devices when the inserted medium is _BLANK_. I have three IDE such optical devices as: hdb (an IDE CD recorder) hdc (an IDE DVD recorder) and hdd (an IDE CD-RW/DVD-ROM combo). All these devices can be mounted and do work very well with written media inside but they can't be mounted when the inserted media are blank. Here is the mount dialog:
Code:
# mount -t iso9660 /dev/hdc /mnt/dvdrecorder
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
missing codepage, or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so
FURTHER DETAILS:
(1) The previous Slackware 10.x did work very well with all of those optical devices.
(2) Debian 3.1 and Knoppix 4.x, 5.x do also work very well.
(3) Certainly Slackware 11.0 detects those optical drives as IDE devices. For instance, the last system message when shutting down is
Code:
flushing ide devices: hda, hdb, hdc, hdd
(4) The mount version is mount-2.12r.
(5) Here is the code error issued when trying to mount /dev/hdc, at booting time, with a blank medium inside:
Code:
Linux version 2.4.33.3 (root@tree) (gcc version 3.4.6) #6 Fri Sep 1 04:15:45 CDT 2006
...
...
hdc: ASUS DRW-1604P, ATAPI CD/DVD-ROM drive
...
...
hdc: attached ide-cdrom driver.
hdc: ATAPI 63X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(33)
...
...
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x80LastFailedSense 0x08 
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x80LastFailedSense 0x08 
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x80LastFailedSense 0x08 
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x80LastFailedSense 0x08 
hdc: DMA disabled
hdc: ATAPI reset complete
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x80LastFailedSense 0x08 
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x80LastFailedSense 0x08 
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x80LastFailedSense 0x08 
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x80LastFailedSense 0x08 
hdc: ATAPI reset complete
hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdc: cdrom_decode_status: error=0x80LastFailedSense 0x08 
end_request: I/O error, dev 16:00 (hdc), sector 64
isofs_read_super: bread failed, dev=16:00, iso_blknum=16, block=32
As a result, my Slackware box is of no help when needing to burn any CD or DVD medium. Any idea of how to deal with?
Grateful thanks in advance!
 
Old 04-14-2007, 06:10 AM   #2
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
Talking

Sorry, cant' help laughing with this..

Seriously, how do you want to mount a medium that has no partition on it?

One does not mount empty optical discs, one makes an image (iso), and then one burns that iso to the optical medium in a single session.

To create the iso, for instance of another optical disc (provided there is no copy protection), just do

Code:
dd if=/dev/hda of=ripped.iso
, assuming that hda contains the source disc

Then use another program, like k3b (very cool) to burn your disk. K3B also allows you to create an image from scratch by letting you select which files to put in the image, and also supports multi-session discs.

Hope this helps!
 
Old 04-14-2007, 08:27 AM   #3
grautu
Member
 
Registered: Jul 2005
Posts: 142

Original Poster
Rep: Reputation: 15
Thanks a lot!
1. Yes, I've just now learned that it doesn't make sense to mount a blank CD/DVD. I kindly appreciate your help in that matter.
2. Well I did try to burn a .iso image with K3b, under Debian (it did work) under Knoppix (it did work) under Slackware 10.2 (it did work too) and under Slackware 11.0. The matter was that the Slackware 11.0 box was the single one under which k3b failed to work, simply because the drive with the medium inside was not seen by K3b. This is why I tried to force seeing the medium, and the only solution I've imagined was to mount that medium. Now, thanks to you, I do know that's not the solution but I'm still mind bogging about why K3b fails to see the medium.
3. However, since so kind to answer, could you please further explain me what's the difference (from the mounting point of view) between a blank CD and a USB memory stick? Is it true that a memory stick has never any partition on it (as a vendor have told me)? If false (that is, if a partition must exist on any memory stick) what would be the filesystem, after a single Linux editing session (on that memory stick) and what about if the editing session runs under Windows (instead of Linux)? How to explain the fact that Windows does see the content of a memory stick which was inscripted by Linux?
I would kindly appreciate your answer!
Thanks!
 
Old 04-14-2007, 08:30 AM   #4
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
usb sticks are seen by the Linux operating system as scsci drives and do contain partitions and filesystems.

Most comercial usb sticks I've seen come with a fat partition, but you can put any kind of partition on there that your operating system supports.
 
Old 04-14-2007, 09:02 AM   #5
KleB
Member
 
Registered: Jan 2006
Location: Slovenia
Distribution: Slackware, Gentoo
Posts: 97

Rep: Reputation: 15
Yes, USB storage devices have partitions on them and are (a bit like floppy disks were) usually fat 32 (pre)formatted. Since both Linux and Windows can use this filesystem, there are no differences regarding which OS you use.

Regarding your drive, is k3b configured properly? Which kernel do you use?
 
Old 04-14-2007, 10:03 AM   #6
grautu
Member
 
Registered: Jul 2005
Posts: 142

Original Poster
Rep: Reputation: 15
Thanks, I was confuse.
My Slack 11.0 runs with a 2.4.33 kernel (namely the bare.i in Slackware terminology); see my first post, with the dmesg excerpt from there. Indeed, it could be a wrong configuration. For instance, after installing K3b (under the last Slackare box) I have not obtained the usual iconed link in the KDE desktop menu and can only run K3b from the "Run" prompt. Now I do consider to reinstall K3b or something like that.
 
Old 04-14-2007, 11:20 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,672

Rep: Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203
2.4 kernels require scsi emulation to burn CDs with ATAPI devices.
You will need to add hdc=ide-scsi as a kernel boot option in your boot loader.
Lots of information can be found on the web for both grub and lilo.
Once you reboot the computer your burner device ID will now be /dev/scd0.
 
Old 04-14-2007, 12:36 PM   #8
KleB
Member
 
Registered: Jan 2006
Location: Slovenia
Distribution: Slackware, Gentoo
Posts: 97

Rep: Reputation: 15
Additionally, you could just install a 2.6 kernel and modules (like test26.s or huge26.s and modules from testing/ or extra/ dirs, respectively). Unless you have older hardware and don't mind crowded /dev, you can profit a lot from 2.6 kernel and udev...
 
  


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
can mount C not D FAT: invalid media value (0x45) mount: wrong fs type, bad option Emmanuel_uk Linux - Newbie 10 11-29-2005 02:47 AM
automount: mount(generic): failed to mount (null) (type iso9660) on /mnt/media/ vasudevadas Slackware 5 10-17-2005 03:05 PM
UV Lights and Optical Media Matir General 2 06-30-2005 03:29 PM
phpBB2 contents go to the _blank_ table.. miguetoo Linux - Software 0 12-13-2004 01:21 PM
Magneto-Optical Disk Media judge_neo Linux - Hardware 1 10-30-2004 12:55 PM

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

All times are GMT -5. The time now is 02:19 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