Active Topics

 


Reply
Thread Tools
Posts: 123 | Thanked: 56 times | Joined on Jun 2010 @ Portugal
#231
After step 3 my n900 does this :

Nokia-N900:~/n900_720p# ./mount_n950_rootfs.sh
umount: cannot umount /tmp/n950loop: Invalid argument
losetup: /tmp/n950loop: No such device or address
Reading package lists... Done
Building dependency tree
Reading state information... Done
wget is already the newest version.
liblzo2-2 is already the newest version.
p7zip-full is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded.
/usr/bin/7z: exec: line 2: /usr/lib/p7zip/7z: Too many levels of symbolic links
7z archiver not found.
On n900 it is a part of p7zip-full package
You may try to install it with "sudo apt-get install p7zip-full"
Nokia-N900:~/n900_720p#

After i rebooted i was unable to watch any movie in osso-mediaplayer.

Any help?
Thanks for the awesome job freemangordon
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#232
You may try to install it with "sudo apt-get install p7zip-full"
Enough said!

umount: cannot umount /tmp/n950loop: Invalid argument
losetup: /tmp/n950loop: No such device or address
Edit the scripts variable to be /dev/loop0
Code:
LOOPBACK_DEVICE=/dev/loop0

Last edited by michaaa62; 2011-10-02 at 22:36.
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#233
Enough said! umount: cannot umount /tmp/n950loop: Invalid argument
losetup: /tmp/n950loop: No such device or address]Edit the scripts variable to be /dev/loop0
Code:
LOOPBACK_DEVICE=/dev/loop0
That is not needed, this output is normal as script tries to unmount temprorary loopback device when started. Seems he has problem with 7z archiver.

SSLMM, are you able to run 7z from the command line?

Last edited by freemangordon; 2011-10-02 at 22:45.
 

The Following 2 Users Say Thank You to freemangordon For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#234
Originally Posted by freemangordon View Post
Edit the scripts variable to be /dev/loop0
Code:
LOOPBACK_DEVICE=/dev/loop0
That is not needed, this output is normal as script tries to unmount temprorary loopback device when started. Seems he has problem with 7z archiver.

SSLMM, are you able to run 7z from the command line?
At least that was necessary on my Debian notebook to have a loopback device that could be mounted in later stages, the /tmp/n950loop seemed to get stale
For 7z, try
Code:
apt-cache policy p7zip-full
if it is installed at all, or install it.

Last edited by michaaa62; 2011-10-02 at 22:47.
 

The Following 3 Users Say Thank You to michaaa62 For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#235
Sure, but on n900 it is not needed, and he has rebooted between tries, and device is created in /tmp. Anyway, the real error is

Code:
/usr/bin/7z: exec: line 2: /usr/lib/p7zip/7z: Too many levels of symbolic links
7z archiver not found.
On n900 it is a part of p7zip-full package
You may try to install it with "sudo apt-get install p7zip-full"
Which means nothing to me.

@SSLMM - you may try to remove p7zip-full package before trying again:

apt-get remove p7zip-full

EDIT: Seems you have 45 packages not upgraded, on which PR are you?

Last edited by freemangordon; 2011-10-02 at 22:54.
 

The Following 3 Users Say Thank You to freemangordon For This Useful Post:
Posts: 123 | Thanked: 56 times | Joined on Jun 2010 @ Portugal
#236
michaaa62, in case you didn't saw it :

"p7zip-full is already the newest version."

so yes, i have it installed and tried what the error suggested me to do.

freemangordon

I'm in PR 1.3, CSSU 16.5 version 20.2010.36-2.

I'm now removing and trying again

Thanks for the help

Edit: It didn't worked

Last edited by SSLMM; 2011-10-03 at 00:15. Reason: Test possible solution
 

The Following User Says Thank You to SSLMM For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#237
I got exactly same errors with 7z - too many levels of symbolic links. In fact, noticed this some time ago (I can't use 7z on N900 at all). I have no idea why, and how to fix it, but it seems it's common problem.

Of course, I've tried purge and other "classic" steps, so it may be mori complicated. Or too obvious to notice
__________________
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!
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#238
It means that maybe something with optification went wrong. This is how things look on my n900:

# cat /usr/bin/7z
#! /bin/sh
exec /usr/lib/p7zip/7z "$@"

#ls -ld /usr/lib/p7zip/7z
lrwxrwxrwx 1 root root 27 Oct 1 2011 /usr/lib/p7zip/7z -> /opt/maemo/usr/lib/p7zip/7z

# ls -ld /opt/maemo/usr/lib/p7zip/7z
-rwxr-xr-x 1 root root 359808 Jan 11 2010 /opt/maemo/usr/lib/p7zip/7z

Please someone having troubles with 7z to repeat the above commands (cat, ls, ls) and to compare with mine. Also did you make some changes to filesystem (ie repartitioning, re-mounting, ...)?

Also I thing a bug should be raised against p7zip-full package so if there is still an active maintainer to help on that one.
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#239
@Alfred, pawelstryju -
Creating rootfs loopback image, will take a while...
dd: can't open 'rootfs.loop': Read-only file system
Mounting loopback device
Decompressing rootfs image
./mount_n950_rootfs.sh: line 97: cannot create rootfs.tmp: Read-only file system
Why MyDocs is read-only? Do you have USB cable connected between your n900 and your PC?
 
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#240
@freemangordon
no, i don't have the cable plugged in. I think it does it while running the script, but only sometimes. I have run the script already 4 times, nothing changed. Just deleted the karam patches and will try one more time...
Btw read-only is solved by rebooting.
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 
Reply

Tags
balls, gpl violation, hackjobs, lgpl violation, nokia, upgrade..., video player


 
Forum Jump


All times are GMT. The time now is 19:43.