CD/DVD folders disappearing when rebooting

2004-11-23 Thread Brian Pack
I'm running Debian Sid.

When I booted into Debian, I will sometimes get the following message:

discover reports that /dev/hdc is a CD/DVD device, but it and /dev/hdc
do not exist.  Not updating /dev/cdrom0.
discover reports that /dev/hdd is a CD/DVD device, but it and /dev/hdd
do not exist.  Not updating /dev/cdrom0.
No CD/DVD drives found.

The drives work just fine, but I have to manually create the cdrom0 and
cdrom1 folders in /media.

Here's where it gets a little weird. If I boot to a different kernel
than the one I had been using when all the above was going on, then I do
*not* get those boot messages, and I do not have to manually creat the
folders. But if I reboot *again*, the process starts all over.

Currently running kernel 2.6.8 built from latest kernel-source package,
but this happens when booting into 2.6.7 or 2.6.9 as well.

Running discover1 1.7.3. Would it be to my advantage to switch to
discover?




signature.asc
Description: This is a digitally signed message part


Re: CD/DVD folders disappearing when rebooting

2004-11-23 Thread Greg Folkert
On Tue, 2004-11-23 at 11:58 -0500, Brian Pack wrote:
 I'm running Debian Sid.
 
 When I booted into Debian, I will sometimes get the following message:
 
 discover reports that /dev/hdc is a CD/DVD device, but it and /dev/hdc
 do not exist.  Not updating /dev/cdrom0.
 discover reports that /dev/hdd is a CD/DVD device, but it and /dev/hdd
 do not exist.  Not updating /dev/cdrom0.
 No CD/DVD drives found.
 
 The drives work just fine, but I have to manually create the cdrom0 and
 cdrom1 folders in /media.
 
 Here's where it gets a little weird. If I boot to a different kernel
 than the one I had been using when all the above was going on, then I do
 *not* get those boot messages, and I do not have to manually creat the
 folders. But if I reboot *again*, the process starts all over.
 
 Currently running kernel 2.6.8 built from latest kernel-source package,
 but this happens when booting into 2.6.7 or 2.6.9 as well.
 
 Running discover1 1.7.3. Would it be to my advantage to switch to
 discover?

Are those *other* kernels from the 2.4.x variety? if Yes, this does not
surprise me.

For the 2.6.x kernels:
Are you running udevd? and is hal installed?

If not that would be your first order of business.

WARNING: udevd does require some hand holding, so be prepared to give it
that. But once you work out the stuff... it'll be just fine!
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster: Linux


signature.asc
Description: This is a digitally signed message part


Re: CD/DVD folders disappearing when rebooting

2004-11-23 Thread Brian Pack
On Tue, 2004-11-23 at 12:10 -0500, Greg Folkert wrote:
my original snipped
 
 Are those *other* kernels from the 2.4.x variety? if Yes, this does not
 surprise me.
 
 For the 2.6.x kernels:
 Are you running udevd? and is hal installed?
 
 If not that would be your first order of business.
 
 WARNING: udevd does require some hand holding, so be prepared to give it
 that. But once you work out the stuff... it'll be just fine!

All my kernels are of the 2.6.x variety.

Udev is installed, but I was having this issue before I ever installed
udev.

Hal is not installed. Should it be?



signature.asc
Description: This is a digitally signed message part


Re: CD/DVD folders disappearing when rebooting

2004-11-23 Thread Greg Folkert
On Tue, 2004-11-23 at 12:30 -0500, Brian Pack wrote:
 On Tue, 2004-11-23 at 12:10 -0500, Greg Folkert wrote:
 my original snipped
  
  Are those *other* kernels from the 2.4.x variety? if Yes, this does not
  surprise me.
  
  For the 2.6.x kernels:
  Are you running udevd? and is hal installed?
  
  If not that would be your first order of business.
  
  WARNING: udevd does require some hand holding, so be prepared to give it
  that. But once you work out the stuff... it'll be just fine!
 
 All my kernels are of the 2.6.x variety.
 
 Udev is installed, but I was having this issue before I ever installed
 udev.
 
 Hal is not installed. Should it be?

Yes, make sure hal, udev, hotplug, discover are all installed.

There is a question about whether or not you want to have the kernel
manage the links or not (you should answer yes to it), I cannot remember
which package asks it.

Also, make sure that the ide-cd module is being loaded. Sometimes
discover and/or hotplug don't quite get it done and udev never makes
the /dev/hd* files nor do the links get managed properly.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster: Linux


signature.asc
Description: This is a digitally signed message part


Re: CD/DVD folders disappearing when rebooting

2004-11-23 Thread Brian Pack
On Tue, 2004-11-23 at 14:09 -0500, Greg Folkert wrote:
 On Tue, 2004-11-23 at 12:30 -0500, Brian Pack wrote:
  On Tue, 2004-11-23 at 12:10 -0500, Greg Folkert wrote:
  my original snipped
   
   Are those *other* kernels from the 2.4.x variety? if Yes, this does not
   surprise me.
   
   For the 2.6.x kernels:
   Are you running udevd? and is hal installed?
   
   If not that would be your first order of business.
   
   WARNING: udevd does require some hand holding, so be prepared to give it
   that. But once you work out the stuff... it'll be just fine!
  
  All my kernels are of the 2.6.x variety.
  
  Udev is installed, but I was having this issue before I ever installed
  udev.
  
  Hal is not installed. Should it be?
 
 Yes, make sure hal, udev, hotplug, discover are all installed.
 
 There is a question about whether or not you want to have the kernel
 manage the links or not (you should answer yes to it), I cannot remember
 which package asks it.
 
 Also, make sure that the ide-cd module is being loaded. Sometimes
 discover and/or hotplug don't quite get it done and udev never makes
 the /dev/hd* files nor do the links get managed properly.

I installed hal. Looks like that fixed the issue. Thanks a bunch. :)



signature.asc
Description: This is a digitally signed message part