Jump to content
XPEnology Community

Shutdown/Reboot not working


gfacek2

Recommended Posts

Hi,

 

for me, the shutdown and reboot doesn't work. Right now, when I'm initiating the shutdown, I wait about 5 minutes and disconnect the power.

 

my Specs are as followed:

- DSM version prior update: DSM 6.2.1-23824 Update 6

- Loader version and model: Jun v1.04b - DS918

- Using custom extra.lzma: NO

- Installation type: Baremetal - ASRock J4205-ITX

- Additional comments: Disabled internal NIC to Intel I210-T1

 

As I read multiple threads, where it was reported that after disabling the internal NIC, the startup and shutdown worked better, I gave it a try...but no luck for me.

 

I thought, maybe I get more clues, when I get the output via serial comport. The last message is "kvm: exiting hardware virtualization". I think, it has something to do with how Jun got DSM working on non Synology Hardware.

 

Here is the whole output I get after shutdown:

The system is going down for power off NOW!
[295447.135209] init: synonetd main process (5729) killed by TERM signal
[295447.145979] init: synostoraged main process (9941) terminated with status 15
[295447.155948] init: hotplugd main process (10750) killed by TERM signal
[295447.166121] init: smbd main process (11030) killed by TERM signal
System is going to poweroff.
[295449.732602] init: pkg-WebStation-userdir main process (7587) terminated with status 1
[295450.160273] init: synoscheduler-vmtouch main process (14043) killed by TERM signal
[295450.679320] init: skip respawn pkg-webstation-php-844257d5-dd27-4885-8fd8-96cf320e39ac during shutdown
[295450.959726] init: synoscheduler-vmtouch main process (7953) killed by TERM signal
[295451.185987] init: pkg-synovncrelayd main process (17196) killed by TERM signal
[295451.921139] init: synoscheduler-vmtouch main process (8042) killed by TERM signal
[295452.597916] init: pkg-synohostcmdd main process (17159) killed by TERM signal
[295452.836134] init: synoscheduler-vmtouch main process (8148) killed by TERM signal
[295453.351309] init: pkg-synohostcommd main process (17105) killed by TERM signal
[295453.634719] usbcore: deregistering interface driver snd-usb-hiface
[295453.676241] usbcore: deregistering interface driver snd-usb-audio
[295454.357243] init: pkg-AudioStation-pgbouncer main process (16193) terminated with status 1
[295455.261301] init: pkg-WebStation-fcgiwrap main process (13537) killed by KILL signal
[295455.366257] docker8744de1: renamed from eth0
[295455.373699] docker0: port 1(dockerfc0a3ae) entered disabled state
[295457.216540] docker0: port 1(dockerfc0a3ae) entered disabled state
[295457.223355] device dockerfc0a3ae left promiscuous mode
[295457.229318] docker0: port 1(dockerfc0a3ae) entered disabled state
[295457.495807] init: pkg-syno-etcd-logd main process (18944) terminated with status 2
[295457.891192] init: skip respawn pkg-webstation-php-9f1e642a-0d20-4664-8934-c51d34f609de during shutdown
[295458.103909] init: pkg-etcd main process (16002) killed by TERM signal
[295459.541206] init: pkg-synocccstated main process (15984) killed by TERM signal
[295464.396849] dockerc8371c4: renamed from eth0
[295464.475758] docker0: port 2(docker3512175) entered disabled state
[295465.822725] docker0: port 2(docker3512175) entered disabled state
[295465.832829] device docker3512175 left promiscuous mode
[295465.838437] docker0: port 2(docker3512175) entered disabled state
[295467.979849] IPVS: [rr] scheduler unregistered.
[295468.063584] IPVS: ipvs unloaded.
[295476.577507] init: pkg-SynologyApplicationService-notification_send main process (15615) killed by TERM signal
[295478.052793] init: pkg-SynologyApplicationService-pgbouncer main process (15733) terminated with status 1
[295480.050889] init: pkg-SynologyApplicationService-VapidSendServer main process (15931) killed by TERM signal
[295488.228206] init: Disconnected from D-Bus system bus
[295488.528307] init: synoscheduler-vmtouch main process (8224) killed by TERM signal
[295488.537591] init: synoovs-db main process (7746) killed by TERM signal
[295488.582919] init: synoovs-vswitch main process (7762) killed by TERM signal
[295491.621544] init: synosnmp-service-handler main process (10043) killed by TERM signal
[295496.100379] iSCSI:target_core_configfs.c:4695:target_core_drop_subdev process [10124] '/usr/syno/bin/synoiscsihook --volume_umount_all' unload LUN(fileio_0/LUN_0958fe50-abb7-48bf-9c6c-0525362d9374), uuid(0958fe50-abb7-48bf-9c6c-0525362d9374)
[295496.124073] iSCSI:target_core_rodsp_server.c:172:rodsp_server_sink_unregister SINK-UNREG(0958fe50-abb7-48bf-9c6c-0525362d9374)
[295496.137420] iSCSI:target_core_configfs.c:5268:volume_drop_item unload volume(volume1)
logout
[295496.361132] init: skip respawn tty during shutdown
[295496.876381] init: skip respawn syslog-ng during shutdown
[295506.073868] md2: detected capacity change from 11992474714112 to 0
[295506.080408] md: md2: set sda3 to auto_remap [0]
[295506.085218] md: md2: set sdc3 to auto_remap [0]
[295506.090036] md: md2: set sdb3 to auto_remap [0]
[295506.094915] md: md2 stopped.
[295506.098011] md: unbind<sda3>
[295506.105546] md: export_rdev(sda3)
[295506.109200] md: unbind<sdc3>
[295506.116547] md: export_rdev(sdc3)
[295506.120156] md: unbind<sdb3>
[295506.127546] md: export_rdev(sdb3)
[295506.606992] sd 4:0:0:0: [synoboot] Synchronizing SCSI cache
[295509.581550] md: md0 in immediate safe mode
[295509.582540] md: md1 in immediate safe mode
[295509.592978] init: cgmanager main process (4722) killed by KILL signal
[295509.599627] init: skip respawn cgmanager during shutdown
[295512.521017] EXT4-fs (md0): re-mounted. Opts: (null)
[295514.173819] kvm: exiting hardware virtualization

I hope this helps?!

 

Kind regards

Tobias

Link to comment
Share on other sites

i have seen shudown problems when testing drivers after a driver oops'ed (crashed) when starting

check your log of the system start

 

will look like this

[Thu Jan  2 17:05:29 2020] BUG: unable to handle kernel paging request at 00000000ffffffff
[Thu Jan  2 17:05:29 2020] IP: [<ffffffff81007b22>] dma_set_mask+0x22/0x50
[Thu Jan  2 17:05:29 2020] PGD 138c87067 PUD 0 
[Thu Jan  2 17:05:29 2020] Oops: 0002 [#1] SMP 
[Thu Jan  2 17:05:29 2020] Modules linked in: skge(F+) ipg(F) uio(F) alx(F) atl1c(F) atl1e(F) atl1(F) libphy(F) mii(F) exfat(O) btrfs synoacl_vfs(PO) zlib_deflate hfsplus md4 hmac bnx2x(O) libcrc32c mdio mlx5_core(O) mlx4_en(O) mlx4_core(O) mlx_compat(O) compat(O) qede(O) qed(O) atlantic(O) tn40xx(O) i40e(O) ixgbe(O) be2net(O) igb(O) i2c_algo_bit e1000e(O) dca vxlan fuse vfat fat glue_helper lrw gf128mul ablk_helper arc4 cryptd ecryptfs sha256_generic sha1_generic ecb aes_x86_64 authenc des_generic ansi_cprng cts md5 cbc cpufreq_conservative cpufreq_powersave cpufreq_performance cpufreq_ondemand acpi_cpufreq mperf processor thermal_sys cpufreq_stats freq_table dm_snapshot crc_itu_t crc_ccitt quota_v2 quota_tree psnap p8022 llc sit tunnel4 ip_tunnel ipv6 zram(C) sg etxhci_hcd mpt3sas(F) mpt2sas(O) megaraid_sas(F)
...

 

Link to comment
Share on other sites

I've got this here:

 

[  192.282450] BUG: unable to handle kernel NULL pointer dereference at           (null)
[  192.290303] IP: [<          (null)>]           (null)
[  192.295352] PGD 69fb0067 PUD 6a899067 PMD 0
[  192.299681] Oops: 0010 [#1] PREEMPT SMP
[  192.303666] Modules linked in: i915(E+) drm_kms_helper(E) syscopyarea(E) sysfillrect(E) sysimgblt(E) fb_sys_fops(E) cfbfillrect(E) cfbcopyarea(E) cfbimgblt(E) drm(E) fb(E) fbdev intel_agp(E) intel_gtt(E) agpgart(E) video backlight button synoacl_vfs(PO) hfsplus md4 hmac r8168(OE) ixgbe(E) igb(E) i2c_algo_bit e1000e(E) vxlan ip6_udp_tunnel udp_tunnel fuse vfat fat crc32c_intel cdc_acm ppp_async aesni_intel ppp_generic slhc glue_helper lrw gf128mul ablk_helper arc4 cryptd ecryptfs sha256_generic ecb aes_x86_64 authenc des_generic ansi_cprng cts md5 cbc cpufreq_powersave cpufreq_performance acpi_cpufreq processor cpufreq_stats dm_snapshot dm_bufio crc_itu_t crc_ccitt quota_v2 quota_tree psnap p8022 llc sit tunnel4 ip_tunnel ipv6 zram sg etxhci_hcd rtc_cmos(E) mdio(E) mpt3sas(E) raid_class(E) scsi_transport_sas(E) megaraid_sas(E) megaraid(E) mptctl(E) mptspi(E) mptscsih(E) mptbase(E) scsi_transport_spi(E) megaraid_mbox(E) megaraid_mm(E) vmw_pvscsi(E) BusLogic(E) usb_storage xhci_pci xhci_hcd usbcore usb_common uusu(OE) [last unloaded: apollolake_synobios]

 

Link to comment
Share on other sites

then you need a extra.lzma that does not load the newer i915 jun provides with loader 1.04b

real3x did made one for the original loader drivers (not compatible with 6.2.2 aka v24922)

i will have a new extra/extra2 set ready shortly and there will be two version, one with the newer i915 and one without

the one without will load the i915 drivers as they com from synology (part of the dsm image 918+)

i sure that would fix your problem

there are threads about how to do it already, just look for real3x and extra.lzma

 

  • Like 1
Link to comment
Share on other sites

3 hours ago, gfacek2 said:

So, when you release your set, I can update to 6.2.2?

i had a few people testing it and there are no problems yet

i need to rewrite some documentation and document better what drivers are i the release and in what version - one og the things still missing for 3615/17 too

 

if you want to test it i can send you a link

the onboard nic should work with this too

Link to comment
Share on other sites

11 hours ago, IG-88 said:

if you want to test it i can send you a link

 

Sure, I can test this. Should I test something specific, or just, if it works for me?

 

So, I replace the extra from real3x with your extra/extra2 like I did before and after a restart I update to the latest 6.2.2 via Update-Precedure of DSM?

Link to comment
Share on other sites

  • 2 months later...
23 hours ago, vanst said:

I am having the same issue with V1.03b & V1.02b loader - The gig restart instead of power

that means your problem is not the same, thats a good documented thing (from my perspective) a failed driver prevents s shutdown at all, not even a reboot

your problem is that the shutdown is completed and after that the computer wakes up again within a few seconds and boots (that not that uncommon, i've even seen this behavior with windows 10 systems, not just with linux)

 

 

Link to comment
Share on other sites

I have checked that my PC is shutdown when it run Windows server 2008R2. I will test with a Ubuntu live USB now.

I have started a thread about my case - 

 

@gfacek2 How to get the log like the one you have posted, is it from dmesg? Thanks!

 

The system is going down for power off NOW!
[295447.135209] init: synonetd main process (5729) killed by TERM signal
[295447.145979] init: synostoraged main process (9941) terminated with status 15
....

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...

This work for me:

 

If you have the problem, that your system is restarting after shutdown, go to the grub.cfg in the bootloader and delete the "quiet" Parameter from "set common_args". In my case it is in line 31.

After a reboot, the system does not reboot anymore after a shutdown and you can use the PowerButton Plugin

 

https://xpenology.com/forum/topic/12240-installing-xpenology-on-acer-aspire-h340/?do=findComment&comment=207377

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...