Seagate Momentus XT ST750LX003 Hybrid 750GB
by JD
This drive uses 4KB sectors.
My older 750GB Seagate drive uses 512 sectors.
Do the current Linux filesystems and partitioners support this new 4K
sector drive?
Thanx,
JD
12 years, 2 months
pyQt on Windows and Mac ? Android ?
by linux guy
I need to write a mostly simple multi platform application. USB
upload/download, open a file, etc.
I'm wondering how pyQt works these days on Windows and Mac (OSX Lion,
more properly, I guess).
Is there anything better for a simple multi platform app ?
Thanks
12 years, 2 months
Wireless network drop outs on XPS17 (F16, Centrino Advanced N)
by linux guy
I'm running F16-KDE-64 on a Dell XPS17 laptop.
It is continually dropping wireless connections. It works and then it
doesn't work. Very annoying.
I am managing wireless with Network manager.
Any ideas ?
Thanks
$ lspci | grep Network
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6230 (rev 34
$ uname -a
Linux XPS.localdomain 3.2.2-1.fc16.x86_64 #1 SMP Thu Jan 26 03:21:58
UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ yum list installed \*iw\*
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
iw.x86_64 3.2-1.fc16
@updates
iwl100-firmware.noarch 39.31.5.1-2.fc15
@koji-override-0/$releasever
iwl1000-firmware.noarch 1:39.31.5.1-1.fc16
@anaconda-0
iwl3945-firmware.noarch 15.32.2.9-5.fc15
@koji-override-0/$releasever
iwl4965-firmware.noarch 228.61.2.24-3.fc15
@koji-override-0/$releasever
iwl5000-firmware.noarch 8.83.5.1_1-1.fc16
@anaconda-0
iwl5150-firmware.noarch 8.24.2.2-2.fc15
@koji-override-0/$releasever
iwl6000-firmware.noarch 9.221.4.1-2.fc15
@koji-override-0/$releasever
iwl6000g2a-firmware.noarch 17.168.5.3-1.fc16
@fedora
iwl6000g2b-firmware.noarch 17.168.5.2-1.fc16
@fedora
iwl6050-firmware.noarch 41.28.5.1-3.fc15
@koji-override-0/$releasever
$ yum list installed kmod\*
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
kmod-nvidia.x86_64
1:290.10-1.fc16.11 @rpmfusion-nonfree-updates
kmod-nvidia-3.1.9-1.fc16.x86_64.x86_64
1:290.10-1.fc16.9 @rpmfusion-nonfree-updates
kmod-nvidia-3.2.1-3.fc16.x86_64.x86_64
1:290.10-1.fc16.10 @rpmfusion-nonfree-updates
kmod-nvidia-3.2.2-1.fc16.x86_64.x86_64
1:290.10-1.fc16.11 @rpmfusion-nonfree-updates
kmod-wl.x86_64
5.100.82.112-2.fc16.3 @rpmfusion-nonfree-updates
kmod-wl-3.2.1-3.fc16.x86_64.x86_64
5.100.82.112-2.fc16.2 @rpmfusion-nonfree-updates
kmod-wl-3.2.2-1.fc16.x86_64.x86_64
5.100.82.112-2.fc16.3 @rpmfusion-nonfree-updates
kmodtool.noarch 1-18.fc11
@rpmfusion-free
12 years, 2 months
sylpheed plugins for F16
by Ranjan Maitra
Hi,
I have a question with regard to the sylpheed installation in F16. I
was wondering where the plugins are? (Specifically, the According to
the source file, the plugins are to be installed by make install-plugin,
however the created .so file(s) do not appear to be there. Does that
mean that the rpm was created without using this? If so, is this
something that should be bugzilla'd?
Many thanks and best wishes,
Ranjan
12 years, 2 months
Transfer from Linux to Windows 7 (Filename Encoding)
by Jorge Fábregas
Hello everyone,
I need to transfer some files (with spanish accented characters on their
name) from Linux (where I use iso-8859-1) to Windows 7 but I'm having
problems at the Windows 7 side. The accented characters look bad.
I tried using convmv on a copy of these files on my machine with
different targets: cp1252, utf8 and utf16 but none of these worked. For
cp1252 it tells me there's no need for conversion. For the utf8 target,
it does the conversion but I still don't see the special characters
properly displayed. For utf16 I get a warning about possible data loss.
I'd appreciate any help.
Thanks in advance,
Jorge
p.d. I create a tar on Linux and then use 7zip on the Windows side to
extract the contents.
12 years, 2 months
Timing Discrepancy
by Chris Kottaridis
I know that mpstat uses /proc/stat to gather it's data and pidstat uses
/proc/<pid>/stat to get it's data so they are kind of looking at
different info. The mpstat is looking at the cpustat structure in the
kernel and the pidsat is looking at the data inside each task structure.
I get a situation once in a while where things don't seem to add up:
# mpstat -P 4 1
05:34:51 CPU %user %nice %sys %iowait %irq %soft
%steal %idle intr/s
05:34:51 4 0.00 0.00 0.00 0.00 0.00 0.00
0.00 100.00 525.00
05:34:52 4 0.00 0.00 0.00 0.00 0.00 0.00
0.00 100.00 533.00
05:34:53 4 0.00 0.00 0.00 0.00 0.00 0.00
0.00 100.00 508.00
05:34:54 4 0.99 0.00 0.00 0.00 0.00 0.00
0.00 99.01 512.00
05:34:55 4 0.00 0.00 0.00 0.00 0.00 0.00
0.00 100.00 1010.00
05:34:56 4 0.99 0.00 0.99 0.00 0.99 0.00
0.00 97.03 751.00
05:34:57 4 0.00 0.00 0.00 0.00 0.00 0.00
0.00 100.00 746.00
05:34:58 4 0.00 0.00 0.00 0.00 0.00 0.00
0.00 100.00 762.00
05:34:59 4 0.00 0.00 0.00 0.00 0.00 0.00
0.00 100.00 642.00
# pidstat -p 2358 -p 592 -p 3607 -p 2362 -p 2324 -u 1
05:34:51 PID %user %system %CPU CPU Command
05:34:52 2358 2.00 0.00 2.00 4 prog1
05:34:52 592 2.00 0.00 2.00 4 prog2
05:34:52 3607 10.00 2.00 12.00 4 prog3
05:34:52 2362 0.00 0.00 0.00 4 prog4
05:34:52 2324 0.00 0.00 0.00 8 prog5
05:34:52 PID %user %system %CPU CPU Command
05:34:53 2358 0.00 0.00 0.00 4 prog1
05:34:53 592 2.00 0.00 2.00 4 prog2
05:34:53 3607 12.00 3.00 15.00 4 prog3
05:34:53 2362 0.00 0.00 0.00 4 prog4
05:34:53 2324 0.00 0.00 0.00 8 prog5
05:34:53 PID %user %system %CPU CPU Command
05:34:54 2358 0.00 0.00 0.00 4 prog1
05:34:54 592 6.00 1.00 7.00 4 prog2
05:34:54 3607 7.00 2.00 9.00 4 prog3
05:34:54 2362 0.00 0.00 0.00 4 prog4
05:34:54 2324 0.00 0.00 0.00 8 prog5
05:34:54 PID %user %system %CPU CPU Command
05:34:55 2358 0.00 0.00 0.00 4 prog1
05:34:55 592 2.00 1.00 3.00 4 prog2
05:34:55 3607 10.00 3.00 13.00 4 prog3
05:34:55 2362 0.00 0.00 0.00 4 prog4
05:34:55 2324 0.00 0.00 0.00 8 prog5
05:34:55 PID %user %system %CPU CPU Command
05:34:56 2358 0.00 1.00 1.00 4 prog1
05:34:56 592 7.00 0.00 7.00 4 prog2
05:34:56 3607 12.00 2.00 14.00 4 prog3
05:34:56 2362 0.00 0.00 0.00 4 prog4
05:34:56 2324 0.00 0.00 0.00 8 prog5
05:34:56 PID %user %system %CPU CPU Command
05:34:57 2358 0.00 0.00 0.00 4 prog1
05:34:57 592 1.00 1.00 2.00 4 prog2
05:34:57 3607 15.00 3.00 18.00 4 prog3
05:34:57 2362 0.00 0.00 0.00 4 prog4
05:34:57 2324 0.00 0.00 0.00 8 prog5
05:34:57 PID %user %system %CPU CPU Command
05:34:58 2358 2.00 0.00 2.00 4 prog1
05:34:58 592 5.00 1.00 6.00 4 prog2
05:34:58 3607 11.00 3.00 14.00 4 prog3
05:34:58 2362 0.00 0.00 0.00 4 prog4
05:34:58 2324 0.00 0.00 0.00 8 prog5
These processes are tied to processor 4.
You'll see that mpstat shows 0% user while prog3 shows as much as 10% or
12% in some of the corresponding intervals.
From looking in the kernel is seems this routine increments both the
task utime used by pidstat and the cpustat used by mpstat.
/*
* Account user cpu time to a process.
* @p: the process that the cpu time gets accounted to
* @cputime: the cpu time spent in user space since the last update
*/
void account_user_time(struct task_struct *p, cputime_t cputime)
{
struct cpu_usage_stat *cpustat = &kstat_this_cpu.cpustat;
cputime64_t tmp;
p->utime = cputime_add(p->utime, cputime);
/* Add user time to cpustat. */
tmp = cputime_to_cputime64(cputime);
if (TASK_NICE(p) > 0)
cpustat->nice = cputime64_add(cpustat->nice, tmp);
else
cpustat->user = cputime64_add(cpustat->user, tmp);
/* Account for user time used */
acct_update_integrals(p);
}
This essentially gets called from tick_periodic(), which I assume gets
called each tick, from the update_process_times() routine which calls
the account_process_tick() routine which calls the above routine, if
it's in userspace at the tim eof the tick or a corresponding
account_system_time() routine if it is in the kernel at the time of the
tick.
I believe the p->utime = sputime_add() increments the task structure
that pidstat uses and cpustat->user|nice = cputime64_add() increments
the cpustat that mpstat looks at. This seems like the only palce in the
kernel where the task utime gets incemented or the cpustat user time
gets incremented.
The data shows that the specific process times are as much as 10% but
the overall is 0%.
How can this happen if these get incremented together in this one place?
What am I missing ?
Thanks
Chris Kottaridis
12 years, 2 months
Why do e.g. ssh sessions hang when I try to log out?
by thomas cameron
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've noticed this a lot recently. I want to run an X app off another
machine, say thunderbird. So I do "ssh -X user@host" to log in and run
thunderbird from the command line. When I get done, I exit thunderbird
and get a command prompt back. Then when I hit ctrl-D or type "exit"
or whatever, the session hangs. When I hit ctrl-C it finally exits.
As a test, I just did this against my local F16 machine, and I tried
to log out after using thunderbird as a different user.
I see that I have these processes running as my user:
tcameron 5615 0.0 0.0 22356 764 ? S 14:10 0:00
dbus-launch --autolaunch 812e3e28dfa6439dcc2013e
tcameron 5616 0.1 0.0 29932 1156 ? Ssl 14:10 0:00
/bin/dbus-daemon --fork --print-pid 5 --print-ad
tcameron 5619 0.0 0.0 136548 2744 ? S 14:10 0:00
/usr/libexec/gconfd-2
So it appears that dbus is not letting me log out. This is merely an
annoyance, so I'm not sure it's really a bug. Even if it is, I'm not
sure it's worth reporting as a bug.
Anyone else notice this?
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8kV58ACgkQmzle50YHwaDXNQCeJCNN+tz4MKsh3i8LuPYfAHMO
kz4AnAiXopjfe86oXlgEB1w01TgYG4qd
=xm3I
-----END PGP SIGNATURE-----
12 years, 2 months
Recovering forensic data from a failed boot
by Joe Zeff
As I may have mentioned before, my laptop runs F16 but will only boot
properly from my last F14 kernel. All attempts to boot from a 3.X
kernel fail before gdm starts. Are there any logs that survive after I
reboot into the old 2.X kernel so that I can see just what's happening?
I presume that some of the data will be in /var/log/messages, but is
there anything else? Is there a way to be sure that a copy of boot.log
is kept, or if it already is, where is it? So far, just reporting on
the error messages I see on the screen hasn't led to any suggestions how
to correct whatever's wrong, so I'm hoping there's a way to get more data.
12 years, 2 months
after yum plugin?
by Tom Horsley
I have a cheesy yum plugin I hacked up that allows me to run
a script right after yum finishes. I find this very useful
to restore hacks I may have made to my system which updates
may reverse.
This seems like such a useful concept, I figured there
would be an official plugin of some kind to do this,
but I haven't found one in my searches.
Does anyone know of an "official" plugin to do this
same trick? (Maybe I'm just not searching for the right
jargon?)
12 years, 2 months