Re: [sisuite-users] systemimager-4.3.0-0.3 (kernel 3.7.2, hpsa, bnx2, ...) (For testing purpose).

2013-01-24 Thread Ole Holm Nielsen
Hi Olivier,

I tried PXE-booting a compute node using the kernel/initrd.img from this 
new RPM.  Unfortunately, the boot still crashes completely very early in 
the start_network function and gives a DHCP error message.  The system 
is hung and I can't examine anything but the console image.

FYI, this node is a HP Proliant DL160 G6 (Intel Nehalem) server.

Best regards,
Ole

On 01/23/2013 11:48 AM, LAHAYE Olivier wrote:
 David,

 I've updated my rpms 4.3.0-0.3 (currently being built).

 - I've applyed your patch regarding the udev start.
 - Regarding the firmwares, they were missing for unknown reason. Since I've 
 upgraded the kernel to 3.7.2 and enabled many more drivers for disks (hpsa 
 and more) and network devices (bnx2, ...), the firmwares that you were 
 missing seems to be present in the image.
 - Regarding UseYourOwnKernel, I didn't copy the firmwares as with the new 
 kernel config, they seem to be included.
 - I didn't had a look at the UYOK which doesn't copy the kernel and 
 initrd.img.
 - As for the -L option in rsync, I don't know if it's usefull as there are no 
 links in the templates trees. If you use another tree, though, I'm not sure 
 if the -L option is the way to fixe the issue you are seeing as it may result 
 in bigger initrd with duplicate materials. at least a hard link could be a 
 solution, though in the 1st place, the issue is caused by a missplaced thing 
 and a trick is to create a softlink to hide the issue. Can't you have a tree 
 with no soft links?

 Could you give a test to these rpms and and test with default kernel?

 Many thanks for your help.

 Best Regards.

 RPMS:
 http://olivier.lahaye1.free.fr/RPMS/noarch/systemimager-bittorrent-4.3.0-0.3.el6.noarch.rpm
 http://olivier.lahaye1.free.fr/RPMS/noarch/systemimager-client-4.3.0-0.3.el6.noarch.rpm
 http://olivier.lahaye1.free.fr/RPMS/noarch/systemimager-common-4.3.0-0.3.el6.noarch.rpm
 http://olivier.lahaye1.free.fr/RPMS/noarch/systemimager-flamethrower-4.3.0-0.3.el6.noarch.rpm
 http://olivier.lahaye1.free.fr/RPMS/noarch/systemimager-i386boot-standard-4.3.0-0.3.el6.noarch.rpm
 http://olivier.lahaye1.free.fr/RPMS/noarch/systemimager-i386initrd_template-4.3.0-0.3.el6.noarch.rpm
 http://olivier.lahaye1.free.fr/RPMS/noarch/systemimager-server-4.3.0-0.3.el6.noarch.rpm
 http://olivier.lahaye1.free.fr/RPMS/noarch/systemimager-x86_64boot-standard-4.3.0-0.3.el6.noarch.rpm
 http://olivier.lahaye1.free.fr/RPMS/noarch/systemimager-x86_64initrd_template-4.3.0-0.3.el6.noarch.rpm

 SRPMS:
 http://olivier.lahaye1.free.fr/SRPMS/systemimager-4.3.0-0.3.el6.src.rpm

 Scrips:
 http://olivier.lahaye1.free.fr/RPMS/extra/si_scripts.tar.bz2



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


[sisuite-users] systemimager-4.3.0-0.3 (kernel 3.7.2, hpsa, bnx2, ...) (For testing purpose).

2013-01-24 Thread david . livingstone
Second attempt after the first one bounced due to size ...


David K Livingstone
CN Signals and Communications
10229 127 Avenue floor 2
Walker Operations East Building
Edmonton, AB, T5E 0B9
Ph  : 780 472-3959 Fax : 780 472-3046
Email: david.livingst...@cn.ca 
- Forwarded by David Livingstone/LIVING03/CNR/CA on 2013/01/24 09:34 
-

From:
David Livingstone/LIVING03/CNR/CA
To:
olivier.lah...@cea.fr
Date:
2013/01/24 09:03
Subject:
Fw: [sisuite-users] systemimager-4.3.0-0.3 (kernel 3.7.2, hpsa, bnx2, ...) 
(For testing purpose).


Olivier,

Just received a reply from the list saying the post exceeded the limit and 
it needs to be approved by the moderator ...
In the meantime her is the post sent directly to you !

I was running out the door last night when I posted and forgot to answer 
your question :

- I included the rsync -L option(as described below with a snippet from my 
original post)  because
  unfortunately this is the default result when applying the HP 
spp(firmware and driver updates) to an HPserver.
  The first time an spp is applied to a server the HP updated driver is 
applied correctly to the /lib/modules/kernel
  tree. If you subsequently upgrade your kernel and then apply an spp 
again then the a link is made rather
 then the module being copied(as shown below). Yes I could fight HP/redhat 
on this however I don't
have the time or energy ...

 - Needed modules(ie hpsa) as symbolic links  under 
/lib/modules/(uname -r) 
   ex 
[root@scdev ~]# ls -al 
/lib/modules/2.6.32-220.4.2.el6.i686/weak-updates/hpsa/hpsa.ko 
0 lrwxrwxrwx 1 root root 50 Mar  5 04:05 
/lib/modules/2.6.32-220.4.2.el6.i686/weak-updates/hpsa/hpsa.ko - 
/lib/modules/2.6.32-71.el6.i686/extra/hpsa/hpsa.ko 
[root@scdev ~]# 
This results in the modules not being copied correctly in the 
generated initrd.
 I resolved this by modifying the UseYourOwnKernel.pm rsync 
invocations 
 to copy the resultant files(the L rather then the l option. I 
include the diff 
 below. 


David K Livingstone
CN Signals and Communications
10229 127 Avenue floor 2
Walker Operations East Building
Edmonton, AB, T5E 0B9
Ph  : 780 472-3959 Fax : 780 472-3046
Email: david.livingst...@cn.ca 
- Forwarded by David Livingstone/LIVING03/CNR/CA on 2013/01/24 08:51 
-

From:
David Livingstone/LIVING03/CNR/CA
To:
sisuite-users@lists.sourceforge.net
Date:
2013/01/23 16:51
Subject:
Re: [sisuite-users] systemimager-4.3.0-0.3 (kernel 3.7.2, hpsa, bnx2, ...) 
(For testing purpose).


Olivier,

I just attempted to load an x86_64 machine using your previous build with 
my changes applied as described in my email below. I haven't 
yet had a chance to look at your new build.

- I attempted a boot using the standard kernel/initd and :
   - the dhclient DEVICE failed. Later in the shell with dhclient -v 
eth1) it turns out the interface was not up. After doing a ifconfig eth1 
up
 the dhclinet eth1 is now is successful however now it attempts to 
write the lease into /var/db/dhclient.leases rather then 
 the expected /var/state/dhcp/...  Did you ever get a dhclient boot to 
work ?
  - also during booting requested firmware was hanging ie netxen_nic:...: 
firmware: requesting phanfw.bin
See below with uyok.
   - I eventually tried setting all the IP parameters and IMAGESERVER in 
the pxelinux.cfg  file which
 bypasses dhclient. At this point we now fail because there is no hpsa 
module loaded and no 
 disks are visible.
 
-The uyok load fails as once again numerous firmware files fail to load. 
This problem did not happen
  with my initial test setup using the 4.1.99.svn4556_bli-1 packages but 
does with 4.3.0-0.2.el6. 
  In this case the firmware files are in the initrd however what appears 
to have changed is
  that the firmware loading code changed from a shell script (firmware.sh) 
to a binary.

  See https://bugzilla.redhat.com/show_bug.cgi?id=560031

 The  4.1.99.svn4556_bli-1 package 
systemimager-i386initrd_template-4.1.99.svn4556_bli-1.noarch 
 has :
[root@nasedm udev]# pwd
/usr/share/systemimager/boot/i386/standard/initrd_template/lib/udev
[root@nasedm udev]# ls
total 132
12 ata_id* 8 collect*12 edd_id*   12 path_id*
24 scsi_id*  12 vol_id*   4 write_net_rules*
 8 cdrom_id*  12 create_floppy_devices*   4 firmware.sh*   4 
rule_generator.functions  16 usb_id*4 write_cd_rules*
[root@nasedm udev]#


And the systemimager-x86_64initrd_template-4.3.0-0.2.el6.noarch has :
[root@wild1 udev]# pwd
/usr/share/systemimager/boot/x86_64/standard/initrd_template/lib/udev
[root@wild1 udev]# ls
total 356
24 ata_id*12 collect*20 edd_id*20 fstab_import* 36 
path_id*  40 usb_id*   4 write_cd_rules*
36 cdrom_id*  44 create_floppy_devices*  44 firmware*  32 input_id* 32 
scsi_id*   8 v4l_id*   4 write_net_rules*
[root@wild1 udev]#

The original firmware.sh is invoked in the