Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-08 Thread Vojtech Pavlik
On Wed, Feb 07, 2001 at 12:53:36PM -0800, Andre Hedrick wrote: > On Wed, 7 Feb 2001, Alan Cox wrote: > > > > Iff CONFIG_BLK_DEV_IDECS is set then yes, doing schedule is better. > > > But I do not see any benefit in doing > > > > > > unsigned long timeout = jiffies + ((HZ + 19)/20) + 1; > > >

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-08 Thread Vojtech Pavlik
On Wed, Feb 07, 2001 at 12:53:36PM -0800, Andre Hedrick wrote: On Wed, 7 Feb 2001, Alan Cox wrote: Iff CONFIG_BLK_DEV_IDECS is set then yes, doing schedule is better. But I do not see any benefit in doing unsigned long timeout = jiffies + ((HZ + 19)/20) + 1; while (0 (signed

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread A.Sajjad Zaidi
Petr Vandrovec wrote: > It is known bug which I reported to Andre already. Open > drivers/ide/ide.c in favorite text editor, and replace strange > body of ide_delay_50ms() with simple mdelay(50). Promise driver > invokes ide_delay_50ms with interrupts disabled, so it freezes > here forever. If

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread Stephen Wille Padnos
"A.Sajjad Zaidi" wrote: > > do you understand that you can't really have raid on ide involving > > two drives on the same channel? > > Is that just because of performance or are there other problems? Its working > fine as it is, but Im considering setting up all drives as masters (2x > ATA-100,

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread A.Sajjad Zaidi
Mark Hahn wrote: > > drives (all IBM-DTLA307045 s) that I realised that the cylinder/head > > translation is different and I cant use the whole drive unless its > > partitioned while attached to the other IDE ports. > > no, it's just that the bios doesn't perform the LBA geometry lie > outside

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread Andre Hedrick
On Wed, 7 Feb 2001, Alan Cox wrote: > > Iff CONFIG_BLK_DEV_IDECS is set then yes, doing schedule is better. > > But I do not see any benefit in doing > > > > unsigned long timeout = jiffies + ((HZ + 19)/20) + 1; > > while (0 < (signed long)(timeout - jiffies)); > > On that bit we agree. What

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread Alan Cox
> Iff CONFIG_BLK_DEV_IDECS is set then yes, doing schedule is better. > But I do not see any benefit in doing > > unsigned long timeout = jiffies + ((HZ + 19)/20) + 1; > while (0 < (signed long)(timeout - jiffies)); On that bit we agree. - To unsubscribe from this list: send the line

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread Petr Vandrovec
On 7 Feb 01 at 19:33, Alan Cox wrote: > > It is known bug which I reported to Andre already. Open > > drivers/ide/ide.c in favorite text editor, and replace strange > > body of ide_delay_50ms() with simple mdelay(50). Promise driver > > invokes ide_delay_50ms with interrupts disabled, so it

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread Alan Cox
> It is known bug which I reported to Andre already. Open > drivers/ide/ide.c in favorite text editor, and replace strange > body of ide_delay_50ms() with simple mdelay(50). Promise driver > invokes ide_delay_50ms with interrupts disabled, so it freezes > here forever. If you have NMI watchdog,

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread Petr Vandrovec
On 7 Feb 01 at 19:12, A.Sajjad Zaidi wrote: > I just built a system that uses a K7V motherboard with the KT133 > chipset. It has an onboard Promise PDC20265 ATA-100 controller. Im > running RH6.2. > > hda: dma_intr: bad DMA status > hda: dma_intr: status=0x50 { DriveReady SeekComplete } >

Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread A.Sajjad Zaidi
I just built a system that uses a K7V motherboard with the KT133 chipset. It has an onboard Promise PDC20265 ATA-100 controller. Im running RH6.2. I built a 2.4.1 kernel with support for the controller and it booted up fine with the "ide=reverse" parameter. It was when I tried adding new drives

Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread A.Sajjad Zaidi
I just built a system that uses a K7V motherboard with the KT133 chipset. It has an onboard Promise PDC20265 ATA-100 controller. Im running RH6.2. I built a 2.4.1 kernel with support for the controller and it booted up fine with the "ide=reverse" parameter. It was when I tried adding new drives

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread Alan Cox
It is known bug which I reported to Andre already. Open drivers/ide/ide.c in favorite text editor, and replace strange body of ide_delay_50ms() with simple mdelay(50). Promise driver invokes ide_delay_50ms with interrupts disabled, so it freezes here forever. If you have NMI watchdog, you'll

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread Petr Vandrovec
On 7 Feb 01 at 19:33, Alan Cox wrote: It is known bug which I reported to Andre already. Open drivers/ide/ide.c in favorite text editor, and replace strange body of ide_delay_50ms() with simple mdelay(50). Promise driver invokes ide_delay_50ms with interrupts disabled, so it freezes

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread Alan Cox
Iff CONFIG_BLK_DEV_IDECS is set then yes, doing schedule is better. But I do not see any benefit in doing unsigned long timeout = jiffies + ((HZ + 19)/20) + 1; while (0 (signed long)(timeout - jiffies)); On that bit we agree. - To unsubscribe from this list: send the line "unsubscribe

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread Andre Hedrick
On Wed, 7 Feb 2001, Alan Cox wrote: Iff CONFIG_BLK_DEV_IDECS is set then yes, doing schedule is better. But I do not see any benefit in doing unsigned long timeout = jiffies + ((HZ + 19)/20) + 1; while (0 (signed long)(timeout - jiffies)); On that bit we agree. What do you want

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread A.Sajjad Zaidi
Mark Hahn wrote: drives (all IBM-DTLA307045 s) that I realised that the cylinder/head translation is different and I cant use the whole drive unless its partitioned while attached to the other IDE ports. no, it's just that the bios doesn't perform the LBA geometry lie outside the

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread Stephen Wille Padnos
"A.Sajjad Zaidi" wrote: do you understand that you can't really have raid on ide involving two drives on the same channel? Is that just because of performance or are there other problems? Its working fine as it is, but Im considering setting up all drives as masters (2x ATA-100, 2x

Re: Promise, DMA and RAID5 problems running 2.4.1

2001-02-07 Thread A.Sajjad Zaidi
Petr Vandrovec wrote: It is known bug which I reported to Andre already. Open drivers/ide/ide.c in favorite text editor, and replace strange body of ide_delay_50ms() with simple mdelay(50). Promise driver invokes ide_delay_50ms with interrupts disabled, so it freezes here forever. If you