Re: PROBLEM: Illegal IDE probing

Andre M. Hedrick (hedrick@Astro.Dyer.Vanderbilt.Edu)
Fri, 29 Jan 1999 01:21:29 -0600 (CST)


The problem is that VIA chipsets can pick and choose the interrupts.
This is a chipset tuning problem that is in the works but will not appear
until 2.3.X.

Pick up a patch below and see if it helps.

On 29 Jan 1999, Willem van Mourik wrote:

> Hello kernel people,
>
> I put this report here because I think that more kernel-developers are
> involved here.
>
> [1.] One line summary of the problem:
>
> Illegal IDE probing
>
> [2.] Full description of the problem/report:
>
> I got some problems with a IDE controller since I have installed the
> 2.2.0pre4 kernel on a 2 your old Pentium 200 system.
>
> First thing I encountered was the problem with recognise the second IDE
> controller. I solved the problem with adding "ide1=0x170,0x376,15"
> (standard values) as kernel parameter. The kernel recognise the second
> controller without any problem after it. I think this is not a proper
> solution and might be a kernel problem.
>
> A second problem appeared when I looked very well what appeared on
> the screen, while booting the kernel. The 1,6Gb harddisk shows the
> illegal size 7680Mb instead of 1536Mb (this values appeared while
> booting a 2.0.x kernel).
>
> These things never appeared using the 2.0.x series.
>
> The linux I use is originally based on Slackware 3.4 with some upgrades
> to run the 2.2.x kernels.
>
> (Add: I notice now that the cache value reported with the CDROM driver is
> very abnormal large, see section 7.5)
>
> [3.] Keywords (i.e., modules, networking, kernel):
>
> IDE probe
>
> [4.] Kernel version (from /proc/version):
>
> Linux version 2.2.1 (jottum@willem) (gcc version 2.7.2.3) #27 Fri Jan 29
> 00:27:47 CET 1999
>
> [5.] and [6.] not relevant
>
> [7.] Environment
>
> [7.1.] Software (add the output of the ver_linux script here)
>
> -- Versions installed: (if some fields are empty or looks
> -- unusual then possibly you have very old versions)
> Linux willem 2.2.1 #27 Fri Jan 29 00:27:47 CET 1999 i586 unknown
> Kernel modules 2.1.121
> Gnu C 2.7.2.3
> Binutils linux-2.8.1.0.1
> Linux C Library 5.4.46
> Dynamic linker ldd (GNU libc) 2.0.6
> Linux C++ Library 27.2.8
> Linux C++ Library 27.2.8
> Procps 1.2.7
> Mount 2.8a
> Net-tools (1997-05-11)
> Kbd 0.94
> Sh-utils 1.16
>
> [7.2.] Processor information (from /proc/cpuinfo):
>
> processor : 0
> vendor_id : GenuineIntel
> cpu family : 5
> model : 2
> model name : Pentium 75 - 200
> stepping : 12
> cpu MHz : 199.314838
> fdiv_bug : no
> hlt_bug : no
> sep_bug : no
> f00f_bug : yes
> fpu : yes
> fpu_exception : yes
> cpuid level : 1
> wp : yes
> flags : fpu vme de pse tsc msr mce cx8
> bogomips : 79.46
>
> [7.3.] and [7.4.] not relevant
>
> [7.5.] Other information that might be relevant to the problem
>
> Some kernel boot-messages from:
> 2.0.36:
> No problems here (I hope)
> 2.2.1 (without any additional kernel parameters)
> ide1 problems + illegal hda size value
> 2.2.1 (with "ide1=0x170,0x376,15")
> solved the ide1 problem, keeping the illegal hda size value
>
> version 2.0.36:
>
> hda: SAMSUNG WNR-31601A (1600MB), 1536MB w/256kB Cache, CHS=780/64/63
> hdc: QUANTUM Bigfoot TX8.0AT, 7665MB w/69kB Cache, CHS=15574/16/63
> hdc: IRQ probe failed (-12)
> hdd: IRQ probe failed (-12)
> hdd: IRQ probe failed (-12)
> hdd: CS-R38 0, ATAPI CDROM drive
> hdd: IRQ probe failed (-12)
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
> Partition check:
> hda: hda1 hda2 hda3 hda4
> hdc: [PTBL] [977/255/63] hdc1 hdc2 hdc3
>
> version 2.2.1 without any additional kernel parameters:
>
> VP_IDE: IDE controller on PCI bus 00 dev 39
> VP_IDE: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0x6000-0x6007, BIOS settings: hda:pio, hdb:pio
> ide1: BM-DMA at 0x6008-0x600f, BIOS settings: hdc:pio, hdd:pio
> hda: SAMSUNG WNR-31601A (1600MB), ATA DISK drive
> hdc: QUANTUM Bigfoot TX8.0AT, ATA DISK drive
> hdd: CS-R38 0, ATAPI CDROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1: UNABLE TO GET IRQ -12
> hda: SAMSUNG WNR-31601A (1600MB), 7680MB w/256kB Cache, CHS=3900/64/63
> Partition check:
> hda: hda1 hda2 hda3 hda4
>
> version 2.2.1 with "ide1=0x170,0x376,15" (STANDARD VALUES):
>
> VP_IDE: IDE controller on PCI bus 00 dev 39
> VP_IDE: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0x6000-0x6007, BIOS settings: hda:pio, hdb:pio
> ide1: BM-DMA at 0x6008-0x600f, BIOS settings: hdc:pio, hdd:pio
> hda: SAMSUNG WNR-31601A (1600MB), ATA DISK drive
> hdc: QUANTUM Bigfoot TX8.0AT, ATA DISK drive
> hdd: CS-R38 0, ATAPI CDROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: SAMSUNG WNR-31601A (1600MB), 7680MB w/256kB Cache, CHS=3900/64/63
> hdc: QUANTUM Bigfoot TX8.0AT, 7665MB w/69kB Cache, CHS=15574/16/63, (U)DMA
> hdd: ATAPI 8X CD-ROM drive, 48317kB Cache
> Uniform CDROM driver Revision: 2.52
> Partition check:
> hda: hda1 hda2 hda3 hda4
>
> ====
>
> Willem van Mourik <wvmourik@usa.net>
>
>
> ____________________________________________________________________
> Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

Cheers,
Andre Hedrick
The (NEW) Linux IDE guy
The APC UPS Specialist for Linux

http://www.dyer.vanderbilt.edu/server/udma/
http://www.dyer.vanderbilt.edu/server/apcupsd/apcupsd-3.5.2.bin.tar.gz

You just need a bigger hammer, or learn how to swing the one you have better.
(C) me.....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/