* Re: SW-IOMMU / ata_piix errors with 2.6.27-rc1
[not found] <fa.64b92XSd5HpCdpOYcDENnJSZJyw@ifi.uio.no>
@ 2008-08-03 20:30 ` Robert Hancock
2008-08-04 0:40 ` Juergen Kreileder
0 siblings, 1 reply; 12+ messages in thread
From: Robert Hancock @ 2008-08-03 20:30 UTC (permalink / raw)
To: Juergen Kreileder; +Cc: linux-kernel, linux-ide
Juergen Kreileder wrote:
> Hi,
>
> I get lots of errors like this with 2.6.27-rc1 on my
> Macbook Pro (3rd generation), 2.6.26 seems to work fine:
>
> [ 907.524509] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
> [ 907.524783] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> [ 907.524796] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
> [ 907.524798] res 50/00:00:ff:90:5c/00:00:0f:00:00/ef Emask 0x40 (internal error)
> [ 907.524805] ata3.00: status: { DRDY }
> [ 907.646590] ata3.00: configured for UDMA/133
> [ 907.646624] ata3: EH complete
> [ 907.647028] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
> [ 907.647139] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> [ 907.647161] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
> [ 907.647166] res 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x40 (internal error)
> [ 907.647178] ata3.00: status: { DRDY }
> [ 907.693193] ata3.00: configured for UDMA/133
> [ 907.693225] ata3: EH complete
> [ 907.693629] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
> [ 907.693684] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> [ 907.693696] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
> [ 907.693698] res 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x40 (internal error)
> [ 907.693784] ata3.00: status: { DRDY }
> [ 907.739868] ata3.00: configured for UDMA/133
> [ 907.739899] ata3: EH complete
> [ 907.740255] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
> [ 907.740255] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> [ 907.740389] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
> [ 907.740394] res 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x40 (internal error)
> [ 907.740406] ata3.00: status: { DRDY }
> [ 907.785818] ata3.00: configured for UDMA/133
> [ 907.785850] ata3: EH complete
> [ 907.786124] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
> [ 907.786206] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> [ 907.786230] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
> [ 907.786235] res 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x40 (internal error)
> [ 907.786249] ata3.00: status: { DRDY }
> [ 907.831742] ata3.00: configured for UDMA/133
> [ 907.831774] ata3: EH complete
> [ 907.832087] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
> [ 907.832163] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> [ 907.832186] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
> [ 907.832191] res 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x40 (internal error)
> [ 907.832284] ata3.00: status: { DRDY }
> [ 907.877603] ata3.00: configured for UDMA/133
> [ 907.877646] sd 2:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
> [ 907.877654] sd 2:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
> [ 907.877664] Descriptor sense data with sense descriptors (in hex):
> [ 907.877668] 72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
> [ 907.877688] 25 42 ea af
> [ 907.877696] sd 2:0:0:0: [sda] Add. Sense: No additional sense information
> [ 907.877704] end_request: I/O error, dev sda, sector 257724680
> [ 907.877714] Buffer I/O error on device sda3, logical block 7728326
> [ 907.877718] lost page write due to I/O error on sda3
> [ 907.877727] Buffer I/O error on device sda3, logical block 7728327
> [ 907.877731] lost page write due to I/O error on sda3
> [ 907.877737] Buffer I/O error on device sda3, logical block 7728328
> [ 907.877741] lost page write due to I/O error on sda3
> [ 907.877747] Buffer I/O error on device sda3, logical block 7728329
> [ 907.877751] lost page write due to I/O error on sda3
> [ 907.877757] Buffer I/O error on device sda3, logical block 7728330
> [ 907.877762] lost page write due to I/O error on sda3
> [ 907.877767] Buffer I/O error on device sda3, logical block 7728331
> [ 907.877771] lost page write due to I/O error on sda3
> [ 907.877777] Buffer I/O error on device sda3, logical block 7728332
> [ 907.877781] lost page write due to I/O error on sda3
> [ 907.877787] Buffer I/O error on device sda3, logical block 7728333
> [ 907.877791] lost page write due to I/O error on sda3
> [ 907.877797] Buffer I/O error on device sda3, logical block 7728334
> [ 907.877801] lost page write due to I/O error on sda3
> [ 907.877864] ata3: EH complete
> [ 907.878318] DMA: Out of SW-IOMMU space for 36864 bytes at device 0000:00:1f.2
> ..
> ..
> ..
>
> I'm running an x86-64 kernel and the machine has 4GB.
>
> [ 2.819749] ata_piix 0000:00:1f.1: version 2.12
> [ 2.819811] ata_piix 0000:00:1f.1: power state changed by ACPI to D0
> [ 2.819816] ata_piix 0000:00:1f.1: PCI INT A -> GSI 21 (level, low) -> IRQ 21
> [ 2.819850] ata_piix 0000:00:1f.1: setting latency timer to 64
> [ 2.819941] scsi0 : ata_piix
> [ 2.820165] scsi1 : ata_piix
> [ 2.820621] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x60e0 irq 14
> [ 2.820623] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x60e8 irq 15
> [ 2.975131] ata1.00: ATAPI: MATSHITADVD-R UJ-857E, ZA0E, max UDMA/66
> [ 2.981027] ata1.00: configured for UDMA/66
> [ 3.155025] scsi 0:0:0:0: CD-ROM MATSHITA DVD-R UJ-857E ZA0E PQ: 0 ANSI: 5
> [ 3.155025] ata_piix 0000:00:1f.2: PCI INT B -> GSI 18 (level, low) -> IRQ 18
> [ 3.155025] ata_piix 0000:00:1f.2: MAP [ P0 -- -- -- ]
> [ 3.155025] ata_piix 0000:00:1f.2: setting latency timer to 64
> [ 3.171708] scsi2 : ata_piix
> [ 3.183270] scsi3 : ata_piix
> [ 3.184051] ata3: SATA max UDMA/133 cmd 0x60f8 ctl 0x6114 bmdma 0x6020 irq 18
> [ 3.184053] ata4: SATA max UDMA/133 cmd 0x60f0 ctl 0x6110 bmdma 0x6028 irq 18
> [ 3.355353] ata3.00: ATA-8: SAMSUNG HM320JI, 2SS00_01, max UDMA7
> [ 3.355358] ata3.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 0/32)
> [ 3.379686] ata3.00: configured for UDMA/133
> [ 3.563969] scsi 2:0:0:0: Direct-Access ATA SAMSUNG HM320JI 2SS0 PQ: 0 ANSI: 5
> [ 3.576523] scsi 0:0:0:0: Attached scsi generic sg0 type 5
> [ 3.576555] scsi 2:0:0:0: Attached scsi generic sg1 type 0
> [ 3.578422] Driver 'sd' needs updating - please use bus_type methods
> [ 3.578503] sd 2:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
> [ 3.578521] sd 2:0:0:0: [sda] Write Protect is off
> [ 3.578522] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
> [ 3.578550] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> [ 3.578625] sd 2:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
> [ 3.578643] sd 2:0:0:0: [sda] Write Protect is off
> [ 3.578644] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
> [ 3.578678] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> [ 3.578680] sda:<6>usb 7-1: configuration #1 chosen from 1 choice
> [ 4.174973] sda1 sda2 sda3 sda4 sda5
> [ 4.175168] sd 2:0:0:0: [sda] Attached SCSI disk
>
>
> 00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
> Subsystem: Apple Computer Inc. Device 00a0
> 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
> Interrupt: pin B routed to IRQ 18
> Region 0: I/O ports at 60f8 [size=8]
> Region 1: I/O ports at 6114 [size=4]
> Region 2: I/O ports at 60f0 [size=8]
> Region 3: I/O ports at 6110 [size=4]
> Region 4: I/O ports at 6020 [size=16]
> Region 5: I/O ports at 1000 [size=16]
> Capabilities: <access denied>
> Kernel driver in use: ata_piix
> Kernel modules: ata_piix, pata_acpi, ata_generic
>
>
> Any suggestions?
You can try increasing the swiotlb size by booting with swiotlb=65536
(for 128MB) or swiotlb=131072 (for 256MB), and see if that makes the
problem go away.. It's unclear why you'd be running out of SWIOTLB space
now, though, if 2.6.26 worked fine..
I wonder why Apple hasn't set up the SATA controller in AHCI mode on
these machines. If they had, you wouldn't have this problem as it would
support 64-bit DMA and not need the SWIOTLB.
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: SW-IOMMU / ata_piix errors with 2.6.27-rc1
2008-08-03 20:30 ` SW-IOMMU / ata_piix errors with 2.6.27-rc1 Robert Hancock
@ 2008-08-04 0:40 ` Juergen Kreileder
2008-08-04 2:19 ` Tejun Heo
0 siblings, 1 reply; 12+ messages in thread
From: Juergen Kreileder @ 2008-08-04 0:40 UTC (permalink / raw)
To: Robert Hancock; +Cc: linux-kernel, linux-ide
Robert Hancock wrote:
> Juergen Kreileder wrote:
>> Hi,
>>
>> I get lots of errors like this with 2.6.27-rc1 on my
>> Macbook Pro (3rd generation), 2.6.26 seems to work fine:
>>
>> [ 907.524509] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
>> [ 907.524783] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
>> [ 907.524796] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
>> [ 907.524798] res 50/00:00:ff:90:5c/00:00:0f:00:00/ef Emask 0x40 (internal error)
>> [ 907.524805] ata3.00: status: { DRDY }
>> [ 907.646590] ata3.00: configured for UDMA/133
>> [ 907.646624] ata3: EH complete
>>
>>
>> Any suggestions?
>
> You can try increasing the swiotlb size by booting with swiotlb=65536
> (for 128MB) or swiotlb=131072 (for 256MB), and see if that makes the
> problem go away.. It's unclear why you'd be running out of SWIOTLB space
> now, though, if 2.6.26 worked fine..
Still happening, although 256M make it a bit harder to trigger.
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: SW-IOMMU / ata_piix errors with 2.6.27-rc1
2008-08-04 0:40 ` Juergen Kreileder
@ 2008-08-04 2:19 ` Tejun Heo
2008-08-04 2:47 ` Robert Hancock
0 siblings, 1 reply; 12+ messages in thread
From: Tejun Heo @ 2008-08-04 2:19 UTC (permalink / raw)
To: Juergen Kreileder; +Cc: Robert Hancock, linux-kernel, linux-ide
Juergen Kreileder wrote:
> Robert Hancock wrote:
>> Juergen Kreileder wrote:
>>> Hi,
>>>
>>> I get lots of errors like this with 2.6.27-rc1 on my
>>> Macbook Pro (3rd generation), 2.6.26 seems to work fine:
>>>
>>> [ 907.524509] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
>>> [ 907.524783] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
>>> [ 907.524796] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
>>> [ 907.524798] res 50/00:00:ff:90:5c/00:00:0f:00:00/ef Emask 0x40 (internal error)
>>> [ 907.524805] ata3.00: status: { DRDY }
>>> [ 907.646590] ata3.00: configured for UDMA/133
>>> [ 907.646624] ata3: EH complete
>
>>>
>>> Any suggestions?
>> You can try increasing the swiotlb size by booting with swiotlb=65536
>> (for 128MB) or swiotlb=131072 (for 256MB), and see if that makes the
>> problem go away.. It's unclear why you'd be running out of SWIOTLB space
>> now, though, if 2.6.26 worked fine..
>
> Still happening, although 256M make it a bit harder to trigger.
Hmm... sounds like mapping is leaking. Eh... iommu leak debug seems to
support only AMD GART IOMMU. How long does it take to reproduce the
bug? Once it happens, it never recovers, right? Does the problem
happen with minimal configuration w/ only libata enabled (no network, no
sound, no usb...)?
--
tejun
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: SW-IOMMU / ata_piix errors with 2.6.27-rc1
2008-08-04 2:19 ` Tejun Heo
@ 2008-08-04 2:47 ` Robert Hancock
2008-08-04 22:09 ` Juergen Kreileder
0 siblings, 1 reply; 12+ messages in thread
From: Robert Hancock @ 2008-08-04 2:47 UTC (permalink / raw)
To: Tejun Heo; +Cc: Juergen Kreileder, linux-kernel, linux-ide
Tejun Heo wrote:
> Juergen Kreileder wrote:
>> Robert Hancock wrote:
>>> Juergen Kreileder wrote:
>>>> Hi,
>>>>
>>>> I get lots of errors like this with 2.6.27-rc1 on my
>>>> Macbook Pro (3rd generation), 2.6.26 seems to work fine:
>>>>
>>>> [ 907.524509] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
>>>> [ 907.524783] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
>>>> [ 907.524796] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
>>>> [ 907.524798] res 50/00:00:ff:90:5c/00:00:0f:00:00/ef Emask 0x40 (internal error)
>>>> [ 907.524805] ata3.00: status: { DRDY }
>>>> [ 907.646590] ata3.00: configured for UDMA/133
>>>> [ 907.646624] ata3: EH complete
>>>> Any suggestions?
>>> You can try increasing the swiotlb size by booting with swiotlb=65536
>>> (for 128MB) or swiotlb=131072 (for 256MB), and see if that makes the
>>> problem go away.. It's unclear why you'd be running out of SWIOTLB space
>>> now, though, if 2.6.26 worked fine..
>> Still happening, although 256M make it a bit harder to trigger.
>
> Hmm... sounds like mapping is leaking. Eh... iommu leak debug seems to
> support only AMD GART IOMMU. How long does it take to reproduce the
> bug? Once it happens, it never recovers, right? Does the problem
> happen with minimal configuration w/ only libata enabled (no network, no
> sound, no usb...)?
Yes, that would be a good test.. Easiest way might be booting with
init=/bin/sh and running some processes that do lots of disk access..
^ permalink raw reply [flat|nested] 12+ messages in thread* [ath9k-devel] Running out of SWIOTLB space (was: SW-IOMMU / ata_piix errors with 2.6.27-rc1)
2008-08-04 2:47 ` Robert Hancock
2008-08-04 22:09 ` Juergen Kreileder
@ 2008-08-04 22:09 ` Juergen Kreileder
0 siblings, 0 replies; 12+ messages in thread
From: Juergen Kreileder @ 2008-08-04 22:09 UTC (permalink / raw)
To: ath9k-devel
Robert Hancock wrote:
> Tejun Heo wrote:
>> Juergen Kreileder wrote:
>>> Robert Hancock wrote:
>>>> Juergen Kreileder wrote:
>>>>> Hi,
>>>>>
>>>>> I get lots of errors like this with 2.6.27-rc1 on my
>>>>> Macbook Pro (3rd generation), 2.6.26 seems to work fine:
>>>>>
>>>>> [ 907.524509] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
>>>>> [ 907.524783] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
>>>>> [ 907.524796] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
>>>>> [ 907.524798] res 50/00:00:ff:90:5c/00:00:0f:00:00/ef Emask 0x40 (internal error)
>>>>> [ 907.524805] ata3.00: status: { DRDY }
>>>>> [ 907.646590] ata3.00: configured for UDMA/133
>>>>> [ 907.646624] ata3: EH complete
>>>>> Any suggestions?
>>>> You can try increasing the swiotlb size by booting with swiotlb=65536
>>>> (for 128MB) or swiotlb=131072 (for 256MB), and see if that makes the
>>>> problem go away.. It's unclear why you'd be running out of SWIOTLB space
>>>> now, though, if 2.6.26 worked fine..
>>> Still happening, although 256M make it a bit harder to trigger.
>> Hmm... sounds like mapping is leaking. Eh... iommu leak debug seems to
>> support only AMD GART IOMMU. How long does it take to reproduce the
>> bug? Once it happens, it never recovers, right? Does the problem
>> happen with minimal configuration w/ only libata enabled (no network, no
>> sound, no usb...)?
>
> Yes, that would be a good test.. Easiest way might be booting with
> init=/bin/sh and running some processes that do lots of disk access..
After a bit more testing I'm pretty sure the problem is caused by an
external driver, namely the new ath9k driver.
Sorry for the noise on the wrong lists.
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/
^ permalink raw reply [flat|nested] 12+ messages in thread* Running out of SWIOTLB space (was: SW-IOMMU / ata_piix errors with 2.6.27-rc1)
@ 2008-08-04 22:09 ` Juergen Kreileder
0 siblings, 0 replies; 12+ messages in thread
From: Juergen Kreileder @ 2008-08-04 22:09 UTC (permalink / raw)
To: Robert Hancock, ath9k-devel; +Cc: Tejun Heo, linux-kernel, linux-ide
Robert Hancock wrote:
> Tejun Heo wrote:
>> Juergen Kreileder wrote:
>>> Robert Hancock wrote:
>>>> Juergen Kreileder wrote:
>>>>> Hi,
>>>>>
>>>>> I get lots of errors like this with 2.6.27-rc1 on my
>>>>> Macbook Pro (3rd generation), 2.6.26 seems to work fine:
>>>>>
>>>>> [ 907.524509] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
>>>>> [ 907.524783] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
>>>>> [ 907.524796] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
>>>>> [ 907.524798] res 50/00:00:ff:90:5c/00:00:0f:00:00/ef Emask 0x40 (internal error)
>>>>> [ 907.524805] ata3.00: status: { DRDY }
>>>>> [ 907.646590] ata3.00: configured for UDMA/133
>>>>> [ 907.646624] ata3: EH complete
>>>>> Any suggestions?
>>>> You can try increasing the swiotlb size by booting with swiotlb=65536
>>>> (for 128MB) or swiotlb=131072 (for 256MB), and see if that makes the
>>>> problem go away.. It's unclear why you'd be running out of SWIOTLB space
>>>> now, though, if 2.6.26 worked fine..
>>> Still happening, although 256M make it a bit harder to trigger.
>> Hmm... sounds like mapping is leaking. Eh... iommu leak debug seems to
>> support only AMD GART IOMMU. How long does it take to reproduce the
>> bug? Once it happens, it never recovers, right? Does the problem
>> happen with minimal configuration w/ only libata enabled (no network, no
>> sound, no usb...)?
>
> Yes, that would be a good test.. Easiest way might be booting with
> init=/bin/sh and running some processes that do lots of disk access..
After a bit more testing I'm pretty sure the problem is caused by an
external driver, namely the new ath9k driver.
Sorry for the noise on the wrong lists.
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/
^ permalink raw reply [flat|nested] 12+ messages in thread* Running out of SWIOTLB space (was: SW-IOMMU / ata_piix errors with 2.6.27-rc1)
@ 2008-08-04 22:09 ` Juergen Kreileder
0 siblings, 0 replies; 12+ messages in thread
From: Juergen Kreileder @ 2008-08-04 22:09 UTC (permalink / raw)
To: Robert Hancock, ath9k-devel; +Cc: Tejun Heo, linux-kernel, linux-ide
Robert Hancock wrote:
> Tejun Heo wrote:
>> Juergen Kreileder wrote:
>>> Robert Hancock wrote:
>>>> Juergen Kreileder wrote:
>>>>> Hi,
>>>>>
>>>>> I get lots of errors like this with 2.6.27-rc1 on my
>>>>> Macbook Pro (3rd generation), 2.6.26 seems to work fine:
>>>>>
>>>>> [ 907.524509] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
>>>>> [ 907.524783] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
>>>>> [ 907.524796] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
>>>>> [ 907.524798] res 50/00:00:ff:90:5c/00:00:0f:00:00/ef Emask 0x40 (internal error)
>>>>> [ 907.524805] ata3.00: status: { DRDY }
>>>>> [ 907.646590] ata3.00: configured for UDMA/133
>>>>> [ 907.646624] ata3: EH complete
>>>>> Any suggestions?
>>>> You can try increasing the swiotlb size by booting with swiotlb=65536
>>>> (for 128MB) or swiotlb=131072 (for 256MB), and see if that makes the
>>>> problem go away.. It's unclear why you'd be running out of SWIOTLB space
>>>> now, though, if 2.6.26 worked fine..
>>> Still happening, although 256M make it a bit harder to trigger.
>> Hmm... sounds like mapping is leaking. Eh... iommu leak debug seems to
>> support only AMD GART IOMMU. How long does it take to reproduce the
>> bug? Once it happens, it never recovers, right? Does the problem
>> happen with minimal configuration w/ only libata enabled (no network, no
>> sound, no usb...)?
>
> Yes, that would be a good test.. Easiest way might be booting with
> init=/bin/sh and running some processes that do lots of disk access..
After a bit more testing I'm pretty sure the problem is caused by an
external driver, namely the new ath9k driver.
Sorry for the noise on the wrong lists.
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/
^ permalink raw reply [flat|nested] 12+ messages in thread* [ath9k-devel] Running out of SWIOTLB space (was: SW-IOMMU / ata_piix errors with 2.6.27-rc1)
2008-08-04 22:09 ` Juergen Kreileder
(?)
(?)
@ 2008-08-04 22:44 ` Luis R. Rodriguez
2008-08-04 23:12 ` [ath9k-devel] Running out of SWIOTLB space Juergen Kreileder
-1 siblings, 1 reply; 12+ messages in thread
From: Luis R. Rodriguez @ 2008-08-04 22:44 UTC (permalink / raw)
To: ath9k-devel
Removing all lists and leaving ath9k-devel.
On Mon, Aug 04, 2008 at 03:09:31PM -0700, Juergen Kreileder wrote:
> Robert Hancock wrote:
> > Tejun Heo wrote:
> >> Juergen Kreileder wrote:
> >>> Robert Hancock wrote:
> >>>> Juergen Kreileder wrote:
> >>>>> Hi,
> >>>>>
> >>>>> I get lots of errors like this with 2.6.27-rc1 on my
> >>>>> Macbook Pro (3rd generation), 2.6.26 seems to work fine:
> >>>>>
> >>>>> [ 907.524509] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
> >>>>> [ 907.524783] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> >>>>> [ 907.524796] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
> >>>>> [ 907.524798] res 50/00:00:ff:90:5c/00:00:0f:00:00/ef Emask 0x40 (internal error)
> >>>>> [ 907.524805] ata3.00: status: { DRDY }
> >>>>> [ 907.646590] ata3.00: configured for UDMA/133
> >>>>> [ 907.646624] ata3: EH complete
> >>>>> Any suggestions?
> >>>> You can try increasing the swiotlb size by booting with swiotlb=65536
> >>>> (for 128MB) or swiotlb=131072 (for 256MB), and see if that makes the
> >>>> problem go away.. It's unclear why you'd be running out of SWIOTLB space
> >>>> now, though, if 2.6.26 worked fine..
> >>> Still happening, although 256M make it a bit harder to trigger.
> >> Hmm... sounds like mapping is leaking. Eh... iommu leak debug seems to
> >> support only AMD GART IOMMU. How long does it take to reproduce the
> >> bug? Once it happens, it never recovers, right? Does the problem
> >> happen with minimal configuration w/ only libata enabled (no network, no
> >> sound, no usb...)?
> >
> > Yes, that would be a good test.. Easiest way might be booting with
> > init=/bin/sh and running some processes that do lots of disk access..
>
> After a bit more testing I'm pretty sure the problem is caused by an
> external driver, namely the new ath9k driver.
>
> Sorry for the noise on the wrong lists.
Juergen,
can you elaborate a bit on the details of when this happens? I may be
able to get a Power Book to try to reproduce. Are you testing ath9k
based on ath9k.git or my-wireless-testing.git? What was the last ath9k
patch you had?
Please note ath9k is now part of wireless-testing.git.
Luis
^ permalink raw reply [flat|nested] 12+ messages in thread* [ath9k-devel] Running out of SWIOTLB space
2008-08-04 22:44 ` [ath9k-devel] " Luis R. Rodriguez
@ 2008-08-04 23:12 ` Juergen Kreileder
2008-08-10 18:21 ` Juergen Kreileder
0 siblings, 1 reply; 12+ messages in thread
From: Juergen Kreileder @ 2008-08-04 23:12 UTC (permalink / raw)
To: ath9k-devel
Luis R. Rodriguez wrote:
> On Mon, Aug 04, 2008 at 03:09:31PM -0700, Juergen Kreileder wrote:
>> Robert Hancock wrote:
>>> Tejun Heo wrote:
>>>> Juergen Kreileder wrote:
>>>>> Robert Hancock wrote:
>>>>>> Juergen Kreileder wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I get lots of errors like this with 2.6.27-rc1 on my
>>>>>>> Macbook Pro (3rd generation), 2.6.26 seems to work fine:
>>>>>>>
>>>>>>> [ 907.524509] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
>>>>>>> [ 907.524783] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
>>>>>>> [ 907.524796] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
>>>>>>> [ 907.524798] res 50/00:00:ff:90:5c/00:00:0f:00:00/ef Emask 0x40 (internal error)
>>>>>>> [ 907.524805] ata3.00: status: { DRDY }
>>>>>>> [ 907.646590] ata3.00: configured for UDMA/133
>>>>>>> [ 907.646624] ata3: EH complete
>>>>>>> Any suggestions?
>>>>>> You can try increasing the swiotlb size by booting with swiotlb=65536
>>>>>> (for 128MB) or swiotlb=131072 (for 256MB), and see if that makes the
>>>>>> problem go away.. It's unclear why you'd be running out of SWIOTLB space
>>>>>> now, though, if 2.6.26 worked fine..
>>>>> Still happening, although 256M make it a bit harder to trigger.
>>>> Hmm... sounds like mapping is leaking. Eh... iommu leak debug seems to
>>>> support only AMD GART IOMMU. How long does it take to reproduce the
>>>> bug? Once it happens, it never recovers, right? Does the problem
>>>> happen with minimal configuration w/ only libata enabled (no network, no
>>>> sound, no usb...)?
>>> Yes, that would be a good test.. Easiest way might be booting with
>>> init=/bin/sh and running some processes that do lots of disk access..
>> After a bit more testing I'm pretty sure the problem is caused by an
>> external driver, namely the new ath9k driver.
>>
>> Sorry for the noise on the wrong lists.
>
> Juergen,
>
> can you elaborate a bit on the details of when this happens? I may be
> able to get a Power Book to try to reproduce. Are you testing ath9k
> based on ath9k.git or my-wireless-testing.git? What was the last ath9k
> patch you had?
I'm using a 3rd gen Macbook Pro with 2.6.27-rc1 x86-64. The ath9k driver
was pulled from ath9k.git on Saturday IIRC.
$ dmesg | grep -i -e "ath9k\|atheros"
[ 13.331818] ath9k: 0.1
[ 13.331861] ath9k 0000:0b:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 13.331882] ath9k 0000:0b:00.0: setting latency timer to 64
[ 13.462713] phy0: Selected rate control algorithm 'ath9k_rate_control'
[ 13.564127] phy0: Atheros 5416: mem=0xffffc200000c0000, irq=16
Apparently it doesn't require much ath9k activity to trigger the problem.
I only had the module loaded but not connected to any network, the disk
driver freaks out pretty soon then. Without the ath9k module I'm unable
to reproduce any SW-IOMMU problems.
> Please note ath9k is now part of wireless-testing.git.
I'll give that a shot tomorrow.
I did a short test with the current version of ath9k.git this evening.
I got an oops from sched-powersave but the driver actually tried to
connect to an network. It timed out after entering the passphrase though.
Then the machine ran out of SW-IOMMU space again (reported against the
ath9k device this time).
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/
^ permalink raw reply [flat|nested] 12+ messages in thread* [ath9k-devel] Running out of SWIOTLB space
2008-08-04 23:12 ` [ath9k-devel] Running out of SWIOTLB space Juergen Kreileder
@ 2008-08-10 18:21 ` Juergen Kreileder
2008-08-11 16:26 ` Luis R. Rodriguez
0 siblings, 1 reply; 12+ messages in thread
From: Juergen Kreileder @ 2008-08-10 18:21 UTC (permalink / raw)
To: ath9k-devel
Juergen Kreileder wrote:
> Luis R. Rodriguez wrote:
>> On Mon, Aug 04, 2008 at 03:09:31PM -0700, Juergen Kreileder wrote:
>>> Robert Hancock wrote:
>>>> Tejun Heo wrote:
>>>>> Juergen Kreileder wrote:
>>>>>> Robert Hancock wrote:
>>>>>>> Juergen Kreileder wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I get lots of errors like this with 2.6.27-rc1 on my
>>>>>>>> Macbook Pro (3rd generation), 2.6.26 seems to work fine:
>>>>>>>>
>>>>>>>> [ 907.524509] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
>>>>>>>> [ 907.524783] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
>>>>>>>> [ 907.524796] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
>>>>>>>> [ 907.524798] res 50/00:00:ff:90:5c/00:00:0f:00:00/ef Emask 0x40 (internal error)
>>>>>>>> [ 907.524805] ata3.00: status: { DRDY }
>>>>>>>> [ 907.646590] ata3.00: configured for UDMA/133
>>>>>>>> [ 907.646624] ata3: EH complete
>>>>>>>> Any suggestions?
>>>>>>> You can try increasing the swiotlb size by booting with swiotlb=65536
>>>>>>> (for 128MB) or swiotlb=131072 (for 256MB), and see if that makes the
>>>>>>> problem go away.. It's unclear why you'd be running out of SWIOTLB space
>>>>>>> now, though, if 2.6.26 worked fine..
>>>>>> Still happening, although 256M make it a bit harder to trigger.
>>>>> Hmm... sounds like mapping is leaking. Eh... iommu leak debug seems to
>>>>> support only AMD GART IOMMU. How long does it take to reproduce the
>>>>> bug? Once it happens, it never recovers, right? Does the problem
>>>>> happen with minimal configuration w/ only libata enabled (no network, no
>>>>> sound, no usb...)?
>>>> Yes, that would be a good test.. Easiest way might be booting with
>>>> init=/bin/sh and running some processes that do lots of disk access..
>>> After a bit more testing I'm pretty sure the problem is caused by an
>>> external driver, namely the new ath9k driver.
>>>
>>> Sorry for the noise on the wrong lists.
>> Juergen,
>>
>> can you elaborate a bit on the details of when this happens? I may be
>> able to get a Power Book to try to reproduce. Are you testing ath9k
>> based on ath9k.git or my-wireless-testing.git? What was the last ath9k
>> patch you had?
>
> I'm using a 3rd gen Macbook Pro with 2.6.27-rc1 x86-64. The ath9k driver
> was pulled from ath9k.git on Saturday IIRC.
>
> $ dmesg | grep -i -e "ath9k\|atheros"
> [ 13.331818] ath9k: 0.1
> [ 13.331861] ath9k 0000:0b:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> [ 13.331882] ath9k 0000:0b:00.0: setting latency timer to 64
> [ 13.462713] phy0: Selected rate control algorithm 'ath9k_rate_control'
> [ 13.564127] phy0: Atheros 5416: mem=0xffffc200000c0000, irq=16
>
> Apparently it doesn't require much ath9k activity to trigger the problem.
> I only had the module loaded but not connected to any network, the disk
> driver freaks out pretty soon then. Without the ath9k module I'm unable
> to reproduce any SW-IOMMU problems.
>
>> Please note ath9k is now part of wireless-testing.git.
>
> I'll give that a shot tomorrow.
I can still reproduce this with wireless-testing.git as of yesterday. After
a few minutes I start getting "Out of SW-IOMMU space" messages.
Before the problems started I was able to successfully connect to a 2.4GHZ
802.11n net. Trying to connect to a 5GHz 802.11n net only produced timeouts
though.
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/
^ permalink raw reply [flat|nested] 12+ messages in thread* [ath9k-devel] Running out of SWIOTLB space
2008-08-10 18:21 ` Juergen Kreileder
@ 2008-08-11 16:26 ` Luis R. Rodriguez
0 siblings, 0 replies; 12+ messages in thread
From: Luis R. Rodriguez @ 2008-08-11 16:26 UTC (permalink / raw)
To: ath9k-devel
On Sun, Aug 10, 2008 at 11:21:05AM -0700, Juergen Kreileder wrote:
> Juergen Kreileder wrote:
> > Luis R. Rodriguez wrote:
> >> On Mon, Aug 04, 2008 at 03:09:31PM -0700, Juergen Kreileder wrote:
> >>> Robert Hancock wrote:
> >>>> Tejun Heo wrote:
> >>>>> Juergen Kreileder wrote:
> >>>>>> Robert Hancock wrote:
> >>>>>>> Juergen Kreileder wrote:
> >>>>>>>> Hi,
> >>>>>>>>
> >>>>>>>> I get lots of errors like this with 2.6.27-rc1 on my
> >>>>>>>> Macbook Pro (3rd generation), 2.6.26 seems to work fine:
> >>>>>>>>
> >>>>>>>> [ 907.524509] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
> >>>>>>>> [ 907.524783] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> >>>>>>>> [ 907.524796] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
> >>>>>>>> [ 907.524798] res 50/00:00:ff:90:5c/00:00:0f:00:00/ef Emask 0x40 (internal error)
> >>>>>>>> [ 907.524805] ata3.00: status: { DRDY }
> >>>>>>>> [ 907.646590] ata3.00: configured for UDMA/133
> >>>>>>>> [ 907.646624] ata3: EH complete
> >>>>>>>> Any suggestions?
> >>>>>>> You can try increasing the swiotlb size by booting with swiotlb=65536
> >>>>>>> (for 128MB) or swiotlb=131072 (for 256MB), and see if that makes the
> >>>>>>> problem go away.. It's unclear why you'd be running out of SWIOTLB space
> >>>>>>> now, though, if 2.6.26 worked fine..
> >>>>>> Still happening, although 256M make it a bit harder to trigger.
> >>>>> Hmm... sounds like mapping is leaking. Eh... iommu leak debug seems to
> >>>>> support only AMD GART IOMMU. How long does it take to reproduce the
> >>>>> bug? Once it happens, it never recovers, right? Does the problem
> >>>>> happen with minimal configuration w/ only libata enabled (no network, no
> >>>>> sound, no usb...)?
> >>>> Yes, that would be a good test.. Easiest way might be booting with
> >>>> init=/bin/sh and running some processes that do lots of disk access..
> >>> After a bit more testing I'm pretty sure the problem is caused by an
> >>> external driver, namely the new ath9k driver.
> >>>
> >>> Sorry for the noise on the wrong lists.
> >> Juergen,
> >>
> >> can you elaborate a bit on the details of when this happens? I may be
> >> able to get a Power Book to try to reproduce. Are you testing ath9k
> >> based on ath9k.git or my-wireless-testing.git? What was the last ath9k
> >> patch you had?
> >
> > I'm using a 3rd gen Macbook Pro with 2.6.27-rc1 x86-64. The ath9k driver
> > was pulled from ath9k.git on Saturday IIRC.
> >
> > $ dmesg | grep -i -e "ath9k\|atheros"
> > [ 13.331818] ath9k: 0.1
> > [ 13.331861] ath9k 0000:0b:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> > [ 13.331882] ath9k 0000:0b:00.0: setting latency timer to 64
> > [ 13.462713] phy0: Selected rate control algorithm 'ath9k_rate_control'
> > [ 13.564127] phy0: Atheros 5416: mem=0xffffc200000c0000, irq=16
> >
> > Apparently it doesn't require much ath9k activity to trigger the problem.
> > I only had the module loaded but not connected to any network, the disk
> > driver freaks out pretty soon then. Without the ath9k module I'm unable
> > to reproduce any SW-IOMMU problems.
> >
> >> Please note ath9k is now part of wireless-testing.git.
> >
> > I'll give that a shot tomorrow.
>
>
> I can still reproduce this with wireless-testing.git as of yesterday. After
> a few minutes I start getting "Out of SW-IOMMU space" messages.
Can you try enabling all debug messages on core.h? You can do this by
setting DBG_DEFAULT to ATH_DBG_ANY. Then please put the log here or a
pastebin.
> Before the problems started I was able to successfully connect to a 2.4GHZ
> 802.11n net. Trying to connect to a 5GHz 802.11n net only produced timeouts
> though.
This seems like a separate problem. Also how often does the SW-IOMMU
space message come up? How reproducible is it? You seem to say that
you're able to assoc at least some times, can you get data through as
well?
Now with this other issue you were associated to an 11n AP via 2GHz
and then after how long did you switch to an 11n AP via 5GHz?
Thanks,
Luis
^ permalink raw reply [flat|nested] 12+ messages in thread
* SW-IOMMU / ata_piix errors with 2.6.27-rc1
@ 2008-08-03 17:10 Juergen Kreileder
0 siblings, 0 replies; 12+ messages in thread
From: Juergen Kreileder @ 2008-08-03 17:10 UTC (permalink / raw)
To: linux-kernel, linux-ide
Hi,
I get lots of errors like this with 2.6.27-rc1 on my
Macbook Pro (3rd generation), 2.6.26 seems to work fine:
[ 907.524509] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
[ 907.524783] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 907.524796] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
[ 907.524798] res 50/00:00:ff:90:5c/00:00:0f:00:00/ef Emask 0x40 (internal error)
[ 907.524805] ata3.00: status: { DRDY }
[ 907.646590] ata3.00: configured for UDMA/133
[ 907.646624] ata3: EH complete
[ 907.647028] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
[ 907.647139] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 907.647161] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
[ 907.647166] res 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x40 (internal error)
[ 907.647178] ata3.00: status: { DRDY }
[ 907.693193] ata3.00: configured for UDMA/133
[ 907.693225] ata3: EH complete
[ 907.693629] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
[ 907.693684] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 907.693696] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
[ 907.693698] res 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x40 (internal error)
[ 907.693784] ata3.00: status: { DRDY }
[ 907.739868] ata3.00: configured for UDMA/133
[ 907.739899] ata3: EH complete
[ 907.740255] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
[ 907.740255] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 907.740389] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
[ 907.740394] res 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x40 (internal error)
[ 907.740406] ata3.00: status: { DRDY }
[ 907.785818] ata3.00: configured for UDMA/133
[ 907.785850] ata3: EH complete
[ 907.786124] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
[ 907.786206] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 907.786230] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
[ 907.786235] res 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x40 (internal error)
[ 907.786249] ata3.00: status: { DRDY }
[ 907.831742] ata3.00: configured for UDMA/133
[ 907.831774] ata3: EH complete
[ 907.832087] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
[ 907.832163] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 907.832186] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
[ 907.832191] res 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x40 (internal error)
[ 907.832284] ata3.00: status: { DRDY }
[ 907.877603] ata3.00: configured for UDMA/133
[ 907.877646] sd 2:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
[ 907.877654] sd 2:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
[ 907.877664] Descriptor sense data with sense descriptors (in hex):
[ 907.877668] 72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
[ 907.877688] 25 42 ea af
[ 907.877696] sd 2:0:0:0: [sda] Add. Sense: No additional sense information
[ 907.877704] end_request: I/O error, dev sda, sector 257724680
[ 907.877714] Buffer I/O error on device sda3, logical block 7728326
[ 907.877718] lost page write due to I/O error on sda3
[ 907.877727] Buffer I/O error on device sda3, logical block 7728327
[ 907.877731] lost page write due to I/O error on sda3
[ 907.877737] Buffer I/O error on device sda3, logical block 7728328
[ 907.877741] lost page write due to I/O error on sda3
[ 907.877747] Buffer I/O error on device sda3, logical block 7728329
[ 907.877751] lost page write due to I/O error on sda3
[ 907.877757] Buffer I/O error on device sda3, logical block 7728330
[ 907.877762] lost page write due to I/O error on sda3
[ 907.877767] Buffer I/O error on device sda3, logical block 7728331
[ 907.877771] lost page write due to I/O error on sda3
[ 907.877777] Buffer I/O error on device sda3, logical block 7728332
[ 907.877781] lost page write due to I/O error on sda3
[ 907.877787] Buffer I/O error on device sda3, logical block 7728333
[ 907.877791] lost page write due to I/O error on sda3
[ 907.877797] Buffer I/O error on device sda3, logical block 7728334
[ 907.877801] lost page write due to I/O error on sda3
[ 907.877864] ata3: EH complete
[ 907.878318] DMA: Out of SW-IOMMU space for 36864 bytes at device 0000:00:1f.2
...
...
...
I'm running an x86-64 kernel and the machine has 4GB.
[ 2.819749] ata_piix 0000:00:1f.1: version 2.12
[ 2.819811] ata_piix 0000:00:1f.1: power state changed by ACPI to D0
[ 2.819816] ata_piix 0000:00:1f.1: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[ 2.819850] ata_piix 0000:00:1f.1: setting latency timer to 64
[ 2.819941] scsi0 : ata_piix
[ 2.820165] scsi1 : ata_piix
[ 2.820621] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x60e0 irq 14
[ 2.820623] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x60e8 irq 15
[ 2.975131] ata1.00: ATAPI: MATSHITADVD-R UJ-857E, ZA0E, max UDMA/66
[ 2.981027] ata1.00: configured for UDMA/66
[ 3.155025] scsi 0:0:0:0: CD-ROM MATSHITA DVD-R UJ-857E ZA0E PQ: 0 ANSI: 5
[ 3.155025] ata_piix 0000:00:1f.2: PCI INT B -> GSI 18 (level, low) -> IRQ 18
[ 3.155025] ata_piix 0000:00:1f.2: MAP [ P0 -- -- -- ]
[ 3.155025] ata_piix 0000:00:1f.2: setting latency timer to 64
[ 3.171708] scsi2 : ata_piix
[ 3.183270] scsi3 : ata_piix
[ 3.184051] ata3: SATA max UDMA/133 cmd 0x60f8 ctl 0x6114 bmdma 0x6020 irq 18
[ 3.184053] ata4: SATA max UDMA/133 cmd 0x60f0 ctl 0x6110 bmdma 0x6028 irq 18
[ 3.355353] ata3.00: ATA-8: SAMSUNG HM320JI, 2SS00_01, max UDMA7
[ 3.355358] ata3.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 0/32)
[ 3.379686] ata3.00: configured for UDMA/133
[ 3.563969] scsi 2:0:0:0: Direct-Access ATA SAMSUNG HM320JI 2SS0 PQ: 0 ANSI: 5
[ 3.576523] scsi 0:0:0:0: Attached scsi generic sg0 type 5
[ 3.576555] scsi 2:0:0:0: Attached scsi generic sg1 type 0
[ 3.578422] Driver 'sd' needs updating - please use bus_type methods
[ 3.578503] sd 2:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
[ 3.578521] sd 2:0:0:0: [sda] Write Protect is off
[ 3.578522] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3.578550] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.578625] sd 2:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
[ 3.578643] sd 2:0:0:0: [sda] Write Protect is off
[ 3.578644] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3.578678] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.578680] sda:<6>usb 7-1: configuration #1 chosen from 1 choice
[ 4.174973] sda1 sda2 sda3 sda4 sda5
[ 4.175168] sd 2:0:0:0: [sda] Attached SCSI disk
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Apple Computer Inc. Device 00a0
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
Interrupt: pin B routed to IRQ 18
Region 0: I/O ports at 60f8 [size=8]
Region 1: I/O ports at 6114 [size=4]
Region 2: I/O ports at 60f0 [size=8]
Region 3: I/O ports at 6110 [size=4]
Region 4: I/O ports at 6020 [size=16]
Region 5: I/O ports at 1000 [size=16]
Capabilities: <access denied>
Kernel driver in use: ata_piix
Kernel modules: ata_piix, pata_acpi, ata_generic
Any suggestions?
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2008-08-11 16:26 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <fa.64b92XSd5HpCdpOYcDENnJSZJyw@ifi.uio.no>
2008-08-03 20:30 ` SW-IOMMU / ata_piix errors with 2.6.27-rc1 Robert Hancock
2008-08-04 0:40 ` Juergen Kreileder
2008-08-04 2:19 ` Tejun Heo
2008-08-04 2:47 ` Robert Hancock
2008-08-04 22:09 ` [ath9k-devel] Running out of SWIOTLB space (was: SW-IOMMU / ata_piix errors with 2.6.27-rc1) Juergen Kreileder
2008-08-04 22:09 ` Juergen Kreileder
2008-08-04 22:09 ` Juergen Kreileder
2008-08-04 22:44 ` [ath9k-devel] " Luis R. Rodriguez
2008-08-04 23:12 ` [ath9k-devel] Running out of SWIOTLB space Juergen Kreileder
2008-08-10 18:21 ` Juergen Kreileder
2008-08-11 16:26 ` Luis R. Rodriguez
2008-08-03 17:10 SW-IOMMU / ata_piix errors with 2.6.27-rc1 Juergen Kreileder
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.