linux-image-virtual - No watchdog drivers enabled.

Bug #642930 reported by Ian Kumlien
50
This bug affects 10 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In KVM there is support for two different watchdog hardwares so it can reboot the VM if the machine stops responding, this is all pretty useless when the virtual kernel lacks support for watchdogs. =)

(Tested on Lucid)

Revision history for this message
Ian Kumlien (pomac) wrote :

libvirtd currently lists i6300esb and ib700 as supported watchdog hardwares...

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi pomac,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/daily/current/ . If the issue remains, please run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 642930

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Ian Kumlien (pomac) wrote :

Since this is a virtual machine i built it with lucid, since it's LTS, using vmbuilder.

The virtual machine was built with:
vmbuilder kvm ubuntu --suite=lucid --flavour=virtual

In the virtual machine:
lspci |grep dog
00:06.0 System peripheral: Intel Corporation 6300ESB Watchdog Timer

ls /lib/modules/`uname -r`/kernel/drivers/watchdog
softdog.ko

dmesg reports nothing wrt finding a watchdog.
---

And please name a text mode browser that works with the launchpad login.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Ryan Davies (ryan-professional) wrote :

Still an issue with the 3.2.0-14-virtual kernel

Only softdog.ko in the watchdog drivers directory

Revision history for this message
p (p1) wrote :

lucid is still affected by this bug.

Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 642930

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Ian Kumlien (pomac) wrote :

What logfile? The issue is the kernel configuration - if you enable watchdogs for the virtual image this will not be a issue and the watchdog will be autodetected.

Logfiles are not needed.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Ryan Davies (ryan-professional) wrote : apport information

AlsaDevices:
 total 0
 crw-rw---T 1 root audio 116, 1 Apr 14 15:11 seq
 crw-rw---T 1 root audio 116, 33 Apr 14 15:11 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
CurrentDmesg:
 Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
 dmesg: write failed: Broken pipe
DistroRelease: Ubuntu 12.04
IwConfig: Error: [Errno 2] No such file or directory
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Bochs Bochs
Package: linux (not installed)
PciMultimedia:

ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-virtual root=UUID=df7f88ba-a50a-4e37-b74c-f1421936e3a3 ro quiet
ProcVersionSignature: Ubuntu 3.2.0-23.36-virtual 3.2.14
RfKill: Error: [Errno 2] No such file or directory
Tags: precise
Uname: Linux 3.2.0-23-virtual x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: admin sudo
WifiSyslog:

dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs

tags: added: apport-collected precise
Revision history for this message
Ryan Davies (ryan-professional) wrote : AcpiTables.txt

apport information

Revision history for this message
Ryan Davies (ryan-professional) wrote : Lspci.txt

apport information

Revision history for this message
Ryan Davies (ryan-professional) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Ryan Davies (ryan-professional) wrote : ProcEnviron.txt

apport information

Revision history for this message
Ryan Davies (ryan-professional) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Ryan Davies (ryan-professional) wrote : ProcModules.txt

apport information

Revision history for this message
Ryan Davies (ryan-professional) wrote : UdevDb.txt

apport information

Revision history for this message
Ryan Davies (ryan-professional) wrote : UdevLog.txt

apport information

Revision history for this message
Ryan Davies (ryan-professional) wrote :

This is still an issue on 3.2.0-23-virtual

rdavies@ProGEEKCore:~$ ls -l /lib/modules/`uname -r`/kernel/drivers/watchdog
total 16
-rw-r--r-- 1 root root 14056 Apr 10 21:25 softdog.ko

rdavies@ProGEEKCore:~$ uname -a
Linux ProGEEKCore.professional.geek.nz 3.2.0-23-virtual #36-Ubuntu SMP Tue Apr 10 22:29:03 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Xavier L. (xav0989) wrote :

The watchdog drivers are present in the linux-image-extra-*-virtual package. Since they are not added installed by default to virtual installed, they must be manually installed by issuing the following command in the virtual machine.

sudo apt-get install linux-image-extra-virtual

Ubuntu disables by default all watchdog devices, so once you've installed the watchdog daemon, you'll have to add your device's driver to your /etc/module

Revision history for this message
Simon Déziel (sdeziel) wrote :

While installing linux-image-extra-virtual will work, it also eats up ~230 MB more of storage:

$ sudo apt-get install --no-install-recommends linux-image-extra-virtual
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
   crda (1.1.2-1ubuntu2)
   libnl-3-200 (3.2.21-1)
   libnl-genl-3-200 (3.2.21-1)
   linux-firmware (1.127.12)
   linux-image-extra-3.13.0-55-generic (3.13.0-55.92)
   linux-image-generic (3.13.0.55.62)
   wireless-regdb (2013.02.13-1ubuntu1)
Recommended packages:
   iw (3.4-1)
The following NEW packages will be installed:
   crda (1.1.2-1ubuntu2)
   libnl-3-200 (3.2.21-1)
   libnl-genl-3-200 (3.2.21-1)
   linux-firmware (1.127.12)
   linux-image-extra-3.13.0-55-generic (3.13.0-55.92)
   linux-image-extra-virtual (3.13.0.55.62)
   linux-image-generic (3.13.0.55.62)
   wireless-regdb (2013.02.13-1ubuntu1)
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 60.1 MB of archives.
After this operation, 231 MB of additional disk space will be used.
Do you want to continue? [Y/n]

IMHO, the watchdog devices commonly available for various hypervisors should be added to the linux-image-virtual flavor.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.