From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199709262009.PAA00764@hamlet.ucs.indiana.edu> Date: Fri, 26 Sep 1997 15:09:32 -0500 (EST) From: Sprag Johnson Subject: Alpha Linux Questions (Digital Unix compatibility) I just got an alpha at work (its a beautiful thing) and I've got some things that I haven't been able to work out. 1) Is there any way to link to Digital Unix 3.2 libraries (shared or not). I'm wanting to build sybperl and I can't do a link...ok, it was a long shot, but I figured 'why not?'. Is there a way to convert or link these libraries? If so, my 2nd question becomes moot. 2) After building a perl (5.004_03) on Digital Unix 3.2 it behaves strangely under Linux: when running "./perl" and typing in a script it is fine. when running "./perl scriptname" it is fine. when running "./script" (script is executable and has the #! correct), it gives a Segmentation fault. Out of curiosity, I did an "strace ./script" and I get this output: ---- execve("./test", ["./test"], [/* 20 vars */]) = 0 getpagesize() = 0x2000 getpagesize() = 0x2000 brk(0x3ffc0003e20) = 0x3ffc0003e20 brk(0x3ffc0007e20) = 0x3ffc0007e20 open("./test", O_RDONLY) = 3 getxuid() = 500 getxgid(0x3ffc0003000) = 500 getxuid() = 500 getxgid(0x3ffc0003000) = 500 getrusage(RUSAGE_SELF, {ru_utime={0, 0}, ru_stime={0, 976}, ...}) = 0 getrusage(RUSAGE_CHILDREN, {ru_utime={0, 0}, ru_stime={0, 0}, ...}) = 0 read(3, "#!/usr/local/bin/perl\n\nuse Syb"..., 2664) = 94 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ ------- The message log shows this: test: memory violation at pc=3ff80005444 rp=3ff8000585c (bad address = ffffffffffffffff) 3) Twice now, syslogd and klogd have really started chewing up CPU. get these messages: ------ Sep 25 13:22:39 torgo kernel: Cannot read proc file system: 9 - Bad file descriptor. Sep 25 13:23:09 torgo last message repeated 199769 times Sep 25 13:24:09 torgo last message repeated 591463 times Sep 25 13:25:09 torgo last message repeated 388403 times Sep 25 13:26:09 torgo last message repeated 394038 times Sep 25 13:27:10 torgo last message repeated 388162 times Sep 25 13:28:10 torgo last message repeated 392383 times Sep 25 13:29:10 torgo last message repeated 390819 times Sep 25 13:30:10 torgo last message repeated 380833 times Sep 25 13:31:10 torgo last message repeated 385682 times Sep 25 13:32:10 torgo last message repeated 382879 times Sep 25 13:33:10 torgo last message repeated 389750 times Sep 25 13:34:10 torgo last message repeated 366871 times Sep 25 13:35:10 torgo last message repeated 390091 times Sep 25 13:36:10 torgo last message repeated 362908 times Sep 25 13:36:56 torgo last message repeated 266246 times ---- It may be related to me running /sbin/loader at the command line (like a dork), but it really shouldn't do _that_ to the system. 4) is there any way to turn off unaligned trap logging? There's a flag in DEC Unix that does this, but I've not found anything on how to do it in Linux. Overall, I'm VERY impressed with the performance (XLT300) and stability. Now that I don't have to boot NT to get linux started.... Thanks for any help! Brian Wheeler bdwheele@Indiana.edu -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com