[Cooker] Problem with cdrecord

2002-02-12 Thread Olivier Thauvin

Mandrake Linux Cooker-i586 20020211 20:21

When I launch xcdroast,gnometoaster, ect, all does not find my cdrecord 
(Yamaha 8/4/24 on an SCSI Adaptec 2940). If graphics tools does not work 
properly, I take a console and I launch cdrecord but:

cdrecord complain me that it can't open /dev/pg* device, and none of this 
device exist. The -scanbus option say me same error message.
After I have test to mount a cd on my cdrecorder but /dev/scd0 does not exist 
and supermount say Input/Ouput error.

When I do `cat /proc/scsi/scsi`, my cdrecorder and my scsi disc are perfectly 
detect and all modules are load. I think the problem comes from devfsd.

[root@nanar root]# uname -a
Linux nanar.nanardon 2.4.17-16mdk #1 Fri Feb 8 16:00:03 CET 2002 i686 unknown
[root@nanar root]# rpm -qa | grep devfs
devfsd-1.3.23-6mdk

What happen ?!

-- 
Olivier Thauvin-CNRS Service Aeronomie
[EMAIL PROTECTED] 
Téléphone:
01 64 47 43 60 à Verrières (lundi,mercredi et vendredi)
01 44 27 47 59 à Jussieu (Mardi et Jeudi)

Service d'Aéronomie
Réduit de Verrieres - BP 3
Route des Gatines
91371 Verrieres le Buisson Cedex
France

Fax:33 (0)1 69 20 29 99




Re: [Cooker] Problem with cdrecord

2002-02-12 Thread Warly

Olivier Thauvin [EMAIL PROTECTED] writes:

 Mandrake Linux Cooker-i586 20020211 20:21

 When I launch xcdroast,gnometoaster, ect, all does not find my cdrecord 
 (Yamaha 8/4/24 on an SCSI Adaptec 2940). If graphics tools does not work 
 properly, I take a console and I launch cdrecord but:

 cdrecord complain me that it can't open /dev/pg* device, and none of this 
 device exist. The -scanbus option say me same error message.
 After I have test to mount a cd on my cdrecorder but /dev/scd0 does not exist 
 and supermount say Input/Ouput error.

 When I do `cat /proc/scsi/scsi`, my cdrecorder and my scsi disc are perfectly 
 detect and all modules are load. I think the problem comes from devfsd.

 [root@nanar root]# uname -a
 Linux nanar.nanardon 2.4.17-16mdk #1 Fri Feb 8 16:00:03 CET 2002 i686 unknown
 [root@nanar root]# rpm -qa | grep devfs
 devfsd-1.3.23-6mdk

 What happen ?!

Does the sg module loaded ?

Does 2 cdrecord -scanbus command makes it appears the second time ?

-- 
Warly




Re: [Cooker] Problem with cdrecord

2002-02-12 Thread Marcel Pol

On Tue, 12 Feb 2002 01:09:09 +0100
Olivier Thauvin [EMAIL PROTECTED] wrote:

 When I launch xcdroast,gnometoaster, ect, all does not find my cdrecord 
 (Yamaha 8/4/24 on an SCSI Adaptec 2940). If graphics tools does not work 
 properly, I take a console and I launch cdrecord but:
 
 cdrecord complain me that it can't open /dev/pg* device, and none of this 
 device exist. The -scanbus option say me same error message.
 After I have test to mount a cd on my cdrecorder but /dev/scd0 does not exist 
 and supermount say Input/Ouput error.
 
 When I do `cat /proc/scsi/scsi`, my cdrecorder and my scsi disc are perfectly 
 detect and all modules are load. I think the problem comes from devfsd.
 
 Linux nanar.nanardon 2.4.17-16mdk #1 Fri Feb 8 16:00:03 CET 2002 i686 unknown
 devfsd-1.3.23-6mdk

I am using 2.4.17-10mdk and currently devfsd-1.3-23-5mdk, but I
believe last week I used 4mdk. 
I had similar troubles.
It loaded my BusLogic module at boot, without having it specified in
/etc/modules.conf
After that it loaded ide-scsi for my ide cdroms.
cdrecord -scanbus only showed my cdrom, not the burner as scsi.

Doing rmmod on all the scsi modules, and loading ide-scsi without
BusLogic made it show up.
I do not understand how or why it did not show up after boot though.


--
Marcel Pol
[EMAIL PROTECTED]

Linux 2.4.17-10mdksmp, up 6 days, 15:22





Re: [Cooker] Problem with cdrecord

2002-02-12 Thread Olivier Thauvin

Le Mardi 12 Février 2002 13:07, Warly a écrit :
 Olivier Thauvin [EMAIL PROTECTED] writes:
  Mandrake Linux Cooker-i586 20020211 20:21
 
  When I launch xcdroast,gnometoaster, ect, all does not find my cdrecord
  (Yamaha 8/4/24 on an SCSI Adaptec 2940). If graphics tools does not work
  properly, I take a console and I launch cdrecord but:
 
  cdrecord complain me that it can't open /dev/pg* device, and none of this
  device exist. The -scanbus option say me same error message.
  After I have test to mount a cd on my cdrecorder but /dev/scd0 does not
  exist and supermount say Input/Ouput error.
 
  When I do `cat /proc/scsi/scsi`, my cdrecorder and my scsi disc are
  perfectly detect and all modules are load. I think the problem comes from
  devfsd.
 
  [root@nanar root]# uname -a
  Linux nanar.nanardon 2.4.17-16mdk #1 Fri Feb 8 16:00:03 CET 2002 i686
  unknown [root@nanar root]# rpm -qa | grep devfs
  devfsd-1.3.23-6mdk
 
  What happen ?!

 Does the sg module loaded ?

The sg module is not load, I load it and all is ok.

But why this module is not load automatically ? Can you correct that ?

 Does 2 cdrecord -scanbus command makes it appears the second time ?

[root@nanar root]# modprobe sg
[root@nanar root]# cdrecord -scanbus
Cdrecord 1.11a13 (i586-mandrake-linux-gnu) Copyright (C) 1995-2001 Jörg 
Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) *
0,1,0 1) *
0,2,0 2) 'YAMAHA  ' 'CRW8424S' '1.0j' Removable CD-ROM
0,3,0 3) *
0,4,0 4) 'QUANTUM ' 'FIREBALL_TM2110S' '300X' Disk
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

Thanks.
-- 
Olivier Thauvin-CNRS Service Aeronomie
[EMAIL PROTECTED] 
Téléphone:
01 64 47 43 60 à Verrières (lundi,mercredi et vendredi)
01 44 27 47 59 à Jussieu (Mardi et Jeudi)

Service d'Aéronomie
Réduit de Verrieres - BP 3
Route des Gatines
91371 Verrieres le Buisson Cedex
France

Fax:33 (0)1 69 20 29 99




Re: [Cooker] Problem with cdrecord

2002-02-12 Thread Warly

Olivier Thauvin [EMAIL PROTECTED] writes:

 Le Mardi 12 Février 2002 13:07, Warly a écrit :
 Olivier Thauvin [EMAIL PROTECTED] writes:
  Mandrake Linux Cooker-i586 20020211 20:21

[...]

  [root@nanar root]# uname -a
  Linux nanar.nanardon 2.4.17-16mdk #1 Fri Feb 8 16:00:03 CET 2002 i686
  unknown [root@nanar root]# rpm -qa | grep devfs
  devfsd-1.3.23-6mdk
 
  What happen ?!

 Does the sg module loaded ?

 The sg module is not load, I load it and all is ok.

Fred, Thierry, is there any reason why sg module is not loaded when
cdrecord makes an access to /dev/sg ? Maybe this is not correctly set
up in devfsd ?

-- 
Warly




Re: [Cooker] Problem with cdrecord

2002-02-12 Thread Olivier Thauvin

Le Mardi 12 Février 2002 13:07, Warly a écrit :
 Olivier Thauvin [EMAIL PROTECTED] writes:
  Mandrake Linux Cooker-i586 20020211 20:21
 
  When I launch xcdroast,gnometoaster, ect, all does not find my cdrecord
  (Yamaha 8/4/24 on an SCSI Adaptec 2940). If graphics tools does not work
  properly, I take a console and I launch cdrecord but:
 
  cdrecord complain me that it can't open /dev/pg* device, and none of this
  device exist. The -scanbus option say me same error message.
  After I have test to mount a cd on my cdrecorder but /dev/scd0 does not
  exist and supermount say Input/Ouput error.
 
  When I do `cat /proc/scsi/scsi`, my cdrecorder and my scsi disc are
  perfectly detect and all modules are load. I think the problem comes from
  devfsd.
 
  [root@nanar root]# uname -a
  Linux nanar.nanardon 2.4.17-16mdk #1 Fri Feb 8 16:00:03 CET 2002 i686
  unknown [root@nanar root]# rpm -qa | grep devfs
  devfsd-1.3.23-6mdk
 
  What happen ?!

 Does the sg module loaded ?

 Does 2 cdrecord -scanbus command makes it appears the second time ?

The /dev/scd0 device (symlink) appear after a modprobe sr_mod, that with sg, 
is not load at boot.

-- 
Olivier Thauvin-CNRS Service Aeronomie
[EMAIL PROTECTED] 
Téléphone:
01 64 47 43 60 à Verrières (lundi,mercredi et vendredi)
01 44 27 47 59 à Jussieu (Mardi et Jeudi)

Service d'Aéronomie
Réduit de Verrieres - BP 3
Route des Gatines
91371 Verrieres le Buisson Cedex
France

Fax:33 (0)1 69 20 29 99




Re: [Cooker] Problem with cdrecord

2002-02-12 Thread Olivier Thauvin

Le Mardi 12 Février 2002 13:07, Warly a écrit :
 Olivier Thauvin [EMAIL PROTECTED] writes:
  Mandrake Linux Cooker-i586 20020211 20:21
 
  When I launch xcdroast,gnometoaster, ect, all does not find my cdrecord
  (Yamaha 8/4/24 on an SCSI Adaptec 2940). If graphics tools does not work
  properly, I take a console and I launch cdrecord but:
 
  cdrecord complain me that it can't open /dev/pg* device, and none of this
  device exist. The -scanbus option say me same error message.
  After I have test to mount a cd on my cdrecorder but /dev/scd0 does not
  exist and supermount say Input/Ouput error.
 
  When I do `cat /proc/scsi/scsi`, my cdrecorder and my scsi disc are
  perfectly detect and all modules are load. I think the problem comes from
  devfsd.
 
  [root@nanar root]# uname -a
  Linux nanar.nanardon 2.4.17-16mdk #1 Fri Feb 8 16:00:03 CET 2002 i686
  unknown [root@nanar root]# rpm -qa | grep devfs
  devfsd-1.3.23-6mdk
 
  What happen ?!

 Does the sg module loaded ?

 Does 2 cdrecord -scanbus command makes it appears the second time ?

Doing some cdrecord do not change the problem, only modprobe sg correct that.

-- 
Olivier Thauvin-CNRS Service Aeronomie
[EMAIL PROTECTED] 
Téléphone:
01 64 47 43 60 à Verrières (lundi,mercredi et vendredi)
01 44 27 47 59 à Jussieu (Mardi et Jeudi)

Service d'Aéronomie
Réduit de Verrieres - BP 3
Route des Gatines
91371 Verrieres le Buisson Cedex
France

Fax:33 (0)1 69 20 29 99




Re: [Cooker] Problem with cdrecord

2002-02-12 Thread Borsenkow Andrej

On Tue, 12 Feb 2002, Warly wrote:

 Olivier Thauvin [EMAIL PROTECTED] writes:

  Le Mardi 12 Février 2002 13:07, Warly a écrit :
  Olivier Thauvin [EMAIL PROTECTED] writes:
   Mandrake Linux Cooker-i586 20020211 20:21

 [...]

   [root@nanar root]# uname -a
   Linux nanar.nanardon 2.4.17-16mdk #1 Fri Feb 8 16:00:03 CET 2002 i686
   unknown [root@nanar root]# rpm -qa | grep devfs
   devfsd-1.3.23-6mdk
  
   What happen ?!
 
  Does the sg module loaded ?
 
  The sg module is not load, I load it and all is ok.

 Fred, Thierry, is there any reason why sg module is not loaded when
 cdrecord makes an access to /dev/sg ? Maybe this is not correctly set
 up in devfsd ?



Sure. He has old links in /lib/dev-state that block autoloading on LOOKUP.

rm /lib/dev-state/sg* to activate modprobe sg
rm /lib/dev-state/scd* to activate modprobe sr_mod
...
better is

rf /lib/dev-state/*
reboot

and everything should work. It has worked all the time.

-andrej




Re: [Cooker] problem with cdrecord front-ends (eroaster, et al)

2001-08-30 Thread Grégoire Colbert

Vincent Meyer wrote:
 Hello,
 
   This problem is common to ALL of the graphic front ends to cdrecord.  When 
 erasing a CD-RW, if the drive comes back with a weird status, cdrecord puts 
 up a message saying that the media needs to be ejected and reinserted (I 
 don't remember the exact message, but is something like that) then press 
 cr. Unfortunately, ALL of these programs put up a display window - no way 
 to pass the cr to cdrecord to tell it to continue!  I saw this with 
 eroaster and gnome toaster today.
 
   Maybe a button that passes the cr ?  gnome toaster at least recognised the 
 message, and displayed it in red.  If it knows enough to do that, maybe it 
 could then put up a button for continue or something?
 
   Vinny

Send this to the developers.

Grégoire





[Cooker] problem with cdrecord front-ends (eroaster, et al)

2001-08-29 Thread Vincent Meyer

Hello,

This problem is common to ALL of the graphic front ends to cdrecord.  When 
erasing a CD-RW, if the drive comes back with a weird status, cdrecord puts 
up a message saying that the media needs to be ejected and reinserted (I 
don't remember the exact message, but is something like that) then press 
cr. Unfortunately, ALL of these programs put up a display window - no way 
to pass the cr to cdrecord to tell it to continue!  I saw this with 
eroaster and gnome toaster today.

Maybe a button that passes the cr ?  gnome toaster at least recognised the 
message, and displayed it in red.  If it knows enough to do that, maybe it 
could then put up a button for continue or something?

Vinny