[haiku-commits] Re: haiku: hrev45906 - src/system/kernel/device_manager docs/user/drivers src/system/kernel/fs headers/os/drivers

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 27 Jul 2013 23:58:48 +0200

On 07/27/2013 08:08 PM, Rene Gollent wrote:
On 7/27/13, ingo_weinhold@xxxxxx <ingo_weinhold@xxxxxx> wrote:
98a5231: Introduce vnode op supports_operation(), fix devfs_io()

This change breaks booting for me on AHCI hardware. There aren't any
errors in syslog, but after the boot partition is mounted, every
add-on the kernel subsequently attempts to load fails with "Not an
executable", so it seems as if the I/O 'succeeds' but doesn't return
the expected data in some way. Anything I can do to help track this
down?

I can reproduce the issue, but ATM my understanding of the code simply isn't good enough and I currently don't want to invest the time to get there. I think the first thing is to clean up the code (get rid of the {read,write}_pages() hooks) and fix a longstanding issue, the missing distinction between uncached and cached I/O, which currently makes it a bit confusing what the respective VFS functions should actually be doing.

CU, Ingo


Other related posts: