Hey Andrea:

When you get a chance, can you test this patch on SuSE and if it works
commit it into trunk?

I don't have any SuSE test servers right now, otherwise I would probably
do it myself... :-)

BTW, is there a chance that af_packet resides in /lib64/ ?

Thanks,

Bernard 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Ashley Gould
> Sent: Monday, March 20, 2006 10:17
> To: sisuite-users@lists.sourceforge.net
> Subject: Re: [Sisuite-users] sit0: unknown hardware address 
> type 776 on boot cd load
> 
> 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/Syst
> emImager # 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
> Sisuite-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sisuite-users
> 


-------------------------------------------------------
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&kid0944&bid$1720&dat1642
_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to