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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 20 Jul 2009 22:41:51 -0500
From:	Dwayne Rightler <drightler@...hnicalogic.com>
To:	Alan Cox <alan@...rguk.ukuu.org.uk>
CC:	linux-kernel@...r.kernel.org
Subject: Re: No UDMA with BLK_DEV_IT821X with 2.6.30.2

With the libata driver and "ATAPI BIOS" I get this sort of garbage (note 
I don't get these drive errors on other controllers):

[  604.314837] ata8.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[  604.314895] ata8.01: BMDMA stat 0x4
[  604.314951] ata8.01: cmd c8/00:00:e0:20:e4/00:00:00:00:00/f1 tag 0 
dma 131072 in
[  604.314952]          res 00/00:00:80:00:80/00:00:00:00:00/80 Emask 
0x2 (HSM violation)
[  604.315097] ata8: soft resetting link
[  605.462588] ata8.00: configured for UDMA/100
[  605.508491] ata8.01: configured for UDMA/100
[  605.508501] ata8: EH complete
[  979.174939] ata8.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[  979.174949] ata8.01: BMDMA stat 0x4
[  979.174958] ata8.01: cmd c8/00:00:e0:4e:89/00:00:00:00:00/f4 tag 0 
dma 131072 in
[  979.174959]          res 00/00:00:80:00:80/00:00:00:00:00/80 Emask 
0x2 (HSM violation)
[  979.175008] ata8: soft resetting link
[  979.944287] ata8.01: NODEV after polling detection
[  979.944290] ata8.01: revalidation failed (errno=-2)
[  984.944026] ata8: soft resetting link
[  985.100384] ata8.01: NODEV after polling detection
[  985.100388] ata8.01: revalidation failed (errno=-2)
[  990.100032] ata8: soft resetting link
[  990.256322] ata8.01: NODEV after polling detection
[  990.256325] ata8.01: revalidation failed (errno=-2)
[  990.256334] ata8.01: disabled
[  990.256338] ata8.00: failed to IDENTIFY (I/O error, err_mask=0x40)
[  990.256340] ata8.00: revalidation failed (errno=-5)
[  995.256024] ata8: soft resetting link
[  995.539133] ata8.00: configured for UDMA/100
[  995.539158] ata8: EH complete
[  995.539185] sd 7:0:1:0: [sdg] Unhandled error code
[  995.539187] sd 7:0:1:0: [sdg] Result: hostbyte=DID_BAD_TARGET 
driverbyte=DRIVER_OK
[  995.539192] end_request: I/O error, dev sdg, sector 76107488
[  995.539206] Buffer I/O error on device sdg, logical block 9513436
[  995.539215] Buffer I/O error on device sdg, logical block 9513437
[  995.539222] Buffer I/O error on device sdg, logical block 9513438
[  995.539229] Buffer I/O error on device sdg, logical block 9513439
[  995.539244] Buffer I/O error on device sdg, logical block 9513440
[  995.539260] Buffer I/O error on device sdg, logical block 9513441
[  995.539276] Buffer I/O error on device sdg, logical block 9513442
[  995.539292] Buffer I/O error on device sdg, logical block 9513443
[  995.539308] Buffer I/O error on device sdg, logical block 9513444
[  995.539323] Buffer I/O error on device sdg, logical block 9513445
[  995.539359] sd 7:0:1:0: [sdg] Unhandled error code
[  995.539361] sd 7:0:1:0: [sdg] Result: hostbyte=DID_BAD_TARGET 
driverbyte=DRIVER_OK
[  995.539364] end_request: I/O error, dev sdg, sector 76107744
[  995.539411] sd 7:0:1:0: [sdg] Unhandled error code
[  995.539413] sd 7:0:1:0: [sdg] Result: hostbyte=DID_BAD_TARGET 
driverbyte=DRIVER_OK
[  995.539415] end_request: I/O error, dev sdg, sector 76107488


After this happens hdparm fails:

root@...komen-desktop:~# hdparm -i /dev/sdg

/dev/sdg:
  HDIO_GET_IDENTITY failed: No message of desired type


As well as smartctl:

root@...komen-desktop:~# smartctl -H /dev/sdg
smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8 
Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Short INQUIRY response, skip product id
A mandatory SMART command failed: exiting. To continue, add one or more 
'-T permissive' options.



Alan Cox wrote:
> On Mon, 20 Jul 2009 18:03:22 -0500
> Dwayne Rightler <drightler@...hnicalogic.com> wrote:
> 
>> Hello,
>>
>> I have a ITE8212 PCI card and it does not seem to allow UDMA on the 
>> drives attached.  The drives run at ATA100 under other controllers.
> 
> The old IDE driver support for IT821x has been somewhat broken for some
> time. The drivers/ata (libata) driver should handle it fully. In smart
> mode it's "IDE-ish" and the old IDE code really isn't flexible enough to
> cope. With the "ATAPI BIOS" its a fairly normal controller so both drivers
> ought to work.
--
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