Problems with bootp and self-compiled kernels

2001-12-14 Thread Phil

Hi all!

I wanted to add aic7xxx support in the boot kernel (I don't know if it
should have been loaded automatically as a module, but it did not do so)
but I was not able to boot because the kernel did not send any bootp
requests.

To be sure I did not misconfigure my kernel, I took a fresh vanilla
2.2.19, copied /usr/lib/fai/nfsroot/boot/config-2.2.19 to .config, made
menuconfig to create config.h and compiled this kernel, which I put in
place of the old one in /usr/lib/fai/nfsroot/boot/. Then I
make-fai-floppy. But the result is the same.

(an extract of the .config :
[...]
#
# Networking options
#
CONFIG_PACKET=m
CONFIG_NETLINK=y
# CONFIG_RTNETLINK is not set
CONFIG_NETLINK_DEV=m
# CONFIG_FIREWALL is not set
CONFIG_FILTER=y
CONFIG_UNIX=m
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_PNP=y
# CONFIG_IP_PNP_DHCP is not set
CONFIG_IP_PNP_BOOTP=y
# CONFIG_IP_PNP_RARP is not set
# CONFIG_IP_ROUTER is not set
# CONFIG_NET_IPIP is not set
CONFIG_NET_IPGRE=m
# CONFIG_NET_IPGRE_BROADCAST is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_IP_ALIAS is not set
# CONFIG_SYN_COOKIES is not set
CONFIG_INET_RARP=m
CONFIG_SKB_LARGE=y
CONFIG_IPV6=m
# CONFIG_IPV6_EUI64 is not set
[...]
)

Any Idea ?

Btw, I tried to apt-get source fai-kernel.

the I option is used in tar and it should be -j :

[...]
tar Ixf /usr/src/kernel-source-2.2.19.tar.bz2
tar: Warning: the -I option is not supported; perhaps you meant -j or -T?
Try `tar --help' for more information.
make: *** [unpack-stamp] Error 2

for iinfo, here it is :
deneb:/tmp/fai-kernels-1.1.3$ find -type f | xargs grep tar Ixf
./debian/rules: tar Ixf /usr/src/$(kname).tar.bz2

Thanks.

-- 
Philippe Biondi pbi@ cartel-info.fr   Cartel Informatique
Security Consultant/RD http://www.cartel-info.fr
Phone: +33 1 44 06 97 94Fax: +33 1 44 06 97 99
PGP KeyID:3D9A43E2  FingerPrint:C40A772533730E39330DC0985EE8FF5F3D9A43E2






Re: Problems with bootp and self-compiled kernels

2001-12-14 Thread Chad Walstrom

Phil wrote:
 I wanted to add aic7xxx support in the boot kernel (I don't know if it
 should have been loaded automatically as a module, but it did not do
 so) but I was not able to boot because the kernel did not send any
 bootp requests.

You'll want to compile it in monolithically as opposed to modular.  If
you do so, you'll need an initrd image, something you'll have to create
manually.

Phil wrote regarding the fai-kernel package source:
 the I option is used in tar and it should be -j :

Yes, that's a valid error.  I just download the fai-kernels for the
config files and then compile it myself.

I don't ever compile anything in /usr/src.  It's the wrong place to do
such things; /usr anything is the wrong place for such things.
Regardless, much can be customized for regular use of kernel-package in
/etc/kernel-pkg.conf.  It's still nice to have the fai-kernel package
for it's config files.

Not sure why you're seeing a problem with BOOTP.

-- 
Chad C. Walstrom [EMAIL PROTECTED] http://www.ima.umn.edu
Assistant Systems Manager, IMA  Phone: 612-624-4353
Fax: 612-626-7370



(offtopic) address change

2001-12-14 Thread Chad C. Walstrom

Same Chad Walstrom, different address.  I moved my subscription to my
personal email address.  You'll notice pgp signatures, too. ;-)

-- 
Chad Walstrom [EMAIL PROTECTED] | a.k.a. ^chewie
http://www.wookimus.net/| s.k.a. gunnarr
Get my public key, ICQ#, etc. $(mailx -s 'get info' [EMAIL PROTECTED])



msg00399/pgp0.pgp
Description: PGP signature