Skip to contentSkip to conversation

2.6.39-rc2 on zaurus: does not build, does not boot

PATCH Pavel Machek 5 participants 7 messages Apr 8, 2011 – Apr 28, 2011 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

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/pxafb.c renamed from drivers/video.ofic/pxafb.c +1 -1
@@ -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;
 
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw
Quoted 4 lines · 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

Quoted 3 lines

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

Quoted 13 lines

Pavel

drivers/video/pxafb.c renamed from drivers/video.ofic/pxafb.c +1 -1
@@ -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;
#2 lore raw
Quoted 6 lines · Marek Vasut
Quoted 4 lines · 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...

Quoted 7 lines

Fix is already there, it was broken by a patch from someone recently. Thanks though

Quoted 3 lines

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,

Signature · 8 lines
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110408/90563cf7/attachment.sig>
#3 lore raw

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

Hi!

Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

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

Quoted 1 line
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

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

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#4 lore raw
In reply to Marek Vasut
Quoted 8 lines · On Friday 08 April 2011 10:31:10 Marek Vasut wrote:
Quoted 4 lines · 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

#5 lore raw
In reply to Pavel Machek

Hi!

Quoted 2 lines

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

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#6 lore raw

Hi!

Quoted 6 lines
Quoted 2 lines

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() ...

Signature · 1 line
metan