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] [day] [month] [year] [list]
Message-Id: <1CAA6FF2-8C1C-4E6D-812A-5677E8313539@orcon.net.nz>
Date:	Wed, 15 Apr 2009 09:29:59 +1200
From:	Michael Cree <mcree@...on.net.nz>
To:	Matt Turner <mattst88@...il.com>
Cc:	linux-kernel@...r.kernel.org, linux-alpha@...r.kernel.org,
	dri-devel@...ts.sourceforge.net,
	Richard Henderson <rth@...ddle.net>,
	Ivan Kokshaysky <ink@...assic.park.msu.ru>,
	Jay Estabrook <jay.estabrook@...com>,
	Oliver Falk <oliver@...ux-kernel.at>, glisse@...edesktop.org
Subject: Re: Radeon kernel-modesetting on Alpha. Problem reading PCI ROM

Hi Matt

> Jerome and I think that the hang may be caused by being unable to read
> the PCI ROM.

I have been taking a little bit of a look at reading the PCI ROM on a  
radeon video card to try to get the radeonhd xserver video driver  
going on Alpha.  On one of my Alphas the SRM can't post the card so  
xserver/radeonhd have to do all the dirty work.  I discovered that the  
r[567]xx radeon cards need quite a bit of setting up to enable the PCI  
ROM.  In short, writing to the enable and rom files in the PCI card's  
sysfs directory in the prescribed manner isn't sufficient to enable  
the ROM.

I wrote a patch to the rhd_dump and rhd_conntest utils of the radeonhd  
project, so that they would use libpciaccess to access the registers  
and PCI ROM of the radeon r[567]xx cards.  Unfortunately my patches  
got mangled in posting to the radeonhd list, and I have been  
travelling for the last couple of weeks, so they didn't make the  
release of radeonhd last week.

The upshot is that I can read the PCI ROM of a Radeon HD2400 card with  
my patches applied to rhd_conntest, and I have had Xserver 1.5.3 up  
and running with the HD2400 card on a PWS600au.

I can send you the patches to rhd_dump and rhd_conntest if you would  
like to try them out.

Cheers
Michael.

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