Re: libata pm

2008-01-28 Thread [EMAIL PROTECTED]
Hello, Am Mo, 28.01.2008, 01:17, schrieb Tejun Heo: Hello, [EMAIL PROTECTED] wrote: With one, two and three drives on the pm I got no errors, so I tried to change the power supply. I got two power supplies for the 16 harddrives and the second one (with all Maxtor drives and the first pm)

Re: libata pm

2008-01-28 Thread Tejun Heo
Hello, Dusty. [EMAIL PROTECTED] wrote: Shuffling the drives did not change anything to the linkspeed of the 3 ports running with 1.5 Gbps. Looks like the problem is port-related. Hmm... Okay. Maybe the signal traces or connectors have some problems. But 3.0Gbps on downstream port doesn't

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Gene Heskett
On Monday 28 January 2008, Gene Heskett wrote: [    0.00] If you got timer trouble try acpi_use_timer_override This is from the dmesg of my previous post. Can anyone tell me what it actually means? -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury,

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Gene Heskett
On Monday 28 January 2008, Peter Zijlstra wrote: On Mon, 2008-01-28 at 09:17 +0100, Mikael Pettersson wrote: 1. Wrong mailing list; use linux-ide (@vger) instead. What, and keep all us other interested people in the dark? As a test, I tried rebooting to the latest fedora kernel and found it

[PATCH] pata_legacy: multiple updates (rediff as asked)

2008-01-28 Thread Alan Cox
- Fix probe logic to support multiple devices better - Fold in qdi and winbond support - Fix promise 202C30 probe - Restructure diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.24/drivers/ata/pata_legacy.c linux-2.6.24/drivers/ata/pata_legacy.c ---

Re: [PATCH 0/32] ide-tape redux v1

2008-01-28 Thread Bartlomiej Zolnierkiewicz
On Sunday 27 January 2008, Bartlomiej Zolnierkiewicz wrote: BTW what happend to patch #23? my bad, the patch got eaten by gmail's spam filter... - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH] pata_sl82c105: dual channel support

2008-01-28 Thread Alan Cox
Use qc_defer to serialize the two channels Signed-off-by: Alan Cox [EMAIL PROTECTED] diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.24/drivers/ata/pata_sl82c105.c linux-2.6.24/drivers/ata/pata_sl82c105.c --- linux.vanilla-2.6.24/drivers/ata/pata_sl82c105.c

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Gene Heskett
On Monday 28 January 2008, Gene Heskett wrote: On Monday 28 January 2008, Zan Lynx wrote: On Mon, 2008-01-28 at 11:50 -0500, Calvin Walton wrote: On Mon, 2008-01-28 at 11:35 -0500, Gene Heskett wrote: On Monday 28 January 2008, Mikael Pettersson wrote: Unfortunately we also see: [

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Mark Lord
Added Alan to CC: list. [ 30.703188] scsi0 : pata_amd [ 30.709313] scsi1 : pata_amd [ 30.710076] ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xf000 irq 14 [ 30.710079] ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xf008 irq 15 [ 30.864753] ata1.00: ATA-6: WDC

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Mark Lord
Gene Heskett wrote: Greeting; I had to reboot early this morning due to a freezeup, and I had a bunch of these in the messages log: == Jan 27 19:42:11 coyote kernel: [42461.915961] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Jan 27 19:42:11 coyote kernel:

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Gene Heskett
On Monday 28 January 2008, Richard Heck wrote: I've recently seen this kind of error myself, under Fedora 8, using the Fedora 2.6.23 kernels: I'd see a train of the same sort of error: Jan 28 04:46:25 coyote kernel: [26550.290016] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Gene Heskett
On Monday 28 January 2008, Mikael Pettersson wrote: Gene Heskett writes: On Monday 28 January 2008, Peter Zijlstra wrote: On Mon, 2008-01-28 at 09:17 +0100, Mikael Pettersson wrote: 1. Wrong mailing list; use linux-ide (@vger) instead. What, and keep all us other interested people in

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Zan Lynx
On Mon, 2008-01-28 at 11:50 -0500, Calvin Walton wrote: On Mon, 2008-01-28 at 11:35 -0500, Gene Heskett wrote: On Monday 28 January 2008, Mikael Pettersson wrote: Unfortunately we also see: [ 48.285456] nvidia: module license 'NVIDIA' taints kernel. [ 48.549725] ACPI: PCI

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Mark Lord
Gene Heskett wrote: On Monday 28 January 2008, Mark Lord wrote: .. Another way is to use the make_bad_sector utility that is included in the source tarball for hdparm-7.7, as follows: make_bad_sector --readback /dev/sda 474507 Apparently not in the rpm, darnit. .. That's okay. It should

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Richard Heck
Daniel Barkalow wrote: Can you switch back to old IDE to get your work done (and to make sure it's not a hardware issue that's developed recently)? I think it'd be really, REALLY helpful to a lot of people if you, or someone, could explain in moderate detail how this might be done. I tried

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Mark Lord
Mark Lord wrote: Gene Heskett wrote: .. And so far no one has tried to comment on those 2 dmesg lines I've quoted a couple of times now, here's another: [0.00] Nvidia board detected. Ignoring ACPI timer override. [0.00] If you got timer trouble try acpi_use_timer_override what

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Mark Lord
Alan Cox wrote: On Mon, Jan 28, 2008 at 01:38:40PM -0500, Mark Lord wrote: [ 31.195305] ata2.00: ATAPI: LITE-ON DVDRW SHM-165H6S, HS06, max UDMA/66 [ 31.243813] ata2.01: ATA-7: MAXTOR STM3320620A, 3.AAE, max UDMA/100 [ 31.243816] ata2.01: 625142448 sectors, multi 16: LBA48 [ 31.243825]

Re: [PATCH 7/8] ide: add struct ide_port_info instances to legacy host drivers

2008-01-28 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: * Remove 'struct pci_dev *dev' argument from ide_hwif_setup_dma(). * Un-static ide_hwif_setup_dma() and add CONFIG_BLK_DEV_IDEDMA_PCI=n version. * Add 'const struct ide_port_info *d' argument to ide_device_add[_all](). * Factor out generic ports

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Daniel Barkalow
On Mon, 28 Jan 2008, Richard Heck wrote: Daniel Barkalow wrote: Can you switch back to old IDE to get your work done (and to make sure it's not a hardware issue that's developed recently)? I think it'd be really, REALLY helpful to a lot of people if you, or someone, could explain in

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Gene Heskett
On Monday 28 January 2008, Gene Heskett wrote: While reading this msg as it came back, I locked up again and rebooted to 2.6.24, and got lucky (maybe) as the attached dmesg will show quite a few instances of this LNNNGG before the nvidia driver is loaded to taint the kernel. Have fun guys!

Re: Marvel 88SE6121 driver

2008-01-28 Thread Mike Zheng
Thanks Sergei. I tested with 0x0407. There is still no interrupt generated from the controller. The following are the register values after soft reset of the SATA port. Any idea for no interrupt from SATA controller? Thanks for your help, Successfully done SATA_DoSoftReset loop = 1388

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Mikael Pettersson
Gene Heskett writes: On Monday 28 January 2008, Peter Zijlstra wrote: On Mon, 2008-01-28 at 09:17 +0100, Mikael Pettersson wrote: 1. Wrong mailing list; use linux-ide (@vger) instead. What, and keep all us other interested people in the dark? As a test, I tried rebooting to the

Re: Marvel 88SE6121 driver

2008-01-28 Thread Sergei Shtylyov
Hello. Mike Zheng wrote: From PCI config space, the VENDOR_ID and DEVICE_ID are correct for my driver. However the PCI_COMMAND register of 88SE6121 I got is 0x7, which is the same as default value. Based on the document, it has to be 0x0207 to enable interrupt. However I always failed to do

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Jeff Garzik
Gene Heskett wrote: Greeting; I had to reboot early this morning due to a freezeup, and I had a bunch of these in the messages log: == Jan 27 19:42:11 coyote kernel: [42461.915961] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Jan 27 19:42:11 coyote kernel:

[2.6 patch] ide: make wait_drive_not_busy() static again

2008-01-28 Thread Adrian Bunk
After commit 7267c3377443322588cddaf457cf106839a60463 wait_drive_not_busy() can become static again. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- drivers/ide/ide-taskfile.c |2 +- include/linux/ide.h|2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Gene Heskett
On Monday 28 January 2008, Mark Lord wrote: [ 64.037975] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 [ 64.038102] ata1.00: BMDMA stat 0x65 [ 64.038227] ata1.00: cmd c8/00:58:89:3d:07/00:00:00:00:00/e0 tag 0 dma 45056 in [ 64.038229] res

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Mark Lord
[ 64.037975] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 [ 64.038102] ata1.00: BMDMA stat 0x65 [ 64.038227] ata1.00: cmd c8/00:58:89:3d:07/00:00:00:00:00/e0 tag 0 dma 45056 in [ 64.038229] res 51/40:58:8b:3d:07/00:00:00:00:00/e0 Emask 0x9 (media error) [

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Gene Heskett
On Monday 28 January 2008, Zan Lynx wrote: On Mon, 2008-01-28 at 11:50 -0500, Calvin Walton wrote: On Mon, 2008-01-28 at 11:35 -0500, Gene Heskett wrote: On Monday 28 January 2008, Mikael Pettersson wrote: Unfortunately we also see: [ 48.285456] nvidia: module license 'NVIDIA' taints

[2.6 patch] small ide-scan-pci.c cleanup

2008-01-28 Thread Adrian Bunk
- ide_scan_pcibus() can become static - instead of ide_scan_pci() we can use ide_scan_pcibus() directly in module_init() Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- drivers/ide/ide-scan-pci.c |9 ++--- include/linux/ide.h|1 - 2 files changed, 2 insertions(+), 8

[2.6 patch] unexport ide_dma_on

2008-01-28 Thread Adrian Bunk
ide_dma_on can be unexported. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- 38b0717b827649511b15fbef6f98c891eda835ff diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c index 5bf3203..15f8c6a 100644 --- a/drivers/ide/ide-dma.c +++ b/drivers/ide/ide-dma.c @@ -474,8 +474,6 @@ void

Re: Hot (un)plugging of a SATA drive with sata_nv (CK8S)?

2008-01-28 Thread Robert Hancock
(linux-ide cc'ed) Ignacy Gawedzki wrote: On Fri, Jan 25, 2008 at 09:03:02PM -0600, thus spake Robert Hancock: Ignacy Gawedzki wrote: Hi everyone, I'm having trouble to determine the cause of the following behavior. I'm not even sure that I'm supposed to hot plug and unplug a SATA drive from

Re: [2.6 patch] ata_piix.c: make piix_merge_scr() static

2008-01-28 Thread Tejun Heo
Adrian Bunk wrote: piix_merge_scr() can become static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- f272ad2ac4274a59f0b43cfd65488c51855132d4 diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index a65c8ae..1a5c3bf 100644 --- a/drivers/ata/ata_piix.c +++

[2.6 patch] ata_piix.c: make piix_merge_scr() static

2008-01-28 Thread Adrian Bunk
piix_merge_scr() can become static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- f272ad2ac4274a59f0b43cfd65488c51855132d4 diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index a65c8ae..1a5c3bf 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c @@ -1068,7 +1068,7

Marvel 88SE6121 driver

2008-01-28 Thread Mike Zheng
Hi All, I am doing development of device driver of 88SE6121 on Kernel 2.4 for PowerPC 8568 board, which is a BIG endian CPU. From PCI config space, the VENDOR_ID and DEVICE_ID are correct for my driver. However the PCI_COMMAND register of 88SE6121 I got is 0x7, which is the same as default

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Daniel Barkalow
On Mon, 28 Jan 2008, Gene Heskett wrote: I believe at this point, its moot. I captured quite a few instances of that error message while rebooting the last time, all of which occurred long before I logged in and did a startx (I boot to runlevel 3 here), so the kernel was NOT tainted at

Re: fixed a bug of adma in rhel4u5 with HDS7250SASUN500G.

2008-01-28 Thread Robert Hancock
Kuan Luo wrote: Robert worte. Kuan, does this patch (using the notifiers to see if the command is really done) still work if one port on the controller has ADMA disabled because it's in ATAPI mode? I seem to recall Allen Martin mentioning that notifiers wouldn't work in this case. I just

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Gene Heskett
On Monday 28 January 2008, Daniel Barkalow wrote: On Mon, 28 Jan 2008, Richard Heck wrote: Daniel Barkalow wrote: Can you switch back to old IDE to get your work done (and to make sure it's not a hardware issue that's developed recently)? I think it'd be really, REALLY helpful to a lot of

DMA mapping on SCSI device?

2008-01-28 Thread Robert Hancock
We've got a bit of a problem with the sata_nv driver that I'm trying to figure out a decent solution to (hence all the lists CCed). This is the situation: The nForce4 ADMA hardware has 2 modes: legacy mode, where it acts like a normal ATA controller with 32-bit DMA limits, and ADMA mode where

[PATCH 2.6.24] ata_piix: IDE mode SATA patch for Intel ICH10 DeviceID's

2008-01-28 Thread Jason Gaston
This patch adds the Intel ICH10 IDE mode SATA Controller DeviceID's. Signed-off-by: Jason Gaston [EMAIL PROTECTED] --- linux-2.6.24/drivers/ata/ata_piix.c.orig2008-01-24 14:58:37.0 -0800 +++ linux-2.6.24/drivers/ata/ata_piix.c 2008-01-28 14:58:22.0 -0800 @@ -263,6 +263,14

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Daniel Barkalow
On Mon, 28 Jan 2008, Gene Heskett wrote: On Monday 28 January 2008, Daniel Barkalow wrote: Building this and installing it along with the appropriate initrd (which might be handled by Fedora's install scripts) Or mine, which I've been using for years. You're ahead of a surprising number of

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Gene Heskett
On Monday 28 January 2008, Daniel Barkalow wrote: On Mon, 28 Jan 2008, Gene Heskett wrote: On Monday 28 January 2008, Daniel Barkalow wrote: Building this and installing it along with the appropriate initrd (which might be handled by Fedora's install scripts) Or mine, which I've been using

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Daniel Barkalow
On Mon, 28 Jan 2008, Gene Heskett wrote: On Monday 28 January 2008, Daniel Barkalow wrote: On Mon, 28 Jan 2008, Gene Heskett wrote: On Monday 28 January 2008, Daniel Barkalow wrote: Building this and installing it along with the appropriate initrd (which might be handled by Fedora's

RE: fixed a bug of adma in rhel4u5 with HDS7250SASUN500G.

2008-01-28 Thread Kuan Luo
robert wrote: Kuan Luo wrote: Robert worte. Kuan, does this patch (using the notifiers to see if the command is really done) still work if one port on the controller has ADMA disabled because it's in ATAPI mode? I seem to recall Allen Martin mentioning that notifiers wouldn't

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Mark Lord
Gene Heskett wrote: .. That's ok, dd seemed to do the job also. .. The two programs operate entirely differently from each other, so it may still be worth trying the make_bad_sector utility there. dd goes through the regular kernel I/O calls, whereas make_bad_sector sends raw ATA commands

Re: DMA mapping on SCSI device?

2008-01-28 Thread Grant Grundler
On Jan 29, 2008 11:08 AM, Robert Hancock [EMAIL PROTECTED] wrote: ... The last solution I tried was to set the DMA mask on both ports to 32-bit on slave_configure when an ATAPI device is connected. However, this runs into complications as well. This is run on initialization and when trying to

Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-28 Thread Thomas Evans
No like with only a drive attached and no PMP. The driver is still unable to IDENTIFY the connected disk: failed to IDENTIFY (I/O error, err_mask=0x20) On Jan 28, 2008 1:51 AM, Thomas Evans [EMAIL PROTECTED] wrote: On 1/27/08, Tejun Heo [EMAIL PROTECTED] wrote: Hmmm... That's strange. If

Re: DMA mapping on SCSI device?

2008-01-28 Thread Matthew Wilcox
On Mon, Jan 28, 2008 at 06:08:44PM -0600, Robert Hancock wrote: The thought of using the SCSI struct device for DMA mapping was brought up at one point.. any thoughts on that? I believe this will work on some architectures and not others. Anything that uses include/asm-generic/dma-mapping.h

Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-28 Thread Tejun Heo
Thomas Evans wrote: No like with only a drive attached and no PMP. The driver is still unable to IDENTIFY the connected disk: failed to IDENTIFY (I/O error, err_mask=0x20) So, the problem is not specific to PMP support. That makes more sense. Does moving the controller to different slot

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Kasper Sandberg
On Mon, 2008-01-28 at 11:35 -0500, Gene Heskett wrote: On Monday 28 January 2008, Mikael Pettersson wrote: Gene Heskett writes: On Monday 28 January 2008, Peter Zijlstra wrote: On Mon, 2008-01-28 at 09:17 +0100, Mikael Pettersson wrote: 1. Wrong mailing list; use linux-ide (@vger)

Re: sata_sil24 / Alpha / 4726 PMP issue ..

2008-01-28 Thread Thomas Evans
I've tried it in various slots on both PCI hoses - no difference. ...tom Tejun Heo wrote: Thomas Evans wrote: No like with only a drive attached and no PMP. The driver is still unable to IDENTIFY the connected disk: failed to IDENTIFY (I/O error, err_mask=0x20) So, the problem is

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Gene Heskett
On Monday 28 January 2008, Kasper Sandberg wrote: [...] We have no way of debugging that module, so please try 2.6.24 without it. Sorry, I can't do this and have a working machine. The nv driver has suffered bit rot or something since the FC2 days when it COULD run a 19 crt at 1600x1200,

Re: [PATCH 0/32] ide-tape redux v1

2008-01-28 Thread Borislav Petkov
Hi Bart, [...] the BKL in idetape_write_release() with finer-grained locking etc, probably also some pipeline improvements, removal of OnStream support, etc. but that'll come later. On-Stream support has been long gone but it seems that deprecation warning etc. managed to

Re: DMA mapping on SCSI device?

2008-01-28 Thread Andi Kleen
The ideal solution would be to do mapping against a different struct device for each port, so that we could maintain the proper DMA mask for each of them at all times. However I'm not sure if that's possible. I cannot imagine why it should be that difficult. The PCI subsystem could over a

RE: fixed a bug of adma in rhel4u5 with HDS7250SASUN500G.

2008-01-28 Thread Kuan Luo
Robert wrote: Kuan Luo wrote: Robert worte. Kuan, does this patch (using the notifiers to see if the command is really done) still work if one port on the controller has ADMA disabled because it's in ATAPI mode? I seem to recall Allen Martin mentioning that notifiers wouldn't

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Kasper Sandberg
On Mon, 2008-01-28 at 23:49 -0500, Gene Heskett wrote: On Monday 28 January 2008, Kasper Sandberg wrote: [...] snip I can invalidate this theory... i helped a guy on irc debug this problem, and he had ati. I tried having him stop using fglrx, and go to r300.. same problem, and same problem

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Michal Jaegermann
On Mon, Jan 28, 2008 at 08:31:57PM -0500, Gene Heskett wrote: In my script, its one line: mkinitrd -f initrd-$VER.img $VER \ where $VER is the shell variable I edit to = the version number, located at the top of the script. Unforch, its failing: No module pata_amd found for kernel

Re: Problem with ata layer in 2.6.24

2008-01-28 Thread Florian Attenberger
On Mon, 28 Jan 2008 14:13:21 -0500 Gene Heskett [EMAIL PROTECTED] wrote: I had to reboot early this morning due to a freezeup, and I had a bunch of these in the messages log: == Jan 27 19:42:11 coyote kernel: [42461.915961] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0