* 2.4.20-pre2-ac3 stops responding
@ 2002-08-16 13:30 Jean-Luc Coulon
2002-08-16 13:37 ` Rik van Riel
` (2 more replies)
0 siblings, 3 replies; 17+ messages in thread
From: Jean-Luc Coulon @ 2002-08-16 13:30 UTC (permalink / raw)
To: linux-kernel
Hi,
I've the followings symptoms
My computer is a K6-2 500 with 384Mb SDRAM
1st time to boot:
-----------------
with 2.4.20-pre2 : 30s
with 2.4.30-pre2-ac3 : 55s
2nd while running:
------------------
If I have high disk activity, the system stops responding for a while,
it does not accepts any key action nor mouse movement. It starts running
normally after few seconds.
----
Regards
Jean-Luc
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: 2.4.20-pre2-ac3 stops responding 2002-08-16 13:30 2.4.20-pre2-ac3 stops responding Jean-Luc Coulon @ 2002-08-16 13:37 ` Rik van Riel 2002-08-16 16:29 ` Jean-Luc Coulon 2002-08-16 14:21 ` Heinz Diehl 2002-08-16 15:26 ` Tomas Szepe 2 siblings, 1 reply; 17+ messages in thread From: Rik van Riel @ 2002-08-16 13:37 UTC (permalink / raw) To: Jean-Luc Coulon; +Cc: linux-kernel On Fri, 16 Aug 2002, Jean-Luc Coulon wrote: > 2nd while running: > ------------------ > If I have high disk activity, the system stops responding for a while, > it does not accepts any key action nor mouse movement. It starts running > normally after few seconds. I've got a patch that might help improve this situation: http://surriel.com/patches/2.4/2.4.20-p2ac3-rmap14 Could you please try this patch ? kind regards, Rik -- Bravely reimplemented by the knights who say "NIH". http://www.surriel.com/ http://distro.conectiva.com/ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-08-16 13:37 ` Rik van Riel @ 2002-08-16 16:29 ` Jean-Luc Coulon 2002-08-16 16:40 ` Rik van Riel 2002-08-16 16:44 ` Andrew Rodland 0 siblings, 2 replies; 17+ messages in thread From: Jean-Luc Coulon @ 2002-08-16 16:29 UTC (permalink / raw) To: Rik van Riel; +Cc: linux-kernel Rik van Riel wrote: > > On Fri, 16 Aug 2002, Jean-Luc Coulon wrote: > > > 2nd while running: > > ------------------ > > If I have high disk activity, the system stops responding for a while, > > it does not accepts any key action nor mouse movement. It starts running > > normally after few seconds. > > I've got a patch that might help improve this situation: > > http://surriel.com/patches/2.4/2.4.20-p2ac3-rmap14 > > Could you please try this patch ? > > kind regards, > > Rik > -- > Bravely reimplemented by the knights who say "NIH". > > http://www.surriel.com/ http://distro.conectiva.com/ I've applied the patch, it does not improve the things. The problem seems to be related with a DMA : [root@debian-f5ibh] ~ # hdparm -iv /dev/hda2 /dev/hda2: multcount = 1 (on) IO_support = 1 (32-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 3649/255/63, sectors = 29302560, start = 9767520 HDIO_GET_IDENTITY failed: Invalid argument [root@debian-f5ibh] ~ # hdparm -d1 /dev/hda2 /dev/hda2: setting using_dma to 1 (on) HDIO_SET_DMA failed: Invalid argument using_dma = 0 (off) ---- Regards Jean-Luc ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-08-16 16:29 ` Jean-Luc Coulon @ 2002-08-16 16:40 ` Rik van Riel 2002-08-16 17:13 ` Jean-Luc Coulon 2002-08-16 16:44 ` Andrew Rodland 1 sibling, 1 reply; 17+ messages in thread From: Rik van Riel @ 2002-08-16 16:40 UTC (permalink / raw) To: Jean-Luc Coulon; +Cc: linux-kernel On Fri, 16 Aug 2002, Jean-Luc Coulon wrote: > Rik van Riel wrote: > > On Fri, 16 Aug 2002, Jean-Luc Coulon wrote: > > > > > 2nd while running: > > > ------------------ > > > If I have high disk activity, the system stops responding for a while, > > > it does not accepts any key action nor mouse movement. It starts running > > > normally after few seconds. > > > > I've got a patch that might help improve this situation: > > > > http://surriel.com/patches/2.4/2.4.20-p2ac3-rmap14 > > I've applied the patch, it does not improve the things. > The problem seems to be related with a DMA : > /dev/hda2: > setting using_dma to 1 (on) > HDIO_SET_DMA failed: Invalid argument > using_dma = 0 (off) Heh indeed. There's no way to make your system fast if the CPU is tied up waiting for the disk all the time ;) regards, Rik -- Bravely reimplemented by the knights who say "NIH". http://www.surriel.com/ http://distro.conectiva.com/ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-08-16 16:40 ` Rik van Riel @ 2002-08-16 17:13 ` Jean-Luc Coulon 2002-08-17 19:15 ` Alan Cox 0 siblings, 1 reply; 17+ messages in thread From: Jean-Luc Coulon @ 2002-08-16 17:13 UTC (permalink / raw) To: Rik van Riel; +Cc: linux-kernel Rik van Riel wrote: > > On Fri, 16 Aug 2002, Jean-Luc Coulon wrote: > > Rik van Riel wrote: > > > On Fri, 16 Aug 2002, Jean-Luc Coulon wrote: > > > > > > > 2nd while running: > > > > ------------------ > > > > If I have high disk activity, the system stops responding for a while, > > > > it does not accepts any key action nor mouse movement. It starts running > > > > normally after few seconds. > > > > > > I've got a patch that might help improve this situation: > > > > > > http://surriel.com/patches/2.4/2.4.20-p2ac3-rmap14 > > > > I've applied the patch, it does not improve the things. > > The problem seems to be related with a DMA : > > > /dev/hda2: > > setting using_dma to 1 (on) > > HDIO_SET_DMA failed: Invalid argument > > using_dma = 0 (off) > > Heh indeed. There's no way to make your system fast if the > CPU is tied up waiting for the disk all the time ;) > > regards, > > Rik > -- > Bravely reimplemented by the knights who say "NIH". > > http://www.surriel.com/ http://distro.conectiva.com/ Of course, but I've not yet found the way to setup DMA At boot time, I get the messages : Aug 16 11:34:19 f5ibh kernel: ALI15X3: simplex device: DMA disabled Aug 16 11:34:19 f5ibh kernel: ide0: ALI15X3 Bus-Master DMA disabled (BIOS) ----- Regards Jean-Luc ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-08-16 17:13 ` Jean-Luc Coulon @ 2002-08-17 19:15 ` Alan Cox 2002-08-17 21:36 ` Andre Hedrick ` (3 more replies) 0 siblings, 4 replies; 17+ messages in thread From: Alan Cox @ 2002-08-17 19:15 UTC (permalink / raw) To: Jean-Luc Coulon; +Cc: Rik van Riel, linux-kernel "On Fri, 2002-08-16 at 18:13, Jean-Luc Coulon wrote: > At boot time, I get the messages : > > Aug 16 11:34:19 f5ibh kernel: ALI15X3: simplex device: DMA disabled > Aug 16 11:34:19 f5ibh kernel: ide0: ALI15X3 Bus-Master DMA disabled > (BIOS) Linux did the simplex device check. Your ALi controller only permits DMA on one of the devices at a time. What is attached to the ALi controller ? Also does 2.4.19 base enable DMA correctly ? If so then my guess is there is a bug in the changing of the pci setup code in 2.4.20pre2-ac3, which shouldnt be hard to figure out ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-08-17 19:15 ` Alan Cox @ 2002-08-17 21:36 ` Andre Hedrick 2002-08-24 12:52 ` Jean-Luc Coulon ` (2 subsequent siblings) 3 siblings, 0 replies; 17+ messages in thread From: Andre Hedrick @ 2002-08-17 21:36 UTC (permalink / raw) To: Alan Cox; +Cc: Jean-Luc Coulon, Rik van Riel, linux-kernel There is a problem with IOPS assignment and I am still working on how make each host carry its own fixup. On 17 Aug 2002, Alan Cox wrote: > "On Fri, 2002-08-16 at 18:13, Jean-Luc Coulon wrote: > > At boot time, I get the messages : > > > > Aug 16 11:34:19 f5ibh kernel: ALI15X3: simplex device: DMA disabled > > Aug 16 11:34:19 f5ibh kernel: ide0: ALI15X3 Bus-Master DMA disabled > > (BIOS) > > Linux did the simplex device check. Your ALi controller only permits DMA > on one of the devices at a time. What is attached to the ALi controller > ? Also does 2.4.19 base enable DMA correctly ? > > If so then my guess is there is a bug in the changing of the pci setup > code in 2.4.20pre2-ac3, which shouldnt be hard to figure out > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > Andre Hedrick LAD Storage Consulting Group ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-08-17 19:15 ` Alan Cox 2002-08-17 21:36 ` Andre Hedrick @ 2002-08-24 12:52 ` Jean-Luc Coulon 2002-08-24 13:07 ` Jean-Luc Coulon 2002-09-02 9:16 ` Jean-Luc Coulon 3 siblings, 0 replies; 17+ messages in thread From: Jean-Luc Coulon @ 2002-08-24 12:52 UTC (permalink / raw) To: Alan Cox; +Cc: Rik van Riel, linux-kernel Alan Cox wrote: > > "On Fri, 2002-08-16 at 18:13, Jean-Luc Coulon wrote: > > At boot time, I get the messages : > > > > Aug 16 11:34:19 f5ibh kernel: ALI15X3: simplex device: DMA disabled > > Aug 16 11:34:19 f5ibh kernel: ide0: ALI15X3 Bus-Master DMA disabled > > (BIOS) > > Linux did the simplex device check. Your ALi controller only permits DMA > on one of the devices at a time. What is attached to the ALi controller > ? Also does 2.4.19 base enable DMA correctly ? > > If so then my guess is there is a bug in the changing of the pci setup > code in 2.4.20pre2-ac3, which shouldnt be hard to figure out sorry for the late answer, I was not @home for one week. Attached to my ide ports are : on the primary channel : 1 ide disk, QUANTUM FIREBALLP LM30 1 ide disk, ST3491A on the secondary channel : 1 cdrom reader, CREATIVECD3621E 1 cdrom burner, GoldStar CD-RW CED-8083B The second HDD is not DMA ------- regards Jean-Luc ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-08-17 19:15 ` Alan Cox 2002-08-17 21:36 ` Andre Hedrick 2002-08-24 12:52 ` Jean-Luc Coulon @ 2002-08-24 13:07 ` Jean-Luc Coulon 2002-09-02 9:16 ` Jean-Luc Coulon 3 siblings, 0 replies; 17+ messages in thread From: Jean-Luc Coulon @ 2002-08-24 13:07 UTC (permalink / raw) To: Alan Cox; +Cc: Rik van Riel, linux-kernel Alan Cox wrote: > > "On Fri, 2002-08-16 at 18:13, Jean-Luc Coulon wrote: > > At boot time, I get the messages : > > > > Aug 16 11:34:19 f5ibh kernel: ALI15X3: simplex device: DMA disabled > > Aug 16 11:34:19 f5ibh kernel: ide0: ALI15X3 Bus-Master DMA disabled > > (BIOS) > > Linux did the simplex device check. Your ALi controller only permits DMA > on one of the devices at a time. What is attached to the ALi controller > ? Also does 2.4.19 base enable DMA correctly ? > > If so then my guess is there is a bug in the changing of the pci setup > code in 2.4.20pre2-ac3, which shouldnt be hard to figure out Sorry, I forgot, 2.4.19 enables DMA correctly, as well as 2.4.20-pre1 --------- Regards Jean-Luc ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-08-17 19:15 ` Alan Cox ` (2 preceding siblings ...) 2002-08-24 13:07 ` Jean-Luc Coulon @ 2002-09-02 9:16 ` Jean-Luc Coulon 2002-09-02 9:30 ` Jens Axboe 3 siblings, 1 reply; 17+ messages in thread From: Jean-Luc Coulon @ 2002-09-02 9:16 UTC (permalink / raw) To: Alan Cox; +Cc: Rik van Riel, linux-kernel Alan Cox wrote: > > "On Fri, 2002-08-16 at 18:13, Jean-Luc Coulon wrote: > > At boot time, I get the messages : > > > > Aug 16 11:34:19 f5ibh kernel: ALI15X3: simplex device: DMA disabled > > Aug 16 11:34:19 f5ibh kernel: ide0: ALI15X3 Bus-Master DMA disabled > > (BIOS) > > Linux did the simplex device check. Your ALi controller only permits DMA > on one of the devices at a time. What is attached to the ALi controller > ? Also does 2.4.19 base enable DMA correctly ? > What is the simplex device check ? You will find thereafter a copy of the syslog while booting 2.4.19, it seems that it accepts both with DMA enabled. > If sSep 2 09:00:51 f5ibh kernel: ALI15X3: chipset revision 193 f5ibh kernel: ALI15X3: not 100%% native mode: will probe irqs later f5ibh kernel: ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA f5ibh kernel: ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:pio f5ibh kernel: hda: QUANTUM FIREBALLP LM30, ATA DISK drive fibh kernel: hdb: ST3491A, ATA DISK drive f5ibh kernel: hdc: GoldStar CD-RW CED-8083B, ATAPI CD/DVD-ROM drive f5ibh kernel: hdd: CREATIVECD3621E, ATAPI CD/DVD-ROM drive f5ibh kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 f5ibh kernel: ide1 at 0x170-0x177,0x376 on irq 15 f5ibh kernel: blk: queue c023d544, I/O limit 4095Mb (mask 0xffffffff) f5ibh kernel: hda: 58633344 sectors (30020 MB) w/1900KiB Cache, CHS=3649/255/63, UDMA(33) f5ibh kernel: blk: queue c023d680, I/O limit 4095Mb (mask 0xffffffff) f5ibh kernel: hdb: 836070 sectors (428 MB) w/120KiB Cache, CHS=899/15/62, DMA --- Regards Jean-Luc ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-09-02 9:16 ` Jean-Luc Coulon @ 2002-09-02 9:30 ` Jens Axboe 2002-09-02 9:36 ` Jean-Luc Coulon 0 siblings, 1 reply; 17+ messages in thread From: Jens Axboe @ 2002-09-02 9:30 UTC (permalink / raw) To: Jean-Luc Coulon; +Cc: Alan Cox, Rik van Riel, linux-kernel On Mon, Sep 02 2002, Jean-Luc Coulon wrote: > Alan Cox wrote: > > > > "On Fri, 2002-08-16 at 18:13, Jean-Luc Coulon wrote: > > > At boot time, I get the messages : > > > > > > Aug 16 11:34:19 f5ibh kernel: ALI15X3: simplex device: DMA disabled > > > Aug 16 11:34:19 f5ibh kernel: ide0: ALI15X3 Bus-Master DMA disabled > > > (BIOS) > > > > Linux did the simplex device check. Your ALi controller only permits DMA > > on one of the devices at a time. What is attached to the ALi controller > > ? Also does 2.4.19 base enable DMA correctly ? > > > What is the simplex device check ? You will find thereafter a copy of > the syslog while booting 2.4.19, it seems that it accepts both with DMA > enabled. > > > If sSep 2 09:00:51 f5ibh kernel: ALI15X3: chipset revision 193 > f5ibh kernel: ALI15X3: not 100%% native mode: will probe irqs later > f5ibh kernel: ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, > hdb:DMA > f5ibh kernel: ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, > hdd:pio > f5ibh kernel: hda: QUANTUM FIREBALLP LM30, ATA DISK drive > fibh kernel: hdb: ST3491A, ATA DISK drive > f5ibh kernel: hdc: GoldStar CD-RW CED-8083B, ATAPI CD/DVD-ROM drive > f5ibh kernel: hdd: CREATIVECD3621E, ATAPI CD/DVD-ROM drive > f5ibh kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > f5ibh kernel: ide1 at 0x170-0x177,0x376 on irq 15 > f5ibh kernel: blk: queue c023d544, I/O limit 4095Mb (mask 0xffffffff) > f5ibh kernel: hda: 58633344 sectors (30020 MB) w/1900KiB Cache, > CHS=3649/255/63, UDMA(33) > f5ibh kernel: blk: queue c023d680, I/O limit 4095Mb (mask 0xffffffff) > f5ibh kernel: hdb: 836070 sectors (428 MB) w/120KiB Cache, > CHS=899/15/62, DMA Are you sure this is a 2.4.19 boot? It's either 2.4.20-preX (X >= 2) or 2.4.19 with block-highmem -- Jens Axboe ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-09-02 9:30 ` Jens Axboe @ 2002-09-02 9:36 ` Jean-Luc Coulon 0 siblings, 0 replies; 17+ messages in thread From: Jean-Luc Coulon @ 2002-09-02 9:36 UTC (permalink / raw) To: Jens Axboe; +Cc: Alan Cox, Rik van Riel, linux-kernel Jens, Ooops ! you are right, it is 2.4.20-pre5 ------ Regards Jean-Luc Jens Axboe wrote: > > On Mon, Sep 02 2002, Jean-Luc Coulon wrote: > > Alan Cox wrote: > > > > > > "On Fri, 2002-08-16 at 18:13, Jean-Luc Coulon wrote: > > > > At boot time, I get the messages : > > > > > > > > Aug 16 11:34:19 f5ibh kernel: ALI15X3: simplex device: DMA disabled > > > > Aug 16 11:34:19 f5ibh kernel: ide0: ALI15X3 Bus-Master DMA disabled > > > > (BIOS) > > > > > > Linux did the simplex device check. Your ALi controller only permits DMA > > > on one of the devices at a time. What is attached to the ALi controller > > > ? Also does 2.4.19 base enable DMA correctly ? > > > > > What is the simplex device check ? You will find thereafter a copy of > > the syslog while booting 2.4.19, it seems that it accepts both with DMA > > enabled. > > > > > If sSep 2 09:00:51 f5ibh kernel: ALI15X3: chipset revision 193 > > f5ibh kernel: ALI15X3: not 100%% native mode: will probe irqs later > > f5ibh kernel: ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, > > hdb:DMA > > f5ibh kernel: ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, > > hdd:pio > > f5ibh kernel: hda: QUANTUM FIREBALLP LM30, ATA DISK drive > > fibh kernel: hdb: ST3491A, ATA DISK drive > > f5ibh kernel: hdc: GoldStar CD-RW CED-8083B, ATAPI CD/DVD-ROM drive > > f5ibh kernel: hdd: CREATIVECD3621E, ATAPI CD/DVD-ROM drive > > f5ibh kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > > f5ibh kernel: ide1 at 0x170-0x177,0x376 on irq 15 > > f5ibh kernel: blk: queue c023d544, I/O limit 4095Mb (mask 0xffffffff) > > f5ibh kernel: hda: 58633344 sectors (30020 MB) w/1900KiB Cache, > > CHS=3649/255/63, UDMA(33) > > f5ibh kernel: blk: queue c023d680, I/O limit 4095Mb (mask 0xffffffff) > > f5ibh kernel: hdb: 836070 sectors (428 MB) w/120KiB Cache, > > CHS=899/15/62, DMA > > Are you sure this is a 2.4.19 boot? It's either 2.4.20-preX (X >= 2) or > 2.4.19 with block-highmem > > -- > Jens Axboe ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-08-16 16:29 ` Jean-Luc Coulon 2002-08-16 16:40 ` Rik van Riel @ 2002-08-16 16:44 ` Andrew Rodland 2002-08-16 17:14 ` Jean-Luc Coulon 1 sibling, 1 reply; 17+ messages in thread From: Andrew Rodland @ 2002-08-16 16:44 UTC (permalink / raw) To: Jean-Luc Coulon; +Cc: linux-kernel On Fri, 16 Aug 2002 18:29:48 +0200 Jean-Luc Coulon <jean-luc.coulon@wanadoo.fr> wrote: > Rik van Riel wrote: > > > > On Fri, 16 Aug 2002, Jean-Luc Coulon wrote: > > > > > 2nd while running: > > > ------------------ > > > If I have high disk activity, the system stops responding for a > > > while, it does not accepts any key action nor mouse movement. It > > > starts running normally after few seconds. > /dev/hda2: > multcount = 1 (on) > IO_support = 1 (32-bit) > unmaskirq = 0 (off) > using_dma = 0 (off) > keepsettings = 0 (off) > readonly = 0 (off) > readahead = 8 (on) > geometry = 3649/255/63, sectors = 29302560, start = 9767520 > HDIO_GET_IDENTITY failed: Invalid argument > > [root@debian-f5ibh] ~ # hdparm -d1 /dev/hda2 > > /dev/hda2: > setting using_dma to 1 (on) > HDIO_SET_DMA failed: Invalid argument > using_dma = 0 (off) > how about umaskirq (hdparm -u1) ? that should help quite a bit, if it works. oh, and by the way, does it matter that you're doing hdparm on a partition rather than the wholedisk? ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-08-16 16:44 ` Andrew Rodland @ 2002-08-16 17:14 ` Jean-Luc Coulon 0 siblings, 0 replies; 17+ messages in thread From: Jean-Luc Coulon @ 2002-08-16 17:14 UTC (permalink / raw) To: Andrew Rodland; +Cc: linux-kernel Andrew Rodland wrote: > > On Fri, 16 Aug 2002 18:29:48 +0200 > Jean-Luc Coulon <jean-luc.coulon@wanadoo.fr> wrote: > > > Rik van Riel wrote: > > > > > > On Fri, 16 Aug 2002, Jean-Luc Coulon wrote: > > > > > > > 2nd while running: > > > > ------------------ > > > > If I have high disk activity, the system stops responding for a > > > > while, it does not accepts any key action nor mouse movement. It > > > > starts running normally after few seconds. > > /dev/hda2: > > multcount = 1 (on) > > IO_support = 1 (32-bit) > > unmaskirq = 0 (off) > > using_dma = 0 (off) > > keepsettings = 0 (off) > > readonly = 0 (off) > > readahead = 8 (on) > > geometry = 3649/255/63, sectors = 29302560, start = 9767520 > > HDIO_GET_IDENTITY failed: Invalid argument > > > > [root@debian-f5ibh] ~ # hdparm -d1 /dev/hda2 > > > > /dev/hda2: > > setting using_dma to 1 (on) > > HDIO_SET_DMA failed: Invalid argument > > using_dma = 0 (off) > > > how about umaskirq (hdparm -u1) ? that should help quite a bit, if it > works. I can set it up, but I cannot set up the DMA > > oh, and by the way, does it matter that you're doing hdparm on a > partition rather than the wholedisk? There is no difference ---- regards jean-Luc ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-08-16 13:30 2.4.20-pre2-ac3 stops responding Jean-Luc Coulon 2002-08-16 13:37 ` Rik van Riel @ 2002-08-16 14:21 ` Heinz Diehl 2002-08-16 15:26 ` Tomas Szepe 2 siblings, 0 replies; 17+ messages in thread From: Heinz Diehl @ 2002-08-16 14:21 UTC (permalink / raw) To: linux-kernel On Fri Aug 16 2002, Jean-Luc Coulon wrote: > If I have high disk activity, the system stops responding for a while, > it does not accepts any key action nor mouse movement. It starts running > normally after few seconds. Try using Robert Love's "preempt-kernel" and "sched-hints" patches in addition to -ac3, it helps a lot. See "ftp://ftp.de.kernel.org/pub/linux/kernel/people/rml/" for the patches. -- # Heinz Diehl, 68259 Mannheim, Germany ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-08-16 13:30 2.4.20-pre2-ac3 stops responding Jean-Luc Coulon 2002-08-16 13:37 ` Rik van Riel 2002-08-16 14:21 ` Heinz Diehl @ 2002-08-16 15:26 ` Tomas Szepe 2002-08-16 16:22 ` Jean-Luc Coulon 2 siblings, 1 reply; 17+ messages in thread From: Tomas Szepe @ 2002-08-16 15:26 UTC (permalink / raw) To: Jean-Luc Coulon; +Cc: linux-kernel > with 2.4.20-pre2 : 30s > with 2.4.30-pre2-ac3 : 55s Do you get DMA on your IDE disks at all? hdparm -iv /dev/hdX T. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.4.20-pre2-ac3 stops responding 2002-08-16 15:26 ` Tomas Szepe @ 2002-08-16 16:22 ` Jean-Luc Coulon 0 siblings, 0 replies; 17+ messages in thread From: Jean-Luc Coulon @ 2002-08-16 16:22 UTC (permalink / raw) To: Tomas Szepe; +Cc: linux-kernel Tomas Szepe wrote: > > > with 2.4.20-pre2 : 30s > > with 2.4.30-pre2-ac3 : 55s > > Do you get DMA on your IDE disks at all? > > hdparm -iv /dev/hdX > > T. Seems to have a problem with DMA [root@debian-f5ibh] ~ # hdparm -iv /dev/hda2 /dev/hda2: multcount = 1 (on) IO_support = 1 (32-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 3649/255/63, sectors = 29302560, start = 9767520 HDIO_GET_IDENTITY failed: Invalid argument [root@debian-f5ibh] ~ # hdparm -d1 /dev/hda2 /dev/hda2: setting using_dma to 1 (on) HDIO_SET_DMA failed: Invalid argument using_dma = 0 (off) ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2002-09-02 9:33 UTC | newest] Thread overview: 17+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-08-16 13:30 2.4.20-pre2-ac3 stops responding Jean-Luc Coulon 2002-08-16 13:37 ` Rik van Riel 2002-08-16 16:29 ` Jean-Luc Coulon 2002-08-16 16:40 ` Rik van Riel 2002-08-16 17:13 ` Jean-Luc Coulon 2002-08-17 19:15 ` Alan Cox 2002-08-17 21:36 ` Andre Hedrick 2002-08-24 12:52 ` Jean-Luc Coulon 2002-08-24 13:07 ` Jean-Luc Coulon 2002-09-02 9:16 ` Jean-Luc Coulon 2002-09-02 9:30 ` Jens Axboe 2002-09-02 9:36 ` Jean-Luc Coulon 2002-08-16 16:44 ` Andrew Rodland 2002-08-16 17:14 ` Jean-Luc Coulon 2002-08-16 14:21 ` Heinz Diehl 2002-08-16 15:26 ` Tomas Szepe 2002-08-16 16:22 ` Jean-Luc Coulon
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox