| Author |
Message |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6861 Location: Perth, Western Australia
|
Posted: Thu 26 Jul 2007, 23:11 Post subject:
HardInfo, system information |
|
One problem, when I click on Devices --> Storage, get a segmentation fault. I would like to know if that is just my hardware or if others get that crash.
Other than that, it looks good.
| Description |
|

Download |
| Filename |
hardinfo-0.4.2.2.pet |
| Filesize |
250.33 KB |
| Downloaded |
793 Time(s) |
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Thu 26 Jul 2007, 23:26 Post subject:
|
|
hi barry,
i've also uploaded hardinfo as a .pet here:
http://www.murga-linux.com/puppy/viewtopic.php?search_id=632016171&t=20108
i don't get a seg-fault with Devices --> Storage
(compiled with pup2.16)
|
|
Back to top
|
|
 |
WhoDo

Joined: 11 Jul 2006 Posts: 4441 Location: Lake Macquarie NSW Australia
|
Posted: Fri 27 Jul 2007, 00:00 Post subject:
|
|
Hmmm....really nice looking app. No seg faults on my machine either, but I did install muggins' version first so that may have negated the value of my test.
Either way I'd like to see this as standard in Puppy. Much easier to follow for refugees.
Thanks guys.
_________________ Actions speak louder than words ... and they usually work when words don't!
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
|
|
Back to top
|
|
 |
wingruntled
Joined: 20 Feb 2007 Posts: 287 Location: Great Lakes
|
Posted: Fri 27 Jul 2007, 01:08 Post subject:
|
|
Barry
I didn't find any errors under Devices > Stoage either but I did find a rather concerning error under Computer > Summary.
| Quote: | Processor : AMD Athlon(tm) XP 3200+
Memory : 515MB (46MB used)
Operating System : Unknown distribution
User Name : root (root)
Date/Time : Thu 26 Jul 2007 11:58:45 PM CDT |
How dare they call Puppy a Unknown distribution
|
|
Back to top
|
|
 |
Guest07
Joined: 21 Jul 2007 Posts: 5
|
Posted: Fri 27 Jul 2007, 01:37 Post subject:
HardInfo, system information Subject description: hardinfo-0.4.2.2.pet |
|
I get no segmentation fault, but more Logical sectors than Physical.
|
|
Back to top
|
|
 |
tedward
Joined: 09 Jul 2005 Posts: 27 Location: Katikati, New Zealand
|
Posted: Fri 27 Jul 2007, 05:33 Post subject:
Hard Info: Storage Subject description: test result |
|
Selecting "storage" causes the Hard info application to close down. Everything else works OK.
No big deal as I will probably never use this Application anyway.
Congrats on all your intensive development work on Puppy.
Your blog is my home page.
Cheers
|
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2505 Location: Hell more grotesque than any medieval woodcut
|
Posted: Fri 27 Jul 2007, 07:27 Post subject:
|
|
| wingruntled wrote: | How dare they call Puppy a Unknown distribution
|
I tried hacking Hardinfo a few weeks ago to solve this.
The problem is that it tries to use "lsb_release" to get the distro info.
So I got lsb_release (it's just a script) and added it, along with an old /etc/lsb_release file from Ubuntu, which I modified to have Puppy info -- but it still wouldn't work!
I guess we could just hack it to always say "Puppy Linux" -- it's not like any non-Puppy users are gona use the binary...
_________________ What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
|
|
Back to top
|
|
 |
duh
Joined: 10 Dec 2006 Posts: 17
|
Posted: Fri 27 Jul 2007, 11:04 Post subject:
Subject description: DEVICEs-->input-Devices and DEVICEs-->Storage |
|
Hello,
INPUT DEVICE has same killing problem at my box to the program.
USB Devices shows my ext.DVD-burner as USB TO IDE (usb2.0 compatible)
it hangs at usb1.1 Port and is there bootable and burning everything
but not at PCI-USB2.0-card.
If ext.DVD-burner LG GSA-H12N is disconected DEVICE-STORAGE works
BTW. PMOUNT PuppyDrive Mounter does not show the ext. DVD -- MUT does it
thanks for PUPPY
Wolf
P3 800Mhz 0.9G CanoScanLide20 Samsung-DVD TEAC512-CD/RW HP-LJ-2100 PIXMA4200
|
|
Back to top
|
|
 |
acidx
Joined: 27 Jul 2007 Posts: 5
|
Posted: Fri 27 Jul 2007, 11:53 Post subject:
|
|
Greetings.
I'm the hardinfo author Running Puppy 2.17 right now, so the bugs can be fixed (and downloading the devx package).
1) I'll add Puppy as a recognized distribution name; does /etc/puppyversion exists in every Puppy release?
2) It also crashed here when I've clicked the 'storage' option. As soon as I get my gdb I'll try to figure out what's happening, as it doesn't crash when I'm on Ubuntu Feisty.
3) lspci does not show the device's names; just their classes. Is this normal? (My guess is that Puppy uses a stripped-down version of lspci.)
4) There's no problem here with hot-plugged USB devices; either in "USB Devices" or in "Input Devices" (except that my Joystick is recognized as "unknown"). If you're seeing this problem, could you please run it from inside gdb and generate a backtrace? (Grab devx package, click on it, run "usr/bin/gdb" relative to where it's mounted, type "file /usr/bin/hardinfo" and then "run". When it crashes, type "bt full" and post the result here.)[/list]
|
|
Back to top
|
|
 |
duh
Joined: 10 Dec 2006 Posts: 17
|
Posted: Fri 27 Jul 2007, 17:19 Post subject:
Subject description: Test hardinfo-217 |
|
#### hopefully done correct
####After loading devx217.sfs DEVICES-->Storage showed all inner drives(2+2)
#### INPUT DEVICES broke with a small white rectangular showing the output
#### of Device-->Storage
#### Under the lasso of shutterbug screen got wiped -- so no pic
# /usr/bin/gdb
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-t2-linux-gnu".
(gdb)
(gdb) file/usr/bin/hardinfo
Reading symbols from /usr/bin/hardinfo...(no debugging symbols found)...done.
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/hardinfo
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Program received signal SIGSEGV, Segmentation fault.
0xb7b47d59 in g_atomic_int_exchange_and_add () from /usr/lib/libglib-2.0.so.0
(gdb
bt full
####
(gdb) bt full
#0 0xb7b47d59 in g_atomic_int_exchange_and_add ()
from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#1 0xb7bbdf12 in g_object_ref () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#2 0x0805ad07 in icon_cache_get_pixbuf_at_size ()
No symbol table info available.
#3 0x08057368 in info_tree_compare_val_func ()
No symbol table info available.
#4 0x08057e00 in shell_set_note_from_entry ()
No symbol table info available.
#5 0x0805812f in shell_set_note_from_entry ()
No symbol table info available.
#6 0xb7bcc7d2 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#7 0xb7bbb40c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#8 0xb7bcaf0d in g_signal_has_handler_pending ()
from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#9 0xb7bcc23a in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#10 0xb7bcc42b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0xb7eada2d in gtk_tree_selection_select_range ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#12 0xb7ebc312 in gtk_tree_view_scroll_to_cell ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#13 0xb7ec3b64 in gtk_tree_view_set_model () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0xb7e18ff7 in gtk_marshal_VOID__UINT_STRING ()
from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0xb7bbb638 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#16 0xb7bbb40c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#17 0xb7bcb095 in g_signal_has_handler_pending ()
from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#18 0xb7bcbfd7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0xb7bcc42b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#20 0xb7ed27c8 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#21 0xb7e16a79 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0xb7e16e2c in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#23 0xb7cf36af in gdk_event_get_graphics_expose ()
from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#24 0xb7b58728 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#25 0xb7b59e61 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#26 0xb7b5a0c5 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#27 0xb7e1775b in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#28 0x080551ac in main ()
No symbol table info available.
(gdb) untitled
#### 2nd + 3rd Test (without rebooting)
# /usr/bin/gdb
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-t2-linux-gnu".
(gdb) file/usr/bin/hardinfo
Reading symbols from /usr/bin/hardinfo...(no debugging symbols found)...done.
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) bt full
No stack.
(gdb)
##### Device-->storage works (2+2)
##### Input devices closed the program (no screen)
#####4th Test with rebooting dvx217.sfs installed Input.DEV and Storage
##### closed program. --desired outputs as test 2and 3.
|
|
Back to top
|
|
 |
WhoDo

Joined: 11 Jul 2006 Posts: 4441 Location: Lake Macquarie NSW Australia
|
Posted: Fri 27 Jul 2007, 18:56 Post subject:
|
|
| acidx wrote: | I'm the hardinfo author Running Puppy 2.17 right now, so the bugs can be fixed (and downloading the devx package). |
Wow! Now that's what I call support!
| acidx wrote: | | 1) I'll add Puppy as a recognized distribution name; does /etc/puppyversion exists in every Puppy release? |
Yes, it does. At least in every official Puppy release. Can't answer for Grafpup, Pizzapup, etc.
Thanks for your support, acidx. Very nice app, too!
_________________ Actions speak louder than words ... and they usually work when words don't!
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6861 Location: Perth, Western Australia
|
Posted: Fri 27 Jul 2007, 20:33 Post subject:
|
|
| acidx wrote: | Greetings.
I'm the hardinfo author Running Puppy 2.17 right now, so the bugs can be fixed (and downloading the devx package).
1) I'll add Puppy as a recognized distribution name; does /etc/puppyversion exists in every Puppy release?
2) It also crashed here when I've clicked the 'storage' option. As soon as I get my gdb I'll try to figure out what's happening, as it doesn't crash when I'm on Ubuntu Feisty.
3) lspci does not show the device's names; just their classes. Is this normal? (My guess is that Puppy uses a stripped-down version of lspci.)
4) There's no problem here with hot-plugged USB devices; either in "USB Devices" or in "Input Devices" (except that my Joystick is recognized as "unknown"). If you're seeing this problem, could you please run it from inside gdb and generate a backtrace? (Grab devx package, click on it, run "usr/bin/gdb" relative to where it's mounted, type "file /usr/bin/hardinfo" and then "run". When it crashes, type "bt full" and post the result here.)[/list] |
acidx, Thanks for coming "on board"!
1. Yes, as already responded.
3. Yes, lspci does not have the database files. What we do have is 'scanpci' which comes with Xorg -- this has all the same info as the full lspci. Having both is unecessary duplication, and we need the scanpci as the Xorg Video Wizard and also Xorg startup uses it.
...perhaps your code could check that lspci only outputs the IDs and no further info, then checks for presence of scanpci -- which nearly all distros will have.
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6861 Location: Perth, Western Australia
|
Posted: Fri 27 Jul 2007, 20:38 Post subject:
|
|
muggins, did you compile your hardinfo without libsoup? ...I notice it's smaller than my package.
I compiled libsoup statically into the hardinfo executable. Note though, SSL is disabled in libsoup as we don't have GNUTLS in Puppy.
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Fri 27 Jul 2007, 20:55 Post subject:
|
|
barry,
i compiled without library soup, upx'ed the executable & pngcrushed any .png files. i've just run it for the first time using pup2.17 & got the Segmentation fault error. it seems to work OK with 2.16.
|
|
Back to top
|
|
 |
John Doe
Joined: 01 Aug 2005 Posts: 1689 Location: Michigan, US
|
Posted: Fri 27 Jul 2007, 21:17 Post subject:
|
|
| acidx wrote: | I'm the hardinfo author Running Puppy 2.17 right now, so the bugs can be fixed (and downloading the devx package). |
Thanks for jumping in.
I get the seg fault also using 2.17, my gdb is attached.
Also I noticed two other small things:
1-if a node is selected and it's parent node is collapsed one is unable to switch to another node.
i get this from shell (most times) when it happens:
# hardinfo
sh: last: command not found
example: select "summary" colapse computer and now one is unable to select memory (or anything else) under devices or benchmarks.
2-Computer->Operating System->Current Session->Desktop Environment (Specifically the "WindowManager" part)
works under JWM but under ICEWM nothing shows up.
| Description |
|

Download |
| Filename |
hardinfo-test.tar.gz |
| Filesize |
1.19 KB |
| Downloaded |
693 Time(s) |
|
|
Back to top
|
|
 |
|