[gentoo-user] /dev/hda not created

2006-01-11 Thread Michael George
I've got one of my servers that doesn't have /dev/hda on it at boot
time.

I've got a lite-on DVD burner there that works just fine (once I create
the device) and is noted as hda in the boot messages.

However, /dev/hda doesn't exist.  That's a problem.  /dev/hda?* did
exist, though...

I tried turning off the DEV_TARBALL option in /etc/conf.d/rc and
rebooting.  Then there was no /dev/hda* at all.  I have created
/dev/hda* with MAKEDEV and turned the DEV_TABALL back on, but I don't
know that that will make any difference, becasue I've created /dev/hda
before and rebooted with the TARBALL option on and /dev/hda still wan't
there.

I also had someone say that they had to manually modprobe ide_cdrom one
time, but I didn't see that happen this time (maybe someone else did
it...).

I re-emerged udev, in case a config was corrupted, but no config files
changed and /dev/hda was still not there after reboot.

I suspect it's a udev configuration issue, but since I didn't change
anything, I'm not sure how it would've broken.

Thanks.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /dev/hda not created

2006-01-11 Thread Lares Moreau
On Wed, 2006-01-11 at 15:20 -0500, Michael George wrote:
 I've got one of my servers that doesn't have /dev/hda on it at boot
 time.
 
 I've got a lite-on DVD burner there that works just fine (once I create
 the device) and is noted as hda in the boot messages.
 
 However, /dev/hda doesn't exist.  That's a problem.  /dev/hda?* did
 exist, though...
 
 I tried turning off the DEV_TARBALL option in /etc/conf.d/rc and
 rebooting.  Then there was no /dev/hda* at all.  I have created
 /dev/hda* with MAKEDEV and turned the DEV_TABALL back on, but I don't
 know that that will make any difference, becasue I've created /dev/hda
 before and rebooted with the TARBALL option on and /dev/hda still wan't
 there.
 
 I also had someone say that they had to manually modprobe ide_cdrom one
 time, but I didn't see that happen this time (maybe someone else did
 it...).
 
 I re-emerged udev, in case a config was corrupted, but no config files
 changed and /dev/hda was still not there after reboot.
 
 I suspect it's a udev configuration issue, but since I didn't change
 anything, I'm not sure how it would've broken.

COuld you give more detail about your situation.
Is this a new install on this system? ie. liveCD
Is this an upgrade of the kernel?
or was this just the addition of the DVD-R?
-- 
Lares Moreau [EMAIL PROTECTED]  | LRU: 400755 http://counter.li.org
lares/irc.freenode.net |
Gentoo x86 Arch Tester |   ::0 Alberta, Canada
Public Key: 0D46BB6E @ subkeys.pgp.net |  Encrypted Mail Preferred
Key fingerprint = 0CA3 E40D F897 7709 3628  C5D4 7D94 483E 0D46 BB6E


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


Re: [gentoo-user] /dev/hda not created

2006-01-11 Thread Gerhard Hoogterp
On Wednesday 11 January 2006 21:20, Michael George wrote:
 I've got one of my servers that doesn't have /dev/hda on it at boot
 time.

 I've got a lite-on DVD burner there that works just fine (once I create
 the device) and is noted as hda in the boot messages.

 However, /dev/hda doesn't exist.  That's a problem.  /dev/hda?* did
 exist, though...

Ha! Thatone kept me busy for a long time too (hdc/hdd in my case, but guess 
that doesn't matter!)

In my case it was solved by adding the ide-cd module to 

/etc/modules.autoload.d/kernel-2.6

(try first with modprobe ide-cd and ls -l /dev/hda)

Good luck
 Gerhard
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /dev/hda not created

2006-01-11 Thread Michael George
On Wed, Jan 11, 2006 at 01:32:29PM -0700, Lares Moreau wrote:
 On Wed, 2006-01-11 at 15:20 -0500, Michael George wrote:
  I've got one of my servers that doesn't have /dev/hda on it at boot
  time.
  
  I've got a lite-on DVD burner there that works just fine (once I create
  the device) and is noted as hda in the boot messages.
  
  However, /dev/hda doesn't exist.  That's a problem.  /dev/hda?* did
  exist, though...
  
  I tried turning off the DEV_TARBALL option in /etc/conf.d/rc and
  rebooting.  Then there was no /dev/hda* at all.  I have created
  /dev/hda* with MAKEDEV and turned the DEV_TABALL back on, but I don't
  know that that will make any difference, becasue I've created /dev/hda
  before and rebooted with the TARBALL option on and /dev/hda still wan't
  there.
  
  I also had someone say that they had to manually modprobe ide_cdrom one
  time, but I didn't see that happen this time (maybe someone else did
  it...).
  
  I re-emerged udev, in case a config was corrupted, but no config files
  changed and /dev/hda was still not there after reboot.
  
  I suspect it's a udev configuration issue, but since I didn't change
  anything, I'm not sure how it would've broken.
 
 COuld you give more detail about your situation.
 Is this a new install on this system? ie. liveCD
 Is this an upgrade of the kernel?
 or was this just the addition of the DVD-R?

I just noticed the problem, so I'm not sure when it started (I don't use
the drive on it much).

It turns out that we only need to load the ide_cd module at boot time
and the dev will show up.  It will show up whenever we load the module,
but it was causing confusion by not being there after a reboot.

Someday I need to read up on udev, hal, hot- and cold-plug and how they
all interact with the system nowadays...

Thanks for your reply.  My apologies for eating bandwidth.

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /dev/hda not created

2006-01-11 Thread Daniel Drake

Michael George wrote:

I've got one of my servers that doesn't have /dev/hda on it at boot
time.

I've got a lite-on DVD burner there that works just fine (once I create
the device) and is noted as hda in the boot messages.

However, /dev/hda doesn't exist.  That's a problem.  /dev/hda?* did
exist, though...


What is the output of grep IDECD /usr/src/linux/.config ?
(ensure the /usr/src/linux link is up to date first)
--
gentoo-user@gentoo.org mailing list