Funny, I was just going to post about this issue.
I'm also running sles9. SuSE builds CONFIG_PACKET as module (af_packet)
instead of statically. I found that sometimes af_packet is loaded already and
sometimes not. I added a patch to check for it and load if needed before
pulling all the modules into the new ramdisk. This is on 3.6.2-1:
hvxen-0d:/usr/src/packages/SOURCES/systemimager-3.6.2/lib/SystemImager # diff
-Naur UseYourOwnKernel.pm.orig UseYourOwnKernel.pm
--- UseYourOwnKernel.pm.orig 2006-03-20 10:08:43.514373401 -0800
+++ UseYourOwnKernel.pm 2006-03-20 10:10:27.941472511 -0800
@@ -67,6 +67,14 @@
my $uname_r = get_uname_r();
my $module_paths = `find /lib/modules/$uname_r`;
+ # test for af_packet. needed for dhclient during install -AG-
+ my $af_packet_mod = `find /lib/modules/$uname_r -name af_packet*`;
+ chomp $af_packet_mod;
+ if (-f "$af_packet_mod") {
+ my $cmd = "/sbin/modprobe af_packet >/dev/null 2>&1";
+ !system($cmd) or die("Couldn't $cmd");
+ }
+
my @modules = get_load_ordered_list_of_running_modules();
foreach( @modules ) {
On Sun, Mar 19, 2006 at 02:44:48PM -0600, Scott Lepech wrote:
>
>
>
>
> I just had to modprobe af_packet to make the af_packet.ko module active. I
> then recreate the boot image. Now dhclient works fine.
>
>
>
>
>
>
>
--
-ashley
Did you try poking at it with a stick?
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users