[RTEMS Project] #2362: Configuration/initialization of block device buffer fails silently
RTEMS trac
trac at rtems.org
Sat Jun 6 00:44:13 UTC 2015
#2362: Configuration/initialization of block device buffer fails silently
---------------------+------------------
Reporter: mw | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: General | Version: 4.11
Severity: normal | Keywords:
---------------------+------------------
If CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS is set too large, the
initialization of the block device buffer can fail without any notice,
causing problems downstream that are seemingly unrelated (such as trying
to read from the device) and with misleading error codes.
Tested on pc386 BSP
Ran testsuites/samples/fileio/fileio.exe fine, initializing partition
/dev/hda with result = 0
Modified testsuites/samples/fileio/system.h, setting
CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS to 32 (rather than 2).
Re-ran, and initializing partition /dev/hda fails with result = 3 (Invalid
Name).
--
Ticket URL: <http://devel.rtems.org/ticket/2362>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list