PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > hwclock & /dev/rtc
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

hwclock & /dev/rtc

Réponse
 
LinkBack Outils de la discussion
Vieux 03/06/2007, 05h40   #1
Paul Wise
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut hwclock & /dev/rtc

Hi all,

[Please CC me, I'm not subscribed]

Can anyone tell me why hwclock --directisa works on this laptop (Dell
Inspirion) but /dev/rtc does not (linux 2.6.21 from Debian sid)?

# hwclock --directisa --show
Fri Jun 1 15:36:11 2007 -0.377827 seconds
# hwclock --show
select() to /dev/rtc to wait for clock tick timed out
# lspci | grep ISA
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
# lspci -n | grep 00:1f.0
00:1f.0 0601: 8086:27b9 (rev 01)

Is there a module udev isn't loading that it should be? Or do I need to
write a driver for it?

--
bye,
pabs

http://wiki.debian.org/PaulWise

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBGYkQv5Sc9mGvjxCMRAmtjAJ97ak9d4+x/b2BpanuEepX2/nf0+gCeO+O4
LYoS6GL6VMN9/fhKz3jU4Yo=
=FSPD
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 04/06/2007, 19h00   #2
Bob McGowan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: hwclock & /dev/rtc

Paul Wise wrote:
> Hi all,
>
> [Please CC me, I'm not subscribed]
>
> Can anyone tell me why hwclock --directisa works on this laptop (Dell
> Inspirion) but /dev/rtc does not (linux 2.6.21 from Debian sid)?
>
> # hwclock --directisa --show
> Fri Jun 1 15:36:11 2007 -0.377827 seconds
> # hwclock --show
> select() to /dev/rtc to wait for clock tick timed out
> # lspci | grep ISA
> 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
> # lspci -n | grep 00:1f.0
> 00:1f.0 0601: 8086:27b9 (rev 01)
>
> Is there a module udev isn't loading that it should be? Or do I need to
> write a driver for it?
>


$ lsmod|grep rtc
rtc 12372 0

If you get no output, then the rtc driver has not loaded. But you don't
need to write one, try:

modprobe rtc

first. Then, if hwclock works, you may need to add the driver name to
the /etc/modules file.

--
Bob McGowan

  Réponse avec citation
Vieux 04/06/2007, 20h20   #3
Mumia W..
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: hwclock & /dev/rtc

On 06/04/2007 12:54 PM, Bob McGowan wrote:
> Paul Wise wrote:
>> Hi all,
>>
>> [Please CC me, I'm not subscribed]
>>
>> Can anyone tell me why hwclock --directisa works on this laptop (Dell
>> Inspirion) but /dev/rtc does not (linux 2.6.21 from Debian sid)?
>>
>> # hwclock --directisa --show
>> Fri Jun 1 15:36:11 2007 -0.377827 seconds
>> # hwclock --show
>> select() to /dev/rtc to wait for clock tick timed out
>> # lspci | grep ISA 00:1f.0 ISA bridge: Intel Corporation 82801GBM
>> (ICH7-M) LPC Interface Bridge (rev 01)
>> # lspci -n | grep 00:1f.0
>> 00:1f.0 0601: 8086:27b9 (rev 01)
>>
>> Is there a module udev isn't loading that it should be? Or do I need to
>> write a driver for it?
>>

>
> $ lsmod|grep rtc
> rtc 12372 0
>
> If you get no output, then the rtc driver has not loaded. But you don't
> need to write one, try:
>
> modprobe rtc
>
> first. Then, if hwclock works, you may need to add the driver name to
> the /etc/modules file.
>


Paul, if you use a Debian stock kernel, the rtc module is built by
default, and it should load automatically. Did you build your kernel
from the source?

Note: I'm a Sarge user.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 05/06/2007, 00h20   #4
Paul Wise
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: hwclock & /dev/rtc

[please CC me, I'm not subscribed]

On Mon, 2007-06-04 at 13:36 -0500, Mumia W.. wrote:

> > $ lsmod|grep rtc
> > rtc 12372 0


# lsmod|grep rtc
rtc 12760 0

I have the rtc module loaded already and hwclock only works when
--directisa is used. For now I've modified /etc/default/rcS to add
--directisa to the HWCLOCKPARS variable, but it would be nice if this
worked out of the box.

> Paul, if you use a Debian stock kernel, the rtc module is built by
> default, and it should load automatically. Did you build your kernel
> from the source?


I use the stock Debian 2.6.21 kernel from sid. I recently moved my
Debian installation from my external hard drive to this new laptop, I
haven't seen this problem on other computers I've booted my external
hard drive on.

--
bye,
pabs

http://wiki.debian.org/PaulWise

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBGZJxO5Sc9mGvjxCMRAgf0AKClRKAHstx4IsU2wdL3Bl 2Yy64cRgCePEu5
P+S3VsQQbPEsbX3p/NfsniI=
=3xmV
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 05/06/2007, 02h20   #5
Mumia W..
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: hwclock & /dev/rtc

On 06/04/2007 06:12 PM, Paul Wise wrote:
> [please CC me, I'm not subscribed]
>
> On Mon, 2007-06-04 at 13:36 -0500, Mumia W.. wrote:
>
>>> $ lsmod|grep rtc
>>> rtc 12372 0 [...]


No I didn't write that. Bob McGowan wrote that. Please be more careful
with the attributions.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 05/06/2007, 16h30   #6
Bob McGowan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: hwclock & /dev/rtc

Mumia W.. wrote:
> On 06/04/2007 06:12 PM, Paul Wise wrote:
>> [please CC me, I'm not subscribed]
>>
>> On Mon, 2007-06-04 at 13:36 -0500, Mumia W.. wrote:
>>
>>>> $ lsmod|grep rtc
>>>> rtc 12372 0 [...]

>
> No I didn't write that. Bob McGowan wrote that. Please be more careful
> with the attributions.
>
>


Apologies to Mumia and to Paul: I habitually removal of the original
poster's address and only reply to the list. So, habit bit even though
the explicit request was made to reply directly.

--
Bob McGowan
Symantec, Inc.

  Réponse avec citation
Vieux 05/06/2007, 20h00   #7
Celejar
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: hwclock & /dev/rtc

On Sun, 03 Jun 2007 14:31:43 +1000
Paul Wise <pabs@debian.org> wrote:

> Hi all,
>
> [Please CC me, I'm not subscribed]
>
> Can anyone tell me why hwclock --directisa works on this laptop (Dell
> Inspirion) but /dev/rtc does not (linux 2.6.21 from Debian sid)?
>
> # hwclock --directisa --show
> Fri Jun 1 15:36:11 2007 -0.377827 seconds
> # hwclock --show
> select() to /dev/rtc to wait for clock tick timed out
> # lspci | grep ISA
> 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
> # lspci -n | grep 00:1f.0
> 00:1f.0 0601: 8086:27b9 (rev 01)
>
> Is there a module udev isn't loading that it should be? Or do I need to
> write a driver for it?


I have the same issue with my Acer Aspire 3690-2672 laptop. I don't
know how to identify the rtc hardware, but the system seems similar to
yours; it's an Intel 82801G (ICH7) based system, and the lspci ISA
lines are the same as yours, except that mine's rev 02.

Anyway, there's an extensive discussion about the issue here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=277298

> --
> bye,
> pabs


Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 06/06/2007, 00h40   #8
Paul Wise
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: hwclock & /dev/rtc

On Tue, 2007-06-05 at 08:21 -0700, Bob McGowan wrote:

> Apologies to Mumia and to Paul: I habitually removal of the original
> poster's address and only reply to the list. So, habit bit even though
> the explicit request was made to reply directly.


My fault, should have been more careful with my snipping.

--
bye,
pabs

http://wiki.debian.org/PaulWise

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBGZfLD5Sc9mGvjxCMRAldBAJ4vTQyoZrFdZL5IbX7nvw GHwfhs/ACfdabJ
HCHtIpc6xyXEm2mQAvV1iRk=
=CVZN
-----END PGP SIGNATURE-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 00h09.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,16443 seconds with 16 queries