From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John Stoffel" Subject: Re: PATA drivers queued for 2.6.19 Date: Tue, 5 Sep 2006 11:10:57 -0400 Message-ID: <17661.37761.432488.28556@smtp.charter.net> References: <44FC0779.9030405@garzik.org> <1157371363.30801.31.camel@localhost.localdomain> <17661.31750.457301.687508@smtp.charter.net> <44FD7FBD.2060309@ru.mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mxsf41.cluster1.charter.net ([209.225.28.173]:24267 "EHLO mxsf41.cluster1.charter.net") by vger.kernel.org with ESMTP id S965093AbWIEPLO (ORCPT ); Tue, 5 Sep 2006 11:11:14 -0400 In-Reply-To: <44FD7FBD.2060309@ru.mvista.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Sergei Shtylyov Cc: John Stoffel , Alan Cox , Jeff Garzik , "linux-ide@vger.kernel.org" , Linux Kernel , Andrew Morton , Linus Torvalds >>>>> "Sergei" == Sergei Shtylyov writes: Sergei> John Stoffel wrote: >>>>>>> "Alan" == Alan Cox writes: >> >> Alan> Ar Llu, 2006-09-04 am 07:01 -0400, ysgrifennodd Jeff Garzik: >> >>>> The following must be in all caps, though: >>>> >>>> drivers/ide IS STILL THE PATA DRIVER SET THAT USERS AND DISTROS SHOULD >>>> CHOOSE. >> >> Alan> Except optionally for the following for chips not handled by or broken Alan> totally in drivers/ide: >> Alan> pata_mpiix - some early pentium era laptops Alan> pata_oldpiix - original "PIIX" chipset Alan> pata_radisys - embedded chipset >> >> What about pata_hpt37x and it's failure to work with my HPT302 Rev one >> controller? I admit it could be just an IRQ problem, but since >> 2.6.18-rc5-mm1 works with the old ide/pci/hpt366.c, but not with the Sergei> Hm, I believe this driver hasn't been updated since Sergei> 2.617-mm4 (I have one patch pending still). >> new version? It's using the same interrupt each time too. Sergei> What's up with it? Look back in the archives for my messages on this. Basically, trying to use the pata_hpt37x driver on an Rocket133 card (HPT302 Rev 1 chip) fails with a bunch of errors shown below. This is a PCI add-on card with /home and /local filesystems on there, mirrored across a pair of 120gb WD drives. The system also has a pair of builtin SCSI controllers (AIC7xxx) which hold the OS filesystems, as well as a tape drive for backups. It's an SMP system. I guess I should try to boot it up UP and see how it goes then as well. I've tried booting 2.6.18-rc4-mm3 with the irqpoll option, but it didn't make a difference. Do you need more details? irq 18: nobody cared (try booting with the "irqpoll" option) [] dump_trace+0x1e1/0x210 [] show_trace_log_lvl+0x1a/0x30 [] show_trace+0x12/0x20 [] dump_stack+0x19/0x20 [] __report_bad_irq+0x27/0x90 [] note_interrupt+0x226/0x260 [] handle_fasteoi_irq+0xc1/0xd0 [] do_IRQ+0x88/0xf0 [] common_interrupt+0x1a/0x20 [] default_idle+0x34/0x70 [] cpu_idle+0x6c/0x90 [] rest_init+0x25/0x30 [] start_kernel+0x2f9/0x400 ======================= handlers: [] (ahc_linux_isr+0x0/0x60) [] (ahc_linux_isr+0x0/0x60) [] (ata_interrupt+0x0/0x1a0) Disabling IRQ #18 ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata2.00: (BMDMA stat 0x4) ata2.00: tag 0 cmd 0xca Emask 0x4 stat 0x40 err 0x0 (timeout) ata2: soft resetting port ata2.00: qc timeout (cmd 0xec) ata2.00: failed to IDENTIFY (I/O error, err_mask=0x4) ata2.00: revalidation failed (errno=-5) ata2: failed to recover some devices, retrying in 5 secs ata2: soft resetting port ata2.00: qc timeout (cmd 0xec) ata2.00: failed to IDENTIFY (I/O error, err_mask=0x4) ata2.00: revalidation failed (errno=-5) ata2: failed to recover some devices, retrying in 5 secs ata2: soft resetting port ata2.00: qc timeout (cmd 0xec) ata2.00: failed to IDENTIFY (I/O error, err_mask=0x4) ata2.00: revalidation failed (errno=-5) ata2.00: disabled ata2: EH complete sd 3:0:0:0: SCSI error: return code = 0x00040000 end_request: I/O error, dev sdd, sector 234436423 raid1: Disk failure on sdd1, disabling device. Operation continuing on 1 devices ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.00: tag 0 cmd 0xe7 Emask 0x4 stat 0x40 err 0x0 (timeout) ata1: soft resetting port ata1.00: qc timeout (cmd 0xec) ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) ata1.00: revalidation failed (errno=-5) ata1: failed to recover some devices, retrying in 5 secs ata1: soft resetting port ata1.00: qc timeout (cmd 0xec) ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) ata1.00: revalidation failed (errno=-5) ata1: failed to recover some devices, retrying in 5 secs ata1: soft resetting port ata1.00: qc timeout (cmd 0xec) ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) ata1.00: revalidation failed (errno=-5) ata1.00: disabled ata1: EH complete sd 2:0:0:0: SCSI error: return code = 0x00040000 end_request: I/O error, dev sdc, sector 234436423 sd 2:0:0:0: SCSI error: return code = 0x00040000 end_request: I/O error, dev sdc, sector 234436415 md: ... autorun DONE. RAID1 conf printout: --- wd:1 rd:2 disk 0, wo:0, o:1, dev:sdc1 disk 1, wo:1, o:0, dev:sdd1 RAID1 conf printout: --- wd:1 rd:2 disk 0, wo:0, o:1, dev:sdc1