Hello:
I'm posting this "bug" to users group in hopes of saving someone else
some time and to embeddedarm tech support in case they want to "fix it"
and or pass it "upstream" (whereever that is)
This one goes on my top 10 "bugs". Sometime in the hopefully distant
future when I'm in the old programmers bar, I'll tell this one as "war
story".
It's also a good example of why software is always late.
I was switching the network of a TS-7260 from the 192.x.x.x to my
10.x.x.x address. I had the root filesystem of TS-7260 mounted on my
host and was trying to boot from it on TS-7260 via NFS.
I was editing etc/sysconfig/ifcfg-eth0 "host side", changing 192.x.x.x
=> 10.x.x.x. I expected it to be a cookie cutter operation. Well, it
failed. The TS-7260 started the boot, lots of network activity, and
just hung.
Three days later after painfully decoding NFS-packets on an ethernet
sniffer and watching what files the TS-7260 opened, I found the problem:
I was editing the files with emacs which routinely leaves a backup of:
ifcfg-eth0~
The bug was in /etc/init.d/network:
for i in /etc/sysconfig/ifcfg-*
It was parsing both ifcfg-eth0 AND ifcfg-eth0~
First setting eth0 to 10.x.x.x, and then setting it to 192.x.x.x
I deleted /etc/sysconfig/ifcfg-eth0~ and it worked.
Sigh
The fix is filter the /etc/sysconfig/ifcfg-*
I'd have fixed it and posted it, but I'm abandoning ts-linux.
it's always something.
tc
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|