![]() |
how to troubleshoot boot sequence?
I'm running the latest version of OS2008 on my N810, and having consistent problems booting from the internal mmc card.
The boot process hangs at the "Nokia" splash screen--the progress bar fills the screen, but nothing happens after that. The problem is consistent with or without the charger in place, and the tablet fails to continue booting after several hours. I don't think there's any problem with the mmc format or data--booting from the internal flash allows me to acces the mmc card with no errors. Here's what I've done to try to trace the boot process:
So, are there any suggestions for additional ways to trace and troubleshoot the boot process? What happens in the Maemo boot process after the init scripts complete that can cause the process to hang, and how can I get more detail on what step is hanging? Thanks! |
Re: how to troubleshoot boot sequence?
instead of editing each script in /etc/init.d you may try to edit /etc/init.d/rc and add debug code to startup() function like this
Code:
# you can also install syslog and see /var/log/syslog after unsuccessful boot to install something to nonbooting system first boot working system, connect to network, mount nonbooting system and chroot to it Code:
mount /dev/mmcblk0p2 /opt If there is no /var/log/syslog you may create it first time (not sure about this) |
Re: how to troubleshoot boot sequence?
Thanks for responding so quickly!
Quote:
The debugging shows that all of the scripts are called...now the display freezes with a screen that shows:
In a change from the boot process before editing /etc/init.d/rc, there is no blue progress bar vizible at the bottom of the screen, and no "Nokia" graphic. Do you have any suggestions about what comes next in the startup process... Is there any way to boot the tablet in text mode (runlevel 3), or to get more debugging on the steps that follow S99zzinitdone? SNIP! Quote:
Thanks! |
Re: how to troubleshoot boot sequence?
Quote:
Quote:
Quote:
|
Re: how to troubleshoot boot sequence?
I'm getting a virtually identical set of symptoms when booting off the the internal MMC on my 810.
I've updated the /etc/init.d/rc and added a number of logging statements to help identify where booting freezes and the watchdog process reboots. Here's the tail of syslog after failed boot: Code:
Feb 3 21:34:10 Nokia-N810-50-2 user: Starting temp-reaper-startup.sh Is it possible that a process started by a previous init script has hung and caused the watchdog to restart. If so, has anybody got any pointers to tracking it down? Thanks |
Re: how to troubleshoot boot sequence?
Quote:
One can also boot to usb networking recovery mode, log-in, leave the shell running and then try to continue booting and examine system (via ps or whatever) when it hangs somewhere. This needs modification of bootmenu.sh to not to shutdown usb networking. Here is the change (in bold) for binding it to menu key Code:
while true ; do Also if system reboots then one also needs modification to stop doing this (/etc/init.d/minireboot). |
Re: how to troubleshoot boot sequence?
Thanks, that approach is working and letting see further into the boot sequence.
I've updated bootmenu.sh (but not disabled minireboot yet). Here's the process list just before (within 1 sec of) the boot failing and restarting Code:
PID Uid VSZ Stat Command I'll disable minireboot next and see what results that gives. |
Re: how to troubleshoot boot sequence?
There is no X server running (/usr/bin/Xomap), this is fairly critical. At least matchbox window manager is already started so X server should be already up too. I think this is the line
Code:
Feb 3 21:34:10 Nokia-N810-50-2 user: Waiting for X |
Re: how to troubleshoot boot sequence?
I can see how that might be classed as fairly critical! :)
I'll see if manually restarting X gives any clues. Thanks. |
Re: how to troubleshoot boot sequence?
1 Attachment(s)
Well, sure enough X is exiting - here's the evidence from syslog:
Code:
Feb 5 20:28:06 Nokia-N810-50-2 DSME: Closed a client connection Manually starting X (executing "/usr/bin/Xomap -mouse tslib -nozap -dpi 96 -wr -nolisten tcp") produces the following: Code:
The XKEYBOARD keymap compiler (xkbcomp) reports: Any other suggestions, or should I give up on this installation and roll back to a previous backup? |
All times are GMT. The time now is 07:08. |
vBulletin® Version 3.8.8