Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Kernel 4.6 and systemd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 500

PostPosted: Sat May 07, 2016 7:45 pm    Post subject: [Solved] Kernel 4.6 and systemd Reply with quote

Hi all,
I decided to give a try to git-sources-4.6-rc6 but at boot I get this error:

http://imgur.com/rWWhJGP

As you can see systemd-timesyncd failed to start.
If I try to restart this service, journalctl -xe returns:

http://imgur.com/Pv1mr0z

The strange thing is that 4.5.3 boots without any problem.
I don't know how to backtrack this problem.
The two kernel (4.6-rc6 and 4.5.3) have the same .config file.

Thanks
_________________
Gentoo Linux ~amd64, Kernel 4.5.3, Enermax 400W, Intel i7-3770, DDR3 8GB, Sapphire HD6870


Last edited by yellowhat on Sun Jun 12, 2016 9:49 am; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5646

PostPosted: Sat May 07, 2016 10:02 pm    Post subject: Reply with quote

Helpful tip: if you can ssh into the box, `busybox conspy -d` will give you a "screenshot" of the console which might be more readable (also you can copy and paste from it). This also works from an X session on the same machine.
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 500

PostPosted: Wed May 11, 2016 6:01 pm    Post subject: Reply with quote

Same problem with 4.6-rc7.
_________________
Gentoo Linux ~amd64, Kernel 4.5.3, Enermax 400W, Intel i7-3770, DDR3 8GB, Sapphire HD6870
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 500

PostPosted: Mon May 16, 2016 7:25 pm    Post subject: Reply with quote

Same problem with 4.6.0.
As soon as I can I will try with gentoo-sources.

Thanks
_________________
Gentoo Linux ~amd64, Kernel 4.5.3, Enermax 400W, Intel i7-3770, DDR3 8GB, Sapphire HD6870
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 500

PostPosted: Fri May 20, 2016 9:27 pm    Post subject: Reply with quote

Same problem with gentoo-sources-4.6.0.
If I try to run: systemctl status sustemd-remount-fs I get:
Code:
/ not mounted or bad option In some cases useful info is found in syslog - dmesg | tail


This is my /etc/fstab:

Code:

/dev/sda3       /                               xfs         defaults,noatime,user_xattr,discard         0           1
tmpfs           /var/tmp/portage        tmpfs   defaults,nosuid,size=7048M,mode=1777                    0       0


In make menuconfig I have:

Code:

<*> XFS filesystem support
     [*]   XFS Quota support
     [*]   XFS POSIX ACL support
     [*]   XFS Realtime subvolume support
     [ ]   XFS Verbose Warnings
     [ ]   XFS Debugging support


That is the same configuration that works with 4.5.*.

This is /etc/lilo.conf:

Code:

boot=/dev/sda      # Install LILO in the MBR
prompt             # Give the user the chance to select another section
timeout=50         # Wait 5 (five) seconds before booting the default section
default=gentoo-4.6 # When the timeout has passed, boot the "gentoo" section

image=/boot/kernel-4.5.4
label=gentoo-4.5   # Name we give to this section
read-only          # Start with a read-only root. Do not alter!
root=/dev/sda3     # Location of the root filesys
append="quiet init=/usr/lib/systemd/systemd radeon.dpm=1"

image=/boot/kernel-4.6.0
label=gentoo-4.6   # Name we give to this section
read-only          # Start with a read-only root. Do not alter!
root=/dev/sda3     # Location of the root filesys
append="quiet init=/usr/lib/systemd/systemd radeon.dpm=1"

# The next two lines are only if you dualboot with a Windows system.
# In this example, Windows is hosted on /dev/sda6.
other=/dev/sda1
label=windows


Thanks[/quote]
_________________
Gentoo Linux ~amd64, Kernel 4.5.3, Enermax 400W, Intel i7-3770, DDR3 8GB, Sapphire HD6870
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 500

PostPosted: Sat Jun 11, 2016 7:59 am    Post subject: Reply with quote

I am able to boot change the boot option from:

Code:
linux   /boot/kernel-4.6.2 root=/dev/sda3 ro init=/usr/lib/systemd/systemd


to

Code:
linux   /boot/kernel-4.6.2 root=/dev/sda3 rw init=/usr/lib/systemd/systemd


How can I make this option the default?
_________________
Gentoo Linux ~amd64, Kernel 4.5.3, Enermax 400W, Intel i7-3770, DDR3 8GB, Sapphire HD6870
Back to top
View user's profile Send private message
guitou
Guru
Guru


Joined: 02 Oct 2003
Posts: 391
Location: France

PostPosted: Sat Jun 11, 2016 5:40 pm    Post subject: Reply with quote

Hello

Even if not recommended, you can still comment out the relevant read-only line in your lilo.conf, but it would be better to find out the reason why root fs fails to remount rw: running the suggested dmesg command may help.

++
Gi)
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 500

PostPosted: Sun Jun 12, 2016 7:47 am    Post subject: Reply with quote

Here is my dmseg:
http://pastebin.com/hqwiGz66
_________________
Gentoo Linux ~amd64, Kernel 4.5.3, Enermax 400W, Intel i7-3770, DDR3 8GB, Sapphire HD6870
Back to top
View user's profile Send private message
guitou
Guru
Guru


Joined: 02 Oct 2003
Posts: 391
Location: France

PostPosted: Sun Jun 12, 2016 9:45 am    Post subject: Reply with quote

Code:
[    7.452605] XFS (sda3): unknown mount option [user_xattr].


I guess your error is here, and searching a little on the web, I found info about option being enabled by defaut. It's probably now the case for xfs: just removing the option in your fstab should do no harm.

++
Gi)
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 500

PostPosted: Sun Jun 12, 2016 9:49 am    Post subject: Reply with quote

Thank you very much.

Removing user_xattr from /etc/fstab solved.
_________________
Gentoo Linux ~amd64, Kernel 4.5.3, Enermax 400W, Intel i7-3770, DDR3 8GB, Sapphire HD6870
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum