* [gentoo-user] can not mount USB stick as user @ 2014-02-05 16:32 Joseph 2014-02-05 16:35 ` Alan McKinnon 2014-02-05 17:46 ` Canek Peláez Valdés 0 siblings, 2 replies; 34+ messages in thread From: Joseph @ 2014-02-05 16:32 UTC (permalink / raw To: gentoo-user Which program is responsible for mounting USB stick on XFCE4? After enable "systemd" flag in make.conf USE= the following packages were rebuild: sys-apps/busybox sys-apps/dbus sys-auth/pambase sys-auth/polkit sys-fs/udisks sys-power/upower gnome-base/gvfs But now I have a BIG problem, I can not mount USB stick at all as user (only as root). Eject doesn't work either. -- Joseph ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 16:32 [gentoo-user] can not mount USB stick as user Joseph @ 2014-02-05 16:35 ` Alan McKinnon 2014-02-05 17:03 ` Joseph 2014-02-05 17:46 ` Canek Peláez Valdés 1 sibling, 1 reply; 34+ messages in thread From: Alan McKinnon @ 2014-02-05 16:35 UTC (permalink / raw To: gentoo-user On 05/02/2014 18:32, Joseph wrote: > Which program is responsible for mounting USB stick on XFCE4? > > After enable "systemd" flag in make.conf USE= > the following packages were rebuild: > sys-apps/busybox > sys-apps/dbus > sys-auth/pambase > sys-auth/polkit > sys-fs/udisks > sys-power/upower > gnome-base/gvfs > > But now I have a BIG problem, I can not mount USB stick at all as user > (only as root). > Eject doesn't work either. > fast reply off the top of the head of someone who has never used systemd: Systemd and udev are tightly interwoven. Did you restart udev? -- Alan McKinnon alan.mckinnon@gmail.com ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 16:35 ` Alan McKinnon @ 2014-02-05 17:03 ` Joseph 2014-02-05 18:06 ` Alan McKinnon 2014-02-05 20:02 ` Rick "Zero_Chaos" Farina 0 siblings, 2 replies; 34+ messages in thread From: Joseph @ 2014-02-05 17:03 UTC (permalink / raw To: gentoo-user On 02/05/14 18:35, Alan McKinnon wrote: >On 05/02/2014 18:32, Joseph wrote: >> Which program is responsible for mounting USB stick on XFCE4? >> >> After enable "systemd" flag in make.conf USE= >> the following packages were rebuild: >> sys-apps/busybox >> sys-apps/dbus >> sys-auth/pambase >> sys-auth/polkit >> sys-fs/udisks >> sys-power/upower >> gnome-base/gvfs >> >> But now I have a BIG problem, I can not mount USB stick at all as user >> (only as root). >> Eject doesn't work either. >> > >fast reply off the top of the head of someone who has never used systemd: > > >Systemd and udev are tightly interwoven. Did you restart udev? > >-- >Alan McKinnon >alan.mckinnon@gmail.com Yes, I restarted the system. I don't have "udev" installed; systemd is replacing udev isn't it? Before installing systemd I had to unmerge udev. -- Joseph ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 17:03 ` Joseph @ 2014-02-05 18:06 ` Alan McKinnon 2014-02-05 18:42 ` Joseph 2014-02-05 20:02 ` Rick "Zero_Chaos" Farina 1 sibling, 1 reply; 34+ messages in thread From: Alan McKinnon @ 2014-02-05 18:06 UTC (permalink / raw To: gentoo-user On 05/02/2014 19:03, Joseph wrote: > On 02/05/14 18:35, Alan McKinnon wrote: >> On 05/02/2014 18:32, Joseph wrote: >>> Which program is responsible for mounting USB stick on XFCE4? >>> >>> After enable "systemd" flag in make.conf USE= >>> the following packages were rebuild: >>> sys-apps/busybox >>> sys-apps/dbus >>> sys-auth/pambase >>> sys-auth/polkit >>> sys-fs/udisks >>> sys-power/upower >>> gnome-base/gvfs >>> >>> But now I have a BIG problem, I can not mount USB stick at all as user >>> (only as root). >>> Eject doesn't work either. >>> >> >> fast reply off the top of the head of someone who has never used systemd: >> >> >> Systemd and udev are tightly interwoven. Did you restart udev? >> >> -- >> Alan McKinnon >> alan.mckinnon@gmail.com > > Yes, I restarted the system. I don't have "udev" installed; systemd is > replacing udev isn't it? > Before installing systemd I had to unmerge udev. > Here's how I understand how things work: There's a body of code called "udev" which when runs performs a service called "udev". There's also a body of code called "systemd" which when it runs is PID 1. And there's a project called "systemd" which does all manner of PID 1 things and controls early startup amongst other things. There used to be a project called udev which has been folded into the systemd project. Both bodies of code are these days found in a tarball called "systemd" from the systemd project which is why you download systemd sources when installing the Gentoo udev package. However, systemd doesn't just magically do what udev does out of thin air. udev is still a functional running service and must be enabled in systemd for it to run. Confused yet? English is a hugely overloaded language. I'm thinking you need systemd with the udev USE flag set. -- Alan McKinnon alan.mckinnon@gmail.com ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 18:06 ` Alan McKinnon @ 2014-02-05 18:42 ` Joseph 2014-02-05 18:51 ` Alan McKinnon 0 siblings, 1 reply; 34+ messages in thread From: Joseph @ 2014-02-05 18:42 UTC (permalink / raw To: gentoo-user On 02/05/14 20:06, Alan McKinnon wrote: >On 05/02/2014 19:03, Joseph wrote: >> On 02/05/14 18:35, Alan McKinnon wrote: >>> On 05/02/2014 18:32, Joseph wrote: >>>> Which program is responsible for mounting USB stick on XFCE4? >>>> >>>> After enable "systemd" flag in make.conf USE= >>>> the following packages were rebuild: >>>> sys-apps/busybox >>>> sys-apps/dbus >>>> sys-auth/pambase >>>> sys-auth/polkit >>>> sys-fs/udisks >>>> sys-power/upower >>>> gnome-base/gvfs >>>> >>>> But now I have a BIG problem, I can not mount USB stick at all as user >>>> (only as root). >>>> Eject doesn't work either. >>>> >>> >>> fast reply off the top of the head of someone who has never used systemd: >>> >>> >>> Systemd and udev are tightly interwoven. Did you restart udev? >>> >>> -- >>> Alan McKinnon >>> alan.mckinnon@gmail.com >> >> Yes, I restarted the system. I don't have "udev" installed; systemd is >> replacing udev isn't it? >> Before installing systemd I had to unmerge udev. >> > >Here's how I understand how things work: > >There's a body of code called "udev" which when runs performs a service >called "udev". > >There's also a body of code called "systemd" which when it runs is PID 1. > >And there's a project called "systemd" which does all manner of PID 1 >things and controls early startup amongst other things. There used to be >a project called udev which has been folded into the systemd project. > >Both bodies of code are these days found in a tarball called "systemd" >from the systemd project which is why you download systemd sources when >installing the Gentoo udev package. > >However, systemd doesn't just magically do what udev does out of thin >air. udev is still a functional running service and must be enabled in >systemd for it to run. > >Confused yet? English is a hugely overloaded language. > >I'm thinking you need systemd with the udev USE flag set. > >-- >Alan McKinnon >alan.mckinnon@gmail.com If I'm not mistaken my "systemd" is installed with "gudev" flag. sys-apps/systemd-208-r2:0/1 USE="filecaps firmware-loader gudev introspection kmod pam policykit tcpd -acl -audit -cryptsetup -doc -gcrypt -http -lzma -python -qrcode (-selinux) {-test} -vanilla -xattr" ABI_X86="(64) (-32) (-x32)" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB -- Joseph ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 18:42 ` Joseph @ 2014-02-05 18:51 ` Alan McKinnon 0 siblings, 0 replies; 34+ messages in thread From: Alan McKinnon @ 2014-02-05 18:51 UTC (permalink / raw To: gentoo-user On 05/02/2014 20:42, Joseph wrote: >> I'm thinking you need systemd with the udev USE flag set. >> >> -- >> Alan McKinnon >> alan.mckinnon@gmail.com > > If I'm not mistaken my "systemd" is installed with "gudev" flag. > > sys-apps/systemd-208-r2:0/1 USE="filecaps firmware-loader gudev > introspection kmod pam policykit tcpd -acl -audit -cryptsetup -doc > -gcrypt -http -lzma -python -qrcode (-selinux) {-test} -vanilla -xattr" > ABI_X86="(64) (-32) (-x32)" PYTHON_SINGLE_TARGET="python2_7" > PYTHON_TARGETS="python2_7" 0 kB I'm all out of ideas. I don't use systemd myself. -- Alan McKinnon alan.mckinnon@gmail.com ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 17:03 ` Joseph 2014-02-05 18:06 ` Alan McKinnon @ 2014-02-05 20:02 ` Rick "Zero_Chaos" Farina 1 sibling, 0 replies; 34+ messages in thread From: Rick "Zero_Chaos" Farina @ 2014-02-05 20:02 UTC (permalink / raw To: gentoo-user -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/05/2014 12:03 PM, Joseph wrote: > Yes, I restarted the system. I don't have "udev" installed; systemd is > replacing udev isn't it? > Before installing systemd I had to unmerge udev. > systemd REPLACES openrc, and BUNDLES udev. Modern linux REQUIRES udev to run. You can use the udev built into systemd, or you can use the conveniently separated standalone version in gentoo, but if you don't have udev, your system will not work right. Please install udev. Thanks, Zero -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJS8pjfAAoJEKXdFCfdEflKmiUQAK8opLLAfIF9U101g6Qs4NE2 qQNGQHLiD7nt+TqD6VZCuE7Tm2qUvgwu1DvyWE4aFDZfQKZqfxeXDGpbkqulgXxK VkAhW7A0NxiagqJhXtE9Ju4p7PTLYevKrDEtuypJw90WhsokXiTA8jgg0jknAOA8 Am4M/y/IPV8FYG2fL7Qy5iqAzY7ggkQ7UZB493RfpK+aBY3LHGSVYJVBxf+MuZaw k8M28/itYS9LIU8MsWD9T+uHgXZyuf+9MaP2Svn8506TUTX078qMMVn8eMtV3yOG SToS9oFqPG3ka1LWC7RGafUtPDH1h7huFMR4sTDeDiheCE97cbNQYzNf4ErVk2X0 bLsmPKX1cxx7T6oRSWcPNTx6VUUapLZyGI8LJ3sB3QG9kWnEnnKI3bnKJL4drP3n PzGGd7r+RykB+1oYHNOtP2KjbpzILLL421FaeiXc0YLmyXnaBZXVveSSNLi7gsJ1 0QGoEyoW8NWUGddtSkRIYQz9gMajHwg29zPiXY93SaUvKKzWhtLkzdo405JGgYD5 oNcqeSomGFIghxP05P9ICAbY5HGElQtc/51rvqWTKrlT4gR4ELzw8dWL3ZN91lR+ vLyqPbDm/A40UkE70DdjRyhzq3hJ9slxq4a8l8+vZBmnNu5jjAmlxZXR1QTDqGdp GU79N3hkTSUiZ99pJ3qO =mNyo -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 16:32 [gentoo-user] can not mount USB stick as user Joseph 2014-02-05 16:35 ` Alan McKinnon @ 2014-02-05 17:46 ` Canek Peláez Valdés 2014-02-05 18:38 ` Joseph 1 sibling, 1 reply; 34+ messages in thread From: Canek Peláez Valdés @ 2014-02-05 17:46 UTC (permalink / raw To: gentoo-user On Wed, Feb 5, 2014 at 10:32 AM, Joseph <syscon780@gmail.com> wrote: > Which program is responsible for mounting USB stick on XFCE4? > > After enable "systemd" flag in make.conf USE= > the following packages were rebuild: > sys-apps/busybox > sys-apps/dbus > sys-auth/pambase > sys-auth/polkit > sys-fs/udisks > sys-power/upower > gnome-base/gvfs > > But now I have a BIG problem, I can not mount USB stick at all as user (only > as root). > Eject doesn't work either. I don't know the answer to your question, since I don't use Xfce, but inside xfce-base/*, but I only see thunar depending on udisks, and then only with the udev USE flag activated (which is automatic when using any of the desktop profiles, I believe). Without looking at the code of Xfce, I can only guess that Thunar handles the mounting of external devices. Let me ask you a few questions: 1. Before switching to systemd, how did you mounted the stick; it was automatic (it just appeared in Thunar), or you had to do something? 2. When you say that you can mount it only as root, you mean inside a Xfce session as root? 3. The following line is in /etc/pam.d/system-auth? -session optional pam_systemd.so 4. Using systemd is more than just emerging it; you need to change your init= line in grub-legacy or GRUB2 and reboot. The contents of /proc/1/comm is "systemd"? 5. If the contents of /proc/1/comm is "systemd", could you please show us the output from the following commands when inside your Xfce session (as your normal user): • systemctl --all --full • loginctl (annotate your-session [first column] and your-seat [last column]) • loginctl seat-status your-seat • loginctl session-status your-session • loginctl user-status your-user Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 17:46 ` Canek Peláez Valdés @ 2014-02-05 18:38 ` Joseph 2014-02-05 19:06 ` Canek Peláez Valdés 0 siblings, 1 reply; 34+ messages in thread From: Joseph @ 2014-02-05 18:38 UTC (permalink / raw To: gentoo-user On 02/05/14 11:46, Canek Peláez Valdés wrote: >On Wed, Feb 5, 2014 at 10:32 AM, Joseph <syscon780@gmail.com> wrote: >> Which program is responsible for mounting USB stick on XFCE4? >> >> After enable "systemd" flag in make.conf USE= >> the following packages were rebuild: >> sys-apps/busybox >> sys-apps/dbus >> sys-auth/pambase >> sys-auth/polkit >> sys-fs/udisks >> sys-power/upower >> gnome-base/gvfs >> >> But now I have a BIG problem, I can not mount USB stick at all as user (only >> as root). >> Eject doesn't work either. > >I don't know the answer to your question, since I don't use Xfce, but >inside xfce-base/*, but I only see thunar depending on udisks, and >then only with the udev USE flag activated (which is automatic when >using any of the desktop profiles, I believe). Without looking at the >code of Xfce, I can only guess that Thunar handles the mounting of >external devices. > >Let me ask you a few questions: > >1. Before switching to systemd, how did you mounted the stick; it was >automatic (it just appeared in Thunar), or you had to do something? When I insert the USB stick, an icon automatically appears on a desktop so I right click on it an "mount" it. But after doing these changes it keep telling me I'm "Not authorized to perform the operation" (mount it or eject the USB). > >2. When you say that you can mount it only as root, you mean inside a >Xfce session as root? To mount the USB I have to login as root, from command line. > >3. The following line is in /etc/pam.d/system-auth? > > -session optional pam_systemd.so Yes, I have this line in in /etc/pam.d/system-auth > >4. Using systemd is more than just emerging it; you need to change >your init= line in grub-legacy or GRUB2 and reboot. The contents of >/proc/1/comm is "systemd"? I only have this: cat /proc/1/comm init > >5. If the contents of /proc/1/comm is "systemd", could you please show >us the output from the following commands when inside your Xfce >session (as your normal user): > > • systemctl --all --full > • loginctl (annotate your-session [first column] and your-seat [last column]) > • loginctl seat-status your-seat > • loginctl session-status your-session > • loginctl user-status your-user > >Regards. >-- >Canek Peláez Valdés >Posgrado en Ciencia e Ingeniería de la Computación >Universidad Nacional Autónoma de México systemctl --all --full Failed to get D-Bus connection: No connection to service manager. loginctl Failed to issue method call: Launch helper exited with unknown return code 1 -- Joseph ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 18:38 ` Joseph @ 2014-02-05 19:06 ` Canek Peláez Valdés 2014-02-05 19:55 ` Joseph 0 siblings, 1 reply; 34+ messages in thread From: Canek Peláez Valdés @ 2014-02-05 19:06 UTC (permalink / raw To: gentoo-user On Wed, Feb 5, 2014 at 12:38 PM, Joseph <syscon780@gmail.com> wrote: [ humongous snip ] >> 4. Using systemd is more than just emerging it; you need to change >> your init= line in grub-legacy or GRUB2 and reboot. The contents of >> /proc/1/comm is "systemd"? > > I only have this: > cat /proc/1/comm > init [ snip ] > systemctl --all --full > Failed to get D-Bus connection: No connection to service manager. > > loginctl > Failed to issue method call: Launch helper exited with unknown return code 1 Joseph, you are not running systemd. You have systemd *installed*, but you are still *running* OpenRC. Therefore, your system is obviously going to fail, since at least some parts of it believe you are running systemd when you are not. If you use GRUB, you need to change its config file and add the following to your kernel command line: init=/usr/lib/systemd/systemd If you are using GRUB2, change /etc/default/grub and modify GRUB_CMDLINE_LINUX so it has "init=/usr/lib/systemd/systemd". Then run grub2-mkconfig again. Beware, systemd requires some kernel config options set or it will not work. For systemd 208, these are: AUTOFS4_FS BLK_DEV_BSG CGROUPS DEVTMPFS DMIID EPOLL FANOTIFY FHANDLE INOTIFY_USER IPV6 NET PROC_FS SECCOMP SIGNALFD SYSFS TIMERFD Also, the following kernel config options should *NOT* be set: IDE SYSFS_DEPRECATED SYSFS_DEPRECATED_V2 GRKERNSEC_PROC Lastly, if you have /usr in a different partition from /, you *need* an initramfs (this is now true also for OpenRC). Please check the instructions set in: https://wiki.gentoo.org/wiki/Systemd To finish, let me remark that systemd never had problems in your system. The problem was that you were not running systemd. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 19:06 ` Canek Peláez Valdés @ 2014-02-05 19:55 ` Joseph 2014-02-05 20:02 ` Canek Peláez Valdés 2014-02-05 21:38 ` gottlieb 0 siblings, 2 replies; 34+ messages in thread From: Joseph @ 2014-02-05 19:55 UTC (permalink / raw To: gentoo-user On 02/05/14 13:06, Canek Peláez Valdés wrote: >On Wed, Feb 5, 2014 at 12:38 PM, Joseph <syscon780@gmail.com> wrote: > >[ humongous snip ] > >>> 4. Using systemd is more than just emerging it; you need to change >>> your init= line in grub-legacy or GRUB2 and reboot. The contents of >>> /proc/1/comm is "systemd"? >> >> I only have this: >> cat /proc/1/comm >> init > >[ snip ] > >> systemctl --all --full >> Failed to get D-Bus connection: No connection to service manager. >> >> loginctl >> Failed to issue method call: Launch helper exited with unknown return code 1 > >Joseph, you are not running systemd. You have systemd *installed*, but >you are still *running* OpenRC. Therefore, your system is obviously >going to fail, since at least some parts of it believe you are running >systemd when you are not. > >If you use GRUB, you need to change its config file and add the >following to your kernel command line: > >init=/usr/lib/systemd/systemd > >If you are using GRUB2, change /etc/default/grub and modify >GRUB_CMDLINE_LINUX so it has "init=/usr/lib/systemd/systemd". Then run >grub2-mkconfig again. > >Beware, systemd requires some kernel config options set or it will not >work. For systemd 208, these are: > >AUTOFS4_FS >BLK_DEV_BSG >CGROUPS >DEVTMPFS >DMIID >EPOLL >FANOTIFY >FHANDLE >INOTIFY_USER >IPV6 >NET >PROC_FS >SECCOMP >SIGNALFD >SYSFS >TIMERFD > >Also, the following kernel config options should *NOT* be set: > >IDE >SYSFS_DEPRECATED >SYSFS_DEPRECATED_V2 >GRKERNSEC_PROC > >Lastly, if you have /usr in a different partition from /, you *need* >an initramfs (this is now true also for OpenRC). Please check the >instructions set in: > >https://wiki.gentoo.org/wiki/Systemd > >To finish, let me remark that systemd never had problems in your >system. The problem was that you were not running systemd. > >Regards. >-- >Canek Peláez Valdés >Posgrado en Ciencia e Ingeniería de la Computación >Universidad Nacional Autónoma de México Thank you for correction. You are correct I would need to switch to new systemd. I think for now I'll go back to udev as I'm afraid something might not work after switching :-/ -- Joseph ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 19:55 ` Joseph @ 2014-02-05 20:02 ` Canek Peláez Valdés 2014-02-05 20:26 ` Joseph 2014-02-05 20:44 ` Joseph 2014-02-05 21:38 ` gottlieb 1 sibling, 2 replies; 34+ messages in thread From: Canek Peláez Valdés @ 2014-02-05 20:02 UTC (permalink / raw To: gentoo-user On Wed, Feb 5, 2014 at 1:55 PM, Joseph <syscon780@gmail.com> wrote: > On 02/05/14 13:06, Canek Peláez Valdés wrote: >> >> On Wed, Feb 5, 2014 at 12:38 PM, Joseph <syscon780@gmail.com> wrote: >> >> [ humongous snip ] >> >>>> 4. Using systemd is more than just emerging it; you need to change >>>> your init= line in grub-legacy or GRUB2 and reboot. The contents of >>>> /proc/1/comm is "systemd"? >>> >>> >>> I only have this: >>> cat /proc/1/comm >>> init >> >> >> [ snip ] >> >>> systemctl --all --full >>> Failed to get D-Bus connection: No connection to service manager. >>> >>> loginctl >>> Failed to issue method call: Launch helper exited with unknown return >>> code 1 >> >> >> Joseph, you are not running systemd. You have systemd *installed*, but >> you are still *running* OpenRC. Therefore, your system is obviously >> going to fail, since at least some parts of it believe you are running >> systemd when you are not. >> >> If you use GRUB, you need to change its config file and add the >> following to your kernel command line: >> >> init=/usr/lib/systemd/systemd >> >> If you are using GRUB2, change /etc/default/grub and modify >> GRUB_CMDLINE_LINUX so it has "init=/usr/lib/systemd/systemd". Then run >> grub2-mkconfig again. >> >> Beware, systemd requires some kernel config options set or it will not >> work. For systemd 208, these are: >> >> AUTOFS4_FS >> BLK_DEV_BSG >> CGROUPS >> DEVTMPFS >> DMIID >> EPOLL >> FANOTIFY >> FHANDLE >> INOTIFY_USER >> IPV6 >> NET >> PROC_FS >> SECCOMP >> SIGNALFD >> SYSFS >> TIMERFD >> >> Also, the following kernel config options should *NOT* be set: >> >> IDE >> SYSFS_DEPRECATED >> SYSFS_DEPRECATED_V2 >> GRKERNSEC_PROC >> >> Lastly, if you have /usr in a different partition from /, you *need* >> an initramfs (this is now true also for OpenRC). Please check the >> instructions set in: >> >> https://wiki.gentoo.org/wiki/Systemd >> >> To finish, let me remark that systemd never had problems in your >> system. The problem was that you were not running systemd. >> >> Regards. >> -- >> Canek Peláez Valdés >> Posgrado en Ciencia e Ingeniería de la Computación >> Universidad Nacional Autónoma de México > > > Thank you for correction. You are correct I would need to switch to new > systemd. > I think for now I'll go back to udev as I'm afraid something might not work > after switching :-/ Why don't you give it a try? You are almost there. When booting, edit the grub entry and add init=/usr/lib/systemd/systemd. If it works, great; otherwise, you reboot and get back to where you were. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 20:02 ` Canek Peláez Valdés @ 2014-02-05 20:26 ` Joseph 2014-02-05 20:44 ` Joseph 1 sibling, 0 replies; 34+ messages in thread From: Joseph @ 2014-02-05 20:26 UTC (permalink / raw To: gentoo-user On 02/05/14 14:02, Canek Peláez Valdés wrote: >On Wed, Feb 5, 2014 at 1:55 PM, Joseph <syscon780@gmail.com> wrote: >> On 02/05/14 13:06, Canek Peláez Valdés wrote: >>> >>> On Wed, Feb 5, 2014 at 12:38 PM, Joseph <syscon780@gmail.com> wrote: >>> >>> [ humongous snip ] >>> >>>>> 4. Using systemd is more than just emerging it; you need to change >>>>> your init= line in grub-legacy or GRUB2 and reboot. The contents of >>>>> /proc/1/comm is "systemd"? >>>> >>>> >>>> I only have this: >>>> cat /proc/1/comm >>>> init >>> >>> >>> [ snip ] >>> >>>> systemctl --all --full >>>> Failed to get D-Bus connection: No connection to service manager. >>>> >>>> loginctl >>>> Failed to issue method call: Launch helper exited with unknown return >>>> code 1 >>> >>> >>> Joseph, you are not running systemd. You have systemd *installed*, but >>> you are still *running* OpenRC. Therefore, your system is obviously >>> going to fail, since at least some parts of it believe you are running >>> systemd when you are not. >>> >>> If you use GRUB, you need to change its config file and add the >>> following to your kernel command line: >>> >>> init=/usr/lib/systemd/systemd >>> >>> If you are using GRUB2, change /etc/default/grub and modify >>> GRUB_CMDLINE_LINUX so it has "init=/usr/lib/systemd/systemd". Then run >>> grub2-mkconfig again. >>> >>> Beware, systemd requires some kernel config options set or it will not >>> work. For systemd 208, these are: >>> >>> AUTOFS4_FS >>> BLK_DEV_BSG >>> CGROUPS >>> DEVTMPFS >>> DMIID >>> EPOLL >>> FANOTIFY >>> FHANDLE >>> INOTIFY_USER >>> IPV6 >>> NET >>> PROC_FS >>> SECCOMP >>> SIGNALFD >>> SYSFS >>> TIMERFD >>> >>> Also, the following kernel config options should *NOT* be set: >>> >>> IDE >>> SYSFS_DEPRECATED >>> SYSFS_DEPRECATED_V2 >>> GRKERNSEC_PROC >>> >>> Lastly, if you have /usr in a different partition from /, you *need* >>> an initramfs (this is now true also for OpenRC). Please check the >>> instructions set in: >>> >>> https://wiki.gentoo.org/wiki/Systemd >>> >>> To finish, let me remark that systemd never had problems in your >>> system. The problem was that you were not running systemd. >>> >>> Regards. >>> -- >>> Canek Peláez Valdés >>> Posgrado en Ciencia e Ingeniería de la Computación >>> Universidad Nacional Autónoma de México >> >> >> Thank you for correction. You are correct I would need to switch to new >> systemd. >> I think for now I'll go back to udev as I'm afraid something might not work >> after switching :-/ > >Why don't you give it a try? You are almost there. > >When booting, edit the grub entry and add >init=/usr/lib/systemd/systemd. If it works, great; otherwise, you >reboot and get back to where you were. > >Regards. >-- >Canek Peláez Valdés >Posgrado en Ciencia e Ingeniería de la Computación >Universidad Nacional Autónoma de México I'll give it a try as going back to udev is not easy either :-/ -- Joseph ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 20:02 ` Canek Peláez Valdés 2014-02-05 20:26 ` Joseph @ 2014-02-05 20:44 ` Joseph 2014-02-05 21:01 ` Canek Peláez Valdés 1 sibling, 1 reply; 34+ messages in thread From: Joseph @ 2014-02-05 20:44 UTC (permalink / raw To: gentoo-user On 02/05/14 14:02, Canek Peláez Valdés wrote: >On Wed, Feb 5, 2014 at 1:55 PM, Joseph <syscon780@gmail.com> wrote: >> On 02/05/14 13:06, Canek Peláez Valdés wrote: >>> >>> On Wed, Feb 5, 2014 at 12:38 PM, Joseph <syscon780@gmail.com> wrote: >>> >>> [ humongous snip ] >>> >>>>> 4. Using systemd is more than just emerging it; you need to change >>>>> your init= line in grub-legacy or GRUB2 and reboot. The contents of >>>>> /proc/1/comm is "systemd"? >>>> >>>> >>>> I only have this: >>>> cat /proc/1/comm >>>> init >>> >>> >>> [ snip ] >>> >>>> systemctl --all --full >>>> Failed to get D-Bus connection: No connection to service manager. >>>> >>>> loginctl >>>> Failed to issue method call: Launch helper exited with unknown return >>>> code 1 >>> >>> >>> Joseph, you are not running systemd. You have systemd *installed*, but >>> you are still *running* OpenRC. Therefore, your system is obviously >>> going to fail, since at least some parts of it believe you are running >>> systemd when you are not. >>> >>> If you use GRUB, you need to change its config file and add the >>> following to your kernel command line: >>> >>> init=/usr/lib/systemd/systemd >>> >>> If you are using GRUB2, change /etc/default/grub and modify >>> GRUB_CMDLINE_LINUX so it has "init=/usr/lib/systemd/systemd". Then run >>> grub2-mkconfig again. >>> >>> Beware, systemd requires some kernel config options set or it will not >>> work. For systemd 208, these are: >>> >>> AUTOFS4_FS >>> BLK_DEV_BSG >>> CGROUPS >>> DEVTMPFS >>> DMIID >>> EPOLL >>> FANOTIFY >>> FHANDLE >>> INOTIFY_USER >>> IPV6 >>> NET >>> PROC_FS >>> SECCOMP >>> SIGNALFD >>> SYSFS >>> TIMERFD >>> >>> Also, the following kernel config options should *NOT* be set: >>> >>> IDE >>> SYSFS_DEPRECATED >>> SYSFS_DEPRECATED_V2 >>> GRKERNSEC_PROC >>> >>> Lastly, if you have /usr in a different partition from /, you *need* >>> an initramfs (this is now true also for OpenRC). Please check the >>> instructions set in: >>> >>> https://wiki.gentoo.org/wiki/Systemd >>> >>> To finish, let me remark that systemd never had problems in your >>> system. The problem was that you were not running systemd. >>> >>> Regards. >>> -- >>> Canek Peláez Valdés >>> Posgrado en Ciencia e Ingeniería de la Computación >>> Universidad Nacional Autónoma de México >> >> >> Thank you for correction. You are correct I would need to switch to new >> systemd. >> I think for now I'll go back to udev as I'm afraid something might not work >> after switching :-/ > >Why don't you give it a try? You are almost there. > >When booting, edit the grub entry and add >init=/usr/lib/systemd/systemd. If it works, great; otherwise, you >reboot and get back to where you were. > >Regards. >-- >Canek Peláez Valdés >Posgrado en Ciencia e Ingeniería de la Computación >Universidad Nacional Autónoma de México I've tried to switch my backup system to systemd by adding line init=/usr/lib/systemd/systemd to grub donfig and as I suspected the system did not boot. I got a kernel paanic. can not open root device "hda3" or unknown block (0,0): error -6 -- Joseph ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 20:44 ` Joseph @ 2014-02-05 21:01 ` Canek Peláez Valdés 2014-02-05 21:31 ` Joseph 0 siblings, 1 reply; 34+ messages in thread From: Canek Peláez Valdés @ 2014-02-05 21:01 UTC (permalink / raw To: gentoo-user On Wed, Feb 5, 2014 at 2:44 PM, Joseph <syscon780@gmail.com> wrote: > On 02/05/14 14:02, Canek Peláez Valdés wrote: >> >> On Wed, Feb 5, 2014 at 1:55 PM, Joseph <syscon780@gmail.com> wrote: >>> >>> On 02/05/14 13:06, Canek Peláez Valdés wrote: >>>> >>>> >>>> On Wed, Feb 5, 2014 at 12:38 PM, Joseph <syscon780@gmail.com> wrote: >>>> >>>> [ humongous snip ] >>>> >>>>>> 4. Using systemd is more than just emerging it; you need to change >>>>>> your init= line in grub-legacy or GRUB2 and reboot. The contents of >>>>>> /proc/1/comm is "systemd"? >>>>> >>>>> >>>>> >>>>> I only have this: >>>>> cat /proc/1/comm >>>>> init >>>> >>>> >>>> >>>> [ snip ] >>>> >>>>> systemctl --all --full >>>>> Failed to get D-Bus connection: No connection to service manager. >>>>> >>>>> loginctl >>>>> Failed to issue method call: Launch helper exited with unknown return >>>>> code 1 >>>> >>>> >>>> >>>> Joseph, you are not running systemd. You have systemd *installed*, but >>>> you are still *running* OpenRC. Therefore, your system is obviously >>>> going to fail, since at least some parts of it believe you are running >>>> systemd when you are not. >>>> >>>> If you use GRUB, you need to change its config file and add the >>>> following to your kernel command line: >>>> >>>> init=/usr/lib/systemd/systemd >>>> >>>> If you are using GRUB2, change /etc/default/grub and modify >>>> GRUB_CMDLINE_LINUX so it has "init=/usr/lib/systemd/systemd". Then run >>>> grub2-mkconfig again. >>>> >>>> Beware, systemd requires some kernel config options set or it will not >>>> work. For systemd 208, these are: >>>> >>>> AUTOFS4_FS >>>> BLK_DEV_BSG >>>> CGROUPS >>>> DEVTMPFS >>>> DMIID >>>> EPOLL >>>> FANOTIFY >>>> FHANDLE >>>> INOTIFY_USER >>>> IPV6 >>>> NET >>>> PROC_FS >>>> SECCOMP >>>> SIGNALFD >>>> SYSFS >>>> TIMERFD >>>> >>>> Also, the following kernel config options should *NOT* be set: >>>> >>>> IDE >>>> SYSFS_DEPRECATED >>>> SYSFS_DEPRECATED_V2 >>>> GRKERNSEC_PROC >>>> >>>> Lastly, if you have /usr in a different partition from /, you *need* >>>> an initramfs (this is now true also for OpenRC). Please check the >>>> instructions set in: >>>> >>>> https://wiki.gentoo.org/wiki/Systemd >>>> >>>> To finish, let me remark that systemd never had problems in your >>>> system. The problem was that you were not running systemd. >>>> >>>> Regards. >>>> -- >>>> Canek Peláez Valdés >>>> Posgrado en Ciencia e Ingeniería de la Computación >>>> Universidad Nacional Autónoma de México >>> >>> >>> >>> Thank you for correction. You are correct I would need to switch to new >>> systemd. >>> I think for now I'll go back to udev as I'm afraid something might not >>> work >>> after switching :-/ >> >> >> Why don't you give it a try? You are almost there. >> >> When booting, edit the grub entry and add >> init=/usr/lib/systemd/systemd. If it works, great; otherwise, you >> reboot and get back to where you were. >> >> Regards. >> -- >> Canek Peláez Valdés >> Posgrado en Ciencia e Ingeniería de la Computación >> Universidad Nacional Autónoma de México > > > I've tried to switch my backup system to systemd by adding line > init=/usr/lib/systemd/systemd to grub donfig and as I suspected the system > did not boot. I got a kernel paanic. > can not open root device "hda3" or unknown block (0,0): error -6 It probably could be fixed, but it will take time and info about your system (partition arrangement, if you use or not an initramfs, how do you created it, etc.) Perhaps you would prefer to get back to OpenRC+udev. Just be aware that, if you had installed systemd, it was because something requires it. If you don't use systemd, you will have degraded functionality, since more and more things require systemd or parts of it (specifically logind). This not only applies to GNOME 3, but also to Xfce (which uses a lot of GNOME/Gtk+/glib infrastructure). KDE is also analyzing how to better use systemd provided technologies. You can try to set USE="-systemd consolekit" and do a emerge -uDNv world. That will bring back much (but not all) of the functionality; just be aware that ConsoleKit is unmaintained and it will eventually bitrot. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 21:01 ` Canek Peláez Valdés @ 2014-02-05 21:31 ` Joseph 2014-02-06 0:06 ` Neil Bothwick 0 siblings, 1 reply; 34+ messages in thread From: Joseph @ 2014-02-05 21:31 UTC (permalink / raw To: gentoo-user On 02/05/14 15:01, Canek Peláez Valdés wrote: [snip] >>>>> >>>>> If you are using GRUB2, change /etc/default/grub and modify >>>>> GRUB_CMDLINE_LINUX so it has "init=/usr/lib/systemd/systemd". Then run >>>>> grub2-mkconfig again. >>>>> >>>>> Beware, systemd requires some kernel config options set or it will not >>>>> work. For systemd 208, these are: >>>>> >>>>> AUTOFS4_FS >>>>> BLK_DEV_BSG >>>>> CGROUPS >>>>> DEVTMPFS >>>>> DMIID >>>>> EPOLL >>>>> FANOTIFY >>>>> FHANDLE >>>>> INOTIFY_USER >>>>> IPV6 >>>>> NET >>>>> PROC_FS >>>>> SECCOMP >>>>> SIGNALFD >>>>> SYSFS >>>>> TIMERFD >>>>> >>>>> Also, the following kernel config options should *NOT* be set: >>>>> >>>>> IDE >>>>> SYSFS_DEPRECATED >>>>> SYSFS_DEPRECATED_V2 >>>>> GRKERNSEC_PROC >>>>> >>>>> Lastly, if you have /usr in a different partition from /, you *need* >>>>> an initramfs (this is now true also for OpenRC). Please check the >>>>> instructions set in: >>>>> >>>>> https://wiki.gentoo.org/wiki/Systemd >>>>> >>>>> To finish, let me remark that systemd never had problems in your >>>>> system. The problem was that you were not running systemd. >>>>> >>>>> Regards. >>>>> -- >>>>> Canek Peláez Valdés >>>>> Posgrado en Ciencia e Ingeniería de la Computación >>>>> Universidad Nacional Autónoma de México >>>> >>>> >>>> >>>> Thank you for correction. You are correct I would need to switch to new >>>> systemd. >>>> I think for now I'll go back to udev as I'm afraid something might not >>>> work >>>> after switching :-/ >>> >>> >>> Why don't you give it a try? You are almost there. >>> >>> When booting, edit the grub entry and add >>> init=/usr/lib/systemd/systemd. If it works, great; otherwise, you >>> reboot and get back to where you were. >>> >>> Regards. >>> -- >>> Canek Peláez Valdés >>> Posgrado en Ciencia e Ingeniería de la Computación >>> Universidad Nacional Autónoma de México >> >> >> I've tried to switch my backup system to systemd by adding line >> init=/usr/lib/systemd/systemd to grub donfig and as I suspected the system >> did not boot. I got a kernel paanic. >> can not open root device "hda3" or unknown block (0,0): error -6 > >It probably could be fixed, but it will take time and info about your >system (partition arrangement, if you use or not an initramfs, how do >you created it, etc.) > >Perhaps you would prefer to get back to OpenRC+udev. Just be aware >that, if you had installed systemd, it was because something requires >it. If you don't use systemd, you will have degraded functionality, >since more and more things require systemd or parts of it >(specifically logind). This not only applies to GNOME 3, but also to >Xfce (which uses a lot of GNOME/Gtk+/glib infrastructure). KDE is also >analyzing how to better use systemd provided technologies. > >You can try to set USE="-systemd consolekit" and do a emerge -uDNv >world. That will bring back much (but not all) of the functionality; >just be aware that ConsoleKit is unmaintained and it will eventually >bitrot. > >Regards. >-- >Canek Peláez Valdés >Posgrado en Ciencia e Ingeniería de la Computación >Universidad Nacional Autónoma de México I have to create new boot strap CD (as the one I have have old kernel) and get to they system first to change grub.conf. Will get back to you. -- Joseph ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 21:31 ` Joseph @ 2014-02-06 0:06 ` Neil Bothwick 2014-02-06 0:32 ` Joseph 0 siblings, 1 reply; 34+ messages in thread From: Neil Bothwick @ 2014-02-06 0:06 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 389 bytes --] On Wed, 5 Feb 2014 14:31:58 -0700, Joseph wrote: > I have to create new boot strap CD (as the one I have have old kernel) > and get to they system first to change grub.conf. You don't need to change grub.conf to reboot with different options, just press e and edit the options in place. -- Neil Bothwick An expert is nothing more than an ordinary person away from home. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-06 0:06 ` Neil Bothwick @ 2014-02-06 0:32 ` Joseph 2014-02-06 0:50 ` Joseph ` (2 more replies) 0 siblings, 3 replies; 34+ messages in thread From: Joseph @ 2014-02-06 0:32 UTC (permalink / raw To: gentoo-user On 02/06/14 00:06, Neil Bothwick wrote: >On Wed, 5 Feb 2014 14:31:58 -0700, Joseph wrote: > >> I have to create new boot strap CD (as the one I have have old kernel) >> and get to they system first to change grub.conf. > >You don't need to change grub.conf to reboot with different options, just >press e and edit the options in place. > > >-- >Neil Bothwick > >An expert is nothing more than an ordinary person away from home. When I try to boot I'm getting an error: VFS: Can not open device "hda3" or unknown block (0,0): error -6 Please append correct "root=" boot option: here the available options: Kerel panic - not syncing: VFS: Unable to mount root fs on unknown-block(O,0) -- Joseph ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-06 0:32 ` Joseph @ 2014-02-06 0:50 ` Joseph 2014-02-06 1:00 ` [gentoo-user] " walt 2014-02-06 9:09 ` [gentoo-user] " Neil Bothwick 2 siblings, 0 replies; 34+ messages in thread From: Joseph @ 2014-02-06 0:50 UTC (permalink / raw To: gentoo-user On 02/05/14 17:32, Joseph wrote: >On 02/06/14 00:06, Neil Bothwick wrote: >>On Wed, 5 Feb 2014 14:31:58 -0700, Joseph wrote: >> >>> I have to create new boot strap CD (as the one I have have old kernel) >>> and get to they system first to change grub.conf. >> >>You don't need to change grub.conf to reboot with different options, just >>press e and edit the options in place. >> >> >>-- >>Neil Bothwick >> >>An expert is nothing more than an ordinary person away from home. > >When I try to boot I'm getting an error: > >VFS: Can not open device "hda3" or unknown block (0,0): error -6 >Please append correct "root=" boot option: here the available options: >Kerel panic - not syncing: VFS: Unable to mount root fs on unknown-block(O,0) Im my kernel-3.10.17 under File System I have enabled: - Second extended fs support - Ext3 journalling file system support - Ext3 extended attributes So I don't understand the error message. What else should I check in the kernel? -- Joseph ^ permalink raw reply [flat|nested] 34+ messages in thread
* [gentoo-user] Re: can not mount USB stick as user 2014-02-06 0:32 ` Joseph 2014-02-06 0:50 ` Joseph @ 2014-02-06 1:00 ` walt 2014-02-06 1:19 ` Joseph 2014-02-06 9:09 ` [gentoo-user] " Neil Bothwick 2 siblings, 1 reply; 34+ messages in thread From: walt @ 2014-02-06 1:00 UTC (permalink / raw To: gentoo-user On 02/05/2014 04:32 PM, Joseph wrote: > Kerel panic - not syncing: VFS: Unable to mount root fs on unknown-block(O,0) Could that be the letter O instead of the digit 0? ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] Re: can not mount USB stick as user 2014-02-06 1:00 ` [gentoo-user] " walt @ 2014-02-06 1:19 ` Joseph 2014-02-06 2:30 ` Canek Peláez Valdés 0 siblings, 1 reply; 34+ messages in thread From: Joseph @ 2014-02-06 1:19 UTC (permalink / raw To: gentoo-user On 02/05/14 17:00, walt wrote: >On 02/05/2014 04:32 PM, Joseph wrote: >> Kerel panic - not syncing: VFS: Unable to mount root fs on unknown-block(O,0) > >Could that be the letter O instead of the digit 0? No, it is "0" I double checked. Could it be that the hard drive is going? -- Joseph ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] Re: can not mount USB stick as user 2014-02-06 1:19 ` Joseph @ 2014-02-06 2:30 ` Canek Peláez Valdés 2014-02-06 3:02 ` Joseph 0 siblings, 1 reply; 34+ messages in thread From: Canek Peláez Valdés @ 2014-02-06 2:30 UTC (permalink / raw To: gentoo-user On Wed, Feb 5, 2014 at 7:19 PM, Joseph <syscon780@gmail.com> wrote: > On 02/05/14 17:00, walt wrote: >> >> On 02/05/2014 04:32 PM, Joseph wrote: >>> >>> Kerel panic - not syncing: VFS: Unable to mount root fs on >>> unknown-block(O,0) >> >> >> Could that be the letter O instead of the digit 0? > > > No, it is "0" I double checked. > Could it be that the hard drive is going? I don't think so. Could you show us your GRUB configuration? Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] Re: can not mount USB stick as user 2014-02-06 2:30 ` Canek Peláez Valdés @ 2014-02-06 3:02 ` Joseph 2014-02-06 6:19 ` Peter Humphrey 0 siblings, 1 reply; 34+ messages in thread From: Joseph @ 2014-02-06 3:02 UTC (permalink / raw To: gentoo-user On 02/05/14 20:30, Canek Peláez Valdés wrote: >On Wed, Feb 5, 2014 at 7:19 PM, Joseph <syscon780@gmail.com> wrote: >> On 02/05/14 17:00, walt wrote: >>> >>> On 02/05/2014 04:32 PM, Joseph wrote: >>>> >>>> Kerel panic - not syncing: VFS: Unable to mount root fs on >>>> unknown-block(O,0) >>> >>> >>> Could that be the letter O instead of the digit 0? >> >> >> No, it is "0" I double checked. >> Could it be that the hard drive is going? > >I don't think so. Could you show us your GRUB configuration? > >Regards. >-- >Canek Peláez Valdés >Posgrado en Ciencia e Ingeniería de la Computación >Universidad Nacional Autónoma de México Here it is: grub.conf default 0 timeout 30 title Gentoo Current Kernel root (hd0,0) kernel /boot/kernel-current root=/dev/hda3 -- Joseph ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] Re: can not mount USB stick as user 2014-02-06 3:02 ` Joseph @ 2014-02-06 6:19 ` Peter Humphrey 2014-02-06 12:30 ` Alan McKinnon 0 siblings, 1 reply; 34+ messages in thread From: Peter Humphrey @ 2014-02-06 6:19 UTC (permalink / raw To: gentoo-user On Wednesday 05 Feb 2014 20:02:00 Joseph wrote: > On 02/05/14 20:30, Canek Peláez Valdés wrote: > >On Wed, Feb 5, 2014 at 7:19 PM, Joseph <syscon780@gmail.com> wrote: > >> On 02/05/14 17:00, walt wrote: > >>> On 02/05/2014 04:32 PM, Joseph wrote: > >>>> Kerel panic - not syncing: VFS: Unable to mount root fs on > >>>> unknown-block(O,0) > >>> > >>> Could that be the letter O instead of the digit 0? > >> > >> No, it is "0" I double checked. > >> Could it be that the hard drive is going? > > > >I don't think so. Could you show us your GRUB configuration? > > > >Regards. > > Here it is: grub.conf > > default 0 > timeout 30 > > title Gentoo Current Kernel > root (hd0,0) > kernel /boot/kernel-current root=/dev/hda3 Shouldn't that hda3 in the kernel line be sda3? -- Regards Peter ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] Re: can not mount USB stick as user 2014-02-06 6:19 ` Peter Humphrey @ 2014-02-06 12:30 ` Alan McKinnon 2014-02-06 15:09 ` Peter Humphrey 0 siblings, 1 reply; 34+ messages in thread From: Alan McKinnon @ 2014-02-06 12:30 UTC (permalink / raw To: gentoo-user On 06/02/2014 08:19, Peter Humphrey wrote: > On Wednesday 05 Feb 2014 20:02:00 Joseph wrote: >> On 02/05/14 20:30, Canek Peláez Valdés wrote: >>> On Wed, Feb 5, 2014 at 7:19 PM, Joseph <syscon780@gmail.com> wrote: >>>> On 02/05/14 17:00, walt wrote: >>>>> On 02/05/2014 04:32 PM, Joseph wrote: >>>>>> Kerel panic - not syncing: VFS: Unable to mount root fs on >>>>>> unknown-block(O,0) >>>>> >>>>> Could that be the letter O instead of the digit 0? >>>> >>>> No, it is "0" I double checked. >>>> Could it be that the hard drive is going? >>> >>> I don't think so. Could you show us your GRUB configuration? >>> >>> Regards. >> >> Here it is: grub.conf >> >> default 0 >> timeout 30 >> >> title Gentoo Current Kernel >> root (hd0,0) >> kernel /boot/kernel-current root=/dev/hda3 > > Shouldn't that hda3 in the kernel line be sda3? > No, he said earlier in the thread that this is an ancient box using the old deprecated IDE subsystem. His fstab refers to drives as hd? -- Alan McKinnon alan.mckinnon@gmail.com ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] Re: can not mount USB stick as user 2014-02-06 12:30 ` Alan McKinnon @ 2014-02-06 15:09 ` Peter Humphrey 2014-02-06 15:38 ` J. Roeleveld 2014-02-06 19:19 ` Alan McKinnon 0 siblings, 2 replies; 34+ messages in thread From: Peter Humphrey @ 2014-02-06 15:09 UTC (permalink / raw To: gentoo-user On Thursday 06 Feb 2014 14:30:24 Alan McKinnon wrote: > On 06/02/2014 08:19, Peter Humphrey wrote: > > On Wednesday 05 Feb 2014 20:02:00 Joseph wrote: --->8 > >> Here it is: grub.conf > >> > >> default 0 > >> timeout 30 > >> > >> title Gentoo Current Kernel > >> root (hd0,0) > >> kernel /boot/kernel-current root=/dev/hda3 > > > > Shouldn't that hda3 in the kernel line be sda3? > > No, he said earlier in the thread that this is an ancient box using the > old deprecated IDE subsystem. > > His fstab refers to drives as hd? Yes, I saw that after I hit Send. (So what else is new?) Seems to me that too many things need updating before Joseph can switch to the latest thing in init systems. Maybe he should go back to his last working system (from backup?), go through his kernel config piecemeal, setting sensible options, and generally bring the box up to date. Then he can start experimenting with the latest ideas. (Sorry Joseph, I don't mean to talk about you as though you weren't here!) I forget: how many years is it since the ancient /dev/hd? scheme was superseded and deprecated? -- Regards Peter ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] Re: can not mount USB stick as user 2014-02-06 15:09 ` Peter Humphrey @ 2014-02-06 15:38 ` J. Roeleveld 2014-02-06 19:19 ` Alan McKinnon 1 sibling, 0 replies; 34+ messages in thread From: J. Roeleveld @ 2014-02-06 15:38 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1543 bytes --] On 6 February 2014 16:09:32 CET, Peter Humphrey <peter@prh.myzen.co.uk> wrote: >On Thursday 06 Feb 2014 14:30:24 Alan McKinnon wrote: >> On 06/02/2014 08:19, Peter Humphrey wrote: >> > On Wednesday 05 Feb 2014 20:02:00 Joseph wrote: >--->8 >> >> Here it is: grub.conf >> >> >> >> default 0 >> >> timeout 30 >> >> >> >> title Gentoo Current Kernel >> >> root (hd0,0) >> >> kernel /boot/kernel-current root=/dev/hda3 >> > >> > Shouldn't that hda3 in the kernel line be sda3? >> >> No, he said earlier in the thread that this is an ancient box using >the >> old deprecated IDE subsystem. >> >> His fstab refers to drives as hd? > >Yes, I saw that after I hit Send. (So what else is new?) > >Seems to me that too many things need updating before Joseph can switch >to the >latest thing in init systems. > >Maybe he should go back to his last working system (from backup?), go >through >his kernel config piecemeal, setting sensible options, and generally >bring the >box up to date. Then he can start experimenting with the latest ideas. >(Sorry >Joseph, I don't mean to talk about you as though you weren't here!) > >I forget: how many years is it since the ancient /dev/hd? scheme was >superseded and deprecated? > >-- >Regards >Peter Not sure. I switched my last machine over to the sd-scheme 2 holidays (sometime in 2012) ago. (It's a netbook I only use during holidays as a picture store and viewer) -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity. [-- Attachment #2: Type: text/html, Size: 2497 bytes --] ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] Re: can not mount USB stick as user 2014-02-06 15:09 ` Peter Humphrey 2014-02-06 15:38 ` J. Roeleveld @ 2014-02-06 19:19 ` Alan McKinnon 2014-02-06 19:36 ` Joseph 2014-02-07 15:29 ` Randy Barlow 1 sibling, 2 replies; 34+ messages in thread From: Alan McKinnon @ 2014-02-06 19:19 UTC (permalink / raw To: gentoo-user On 06/02/2014 17:09, Peter Humphrey wrote: > On Thursday 06 Feb 2014 14:30:24 Alan McKinnon wrote: >> On 06/02/2014 08:19, Peter Humphrey wrote: >>> On Wednesday 05 Feb 2014 20:02:00 Joseph wrote: > --->8 >>>> Here it is: grub.conf >>>> >>>> default 0 >>>> timeout 30 >>>> >>>> title Gentoo Current Kernel >>>> root (hd0,0) >>>> kernel /boot/kernel-current root=/dev/hda3 >>> >>> Shouldn't that hda3 in the kernel line be sda3? >> >> No, he said earlier in the thread that this is an ancient box using the >> old deprecated IDE subsystem. >> >> His fstab refers to drives as hd? > > Yes, I saw that after I hit Send. (So what else is new?) > > Seems to me that too many things need updating before Joseph can switch to the > latest thing in init systems. > > Maybe he should go back to his last working system (from backup?), go through > his kernel config piecemeal, setting sensible options, and generally bring the > box up to date. Then he can start experimenting with the latest ideas. (Sorry > Joseph, I don't mean to talk about you as though you weren't here!) > > I forget: how many years is it since the ancient /dev/hd? scheme was > superseded and deprecated? Dim memory tells me it's somewhere around 2006/7? I agree with your suggested approach. Joseph should first get world fully updated and synced, then switch the kernel disk system over to the new framework, verify all that as working nicely, and only then activate systemd. Like Canek said, systemd doesn't magically get installed and them just work. It runs at too low a level for that to happen in all cases. -- Alan McKinnon alan.mckinnon@gmail.com ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] Re: can not mount USB stick as user 2014-02-06 19:19 ` Alan McKinnon @ 2014-02-06 19:36 ` Joseph 2014-02-06 20:34 ` Canek Peláez Valdés 2014-02-07 15:29 ` Randy Barlow 1 sibling, 1 reply; 34+ messages in thread From: Joseph @ 2014-02-06 19:36 UTC (permalink / raw To: gentoo-user On 02/06/14 21:19, Alan McKinnon wrote: >On 06/02/2014 17:09, Peter Humphrey wrote: >> On Thursday 06 Feb 2014 14:30:24 Alan McKinnon wrote: >>> On 06/02/2014 08:19, Peter Humphrey wrote: >>>> On Wednesday 05 Feb 2014 20:02:00 Joseph wrote: >> --->8 >>>>> Here it is: grub.conf >>>>> >>>>> default 0 >>>>> timeout 30 >>>>> >>>>> title Gentoo Current Kernel >>>>> root (hd0,0) >>>>> kernel /boot/kernel-current root=/dev/hda3 >>>> >>>> Shouldn't that hda3 in the kernel line be sda3? >>> >>> No, he said earlier in the thread that this is an ancient box using the >>> old deprecated IDE subsystem. >>> >>> His fstab refers to drives as hd? >> >> Yes, I saw that after I hit Send. (So what else is new?) >> >> Seems to me that too many things need updating before Joseph can switch to the >> latest thing in init systems. >> >> Maybe he should go back to his last working system (from backup?), go through >> his kernel config piecemeal, setting sensible options, and generally bring the >> box up to date. Then he can start experimenting with the latest ideas. (Sorry >> Joseph, I don't mean to talk about you as though you weren't here!) >> >> I forget: how many years is it since the ancient /dev/hd? scheme was >> superseded and deprecated? > > >Dim memory tells me it's somewhere around 2006/7? > >I agree with your suggested approach. Joseph should first get world >fully updated and synced, then switch the kernel disk system over to the >new framework, verify all that as working nicely, and only then activate >systemd. Like Canek said, systemd doesn't magically get installed and >them just work. It runs at too low a level for that to happen in all cases. > >-- >Alan McKinnon >alan.mckinnon@gmail.com I'm running on this box linux-3.10.17-gentoo so it is fairly new. I updated my world 1-month ago. I usually update every three months. First backup system, if there are no major issues after a week or so I upgrade few other system and if everything goes smooth I upgrade the main system with the same three. Is is possible to have packages without "systemd" flag. I was just rebuilding gnome-base/gnome-settings-daemon and it wants to pull-in: sys-apps/systemd-208-r2 and this conflicts with udev. I'm not switching to systemd anytime soon, got burned recently and have no time to learn new configuration settings. -- Joseph ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] Re: can not mount USB stick as user 2014-02-06 19:36 ` Joseph @ 2014-02-06 20:34 ` Canek Peláez Valdés 0 siblings, 0 replies; 34+ messages in thread From: Canek Peláez Valdés @ 2014-02-06 20:34 UTC (permalink / raw To: gentoo-user On Thu, Feb 6, 2014 at 1:36 PM, Joseph <syscon780@gmail.com> wrote: > On 02/06/14 21:19, Alan McKinnon wrote: >> >> On 06/02/2014 17:09, Peter Humphrey wrote: >>> >>> On Thursday 06 Feb 2014 14:30:24 Alan McKinnon wrote: >>>> >>>> On 06/02/2014 08:19, Peter Humphrey wrote: >>>>> >>>>> On Wednesday 05 Feb 2014 20:02:00 Joseph wrote: >>> >>> --->8 >>>>>> >>>>>> Here it is: grub.conf >>>>>> >>>>>> default 0 >>>>>> timeout 30 >>>>>> >>>>>> title Gentoo Current Kernel >>>>>> root (hd0,0) >>>>>> kernel /boot/kernel-current root=/dev/hda3 >>>>> >>>>> >>>>> Shouldn't that hda3 in the kernel line be sda3? >>>> >>>> >>>> No, he said earlier in the thread that this is an ancient box using the >>>> old deprecated IDE subsystem. >>>> >>>> His fstab refers to drives as hd? >>> >>> >>> Yes, I saw that after I hit Send. (So what else is new?) >>> >>> Seems to me that too many things need updating before Joseph can switch >>> to the >>> latest thing in init systems. >>> >>> Maybe he should go back to his last working system (from backup?), go >>> through >>> his kernel config piecemeal, setting sensible options, and generally >>> bring the >>> box up to date. Then he can start experimenting with the latest ideas. >>> (Sorry >>> Joseph, I don't mean to talk about you as though you weren't here!) >>> >>> I forget: how many years is it since the ancient /dev/hd? scheme was >>> superseded and deprecated? >> >> >> >> Dim memory tells me it's somewhere around 2006/7? >> >> I agree with your suggested approach. Joseph should first get world >> fully updated and synced, then switch the kernel disk system over to the >> new framework, verify all that as working nicely, and only then activate >> systemd. Like Canek said, systemd doesn't magically get installed and >> them just work. It runs at too low a level for that to happen in all >> cases. >> >> -- >> Alan McKinnon >> alan.mckinnon@gmail.com > > > I'm running on this box linux-3.10.17-gentoo so it is fairly new. I updated > my world 1-month ago. > I usually update every three months. First backup system, if there are no > major issues after a week or so I upgrade few other system and if everything > goes smooth I upgrade the main system with the same three. > > Is is possible to have packages without "systemd" flag. > I was just rebuilding gnome-base/gnome-settings-daemon > > and it wants to pull-in: sys-apps/systemd-208-r2 > and this conflicts with udev. > > I'm not switching to systemd anytime soon, got burned recently and have no > time to learn new configuration settings. As I said in the other thread, you need to set the openrc-force USE flag for gnome-settings-daemon. Again, this is not really supported, it will result in reduced functionality, and somethings will probably fail. And since most of the underlying infrastructure of Xfce is really GNOME, this probably will happen with more and more packages in the future, as more and more things start using the more sane and advanced functionality of logind. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] Re: can not mount USB stick as user 2014-02-06 19:19 ` Alan McKinnon 2014-02-06 19:36 ` Joseph @ 2014-02-07 15:29 ` Randy Barlow 1 sibling, 0 replies; 34+ messages in thread From: Randy Barlow @ 2014-02-07 15:29 UTC (permalink / raw To: gentoo-user On Thu, 06 Feb 2014 14:19:35 -0500, Alan McKinnon <alan.mckinnon@gmail.com> wrote: > Dim memory tells me it's somewhere around 2006/7? What about DIMM memory? Get it? Get it? OK, I'll go back to my corner now… -- R ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-06 0:32 ` Joseph 2014-02-06 0:50 ` Joseph 2014-02-06 1:00 ` [gentoo-user] " walt @ 2014-02-06 9:09 ` Neil Bothwick 2014-02-06 16:08 ` Joseph 2 siblings, 1 reply; 34+ messages in thread From: Neil Bothwick @ 2014-02-06 9:09 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1022 bytes --] On Wed, 5 Feb 2014 17:32:13 -0700, Joseph wrote: > >You don't need to change grub.conf to reboot with different options, > >just press e and edit the options in place. > When I try to boot I'm getting an error: > > VFS: Can not open device "hda3" or unknown block (0,0): error -6 You can change GRUB settings from the GRUB menu, before you try to boot the kernel, press e as in my previous post. It seems you are getting into a mess with the systemd switch and trying all sorts of things at random. The old rule of "when you find yourself in a hold, stop digging" applies here. Stop making changes in the hope of getting things working, when you could be making them worse to the extent that your system will still be broken when you fix the original problem. Go back to the systemd wiki page and follow it carefully, making sure you both understand and complete each step, otherwise I see things getting worse for you. -- Neil Bothwick Consciousness: that annoying time between naps. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-06 9:09 ` [gentoo-user] " Neil Bothwick @ 2014-02-06 16:08 ` Joseph 0 siblings, 0 replies; 34+ messages in thread From: Joseph @ 2014-02-06 16:08 UTC (permalink / raw To: gentoo-user On 02/06/14 09:09, Neil Bothwick wrote: >On Wed, 5 Feb 2014 17:32:13 -0700, Joseph wrote: > >> >You don't need to change grub.conf to reboot with different options, >> >just press e and edit the options in place. > >> When I try to boot I'm getting an error: >> >> VFS: Can not open device "hda3" or unknown block (0,0): error -6 > >You can change GRUB settings from the GRUB menu, before you try to boot >the kernel, press e as in my previous post. > >It seems you are getting into a mess with the systemd switch and trying >all sorts of things at random. The old rule of "when you find yourself in >a hold, stop digging" applies here. > >Stop making changes in the hope of getting things working, when you could >be making them worse to the extent that your system will still be broken >when you fix the original problem. Go back to the systemd wiki page and >follow it carefully, making sure you both understand and complete each >step, otherwise I see things getting worse for you. > > >-- >Neil Bothwick > >Consciousness: that annoying time between naps. I copied an old kernel config file from /boot did "make oldconfig" enable "systemd" in the kernel put the grub.conf "... init=/usr/lib/systemd/systemd" and it booted OK but I have no X display, no network :-/ I just realized that "systemd" it is almost like learning configuring new OS. I have no time for this so I'm back pedaling to udev :-/ -- Joseph ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] can not mount USB stick as user 2014-02-05 19:55 ` Joseph 2014-02-05 20:02 ` Canek Peláez Valdés @ 2014-02-05 21:38 ` gottlieb 1 sibling, 0 replies; 34+ messages in thread From: gottlieb @ 2014-02-05 21:38 UTC (permalink / raw To: gentoo-user On Wed, Feb 05 2014, Joseph wrote: > Thank you for correction. You are correct I would need to switch to > new systemd. > I think for now I'll go back to udev as I'm afraid something might not > work after switching :-/ Two comments. 1. Canek is *very* helpful on systemd issues. 2. If you have /usr on the same filesystem as /, then switching to systemd is really not hard A. Set some kernel options (see the gentoo wiki). B. Set some use flags. i. At least -consolekit and systemd ii. This might be automatic if you use a systemd subprofile For example I use default/linux/amd64/13.0/desktop/gnome/systemd C. Do a world update. Once I merged / and /usr and did the above, systemd more or less worked right away. I did tweak it some later, but was able to read/send mail and use gnucash for my checking account on day 1. Note that I picked a conversion day when I knew canek would be available. If /usr is split from /, I believe Canek can guide you through. However, I have no experience with that (initramfs) so can't give a testimonial. In any event the wiki https://wiki.gentoo.org/wiki/Systemd is helpful. For one thing it would have pointed out the need to tell the kernel to use systemd as init (the wiki has both grub and grub invocations). Good luck! allan ^ permalink raw reply [flat|nested] 34+ messages in thread
end of thread, other threads:[~2014-02-07 15:29 UTC | newest] Thread overview: 34+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-02-05 16:32 [gentoo-user] can not mount USB stick as user Joseph 2014-02-05 16:35 ` Alan McKinnon 2014-02-05 17:03 ` Joseph 2014-02-05 18:06 ` Alan McKinnon 2014-02-05 18:42 ` Joseph 2014-02-05 18:51 ` Alan McKinnon 2014-02-05 20:02 ` Rick "Zero_Chaos" Farina 2014-02-05 17:46 ` Canek Peláez Valdés 2014-02-05 18:38 ` Joseph 2014-02-05 19:06 ` Canek Peláez Valdés 2014-02-05 19:55 ` Joseph 2014-02-05 20:02 ` Canek Peláez Valdés 2014-02-05 20:26 ` Joseph 2014-02-05 20:44 ` Joseph 2014-02-05 21:01 ` Canek Peláez Valdés 2014-02-05 21:31 ` Joseph 2014-02-06 0:06 ` Neil Bothwick 2014-02-06 0:32 ` Joseph 2014-02-06 0:50 ` Joseph 2014-02-06 1:00 ` [gentoo-user] " walt 2014-02-06 1:19 ` Joseph 2014-02-06 2:30 ` Canek Peláez Valdés 2014-02-06 3:02 ` Joseph 2014-02-06 6:19 ` Peter Humphrey 2014-02-06 12:30 ` Alan McKinnon 2014-02-06 15:09 ` Peter Humphrey 2014-02-06 15:38 ` J. Roeleveld 2014-02-06 19:19 ` Alan McKinnon 2014-02-06 19:36 ` Joseph 2014-02-06 20:34 ` Canek Peláez Valdés 2014-02-07 15:29 ` Randy Barlow 2014-02-06 9:09 ` [gentoo-user] " Neil Bothwick 2014-02-06 16:08 ` Joseph 2014-02-05 21:38 ` gottlieb
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox