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]
Message-ID: <20070709131649.5fa63744@the-village.bc.nu>
Date:	Mon, 9 Jul 2007 13:16:49 +0100
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Rodney Gordon II <meff@...erevision.org>
Cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Tejun Heo <htejun@...il.com>,
	"linux-ide@...r.kernel.org" <linux-ide@...r.kernel.org>,
	Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
Subject: Re: [BUG] IT8212 libata driver *still* hard-freezes system on boot
 on 2.6.22 final.

> > It would be useful to know if a kernel built with no DMA support for the
> > IT8212 behaved as that might give us a clue about what is choking. If you
> > look in drivers/ata/pata_it821x.c:it821x_init_one you'll see a pair of
> > lines that say
> > 
> > 	mwdma = 0x1f,
> > 	udma_mask = 0x7f
> > 
> > 
> > remove, rebuild and report..
> 
> Alright.
> 
> Attachment [0] is a successful boot with those lines removed. (This a
> good thing or a bad thing? :)

Thats an interesting question in itself. It does seem to indicate the
problem is DMA tuning or DMA related and not IRQ routing - which is good
as of itself.

> Attachment [1] is a successful boot with the old ata subsystem using the
> IT8212.

For the next trick set mwdma_mask = 0x07 but leave UDMA off and see what
happens. Then try with udma_mask = 0x02 which should force the 50MHz
clock on not the 66MHz clock just in case its clock related.

How much RAM do you have ?

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