Active Topics

 


Reply
Thread Tools
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#31
Notice: Skry is trying to make a 3.x kernel work
http://talk.maemo.org/showthread.php...91#post1255491
 

The Following 2 Users Say Thank You to int_ua For This Useful Post:
Posts: 44 | Thanked: 77 times | Joined on Jan 2012
#32
Originally Posted by int_ua View Post
Did you use debootstrap? It would be great if such image was available from somewhere at debian.org, is it? I would really love to include Debian
I never heard about the small Debian images such as in ubuntu. Yes, I used debootstrap.
Originally Posted by int_ua View Post
Notice: Skry is trying to make a 3.x kernel work
http://talk.maemo.org/showthread.php...91#post1255491
3.1 already exists
http://pkg-n900.alioth.debian.org/kernel/
 

The Following 3 Users Say Thank You to riv64 For This Useful Post:
Nobless's Avatar
Posts: 101 | Thanked: 73 times | Joined on Oct 2011 @ Lithuania
#33
Ok after 4 hours installation i get results:
Image Name: Ubuntu
Created: Wed Sep 26 20:18:22 2012
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1956656 Bytes = 1910.80 kB = 1.87 MB
Load Address: 80008000
Entry Point: 80008000
Image Name: initramfs
Created: Wed Sep 26 20:18:23 2012
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 2022258 Bytes = 1974.86 kB = 1.93 MB
Load Address: 00000000
Entry Point: 00000000
Image Name: Ubuntu boot script
Created: Wed Sep 26 20:18:26 2012
Image Type: ARM Linux Script (uncompressed)
Data Size: 308 Bytes = 0.30 kB = 0.00 MB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 300 Bytes = 0.29 kB = 0.00 MB
username:nobless
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
ssh stop/waiting
acpid stop/waiting
ofono stop/waiting
dbus stop/waiting
cups stop/waiting
umount: /mnt/dev: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /mnt: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /media/fat/: not found
/dev/sdc3 is mounted.


WARNING!!! The filesystem is mounted. If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.


Do you really want to continue<n>? no

check aborted.
Installation complete

================================================== ==============================
Report template:
STATUS: _
REVISION: 151,
MICROSD: _
BOOTLOADER: U-Boot _
OPTIONS:
additional_packages:acpid i2c-tools wireless-tools ubuntu-minimal lubuntu-desktop lxdm e17 openssh-server chromium-browser ofono telepathy-ring empathy telepathy-mission-control-5 watchdog alsa-utils pulseaudio mc htop lshw file bsdmainutils rfkill powertop iotop localepurge lxde xorg iptables onboard man-db
boot_parameters:root=/dev/mmcblk0p3 rootwait console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2 nosplash elevator=noop panic=20
dist_upgrade:1
selected_firmware_source:local
selected_image_source:ubuntu-core-unstable
selected_kernel:custom
selected_target:/dev/sdc3
selected_target_type:partition
target_partition_suffix_root:3
COMMENTS:

root@ubuntu:/home/nobless/unstable#
i'm using http://talk.maemo.org/showthread.php?t=81613 u-boot.
immediately after successful installation i copied Ubuntu.item to /etc/bootmenu.d and UImage from installed partition to /boot/ folder restarted the phone i got login window, but after i login in i got only console nothing more whats wrong ?
__________________
www.sinus.lt

Last edited by Nobless; 2012-09-27 at 10:00.
 

The Following User Says Thank You to Nobless For This Useful Post:
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#34
Originally Posted by Nobless View Post
i got login window, but after i login in i got only console nothing more whats wrong ?
Which login window? TTY or lxdm?
 
Nobless's Avatar
Posts: 101 | Thanked: 73 times | Joined on Oct 2011 @ Lithuania
#35
Originally Posted by int_ua View Post
Which login window? TTY or lxdm?
i don't know look I think it is lxdm.

After i press login i got clear terminal, when something type in and execute nothing happens only enters new line..

P.S when i press poweroff button in that terminal it shows acpid: exiting.
Attached Images
 
__________________
www.sinus.lt

Last edited by Nobless; 2012-09-27 at 11:20.
 

The Following 3 Users Say Thank You to Nobless For This Useful Post:
Nobless's Avatar
Posts: 101 | Thanked: 73 times | Joined on Oct 2011 @ Lithuania
#36
int_ua,

Results:
Target SD Card: Class 4

* Installing directly on phone consumes about 4 hours+.

* Installing into image takes about 40-45 minutes. Then copying to phone from image takes about 20 minutes. (Depends on SD Card class).

In both ways same configs and dependencies and Ubuntu booted fine.
__________________
www.sinus.lt
 

The Following User Says Thank You to Nobless For This Useful Post:
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#37
Great, Nobless, I'll include this method
BTW, the above situation with Nobless having problems starting lxde may be originated from ext4 instead of ext3 on the root partition. But I don't undestand why yet.
 

The Following User Says Thank You to int_ua For This Useful Post:
kinchan's Avatar
Posts: 27 | Thanked: 57 times | Joined on May 2012 @ France
#38
ok. after many try, on three different OS, with differents options, i have got the same issue at the same point. all go fine until this :

+ cat
+ mount -t proc /proc /mnt/proc
+ mount -o bind /dev /mnt/dev
+ mount -o bind /dev/pts /mnt/dev/pts
+ mount -o bind /sys /mnt/sys
+ cp /usr/bin/qemu-arm-static /mnt/usr/bin/
+ cp options/target_partition_suffix_root /mnt/tmp/
+ cp install-chroot-part.sh /mnt/tmp/
+ chmod +x /mnt/tmp/install-chroot-part.sh
+ cp options/additional_packages options/boot_parameters options/dist_upgrade options/fdisk_command_stack.file options/nemo_packages options/selected_firmware_source options/selected_image_source options/selected_kernel options/selected_target options/selected_target_type options/target_partition_suffix_root /mnt/tmp
+ [[ nemo != \n\e\m\o ]]
+ sed -i 's/^# \(deb.*universe\)/\1/g' /mnt/etc/apt/sources.list
+ sed -i 's/^# \(deb.*multiverse\)/\1/g' /mnt/etc/apt/sources.list
+ chroot /mnt/ /tmp/install-chroot-part.sh
Generating locales...
en_US.UTF-8... done
Generation complete.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "fr_FR.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Ign http://ports.ubuntu.com quantal InRelease
Ign http://ports.ubuntu.com quantal-updates InRelease
Ign http://ports.ubuntu.com quantal-security InRelease
Get:1 http://ports.ubuntu.com quantal Release.gpg [933 B]
Get:2 http://ports.ubuntu.com quantal-updates Release.gpg [198 B]
Get:3 http://ports.ubuntu.com quantal-security Release.gpg [198 B]
Get:4 http://ports.ubuntu.com quantal Release [49.6 kB]
Get:5 http://ports.ubuntu.com quantal-updates Release [49.6 kB]
Get:6 http://ports.ubuntu.com quantal-security Release [49.6 kB]
Get:7 http://ports.ubuntu.com quantal/main Sources [869 kB]
Get:8 http://ports.ubuntu.com quantal/restricted Sources [5,617 B]
Get:9 http://ports.ubuntu.com quantal/universe Sources [5,544 kB]
Get:10 http://ports.ubuntu.com quantal/main armhf Packages [1,117 kB]
Get:11 http://ports.ubuntu.com quantal/restricted armhf Packages [1,131 B]
Get:12 http://ports.ubuntu.com quantal/universe armhf Packages [5,187 kB]
Get:13 http://ports.ubuntu.com quantal/main Translation-en [659 kB]
Get:14 http://ports.ubuntu.com quantal/restricted Translation-en [2,568 B]
Get:15 http://ports.ubuntu.com quantal/universe Translation-en [3,667 kB]
Get:16 http://ports.ubuntu.com quantal-updates/main Sources [14 B]
Get:17 http://ports.ubuntu.com quantal-updates/restricted Sources [14 B]
Get:18 http://ports.ubuntu.com quantal-updates/universe Sources [14 B]
Get:19 http://ports.ubuntu.com quantal-updates/main armhf Packages [14 B]
Get:20 http://ports.ubuntu.com quantal-updates/restricted armhf Packages [14 B]
Get:21 http://ports.ubuntu.com quantal-updates/universe armhf Packages [14 B]
Get:22 http://ports.ubuntu.com quantal-updates/main Translation-en [14 B]
Get:23 http://ports.ubuntu.com quantal-updates/restricted Translation-en [14 B]
Get:24 http://ports.ubuntu.com quantal-updates/universe Translation-en [14 B]
Get:25 http://ports.ubuntu.com quantal-security/main Sources [14 B]
Get:26 http://ports.ubuntu.com quantal-security/restricted Sources [14 B]
Get:27 http://ports.ubuntu.com quantal-security/universe Sources [14 B]
Get:28 http://ports.ubuntu.com quantal-security/multiverse Sources [14 B]
Get:29 http://ports.ubuntu.com quantal-security/main armhf Packages [14 B]
Get:30 http://ports.ubuntu.com quantal-security/restricted armhf Packages [14 B]
Get:31 http://ports.ubuntu.com quantal-security/universe armhf Packages [14 B]
Get:32 http://ports.ubuntu.com quantal-security/multiverse armhf Packages [14 B]
Get:33 http://ports.ubuntu.com quantal-security/main Translation-en [14 B]
Get:34 http://ports.ubuntu.com quantal-security/multiverse Translation-en [14 B]
Get:35 http://ports.ubuntu.com quantal-security/restricted Translation-en [14 B]
Get:36 http://ports.ubuntu.com quantal-security/universe Translation-en [14 B]
Ign http://ports.ubuntu.com quantal/main Translation-en_US
Ign http://ports.ubuntu.com quantal/main Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal/restricted Translation-en_US
Ign http://ports.ubuntu.com quantal/restricted Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal/universe Translation-en_US
Ign http://ports.ubuntu.com quantal/universe Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal-updates/main Translation-en_US
Ign http://ports.ubuntu.com quantal-updates/main Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal-updates/restricted Translation-en_US
Ign http://ports.ubuntu.com quantal-updates/restricted Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal-updates/universe Translation-en_US
Ign http://ports.ubuntu.com quantal-updates/universe Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal-security/main Translation-en_US
Ign http://ports.ubuntu.com quantal-security/main Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal-security/multiverse Translation-en_US
Ign http://ports.ubuntu.com quantal-security/multiverse Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal-security/restricted Translation-en_US
Ign http://ports.ubuntu.com quantal-security/restricted Translation-en_US.UTF-8
Ign http://ports.ubuntu.com quantal-security/universe Translation-en_US
Ign http://ports.ubuntu.com quantal-security/universe Translation-en_US.UTF-8
Fetched 17.2 MB in 57s (299 kB/s)
Reading package lists... Error!
E: Problem syncing the file - sync (5: Input/output error)
E: Problem syncing the file - sync (5: Input/output error)
E: The package lists or status file could not be parsed or opened.
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
libapt-inst1.5
Suggested packages:
xz-utils
The following NEW packages will be installed:
apt-utils dialog libapt-inst1.5
0 upgraded, 3 newly installed, 0 to remove and 42 not upgraded.
Need to get 491 kB of archives.
After this operation, 2,303 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports/ quantal/main libapt-inst1.5 armhf 0.9.7.5ubuntu2 [72.4 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports/ quantal/main apt-utils armhf 0.9.7.5ubuntu2 [170 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports/ quantal/universe dialog armhf 1.1-20120215-2 [249 kB]
Fetched 491 kB in 1s (377 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libapt-inst1.5:armhf.
(Reading database ... 7504 files and directories currently installed.)
Unpacking libapt-inst1.5:armhf (from .../libapt-inst1.5_0.9.7.5ubuntu2_armhf.deb) ...
Selecting previously unselected package apt-utils.
Unpacking apt-utils (from .../apt-utils_0.9.7.5ubuntu2_armhf.deb) ...
dpkg: unrecoverable fatal error, aborting:
unable to fsync updated status of `apt-utils': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
/tmp/install-chroot-part.sh: line 24: /tmp/selected_locale: Read-only file system
/bin/cat: /tmp/selected_locale: No such file or directory
/tmp/install-chroot-part.sh: line 27: /etc/default/locale: Read-only file system
/tmp/install-chroot-part.sh: line 28: /etc/environment: Read-only file system
/tmp/install-chroot-part.sh: line 29: /etc/locale.gen: Read-only file system
Generating locales...
en_US.UTF-8... cannot open locale archive "/usr/lib/locale/locale-archive": Read-only file system
failed
Generation complete.
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.


Something went wrong while installing acpid, see the errors above, ensure that dpkg isn't broken with commands 'apt-get install -f' and 'dpkg --configure -a' and type exit or Ctrl+D to continue. If some package doesn't install, just 'apt-get purge' it.
every package have the same issue and end with this :

/bin/sed: can't read debian/control: No such file or directory
dpkg: error: unable to access dpkg status area: Read-only file system


Something went wrong while installing *.deb, see the errors above, ensure that dpkg isn't broken with commands 'apt-get install -f' and 'dpkg --configure -a' and type exit or Ctrl+D to continue.
root@kinchan-G60JX:/tmp# exit
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
/tmp/install-chroot-part.sh: line 64: dialog: command not found
/tmp/install-chroot-part.sh: line 85: mkimage: command not found
/tmp/install-chroot-part.sh: line 86: mkimage: command not found
/bin/cp: cannot stat `/boot/uImage': No such file or directory
/tmp/install-chroot-part.sh: line 95: /boot/boot.script: Read-only file system
/tmp/install-chroot-part.sh: line 101: mkimage: command not found
/tmp/install-chroot-part.sh: line 103: /ubuntu.item: Read-only file system
/uImage or /boot.scr missing, dropping to a chroot bash. The script will continue after you exit bash.
of course, all necessary software are installed, i actually run the script on ubuntu 12.04 64bits, already try on 12.04 32bits, 10.04 32 bits and debian on two differents computers.

whatever the install options it doesn't make any difference. i'm tired of searching internet, where is my mistake???
 

The Following User Says Thank You to kinchan For This Useful Post:
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#39
Originally Posted by kinchan View Post
every package have the same issue and end with this :
Read-only filesystem... reading the outputs...

It's not RO here:
+ mount -o bind /sys /mnt/sys
+ cp /usr/bin/qemu-arm-static /mnt/usr/bin/
but becomes RO in the chroot:
Fetched 17.2 MB in 57s (299 kB/s)
Reading package lists... Error!
E: Problem syncing the file - sync (5: Input/output error)
You can try adding 'bash' statements as breakpoints and investigate what's re-mounting the FS in RO mode.

Last edited by int_ua; 2012-10-01 at 10:08.
 

The Following 2 Users Say Thank You to int_ua For This Useful Post:
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#40
Do notice: Skry created a new IRC channel: #maemo-alternatives
Let's talk there.
 

The Following 2 Users Say Thank You to int_ua For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 23:03.