DMA being disabled during heavy HD activity

2008-02-17 Thread Paul Fleischer
Hi, I am experiencing some strange behaviour. When I have heavy HDD activity (running MythTV, for instance), I get 17 of these: [ 90.004956] hda: dma_intr: bad DMA status (dma_stat=76) [ 90.004963] hda: dma_intr: status=0x50 { DriveReady SeekComplete } [ 90.004966] ide: failed opcode was:

Re: IDE cdrom problem

2008-02-17 Thread WaVeR
Hi all, Le samedi 16 février 2008 à 21:23 +0100, Borislav Petkov a écrit : Do you want me to try the 2.6.25-rc2 ? and give my feedback Yes, please. Until now, there's no prob with the kernel 2.6.25-rc2. 15:14 [EMAIL PROTECTED] ~% uname -a Linux Jupiter 2.6.25-rc2.waver.1 #1 Sun Feb 17

Re: DMA being disabled during heavy HD activity

2008-02-17 Thread Paul Fleischer
Hi again, 2008/2/17, Paul Fleischer [EMAIL PROTECTED]: Hi, I am experiencing some strange behaviour. When I have heavy HDD activity (running MythTV, for instance), I get 17 of these: [ 90.004956] hda: dma_intr: bad DMA status (dma_stat=76) [ 90.004963] hda: dma_intr: status=0x50 {

Re: [PATCH] scsi_debug: disable clustering

2008-02-17 Thread James Bottomley
On Sun, 2008-02-17 at 23:52 +0900, FUJITA Tomonori wrote: On Sun, 17 Feb 2008 07:28:48 -0700 Matthew Wilcox [EMAIL PROTECTED] wrote: On Sun, Feb 17, 2008 at 08:18:11AM -0600, James Bottomley wrote: No, he means that kmap_atomic can only map a page of data. This makes single page only

Re: IDE cdrom problem

2008-02-17 Thread Borislav Petkov
On Sun, Feb 17, 2008 at 03:16:42PM +0100, WaVeR wrote: Hi all, Le samedi 16 février 2008 à 21:23 +0100, Borislav Petkov a écrit : Do you want me to try the 2.6.25-rc2 ? and give my feedback Yes, please. Until now, there's no prob with the kernel 2.6.25-rc2. Cool, let me know

Re: [PATCH] scsi_debug: disable clustering

2008-02-17 Thread FUJITA Tomonori
On Sun, 17 Feb 2008 09:02:14 -0600 James Bottomley [EMAIL PROTECTED] wrote: On Sun, 2008-02-17 at 23:52 +0900, FUJITA Tomonori wrote: On Sun, 17 Feb 2008 07:28:48 -0700 Matthew Wilcox [EMAIL PROTECTED] wrote: On Sun, Feb 17, 2008 at 08:18:11AM -0600, James Bottomley wrote: No, he

Re: ST31000340NS (1000G) Capacity equal 33MB issue.

2008-02-17 Thread Richard Liu
Dear Mark: 2008/2/16, Mark Lord [EMAIL PROTECTED]: Mark Lord wrote: Richard Liu wrote: Thanks. By running the above data through hdparm --Istdin, I see that the drive is indeed identifying itself as a 33MB drive. Probably because it has been told to do so by either the factory

Re: [PATCH] scsi_debug: disable clustering

2008-02-17 Thread James Bottomley
On Mon, 2008-02-18 at 00:11 +0900, FUJITA Tomonori wrote: On Sun, 17 Feb 2008 09:02:14 -0600 James Bottomley [EMAIL PROTECTED] wrote: On Sun, 2008-02-17 at 23:52 +0900, FUJITA Tomonori wrote: On Sun, 17 Feb 2008 07:28:48 -0700 Matthew Wilcox [EMAIL PROTECTED] wrote: On Sun,

ICH7: ata_piix twice as fast as ahci?

2008-02-17 Thread Joris
Hello List, Odd problem on my machines: the sata disks appear to be a lot slower when used via ata_piix vs the ahci driver. * dd if=/dev/sda of=/dev/null runs at roughly 50MB/s under ahci a steady 100MB/s under ata_piix, same for hdparm * bonnie++ -d /home/bonnietest -s 16G -r 8192 -u root

Re: ICH7: ata_piix twice as fast as ahci?

2008-02-17 Thread Alan Cox
On Sun, 17 Feb 2008 16:41:42 +0100 Joris [EMAIL PROTECTED] wrote: Hello List, Odd problem on my machines: the sata disks appear to be a lot slower when used via ata_piix vs the ahci driver. I would expect that. AHCI allows the use of NCQ and unloads a ton of work from the processor. It also

Re: ICH7: ata_piix twice as fast as ahci?

2008-02-17 Thread Joris
2008/2/17, Alan Cox [EMAIL PROTECTED]: On Sun, 17 Feb 2008 16:41:42 +0100 Joris [EMAIL PROTECTED] wrote: Hello List, Odd problem on my machines: the sata disks appear to be a lot slower when used via ata_piix vs the ahci driver. I would expect that. AHCI allows the use of NCQ and

[PATCH] falconide: locking bugfix

2008-02-17 Thread Bartlomiej Zolnierkiewicz
commit 8ac4ce742c66100931b6f2d7a36b0df08bc721fe (ide: fix host drivers depending on ide_generic to probe for interfaces (take 2)) moved probing to falconide but forgot to take care of Atari specific locking - fix it. Cc: Geert Uytterhoeven [EMAIL PROTECTED] Cc: Michael Schmitz [EMAIL PROTECTED]

Re: PROBLEM: Corruption problems in pata_via for Via NanoBook owners (Cloudbook, EasyNote XS etc.)

2008-02-17 Thread Bartlomiej Zolnierkiewicz
Hi, On Sunday 17 February 2008, Andrew Smith wrote: One Line : Changes in 2.24 have rendered the ide handling on the Via NanoBook unstable resulting in data loss under heavy load. Keywords : modules, pata_via, viac82 Kernel version : 2.24 Environment : Packard Bell Easynote XS -

Re: [PATCH 03/12] ide: add ide-4drives host driver

2008-02-17 Thread Bartlomiej Zolnierkiewicz
On Saturday 16 February 2008, Randy Dunlap wrote: [...] +You also need to use probe kernel paramater for ide-4drives driver parameter thanks, fixed in take 2 - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a message

Re: [PATCH 1/4] : More use DIV_ROUND_UP

2008-02-17 Thread Bartlomiej Zolnierkiewicz
On Saturday 16 February 2008, Julia Lawall wrote: From: Julia Lawall [EMAIL PROTECTED] The kernel.h macro DIV_ROUND_UP performs the computation (((n) + (d) - 1) / (d)) but is perhaps more readable. An extract of the semantic patch that makes this change is as follows:

Re: ICH7: ata_piix twice as fast as ahci?

2008-02-17 Thread Alan Cox
Am I interpreting this correctly as having to choose between fast iops with low cpu (+ hotplug) with ahci and twice the linear read speed with ata_piix? Some drives do weird things when NCQ is used and turn off some of their caching in that case so it depends on the drive what happens to

[PATCH 1/5] ide: remove PIO downgrade quirk

2008-02-17 Thread Bartlomiej Zolnierkiewicz
No need for it nowadays so remove quirk code from ide_get_best_pio_mode() and IDE_HFLAG_PIO_DOWNGRADE host flag. Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] --- drivers/ide/ide-lib.c | 10 -- drivers/ide/pci/amd74xx.c |1 - drivers/ide/pci/via82cxxx.c |1

[PATCH 2/5] ide: merge ide_match_hwif() and ide_find_port()

2008-02-17 Thread Bartlomiej Zolnierkiewicz
* Change ide_match_hwif() argument from 'u8 bootable' to 'struct ide_port_info *d'. * Move ide_match_hwif() to ide-probe.c from setup-pci.c and rename it to ide_find_port_slot(). Update some comments while at it. * ide_find_port() can be now just a wrapper for ide_find_port_slot(). There

[PATCH 5/5] ide: unexport ide_hwifs[]

2008-02-17 Thread Bartlomiej Zolnierkiewicz
All modular users have been fixed to not reference ide_hwifs[] directly. Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] --- drivers/ide/ide.c |5 - 1 file changed, 5 deletions(-) Index: b/drivers/ide/ide.c ===

[PATCH 3/5] ide: use ide_find_port() in legacy VLB host drivers

2008-02-17 Thread Bartlomiej Zolnierkiewicz
* Add IDE_HFLAG_QD_2ND_PORT host flag to indicate the need of skipping first ide_hwifs[] slot for the second port of QD65xx controller. * Handle this new host flag in ide_find_port_slot(). * Convert legacy VLB host drivers to use ide_find_port(). While at it: * Fix couple of printk()-s in

[PATCH 4/5] ide-generic: use ide_find_port()

2008-02-17 Thread Bartlomiej Zolnierkiewicz
There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] --- drivers/ide/ide-generic.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) Index: b/drivers/ide/ide-generic.c

Re: ST31000340NS (1000G) Capacity equal 33MB issue.

2008-02-17 Thread Mark Lord
Richard Liu wrote: Dear Mark: 2008/2/16, Mark Lord [EMAIL PROTECTED]: Mark Lord wrote: Richard Liu wrote: Thanks. By running the above data through hdparm --Istdin, I see that the drive is indeed identifying itself as a 33MB drive. Probably because it has been told to do so by either the

Re: ST31000340NS (1000G) Capacity equal 33MB issue.

2008-02-17 Thread Mark Lord
Mark Lord wrote: Richard Liu wrote: .. I downloaded hdparm-8.1 and here is output information. # ./hdparm -N /dev/sdc /dev/sdc: max sectors = 65134/1953525168, HPA is enabled .. Yes, pretty much as expected there. You can safely now try this: ./hdparm -N1953525168 /dev/sdc If

Re: ST31000340NS (1000G) Capacity equal 33MB issue.

2008-02-17 Thread Richard Liu
Dear Mark: 2008/2/18, Mark Lord [EMAIL PROTECTED]: Mark Lord wrote: Richard Liu wrote: .. I downloaded hdparm-8.1 and here is output information. # ./hdparm -N /dev/sdc /dev/sdc: max sectors = 65134/1953525168, HPA is enabled .. Yes, pretty much as expected there.

Re: ST31000340NS (1000G) Capacity equal 33MB issue.

2008-02-17 Thread Greg Freemyer
On Feb 17, 2008 2:18 PM, Mark Lord [EMAIL PROTECTED] wrote: Richard Liu wrote: Dear Mark: 2008/2/16, Mark Lord [EMAIL PROTECTED]: Mark Lord wrote: Richard Liu wrote: Thanks. By running the above data through hdparm --Istdin, I see that the drive is indeed identifying itself as a

[PATCH 4/4] ide-disk: fix issues found by checkpatch.pl

2008-02-17 Thread Bartlomiej Zolnierkiewicz
There are no changes to the resulting drivers/ide/ide-disk.o binary file (md5sum-s after and before the patch match). Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] --- drivers/ide/ide-disk.c | 120 - 1 file changed, 70 insertions(+),

[PATCH 2/4] ide-disk: add missing printk() KERN_* levels

2008-02-17 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] --- drivers/ide/ide-disk.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Index: b/drivers/ide/ide-disk.c === --- a/drivers/ide/ide-disk.c +++

[PATCH 3/4] ide-disk: add proc_idedisk_read_smart() helper

2008-02-17 Thread Bartlomiej Zolnierkiewicz
* Factor out common code from proc_idedisk_read_smart_{thresholds,values}() to proc_idedisk_read_smart() helper. * Rename proc_idedisk_read_smart_thresholds() to proc_idedisk_read_st() and proc_idedisk_read_smart_values() to proc_idedisk_read_sv(). There should be no functional changes

[PATCH 1/4] ide: fix sparse warning about shadowing 'flags' symbol

2008-02-17 Thread Bartlomiej Zolnierkiewicz
drivers/ide/ide.c:801:18: warning: symbol 'flags' shadows an earlier one drivers/ide/ide.c:732:16: originally declared here Also fix some whitespace damage while at it. Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] --- drivers/ide/ide.c | 13 + 1 file changed, 5

Re: ST31000340NS (1000G) Capacity equal 33MB issue.

2008-02-17 Thread Mark Lord
Greg Freemyer wrote: .. Very cool new functionality in [hdparm] 8.1 Looking forward to testing it this week. Thanks for your efforts. I assume DCO is still able to hide sectors from us? .. I'm not sure (haven't tried it here yet). But the way I read the ATA8 specification, it sounds like

[PATCH 2/2] libata: implement support for 32-bit PIO transfers

2008-02-17 Thread Willy Tarreau
From 4ea313fe6a3c46a90226cf40d0e3ece4b36b48f9 Mon Sep 17 00:00:00 2001 From: Willy Tarreau [EMAIL PROTECTED] Date: Sun, 17 Feb 2008 21:28:25 +0100 Subject: [PATCH 2/2] libata: implement support for 32-bit PIO transfers When ATA_DFLAG_32BIT_PIO is set in ata flags, PIO transfers will be performed

[PATCH 1/2] libata: implement ATA_IOC_GET_IO32/ATA_IOC_SET_IO32 ioctls

2008-02-17 Thread Willy Tarreau
From 40a8174d27cb9d93b859bc073c8f075b9ff71578 Mon Sep 17 00:00:00 2001 From: Willy Tarreau [EMAIL PROTECTED] Date: Sun, 17 Feb 2008 21:11:46 +0100 Subject: [PATCH 1/2] libata: implement ATA_IOC_GET_IO32/ATA_IOC_SET_IO32 ioctls This patch implements the aforementionned ioctls and get/set the new

[PATCH 0/2] libata: implement 32-bit transfers for PIO mode

2008-02-17 Thread Willy Tarreau
Hi Jeff, For several times I tried libata on small machines equipped with either CompactFlash or IDE DOM (Disk-On-Module). All those machines with small flashes (= 256 MB) were about 35-40% slower under libata than under the plain old IDE driver. I realized that all the slower ones were running

Re: [PATCH 0/2] libata: implement 32-bit transfers for PIO mode

2008-02-17 Thread Alan Cox
Thus, I have implemented the 32-bit mode to bring the performance back to the level of the old IDE driver. I jumped from 1.5 MB/s to 2.5 MB/s, which is an important difference at this level of performance, especially when large files are read. The 32-bit mode is enabled using the ioctl which

Re: [PATCH 2/2] libata: implement support for 32-bit PIO transfers

2008-02-17 Thread Alan Cox
On Sun, 17 Feb 2008 22:20:04 +0100 Willy Tarreau [EMAIL PROTECTED] wrote: From 4ea313fe6a3c46a90226cf40d0e3ece4b36b48f9 Mon Sep 17 00:00:00 2001 From: Willy Tarreau [EMAIL PROTECTED] Date: Sun, 17 Feb 2008 21:28:25 +0100 Subject: [PATCH 2/2] libata: implement support for 32-bit PIO

Re: [PATCH 0/2] libata: implement 32-bit transfers for PIO mode

2008-02-17 Thread Willy Tarreau
On Sun, Feb 17, 2008 at 10:31:34PM +, Alan Cox wrote: Thus, I have implemented the 32-bit mode to bring the performance back to the level of the old IDE driver. I jumped from 1.5 MB/s to 2.5 MB/s, which is an important difference at this level of performance, especially when large

[Bug 3615] Kernels 2.6.9 and 2.6.10-rc1 hang for 30 seconds during boot

2008-02-17 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=3615 --- Comment #16 from [EMAIL PROTECTED] 2008-02-17 17:30 --- (In reply to comment #15) Could you try 2.6.24 or 2.6.25-rc2 with hdc=noprobe parameter? I'm using a different DVD drive now and I don't have any delays during boot anymore.