Just to make darn sure I started the rpmbuild process over again. Here is the beginning of the output:

: || [EMAIL PROTECTED] ~ [8] ; uname -r
2.6.9-22.ELsmp
: || [EMAIL PROTECTED] ~ [9] ; rpmbuild -ba /usr/src/redhat/SPECS/openafs.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.88104
+ umask 022
+ cd /tmp/rpmbuild
+ LANG=C
+ export LANG
+ unset DISPLAY
+ : @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ : @@@
+ : @@@ kernel version: 2.6.9-22.EL
+ : @@@ base kernel version:2.6.9-22.EL
+ : @@@ kernel modules dir: /lib/modules/2.6.9-22.EL
+ : @@@ kernel source dir: /lib/modules/2.6.9-22.EL/build
+ : @@@ kernel type: up
+ : @@@ PAM modules dir: /lib64/security
+ : @@@ build userspace: 1
+ : @@@ build modules: 1
+ : @@@ arch: x86_64
+ : @@@ target cpu: x86_64
+ : @@@
+ : @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


I note the kernel modules dir and kernel source dir output.

The resulting openafs-kernel RPM contained the following:

-rwxr--r-- 1 root root 1081624 Nov 1 14:20 /lib/modules/2.6.9-22.EL/kernel/fs/openafs/openafs.ko

Again, I feel very strongly that this RPM should contain UP, SMP, and any other "standard" kernel module.

nomad

Derek Atkins wrote:
What does "uname -r" return?  Running the rpmbuild on an x86_64 should
build the userspace RPMS and a kernel module/rpm for the currently running
kernel.  If it's an SMP kernel, then it should be an SMP module.

-derek

Quoting Lee Damon <[EMAIL PROTECTED]>:

This was all compiled in one rpmbuild -ba operation so hopefully it was all done with the same compiler.

Turns out the rpmbuild didn't build modules for SMP kernel (even when compiled while a 2.6.9-22.ELsmp kernel was running) so I'm back to playing with colorful blocks for a while until I learn more about building RPMs (in my CFT).

nomad

[EMAIL PROTECTED] wrote:


I had problems like this when I compiled aklog with a different compiler (gcc-2.95.3) from the one that I used with openafs (gcc-3.2.3) awhile back. Hopefully with them integrated together there's no way for it to pick up different compilers, but you never know...

On Mon, 31 Oct 2005, Lee Damon wrote:

Derek,

In the now successfully rebuilt 1.4.0rc5 SRPM-based RPM for x86_64
everything seems to work except for aklog.  It segfaults.

: || [EMAIL PROTECTED] ~ [15] ; which aklog
/usr/bin/aklog
: || [EMAIL PROTECTED] ~ [16] ; rpm -qf /usr/bin/aklog
openafs-krb5-1.4.0rc5-1.1
: || [EMAIL PROTECTED] ~ [17] ; /usr/bin/aklog
Segmentation fault

the tail end of an strace says:

open("/usr/vice/etc/ThisCell", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=18, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556c000
read(3, "ee.washington.edu\n", 4096)    = 18
close(3)                                = 0
munmap(0x2a9556c000, 4096)              = 0
stat("/usr/vice/etc/CellServDB", {st_mode=S_IFREG|0444, st_size=20765, ...}) = 0
open("/usr/vice/etc/CellServDB", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=20765, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556c000
read(3, ">ee.washington.edu\t#Nikola\n128.2"..., 4096) = 4096
read(3, "ysics, university Mainz, Germany"..., 4096) = 4096
read(3, "                   #cpeven.physi"..., 4096) = 4096
read(3, "              #ccafsdb3.in2p3.fr"..., 4096) = 4096
read(3, "#The Slackers\' Network\n63.201.48"..., 4096) = 4096
read(3, "Manchester HEP\n194.36.2.3       "..., 4096) = 285
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2a9556c000, 4096)              = 0
open("/usr/vice/etc/CellAlias", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/vice/etc/KeyFile", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/vice/etc/CellServDB", {st_mode=S_IFREG|0444, st_size=20765, ...}) = 0 stat("/usr/vice/etc/CellServDB", {st_mode=S_IFREG|0444, st_size=20765, ...}) = 0
stat("/etc/krb5.conf", {st_mode=S_IFREG|0444, st_size=1349, ...}) = 0
stat("/etc/krb5.conf", {st_mode=S_IFREG|0444, st_size=1349, ...}) = 0
stat("/etc/krb5.conf", {st_mode=S_IFREG|0444, st_size=1349, ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 21860 detached


nomad
-----------                       - Lee "nomad" Damon -          \
work: [EMAIL PROTECTED]                                      \
play: [EMAIL PROTECTED]    or castle!nomad                           \
                                                                   /\
Sr. Systems Admin, UWEE SSLI Lab                                   /  \
               "Celebrate Diversity"                             /    \
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info




_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to