Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #59136

Bug#877869: Console output showing the poweroff issue

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!feed.usenet.farm!feeder3.usenet.farm!feeders.as203319.net!feeder02.as203319.net!aioe.org!bofh.it!news.nic.it!robomod
From Kamal Wickramanayake <kamal@swview.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#877869: Console output showing the poweroff issue
Date Sat, 07 Oct 2017 21:20:02 +0200
Message-ID <uy2NH-3f5-1@gated-at.bofh.it> (permalink)
References <uxARs-23d-5@gated-at.bofh.it> <uy2NH-3f5-3@gated-at.bofh.it> <uxARs-23d-5@gated-at.bofh.it> <uy2NH-3f5-3@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sat Oct 7 19:15:13 2017
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.2
Reply-To Kamal Wickramanayake <kamal@swview.org>, 877869@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 877869
X-Debian-Pr-Package src:linux
X-Debian-Pr-Keywords patch
X-Debian-Pr-Source linux
X-Spam-Bayes score:0.0000 Tokens: new, 157; hammy, 149; neutral, 153; spammy, 1. spammytokens:0.998-1--sk:G hammytokens:0.000-+--usb_common, 0.000-+--ip_tables, 0.000-+--fbcon, 0.000-+--x_tables, 0.000-+--autofs4
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
Content-Language en-US
X-Greylist delayed 372 seconds by postgrey-1.36 at buxtehude; Sat, 07 Oct 2017 19:11:49 UTC
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1409890
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 111
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 7 Oct 2017 20:05:28 +0100
X-Original-Message-ID <639622c8-ff25-a266-a4dc-70a563ffb4a5@swview.org>
X-Original-References <85b4e247-f8b6-855c-34e7-70201b1f4478@swview.org> <handler.877869.B.150729602527245.ack@bugs.debian.org> <85b4e247-f8b6-855c-34e7-70201b1f4478@swview.org> <handler.877869.B.150729602527245.ack@bugs.debian.org>
Xref csiph.com linux.debian.bugs.dist:855178 linux.debian.kernel:59136

Cross-posted to 2 groups.

Show key headers only | View raw


I managed to get the output via a serial connection to show the issue
related to the poweroff command.

Package: linux-image-4.9.0-4-marvell
Version: 4.9.51-1

With the dtd file included in the package (Kernel panic, device does not
turn off):

root@debian:~# poweroff
[   56.473637] systemd-shutdow: 34 output lines suppressed due to
ratelimiting
[   60.334374] systemd-shutdown[1]: Sending SIGTERM to remaining
processes...
[   60.368378] systemd-journald[208]: Received SIGTERM from PID 1
(systemd-shutdow).
[   60.395961] systemd-shutdown[1]: Sending SIGKILL to remaining
processes...
[   60.429263] systemd-shutdown[1]: Unmounting file systems.
[   60.448756] systemd-shutdown[1]: Remounting '/' read-only with
options 'errors=remount-ro,data=ordered'.
[   61.125270] EXT4-fs (sdb2): re-mounted. Opts:
errors=remount-ro,data=ordered
[   61.153210] systemd-shutdown[1]: Remounting '/' read-only with
options 'errors=remount-ro,data=ordered'.
[   61.191019] EXT4-fs (sdb2): re-mounted. Opts:
errors=remount-ro,data=ordered
[   61.212739] systemd-shutdown[1]: All filesystems unmounted.
[   61.233125] systemd-shutdown[1]: Deactivating swaps.
[   61.252864] systemd-shutdown[1]: All swaps deactivated.
[   61.272698] systemd-shutdown[1]: Detaching loop devices.
[   61.302171] systemd-shutdown[1]: All loop devices detached.
[   61.333450] sd 0:0:0:0: [sda] Stopping disk
[   61.354880] reboot: Power down
[   64.551110] ------------[ cut here ]------------
[   64.570412] WARNING: CPU: 0 PID: 1 at
/build/linux-BErZ7F/linux-4.9.51/drivers/power/reset/gpio-poweroff.c:45
SyS_reboot+0x15c/0x204
[   64.613235] Modules linked in: evdev snd_soc_simple_card
snd_soc_simple_card_utils snd_soc_kirkwood snd_soc_alc5623 sg
mv643xx_eth mvmdio of_mdio fixed_phy libphy snd_soc_core marvell_cesa
snd_pcm snd_timer des_generic snd soundcore orion_wdt m25p80 spi_nor
gpio_keys ip_tables x_tables ipv6 autofs4 ext4 crc16 jbd2 fscrypto ecb
mbcache btrfs crc32c_generic xor zlib_deflate uas raid6_pq usb_storage
loop squashfs overlay fbcon bitblit fbcon_rotate fbcon_ccw fbcon_ud
fbcon_cw softcursor font tileblit sd_mod ehci_orion sata_mv ehci_hcd
libata scsi_mod usbcore usb_common xgifb(C) cfbfillrect cfbimgblt
cfbcopyarea fb
[   64.795429] CPU: 0 PID: 1 Comm: systemd-shutdow Tainted: G        
C      4.9.0-4-marvell #1 Debian 4.9.51-1
[   64.845458] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   64.871953] [<c00160e0>] (unwind_backtrace) from [<c0013080>]
(show_stack+0x18/0x1c)
[   64.900010] [<c0013080>] (show_stack) from [<c0021858>]
(__warn+0xe8/0x104)
[   64.927431] [<c0021858>] (__warn) from [<c0021930>]
(warn_slowpath_null+0x24/0x2c)
[   64.955755] [<c0021930>] (warn_slowpath_null) from [<c003e004>]
(SyS_reboot+0x15c/0x204)
[   64.984897] [<c003e004>] (SyS_reboot) from [<c000f560>]
(ret_fast_syscall+0x0/0x38)
[   65.013817] ---[ end trace fe55aa9832549b2b ]---
[   65.043038] systemd-shutdow: 3 output lines suppressed due to
ratelimiting
[   65.071331] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000000
[   65.071331]
[   65.122779] CPU: 0 PID: 1 Comm: systemd-shutdow Tainted: G       
WC      4.9.0-4-marvell #1 Debian 4.9.51-1
[   65.175519] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   65.203220] [<c00160e0>] (unwind_backtrace) from [<c0013080>]
(show_stack+0x18/0x1c)
[   65.232564] [<c0013080>] (show_stack) from [<c00d26d0>]
(panic+0xb8/0x254)
[   65.260791] [<c00d26d0>] (panic) from [<c00233d8>] (do_exit+0x46c/0x8a0)
[   65.288556] [<c00233d8>] (do_exit) from [<c003e000>]
(SyS_reboot+0x158/0x204)
[   65.316675] [<c003e000>] (SyS_reboot) from [<c000f560>]
(ret_fast_syscall+0x0/0x38)
[   65.345348] ---[ end Kernel panic - not syncing: Attempted to kill
init! exitcode=0x00000000
[   65.345348]


With the corrected dtd (No kernel panic, device turns off correctly):

root@debian:~# poweroff
[  147.377304] systemd-shutdow: 25 output lines suppressed due to
ratelimiting
[  157.005000] systemd-shutdown[1]: Sending SIGTERM to remaining
processes...
[  157.038899] systemd-journald[203]: Received SIGTERM from PID 1
(systemd-shutdow).
[  157.065973] systemd-shutdown[1]: Sending SIGKILL to remaining
processes...
[  157.099147] systemd-shutdown[1]: Unmounting file systems.
[  157.118323] systemd-shutdown[1]: Remounting '/' read-only with
options 'errors=remount-ro,data=ordered'.
[  157.169701] EXT4-fs (sdb2): re-mounted. Opts:
errors=remount-ro,data=ordered
[  157.197557] systemd-shutdown[1]: Remounting '/' read-only with
options 'errors=remount-ro,data=ordered'.
[  157.235876] EXT4-fs (sdb2): re-mounted. Opts:
errors=remount-ro,data=ordered
[  157.258109] systemd-shutdown[1]: All filesystems unmounted.
[  157.279087] systemd-shutdown[1]: Deactivating swaps.
[  157.299515] systemd-shutdown[1]: All swaps deactivated.
[  157.319976] systemd-shutdown[1]: Detaching loop devices.
[  157.349948] systemd-shutdown[1]: All loop devices detached.
[  157.381582] sd 0:0:0:0: [sda] Stopping disk
[  157.403176] reboot: Power down

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#877869: kirkwood-t5325.dts fixes for poweroff and sound device detection issues on HP T5325 Kamal Wickramanayake <kamal@swview.org> - 2017-10-06 15:30 +0200
  Bug#877869: Console output showing the poweroff issue Kamal Wickramanayake <kamal@swview.org> - 2017-10-07 21:20 +0200

csiph-web