Solaris 2.6 x86安装的一些问题 (1)
- 1.机器普通x86PC 128MRAM 1GHardDriver MatroxNGA200 IntelEePro100B 2.预备 一般solaris安装非常简单,几乎是一路F2过去,就ok,但是在实际的工作中,我 们发现 由于一些设备比较新,大家必须解决以下2类问题 1).某些网卡配置失败 solaris无法安装正确的网卡驱动,或者某些网卡在旧的驱动下偶然出现问题; 2).许多显示卡一般都无法直接配置成功,主要是solaris对于video的支持比较差 3
1.机器普通x86PC
128MRAM
1GHardDriver
MatroxNGA200
IntelEePro100B
2.预备
一般solaris安装非常简单,几乎是一路F2过去,就ok,但是在实际的工作中,我
们发现
由于一些设备比较新,大家必须解决以下2类问题
1).某些网卡配置失败
solaris无法安装正确的网卡驱动,或者某些网卡在旧的驱动下偶然出现问题;
2).许多显示卡一般都无法直接配置成功,主要是solaris对于video的支持比较差
3.所以我们提供以上2中情况的解决方法
1).安装网卡驱动
Solarisx86的安装,一般需要一个引导盘,我们使用的是devcfg12.bin;按照do
cs.sun.com的建议
下载DriverUpdate3
.安装
使用c:%26gt;dddevcfg12.bina:制作引导软盘,启动机器,
可以看到
Solarisforx86
SUNOSSecondaryBootversion3.00
然后进入DeviceAssistant:
首先是开始
SolarisDeviceConfigurationAssistant:
F2:fullscanF3:PartialScanF4:_DriverUpdate
这个时候,你应该选择F4,屏幕出现
"Enumeratingbuses..."
然后出现InstallDriverUpdate
取出Solaris2.6DeviceConfigurationAssistantVersion1.2盘,把Solar
is2.6DriverUpdate3
Diskette1插入。选择F2继续,出现SelectSolarisSystemVersion;在选择
了SolarisOS2.6以后,
F2继续下一步;LoadingDriverUpdateSoftware屏幕出现,等到ContinueDr
iverUpdateInstallation
出现,换盘Solaris2.6DriverUpdate3Diskette2,如此知道3个盘全部加载
完毕。
在换上Solaris2.6DeviceConfigurationAssistantVersion1.2,注重必须
等到出现以下信息的时候,
你再把Solaris2.6DeviceConfigurationAssistantVersion1.2盘取出来
Ifyouwanttobypassthedeviceconfigurationandbootscreenswhent
hesystemreboots,
ejecttheDeviceConfigurationAssistant/Bootdiskettenow
这个时候还是F2,你将看到
Enumeratingbuses...
等所有设备扫描结束,选择F2,出现
"Loadingdrivercom.bef..."
然后将出现BootSolaris,因为从cdrom安装,选择[X]CD....
等到出现下列信息
Installingunbundleddevicedriversupport
Extractingdriverlistfromtree..
distribution-diskette-namedriver-name...
PleaseinserttheDriverUpdatediskettelabeleddistribution-diskette
-name
Press%26lt;ENTER%26gt;whenready.
取出Solaris2.6DeviceConfigurationAssistantVersion1.2盘,把Solar
is2.6DriverUpdate3Diskette1从新
插入,键入“回车”
这个时候所有需要的文件被读入,假如在Solaris2.6DriverUpdate3其他盘
上的文件还需要,系统提示
PleaseinserttheDriverUpdatediskettelabeleddistribution-diskette
-name
Press%26lt;ENTER%26gt;whenready.
否则系统提示
IfyouhaveadditionalUpdatediskettestoinstall(suchasvideo),
pleaseinsertdiskettenow.AdditionalUpdatediskettestoinstall?(y/
n)[y]
假如在这个时候你同时需要升级Video驱动,那么选择"y",那么系统回提示其他
信息。否则选择"n";
,键入"Enter".
在安装结束后,出现下列提示信息
"Installationcomplete"
那开所有软盘,reboot机器,那么等到soalris启动后,新的驱动就发生作用拉
。
假如你在上边选择了安装Video驱动,你需要运行kdmconfig.
2)安装显卡补丁
首先下载相应的显示卡patch,比如我们根据我们的机器下载了105195-02(v-mat
rox)
驱动程序du3vmat.exe,在win98下直接执行他,提示插入一个软盘,写文件到软盘
上。
以root进入solaris26,首先检查volumemanager是否运行,假如发现,临时终止
它。
#ps-ef|grepvol
#/etc/init.d/volmgtstop
插入刚才制作好的patch盘,
#mount-Fpcfs/dev/diskette/mnt
注重必须mount到/mnt目录!!!
然后执行
#/mnt/DU/sol_26/i86pc/Tools/install.sh-i
你将看到如下的信息
Installpatchv-common?[y]n
Installpatchv-matrox?[y](这个是我们要的,所以选择"y")
Installingdriverobjectv-matrox
Installingpatch105195-02
checkinginstalledpackagesandpatches...
verifyingsufficientfilesystemcapacity(dryrunmethod)...
Installingpatchpackages...
Patchnumber105195-02hasbeensuccessfullyinstalled.
See/var/sadm/patch/105195-02/logfordetails
Patchpackagesinstalled:
SUNWxwpls
#
这时可以
#umount/mnt
再次启动VolumnManager
#/etc/init.d/volmgtstart
然后使用下列命令,再次配置你的显示卡
#kdmconfig
经过测试,一些正常,显卡配置完成!
5.补充信息
1).下边是一个docs.sun.com上的原始文档,适合在已经安装好的Soalris上更
新驱动程序
/*-------------------------*/
AddingNeworUpdatedDriverstoanExistingSolarisSystem
----------------------------------------------------------------------
----------
Note-
Beforeaddingneworupdateddrivers,thenewlysupportedhardwaredev
icesshouldbeinstalled
andconfiguredaccordingtotheinstructionsinthecorrespondingDevi
ceReferencePage,ifany.
SeeDeviceReferenceManualforSolaris2.6(IntelPlatformEdition).
----------------------------------------------------------------------
----------
WhentheSolaris2.6IntelPlatformEditionsoftwareisalreadyinstal
led,thesimplestwayto
addneworupdateddriversistoinstalltheDriverUpdatediskettesa
spatchesonyoursystem.
Followthesesteps:
Becomeroot.
Typeps-ef|grepvoldtoseeiftheVolumeManagementsoftwareisru
nningonthemachineyouareupdating.
Formoreinformationaboutmanagingdiskettesanddrives,seeSystemA
dministrationGuide.
IfVolumeManagementisrunning,temporarilystopit:
#/etc/init.d/volmgtstop
InsertSolaris2.6DriverUpdate3Diskette1intothediskettedrive.
MountSolaris2.6DriverUpdate3Diskette1atthe/mntmountpoint:
#mount-Fpcfs/dev/diskette/mnt
----------------------------------------------------------------------
----------
Note-
YoumustmountSolaris2.6DriverUpdate3Diskette1atthispointin
thefilestructuretoupdateyoursystemsuccessfully.
----------------------------------------------------------------------
----------
Executetheinstallscriptonthediskettebytyping:
#/mnt/DU/sol_26/i86pc/Tools/install.sh-i
Theinstall.shscriptsearchesforallneworupdateddriversonthed
iskette.Whenanewor
updateddriverisfound,thefollowingpromptisdisplayed:
Installpatchdriver-name?[y]
Ifthedriveristheoneyouwanttoinstall,attheprompt,typeyfo
ryesorpressEnter.
Ifthedriverisnottheoneyouwanttoinstall,typenforno.
Ifyouspecifyyes,theinstall.shscriptinstallsthedriveryouindi
cated.
Whenyou'redoneandtheinstall.shscriptexits,unmountthediskette
bytyping
thefollowingcommandatthesystemprompt:
#umount/mnt
RemoveSolaris2.6DriverUpdate3Diskette1fromthediskettedrive.
RepeatStep4throughStep9foreachsubsequentDriverUpdate3diske
tteinthesetuntil
thedriveryouwantisloadedontoyourmachine.
Haltyourmachine.
Turnyourmachineoff.
Ifyouhaven'talready,addthenewhardware.
Turnyourmachineon.
Whentheautobootsequencepromptisdisplayed,quicklypressEscape.
Theautobootsequenceisinterrupted.TheSolarisDeviceConfiguration
Assistantscreenisdisplayed.
PressF2_Continue.
Themessage"Enumeratingbuses..."isdisplayed.TheScanningDevices
screenisthendisplayed.
Systemdevicesarescanned.Whenscanningiscomplete,theIdentified
Devicesscreenisdisplayed.
PressF2_Continue.
Themessage"Loadingdrivercom.bef..."isdisplayed.TheBootSolari
sscreenisthendisplayed.
OntheBootSolarisscreen,selectthedevicecontrollerattachedtot
hedevicethatcontains
yourinstallmedium,inthiscasethemainsystemdisk.
The/etc/bootrcscriptisdisplayed.
Attheprompt,typeb-r.
Yourmachineboots.Youcannowuseyournewhardware.
/*-------------------------*/
2).非常令人希奇的是solarisx86对于网卡的命名规则
iprb0%26lt;----假如你的网卡是intelpro100b
elx0%26lt;----假如你的网卡是3com3c900
一般我们感觉大家习惯了hme0(sparc),eth0(linux),lan0(hp-ux),net0(SCO),但
是Solarisx86偏偏使用
与网卡厂商名字关联的名字来命名网卡设备。
3).DriverUpdate3包含那些内容
Solaris2.6DeviceConfigurationAssistant,Version1.2Diskette
Solaris2.6DriverUpdate3Diskette1
Solaris2.6DriverUpdate3Diskette2
Solaris2.6DriverUpdate3Diskette3
Solaris2.6DriverUpdate3ataDiskette
Solaris2.6ataRecoveryDiskette
ThesediskettesaretobeusedwithaSolaris2.6CDornetinstallim
age.
4).Solaris2.6DeviceConfigurationAssistant,Version1.2Diskette盘是
什么?
IfyouareinstallingSolaris2.6IntelPlatformEditionandyouwant
toinstallthedriversinDriverUpdate3,
youmustuseSolaris2.6DeviceConfigurationAssistant,Version1.2D
isketteinsteadoftheSolaris2.6
DeviceConfigurationAssistantdisketteyoureceivedwithSolaris2.6
IntelPlatformEdition.
YoucandownloadSolaris2.6DeviceConfigurationAssistant,Version1
.2Diskette
fromhttp://access1.sun.com/drivers.
Thisdiskettecontainsscriptsandconfigurationfilesthatenableyou
tobootandinstall
yoursystemusingoneofthenewlysupporteddevices.
4).哪里下载这些需要的启动/驱动文件?
在下列站点你可以找到上边所有所需要的文件
国外http://access1.sun.com
国内http://www.haoku.net/downit.htm
5).感谢中文unix社区www.unixaid.net的3位斑竹
Cyndi
Happy...
Jin
128MRAM
1GHardDriver
MatroxNGA200
IntelEePro100B
2.预备
一般solaris安装非常简单,几乎是一路F2过去,就ok,但是在实际的工作中,我
们发现
由于一些设备比较新,大家必须解决以下2类问题
1).某些网卡配置失败
solaris无法安装正确的网卡驱动,或者某些网卡在旧的驱动下偶然出现问题;
2).许多显示卡一般都无法直接配置成功,主要是solaris对于video的支持比较差
3.所以我们提供以上2中情况的解决方法
1).安装网卡驱动
Solarisx86的安装,一般需要一个引导盘,我们使用的是devcfg12.bin;按照do
cs.sun.com的建议
下载DriverUpdate3
.安装
使用c:%26gt;dddevcfg12.bina:制作引导软盘,启动机器,
可以看到
Solarisforx86
SUNOSSecondaryBootversion3.00
然后进入DeviceAssistant:
首先是开始
SolarisDeviceConfigurationAssistant:
F2:fullscanF3:PartialScanF4:_DriverUpdate
这个时候,你应该选择F4,屏幕出现
"Enumeratingbuses..."
然后出现InstallDriverUpdate
取出Solaris2.6DeviceConfigurationAssistantVersion1.2盘,把Solar
is2.6DriverUpdate3
Diskette1插入。选择F2继续,出现SelectSolarisSystemVersion;在选择
了SolarisOS2.6以后,
F2继续下一步;LoadingDriverUpdateSoftware屏幕出现,等到ContinueDr
iverUpdateInstallation
出现,换盘Solaris2.6DriverUpdate3Diskette2,如此知道3个盘全部加载
完毕。
在换上Solaris2.6DeviceConfigurationAssistantVersion1.2,注重必须
等到出现以下信息的时候,
你再把Solaris2.6DeviceConfigurationAssistantVersion1.2盘取出来
Ifyouwanttobypassthedeviceconfigurationandbootscreenswhent
hesystemreboots,
ejecttheDeviceConfigurationAssistant/Bootdiskettenow
这个时候还是F2,你将看到
Enumeratingbuses...
等所有设备扫描结束,选择F2,出现
"Loadingdrivercom.bef..."
然后将出现BootSolaris,因为从cdrom安装,选择[X]CD....
等到出现下列信息
Installingunbundleddevicedriversupport
Extractingdriverlistfromtree..
distribution-diskette-namedriver-name...
PleaseinserttheDriverUpdatediskettelabeleddistribution-diskette
-name
Press%26lt;ENTER%26gt;whenready.
取出Solaris2.6DeviceConfigurationAssistantVersion1.2盘,把Solar
is2.6DriverUpdate3Diskette1从新
插入,键入“回车”
这个时候所有需要的文件被读入,假如在Solaris2.6DriverUpdate3其他盘
上的文件还需要,系统提示
PleaseinserttheDriverUpdatediskettelabeleddistribution-diskette
-name
Press%26lt;ENTER%26gt;whenready.
否则系统提示
IfyouhaveadditionalUpdatediskettestoinstall(suchasvideo),
pleaseinsertdiskettenow.AdditionalUpdatediskettestoinstall?(y/
n)[y]
假如在这个时候你同时需要升级Video驱动,那么选择"y",那么系统回提示其他
信息。否则选择"n";
,键入"Enter".
在安装结束后,出现下列提示信息
"Installationcomplete"
那开所有软盘,reboot机器,那么等到soalris启动后,新的驱动就发生作用拉
。
假如你在上边选择了安装Video驱动,你需要运行kdmconfig.
2)安装显卡补丁
首先下载相应的显示卡patch,比如我们根据我们的机器下载了105195-02(v-mat
rox)
驱动程序du3vmat.exe,在win98下直接执行他,提示插入一个软盘,写文件到软盘
上。
以root进入solaris26,首先检查volumemanager是否运行,假如发现,临时终止
它。
#ps-ef|grepvol
#/etc/init.d/volmgtstop
插入刚才制作好的patch盘,
#mount-Fpcfs/dev/diskette/mnt
注重必须mount到/mnt目录!!!
然后执行
#/mnt/DU/sol_26/i86pc/Tools/install.sh-i
你将看到如下的信息
Installpatchv-common?[y]n
Installpatchv-matrox?[y](这个是我们要的,所以选择"y")
Installingdriverobjectv-matrox
Installingpatch105195-02
checkinginstalledpackagesandpatches...
verifyingsufficientfilesystemcapacity(dryrunmethod)...
Installingpatchpackages...
Patchnumber105195-02hasbeensuccessfullyinstalled.
See/var/sadm/patch/105195-02/logfordetails
Patchpackagesinstalled:
SUNWxwpls
#
这时可以
#umount/mnt
再次启动VolumnManager
#/etc/init.d/volmgtstart
然后使用下列命令,再次配置你的显示卡
#kdmconfig
经过测试,一些正常,显卡配置完成!
5.补充信息
1).下边是一个docs.sun.com上的原始文档,适合在已经安装好的Soalris上更
新驱动程序
/*-------------------------*/
AddingNeworUpdatedDriverstoanExistingSolarisSystem
----------------------------------------------------------------------
----------
Note-
Beforeaddingneworupdateddrivers,thenewlysupportedhardwaredev
icesshouldbeinstalled
andconfiguredaccordingtotheinstructionsinthecorrespondingDevi
ceReferencePage,ifany.
SeeDeviceReferenceManualforSolaris2.6(IntelPlatformEdition).
----------------------------------------------------------------------
----------
WhentheSolaris2.6IntelPlatformEditionsoftwareisalreadyinstal
led,thesimplestwayto
addneworupdateddriversistoinstalltheDriverUpdatediskettesa
spatchesonyoursystem.
Followthesesteps:
Becomeroot.
Typeps-ef|grepvoldtoseeiftheVolumeManagementsoftwareisru
nningonthemachineyouareupdating.
Formoreinformationaboutmanagingdiskettesanddrives,seeSystemA
dministrationGuide.
IfVolumeManagementisrunning,temporarilystopit:
#/etc/init.d/volmgtstop
InsertSolaris2.6DriverUpdate3Diskette1intothediskettedrive.
MountSolaris2.6DriverUpdate3Diskette1atthe/mntmountpoint:
#mount-Fpcfs/dev/diskette/mnt
----------------------------------------------------------------------
----------
Note-
YoumustmountSolaris2.6DriverUpdate3Diskette1atthispointin
thefilestructuretoupdateyoursystemsuccessfully.
----------------------------------------------------------------------
----------
Executetheinstallscriptonthediskettebytyping:
#/mnt/DU/sol_26/i86pc/Tools/install.sh-i
Theinstall.shscriptsearchesforallneworupdateddriversonthed
iskette.Whenanewor
updateddriverisfound,thefollowingpromptisdisplayed:
Installpatchdriver-name?[y]
Ifthedriveristheoneyouwanttoinstall,attheprompt,typeyfo
ryesorpressEnter.
Ifthedriverisnottheoneyouwanttoinstall,typenforno.
Ifyouspecifyyes,theinstall.shscriptinstallsthedriveryouindi
cated.
Whenyou'redoneandtheinstall.shscriptexits,unmountthediskette
bytyping
thefollowingcommandatthesystemprompt:
#umount/mnt
RemoveSolaris2.6DriverUpdate3Diskette1fromthediskettedrive.
RepeatStep4throughStep9foreachsubsequentDriverUpdate3diske
tteinthesetuntil
thedriveryouwantisloadedontoyourmachine.
Haltyourmachine.
Turnyourmachineoff.
Ifyouhaven'talready,addthenewhardware.
Turnyourmachineon.
Whentheautobootsequencepromptisdisplayed,quicklypressEscape.
Theautobootsequenceisinterrupted.TheSolarisDeviceConfiguration
Assistantscreenisdisplayed.
PressF2_Continue.
Themessage"Enumeratingbuses..."isdisplayed.TheScanningDevices
screenisthendisplayed.
Systemdevicesarescanned.Whenscanningiscomplete,theIdentified
Devicesscreenisdisplayed.
PressF2_Continue.
Themessage"Loadingdrivercom.bef..."isdisplayed.TheBootSolari
sscreenisthendisplayed.
OntheBootSolarisscreen,selectthedevicecontrollerattachedtot
hedevicethatcontains
yourinstallmedium,inthiscasethemainsystemdisk.
The/etc/bootrcscriptisdisplayed.
Attheprompt,typeb-r.
Yourmachineboots.Youcannowuseyournewhardware.
/*-------------------------*/
2).非常令人希奇的是solarisx86对于网卡的命名规则
iprb0%26lt;----假如你的网卡是intelpro100b
elx0%26lt;----假如你的网卡是3com3c900
一般我们感觉大家习惯了hme0(sparc),eth0(linux),lan0(hp-ux),net0(SCO),但
是Solarisx86偏偏使用
与网卡厂商名字关联的名字来命名网卡设备。
3).DriverUpdate3包含那些内容
Solaris2.6DeviceConfigurationAssistant,Version1.2Diskette
Solaris2.6DriverUpdate3Diskette1
Solaris2.6DriverUpdate3Diskette2
Solaris2.6DriverUpdate3Diskette3
Solaris2.6DriverUpdate3ataDiskette
Solaris2.6ataRecoveryDiskette
ThesediskettesaretobeusedwithaSolaris2.6CDornetinstallim
age.
4).Solaris2.6DeviceConfigurationAssistant,Version1.2Diskette盘是
什么?
IfyouareinstallingSolaris2.6IntelPlatformEditionandyouwant
toinstallthedriversinDriverUpdate3,
youmustuseSolaris2.6DeviceConfigurationAssistant,Version1.2D
isketteinsteadoftheSolaris2.6
DeviceConfigurationAssistantdisketteyoureceivedwithSolaris2.6
IntelPlatformEdition.
YoucandownloadSolaris2.6DeviceConfigurationAssistant,Version1
.2Diskette
fromhttp://access1.sun.com/drivers.
Thisdiskettecontainsscriptsandconfigurationfilesthatenableyou
tobootandinstall
yoursystemusingoneofthenewlysupporteddevices.
4).哪里下载这些需要的启动/驱动文件?
在下列站点你可以找到上边所有所需要的文件
国外http://access1.sun.com
国内http://www.haoku.net/downit.htm
5).感谢中文unix社区www.unixaid.net的3位斑竹
Cyndi
Happy...
Jin





