[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lenny does not recognise blank CD; Etch does.



On Sun, 2009-06-21 at 12:18 +0200, Frank Lin PIAT wrote:
> On Sun, 2009-06-21 at 21:35 +1200, Bruce Ward wrote:
> > On Sat, 2009-06-20 at 16:35 +0200, Frank Lin PIAT wrote:
> > > On Sat, 2009-06-20 at 20:21 +1200, Bruce Ward wrote:
> > > > I have a machine with a dvd writer (/dev/hdc) and a cd writer 
> > > > (/dev/hdd).
> > > 
> > > > under Lenny, the CD writer will not recognise a blank CD. Nothing. The 
> > > > DVD writer will recognise one.
> > > 
> > > > Any ideas?
> > > 
> > > Humm... you might want to check how HAL detects that devices. There are
> > > some GUIs, but you can send a report with:
> > > 
> > >  hal-find-by-capability  --capability storage.cdrom | xargs hal-device
> > > 
> > > I suppose it's important to have a line with "storage.cdrom.cdrw =
> > > true", then we can check "storage.removable.media_available" ...
> > > 
> > > Franklin
> > > 
> > Thanks for the ideas Franklin.
> > This looks like it might open a can of worms ...
> 
> Actually, nautilus-cd-burner's README.Debian states:
> 
>  "This code detects available CD writers by examining files in /proc.
>   It will try /proc/sys/dev/cdrom/info which is created by the 'cdrom'
>   module, and /proc/scsi/sg/devices which is created by the 'sg'
>   module.  One of these modules must be loaded for nautilus-cd-burner
>   to work."
> 
> So, check if the appropriate modules are loaded, then have a look on the
> kernel side (which Kernel do you use? can you test 2.6.26 or 2.6.30)
> 
> Franklin
> 
I'm running standard Debian  2.6.26-1-686 kernel. Neither installation
has sg devices; both have /proc/sys/dev/cdrom/info listing both hdd and
hdc. The only difference between them is that the etch one thinks that
hdd:
  Can read MRW:			1
  Can write MRW:		1
  Can write RAM:		1

Other than this, both files have the same information. What further
investigation should I do?

Hope this helps!

Bruce.


Reply to: