Bug#494036: hwclock freezes Thinkpad T60 too

2008-09-05 Thread Helle
My machine (Thinkpad T60) is now running 5 days without this freeze with 
 Kernel 2.6.27-rc5 ! Ingo Molnar's fix works and someone will hopefully 
backport the fix to 2.6.26.


Helle



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



Bug#494036: hwclock freezes Thinkpad T60 too

2008-08-29 Thread Helle

Package: linux-image-2.6.26-1-686
Version: 2.6.26-3
Followup-For: Bug #494036

Since kernel 2.6.25 I've got several kernel freezes without any reason 
or log entry.

It seems to be related to some BIOS/rtc/HPET issue.
With any kernel 2.6.24 everything was fine.

Because there is nothing in the logs in time of freeze it is hard to 
give more information.
After I use the Ingo Molnar's netconsole I got on a other computer the 
log message

rtc: lost 787  interrupts before freezing.
The workaround hpet=disable works mostly.

In the ChangeLog-2.6.27-rc5 is a possible fix:

 commit 38c052f8cff1bd323ccfa968136a9556652ee420
 Author: Ingo Molnar [EMAIL PROTECTED]
 Date:   Sat Aug 23 17:59:07 2008 +0200

  rtc: fix deadlock

  if get_rtc_time() is _ever_ called with IRQs off, we deadlock badly
  in it, waiting for jiffies to increment.

  So make the code more robust by doing an explicit mdelay(20).

  This solves a very hard to reproduce/debug hard lockup reported
  by Mikael Pettersson.

  Reported-by: Mikael Pettersson [EMAIL PROTECTED]
  Signed-off-by: Ingo Molnar [EMAIL PROTECTED]

So I'll try kernel 2.6.27 next time.

 Package-specific info:
** Version:
Linux version 2.6.26-1-686 (Debian 2.6.26-3) ([EMAIL PROTECTED]) (gcc 
version 4.1.3 20080623 (prerelease) (Debian 4.1.2-23)) #1 SMP Wed Aug 20 
12:56:41 UTC 2008


** Command line:
root=/dev/sda5 ro quiet hpet=disable

** Not tainted

** Kernel log:
[8.683496] ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
[8.686913] ACPI: device:08 is registered as cooling_device3
[8.687109] input: Video Bus as /class/input/input7
[8.751103] ACPI: Video Device [VID1] (multi-head: yes  rom: no 
post: no)

[8.792225] ACPI: AC Adapter [AC] (on-line)
[8.961299] ACPI: PCI Interrupt :00:1f.3[A] - GSI 23 (level, 
low) - IRQ 23

[8.982327] ACPI: Battery Slot [BAT0] (battery present)
[9.009030] Yenta: CardBus bridge found at :15:00.0 [17aa:2012]
[9.009058] Yenta: Using INTVAL to route CSC interrupts to PCI
[9.009060] Yenta: Routing CardBus interrupts to PCI
[9.009067] Yenta TI: socket :15:00.0, mfunc 0x01d01002, devctl 0x64
[9.029801] intel_rng: FWH not detected
[9.036588] NET: Registered protocol family 23
[9.179983] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network 
Connection driver for Linux, 1.2.26ks

[9.179983] iwl3945: Copyright(c) 2003-2008 Intel Corporation
[9.201535] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.03 (30-Apr-2008)
[9.255664] Yenta: ISA IRQ mask 0x0cf8, PCI irq 16
[9.255669] Socket status: 3007
[9.255672] pcmcia: parent PCI bridge I/O window: 0x9000 - 0xcfff
[9.255675] cs: IO port probe 0x9000-0xcfff: clean.
[9.257400] pcmcia: parent PCI bridge Memory window: 0xe430 - 
0xe7ff
[9.257404] pcmcia: parent PCI bridge Memory window: 0xe000 - 
0xe3ff
[9.259939] ACPI: PCI Interrupt :03:00.0[A] - GSI 17 (level, 
low) - IRQ 17

[9.259956] PCI: Setting latency timer of device :03:00.0 to 64
[9.259980] iwl3945: Detected Intel Wireless WiFi Link 3945ABG
[9.326386] iwl3945: Tunable channels: 11 802.11bg, 13 802.11a channels
[9.345501] phy0: Selected rate control algorithm 'iwl-3945-rs'
[9.445353] ACPI: PCI interrupt for device :03:00.0 disabled
[9.613255] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[9.631851] input: TPPS/2 IBM TrackPoint as /class/input/input8
[9.690364] input: PC Speaker as /class/input/input9
[9.711043] cs: IO port probe 0x100-0x3af: clean.
[9.714361] cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
[9.714361] cs: IO port probe 0x820-0x8ff: clean.
[9.715168] cs: IO port probe 0xc00-0xcf7: clean.
[9.717369] cs: IO port probe 0xa00-0xaff: clean.
[9.731283] nsc-ircc 00:0a: activated
[9.731283] nsc-ircc, chip-init
[9.731283] nsc-ircc, Found chip at base=0x164e
[9.731283] nsc-ircc, driver loaded (Dag Brattli)
[9.731283] IrDA: Registered device irda0
[9.731283] nsc-ircc, Found dongle: No dongle connected
[9.731283] iTCO_wdt: Found a ICH7-M TCO device (Version=2, 
TCOBASE=0x1060)

[9.731283] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[9.735139] ACPI: PCI Interrupt :00:1b.0[B] - GSI 17 (level, 
low) - IRQ 17

[9.735146] hda_intel: probe_mask set to 0x1 for device 17aa:2010
[9.735171] PCI: Setting latency timer of device :00:1b.0 to 64
[   10.927243] Adding 2056312k swap on /dev/sda3.  Priority:-1 extents:1 
across:2056312k

[   11.456352] EXT3 FS on sda5, internal journal
[   11.647186] loop: module loaded
[   11.701440] netconsole: local port 6665
[   11.701440] netconsole: local IP 192.168.1.xxx
[   11.701440] netconsole: interface eth0
[   11.701440] netconsole: remote port 
[   11.701440] netconsole: remote IP 192.168.1.xxx
[   11.701440] netconsole: remote ethernet address xx:xx:xx:xx:xx:xx
[   11.701440] netconsole: device eth0 not up yet, forcing it
[   13.384527] eth0: Link is Up 100