Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #79540

Bug#1035587: linux: broken AHCI controller on MIPS Loongson 3 (regression from 5.10.162-1)

From Aurelien Jarno <aurel32@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1035587: linux: broken AHCI controller on MIPS Loongson 3 (regression from 5.10.162-1)
Date 2023-07-08 12:20 +0200
Message-ID <GPdcJ-3NnE-9@gated-at.bofh.it> (permalink)
References (3 earlier) <GHWTn-gM8a-3@gated-at.bofh.it> <GIc25-gVda-3@gated-at.bofh.it> <GK8dH-xo8-9@gated-at.bofh.it> <GsanD-6RAe-9@gated-at.bofh.it> <GK8dH-xo8-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi,

On 2023-06-24 11:46, Aurelien Jarno wrote:
> Hi,
> 
> On 2023-06-19 09:37, Huacai Chen wrote:
> > On Sun, Jun 18, 2023 at 5:24 PM Aurelien Jarno <aurel32@debian.org> wrote:
> > >
> > > Hi,
> > >
> > > On 2023-05-07 19:22, Jiaxun Yang wrote:
> > > >
> > > >
> > > > > 2023年5月6日 01:58,YunQiang Su <wzssyqa@gmail.com> 写道:
> > > > >
> > > > > Aurelien Jarno <aurel32@debian.org> 于2023年5月6日周六 04:30写道:
> > > > >>
> > > > >> Source: linux
> > > > >> Version: 5.10.178-3
> > > > >> Severity: important
> > > > >> X-Debbugs-Cc: dsa@debian.org, debian-mips@lists.debian.org, syq@debian.org
> > > > >>
> > > > >> Following the point release, the buildd mipsel-osuosl-03.d.o does not
> > > > >> boot anymore, with errors in the AHCI controller:
> > > > >>
> > > > >> [   35.912147] ata4.00: exception Emask 0x0 SAct 0x20000000 SErr 0x0 action 0x6 frozen
> > > > >> [   35.919769] ata4.00: failed command: WRITE FPDMA QUEUED
> > > > >> [   35.924968] ata4.00: cmd 61/20:e8:00:f0:e1/00:00:00:00:00/40 tag 29 ncq dma 16384 out
> > > > >> [   35.924968]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
> > > > >> [   35.940097] ata4.00: status: { DRDY }
> > > > >> [   35.943743] ata4: hard resetting link
> > > > >>
> > > > >> While that initially looks like a hardware issue, it appears that
> > > > >> reverting the kernel to 5.10.162-1 (from 5.10.178-3) fixes the issue.
> > > > >> Strangely mipsel.osuosl-05.d.o, which seems to be similar hardware (CPU,
> > > > >> motherboard and SATA drive), does not exhibit the same issue.
> > > > >>
> > > > >
> > > > > Maybe the different firmwares are used for them...
> > > > > CCed Huacai and Jiaxun.
> > > >
> > > > I’m unable to reproduce on my side. Perhaps different hardware.
> > > > Is it possible to bisect Kernel on that machine to see of reverting that two commits do help?
> > >
> > > I have bisected the issue and I confirm the intuition from Cyril. The
> > > first bad commit is 654ae539254d10042869fdc77ad04c09e7eff1fd. Reverting
> > > both commits (they are linked) indeed fixes the issue.
> > Seems a firmware bug, latest firmware should configure a suitable MRRS.
> 
> Ok, thanks for the feedback. Given it's not a kernel bug, I am closing
> it.
> 
> That said, can someone please send us the procedure to upgrade the
> firmware on this machine, so that we can continue using it as a buildd?

Any news about that? We need to be able to run the latest stable kernel
on the build daemon.

Thanks,
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1035587: linux: broken AHCI controller on MIPS Loongson 3 (regression from 5.10.162-1) YunQiang Su <wzssyqa@gmail.com> - 2023-05-06 03:10 +0200
  Bug#1035587: linux: broken AHCI controller on MIPS Loongson 3 (regression from 5.10.162-1) Aurelien Jarno <aurel32@debian.org> - 2023-06-18 11:30 +0200
    Bug#1035587: linux: broken AHCI controller on MIPS Loongson 3 (regression from 5.10.162-1) Huacai Chen <chenhuacai@kernel.org> - 2023-06-19 03:40 +0200
      Bug#1035587: linux: broken AHCI controller on MIPS Loongson 3 (regression from 5.10.162-1) Aurelien Jarno <aurel32@debian.org> - 2023-07-08 12:20 +0200
        Bug#1035587: linux: broken AHCI controller on MIPS Loongson 3 (regression from 5.10.162-1) Huacai Chen <chenhuacai@kernel.org> - 2023-07-11 03:10 +0200
        Bug#1035587: linux: broken AHCI controller on MIPS Loongson 3 (regression from 5.10.162-1) Aurelien Jarno <aurel32@debian.org> - 2023-10-08 12:20 +0200
          Bug#1035587: linux: broken AHCI controller on MIPS Loongson 3 (regression from 5.10.162-1) Julien Cristau <jcristau@debian.org> - 2023-10-30 09:50 +0100
            Bug#1035587: linux: broken AHCI controller on MIPS Loongson 3 (regression from 5.10.162-1) Aurelien Jarno <aurel32@debian.org> - 2023-11-18 17:00 +0100
              Bug#1035587: linux: broken AHCI controller on MIPS Loongson 3 (regression from 5.10.162-1) Salvatore Bonaccorso <carnil@debian.org> - 2023-12-20 21:20 +0100

csiph-web