Date: Tue, 19 Mar 2002 10:22:00 +0200 From: Peter Pentchev <roam@ringlet.net> To: hackers@FreeBSD.org Subject: kdump/truss ugliness and breakage Message-ID: <20020319102159.A36332@straylight.oblivion.bg>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi,
Both kdump(1) and truss(1) use a weird way of harvesting information
about the available ioctl's that they should be aware of: they run
a mkioctls script over ${DESTDIR}/include to fish out the ioctl names
out of the header files.
This is all well and good, *except* in the case when ${DESTDIR}/include
is not really up-to-date; case in point: ioctl's renaming and changing
in yesterday's ATA driver update in -STABLE. I think there should be
some way to make the mkioctls script run over the actual include directory
used during the build process, somewhere in /usr/obj. Sorry, no patches,
just a problem report :(
As a workaround, 'cd /usr/src/usr.bin/kdump && make clean all' works
fine, because it both harvers ioctls and builds with the *old* header
files in /usr/include; however, before the next rebuild, kdump will
provide incorrect information. The second part of the workaround:
just after the installworld, go back to kdump and truss and rebuild
them again, this time with the correct, freshly installed include files.
G'luck,
Peter
--
Peter Pentchev roam@ringlet.net roam@FreeBSD.org
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
If this sentence were in Chinese, it would say something else.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjyW9ScACgkQ7Ri2jRYZRVNqbwCglCpJbDY7DEqGAZeBRj0gR0/1
AWgAnAwBBWl4jjjMX88O5LOng8X8JwID
=GDhB
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020319102159.A36332>
