I've recently noticed that the behavior of the network changes (basically works
correctly or not) depending on the alignment generated by the compiler.
I'm working under the 2.0.39 (uClinux) tree, with the i960 platform.
Under gcc, the default alignment value is 16 bytes, which causes problems. It
seems that at this alignment, no tcp connection work, but I can root-mount an
nfs drive and ping the board and ping other machines from it.
If I modify the alignment generated by the gcc compiler to be at 4 bytes, things
get better, I can now telnet from the machine, but not to it. Inetd starts,
accepts the connection, and then I get these error messages in a continuous and
never ending way:
release_dev: pty0: read/write wait queue active!
The telnet prompt never gets seen on the remote machine.
What part of the network in the linux kernel has such a sensitivity to the
Have other people seen such alignment problems?
Does the linux 2.4.x kernel changes anything to this?
Enterprise and e-business security solutions
Solutions de scurit d'entreprise et d'affaires lectronique
Tel. : (450) 681.1681