Bug 12363

Summary: Loading iTCO_wdt.ko on 2.6.28 hangs (old) Dell Latitude
Product: Drivers Reporter: Rutger Nijlunsing (bugzilla.kernel)
Component: WatchdogAssignee: Wim Van Sebroeck (wim)
Status: CLOSED CODE_FIX    
Severity: blocking    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.28 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: normal 'dmesg' output when watchdog not loaded
.config of kernel
iTCO_wdt.c with extra debugging but without SMI_EN stuff in start and stop

Description Rutger Nijlunsing 2009-01-05 05:13:16 UTC
Latest working kernel version: 2.6.27
Earliest failing kernel version: 2.6.28
Distribution: Debian Sid
Hardware Environment: Dell Latitude with ICH2-M TCO device (version 1)
Software Environment:
Problem Description: Loading iTCO_wdt.ko hangs kernel hard: no ping, no keyboard, no sysrq response.

Steps to reproduce:
- build and run pristine 2.6.28 
- insmod iTCO_wdt.ko
Comment 1 Rutger Nijlunsing 2009-01-05 05:16:44 UTC
Created attachment 19660 [details]
normal 'dmesg' output when watchdog not loaded
Comment 2 Rutger Nijlunsing 2009-01-05 05:19:23 UTC
Created attachment 19661 [details]
.config of kernel
Comment 3 Wim Van Sebroeck 2009-01-06 13:34:31 UTC
Created attachment 19683 [details]
iTCO_wdt.c with extra debugging but without SMI_EN stuff in start and stop

Hi Rutger,

Can you test this code?

Thanks in advance,
Wim.
PS: which model is this old Dell?
Comment 4 Johannes Dewender 2009-01-22 10:37:40 UTC
Latest working kernel version: 2.6.27.10
Earliest failing kernel version: 2.6.28
Distribution: Arch
Hardware Environment: Intel i815 Chipset with an Intel 82801BA-ICH2 device. (which I use with a PIII 866 MHz)
Problem Description: Loading iTCO_wdt.ko hangs kernel, hard reset necessary

I compiled the mentioned 1.04-debug driver.
No kernel problems. dmesg out after modprobe iTCO_vendor_support and modprobe iTCO_wdt:

iTCO_wdt: Intel TCO WatchDog Timer Driver v1.04-debug
iTCO_wdt: TCOBASE=0xf860
iTCO_wdt: NO_REBOOT bit unset
iTCO_wdt: NO_REBOOT bit set
iTCO_wdt: SMI_EN=0x0000002b
iTCO_wdt: Found a ICH2 TCO device (Version=1, TCOBASE=0xf860)
iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
Comment 5 Wim Van Sebroeck 2009-02-19 11:38:27 UTC
Patch is in Linus Main tree (part of v2.6.29-rc5).
Patch will also be incorporated into the stable tree.