From: <br...@ba...> - 2007-07-18 14:02:25
|
Hi there, I've also managed to build 1.3.4 today and am now taking a deeper look = at it. First: ncurses hat to be disabled and syslinux had to be downgraded at = my build-system aswell. now to the problem with the dot "." after the module-names: looking at the "setup"-script shows the problem on line 470 the driver-modules are enumerated but the script uses the = 2.4-extension ".o" this has to be replaced with the 2.6-fashion ".ko" Also there are some other "problems" with the make build itself. There are still some "unanswered" questions regarding the = kernel-settings (IO-Scheduler and so on...) so running the build with CONFIG_DISABLELOGGING=3Dy in .config will show = what to add/change. I will keep you updated as my evaluation goes on. My purpose is to setup a loadbalancing cluster of reverse-proxy-apaches = using shorewall, heartbeat and httpd. Cheers, Bj=F6rn -----Urspr=FCngliche Nachricht----- Von: dev...@li... = [mailto:dev...@li...] Im Auftrag = von roy barnard Gesendet: Mittwoch, 18. Juli 2007 01:19 An: dev...@li... Betreff: Re: [Devil-linux-develop] devil linux 1.3.4 (2007-07-11) build = andnetwork problems Hi again, Many thanks for the help so far. The patch file asm_types.h.patch allowed me to compile quagga. :-) The patch file for mount_cdrom works great! :-) You are right to say network is working. my problem is is that there are = two copies of ifconfig. The first one found of the path is built from inetutils and this = produces output like this: root@Devil:~ # ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 txqueuelen:0 This will NOT configure my network card and as it is the fisr copy found = on the path the network script uses it. The second ifconfig is in the sbin directory and is compiled fron = net-tools, this produces output like: root@Devil:~ # /sbin/ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:688 (688.0 b) TX bytes:688 (688.0 b) This works (and give statistics, nice). I can now configure my network card with: ifconfig eth0 192.168.2.1 netmask 255.255.255.0 and the routing tables = looks like this: root@Devil:~ # ip r l 192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.1 The 8139too module is autoloaded during the boot process. The setup tool adds a trailing dot (.) on the module name in the config = file. root@Devil:~ # cat /etc/sysconfig/nic/ifcfg-eth0 DEVICE=3Deth0 = ONBOOT=3Dyes MODULE=3D"8139too." DHCP=3Dno IP=3D"192.168.2.1" NETMASK=3D"255.255.255.0" BROADCAST=3D"192.168.2.255" This is not critical as the module is already loaded (discovered at = boot), so "/etc/init.d/network restart" will get the card up and working. Two suggestions for fixing the two copies of ifconfig: 1) edit /etc/init.d/network and change all instances of ifconfig to = /sbin/ifconfig 2) patch /build/scripts/inetutils to disable compiling ifconfig with = "--disable-ifconfig" Both work, I prefer the second option attached is the patch I used. There are other duplicate files: groups, hostname and mktmp can be found in both /bin and /usr/bin both = sets work but are different binaries. ntlm_auth can be found in both /usr/bin and /usr/sbin, again both = execute but are different binaries. rpc.rquoted can be found in /sbin and /usr/bin, both execute and are = different binaries. My consern is that like my issue with picking up a ifconfig that did not = work for me, the same could be said of these files. The PATH is = /bin:/usr/bin:/sbin:/usr/sbin. Also every time I restart networking I get : /etc/wlan/shared: line 77: :[ too many arguments. any ideas? Thanks again, Roy. ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try = it now. http://uk.answers.yahoo.com/=20 _________________________________________________________________________= ___ baulogis GmbH Zamdorfer Str. 100 81677 M=FCnchen / Munich Deutschland / Germany www.baulogis.com Gesch=E4ftsf=FChrer / Managing Director: Thomas Bachmaier HRB 133832, Amtsgericht M=FCnchen Ust-ID: DE 212 020 193 Der Inhalt dieser E-Mail ist vertraulich und ausschlie=DFlich f=FCr den = bezeichneten Adressaten (dev...@li...) = bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen = Vertreter sein sollten, so beachten Sie bitte, dass jede Form der Kenntnisnahme, = Ver=F6ffentlichung,=20 Vervielf=E4ltigung oder Wiedergabe des Inhalts dieser E-Mail = unzul=E4ssig ist. Bitte setzen Sie sich in diesem Fall mit dem Absender der E-Mail in = Verbindung (br...@ba...). |
From: Serge L. <fi...@in...> - 2007-07-18 19:40:41
|
Rudner, Björn wrote: > > now to the problem with the dot "." after the module-names: > looking at the "setup"-script shows the problem > on line 470 the driver-modules are enumerated but the script uses the 2.4-extension ".o" > this has to be replaced with the 2.6-fashion ".ko" Thank you! Fixed. > > Also there are some other "problems" with the make build itself. > There are still some "unanswered" questions regarding the kernel-settings (IO-Scheduler and so on...) > Yes, it's my unfinished task. I suggested some time ago to do the following: scripts/prepare: - make oldconfig || exit 1 + ( yes | sed 's/y//' | make oldconfig ) || exit 1 It should let wait till everything will be done. -- Serge Leschinsky |