1.機器 普通x86PC
128M RAM
1G HardDriver
Matrox NGA 200
Intel EePRo 100B
2.準備:
一般solaris安裝非常簡單,幾乎是一路F2過去,就ok,但是在實際的工作中,我
們發現
由于一些設備比較新,大家必須解決以下2類問題:
1).某些網卡配置失敗
solaris無法安裝正確的網卡驅動,或者某些網卡在舊的驅動下偶爾出現問題;
2).許多顯示卡一般都無法直接配置成功,主要是solaris對于video的支持比較差
3.所以我們提供以上2中情況的解決方法:
1).安裝網卡驅動:
Solaris x86的安裝,一般需要一個引導盤,我們使用的是devcfg12.bin;按照do
cs.sun.com的建議
下載 Driver Update 3
.安裝:
使用c:>dd devcfg12.bin a:制作引導軟盤,啟動機器,
可以看到:
Solaris for x86
SUNOS Secondary Boot version 3.00
然后進入Device Assistant :
首先是開始
Solaris Device Configuration Assistant:
F2: full scan F3: Partial Scan F4: _Driver Update
這個時候,你應該選擇F4,屏幕出現:
"Enumerating buses ..."
然后出現: Install Driver Update
取出Solaris 2.6 Device Configuration Assistant Version 1.2 盤,把Solar
is 2.6 Driver Update 3
Diskette 1插入。選擇 F2繼續,出現Select Solaris System Version;在選擇
了Solaris OS 2.6 以后,
F2繼續下一步;Loading Driver Update Software 屏幕出現,等到Continue Dr
iver Update Installation
出現,換盤Solaris 2.6 Driver Update 3 Diskette 2,如此知道3個盤全部加載
完畢。
在換上Solaris 2.6 Device Configuration Assistant Version 1.2,注意必須
等到出現以下信息的時候,
你再把Solaris 2.6 Device Configuration Assistant Version 1.2盤取出來:
If you want to bypass the device configuration and boot screens when t
he system reboots,
eject the Device Configuration Assistant/Boot diskette now
這個時候還是F2,你將看到:
Enumerating buses ...
等所有設備掃描結束,選擇 F2,出現:
"Loading driver com.bef ..."
然后將出現: Boot Solaris ,因為從cdrom安裝,選擇 [X] CD....
等到出現下列信息:
Installing unbundled device driver support
Extracting driver list from tree..
distribution-diskette-name driver-name...
Please insert the Driver Update diskette labeled distribution-diskette
-name
Press <ENTER> when ready.
取出Solaris 2.6 Device Configuration Assistant Version 1.2 盤,把Solar
is 2.6 Driver Update 3 Diskette 1 從新
插入,鍵入“回車”
這個時候所有需要的文件被讀入,如果在Solaris 2.6 Driver Update 3 其他盤
上的文件還需要,系統提示:
Please insert the Driver Update diskette labeled distribution-diskette
-name
Press <ENTER> when ready.
否則:系統提示:
If you have additional Update diskettes to install(such as video),
please insert diskette now.Additional Update diskettes to install? (y/
n) [y]
如果在這個時候你同時需要升級Video驅動,那么選擇 "y",那么系統回提示其他
信息。否則選擇 "n";
,鍵入 "Enter".
在安裝結束后,出現下列提示信息:
"Installation complete"
那開所有軟盤,reboot 機器,那么等到soalris啟動后,新的驅動就發生作用拉
。
如果你在上邊選擇了安裝Video 驅動,你需要運行kdmconfig.
2)安裝顯卡補丁:
首先下載相應的顯示卡patch,比如我們根據我們的機器下載了105195-02 (v-mat
rox)
驅動程序du3vmat.exe,在win98下直接執行他,提示插入一個軟盤,寫文件到軟盤
上。
以root進入solaris 26,首先檢查volume manager是否運行,如果發現,臨時終止
它。
#ps -ef |grep vol
# /etc/init.d/volmgt stop
插入剛才制作好的patch盤,
# mount -F pcfs /dev/diskette /mnt
注意必須mount到/mnt目錄!!!
然后執行:
# /mnt/DU/sol_26/i86pc/Tools/install.sh -i
你將看到如下的信息:
Install patch v-common? [y] n
Install patch v-matrox ? [y] (這個是我們要的,所以選擇"y")
Installing driver object v-matrox
Installing patch 105195-02
checking installed packages and patches...
verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch number 105195-02 has been successfully installed.
See /var/sadm/patch/105195-02/log for details
Patch packages installed:
SUNWxwpls
#
這時可以:
# umount /mnt
再次啟動Volumn Manager
# /etc/init.d/volmgt start
然后使用下列命令,再次配置你的顯示卡:
# kdmconfig
經過測試,一些正常,顯卡配置完成!
5.補充信息:
1). 下邊是一個docs.sun.com 上的原始文檔,適合在已經安裝好的Soalris上更
新驅動程序:
/*-------------------------*/
Adding New or Updated Drivers to an Existing Solaris System
----------------------------------------------------------------------
----------
Note -
Before adding new or updated drivers, the newly supported hardware dev
ices should be installed
and configured according to the instructions in the corresponding Devi
ce Reference Page, if any.
See Device Reference Manual for Solaris 2.6 (Intel Platform Edition).
----------------------------------------------------------------------
----------
When the Solaris 2.6 Intel Platform Edition software is already instal
led, the simplest way to
add new or updated drivers is to install the Driver Update diskettes a
s patches on your system.
Follow these steps:
Become root.
Type ps -ef | grep vold to see if the Volume Management software is ru
nning on the machine you are updating.
For more information about managing diskettes and drives, see System A
dministration Guide.
If Volume Management is running, temporarily stop it:
# /etc/init.d/volmgt stop
Insert Solaris 2.6 Driver Update 3 Diskette 1 into the diskette drive.
Mount Solaris 2.6 Driver Update 3 Diskette 1 at the /mnt mount point:
# mount -F pcfs /dev/diskette /mnt
----------------------------------------------------------------------
----------
Note -
You must mount Solaris 2.6 Driver Update 3 Diskette 1 at this point in
the file structure to update your system successfully.
----------------------------------------------------------------------
----------
Execute the install script on the diskette by typing:
# /mnt/DU/sol_26/i86pc/Tools/install.sh -i
The install.sh script searches for all new or updated drivers on the d
iskette. When a new or
updated driver is found, the following prompt is displayed:
Install patch driver-name? [y]
If the driver is the one you want to install, at the prompt, type y fo
r yes or press Enter.
If the driver is not the one you want to install, type n for no.
If you specify yes, the install.sh script installs the driver you indi
cated.
When you're done and the install.sh script exits, unmount the diskette
by typing
the following command at the system prompt:
# umount /mnt
Remove Solaris 2.6 Driver Update 3 Diskette 1 from the diskette drive.
Repeat Step 4 through Step 9 for each subsequent Driver Update 3 diske
tte in the set until
the driver you want is loaded onto your machine.
Halt your machine.
Turn your machine off.
If you haven't already, add the new hardware.
Turn your machine on.
When the autoboot sequence prompt is displayed, quickly press Escape.
The autoboot sequence is interrupted. The Solaris Device Configuration
Assistant screen is displayed.
Press F2_Continue.
The message "Enumerating buses ..." is displayed. The Scanning Devices
screen is then displayed.
System devices are scanned. When scanning is complete, the Identified
Devices screen is displayed.
Press F2_Continue.
The message "Loading driver com.bef ..." is displayed. The Boot Solari
s screen is then displayed.
On the Boot Solaris screen, select the device controller attached to t
he device that contains
your install medium, in this case the main system disk.
The /etc/bootrc script is displayed.
At the prompt, type b -r.
Your machine boots. You can now use your new hardware.
/*-------------------------*/
2).非常令人奇怪的是solaris x86對于網卡的命名規則:
iprb0 <----如果你的網卡是 intel pro 100b
elx0 <----如果你的網卡是 3com 3c900
一般我們感覺大家習慣了 hme0(sparc),eth0(linux),lan0(hp-ux),net0(SCO),但
是Solaris x86偏偏使用
與網卡廠商名字關聯的名字來命名網卡設備。
3).Driver Update 3包含那些內容:
Solaris 2.6 Device Configuration Assistant, Version 1.2 Diskette
Solaris 2.6 Driver Update 3 Diskette 1
Solaris 2.6 Driver Update 3 Diskette 2
Solaris 2.6 Driver Update 3 Diskette 3
Solaris 2.6 Driver Update 3 ata Diskette
Solaris 2.6 ata Recovery Diskette
These diskettes are to be used with a Solaris 2.6 CD or net install im
age.
4).Solaris 2.6 Device Configuration Assistant, Version 1.2 Diskette盤是
什么?
If you are installing Solaris 2.6 Intel Platform Edition and you want
to install the drivers in Driver Update 3,
you must use Solaris 2.6 Device Configuration Assistant, Version 1.2 D
iskette instead of the Solaris 2.6
Device Configuration Assistant diskette you received with Solaris 2.6
Intel Platform Edition.
You can download Solaris 2.6 Device Configuration Assistant, Version 1
.2 Diskette
from http://access1.sun.com/drivers.
This diskette contains scripts and configuration files that enable you
to boot and install
your system using one of the newly supported devices.
4).哪里下載這些需要的啟動/驅動文件?
在下列站點你可以找到上邊所有所需要的文件:
國外:http://access1.sun.com
國內:http://www.haoku.net/downit.htm
5).感謝中文unix社區 www.unixaid.net的3位斑竹:
Cyndi
Happy...
Jin