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 [EMAIL PROTECTED] [EMAIL PROTECTED]
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.
msg32978/pgp00000.pgp
Description: PGP signature

