Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750814AbVJ0Obx (ORCPT ); Thu, 27 Oct 2005 10:31:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750819AbVJ0Obx (ORCPT ); Thu, 27 Oct 2005 10:31:53 -0400 Received: from smtp04.wanadoo.nl ([194.134.35.144]:32518 "EHLO smtp04.wanadoo.nl") by vger.kernel.org with ESMTP id S1750814AbVJ0Obw (ORCPT ); Thu, 27 Oct 2005 10:31:52 -0400 Message-ID: <4360E4D5.9070505@lazarenko.net> Date: Thu, 27 Oct 2005 16:31:49 +0200 From: Vladimir Lazarenko User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eugene Crosser Cc: Jens Axboe , Brett Russ , linux-ide@vger.kernel.org, multiman@rol.ru, linux-kernel@vger.kernel.org Subject: Re: Status of Marvell SATA driver (was Re: Trying latest sata_mv - and getting freeze) References: <435F8AFF.3030404@rol.ru> <435F9737.3050409@emc.com> <435FA5D8.2090406@rol.ru> <20051027111650.GO4774@suse.de> <4360E3A0.70501@rol.ru> In-Reply-To: <4360E3A0.70501@rol.ru> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms020902090503050106060304" X-Spam-Score: 0.1 (/) X-Spam-Report: Spam detection software, running on the system "dinosaur.lazarenko.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >>>>>My hardware is SMP Supermicro with 6 disks on >>>>>Marvell MV88SX6081 8-port SATA II PCI-X Controller (rev 03) >>>>>and the sata_mv.c is version 0.25 dated 22 Oct 2005 >>>>> >>>>>The thing works with "old" mvsata340 driver, but the "new" kernel with >>>>>your driver freezes when it starts to probe disks. Even Magic SysRq >>>>>does not work. The last lines I see on screen are like this: >>>>> >>>>>sata_mv version 0.25 >>>>>ACPI: PCI Interrupt 0000:02:03.0[A] -> GSI 56 (level, low) -> IRQ 185 >>>>>sata_mv(0000:02:03.0) 32 slots 8 ports unknown mode IRQ via MSI >>>>>ata1: SATA max UDMA/133 cmd 0x0 ctl 0xF8C22120 bmdma 0x0 irq 185 >>>>>ata2: .... 0xF8C24120 ... >>>>>... >>>>>ata8: .... 0xF8C38120 ... >>>>>ATA: abnormal status 0x80 on port 0xF8C2211C >>>>>... >>>>>ata1: dev 0 ATA-7, max UDMA/133, 781422768 sectors: LBA48 >>>>> >>>>>- and at this point it freezes hard. >>>>>Any suggestions for me? Any information I can collect to help >>>>>troubleshooting? >>> >>>[...] >>> >>> >>>>In the meantime, try turning off SMP and seeing if that makes a >>>>difference. There still might be a problem with the spinlocks and if so >>>>it should go away in uniprocessor mode. >>> >>>'nosmp' makes no difference. >> >> >>Booting with nosmp isn't enough, you need to compile the kernel with >>CONFIG_SMP turned off. Otherwise the spinlocks will still be used and >>could cause a hard hang. > > > Yeah, that was it! It boots with the kernel compiled for UP. > (did not yet have a chance to check how it works). > Any chance that somebody competent would fix the driver for SMP? [...] Content analysis details: (0.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.1 AWL AWL: From: address is in the auto white-list Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 7266 Lines: 134 This is a cryptographically signed message in MIME format. --------------ms020902090503050106060304 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit >>>>>My hardware is SMP Supermicro with 6 disks on >>>>>Marvell MV88SX6081 8-port SATA II PCI-X Controller (rev 03) >>>>>and the sata_mv.c is version 0.25 dated 22 Oct 2005 >>>>> >>>>>The thing works with "old" mvsata340 driver, but the "new" kernel with >>>>>your driver freezes when it starts to probe disks. Even Magic SysRq >>>>>does not work. The last lines I see on screen are like this: >>>>> >>>>>sata_mv version 0.25 >>>>>ACPI: PCI Interrupt 0000:02:03.0[A] -> GSI 56 (level, low) -> IRQ 185 >>>>>sata_mv(0000:02:03.0) 32 slots 8 ports unknown mode IRQ via MSI >>>>>ata1: SATA max UDMA/133 cmd 0x0 ctl 0xF8C22120 bmdma 0x0 irq 185 >>>>>ata2: .... 0xF8C24120 ... >>>>>... >>>>>ata8: .... 0xF8C38120 ... >>>>>ATA: abnormal status 0x80 on port 0xF8C2211C >>>>>... >>>>>ata1: dev 0 ATA-7, max UDMA/133, 781422768 sectors: LBA48 >>>>> >>>>>- and at this point it freezes hard. >>>>>Any suggestions for me? Any information I can collect to help >>>>>troubleshooting? >>> >>>[...] >>> >>> >>>>In the meantime, try turning off SMP and seeing if that makes a >>>>difference. There still might be a problem with the spinlocks and if so >>>>it should go away in uniprocessor mode. >>> >>>'nosmp' makes no difference. >> >> >>Booting with nosmp isn't enough, you need to compile the kernel with >>CONFIG_SMP turned off. Otherwise the spinlocks will still be used and >>could cause a hard hang. > > > Yeah, that was it! It boots with the kernel compiled for UP. > (did not yet have a chance to check how it works). > Any chance that somebody competent would fix the driver for SMP? Umm, that sounds freakingly familiar to what I just had with sata_nv... Try "noapic" in smp mode, will that help? And just in case, did you try 2.6.14-rc5? That was the kernel that fixed my similar problem "out-of-the-box". Regards, Vladimir --------------ms020902090503050106060304 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJ2zCC Az8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQI EwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENv bnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAi BgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBD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QZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMPl0owCQYFKw4D AhoFAKCCAacwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDUx MDI3MTQzMTQ5WjAjBgkqhkiG9w0BCQQxFgQUwTP7fJlHysp9QZOEj6PazznkgTwwUgYJKoZI hvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAw BwYFKw4DAgcwDQYIKoZIhvcNAwICASgweAYJKwYBBAGCNxAEMWswaTBiMQswCQYDVQQGEwJa QTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhh d3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECAw+XSjB6BgsqhkiG9w0BCRACCzFr oGkwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0 ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMPl0ow DQYJKoZIhvcNAQEBBQAEggEABNz/gttwu+/L1R4TouOU04KEPvgwTHeht7W1DDKZpZ0/wMoP mxydteCeRN9ssqJOI7E3LAs53JgTIBCZCD3JNR/FxZz+MUqYRbQ/2isWeGR1M2s1DTPq8zd5 kDZhpKNhQBAE+Zb10jCk3450uDfYJpzwfFNVu/l8TgIO374QkJhzcrqvQq7zGbjhP6/UCa/k 7xRhjhgsudxSUFxj5IrfRgyJoizd/5rwr7PO0YZ8UV/wgrAMQ75eWastfMkIAOi5c7V27xX4 wcl/89f811tjVQxCLqBP6KM/fDBk93zgnj9cCGzOUYD1ryTIrBY4HNuufkBOXHsUxsBkGLTm E+CzEwAAAAAAAA== --------------ms020902090503050106060304-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/