On Mon, 14 Aug 2000, Thomas Dodd wrote: > Mark Cooke wrote: > > > > The RPM appeared to built correctly with rpm-3.0.5-9.6x, and indeed > > the kernel module actually installed. However, it failed to add it's > > usual line to /proc/devices for registering character device 195 as > > nvidia. (and the post install script for the module failed to make > > a device node for the module) > > I have the same proble with rpm-4 too.The problem is all > the symbols are missing. <snip> > If you use the tarball's from NVIDIA it installs fine, > or copy the file from /usr/src/redhat/BUILD/NVIDIA_* > to the correct place it'll work. Okay....so it appears later versions of RPM are auto-stripping files, or some such. *investigates* There are some lines brp-compress/strip-comment-note/strip late on in the build process. Guess what brp-strip does... Looking at /usr/lib/rpm/brp-strip, the comments wherein tell the story, I guess... [root@salt rpm]# more brp-strip #!/bin/sh # If using normal root, avoid changing anything. if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then exit 0 fi # Strip ELF binaries for f in `find $RPM_BUILD_ROOT -type f \( -perm -0100 -or -perm -0010 -or -perm -0001 \) -exec file {} \; | \ grep -v ' shared object,' | \ sed -n -e 's/^\(.*\):[ ]*ELF.*, not stripped/\1/p'`; do strip $f || : done It would seem one solution would be to ensure the module is not set executable. This is why my modular kernel worked, and the NVidia spec file didn't. There are a few ways to fix the NVidia spec file - either the %attr in the files section, or the install in the %install section. I'll probably do both before I next have to recompile the NVidia modules. Nick - maybe this could get rolled into the next release of your linux modules and noted on your FAQ page ? All the best, Mark -- +-------------------------------------------------------------------------+ Mark Cooke The views expressed above are mine and are not Systems Programmer necessarily representative of university policy University Of Birmingham URL: http://www.sr.bham.ac.uk/~mpc/ +-------------------------------------------------------------------------+ _______________________________________________ Redhat-devel-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-devel-list