2011-04-08 06:26:59

by Pavel Machek

[permalink] [raw]
Subject: 2.6.39-rc2 on zaurus: does not build, does not boot

Hi!

Build fix is below. Maybe it is pending in the trees somewhere
already...

Boot stops just after mounting root filesystem; cursor stops
flashing. (Any idea what goes on there?)

Pavel

--- ./drivers/video.ofic/pxafb.c 2011-04-06 15:19:51.000000000 +0200
+++ ./drivers/video/pxafb.c 2011-04-07 06:20:20.000000000 +0200
@@ -1648,7 +1648,7 @@

switch (val) {
case CPUFREQ_PRECHANGE:
- if (!fbi->overlay[0].usage && !fbi->overlay[1].usage)
+// if (!fbi->overlay[0].usage && !fbi->overlay[1].usage)
set_ctrlr_state(fbi, C_DISABLE_CLKCHANGE);
break;


--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


2011-04-08 07:31:27

by Marek Vasut

[permalink] [raw]
Subject: Re: 2.6.39-rc2 on zaurus: does not build, does not boot

On Friday 08 April 2011 08:26:46 Pavel Machek wrote:
> Hi!
>
> Build fix is below. Maybe it is pending in the trees somewhere
> already...

Fix is already there, it was broken by a patch from someone recently. Thanks
though
>
> Boot stops just after mounting root filesystem; cursor stops
> flashing. (Any idea what goes on there?)

No idea, it works for me and doesn't hang ;-)

>
> Pavel
>
> --- ./drivers/video.ofic/pxafb.c 2011-04-06 15:19:51.000000000 +0200
> +++ ./drivers/video/pxafb.c 2011-04-07 06:20:20.000000000 +0200
> @@ -1648,7 +1648,7 @@
>
> switch (val) {
> case CPUFREQ_PRECHANGE:
> - if (!fbi->overlay[0].usage && !fbi->overlay[1].usage)
> +// if (!fbi->overlay[0].usage && !fbi->overlay[1].usage)
> set_ctrlr_state(fbi, C_DISABLE_CLKCHANGE);
> break;

2011-04-08 08:28:41

by Martin Jansa

[permalink] [raw]
Subject: Re: [Zaurus-devel] 2.6.39-rc2 on zaurus: does not build, does not boot

On Fri, Apr 08, 2011 at 09:31:10AM +0200, Marek Vasut wrote:
> On Friday 08 April 2011 08:26:46 Pavel Machek wrote:
> > Hi!
> >
> > Build fix is below. Maybe it is pending in the trees somewhere
> > already...
>
> Fix is already there, it was broken by a patch from someone recently. Thanks
> though
> >
> > Boot stops just after mounting root filesystem; cursor stops
> > flashing. (Any idea what goes on there?)
>
> No idea, it works for me and doesn't hang ;-)

it works here too with rev 6221f222c0ebf1acdf7abcf927178f40e1a65e2a

Cheers,

--
Martin 'JaMa' Jansa jabber: [email protected]


Attachments:
(No filename) (607.00 B)
(No filename) (198.00 B)
Download all attachments

2011-04-08 13:07:25

by Pavel Machek

[permalink] [raw]
Subject: Re: [Zaurus-devel] 2.6.39-rc2 on zaurus: does not build, does not boot

Hi!

> Boot stops just after mounting root filesystem; cursor stops
> flashing. (Any idea what goes on there?)

With CF bluetooth unplugged, it gets up to userland.

Once it hung in eaarly boot, once early in runlevel 2.
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

2011-04-08 13:37:44

by Cyril Hrubis

[permalink] [raw]
Subject: Re: [Zaurus-devel] 2.6.39-rc2 on zaurus: does not build, does not boot

Hi!
> > Boot stops just after mounting root filesystem; cursor stops
> > flashing. (Any idea what goes on there?)
>
> With CF bluetooth unplugged, it gets up to userland.
>
> Once it hung in eaarly boot, once early in runlevel 2.

Hmm, the cf seems to be crippled a little.

I've got oops in pccard, but only when cf wifi is compiled in kernel and
inserted while booting, it stopped when the driver is compiled as module.

Note that zaurus has two cf slots, one for internal hd and one outside, so it
may be some race in cf/pccardd initalization.

Some parts of the trace:

Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] mpad=00000000
Internal error: Oops: f5 [#1] PREEMPT
las sysfs file:
CPU: 0 Not tainted (2.6.38....)
PC is at complete+0x30/0x90
LR is at giveback+0x134/0x150
pc: [<c0032070>] lr : [<c019a4278>] psr: a0000093
sp : c38a4cb0 ip : c38atc70 fp : c38a5cc4

...

Flags: NzCv IRQs off FIQs on Mode SYC_32 ISA ARM segment kernel
Control: 0000397f Table a0004000 DAC: 00000017
Process: pccardd (pid 275, stack limit = 0xc38a4278)
Stack (0xc38a5cb0 to 0xc38a6000)
...

Which seems like problem occured in complete() ...

--
metan

2011-04-09 09:51:34

by Vasily Khoruzhick

[permalink] [raw]
Subject: Re: 2.6.39-rc2 on zaurus: does not build, does not boot

On Friday 08 April 2011 10:31:10 Marek Vasut wrote:
> On Friday 08 April 2011 08:26:46 Pavel Machek wrote:
> > Hi!
> >
> > Build fix is below. Maybe it is pending in the trees somewhere
> > already...
>
> Fix is already there, it was broken by a patch from someone recently.
> Thanks though

I broke it accidently, sorry :) you can enable CONFIG_FB_PXA_OVERLAY as
temporary workaround

Regards
Vasily

2011-04-28 20:37:04

by Pavel Machek

[permalink] [raw]
Subject: Re: [Zaurus-devel] 2.6.39-rc5 on zaurus: works

Hi!

> > > Build fix is below. Maybe it is pending in the trees somewhere
> > > already...
> >
> > Fix is already there, it was broken by a patch from someone recently. Thanks
> > though
> > >
> > > Boot stops just after mounting root filesystem; cursor stops
> > > flashing. (Any idea what goes on there?)
> >
> > No idea, it works for me and doesn't hang ;-)
>
> it works here too with rev 6221f222c0ebf1acdf7abcf927178f40e1a65e2a

I had problems mounting filesystems; good news is that in 2.6.39-rc5
these are fixed.
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html