Date: Sun, 11 Mar 2012 14:13:55 +0400 From: Pavel Timofeev <timp87@gmail.com> To: Sean Bruno <seanbru@yahoo-inc.com> Cc: "freebsd-scsi@freebsd.org" <freebsd-scsi@freebsd.org> Subject: Re: Can't load mps as module with custom kernel Message-ID: <CAAoTqfvdzJzCCBbVYyaV0cx_j104CM2TEj7_MjPxYxS-%2BOwsWw@mail.gmail.com> In-Reply-To: <1331228625.3075.11.camel@powernoodle-l7.corp.yahoo.com> References: <20120305184313.GA3215@laptop.levsha.me> <20120307223959.GA39737@nargothrond.kdm.org> <1331188031232-5546565.post@n5.nabble.com> <1331228625.3075.11.camel@powernoodle-l7.corp.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
I have made and tested attached patch. It works for me, the problem
messages has gone.
But one problem is still here:
link_elf_obj: symbol firmware_get undefined
KLD file isp.ko - could not finalize loading
I have poor C programming skill and don't know how can I resolve this bug.
Please, help: is patch correct? and how can we resolve isp bug message?
8 марта 2012 г. 21:43 пользователь Sean Bruno <seanbru@yahoo-inc.com> написал:
> On Wed, 2012-03-07 at 22:27 -0800, timp wrote:
>>
>> I'm sorry, but what about similar bugs in hptiop, isp and hptmv?
>
> If you have time, and the patience, can you generate patches for this,
> test and submit them? There's a few commiters that pay attention to
> this list and were more than happy to review/commit appropriate patches.
>
> Sean
>
[-- Attachment #2 --]
--- /sys/dev/isp/isp_pci.c 2011-11-16 06:52:24.000000000 +0400
+++ ./isp/isp_pci.c 2012-03-11 13:15:46.000000000 +0400
@@ -372,6 +372,7 @@
};
static devclass_t isp_devclass;
DRIVER_MODULE(isp, pci, isp_pci_driver, isp_devclass, 0, 0);
+MODULE_DEPEND(isp, cam, 1, 1, 1);
static int
isp_pci_probe(device_t dev)
--- /sys/dev/isp/isp_sbus.c 2011-02-15 00:50:51.000000000 +0300
+++ ./isp/isp_sbus.c 2012-03-11 13:15:46.000000000 +0400
@@ -106,6 +106,7 @@
};
static devclass_t isp_devclass;
DRIVER_MODULE(isp, sbus, isp_sbus_driver, isp_devclass, 0, 0);
+MODULE_DEPEND(isp, cam, 1, 1, 1);
static int
isp_sbus_probe(device_t dev)
--- /sys/dev/hptiop/hptiop.c 2011-11-24 01:43:51.000000000 +0400
+++ ./hptiop/hptiop.c 2012-03-11 13:14:49.000000000 +0400
@@ -1268,6 +1268,7 @@
};
DRIVER_MODULE(hptiop, pci, hptiop_pci_driver, hptiop_devclass, 0, 0);
+MODULE_DEPEND(hptiop, cam, 1, 1, 1);
static int hptiop_probe(device_t dev)
{
--- /sys/dev/hptmv/entry.c 2011-11-24 01:43:51.000000000 +0400
+++ ./hptmv/entry.c 2012-03-11 13:15:14.000000000 +0400
@@ -108,6 +108,7 @@
#define __DRIVER_MODULE(p1, p2, p3, p4, p5, p6) DRIVER_MODULE(p1, p2, p3, p4, p5, p6)
__DRIVER_MODULE(PROC_DIR_NAME, pci, hpt_pci_driver, hpt_devclass, 0, 0);
+MODULE_DEPEND(PROC_DIR_NAME, cam, 1, 1, 1);
#define ccb_ccb_ptr spriv_ptr0
#define ccb_adapter ccb_h.spriv_ptr1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAoTqfvdzJzCCBbVYyaV0cx_j104CM2TEj7_MjPxYxS-%2BOwsWw>
