Skip to contentSkip to conversation

i810-tco watchdog,

uPATCH [email protected] 1 participant 1 message Jun 28, 2001 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

Hi all,

Intel ICHx have one(?) ugly feature: reboot by TCO timer can be disabled by the hardware. Current message isn't very informative and can cause false bugreports, so the attached micropatch.

BTW this hardware braindamage already reported on Sony Vaio pCG-FX140.

Best regards.

P.S. What's wrong with my previous patches including Intel ICH and SCL90E66 PCI quirks ?

Signature · 2 lines
Andrey Panin            | Embedded systems software engineer
[email protected]        | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc
drivers/char/i810-tco.c +1 -1
diff -ur -X dontdiff linux.vanilla/drivers/char/i810-tco.c linux/drivers/char/i810-tco.c
@@ -289,7 +289,7 @@
 			pci_write_config_byte (i810tco_pci, 0xd4, val1);
 			pci_read_config_byte (i810tco_pci, 0xd4, &val1);
 			if (val1 & 0x02) {
-				printk (KERN_ERR "i810tco init: failed to reset NO_REBOOT flag\n");
+				printk (KERN_ERR "i810tco init: failed to reset NO_REBOOT flag, reboot disabled by hardware\n");
 				return 0;	/* Cannot reset NO_REBOOT bit */
 			}
 		}