pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54310: glib2-2.60.4 breaks qemu



>Number:         54310
>Category:       pkg
>Synopsis:       glib2-2.60.4 breaks qemu
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 19 16:20:01 +0000 2019
>Originator:     Andreas Gustafsson
>Release:        NetBSD 8.0
>Organization:

>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

Booting the NetBSD/sparc64 install ISO under qemu recently
stopped working for me; it hangs after printing the message

  [   7.1407883] wd0 at atabus0 drive 0

My log files showed that the same qemu version hosted on the
same NetBSD version had successfully booted the same NetBSD
version before, so it was not obvious what had changed.  On
a hunch, I tried downgrading the pkgsrc glib2 package, and
things started working.  Specifically:

 glib2-2.56.2nb4   works
 glib2-2.60.4      does not work

>How-To-Repeat:

Install emulators/qemu and its dependencies including glib2-2.60.4
from pkgsrc, and run the following commands:

  wget http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/images/NetBSD-8.99.45-sparc64.iso
  dd if=/dev/zero of=wd0 bs=1024k count=2048
  qemu-system-sparc64 -drive file=wd0,format=raw,media=disk,snapshot=off -nographic -cdrom NetBSD-8.99.45-sparc64.iso -boot d

See that the guest system hangs after printing "wd0 at atabus0 drive 0".
Type ctrl-a c quit <enter> to exit qemu.

Downgrade glib2.  For example, if you have a saved binary package:

   sudo pkg_delete -f glib2
   sudo pkg_add /usr/pkgsrc/packages/All/glib2-2.56.2nb4.tgz

Rerun the qemu-system-sparc64 command and see that the guest system
now sucessfully boots into the installer.  Quit qemu as above.

>Fix:



Home | Main Index | Thread Index | Old Index