From: Marc Bevand Subject: Re: =?utf-8?b?W3NhdGFfc2lsMjRd?= v0.10 works, v0.20 doesn't Date: Mon, 5 Sep 2005 01:07:05 +0000 (UTC) Message-ID: References: <20050904140239.GA11855@htj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from main.gmane.org ([80.91.229.2]:20102 "EHLO ciao.gmane.org") by vger.kernel.org with ESMTP id S932148AbVIEBJ0 (ORCPT ); Sun, 4 Sep 2005 21:09:26 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EC5T6-0006LQ-Ky for linux-ide@vger.kernel.org; Mon, 05 Sep 2005 03:08:16 +0200 Received: from pool-71-105-101-137.lsanca.dsl-w.verizon.net ([71.105.101.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Sep 2005 03:08:16 +0200 Received: from mb by pool-71-105-101-137.lsanca.dsl-w.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Sep 2005 03:08:16 +0200 Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: linux-ide@vger.kernel.org Tejun Heo writes: > > Weird, I can tell you that 0.2 driver works for at least two sil24 > controllers - mine and Edward Falk's. Can you please apply the > following patch to the current ALL head and post dmesg? Done. But dmesg is quite large (240 kB), so here it is: http://epita.fr/~bevand_m/pub/sata_sil24.dmesg Notes: o This time 2 disks were plugged (ata19 and ata20, on ports 2 and 3). o I had to #undef ATA_VERBOSE_DEBUG in your patch else the kernel freezes when init(8) starts running all the initscripts, probably because too many messages are printk()ed on the console. Let me know if you _really_ need ATA_VERBOSE_DEBUG, I can try with a serial console. Here is the relevant part of dmesg, for ata19: ata_device_add: ata19: probe begin ata_dev_identify: ENTER, host 19, dev 0 ata_dev_identify: do ATA identify ata_sg_setup_one: mapped buffer of 512 bytes for read sil24_host_intr: sata_sil24 ata19: normal interrupt on port2 stat=0x0 irq=0xb00000 cmd_err=0 sstatus=0x113 serror=0x4050000 ata_sg_clean: unmapping 1 sg elements ata19: dev 0 cfg 49:0000 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:0000 ata19: no dma ata19: dev 0 not supported, ignoring ata_dev_identify: EXIT, err ata_dev_identify: ENTER/EXIT (host 19, dev 1) -- nodev ata_device_add: ata19: probe end There is definitely a problem when issuing the IDENTIFY DEVICE command. However I don't have any hardware doc so I can't interpert the "normal interrupt" log line. More information about my context: o My arch is x86_64, what is yours ? o The controller is using a SiI3124-2 chip (SATA 3.0 Gbps) not a SiI 3124-1 one (1.5 Gbps); does it matter ? o I am using the controller in a 64-bit 133 MHz PCI-X bus. o lspci output: $ lspci -vvs 1:6 0000:01:06.0 RAID bus controller: Silicon Image, Inc. (formerly CMD Technology Inc) SiI 3124 PCI-X Serial ATA Controller (rev 01) Subsystem: Silicon Image, Inc. (formerly CMD Technology Inc): Unknown device 6124 Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping+ SERR+ FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR-