Package: src:linux
Version: 4.6.4-1a~test
Severity: important
Tags: upstream

Dear Maintainer,

I had a problem a while ago which I was able to work around,
something was occasionally wiping dm-raid bitmap superblocks.
https://bugzilla.kernel.org/show_bug.cgi?id=100491#c39

I have (coincidentally) been able to reproduce the problem, though some
userspace interaction may be the trigger.

Steps to reproduce.

mkdir $dir && cd $dir # I've tested on tmpfs and ext4 LVM DM-RAID.
for i in {0..4}; do dd if=/dev/zero bs=1M count=100 status=none | tr '\0' 'X' | 
dd of=PV$i status=none; done
for i in {0..4}; do sudo losetup -f PV$i; done
# *this assumes there are no existing loopback devices*
for x in /dev/loop{0..4}; do sudo pvcreate $x; done
sudo vgcreate VG_TEST /dev/loop{0..4}

# This should show:
#  an LVM label sector, magic "LABELONE"
#  a metadata header area sector, magic "LVM2 x[..."
#  a metadata region starting "VG_TEST {"
#  the data area left as Xs
od -a < PV0 | less

# Create a RAID LV on 5 PVs
sudo lvcreate --type raid6 -i 3 -L 100M -n goat VG_TEST

# This should show:
#  an LVM label sector, magic "LABELONE"
#  a metadata header area sector, magic "LVM2 x[..."
#  two metadata regions starting "VG_TEST {", the second one is the new one
#  the data area now populated with two LVs
#   the rmeta subLV containing
#    a DM-RAID superblock, magic "DmRd"
#    an MD bitmap superblock, magic "bitm"
#   the rimage subLV containing the (rotating) data, parity and syndrome 
stripes of the RAID LV
od -a < PV0 | less

Good excerpt, taken from a 3.17 kernel machine, PVs on tmpfs:
4000000   D   m   R   d nul nul nul nul enq nul nul nul nul nul nul nul
4000020 dc4 nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul
4000040 del del del del del del del del del del del del del del del del
4000060 ack nul nul nul  bs nul nul nul nul nul nul nul nul nul nul nul
4000100 nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul
*
4001000   X   X   X   X   X   X   X   X   X   X   X   X   X   X   X   X
*
4010000   b   i   t   m eot nul nul nul nul nul nul nul nul nul nul nul
4010020 nul nul nul nul nul nul nul nul dc4 nul nul nul nul nul nul nul
4010040 etx nul nul nul nul nul nul nul nul  sp soh nul nul nul nul nul
4010060 nul nul nul nul nul nul  bs nul enq nul nul nul nul nul nul nul
4010100 nul nul nul nul   $   l   *   #   \   o   c   G   t dc3   %   L
4010120   p   W   ,   y   j   ] dc2 ack  fs  so   !  so  gs   0   H   O
4010140   k   ]   [   -   2   %   /   p  us   ,   x   <   t   ~   E dc1
4010160   j etx   E  bs   "   |   &   #   \   V   +  si   h   K   Y   4
4010200   j   3  sp   c   %  fs sub   O   )   ' esc  fs   Z   _  em dle
4010220   j nak   :   k   e   5   - stx   q  gs   P   ^   C nul   *  nl
4010240   5 stx   :  vt   / nul   /  nl   o dc1   P   j   x   h   `   T
4010260   f nul   w   f   j  rs  em   X   ]   Y   L   I stx   v  ht   v
4010300   c   n   j  em   ? eot   _ ack   z   O   O   X   0   -   g syn
4010320  vt   w   ,   J   (   ,   7   \   +  em   T dc3   W soh   U   ^
4010340   N ack   [   |   <   r  bs   S bel   h bel   E   |   B   M   '
4010360  nl   k   {   n   Y  bs   ,   >   Z   .   Z   {   >   `   Z   s
4010400 del del del del del del del del del del del del del del del del
*

What I actually get:
4000000   D   m   R   d nul nul nul nul enq nul nul nul nul nul nul nul
4000020  sp nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul
4000040 del del del del del del del del del del del del del del del del
4000060 ack nul nul nul  bs nul nul nul nul nul nul nul nul nul nul nul
4000100 nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul
*
4001000   X   X   X   X   X   X   X   X   X   X   X   X   X   X   X   X
*
4010020   X   X   X   X   X   X   X   X  sp nul nul nul nul nul nul nul
4010040 stx nul nul nul nul nul nul nul nul  sp soh nul nul nul nul nul
4010060 nul nul nul nul nul nul  bs nul enq nul nul nul nul nul nul nul
4010100 nul nul nul nul nul nul nul nul   X   X   X   X   X   X   X   X
4010120   X   X   X   X   X   X   X   X   X   X   X   X   X   X   X   X
*
4010400 nul nul nul nul nul nul nul nul nul del del del del del del del
4010420 del del del del del del del del del del del del del del del del
*

Deactivating and then reactivating the RAID LV fails:

$ sudo lvchange -an VG_TEST2/goat
$ sudo lvchange -ay VG_TEST2/goat
  device-mapper: reload ioctl on (254:81) failed: Invalid argument

and (additional to the main kernel log below):

[147437.640778] device-mapper: raid: raid456 discard support disabled due to 
discard_zeroes_data uncertainty.
[147437.641999] device-mapper: raid: Set 
dm-raid.devices_handle_discard_safely=Y to override.
[147437.644018] md/raid:mdX: device dm-80 operational as raid disk 4
[147437.645202] md/raid:mdX: device dm-78 operational as raid disk 3
[147437.646349] md/raid:mdX: device dm-76 operational as raid disk 2
[147437.647486] md/raid:mdX: device dm-74 operational as raid disk 1
[147437.648619] md/raid:mdX: device dm-72 operational as raid disk 0
[147437.650230] md/raid:mdX: allocated 5432kB
[147437.651414] md/raid:mdX: raid level 6 active with 5 out of 5 devices, 
algorithm 8
[147437.652636] RAID conf printout:
[147437.652637]  --- level:6 rd:5 wd:5
[147437.652638]  disk 0, o:1, dev:dm-72
[147437.652639]  disk 1, o:1, dev:dm-74
[147437.652639]  disk 2, o:1, dev:dm-76
[147437.652640]  disk 3, o:1, dev:dm-78
[147437.652640]  disk 4, o:1, dev:dm-80
[147437.652675] mdX: invalid bitmap file superblock: bad magic
[147437.652676] mdX: bitmap file superblock:
[147437.652676]          magic: 58585858
[147437.652677]        version: 1482184792
[147437.652677]           uuid: 58585858.58585858.58585858.58585858
[147437.652678]         events: 34
[147437.652678] events cleared: 34
[147437.652678]          state: 00000000
[147437.652679]      chunksize: 524288 B
[147437.652679]   daemon sleep: 5s
[147437.652679]      sync size: 36864 KB
[147437.652679] max write behind: 0
[147437.652681] mdX: failed to create bitmap (-22)
[147437.653042] device-mapper: table: 254:81: raid: Fail to run raid array
[147437.653043] device-mapper: ioctl: error adding target to table

Apparent from this is that the events, daemon sleep and other values have
correctly been updated. A previous experiment showed that setting the
magic to "bitm" and zeroing the version and uuid fields is enough to get
things working again (to be more precise, everything was 0 rather than 'X'
and I just had to set the magic).

I have tried syncing and dropping cache just before the lvcreate, but this
made no difference.

Lastly, while this is a home-built kernel, it only differs from the maintainer
package by a tiny patch to the pata_via driver.

-- Package-specific info:
** Version:
Linux version 4.6.0-1-amd64 (debian-ker...@lists.debian.org) (gcc version 5.4.1 
20160803 (Debian 5.4.1-1) ) #1 SMP Debian 4.6.4-1a~test (2016-09-16)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-4.6.0-1-amd64 root=/dev/mapper/vg0-root ro single 
rootdelay=3 ignore_loglevel crashkernel=128M nmi_watchdog=panic,1 
softlockup_panic=1 netconsole=@192.168.0.12/eth0,@192.168.0.4/6c:40:08:97:dd:e6

** Tainted: E (8192)
 * Unsigned module has been loaded (currently expected).

** Kernel log:
[145070.641666] device-mapper: raid: Superblocks created for new array
[145070.642850] device-mapper: raid: raid456 discard support disabled due to 
discard_zeroes_data uncertainty.
[145070.644005] device-mapper: raid: Set 
dm-raid.devices_handle_discard_safely=Y to override.
[145070.645805] md/raid:mdX: not clean -- starting background reconstruction
[145070.647043] md/raid:mdX: device dm-80 operational as raid disk 4
[145070.647044] md/raid:mdX: device dm-78 operational as raid disk 3
[145070.647045] md/raid:mdX: device dm-76 operational as raid disk 2
[145070.647045] md/raid:mdX: device dm-74 operational as raid disk 1
[145070.647046] md/raid:mdX: device dm-72 operational as raid disk 0
[145070.647483] md/raid:mdX: allocated 5432kB
[145070.648175] md/raid:mdX: raid level 6 active with 5 out of 5 devices, 
algorithm 8
[145070.648175] RAID conf printout:
[145070.648176]  --- level:6 rd:5 wd:5
[145070.648176]  disk 0, o:1, dev:dm-72
[145070.648177]  disk 1, o:1, dev:dm-74
[145070.648177]  disk 2, o:1, dev:dm-76
[145070.648178]  disk 3, o:1, dev:dm-78
[145070.648178]  disk 4, o:1, dev:dm-80
[145070.648186] Choosing daemon_sleep default (5 sec)
[145070.648189] created bitmap (1 pages) for device mdX
[145070.674016] mdX: bitmap file is out of date, doing full recovery
[145070.675335] mdX: bitmap initialized from disk: read 1 pages, set 72 of 72 
bits
[145070.691656] md: resync of RAID array mdX
[145070.693401] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
[145070.695155] md: using maximum available idle IO bandwidth (but not more 
than 200000 KB/sec) for resync.
[145070.696968] md: using 128k window, over a total of 36864k.
[145070.773862] md: mdX: resync interrupted.
[145070.775164] md: checkpointing resync of mdX.
[145070.794848] md: resync of RAID array mdX
[145070.799917] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
[145070.804968] md: using maximum available idle IO bandwidth (but not more 
than 200000 KB/sec) for resync.
[145070.810114] md: using 128k window, over a total of 36864k.
[145070.845863] md: mdX: resync interrupted.
[145070.847742] md: checkpointing resync of mdX.
[145070.871804] md: resync of RAID array mdX
[145070.876836] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
[145070.881800] md: using maximum available idle IO bandwidth (but not more 
than 200000 KB/sec) for resync.
[145070.886884] md: using 128k window, over a total of 36864k.
[145070.896358] md: mdX: resync interrupted.
[145070.897801] md: checkpointing resync of mdX.
[145070.929289] md: resync of RAID array mdX
[145070.931155] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
[145070.932977] md: using maximum available idle IO bandwidth (but not more 
than 200000 KB/sec) for resync.
[145070.934844] md: using 128k window, over a total of 36864k.
[145070.936699] md: mdX: resync interrupted.
[145070.966134] md: resync of RAID array mdX
[145070.967377] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
[145070.968572] md: using maximum available idle IO bandwidth (but not more 
than 200000 KB/sec) for resync.
[145070.969791] md: using 128k window, over a total of 36864k.
[145071.001915] md: mdX: resync interrupted.
[145071.003150] md: checkpointing resync of mdX.
[145071.019352] md: resync of RAID array mdX
[145071.024445] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
[145071.029463] md: using maximum available idle IO bandwidth (but not more 
than 200000 KB/sec) for resync.
[145071.034543] md: using 128k window, over a total of 36864k.
[145071.341955] md: mdX: resync done.
[145071.347461] RAID conf printout:
[145071.352566]  --- level:6 rd:5 wd:5
[145071.352570]  disk 0, o:1, dev:dm-72
[145071.352572]  disk 1, o:1, dev:dm-74
[145071.352574]  disk 2, o:1, dev:dm-76
[145071.352575]  disk 3, o:1, dev:dm-78
[145071.352577]  disk 4, o:1, dev:dm-80

** Model information
sys_vendor: System manufacturer
product_name: System Product Name
product_version: System Version
chassis_vendor: Chassis Manufacture
chassis_version: Chassis Version
bios_vendor: American Megatrends Inc.
bios_version: 1704   
board_vendor: ASUSTeK Computer INC.
board_name: M4A88TD-M EVO
board_version: Rev X.0x

** Loaded modules:
loop(E)
deflate(E)
drbg(E)
ansi_cprng(E)
ctr(E)
twofish_generic(E)
twofish_x86_64_3way(E)
twofish_x86_64(E)
twofish_common(E)
camellia_generic(E)
camellia_x86_64(E)
serpent_sse2_x86_64(E)
xts(E)
serpent_generic(E)
blowfish_generic(E)
blowfish_x86_64(E)
blowfish_common(E)
cast5_generic(E)
cast_common(E)
des_generic(E)
cbc(E)
cmac(E)
xcbc(E)
rmd160(E)
sha512_ssse3(E)
sha512_generic(E)
ip6table_filter(E)
hmac(E)
ip6table_mangle(E)
af_key(E)
ip6_tables(E)
xfrm_algo(E)
ipt_REJECT(E)
nf_reject_ipv4(E)
xt_multiport(E)
iptable_filter(E)
iptable_mangle(E)
iptable_nat(E)
nf_conntrack_ipv4(E)
nf_defrag_ipv4(E)
nf_nat_ipv4(E)
nf_nat(E)
nf_conntrack(E)
ip_tables(E)
x_tables(E)
nfsd(E)
auth_rpcgss(E)
nfs_acl(E)
nfs(E)
lockd(E)
grace(E)
fscache(E)
sunrpc(E)
tcp_diag(E)
inet_diag(E)
lp(E)
dm_crypt(E)
ppdev(E)
snd_hda_codec_realtek(E)
snd_hda_codec_generic(E)
snd_hda_codec_hdmi(E)
snd_hda_intel(E)
snd_hda_codec(E)
snd_hda_core(E)
edac_mce_amd(E)
kvm_amd(E)
kvm(E)
edac_core(E)
k10temp(E)
evdev(E)
serio_raw(E)
irqbypass(E)
snd_hwdep(E)
pcspkr(E)
snd_pcm_oss(E)
snd_mixer_oss(E)
snd_pcm(E)
sg(E)
snd_timer(E)
tpm_infineon(E)
wmi(E)
snd(E)
acpi_cpufreq(E)
soundcore(E)
sp5100_tco(E)
tpm_tis(E)
parport_pc(E)
8250_fintek(E)
asus_atk0110(E)
processor(E)
parport(E)
tpm(E)
button(E)
i2c_piix4(E)
shpchp(E)
ext4(E)
ecb(E)
glue_helper(E)
lrw(E)
gf128mul(E)
ablk_helper(E)
cryptd(E)
aes_x86_64(E)
crc16(E)
jbd2(E)
mbcache(E)
raid10(E)
raid1(E)
raid0(E)
multipath(E)
linear(E)
netconsole(E)
configfs(E)
dm_raid(E)
raid456(E)
async_raid6_recov(E)
async_memcpy(E)
async_pq(E)
async_xor(E)
async_tx(E)
md_mod(E)
xor(E)
raid6_pq(E)
libcrc32c(E)
crc32c_generic(E)
dm_mod(E)
hid_generic(E)
usbhid(E)
hid(E)
sd_mod(E)
sr_mod(E)
cdrom(E)
ata_generic(E)
ohci_pci(E)
r8169(E)
mii(E)
pata_via(E)
ahci(E)
libahci(E)
libata(E)
firewire_ohci(E)
scsi_mod(E)
firewire_core(E)
crc_itu_t(E)
xhci_pci(E)
xhci_hcd(E)
radeon(E)
i2c_algo_bit(E)
drm_kms_helper(E)
ttm(E)
drm(E)
ehci_pci(E)
ohci_hcd(E)
ehci_hcd(E)
usbcore(E)
usb_common(E)
fjes(E)

** PCI devices:
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] RS880 Host 
Bridge [1022:9601]
        Subsystem: ASUSTeK Computer Inc. M5A88-V EVO [1043:843e]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort+ >SERR- <PERR- INTx-
        Latency: 0
        Capabilities: <access denied>

00:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI 
bridge (ext gfx port 0) [1022:9603] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 24
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000b000-0000bfff
        Memory behind bridge: fe700000-fe7fffff
        Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ <SERR- <PERR-
        BridgeCtl: Parity+ SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI 
bridge (PCIE port 2) [1022:9606] (prog-if 00 [Normal decode])
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 25
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Memory behind bridge: fe800000-fe8fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ <SERR- <PERR-
        BridgeCtl: Parity+ SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI 
to PCI bridge (PCIE port 3) [1022:9607] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 26
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: fe900000-fe9fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ <SERR- <PERR-
        BridgeCtl: Parity+ SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI 
to PCI bridge (PCIE port 4) [1022:9608] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 27
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: fea00000-feafffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ <SERR- <PERR-
        BridgeCtl: Parity+ SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:0a.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI 
to PCI bridge (PCIE port 5) [1022:9609] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 28
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: feb00000-febfffff
        Prefetchable memory behind bridge: 00000000fdf00000-00000000fdffffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ <SERR- <PERR-
        BridgeCtl: Parity+ SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] [1002:4391] (rev 40) (prog-if 01 
[AHCI 1.0])
        Subsystem: ASUSTeK Computer Inc. M5A88-V EVO [1043:8443]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 19
        Region 0: I/O ports at a000 [size=8]
        Region 1: I/O ports at 9000 [size=4]
        Region 2: I/O ports at 8000 [size=8]
        Region 3: I/O ports at 7000 [size=4]
        Region 4: I/O ports at 6000 [size=16]
        Region 5: Memory at fe6ffc00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>
        Kernel driver in use: ahci
        Kernel modules: ahci

00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397] (prog-if 10 [OHCI])
        Subsystem: ASUSTeK Computer Inc. M5A88-V EVO [1043:8443]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at fe6fe000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci

00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396] (prog-if 20 [EHCI])
        Subsystem: ASUSTeK Computer Inc. M5A88-V EVO [1043:8443]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 17
        Region 0: Memory at fe6ff800 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci

00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397] (prog-if 10 [OHCI])
        Subsystem: ASUSTeK Computer Inc. M5A88-V EVO [1043:8443]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at fe6fd000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci

00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396] (prog-if 20 [EHCI])
        Subsystem: ASUSTeK Computer Inc. M5A88-V EVO [1043:8443]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 17
        Region 0: Memory at fe6ff400 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci

00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus 
Controller [1002:4385] (rev 41)
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Kernel modules: i2c_piix4, sp5100_tco

00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 
Azalia (Intel HDA) [1002:4383] (rev 40)
        Subsystem: ASUSTeK Computer Inc. M5A88-V EVO [1043:841b]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at fe6f4000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d] (rev 40)
        Subsystem: ASUSTeK Computer Inc. M5A88-V EVO [1043:8443]
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0

00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to 
PCI Bridge [1002:4384] (rev 40) (prog-if 01 [Subtractive decode])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=64
        Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity+ SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

00:14.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB OHCI2 Controller [1002:4399] (prog-if 10 [OHCI])
        Subsystem: ASUSTeK Computer Inc. M5A88-V EVO [1043:8443]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin C routed to IRQ 18
        Region 0: Memory at fe6fc000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci

00:16.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397] (prog-if 10 [OHCI])
        Subsystem: ASUSTeK Computer Inc. M5A88-V EVO [1043:8443]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at fe6f3000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci

00:16.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396] (prog-if 20 [EHCI])
        Subsystem: ASUSTeK Computer Inc. M5A88-V EVO [1043:8443]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 17
        Region 0: Memory at fe6ff000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci

00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h 
Processor HyperTransport Configuration [1022:1200]
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Capabilities: <access denied>

00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h 
Processor Address Map [1022:1201]
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-

00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h 
Processor DRAM Controller [1022:1202]
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Kernel modules: amd64_edac_mod

00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h 
Processor Miscellaneous Control [1022:1203]
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Capabilities: <access denied>
        Kernel driver in use: k10temp
        Kernel modules: k10temp

00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h 
Processor Link Control [1022:1204]
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] RV730 XT [Radeon HD 4670] [1002:9490] (prog-if 00 [VGA controller])
        Subsystem: PC Partner Limited / Sapphire Technology RV730 XT [Radeon HD 
4670] [174b:e100]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 35
        Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Region 2: Memory at fe7f0000 (64-bit, non-prefetchable) [size=64K]
        Region 4: I/O ports at b000 [size=256]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: radeon
        Kernel modules: radeon

01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 
HDMI Audio [Radeon HD 4000 series] [1002:aa38]
        Subsystem: PC Partner Limited / Sapphire Technology RV710/730 HDMI 
Audio [Radeon HD 4000 series] [174b:aa38]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 37
        Region 0: Memory at fe7ec000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

02:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host 
Controller [1033:0194] (rev 03) (prog-if 30 [XHCI])
        Subsystem: ASUSTeK Computer Inc. P8P67 Deluxe Motherboard [1043:8413]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at fe8fe000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

03:00.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6315 Series 
Firewire Controller [1106:3403] (prog-if 10 [OHCI])
        Subsystem: ASUSTeK Computer Inc. M5A88-V EVO [1043:8374]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 19
        Region 0: Memory at fe9ff800 (64-bit, non-prefetchable) [size=2K]
        Region 2: I/O ports at c800 [size=256]
        Capabilities: <access denied>
        Kernel driver in use: firewire_ohci
        Kernel modules: firewire_ohci

04:00.0 IDE interface [0101]: VIA Technologies, Inc. VT6415 PATA IDE Host 
Controller [1106:0415] (prog-if 85 [Master SecO PriO])
        Subsystem: ASUSTeK Computer Inc. Motherboard [1043:838f]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 34
        Region 0: I/O ports at dc00 [size=8]
        Region 1: I/O ports at d880 [size=4]
        Region 2: I/O ports at d800 [size=8]
        Region 3: I/O ports at d480 [size=4]
        Region 4: I/O ports at d400 [size=16]
        Expansion ROM at feaf0000 [disabled] [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: pata_via
        Kernel modules: pata_via, ata_generic

05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
        Subsystem: ASUSTeK Computer Inc. P8P67 and other motherboards 
[1043:8432]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 36
        Region 0: I/O ports at e800 [size=256]
        Region 2: Memory at fdfff000 (64-bit, prefetchable) [size=4K]
        Region 4: Memory at fdff8000 (64-bit, prefetchable) [size=16K]
        Expansion ROM at febe0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169


** USB devices:
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 13ba:0017 PCPlay PS/2 Keyboard+Mouse Adapter
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages linux-image-4.6.0-1-amd64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.125
ii  kmod                                    22-1.1
ii  linux-base                              4.4

Versions of packages linux-image-4.6.0-1-amd64 recommends:
ii  firmware-linux-free  3.4
ii  irqbalance           1.1.0-2

Versions of packages linux-image-4.6.0-1-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-pc                 2.02~beta2-36
pn  linux-doc-4.6           <none>

Versions of packages linux-image-4.6.0-1-amd64 is related to:
ii  firmware-amd-graphics     20160110-1
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
pn  firmware-brcm80211        <none>
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
ii  firmware-linux-nonfree    20160110-1
ii  firmware-misc-nonfree     20160110-1
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
ii  firmware-realtek          20160110-1
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information

Reply via email to