lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200809251511.20132.andres@anarazel.de>
Date:	Thu, 25 Sep 2008 15:11:14 +0200
From:	Andres Freund <andres@...razel.de>
To:	linux-kernel@...r.kernel.org
Subject: bad DMAR interaction with iwlagn and SATA

Hi,	

in some accident caused by wanting to create the .config/compile the kernel 
for my new laptop (thinkpad t500) before the desperately needed sleeping I 
activated DMAR...

I don't know if this is relevant, but I though i better report it.


This was on fb478da5ba69ecf40729ae8ab37ca406b1e5be48 - sometime after 2.6.27-
rc7

I stumbled over two buglets:
First:
[ 4184.617392] DMAR:[DMA Read] Request device [03:00.0] fault addr fa946000 
[ 4184.617393] DMAR:[fault reason 06] PTE Read access is not set
[ 4184.644081] iwlagn: Microcode HW error detected.  Restarting.
[ 4186.646000] psmouse.c: TouchPad at isa0060/serio1/input0 lost 
synchronization, throwing 1 bytes away.
[ 4186.683034] Registered led device: iwl-phy0:radio
[ 4186.683478] Registered led device: iwl-phy0:assoc
[ 4186.683793] Registered led device: iwl-phy0:RX
[ 4186.684094] Registered led device: iwl-phy0:TX
[ 4186.689749] wlan0: authenticate with AP 00:1d:7e:42:fe:42
[ 4186.691691] wlan0: authenticated
[ 4186.691705] wlan0: associate with AP 00:1d:7e:42:fe:42
[ 4186.696380] wlan0: RX ReassocResp from 00:1d:7e:42:fe:42 (capab=0x411 
status=0 aid=2)
[ 4186.696392] wlan0: associated

Most of the time when this happened, the machine wasnt reacting for 1-3 
seconds and had audio buffer underruns, but I also had a hard lockup which I 
couldnt diagnose so far.

Second:
[ 2937.484251] DMAR:[DMA Read] Request device [00:1f.2] fault addr fffbf000 
[ 2937.484255] DMAR:[fault reason 06] PTE Read access is not set
[ 2937.484297] ata1.00: exception Emask 0x60 SAct 0x1 SErr 0x800 action 0x6 
frozen
[ 2937.484303] ata1.00: irq_stat 0x20000000, host bus error
[ 2937.484309] ata1: SError: { HostInt }
[ 2937.484319] ata1.00: cmd 61/08:00:c0:1d:6b/00:00:07:00:00/40 tag 0 ncq 4096 
out
[ 2937.484321]          res 40/00:00:c0:1d:6b/00:00:07:00:00/40 Emask 0x60 
(host bus error)
[ 2937.484327] ata1.00: status: { DRDY }
[ 2937.484338] ata1: hard resetting link
[ 2937.803070] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 2937.844250] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 succeeded
[ 2937.844255] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
[ 2937.845315] ata1.00: ACPI cmd ef/5f:00:00:00:00:a0 succeeded
[ 2937.845319] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out
[ 2937.855347] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 succeeded
[ 2937.855353] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
[ 2937.855436] ata1.00: ACPI cmd ef/5f:00:00:00:00:a0 succeeded
[ 2937.855438] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out
[ 2937.856146] ata1.00: configured for UDMA/100
[ 2937.857754] ata1.00: configured for UDMA/100
[ 2937.857764] ata1: EH complete
[ 2937.857868] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 
MB)
[ 2937.857885] sd 0:0:0:0: [sda] Write Protect is off
[ 2937.857887] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 2937.857911] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[ 2937.857934] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 
MB)
[ 2937.857946] sd 0:0:0:0: [sda] Write Protect is off
[ 2937.857948] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 2937.857971] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA

System worked without propblems afterwards.

I think I had also some wierd interaction with ext3 - but I couldnt diagnose 
this as the machine crashed - there was some filesystem damage afterwards. But 
I wasnt able to diagnose it properly.


Andres

If you need dmesg or so, I will happily provide it - but I can't reboot just 
now, waiting for some long running work stuff.

View attachment "lspci-v" of type "text/plain" (9274 bytes)

Download attachment "config-2.6.27-rc7.old" of type "application/x-trash" (78964 bytes)

Download attachment "signature.asc " of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ