lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 28 Aug 2006 20:42:26 -0500
From:	Gustavo Guillermo Pérez 
	<gustavo@...punauta.com>
To:	Lennart Sorensen <lsorense@...lub.uwaterloo.ca>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: Can't enable DMA over ATA on Intel Chipset 2.6.16

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@...r.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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ