Re: unneeded pccardd daemon running

2006-06-20 Thread marelin


Hubert Chan <[EMAIL PROTECTED]>:
| pccardd seems to be a kernel process, and is not the same as pcmciautils
| stuff.  

DOH. I never seen the kernel modules without the userspace daemon, so

| Dan Jacobson <[EMAIL PROTECTED]>:
| 
| > lsmod seems to show some wasted stuff... what would be the standard
| > procedure for removing wasted modules?

pcmcia modules are installed as seperate package only for 2.4.27 kernel.
In 2.6.x branch it is included into the kernel tree directly.
So, with a 2.6, your options would be to compile a new kernel, or to 
use the stock kernel and prevent the related modules from loading.
Unfortunately i can only contribute some ideas here, but maybe they
can trigger a solution...i would be interested to know how you solved it,
anyway. 

| To remove manually, use rmmod.

Or, more generally, modprobe -r [-f]

If you get 'module is busy' it depends on another one to be removed first.
 
| To avoid them from being loaded automatically... things seem to be
| changing a lot in the hotplug/udev world.  The way to do it used to be
| to add a file to /etc/hotplug/blacklist.d that just lists the modules.
| Now it seems that you should look at /etc/modprobe.d/blacklist, and add
| a similar file to /etc/modprobe.d/ (although I'm not entirely sure about
| that).

I think this is just not the right option.

'blacklist' head says:
# This file lists modules which will not be loaded as the result of
# alias expansion, with the purpose of preventing the hotplug subsystem
# to load them. It does not affect autoloading of modules by the kernel.

You can try to tweak with the 'install' option, just spitting out a message
like 'deactivated by jd' instead of loading the module(man modprobe.d)

It may be another aproach to tewak udev (but just another guess):

For example, grep pcmcia /etc/udev/* | grep RUN

/etc/udev/hotplug.rules:SUBSYSTEM=="pcmcia_socket", RUN+="/sbin/modprobe pcmcia"
/etc/udev/pcmcia.rules: RUN+="/lib/udev/pcmcia-check-broken-cis"
/etc/udev/pcmcia.rules:SUBSYSTEM=="pcmcia_socket", \
/etc/udev/pcmcia.rules: RUN+="/sbin/modprobe -b pcmcia"
/etc/udev/pcmcia.rules:SUBSYSTEM=="pcmcia_socket", \
/etc/udev/pcmcia.rules: RUN+="/lib/udev/pcmcia-socket-startup"

This works similar the init.d thing, symlinks in rules.d are run-parts 
processed.
So, to avoid update trouble, it would be convenient to place your own file 
there 
preempting the udev pcmcia launch, maybe by just unloading the pcmcia socket 
module.

Finally, there's a 'pci=' kernelparameter, you can for example say 'pci=noacpi' 
maybe
there's another way to say something like 'nopccard' ?

And really really finally ;) maybe you can disable pcmcia in the BIOS ?

hth

maren


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



tapping doesn't work in kde-applications

2006-06-20 Thread Johannes Wiedersich

Hi,

I recently upgraded sarge to etch (thinkpad, kde). Suddenly tapping 
doesn't work any more. I checked control center and it is activated. 
Now, I realize that tapping works for non-kde applications (eg. firefox, 
but not konqueror, kate, etc.). Even more funny: it works if I tap on a 
link in a web page opened by konqueror, but it doesn't work, if I tap on 
 the top menu of konqueror, the task bar or any other kde-application I 
tried.


This seems to be a very weird configuration setting, I don't seem to be 
able to figure out.


It appears none of the settings for peripherals - mouse seems to do the 
trick.


Thanks for help!

Johannes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[AMD64 POWER] powernow-k8 and acpi-cpufreq

2006-06-20 Thread Oleg Verych

Hi, people !

With default debian linux-image and initrd, even kernel is named
bla-bla-k8, powernow-k8 subsystem isn't compiled, but is as module,
thus there's no /sys/power interface for powersaving. If i'm trying to
load modules by hand i 'm getting this:

deen:/home/olecom#
deen:/home/olecom# modprobe acpi-cpufreq
FATAL: Error inserting acpi_cpufreq
(/lib/modules/2.6.16-2-amd64-k8/kernel/arch/x86_64/kernel/cpufreq/acpi-cpufreq.ko):
No such device
deen:/home/olecom#
deen:/home/olecom# modprobe powernow-k8
deen:/home/olecom# modprobe acpi-cpufreq
FATAL: Error inserting acpi_cpufreq
(/lib/modules/2.6.16-2-amd64-k8/kernel/arch/x86_64/kernel/cpufreq/acpi-cpufreq.ko):
Device or resource busy
deen:/home/olecom#

But it certainly works, if compiled in. I have no clue what to do.
Maybe this is bug in linux ?

--
 olecom


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [AMD64 POWER] powernow-k8 and acpi-cpufreq

2006-06-20 Thread Joan Tur
Es Dimarts, 20 de Juny de 2006 15:34, en Oleg Verych va escriure:
| Hi, people !
|
| With default debian linux-image and initrd, even kernel is named
| bla-bla-k8, powernow-k8 subsystem isn't compiled, but is as module,
| thus there's no /sys/power interface for powersaving. If i'm trying to
| load modules by hand i 'm getting this:
|
| deen:/home/olecom#
| deen:/home/olecom# modprobe acpi-cpufreq
| FATAL: Error inserting acpi_cpufreq
| (/lib/modules/2.6.16-2-amd64-k8/kernel/arch/x86_64/kernel/cpufreq/acpi-cpuf
|req.ko): No such device
| deen:/home/olecom#
| deen:/home/olecom# modprobe powernow-k8
| deen:/home/olecom# modprobe acpi-cpufreq
| FATAL: Error inserting acpi_cpufreq
| (/lib/modules/2.6.16-2-amd64-k8/kernel/arch/x86_64/kernel/cpufreq/acpi-cpuf
|req.ko): Device or resource busy
| deen:/home/olecom#
|
| But it certainly works, if compiled in. I have no clue what to do.
| Maybe this is bug in linux ?
No, it is not.  Modprobing powernow-k8 is enough to get speedstep support for 
your cpu.

You should then run "sudo modprobe cpufreq_performance  cpufreq_powersave
cpufreq_stats" and install powernowd daemon.

Good luck  ;)

-- 
Joan Tur (aka Quini), Eivissa-Spain
Jabber: [EMAIL PROTECTED]
   Yahoo & AIM: quini2k
www.ClubIbosim.org
  Linux: usuari registrat 190.783


pgpB04as16aqS.pgp
Description: PGP signature


Re: Hibernation (suspend->disk): Suse,Ubuntu,Debian

2006-06-20 Thread Kai Hildebrandt
Hi

George Hein wrote:

> HW: ThinkPad-T42
> 
> Suse 9.3 and 10.0: suspend>ram & >disk OK
> UBUNTU-6.06-dapper: both seem OK, each tested once
> Debian-test and sid, both current >ram OK, ->disk NO-GOOD.
> 
> I noticed that DSL and UBUNTU have, in GRUB/menu.lst:
>"restore=/dev/hdaX"

Never read about option "restore".

> While doc for Debian kernel has:
>"resume=/dev/hdaX"
> Suse used "resume="
> 
I use with a vanilla kernel with suspend2 kernel-patch:

resume=swap:/dev/hda6

I also use initrd (created with yaird) and kernel-package to build my
kernel for my thinkpad R50p.

I created a installation report on my website (german):
http://www.kai-hildebrandt.de/linux/thinkpad/index.html

Nearly everything works now... :-)

Standby and Hibernate, Thinkpad Keys (all), ACPI, WLAN and cpufreq, etc.

Some thinks should work but I cannot test:

Bluetooth and IrDA, internal modem (kernel module exists, you need the
package sl-modem-daemon (SmartLink))


FYI, Thinkpad and Debian users ;-)
  Kai


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Xorg 7.0 and ATI working!

2006-06-20 Thread Bill Wohler
In case there are still folks out there that like me have xserver-xorg
6.8 on hold because of the reports that X would freeze up if you had
an ATI card, I'd like to report that all is well.

I share the sentiments that the upgrade was a non-event for such a
major upgrade (at least now that the problems exposed with the early
reports have been fixed). I went into aptitude, unheld xorg-xserver,
hit U, and then g. Although I was expecting to have to apt-get install
-f a few times, I didn't have to run it once!

I have:

  IBM ThinkPad t40p
  ATI Technologies Inc Radeon R250 Lf [FireGL 9000] (rev 02)
  Debian etch

I haven't seen any strange behavior in a few days now. I believe I
read that the ATI fixes were applied to Xorg 7.1, but it appears that
the these fixes were also applied to xserver-xorg-video-ati 6.5.8.0-1
which is available to Debian users of Xorg 7.0.

My thanks and appreciation go out to the X Strike Force.


A couple of notes:

1. glxgears missing

The fix was to install mesa-utils.

2. The courier fonts were ugly.

The fix was to rebuild xorg.conf (I'm assuming with a proper font
path). I did not have to resort to the workaround presented in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=367593

3. Many warnings in /var/log/Xorg.0.log.

The fix was to rebuild xorg.conf.

4. dpkg-reconfigure xserver-xorg STILL doesn't give you a
configuration file. I determined some workarounds:

  sudo sh -c "readlink /etc/X11/X | md5sum > /var/lib/x11/X.md5sum"
  sudo rm /etc/X11/xorg.conf
  sudo vi /var/lib/dpkg/info/xserver-xorg.postinst
  # Comment out the following line as well as its matching else and endif.
  # if [ -z "$UPGRADE" ] || dpkg --compare-versions "$2" le "1:7.0.14"; then
  sudo dpkg-reconfigure xserver-xorg

5. Touchpad not working

The fix was to remove the line

  Option "Device" "/dev/psaux"

in Section "InputDevice", Identifier "Synaptics Touchpad" since the
driver finds the device on its own (with Protocol "auto-dev").

-- 
Bill Wohler <[EMAIL PROTECTED]>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Returned mail: Data format error

2006-06-20 Thread student.placement
Thank you for your enquiry to Fujitsu Siemens Computers Ltd.  

All applications with a CV will be reviewed over the course of the next four 
weeks, unfortunately due to the volume of applications we will only be 
contacting successful candidates.  Should your details match our requirements, 
you will be invited to attend an assessment centre which will take place in 
Bracknell during February 2006.

I would like to thank you for your interest in Fujitsu Siemens Computers and 
wish you success in your continuing studies.  

Fujitsu Siemens Computers Ltd
Arlington Square
Bracknell
Berkshire
RG12 1WA
United Kingdom
Telephone: +44 (0)1344 475000

>From debian-laptop@lists.debian.org Wed Jun 21 02:17:14 2006
X-IronPort-RCPT-TO: [EMAIL PROTECTED]
From: debian-laptop@lists.debian.org
To: [EMAIL PROTECTED]
Subject: Returned mail: Data format error
Date: Wed, 21 Jun 2006 10:15:07 +1000
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="=_NextPart_000_0002_A43EABCB.B200124F"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.



getting correct time on a laptop (IBM ThinkPad T23)

2006-06-20 Thread Martin Steigerwald

Hello,

I have an IBM ThinkPad T23 with highly inaccurate clock. It misses 
accurate time by several minutes a day.

Long time I used chrony. It worked most of the time, but not always.

Right now the problems I have with chrony - see below - increased and none 
of the other approaches worked like I want.

I want the following:

1) When the laptop has internet access it should synchronise with  NTP 
time

2) Otherwise a program should correct the clock by its average inaccuracy 
(like chrony is supposed to do). That is be important cause sometimes the 
laptop is without internet access for several days.

3) Suspend to disk should be handled nicely.

4) Ideally on resume and boot the time is corrected due to NTP time or the 
inaccuracy factor via one big step.

Right now I am fighting with chrony and different other approaches and 
none of them worked like I want it to.

My problems with chrony:

1) I had chrony claiming that system time had 0 seconds difference to NTP 
time while there was a difference of 10 or more minutes. This is with a 
standard chrony installation (after aptitude purge chrony). 

2) Chrony apparantly cannot set the hardware clock. I get a input/output 
error on modprobe rtc, and it seems that the module genrtc doesn't do the 
trick. I reverted on not letting chrony do that but the usually debian 
hwclock scripts which seems to work.

3) Sometimes net access is not detected properly. I have 
copied /etc/ppp/ip-up.d/chrony and /etc/ppp/ip-down.d/chrony 
to /etc/network/if-up.d and /etc/network/if-down.d respectively in order 
to have chrony switched online and offline accordingly. I am using 
ifplugd and guessnet for automatic network configuration on demand which 
is worked quite well.

4) After suspend to disk chrony does not seem to have any NTP sources at 
all... I tried different approaches, right now I am using:

#!/bin/sh

/etc/init.d/ifplugd stop
ifdown eth0
/etc/init.d/chrony stop

# Noch nicht gespeicherte Daten sichern
sync

# Einschlafen
hibernate

/etc/init.d/chrony start
/etc/init.d/ifplugd start

Rationale for this: chrony and network are stopped before suspend since 
they do not work anyway while the notebook is powered off. After resume 
chrony is started and should be offline. Then ifplugd is started. Now 
whenever a network link is availble network is configured and chrony 
should be switched to online mode due to /etc/network/if-up.d/chrony that 
I copied there.

But apparently that doesn't work.


I also tried openntpd, which didn't even start on my system as well as the 
full blown ntp server which sort of worked, but then it does not 
provide . Once I even was desperate enough to just start ntpdate every 
hour with a cron job.


On other approach would be to fix the hardware clock such that it would be 
that much too slow. Maybe replacing the battery could help? Any other 
ideas?


Right now its extremely frustrating cause none of the approaches work to 
properly and its that I didnt try hard to make it work.

Ideally I would have something like chrony but with the enhancement that 
it would simply work even for suspend and that it just finds out itself 
whether internet access is there or not. Switching it to online and 
offline mode via scripts is just extremely error prone IMHO.

Any tricks I can play with the chrony configuration to make it work? 
chrony seems to be quite old, is upstream still alive? Any sensible 
replacement available? 


Any ideas? I greatly appreciate it when I could be able to fix up this 
time stuff without investing another dozen of hours.

If I cannot fix chrony easily I probably revert to ntp-simple for now and 
accept wrong time when the laptop is not with internet access.

Regards,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]