Hi,
I changed the prototype file as you mentioned and compressed to pakage
directory to iscsi.Z. I did pkgdrv with 32bit driver, I am able to find the
target buts installation hangs at 3%.
How to create iscsi.Z file using 32 bit and 64 bit iscsi drivers?.
Thanks
-ram
Juergen Keil <[EMAIL PROTECTED]> wrote:
Som,
> Thanks a ton for the help, yes all i had to do
> was recompile my driver for 32-bit and specify that as
> the kernel module for the pkg_drv command,then when i
> selected option 5 , it detected/installed my driver to
> miniroot and booted of it, was able to detect my
> target drive too!!!
> Only question now is ..how do i get both 32-bit and
> 64-bit modules onto the pkg? because the OS CD that i
> am using is for x86-64?
Yes, both 32- and 64-bit kernel modules should be put into a
single package.
The 64-bit driver will use it's own "amd64" subdirectory for the
driver, so this doesn't conflict with the 32-bit driver.
The prototype file for the package should look similar to this
(where I'm installing two kernel modules "ni" and "dp8390"
to /kernel/drv/, both 32- and 64-bit):
i pkginfo
i postinstall
i preremove
i copyright
d none /kernel ? ? ?
d none /kernel/drv ? ? ?
f none /kernel/drv/ni=ni 0755 root sys
f none /kernel/drv/dp8390=dp8390 0755 root sys
f none /kernel/drv/amd64/ni=amd64/ni 0755 root sys
f none /kernel/drv/amd64/dp8390=amd64/dp8390 0755 root sys
The 32-bit Solaris kernel will pick up the 32-bit driver
binary from /kernel/drv/{modulename}, and when you boot
64-bit, /kernel/drv/amd64/{modulename} will be used.
Not sure how to get the desired result with pkg_drv, though...
_______________________________________________
driver-discuss mailing list
driver-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/driver-discuss
Never miss a thing. Make Yahoo your homepage.
_______________________________________________
driver-discuss mailing list
driver-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/driver-discuss
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
driver-discuss mailing list
driver-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/driver-discuss