Currently the posts are filtered by: linux
Reset this filter to see all posts.
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 10
model name : VIA Esther processor 1200MHz
stepping : 9
cpu MHz : 1196.946
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge cmov
pat clflush acpi mmx fxsr sse sse2 tm pni est tm2 rng rng_en ace ace_en ace2
ace2_en phe phe_en pmm pmm_en
bogomips : 2393.89
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 32 bits virtual
power management:
I'm currently testing a new computer for a friend from Fujitsu. I recommended the model C5730 because it's smaler than usual micro-tower and it's quite a representant of so called "green IT". For example it carries the German eco label "Blauer Umweltengel". I think, only Fujitsu certifies some of its products for this label.
Power consumption in idle is about 30 W. During video sessions it's about 50 W. That's all.
Preinstalled is Windows 7 Professional. My friend needs windows for his business-software.
Just to test, I droped in the current Ubuntu CD (9.10) and it starts perfectly with it. Even the sleep mode works impressingly.
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Pentium(R) Dual-Core CPU E5300 @ 2.60GHz
stepping : 10
cpu MHz : 1200.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 : 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 lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm tpr_shadow vnmi flexpriority
bogomips : 5199.64
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 : 23
model name : Pentium(R) Dual-Core CPU E5300 @ 2.60GHz
stepping : 10
cpu MHz : 1200.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 : 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 lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm tpr_shadow vnmi flexpriority
bogomips : 5199.90
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
I'm working from time to time with my three year old Samsung Q35 laptop with Debian stable installed all the time. So at the moment, it's running Lenny.
Usually, I'm too excited about new kernel features and bugfixes and don't wait for the next debian release but compile the kernel myself. That's what I'm used to do for plenty of years now.
My system is running now with current 2.6.31.5 kernel and uses the iwl3945 driver for wifi. But one point was always annoying to me: The wifi device was called "wlan0_rename" and sometimes it started with "eth2"! And that's the p oint: when it started with eth2, I had to reconfigure /etc/network/interfaces (stupid) or reboot and hope for wlan0_rename (stupid as well).
Today, I started to google the solution which is quite simple thanks to two threads/bugreports:
In the file /etc/udev/rules.d/70-persistent-net.rules, I changed the following lines:
# PCI device 0x8086:0x4222 (ipw3945)
#SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:18:de:87:f3:b9", NAME="eth2"
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:18:de:87:f3:b9", ATTR{type}=="1", \
KERNEL=="wlan*", NAME="wlan0"
And wow! It starts _always_ with wlan0.
Thanks to the original poster and to this bugreport.
Debian and Ubuntu changed the default shell /bin/sh from bash (Bourne Again Shell) to dash (Debian Almquist Shell).
The advantage of dash is its size, speed and POSIX compliance. The disadvantage is that many scripts written for bash won't work anymore because bash has specific features - so called "bashisms".
One of this bashisms, I used frequently in the xxsvideo build system is the " indirect variable expansion". Which makes it possible to execute the following script:
#!/bin/bash
CONFIG_BUSYBOX=y
PACKAGENAME="BUSYBOX"
PACKAGECONFIG=CONFIG\_$PACKAGENAME
if [ "${!PACKAGECONFIG}" = "y" ]; then
echo $PACKAGENAME "is selected"
else
echo $PACKAGENAME "is NOT selected"
fi
If you call this script with bash you receive as expected "BUSYBOX is selected".
With dash you see:
./test.sh: 13: Bad substitution
I was looking a long time for the right way to replace this {!VAR} statement. But it's quite simple and suddenly I found a thread describing it:
#!/bin/dash
CONFIG_BUSYBOX=y
PACKAGENAME="BUSYBOX"
PACKAGECONFIG=CONFIG\_$PACKAGENAME
if [ "$(eval echo '$'$PACKAGECONFIG)" = "y" ]; then
echo $PACKAGENAME "is selected"
else
echo $PACKAGENAME "is NOT selected"
fi
In short: With dash you write:
eval echo '$'$VARIABLE
which is equivalent to bash
echo ${!VARIABLE}
... I think ;-)
Today my amarok started with new version 2.1.1 on my debian testing (squeeze). First, I was very happy to upgrade from old 1.4 to new 2.x version which comes with the Jamendo plugin.
But: no sound :-(
What happened? I was looking on the connsole and found
gst_element_make_from_uri: assertion `gst_uri_is_valid (uri)' failed
There seems to be something wrong with gstreamer. But, how may I fix it?
The solution was to _first_ install phonon-backend-xine and then remove phonon-backend-gstreamer.