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]
Message-ID: <20080711211409.2eef4ddb@lxorguk.ukuu.org.uk>
Date:	Fri, 11 Jul 2008 21:14:09 +0100
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Ondrej Zary <linux@...nbow-software.org>
Cc:	Alan Cox <alan@...hat.com>, LKML <linux-kernel@...r.kernel.org>,
	linux-ide@...r.kernel.org
Subject: Re: pata_it821x completely broken

> > commenting out the error check after ata_dev_init_params() call in
> > ata_dev_read_id() function (libata-core.c), I got at least the device name.
> > The capacity is 0 so it doesn't work, obviously:

If you don't read the ID then it wouldn't.

> I captured the IDENTIFY data from the virtual device. I'm not ATA guru but
> looking at the data, there are zeros at many places where something should be.
> That number starting at 0x78 looks like size of the array in sectors
> (0x4C726C or 0x4C6C72 - the array is built from 2.5GB and 6.4GB drives).

The Ident data for the virtual device is fairly sparse but the specs
don't require a lot of the field are filled in and only the LBA really
matters.

--
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