Re: libata interface fatal error

2007-06-18 Thread Tejun Heo
Hello, Yeah, it seems promise has some problem with 3G link. Cc'ing Mikael Pettersson and quoting whole body for him. Mikael, does this look familiar? Tomi Orava wrote: Hi Tejun, I've been trying to find a solution for a long time for quite a similar libata errror messages as shown in

Re: Machine hanging on synchronize cache on shutdown 2.6.22-rc4-git[45678]

2007-06-18 Thread Tejun Heo
Hello, Mikael Pettersson wrote: On Sat, 16 Jun 2007 15:52:33 +0400, Brad Campbell wrote: I've got a box here based on current Debian Stable. It's got 15 Maxtor SATA drives in it on 4 Promise TX4 controllers. Using kernel 2.6.21.x it shuts down, but of course with a huge clack as 15 drives

Re: libata interface fatal error

2007-06-18 Thread Tejun Heo
Mikael Pettersson wrote: Yes, this is familiar. Several people have reported problems with Seagate's 7200.10 disks in 3Gbps operation on sata_promise. Unfortunately the error reports don't really give a clue as to what the root cause is. I used to be able to forcibly trigger similar errors

Re: SATA problems

2007-06-18 Thread Nigel Kukard
Hi Jeff, Ok ... second part of my problem. Where should I look in trying to debug the below problem... Regards Nigel Jun 18 07:59:56 nigel-m2v kernel: ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Jun 18 07:59:56 nigel-m2v kernel: ata2.00: cmd

CF flash IDE failure to attach with 2.6.20+

2007-06-18 Thread Andrew_hall
We have a series of machines that use CF as a boot media. Since upgrading to 2.6.20 (tried .9-.14), system will boot (from the flash media) but then fail to initialise the same media. Here is the dmesg from 2.6.20.14: ata_piix :00:1f.2: version 2.00ac7 ata_piix :00:1f.2: MAP [ P0 P2 P1

Re: libata interface fatal error

2007-06-18 Thread Florian Effenberger
Hi, Yeap, kernel will automatically downgrade to 1.5Gbps after several failures. is there also a boot-time option to force 1.5Gbps right from booting up? Florian - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a message to [EMAIL PROTECTED] More majordomo

Re: libata interface fatal error

2007-06-18 Thread Tejun Heo
Florian Effenberger wrote: Hi, Yeap, kernel will automatically downgrade to 1.5Gbps after several failures. is there also a boot-time option to force 1.5Gbps right from booting up? Nope. -- tejun - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a

Re: libata interface fatal error

2007-06-18 Thread Florian Effenberger
Hi, The controller being ich8, I'm pretty sure it isn't a driver problem. I think so, too. The Intel chipsets have shown to be very good in the past. Do the errors occur on all four drives? Also, if things work after speed is downgraded to 1.5Gbps, it doesn't really matter. There's no

Re: libata interface fatal error

2007-06-18 Thread Florian Effenberger
Hi, Maybe we need to limit link speed to 1.5Gbps for these drives on sata_promise? in our case, it's a Vendor: ATA Model: WDC WD1600YS-01S Rev: 20.0 Type: Direct-Access ANSI SCSI revision: 05 Vendor: ATA Model: WDC WD3200YS-01P Rev: 21.0 Type:

Re: libata interface fatal error

2007-06-18 Thread Tejun Heo
Florian Effenberger wrote: Hi, The controller being ich8, I'm pretty sure it isn't a driver problem. I think so, too. The Intel chipsets have shown to be very good in the past. Do the errors occur on all four drives? Also, if things work after speed is downgraded to 1.5Gbps, it doesn't

Re: CF flash IDE failure to attach with 2.6.20+

2007-06-18 Thread Tejun Heo
Andrew_hall wrote: We have a series of machines that use CF as a boot media. Since upgrading to 2.6.20 (tried .9-.14), system will boot (from the flash media) but then fail to initialise the same media. Here is the dmesg from 2.6.20.14: ata_piix :00:1f.2: version 2.00ac7 ata_piix

Re: libata interface fatal error

2007-06-18 Thread Florian Effenberger
Hi Tejun, Hmmm... Can you use a separate PSU to power two of the four drives and see what happens? Just power up a PSU as directed in the following webpage and connect two of the harddrives to the PSU. http://modtown.co.uk/mt/article2.php?id=psumod thanks for that link, we will try that

Re: Machine hanging on synchronize cache on shutdown 2.6.22-rc4-git[45678]

2007-06-18 Thread Mikael Pettersson
On Mon, 18 Jun 2007 16:09:49 +0900, Tejun Heo wrote: Mikael Pettersson wrote: On Sat, 16 Jun 2007 15:52:33 +0400, Brad Campbell wrote: I've got a box here based on current Debian Stable. It's got 15 Maxtor SATA drives in it on 4 Promise TX4 controllers. Using kernel 2.6.21.x it shuts

Re: libata interface fatal error

2007-06-18 Thread Tejun Heo
Florian Effenberger wrote: I don't know. Till now all the problem cases have been isolated to a specific controller / drive combination (sata_promise and newer seagate drives) or hardware configuration problem (most of them being PSU issues), so I don't think we need such option yet. If you

Re: libata interface fatal error

2007-06-18 Thread Florian Effenberger
Hi, Nope, there's nothing to worry about. okay, thanks a lot so far, it is good to know that developers are there to help. ;-) I will let you know how it turned out with the second PSU. Florian - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a message

Re: Machine hanging on synchronize cache on shutdown 2.6.22-rc4-git[45678]

2007-06-18 Thread Tejun Heo
Mikael Pettersson wrote: FWIW, I'm seeing scsi layer accesses (cache flushes) after things like rmmod sata_promise. They error out and don't seem to cause any harm, but the fact that they occur at all makes me nervous. That's okay. On rmmod, as the low level device (ATA) goes away first just

Re: CF flash IDE failure to attach with 2.6.20+

2007-06-18 Thread Alan Cox
On Mon, 18 Jun 2007 20:26:11 +0900 Tejun Heo [EMAIL PROTECTED] wrote: Andrew_hall wrote: We have a series of machines that use CF as a boot media. Since upgrading to 2.6.20 (tried .9-.14), system will boot (from the flash media) but then fail to initialise the same media. Here is the dmesg

libata: ATA_PIIX missing ICH8M PCIIDs.

2007-06-18 Thread Chr
Hi, I got a new laptop and I had a little problem that the DVD drive wasn't recognized by libata's piix driver (but the old IDE Subsystem found it!). So, after adding the new pciid 8086:2850 it works! But, I don't know if it's ich_pata_100 or ich_pata_133 since the dvd/cd drives only goes up

Re: libata: ATA_PIIX missing ICH8M PCIIDs.

2007-06-18 Thread Alan Cox
On Mon, 18 Jun 2007 15:20:06 +0200 Chr [EMAIL PROTECTED] wrote: Hi, I got a new laptop and I had a little problem that the DVD drive wasn't recognized by libata's piix driver (but the old IDE Subsystem found it!). So, after adding the new pciid 8086:2850 it works! But, I don't know if

Re: libata: ATA_PIIX missing ICH8M PCIIDs.

2007-06-18 Thread Chr
On Monday, 18. June 2007, Alan Cox wrote: On Mon, 18 Jun 2007 15:20:06 +0200 Chr [EMAIL PROTECTED] wrote: Hi, I got a new laptop and I had a little problem that the DVD drive wasn't recognized by libata's piix driver (but the old IDE Subsystem found it!). So, after adding the

Re: libata interface fatal error

2007-06-18 Thread Ansgar Knappheide
Mikael Pettersson schrieb: On Mon, 18 Jun 2007 15:28:44 +0900, Tejun Heo wrote: Yeah, it seems promise has some problem with 3G link. Cc'ing Mikael Pettersson and quoting whole body for him. Mikael, does this look familiar? Tomi Orava wrote: Hi Tejun, I've been trying to find a

[BUG] ide dma_timer_expiry, then hard lockup

2007-06-18 Thread Linas Vepstas
I've got a hard lockup in the ide subsystem, probably due to some irq spew or something like that. I've just bought a brand new Maxtor 320GB disk driver for the insane price of $70 US to replace another failing drive. It works well under light load; I was able to copy about 60GB to it.

RE: libata: ATA_PIIX missing ICH8M PCIIDs.

2007-06-18 Thread Gaston, Jason D
FYI: DID 2850 is the PATA IDE controller. Most likely, the laptop does not have SATA drives and is running off of PATA. The old IDE subsystem (piix.c) is where I added that PATA DID to. #define PCI_DEVICE_ID_INTEL_ICH8_6 0x2850 in pci_ids.h Jason -Original Message- From:

RE: libata: ATA_PIIX missing ICH8M PCIIDs.

2007-06-18 Thread Gaston, Jason D
I don't think we want to have a PATA controller DID added to the SATA IDE mode driver. This DID is already in the PATA piix.c driver. Jason -Original Message- From: [EMAIL PROTECTED] [mailto:linux-ide- [EMAIL PROTECTED] On Behalf Of Chr Sent: Monday, June 18, 2007 6:20 AM To:

RE: [PATCH] Add new ICH9M pci id (8086:2850) to ata_piix id list

2007-06-18 Thread Gaston, Jason D
DID 2850 is not a SATA controller. This is an ICH8 PATA controller DID. Jason -Original Message- From: [EMAIL PROTECTED] [mailto:linux-ide- [EMAIL PROTECTED] On Behalf Of Michal Piotrowski Sent: Sunday, June 17, 2007 2:36 PM To: Maurizio Monge Cc: [EMAIL PROTECTED];

Re: libata: ATA_PIIX missing ICH8M PCIIDs.

2007-06-18 Thread Chr
On Monday, 18. June 2007, Gaston, Jason D wrote: FYI: DID 2850 is the PATA IDE controller. Most likely, the laptop does not have SATA drives and is running off of PATA. The old IDE subsystem (piix.c) is where I added that PATA DID to. #define PCI_DEVICE_ID_INTEL_ICH8_60x2850 in

Re: libata interface fatal error

2007-06-18 Thread Tomi Orava
On Mon, 18 Jun 2007 15:28:44 +0900, Tejun Heo wrote: Yeah, it seems promise has some problem with 3G link. Cc'ing Mikael Pettersson and quoting whole body for him. Mikael, does this look familiar? Tomi Orava wrote: Hi Tejun, I've been trying to find a solution for a long time for

RE: libata: ATA_PIIX missing ICH8M PCIIDs.

2007-06-18 Thread Gaston, Jason D
I don't think we want to have the same DeviceID supported in more then one driver. Would they not conflict with each other? Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 18, 2007 11:50 AM To: Gaston, Jason D Cc:

Re: libata: ATA_PIIX missing ICH8M PCIIDs.

2007-06-18 Thread Chr
On Monday, 18. June 2007, you wrote: I don't think we want to have the same DeviceID supported in more then one driver.  Would they not conflict with each other? Jason please bottom post! about your concerns: see: pci_id.h #define PCI_DEVICE_ID_INTEL_ICH6_19 0x266f #define

Re: libata: ATA_PIIX missing ICH8M PCIIDs.

2007-06-18 Thread Jeff Garzik
Gaston, Jason D wrote: I don't think we want to have the same DeviceID supported in more then one driver. Would they not conflict with each other? In Fedora 7, CONFIG_IDE is disabled. ata_piix drives all hardware at that point. Jeff - To unsubscribe from this list: send the

Re: [PROBLEM]: hdparm strange behaviour for 2.6.21 and later

2007-06-18 Thread Mark Lord
Thanos Kyritsis wrote: Hello, starting with kernel 2.6.21 and up to kernel 2.6.22-rc4, I'm having the following problem: /etc/rc.d/rc.local contains the following: /usr/sbin/hdparm -q -d1 -q -u1 -q -c1 -q -k1 /dev/hda /usr/sbin/hdparm -q -d1 -q -u1 -q -c1 -q -k1 /dev/hdb /usr/sbin/hdparm -q

Re: libata: ATA_PIIX missing ICH8M PCIIDs.

2007-06-18 Thread Chr
On Monday, 18. June 2007, Gaston, Jason D wrote: I hate outlook... As PATA is going away, hopefully this will be a moot point. yes, PATA served well, but Intel has already done the necessary ceremony for PATA's funreal. ICH8M is maybe really the last chipset with a native IDE interface.

Re: libata: ATA_PIIX missing ICH8M PCIIDs.

2007-06-18 Thread Chr
On Monday, 18. June 2007, Jeff Garzik wrote: Gaston, Jason D wrote: I don't think we want to have the same DeviceID supported in more then one driver. Would they not conflict with each other? In Fedora 7, CONFIG_IDE is disabled. ata_piix drives all hardware at that point.

Re: [BUG] ide dma_timer_expiry, then hard lockup

2007-06-18 Thread Alan Cox
ide_dma_timeout_retry() in ide-io.c prints the hdc: DMA Timeout error then calls HWIF(drive)-ide_dma_end(drive); which returns, and then calls hwif-INB(IDE_STATUS_REG) which is needed as an argument to ide_error() But this hangs! -- The INB never returns. Now: hwif-INB =

Re: libata: ATA_PIIX missing ICH8M PCIIDs.

2007-06-18 Thread Alan Cox
On Mon, 18 Jun 2007 11:00:33 -0700 Gaston, Jason D [EMAIL PROTECTED] wrote: I don't think we want to have a PATA controller DID added to the SATA IDE mode driver. ata_piix drives both - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a message to [EMAIL

Re: libata: ATA_PIIX missing ICH8M PCIIDs.

2007-06-18 Thread Alan Cox
On Mon, 18 Jun 2007 11:57:16 -0700 Gaston, Jason D [EMAIL PROTECTED] wrote: I don't think we want to have the same DeviceID supported in more then one driver. Would they not conflict with each other? Nope and drivers/ide is going away (eventually) Alan - To unsubscribe from this list: send

Re: [BUG] ide dma_timer_expiry, then hard lockup

2007-06-18 Thread Linas Vepstas
On Mon, Jun 18, 2007 at 09:27:04PM +0100, Alan Cox wrote: ide_dma_timeout_retry() in ide-io.c prints the hdc: DMA Timeout error then calls HWIF(drive)-ide_dma_end(drive); which returns, and then calls hwif-INB(IDE_STATUS_REG) which is needed as an argument to ide_error()

Re: [BUG] ide dma_timer_expiry, then hard lockup

2007-06-18 Thread Alan Cox
So what do you suggest? (I could buy an alternate ide controller, and hope that goes away, or just buy a different hard drive. But that's beside the point). The DMA timeout itself could be all sorts of things - crap driver, crap hardware, PCI bus contention, noise, problem disk, phase of the

Re: [BUG] ide dma_timer_expiry, then hard lockup

2007-06-18 Thread Linas Vepstas
On Mon, Jun 18, 2007 at 10:04:41PM +0100, Alan Cox wrote: If you've got a nice repeatable problem Very highly repeatable :-( please try using the libata driver. That handles the error paths differently and doesn't try a FIFO drain which might matter in this case I guess. Dohh, yes, of

RE: CF flash IDE failure to attach with 2.6.20+

2007-06-18 Thread Andrew Hall
For some reason, mwdma doesn't work in libata now. I'm not sure why tho. Alan, can you enlighten us? No idea at all. All my hardware is still happy. 2.6.20 is an old kernel however so it does predate the fixes you did for ata_piix mode setup ? Old - yes, but more stable in all other

RE: CF flash IDE failure to attach with 2.6.20+

2007-06-18 Thread Andrew Hall
ata1.00: configured for MWDMA2 For some reason, mwdma doesn't work in libata now. I'm not sure why tho. Alan, can you enlighten us? If the CF is having trouble with DMA, how do I specifically turn off DMA only on this one bus? - To unsubscribe from this list: send the line unsubscribe

sata_sil24 not configuring drive right?

2007-06-18 Thread Theo Baumgartner
Hello I've got a sil3124 card which doesn't seem to use the full speed of my drives. --- ata1: SATA max UDMA/100 cmd 0xe085 ctl 0x bmdma 0x irq 17 ata2: SATA max

Re: CF flash IDE failure to attach with 2.6.20+

2007-06-18 Thread Tejun Heo
Andrew Hall wrote: For some reason, mwdma doesn't work in libata now. I'm not sure why tho. Alan, can you enlighten us? No idea at all. All my hardware is still happy. 2.6.20 is an old kernel however so it does predate the fixes you did for ata_piix mode setup ? Old - yes, but more

2.6.22-rc4 BUG, old IDE driver

2007-06-18 Thread linux
(I sent this to linux-RAID, then actually read it and noticed that the crash was in the IDE code. Reposting here.) This is 2.6.22-rv4 + linuxpps, on a venerable and stable 32-bit system (P3 processor, 400BX motherboard, ECC RAM). That drive has been giving me hassles from time to time, but is