ide-disk not loaded if no IDE disks are present during the install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Invalid
|
Low
|
Colin Watson |
Bug Description
more specifically udev does not create /dev/hdc which is the master on my ide1
it is a MAXTOR MAXTOR 4K080H4 (80G ATA hd), it shows up in /proc/ide but not in
/sys/block, /dev/hda on the other hand does get auto-created by udev and shows
up in both.
udev creates the /dev/hdc and /dev/hdc1 nodes (it has just 1 primary partition)
about 1 second after I do 'touch /.dev/hdc'. On reboot obviously the nodes
dissappear and invariably /dev/hdc can be brought back with the touch trick.
If you don't know the trick the disk just doesn't exist, pretty annoying :)
maybe relevant:
During the ubuntu install I disabled ide1 because otherwise grub would fail to
install correctly on my system (which has a hardware raid 5 SCSI adaptec 3200s
with 4 disk(s) as primary disk), but ide0 was enabled because it contained the
dvd-burner (/dev/hda)
system data:
------------
Package: udev
Versions:
0.026-1ubuntu5(
0.026-1ubuntu4(
Reverse Depends:
rng-tools,udev
dvbtune,udev
hal,udev
makedev,udev 0.024-7
hal,udev
gnome-
Dependencies:
0.026-1ubuntu5 - libc6 (2 2.3.2.ds1-4) libnewt0.51 (0 (null)) debconf (18 0.5)
debconf-2.0 (0 (null)) hotplug (0 (null)) initscripts (2 2.85-16) makedev (2
2.3.1-70) lsb-base (2 1.3-9ubuntu3) lvm-common (3 1.5.13)
running on kernel 2.6.8.1-2-686-smp (binary package, not self-built)
You need to add ide-disk to /etc/modules. This is done automatically during the
install if any IDE disks are present, but since you didn't have any, this wasn't
done.
Herbert, what's the right thing to do here kernel-wise? Should ide-disk always
be loaded explicitly, or will it be possible for it to be autoloaded when needed
at some point in the future?