* Compiled tridentfb hangs but distribution kernel works fine
@ 2014-12-09 21:33 Ondrej Zary
2014-12-10 7:15 ` Mike Galbraith
0 siblings, 1 reply; 3+ messages in thread
From: Ondrej Zary @ 2014-12-09 21:33 UTC (permalink / raw)
To: linux-fbdev; +Cc: Kernel development list
Hello,
I'm doing some work on tridentfb driver but encountered a weird problem.
When I compile custom kernel with tridentfb, it hangs with Blade3D card (ID
0x9880) in blade_image_blit(). The screen is blank with some artifacts and
machine does not respond to ping or keyboard. However, it can be rebooted by
Alt+SysRq+B. It works fine with other cards (3DImage 9750 and CyberBlade XP)
with no blit implementation. Commenting out contents of blade_image_blit()
function makes the hang go away (nothing useful on the screen, of course).
The weird thing is that the Blade3D card works fine when I load Debian
kernels! Debian 3.16-0.bpo.3-686-pae works fine but when I compile 3.16
kernel, it hangs.
Any ideas?
--
Ondrej Zary
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiled tridentfb hangs but distribution kernel works fine
2014-12-09 21:33 Compiled tridentfb hangs but distribution kernel works fine Ondrej Zary
@ 2014-12-10 7:15 ` Mike Galbraith
2014-12-11 23:07 ` Ondrej Zary
0 siblings, 1 reply; 3+ messages in thread
From: Mike Galbraith @ 2014-12-10 7:15 UTC (permalink / raw)
To: Ondrej Zary; +Cc: linux-fbdev, Kernel development list
On Tue, 2014-12-09 at 22:33 +0100, Ondrej Zary wrote:
> Hello,
> I'm doing some work on tridentfb driver but encountered a weird problem.
>
> When I compile custom kernel with tridentfb, it hangs with Blade3D card (ID
> 0x9880) in blade_image_blit(). The screen is blank with some artifacts and
> machine does not respond to ping or keyboard. However, it can be rebooted by
> Alt+SysRq+B. It works fine with other cards (3DImage 9750 and CyberBlade XP)
> with no blit implementation. Commenting out contents of blade_image_blit()
> function makes the hang go away (nothing useful on the screen, of course).
>
> The weird thing is that the Blade3D card works fine when I load Debian
> kernels! Debian 3.16-0.bpo.3-686-pae works fine but when I compile 3.16
> kernel, it hangs.
>
> Any ideas?
I'd start by looking for what Debian changed in source and/or config.
-Mike
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiled tridentfb hangs but distribution kernel works fine
2014-12-10 7:15 ` Mike Galbraith
@ 2014-12-11 23:07 ` Ondrej Zary
0 siblings, 0 replies; 3+ messages in thread
From: Ondrej Zary @ 2014-12-11 23:07 UTC (permalink / raw)
To: Mike Galbraith; +Cc: linux-fbdev, Kernel development list
On Wednesday 10 December 2014 08:15:04 Mike Galbraith wrote:
> On Tue, 2014-12-09 at 22:33 +0100, Ondrej Zary wrote:
> > Hello,
> > I'm doing some work on tridentfb driver but encountered a weird problem.
> >
> > When I compile custom kernel with tridentfb, it hangs with Blade3D card
> > (ID 0x9880) in blade_image_blit(). The screen is blank with some
> > artifacts and machine does not respond to ping or keyboard. However, it
> > can be rebooted by Alt+SysRq+B. It works fine with other cards (3DImage
> > 9750 and CyberBlade XP) with no blit implementation. Commenting out
> > contents of blade_image_blit() function makes the hang go away (nothing
> > useful on the screen, of course).
> >
> > The weird thing is that the Blade3D card works fine when I load Debian
> > kernels! Debian 3.16-0.bpo.3-686-pae works fine but when I compile 3.16
> > kernel, it hangs.
> >
> > Any ideas?
>
> I'd start by looking for what Debian changed in source and/or config.
Seems that the problem appears only of CONFIG_CC_OPTIMIZE_FOR_SIZE is enabled.
Really weird.
--
Ondrej Zary
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-12-11 23:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-09 21:33 Compiled tridentfb hangs but distribution kernel works fine Ondrej Zary
2014-12-10 7:15 ` Mike Galbraith
2014-12-11 23:07 ` Ondrej Zary
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).