CD-RW weirdness

CD-RW weirdness

Post by elli.. » Wed, 10 May 2000 04:00:00



I'm having trouble with my CD-RW drive.  On boot, I get a slew of
"hdd: driver not present" messages.  I can burn to it with XCDRoast,
but I can't mount the cd after burning it.  (It mounts fine in my
CDROM, though -- hdc -- so I know the burn went OK.)  The message I
get trying to mount is
mount: /dev/cdrom2 is not a valid block device

The /dev entries are like this:
lrwxrwxrwx   1 root     root            3 May  3 14:10 cdrom -> hdc
lrwxrwxrwx   1 root     root            3 May  9 00:04 cdrom2 -> hdd

I saw a post here saying that Mandrake 7's got some fugly ide /
ide-scsi emulation set up here, and indeed I remember XCDRoast
configured to use the SCSI IDE driver mmc.  So I changed the
/etc/fstab entry to use /dev/scd0 instead of /dev/cdrom2.
Great, it mounted fine.  I unmounted the disk.  When I tried to
mount it again later, I got
mount: /dev/scd0 has wrong major or minor number

What is going on here?

-Jonathan

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

CD-RW weirdness

Post by John Travi » Wed, 10 May 2000 04:00:00



> I'm having trouble with my CD-RW drive.  On boot, I get a slew of
> "hdd: driver not present" messages.  I can burn to it with XCDRoast,
> but I can't mount the cd after burning it.  (It mounts fine in my
> CDROM, though -- hdc -- so I know the burn went OK.)  The message I
> get trying to mount is
> mount: /dev/cdrom2 is not a valid block device

> The /dev entries are like this:
> lrwxrwxrwx   1 root     root            3 May  3 14:10 cdrom -> hdc
> lrwxrwxrwx   1 root     root            3 May  9 00:04 cdrom2 -> hdd

> I saw a post here saying that Mandrake 7's got some fugly ide /
> ide-scsi emulation set up here, and indeed I remember XCDRoast
> configured to use the SCSI IDE driver mmc.  So I changed the
> /etc/fstab entry to use /dev/scd0 instead of /dev/cdrom2.
> Great, it mounted fine.  I unmounted the disk.  When I tried to
> mount it again later, I got
> mount: /dev/scd0 has wrong major or minor number

> What is going on here?

> -Jonathan

> Sent via Deja.com http://www.deja.com/
> Before you buy.

All I had to do was fix the link to my burner the install created (i.e.
make it point to a scsi).  I just typed <ln -sf /dev/scd0 /dev/cdrom2>
(as root).

hope this could be of some help,

jt

 
 
 

CD-RW weirdness

Post by elli.. » Wed, 10 May 2000 04:00:00




Quote:> All I had to do was fix the link to my burner the install created
(i.e.
> make it point to a scsi).  I just typed <ln -sf /dev/scd0 /dev/cdrom2>
> (as root).

I tried that, too.  Same "magic number" error.  After rebooting
this morning, though, I'm getting a much more fun error:
mount: the kernel does not recognize /dev/cdrom2 as a block device
       (maybe `insmod driver'?)

The crazy thing is that cdrecord can see the disk's contents just
fine -- both on /dev/hdd, and on /dev/scd0!

-Jonathan

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

CD-RW weirdness

Post by al » Wed, 10 May 2000 04:00:00





> > All I had to do was fix the link to my burner the install created
> (i.e.
> > make it point to a scsi).  I just typed <ln -sf /dev/scd0 /dev/cdrom2>
> > (as root).

> I tried that, too.  Same "magic number" error.  After rebooting
> this morning, though, I'm getting a much more fun error:
> mount: the kernel does not recognize /dev/cdrom2 as a block device
>        (maybe `insmod driver'?)

> The crazy thing is that cdrecord can see the disk's contents just
> fine -- both on /dev/hdd, and on /dev/scd0!

#1
ide-scsi maps to /dev/srx not /dev/scx

use /dev/sr0 for /dev/hdc (or your first cd-ROM or RW)
use /dev/sr1 for /dev/hdd(or your second     ""           "" )

 
 
 

CD-RW weirdness

Post by elli.. » Thu, 11 May 2000 04:00:00



for /dev/hdc (or your first cd-ROM or RW)

Quote:> use /dev/sr1 for /dev/hdd(or your second     ""           "" )

Okay:
# mount /dev/sr0 /mnt/cdrom2
mount: the kernel does not recognize /dev/sr0 as a block device
       (maybe `insmod driver'?)

I guess I'm missing something really basing here on how to associate
/dev files with the appropriate modules.

-Jonathan

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

CD-RW weirdness

Post by delete » Thu, 11 May 2000 04:00:00




> for /dev/hdc (or your first cd-ROM or RW)
> > use /dev/sr1 for /dev/hdd(or your second     ""           "" )

> Okay:
> # mount /dev/sr0 /mnt/cdrom2
> mount: the kernel does not recognize /dev/sr0 as a block device
>        (maybe `insmod driver'?)

> I guess I'm missing something really basing here on how to associate
> /dev files with the appropriate modules.

> -Jonathan

> Sent via Deja.com http://www.deja.com/
> Before you buy.

You need to load the driver.  In a console as su type modprobe ide-scsi,
then try to mount again.

lvegas

 
 
 

CD-RW weirdness

Post by Tero Niem » Thu, 11 May 2000 04:00:00




> for /dev/hdc (or your first cd-ROM or RW)
> > use /dev/sr1 for /dev/hdd(or your second     ""           "" )

> Okay:
> # mount /dev/sr0 /mnt/cdrom2
> mount: the kernel does not recognize /dev/sr0 as a block device
>        (maybe `insmod driver'?)

> I guess I'm missing something really basing here on how to associate
> /dev files with the appropriate modules.

> -Jonathan

    Like I said in one of my messages, check that you don't have amd
running, if you
    do, get rid of it. Then do modprobe ide-scsi
 
 
 

1. broken 2.2 IDE CD-RW (was Re: plain 2.2.X: no ide CD-RW?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Sorry, I was referring to the backport of the 2.4 IDE code to 2.2.
I'm currently using ide.2.2.19.05042001 successfully, which I got from:

  ftp://ftp.us.kernel.org:/pub/linux/kernel/people/hedrick/ide-2.2.19

I've used several similar patches, though.  Stock 2.4 kernels work
fine with my CD-RW as well; however, I've now discovered that plain
2.2 kernels do not.  This could easily be a long-standing problem,
probably at least a year old - I've only recently stumbled across it,
though.

Since I have a solution (use the 2.4 IDE backport), this isn't
critical; however, since many people still rely on 2.2, and I'd like
to use a stock 2.2 kernel if possible, I'm willing to spend some time
debugging this.

Thanks!

  --Anil

(A bit of background: Before I got my CD-RW drive last summer, I
bought an OnStream DI-30 drive.  This drive was then only supported on
2.2 with the 2.4 IDE backport, and so I've used this drive
successfully with 2.2.16 + 2.4 IDE patch, and a similar combination
since.  Since stock 2.2.19+ now support this drive through the osst
patch, I thought I'd try it out.  It does work, but at the cost of
losing my CD-RW.)

- --

http://www.cs.unm.edu/~soma
+1 505 872 3150
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iEYEARECAAYFAjs2h2AACgkQXOpXEmNZ3SfOlwCfb+it3YQrmO2e9q14AZMhcdZo
M+0An3Mi8aoEkvjD5vhC3Hc6yaICrMDE
=cV6C
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. digital radio

3. SCSI CD-RW: yamaha 4416s: HowTo REWrite CD-RW's?

4. Anyone know which sun newsgroup might have some device driver info

5. CD-RW support specifically with NEC NR 7700A CD-RW drive

6. VFind from CyberSoft

7. ide-scsi cd-rw woes (creative cd-rw blaster)

8. Netscape segfault

9. Sony DVD-RW/CD-RW drive problems

10. CD-RW or DVD(+-)RW?

11. CD-RW drives as rw filesystems?

12. Reading CD-R & CD-RW with an ATAPI HP 7200e CD-Writer on RH 6.0...

13. Ricoh CD, CD-R, CD-RW and DVD drive