Re: [Lubuntu-qa] Lubuntu 13.10 beta - zram and hardware

2013-09-22 Thread Lars Noodén
On 09/22/2013 08:51 PM, JM wrote:
 On Sun, 22 Sep 2013 19:25:32 +0300
 Lars Noodén lars.noo...@gmail.com wrote:
 
 On 09/22/2013 07:12 PM, JM wrote:
 On Sun, 22 Sep 2013 18:36:36 +0300
 Lars Noodén lars.noo...@gmail.com wrote:

 On 09/22/2013 06:04 PM, JM wrote:
 I will be interested to know if by any chance that helps. I would also 
 like to know
 about the specs of the machine(s) where the freeze have occurred 
 (Motherboard, CPU,
 GPU particularly).

 Thanks.  For just my own machine, it is this one:

http://people.ubuntu.com/~larsnooden/Hw/pike.lshw.html

 though others have different hardware I expect.  The freeze leaves no
 trace in the log files.

 Regards,
 /Lars

 Hi Lars,

 About logs:
 Is the distro installed or is the freeze occurring with a live ? If it is 
 installed,
 is it possible to get the dmesg just after a reboot, and seek for the last 
 lines just
 before the last reboot lines ?

 The distro is installed, but lately I've had freezes during the
 installation process.  Tomorrow, or whenever the new beta arrives, I'll
 be doing installation on the machine again.  3x alternate and 3x desktop.

 hum… I'm not sure it is still possible to get the dmesg messages from the 
 former
 session nowadays. Maybe seek for the last lines of dmesg from within a Live 
 session?

 I can't get the machine to crash on demand.
 
 Of course, this would be just after one of these random crashes.

Hi, Mélodie,

Ok.  I'll see what I can do about getting a dmesg after the next crash
on Monday (tomorrow)

 About mac mini : isn't there something in that kind of hardware which might 
 be (?) →

 Just noticed the two different kinds of CPUs : which one is in use when you 
 boot? Can
 you setup something in the bios to select one or the other? →

 The output is from lshw.  I'm not so sure how reliable that is.
 
 I have considered lshw very reliable so far. Have you started it with the 
 admin rights?
 (sudo lshw).
 
 What does cat /proc/cpuinfo return ?

I've included the contents of /proc/cpuinfo below at the end of the
message.

  It should be registering an Intel(R) Core(TM)2 CPU.  I'm not up on hardware
 enough to know whether that is dual core or dual cpu.  But either way,
 both should be the same.  Looking at /proc/cpuinfo shows that both are
 the same, so I suspect that the fault is with lshw.
 
 lshw shows a core duo and a pentium III.
 …

I've found 3 or 4 big mistakes in what lshw has reported on other
hardware, but cannot recall the specifics since it was so long ago.  So
the report of PIII may also be a mistake.

 → Could you check in the BIOS to see if there is an additional PIII CPU 
 showing
 and enabled? (And if so if it could be disabled)

I'm not sure how to do that.  AFAIK there is no BIOS only OpenFirmware
or EFI which have no menus.

 →→ This is your machine:
 http://www.everymac.com/systems/apple/mac_mini/specs/mac_mini_cd_1.83-specs.html
 
 (found from this list: 
 http://www.everymac.com/systems/apple/mac_mini/index-macmini.html )

Yes, I saw that one too.  It does not have much information.

[snip]
 Module  Size  Used by
 (...)
 i915  655709  2
 (...)
 
 It does not show agpgart-intel and after a fast search in Lubuntu vbox, in my 
 own
 Archlinux box and on the web it seems not to be provided anywhere anymore.
 
 I don't quite see how zram would interfere with the GPU abilities. Are you
 considering trying the values I have pointed to in the last mail here ? 
 Date: Sun, 22
 Sep 2013 17:04:13 +0200

I'll need help walking through that.

regards,
/Lars

 Regards,
 Mélodie
 
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Core(TM)2 CPU T5600  @ 1.83GHz
stepping: 2
microcode   : 0x57
cpu MHz : 1833.000
cache size  : 2048 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 2
apicid  : 0
initial apicid  : 0
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64
monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm tpr_shadow
bogomips: 3666.36
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Core(TM)2 CPU T5600  @ 1.83GHz
stepping: 2
microcode   : 0x57
cpu MHz : 1000.000
cache size  : 2048 KB
physical id : 0
siblings: 2
core id : 1
cpu cores   : 2
apicid  : 1
initial apicid  : 1
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce 

Re: [Lubuntu-qa] Lubuntu 13.10 beta - zram and hardware

2013-09-22 Thread JM
On Sun, 22 Sep 2013 23:13:31 +0300
Lars Noodén lars.noo...@gmail.com wrote:

 Hi, Mélodie,
 
 Ok.  I'll see what I can do about getting a dmesg after the next crash
 on Monday (tomorrow)

Ok.


 I've included the contents of /proc/cpuinfo below at the end of the
 message.

Yes. Strangely they both have a different setup, one offers 1800 Mhz speed and 
the other
only 1000 although they have the same capacity.



 I've found 3 or 4 big mistakes in what lshw has reported on other
 hardware, but cannot recall the specifics since it was so long ago.  So
 the report of PIII may also be a mistake.


Ok, I haven't but perhaps, why not?



 I'm not sure how to do that.  AFAIK there is no BIOS only OpenFirmware
 or EFI which have no menus.

They don't? :-(

sigh…


  I don't quite see how zram would interfere with the GPU abilities. Are you
  considering trying the values I have pointed to in the last mail here ? 
  Date: Sun, 22
  Sep 2013 17:04:13 +0200
 
 I'll need help walking through that.

Here is help. If you don't understand it all quite well you will need to do it 
slowly and
quietly. :)


To prevent the kernel from swapping to disk (using the swap partition, which
is slower than a swap in ram), install this:

http://meets.free.fr/Downloads/BentoVillageProject/Configurations/System/etc/sysctl.d/50-local.conf

to 
/etc/sysctl.d/

this is what it says:
*

## Configure swappiness
# Uncomment the next line if we are running a laptop
# vm.laptop_mode = 1
vm.swappiness=0
vm.vfs_cache_pressure=50

*

very commonly adviced in many places on the web, which I use in all my systems 
since a
while now.

Then the following:
http://meets.free.fr/Downloads/BentoVillageProject/Configurations/System/Zram/

Read the README.

Change your 
/etc/initramfs-tools/initramfs.conf

for this one:
http://meets.free.fr/Downloads/BentoVillageProject/Configurations/System/Zram/etc/initramfs-tools/initramfs.conf

what is added is only this:
COMPCACHE_SIZE=25%

instead of 
COMPCACHE_SIZE=


in /usr/share/initramfs-tools/conf.d/compcache

change this:
COMPCACHE_SIZE=50%

for this:
COMPCACHE_SIZE=25%

This is what the patch file means:
http://meets.free.fr/Downloads/BentoVillageProject/Configurations/System/Zram/usr/share/initramfs-tools/conf.d/compcache.patch

and IF you are in a Live, 
in /usr/share/initramfs-tools/hooks/compcache
change this:
# Do not use compcache on the liveCD if we have more than 512M

for this:
# Do not use compcache on the liveCD if we have more than 2048M

and after this:
if [ \${BOOT} = casper ]; then

change this:
if [ \${TOTAL_RAM} -gt 524288 ]; then

for this:
if [ \${TOTAL_RAM} -gt 2097152 ]; then

This is what is intented with the file 
http://meets.free.fr/Downloads/BentoVillageProject/Configurations/System/Zram/usr/share/initramfs-tools/hooks/compcache.patch


Regards,
Mélodie

-- 
Mailing list: https://launchpad.net/~lubuntu-qa
Post to : lubuntu-qa@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-qa
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-qa] Lubuntu 13.10 beta - zram and hardware

2013-09-22 Thread Jonathan Marsden
On 09/22/2013 01:13 PM, Lars Noodén wrote:

 On 09/22/2013 08:51 PM, JM wrote:

 It should be registering an Intel(R) Core(TM)2 CPU.  I'm not up
 on hardware enough to know whether that is dual core or dual cpu.
 But either way, both should be the same.  Looking at
 /proc/cpuinfo shows that both are the same, so I suspect that the
 fault is with lshw.

It's a T5600, which is a dual core CPU.  See


http://ark.intel.com/products/27254/Intel-Core2-Duo-Processor-T5600-2M-Cache-1_83-GHz-667-MHz-FSB

for more specs on that CPU.

 lshw shows a core duo and a pentium III.

Seems extremely suspect.  I'd trust /proc/cpuinfo over lshw.

There is no way to add a PIII to a Mac Mini as an additional CPU.

Jonathan


-- 
Mailing list: https://launchpad.net/~lubuntu-qa
Post to : lubuntu-qa@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-qa
More help   : https://help.launchpad.net/ListHelp