Building kernel to solve network problems...

Building kernel to solve network problems...

Post by Mark Jaff » Sun, 18 Nov 2001 03:16:06



Hi, folks. I am bringing this discussion over here from the YDL mailing
list, as I am not having much success with those folks.

Situation: PowerMac 8500 with NewerTech dual-604e (225MHz) card running
YDL 2.0 distro. I am using the Dan Burcaw 2.4.10-B0a SMP kernel
successfully, but the major snag right now is networking. I have the
machine in my home office right now, as I am trying to diagnose a
stability problem. When I took it to the Co-Lo where I am running my
current setup (MkLinux on a Power120, stable since mid-1997 as
http://www.wizdev.net) I was not able to keep it connected for more than
a few days, it would keep disappearing off the net. When I went there to
see what was wrong, it seemed to have just hung. So I brought it home
and reinstalled YDL. Someone suggested the on-board ethernet was not
very robust, so I boiught a NIC which uses the RealTek 8139 chipset, and  
I am trying to get the RTL8139 module built for my kernel.

I know it is not a hardware problem, since booting into MacOS 8.6 allows
access to the LAN (I am running off a hub connected to AirPort Base
Station which connects via internal modem - I know, lack of broadband
SUCKS big-time. All machines get IP from DHCP in the AirPort, and no
connectivity problems with ANY MacOS clients. The problem in YDL is that
the machine gets an IP address (according to ifconfig -a) but then
cannot do anything with it!! I cannot connect to anything except
localhost!

I am currently at an impasse on building the kernel. Using the RPM from
YDL, I am experiencing numerous snags of one sort or another. The latest
was of finally getting a vmlinux built, but when I tried to do "make
modules" it went through the tree and repeatedly said "nothing to be
done" and I ended up without a module-info file! I am unable to do rync,
as I have no network connection in Linux (everything has to be
downloaded from a MacOS machine (or in OS X on my other 8500 which is
using a NewerTech G3 card!) and then transferred to the OS 8.6
partition.

Does anyone have any clues as to why the DHCP networking is failing in
YellowDog Linux? Should I try one of my other distros (I also have the
LinuxPPC 2000 Q4 CD to install from.)
============================================================
Mark Jaffe          | (408) 972-9638 (home)
Chief Wizard        | (408) 807-1530 (cell/page/voicemail)
Computer Wizards    | (408) 548-9900 x503 (Futuristics Labs)

 
 
 

1. problem building kuml: solved

I downloaded kuml from
  http://www.informatik.fh-hamburg.de/~kuml/kuml-20000224.tar.gz
configured it:
  ./configure --with-extra-includes=/usr/include/kde --with-qt-libraries=/usr/lib/qt-1.44/lib/ --with-qt-includes=/usr/lib/qt-1.44/include/
but on my Red Hat 6.1 box, make failed on
  /usr/lib/qt-2.0.1/bin/moc ./actor.h -o actor.moc.cpp
  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib/qt-1.44/include/  -I/usr/X11R6/include -I/usr/include/kde    -O2 -Wall -c actor.moc.cpp
with the error
  actor.moc.cpp: In method `void Actor::initMetaObject()':
  actor.moc.cpp:69: no method `QMetaObject::new_metadata'

Looks like configure was finding the wrong version of moc.
Using
  ./configure --with-extra-includes=/usr/include/kde --with-qt-dir=/usr/lib/qt-1.44
works properly.

It even imported the classes from 4000 lines in 40 .h files.
Now if it would lay out the UML diagram a little more sensibly! :-)

- Dan

2. Relax everyone

3. RH 7.1 (2.4.2) kernel build question - no network

4. A new C development tool - control system

5. How to solve network function and enhance network speed

6. Recompile kernel on limited hardware

7. was sound problem, now kernel building problem

8. Battlecom server for Linux

9. "Network is unreachable" Problem solved!

10. looking for solve the problem for network in AIX

11. FOLLOWUP: Problem solved with networking code

12. Intermittant Linux/network Problem solved

13. FOLLOWUP: Problem solved with networking code