Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dmesg spam: ahcisata0 port 1: active 2 is 0x40000001 tfd 0x2051



On Thu, Nov 09, 2017 at 11:36:47PM +0000, Stefan Hertenberger wrote:
> Since some time i get a lot of dmesg spam
> 
> ...
> ahcisata0 port 1: active 2 is 0x40000001 tfd 0x2051
> ahcisata0 port 1: active 2 is 0x40000001 tfd 0x2051
> ahcisata0 port 1: active 2 is 0x40000001 tfd 0x2051
> ahcisata0 port 1: active 2 is 0x40000001 tfd 0x2051

I see the same. It comes from sys/dev/ic/ahcisata_core.c:ahci_intr_port
and apparently it is a fatal error:

        /* Handle errors */
        if (is & (AHCI_P_IX_TFES | AHCI_P_IX_HBFS | AHCI_P_IX_HBDS |
            AHCI_P_IX_IFS | AHCI_P_IX_OFS | AHCI_P_IX_UFS)) {
                /* Fatal errors */
                if (is & AHCI_P_IX_TFES) {
...

                        aprint_error("%s port %d: active %x is 0x%x tfd 0x%x\n",
                            AHCINAME(sc), chp->ch_channel, sact, is, tfd);


Can you show the dmesg part describing your ahcisata devices?

I get:

ahcisata1 port 2: active 2 is 0x40000001 tfd 0x2051

and the device is:

ahcisata1 at pci0 dev 17 function 0: vendor 1002 product 4391 (rev. 0x40)
ahcisata1: interrupting at ioapic0 pin 19
ahcisata1: 64-bit DMA
ahcisata1: AHCI revision 1.20, 6 ports, 32 slots, CAP 0xf732ff05<PSC,SSC,PMD,SPM,ISS=0x3=Gen3,SCLO,SAL,SALP,SMPS,SSNTF,SNCQ,S64A>
atabus2 at ahcisata1 channel 0
atabus3 at ahcisata1 channel 1
atabus4 at ahcisata1 channel 2
atabus5 at ahcisata1 channel 3
atabus6 at ahcisata1 channel 4
atabus7 at ahcisata1 channel 5

and

atapibus0 at atabus4: 1 targets
cd0 at atapibus0 drive 0: <DRW-24D5MT, K28H2EA3236, 1.10> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
cd0(ahcisata1:2:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)



On another machine:

ahcisata0 port 4: active 2 is 0x40000001 tfd 0x2051

and the device is:


ahcisata0 at pci0 dev 31 function 2: vendor 8086 product 3b29 (rev. 0x05)
ahcisata0: interrupting at ioapic0 pin 19
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.30, 4 ports, 32 slots, CAP 0xff20ff63<SXS,EMS,PSC,SSC,PMD,ISS=0x2=Gen2,SCLO,SAL,SALP,SSS,SMPS,SSNTF,SNCQ,S64A>
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 4
atabus3 at ahcisata0 channel 5

and

atapibus0 at atabus2: 1 targets
cd0 at atapibus0 drive 0: <HL-DT-STDVDRAM GT30N, KZJ9CM31623, 1.01> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd0(ahcisata0:4:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)


Jaromir, could you have a look, please?

Martin


Home | Main Index | Thread Index | Old Index