Author Topic: There is something wrong with my computer!  (Read 6525 times)

0 Members and 1 Guest are viewing this topic.

Offline Melissa

  • Vintage geek
  • Hero Member
  • *****
  • Posts: 724
  • Karma: 0
  • Gender: Female
  • I am fairly new to Linux
    • View Profile
    • Awards
Re: There is something wrong with my computer!
« Reply #60 on: October 10, 2013, 11:29:51 pm »
 $ sudo lshw -C memory
[sudo] password for melissa:
PCI (sysfs) 


In a world without fences and walls, who needs Gates and Windows?

Using two computers- Peppermint on old HP laptop and Mint on new Dell netbook.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13731
  • Karma: 340
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: There is something wrong with my computer!
« Reply #61 on: October 10, 2013, 11:39:32 pm »
run  it again .. and give it time to complete :)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Melissa

  • Vintage geek
  • Hero Member
  • *****
  • Posts: 724
  • Karma: 0
  • Gender: Female
  • I am fairly new to Linux
    • View Profile
    • Awards
Re: There is something wrong with my computer!
« Reply #62 on: October 11, 2013, 02:29:30 am »
sudo lshw -C memory
[sudo] password for melissa:
  *-firmware             
       description: BIOS
       vendor: Hewlett-Packard
       physical id: 0
       version: 68TT2 Ver. F.03
       date: 10/11/2006
       size: 128KiB
       capacity: 960KiB
       capabilities: pci pcmcia pnp upgrade shadowing cdboot bootselect edd int13floppy720 int5printscreen int9keyboard int14serial int17printer acpi usb ls120boot smartbattery biosbootspecification netboot
  *-cache:0
       description: L1 cache
       physical id: 5
       slot: Internal L1 Cache
       size: 128KiB
       capacity: 128KiB
       capabilities: burst internal write-back unified
  *-cache:1
       description: L2 cache
       physical id: 6
       slot: Internal L2 Cache
       size: 256KiB
       capacity: 256KiB
       capabilities: burst external write-back unified
  *-memory
       description: System Memory
       physical id: a
       slot: System board or motherboard
       size: 768MiB
     *-bank:0
          description: SODIMM DDR2 Synchronous 667 MHz (1.5 ns)
          product: 64T32000HDL3SB
          vendor: Infineon (Siemens)
          physical id: 0
          serial: 0102F523
          slot: DIMM #1
          size: 256MiB
          width: 64 bits
          clock: 667MHz (1.5ns)
     *-bank:1
          description: SODIMM DDR2 Synchronous 667 MHz (1.5 ns)
          product: M2N51264TUH8A2F-3C
          vendor: Nanya Technology
          physical id: 1
          serial: 8B152F02
          slot: DIMM #2
          size: 512MiB
          width: 64 bits
          clock: 667MHz (1.5ns)
melissa@melissa-HP-Compaq-nx6325-RH628ES-ABU ~ $
In a world without fences and walls, who needs Gates and Windows?

Using two computers- Peppermint on old HP laptop and Mint on new Dell netbook.

Offline chemicalfan

  • Hero Member
  • *****
  • Posts: 671
  • Karma: 25
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: There is something wrong with my computer!
« Reply #63 on: October 11, 2013, 09:37:24 am »
Considering the low amount of system RAM (when you run a web browser, they eat it up), I'd say you want 3-4G of swap space, to be on the safe side. Unfortunatly, you'll need to repartition some of sda1 into swap space, which means making backups of your stuff (better to be safe than sorry, in event of disaster), then booting a liveCD and running the partitioner from there. As you already have a live Peppermint CD/USB, you can use that.

Not sure what partitioner Peppermint comes with - Mark?

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13731
  • Karma: 340
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: There is something wrong with my computer!
« Reply #64 on: October 11, 2013, 01:36:05 pm »
Quote
Not sure what partitioner Peppermint comes with - Mark?


GParted is on the Peppermint LiveCD :)



Quote
Is it worth installing more swap space? How much more RAM would I need?


Swap -- I'm with chemicalfan here, I'd want about 3-4gig

RAM -- As your 2 memory slots are both populated, I'd (at least) ditch the 256mb stick in favour of a 1gb stick, but a 2gb stick would be better.

If this is actually an HP Compaq nx6325 .. see here:
http://www.crucial.com/uk/store/ListParts.aspx?model=Business%20Notebook%20nx6325][url]http://www.crucial.com/uk/store/ListParts.aspx?model=Business%20Notebook%20nx6325[/url]
for RAM options.

Again IF this is an HP Compaq nx6325 .. I'd probably go for one of these:
http://www.crucial.com/uk/store/mpartspecs.aspx?mtbpoid=7585AC4DA5CA7304
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1509
  • Karma: 119
  • Gender: Male
    • View Profile
    • Awards
Re: There is something wrong with my computer!
« Reply #65 on: October 11, 2013, 02:09:28 pm »
OK, this is not a replacement for adding extra RAM but it might solve (at least temporarily) the possible issue of not having enough RAM and swap.
You could create a 1 Gb swap file:
Code: [Select]
sudo dd if=/dev/zero of=/mnt/1024MiB.swap bs=1024 count=1048576
then change permissions:
Code: [Select]
sudo chmod 600 /mnt/1024MiB.swap
Make it into swap:
Code: [Select]
sudo mkswap /mnt/1024MiB.swap
Add the swap to the running system:
Code: [Select]
sudo swapon /mnt/1024MiB.swap
The additional swap is now available and can be seen by
Code: [Select]
cat /proc/meminfo
See if that makes any difference during normal use.

If it does then make the change permanent:
Edit the /etc/fstab:

Code: [Select]
gksudo gedit /etc/fstab

Add this line at the end of the file:
Code: [Select]
/mnt/1024MiB.swap  none  swap  sw  0 0
Save. After the next reboot the swap will be used automatically.
Undoing your changes :
Undoing basically follows the same process in reverse.
Code: [Select]
gksudo gedit /etc/fstab
Remove the line
Code: [Select]
/mnt/1024MiB.swap  none  swap  sw  0 0
Remove the swap from the running system
Code: [Select]
sudo swapoff /mnt/1024MiB.swap 
Remove the swap file.
Code: [Select]
sudo rm /mnt/1024MiB.swap
No need to reboot.
« Last Edit: October 11, 2013, 05:34:08 pm by SeZo »

Offline Melissa

  • Vintage geek
  • Hero Member
  • *****
  • Posts: 724
  • Karma: 0
  • Gender: Female
  • I am fairly new to Linux
    • View Profile
    • Awards
Re: There is something wrong with my computer!
« Reply #66 on: October 11, 2013, 04:39:33 pm »
Did the first Se Zo- did it work? I can see the words failed in there.

sudo dd if=/dev/zero of=/mnt/1024MiB.swap bs=1024 count=1048576
[sudo] password for melissa:
sudo chmod 600 /mnt/1024MiB.swap
sudo swapon /mnt/1024MiB.swap
1048576+0 records in
1048576+0 records out
1073741824 bytes (1.1 GB) copied, 35.4647 s, 30.3 MB/s
melissa@melissa-HP-Compaq-nx6325-RH628ES-ABU ~ $ sudo chmod 600 /mnt/1024MiB.swap
melissa@melissa-HP-Compaq-nx6325-RH628ES-ABU ~ $ sudo swapon /mnt/1024MiB.swap
swapon: /mnt/1024MiB.swap: read swap header failed: Invalid argument
melissa@melissa-HP-Compaq-nx6325-RH628ES-ABU ~ $ cat /proc/meminfo
MemTotal:         701544 kB
MemFree:           55608 kB
Buffers:            1204 kB
Cached:           294224 kB
SwapCached:          972 kB
Active:           257128 kB
Inactive:         330592 kB
Active(anon):     123944 kB
Inactive(anon):   170956 kB
Active(file):     133184 kB
Inactive(file):   159636 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:         701544 kB
LowFree:           55608 kB
SwapTotal:        718844 kB
SwapFree:         707060 kB
Dirty:               748 kB
Writeback:             0 kB
AnonPages:        291740 kB
Mapped:            49028 kB
Shmem:              2592 kB
Slab:              23836 kB
SReclaimable:      12788 kB
SUnreclaim:        11048 kB
KernelStack:        2040 kB
PageTables:         3880 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     1069616 kB
Committed_AS:    1121776 kB
VmallocTotal:     311480 kB
VmallocUsed:       10612 kB
VmallocChunk:     298892 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       4096 kB
DirectMap4k:      245568 kB
DirectMap4M:      475136 kB
melissa@melissa-HP-Compaq-nx6325-RH628ES-ABU ~ $
In a world without fences and walls, who needs Gates and Windows?

Using two computers- Peppermint on old HP laptop and Mint on new Dell netbook.

Offline Melissa

  • Vintage geek
  • Hero Member
  • *****
  • Posts: 724
  • Karma: 0
  • Gender: Female
  • I am fairly new to Linux
    • View Profile
    • Awards
Re: There is something wrong with my computer!
« Reply #67 on: October 11, 2013, 04:42:39 pm »
Quote
Not sure what partitioner Peppermint comes with - Mark?


GParted is on the Peppermint LiveCD :)



Quote
Is it worth installing more swap space? How much more RAM would I need?


Swap -- I'm with chemicalfan here, I'd want about 3-4gig

RAM -- As your 2 memory slots are both populated, I'd (at least) ditch the 256mb stick in favour of a 1gb stick, but a 2gb stick would be better.

If this is actually an HP Compaq nx6325 .. see here:
[url]http://www.crucial.com/uk/store/ListParts.aspx?model=Business%20Notebook%20nx6325]http://www.crucial.com/uk/store/ListParts.aspx?model=Business%20Notebook%20nx6325][url]http://www.crucial.com/uk/store/ListParts.aspx?model=Business%20Notebook%20nx6325[/url]
for RAM options.

Again IF this is an HP Compaq nx6325 .. I'd probably go for one of these:
http://www.crucial.com/uk/store/mpartspecs.aspx?mtbpoid=7585AC4DA5CA7304



I looked at the link- is that some extra HD space that has swap on it? Remember I know zilch about hardware, programming etc! Hence the baby questions.
In a world without fences and walls, who needs Gates and Windows?

Using two computers- Peppermint on old HP laptop and Mint on new Dell netbook.

Offline chemicalfan

  • Hero Member
  • *****
  • Posts: 671
  • Karma: 25
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: There is something wrong with my computer!
« Reply #68 on: October 11, 2013, 05:04:34 pm »
Re: the Sezo "procedure" - you need to execute each command seperately! I'm not sure why that failed though, unless it didn't like the dot character in the name? Guys - in future, is it worth issuing a sequence of bash commands with the &&"syntax? To be honest, I always tend to do that myself anyway...

Re: the links - those are links to compatible RAM for your laptop. But your laptop guy should be able to sort that for you :)

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1509
  • Karma: 119
  • Gender: Male
    • View Profile
    • Awards
Re: There is something wrong with my computer!
« Reply #69 on: October 11, 2013, 05:24:08 pm »
No that did not work.
I missed a step of turning it into swap first :-[
(corrected in previous post)
So now you need to do this step:
Code: [Select]
sudo mkswap /mnt/1024MiB.swap
then
Code: [Select]
sudo swapon /mnt/1024MiB.swap
then check:
Code: [Select]
cat /proc/meminfo
or
Code: [Select]
free -m
« Last Edit: October 11, 2013, 05:34:48 pm by SeZo »

Offline Melissa

  • Vintage geek
  • Hero Member
  • *****
  • Posts: 724
  • Karma: 0
  • Gender: Female
  • I am fairly new to Linux
    • View Profile
    • Awards
Re: There is something wrong with my computer!
« Reply #70 on: October 12, 2013, 12:01:03 am »
OK done the above SeZo:

melissa@melissa-HP-Compaq-nx6325-RH628ES-ABU ~ $ sudo mkswap /mnt/1024MiB.swap
[sudo] password for melissa:
Setting up swapspace version 1, size = 1048572 KiB
no label, UUID=fd792a25-ad06-4fb4-8712-39864249e6a6
melissa@melissa-HP-Compaq-nx6325-RH628ES-ABU ~ $ sudo swapon /mnt/1024MiB.swap
melissa@melissa-HP-Compaq-nx6325-RH628ES-ABU ~ $ cat /proc/meminfo
MemTotal:         701544 kB
MemFree:           64724 kB
Buffers:            9928 kB
Cached:            91624 kB
SwapCached:        33700 kB
Active:           252888 kB
Inactive:         323376 kB
Active(anon):     211752 kB
Inactive(anon):   266340 kB
Active(file):      41136 kB
Inactive(file):    57036 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:         701544 kB
LowFree:           64724 kB
SwapTotal:       1767416 kB
SwapFree:        1613512 kB
Dirty:               200 kB
Writeback:             0 kB
AnonPages:        463588 kB
Mapped:            44912 kB
Shmem:              3368 kB
Slab:              21336 kB
SReclaimable:       9236 kB
SUnreclaim:        12100 kB
KernelStack:        2168 kB
PageTables:         5084 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2118188 kB
Committed_AS:    1661784 kB
VmallocTotal:     311480 kB
VmallocUsed:       11048 kB
VmallocChunk:     298892 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       4096 kB
DirectMap4k:      245568 kB
DirectMap4M:      475136 kB
melissa@melissa-HP-Compaq-nx6325-RH628ES-ABU ~ $ free -m
             total       used       free     shared    buffers     cached
Mem:           685        622         62          0          9         89
-/+ buffers/cache:        522        162
Swap:         1725        150       1575
melissa@melissa-HP-Compaq-nx6325-RH628ES-ABU ~ $
In a world without fences and walls, who needs Gates and Windows?

Using two computers- Peppermint on old HP laptop and Mint on new Dell netbook.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13731
  • Karma: 340
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: There is something wrong with my computer!
« Reply #71 on: October 12, 2013, 12:14:11 am »
OK, the PC will still probably slow down when you have a lot of things open at the same time, but hopefully it won't shut itself down now.

use it for a while and let us know if the shutdowns seem fixed.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Melissa

  • Vintage geek
  • Hero Member
  • *****
  • Posts: 724
  • Karma: 0
  • Gender: Female
  • I am fairly new to Linux
    • View Profile
    • Awards
Re: There is something wrong with my computer!
« Reply #72 on: October 12, 2013, 12:15:42 am »
OK, the PC will still probably slow down when you have a lot of things open at the same time, but hopefully it won't shut itself down now.

use it for a while and let us know if the shutdowns seem fixed.

Thanks Mark. If I want more RAM added is that done internally- hardware? Do I take it to the PC repair shop?
In a world without fences and walls, who needs Gates and Windows?

Using two computers- Peppermint on old HP laptop and Mint on new Dell netbook.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13731
  • Karma: 340
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: There is something wrong with my computer!
« Reply #73 on: October 12, 2013, 12:55:41 am »
Yes RAM is a hardware module added internally into a socket .. usually through a little trap door underneath the laptop .. you can either fit it yourself, or have someone else do it for you.

See this video:

If you get the 2gb module I linked to earlier .. you don't need to remove the keyboard .. just replace whichever module is under the trap door underneath your PC

<a href="http://youtube.googleapis.com/v/7bEVbkfNo4w" target="_blank" class="new_win">http://youtube.googleapis.com/v/7bEVbkfNo4w</a>
« Last Edit: October 12, 2013, 01:01:32 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Melissa

  • Vintage geek
  • Hero Member
  • *****
  • Posts: 724
  • Karma: 0
  • Gender: Female
  • I am fairly new to Linux
    • View Profile
    • Awards
Re: There is something wrong with my computer!
« Reply #74 on: October 12, 2013, 01:11:05 am »
Thanks Mark. When I'm back in the job market I will get one.
In a world without fences and walls, who needs Gates and Windows?

Using two computers- Peppermint on old HP laptop and Mint on new Dell netbook.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal