Re: problems with xcdroast + ide-scsi

2003-11-26 Thread Thomas Niederreiter
On Mon, Nov 17, 2003 at 10:50:46PM +0100, obarrot wrote:
> Hi, I can't use my CD-ATAPI cdrom with xcdroast + the ide-scsi.o module
> 

Judging from the version of cdrecord you used, I guess you are using
a really ancient version of xcdroast. (alpha9? current is alpha15)

One that does not support ATAPI devices directly. 

Regards,

Thomas

  ___ ___   
 /   |   \  ___   | REAL   : Thomas Niederreiter: Munich, Germany  
/~\/  _ \_  __ \  | EMAIL  : [EMAIL PROTECTED] 
\Y(  <_> )  | \/  | WEB: www.xcdroast.org  
 \___|_  / \/|__| | 
   \/ All I want is a warm bed and a kind word and unlimited power 
  -- Ashleigh Brilliant




Re: problems with xcdroast + ide-scsi

2003-11-26 Thread Thomas Niederreiter
On Mon, Nov 17, 2003 at 10:50:46PM +0100, obarrot wrote:
> Hi, I can't use my CD-ATAPI cdrom with xcdroast + the ide-scsi.o module
> 

Judging from the version of cdrecord you used, I guess you are using
a really ancient version of xcdroast. (alpha9? current is alpha15)

One that does not support ATAPI devices directly. 

Regards,

Thomas

  ___ ___   
 /   |   \  ___   | REAL   : Thomas Niederreiter: Munich, Germany  
/~\/  _ \_  __ \  | EMAIL  : [EMAIL PROTECTED] 
\Y(  <_> )  | \/  | WEB: www.xcdroast.org  
 \___|_  / \/|__| | 
   \/ All I want is a warm bed and a kind word and unlimited power 
  -- Ashleigh Brilliant



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: problems with xcdroast + ide-scsi

2003-11-19 Thread Lourens Veen
On Tue 18 November 2003 23:22, Volker Kuhlmann wrote:
> > > I can't. xcdroast doesn't recognize non-SCSI devices, that's
> > > why I've switched to SCSI
> >
> > Hmm, and neither does readcd on inspection.
>
> readcd pretty much supports the same device specification as
> cdrecord, which means IDE drives can be accessed with
> dev=ATAPI:x,y,z. Run cdrecord dev=ATAPI: -scanbus. Unfortunately
> using ATAPI: changes the designation of the SCSI devices, so you
> have to memorise 2 sets of numbers (IMO device names could be
> seriously improved).

Aha. Yeah, that works. Thanks!

Lourens
-- 
GPG public key: http://home.student.utwente.nl/l.e.veen/lourens.key



Re: problems with xcdroast + ide-scsi

2003-11-19 Thread Lourens Veen
On Tue 18 November 2003 23:22, Volker Kuhlmann wrote:
> > > I can't. xcdroast doesn't recognize non-SCSI devices, that's
> > > why I've switched to SCSI
> >
> > Hmm, and neither does readcd on inspection.
>
> readcd pretty much supports the same device specification as
> cdrecord, which means IDE drives can be accessed with
> dev=ATAPI:x,y,z. Run cdrecord dev=ATAPI: -scanbus. Unfortunately
> using ATAPI: changes the designation of the SCSI devices, so you
> have to memorise 2 sets of numbers (IMO device names could be
> seriously improved).

Aha. Yeah, that works. Thanks!

Lourens
-- 
GPG public key: http://home.student.utwente.nl/l.e.veen/lourens.key


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: problems with xcdroast + ide-scsi

2003-11-18 Thread Rob Bogus

If you like to buy a single format writer
obarrot wrote:
Hi, I can't use my CD-ATAPI cdrom with xcdroast + the ide-scsi.o module
I had to disable DMA on this CD drive as any operation on the device 
freezed totally the
machine!
now I can mount & acccess this /dev/sg1 device ok but readcd does 
detect a garbled disk:
a music disk instead of a data disk (see below)

any hints? 
Do you by chance have an IDE device on the same cable as the burner? If 
so, and it's a CD, you *may* be able to work it by something like 
"hdc=ide-cd hdd=ide-scsi" or some such. Or just buy a cheap IDE card and 
don't mix!

--
E. Robert Bogusta
 It seemed like a good idea at the time



Re: problems with xcdroast + ide-scsi

2003-11-18 Thread Rob Bogus


If you like to buy a single format writer

obarrot wrote:

Hi, I can't use my CD-ATAPI cdrom with xcdroast + the ide-scsi.o module

I had to disable DMA on this CD drive as any operation on the device 
freezed totally the
machine!
now I can mount & acccess this /dev/sg1 device ok but readcd does 
detect a garbled disk:
a music disk instead of a data disk (see below)

any hints? 
Do you by chance have an IDE device on the same cable as the burner? If 
so, and it's a CD, you *may* be able to work it by something like 
"hdc=ide-cd hdd=ide-scsi" or some such. Or just buy a cheap IDE card and 
don't mix!

--
E. Robert Bogusta
 It seemed like a good idea at the time


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: problems with xcdroast + ide-scsi

2003-11-18 Thread Volker Kuhlmann
> > I can't. xcdroast doesn't recognize non-SCSI devices, that's why
> > I've switched to SCSI
> 
> Hmm, and neither does readcd on inspection.

readcd pretty much supports the same device specification as cdrecord,
which means IDE drives can be accessed with dev=ATAPI:x,y,z. Run
cdrecord dev=ATAPI: -scanbus. Unfortunately using ATAPI: changes the
designation of the SCSI devices, so you have to memorise 2 sets of
numbers (IMO device names could be seriously improved).

Volker

-- 
Volker Kuhlmann is possibly list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.



Re: problems with xcdroast + ide-scsi

2003-11-18 Thread Lourens Veen
On Tue 18 November 2003 21:15, obarrot wrote:
> >Random thoughts:
> >
> >- Try getting the latest version of cdrtools, and compile and
> >install them from source
>
> I'll try what you suggest

Okay. I'm starting to suspect the kernel and/or setup though, so 
this is probably not top priority.

> >- From your lsmod output, ide-scsi isn't loaded?
>
> that's right. it's a copy/paste typo

Ok.

> >- The error message "Warning: controller returns wrong size for
> > CD capabilities page." could be due to a firmware bug
> >
> >- The output from readcd you pasted seems to be fine. Does it
> > read it correctly?
>
> no, the PC freezes after a few minutes and the output can't be
> read with -o loop

Hmm. Freezing, but only after a few minutes. Could be an IRQ 
problem, but then that's done by the controller, not the drive. 
Maybe a chipset problem? See below...

> >- "DGB10: readtoc: no MMC" seems to say that the drive is not
> > MMC compliant. If this is an old Goldstar drive, you may need
> > the gscd.o kernel module.
> >
> >- How is the drive attached to the system? What kind of
> > mainboard do you have?
>
> you're right, it's an old IDE ATAPI Goldstar drive attached on
> the mother board ctler (secondary slave)
> I also have a Traxdata CD writer attached to SCSI (only device in
> the chain).
> My MB is a DFI K6BV3+, VIA MVP3 chipset + with K6-2/500

Make sure you've got VIA chipset support enabled in your kernel, and 
perhaps enable PCI Quirks as well. See 
Documentation/sound/VIA-chipset about that.

> >- Does it work without ide-scsi, ie with ide-cd? If so, you
> > could add the line
>
> yes, it used to work that way before I swithed to ide-scsi.o. 
> I'll try the gscd.o driver
>
> >options ide-cd ignore=hdx
> >
> >with hdx the device of your writer, to use the reader with
> > ide-cd and the writer with ide-scsi. This is not a solution,
> > but may be a workaround.
>
> I can't. xcdroast doesn't recognize non-SCSI devices, that's why
> I've switched to SCSI

Hmm, and neither does readcd on inspection. Sorry about that, it 
works for me because I only use my reader to rip audio CDs with 
cdparanoia, and my burner to burn ISOs from the net, and backups. 
If I want to read an image off a CD, I just use the burner. But 
ofcourse that's no good for on-the-fly copying.

Anyway, I'd go with the kernel configuration first. If that doesn't 
work, I suggest asking for help on lkml, this sounds like a 
kernel/hardware problem rather than a problem with readcd.

Lourens
-- 
GPG public key: http://home.student.utwente.nl/l.e.veen/lourens.key



Re: problems with xcdroast + ide-scsi

2003-11-18 Thread Volker Kuhlmann
> > I can't. xcdroast doesn't recognize non-SCSI devices, that's why
> > I've switched to SCSI
> 
> Hmm, and neither does readcd on inspection.

readcd pretty much supports the same device specification as cdrecord,
which means IDE drives can be accessed with dev=ATAPI:x,y,z. Run
cdrecord dev=ATAPI: -scanbus. Unfortunately using ATAPI: changes the
designation of the SCSI devices, so you have to memorise 2 sets of
numbers (IMO device names could be seriously improved).

Volker

-- 
Volker Kuhlmann is possibly list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: problems with xcdroast + ide-scsi

2003-11-18 Thread Lourens Veen
On Tue 18 November 2003 21:15, obarrot wrote:
> >Random thoughts:
> >
> >- Try getting the latest version of cdrtools, and compile and
> >install them from source
>
> I'll try what you suggest

Okay. I'm starting to suspect the kernel and/or setup though, so 
this is probably not top priority.

> >- From your lsmod output, ide-scsi isn't loaded?
>
> that's right. it's a copy/paste typo

Ok.

> >- The error message "Warning: controller returns wrong size for
> > CD capabilities page." could be due to a firmware bug
> >
> >- The output from readcd you pasted seems to be fine. Does it
> > read it correctly?
>
> no, the PC freezes after a few minutes and the output can't be
> read with -o loop

Hmm. Freezing, but only after a few minutes. Could be an IRQ 
problem, but then that's done by the controller, not the drive. 
Maybe a chipset problem? See below...

> >- "DGB10: readtoc: no MMC" seems to say that the drive is not
> > MMC compliant. If this is an old Goldstar drive, you may need
> > the gscd.o kernel module.
> >
> >- How is the drive attached to the system? What kind of
> > mainboard do you have?
>
> you're right, it's an old IDE ATAPI Goldstar drive attached on
> the mother board ctler (secondary slave)
> I also have a Traxdata CD writer attached to SCSI (only device in
> the chain).
> My MB is a DFI K6BV3+, VIA MVP3 chipset + with K6-2/500

Make sure you've got VIA chipset support enabled in your kernel, and 
perhaps enable PCI Quirks as well. See 
Documentation/sound/VIA-chipset about that.

> >- Does it work without ide-scsi, ie with ide-cd? If so, you
> > could add the line
>
> yes, it used to work that way before I swithed to ide-scsi.o. 
> I'll try the gscd.o driver
>
> >options ide-cd ignore=hdx
> >
> >with hdx the device of your writer, to use the reader with
> > ide-cd and the writer with ide-scsi. This is not a solution,
> > but may be a workaround.
>
> I can't. xcdroast doesn't recognize non-SCSI devices, that's why
> I've switched to SCSI

Hmm, and neither does readcd on inspection. Sorry about that, it 
works for me because I only use my reader to rip audio CDs with 
cdparanoia, and my burner to burn ISOs from the net, and backups. 
If I want to read an image off a CD, I just use the burner. But 
ofcourse that's no good for on-the-fly copying.

Anyway, I'd go with the kernel configuration first. If that doesn't 
work, I suggest asking for help on lkml, this sounds like a 
kernel/hardware problem rather than a problem with readcd.

Lourens
-- 
GPG public key: http://home.student.utwente.nl/l.e.veen/lourens.key


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: problems with xcdroast + ide-scsi

2003-11-18 Thread obarrot




Hello Lourens
thansk for your help. see below

Olivier

Lourens Veen wrote:

  On Mon 17 November 2003 22:50, obarrot wrote:
  
  
Hi, I can't use my CD-ATAPI cdrom with xcdroast + the ide-scsi.o
module

I had to disable DMA on this CD drive as any operation on the
device freezed totally the
machine!
now I can mount & acccess this /dev/sg1 device ok but readcd does
detect a garbled disk:
a music disk instead of a data disk (see below)

any hints?
thanks

  
  


Random thoughts:

- Try getting the latest version of cdrtools, and compile and 
install them from source
  

I'll try what you suggest

  
- From your lsmod output, ide-scsi isn't loaded?
  

that's right. it's a copy/paste typo

  
- The error message "Warning: controller returns wrong size for CD 
capabilities page." could be due to a firmware bug

- The output from readcd you pasted seems to be fine. Does it read 
it correctly?
  

no, the PC freezes after a few minutes and the output can't be read with
-o loop

  
- xcdroast doesn't seem to detect anything, it just starts cdda2wav. 
Although it seems that you snipped some output. Could you try 
without XCDRoast? That would give some more legible output as well 
as remove a potential source of error

- "DGB10: readtoc: no MMC" seems to say that the drive is not MMC 
compliant. If this is an old Goldstar drive, you may need the 
gscd.o kernel module. 

   

  
- How is the drive attached to the system? What kind of mainboard do 
you have?


  
  

you're right, it's an old IDE ATAPI Goldstar drive attached on the mother
board ctler (secondary slave)
I also have a Traxdata CD writer attached to SCSI (only device in the chain).
My MB is a DFI K6BV3+, VIA MVP3 chipset + with K6-2/500

  
- Does it work without ide-scsi, ie with ide-cd? If so, you could 
add the line
  

yes, it used to work that way before I swithed to ide-scsi.o.  I'll try the
gscd.o driver

  
options ide-cd ignore=hdx

with hdx the device of your writer, to use the reader with ide-cd 
and the writer with ide-scsi. This is not a solution, but may be a 
workaround.
  

I can't. xcdroast doesn't recognize non-SCSI devices, that's why I've switched
to SCSI

  
Lourens
  






Re: problems with xcdroast + ide-scsi

2003-11-18 Thread obarrot




Hello Lourens
thansk for your help. see below

Olivier

Lourens Veen wrote:

  On Mon 17 November 2003 22:50, obarrot wrote:
  
  
Hi, I can't use my CD-ATAPI cdrom with xcdroast + the ide-scsi.o
module

I had to disable DMA on this CD drive as any operation on the
device freezed totally the
machine!
now I can mount & acccess this /dev/sg1 device ok but readcd does
detect a garbled disk:
a music disk instead of a data disk (see below)

any hints?
thanks

  
  


Random thoughts:

- Try getting the latest version of cdrtools, and compile and 
install them from source
  

I'll try what you suggest

  
- From your lsmod output, ide-scsi isn't loaded?
  

that's right. it's a copy/paste typo

  
- The error message "Warning: controller returns wrong size for CD 
capabilities page." could be due to a firmware bug

- The output from readcd you pasted seems to be fine. Does it read 
it correctly?
  

no, the PC freezes after a few minutes and the output can't be read with
-o loop

  
- xcdroast doesn't seem to detect anything, it just starts cdda2wav. 
Although it seems that you snipped some output. Could you try 
without XCDRoast? That would give some more legible output as well 
as remove a potential source of error

- "DGB10: readtoc: no MMC" seems to say that the drive is not MMC 
compliant. If this is an old Goldstar drive, you may need the 
gscd.o kernel module. 

   

  
- How is the drive attached to the system? What kind of mainboard do 
you have?


  
  

you're right, it's an old IDE ATAPI Goldstar drive attached on the mother
board ctler (secondary slave)
I also have a Traxdata CD writer attached to SCSI (only device in the chain).
My MB is a DFI K6BV3+, VIA MVP3 chipset + with K6-2/500

  
- Does it work without ide-scsi, ie with ide-cd? If so, you could 
add the line
  

yes, it used to work that way before I swithed to ide-scsi.o.  I'll try the
gscd.o driver

  
options ide-cd ignore=hdx

with hdx the device of your writer, to use the reader with ide-cd 
and the writer with ide-scsi. This is not a solution, but may be a 
workaround.
  

I can't. xcdroast doesn't recognize non-SCSI devices, that's why I've switched
to SCSI

  
Lourens
  






Re: problems with xcdroast + ide-scsi

2003-11-17 Thread Lourens Veen
On Mon 17 November 2003 22:50, obarrot wrote:
> Hi, I can't use my CD-ATAPI cdrom with xcdroast + the ide-scsi.o
> module
>
> I had to disable DMA on this CD drive as any operation on the
> device freezed totally the
> machine!
> now I can mount & acccess this /dev/sg1 device ok but readcd does
> detect a garbled disk:
> a music disk instead of a data disk (see below)
>
> any hints?
> thanks



Random thoughts:

- Try getting the latest version of cdrtools, and compile and 
install them from source

- From your lsmod output, ide-scsi isn't loaded?

- The error message "Warning: controller returns wrong size for CD 
capabilities page." could be due to a firmware bug

- The output from readcd you pasted seems to be fine. Does it read 
it correctly?

- xcdroast doesn't seem to detect anything, it just starts cdda2wav. 
Although it seems that you snipped some output. Could you try 
without XCDRoast? That would give some more legible output as well 
as remove a potential source of error

- "DGB10: readtoc: no MMC" seems to say that the drive is not MMC 
compliant. If this is an old Goldstar drive, you may need the 
gscd.o kernel module. 

- How is the drive attached to the system? What kind of mainboard do 
you have?

- Does it work without ide-scsi, ie with ide-cd? If so, you could 
add the line

options ide-cd ignore=hdx

with hdx the device of your writer, to use the reader with ide-cd 
and the writer with ide-scsi. This is not a solution, but may be a 
workaround.

Lourens
-- 
GPG public key: http://home.student.utwente.nl/l.e.veen/lourens.key



Re: problems with xcdroast + ide-scsi

2003-11-17 Thread Lourens Veen
On Mon 17 November 2003 22:50, obarrot wrote:
> Hi, I can't use my CD-ATAPI cdrom with xcdroast + the ide-scsi.o
> module
>
> I had to disable DMA on this CD drive as any operation on the
> device freezed totally the
> machine!
> now I can mount & acccess this /dev/sg1 device ok but readcd does
> detect a garbled disk:
> a music disk instead of a data disk (see below)
>
> any hints?
> thanks



Random thoughts:

- Try getting the latest version of cdrtools, and compile and 
install them from source

- From your lsmod output, ide-scsi isn't loaded?

- The error message "Warning: controller returns wrong size for CD 
capabilities page." could be due to a firmware bug

- The output from readcd you pasted seems to be fine. Does it read 
it correctly?

- xcdroast doesn't seem to detect anything, it just starts cdda2wav. 
Although it seems that you snipped some output. Could you try 
without XCDRoast? That would give some more legible output as well 
as remove a potential source of error

- "DGB10: readtoc: no MMC" seems to say that the drive is not MMC 
compliant. If this is an old Goldstar drive, you may need the 
gscd.o kernel module. 

- How is the drive attached to the system? What kind of mainboard do 
you have?

- Does it work without ide-scsi, ie with ide-cd? If so, you could 
add the line

options ide-cd ignore=hdx

with hdx the device of your writer, to use the reader with ide-cd 
and the writer with ide-scsi. This is not a solution, but may be a 
workaround.

Lourens
-- 
GPG public key: http://home.student.utwente.nl/l.e.veen/lourens.key


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



problems with xcdroast + ide-scsi

2003-11-17 Thread obarrot
Hi, I can't use my CD-ATAPI cdrom with xcdroast + the ide-scsi.o module
I had to disable DMA on this CD drive as any operation on the device 
freezed totally the
machine!
now I can mount & acccess this /dev/sg1 device ok but readcd does detect 
a garbled disk:
a music disk instead of a data disk (see below)

any hints?
thanks
Olivier
PS: please reply me directly, I'm not on this alias
--
texavery:~ # uname -a
Linux texavery 2.4.16 #4 Sun Nov 16 13:04:01 CET 2003 i586 unknown
texavery:~ # mount /writer
mount: No medium found
texavery:~ # lsmod
Module  Size  Used by
ncr53c8xx  51184   0  (autoclean) (unused)
sr_mod 11392   0  (autoclean)
scsi_mod   51056   2  (autoclean) [ncr53c8xx sr_mod]
nvidia   1629248  11  (autoclean)
pcnet3211216   1  (autoclean)
serial 43952   1  (autoclean)
isa-pnp28176   0  (autoclean) [serial]
nls_iso8859-1   2880   3  (autoclean)
nls_cp437   4384   3  (autoclean)
vfat9200   3  (autoclean)
fat28864   0  (autoclean) [vfat]
unix   13696  15  (autoclean)
texavery:~ # cdrecord -scanbus
Cdrecord 1.11a19 (i586-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.20
Using libscg version 'schily-0.6'
scsibus0:
   0,0,0 0) *
   0,1,0 1) 'TRAXDATA' 'CDRW4260 PRO' '1.0q' 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) *
scsibus1:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
   1,0,0   100) 'GoldStar' 'CD-ROM GCD-R540 ' '1.18' Removable CD-ROM
   1,1,0   101) *
   1,2,0   102) *
   1,3,0   103) *
   1,4,0   104) *
   1,5,0   105) *
   1,6,0   106) *
   1,7,0   107) *
texavery:~ # readcd  -vv dev=1,0,0 -f /tmp/test2.raw
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.1.20
readcd: Warning: controller returns wrong size for CD capabilities page.
readcd: Warning: controller returns wrong size for CD capabilities page.
Capacity: 354656 Blocks = 709312 kBytes = 692 MBytes = 726 prMB
Sectorsize: 2048 Bytes
Copy from SCSI (1,0,0) disk to file '/tmp/test2.raw'
end:354656
addr:0 cnt: 128
texavery:~ # xcdroast -d 10

DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "1,0,0" 
-J -g -Q -H -v1 2>&1
DGB10: readtoc: Type: ROM, Vendor 'GoldStar' Model 'CD-ROM GCD-R540 ' 
Revision '1.18' cdda2wav: Warning: controller returns wrong size for CD 
capabilities page.DGB10: readtoc: no MMC
DGB10: readtoc: 724992 bytes buffer memory requested, 4 buffers, 75 sectors
DGB10: readtoc: #Cdda2wav version 1.11a19_linux_2.4.4-4gb_i586_i586 real 
time sched. soundcard support
DGB10: readtoc: Tracks:1 77:57.39
DGB10: readtoc: CDINDEX discid: ctX64YCFDdH8.g2cRitwZoA7Bms-
DGB10: readtoc: CDDB discid: 0x02124301
DGB10: readtoc: CD-Text: not detected
DGB10: readtoc: CD-Extra: not detected
DGB10: readtoc: Album title: '' from ''
DGB10: readtoc: T01:   0 77:55.39 audio pre-emphasized copydenied 
stereo title '' from ''
DGB10: readtoc: Leadout:  350664
DGB2: -- cdinfo-structure -
DGB2: nr_tracks: 1
DGB2: total_size: 350814
DGB2: cddb_discid: 02124301
DGB2: have_cdtext: 0, have_cdextra: 0
DGB2: title/artist: /
DGB2: cddb_dtitle: (NULL)
DGB2: leadout: 350664
DGB2: track: 1 start: 0 size: 350664
DGB2:type: 1, rec_type: 0, preemp: 1, copyperm: 0, stereo: 1
DGB2:title/artist: / cddb_title: (NULL) volname: (NULL)
DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap READCD dev= "1,0,0" 
f=- sectors=0-0 2>&1
DGB10: check_medium_loaded: readcd: Warning: controller returns wrong 
size for CD capabilities page.
DGB10: check_medium_loaded: readcd: Warning: controller returns wrong 
size for CD capabilities page.
DGB10: check_medium_loaded: Capacity: 350664 Blocks = 701328 kBytes = 
684 MBytes = 718 prMB
DGB10: check_medium_loaded: Sectorsize: 2048 Bytes
DGB10: -> Detected sectorsize of 2048 bytes
DGB10: check_medium_loaded: Copy from SCSI (1,0,0) disk to file '-'
DGB10: check_medium_loaded: end: 0
DGB10: check_medium_loaded: addr:0
DGB10: check_medium_loaded: Time total: 0.000sec
DGB10: check_medium_loaded: Read 0.00 kB at 0.0 kB/sec.
DGB10: medium loaded return code: 0
DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "1,0,0" 
-J -g -Q -H -v1 2>&1
DGB10: readtoc: Type: ROM, Vendor 'GoldStar' Model 'CD-ROM GCD-R540 ' 
Revision '1.18' cdda2wav: Warning: controller returns wrong size for CD 
capabilities page.DGB10: readtoc: no MMC
DGB10: readtoc: 724992 bytes buffer memory requested, 4 buffers, 75 sectors
DGB10: readtoc: #Cdda2wav version 1.11a19_linux_2.4.4-4gb_i586_i586 real 
time sched. soundcard support
DGB10: readtoc: Tracks:1 77:57.39
DGB10: readtoc: CDIN

problems with xcdroast + ide-scsi

2003-11-17 Thread obarrot
Hi, I can't use my CD-ATAPI cdrom with xcdroast + the ide-scsi.o module

I had to disable DMA on this CD drive as any operation on the device 
freezed totally the
machine!
now I can mount & acccess this /dev/sg1 device ok but readcd does detect 
a garbled disk:
a music disk instead of a data disk (see below)

any hints?
thanks
Olivier

PS: please reply me directly, I'm not on this alias
--
texavery:~ # uname -a
Linux texavery 2.4.16 #4 Sun Nov 16 13:04:01 CET 2003 i586 unknown
texavery:~ # mount /writer
mount: No medium found
texavery:~ # lsmod
Module  Size  Used by
ncr53c8xx  51184   0  (autoclean) (unused)
sr_mod 11392   0  (autoclean)
scsi_mod   51056   2  (autoclean) [ncr53c8xx sr_mod]
nvidia   1629248  11  (autoclean)
pcnet3211216   1  (autoclean)
serial 43952   1  (autoclean)
isa-pnp28176   0  (autoclean) [serial]
nls_iso8859-1   2880   3  (autoclean)
nls_cp437   4384   3  (autoclean)
vfat9200   3  (autoclean)
fat28864   0  (autoclean) [vfat]
unix   13696  15  (autoclean)
texavery:~ # cdrecord -scanbus
Cdrecord 1.11a19 (i586-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.20
Using libscg version 'schily-0.6'
scsibus0:
   0,0,0 0) *
   0,1,0 1) 'TRAXDATA' 'CDRW4260 PRO' '1.0q' 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) *
scsibus1:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
   1,0,0   100) 'GoldStar' 'CD-ROM GCD-R540 ' '1.18' Removable CD-ROM
   1,1,0   101) *
   1,2,0   102) *
   1,3,0   103) *
   1,4,0   104) *
   1,5,0   105) *
   1,6,0   106) *
   1,7,0   107) *
texavery:~ # readcd  -vv dev=1,0,0 -f /tmp/test2.raw
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.1.20
readcd: Warning: controller returns wrong size for CD capabilities page.
readcd: Warning: controller returns wrong size for CD capabilities page.
Capacity: 354656 Blocks = 709312 kBytes = 692 MBytes = 726 prMB
Sectorsize: 2048 Bytes
Copy from SCSI (1,0,0) disk to file '/tmp/test2.raw'
end:354656
addr:0 cnt: 128
texavery:~ # xcdroast -d 10

DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "1,0,0" 
-J -g -Q -H -v1 2>&1
DGB10: readtoc: Type: ROM, Vendor 'GoldStar' Model 'CD-ROM GCD-R540 ' 
Revision '1.18' cdda2wav: Warning: controller returns wrong size for CD 
capabilities page.DGB10: readtoc: no MMC
DGB10: readtoc: 724992 bytes buffer memory requested, 4 buffers, 75 sectors
DGB10: readtoc: #Cdda2wav version 1.11a19_linux_2.4.4-4gb_i586_i586 real 
time sched. soundcard support
DGB10: readtoc: Tracks:1 77:57.39
DGB10: readtoc: CDINDEX discid: ctX64YCFDdH8.g2cRitwZoA7Bms-
DGB10: readtoc: CDDB discid: 0x02124301
DGB10: readtoc: CD-Text: not detected
DGB10: readtoc: CD-Extra: not detected
DGB10: readtoc: Album title: '' from ''
DGB10: readtoc: T01:   0 77:55.39 audio pre-emphasized copydenied 
stereo title '' from ''
DGB10: readtoc: Leadout:  350664
DGB2: -- cdinfo-structure -
DGB2: nr_tracks: 1
DGB2: total_size: 350814
DGB2: cddb_discid: 02124301
DGB2: have_cdtext: 0, have_cdextra: 0
DGB2: title/artist: /
DGB2: cddb_dtitle: (NULL)
DGB2: leadout: 350664
DGB2: track: 1 start: 0 size: 350664
DGB2:type: 1, rec_type: 0, preemp: 1, copyperm: 0, stereo: 1
DGB2:title/artist: / cddb_title: (NULL) volname: (NULL)
DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap READCD dev= "1,0,0" 
f=- sectors=0-0 2>&1
DGB10: check_medium_loaded: readcd: Warning: controller returns wrong 
size for CD capabilities page.
DGB10: check_medium_loaded: readcd: Warning: controller returns wrong 
size for CD capabilities page.
DGB10: check_medium_loaded: Capacity: 350664 Blocks = 701328 kBytes = 
684 MBytes = 718 prMB
DGB10: check_medium_loaded: Sectorsize: 2048 Bytes
DGB10: -> Detected sectorsize of 2048 bytes
DGB10: check_medium_loaded: Copy from SCSI (1,0,0) disk to file '-'
DGB10: check_medium_loaded: end: 0
DGB10: check_medium_loaded: addr:0
DGB10: check_medium_loaded: Time total: 0.000sec
DGB10: check_medium_loaded: Read 0.00 kB at 0.0 kB/sec.
DGB10: medium loaded return code: 0
DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "1,0,0" 
-J -g -Q -H -v1 2>&1
DGB10: readtoc: Type: ROM, Vendor 'GoldStar' Model 'CD-ROM GCD-R540 ' 
Revision '1.18' cdda2wav: Warning: controller returns wrong size for CD 
capabilities page.DGB10: readtoc: no MMC
DGB10: readtoc: 724992 bytes buffer memory requested, 4 buffers, 75 sectors
DGB10: readtoc: #Cdda2wav version 1.11a19_linux_2.4.4-4gb_i586_i586 real 
time sched. soundcard support
DGB10: readtoc: Tracks:1 77:57.39
DGB10: readtoc: CD