Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* help: weird kernel compile
@ 2000-02-15  5:54 dennis pantazis
  0 siblings, 0 replies; 2+ messages in thread
From: dennis pantazis @ 2000-02-15  5:54 UTC (permalink / raw)
  To: Axp-List

preface: i am the eternal newbie, i have been playing with RH-axp since ver
4.0
nothing major, just playing. i have subscribed to the list off and on as my
time and schedule permits.
i just installed a fresh copy of RH6.1, applied the update rpms, did a make
menuconfig to compile a new kernel to include ip-masq, firewall,
ip-forwarding etc...i am building a ip-chains/masq/router box (i spluged for
dsl). i have a bone stock 166 udb w/64mb, original ncr53cx810 scsi
controller, the on-board ethernet and an additional intel etherexpress pro
10/100 nic (it was free, so no intelicide comments please ;-).)
stock kernel 2.2.13-0.9 and sources. no kernel patches of any kind

i have 2 issues: nics that change id's and a few unresolved
dependancies/symbols
below i will try to include the pertinent info, but let me know if there is
something that should also post/fwd

NICS
kernel compile #1: stock .config and only added ip-fwd & masq options on.
copiled ok, no errors, a few random warnings.  after compile the ip-fwd,
masq etc worked. cool i thought. i will strip more un-needed stuff out.
scripted a 'buildkrnl' script for after make menuconfig. (simply the
commands i used before: make dep, make clean, make make boot, make modules,
make modules_install)

kernel compile #2: turned off a bunch of stuff that i know i do not need:
extranious code pages, 3coms, raid, aha*'s, buslogic, etc..under networking
disabled ipx, appletalk,
added oss-mss-530-9-3
no errors on booting the new kernel. just the following warnings:

Remounting root filesystem in read-write mode              [  OK  ]
Finding module dependencies /lib/modules/2.2.13-0.9/scsi/ide-scsi.o:
unresolved
symbol(s)
/lib/modules/2.2.13-0.9/block/ide-tape.o: unresolved symbol(s)
/lib/modules/2.2.13-0.9/block/ide-floppy.o: unresolved symbol(s)
/lib/modules/2.2.13-0.9/misc/ipx.o: unresolved symbol(s)
/lib/modules/2.2.13-0.9/misc/iph5526.o: unresolved symbol(s)
/lib/modules/2.2.13-0.9/misc/appletalk.o: unresolved symbol(s)

these didn;t seem to be too concerning.

ip-fwd, masq, etc do not work, i used the saved rules and reloaded the
ip-chains rules. no errors reported. still wouldn;t work.

i spent a couple of days thinking that i misconfigured things, until finally
payed attention to netstat -rn and realized that the nic were wacked out..
they really did switch eth0 & eth1! i change my route and ip-chains to match
and everything works.
nic     old (generic) krn     new (noname) krnl
de4x5     eth0                 eth1
eepro     eth1                 eth0

linuxconf reported the same thing, i changed the driver on each card to the
'other' thinking that the kernel was confused. things still would not work.
after putting the eth/driver assignments back to original, booting the
original kernel it reports that in fact de4x5 is eth0, eepro is eth1. i can
ping and get correct response on each interface. boot kernel #1, things are
ok, ip-fwd/masq works and restored rules are right.
booting kernel #2 however same warnings from above, and ip-fwd/masq is just
fubar'd same reversal of nic & eth#


anyone have any ideas how this could happen. this is most disconcerting.
could this be realted to the on-board microsoft sound system?

Modules: i tried to search the docs for the dependancy errors but no luck.
since everything seems to be working, i am not too worried but it just bugs
me.

thanks in advance

dennis
dennis@pantazis.org


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: help: weird kernel compile
@ 2000-02-15 15:53 Ross A. Knepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ross A. Knepper @ 2000-02-15 15:53 UTC (permalink / raw)
  To: Axp-List

On Mon, 14 Feb 2000, dennis pantazis wrote:
> Finding module dependencies /lib/modules/2.2.13-0.9/scsi/ide-scsi.o:
> unresolved
> symbol(s)
> /lib/modules/2.2.13-0.9/block/ide-tape.o: unresolved symbol(s)
> /lib/modules/2.2.13-0.9/block/ide-floppy.o: unresolved symbol(s)
> /lib/modules/2.2.13-0.9/misc/ipx.o: unresolved symbol(s)
> /lib/modules/2.2.13-0.9/misc/iph5526.o: unresolved symbol(s)
> /lib/modules/2.2.13-0.9/misc/appletalk.o: unresolved symbol(s)

you're probably getting this because there are a bunch of leftover modules
from previous compiles of the same kernel.  try 

rm -r /lib/modules/2.2.13-0.9

and then once more:

make modules_install

> nic     old (generic) krn     new (noname) krnl
> de4x5     eth0                 eth1
> eepro     eth1                 eth0

it looks like the drivers are getting initialized in a different order
based on whether you compiled noname or generic.  if i were you, i'd just
pick one (noname is smaller) and stick with that order.

 -ross



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-02-15 15:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-15  5:54 help: weird kernel compile dennis pantazis
  -- strict thread matches above, loose matches on Subject: below --
2000-02-15 15:53 Ross A. Knepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox