[haiku-bugs] Re: [Haiku] #15172: SMAP violation when attaching FTDI based serial device

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 16 Jul 2019 13:56:35 -0000

#15172: SMAP violation when attaching FTDI based serial device
--------------------------------+----------------------------
   Reporter:  probono           |      Owner:  waddlesplash
       Type:  bug               |     Status:  new
   Priority:  normal            |  Milestone:  Unscheduled
  Component:  Drivers/USB/XHCI  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------

Comment (by waddlesplash):

 The return value of PrepareKernelAccess is not checked here:
 https://xref.plausible.coop/source/xref/haiku/src/add-
 ons/kernel/busses/usb/xhci.cpp#2804

 However, it is very curious this appears as a "user mapped address"; I
 would expect InitKernelAccess to have made it into a kernel one (by
 subtracting off the area base). The syslog tail should show what is really
 happening.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15172#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: