LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-17-2011, 11:11 AM   #1
dann_radkov
Member
 
Registered: Sep 2011
Posts: 52

Rep: Reputation: Disabled
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??
 
Old 10-05-2011, 10:20 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
If this issue is solved, why don't you share your solution for future reference? It might help others that encounter the same problem.

Last edited by colucix; 10-05-2011 at 01:08 PM.
 
Old 10-06-2011, 09:32 AM   #3
dann_radkov
Member
 
Registered: Sep 2011
Posts: 52

Original Poster
Rep: Reputation: Disabled
I didnt quite solve it. I found a workaround. Still its a pretty old page so decided to close the chapter.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SLES11 xen kernel can't boot password636 SUSE / openSUSE 3 06-04-2011 06:26 PM
SLES11 Kernel Boot up hangs BenjaminLost Linux - Kernel 1 05-04-2011 07:45 PM
CLVM issue on SLES11 tikit Linux - Software 0 12-27-2010 10:06 AM
Win7-SLES11.3 PDC pnguyen Linux - Networking 0 09-04-2010 07:19 PM
custom sles11 sha1sum issue sanketks Linux From Scratch 1 05-18-2010 05:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration