Lan configuration failures
Today some people have seen a couple of failures using the new ram disk that willy generated. This new ram disk contains a program that tries to configure a network card. I have tracked down the problems, and found them to both be configuration related:
1) First, you must have CONFIG_INET set. If you don't, the socket call will fail, and you will get a "Bad file number" failure, due to the code trying to do an ioctl call on the -1 returned from the socket call failure.
2) You must have the tulip driver configured in (CONFIG_DEC_ELCP) which also requires things like CONFIG_PCI, etc. If you have an older box that does not contain a tulip based network interface, or if you have a newer non Lasi box, you will not be able to get this to work. You must see "eth0:" debug output.
If the hardware is not configured properly, the socket call will succeed, however the following ioctl will fail and you will get a "No such device" error.
Both of the failures will lead to the program exiting, which finally will result in a "Kernel panic: Attempted to kill init!" failure.
Quoted 9 lines · John Marvin
Today some people have seen a couple of failures using the new ram disk that willy generated. This new ram disk contains a program that tries to configure a network card. I have tracked down the problems, and found them to both be configuration related:
1) First, you must have
CONFIG_INETset. If you don't, the socket call will fail, and you will get a "Bad file number" failure, due to the code trying to do an ioctl call on the -1 returned from the socket call failure.
...
John,
I found out Mathew Wilcox (bless his soul) changed parisc/config.in on Saturday (1/29/2000) so CONFIG_INET (and everything else needed for an A180) is enabled by default.
Basically, I needed to cvs update/rm .config/make oldconfig/...
thanks
grant
Grant Grundler
Unix Development Lab
+1.408.447.7253