Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Rebooting stops wih an error

  1. #1
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    72

    Unhappy Rebooting stops wih an error

    It stops rebooting and tries to save the error file rdsosreport.txt but it can't due to ro file system.

    Adding rd.debug to boot cmd didn't let me to save rdsosreport.txt file in order to attach it here.

    Linux TW.site 4.18.8-1-default #1 SMP PREEMPT Sat Sep 15 14:10:30 UTC 2018 (f486469) x86_64 x86_64 x86_64 GNU/Linux

    cat /etc/dracut.conf
    Code:
    # PUT YOUR CONFIG IN separate files
    # in /etc/dracut.conf.d named "<name>.conf"
    # SEE man dracut.conf(5) for options
    /boot/grub2/grub.cfg
    Code:
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'openSUSE Tumbleweed'  --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c6386772-4f32-4ac9-b48e-286f023ed45b' {
            load_video
            set gfxpayload=keep
            insmod gzio
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  e3f35477-c0ab-46ba-92f2-d532a0aa0151
            else
              search --no-floppy --fs-uuid --set=root e3f35477-c0ab-46ba-92f2-d532a0aa0151
            fi
            echo    'Loading Linux 4.18.8-1-default ...'
            linux   /vmlinuz-4.18.8-1-default root=/dev/mapper/fast0-root  resume=/dev/fast0/swap splash=silent quiet showopts resume=/dev/fast0/swap splash=silent quiet showopts
            echo    'Loading initial ramdisk ...'
            initrd  /initrd-4.18.8-1-default
    }

  2. #2
    Join Date
    Sep 2012
    Posts
    5,230

    Default Re: Rebooting stops wih an error

    Before reboot what is the content of /run/initramfs?

  3. #3
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    72

    Default Re: Rebooting stops wih an error

    Quote Originally Posted by arvidjaar View Post
    Before reboot what is the content of /run/initramfs?
    log/ with no contents and .need_shutdown with 0 bytes

  4. #4
    Join Date
    Sep 2012
    Posts
    5,230

    Default Re: Rebooting stops wih an error

    Quote Originally Posted by filippos2 View Post
    .need_shutdown with 0 bytes
    OK, you have root on LVM and in this case LVM forces jump back to initrd on shutdown. I briefly tested it (without LVM) and it works as expected. You may try with "rd.break=shutdown rd.shell". This will stop in initrd shell immediately after jumping into initrd before doing anything. You can then look around (in particular, what is mounted and whether paths are read-write or not). Could you also provide "lsinitrd /boot/initrd" (probably too big to paste here, upload to http://susepaste.org/).

  5. #5
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,826

    Default Re: Rebooting stops wih an error

    When was TW installed? Is it an upgrade? If yes, from what, and when was that originally installed? What is reported by?:
    Code:
    ls -l /var/run
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  6. #6
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    72

    Default Re: Rebooting stops wih an error

    TW is an upgrade from leap which was an upgrade from OS ...

    Here is lsinitrd /boot/initrd
    and here /var/run

  7. #7
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,826

    Default Re: Rebooting stops wih an error

    Quote Originally Posted by filippos2 View Post
    TW is an upgrade from leap which was an upgrade from OS ...
    OS which?

    Here is lsinitrd /boot/initrd
    and here /var/run
    That contains the output from 'ls -l /var/run/', not the output from 'ls -l /var/run'. Output from 'ls -l /var/' would also suffice.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  8. #8
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    72

    Default Re: Rebooting stops wih an error

    Quote Originally Posted by mrmazda View Post
    OS which?

    That contains the output from 'ls -l /var/run/', not the output from 'ls -l /var/run'. Output from 'ls -l /var/' would also suffice.
    Probably OS 10.0 which became in time 13.2 then LEAP and not TW

    Code:
    l /var
    total 260
    drwxr-xr-x  19 root root    4096 May 28 21:10 ./
    drwxr-xr-x  28 root root    4096 Sep 21 09:02 ../
    drwxr-xr-x  10 root root    4096 May 25 23:22 adm/
    drwxr-xr-x   3 root root    4096 Sep 24  2013 backup/
    drwxr-xr-x  19 root root    4096 Aug 25 11:31 cache/
    drwxr-xr-x   2 root root    4096 May 25 23:22 crash/
    drwxr-xr-x   3 root root    4096 Jun 13 17:04 games/
    drwxr-xr-x  88 root root    4096 Sep  7 17:46 lib/
    drwxrwxr-x   5 root lock     120 Sep 23 08:46 lock/
    drwxr-xr-x  29 root root   12288 Sep 23 08:46 log/
    drwx------   2 root root   16384 Sep  9  2013 lost+found/
    lrwxrwxrwx   1 root root      10 May 25 23:22 mail -> spool/mail/
    drwxr-xr-x   3 root root    4096 Jun 29  2014 mpi-selector/
    drwxr-xr-x   2 root root    4096 May 25 23:22 opt/
    drwxr-xr-x  45 root root    1380 Sep 23 09:11 run/
    drwxr-xr-x  15 root root    4096 May 25 23:22 spool/
    drwxrwxrwt 415 root root  172032 Sep 23 08:47 tmp/
    -rw-r--r--   1 root root     208 May 28 21:10 .updated
    drwxr-xr-x   3 5000 vmail   4096 Sep 23  2013 vmail/
    drwxr-xr-x   4 root root    4096 Sep 23 08:46 webmin/
    drwxr-xr-x   3 root root    4096 Nov 16  2017 yp/

  9. #9
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,826

    Default Re: Rebooting stops wih an error

    Quote Originally Posted by filippos2 View Post
    Probably OS 10.0 which became in time 13.2 then LEAP and not TW
    This is what is wrong.
    Code:
    ...
    drwxr-xr-x  45 root root    1380 Sep 23 09:11 run/
    ...
    It needs to be:
    Code:
    lrwxrwxrwx...run -> /run
    https://bugzilla.opensuse.org/show_bug.cgi?id=1104235 covers it. Comment 15 there provides a solution.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  10. #10
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    72

    Default Re: Rebooting stops wih an error

    changing mode to /var/run didn't helped

    Quote Originally Posted by arvidjaar View Post
    OK, you have root on LVM and in this case LVM forces jump back to initrd on shutdown. I briefly tested it (without LVM) and it works as expected. You may try with "rd.break=shutdown rd.shell". This will stop in initrd shell immediately after jumping into initrd before doing anything. You can then look around (in particular, what is mounted and whether paths are read-write or not). Could you also provide "lsinitrd /boot/initrd" (probably too big to paste here, upload to http://susepaste.org/).
    here is rdsosreport

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •