JohnBeyond / inxi

Automatically exported from code.google.com/p/inxi
0 stars 0 forks source link

-c 0 problem (red continues) when FAILED #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ubuntu 13.10 in xterm or GNOME terminal
in case 'FAILED: nouveau' detected
What steps will reproduce the problem?
1.inxi -v7 -c 0

2. 'FAILED: nouveau' and all following text is in red, but -c 0 requested
3.

What is the expected output? What do you see instead?
black/white text
'FAILED: nouveau' and all following text is in red, but -c 0 requested

What version of the product are you using? On what operating system?
vanvleck 2009$ inxi -V
inxi 1.9.12-00 (July 2 2013)
 vanvleck 2010$ uname -a
Linux vanvleck 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux

Program Location: /usr/bin

Please paste your inxi output below.

Please paste your 'cat /proc/cpuinfo' output below.
vanvleck 2001$ cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 58
model name  : Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz
stepping    : 9
microcode   : 0x12
cpu MHz     : 1700.000
cache size  : 6144 KB
physical id : 0
siblings    : 4
core id     : 0
cpu cores   : 4
apicid      : 0
initial apicid  : 0
fpu     : yes
fpu_exception   : yes
cpuid level : 13
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 rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc 
aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 
xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx f16c 
rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi 
flexpriority ept vpid fsgsbase smep erms
bogomips    : 5986.68
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       : 58
model name  : Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz
stepping    : 9
microcode   : 0x12
cpu MHz     : 1600.000
cache size  : 6144 KB
physical id : 0
siblings    : 4
core id     : 1
cpu cores   : 4
apicid      : 2
initial apicid  : 2
fpu     : yes
fpu_exception   : yes
cpuid level : 13
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 rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc 
aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 
xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx f16c 
rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi 
flexpriority ept vpid fsgsbase smep erms
bogomips    : 5986.68
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 2
vendor_id   : GenuineIntel
cpu family  : 6
model       : 58
model name  : Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz
stepping    : 9
microcode   : 0x12
cpu MHz     : 1600.000
cache size  : 6144 KB
physical id : 0
siblings    : 4
core id     : 2
cpu cores   : 4
apicid      : 4
initial apicid  : 4
fpu     : yes
fpu_exception   : yes
cpuid level : 13
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 rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc 
aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 
xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx f16c 
rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi 
flexpriority ept vpid fsgsbase smep erms
bogomips    : 5986.68
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 3
vendor_id   : GenuineIntel
cpu family  : 6
model       : 58
model name  : Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz
stepping    : 9
microcode   : 0x12
cpu MHz     : 1600.000
cache size  : 6144 KB
physical id : 0
siblings    : 4
core id     : 3
cpu cores   : 4
apicid      : 6
initial apicid  : 6
fpu     : yes
fpu_exception   : yes
cpuid level : 13
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 rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc 
aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 
xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx f16c 
rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi 
flexpriority ept vpid fsgsbase smep erms
bogomips    : 5986.68
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

please paste your 'cat /proc/meminfo' output below.
vanvleck 2002$ cat /proc/meminfo
MemTotal:        3984324 kB
MemFree:          487332 kB
Buffers:          244516 kB
Cached:          1076412 kB
SwapCached:        87152 kB
Active:          2103308 kB
Inactive:        1008736 kB
Active(anon):    1254852 kB
Inactive(anon):   553496 kB
Active(file):     848456 kB
Inactive(file):   455240 kB
Unevictable:         448 kB
Mlocked:             448 kB
SwapTotal:       4058108 kB
SwapFree:        3690176 kB
Dirty:               424 kB
Writeback:             0 kB
AnonPages:       1754900 kB
Mapped:           216940 kB
Shmem:             17232 kB
Slab:             250692 kB
SReclaimable:     201280 kB
SUnreclaim:        49412 kB
KernelStack:        6320 kB
PageTables:        55020 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     6050268 kB
Committed_AS:    7412792 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      132912 kB
VmallocChunk:   34359600360 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      114040 kB
DirectMap2M:     4016128 kB

please paste your 'sensors' output below.

vanvleck 2003$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +27.8°C  (crit = +106.0°C)
temp2:        +29.8°C  (crit = +106.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +29.0°C  (high = +85.0°C, crit = +105.0°C)
Core 0:         +24.0°C  (high = +85.0°C, crit = +105.0°C)
Core 1:         +28.0°C  (high = +85.0°C, crit = +105.0°C)
Core 2:         +25.0°C  (high = +85.0°C, crit = +105.0°C)
Core 3:         +30.0°C  (high = +85.0°C, crit = +105.0°C)

nouveau-pci-0100
Adapter: PCI adapter
temp1:        +41.0°C  (high = +95.0°C, hyst =  +3.0°C)
                       (crit = +105.0°C, hyst =  +5.0°C)
                       (emerg = +135.0°C, hyst =  +5.0°C)

pkg-temp-0-virtual-0
Adapter: Virtual device
temp1:        +30.0°C  

Original issue reported on code.google.com by tkirkm...@gmail.com on 26 Mar 2014 at 3:32

GoogleCodeExporter commented 9 years ago
Thank you, this issue is now fixed in 2.1.11

I'd actually noticed this but forgot to fix it, thanks for the reminder.

-c 0 had set the main script defaults to null, but it didn't also set the 
actual color codes to null as well, since only RED and NORMAL are used in their 
default forms, those are the only ones that needed to be set explicitly to null.

Original comment by inxi-...@techpatterns.com on 26 Mar 2014 at 7:49