Author Message

<  Everything Coding  ~  usb_modeswitch does not work with systemd 221

PostPosted: Thu Nov 24, 2016 9:42 am Reply with quote
Posts: 2 Joined: Wed Nov 23, 2016 7:38 pm
-rwxr-xr-x 1 root root 40568 Nov 17 04:39 /sbin/init

On UEFI system:

journalctl -b | grep init
Nov 24 08:34:06 localhost kernel: Kernel command line: root=/dev/sdd4 rootfstype=ext4 init=/usr/lib/systemd/systemd
Nov 24 08:34:06 localhost kernel: Memory: 16342392K/16694868K available (5447K kernel code, 813K rwdata, 1940K rodata, 1000K init, 588K bss, 352476K reserved, 0K cma-reserved)
Nov 24 08:34:06 localhost kernel: devtmpfs: initialized

This (fresh) unstable gentoo was installed from
-rw-r--r-- 1 root root 249804534 Nov 19 15:30 stage3-amd64-20161117.tar.bz2 file.
I have also almost identical gentoo instalation (the same UEFI laptop,
Sep 19 08:28 stage3-amd64-20160915.tar.bz2), but
using openrc - here usb_modeswitch-2.4.0 works without any problems.
On openrc:
ls -l /mnt/mnt2/sbin/init
-rwxr-xr-x 1 root root 40568 Sep 15 05:38 /mnt/mnt2/sbin/init

On both systems there is no /etc/init directory
nor usb-modeswitch-upstart.conf file on the whole systems.

All files provided by usb-modeswitch:

PostPosted: Wed Jan 04, 2017 2:22 pm Reply with quote
Posts: 3 Joined: Wed Jan 04, 2017 1:31 pm
Hi Josh,

I can't comment for the original op, but running Gentoo myself (kernel 4.8.3, sysvinit 2.88, udev 230 /sbin/init is a binary itself, not a symlink.

jkroon@greyscale ~ $ ls -la /sbin/init
-rwxr-xr-x 1 root root 40664 Oct 22 21:43 /sbin/init
jkroon@greyscale ~ $ equery belongs /sbin/init
 * Searching for /sbin/init ...
sys-apps/sysvinit-2.88-r9 (/sbin/init)
jkroon@greyscale ~ $ equery list udev
 * Searching for udev ...
[IP-] [  ] sys-fs/udev-230-r1:0
jkroon@greyscale ~ $ uname -a
Linux greyscale 4.8.3-uls #1 SMP PREEMPT Thu Oct 27 08:04:48 SAST 2016 x86_64 Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz GenuineIntel GNU/Linux
jkroon@greyscale ~ $

Probably I'm somewhat "behind the times", but even with a /usr on a separate (unmounted by the time udev starts) my system works well. My only problem that I've got at the moment (at least that I'm aware of) is my modem doesn't switch on bootup ... and that's not a major problem for me.


Display posts from previous:  Sort by:

All times are UTC+02:00
Page 2 of 2
17 posts
Go to page   Previous 1 2
Users browsing this forum: No registered users and 1 guest
Search for:
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 post attachments in this forum