linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cdrecord reports size vs. capabilities error....
@ 2001-12-13 10:20 Jeff
  2001-12-14 11:12 ` Kristian Peters
  0 siblings, 1 reply; 9+ messages in thread
From: Jeff @ 2001-12-13 10:20 UTC (permalink / raw)
  To: kernel

This I believed may have been asked before, but I am new to this list
and I hope I can get it resolved.
I have a IDE CDR as hdb and a IDE CDRW as hdc, no problem. I know in
order to use cdrecord I must use ide-scsi, no problem as I had this
exact same setup working with cdrecord when this was a 2.2.x system. Ok,
I upgrade the hard drive, hda, and install 2.4.5 kernel from Slackware
8.0. I always install just what I need,and install things as I need
them, usually from source. That's how you learn.
Ok, I need cdrecord working. No problem, I've done this before. Get the
cdrtools-1.10.tar.gz and have at. builds no problem. Build kernel with
scsi emulation, put the append command in lilo.conf, do the modules.conf
thing and link /dev/cdrom to /dev/scd0 and /dev/cdrw to /dev/scd1.
Reboot and I can mount both /dev/cdrom and /dev/cdrw as ro filesystems.
lsmod shows:
Module                  Size  Used by
isofs                  18032   1  (autoclean)
sr_mod                 13024   1  (autoclean)
sg                     21408   0  (autoclean)
ide-scsi                7904   1 
ide-cd                 26432   0 
cdrom                  27520   0  [sr_mod ide-cd]
scsi_mod               81904   3  (autoclean) [sr_mod sg ide-scsi]
3c59x                  24224   1 

Ok, I try cdrecord -scanbus, and get he following warning:
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.1.17
Using libscg version 'schily-0.5'
scsibus0:
cdrecord: Warning: controller returns wrong size for CD capabilities
page.
        0,0,0     0) 'E-IDE   ' 'CD-ROM 50X      ' '50  ' Removable
CD-ROM
        0,1,0     1) 'HP      ' 'CD-Writer+ 9100 ' '1.0c' Removable
CD-ROM
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
Where did the Warning: come from? Trying to burn from xcdroast causes an
error box stating the same and refuses to write.
I did everything like the cd writer how-to specifies, just like I did
before, I think? Did I miss something?

I google searched and found plenty of postings with the same problem,
but couldn't find any with the answer. One thing I did notice that they
all involved 2.4.x kernel. Is that  the problem?

Jeff
piercejhsd009@earthlink.net

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

* Re: cdrecord reports size vs. capabilities error....
  2001-12-13 10:20 cdrecord reports size vs. capabilities error Jeff
@ 2001-12-14 11:12 ` Kristian Peters
  2001-12-14 11:42   ` Wakko Warner
  0 siblings, 1 reply; 9+ messages in thread
From: Kristian Peters @ 2001-12-14 11:12 UTC (permalink / raw)
  To: Jeff; +Cc: kernel

Jeff wrote:

> cdrecord: Warning: controller returns wrong size for CD capabilities
> page.
>         0,0,0     0) 'E-IDE   ' 'CD-ROM 50X      ' '50  ' Removable
> CD-ROM

Correct me if I'm wrong, but that looks like cdrecord doesn't recognize your 
cd-rom correctly. Do you have added that drive also to your lilo.conf ?

Normally it would be enough to load the modules without any specific parameters.

Could you post your dmesg-output + lilo.conf parameters if possible ?

*Kristian


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

* Re: cdrecord reports size vs. capabilities error....
  2001-12-14 11:12 ` Kristian Peters
@ 2001-12-14 11:42   ` Wakko Warner
  2001-12-14 14:34     ` Kristian Peters
  0 siblings, 1 reply; 9+ messages in thread
From: Wakko Warner @ 2001-12-14 11:42 UTC (permalink / raw)
  To: Kristian Peters; +Cc: Jeff, kernel

> > cdrecord: Warning: controller returns wrong size for CD capabilities
> > page.
> >         0,0,0     0) 'E-IDE   ' 'CD-ROM 50X      ' '50  ' Removable
> > CD-ROM

I get this same thing with a scsi cdrom at work.  I have 2 of the exact same
drives.  a Teac cd-535s v1.0a  the first one I get that message, the second
works.  However, the first one won't pull the tray back in via software.

> Correct me if I'm wrong, but that looks like cdrecord doesn't recognize your 
> cd-rom correctly. Do you have added that drive also to your lilo.conf ?
> 
> Normally it would be enough to load the modules without any specific parameters.
> 
> Could you post your dmesg-output + lilo.conf parameters if possible ?
-- 
 Lab tests show that use of micro$oft causes cancer in lab animals

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

* Re: cdrecord reports size vs. capabilities error....
  2001-12-14 11:42   ` Wakko Warner
@ 2001-12-14 14:34     ` Kristian Peters
  2001-12-14 14:50       ` war
  2001-12-14 21:59       ` Wakko Warner
  0 siblings, 2 replies; 9+ messages in thread
From: Kristian Peters @ 2001-12-14 14:34 UTC (permalink / raw)
  To: Wakko Warner; +Cc: Kristian Peters, Jeff, kernel

Wakko Warner wrote:

> I get this same thing with a scsi cdrom at work.  I have 2 of the exact same
> drives.  a Teac cd-535s v1.0a  the first one I get that message, the second
> works.  However, the first one won't pull the tray back in via software.


Is the first drive connected to /dev/hdb ? Does eject work on /dev/scd0 or 
/dev/hdb ?

*Kristian


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

* Re: cdrecord reports size vs. capabilities error....
  2001-12-14 14:34     ` Kristian Peters
@ 2001-12-14 14:50       ` war
  2001-12-14 22:01         ` Wakko Warner
  2001-12-14 21:59       ` Wakko Warner
  1 sibling, 1 reply; 9+ messages in thread
From: war @ 2001-12-14 14:50 UTC (permalink / raw)
  To: Kristian Peters; +Cc: Wakko Warner, Jeff, kernel

That just means it is not a standard compliant CDRW drive.
I've asked Joerg Schilling about this and that's what he said.
I get the same thing.

Linux sg driver version: 3.1.20
Using libscg version 'schily-0.5'
scsibus0:
        0,0,0     0) *
        0,1,0     1) *
        0,2,0     2) 'IOMEGA  ' 'ZIP 100         ' 'J.03' Removable Disk
        0,3,0     3) 'MATSHITA' 'CD-ROM CR-8008  ' '8.0e' Removable CD-ROM
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) '        ' 'SMART100X/2400  ' '1.44' Removable CD-ROM
        1,1,0   101) 'PLEXTOR ' 'CD-R   PX-W1210A' '1.09' Removable CD-ROM
cdrecord: Warning: controller returns wrong size for CD capabilities page.
        1,2,0   102) 'MATSHITA' 'CD-ROM CR-581-M ' '1.05' Removable CD-ROM
        1,3,0   103) 'HP      ' 'CD-Writer+ 7500 ' '1.0a' Removable CD-ROM
        1,4,0   104) 'SONY    ' 'CD-ROM CDU77E-Q ' '1.3a' Removable CD-ROM
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *


Kristian Peters wrote:

> Wakko Warner wrote:
>
> > I get this same thing with a scsi cdrom at work.  I have 2 of the exact same
> > drives.  a Teac cd-535s v1.0a  the first one I get that message, the second
> > works.  However, the first one won't pull the tray back in via software.
>
> Is the first drive connected to /dev/hdb ? Does eject work on /dev/scd0 or
> /dev/hdb ?
>
> *Kristian
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" 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.tux.org/lkml/


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

* Re: cdrecord reports size vs. capabilities error....
  2001-12-14 14:34     ` Kristian Peters
  2001-12-14 14:50       ` war
@ 2001-12-14 21:59       ` Wakko Warner
  1 sibling, 0 replies; 9+ messages in thread
From: Wakko Warner @ 2001-12-14 21:59 UTC (permalink / raw)
  To: Kristian Peters; +Cc: Jeff, kernel

> > I get this same thing with a scsi cdrom at work.  I have 2 of the exact same
> > drives.  a Teac cd-535s v1.0a  the first one I get that message, the second
> > works.  However, the first one won't pull the tray back in via software.
> 
> 
> Is the first drive connected to /dev/hdb ? Does eject work on /dev/scd0 or 
> /dev/hdb ?

Those drives are scsi drives, not IDE.  they are the exact same drive but on
different scsi controllers.  I *HAVE* swapped them, it's the drive.

The scsi controllers are both adaptec aha-2940u cards.

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals

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

* Re: cdrecord reports size vs. capabilities error....
  2001-12-14 14:50       ` war
@ 2001-12-14 22:01         ` Wakko Warner
  2001-12-15  2:48           ` war
  0 siblings, 1 reply; 9+ messages in thread
From: Wakko Warner @ 2001-12-14 22:01 UTC (permalink / raw)
  To: war; +Cc: Kristian Peters, Jeff, kernel

> That just means it is not a standard compliant CDRW drive.
> I've asked Joerg Schilling about this and that's what he said.
> I get the same thing.
> 
> Linux sg driver version: 3.1.20
> Using libscg version 'schily-0.5'
> scsibus0:
>         0,0,0     0) *
>         0,1,0     1) *
>         0,2,0     2) 'IOMEGA  ' 'ZIP 100         ' 'J.03' Removable Disk
>         0,3,0     3) 'MATSHITA' 'CD-ROM CR-8008  ' '8.0e' Removable CD-ROM
>         0,4,0     4) *
>         0,5,0     5) *
>         0,6,0     6) *
>         0,7,0     7) *
> scsibus1:
>         1,0,0   100) '        ' 'SMART100X/2400  ' '1.44' Removable CD-ROM
>         1,1,0   101) 'PLEXTOR ' 'CD-R   PX-W1210A' '1.09' Removable CD-ROM
> cdrecord: Warning: controller returns wrong size for CD capabilities page.
>         1,2,0   102) 'MATSHITA' 'CD-ROM CR-581-M ' '1.05' Removable CD-ROM
>         1,3,0   103) 'HP      ' 'CD-Writer+ 7500 ' '1.0a' Removable CD-ROM
>         1,4,0   104) 'SONY    ' 'CD-ROM CDU77E-Q ' '1.3a' Removable CD-ROM
>         1,5,0   105) *
>         1,6,0   106) *
>         1,7,0   107) *

Ok, but why would having 2 identical cdroms be different?  they both have
the same firmware, yet cdrecord -scanbus shows one of them with the wrong
size thing.  There's 2 scsi controllers, but if I swap them, the wrong size
stays with the drive, not the controller.

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals

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

* Re: cdrecord reports size vs. capabilities error....
  2001-12-14 22:01         ` Wakko Warner
@ 2001-12-15  2:48           ` war
  2001-12-15  9:28             ` Jeff
  0 siblings, 1 reply; 9+ messages in thread
From: war @ 2001-12-15  2:48 UTC (permalink / raw)
  To: Wakko Warner; +Cc: Kristian Peters, Jeff, kernel

Yeah, when I switched controllers etc it puts the message in different spots.
I'm not sure why it does that.
You'll have to ask the guy who wrote the driver I guess.


Wakko Warner wrote:

> > That just means it is not a standard compliant CDRW drive.
> > I've asked Joerg Schilling about this and that's what he said.
> > I get the same thing.
> >
> > Linux sg driver version: 3.1.20
> > Using libscg version 'schily-0.5'
> > scsibus0:
> >         0,0,0     0) *
> >         0,1,0     1) *
> >         0,2,0     2) 'IOMEGA  ' 'ZIP 100         ' 'J.03' Removable Disk
> >         0,3,0     3) 'MATSHITA' 'CD-ROM CR-8008  ' '8.0e' Removable CD-ROM
> >         0,4,0     4) *
> >         0,5,0     5) *
> >         0,6,0     6) *
> >         0,7,0     7) *
> > scsibus1:
> >         1,0,0   100) '        ' 'SMART100X/2400  ' '1.44' Removable CD-ROM
> >         1,1,0   101) 'PLEXTOR ' 'CD-R   PX-W1210A' '1.09' Removable CD-ROM
> > cdrecord: Warning: controller returns wrong size for CD capabilities page.
> >         1,2,0   102) 'MATSHITA' 'CD-ROM CR-581-M ' '1.05' Removable CD-ROM
> >         1,3,0   103) 'HP      ' 'CD-Writer+ 7500 ' '1.0a' Removable CD-ROM
> >         1,4,0   104) 'SONY    ' 'CD-ROM CDU77E-Q ' '1.3a' Removable CD-ROM
> >         1,5,0   105) *
> >         1,6,0   106) *
> >         1,7,0   107) *
>
> Ok, but why would having 2 identical cdroms be different?  they both have
> the same firmware, yet cdrecord -scanbus shows one of them with the wrong
> size thing.  There's 2 scsi controllers, but if I swap them, the wrong size
> stays with the drive, not the controller.
>
> --
>  Lab tests show that use of micro$oft causes cancer in lab animals


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

* Re: cdrecord reports size vs. capabilities error....
  2001-12-15  2:48           ` war
@ 2001-12-15  9:28             ` Jeff
  0 siblings, 0 replies; 9+ messages in thread
From: Jeff @ 2001-12-15  9:28 UTC (permalink / raw)
  To: war; +Cc: Wakko Warner, Kristian Peters, kernel

I guess the problem was in my module.conf file, I forgot to add alias
scd1 sr_mod. I didn't remember the capabilities error from before. The
warning is still there in scanbus, but everything is now working
correctly.
Thanks to everybody for their help.

war wrote:
> 
> Yeah, when I switched controllers etc it puts the message in different spots.
> I'm not sure why it does that.
> You'll have to ask the guy who wrote the driver I guess.
> 
> Wakko Warner wrote:
> 
> > > That just means it is not a standard compliant CDRW drive.
> > > I've asked Joerg Schilling about this and that's what he said.
> > > I get the same thing.
> > >
> > > Linux sg driver version: 3.1.20
> > > Using libscg version 'schily-0.5'
> > > scsibus0:
> > >         0,0,0     0) *
> > >         0,1,0     1) *
> > >         0,2,0     2) 'IOMEGA  ' 'ZIP 100         ' 'J.03' Removable Disk
> > >         0,3,0     3) 'MATSHITA' 'CD-ROM CR-8008  ' '8.0e' Removable CD-ROM
> > >         0,4,0     4) *
> > >         0,5,0     5) *
> > >         0,6,0     6) *
> > >         0,7,0     7) *
> > > scsibus1:
> > >         1,0,0   100) '        ' 'SMART100X/2400  ' '1.44' Removable CD-ROM
> > >         1,1,0   101) 'PLEXTOR ' 'CD-R   PX-W1210A' '1.09' Removable CD-ROM
> > > cdrecord: Warning: controller returns wrong size for CD capabilities page.
> > >         1,2,0   102) 'MATSHITA' 'CD-ROM CR-581-M ' '1.05' Removable CD-ROM
> > >         1,3,0   103) 'HP      ' 'CD-Writer+ 7500 ' '1.0a' Removable CD-ROM
> > >         1,4,0   104) 'SONY    ' 'CD-ROM CDU77E-Q ' '1.3a' Removable CD-ROM
> > >         1,5,0   105) *
> > >         1,6,0   106) *
> > >         1,7,0   107) *
> >
> > Ok, but why would having 2 identical cdroms be different?  they both have
> > the same firmware, yet cdrecord -scanbus shows one of them with the wrong
> > size thing.  There's 2 scsi controllers, but if I swap them, the wrong size
> > stays with the drive, not the controller.
> >
> > --
> >  Lab tests show that use of micro$oft causes cancer in lab animals
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" 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.tux.org/lkml/

Jeff
piercejhsd009@earthlink.net

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

end of thread, other threads:[~2001-12-15 19:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-13 10:20 cdrecord reports size vs. capabilities error Jeff
2001-12-14 11:12 ` Kristian Peters
2001-12-14 11:42   ` Wakko Warner
2001-12-14 14:34     ` Kristian Peters
2001-12-14 14:50       ` war
2001-12-14 22:01         ` Wakko Warner
2001-12-15  2:48           ` war
2001-12-15  9:28             ` Jeff
2001-12-14 21:59       ` Wakko Warner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).