|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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----- |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
[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----- |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
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----- |
|
![]() |
| Outils de la discussion | |
|
|