[Bug 253067] [PATCH] CF card not detected in Soekris net5501
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 28 21:56:29 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253067
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 at FreeBSD.org
Reporter: nick at 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* find
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 idea
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
===================================================================
--- sys/dev/ata/ata-lowlevel.c (revision 366855)
+++ sys/dev/ata/ata-lowlevel.c (working copy)
@@ -603,7 +603,7 @@
if (((mask & 0x01) == 0 || !(stat0 & ATA_S_BUSY)) &&
((mask & 0x02) == 0 || !(stat1 & ATA_S_BUSY)))
break;
- ata_udelay(100000);
+ ata_udelay(500000);
}
if (bootverbose)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list