Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756626AbYHAIjy (ORCPT ); Fri, 1 Aug 2008 04:39:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752051AbYHAIjp (ORCPT ); Fri, 1 Aug 2008 04:39:45 -0400 Received: from 215.47.DSNET ([211.144.215.47]:49639 "EHLO cnshjsmin03.cn.alcatel-lucent.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752045AbYHAIjn (ORCPT ); Fri, 1 Aug 2008 04:39:43 -0400 X-AuditID: ac189297-ae201bb000003fd3-c1-4892d87e883a Message-ID: <4892CB94.8090703@alcatel-lucent.com> Date: Fri, 01 Aug 2008 16:38:44 +0800 From: gshan User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: Tejun Heo CC: Alan Cox , Jeff Garzik , linux-kernel@vger.kernel.org, Linux IDE mailing list Subject: Re: PIIX4: DMA timeout issue References: <488ED837.2060509@alcatel-lucent.com> <488F1C6C.9000002@garzik.org> <48902EB5.8070102@alcatel-lucent.com> <20080730114934.5a593cf4@lxorguk.ukuu.org.uk> <48913FFD.5070901@alcatel-lucent.com> <4892BEBA.2000602@kernel.org> In-Reply-To: <4892BEBA.2000602@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 01 Aug 2008 08:38:34.0250 (UTC) FILETIME=[FBFD46A0:01C8F3B1] X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2403 Lines: 62 >> Alan/Jeff, I tried to install ATA driver on PIIX4. After fixing IRQ number >> to 143 for primary and secondary channel. I got following output and >> it seems the driver has been loaded sucessfully. However, I couldn't >> see any information from /proc/devices. Do you have any ideas? >> > > You need the SCSI disk driver - sd_mod.ko. > > Thanks a lot. It seems it starts to work now. piix_init: enter piix_init_one: pci device: �\ @ piix_init_one: vendor=0x00008086, device=0x00007111 piix_init_one: piix_host_priv allocated piix_init_one: ent->driver_data=0 ata_pci_init_one: n_ports=2 ata_pci_init_one: pci device enabled ata_pci_init_one: pci device class=0x00010180 ata_pci_init_one: legacy_mode=8 ata_pci_init_one: DMA mode has been set ata_pci_init_legacy_port: port_mask=0x0000000b ata_pci_init_legacy_port: ATA_PRIMARY_CMD=0x000001f0, ATA_PRIMARY_CTL=0x000003f6 ata_pci_init_legacy_port: ATA_SECONDARY_CMD=0x00000170, ATA_SECONDARY_CTL=0x00000376 ata_pci_init_legacy_port: BMDMA=0xfbf00000 , phys=0x00001000, phys_end=0x0000100f ata_pci_init_legacy_port: probe_ent initialized ata_pci_init_legacy_port: IRQ line of primary channel is 143 ata_pci_init_legacy_port: IRQ line of secondary channel is 143 ata_pci_init_one: Master set ata1: PATA max UDMA/33 cmd 0xfbeff1f0 ctl 0xfbeff3f6 bmdma 0xfbf00000 irq 143 ata2: PATA max UDMA/33 cmd 0xfbeff170 ctl 0xfbeff376 bmdma 0xfbf00008 irq 143 scsi0 : ata_piix scsi1 : ata_piix ata2.00: ATA-6: HTE721010G9AT00, MCZOA51A, max UDMA/100 ata2.00: 195371568 sectors, multi 0: LBA48 ata2.00: configured for UDMA/33 1:0:0:0: Direct-Access ATA HTE721010G9AT00 MCZO PQ: 0 ANSI: 5 SCSI device sda: 195371568 512-byte hdwr sectors (100030 MB) sda: Write Protect is off SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA SCSI device sda: 195371568 512-byte hdwr sectors (100030 MB) sda: Write Protect is off SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sda4 < sda5 sda6 sda7 sda8 > sd 1:0:0:0: Attached scsi disk sda sd 1:0:0:0: Attached scsi generic sg0 type 0 Gavin -- 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/