maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   RescueOS - uninstalling library. (https://talk.maemo.org/showthread.php?t=96275)

NotMicro 2015-12-22 14:21

RescueOS - uninstalling library.
 
I used rescueOS by NIN101 and it works! I have a question: is there any chance to uninstall f-cam drivers after mounting maemo root? These drivers probably have caused my N900's crash. Maybe uninstalling it can solve the problem? Without flashing whole device.

elros34 2015-12-22 19:16

Re: RescueOS - uninstalling library.
 
Mount maemo rootfs and opt folder from second emmc partition in /mnt/maemo/opt/ then use chroot: chroot /mnt/maemo/.

NotMicro 2015-12-26 12:07

Re: RescueOS - uninstalling library.
 
Quote:

Originally Posted by elros34 (Post 1492444)
Mount maemo rootfs and opt folder from second emmc partition in /mnt/maemo/opt/ then use chroot: chroot /mnt/maemo/.


Thank you very much for fast reply. Could you please describe what these operations will do and what to do next?

NotMicro 2015-12-26 12:14

Re: RescueOS - uninstalling library.
 
Additional information: my N900 is not booting. It crashed and when I power it on, only NOKIA logo is shown on the screen.

NotMicro 2016-01-05 12:58

Re: RescueOS - uninstalling library.
 
Quote:

Originally Posted by elros34 (Post 1492444)
Mount maemo rootfs and opt folder from second emmc partition in /mnt/maemo/opt/ then use chroot: chroot /mnt/maemo/.

Could you please write precisely how to mount opt folder from second emmc partition?
I've tried to uninstall fcam-drivers, but blessn900 depends on this package. So then I've been trying to uninstall blessn900, but I got an error that part of it is located in opt folder which is not accessible. So I probaly must mount this folder.

habababa 2016-01-05 13:14

Re: RescueOS - uninstalling library.
 
Quote:

Originally Posted by NotMicro (Post 1493731)
Could you please write precisely how to mount opt folder from second emmc partition?
I've tried to uninstall fcam-drivers, but blessn900 depends on this package. So then I've been trying to uninstall blessn900, but I got an error that part of it is located in opt folder which is not accessible. So I probaly must mount this folder.

Code:

mount -t ext3 -o rw,noatime /dev/mmcblk0p2 /mnt/maemo/home
mount /mnt/maemo/home/opt /mnt/maemo/opt
chroot /mnt/maemo


NotMicro 2016-01-05 13:38

Re: RescueOS - uninstalling library.
 
Quote:

Originally Posted by habababa (Post 1493734)
Code:

mount -t ext3 -o rw,noatime /dev/mmcblk0p2 /mnt/maemo/home
mount /mnt/maemo/home/opt /mnt/maemo/opt
chroot /mnt/maemo


Thank you very much for so fast reply. I will try to do it that way.

michaaa62 2016-01-06 07:23

Re: RescueOS - uninstalling library.
 
Btw. it might be sufficient to erase the file /etc/modprobe.d/fcam.conf according to its content:
Quote:

~ $ cat /etc/modprobe.d/fcam.conf
# Override configuration file for the FCam camera control API replacement kernel modules for the N900 camera subsystem.
# Remove this file and reboot to restore use of the original kernel modules.

install fcam modprobe fcam-vanilla; modprobe fcam-power; echo "-1" > /proc/sys/kernel/sched_rt_runtime_us

install fcam-vanilla /sbin/insmod /usr/share/fcam/isp-mod.ko && /sbin/insmod /usr/share/fcam/omap34xxcam-mod.ko && /sbin/insmod /usr/share/fcam/omap_previewer_hack.ko && /sbin/insmod /usr/share/fcam/et8ek8.ko && /sbin/insmod /usr/share/fcam/board-rx51-camera.ko

install fcam-power /sbin/insmod /usr/share/fcam/power/isp-mod.ko && /sbin/insmod /usr/share/fcam/power/omap34xxcam-mod.ko && /sbin/insmod /usr/share/fcam/power/omap_previewer_hack.ko && /sbin/insmod /usr/share/fcam/power/et8ek8.ko && /sbin/insmod /usr/share/fcam/power/board-rx51-camera.ko

install isp-mod modprobe fcam
install omap34xxcam-mod modprobe fcam
install omap_previewer_hack modprobe fcam
install et8ek8 modprobe fcam

NotMicro 2016-01-06 12:50

Re: RescueOS - uninstalling library.
 
Quote:

Originally Posted by michaaa62 (Post 1493843)
Btw. it might be sufficient to erase the file /etc/modprobe.d/fcam.conf according to its content:

I've done it but it didn't help. Still no boot. Maybe I should remove whole directory modprobe.d ?

michaaa62 2016-01-06 16:30

Re: RescueOS - uninstalling library.
 
NOPE !!! :eek: :eek: :eek:


All times are GMT. The time now is 20:12.

vBulletin® Version 3.8.8