Page 2 of 2

Re: lose ability to interact when closing X?

Posted: Sat Jul 07, 2012 9:59 am
by simoninns
I'm seeing the same error (I think). If you are logged in remotely before the crash you can still access (but you can't logout or login via SSH and the console is blank)

Code: Select all

Jul  7 09:45:14 raspberrypi kernel: [ 1022.761719] ------------[ cut here ]------------
Jul  7 09:45:14 raspberrypi kernel: [ 1022.761768] WARNING: at arch/arm/mm/ioremap.c:207 __arm_ioremap_pfn_caller+0x1a0/0x1b8()
Jul  7 09:45:14 raspberrypi kernel: [ 1022.761794] Modules linked in: ipv6 fuse evdev
Jul  7 09:45:14 raspberrypi kernel: [ 1022.761857] [<c00153d4>] (unwind_backtrace+0x0/0xfc) from [<c03fc500>] (dump_stack+0x20/0x24)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.761897] [<c03fc500>] (dump_stack+0x20/0x24) from [<c002d830>] (warn_slowpath_common+0x5c/0x74)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.761943] [<c002d830>] (warn_slowpath_common+0x5c/0x74) from [<c002d874>] (warn_slowpath_null+0x2c/0x34)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.761981] [<c002d874>] (warn_slowpath_null+0x2c/0x34) from [<c0019e44>] (__arm_ioremap_pfn_caller+0x1a0/0x1b8)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762017] [<c0019e44>] (__arm_ioremap_pfn_caller+0x1a0/0x1b8) from [<c0019eec>] (__arm_ioremap_caller+0x68/0x70)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762059] [<c0019eec>] (__arm_ioremap_caller+0x68/0x70) from [<c0019f10>] (__arm_ioremap+0x1c/0x20)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762104] [<c0019f10>] (__arm_ioremap+0x1c/0x20) from [<c02742d0>] (bcm2708_fb_set_par+0x128/0x19c)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762140] [<c02742d0>] (bcm2708_fb_set_par+0x128/0x19c) from [<c0274420>] (bcm2708_fb_setcolreg+0xdc/0xf8)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762182] [<c0274420>] (bcm2708_fb_setcolreg+0xdc/0xf8) from [<c0267e04>] (fb_set_cmap+0xdc/0x118)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762216] [<c0267e04>] (fb_set_cmap+0xdc/0x118) from [<c026b7a0>] (fbcon_set_palette+0x138/0x170)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762248] [<c026b7a0>] (fbcon_set_palette+0x138/0x170) from [<c026e728>] (fbcon_switch+0x334/0x554)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762285] [<c026e728>] (fbcon_switch+0x334/0x554) from [<c028c11c>] (redraw_screen+0x16c/0x284)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762326] [<c028c11c>] (redraw_screen+0x16c/0x284) from [<c026d9f4>] (fbcon_blank+0x1e4/0x290)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762359] [<c026d9f4>] (fbcon_blank+0x1e4/0x290) from [<c028d844>] (do_unblank_screen+0xa4/0x1cc)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762405] [<c028d844>] (do_unblank_screen+0xa4/0x1cc) from [<c02850f0>] (vt_ioctl+0x2008/0x204c)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762447] [<c02850f0>] (vt_ioctl+0x2008/0x204c) from [<c02789a0>] (tty_ioctl+0x198/0xbf0)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762491] [<c02789a0>] (tty_ioctl+0x198/0xbf0) from [<c01082dc>] (do_vfs_ioctl+0x8c/0x5f0)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762526] [<c01082dc>] (do_vfs_ioctl+0x8c/0x5f0) from [<c0108888>] (sys_ioctl+0x48/0x70)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762576] [<c0108888>] (sys_ioctl+0x48/0x70) from [<c000e140>] (ret_fast_syscall+0x0/0x48)
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762596] ---[ end trace 223497cd7485045f ]---
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762659] kernel BUG at drivers/video/bcm2708_fb.c:251!
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762707] Unable to handle kernel NULL pointer dereference at virtual address 00000000
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762725] pgd = caacc000
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762736] [00000000] *pgd=0aae7831, *pte=00000000, *ppte=00000000
Jul  7 09:45:14 raspberrypi kernel: [ 1022.762760] Internal error: Oops: 817 [#1] PREEMPT
/Simon

Re: lose ability to interact when closing X?

Posted: Sat Jul 07, 2012 11:20 am
by dom
simoninns wrote:I'm seeing the same error (I think). If you are logged in remotely before the crash you can still access (but you can't logout or login via SSH and the console is blank)
/Simon
Can you do an rpi-update. I believe the code path in the stack trace you posted is no longer present.

Re: lose ability to interact when closing X?

Posted: Sat Jul 07, 2012 11:26 am
by simoninns
Awesome, now it works thanks! Didn't think to try that as I only updated it a couple of days ago :) Silly me

Re: lose ability to interact when closing X?

Posted: Sat Jul 07, 2012 1:42 pm
by clickykbd
Thanks dom,
I'll give it a go on my end after work today.

Re: lose ability to interact when closing X?

Posted: Sat Jul 07, 2012 2:26 pm
by simoninns
Now I seem to be getting the same 'issue' (blank screen after X windows log out) but it is intermittent.

By running tail -f syslog over a ssh session I got the following debug:

Code: Select all

Jul  7 16:22:40 raspberrypi kernel: [   83.054902] ------------[ cut here ]------------
Jul  7 16:22:40 raspberrypi kernel: [   83.054992] WARNING: at arch/arm/mm/ioremap.c:207 __arm_ioremap_pfn_caller+0x1a0/0x1b8()
Jul  7 16:22:40 raspberrypi kernel: [   83.055033] Modules linked in: ipv6 fuse evdev
Jul  7 16:22:40 raspberrypi kernel: [   83.055108] [<c00153d4>] (unwind_backtrace+0x0/0xfc) from [<c03f59d8>] (dump_stack+0x20/0x24)
Jul  7 16:22:40 raspberrypi kernel: [   83.055172] [<c03f59d8>] (dump_stack+0x20/0x24) from [<c002d830>] (warn_slowpath_common+0x5c/0x74)
Jul  7 16:22:40 raspberrypi kernel: [   83.055211] [<c002d830>] (warn_slowpath_common+0x5c/0x74) from [<c002d874>] (warn_slowpath_null+0x2c/0x34)
Jul  7 16:22:40 raspberrypi kernel: [   83.055271] [<c002d874>] (warn_slowpath_null+0x2c/0x34) from [<c0019e44>] (__arm_ioremap_pfn_caller+0x1a0/0x1b8)
Jul  7 16:22:40 raspberrypi kernel: [   83.055312] [<c0019e44>] (__arm_ioremap_pfn_caller+0x1a0/0x1b8) from [<c0019eec>] (__arm_ioremap_caller+0x68/0x70)
Jul  7 16:22:40 raspberrypi kernel: [   83.055347] [<c0019eec>] (__arm_ioremap_caller+0x68/0x70) from [<c0019f10>] (__arm_ioremap+0x1c/0x20)
Jul  7 16:22:40 raspberrypi kernel: [   83.055416] [<c0019f10>] (__arm_ioremap+0x1c/0x20) from [<c02742d0>] (bcm2708_fb_set_par+0x128/0x19c)
Jul  7 16:22:40 raspberrypi kernel: [   83.055458] [<c02742d0>] (bcm2708_fb_set_par+0x128/0x19c) from [<c02663f8>] (fb_set_var+0x140/0x2b0)
Jul  7 16:22:40 raspberrypi kernel: [   83.055508] [<c02663f8>] (fb_set_var+0x140/0x2b0) from [<c026d9d0>] (fbcon_blank+0x1c0/0x290)
Jul  7 16:22:40 raspberrypi kernel: [   83.055555] [<c026d9d0>] (fbcon_blank+0x1c0/0x290) from [<c028d870>] (do_unblank_screen+0xa4/0x1cc)
Jul  7 16:22:40 raspberrypi kernel: [   83.055613] [<c028d870>] (do_unblank_screen+0xa4/0x1cc) from [<c028511c>] (vt_ioctl+0x2008/0x204c)
Jul  7 16:22:40 raspberrypi kernel: [   83.055676] [<c028511c>] (vt_ioctl+0x2008/0x204c) from [<c02789cc>] (tty_ioctl+0x198/0xbf0)
Jul  7 16:22:40 raspberrypi kernel: [   83.055731] [<c02789cc>] (tty_ioctl+0x198/0xbf0) from [<c01082dc>] (do_vfs_ioctl+0x8c/0x5f0)
Jul  7 16:22:40 raspberrypi kernel: [   83.055785] [<c01082dc>] (do_vfs_ioctl+0x8c/0x5f0) from [<c0108888>] (sys_ioctl+0x48/0x70)
Jul  7 16:22:40 raspberrypi kernel: [   83.055835] [<c0108888>] (sys_ioctl+0x48/0x70) from [<c000e140>] (ret_fast_syscall+0x0/0x48)
Jul  7 16:22:40 raspberrypi kernel: [   83.055871] ---[ end trace 55351007bfcab496 ]---
Jul  7 16:22:40 raspberrypi kernel: [   83.055946] kernel BUG at drivers/video/bcm2708_fb.c:251!
Jul  7 16:22:40 raspberrypi kernel: [   83.061463] Unable to handle kernel NULL pointer dereference at virtual address 00000000

Regards
/Simon

Re: lose ability to interact when closing X?

Posted: Mon Jul 09, 2012 7:21 am
by extravagoose
dom wrote:
simoninns wrote:I'm seeing the same error (I think). If you are logged in remotely before the crash you can still access (but you can't logout or login via SSH and the console is blank)
/Simon
Can you do an rpi-update. I believe the code path in the stack trace you posted is no longer present.
Confirmed that this indeed did the trick... sudo pacman -Syu showed new firmware :)

I do get the blank screen issue when using the shortcut logout button (bottom right) in LXDE... However, it works fine if using the menu. Perhaps this more a localised LXDE issue?

Re: lose ability to interact when closing X?

Posted: Mon Jul 09, 2012 8:35 am
by alexeames
I was having this problem on Wheezy. Since apt-get updating and upgrading (>200 updates) LXDE now closes as it should and takes you back to the cli prompt. I haven't done an rpi-update on it.

Re: lose ability to interact when closing X?

Posted: Mon Jul 09, 2012 9:17 am
by PaulCheffus
alexeames wrote:I was having this problem on Wheezy. Since apt-get updating and upgrading (>200 updates) LXDE now closes as it should and takes you back to the cli prompt. I haven't done an rpi-update on it.
Hi

I did the upgrade on Saturday to Wheezy and since then it has crashed once when closing LXDE out of about five attempts. I did do the rpi-update.

Cheers

Paul

Re: lose ability to interact when closing X?

Posted: Mon Jul 09, 2012 12:49 pm
by extravagoose
PaulCheffus wrote:
alexeames wrote:I was having this problem on Wheezy. Since apt-get updating and upgrading (>200 updates) LXDE now closes as it should and takes you back to the cli prompt. I haven't done an rpi-update on it.
Hi

I did the upgrade on Saturday to Wheezy and since then it has crashed once when closing LXDE out of about five attempts. I did do the rpi-update.

Cheers

Paul
I don't know if its relevant to you, but does it crash on using the LXDE menu (left hand side) - I found for me this always worked. The shortcut button (bottom right) crashes the system...

Re: lose ability to interact when closing X?

Posted: Mon Jul 09, 2012 1:33 pm
by PaulCheffus
extravagoose wrote:
PaulCheffus wrote: I don't know if its relevant to you, but does it crash on using the LXDE menu (left hand side) - I found for me this always worked. The shortcut button (bottom right) crashes the system...
Hi

Yes it was when I used the menu, I haven't used the shortcut button.

Cheers

Paul

Re: lose ability to interact when closing X?

Posted: Mon Jul 09, 2012 1:42 pm
by extravagoose
PaulCheffus wrote: Hi

Yes it was when I used the menu, I haven't used the shortcut button.

Cheers

Paul
Hmmm, a bit of a loss really mate, apart from the obvious which is to reboot after an update (sorry if i've insulted anyone's intelligence... i'll get my coat)

Re: lose ability to interact when closing X?

Posted: Mon Jul 09, 2012 1:52 pm
by PaulCheffus
extravagoose wrote:
Hmmm, a bit of a loss really mate, apart from the obvious which is to reboot after an update (sorry if i've insulted anyone's intelligence... i'll get my coat)
Hi

No offence taken, when it comes to Unix I am very much a beginner. Yes I did reboot after doing the update.

Not to worry its only happened on one in five times so far.

Cheers

Paul