On Sun, Jun 21, 2009 at 5:14 PM, Andrew Lutomirski<l...@mit.edu> wrote: > On Sun, Jun 21, 2009 at 3:47 PM, Linus > Torvalds<torva...@linux-foundation.org> wrote: >> >> >> What *has* changed is that we have a newradeon driver, and it looks like >> that new radeon driver is crap, and does this: >> >> info->fix.smem_start = (unsigned long)fbptr; >> >> which is totally screwed up. It assigns a _virtual_ address to that >> "smem_start" thing, even though it should be a physical one. >> >> I don't know the radeon driver, so I don't know where to find the physical >> address. It's also possible that there is no good single physical >> address, and the radeon driver should implement a "fb_mmap" function. >> >> Does this patch make the warning and the oops at least go away? Obviously >> it won't result in a working frame buffer, but that's a separate issue >> > > I haven't tried your patch, but I hacked up the one below instead, > which also fixes the oops. It still doesn't boot, though -- plymouth > hangs (or otherwise dies), preventing my initramfs from finishing. > The same kernel image boots fine with radeon.modeset=0.
My patch is no good -- plymouthd just dies more silently with it. Returning -EINVAL from radeonfb_mmap prevents plymouthd's splash screen from working (of course) but lets the system boot. (Not only does the system boot, but this is the first modesetting kernel I've ever seen work on this hardware.) Linus's patch works and even lets me start X. David -- there are still plenty of bugs. The kernel gets my monitor's resolution wrong (X reads it off DDC correctly but I have to use xrandr to force the resolution). And glxgears triggers the kernel's command verification and dies. But this is still a huge improvement over modesetting on the F11 kernel, which is unusable for me (image is garbled beyond recognition once I start X). --Andy ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel