Sponsored Content
Operating Systems Linux Ubuntu pstack missing from Ubuntu 10.10 Post 302487354 by manustone on Wednesday 12th of January 2011 07:08:13 AM
Old 01-12-2011
I have INTEL based on this call
Code:
cat /etc/proc/info

model name    : Intel(R) Core(TM)2 Duo CPU     E8500  @ 3.16GHz

but executing the list of commands you are suggesting I see a suspect file called
Code:
pstack_1.2-1_amd64.changes

and other errors so the procedure is not successfull ( I am going to retry again ).

If you see code below is noted where is produced.
---------- Post updated at 07:08 AM ---------- Previous update was at 07:05 AM ----------

Code:
ME@MyPC:~/Downloads$ sudo apt-get source pstack

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Need to get 16.5kB of source archives.
Get:1 http://gb.archive.ubuntu.com/ubuntu/ maverick/universe pstack 1.2-1 (dsc) [555B]
Get:2 http://gb.archive.ubuntu.com/ubuntu/ maverick/universe pstack 1.2-1 (tar) [14.2kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu/ maverick/universe pstack 1.2-1 (diff) [1,706B]
Fetched 16.5kB in 0s (265kB/s)
gpgv: Signature made Fri 08 Oct 2004 19:00:15 BST using DSA key ID AB474598
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./pstack_1.2-1.dsc
dpkg-source: info: extracting pstack in pstack-1.2
dpkg-source: info: unpacking pstack_1.2.orig.tar.gz
dpkg-source: info: applying pstack_1.2-1.diff.gz
dpkg-source: info: upstream files that have been modified: 
 pstack-1.2/pstack.c

another error is this where the host architecture is recognized as AMD64.

Code:
ME@MYPC~/Downloads/pstack-1.2$ dpkg-buildpackage -rfakeroot -b

dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package pstack
dpkg-buildpackage: source version 1.2-1
dpkg-buildpackage: source changed by Baruch Even <baruch@debian.org>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build pstack-1.2
 fakeroot debian/rules clean
test -x debian/rules
dh_testroot
rm -f debian/stamp-makefile-build debian/stamp-makefile-install
/usr/bin/make  -C . CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="-Wl,-Bsymbolic-functions"  -k clean
make[1]: Entering directory `/home/emanueler/Downloads/pstack-1.2'
rm pstack
rm: cannot remove `pstack': No such file or directory
make[1]: *** [clean] Error 1
make[1]: Leaving directory `/home/emanueler/Downloads/pstack-1.2'
make: [makefile-clean] Error 2 (ignored)
dh_clean 
dh_clean: Compatibility levels before 5 are deprecated.
 debian/rules build
make: Nothing to be done for `build'.
 fakeroot debian/rules binary
make: Nothing to be done for `binary'.
 dpkg-genchanges -b >../pstack_1.2-1_amd64.changes
dpkg-genchanges: error: cannot read files list file: No such file or directory
dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2


Last edited by manustone; 01-12-2011 at 08:15 AM..
 

10 More Discussions You Might Find Interesting

1. Solaris

decipher pstack with problem lwp

My company has a product that is running on JBoss on Solaris against Oracle 8.1.7. We are having an issue with the server process and high CPU utilization. During this time, and only during this time, we are experiencing database locks that will not let go. A 'ps -L' on the server process... (5 Replies)
Discussion started by: hosierdm
5 Replies

2. UNIX for Advanced & Expert Users

Core Dump Analysis Using PStack and PMAP

Hello, I'm new to the group and this is my first post. I'm hoping someone can help me out. I have a core dump that I need to analyze from a Unix box and I've never done this sort of thing before. I was told to run a pmap and pstack on the core file which provided two different output files. ... (3 Replies)
Discussion started by: kimblebee
3 Replies

3. Solaris

pstack usage on Solaris 9

Hello everyone, I have a 12-thread application running on Solaris 9. When I use the pstack command after a typical core dump, it prints the stack output of all 12 threads/lwps. This is the standard procedure as it is described in the Solaris MAN pages. Is there a way to filter out the... (1 Reply)
Discussion started by: gregb32
1 Replies

4. UNIX for Advanced & Expert Users

Required info on Pstack on solaris10

Hi All , I am wanted to know the #of thread ( Kernal & User ) created by the Process i was looking into the prstat PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP 994 httpd 126M 99M sleep 58 0 1:11.25 2.4% ns-httpd/33 997 httpd 114M 86M sleep 58 0 0:40.02 2.7% ns-httpd/22 995... (0 Replies)
Discussion started by: rajendra44
0 Replies

5. Red Hat

pfiles and pstack and ptree

Can someone tell me the Linux equivalent for pstack and pfiles and ptree which are Solaris commands. (1 Reply)
Discussion started by: bdsffl
1 Replies

6. UNIX for Advanced & Expert Users

analyse core file using pmap and pstack

Dear All, I am new to this forum. This is my first. I am facing customer issue. Customer has got core file while running the server. He had sent core file and details from pstack, pmap and pldd commands. I have to debug this application, please help me to fix this issue. I am using sparc... (1 Reply)
Discussion started by: KiranBangalore
1 Replies

7. Solaris

analyse core file using pmap and pstack

Dear All, I am new to this forum. This is my first. I am facing customer issue. Customer has got core file while running the server. He had sent core file and details from pstack, pmap and pldd commands. I have to debug this application, please help me to fix this issue. I am using sparc 10... (4 Replies)
Discussion started by: KiranBangalore
4 Replies

8. Ubuntu

/dev/ttyb missing from UBUNTU

HI All I am doing first steps in debugging with GDB. I have been suggested to redirect output to another terminal using the command using tty /dev/ttyb I had a look at my ubuntu doing ls /dev/tty* and I cannot find this ttyb. What is it and how to achieve the same thing? I am... (0 Replies)
Discussion started by: manustone
0 Replies

9. Solaris

pstack file analysis

Hi ... Can you please share how to analyse pstack file and various options for core dump analysis (3 Replies)
Discussion started by: anand87
3 Replies

10. UNIX for Dummies Questions & Answers

Missing menu.lst file in Ubuntu

I am not able to find menu.lst in /boot. During the Linux Kernel Compilation I installed the kernel using make install. Next I created an initrd image. I had to modify the Grub configuration file - /boot/grub/menu.lst which I am not able to find. Any resolution for the issue? (3 Replies)
Discussion started by: rupeshkp728
3 Replies
All times are GMT -4. The time now is 01:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy