2002-08-11 02:21:12

by Steve Bennett

[permalink] [raw]
Subject: Re: 2.4.19 IDE Partition Check issue (again)

Sorry if this is an old issue, but I'm still seeing this problem between
ALI15x3 and Maxtor drives when DMA is enabled...

If I run 2.4.19 DMA is not autodetected. I get lousy performance. I can enable DMA (with hdparm) on all but my Maxtor drive, but if I manually enable DMA on the Maxtor drive disk access freezes (to both drives on the channel).

If I run 2.4.19-ac4 DMA is turned on automatically and the system hangs at the partition check.

on 2.4.19 I see this in dmesg:
...
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller on PCI bus 00 dev 20
PCI: No IRQ known for interrupt pin A of device 00:04.0. Please try using pci=biosirq.
ALI15X3: chipset revision 196
ALI15X3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xb400-0xb407, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdc:DMA, hdd:DMA
hda: ST340016A, ATA DISK drive
hdb: Maxtor 4G120J6, ATA DISK drive
hdc: RICOH DVD/CDRW MP9120, ATAPI CD/DVD-ROM drive
hdd: IBM-DPTA-372050, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16/63
hdb: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=14946/255/63
hdd: 40088160 sectors (20525 MB) w/1961KiB Cache, CHS=39770/16/63, UDMA(66)
ide-floppy driver 0.99.newide
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 >
/dev/ide/host0/bus0/target1/lun0: p1
/dev/ide/host0/bus1/target1/lun0: [PTBL] [2495/255/63] p1

2.4.19-ac4 (correctly) probes hda and hdb as being UDMA(100), but it looks like hdb chokes on the DMA...

Steve Bennett


2002-08-11 18:28:34

by Alan

[permalink] [raw]
Subject: Re: 2.4.19 IDE Partition Check issue (again)

> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> ALI15X3: IDE controller on PCI bus 00 dev 20
> PCI: No IRQ known for interrupt pin A of device 00:04.0. Please try using pci=biosirq.
> ALI15X3: chipset revision 196

Perfect you have revision C4, you answered the outstanding mystery about
whether C4 is capable of LBA48 or its >C4 that is

Try this
--- drivers/ide/alim15x3.c~ 2002-08-11 19:33:14.000000000 +0100
+++ drivers/ide/alim15x3.c 2002-08-11 19:33:14.000000000 +0100
@@ -810,7 +810,7 @@

/* Don't use LBA48 on ALi devices before rev 0xC4 */

- if(m5229_revision < 0xC4)
+ if(m5229_revision <= 0xC4)
hwif->addressing = 1;

}

2002-08-11 19:05:16

by Hell.Surfers

[permalink] [raw]
Subject: RE:Re: 2.4.19 IDE Partition Check issue (again)

i have a liveEVAL cd (SuSE 7.3) and a maxtor hard disk et 686, it freezes on writing bootloader, hangs with a constantbeep.. I wonder if this is related...



On Sun, 11 Aug 2002 19:16:08 +0100 [email protected] wrote:


Attachments:
(No filename) (3.88 kB)

2002-08-11 19:19:05

by DevilKin

[permalink] [raw]
Subject: Re: Re: 2.4.19 IDE Partition Check issue (again)

On Sunday 11 August 2002 21:08, [email protected] wrote:
> i have a liveEVAL cd (SuSE 7.3) and a maxtor hard disk et 686, it freezes
> on writing bootloader, hangs with a constantbeep.. I wonder if this is
> related...

Have you disabled you BIOS' bootsector virus protection?

This often causes such beeps...

DK

2002-08-11 19:28:40

by Hell.Surfers

[permalink] [raw]
Subject: RE:Re: Re: 2.4.19 IDE Partition Check issue (again)

first thing i did...



On Sun, 11 Aug 2002 21:25:41 +0200 Devilkin <[email protected]> wrote:


Attachments:
(No filename) (2.69 kB)

2002-08-11 20:45:17

by John Levon

[permalink] [raw]
Subject: Re: 2.4.19 IDE Partition Check issue (again)

On Sun, Aug 11, 2002 at 08:53:38PM +0100, Alan Cox wrote:

> Try this
> --- drivers/ide/alim15x3.c~ 2002-08-11 19:33:14.000000000 +0100
> +++ drivers/ide/alim15x3.c 2002-08-11 19:33:14.000000000 +0100
> @@ -810,7 +810,7 @@
>
> /* Don't use LBA48 on ALi devices before rev 0xC4 */
>
> - if(m5229_revision < 0xC4)
> + if(m5229_revision <= 0xC4)
> hwif->addressing = 1;

would be nice to change the comment too ;)

regards
john

--
"It is unbecoming for young men to utter maxims."
- Aristotle