View Single Post
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#37
Edits/updates in blue...

I finally got around to trying Leste last night. I tried the N900 armel build (maemo-leste-1.0-armel-n900-20180207.img.xz) and I have a few observations...

It failed to complete initialisation. Xorg failed to start and then it shut down the OS automatically. It looks like there are some missing shared libraries. Here's my Xorg.0.log:

Code:
[    62.738]                                                                                                                                                                                                                                                                                                           [3/504]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[    62.752] X Protocol Version 11, Revision 0
[    62.757] Build Operating System: Linux 4.9.0-4-armmp-lpae armv7l Debian
[    62.762] Current Operating System: Linux devuan 4.15.0-rc6+ #1 PREEMPT Wed Feb 7 15:47:47 CET 2018 armv7l
[    62.763] Kernel command line: root=/dev/mmcblk0p6 rootwait ro console=tty0 vram=12M ubi.mtd=5
[    62.773] Build Date: 16 October 2017  09:52:58AM
[    62.778] xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support) 
[    62.783] Current version of pixman: 0.34.0
[    62.794]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    62.794] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    62.813] (++) Log file: "/tmp/Xorg.0.log", Time: Thu Jan  1 00:01:02 1970
[    62.828] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    62.834] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    62.842] (==) No Layout section.  Using the first Screen section.
[    62.842] (==) No screen section available. Using defaults.
[    62.842] (**) |-->Screen "Default Screen Section" (0)
[    62.842] (**) |   |-->Monitor "<default monitor>"
[    62.851] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    62.851] (==) Automatically adding devices
[    62.851] (==) Automatically enabling devices
[    62.851] (==) Automatically adding GPU devices
[    62.852] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    62.874] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    62.874]    Entry deleted from font path.
[    62.874] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    62.875]    Entry deleted from font path.
[    62.875] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    62.875]    Entry deleted from font path.
[    62.875] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[    62.875]    Entry deleted from font path.
[    62.875] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    62.875]    Entry deleted from font path.
[    62.875] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    62.876]    Entry deleted from font path.
[    62.876] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        built-ins
[    62.876] (==) ModulePath set to "/usr/lib/xorg/modules"
[    62.876] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    62.886] (--) using VT number 2

[    62.887] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    62.888] (II) no primary bus or device found
[    62.896] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    62.907] (EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so: libGL.so.1: cannot open shared object file: No such file or directory
[    62.907] (II) Unloading glx
[    62.908] (EE) Failed to load module "glx" (loader failed, 7)
[    62.908] (==) Matched modesetting as autoconfigured driver 0
[    62.908] (==) Matched fbdev as autoconfigured driver 1
[    62.908] (==) Assigned the driver to the xf86ConfigLayout
[    62.911] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    62.919] (II) Module modesetting: vendor="X.Org Foundation"
[    62.919]    compiled for 1.19.2, module version = 1.19.2
[    62.921] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    62.935] (EE) Failed to load /usr/lib/xorg/modules/drivers/fbdev_drv.so: libpvr2d.so: cannot open shared object file: No such file or directory
[    62.935] (II) Unloading fbdev
[    62.936] (EE) Failed to load module "fbdev" (loader failed, 7)
[    62.936] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    62.936] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[    62.936] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[    62.957] (WW) Falling back to old probe method for modesetting
[    62.958] (EE) open /dev/dri/card0: No such file or directory
[    62.958] (EE) No devices detected.
[    62.958] (EE) 
Fatal server error:
[    62.959] (EE) no screens found(EE) 
[    62.959] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[    62.959] (EE) Please also check the log file at "/tmp/Xorg.0.log" for additional information.
[    62.960] (EE) 
[    62.987] (EE) Server terminated with error (1). Closing log file.
As per fmg's recommendation, Hard FP works fine and boots into Hildon.

I haven't what looked to see what triggers the automatic shutdown but I think it would be better to roll back to the previous run level with a console login prompt instead completely shutting down.
There appears to be a bug (watchdog kicks in perhaps?) which causes a complete shutdown when switching run levels. Fremantle also had this quirk. I'll file this on the bug tracker soon, after I've done more testing.

I noticed that the image uses a separate vfat /boot slice. Is there any particular reason for using vfat? U-Boot can boot off ext4 directly without any issues. I frequently test on an SD card with multiple slices, each with a different OS install. To accommodate this, I had to manually copy the zImage and uImage to the root slice and edit /etc/fstab. I can see this becoming annoying if I have to do this every time I test an image. If there are no objections, I'd like to move it all to single ext4 slice. I don't mind fixing this myself.
Never mind about this. I found the tarball which is easy enough to unpack to a single slice. Although it still might be worth removing the /boot line from the fstab, at least for the tarball, as it's not needed.

I'm not sure why, but I couldn't mount the Leste ext4 slice on my SD card under Fremantle (kernel power). I've never had a problem with ext4 before and I can still mount other ext4 slices under Fremantle. The same slice mounts without any problems under Devuan on my N900. Not critical, just an observation. We can let this one go if you like.
Wizzup pointed out that this relates to new ext4 features. I guess these are incompatible with kernel-power's ext4 support.

This one's not a problem, I'm just curious. I noticed that it's running OpenRC. Is that something specific to Leste or is OpenRC now the default in Devuan Ascii (Devuan Jessie didn't use it)?
Found that the openrc package it explicitly added to the Leste image build. Good choice in my opinion. Also found out that is installable using the expert install path in Ascii.

In DebiaN900, I create a "run once" SysV init RC script which runs interactive commands to configure things like passwords, locale and timezone on first boot. Do we need something similar in Leste?
I'll probably integrate this soon. In the long term, we may want to set up these things in Hildon on its first run. Fremantle does something similar.
__________________
DebiaN900 - Native Debian on the N900. Deprecated in favour of Maemo Leste.

Maemo Leste for N950 and N9 (currently broken).
Devuan for N950 and N9.

Mobile devices with mainline Linux support - Help needed with documentation.

"Those who do not understand Unix are condemned to reinvent it, poorly." - Henry Spencer

Last edited by wicket; 2018-02-19 at 19:07.
 

The Following 8 Users Say Thank You to wicket For This Useful Post: