Debian Bug report logs - #599368
NMI watchdog failed to create perf event on cpu0: ffffffa1

version graph

Package: linux-2.6; Maintainer for linux-2.6 is Debian Kernel Team <debian-kernel@lists.debian.org>;

Reported by: Michael Biebl <biebl@debian.org>

Date: Wed, 6 Oct 2010 22:27:02 UTC

Severity: minor

Found in version 2.6.36~rc6-1~experimental.1

Done: Ben Hutchings <ben@decadent.org.uk>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#599368; Package linux-2.6. (Wed, 06 Oct 2010 22:27:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Biebl <biebl@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Wed, 06 Oct 2010 22:27:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Michael Biebl <biebl@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: NMI watchdog failed to create perf event on cpu0: ffffffa1
Date: Thu, 07 Oct 2010 00:22:36 +0200
Package: linux-2.6
Version: 2.6.36~rc6-1~experimental.1
Severity: minor
File: /boot/vmlinuz-2.6.36-rc6-686

Hi,

since the upgrade from rc5 to rc6, I get the following error message on
the console during boot:
NMI watchdog failed to create perf event on cpu0: ffffffa1

With a bit more context:
[    0.008303] Performance Events:
[    0.008306] no APIC, boot with the "lapic" boot parameter to
force-enable it.
[    0.008309] no hardware sampling interrupt available.
[    0.008311] p6 PMU driver.
[    0.008319] ... version:                0
[    0.008321] ... bit width:              32
[    0.008324] ... generic registers:      2
[    0.008326] ... value mask:             00000000ffffffff
[    0.008329] ... max period:             000000007fffffff
[    0.008331] ... fixed-purpose events:   0
[    0.008334] ... event mask:             0000000000000003
[    0.008815] SMP alternatives: switching to UP code
[    0.013737] Freeing SMP alternatives: 16k freed
[    0.013743] ACPI: Core revision 20100702
[    0.021860] ACPI: setting ELCR to 0200 (from 0c20)
[    0.024070] weird, boot CPU (#0) not listed by the BIOS.
[    0.024073] SMP motherboard not detected.
[    0.024076] Local APIC not detected. Using dummy APIC emulation.
[    0.024078] SMP disabled
[    0.024189] NMI watchdog failed to create perf event on cpu0:
ffffffa1
[    0.028266] Brought up 1 CPUs
[    0.028270] Total of 1 processors activated (3189.83 BogoMIPS).



-- Package-specific info:
** Version:
Linux version 2.6.36-rc6-686 (Debian 2.6.36~rc6-1~experimental.1) (ben@decadent.org.uk) (gcc version 4.4.5 20100902 (prerelease) (Debian 4.4.4-13) ) #1 SMP Mon Oct 4 10:25:13 UTC 2010

** Command line:
BOOT_IMAGE=/boot/vmlinuz-2.6.36-rc6-686 root=UUID=9a6d2bd2-58d1-4a75-baff-166b8637e3cc ro quiet

** Not tainted

** Kernel log:
[    4.301432] init[1]: systemd 10 running in system mode. (+PAM +LIBWRAP -AUDIT +SELINUX +SYSVINIT; debian)
[    4.557097] init[1]: Set hostname to <pluto>.
[    5.749668] init[1]: hostname.service lacks ExecStart setting. Refusing.
[    6.010413] init[1]: x11-common.service lacks ExecStart setting. Refusing.
[   17.410690] udev: starting version 161
[   17.773447] input: PC Speaker as /devices/platform/pcspkr/input/input5
[   17.789846] ACPI: AC Adapter [C134] (on-line)
[   17.841354] i801_smbus 0000:00:1f.3: PCI INT B -> Link[C0C3] -> GSI 10 (level, low) -> IRQ 10
[   17.891393] intel_rng: FWH not detected
[   17.939770] ACPI: acpi_idle registered with cpuidle
[   17.939929] Marking TSC unstable due to TSC halts in idle
[   17.959641] Switching to clocksource acpi_pm
[   18.045347] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[   18.118568] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   18.464425] ACPI: Battery Slot [C11F] (battery present)
[   18.512881] parport_pc 00:05: reported by Plug and Play ACPI
[   18.512934] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
[   18.671247] NET: Registered protocol family 23
[   18.721710] Synaptics Touchpad, model: 1, fw: 5.9, id: 0x236eb3, caps: 0x904713/0x10008/0x0
[   18.743763] Detected unconfigured Compaq x1000 family SMSC IrDA chip, pre-configuring device.
[   18.743768] Setting up Intel 82801 controller and SMSC device
[   18.743902] found SMC SuperIO Chip (devid=0x5a rev=00 base=0x002e): LPC47N227
[   18.743918] smsc_superio_flat(): fir: 0x2f8, sir: 0x2e8, dma: 03, irq: 7, mode: 0x0e
[   18.743935] SMsC IrDA Controller found
[   18.743936]  IrCC version 2.0, firport 0x2f8, sirport 0x2e8 dma=3, irq=7
[   18.744042] No transceiver found. Defaulting to Fast pin select
[   18.760098] lib80211: common routines for IEEE802.11 drivers
[   18.760104] lib80211_crypt: registered algorithm 'NULL'
[   18.761327] IrDA: Registered device irda0
[   18.776289] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input6
[   19.073755] yenta_cardbus 0000:02:04.0: CardBus bridge found [0e11:0860]
[   19.073778] yenta_cardbus 0000:02:04.0: Using CSCINT to route CSC interrupts to PCI
[   19.073782] yenta_cardbus 0000:02:04.0: Routing CardBus interrupts to PCI
[   19.073788] yenta_cardbus 0000:02:04.0: TI: mfunc 0x001c1112, devctl 0x44
[   19.116501] Bluetooth: Core ver 2.15
[   19.116534] NET: Registered protocol family 31
[   19.116537] Bluetooth: HCI device and connection manager initialized
[   19.116541] Bluetooth: HCI socket layer initialized
[   19.163789] Bluetooth: Generic Bluetooth USB driver ver 0.6
[   19.167829] usbcore: registered new interface driver btusb
[   19.191233] cfg80211: Calling CRDA to update world regulatory domain
[   19.230169] libipw: 802.11 data/management/control stack, git-1.1.13
[   19.230173] libipw: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
[   19.304638] yenta_cardbus 0000:02:04.0: ISA IRQ mask 0x0818, PCI irq 5
[   19.304644] yenta_cardbus 0000:02:04.0: Socket status: 30000006
[   19.304650] pci_bus 0000:02: Raising subordinate bus# of parent bus (#02) from #03 to #06
[   19.304664] yenta_cardbus 0000:02:04.0: pcmcia: parent PCI bridge window: [io  0x2000-0x2fff]
[   19.304670] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x2000-0x2fff: excluding 0x2000-0x20ff 0x2400-0x247f 0x2800-0x28ff 0x2c00-0x2cff
[   19.310170] yenta_cardbus 0000:02:04.0: pcmcia: parent PCI bridge window: [mem 0x90000000-0x903fffff]
[   19.310175] pcmcia_socket pcmcia_socket0: cs: memory probe 0x90000000-0x903fffff: excluding 0x90000000-0x9003ffff 0x90100000-0x9013ffff 0x90200000-0x9023ffff 0x90300000-0x9033ffff
[   19.310196] yenta_cardbus 0000:02:04.0: pcmcia: parent PCI bridge window: [mem 0x30000000-0x33ffffff pref]
[   19.310200] pcmcia_socket pcmcia_socket0: cs: memory probe 0x30000000-0x33ffffff: excluding 0x30000000-0x33ffffff
[   19.479013] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kmprq
[   19.479018] ipw2200: Copyright(c) 2003-2006 Intel Corporation
[   19.479175] ipw2200 0000:02:02.0: PCI INT A -> Link[C0C5] -> GSI 5 (level, low) -> IRQ 5
[   19.491678] ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
[   19.694914] ipw2200: Detected geography ZZM (11 802.11bg channels, 0 802.11a channels)
[   19.711021] udev: renamed network interface eth1 to wlan0
[   20.183036] Adding 1020092k swap on /dev/sda5.  Priority:-1 extents:1 across:1020092k 
[   20.194309] EXT4-fs (sda6): re-mounted. Opts: (null)
[   20.233055] Intel ICH 0000:00:1f.5: PCI INT B -> Link[C0C3] -> GSI 10 (level, low) -> IRQ 10
[   20.233131] Intel ICH 0000:00:1f.5: setting latency timer to 64
[   20.704999] EXT4-fs (sda6): re-mounted. Opts: acl,user_xattr,errors=remount-ro
[   20.854096] PPP generic driver version 2.4.2
[   20.887968] device-mapper: uevent: version 1.0.3
[   20.890337] device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised: dm-devel@redhat.com
[   21.156040] intel8x0_measure_ac97_clock: measured 55318 usecs (2665 samples)
[   21.156045] intel8x0: clocking to 48000
[   21.156420] audit: name_count maxed, losing inode data: dev=00:05, inode=5877
[   21.156462] audit: name_count maxed, losing inode data: dev=00:05, inode=4
[   21.156468] audit: name_count maxed, losing inode data: dev=00:05, inode=4
[   21.156501] audit: name_count maxed, losing inode data: dev=00:05, inode=4
[   21.156507] audit: name_count maxed, losing inode data: dev=00:05, inode=4
[   21.156567] audit: name_count maxed, losing inode data: dev=00:05, inode=4989
[   21.156574] audit: name_count maxed, losing inode data: dev=00:05, inode=4989
[   21.156618] audit: name_count maxed, losing inode data: dev=00:05, inode=4
[   21.156624] audit: name_count maxed, losing inode data: dev=00:05, inode=4
[   21.157826] Intel ICH Modem 0000:00:1f.6: PCI INT B -> Link[C0C3] -> GSI 10 (level, low) -> IRQ 10
[   21.157852] Intel ICH Modem 0000:00:1f.6: setting latency timer to 64
[   21.820353] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: acl,user_xattr
[   21.908315] fuse init (API version 7.15)
[   23.131148] lp0: using parport0 (interrupt-driven).
[   23.217953] ppdev: user-space parallel port driver
[   23.789359] eth0: link down
[   23.789628] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   23.832780] Bluetooth: L2CAP ver 2.15
[   23.832784] Bluetooth: L2CAP socket layer initialized
[   23.865169] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   23.865173] Bluetooth: BNEP filters: protocol multicast
[   24.603017] Bluetooth: RFCOMM TTY layer initialized
[   24.603025] Bluetooth: RFCOMM socket layer initialized
[   24.603028] Bluetooth: RFCOMM ver 1.11
[   24.617539] Bluetooth: SCO (Voice Link) ver 0.6
[   24.617544] Bluetooth: SCO socket layer initialized
[   24.629562] lib80211_crypt: registered algorithm 'CCMP'
[   24.701560] padlock: VIA PadLock not detected.
[   24.854320] lib80211_crypt: registered algorithm 'TKIP'
[   33.344069] type=1305 audit(1286402950.422:20465): auid=4294967295 ses=4294967295 op="remove rule" key=(null) list=4 res=1
[   33.344086] type=1305 audit(1286402950.422:20466): audit_enabled=0 old=1 auid=4294967295 ses=4294967295 res=1
[   34.144025] wlan0: no IPv6 routers present

** Model information
not available

** Loaded modules:
Module                  Size  Used by
michael_mic             1470  4 
arc4                    1002  2 
acpi_cpufreq            4547  0 
ecb                     1413  2 
mperf                    967  1 acpi_cpufreq
lib80211_crypt_tkip     6623  1 
cpufreq_userspace       1508  0 
aes_i586                6828  1 
cpufreq_stats           1934  0 
aes_generic            25766  1 aes_i586
lib80211_crypt_ccmp     3577  1 
sco                     5855  2 
rfcomm                 24284  8 
cpufreq_powersave        614  0 
bnep                    7506  2 
l2cap                  26340  16 rfcomm,bnep
cpufreq_conservative     6190  0 
ppdev                   4475  0 
lp                      5806  0 
fuse                   47318  3 
binfmt_misc             4982  1 
dm_crypt                8927  0 
dm_mod                 49208  1 dm_crypt
ppp_generic            16058  0 
slhc                    3494  1 ppp_generic
snd_intel8x0m           8048  0 
snd_intel8x0           19511  3 
snd_ac97_codec         76621  2 snd_intel8x0m,snd_intel8x0
ac97_bus                 722  1 snd_ac97_codec
snd_pcm_oss            27474  0 
snd_mixer_oss          10359  1 snd_pcm_oss
snd_pcm                46944  5 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
ipw2200               107197  0 
snd_seq_midi            3602  0 
pcmcia                 24418  0 
snd_rawmidi            12629  1 snd_seq_midi
libipw                 18014  1 ipw2200
snd_seq_midi_event      3750  1 snd_seq_midi
btusb                   7851  2 
snd_seq                34720  2 snd_seq_midi,snd_seq_midi_event
cfg80211               98083  2 ipw2200,libipw
yenta_socket           15472  0 
snd_timer              12485  3 snd_pcm,snd_seq
bluetooth              36946  9 sco,rfcomm,bnep,l2cap,btusb
pcmcia_rsrc             7260  1 yenta_socket
joydev                  6976  0 
snd_seq_device          3659  3 snd_seq_midi,snd_rawmidi,snd_seq
pcmcia_core             8261  3 pcmcia,yenta_socket,pcmcia_rsrc
rfkill                 10822  4 cfg80211,bluetooth
lib80211                2894  4 lib80211_crypt_tkip,lib80211_crypt_ccmp,ipw2200,libipw
smsc_ircc2              8602  0 
container               1853  0 
irda                   72076  1 smsc_ircc2
parport_pc             15625  1 
snd                    34129  14 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
crc_ccitt               1047  1 irda
parport                21222  3 ppdev,lp,parport_pc
tpm_tis                 5313  0 
shpchp                 18111  0 
pci_hotplug            16971  1 shpchp
serio_raw               2902  0 
soundcore               3426  1 snd
tpm                     7955  1 tpm_tis
battery                 4130  0 
psmouse                38333  0 
processor              22795  2 acpi_cpufreq
tpm_bios                3573  1 tpm
snd_page_alloc          5057  3 snd_intel8x0m,snd_intel8x0,snd_pcm
evdev                   5519  11 
i2c_i801                6346  0 
ac                      1656  0 
pcspkr                  1219  0 
rng_core                2298  0 
autofs4                16557  6 
ext4                  233438  2 
mbcache                 3776  1 ext4
jbd2                   48151  1 ext4
crc16                   1035  2 l2cap,ext4
sg                     15867  0 
sd_mod                 24194  5 
sr_mod                 11037  0 
cdrom                  25872  1 sr_mod
crc_t10dif              1020  1 sd_mod
ata_generic             1983  0 
radeon                595990  2 
ata_piix               17364  4 
ttm                    36490  1 radeon
drm_kms_helper         19053  1 radeon
libata                115536  2 ata_generic,ata_piix
uhci_hcd               15722  0 
ehci_hcd               27967  0 
drm                   121418  4 radeon,ttm,drm_kms_helper
wbsd                    8449  0 
scsi_mod              128128  4 sg,sr_mod,sd_mod,libata
usbcore                94906  4 btusb,uhci_hcd,ehci_hcd
firewire_ohci          19087  0 
i2c_algo_bit            3373  1 radeon
8139too                14604  0 
mmc_core               44504  1 wbsd
video                  15297  0 
8139cp                 13204  0 
i2c_core               12934  5 i2c_i801,radeon,drm_kms_helper,drm,i2c_algo_bit
output                  1212  1 video
firewire_core          35444  1 firewire_ohci
thermal                 9458  0 
thermal_sys             9328  3 processor,video,thermal
mii                     2714  2 8139too,8139cp
button                  3610  0 
crc_itu_t               1039  1 firewire_core
nls_base                4521  1 usbcore

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 82855PM Processor to I/O Controller [8086:3340] (rev 03)
	Subsystem: Compaq Computer Corporation Device [0e11:0860]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
	Latency: 0
	Region 0: Memory at b0000000 (32-bit, prefetchable) [size=256M]
	Capabilities: <access denied>
	Kernel driver in use: agpgart-intel

00:01.0 PCI bridge [0604]: Intel Corporation 82855PM Processor to AGP Controller [8086:3341] (rev 03) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 128
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: 90400000-904fffff
	Prefetchable memory behind bridge: 98000000-9fffffff
	Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

00:1d.0 USB Controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 [8086:24c2] (rev 01) (prog-if 00 [UHCI])
	Subsystem: Compaq Computer Corporation Device [0e11:0860]
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 10
	Region 4: I/O ports at 48c0 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.1 USB Controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 [8086:24c4] (rev 01) (prog-if 00 [UHCI])
	Subsystem: Compaq Computer Corporation Device [0e11:0860]
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 5
	Region 4: I/O ports at 48e0 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.2 USB Controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 [8086:24c7] (rev 01) (prog-if 00 [UHCI])
	Subsystem: Compaq Computer Corporation Device [0e11:0860]
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin C routed to IRQ 5
	Region 4: I/O ports at 4c00 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.7 USB Controller [0c03]: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller [8086:24cd] (rev 01) (prog-if 20 [EHCI])
	Subsystem: Compaq Computer Corporation Device [0e11:0860]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin D routed to IRQ 5
	Region 0: Memory at a0000000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 81) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR+ INTx-
	Latency: 0
	Bus: primary=00, secondary=02, subordinate=06, sec-latency=32
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: 90000000-903fffff
	Prefetchable memory behind bridge: 30000000-33ffffff
	Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR+
	BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

00:1f.0 ISA bridge [0601]: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge [8086:24cc] (rev 01)
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:1f.1 IDE interface [0101]: Intel Corporation 82801DBM (ICH4-M) IDE Controller [8086:24ca] (rev 01) (prog-if 8a [Master SecP PriP])
	Subsystem: Compaq Computer Corporation Device [0e11:0860]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 5
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4 [size=1]
	Region 2: I/O ports at 0170 [size=8]
	Region 3: I/O ports at 0374 [size=1]
	Region 4: I/O ports at 4c40 [size=16]
	Region 5: Memory at 34000000 (32-bit, non-prefetchable) [size=1K]
	Kernel driver in use: ata_piix

00:1f.3 SMBus [0c05]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller [8086:24c3] (rev 01)
	Subsystem: Compaq Computer Corporation Device [0e11:0860]
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin B routed to IRQ 10
	Region 4: I/O ports at 4c20 [size=32]
	Kernel driver in use: i801_smbus

00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller [8086:24c5] (rev 01)
	Subsystem: Compaq Computer Corporation Device [0e11:0860]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 10
	Region 0: I/O ports at 4000 [size=256]
	Region 1: I/O ports at 4880 [size=64]
	Region 2: Memory at a0200000 (32-bit, non-prefetchable) [size=512]
	Region 3: Memory at a0300000 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: Intel ICH

00:1f.6 Modem [0703]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller [8086:24c6] (rev 01) (prog-if 00 [Generic])
	Subsystem: Compaq Computer Corporation Device [0e11:0860]
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 10
	Region 0: I/O ports at 4400 [size=256]
	Region 1: I/O ports at 4800 [size=128]
	Capabilities: <access denied>
	Kernel driver in use: Intel ICH Modem

01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon RV250 [Mobility FireGL 9000] [1002:4c66] (rev 01) (prog-if 00 [VGA controller])
	Subsystem: Compaq Computer Corporation Device [0e11:0860]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 128 (2000ns min), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at 98000000 (32-bit, prefetchable) [size=128M]
	Region 1: I/O ports at 3000 [size=256]
	Region 2: Memory at 90400000 (32-bit, non-prefetchable) [size=64K]
	[virtual] Expansion ROM at 90420000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon

02:00.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044] (rev 80) (prog-if 10 [OHCI])
	Subsystem: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 128 (8000ns max), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at 90200000 (32-bit, non-prefetchable) [size=2K]
	Region 1: I/O ports at 2400 [size=128]
	Capabilities: <access denied>
	Kernel driver in use: firewire_ohci

02:01.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 20)
	Subsystem: Compaq Computer Corporation Device [0e11:0860]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 128 (8000ns min, 16000ns max), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 10
	Region 0: I/O ports at 2000 [size=256]
	Region 1: Memory at 90300000 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: 8139cp

02:02.0 Network controller [0280]: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection [8086:4220] (rev 05)
	Subsystem: Hewlett-Packard Company Device [103c:12f5]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 128 (750ns min, 6000ns max), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 5
	Region 0: Memory at 90000000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: ipw2200

02:04.0 CardBus bridge [0607]: ENE Technology Inc CB1410 Cardbus Controller [1524:1410]
	Subsystem: Compaq Computer Corporation Device [0e11:0860]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 168, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 5
	Region 0: Memory at 90100000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
	Memory window 0: 30000000-33fff000 (prefetchable)
	Memory window 1: 38000000-3bfff000
	I/O window 0: 00002800-000028ff
	I/O window 1: 00002c00-00002cff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
	16-bit legacy interface ports at 0001
	Kernel driver in use: yenta_cardbus


** USB devices:
Bus 004 Device 002: ID 049f:0086 Compaq Computer Corp. Bluetooth Device
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.36-rc6-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-2.6.36-rc6-686 depends on:
ii  debconf [deb 1.5.36                      Debian configuration management sy
ii  initramfs-to 0.98.4                      tools for generating an initramfs
ii  linux-base   2.6.36~rc6-1~experimental.1 Linux image base package
ii  module-init- 3.12-1                      tools for managing Linux kernel mo

Versions of packages linux-image-2.6.36-rc6-686 recommends:
ii  firmware-linux-free           2.6.32-24  Binary firmware for various driver
ii  libc6-i686                    2.11.2-6   Embedded GNU C Library: Shared lib

Versions of packages linux-image-2.6.36-rc6-686 suggests:
pn  grub | lilo                   <none>     (no description available)
pn  linux-doc-2.6.36              <none>     (no description available)

Versions of packages linux-image-2.6.36-rc6-686 is related to:
pn  firmware-bnx2                 <none>     (no description available)
pn  firmware-bnx2x                <none>     (no description available)
ii  firmware-ipw2x00              0.27       Binary firmware for Intel Pro Wire
pn  firmware-ivtv                 <none>     (no description available)
pn  firmware-iwlwifi              <none>     (no description available)
ii  firmware-linux                0.27       Binary firmware for various driver
ii  firmware-linux-nonfree        0.27       Binary firmware for various driver
pn  firmware-qlogic               <none>     (no description available)
pn  firmware-ralink               <none>     (no description available)
pn  xen-hypervisor                <none>     (no description available)

-- debconf information:
  linux-image-2.6.36-rc6-686/postinst/missing-firmware-2.6.36-rc6-686:
  linux-image-2.6.36-rc6-686/postinst/depmod-error-initrd-2.6.36-rc6-686: false
  linux-image-2.6.36-rc6-686/prerm/removing-running-kernel-2.6.36-rc6-686: true
  linux-image-2.6.36-rc6-686/postinst/ignoring-do-bootloader-2.6.36-rc6-686:




Reply sent to Ben Hutchings <ben@decadent.org.uk>:
You have taken responsibility. (Thu, 07 Oct 2010 02:21:03 GMT) Full text and rfc822 format available.

Notification sent to Michael Biebl <biebl@debian.org>:
Bug acknowledged by developer. (Thu, 07 Oct 2010 02:21:04 GMT) Full text and rfc822 format available.

Message #10 received at 599368-done@bugs.debian.org (full text, mbox):

From: Ben Hutchings <ben@decadent.org.uk>
To: 599368-done@bugs.debian.org
Subject: Re: Bug#599368: NMI watchdog failed to create perf event on cpu0: ffffffa1
Date: Thu, 07 Oct 2010 03:18:52 +0100
[Message part 1 (text/plain, inline)]
On Thu, 2010-10-07 at 00:22 +0200, Michael Biebl wrote:
> Package: linux-2.6
> Version: 2.6.36~rc6-1~experimental.1
> Severity: minor
> File: /boot/vmlinuz-2.6.36-rc6-686
> 
> Hi,
> 
> since the upgrade from rc5 to rc6, I get the following error message on
> the console during boot:
> NMI watchdog failed to create perf event on cpu0: ffffffa1
[...]

This error comes from the new code for hard lockup detection, which
relies on using a CPU performance counter to trigger an NMI.  The system
you're using apparently doesn't have a suitable performance counter;
this is not a bug.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#599368; Package linux-2.6. (Thu, 07 Oct 2010 02:42:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Thu, 07 Oct 2010 02:42:03 GMT) Full text and rfc822 format available.

Message #15 received at 599368@bugs.debian.org (full text, mbox):

From: Michael Biebl <biebl@debian.org>
To: 599368@bugs.debian.org, Ben Hutchings <ben@decadent.org.uk>
Subject: Re: Bug#599368 closed by Ben Hutchings <ben@decadent.org.uk> (Re: Bug#599368: NMI watchdog failed to create perf event on cpu0: ffffffa1)
Date: Thu, 07 Oct 2010 04:40:05 +0200
[Message part 1 (text/plain, inline)]
>> since the upgrade from rc5 to rc6, I get the following error message on
>> > the console during boot:
>> > NMI watchdog failed to create perf event on cpu0: ffffffa1
> [...]
> 
> This error comes from the new code for hard lockup detection, which
> relies on using a CPU performance counter to trigger an NMI.  The system
> you're using apparently doesn't have a suitable performance counter;
> this is not a bug.

If this just an informative message and not an error, then this message should
not be logged to the console.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 04 Nov 2010 07:35:00 GMT) Full text and rfc822 format available.

Bug unarchived. Request was from Ben Hutchings <ben@decadent.org.uk> to control@bugs.debian.org. (Sun, 02 Jan 2011 22:03:04 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#599368; Package linux-2.6. (Sun, 02 Jan 2011 22:39:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cesare Leonardi <celeonar@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Sun, 02 Jan 2011 22:39:05 GMT) Full text and rfc822 format available.

Message #24 received at 599368@bugs.debian.org (full text, mbox):

From: Cesare Leonardi <celeonar@gmail.com>
To: 608138@bugs.debian.org
Cc: Ben Hutchings <ben@decadent.org.uk>, Michael Biebl <biebl@debian.org>, 599368@bugs.debian.org
Subject: Re: Bug#608138: initramfs-tools: NMI error on boot only in recovery mode
Date: Sun, 02 Jan 2011 23:37:51 +0100
On 01/02/2011 10:44 PM, Ben Hutchings wrote:
>> Then add +1 to what Michael Biebl already asked: why that message should
>> be showed?
>
> Because the watchdog feature was enabled at compile-time and you
> presumably want it to work.  If you add 'nowatchdog' to the kernel
> parameters then the kernel will not attempt to set up the watchdog, and
> the error message will not appear.

Thanks, i didn't know that parameter, but i don't want to disable the 
lockup detector.

I'm sure that kernel devels will find a better way to handle unsupported 
hardware and the situation where the watchdog cannot be used (anyone 
without a local APIC will see this message?).
From the user point of view, i think that the best is to handle 
silently the unsupported case (at least in quiet boot) and to show a 
meaningful message in the syslog. From the current message, if you are 
not a kernel developer, it's not clear if it's a warning or an error 
message. In other words, it's not clear if the watchdog will function or 
not.

Ciao.

Cesare.




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#599368; Package linux-2.6. (Sun, 02 Jan 2011 22:54:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Hutchings <ben@decadent.org.uk>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Sun, 02 Jan 2011 22:54:03 GMT) Full text and rfc822 format available.

Message #29 received at 599368@bugs.debian.org (full text, mbox):

From: Ben Hutchings <ben@decadent.org.uk>
To: Cesare Leonardi <celeonar@gmail.com>
Cc: 608138@bugs.debian.org, Michael Biebl <biebl@debian.org>, 599368@bugs.debian.org
Subject: Re: Bug#608138: initramfs-tools: NMI error on boot only in recovery mode
Date: Sun, 02 Jan 2011 22:51:16 +0000
[Message part 1 (text/plain, inline)]
On Sun, 2011-01-02 at 23:37 +0100, Cesare Leonardi wrote:
> On 01/02/2011 10:44 PM, Ben Hutchings wrote:
> >> Then add +1 to what Michael Biebl already asked: why that message should
> >> be showed?
> >
> > Because the watchdog feature was enabled at compile-time and you
> > presumably want it to work.  If you add 'nowatchdog' to the kernel
> > parameters then the kernel will not attempt to set up the watchdog, and
> > the error message will not appear.
> 
> Thanks, i didn't know that parameter, but i don't want to disable the 
> lockup detector.
> 
> I'm sure that kernel devels will find a better way to handle unsupported 
> hardware and the situation where the watchdog cannot be used (anyone 
> without a local APIC will see this message?).

So, hardly anyone.

>  From the user point of view, i think that the best is to handle 
> silently the unsupported case (at least in quiet boot) and to show a 
> meaningful message in the syslog. From the current message, if you are 
> not a kernel developer, it's not clear if it's a warning or an error 
> message. In other words, it's not clear if the watchdog will function or 
> not.

Yes, I see, it doesn't say that this is a fatal error for watchdog
initialisation.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#599368; Package linux-2.6. (Sun, 02 Jan 2011 23:06:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Hutchings <ben@decadent.org.uk>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Sun, 02 Jan 2011 23:06:03 GMT) Full text and rfc822 format available.

Message #34 received at 599368@bugs.debian.org (full text, mbox):

From: Ben Hutchings <ben@decadent.org.uk>
To: Ingo Molnar <mingo@elte.hu>, Don Zickus <dzickus@redhat.com>, Frederic Weisbecker <fweisbec@gmail.com>
Cc: linux-kernel@vger.kernel.org, 599368@bugs.debian.org, 608138@bugs.debian.org, Cesare Leonardi <celeonar@gmail.com>
Subject: [PATCH v2] watchdog: Improve initialisation error message and documentation
Date: Sun, 02 Jan 2011 23:02:42 +0000
The error message 'NMI watchdog failed to create perf event...'  does
not make it clear that this is a fatal error for the watchdog.  It
also currently prints the error value as a pointer, rather than
extracting the error code with PTR_ERR().  Fix that.

Add a note to the description of the 'nowatchdog' kernel parameter to
associate it with this message.

Reported-by: Cesare Leonardi <celeonar@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
Further improved the error message based on Cesare's comments.

Ben.

 Documentation/kernel-parameters.txt |    2 +-
 kernel/watchdog.c                   |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 7d0cead..6fc0cf4 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1764,7 +1764,7 @@ and is between 256 and 4096 characters. It is defined in the file
 
 	nousb		[USB] Disable the USB subsystem
 
-	nowatchdog	[KNL] Disable the lockup detector.
+	nowatchdog	[KNL] Disable the lockup detector (NMI watchdog).
 
 	nowb		[ARM]
 
diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index d74e866..d7ebdf4 100644
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -366,7 +366,8 @@ static int watchdog_nmi_enable(int cpu)
 		goto out_save;
 	}
 
-	printk(KERN_ERR "NMI watchdog failed to create perf event on cpu%i: %p\n", cpu, event);
+	printk(KERN_ERR "NMI watchdog disabled for cpu%i: unable to create perf event: %ld\n",
+	       cpu, PTR_ERR(event));
 	return PTR_ERR(event);
 
 	/* success path */
-- 
1.7.2.3






Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#599368; Package linux-2.6. (Sun, 02 Jan 2011 23:09:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cesare Leonardi <celeonar@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Sun, 02 Jan 2011 23:09:07 GMT) Full text and rfc822 format available.

Message #39 received at 599368@bugs.debian.org (full text, mbox):

From: Cesare Leonardi <celeonar@gmail.com>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: 608138@bugs.debian.org, Michael Biebl <biebl@debian.org>, 599368@bugs.debian.org
Subject: Re: Bug#608138: initramfs-tools: NMI error on boot only in recovery mode
Date: Mon, 03 Jan 2011 00:07:07 +0100
On 01/02/2011 11:51 PM, Ben Hutchings wrote:
> Yes, I see, it doesn't say that this is a fatal error for watchdog
> initialisation.

I've seen just now the patch (v1 and v2) you sent upstream: thank you 
very much for improving the error message and the documentation.

Very very appreciated.

Cesare.




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#599368; Package linux-2.6. (Mon, 03 Jan 2011 13:57:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Don Zickus <dzickus@redhat.com>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Mon, 03 Jan 2011 13:57:06 GMT) Full text and rfc822 format available.

Message #44 received at 599368@bugs.debian.org (full text, mbox):

From: Don Zickus <dzickus@redhat.com>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: Ingo Molnar <mingo@elte.hu>, Frederic Weisbecker <fweisbec@gmail.com>, linux-kernel@vger.kernel.org, 599368@bugs.debian.org, 608138@bugs.debian.org, Cesare Leonardi <celeonar@gmail.com>
Subject: Re: [PATCH v2] watchdog: Improve initialisation error message and documentation
Date: Mon, 3 Jan 2011 08:56:02 -0500
On Sun, Jan 02, 2011 at 11:02:42PM +0000, Ben Hutchings wrote:
> The error message 'NMI watchdog failed to create perf event...'  does
> not make it clear that this is a fatal error for the watchdog.  It
> also currently prints the error value as a pointer, rather than
> extracting the error code with PTR_ERR().  Fix that.
> 
> Add a note to the description of the 'nowatchdog' kernel parameter to
> associate it with this message.
> 
> Reported-by: Cesare Leonardi <celeonar@gmail.com>
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

Looks good, thanks.  I'll add it to my queue.

Cheers,
Don




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#599368; Package linux-2.6. (Thu, 06 Jan 2011 00:33:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Greg KH <gregkh@suse.de>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Thu, 06 Jan 2011 00:33:03 GMT) Full text and rfc822 format available.

Message #49 received at 599368@bugs.debian.org (full text, mbox):

From: Greg KH <gregkh@suse.de>
To: linux-kernel@vger.kernel.org, stable@kernel.org
Cc: stable-review@kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Ben Hutchings <ben@decadent.org.uk>, 599368@bugs.debian.org, 608138@bugs.debian.org, Don Zickus <dzickus@redhat.com>, Frederic Weisbecker <fweisbec@gmail.com>, Ingo Molnar <mingo@elte.hu>
Subject: [124/152] watchdog: Improve initialisation error message and documentation
Date: Wed, 05 Jan 2011 16:23:43 -0800
2.6.36-stable review patch.  If anyone has any objections, please let us know.

------------------

From: Ben Hutchings <ben@decadent.org.uk>

commit 551423748a4eba55f2eb0fc250d757986471f187 upstream.

The error message 'NMI watchdog failed to create perf event...'
does not make it clear that this is a fatal error for the
watchdog.  It also currently prints the error value as a
pointer, rather than extracting the error code with PTR_ERR().
Fix that.

Add a note to the description of the 'nowatchdog' kernel
parameter to associate it with this message.

Reported-by: Cesare Leonardi <celeonar@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: 599368@bugs.debian.org
Cc: 608138@bugs.debian.org
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1294009362.3167.126.camel@localhost>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
 Documentation/kernel-parameters.txt |    2 +-
 kernel/watchdog.c                   |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1745,7 +1745,7 @@ and is between 256 and 4096 characters.
 
 	nousb		[USB] Disable the USB subsystem
 
-	nowatchdog	[KNL] Disable the lockup detector.
+	nowatchdog	[KNL] Disable the lockup detector (NMI watchdog).
 
 	nowb		[ARM]
 
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -377,7 +377,8 @@ static int watchdog_nmi_enable(int cpu)
 		goto out_save;
 	}
 
-	printk(KERN_ERR "NMI watchdog failed to create perf event on cpu%i: %p\n", cpu, event);
+	printk(KERN_ERR "NMI watchdog disabled for cpu%i: unable to create perf event: %ld\n",
+	       cpu, PTR_ERR(event));
 	return -1;
 
 	/* success path */






Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 03 Feb 2011 07:32:50 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 07:04:56 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.