Re: PATA driver patch for 2.6.17
From: Andrey Borzenkov
Date: Fri Jun 23 2006 - 13:19:15 EST
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 23 June 2006 19:24, Alan Cox wrote:
> Ar Iau, 2006-06-22 am 20:50 +0400, ysgrifennodd Andrey Borzenkov:
> > Anything else I could try to help pinpoint the problem?
>
> Set the controller to support PIO only and see what happens.
>
> [ie set .udma_mask = 0 i nthe ali_init_one entries]
>
> If that works it implies the DMA tuning may be involved.
this works (sr is module)
libata version 1.20 loaded.
ACPI: PCI Interrupt 0000:00:04.0[A]: no GSI
ata1: PATA max PIO4 cmd 0x1F0 ctl 0x3F6 bmdma 0xEFF0 irq 14
ata1: dev 0 cfg 49:0f00 82:746b 83:49a8 84:4003 85:f469 86:0800 87:4003
88:103f
ata1: dev 0 ATA-5, max UDMA/100, 39070080 sectors: LBA
ata1: dev 0 configured for PIO4
scsi0 : ali
Vendor: ATA Model: IC25N020ATDA04-0 Rev: DA3O
Type: Direct-Access ANSI SCSI revision: 05
ata2: PATA max PIO4 cmd 0x170 ctl 0x376 bmdma 0xEFF8 irq 15
ata2: dev 0 cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000
88:0407
ata2: dev 0 ATAPI, max UDMA/33
ata2: dev 0 configured for PIO4
scsi1 : ali
Vendor: TOSHIBA Model: DVD-ROM SD-C2502 Rev: 1313
Type: CD-ROM ANSI SCSI revision: 05
SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sda: sda1 sda2
sd 0:0:0:0: Attached scsi disk sda
next step? :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEnCLlR6LMutpd94wRArNuAJ9gqT7pSW5GwKN7xHlKP6EwNAAE9wCdH2gt
cwtcRFOix65bcL6fm4AlnKA=
=eCqh
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/