Article View: aus.computers.sun
Article #484error when installing Magma PCI driver under Solaris 9
From: Kralizec Craig
Date: Sun, 03 Sep 2006 23:38
Date: Sun, 03 Sep 2006 23:38
49 lines
2848 bytes
2848 bytes
I've set up a system with a Magma PCI card and apparently that system used
to have one installed when used by the previous owner. Anyway, when I've
tried to re-install the driver package, it's giving an error when running
the postinstall script:
Installing MAGMA Allin1 PCI v5.4 for Sparc PCI as <MAGMApci>
## Installing part 1 of 1.
/kernel/drv/mh64
[ verifying class <none> ]
## Executing postinstall script.
Adding entries to /etc/iu.ap
Removing old entries from /etc/path_to_inst
is the basedir
Installing 64bit driver into the kernel
is the basedir 2
("pci11c9,10") already in use as a driver or alias.
pkgadd: ERROR: postinstall script did not complete successfully
and the module doesn't get loaded into the kernel. I've tried running
'devfsadm -C' in case that might clean up something which is preventing
the postinstall process from completing properly but it hasn't changed the
result.
Is the error message coming about because the system already knows about a
Magma card which was installed perhaps in a different PCI slot to the one
I've put my Magma card into? I've tried to 'pkgrm MAGMApci' before running
'pkgadd' to reinstall the package, and that hasn't changed the result
either.
The 'is the basedir' lines don't report any pathname for the $BASEDIR
variable - that could be an indication of something else that's wrong with
Magma's scripts?
I've run 'pkgadd' with the -v argument to see more of what it's doing and
it looks like the error is generated from when the script is running
'add_drv' with the following command line:
/usr/sbin/add_drv -i "pci11c9,10" "pci11c9,11" "pci11c9,12" -m * 0666 root sys mh
Any ideas on how to deal with this?
Thanks,
Craig.
Technical Details
Message-ID:
<Pine.GSO.4.64.0609040922480.18207@lios.apana.org.au>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!fu-berlin.de!news.wa.apana.org.au!news.yoda.apana.org.au!lios.apana.org.au!cdShow Full Headers
Complete Article Headers
X-Google-Thread: 10d053,24e49b83091062b0,start X-Google-Thread: 1070f0,24e49b83091062b0,start X-Google-Thread: f4671,24e49b83091062b0,start X-Google-Thread: 113606,24e49b83091062b0,start X-Google-Attributes: gid10d053,gid1070f0,gidf4671,gid113606,public X-Google-Language: ENGLISH,ASCII-7-bit From: Kralizec Craig <cd@lios.apana.org.au> Newsgroups: aus.computers.sun,comp.sys.sun.admin,comp.sys.sun.hardware,uk.comp.sys.sun Subject: error when installing Magma PCI driver under Solaris 9 Date: Mon, 4 Sep 2006 09:38:58 +1000 Organization: Core Matrix Foundation inc. ORBnet Lines: 50 Message-ID: <Pine.GSO.4.64.0609040922480.18207@lios.apana.org.au> NNTP-Posting-Host: lios.apana.org.au Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: yoda.apana.org.au 1157326740 11060 203.14.152.52 (3 Sep 2006 23:39:00 GMT) X-Complaints-To: postmaster@yoda.apana.org.au NNTP-Posting-Date: Sun, 3 Sep 2006 23:39:00 +0000 (UTC) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!fu-berlin.de!news.wa.apana.org.au!news.yoda.apana.org.au!lios.apana.org.au!cd