Skip to contentSkip to conversation

qemu-system-ppc : file systems are not shutting down clean

Qemu-devel Serge Hallyn 2 participants 6 messages May 21, 2014 – Aug 12, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Can you explain what "ssgyboot=break" tells the kernel to do?

Could you upload the guest's /var/log/syslog after reboot?

Please show

echo $?

immediately after the qemu-system-ppc command has exited?

** Also affects: qemu
Importance: Undecided
Status: New

** Changed in: qemu (Ubuntu)
Status: New => Incomplete

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1321028

Title:
  qemu-system-ppc : file  systems are not shutting down clean

Status in QEMU:
  New
Status in “qemu” package in Ubuntu:
  Incomplete

Bug description:

  
  Launching a VM that has been shutdown gracefully ( via init 0)  typically requires fsck to run when it is started ;
  This indications data integrity issues;

  
   The symptom can be seen by observing the fsck running when the VM restarted.

  Install 14-04-LTS to a VM  and the issue can be seen ;


  (trusty)vnc@jade-rev4:/home2/qemu$ cat vm1/go.sh
  mymac="52:54:00:12:34:10"
  T=` echo $mymac | cut -d: -f5,6 | sed s/\://`
  mytap="tap$T"

  
  tunctl  -d $mytap
  tunctl  -t $mytap

   /usr/bin/qemu-system-ppc -M ppce500 -nographic -kernel jade-kernel.bin \
  		-initrd jade-initrd-2.0.bin -m 1G -enable-kvm  \
  		-drive file=jade-ubuntu-14.04.raw,if=virtio \
  		-net nic,vlan=0,macaddr=$mymac \
  		-net tap,vlan=0,ifname=$mytap,script=/usr/local/bin/qemu-ifup \
  		-append "console=ttyS0 ssgyboot=break" \
  	 	-no-shutdown -no-reboot -name `basename $fp`

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qemu-system-ppc 2.0.0~rc1+dfsg-0ubuntu3.1
  ProcVersionSignature: Ubuntu 3.13.0-24.46-powerpc-e500mc 3.13.9
  Uname: Linux 3.13.0-24-powerpc-e500mc ppc
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: powerpc
  Date: Mon May 19 17:01:14 2014
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: qemu
  UpgradeStatus: Upgraded to trusty on 2014-04-29 (20 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1321028/+subscriptions
#2 lore raw
In reply to a message not in the archive

1. ssgyboot-break has no effect in the VM kernel; It is only used by jade-initrd-2.0.bin ;

kernel cmdline:

[    0.000000] pcpu-alloc: s28800 r8192 d16256 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag
es: 260608
[    0.000000] Kernel command line: (host)/boot/vmlinux-3.13.0-24-powerpc-e500mc
 root=/dev/vda1 ro quiet splash vt.handoff=7

2: see attached file .

3. VM's do not exit from qemu-system-ppc ; see defect : 1317603 .

** Attachment added: "initrd,kern, syslog.txt"
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1321028/+attachment/4116985/+files/bug1321028.tgz

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1321028

Title:
  qemu-system-ppc : file  systems are not shutting down clean

Status in QEMU:
  New
Status in “qemu” package in Ubuntu:
  Incomplete

Bug description:

  
  Launching a VM that has been shutdown gracefully ( via init 0)  typically requires fsck to run when it is started ;
  This indications data integrity issues;

  
   The symptom can be seen by observing the fsck running when the VM restarted.

  Install 14-04-LTS to a VM  and the issue can be seen ;


  (trusty)vnc@jade-rev4:/home2/qemu$ cat vm1/go.sh
  mymac="52:54:00:12:34:10"
  T=` echo $mymac | cut -d: -f5,6 | sed s/\://`
  mytap="tap$T"

  
  tunctl  -d $mytap
  tunctl  -t $mytap

   /usr/bin/qemu-system-ppc -M ppce500 -nographic -kernel jade-kernel.bin \
  		-initrd jade-initrd-2.0.bin -m 1G -enable-kvm  \
  		-drive file=jade-ubuntu-14.04.raw,if=virtio \
  		-net nic,vlan=0,macaddr=$mymac \
  		-net tap,vlan=0,ifname=$mytap,script=/usr/local/bin/qemu-ifup \
  		-append "console=ttyS0 ssgyboot=break" \
  	 	-no-shutdown -no-reboot -name `basename $fp`

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qemu-system-ppc 2.0.0~rc1+dfsg-0ubuntu3.1
  ProcVersionSignature: Ubuntu 3.13.0-24.46-powerpc-e500mc 3.13.9
  Uname: Linux 3.13.0-24-powerpc-e500mc ppc
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: powerpc
  Date: Mon May 19 17:01:14 2014
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: qemu
  UpgradeStatus: Upgraded to trusty on 2014-04-29 (20 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1321028/+subscriptions
#3 lore raw
In reply to a message not in the archive

/var/log/syslog attached as syslog.onboot when file system is dirty ;

Since the VM terminated ; the device should have been umounted ;

** Attachment added: "syslog.onboot"
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1321028/+attachment/4116987/+files/syslog.onboot

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1321028

Title:
  qemu-system-ppc : file  systems are not shutting down clean

Status in QEMU:
  New
Status in “qemu” package in Ubuntu:
  Incomplete

Bug description:

  
  Launching a VM that has been shutdown gracefully ( via init 0)  typically requires fsck to run when it is started ;
  This indications data integrity issues;

  
   The symptom can be seen by observing the fsck running when the VM restarted.

  Install 14-04-LTS to a VM  and the issue can be seen ;


  (trusty)vnc@jade-rev4:/home2/qemu$ cat vm1/go.sh
  mymac="52:54:00:12:34:10"
  T=` echo $mymac | cut -d: -f5,6 | sed s/\://`
  mytap="tap$T"

  
  tunctl  -d $mytap
  tunctl  -t $mytap

   /usr/bin/qemu-system-ppc -M ppce500 -nographic -kernel jade-kernel.bin \
  		-initrd jade-initrd-2.0.bin -m 1G -enable-kvm  \
  		-drive file=jade-ubuntu-14.04.raw,if=virtio \
  		-net nic,vlan=0,macaddr=$mymac \
  		-net tap,vlan=0,ifname=$mytap,script=/usr/local/bin/qemu-ifup \
  		-append "console=ttyS0 ssgyboot=break" \
  	 	-no-shutdown -no-reboot -name `basename $fp`

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qemu-system-ppc 2.0.0~rc1+dfsg-0ubuntu3.1
  ProcVersionSignature: Ubuntu 3.13.0-24.46-powerpc-e500mc 3.13.9
  Uname: Linux 3.13.0-24-powerpc-e500mc ppc
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: powerpc
  Date: Mon May 19 17:01:14 2014
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: qemu
  UpgradeStatus: Upgraded to trusty on 2014-04-29 (20 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1321028/+subscriptions
#4 lore raw
In reply to a message not in the archive

I am thinking since the VM hasn't terminated due to defect 1317603 , qemu-system-ppc has to be terminated with kill <pid> which is not kill -9 ; I could see some inconsistencies with virtio device file not being sync'ed ; but the VM did unmount it;

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1321028

Title:
  qemu-system-ppc : file  systems are not shutting down clean

Status in QEMU:
  New
Status in “qemu” package in Ubuntu:
  Incomplete

Bug description:

  
  Launching a VM that has been shutdown gracefully ( via init 0)  typically requires fsck to run when it is started ;
  This indications data integrity issues;

  
   The symptom can be seen by observing the fsck running when the VM restarted.

  Install 14-04-LTS to a VM  and the issue can be seen ;


  (trusty)vnc@jade-rev4:/home2/qemu$ cat vm1/go.sh
  mymac="52:54:00:12:34:10"
  T=` echo $mymac | cut -d: -f5,6 | sed s/\://`
  mytap="tap$T"

  
  tunctl  -d $mytap
  tunctl  -t $mytap

   /usr/bin/qemu-system-ppc -M ppce500 -nographic -kernel jade-kernel.bin \
  		-initrd jade-initrd-2.0.bin -m 1G -enable-kvm  \
  		-drive file=jade-ubuntu-14.04.raw,if=virtio \
  		-net nic,vlan=0,macaddr=$mymac \
  		-net tap,vlan=0,ifname=$mytap,script=/usr/local/bin/qemu-ifup \
  		-append "console=ttyS0 ssgyboot=break" \
  	 	-no-shutdown -no-reboot -name `basename $fp`

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qemu-system-ppc 2.0.0~rc1+dfsg-0ubuntu3.1
  ProcVersionSignature: Ubuntu 3.13.0-24.46-powerpc-e500mc 3.13.9
  Uname: Linux 3.13.0-24-powerpc-e500mc ppc
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: powerpc
  Date: Mon May 19 17:01:14 2014
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: qemu
  UpgradeStatus: Upgraded to trusty on 2014-04-29 (20 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1321028/+subscriptions
#5 lore raw
In reply to a message not in the archive

** Changed in: qemu (Ubuntu)
Status: Incomplete => New

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1321028

Title:
  qemu-system-ppc : file  systems are not shutting down clean

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  New

Bug description:

  
  Launching a VM that has been shutdown gracefully ( via init 0)  typically requires fsck to run when it is started ;
  This indications data integrity issues;

  
   The symptom can be seen by observing the fsck running when the VM restarted.

  Install 14-04-LTS to a VM  and the issue can be seen ;


  (trusty)vnc@jade-rev4:/home2/qemu$ cat vm1/go.sh
  mymac="52:54:00:12:34:10"
  T=` echo $mymac | cut -d: -f5,6 | sed s/\://`
  mytap="tap$T"

  
  tunctl  -d $mytap
  tunctl  -t $mytap

   /usr/bin/qemu-system-ppc -M ppce500 -nographic -kernel jade-kernel.bin \
  		-initrd jade-initrd-2.0.bin -m 1G -enable-kvm  \
  		-drive file=jade-ubuntu-14.04.raw,if=virtio \
  		-net nic,vlan=0,macaddr=$mymac \
  		-net tap,vlan=0,ifname=$mytap,script=/usr/local/bin/qemu-ifup \
  		-append "console=ttyS0 ssgyboot=break" \
  	 	-no-shutdown -no-reboot -name `basename $fp`

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qemu-system-ppc 2.0.0~rc1+dfsg-0ubuntu3.1
  ProcVersionSignature: Ubuntu 3.13.0-24.46-powerpc-e500mc 3.13.9
  Uname: Linux 3.13.0-24-powerpc-e500mc ppc
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: powerpc
  Date: Mon May 19 17:01:14 2014
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: qemu
  UpgradeStatus: Upgraded to trusty on 2014-04-29 (20 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1321028/+subscriptions
#6 lore raw
In reply to a message not in the archive

*** This bug is a duplicate of bug 1317603 ***

    https://bugs.launchpad.net/bugs/1317603

** This bug has been marked a duplicate of bug 1317603
qemu-system-ppc does not terminate on VM exit

Signature · 59 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1321028

Title:
  qemu-system-ppc : file  systems are not shutting down clean

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  New

Bug description:

  
  Launching a VM that has been shutdown gracefully ( via init 0)  typically requires fsck to run when it is started ;
  This indications data integrity issues;

  
   The symptom can be seen by observing the fsck running when the VM restarted.

  Install 14-04-LTS to a VM  and the issue can be seen ;


  (trusty)vnc@jade-rev4:/home2/qemu$ cat vm1/go.sh
  mymac="52:54:00:12:34:10"
  T=` echo $mymac | cut -d: -f5,6 | sed s/\://`
  mytap="tap$T"

  
  tunctl  -d $mytap
  tunctl  -t $mytap

   /usr/bin/qemu-system-ppc -M ppce500 -nographic -kernel jade-kernel.bin \
  		-initrd jade-initrd-2.0.bin -m 1G -enable-kvm  \
  		-drive file=jade-ubuntu-14.04.raw,if=virtio \
  		-net nic,vlan=0,macaddr=$mymac \
  		-net tap,vlan=0,ifname=$mytap,script=/usr/local/bin/qemu-ifup \
  		-append "console=ttyS0 ssgyboot=break" \
  	 	-no-shutdown -no-reboot -name `basename $fp`

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qemu-system-ppc 2.0.0~rc1+dfsg-0ubuntu3.1
  ProcVersionSignature: Ubuntu 3.13.0-24.46-powerpc-e500mc 3.13.9
  Uname: Linux 3.13.0-24-powerpc-e500mc ppc
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: powerpc
  Date: Mon May 19 17:01:14 2014
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: qemu
  UpgradeStatus: Upgraded to trusty on 2014-04-29 (20 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1321028/+subscriptions