The Following User Says Thank You to Estel For This Useful Post: | ||
![]() |
2011-11-22
, 02:49
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#82
|
As for my preferences, I would love to have recovery console possible before backupmenu
Good news!
Maemo Community can modify & redistribute shell script /sbin/preinit for open source community projects. See Quim Gil post: https://bugs.maemo.org/show_bug.cgi?id=12228#c9
![]() |
2011-11-22
, 07:57
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#83
|
The Following 3 Users Say Thank You to reinob For This Useful Post: | ||
![]() |
2011-11-22
, 08:45
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#84
|
The Following 3 Users Say Thank You to vi_ For This Useful Post: | ||
![]() |
2011-11-22
, 08:47
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#85
|
@Estel and @Mentalist Traceur,
FWIW, my goal is to re-work (hack) /sbin/preinit so that it loads fbcon first thing and then displays a menu (before doing anything else).
Cool. Now I can package my /sbin/preinit boot shell as is without recoding /sbin/preinit.
Although at this point I feel like I should eventually finish up my open source /sbin/preinit recode/clone as a matter of principle, whenever I get around to it.
Also, because the more pieces of Maemo 5 have open source counterparts, the happier I am because maybe, just maybe, someone will pick it up some day and slap it on some newer hardware. (Yeah, yeah, MeeGo/Taizen-or-whatever-Intel's-calling-their-thing and all that, but I feel Maemo 5 is better for a number of reasons and that's a discussion for another thread anyway.)
![]() |
2011-11-22
, 08:58
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#86
|
I'm going to fix /sbin/preinit - it has some bugs. And I will create general solution for loading additional modules and more functions usefull for bootmenu.
I think we do not need 3 other implementation of /sbin/preinit
I want to integrate /sbin/preinit into my getbootstate repository, see:
http://talk.maemo.org/showthread.php?t=73792
Then we will have open source version of origin Maemo package getbootstate
The Following User Says Thank You to vi_ For This Useful Post: | ||
![]() |
2011-11-22
, 10:27
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#87
|
![]() |
2011-11-22
, 11:48
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#88
|
The rational is I have seen some odd behaviour. After a reboot from the command line 'reboot' the system switches off (ancient KP bug). This is cool however on restarting the system, it always starts up then immediately shuts down (no I have not had a chance to notice the startup mode (act-dead/user/etc)).
The Following User Says Thank You to Estel For This Useful Post: | ||
![]() |
2011-11-22
, 11:57
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#89
|
I do have one question...how the f* do I rmmod fbcon? The only way I can remove it is by using a forced removal which leads to reboot (I think DSME gets crashed and stops tickling teh watchdog).
How do I remove it safely?
The rational is I have seen some odd behaviour. After a reboot from the command line 'reboot' the system switches off (ancient KP bug). This is cool however on restarting the system, it always starts up then immediately shuts down (no I have not had a chance to notice the startup mode (act-dead/user/etc)).
I can set Xorg to remove the fbcon module (it is no longer needed anymore) with 'xsession.shutdown' scripts. This may help.
Also how do I switch to the fbcon terminal 'ala ctrl+alt+F1 on meh debian box?
The Following 4 Users Say Thank You to pali For This Useful Post: | ||
![]() |
2011-11-22
, 12:19
|
Posts: 237 |
Thanked: 274 times |
Joined on Jul 2010
|
#90
|
If you want to rmmod fbcon, you need first deattach console from framebuffer device.
ctrl+alt+fX can be switched by command: $ chvt X
The Following 4 Users Say Thank You to ivyking For This Useful Post: | ||
![]() |
Tags |
console, console-mode, framebuffer, recovery, recovery-mode |
Thread Tools | |
|
Basically, explit and others have said everything. I'm using multiboot, so I've put it after line 9. In any case, You need to modprobe it very early..
@reinob
Honestly, I have absolutely no idea what is causing this. I wonder how it is implemented in backupmenu, cause using recorvery console from there, doesn't result in date reset (at least for me). You could compare sources, I suppose.
Keep in mind, that currently recorvery console in backupmenu is kinda broken - it works, but after typing Your login and hitting enter, You're back in backupmenu. This happen only while using busybox-power (kudos vi_, for finding this), which I suppose most power users (and up) got installed.
---
As for my preferences, I would love to have recovery console possible before backupmenu - may be useful, in such 0,00001% of cases, where both maemo and backupmenu could got screwed, but initial boot not
/Estel
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!