mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Can't mount SCSI CDROM in 2.4.*
@ 2000-11-23 23:04 Roland Orre
  0 siblings, 0 replies; 4+ messages in thread
From: Roland Orre @ 2000-11-23 23:04 UTC (permalink / raw)
  To: linux-kernel

Since I started running the 2.4.0-test kernels a couple of months ago
I'm not able to use my scsi cdrom and cdwriter.

Today I installed 2.4.0-test11, still the same problem.

bayes:/dev# ls -l /dev/scd0 
brw-rw----    1 root     cdrom     11,   0 Oct 21 04:53 /dev/scd0

bayes:/dev# mount -t iso9660 /dev/scd0 /cdrom
mount: /dev/scd0 has wrong major or minor number

bayes:/dev# mount -V
mount: mount-2.10o

Each time I want to access the cdrom or cdwriter I have to reboot w 2.2.17
where it works fine.

I've even tried with creating a generic block device
bayes:/dev# ls -l /dev/scg0 
brw-r--r--    1 root     root      21,   0 Nov 23 23:41 /dev/scg0

byes:/dev# mount -t iso9660 /dev/scg0 /cdrom
mount: /dev/scg0 has wrong major or minor number

Apart from this the 2.4.0-test kernels have been running very stable
for me. My systems are dual PII on ASUS PL97-DS and P2B-DS

According to Documentation/devices.txt nothing has changed according
major numbers for these devices from 2.2 to 2.4.

I'm grateful for any hint.

    Best regards
    Roland Orre
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: Can't mount SCSI CDROM in 2.4.*
@ 2000-11-25  2:29 Roland Orre
  0 siblings, 0 replies; 4+ messages in thread
From: Roland Orre @ 2000-11-25  2:29 UTC (permalink / raw)
  To: Douglas Gilbert; +Cc: linux-kernel

Doug Gilbert wrote:
> Roland,
> Assuming "sr" is a module and 'lsmod' doesn't
> show it as loaded then what does 'modprove sr_mod'
> report?

Thanks Doug, sometimes I'm totally blind it seems like. 
Of some reason (probably mine fault...) it seems as the flag
CONFIG_BLK_DEV_SR=y
which I've had enabled as long as I can remember of some reason was
missed when I transferred the .config file from 2.2.17 to  2.4.0

       Best regards
       Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: Can't mount SCSI CDROM in 2.4.*
@ 2000-11-24 16:11 Roland Orre
  0 siblings, 0 replies; 4+ messages in thread
From: Roland Orre @ 2000-11-24 16:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: Douglas Gilbert

Douglas Gilbert <dougg@torque.net> Fri Nov 24 wrote:
> Roland,
> What does 'cat /proc/scsi/scsi' output on your machine?
> Which SCSI adapter do you have?
> Doug Gilbert

My scsi adapter is adaptec 7880 on one machine and 7890 on
the other, i.e. driver is aic7xxx

This is what 'cat /proc/scsi/scsi' says when I've booted with 2.4.0-test11
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: DNES-318350W     Rev: SA30
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: PIONEER  Model: CD-ROM DR-U06S   Rev: 1.05
  Type:   CD-ROM                           ANSI SCSI revision: 02

And when I give the mount command:
bayes:~# mount -t iso9660 /dev/sr0 /cdrom
mount: /dev/sr0 has wrong major or minor number

And this is what 'cat /proc/scsi/scsi' says when I've booted with 2.2.17
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: DNES-318350W     Rev: SA30
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: PIONEER  Model: CD-ROM DR-U06S   Rev: 1.05
  Type:   CD-ROM                           ANSI SCSI revision: 02

And when I give the mount command then:
bayes:~# mount -t iso9660 /dev/sr0 /cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only
I.e. the mounting works fine.

And this is the other machine, at the moment running 2.4.0-test7
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: DRVS18V          Rev: 00E5
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: PIONEER  Model: DVD-ROM DVD-303  Rev: 1.10
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: YAMAHA   Model: CRW6416S         Rev: 1.0b
  Type:   CD-ROM                           ANSI SCSI revision: 02

bayes:/home/orre# mount -t iso9660 /dev/sr0 /cdrom
mount: /dev/sr0 has wrong major or minor number

As I said in last mail, major number= 11 and minor = 0, which is
in accordance with the documentation for both 2.2. and 2.4.

So what can this be? Can somebody that are running scsi cdrom/cdwriter
under 2.4.0-test* kernel send me a .config file so I can see if there
is any significant difference, if you don't have any other idea of
what it can be?

     Best regards
     Roland Orre
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Can't mount SCSI CDROM in 2.4.*
@ 2000-11-23 23:04 Roland Orre
  0 siblings, 0 replies; 4+ messages in thread
From: Roland Orre @ 2000-11-23 23:04 UTC (permalink / raw)
  To: linux-kernel

Since I started running the 2.4.0-test kernels a couple of months ago
I'm not able to use my scsi cdrom and cdwriter.

Today I installed 2.4.0-test11, still the same problem.

bayes:/dev# ls -l /dev/scd0 
brw-rw----    1 root     cdrom     11,   0 Oct 21 04:53 /dev/scd0

bayes:/dev# mount -t iso9660 /dev/scd0 /cdrom
mount: /dev/scd0 has wrong major or minor number

bayes:/dev# mount -V
mount: mount-2.10o

Each time I want to access the cdrom or cdwriter I have to reboot w 2.2.17
where it works fine.

I've even tried with creating a generic block device
bayes:/dev# ls -l /dev/scg0 
brw-r--r--    1 root     root      21,   0 Nov 23 23:41 /dev/scg0

byes:/dev# mount -t iso9660 /dev/scg0 /cdrom
mount: /dev/scg0 has wrong major or minor number

Apart from this the 2.4.0-test kernels have been running very stable
for me. My systems are dual PII on ASUS PL97-DS and P2B-DS

According to Documentation/devices.txt nothing has changed according
major numbers for these devices from 2.2 to 2.4.

I'm grateful for any hint.

    Best regards
    Roland Orre
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2000-11-25  3:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-23 23:04 Can't mount SCSI CDROM in 2.4.* Roland Orre
2000-11-23 23:04 Roland Orre
2000-11-24 16:11 Roland Orre
2000-11-25  2:29 Roland Orre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®