Hi all...
Continuing with the glibc-2.3.1 saga, I have tested 2.4.21-pre2. It also
fails. glibc can not get a correct AT_PLATFORM when the kernel is run
on an hyperthreaded smp box.
I have run this on the box (dual P4@1.8GHz). Highmem does not matter. Just
HT matters. If I sun the SMP kernel with HT active, it glibc fails to detect
AT_PLATFORM. If I disable HT, from the bios or with 'noht' boot option, the
platform is correctly detected. Something does not follow the rules in
binfmt_elf.c when there are siblings (not real CPUs) in the game. Or there
is gcc-3.2.1 to blame.
Test script:
#!/bin/bash
#log=$(uname -r).txt
log=log.txt
exec > $log 2>&1
echo ===== uname -a
uname -a
echo
echo ===== uname -m
uname -m
echo
echo ===== ./ld.so
./ld.so
echo
echo ===== LD_LIBRARY_PATH="" LD_DEBUG=libs /bin/true
rm -f /etc/ld.so.cache
LD_LIBRARY_PATH="" LD_DEBUG=libs /bin/true
echo
ldconfig
ld.so is a modified one to print AT_PLATFORM, by Gwenole@mandrakesoft. The
loader used for the /bin/true test is the standard one.
Results for 2.4.21-pre2 are attached. All are smp kernels, 'ht' means ht active,
'noht-bios' is ht diabled in the bios and 'noht-soft' is ht disabled with 'noht'.
Any ideas ?
-- J.A. Magallon <jamagallon@able.es> \ Software is like sex: werewolf.able.es \ It's better when it's free Mandrake Linux release 9.1 (Cooker) for i586 Linux 2.4.21-pre2-jam1 (gcc 3.2.1 (Mandrake Linux 9.1 3.2.1-2mdk))--zx4FCpZtqtKETZ7O Content-Type: application/x-bzip Content-Disposition: attachment; filename="2.4.21-pre2-ht.txt.bz2" Content-Transfer-Encoding: base64
QlpoOTFBWSZTWQaRzKQAAXf/gCA0BABI5/f7P+feav//3/BQBCIsTWLZQFAlEagVPyp/op6a aNUeo02hqep6jTTaelD0Q9TxNqgBoQ0NRkmJooMno1NAyGCYEwEDJgkSBNJkam0pPDTRTRiZ NA9Q0aDQDCeQ4yZMmIxMAJkwTIAaMIwBDAcZMmTEYmAEyYJkANGEYAhguC+4QGVCm34N/OX1 w0+EGmeosoOEx/ZmFUjDy8YZ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nXznCgfiF0vggYlIOxoYMkRgGUJDYFrTwLUVX5MM1JK+zqYYaJUNG QwsA/FkLE7NvHM6dLyLLbvtSRPechKouL0wyYT3TQcdirqZnxF3JFOFCQBpHMpA=
--zx4FCpZtqtKETZ7O Content-Type: application/x-bzip Content-Disposition: attachment; filename="2.4.21-pre2-noht-bios.txt.bz2" Content-Transfer-Encoding: base64
QlpoOTFBWSZTWQtmfbQAAdl/gGA0BABI5/97P+feav//3/BQBGIsesZnbZJhUJRCaTU8noap 6BTymR5E9TaRoNqDGgZHlACU1J6CaCaNNKHlDJ6jQAAAAADQM0khNDVPSPSPTUPKAGgAAGgB oAcZMmmmEyMgYEYmjBGEGjTAAIJIiYSbUmnko0bU/SgAAGnoIDQAHqdGUP7lRAeqFeTmd6W9 N2rZU6Zqi3gYiYutzhVHh49cMnVKeFKr5TsblBD1jfSKhQllQEvFiYEDLjIKYWTd+rfuspZm oobuFzO+tR1Lr4JH15CbI12k+eZzXQm/Giy7Cvy0SnpyfFzXZDUqgJKyKIRlWbiSMeXSVj53 LZW+qk0OSgWJzQx/mqVqU8BQVNC+V9qTECEJwncVhxvW6WdsrCtuFu7UQhjSct3POsaYVe+s tAOmS42vErdnc0Z1DHxsn+lEN5t4Nnx7u535RcWeLqrKKZOI1QZPrz4UQct74WC420ZfTO+P vpp5zDNdcHZqKSKSMgAByyAAAAG993hOAhUoQQhnRCiEgIKISMAYAAAEhCGp3pJT0+JJPakn 57MFp59E4OANwwAT1cBRDz3R6HEUcQv0hJlWppvTc0n3t+G/QrjWkQzU1KNdJSi1PHRja7oB zMQNLQMAZ+3Rz8dqm3WJe7Np9uBbpUaputaeCuIEOR1tLhHnQxhU9IeNJSON0Z466cFUlGCs 579+2VjSyY3qyDYyjSRl8pI1PRJVeVrCeGCSZox6aZcaXGOQiu3T4mDkOXuDLdHwSKTJt0w3 IW4Hj4XKMna7fQIEV/t8kQIBN26cP4yEL++NPiucTiwLcqRlsj9CT6+FTFTGwt1yzU07F5BI WFKMK9bRL7Dklti1hNaNBrsv8KltUeyouLCUX6asPBJwSa5RJWSQGZFw5N7f5nPYNdgvnpFl pquvxZkWlIX7IbboxSaR973o3FbswcrbIe2d+kXBbNFKwM9BMOwyRmyzjsom91Ks7TyXAxFt DpSokyNzCo+uIQ8Kw++Qw09dKZDMNrQ23TMlMQi6TgHPg7bWeOb3X66+sCZzW03PAqvUIrXI 6L4MyEUMbMxcpbFy57dtgVsitmJ9jLFYiEgbRus00/dg+Egs6K/s0rAai4im8raszM1NK65y Dv6W2UuaK/JJp5Aw/Nlb2YPSDoeKFBoE+E5IiggKDpJmCKRN9I8R4xkTEOIgi/pGTCGbWFTq Js1sYbeNJltvdnNpobW+R5Bs4GqvWsYKOpKMRLDG5JmymAdVC17ERCTHdrkQUGgyqWlchUyV LTUVVFU4EDgzwhRhkMxFh+246tk5bk4zEBGkLQ0QT17wBWJx3AG0BFi6hY1y31usRyJcUbnL 1JFlYlEWEKBfBmEgJzehOLSXYpg1gFt29BTJK41MOwTAG6mArzbp2WOvqrAmtOM7oEcTMESG 4LKl6B9TjHC5pZmB/xdyRThQkAtmfbQ=
--zx4FCpZtqtKETZ7O Content-Type: application/x-bzip Content-Disposition: attachment; filename="2.4.21-pre2-noht-soft.txt.bz2" Content-Transfer-Encoding: base64
QlpoOTFBWSZTWYIscQUAAdl/gGA0BABI5/97P+feav//3/BQBGLWx5hZK7agAlEJkU2noKn6 BTygeKeKeoNDbUhhHqeR5UANU9GhNqCE/VNomEaADATRgBGQADNKI0I1Taj0T1PUPUGgaBka ANAAAHGTJpphMjIGBGJowRhBo0wACCSIJoNRoyUxlPTUAAAA0ADQMn2zh150QHqhVm+Dv5d2 X7+6l0zVFlBiJk73OFUeHj3xzdsDwoVf1gY3OCH9rwpWoTpZSBDXkYETPlIqY2Tfnf5L7KGa J528xdDt1J2rw88j6sxNma7aerQ5rozdOqy/Gvp1QGWmc5iotVIkABES2EFMajjBEQnuVWrO EhcSSoTYp18EqFVwLnfvevxC2aIYcC036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n/F3JFOFCQgixxBQA==
--zx4FCpZtqtKETZ7O-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/