[haiku-bugs] Re: [Haiku] #10041: [PM] cannot override 'system' driver

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Tue, 01 Oct 2013 10:22:11 -0000

#10041: [PM] cannot override 'system' driver
-------------------------+-----------------------------------
   Reporter:  ttcoder    |      Owner:  nobody
       Type:  bug        |     Status:  new
   Priority:  normal     |  Milestone:  R1
  Component:  - General  |    Version:  R1/Package Management
 Resolution:             |   Keywords:
 Blocked By:             |   Blocking:
Has a Patch:  0          |   Platform:  All
-------------------------+-----------------------------------

Comment (by ttcoder):

 Oops my lack of experience with this motherboard is showing.

 Seems the answer to that question is, it does not, there is only one hda
 instance and its date is somewhat consistent with the nightly's date but
 not my driver's build:

 {{{
 ~> ll /system/add-ons/kernel/drivers/bin/hda
 -r-xr-xr-x 1 user root 55939 2013-09-22 03:59 /system/add-
 ons/kernel/drivers/bin/hda
 ~> ll config/non-packaged/add-ons/kernel/drivers/bin/
 total 72
 -rwxr-xr-x 1 user root 71595 2012-11-17 01:03 hda
 ~> uname -a
 Haiku shredder 1 c996b65 Sep 21 2013 21:47:23 BePC Haiku
 }}}

 With what I understand of PM thus far, it seems the only way to use/test a
 custom build of a driver is to rebuild the 50 MB haiku package that
 contains it, as per this listing:

 {{{
 ~> package list /system/packages/haiku.hpkg | grep hda
         hda                          55939  2013-09-22 03:59:55  -rwxr-
 xr-x
             hda                          0  2013-09-22 03:59:55  lrwxr-
 xr-x  -> ../../../bin/hda
 ~>
 }}}

 I'll try to do a script that does this automatically (package extract to
 /tmp, cp mybuild/hda /tmp/whatever/hda, package create, mv
 mycreatedpackage /system/packages/haiku.hpkg).

 If that works that will be a valid (if clunky :-) work-around for the
 problem...

 This machine is being lent to a customer in 2 days, so I might do my
 attempts on another one, but shouldn't change the equation much.

--
Ticket URL: <http://dev.haiku-os.org/ticket/10041#comment:7>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: