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

Bug#269823: hpt366 module makes ide drive not show up in /dev/discs/ (devfs) until manually accessed



Package: kernel-image-2.4.27-1-386
Version: 2.4.27-1
Severity: normal

I have here a system which, if the hpt366 module is loaded, behaves very
strangely with this kernel. It seems to not fully detect the ide hard
drive. I'm in the debian installer, so /dev is on devfs. When ide-detect
is loaded, there are messages in the log indicating it found the drive:

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hdc: attached ide-cdrom driver.

Despite this, there is no entry in /dev/discs for the ide hard drive,
nor is there anything under /dev/ide/ for it (there is a device entry
for the ide CD in there).

I tried running the following commands in the shell:

mknod hda1 b 3 1
head hda1 > /tmp/foo

After reading a bit from the disk like this, the missing devfs entries
magically appear.

Again, I only have this problem if the hpt366 module is loaded. lspci
reports that my ide controller is:

0000:00:1f.1 IDE interface: Intel Corp. 82801AA IDE (rev 02)
0000:00:1f.1 0101: 8086:2411 (rev 02)

I guess it's a bug that hpt366 does anything if loaded on a system that
does not have the controller it exists to drive. Aguably it's also a bug
in d-i for defaulting to load this mode. But note that the debian
initrd constructed by initrd-tools also loads hpt366 and the other ide
pci chipset drivers on boot, so this could potentially effect an
installed system, if it was configured to use devfs.

(I'll work around this kernel bug in d-i by not loading the hpt366 module
by default.)

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages kernel-image-2.4.27-1-386 depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  fileutils                     5.2.1-2    The GNU file management utilities 
ii  initrd-tools                  0.1.74     tools to create initrd image for p
ii  modutils                      2.4.26-1   Linux module utilities

-- no debconf information

20040902 daily build of d-i booted from a boot floppy and usb stick,
with this version of the kernel. Machine is a HP pavilion 6645c.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: