Installation Problem on AIX 4.1
ITEM: RTA000079191
Could you please help me with the following problem regarding
installation of a scanner SCSI driver on AIX 4.1
The below installation script has been developed for AIX 3.2.5 and
works on this platform, but on AIX 4.1 we gets a "method error 0514-022
when executing mkdev command.
Please tell us what will have to be changed to run on AIX 4.1.
************************* Install script *************************
clear
echo Large format scanner installation ver. 1.3
echo
UID=`id -u`
if . ".UID" = "0" .
then
UID=0
else
echo Must be root to run install
exit
fi
echo "Uncompressing Software"
uncompress cis.tar.Z
tar xvf cis.tar
rm cis.tar
chmod 755 cis
chmod 644 cis.uid
chmod 644 readme.txt
echo "installing /usr/lib/X11/app-defaults/cis"
cp cis.res /usr/lib/X11/app-defaults/cis
rm cis.res
echo "SCSI ID of scanner : \c"
read SCSI ID
while . ".SCSI_ID" -lt 0 -o "SCSI_ID" -gt 6 .
do
echo "SCSI ID must be 0 - 6 "
echo
echo "SCSI ID of scanner : \c"
read SCSI_ID
done
cd gnifVl.1
./gnifinstall
odmdelete -o PdDv -q "type = gnscsi"
odmadd gnif.add
mkdev -l scsi0
mkdev -d -c gnif -t gnscsi -s scsi -p scsi0 -l gnif".SCSI_ID" -w
".SCSI_ID"0
mkdev -l gnif".SCSI_ID"
--------------------------------------------------------------------
When the install program reaches the line with mkdev -d it fails
with the error 0514-022.
ANSWER
This is most likely because the /dev/ipldevice is pointing to the
wrong disk. Run the following commands to check.
ls -l /dev/ipldevice
ls -l /dev/hdisk*
Notice the major and minor numbers. It sounds as if the
/dev/ipldevice is pointing to hdisk1 and not hdisk0 as you would
expect. You need to make sure that the mirror is in sync and
that you can boot of hdisk0. First reset the bootlist with the
following:
bootlist -m prevboot -i
bootlist -m normal hdisk0
Then reboot. If /dev/ipldevice is still pointing to the wrong
disk. You can manually change this with the following commands:
cd /dev
rm ipldevice
mknod /dev/ipldevice c Major# Minor# (these should match that of
hdisk0 )
Then do a new bosboot to the drive "bosboot -ad /dev/hdisk0
I cannot verify that the command should work. The suggestions I
can suggest are to make sure that the entries you added to the
ODM are as you would suspect. Also, I noticed that you are
trying to define the device with the parent as SCSI0. Make
sure this is correct and that it is not attached to a dufferent
adapter. Past instances of this type of error occured when the
parameters given to mkdev are not correct. If you reopen this
item please include the complete error message returned from mkdev.
ANSWER
R: I did not get the exact error message, I got 051?-013. I did
a search on this in our database and in the message catalogs
but did not find anything that matched. But, from the description,
" Logical name is required" it sounds like wither the -p or -l
flag may be in error. These expect a device name. Check that and
if that does not help please respond with the complete error message.
Thank You.
S e a r c h - k e y w o r d s:
ADDING DEVICE IN 4.1
WWQA: ITEM: RTA000079191 ITEM: RTA000079191
Dated: 02/1996 Category: ITSAI6000GE
This HTML file was generated 99/06/24~12:43:28
Comments or suggestions?
Contact us