Bug#845382: BUG: soft lockup when radeon modesetting

2017-04-03 Thread Václav Ovsík
On Thu, Mar 30, 2017 at 12:40:46AM +0200, Dominik George wrote:
> I can confirm this issue.
> 
> I found a workaround by setting radeon.hard_reset=1, which resets the
> PCI bus after loading the firmware. Both Audio and KMS work with this
> option set.

Please, what kernel version and hardware?
I tried Debian kernel 4.9.18-1 (package 4.9.0-2-amd64) and with enabled
HDMI audio in BIOS of Asus M2A-VM HDMI the lockup shows :(.

vdr:~# cat /proc/cmdline 
BOOT_IMAGE=/vmlinuz-4.9.0-2-amd64 
root=UUID=632652f0-7f3c-4316-a74d-d05f2fd4b3ae ro radeon.hard_reset=1 
netconsole=@192.168.1.50/,@192.168.1.120/
-- 
Zito



Bug#845382: BUG: soft lockup when radeon modesetting

2017-03-29 Thread Dominik George
I can confirm this issue.

I found a workaround by setting radeon.hard_reset=1, which resets the PCI bus 
after loading the firmware. Both Audio and KMS work with this option set.



Bug#845382: BUG: soft lockup when radeon modesetting

2016-11-22 Thread Gianluca Renzi
I am facing the same nmi bug soft lock in Apple g5 quad core with radeon
ati hd7460 pci-express (the bug came in hypervisor console driver hvcs.ko)

Il 22/nov/2016 11:27 PM, "Václav Ovsík"  ha scritto:

> Package: src:linux
> Version: 4.8.7-1
> Severity: normal
>
> Dear Maintainer,
> I'm unable to boot into functional system with KMS radeon. When
> radeon.modeset=0 on kernel command-line system it starts and run OK.
> Without disabled modeset, mostly the screen goes blank, but sometimes
> the messages stays on console. System is locked and not respond to sysrq
> or so. Kernel stack is displayed periodically as watchdog initiates.
> Captured messages (using netconsole) are attached.
>
> Regards
> --
> Zito
>
> -- Package-specific info:
> ** Version:
> Linux version 4.8.0-1-amd64 (debian-kernel@lists.debian.org) (gcc version
> 5.4.1 20161019 (Debian 5.4.1-3) ) #1 SMP Debian 4.8.7-1 (2016-11-13)
>
> ** Command line:
> BOOT_IMAGE=/vmlinuz-4.8.0-1-amd64 
> root=UUID=632652f0-7f3c-4316-a74d-d05f2fd4b3ae
> ro radeon.modeset=0
>
> ** Not tainted
>
> ** Kernel log:
> [3.010746] scsi 6:0:0:1: Direct-Access Generic  STORAGE DEVICE
>  9317 PQ: 0 ANSI: 0
> [3.011944] scsi 6:0:0:2: Direct-Access Generic  STORAGE DEVICE
>  9317 PQ: 0 ANSI: 0
> [3.013151] scsi 6:0:0:3: Direct-Access Generic  STORAGE DEVICE
>  9317 PQ: 0 ANSI: 0
> [3.082153] sd 6:0:0:3: [sde] Attached SCSI removable disk
> [3.083229] sd 6:0:0:0: [sdb] Attached SCSI removable disk
> [3.084577] sd 6:0:0:1: [sdc] Attached SCSI removable disk
> [3.085913] sd 6:0:0:2: [sdd] Attached SCSI removable disk
> [4.576131] floppy0: no floppy controllers found
> [4.637754] PM: Starting manual resume from disk
> [4.637800] PM: Hibernation image partition 8:2 present
> [4.637801] PM: Looking for hibernation image.
> [4.639867] PM: Image not found (code -22)
> [4.639868] PM: Hibernation image not present or could not be loaded.
> [5.144483] EXT4-fs (sda3): mounted filesystem with ordered data mode.
> Opts: (null)
> [6.504046] random: crng init done
> [6.629488] ip_tables: (C) 2000-2006 Netfilter Core Team
> [6.773851] systemd[1]: systemd 232 running in system mode. (+PAM
> +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP
> +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
> [6.774077] systemd[1]: Detected architecture x86-64.
> [6.870642] systemd[1]: Set hostname to .
> [8.285798] systemd[1]: Listening on LVM2 metadata daemon socket.
> [8.286228] systemd[1]: Listening on LVM2 poll daemon socket.
> [8.286680] systemd[1]: Set up automount Arbitrary Executable File
> Formats File System Automount Point.
> [8.286996] systemd[1]: Listening on Device-mapper event daemon FIFOs.
> [8.287353] systemd[1]: Listening on Journal Audit Socket.
> [8.287674] systemd[1]: Started Dispatch Password Requests to Console
> Directory Watch.
> [8.287972] systemd[1]: Listening on RPCbind Server Activation Socket.
> [9.059352] loop: module loaded
> [9.149613] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro
> [9.498760] RPC: Registered named UNIX socket transport module.
> [9.498803] RPC: Registered udp transport module.
> [9.498837] RPC: Registered tcp transport module.
> [9.498871] RPC: Registered tcp NFSv4.1 backchannel transport module.
> [   10.258718] systemd-journald[221]: File /var/log/journal/
> 0ca8a8b0a1569675c187692c5066cae3/system.journal corrupted or uncleanly
> shut down, renaming and replacing.
> [   10.623394] systemd-journald[221]: Received request to flush runtime
> journal from PID 1
> [   11.485959] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:
> 00/PNP0C0C:00/input/input6
> [   11.486007] ACPI: Power Button [PWRB]
> [   11.486125] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:
> 00/input/input7
> [   11.486164] ACPI: Power Button [PWRF]
> [   11.552262] piix4_smbus :00:14.0: SMBus Host Controller at 0xb00,
> revision 0
> [   11.552358] piix4_smbus :00:14.0: Auxiliary SMBus Host Controller
> at 0xb10
> [   11.724952] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
> [   11.739879] sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver v0.05
> [   11.740025] sp5100_tco: PCI Vendor ID: 0x1002, Device ID: 0x4385,
> Revision ID: 0x14
> [   11.740083] sp5100_tco: failed to find MMIO address, giving up.
> [   11.868374] [drm] Initialized drm 1.1.0 20060810
> [   11.877794] sd 0:0:0:0: Attached scsi generic sg0 type 0
> [   11.877895] sr 4:0:1:0: Attached scsi generic sg1 type 5
> [   11.877981] sd 6:0:0:0: Attached scsi generic sg2 type 0
> [   11.878062] sd 6:0:0:1: Attached scsi generic sg3 type 0
> [   11.878149] sd 6:0:0:2: Attached scsi generic sg4 type 0
> [   11.878229] sd 6:0:0:3: Attached scsi generic sg5 type 0
> [   11.990613] parport_pc 00:04: reported by Plug and Play ACPI
> [   11.990714] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
> [   12.280244] 

Bug#845382: BUG: soft lockup when radeon modesetting

2016-11-22 Thread Václav Ovsík
Package: src:linux
Version: 4.8.7-1
Severity: normal

Dear Maintainer,
I'm unable to boot into functional system with KMS radeon. When
radeon.modeset=0 on kernel command-line system it starts and run OK.
Without disabled modeset, mostly the screen goes blank, but sometimes
the messages stays on console. System is locked and not respond to sysrq
or so. Kernel stack is displayed periodically as watchdog initiates.
Captured messages (using netconsole) are attached.

Regards
-- 
Zito

-- Package-specific info:
** Version:
Linux version 4.8.0-1-amd64 (debian-kernel@lists.debian.org) (gcc version 5.4.1 
20161019 (Debian 5.4.1-3) ) #1 SMP Debian 4.8.7-1 (2016-11-13)

** Command line:
BOOT_IMAGE=/vmlinuz-4.8.0-1-amd64 
root=UUID=632652f0-7f3c-4316-a74d-d05f2fd4b3ae ro radeon.modeset=0

** Not tainted

** Kernel log:
[3.010746] scsi 6:0:0:1: Direct-Access Generic  STORAGE DEVICE   9317 
PQ: 0 ANSI: 0
[3.011944] scsi 6:0:0:2: Direct-Access Generic  STORAGE DEVICE   9317 
PQ: 0 ANSI: 0
[3.013151] scsi 6:0:0:3: Direct-Access Generic  STORAGE DEVICE   9317 
PQ: 0 ANSI: 0
[3.082153] sd 6:0:0:3: [sde] Attached SCSI removable disk
[3.083229] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[3.084577] sd 6:0:0:1: [sdc] Attached SCSI removable disk
[3.085913] sd 6:0:0:2: [sdd] Attached SCSI removable disk
[4.576131] floppy0: no floppy controllers found
[4.637754] PM: Starting manual resume from disk
[4.637800] PM: Hibernation image partition 8:2 present
[4.637801] PM: Looking for hibernation image.
[4.639867] PM: Image not found (code -22)
[4.639868] PM: Hibernation image not present or could not be loaded.
[5.144483] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: 
(null)
[6.504046] random: crng init done
[6.629488] ip_tables: (C) 2000-2006 Netfilter Core Team
[6.773851] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT 
+SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS 
+ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[6.774077] systemd[1]: Detected architecture x86-64.
[6.870642] systemd[1]: Set hostname to .
[8.285798] systemd[1]: Listening on LVM2 metadata daemon socket.
[8.286228] systemd[1]: Listening on LVM2 poll daemon socket.
[8.286680] systemd[1]: Set up automount Arbitrary Executable File Formats 
File System Automount Point.
[8.286996] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[8.287353] systemd[1]: Listening on Journal Audit Socket.
[8.287674] systemd[1]: Started Dispatch Password Requests to Console 
Directory Watch.
[8.287972] systemd[1]: Listening on RPCbind Server Activation Socket.
[9.059352] loop: module loaded
[9.149613] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro
[9.498760] RPC: Registered named UNIX socket transport module.
[9.498803] RPC: Registered udp transport module.
[9.498837] RPC: Registered tcp transport module.
[9.498871] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   10.258718] systemd-journald[221]: File 
/var/log/journal/0ca8a8b0a1569675c187692c5066cae3/system.journal corrupted or 
uncleanly shut down, renaming and replacing.
[   10.623394] systemd-journald[221]: Received request to flush runtime journal 
from PID 1
[   11.485959] input: Power Button as 
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input6
[   11.486007] ACPI: Power Button [PWRB]
[   11.486125] input: Power Button as 
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input7
[   11.486164] ACPI: Power Button [PWRF]
[   11.552262] piix4_smbus :00:14.0: SMBus Host Controller at 0xb00, 
revision 0
[   11.552358] piix4_smbus :00:14.0: Auxiliary SMBus Host Controller at 
0xb10
[   11.724952] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   11.739879] sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver v0.05
[   11.740025] sp5100_tco: PCI Vendor ID: 0x1002, Device ID: 0x4385, Revision 
ID: 0x14
[   11.740083] sp5100_tco: failed to find MMIO address, giving up.
[   11.868374] [drm] Initialized drm 1.1.0 20060810
[   11.877794] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   11.877895] sr 4:0:1:0: Attached scsi generic sg1 type 5
[   11.877981] sd 6:0:0:0: Attached scsi generic sg2 type 0
[   11.878062] sd 6:0:0:1: Attached scsi generic sg3 type 0
[   11.878149] sd 6:0:0:2: Attached scsi generic sg4 type 0
[   11.878229] sd 6:0:0:3: Attached scsi generic sg5 type 0
[   11.990613] parport_pc 00:04: reported by Plug and Play ACPI
[   11.990714] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
[   12.280244] [drm:radeon_init [radeon]] *ERROR* No UMS support in radeon 
module!
[   12.295488] k8temp :00:18.3: Temperature readouts might be wrong - check 
erratum #141
[   12.350432] input: PC Speaker as /devices/platform/pcspkr/input/input8
[   12.483323] b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip 
loaded successfully
[   12.494928] flexcop-pci: will use the