G'day all. I just backed up my /home and other interesting directories on 8.0, tested by retrieving files and directories from the CD and opening them, and then installed 8.1Pro from DVD. It appeared to go smoothly. Everything detected; no showstoppers. I then ran YOU several times, until it stopped asking for additional passes, and I shut down gracefully and restarted. On my primary IDE, have two 40G hard drives. On my secondary IDE, I have a PlexWriter CD-R/RW, and a Pioneer DVD (model 116 with current firmware). I can't seem to mount the CD. Here are my results (among many others...) linux:~ # mount /media/cdrom /dev/cdrom: Input/output error mount: you must specify the filesystem type linux:~ # (really? wasn't true in 8.0...) linux:~ # mount -t iso9660 /dev/cdrom /media/cdrom mount: wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file systems (could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?) linux:~ # (well, no it isn't, because none of those special devices exist) Here's what I get if I try to "Change source of installation" in YaST: "Error Unable to create installation source from URL 'CD:///'. ERROR(Media:invalid filesystem)" Here is my fstab: /dev/hda2 / reiserfs defaults 1 1 /dev/hdb3 /home reiserfs defaults 1 2 /dev/hdb2 /var reiserfs defaults 1 2 /dev/hdb1 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbdevfs /proc/bus/usb usbdevfs noauto 0 0 /dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/dvd /media/dvd auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0 To my naive and untrained eye, I see a device /dev/cdrom which is supposed to get mountpoint /media/cdrom. Yes, I have also tried to mount the "cdrecorder", with similar results. It doesn't matter if I have a SuSE CD in either/both drives, or one of my backup CDs in either/both. Furthermore, if I view the directory structure, there is indeed a directory called /media/cdrom. Also, if I look at the Hardware Info, in YaST, the PlexWriter is listed a couple of times, though the DVD drive doesn't seem to appear. So... a) what am I doing wrong b) how do I fix it c) why is this different from 8.0, which never gave me this particular grief? Thank you for your time, /kevin
Good day Kevin. Have you tried mounting your /dev/dvd? Can you tell us what /dev/cdrom and /dev/dvd are pointing to? They are simbolic links, pointing to something like /dev/hd* or so. Can you mount your /dev/cdrecord? Ali. On Sunday 01 December 2002 13:42, Kevin McLauchlan wrote:
G'day all.
I just backed up my /home and other interesting directories on 8.0, tested by retrieving files and directories from the CD and opening them, and then installed 8.1Pro from DVD. It appeared to go smoothly. Everything detected; no showstoppers.
I then ran YOU several times, until it stopped asking for additional passes, and I shut down gracefully and restarted.
On my primary IDE, have two 40G hard drives. On my secondary IDE, I have a PlexWriter CD-R/RW, and a Pioneer DVD (model 116 with current firmware).
I can't seem to mount the CD. Here are my results (among many others...)
linux:~ # mount /media/cdrom /dev/cdrom: Input/output error mount: you must specify the filesystem type linux:~ # (really? wasn't true in 8.0...)
linux:~ # mount -t iso9660 /dev/cdrom /media/cdrom mount: wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file systems (could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?) linux:~ # (well, no it isn't, because none of those special devices exist)
Here's what I get if I try to "Change source of installation" in YaST: "Error Unable to create installation source from URL 'CD:///'. ERROR(Media:invalid filesystem)"
Here is my fstab: /dev/hda2 / reiserfs defaults 1 1 /dev/hdb3 /home reiserfs defaults 1 2 /dev/hdb2 /var reiserfs defaults 1 2 /dev/hdb1 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbdevfs /proc/bus/usb usbdevfs noauto 0 0 /dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/dvd /media/dvd auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0
To my naive and untrained eye, I see a device /dev/cdrom which is supposed to get mountpoint /media/cdrom. Yes, I have also tried to mount the "cdrecorder", with similar results. It doesn't matter if I have a SuSE CD in either/both drives, or one of my backup CDs in either/both.
Furthermore, if I view the directory structure, there is indeed a directory called /media/cdrom. Also, if I look at the Hardware Info, in YaST, the PlexWriter is listed a couple of times, though the DVD drive doesn't seem to appear.
So...
a) what am I doing wrong b) how do I fix it c) why is this different from 8.0, which never gave me this particular grief?
Thank you for your time,
/kevin
On Sunday 01 December 2002 14:14, Ali Naddaf wrote:
Good day Kevin. Have you tried mounting your /dev/dvd? Can you tell us what /dev/cdrom and /dev/dvd are pointing to? They are simbolic links, pointing to something like /dev/hd* or so.
Can you mount your /dev/cdrecord? Ali. [...]
I can't seem to mount the CD. Here are my results (among many others...)
linux:~ # mount /media/cdrom /dev/cdrom: Input/output error mount: you must specify the filesystem type linux:~ # (really? wasn't true in 8.0...)
linux:~ # mount -t iso9660 /dev/cdrom /media/cdrom mount: wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file systems (could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?) linux:~ # (well, no it isn't, because none of those special devices exist)
Here is my fstab: /dev/hda2 / reiserfs defaults 1 1 /dev/hdb3 /home reiserfs defaults 1 2 /dev/hdb2 /var reiserfs defaults 1 2 /dev/hdb1 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbdevfs /proc/bus/usb usbdevfs noauto 0 0 /dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/dvd /media/dvd auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0
Ahhh... I had stopped looking too soon, when I didn't find "sr0" or "sda" or "so", as suggested in the "mount" error message (above). When I tried to mount "/dev/scd0" instead, it worked. OK, so is it considered more proper to edit fstab, or to change/replace the faulty links, and leave fstab alone? Or does it matter? Thanks much. Now I can retrieve all my previous-year mail, including (probably) the answer to my initial problem. By the way, can anybody explain why YaST would set it up that way, when it is known that IDE CD-Rs (etc.) must emulate SCSI devices? Moreover, why wouldn't that have gotten fixed in one of the updates?..... 8.1 has been out for a couple of months, now?? And since we're getting into philosophical questions <grin> why would SuSE be using a different device-naming convention than is expected by "mount" and other Linux infrastructure? Or else, why not modify the command and the supporting files to default to the SuSE way? Why not default to links and device assignments that assume SCSI, since 90%+ of people are going to have either SCSI or IDE (which must pretend to be SCSI) CD and DVD drives? I hope I don't appear to be whining; I'd just like to know the practical and/or technical reasons behind the choices. /kevin
On Monday 02 December 2002 04.36, Kevin McLauchlan wrote:
Ahhh... I had stopped looking too soon, when I didn't find "sr0" or "sda" or "so", as suggested in the "mount" error message (above).
I believe "so" is a word, not a device. "or so" == "or similar"
why would SuSE be using a different device-naming convention than is expected by "mount" and other Linux infrastructure?
They don't. If you really don't have /dev/sr0 there's something seriously wrong with your setup. sr0 and scd0 are identical, by the way. The names are completely unimportant, except as a way for programs to find the correct device. The only thing that matters is the major/minor number of the device. ls -l /dev/sr0 /dev/scd0 brw-r----- 1 root disk 11, 0 2002-09-09 22:24 /dev/scd0 brw------- 1 andjoh users 11, 0 2002-09-09 22:24 /dev/sr0 As you can see, they are both major number 11, minor number 0, and that is what decides which piece of hardware they pertain to.
On Sunday 01 December 2002 21:42, Anders Johansson wrote:
On Monday 02 December 2002 04.36, Kevin McLauchlan wrote:
Ahhh... I had stopped looking too soon, when I didn't find "sr0" or "sda" or "so", as suggested in the "mount" error message (above).
I believe "so" is a word, not a device. "or so" == "or similar"
ok, ya got me on that one. :-)
why would SuSE be using a different device-naming convention than is expected by "mount" and other Linux infrastructure?
They don't. If you really don't have /dev/sr0 there's something seriously wrong with your setup.
sr0 and scd0 are identical, by the way. The names are completely unimportant, except as a way for programs to find the correct device. The only thing that matters is the major/minor number of the device.
ls -l /dev/sr0 /dev/scd0
brw-r----- 1 root disk 11, 0 2002-09-09 22:24 /dev/scd0 brw------- 1 andjoh users 11, 0 2002-09-09 22:24 /dev/sr0
As you can see, they are both major number 11, minor number 0, and that is what decides which piece of hardware they pertain to.
Ok, that makes sense. But then why have so very, very many redundant device names in /dev? Many of those letter-number sequences went to the dozens, if not hundreds. If they all need to be "configured" or otherwise pointed-to and equicalenced, why not just leave a couple of sample device names in /dev and let people just use 'em as models when they need 'em... since it seems we have to do some nipping and tucking anyway...?? Besides, if I recall correctly, a SCSI bus has some limits on the number of devices it'll physically support; what kind of machine would ever have enough real devices to use a fraction of ANY of those series? /k
Do an ls -l command on those /dev/cdrecorder, /dev/cdrom, and /dev/dvd Suse creates symlinks to other /dev/* files. You'll most likely have to re-link them yourself. One way to test this is not to try a mount from fstab. Do this by making some temporary directory like /mnt/tmp and then put a cd in your DVD drive. Depending on your slave/master setup on your drives your DVD drive will either be /dev/hdc or /dev/hdd and your Plextor will be the other. Then issue this command: mount /dev/hdc /mnt/tmp if that mounts your dvd drive then you need to make sure that /dev/dvd is symlinked to /dev/hdc and /dev/cdrecorder should be symlinked to /dev/hdd. If that did NOT mount then try it with /dev/hdd: mount /dev/hdd /mnt/tmp and reverse the above instructions and link accordingly. Make sense? On Sun, 2002-12-01 at 13:42, Kevin McLauchlan wrote:
G'day all.
I just backed up my /home and other interesting directories on 8.0, tested by retrieving files and directories from the CD and opening them, and then installed 8.1Pro from DVD. It appeared to go smoothly. Everything detected; no showstoppers.
I then ran YOU several times, until it stopped asking for additional passes, and I shut down gracefully and restarted.
On my primary IDE, have two 40G hard drives. On my secondary IDE, I have a PlexWriter CD-R/RW, and a Pioneer DVD (model 116 with current firmware).
I can't seem to mount the CD. Here are my results (among many others...)
linux:~ # mount /media/cdrom /dev/cdrom: Input/output error mount: you must specify the filesystem type linux:~ # (really? wasn't true in 8.0...)
linux:~ # mount -t iso9660 /dev/cdrom /media/cdrom mount: wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file systems (could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?) linux:~ # (well, no it isn't, because none of those special devices exist)
Here's what I get if I try to "Change source of installation" in YaST: "Error Unable to create installation source from URL 'CD:///'. ERROR(Media:invalid filesystem)"
Here is my fstab: /dev/hda2 / reiserfs defaults 1 1 /dev/hdb3 /home reiserfs defaults 1 2 /dev/hdb2 /var reiserfs defaults 1 2 /dev/hdb1 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbdevfs /proc/bus/usb usbdevfs noauto 0 0 /dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/dvd /media/dvd auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0
To my naive and untrained eye, I see a device /dev/cdrom which is supposed to get mountpoint /media/cdrom. Yes, I have also tried to mount the "cdrecorder", with similar results. It doesn't matter if I have a SuSE CD in either/both drives, or one of my backup CDs in either/both.
Furthermore, if I view the directory structure, there is indeed a directory called /media/cdrom. Also, if I look at the Hardware Info, in YaST, the PlexWriter is listed a couple of times, though the DVD drive doesn't seem to appear.
So...
a) what am I doing wrong b) how do I fix it c) why is this different from 8.0, which never gave me this particular grief?
Thank you for your time,
/kevin
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sunday 01 December 2002 20.42, Kevin McLauchlan wrote:
linux:~ # mount -t iso9660 /dev/cdrom /media/cdrom mount: wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file systems (could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?) linux:~ # (well, no it isn't, because none of those special devices exist)
What do you mean by that? You mean you have no file called /dev/sr0??? Note that there was a little "buglet" in 8.1, in that for the first time ever, ide-cd was compiled as a module. This means that if you have one ide-scsi device on your system (a cd burner, in other words), all your cd devices will be ide-scsi unless you do something about it. The easiest way to "do something about it" is to edit /etc/sysconfig/kernel and add "ide-cd" to the initrd variable in that file *before* the ide-scsi module, run mk_initrd (and lilo, if you're running lilo. If you're running grub you don't have to do anything other than mk_initrd) and reboot. This is assuming you don't want your regular non-burner cd/dvd as ide-scsi. If you do, then the symlinking the others have talked about should set things straight. Anders
On Sunday 01 December 2002 16:59, Anders Johansson wrote:
On Sunday 01 December 2002 20.42, Kevin McLauchlan wrote:
use ide-scsi so that sr0 or sda or so is needed?) linux:~ # (well, no it isn't, because none of those special devices exist)
What do you mean by that? You mean you have no file called /dev/sr0???
Sorry. They're all there when I do a "locate", or just ls the /dev directory. But immediately after mount suggested that might be the problem, I tried mounting each, and got told that each device did not exist.
Note that there was a little "buglet" in 8.1, in that for the first time ever, ide-cd was compiled as a module. This means that if you have one ide-scsi device on your system (a cd burner, in other words), all your cd devices will be ide-scsi unless you do something about it.
The easiest way to "do something about it" is to edit /etc/sysconfig/kernel and add "ide-cd" to the initrd variable in that file *before* the ide-scsi module, run mk_initrd (and lilo, if you're running lilo. If you're running grub you don't have to do anything other than mk_initrd) and reboot.
This is assuming you don't want your regular non-burner cd/dvd as ide-scsi. If you do, then the symlinking the others have talked about should set things straight.
Hmm... didn't want to quote so much, but I don't see a good place to snip. This falls into the "just enough knowledge to get into trouble" category. So, um... what is the significance? Why would I want to make one choice or the other? What grave consequences wil befall if I opt in one direction, and what grand vistas of convenience and opportunity will open up, if opt for the other way? Why would it matter that one device is ide-scsi if the other is, as well? Conflict? Convenience? Is there an overhead/speed penalty for the conversion/pretense? Does it screw up something, way "over on the other side of Linux" that I wouldn't have even thought was connected? Cheers, /kevin
On Monday 02 December 2002 04.52, Kevin McLauchlan wrote:
Hmm... didn't want to quote so much, but I don't see a good place to snip. This falls into the "just enough knowledge to get into trouble" category. So, um... what is the significance? Why would I want to make one choice or the other? What grave consequences wil befall if I opt in one direction, and what grand vistas of convenience and opportunity will open up, if opt for the other way?
The only reason I can see for having a read-only cd player as ide-scsi is that some cd recording programs only use scsi. So if you want to copy CDs from that cd player to your recorder in that program, it needs to be ide-scsi as well. For all other purposes, it's better to have it as a regular ide device, if only because the hardware config tools such as hdparm only work on the ide device if it's an ide piece of hardware. I prefer finding a program that can handle an IDE cd reader, but if your program of choice - xcdroast perhaps? - only handles scsi, then your reader needs to be ide-scsi. The reason for all this nonsense is a couple of seriously silly decisions by the kernel hackers, but according to popular mythology it should be sorted in 2.5, so once kernel 2.6 gets released we shouldn't have to mess with ide-scsi any more.
Why would it matter that one device is ide-scsi if the other is, as well? Conflict? Convenience? Is there an overhead/speed penalty for the conversion/pretense?
I'm not sure if there is a speed difference between ide-scsi and regular ide. If there is it's small enough not to be noticed - by me at least.
participants (4)
-
Ali Naddaf
-
Anders Johansson
-
Kevin McLauchlan
-
Rob Benton