From: "Gustavo Guillermo Pérez" <gustavo@compunauta.com>
To: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: Can't enable DMA over ATA on Intel Chipset 2.6.16
Date: Mon, 28 Aug 2006 20:42:26 -0500 [thread overview]
Message-ID: <200608282042.26594.gustavo@compunauta.com> (raw)
In-Reply-To: <20060828195709.GL13641@csclub.uwaterloo.ca>
El Lunes, 28 de Agosto de 2006 14:57, escribió:
> Make sure the piix ide drive is loaded BEFORE the ide-generic driver,
> otherwise the wrong driver will run the PATA port, and the generic
> driver doesn't do DMA. Your dmesg did not look like it was using the
> piix driver for PATA, it looked like ide-generic. Some initrd systems
> seem to load ide-generic for cdrom, if the HD is on sata or scsi, or
> something later in the boot process does it.
>
> You should see something like (using piix driver, ata_piix would look
> somewhat different I think):
Builded into kernel we can't specify the load order, then you suggest to made
an initrd with insmod loading firs scsi subsystem and piix before
ide-generic... Ok I can do that, but imagine, making a kernel for a
distribution, ;)
No problem, let me try.
> ICH5: IDE controller at PCI slot 0000:00:1f.1
> PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
> ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 193
> ICH5: chipset revision 2
> ICH5: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
> ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
> Probing IDE interface ide0...
> hda: PLEXTOR DVDR PX-708A, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Probing IDE interface ide1...
> hda: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
> Uniform CD-ROM driver Revision: 3.20
> Probing IDE interface ide1...
>
> Yours had:
>
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> Probing IDE interface ide0...
> Probing IDE interface ide1...
> hdc: SAMSUNG SP0802N, ATA DISK drive
> hdd: TSSTcorpCD/DVDW TS-H552L, ATAPI CD/DVD-ROM drive
> ide1 at 0x170-0x177,0x376 on irq 15
> hdc: max request size: 512KiB
> hdc: 156368016 sectors (80060 MB) w/2048KiB Cache, CHS=16383/255/63
> hdc: cache flushes supported
> /dev/ide/host1/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 >
> hdd: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
> Uniform CD-ROM driver Revision: 3.20
> ide-floppy driver 0.99.newide
> libata version 1.20 loaded.
> ata_piix 0000:00:1f.2: version 1.05
> ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 16
> ata: 0x170 IDE port busy
> PCI: Setting latency timer of device 0000:00:1f.2 to 64
> ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xFFA0 irq 14
> ATA: abnormal status 0x7F on port 0x1F7
> ata1: disabling port
> scsi0 : ata_piix
>
> That looks like ata_piix couldn't get at the ide port because it was
> already taken by the generic driver already.
>
> --
> Len Sorensen
> -
> 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/
--
Gustavo Guillermo Pérez
Compunauta uLinux
www.compunauta.com
next prev parent reply other threads:[~2006-08-29 1:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-27 17:39 Can't enable DMA over ATA on Intel Chipset 2.6.16 Gustavo Guillermo Pérez
2006-08-27 17:57 ` Jeff Garzik
2006-08-27 18:16 ` Gustavo Guillermo Pérez
2006-08-27 18:27 ` Jeff Garzik
2006-08-27 19:34 ` Gustavo Guillermo Pérez
2006-08-28 19:57 ` Lennart Sorensen
2006-08-29 1:42 ` Gustavo Guillermo Pérez [this message]
2006-08-29 11:04 ` Alan Cox
2006-08-29 13:01 ` Lennart Sorensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200608282042.26594.gustavo@compunauta.com \
--to=gustavo@compunauta.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lsorense@csclub.uwaterloo.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.