Kernel 4.13

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 6432
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.13

Post by xeno74 »

Tom,

Many thanks for posting the log files.

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6432
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.13

Post by xeno74 »

Tom,

I haven't found any error messages in your log files. Could you please test another display connector? (DVI etc)

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6432
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.13

Post by xeno74 »

xeno74 wrote:Tom,

I haven't found any error messages in your log files. Could you please test another display connector? (DVI etc)

Thanks,
Christian
Tom,

Additionally, could you please post the output of ps -C Xorg after you booted the alpha8?

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6432
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.13

Post by xeno74 »

Tom,

I have found something. Since the alpha5 the kernel mounts your root partition only readonly.

My dmesg:

Code: Select all

[    2.522231] EXT2-fs (sdb7): error: couldn't mount because of unsupported optional features (240)
[    2.524998] EXT4-fs (sdb7): mounted filesystem with ordered data mode. Opts: (null)
[    2.525014] VFS: Mounted root (ext4 filesystem) on device 8:23.
Your dmesg:

Code: Select all

 [6.443138] EXT4-fs (sdb5): mounted filesystem with ordered data mode. Opts: (null)
[ 6.443155] VFS: Mounted root (ext4 filesystem) readonly on device 8:21.
Please boot the alpha8 with the following boot arguments:

setenv bootargs "root=/dev/<your partition> rw"

For example:

Code: Select all

setenv bootargs "root=/dev/sdb8 rw"
Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
tbreeden
Posts: 160
Joined: Sat Jun 18, 2011 12:57 am
Location: Charlottesville, VA, USA
Contact:

Re: Kernel 4.13

Post by tbreeden »

Christian:
Could you please test another display connector? (DVI etc)
I connected the HDMI out from the X1000 directly to the HDMI on the monitor.
No change in the behaviour.
Additionally, could you please post the output of ps -C Xorg after you booted the alpha8?
This is empty. There is no "Xorg" in the process list running after I login to the raw terminal screen.
Please boot the alpha8 with the following boot arguments:
setenv bootargs "root=/dev/<your partition> rw"
Doing this, I still end up in the plain terminal screen for login, but
I seem to get more information during the bootup.

Lightdm starts up, starting up XServer and making progress until
it shows a "Process 2624 terminated with signal 6" and then shuts
XServer and itself down :?:

This repeats about 10 times, logging this text each time
in lightd.log:
--------------------------------------------------------------
[+0.14s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.14s] DEBUG: Starting Light Display Manager 1.21.5, UID=0 PID=2602
[+0.14s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.14s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.14s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.14s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.14s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu-mate.conf
[+0.14s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.14s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.14s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf
[+0.14s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.14s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.14s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/20-lubuntu.conf
[+0.14s] DEBUG: [SeatDefaults] is now called [Seat:*], please update this configuration
[+0.14s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.14s] DEBUG: [SeatDefaults] is now called [Seat:*], please update this configuration
[+0.14s] DEBUG: Registered seat module local
[+0.14s] DEBUG: Registered seat module xremote
[+0.14s] DEBUG: Registered seat module unity
[+0.14s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.17s] DEBUG: Monitoring logind for seats
[+0.17s] DEBUG: New seat added from logind: seat0
[+0.17s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.17s] DEBUG: Seat seat0: Starting
[+0.17s] DEBUG: Seat seat0: Creating greeter session
[+0.27s] DEBUG: Seat seat0: Creating display server of type x
[+0.27s] DEBUG: Using VT 7
[+0.27s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.27s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.29s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.29s] DEBUG: XServer 0: Launching X Server
[+0.29s] DEBUG: Launching process 2624: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.29s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.29s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.29s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.33s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.33s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.33s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+7.88s] DEBUG: Process 2624 terminated with signal 6
[+7.88s] DEBUG: XServer 0: X server stopped
[+7.88s] DEBUG: Releasing VT 7
[+7.88s] DEBUG: XServer 0: Removing X server authority /var/run/lightdm/root/:0
[+7.88s] DEBUG: Seat seat0: Display server stopped
[+7.88s] DEBUG: Seat seat0: Stopping session
[+7.88s] DEBUG: Seat seat0: Session stopped
[+7.88s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+7.88s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+7.88s] DEBUG: Seat seat0: Stopping
[+7.88s] DEBUG: Seat seat0: Stopped
[+7.88s] DEBUG: Required seat has stopped
[+7.88s] DEBUG: Stopping display manager
[+7.88s] DEBUG: Display manager stopped
[+7.88s] DEBUG: Stopping daemon
[+7.88s] DEBUG: Exiting with return value 1
--------------------------------------------------------------

Tom
User avatar
xeno74
Posts: 6432
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.13

Post by xeno74 »

Hi Tom,

Many thanks for testing. Is your root partition really mounted read-only? Could you please boot with the alpha8 and try to login? (terminal/console/shell login)
If this works then please try to create a file. (touch test.txt)

Thanks a lot for your help,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6432
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.13

Post by xeno74 »

Maybe the following commit is the problem:

powerpc/hugetlb: enable hugetlb migration for ppc64
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
tbreeden
Posts: 160
Joined: Sat Jun 18, 2011 12:57 am
Location: Charlottesville, VA, USA
Contact:

Re: Kernel 4.13

Post by tbreeden »

Is your root partition really mounted read-only? Could you please boot with the alpha8 and try to login? (terminal/console/shell login)
If this works then please try to create a file. (touch test.txt)
I don't think so.
I did the setenv bootargs "root=/dev/<your partition> rw" for CFE.
And I can create a file in the top directory if I do "sudo touch /trash.txt"
Maybe the following commit is the problem:
powerpc/hugetlb: enable hugetlb migration for ppc64
Evidently the HugeTLB enable was registered, as there is this
line in the dmesg output
. [ 0.130380] HugeTLB registered 16.0 MiB page size, pre-allocated 0 pages

The signal, SIGABRT, that shuts down the Lightdm process seems to be from
pid=1. Maybe a kernel assert() failed at that point?

:shock: my reaction to all the log files :o

Tom
User avatar
xeno74
Posts: 6432
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.13

Post by xeno74 »

Hi Tom,

Julian tested the latest Git/alpha kernel on his X5000. The X5000 has the same problem with Xorg.

The bad commit is somewhere between the alpha4 and alpha5. (7. July 5:52AM till 8. July 6.04AM)

We have to check the commits between the alpha4 and alpha5.

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6432
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.13

Post by xeno74 »

Update for checking:
git revert b8d4c1f9f48e344fe1d6e6ffae01d4b31bf0aac0 -m 1

Code: Select all

[master 8189fba] Revert "Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs"
 10 files changed, 46 insertions(+), 61 deletions(-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply