Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2021 21:56:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253067] [PATCH] CF card not detected in Soekris net5501
Message-ID:  <bug-253067-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253067

            Bug ID: 253067
           Summary: [PATCH] CF card not detected in Soekris net5501
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: nick@van-laarhoven.org

CF card (Transcend Industrial) is no longer detected in Soekris net5501 and
boot therefore does not find a root disk to mount. Booting verbose *does* f=
ind
the disk and it boots as usual.

This setup worked on this platform on 11.3.

My solution is to increase the loop delay in ata-lowlevel, but I have no id=
ea
whether this is a good solution. On detecting devices the loop is exitted, =
so
it should be fine.

Index: sys/dev/ata/ata-lowlevel.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- sys/dev/ata/ata-lowlevel.c  (revision 366855)
+++ sys/dev/ata/ata-lowlevel.c  (working copy)
@@ -603,7 +603,7 @@
        if (((mask & 0x01) =3D=3D 0 || !(stat0 & ATA_S_BUSY)) &&
            ((mask & 0x02) =3D=3D 0 || !(stat1 & ATA_S_BUSY)))
                break;
-       ata_udelay(100000);
+       ata_udelay(500000);
     }

     if (bootverbose)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253067-227>