Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* gprof and iprobe
@ 2001-01-10 19:52 T. Daniel Crawford
  2001-01-10 20:43 ` W Bauske
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: T. Daniel Crawford @ 2001-01-10 19:52 UTC (permalink / raw)
  To: axp-list

Thanks to some advice from posters to this list, I have ported some
computationally intensive Fortran code to my alpha Linux system (XP-1000,
RH7.0).  While the code gives correct output, my recent benchmarks indicate
a substantial difference in the code's performance on alpha Linux vs. Tru64
systems with nearly identical hardware (both using the same optimization
flags with Compaq compilers).  I would like to profile the code using
gprof or iprobe, but neither of these seems to work:

Gprof: I can compile the code with -pg, and a gmon.out is produced,
but the subsequent execution of "gprof <binary>" gives the error: gprof:
gmon.out file is missing call-graph data.  I know from my perusal of the
archives at alphalinux.org that gprof has had serious problems in the past,
but most of the discussion appears to be out-of-date.

Iprobe: The RPMs available at the Compaq site are geared to RH6.0.  When I
run the iprobe binary, it fails and reports an ioctl error.  I also tried
to compile the source myself, but there are numerous header errors and
incompatibilities to current Linux distributions.  From past discussion of
iprobe on this list, it seems to be the method of choice, if only I could
get it to work.

If anyone has dealt with these problems and had more success than I, I
would appreciate your input.

Thanks,

-Daniel

P.S. Can anyone explain the current state of system time accounting on
alpha systems?  Part of my problem involves very large system times
relative to reasonable user times, and the elapsed time is pretty darned
close to the sum of the two, with nearly 99% utilization.  This is rather
confusing.

-- 
T. Daniel Crawford                           Department of Chemistry
crawdad@vt.edu                                    Virginia Tech
www.chem.vt.edu/chem-dept/crawford    Voice: 540-231-7760  FAX: 540-231-3255




^ permalink raw reply	[flat|nested] 31+ messages in thread
* RE: RH 7.0 install on XP1000's
@ 2001-01-22 22:41 Mike Foley
  2001-01-24 15:03 ` Todd Henderson
  0 siblings, 1 reply; 31+ messages in thread
From: Mike Foley @ 2001-01-22 22:41 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

	If you downloaded the ISO files and used something like
	Adaptec EZ-CD Creator to burn the CD's, then they'll
	boot fine on an Alpha. I do this all the time.

	If you're looking to upgrade from 6.0 to 7.0, it's
	not too hard. Boot from the CD and go. Are you using
	SRM? If so, boot the cd with flags 0 and follow the
	instructions.

								mike


> -----Original Message-----
> From: Todd Henderson [mailto:Todd_Henderson@readwo.com]
> Sent: Monday, January 22, 2001 5:37 PM
> To: axp-list@redhat.com
> Subject: RH 7.0 install on XP1000's
> 
> 
> I've just downloaded the 2 CD's for the RH 7.0 and was starting the
> installation over 6.0 and went looking for Compaq's 
> installation guide.
> However, all I could find was a guide for 6.2.  Are they 
> close enough to not
> matter, or is there a version floating around for 7.0?
> 
> Also, from what I remember, CD's created on a MS Win system 
> could not be booted
> from and you had to create two floppies to get the install 
> going, is that still
> the case?
> 
> Thanks,
> Todd
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 




^ permalink raw reply	[flat|nested] 31+ messages in thread
* RE: RH 7.0 install on XP1000's
@ 2001-01-24 15:13 Jemiolo, John
  2001-01-24 15:17 ` Todd Henderson
  2001-01-24 18:44 ` Michal Jaegermann
  0 siblings, 2 replies; 31+ messages in thread
From: Jemiolo, John @ 2001-01-24 15:13 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Use "boot dqa0 -fl 0 "
The command your using is for 6.2, it  changed for 7.0
JJ

-----Original Message-----
From: Todd Henderson [mailto:Todd_Henderson@readwo.com]
Sent: Wednesday, January 24, 2001 10:03 AM
To: axp-list@redhat.com
Subject: Re: RH 7.0 install on XP1000's


I've tried booting from the CD and from floppies made from the image
directory of the CD and each time I get to the 'starting kernel...' line
and it freezes?  Any suggestions?

I've booted using:

(with CD)
boot dqa0 -file kernels/vmlinux.gz -flags "root=/dev/hda"
and
boot dqa0 -file kernels/vmlinux.gz

(with floppy)
set boot_osflags "root=/dev/fd0 load_ramdisk=1"
set bootdef_dev dva0
set boot_file vmlinux.gz
boot

In each case I get to staring kernel...

Thanks,
Todd

Mike Foley wrote:

>         If you downloaded the ISO files and used something like
>         Adaptec EZ-CD Creator to burn the CD's, then they'll
>         boot fine on an Alpha. I do this all the time.
>
>         If you're looking to upgrade from 6.0 to 7.0, it's
>         not too hard. Boot from the CD and go. Are you using
>         SRM? If so, boot the cd with flags 0 and follow the
>         instructions.
>
>                                                                 mike
>
> > -----Original Message-----
> > From: Todd Henderson [mailto:Todd_Henderson@readwo.com]
> > Sent: Monday, January 22, 2001 5:37 PM
> > To: axp-list@redhat.com
> > Subject: RH 7.0 install on XP1000's
> >
> >
> > I've just downloaded the 2 CD's for the RH 7.0 and was starting the
> > installation over 6.0 and went looking for Compaq's
> > installation guide.
> > However, all I could find was a guide for 6.2.  Are they
> > close enough to not
> > matter, or is there a version floating around for 7.0?
> >
> > Also, from what I remember, CD's created on a MS Win system
> > could not be booted
> > from and you had to create two floppies to get the install
> > going, is that still
> > the case?
> >
> > Thanks,
> > Todd
> >
> >
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
> >
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list



_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list




^ permalink raw reply	[flat|nested] 31+ messages in thread
* RE: RH 7.0 install on XP1000's
@ 2001-01-24 15:52 Jemiolo, John
  2001-01-24 21:43 ` Todd Henderson
  0 siblings, 1 reply; 31+ messages in thread
From: Jemiolo, John @ 2001-01-24 15:52 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

OK, No graphics  ..then use this for RH70

boot dqa0 -fi /kernels/vmlinux.gz -fl "initrd=/images/ramdisk.img
console=serial text"

do not forget the quotes, it's all on one line.. with a space between
commands in the -fl string..


JJ

-----Original Message-----
From: Todd Henderson [mailto:Todd_Henderson@readwo.com]
Sent: Wednesday, January 24, 2001 10:18 AM
To: axp-list@redhat.com
Subject: Re: RH 7.0 install on XP1000's


Oops, that was the other variation I tried before, but I tried it again.

This time it gets to the starting kernel... but then on the next line it
prints out 10 or so squares with an "AT" at the end??

Thanks,
Todd

"Jemiolo, John" wrote:

> Use "boot dqa0 -fl 0 "
> The command your using is for 6.2, it  changed for 7.0
> JJ
>
> -----Original Message-----
> From: Todd Henderson [mailto:Todd_Henderson@readwo.com]
> Sent: Wednesday, January 24, 2001 10:03 AM
> To: axp-list@redhat.com
> Subject: Re: RH 7.0 install on XP1000's
>
> I've tried booting from the CD and from floppies made from the image
> directory of the CD and each time I get to the 'starting kernel...' line
> and it freezes?  Any suggestions?
>
> I've booted using:
>
> (with CD)
> boot dqa0 -file kernels/vmlinux.gz -flags "root=/dev/hda"
> and
> boot dqa0 -file kernels/vmlinux.gz
>
> (with floppy)
> set boot_osflags "root=/dev/fd0 load_ramdisk=1"
> set bootdef_dev dva0
> set boot_file vmlinux.gz
> boot
>
> In each case I get to staring kernel...
>
> Thanks,
> Todd
>
> Mike Foley wrote:
>
> >         If you downloaded the ISO files and used something like
> >         Adaptec EZ-CD Creator to burn the CD's, then they'll
> >         boot fine on an Alpha. I do this all the time.
> >
> >         If you're looking to upgrade from 6.0 to 7.0, it's
> >         not too hard. Boot from the CD and go. Are you using
> >         SRM? If so, boot the cd with flags 0 and follow the
> >         instructions.
> >
> >                                                                 mike
> >
> > > -----Original Message-----
> > > From: Todd Henderson [mailto:Todd_Henderson@readwo.com]
> > > Sent: Monday, January 22, 2001 5:37 PM
> > > To: axp-list@redhat.com
> > > Subject: RH 7.0 install on XP1000's
> > >
> > >
> > > I've just downloaded the 2 CD's for the RH 7.0 and was starting the
> > > installation over 6.0 and went looking for Compaq's
> > > installation guide.
> > > However, all I could find was a guide for 6.2.  Are they
> > > close enough to not
> > > matter, or is there a version floating around for 7.0?
> > >
> > > Also, from what I remember, CD's created on a MS Win system
> > > could not be booted
> > > from and you had to create two floppies to get the install
> > > going, is that still
> > > the case?
> > >
> > > Thanks,
> > > Todd
> > >
> > >
> > >
> > > _______________________________________________
> > > Axp-list mailing list
> > > Axp-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/axp-list
> > >
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list



_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list




^ permalink raw reply	[flat|nested] 31+ messages in thread
* RE: RH 7.0 install on XP1000's
@ 2001-01-24 22:00 Jemiolo, John
  2001-01-24 22:15 ` Todd Henderson
  0 siblings, 1 reply; 31+ messages in thread
From: Jemiolo, John @ 2001-01-24 22:00 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

It's the CD not floppy, RH70 uses "initrd=" in its boot flags to load the
ramdisk image, so it you do not know the correct syntax, using the -fl flag
to boot from the RH7 cd is easier.. :^)

JJ
and my earlier reply in this same thread....should have been "console=ttyS0"
not "console=serial", and I talk about correct syntax :^)

-----Original Message-----
From: Michal Jaegermann [mailto:michal@ellpspace.math.ualberta.ca]
Sent: Wednesday, January 24, 2001 1:45 PM
To: axp-list@redhat.com
Subject: Re: RH 7.0 install on XP1000's


On Wed, Jan 24, 2001 at 10:13:55AM -0500, Jemiolo, John wrote:
> Use "boot dqa0 -fl 0 "
> The command your using is for 6.2, it  changed for 7.0

It really does not matter. '-fl 0' means only that if you are booting
from SRM then options from a line labelled with '0' in /etc/aboot.conf
on this floppy will be used.  Nothing prevents you from typing them
explicitely although '-fl 0' gives you less opportunity for mistyping. :-)

As a matter of fact, if you need, you may take this floppy, mount it on
any system which can handle floppies with ext2 file system on them and
with an editor add up to nine other "private" boot commands to this
/etc/aboot.conf (these commands are labelled by single digits hence the
limit).  Then you can boot "b dqa0 -fl 3", for example.  Labels do not
have to be consecutive or in order.  They are just one character labels.

If you boot "b dqa0 -fl i" then you will have an opportunity to review
all defined boot lines before choosing one.

  Michal



_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list




^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2001-01-24 22:21 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-10 19:52 gprof and iprobe T. Daniel Crawford
2001-01-10 20:43 ` W Bauske
2001-01-10 21:53   ` T. Daniel Crawford
2001-01-10 23:17     ` Michal Jaegermann
2001-01-10 23:48       ` T. Daniel Crawford
2001-01-11  1:15         ` Michal Jaegermann
2001-01-11  6:29     ` W Bauske
2001-01-10 21:51 ` Jeff Sturm
2001-01-11 11:20 ` Rolf Neugebauer
2001-01-15 16:00   ` T. Daniel Crawford
2001-01-15 17:36     ` Michal Jaegermann
2001-01-15 17:51       ` T. Daniel Crawford
2001-01-15 18:06         ` Michal Jaegermann
2001-01-15 18:11           ` T. Daniel Crawford
2001-01-15 18:18           ` Peter Rival
2001-01-15 18:22             ` T. Daniel Crawford
2001-01-18  1:01               ` Peter Rival
2001-01-15 17:53       ` Uncle George
2001-01-15 22:13     ` W Bauske
2001-01-22 22:37     ` RH 7.0 install on XP1000's Todd Henderson
  -- strict thread matches above, loose matches on Subject: below --
2001-01-22 22:41 Mike Foley
2001-01-24 15:03 ` Todd Henderson
2001-01-24 15:13   ` T. Daniel Crawford
2001-01-24 15:11     ` Todd Henderson
2001-01-24 15:13 Jemiolo, John
2001-01-24 15:17 ` Todd Henderson
2001-01-24 18:44 ` Michal Jaegermann
2001-01-24 15:52 Jemiolo, John
2001-01-24 21:43 ` Todd Henderson
2001-01-24 22:00 Jemiolo, John
2001-01-24 22:15 ` Todd Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox