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: <45545803.1040005@innova-card.com>
Date:	Fri, 10 Nov 2006 11:44:19 +0100
From:	Franck Bui-Huu <vagabon.xyz@...il.com>
To:	Andrew Morton <akpm@...l.org>
CC:	"Rafael J. Wysocki" <rjw@...k.pl>, linux-kernel@...r.kernel.org,
	adaplas@....net
Subject: Re: 2.6.19-rc5-mm1: HPC nx6325 breakage, VESA fb problem, md-raid
 problem

Andrew Morton wrote:
> On Thu, 9 Nov 2006 16:42:00 +0100
> "Rafael J. Wysocki" <rjw@...k.pl> wrote:
> 
>> This indeed is caused by fbcon-rere-fix-little-endian-bogosity-in-slow_imageblit.patch
>> which affects two out of three boxes on which I tested it (both have Radeon cards).
> 
> Thanks, dropped.
> 

Well I'm probably missing something but I really don't see what !

For example, let say that the four first bytes of an image are 0x06,
0xe0, 0x38, 0x00.

If
	bpp = 1
	start_index = 0
	on a little endian platform 
	this patch is _not_ applied

slow_imageblit() will write into the frame buffer the following
bytes: 0x60, 0x07, 0x1c, 0x00 instead of the original ones. The bits
of each bytes have been inversed (bit7->bit0, bit6->bit1, bit5->bit2,
bit4->bit3, bit3->bit4, ...) and that's the reason why _I_ get all
fonts inverted.

With this patch applied, the bytes written into the frame buffer will
be exactly the same as the original ones. Therefore it fixes my
inverted view but broke Rafael's one.

Now, I'm very not familiar with all frame buffer stuff so I must be
missing somthing obvious. If anyone could give me some hints there
that would be nice.

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