[Bug 903560] New: opensuse 13.1 ( + Kernel:Stable 3.17.2 + systemd 210) exec of `shutdown` restarts machine instead
http://bugzilla.opensuse.org/show_bug.cgi?id=903560 Bug ID: 903560 Summary: opensuse 13.1 ( + Kernel:Stable 3.17.2 + systemd 210) exec of `shutdown` restarts machine instead Classification: openSUSE Product: openSUSE 13.1 Version: Final Hardware: Other OS: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: grantksupport@operamail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Running OpenSUSE 13.1 with Kernel:Stable uname -a Linux gktest 3.17.2-1.g1afb260-desktop #1 SMP PREEMPT Thu Oct 30 19:14:09 UTC 2014 (1afb260) x86_64 x86_64 x86_64 GNU/Linux and latest systemd systemctl --version systemd 210 +PAM +LIBWRAP +AUDIT +SELINUX -IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ +SECCOMP +APPARMOR where 'shutdown' and 'reboot' are controlled via systemd ls -al `which reboot` `which shutdown` lrwxrwxrwx 1 root root 18 Oct 30 08:32 /sbin/reboot -> /usr/bin/systemctl* lrwxrwxrwx 1 root root 18 Oct 30 08:32 /sbin/shutdown -> /usr/bin/systemctl* on exec of either systemctl poweroff shutdown -h now the system shutsdown, then immediately restarts. Forcing and ungraceful shutdown systemctl --force poweroff does, in fact completely powerdown the machine. This is a change in behavior from 3.16.x kernels, which shutdown correctly. Unclear what, if any, other earlier dependencies were involved. Currently, acpi setup reports @ boot dmesg | grep -i acpi [ 0.000000] Command line: root=/dev/VG1/ROOT rootfstype=ext4 rootflags=journal_checksum noresume showopts selinux=0 SELINUX_INIT=NO apparmor=0 elevator=cfq console=tty0 clocksource=acpi_pm divider=10 nomodeset pcie_aspm=off noquiet nolapic_timer systemd.log_target=journal-or-kmsg systemd.log_level=info net.ifnames=0 biosdevname=0 acpi_backlight=vendor acpi_osi=Linux vga=0x318 [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI BIOS Error (bug): A valid RSDP was not found (20140724/tbxfroot-211) [ 0.000000] Nvidia board detected. Ignoring ACPI timer override. [ 0.000000] If you got timer trouble try acpi_use_timer_override [ 0.000000] Kernel command line: root=/dev/VG1/ROOT rootfstype=ext4 rootflags=journal_checksum noresume showopts selinux=0 SELINUX_INIT=NO apparmor=0 elevator=cfq console=tty0 clocksource=acpi_pm divider=10 nomodeset pcie_aspm=off noquiet nolapic_timer systemd.log_target=journal-or-kmsg systemd.log_level=info net.ifnames=0 acpi_backlight=vendor acpi_osi=Linux vga=0x318 [ 0.112000] ACPI: Interpreter disabled. [ 0.142996] pnp: PnP ACPI: disabled [ 5.514180] ata1: nv_mode_filter: 0x1f39f&0x1f3ff->0x1f39f, BIOS=0x1f000 (0xc5000000) ACPI=0x0 [ 16.891450] ACPI Exception: AE_BAD_PARAMETER, Thread 3394323792 could not acquire Mutex [0x1] (20140724/utmutex-285) [ 16.954440] ACPI Exception: AE_BAD_PARAMETER, Thread 3394323792 could not acquire Mutex [0x1] (20140724/utmutex-285) [ 40.895801] NVRM: failed to register with the ACPI subsystem! Fyi, this kernel bug, [PATCH]Poweroff doesn't work, it just reboots https://bugzilla.kernel.org/show_bug.cgi?id=66171 identifies the same symptom, but seems to link the cause to xhci/USB3 drivers. I have no USB installed. Not clear what diagnostic info is helpful; can provide whatever on request. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
--- Comment #1 from grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
grant k
Is it really an output of hwinfo, i.e. "hwinfo > hwinfo.out" ?
no. as mentioned, it was a *subset* coppied from my notes, as I wasn't in front of the machine; clearly not enough to be useful. I've now attached a full hwinfo from the running machine, booted to uname -rm 3.17.2-1.g1afb260-desktop x86_64 hth! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
--- Comment #9 from grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
--- Comment #10 from Takashi Iwai
Not sure what 'other' hardware you had in mind? Wouldn't the same hardware be active when booting from the LiveKDE dvd, where shutdown works as expected?
In theory, yes, there should be same. But it's not clear whether really the all modules are same in the same way. And, above all, it's helpful to know whether really an h/w component affects or it's just other non-h/w specific kernel stuff. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
--- Comment #11 from grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
--- Comment #12 from Oliver Neukum
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
--- Comment #13 from grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
--- Comment #14 from grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
--- Comment #16 from grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
--- Comment #18 from grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
--- Comment #20 from grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
--- Comment #23 from grant k
Note that after updating systemd, also libgudev, libudev1, nss-myhostname, systemd-bash-completion, systemd-logger, systemd-sysvinit, typelib, and udev should be updated.
I can certainly test. As you can see above, no updates to any of those packages are offered by zypper, and dependency check via `zypper ve` shows nothing missing What repo(s), specifically, must be added to get the updates you're referencing?
Then, if not done by the rpm them self a mkinitrd is required.
After updates, I've had repeatedly created a new initrd with mkinitrd. Still systemd v208 shutsdown correctly, systemd v210 does not
systemctl daemon-reexec
Neither systemctl daemon-reexec nor a reboot has any effect -- as above, in all cases, systemd v208 shutsdown correctly, systemd v210 does not -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
--- Comment #25 from grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
--- Comment #30 from grant k
Run ... and report the result.
find /sys/class/scsi_device/*/device/ -name "manage_start_stop" -o -name "removable" -o -name "vendor" | xargs cat 1 PIONEER 1 0 ATA
Also spin down is disabled ... why this had been done?
it's an old action. afaict, the problem had been while using Mozilla apps, Opensuse systems (not sure, but this may have been back in Opensuse 11X ... not sure WHICH 'Nov 4' the logs below refer to) would get frequent, random multi-cpu 100% lockups for seconds-to-minutes. logs would show dmesg ... Nov 4 11:06:50 prov09 kernel: ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen Nov 4 11:06:50 prov09 kernel: ata4.00: failed command: FLUSH CACHE EXT Nov 4 11:06:50 prov09 kernel: ata4.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0 Nov 4 11:06:50 prov09 kernel: res 40/00:00:00:4f:c2/00:00:00:00:00/40 Emask 0x4 (timeout) Nov 4 11:06:50 prov09 kernel: ata4.00: status: { DRDY } Nov 4 11:06:50 prov09 kernel: ata4: hard resetting link Nov 4 11:07:00 prov09 kernel: ata4: softreset failed (1st FIS failed) Nov 4 11:07:00 prov09 kernel: ata4: hard resetting link Nov 4 11:07:10 prov09 kernel: ata4: softreset failed (1st FIS failed) Nov 4 11:07:10 prov09 kernel: ata4: hard resetting link Nov 4 11:07:36 prov09 kernel: ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300) Nov 4 11:07:36 prov09 kernel: ata4.00: configured for UDMA/133 Nov 4 11:07:36 prov09 kernel: ata4.00: retrying FLUSH 0xea Emask 0x4 Nov 4 11:07:36 prov09 kernel: ata4.00: device reported invalid CHS sector 0 Nov 4 11:07:36 prov09 kernel: ata4: EH complete ... This, apparently, was tracked to http://paul.sullivan.za.org/kernel-disables-sata-drive-under-heavy-load-acti... http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625922 disabling spindown / power mgmt on the drives immediately & persistently solved the problem in all cases, and, until now, has never manifested any problems or issues. Other than possible shorter drive lifes ... In any case, drive power mgmt state shouldn't inhibit proper shutdown. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
grant k
http://bugzilla.opensuse.org/show_bug.cgi?id=903560
grant k
https://build.opensuse.org/package/view_file/Base:System/systemd/0001-add-hd...
shutdown now shuts down correctly.
I cannot make any sense out of that commit I must say. I really wish suse would discuss this with us upstream, if there's a bug to fix upstream... Lennart ..." Given the invitation, it might be worthwhile for a dev@suse to check in / discuss with upstream. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com