All of lore.kernel.org
 help / color / mirror / Atom feed
* How to mount CD-ROM?
@ 2002-10-29 11:46 cr
  2002-10-29 14:57 ` Arthur Othieno
  2002-10-29 16:52 ` Ray Olszewski
  0 siblings, 2 replies; 14+ messages in thread
From: cr @ 2002-10-29 11:46 UTC (permalink / raw)
  To: linux-newbie

I'm having trouble reading my CD-ROM (actually a LG(Goldstar) 8080 cd-writer) 
drive.

It's not a hardware problem, and it worked in previous RH versions.  (It also 
installed my current RH 7.2 system quite happily).

My /etc/fstab reads   
/dev/cdrom     /mnt/cdrom    iso9660 noauto,owner,kudzu,ro 0 0

But, even su root, trying to mount it with (from memory):
mount  /dev/hdb  /mnt/cdrom    
gave (from memory)   'unknown block device'.

Trying X-cd-roast told me that ide-scsi was missing.  

Trying   insmod sg    told me that  sg  was already installed, and 
'insmod  ide-scsi'   successfully loaded  ide-scsi, after which X-cd-roast 
now reads a CD   OK (and presumably, would write).

However, I *still* can't mount or read a CD-rom in the normal way, from the 
command line.

This is what happens:
[root@localhost /]# mount -t iso9660  /dev/hdb  /mnt/cdrom
"mount: bad fs type, bad option, bad superblock on /dev/hdb, 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?)"

[root@localhost /]# mount  -t iso9660  /dev/scsi0  /mnt/cdrom
"mount: special device  /dev/scsi0 does not exist"

- and the same result for sda, sr0, and so  when I try it, except that 
/dev/sda  gives 'unknown device' instead.

If I try this:
[root@localhost /]# mount  /dev/hdb  /mnt/cdrom
I get:
"dev/hdb: success
mount: you must specify the filesystem type"

But when I cd into  /mnt/cdrom, there are still no files visible...

So it doesn't want to know me, either as a IDE or a SCSI drive.   
dmesg shows it correctly:
"hdb: LG CD-RW CED-8080B, ATAPI  CD/DVD-ROM drive
............
Type: CD-ROM      ANSI SCSI Revision: 02"

I've tried reading the CDROM  HOWTO, but I can't see anything there that 
explains the problem.   Does anyone have any suggestions what to try next?

Chris Rodliffe
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: How to mount CD-ROM?
  2002-10-29 11:46 How to mount CD-ROM? cr
@ 2002-10-29 14:57 ` Arthur Othieno
  2002-10-30  7:51   ` cr
  2002-10-29 16:52 ` Ray Olszewski
  1 sibling, 1 reply; 14+ messages in thread
From: Arthur Othieno @ 2002-10-29 14:57 UTC (permalink / raw)
  To: cr; +Cc: linux-newbie



cr wrote:

> I'm having trouble reading my CD-ROM (actually a LG(Goldstar) 8080 cd-writer) 
> drive.


You are having trouble reading CD-ROM discs in your CD-RW drive, am I right?


> It's not a hardware problem, and it worked in previous RH versions.  (It also 
> installed my current RH 7.2 system quite happily).
> 
> My /etc/fstab reads   
> /dev/cdrom     /mnt/cdrom    iso9660 noauto,owner,kudzu,ro 0 0
> 
> But, even su root, trying to mount it with (from memory):
> mount  /dev/hdb  /mnt/cdrom    
> gave (from memory)   'unknown block device'.
> 
> Trying X-cd-roast told me that ide-scsi was missing.  
> 
> Trying   insmod sg    told me that  sg  was already installed, and 
> 'insmod  ide-scsi'   successfully loaded  ide-scsi, after which X-cd-roast 
> now reads a CD   OK (and presumably, would write).
> 
> However, I *still* can't mount or read a CD-rom in the normal way, from the 
> command line.
> 
> This is what happens:
> [root@localhost /]# mount -t iso9660  /dev/hdb  /mnt/cdrom
> "mount: bad fs type, bad option, bad superblock on /dev/hdb, 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?)"


You can't mount your CD-RW as hdb since it's now being emulated as a SCSI device. Try 

mounting it with `mount /dev/scd0 /mnt/cdrom' and see if that works (assuming this is 

done with ide-scsi et al currently loaded). You might also want to 
change the symlink `cdrom' in /dev to point to `scd0', something like 
(as root): `cd /dev ; rm cdrom ; ln -sf scd0 cdrom'

The only questions that remain to be answered are:

(1) Do you want to use your CD-RW drive *only* for reading CD-ROM media 
(which I doubt is the case here), or
(2) Do you want to use it to read and write CD-ROM/CD-R(W) media (which 
is a more practical use)?

For the latter, you will have to tell the IDE CD-ROM driver to ignore 
hdb all together, and assign ide-scsi to hdb at boot. More specific 
details can be gleaned from the CD-Writing HOWTO ;)


> [root@localhost /]# mount  -t iso9660  /dev/scsi0  /mnt/cdrom
> "mount: special device  /dev/scsi0 does not exist"
> 
> - and the same result for sda, sr0, and so  when I try it, except that 
> /dev/sda  gives 'unknown device' instead.
> 
> If I try this:
> [root@localhost /]# mount  /dev/hdb  /mnt/cdrom
> I get:
> "dev/hdb: success
> mount: you must specify the filesystem type"
> 
> But when I cd into  /mnt/cdrom, there are still no files visible...

> 
> So it doesn't want to know me, either as a IDE or a SCSI drive.   
> dmesg shows it correctly:
> "hdb: LG CD-RW CED-8080B, ATAPI  CD/DVD-ROM drive
> ............
> Type: CD-ROM      ANSI SCSI Revision: 02"
> 
> I've tried reading the CDROM  HOWTO, but I can't see anything there that 
> explains the problem.   Does anyone have any suggestions what to try next?
> 
> Chris Rodliffe
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
> 
> 
> 

HTH,

Arthur

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: How to mount CD-ROM?
  2002-10-29 11:46 How to mount CD-ROM? cr
  2002-10-29 14:57 ` Arthur Othieno
@ 2002-10-29 16:52 ` Ray Olszewski
  2002-10-30  8:46   ` cr
  1 sibling, 1 reply; 14+ messages in thread
From: Ray Olszewski @ 2002-10-29 16:52 UTC (permalink / raw)
  To: linux-newbie

You are trying to mix two methods of accessing the CD drive, and you can't 
do that.

If you use ide-scsi emulation, then you need to access the drive as a 
pseudo-scsi device, probably at /dev/scd0. (These device designators are 
sometimes distro-specific, though, so you should check if RH has changed 
thinng on you in the last version switch.) .

I notice that in all the tests you report doing, you don't report trying 
this one:

         mount /dev/cdrom

which should cause the fstab entry you list below to be used to find the 
right device. I don't know if that will work either, but if the 
installation really did work correctly, then /mnt/cdrom should be a symlink 
to the correct block device (easy to check).

cdroast uses the device's (pseudo-)LUN to access it (something like 
dev=0,0,0), not its /dev/* entry, and I assume X-cd-roast is just an X 
wrapper for this app, so it does not help you find the correct /dev/* entry

As to the error messages you report:

         "mount: special device  /dev/scsi0 does not exist" means what it 
says -- the /dev/directory does not contains a device entry for /dev/scsi0 
. Check with "ls -l /dev/scsi*" or something similar.

         'unknown device'  means that the device entry exists in /dev, but 
it does not point to an actual, physical device on the system. Try mounting 
/dev/scd0 instead.

Finally, on my system, scsi-ide emulation requires 4 modules, not the 2 you 
mentioned:

         ide-scsi                7360    0
         sg                      23588           0
         sr_mod                  12760           0
         scsi_mod                79480           3  [ide-scsi sg sr_mod]


At 12:46 AM 10/30/02 +1300, cr wrote:
>I'm having trouble reading my CD-ROM (actually a LG(Goldstar) 8080 cd-writer)
>drive.
>
>It's not a hardware problem, and it worked in previous RH versions.  (It also
>installed my current RH 7.2 system quite happily).
>
>My /etc/fstab reads
>/dev/cdrom     /mnt/cdrom    iso9660 noauto,owner,kudzu,ro 0 0
>
>But, even su root, trying to mount it with (from memory):
>mount  /dev/hdb  /mnt/cdrom
>gave (from memory)   'unknown block device'.
>
>Trying X-cd-roast told me that ide-scsi was missing.
>
>Trying   insmod sg    told me that  sg  was already installed, and
>'insmod  ide-scsi'   successfully loaded  ide-scsi, after which X-cd-roast
>now reads a CD   OK (and presumably, would write).
>
>However, I *still* can't mount or read a CD-rom in the normal way, from the
>command line.
>
>This is what happens:
>[root@localhost /]# mount -t iso9660  /dev/hdb  /mnt/cdrom
>"mount: bad fs type, bad option, bad superblock on /dev/hdb, 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?)"
>
>[root@localhost /]# mount  -t iso9660  /dev/scsi0  /mnt/cdrom
>"mount: special device  /dev/scsi0 does not exist"
>
>- and the same result for sda, sr0, and so  when I try it, except that
>/dev/sda  gives 'unknown device' instead.
>
>If I try this:
>[root@localhost /]# mount  /dev/hdb  /mnt/cdrom
>I get:
>"dev/hdb: success
>mount: you must specify the filesystem type"
>
>But when I cd into  /mnt/cdrom, there are still no files visible...
>
>So it doesn't want to know me, either as a IDE or a SCSI drive.
>dmesg shows it correctly:
>"hdb: LG CD-RW CED-8080B, ATAPI  CD/DVD-ROM drive
>............
>Type: CD-ROM      ANSI SCSI Revision: 02"
>
>I've tried reading the CDROM  HOWTO, but I can't see anything there that
>explains the problem.   Does anyone have any suggestions what to try next?




--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski					-- Han Solo
Palo Alto, California, USA			  ray@comarre.com
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: How to mount CD-ROM?
  2002-10-29 14:57 ` Arthur Othieno
@ 2002-10-30  7:51   ` cr
  0 siblings, 0 replies; 14+ messages in thread
From: cr @ 2002-10-30  7:51 UTC (permalink / raw)
  To: arthurothieno; +Cc: linux-newbie

On Wednesday 30 October 2002 03:57, Arthur Othieno wrote:
> cr wrote:
> > I'm having trouble reading my CD-ROM (actually a LG(Goldstar) 8080
> > cd-writer) drive.
>
> You are having trouble reading CD-ROM discs in your CD-RW drive, am I
> right?

That's correct.   In other words, just using it as a CD-ROM drive.   (I can 
write OK when I need to with X-cd-roast).

> > It's not a hardware problem, and it worked in previous RH versions.  (It
> > also installed my current RH 7.2 system quite happily).
> >
> > My /etc/fstab reads
> > /dev/cdrom     /mnt/cdrom    iso9660 noauto,owner,kudzu,ro 0 0
> >
> > But, even su root, trying to mount it with (from memory):
> > mount  /dev/hdb  /mnt/cdrom
> > gave (from memory)   'unknown block device'.
> >
> > Trying X-cd-roast told me that ide-scsi was missing.
> >
> > Trying   insmod sg    told me that  sg  was already installed, and
> > 'insmod  ide-scsi'   successfully loaded  ide-scsi, after which
> > X-cd-roast now reads a CD   OK (and presumably, would write).
> >
> > However, I *still* can't mount or read a CD-rom in the normal way, from
> > the command line.
> >
> > This is what happens:
> > [root@localhost /]# mount -t iso9660  /dev/hdb  /mnt/cdrom
> > "mount: bad fs type, bad option, bad superblock on /dev/hdb, 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?)"
>
> You can't mount your CD-RW as hdb since it's now being emulated as a SCSI
> device. 

That's what I suspected.

> Try
>
> mounting it with `mount /dev/scd0 /mnt/cdrom' and see if that works
> (assuming this is
>
> done with ide-scsi et al currently loaded). 

OK, done that - 
"mount: dev/scd0: unknown device"
(there is a /dev/scd0 file, I looked, 11 bytes long)

> You might also want to
> change the symlink `cdrom' in /dev to point to `scd0', something like
> (as root): `cd /dev ; rm cdrom ; ln -sf scd0 cdrom'

Hmm, /dev/cdrom is actually a link   -> /dev/hdb

OK, done that,  now  /dev/cdrom  ->  /dev/scd0

But mount /dev/cdrom  /mnt/cdrom   gives 'unknown device' again...

>
> The only questions that remain to be answered are:
>
> (1) Do you want to use your CD-RW drive *only* for reading CD-ROM media
> (which I doubt is the case here), or
> (2) Do you want to use it to read and write CD-ROM/CD-R(W) media (which
> is a more practical use)?

Yes, that's what I want to do.   

> For the latter, you will have to tell the IDE CD-ROM driver to ignore
> hdb all together, and assign ide-scsi to hdb at boot. More specific
> details can be gleaned from the CD-Writing HOWTO ;)

Well, the writing is (I expect) quite OK with X-cd-roast, and it will also 
read CD-ROM images quite happily.   No problem there.

But what I want to do, and can't do, is read files off the CD-ROM in the 
usual way as if it's just another filing system.   Mount it, do a ls, copy a 
file....      Can't do it from the command line, can't do with Nautilus or 
the KDE file manager....

cr

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: How to mount CD-ROM?
  2002-10-29 16:52 ` Ray Olszewski
@ 2002-10-30  8:46   ` cr
  2002-10-30 16:11     ` Ray Olszewski
  0 siblings, 1 reply; 14+ messages in thread
From: cr @ 2002-10-30  8:46 UTC (permalink / raw)
  To: Ray Olszewski, linux-newbie

On Wednesday 30 October 2002 05:52, Ray Olszewski wrote:
> You are trying to mix two methods of accessing the CD drive, and you can't
> do that.

I know that, I was just trying to eliminate all possibilities.   ;)

> If you use ide-scsi emulation, then you need to access the drive as a
> pseudo-scsi device, probably at /dev/scd0. (These device designators are
> sometimes distro-specific, though, so you should check if RH has changed
> thinng on you in the last version switch.) .

/dev/scd0 exists as a file.   But I can't mount it.   'unknown device'

> I notice that in all the tests you report doing, you don't report trying
> this one:
>
>          mount /dev/cdrom

Just tried it.  "unknown device"

> which should cause the fstab entry you list below to be used to find the
> right device. I don't know if that will work either, but if the
> installation really did work correctly, then /mnt/cdrom should be a symlink
> to the correct block device (easy to check).

/mnt/cdrom is a directory, not a symlink.   Which I assume means the 
installation hasn't worked?

> cdroast uses the device's (pseudo-)LUN to access it (something like
> dev=0,0,0), not its /dev/* entry, and I assume X-cd-roast is just an X
> wrapper for this app, so it does not help you find the correct /dev/* entry
>
> As to the error messages you report:
>
>          "mount: special device  /dev/scsi0 does not exist" means what it
> says -- the /dev/directory does not contains a device entry for /dev/scsi0
> . Check with "ls -l /dev/scsi*" or something similar.

Yes, there isn't a  scsi*   in /dev/

>          'unknown device'  means that the device entry exists in /dev, but
> it does not point to an actual, physical device on the system. Try mounting
> /dev/scd0 instead.

Tried that before -  "unknown device"   still

> Finally, on my system, scsi-ide emulation requires 4 modules, not the 2 you
> mentioned:
>
>          ide-scsi                7360    0
>          sg                      23588           0
>          sr_mod                  12760           0
>          scsi_mod                79480           3  [ide-scsi sg sr_mod]

Hmm.  

lsmod showed  sg  and scsi-mod.   
After  'insmod ide-scsi'   ide-scsi appeared in the list too.   
But trying 'insmod sr_mod'   just gives four error messages of 
'unresolved symbol unregister_cdrom_R94f2f104'   and similar.

X-cd-roast seems to work quite happily without it, though.

Thanks for the suggestions so far.   It seems I've tried all the logically 
obvious things.  

cr

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: How to mount CD-ROM?
  2002-10-30  8:46   ` cr
@ 2002-10-30 16:11     ` Ray Olszewski
  2002-10-31 13:29       ` cr
  0 siblings, 1 reply; 14+ messages in thread
From: Ray Olszewski @ 2002-10-30 16:11 UTC (permalink / raw)
  To: linux-newbie

At 09:46 PM 10/30/02 +1300, cr wrote:
[...]
>  if the
> > installation really did work correctly, then /mnt/cdrom should be a symlink
> > to the correct block device (easy to check).
>
>/mnt/cdrom is a directory, not a symlink.   Which I assume means the
>installation hasn't worked?

Nope.  It was a typo on my part. It is /dev/cdrom that should be a symlink 
(probably to /dev/scd0)
[...]
> >          'unknown device'  means that the device entry exists in /dev, but
> > it does not point to an actual, physical device on the system. Try mounting
> > /dev/scd0 instead.
>
>Tried that before -  "unknown device"   still

Your other message said that /dev/scd0 is a file that is 11 bytes long. It 
shouldn't be; it should be a pseudo-file entry -- in this case, a block 
device -- that provides an interface to the hardware. If you do "ls -l 
/dev/scd0", the result should be approximately this (this one is from my 
workstation):

         brw-rw----    1 root     cdrom     11,   0 Jun 13  2001 /dev/scd0

The "11" here is not a size; it is a device-major number. Make sure your 
corresponding entry has the initial "b" (the indicator of a block device) 
as well as the 11, 0.
[...]

>lsmod showed  sg  and scsi-mod.
>After  'insmod ide-scsi'   ide-scsi appeared in the list too.
>But trying 'insmod sr_mod'   just gives four error messages of
>'unresolved symbol unregister_cdrom_R94f2f104'   and similar.

The absence of this module is probably the source of your problem, as it is 
the device driver for scsi CD-ROMs. modules.dep ssys it depends only on 
scsi_mod. I don't have enough info about your setup (kernel details, 
mostly) to know why you are getting ghe "unresolved symbol" errors, but the 
usual reasons are kernel-version mismatch or missing dependency. See what 
effect "modprobe sr_mod" has.

>X-cd-roast seems to work quite happily without it, though.

That's because it accesses the device by (pseudo-)LUN, not through the 
block device /dev/scd0.

[...]
--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski					-- Han Solo
Palo Alto, California, USA			  ray@comarre.com
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: How to mount CD-ROM?
  2002-10-30 16:11     ` Ray Olszewski
@ 2002-10-31 13:29       ` cr
  2002-10-31 16:05         ` Ray Olszewski
  0 siblings, 1 reply; 14+ messages in thread
From: cr @ 2002-10-31 13:29 UTC (permalink / raw)
  To: Ray Olszewski, linux-newbie

On Thursday 31 October 2002 05:11, Ray Olszewski wrote:
> At 09:46 PM 10/30/02 +1300, cr wrote:
> [...]
>
> >  if the
> >
> > > installation really did work correctly, then /mnt/cdrom should be a
> > > symlink to the correct block device (easy to check).
> >
> >/mnt/cdrom is a directory, not a symlink.   Which I assume means the
> >installation hasn't worked?
>
> Nope.  It was a typo on my part. It is /dev/cdrom that should be a symlink
> (probably to /dev/scd0)
> [...]

OK.   I wondered if that was the case, but I'm not familiar enough to have 
been sure that the installation couldn't have changed the properties of the 
/mnt/cdrom directory to look like a link.    Evidently not.


> > >          'unknown device'  means that the device entry exists in /dev,
> > > but it does not point to an actual, physical device on the system. Try
> > > mounting /dev/scd0 instead.
> >
> >Tried that before -  "unknown device"   still
>
> Your other message said that /dev/scd0 is a file that is 11 bytes long. It
> shouldn't be; it should be a pseudo-file entry -- in this case, a block
> device -- that provides an interface to the hardware. If you do "ls -l
> /dev/scd0", the result should be approximately this (this one is from my
> workstation):
>
>          brw-rw----    1 root     cdrom     11,   0 Jun 13  2001 /dev/scd0
>
> The "11" here is not a size; it is a device-major number. Make sure your
> corresponding entry has the initial "b" (the indicator of a block device)
> as well as the 11, 0.
> [...]

OK, my mistake, I did indeed misread the '11' as a filesize.   

> >lsmod showed  sg  and scsi-mod.
> >After  'insmod ide-scsi'   ide-scsi appeared in the list too.
> >But trying 'insmod sr_mod'   just gives four error messages of
> >'unresolved symbol unregister_cdrom_R94f2f104'   and similar.
>
> The absence of this module is probably the source of your problem, as it is
> the device driver for scsi CD-ROMs. modules.dep ssys it depends only on
> scsi_mod. I don't have enough info about your setup (kernel details,
> mostly) to know why you are getting ghe "unresolved symbol" errors, but the
> usual reasons are kernel-version mismatch or missing dependency. See what
> effect "modprobe sr_mod" has.

Same list of four   "unresolved symbol" errors, then 
"insmod /lib/modules/2.4.7-10/kernel/drivers/scsi/sr_mod.o  failed"

The module's there in /lib/....    , I looked.   


> >X-cd-roast seems to work quite happily without it, though.
>
> That's because it accesses the device by (pseudo-)LUN, not through the
> block device /dev/scd0.

OK, so it's a useful confirmation that the hardware's all working, but that's 
all.   Though it certainly does seem to need ide-scsi to be present.  


How does one find what modules are working - does  lsmod   list them all?

Is it possible to 'switch off'  modules once installed?   It occurs to me I 
could switch off  ide-scsi and sg and see if I can get my  IDE  CD-ROM 
reading back.  

cr
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: How to mount CD-ROM?
  2002-10-31 13:29       ` cr
@ 2002-10-31 16:05         ` Ray Olszewski
  2002-11-18 10:58           ` cr
  0 siblings, 1 reply; 14+ messages in thread
From: Ray Olszewski @ 2002-10-31 16:05 UTC (permalink / raw)
  To: linux-newbie

At 02:29 AM 11/1/02 +1300, cr wrote:
>[...]

>I don't have enough info about your setup (kernel details,
> > mostly) to know why you are getting ghe "unresolved symbol" errors, but the
> > usual reasons are kernel-version mismatch or missing dependency. See what
> > effect "modprobe sr_mod" has.
>
>Same list of four   "unresolved symbol" errors, then
>"insmod /lib/modules/2.4.7-10/kernel/drivers/scsi/sr_mod.o  failed"
>
>The module's there in /lib/....    , I looked.

Yes, of course it is. The messages you are seeing say that some external 
function calls *in* the module cannot be resolved.

Usually this occurs because some other module that the one you are trying 
to load provides the missing functionality; modprobe is supposed to handle 
this for you (by consulting modules.dep and loading anything that is 
needed). After the unsuccessful modprobe, what does "lsmod" tell you about 
what is loaded? Is the module scsi_mod loaded, and what does the output say 
about what other modules are using it (the stuff in [] after the size)?

The other reason this occurs is because the module was compiled for a 
different kernel than the one loaded. Did you compile (or otherwise change) 
your kernel? If so, did you also compile (or otherwise change) modules, 
including sr_mod specifically?

> > >X-cd-roast seems to work quite happily without it, though.
> >
> > That's because it accesses the device by (pseudo-)LUN, not through the
> > block device /dev/scd0.
>
>OK, so it's a useful confirmation that the hardware's all working, but that's
>all.   Though it certainly does seem to need ide-scsi to be present.

Yes. A LUN is a scsi attribute, so you need ide-scsi to use it.

>How does one find what modules are working - does  lsmod   list them all?

Yes.

>Is it possible to 'switch off'  modules once installed?   It occurs to me I
>could switch off  ide-scsi and sg and see if I can get my  IDE  CD-ROM
>reading back.

Well, you can remove modules with "rmmod". I don't know how that interacts 
with the lilo.conf settings that tell the kernel to use ide-scsi emulation 
for an IDE device.




--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski					-- Han Solo
Palo Alto, California, USA			  ray@comarre.com
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: How to mount CD-ROM?
  2002-10-31 16:05         ` Ray Olszewski
@ 2002-11-18 10:58           ` cr
  2002-11-18 16:54             ` Ray Olszewski
                               ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: cr @ 2002-11-18 10:58 UTC (permalink / raw)
  To: Ray Olszewski, linux-newbie

Sorry for the long delay.   Real Life (TM) interfered with my investigations, 
and also a point you mentioned brought up a possible complication which I'll 
mention at the end...

On Friday 01 November 2002 05:05, Ray Olszewski wrote:
> At 02:29 AM 11/1/02 +1300, cr wrote:
> >[...]
> >
> >I don't have enough info about your setup (kernel details,
> >
> > > mostly) to know why you are getting ghe "unresolved symbol" errors, but
> > > the usual reasons are kernel-version mismatch or missing dependency.
> > > See what effect "modprobe sr_mod" has.
> >
> >Same list of four   "unresolved symbol" errors, then
> >"insmod /lib/modules/2.4.7-10/kernel/drivers/scsi/sr_mod.o  failed"
> >
> >The module's there in /lib/....    , I looked.
>
> Yes, of course it is. The messages you are seeing say that some external
> function calls *in* the module cannot be resolved.
>
> Usually this occurs because some other module that the one you are trying
> to load provides the missing functionality; modprobe is supposed to handle
> this for you (by consulting modules.dep and loading anything that is
> needed). After the unsuccessful modprobe, what does "lsmod" tell you about
> what is loaded? Is the module scsi_mod loaded, and what does the output say
> about what other modules are using it (the stuff in [] after the size)?

OK.   /sbin/lsmod gives:

Module                  Size  Used by
esssolo1               25376   0  (autoclean)
gameport                1840   0  (autoclean) [esssolo1]
soundcore               4208   4  (autoclean) [esssolo1]
binfmt_misc             6064   1 
autofs                 11232   0  (autoclean) (unused)
ipchains               36000   0 
nls_iso8859-1           2800   1  (autoclean)
nls_cp437               4320   1  (autoclean)
umsdos                 24832   1  (autoclean)
msdos                   5104   0  (autoclean) [umsdos]
fat                    31392   0  (autoclean) [umsdos msdos]
usb-ohci               17936   0  (unused)
usbcore                49792   1  [usb-ohci]
ext3                   61936   2 
jbd                    38976   2  [ext3]


Doing /sbin/modprobe sr_mod brings a string of 'unresolved symbol' messages 
and  "insmod sr_mod failed", and  lsmod indicates no change.

Trying to run X-CD-Roast gives an error message 'Failed to scan SCSI-bus' 
*but* lsmod indicates it's loaded a couple of modules:

Module                  Size  Used by
sg                     27488   0  (autoclean) (unused)
scsi_mod               92208   1  (autoclean) [sg]
esssolo1               25376   0  (autoclean)
..
..

Then (but not before), /sbin/insmod ide-scsi works, after which X-CD-Roast 
works.

However, trying to mount /mnt/cdrom still brings up a 'wrong fs type' 
message.   

>
> The other reason this occurs is because the module was compiled for a
> different kernel than the one loaded. Did you compile (or otherwise change)
> your kernel? If so, did you also compile (or otherwise change) modules,
> including sr_mod specifically?

No, I'm using the standard RedHat 7.2 distribution.   I'm not sufficiently 
confident to do alarming things to the kernel.   Or modules.    ;)

It looks maybe like sr_mod is the cause of the problem, since I can't seem to 
make it load.



Referring back to a previous message, you said

> If you do "ls -l /dev/scd0", the result should be approximately this (this 
> one is from my workstation):
>
>         brw-rw----    1 root     cdrom     11,   0 Jun 13  2001 /dev/scd0

My system gives 
brw-rw----    1 root     disk      11,   0 Aug 31  2001 scd0

I'm not sure if the 'disk' indicates a source of problems?


> >Is it possible to 'switch off'  modules once installed?   It occurs to me
> > I could switch off  ide-scsi and sg and see if I can get my  IDE  CD-ROM
> > reading back.
>
> Well, you can remove modules with "rmmod". I don't know how that interacts
> with the lilo.conf settings that tell the kernel to use ide-scsi emulation
> for an IDE device.

Actually it's grub.conf, since I'm booting with Grub - or trying to.   
/boot/grub/grub.conf says 

# 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.7-10)
	root (hd0,0)
	kernel /vmlinuz-2.4.7-10 ro root=/dev/hda2 hdb=ide-scsi
	initrd /initrd-2.4.7-10.img

HOWEVER, I'm not booting successfully off the hard drive, when I start up it 
says 'GRUB' and hangs.   (and the previous install where I was using lilo did 
the same).    So I'm booting off the floppy made at install time.   I presume 
that reads grub.conf, but I'm not sure of that.

(Trying to fix this was next on my To Do list after the CD-ROM drive).

I did wonder if the booting problem had any relevance to the cd-rom, but 
everything else on the system seems to work OK.   I hope it isn't something 
vitally relevant I should have mentioned.

Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: How to mount CD-ROM?
  2002-11-18 10:58           ` cr
@ 2002-11-18 16:54             ` Ray Olszewski
  2002-11-27 12:02               ` cr
  2002-11-23  1:18             ` lawson_whitney
  2002-11-23  1:18             ` whitnl73
  2 siblings, 1 reply; 14+ messages in thread
From: Ray Olszewski @ 2002-11-18 16:54 UTC (permalink / raw)
  To: linux-newbie

Comments inline.

At 11:58 PM 11/18/02 +1300, cr wrote:
>Sorry for the long delay.   Real Life (TM) interfered with my investigations,
>and also a point you mentioned brought up a possible complication which I'll
>mention at the end...

Perfectly understandable. I hope you will be equally understanding ... the 
long gap between my last message and your reply today means that I do not 
recall the details of the prior discussion very well. So please forgive me 
if I suggest here something I've already suggested (or you've previously 
tried).

>On Friday 01 November 2002 05:05, Ray Olszewski wrote:
> > At 02:29 AM 11/1/02 +1300, cr wrote:
> > >[...]
> > >
> > >I don't have enough info about your setup (kernel details,
> > >
> > > > mostly) to know why you are getting ghe "unresolved symbol" errors, but
> > > > the usual reasons are kernel-version mismatch or missing dependency.
> > > > See what effect "modprobe sr_mod" has.
> > >
> > >Same list of four   "unresolved symbol" errors, then
> > >"insmod /lib/modules/2.4.7-10/kernel/drivers/scsi/sr_mod.o  failed"
> > >
> > >The module's there in /lib/....    , I looked.
> >
> > Yes, of course it is. The messages you are seeing say that some external
> > function calls *in* the module cannot be resolved.
> >
> > Usually this occurs because some other module that the one you are trying
> > to load provides the missing functionality; modprobe is supposed to handle
> > this for you (by consulting modules.dep and loading anything that is
> > needed). After the unsuccessful modprobe, what does "lsmod" tell you about
> > what is loaded? Is the module scsi_mod loaded, and what does the output say
> > about what other modules are using it (the stuff in [] after the size)?
>
>OK.   /sbin/lsmod gives:
>
>Module                  Size  Used by
>esssolo1               25376   0  (autoclean)
>gameport                1840   0  (autoclean) [esssolo1]
>soundcore               4208   4  (autoclean) [esssolo1]
>binfmt_misc             6064   1
>autofs                 11232   0  (autoclean) (unused)
>ipchains               36000   0
>nls_iso8859-1           2800   1  (autoclean)
>nls_cp437               4320   1  (autoclean)
>umsdos                 24832   1  (autoclean)
>msdos                   5104   0  (autoclean) [umsdos]
>fat                    31392   0  (autoclean) [umsdos msdos]
>usb-ohci               17936   0  (unused)
>usbcore                49792   1  [usb-ohci]
>ext3                   61936   2
>jbd                    38976   2  [ext3]
>
>
>Doing /sbin/modprobe sr_mod brings a string of 'unresolved symbol' messages
>and  "insmod sr_mod failed", and  lsmod indicates no change.
>
>Trying to run X-CD-Roast gives an error message 'Failed to scan SCSI-bus'
>*but* lsmod indicates it's loaded a couple of modules:
>
>Module                  Size  Used by
>sg                     27488   0  (autoclean) (unused)
>scsi_mod               92208   1  (autoclean) [sg]
>esssolo1               25376   0  (autoclean)
>..
>..
>
>Then (but not before), /sbin/insmod ide-scsi works, after which X-CD-Roast
>works.

As I check my setup, it appears that sr_mod needs an argument that tells it 
what device to attach to. See if adding that helps. Here, as an example, is 
what I do (in /etc/modules)

         # the stuff to enable ide-scsi emulation for the CD-ROM
         scsi_mod
         sr_mod scd0
         sg
         ide-scsi

>However, trying to mount /mnt/cdrom still brings up a 'wrong fs type'
>message.

This is where my hazy memory of our prior discussion raises problems. Most 
lilely, this is the direct result of sr_mod not loading. So address that 
first off.

If that's not it ... is /etc/cdrom properly symlinked, probably to 
/dev/scd0? (I can't check my system for the right answer, because it has 
both a CD-R and a DVD drve, and /dev/cdrom symlinks to the DVD.) Does the 
same thing happen if you try to mount /dev/scd0 someplace.

> > The other reason this occurs is because the module was compiled for a
> > different kernel than the one loaded. Did you compile (or otherwise change)
> > your kernel? If so, did you also compile (or otherwise change) modules,
> > including sr_mod specifically?
>
>No, I'm using the standard RedHat 7.2 distribution.   I'm not sufficiently
>confident to do alarming things to the kernel.   Or modules.    ;)
>
>It looks maybe like sr_mod is the cause of the problem, since I can't seem to
>make it load.
>
>
>
>Referring back to a previous message, you said
>
> > If you do "ls -l /dev/scd0", the result should be approximately this (this
> > one is from my workstation):
> >
> >         brw-rw----    1 root     cdrom     11,   0 Jun 13  2001 /dev/scd0
>
>My system gives
>brw-rw----    1 root     disk      11,   0 Aug 31  2001 scd0
>
>I'm not sure if the 'disk' indicates a source of problems?

No. That's just a different practice with respect to the device's group; 
it's the kind of distro-to-distro difference that is commonplace. As long 
as you are doing your tests as root, it will be of no significance.


> > >Is it possible to 'switch off'  modules once installed?   It occurs to me
> > > I could switch off  ide-scsi and sg and see if I can get my  IDE  CD-ROM
> > > reading back.
> >
> > Well, you can remove modules with "rmmod". I don't know how that interacts
> > with the lilo.conf settings that tell the kernel to use ide-scsi emulation
> > for an IDE device.
>
>Actually it's grub.conf, since I'm booting with Grub - or trying to.
>/boot/grub/grub.conf says
>
># 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.7-10)
>         root (hd0,0)
>         kernel /vmlinuz-2.4.7-10 ro root=/dev/hda2 hdb=ide-scsi
>         initrd /initrd-2.4.7-10.img
>
>HOWEVER, I'm not booting successfully off the hard drive, when I start up it
>says 'GRUB' and hangs.   (and the previous install where I was using lilo did
>the same).    So I'm booting off the floppy made at install time.   I presume
>that reads grub.conf, but I'm not sure of that.
>
>(Trying to fix this was next on my To Do list after the CD-ROM drive).

I haven't the foggiest idea, as this question applies to grub, since I 
haven't used grub in years. Were you using lilo, the answer would be NO -- 
lilo.conf gets read by the *Linux* application called lilo (the program 
that installs the bootloader), but not by lilo-the-bootloader itself at 
boot time. But if you used this lilo.conf file when creating the bootdisk, 
you would be fine.

grub may be different, though. Certainly this comment in grub.conf -- "Note 
that you do not have to rerun grub after making changes to this file" -- 
suggests that it is; the analogous statement about lilo would NOT be true.

>I did wonder if the booting problem had any relevance to the cd-rom, but
>everything else on the system seems to work OK.   I hope it isn't something
>vitally relevant I should have mentioned.

Since you can burn CDs, enough of the ide-scsi stuff is being loaded to 
allow the burning application to find the drive on the pseudo-scsi bus. 
This means that problems at this level ae unlikely to exist. My best guess 
is that you are simply not loading sr_mod correctly.


--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski					-- Han Solo
Palo Alto, California, USA			  ray@comarre.com
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: How to mount CD-ROM?
  2002-11-18 10:58           ` cr
  2002-11-18 16:54             ` Ray Olszewski
  2002-11-23  1:18             ` lawson_whitney
@ 2002-11-23  1:18             ` whitnl73
  2 siblings, 0 replies; 14+ messages in thread
From: whitnl73 @ 2002-11-23  1:18 UTC (permalink / raw)
  To: cr; +Cc: ray, linux-newbie

On Mon, 18 Nov 2002, cr wrote:

> Sorry for the long delay.   Real Life (TM) interfered with my investigations,
> and also a point you mentioned brought up a possible complication which I'll
> mention at the end...
>
> Doing /sbin/modprobe sr_mod brings a string of 'unresolved symbol' messages
> and  "insmod sr_mod failed", and  lsmod indicates no change.
>
> Trying to run X-CD-Roast gives an error message 'Failed to scan SCSI-bus'
> *but* lsmod indicates it's loaded a couple of modules:
>
> Module                  Size  Used by
> sg                     27488   0  (autoclean) (unused)
> scsi_mod               92208   1  (autoclean) [sg]
> esssolo1               25376   0  (autoclean)
> ..
> ..
Hmmm, has root never run /sbin/depmod for this kernel to set up the
modules.dep file?  Try having it do so and see if modprobe works better.

>
> Then (but not before), /sbin/insmod ide-scsi works, after which X-CD-Roast
> works.
>
> However, trying to mount /mnt/cdrom still brings up a 'wrong fs type'
> message.
>
Well, what is in the /etc/fstab line that mentions /mnt/cdrom?

>
> Chris
> -

--
---oops---



________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: How to mount CD-ROM?
  2002-11-18 10:58           ` cr
  2002-11-18 16:54             ` Ray Olszewski
@ 2002-11-23  1:18             ` lawson_whitney
  2002-11-27 12:01               ` cr
  2002-11-23  1:18             ` whitnl73
  2 siblings, 1 reply; 14+ messages in thread
From: lawson_whitney @ 2002-11-23  1:18 UTC (permalink / raw)
  To: cr; +Cc: ray, linux-newbie

On Mon, 18 Nov 2002, cr wrote:

> Sorry for the long delay.   Real Life (TM) interfered with my investigations,
> and also a point you mentioned brought up a possible complication which I'll
> mention at the end...
>
> Doing /sbin/modprobe sr_mod brings a string of 'unresolved symbol' messages
> and  "insmod sr_mod failed", and  lsmod indicates no change.
>
> Trying to run X-CD-Roast gives an error message 'Failed to scan SCSI-bus'
> *but* lsmod indicates it's loaded a couple of modules:
>
> Module                  Size  Used by
> sg                     27488   0  (autoclean) (unused)
> scsi_mod               92208   1  (autoclean) [sg]
> esssolo1               25376   0  (autoclean)
> ..
> ..
Hmmm, has root never run /sbin/depmod for this kernel to set up the
modules.dep file?  Try having it do so and see if modprobe works better.

>
> Then (but not before), /sbin/insmod ide-scsi works, after which X-CD-Roast
> works.
>
> However, trying to mount /mnt/cdrom still brings up a 'wrong fs type'
> message.
>
Well, what is in the /etc/fstab line that mentions /mnt/cdrom?

>
> Chris
> -

--
---oops---



________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: How to mount CD-ROM?
  2002-11-23  1:18             ` lawson_whitney
@ 2002-11-27 12:01               ` cr
  0 siblings, 0 replies; 14+ messages in thread
From: cr @ 2002-11-27 12:01 UTC (permalink / raw)
  To: lawson_whitney; +Cc: ray, linux-newbie

There seem to be four copies of this message in my inbox.  Odd.

On Saturday 23 November 2002 14:18, lawson_whitney@juno.com wrote:
> On Mon, 18 Nov 2002, cr wrote:

> > Doing /sbin/modprobe sr_mod brings a string of 'unresolved symbol'
> > messages and  "insmod sr_mod failed", and  lsmod indicates no change.
> >
> > Trying to run X-CD-Roast gives an error message 'Failed to scan SCSI-bus'
> > *but* lsmod indicates it's loaded a couple of modules:
> >
> > Module                  Size  Used by
> > sg                     27488   0  (autoclean) (unused)
> > scsi_mod               92208   1  (autoclean) [sg]
> > esssolo1               25376   0  (autoclean)
> > ..
> > ..
>
> Hmmm, has root never run /sbin/depmod for this kernel to set up the
> modules.dep file?  Try having it do so and see if modprobe works better.

Apparently, root never has done that (root being me, with a plentiful supply 
of ignorance :)     I'm surprised it wasn't covered in the RedHat 
installation procedure.   

So root (me) ran it, and then tried 

modprobe scsi_mod
mount /mnt/cdrom

and it worked!

> > Then (but not before), /sbin/insmod ide-scsi works, after which
> > X-CD-Roast works.
> >
> > However, trying to mount /mnt/cdrom still brings up a 'wrong fs type'
> > message.
>
> Well, what is in the /etc/fstab line that mentions /mnt/cdrom?
>

Just for the record - 

/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,kudzu,ro 
0 0

However, now X-CD-roast has stopped working.   Even if I go and do a 
/sbin/insmod ide-scsi,  which worked previously, it now still tells me 
"Failed to scan the SCSI-bus"

Am I asking too much to want to read CD-ROM's *and* use X-CD-Roast on the 
same drive?   (Not simultaneously!)

I'll check the CD-writing HOWTO as X-CD-Roast's error message suggests and 
see if it gives any enlightenment.   I suspect I need to carefully figure out 
just what I've got loaded.

Regards

Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: How to mount CD-ROM?
  2002-11-18 16:54             ` Ray Olszewski
@ 2002-11-27 12:02               ` cr
  0 siblings, 0 replies; 14+ messages in thread
From: cr @ 2002-11-27 12:02 UTC (permalink / raw)
  To: Ray Olszewski, linux-newbie

On Tuesday 19 November 2002 05:54, Ray Olszewski wrote:
> Comments inline.
>
> At 11:58 PM 11/18/02 +1300, cr wrote:
> >Sorry for the long delay.   Real Life (TM) interfered with my
> > investigations, and also a point you mentioned brought up a possible
> > complication which I'll mention at the end...
>
> Perfectly understandable. I hope you will be equally understanding ... the
> long gap between my last message and your reply today means that I do not
> recall the details of the prior discussion very well. So please forgive me
> if I suggest here something I've already suggested (or you've previously
> tried).

The delay's my fault, and you're being helpful, I would be ungrateful indeed 
(and very silly) if I complained about minor repetitions.    :)

Having said that, as you may notice from my reply to Lawson, running depmod 
seems to have changed things somewhat in that  mount  now works and 
X-CD-Roast doesn't.   I think a little careful experimentation and checking 
is in order.


> >
> >Trying to run X-CD-Roast gives an error message 'Failed to scan SCSI-bus'
> >*but* lsmod indicates it's loaded a couple of modules:
> >
> >Module                  Size  Used by
> >sg                     27488   0  (autoclean) (unused)
> >scsi_mod               92208   1  (autoclean) [sg]
> >esssolo1               25376   0  (autoclean)
> >..
> >..
> >
> >Then (but not before), /sbin/insmod ide-scsi works, after which X-CD-Roast
> >works.
>
> As I check my setup, it appears that sr_mod needs an argument that tells it
> what device to attach to. See if adding that helps. Here, as an example, is
> what I do (in /etc/modules)
>
>          # the stuff to enable ide-scsi emulation for the CD-ROM
>          scsi_mod
>          sr_mod scd0
>          sg
>          ide-scsi

> >However, trying to mount /mnt/cdrom still brings up a 'wrong fs type'
> >message.
>
> This is where my hazy memory of our prior discussion raises problems. Most
> lilely, this is the direct result of sr_mod not loading. So address that
> first off.

Well, (apparently) as a result of running depmod, I can now mount /mnt/cdrom  
even though /sbin/lsmod does *not* show sr_mod to be loaded.   sg, scsi_mod 
and ide-scsi are loaded.

/sbin/insmod sr_mod scd0   works (i.e. sr_mod appears in the listing from 
lsmod) but seems to make no difference to mounting or X-CD-Roast.   

> If that's not it ... is /etc/cdrom properly symlinked, probably to
> /dev/scd0? (I can't check my system for the right answer, because it has
> both a CD-R and a DVD drve, and /dev/cdrom symlinks to the DVD.) Does the
> same thing happen if you try to mount /dev/scd0 someplace.

I think '/etc/cdrom' is a misprint?  /dev/cdrom is linked to /dev/hdb.

I tried mounting /dev/scd0, got /dev/scd0: unknown device.

It's rather late at night now, I'm not thinking too clearly.   I think I need 
to sit down and work this out carefully before I can ask any intelligent 
questions.   

Thanks

Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-11-27 12:02 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-29 11:46 How to mount CD-ROM? cr
2002-10-29 14:57 ` Arthur Othieno
2002-10-30  7:51   ` cr
2002-10-29 16:52 ` Ray Olszewski
2002-10-30  8:46   ` cr
2002-10-30 16:11     ` Ray Olszewski
2002-10-31 13:29       ` cr
2002-10-31 16:05         ` Ray Olszewski
2002-11-18 10:58           ` cr
2002-11-18 16:54             ` Ray Olszewski
2002-11-27 12:02               ` cr
2002-11-23  1:18             ` lawson_whitney
2002-11-27 12:01               ` cr
2002-11-23  1:18             ` whitnl73

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.