Active Topics

 


Reply
Thread Tools
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#121
@vi_

Do you have some details about this. Or is your experience as "vague" as mine (i.e. can't quite tell when this happens).

Oddly enough I very rarely reboot/turn-off, so (1) I can live with the problems that fbcon may introduce, but (2) why the heck do I want fbcon?

I think, like you, I prefer fbcon and live with the oddities. After all, I consider preinit-fbcon a debugging tool first. The "coolness" factor comes second.

Anyway, I'll investigate this when I can (oh not again..)

BTW. originally I did modprobe fbcon + touch /tmp/skip-fb-progress.tmp (obviously after mounting /tmp) hoping to get rid of the booting dots. The N900 booted (not always as per above), but the dots still appeared (later, but they did).

Now that I can "safely" play with my spare N900 I will try to (1) run getty on all vt's (just for safety) + (2) de-dsmetool Xorg so that I can kill it and jump back to a real console with the whole of Maemo loaded (except obviously things using X).

All I need is a CLI version of the dialer!
 

The Following 3 Users Say Thank You to reinob For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#122
I don't have any oddities with powering on, despite having fbcon modprobed as early, as it's possible. As for reboots, sometimes it shuts down, but it's ancient bug, dating from times, when framebuffer wasn't available at all

/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!
 

The Following User Says Thank You to Estel For This Useful Post:
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#123
Originally Posted by reinob View Post
@vi_

Do you have some details about this. Or is your experience as "vague" as mine (i.e. can't quite tell when this happens).

Oddly enough I very rarely reboot/turn-off, so (1) I can live with the problems that fbcon may introduce, but (2) why the heck do I want fbcon?

I think, like you, I prefer fbcon and live with the oddities. After all, I consider preinit-fbcon a debugging tool first. The "coolness" factor comes second.

Anyway, I'll investigate this when I can (oh not again..)

BTW. originally I did modprobe fbcon + touch /tmp/skip-fb-progress.tmp (obviously after mounting /tmp) hoping to get rid of the booting dots. The N900 booted (not always as per above), but the dots still appeared (later, but they did).

Now that I can "safely" play with my spare N900 I will try to (1) run getty on all vt's (just for safety) + (2) de-dsmetool Xorg so that I can kill it and jump back to a real console with the whole of Maemo loaded (except obviously things using X).

All I need is a CLI version of the dialer!
I am afraid my report is just that. Vague. Vague as ****.

Getting rid of dots is easy. In fact you can replace dots with any program. xterm for example. 'dots' is just a program that displays the dots forever till it is closed.

Boot process goes like this:

1. Pre-init
2. Load up some stuff.
3. Start X
4. Start matchbox WM
5. Display dots
6. Check if code needs to be entered
7. Check some other stuff (like is this first boot etc)
8. kill dots.
9. Stop Matchbox.
10. Start hildon etc.


Look in /etc/X11/Xsession.d (or whatever it is called) you will find the start up scripts.

I could not think of anything to replace dots with (xeyes, cpu meter, truecrypt mounting script/password dialogue?), so I just left them out of the boot process to hopefully speed up startup.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following 3 Users Say Thank You to vi_ For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#124
Originally Posted by Estel View Post
I don't have any oddities with powering on, despite having fbcon modprobed as early, as it's possible.
OK, so I must've fvcked up somewhere else (I've removed lots of stuff from the default installation).

As for reboots, sometimes it shuts down, but it's ancient bug, dating from times, when framebuffer wasn't available at all
Yup, I knew about that one. My "bug" is that I shutdown (pressing the button and selecting "shutdown") and it rebooted (nicely, by the way). So kind of like the opposite bug
 

The Following User Says Thank You to reinob For This Useful Post:
Posts: 372 | Thanked: 61 times | Joined on Jan 2012
#125
this revoery console depends on boot menu. and bootmenu conflicts with multiboot. so i cant use backupmenu if i want recovery console. ryt?
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#126
@vi_ and @Estel,

Problem solved

***
Edit: no so fast! I turned it on today and even though *I think* I saw it starting in getbootstate = USER the white Nokia logo came up again and it booted again (also with getbootstate = USER). So I need to investigate further.

Nevertheless, the points below may be useful/relevant..
***

My /etc/event.d was "infested" by .dpkg-new files, which (presumably) were also being executed. That is, some services were being started/stopped twice, with (presumably) unpredictable results.

To make the verification a bit harder I've at the same time moved the following from /etc/event.d to /etc/event.d/disabled: hildon-startup-progress, progress (+ nokiamessaging and testserver, but that's another story).

Also from /etc/X11/Xsession.d I have kicked out 01xprogress.plus the corresponding 22xprogress-stop in Xsession.post

[NOTE: I hate the mixing up of Xsession scripts and upstart events. Lots of things are actually duplicates, or so it seems, plus the restarting of stuff if the locale changes during boot. JFC!]

Conclusion:
My N900 boots with earliest fbcon reliably. Shutdown works also fine.
The dots do eventually so up (WTF?!) right before asking me if I want to stay in off-line mode, as well as after the question.

So there's some other "event" going on.

Last edited by reinob; 2012-05-12 at 10:43. Reason: additional information
 

The Following User Says Thank You to reinob For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#127
Originally Posted by Mohammed Muid View Post
this revoery console depends on boot menu. and bootmenu conflicts with multiboot. so i cant use backupmenu if i want recovery console. ryt?
If you think you need Recovery Console then you know enough not to have any need for Backupmenu, as Backupmenu is just running commands that you can easily type on the recovery console, with the added benefit of having full control over the parameters as well as proper "error spotting".

No idea about multiboot (never used it, never will). The combination of bootmenu and recovery console (or even without bootmenu if you know what you're doing, hint: /sbin/preinit) gives you all the power you need
 

The Following 3 Users Say Thank You to reinob For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#128
Originally Posted by reinob View Post
Regarding balls: I have just edited preinit and put the modprobe line as the very second "physical" line of the file (i.e. after the shebang).
I think I can beat you a bit regarding loading of fbcon, as with multiboot installed, there are more lines between fbcon and real excuting of preinit

But during reading sources of multiboot's preinit (/sbin/multiboot), I saw a possibility for a shell (S). Without fbcon, nothimg happened. With fbcon I got a shell and could enter some commands. But as watchdog barks after 30s, there is only few time to type. I reset the timeout in multiboot to let the system start after timeout.
But I would like to use the console. so how I do disable the watchdog without RD mode? Something like typing manually "watchdog /dev/watchdog" or ... ?

Sorry for possible hijacking, but topic is similar.
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#129
@peterleinchen,

You need the watchdogs program (see the recovery.sh for information on how to use it). I don't know if it comes with the recovery-boot package. If not, please ask again (unless you find it yourself).
 

The Following 2 Users Say Thank You to reinob For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#130
watchdogs is in bootmenu package
 

The Following 3 Users Say Thank You to pali For This Useful Post:
Reply

Tags
console, console-mode, framebuffer, recovery, recovery-mode


 
Forum Jump


All times are GMT. The time now is 06:55.