[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Request (small) porting help for linuxinfo



Hello,
On Wed, Mar 08, 2006 at 06:30:09PM +0100, Frans Pop wrote:
> On Wednesday 08 March 2006 17:38, Helge Kreutzmann wrote:
> > I am unsure about the s390 port and would like to improve / update it. 
> 
> I run S/390 on the hercules emulator and have given it a try there.
> The basic info should be the same to a real machine though.

Thanks.

> $ linuxinfo
> Linux mordor 2.4.27-2-s390 #1 SMP Fri Aug 26 19:19:03 UTC 2005
> One IBM/S390 MHz processor, 248.21 total bogomips, 0M RAM
> System library 2.3.6
> 
> CPU frequency missing? No idea how to get that though.
> RAM looks bad.

> >    ls -l /proc/kcore
> -r-------- 1 root root 67112960 Mar  8 18:22 /proc/kcore

Did you call linuxinfo and the ls as ordinary user? I wonder, because
the size looks ok. 

Do you have moment to spare and can I send you a patch to try? As I
am not a Debian developer, I do not have access to a s390 machine so
I cannot try myself.

I would like to understand why the harmless stat call fails for
(appearingly all) s390 machines:

        if (stat("/proc/kcore", &st_buf) < 0)
        {
                memory = 0;
        }

(or if the error is elsewhere ...). 

Greetings

           Helge
-- 
Dr. Helge Kreutzmann, Dipl.-Phys.           Helge.Kreutzmann@itp.uni-hannover.de
                       gpg signed mail preferred 
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
          Help keep free software "libre": http://www.ffii.de/

Attachment: pgpj5QNuWOM1t.pgp
Description: PGP signature


Reply to: