SLES11 autoyast installation problems with netw drivers
Hello everybody,
As a part of a project of mine I am trying to install a SLES11 x32 and x64 on a server.First its the x32.I downloaded the .iso with the NIC drivers for it.
Heres what I have done so far.Package is called:
hp_be2net_2.104.277.1_2.src.rpm
I downloaded it in /var/tmp/jord/tmp
I also have the following files
rpmmacros
README_INSTALL
kernel_syms_2.6.27.19_5.1.x.rpm(why do i need this?)
be2net.ko
1.rpm -ql to view the content of hp_be2net_2.104.277.1_2.src.rpm
As expected A)tar.gz file B)spec file
2.rpm2cpio hp_be2net_2.104.277.1.2.src.rpm | cpio -idv
3.gunzip hp_be2net_2.104.277.1.2.tar.gz
4.tar tvf hp_be2net_2.104.277.1.2.tar hp_be2net.tar
5.tar tvf hp_be2net.tar
tar tvf hp_be2net.tar | grep be2net.ko #to find my module
tar xvf hp_be2net.tar hp-be2net/ko/default/be2net.ko
cd hp_be2net/ko/default
result of pwd is
/var/tmp/jord/tmp/hp-be2net/ko/default
cp hp_be2net.ko /var/tmp/jord
cd /var/tmp/jord
Next i am supposed to extract the initrd.img from the current dvd`s
I understand the initrd.img is a gziped cpio archive
cp /thepathtothemedia/initrd /var/tmp/jord/
when i do ll i have the following
1.be2net.ko
2.initrd
3.tmp(where all the original files rezided)
when i do file on initrd I see it is gzip compressed format
mv initrd initrd.gz
gunzip initrd.gz
now when i do file initrd it shows
ASCII cpio archive(CVR4 with no CRC)
into /var/tmp/jord
i do
mkdir initrd.dir
mv initrd initrd.dir
cd initrd.dir
When I do ll i see :
initrd
then its supposed to be :
cpio -idv < initrd
rm -r initrd
cp ../be2net.ko /modules
cd modules
ll
cd ..
cd..
back in /var/tmp/jord
mkdir lib/modules/2.6.27.19-5.default
cp be2net.ko lib/modules/2.6.27.19-5.default
depmod -b 'pwd' be2net.ko
No such file or directory
rm -rf lib/modules/2.6.27.19-5.default
mkdir lib/modules/2.6.18-128.e15
cp be2net.ko lib/modules/2.6.18-128.e15/
depmod -b 'pwd' be2net.ko
cd lib/modules/
cd 2.6.18-128.e15/
i see the following there
[ADMIN@UNIX] 2.6.18-128.el5]# ls
be2net.ko modules.dep modules.isapnpmap modules.seriomap
modules.alias modules.ieee1394map modules.ofmap modules.symbols
modules.ccwmap modules.inputmap modules.pcimap modules.usbmap
cat modules.alias
# Aliases extracted from modules themselves.
alias pci:v000019A2d00000710sv*sd*bc*sc*i* be2net
alias pci:v000019A2d00000700sv*sd*bc*sc*i* be2net
alias pci:v000019A2d00000221sv*sd*bc*sc*i* be2net
alias pci:v000019A2d00000211sv*sd*bc*sc*i* be2net
cat modules.dep is empty
cat modules.pcimap
# pci module vendor device subvendor subdevice class class_mask driver_data
be2net 0x000019a2 0x00000211 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
be2net 0x000019a2 0x00000221 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
be2net 0x000019a2 0x00000700 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
be2net 0x000019a2 0x00000710 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
after that
cat lib/modules/2.6.18-128.e15/modules.alias >> initrd.dir/lib/modules/2.6.27.19-5-default/modules.alias
cat lib/modules/2.6.18-128.e15/modules.pcimap >>initrd.dir/lib/modules/2.6.27.19-5-default/modules.pcimap
cd initrd.dir/lib/modules/2.6.27.19-5-default
I open VI and open the modules.alias
Its added and i see the columns.I remove any #.
same thing for modules.pcimap
cd ../../..
find 2.6.18-53.el5 | cpio -o -H newc | gzip -9 > ../initrd
cd ..
when i check the initial stuff in /var/tmp/jord
[ADMIN@PC]# ls
be2net.ko initrd initrd.dir lib tmp
-----------------
1Q:As far as I understand i must change only the initrd file for this server.Is that correct?They informed me the initrd.img (which is on a different location has the drivers and these are not tftpboot drivers these are drivers for the network i guess , once the os starts installing and kicks autoyast)
2Q:I backed up the old initrd and changed it with the new one.it has only read priviledges.Server can perform the tftp boot(but that was never a problem).The problem comes once rebooted.I am installing it via autoyast.Server installs mini-agent.There is a kickstart installation which does the keyboard,language,etc.
Next theres a reboot and after that I guess autoyast is supposed to install the new driver.My question is should I import anything else?Because the server tells me that the network and media is no-longer reachable??
|