Re: sata scsi suggestion for make menuconfig

2007-09-08 Thread Stefan Richter
(added Cc linux-ide) Folkert van Heusden wrote: A popup makes some sense, but I don't know if menuconfig knows how to do popup warnings... and it needs to be done for all *configs, not just menuconfig. Maybe add a new type? How about comment Note: 'SCSI disk support' is required for

Re: sata scsi suggestion for make menuconfig

2007-09-08 Thread Jan Engelhardt
On Sep 8 2007 09:05, Stefan Richter wrote: config ATA [...] comment Controller drivers [...low-level drivers go here...] comment Storage device drivers config ATA_SD tristate SATA/PATA HDD support (via SCSI disk support) depends on ATA select BLK_DEV_SD help

Re: libata not working for sis5533

2007-09-08 Thread Jan Engelhardt
On Sep 2 2007 11:40, Alan Cox wrote: i've been out for a week, but found no notice, did i lost any email or no activity on this issue? I tagged it onto the obscure IDE report pile. It doesn't contain any really useful information and its probably not an IDE layer bug as of itself. But its on

Re: sata scsi suggestion for make menuconfig

2007-09-08 Thread Stefan Richter
Jan Engelhardt wrote: On Sep 8 2007 09:05, Stefan Richter wrote: config ATA_SD tristate SATA/PATA HDD support (via SCSI disk support) depends on ATA select BLK_DEV_SD help 'SCSI disk support' is required to access SATA HDDs. It is [...] You can say Y or M

Re: [PATCH 2.6.23-rc5] ata_piix: replace spaces with tabs

2007-09-08 Thread Alan Cox
On Fri, 7 Sep 2007 17:21:03 -0700 Jason Gaston [EMAIL PROTECTED] wrote: This patch removes some incorrect formatting spaces and replaces them with tabs. Signed-off-by: Jason Gaston [EMAIL PROTECTED] Reviewed-by: Alan Cox [EMAIL PROTECTED] - To unsubscribe from this list: send the line

Re: libata not working for sis5533

2007-09-08 Thread Jan Engelhardt
On Sep 8 2007 11:38, Patrizio Bassi wrote: Jan Engelhardt wrote: I shall give this a spin too, since I happen to have sis5513. Just booted this fresh ata-enabled system (a matter of mkinitrd). It has not exploded yet. don't you have the irq 14 issue? No, does not seem so. can you post

[1/2] 2.6.23-rc5: known regressions with patches v2

2007-09-08 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.23-rc5 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Adrian Bunk

Re: [PATCH 2/4] hpt366: MWDMA filter for SATA cards

2007-09-08 Thread Sergei Shtylyov
Hello, I wrote: Sergei Shtylyov wrote: The patch was 4/4 of course. :- Probably I was too esctatic about the code. ;-) Or rarher me. :-) The Marvell bridge chips used on HighPoint SATA cards do not seem to support the MWDMA modes (at least that caould be seen in their so-called

Re: [PATCH 3/4] ide: make ide_rate_filter() also respect PIO and SW/MW DMA mode masks (take 2)

2007-09-08 Thread Sergei Shtylyov
Once I quothed: Make ide_rate_filter() also respect PIO/SWDMA/MWDMA mode masks. While at it, make the udma_filter() method calls take precedence over using the mode masks. This one not looking to pretty -- I've geve some thought on how to beautify all these switch fallthoughs but haven't

Re: [PATCH 5/10] hpt366: remove -init_setup

2007-09-08 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: * Split off hpt{374,371,366}_init() helper from init_setup_hpt{374,371,366}(). * Merge init_setup_{374,372n,371,372a,302,366}() into hpt366_init_one(). While at it: * Use HPT36x name for HPT366/HPT368 chipsets. * Add .chip_name to struct hpt_info and

Re: Bug#419482: Kernel 2.6.18 - ALI15X3 driver too optmistic about UDMA

2007-09-08 Thread Alan Cox
if (m5229_revision = 0x20) { return 0; } else if ((m5229_revision 0xC2) So 0xC1 takes this path Looking back at the equivalent code in 2.4.27 (the previous kernel this machine ran), that's rather different: if (m5229_revision 0xC1) {/*

Re: [PATCH 5/13] ide: add IDE_HFLAG_ERROR_STOPS_FIFO host flag

2007-09-08 Thread Alan Cox
On Thu, 6 Sep 2007 04:13:56 -0400 Jeff Garzik [EMAIL PROTECTED] wrote: On Wed, Sep 05, 2007 at 11:52:57PM +0200, Bartlomiej Zolnierkiewicz wrote: Add IDE_HFLAG_ERROR_STOPS_FIFO host flag and use it instead of hwif-err_stops_fifo. As a side-effect this change fixes hwif-err_stops_fifo

Re: [PATCH 5/13] ide: add IDE_HFLAG_ERROR_STOPS_FIFO host flag

2007-09-08 Thread Alan Cox
You'd have to add the drain data on error hack first, right now we will reset in that case (which for one or two devices has another problem in that it won't clear a stuck FIFO) Nod. There was nothing ever wrong with Mark's drain patch, I just never saw a solid justification for it

Re: sata scsi suggestion for make menuconfig

2007-09-08 Thread Randy Dunlap
Stefan Richter wrote: (added Cc linux-ide) Folkert van Heusden wrote: A popup makes some sense, but I don't know if menuconfig knows how to do popup warnings... and it needs to be done for all *configs, not just menuconfig. Maybe add a new type? How about comment Note: 'SCSI disk support' is

Re: [PATCH 5/13] ide: add IDE_HFLAG_ERROR_STOPS_FIFO host flag

2007-09-08 Thread Jeff Garzik
Alan Cox wrote: You'd have to add the drain data on error hack first, right now we will reset in that case (which for one or two devices has another problem in that it won't clear a stuck FIFO) Nod. There was nothing ever wrong with Mark's drain patch, I just never saw a solid justification

Re: sata scsi suggestion for make menuconfig

2007-09-08 Thread Stefan Richter
Randy Dunlap wrote: Stefan Richter wrote: I am not a friend of 'select', but maybe the following actually helps. ... The problem with 'select' here is that it will enable BLK_DEV_SD, but if SCSI is not enabled, it will not become enabled -- i.e., select does not follow the dependency chain.

Re: sata scsi suggestion for make menuconfig

2007-09-08 Thread Randy Dunlap
On Sat, 08 Sep 2007 18:44:46 +0200 Stefan Richter wrote: Randy Dunlap wrote: Stefan Richter wrote: I am not a friend of 'select', but maybe the following actually helps. ... The problem with 'select' here is that it will enable BLK_DEV_SD, but if SCSI is not enabled, it will not become

Re: [PATCH] libata: Add a drivers/ide style DMA disable

2007-09-08 Thread Tejun Heo
Jeff Garzik wrote: FWIW -- as I noted to Alan personally at KS, I would rather drop the pata_ and have it apply to all, PATA or SATA. Having the distinction between sata and pata is also nice tho considering many modern machines mix the two and use the P part for ATAPI, CF kind of stuff. It's

Re: CF as IDE on ICH6M using libata

2007-09-08 Thread Tejun Heo
Mark Lord wrote: Tejun Heo wrote: Eddie Hung wrote: However, I think we can conclude that ICH6M (which on the X41, has a SATA-PATA bridge to connect a PATA drive) does not seem to support MWDMA It isn't clear whether the fault is at the driver or the CF device. It's probably the bridge

Re: shut down msg

2007-09-08 Thread Tejun Heo
Bruno Buys wrote: Hi, I am using debian sid in an acer notebook, and I do see the spin down msg referred in http://linux-ata.org/shutdown.html. Linux is 2.6.22-1-686 and hd is sata. Am I to worry? Thanks! You better update your shutdown program. Especially so if your drive makes funny sound

Re: [2.6.22.5] irq X: nobody cared but X is successfully used by libata

2007-09-08 Thread Tejun Heo
Paul Rolland wrote: Hello, My machine (an ASUS P5W-DH-Deluxe, Core2, 4Go RAM, 3 SATA and 2IDE) is reporting a : irq 23: nobody cared (try booting with the irqpoll option) together with a Call Trace, but : - irqpoll is present on the command line, - the irq is reported to be used by

Re: Fwd: Intel 82801G (ICH7) SATA port reset

2007-09-08 Thread Tejun Heo
Joris wrote: Hello List, I have a rather annoying problem. On an Intel S3000AHLX (http://www.intel.com/design/servers/boards/s3000ah/index.htm) motherboard, I can't seem to utilize all SATA interfaces to the maximum. The first sata interface frequently resets every few seconds under

Re: HSM violation on bootup, ICH7 + ata_piix 2.6.22

2007-09-08 Thread Tejun Heo
Eamonn Hamilton wrote: Hi, I'm looking ta a Dell SC440 system for a friend, and it's giving HSM violations at startup. The system itself has an ICH7 chipset, with two seagate ST3160812AS drives attached along with a single ST3400832AS, running kernel 2.6.22 and the ata_piix driver.

Re: a disk timeout and a disk state

2007-09-08 Thread Tejun Heo
Raz wrote: Jeff Hello We have in our machines several sata (mostly maxtor-segate) disks in an array. These disks generate too many ata-io errors at clients sites. From raid1 code I have learned that a re-write sometimes fixes a disk. Question: Why ? Question: Does it always work ?

Re: [PATCH] Asynchronous scan support for libata

2007-09-08 Thread Tejun Heo
Matthew Wilcox wrote: Last December, I posted this: http://lwn.net/Articles/213635/ Here's an updated version. It shaves 5 seconds off boot time on my configuration (qla2xxx, emulex, two ata_piix, dual fusion), but could save more or less on other setups. I think I can remove the 'sync'

Re: [PATCH] Remove sync waiting code from libata

2007-09-08 Thread Tejun Heo
Matthew Wilcox wrote: By using the scsi async probing code, we can remove the 'sync' argument from ata_scsi_scan_host(): Hmmm... How so? @sync is there to keep device numbering stable even when SCSI scan fails due to allocation failure. I don't see how async probing changes that. -- tejun

Re: [PATCH] Remove sync waiting code from libata

2007-09-08 Thread Matthew Wilcox
On Sat, Sep 08, 2007 at 05:14:21PM +0900, Tejun Heo wrote: Matthew Wilcox wrote: By using the scsi async probing code, we can remove the 'sync' argument from ata_scsi_scan_host(): Hmmm... How so? @sync is there to keep device numbering stable even when SCSI scan fails due to allocation

Re: [PATCH] Asynchronous scan support for libata

2007-09-08 Thread Matthew Wilcox
On Sat, Sep 08, 2007 at 05:10:27PM +0900, Tejun Heo wrote: I think it's generally okay although it would need to spend quite some time in -mm and we'll need to exclude several drivers which require host-wide silence for mode programming (the current code is buggy but sequential probing hides

Re: [PATCH] Asynchronous scan support for libata

2007-09-08 Thread Jeff Garzik
Matthew Wilcox wrote: Can you tell me a bit more about these drivers? Would it be possible to convert them to one host/many channels, which would give us the exclusion we want? As a tangent, I would prefer a more natural representation than current, where there is a 1-1 correspondence

Re: [PATCH] Remove sync waiting code from libata

2007-09-08 Thread Tejun Heo
Matthew Wilcox wrote: On Sat, Sep 08, 2007 at 05:14:21PM +0900, Tejun Heo wrote: Matthew Wilcox wrote: By using the scsi async probing code, we can remove the 'sync' argument from ata_scsi_scan_host(): Hmmm... How so? @sync is there to keep device numbering stable even when SCSI scan fails

What's in libata-dev.git?

2007-09-08 Thread Jeff Garzik
The following is the current contents of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git (recently rebased) The 'upstream' branch is what I will push upstream for 2.6.24, once the merge window opens. I also have a pile in my inbox I need to go over, while I was away at

Re: [PATCH] Asynchronous scan support for libata

2007-09-08 Thread Tejun Heo
Matthew Wilcox wrote: On Sat, Sep 08, 2007 at 05:10:27PM +0900, Tejun Heo wrote: I think it's generally okay although it would need to spend quite some time in -mm and we'll need to exclude several drivers which require host-wide silence for mode programming (the current code is buggy but

Re: drivers/ata/ahci.c driver questions / recommendations

2007-09-08 Thread Alan Cox
several of the various AHCI / Sata II controllers on PCI express card and build up a test suite. Any pointers or recommendations would be greatly appreciated. I would suggest taking that path as quite a few AHCI controllers aren't quite AHCI compliant. Alan - To unsubscribe from this list:

Re: sata scsi suggestion for make menuconfig

2007-09-08 Thread Stefan Richter
Randy Dunlap wrote: On Sat, 08 Sep 2007 18:44:46 +0200 Stefan Richter wrote: Randy Dunlap wrote: The problem with 'select' here is that it will enable BLK_DEV_SD, but if SCSI is not enabled, it will not become enabled -- i.e., select does not follow the dependency chain. So usually the

Re: [PATCH] Asynchronous scan support for libata

2007-09-08 Thread Tejun Heo
Jeff Garzik wrote: Matthew Wilcox wrote: Can you tell me a bit more about these drivers? Would it be possible to convert them to one host/many channels, which would give us the exclusion we want? As a tangent, I would prefer a more natural representation than current, where there is a 1-1

Re: [PATCH] Remove sync waiting code from libata

2007-09-08 Thread Tejun Heo
Alan Cox wrote: async probing also keeps device numbering stable. As long as the device responds within ten seconds (and the current code has half a second as the timeout), it'll get the same number it would have had, even though other hosts have successfully completed their probes during

Re: Port Multiplier Patch 2.6.22.1 on Alpha

2007-09-08 Thread Tejun Heo
Tom Evans wrote: I decided to put the Norco 4618 card into the first PCI slot of my DS20. It and the PMP support seem to like that location much better - I'm successfully creating an array at the moment. The system still responds, but accessing currently running filesystems (another

Re: Port Multiplier Patch 2.6.22.1 on Alpha

2007-09-08 Thread Tom Evans
No real performance change, but the # of unaligned kernel goes from ~14 to zero on my system. It's really just cosmetic I believe. ...tom Tejun Heo wrote: Tom Evans wrote: In sil24_config_port, the writel's for /* zero error counters */ should be writew's - they are 16bit control

Re: Port Multiplier Patch 2.6.22.1 on Alpha

2007-09-08 Thread Tom Evans
Tejun Heo wrote: Does kernel complain anything during the freeze? I do not see any console or syslog messages at the time - perhaps I do not have a debug level set appropriately? Also, as an aside, I noticed that the device scan on the remote array shows this device: Sep 8 00:15:12