![]() |
Re: [Announce] kernel-power stable v52 in Extras-Devel
Ahoj pali,
I believe something is screwed up. Either on my device. Or with kp52 modules. I would like your help on this please. I have upgraded my device a bit the last days/weeks. And now felt the need to boot stock kernel. I ended in a few days of reboot loop sessions. Luckily I still have multiboot (I know ;)) and of course use (almost) only u-boot, so I could easily get out of it (most of the times :(). I examined this behaviour and thought it might be my setup (u-boot/multiboot), but I could boot kp47/kp50 and kp52. No problem at all. Only stock kernel oopsed out directly after "sbin/init 2" was called. I enabled syslog, but to no avail. I could see logs from pk but not stock. I checked modules and depmod and current symlink and everything else. So I ran out of ideas... Then I checked some more logs I never noticed before :rolleyes: in /var/log. maemo-optify-boottime oopslogtail The oops one brought me to the idea to check mtd2 with sp-oops-extract and I found some strange messages: Code:
Log Entry 230 (at position 37) So I reinstalled modules and then it looked exactly like expected. Before (and after first module install: Code:
options bridgedriver shm_size=0x500000 base_img=/lib/dsp/baseimage.dof Code:
options bridgedriver phys_mempool_base=0 base_img=/lib/dsp/baseimage.dof Code:
options bridgedriver shm_size=0x400000 phys_mempool_base=0 base_img=/lib/dsp/baseimage.dof It was no difference if booted with u-boot or kernel from NAND directly. Can someone confirm that stock kernel does not boot with latest u-boot and kp52 modules? Or is it something strange on my device? One more possible reason: I needed to use backupmenu (for the very first time) a few days ago (dumb me upgrading) and had some problems to restore, claiming something about corrupt fs. But single restore, first root - then opt, worked and kp52 works flawlessly. But I have those strange boot-maemo-optify logs and messages like Code:
2009-01-01 10:34:33 :: not enough free space in /home (need at least 200 MB free), quitting. So enough now, what do you think? Might it be some bug? Or why bridgedriver did not get updated on first install? And why stock kernel only wants to boot with original entry? Thank you in advance for your help and/or experienced tips. peterleinchen P.S.: oh and btw if this tends to be something strange only on my device I will create new thread ... |
Re: [Announce] kernel-power stable v52 in Extras-Devel
Quote:
|
Re: [Announce] kernel-power stable v52 in Extras-Devel
@freemangordon: can you look at @peterleinchen problem?
If I remember correctly kp52 has updated dsp bridge kernel module which needs new options in /etc/modprobe.d/bridgedriver. So maybe it can break stock kernel, but I did not have this problem. I can boot both kernel-power and stock kernel (with updated modprobe.d). But this could be device dependent... |
Re: [Announce] kernel-power stable v52 in Extras-Devel
Quote:
This is what I have on my device(kernel-cssu): Code:
Nokia-N900:~# cat /etc/modprobe.d/bridgedriver No idea who changed that and why, but I don't think it is KP: https://garage.maemo.org/plugins/ggi...62;hb=HEAD#l14 |
Re: [Announce] kernel-power stable v52 in Extras-Devel
@pali and fmg
Thanks, sounds reasonable. As I have some other strange behaviours (USB does not get recognized, but I need to unload g_file_storage once manually) and now this and those strange optfs too low messages, I decoded to start all over with a backup from July and upgrade one more time. One beg: does anybody have the mkfs command for optfs? I am gonna clean optfs on rescue shell and then restore backup. Or is it just a plain mkfs? Thinking about some root reserved clusters, naming and so on ... |
Re: [Announce] kernel-power stable v52 in Extras-Devel
AFAIK no reserved things - just make sure you ID partition correctly, as plain fdisk does something funny with it (like setting same ID for every type of partition).
Not so long ago, I had a headache trying to understand why N900 fails to properly use perfectly fine partition table, in particular, deny to use OptFS. It turned out, that some startup scripts (rcS-late?) "cleverly" identify partition meant to be Opt by... checking ID. That is, f****n ID - almost as stupid, as using labels for that purpose. As every partition has same ID, it wanted to use MyDocs (as first found partition with matching ID) for OptFS purposes, resulting in disaster. Setting correct Ids via sfdisk (without re-formatting, just changing IDs itself) fixed it immediately. Other than that, no special requirements for OptFS, you may give it whatever labels, root reserved percentage, journals, etc. you feel fancy. /Estel |
Re: [Announce] kernel-power stable v52 in Extras-Devel
Quote:
I see it as an annoying penetration of the Windows way of thinking into the open-source ecosystem and a contamination of the latter with the former. Sorry about the rant, couldn't help it. |
Re: [Announce] kernel-power stable v52 in Extras-Devel
Quote:
Well, I can give you a few reasons: - I know lots of people who are unable to insert RAID disks in the correct order - the use of multiple external disks for backups, where certain locations need backup to certain disks But none n900 or embedded-related. |
Re: [Announce] kernel-power stable v52 in Extras-Devel
Quote:
But after formatting optfs (yes, it was somehow corrupted) and upgrading once more and solving the trouble, it looks like everything is fine. Thanks again for fast feedback. |
Re: [Announce] kernel-power stable v52 in Extras-Devel
|
All times are GMT. The time now is 07:23. |
vBulletin® Version 3.8.8