|
Page 1 of 2 |
|
1
2
|
Next
[SOLVED, BUT DON'T SHUT THREAD FOR NOW] Boot loop after "apt-get upgrade"
Put it straight - I previously had CSSU Testing, Kernel-Power 50, Kernel-BFS 10 and NITDroid 12 @ kernel 06-final1 running harmoniously, but after my school shut down its schoolwide WiFi I hadn't updated my wares for 2 total months... Then today I decided to update using "apt-get update" and "apt-get upgrade"(which is same as usual) via notebook-shared WiFi (through cable) and hell, it works fine and everything was updated. I remembered seeing a lot items like osso-xxxx (CSSU related?) but no else. Then I pushed "reboot" via power menu and phone rebooted to usual Multiboot menu, but whatever kernel I chose, the NOKIA logo appears, blackens (all usual) AND after 2 or 3 secs random colour notif. LED light pops up and phone reboots. REBOOT LOOP?! (I'm sure I'm fully charged)
Now stuck in a WTF condition - phone bootable, Multiboot enterable, system almost enterable, NITDroid working as usual (strange)... any way to reverse previous changes? Any way to solve this loop apart from flashing? [SOLVED with rescue OS] |
Re: WTF - Boot loop after a normal "apt-get upgrade"
me too,,我的也是,哥们,拔掉电池等30秒再试下!
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
@Andy Yan
this happened with me too month ago and that is because of your /root directory is full i think the only way is reflashing and i hope not :D |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
http://talk.maemo.org/showthread.php?t=83939
See the above link. This caused a reboot loop for some people. |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
@AndyYan,
You don't happen to have backupmenu or recovery console installed? With either of them you'd be able to replace the broken lib (libxau6). |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
dont do apt-get upgrade when devel repository enabled, unless you know and sure what are you doing, just saying, :)
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
You probably do need to reflash. Backupmenu would have got you back to normal in just a few minutes.
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
Try Backumenu and see for yourself. It is fairly quick and not that space-consuming. Yes, it saves everything
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
Got the self same thing a couple months back. Had to do a reflash, couldn't reflash normally by doing EMMC first then O/S because the N900 kept losing the connection, so ended up going O/S first; EMMC next and then the O/S again.
Haven't bothered with any custom kernels since. |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
/usr/lib/libXau.so.6 /usr/lib/libXau.so.6.0.0 Old version of package can be downloaded at http://repository.maemo.org/pool/mae...o1.1_armel.deb and you can extract the files listed from it. Good luck! |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
I hope you get it sorted without the associated trouble of a reflash. |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
@AndyYan,
Just a theory: if you enable R&D mode and disable LG resers then the next time you boot the X server will most likely die (because of the bad libxau lib) and hopefully the phone will not reboot. The problem is that you won't have a shell, or even a visible framebuffer, meaning you won't be able to even blindly type in the necessary commands to restore the working lib. Try it anyway, and PLEASE report whatever result you get. As an alternative, you might want to try putting the "Rescue OS" on a microSD card and boot from it using the flasher. Link: http://talk.maemo.org/showthread.php?t=75369 |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
The "Disable R&D + Lifeguard" gives no user interface, and I'm no blind operator. Anyway to enable UI or at least WiFi+SSH is welcomed! Meanwhile I booted into RescueOS and WTF, there's no /home... USB Mass Storage is RAW format on Windows... AND no /usr/lib which means I can't replace the wrong lib even if I have the correct file!! Any suggestions? UPDATE: Mounting maemo rootfs in rescueOS gives me access to /usr/lib BUT NOT /home (ls returned empty results) so I'm still not able to put files (NITDroid can only access /home)... |
Re: WTF - Boot loop after a normal "apt-get upgrade"
This advice may be worthless, but donīt you have ssh installed on the N900, so you could use putty in combination with BackupMenu?
That should give you access to the whole device. |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
UPDATE 2: Tried blind typing under R&D + LG-off, but with no UI present, it seems that I can't get over the "Disable offline mode" dialog (I use offline mode very often) because I imitated presses on the "yes" button and waited AND Ctrl-Shift-X and "root" and "reboot" and nothing happens...
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
Using Rescue OS:
Quote:
Anyway, try putting the original libxau6 somewhere in your SD card, mount rootfs (you said you now know how to do that), and then overwrite the file (I think it's in /usr/lib). Good luck. and read the documentation! |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
Put libxau6 in SD? The external? But isn't it that mount-maemo-root.sh only mounts a part of /(root dir)? Correct me if I'm wrong, I'm n00b on Linux... If that script does mount the external SD then point out the path for me... Thx :P |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
go to any internet center and flash it using thier PC's
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
libxau6 should in the end go in /usr/lib, that's your rootfs partition. Since you're booting from an SD card and before that you cannot possibly access the internal memory of the N900, the most logical place to put the new libxau6 is somewhere on that card, and THEN once you've booted, copy it from the SD card to the /usr/lib directory of your N900 root partition (obviously, after you've mounted it). Other than I have no other suggestion. You either do it or not. If you're not willing to do that ("no linux boy") then your only option is to do a complete reflash.. but beware, flashing may work better under Linux than Windows. |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
@AndyYan,
I thought you were booting the RescueOS from an SD card (using U-boot). Didn't realize it's not even documented. Sorry for that. OK. In this case I guess your best bet is to, once you've booted RescueOS, enable USB mass-storage mode and then from your PC copy the new lib to the MyDocs partition (because you use Windows). Then mount the rootfs and copy the lib from MyDocs to /usr/lib and then make sure it has the same permissions as the existing libXau6. |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
1. As mentioned, USB mass storage appeared as "RAW" format in Windows, guess it's Linux format. I can put files under any folder under /home though with Android. 2. Mounting the rootfs gave empty /home. Mounting mmcblk1p1 gave almost empty /home. Mounting mmcblk1p2(which is said to mount /home correctly) reported errors. 3. Any way to acquire and mod permissions? I thought I've seen a command for that (Is that chmod?) And thx very much for your patience and lasting help! |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Anyone can tell me how to mount mmcblk1p2 correctly in rescueOS? Thx
|
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
ISO-file from here: http://spins.fedoraproject.org/lxde/ Installation instructions from here: http://docs.fedoraproject.org/en-US/...USB_Media.html |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
should export both the /home (mmcblk0p2 on Maemo) and MyDocs (mmcblk0p1 on Maemo). The /home partition is ext3, so WIndows won't recognize it. The MyDocs partition is VFAT so Windows *should* recognize it. When you do this, do you only see ONE single partition being exported as USB mass storage? Quote:
About the "reported errors": you might want to post them here. It may help :) Quote:
Meaning, once you manage to copy the file (somehow) onto the /usr/lib folder of the N900 root filesystem, you would need to: Code:
# cd /mount-point/usr/libCode:
# cd /mount-point/usr/lib |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
You mean mounting mmcblk1p1 on top of /home? I previously mounted it on /mnt/free1... Any difference? About the errors, yes I'm touching the PC later and will steal into rescueOS for another try and give out the error :-) And thanks for your codes! |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
Ok so this is a backup plan in case rescueOS won't work in the end... Thx |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
Code:
# mount /dev/mmcblk1p2 /mnt/maemo/homeThank you Reinob for your PERFECT patience and knowledge of Linux!! ...Question is, when I typed "chown root:root libXau.so.6.0.0" it said "unknown user group root:root"... Doesn't bother booting but what's wrong? |
Re: WTF - Boot loop after a normal "apt-get upgrade"
Quote:
|
| All times are GMT. The time now is 18:40. |
Page 1 of 2 |
|
1
2
|
Next
vBulletin® Version 3.8.8