Current-Users archive

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

Re: Booting in anita/qemu is broken?



Problem resolved - it's another fallout from PaX MPROTECT.

I'll update qemu's package Makefile shortly.


On Tue, 31 May 2016, Paul Goyette wrote:

With a brand new release build from sources updated on 2016-05-31 at
02:41:35 UTC, and with emulators/qemu-2.6.0 and misc/py27-anita-1.39,
I'm getting the following error when trying to install:

# anita --workdir ./work --disk-size 8G --memory-size 1024M \
? --sets kern-GENERIC,modules,base,comp,etc,misc,text,tests install \
? /build/netbsd-local/release/amd64/
This is anita version 1.39
makefs -t cd9660 -o rockridge ./work/install_tmp.iso ./work/download/
Creating hard disk image... done.
qemu-system-x86_64 -m \
   1024 \
   -drive \
   file=./work/wd0.img,media=disk,snapshot=off \
   -nographic \
   -drive \
   file=./work/download/amd64/installation/cdrom/boot-com.iso,media=cdrom \
   -drive
   file=./work/install_tmp.iso,media=cdrom \
   -boot \
   d
Traceback (most recent call last):
 File "/usr/pkg/bin/anita", line 137, in <module>
   status = main()
 File "/usr/pkg/bin/anita", line 117, in main
   a.install()
 File "/usr/pkg/lib/python2.7/site-packages/anita.py", line 1451, in install
   self._install()
 File "/usr/pkg/lib/python2.7/site-packages/anita.py", line 914, in _install
   "(Installation medium to load the additional utilities from: )|"
 File "/usr/pkg/lib/python2.7/site-packages/anita.py", line 85, in expect
   r = pexpect.spawn.expect(self, pattern, *args, **kwargs)
File "/usr/pkg/lib/python2.7/site-packages/pexpect/__init__.py", line 1410, in expect
   timeout, searchwindowsize)
File "/usr/pkg/lib/python2.7/site-packages/pexpect/__init__.py", line 1425, in expect_list
   timeout, searchwindowsize)
File "/usr/pkg/lib/python2.7/site-packages/pexpect/__init__.py", line 1513, in expect_loop
   raise EOF(str(err) + '\n' + str(self))
pexpect.EOF: End Of File (EOF). Empty string style platform.
<anita.pexpect_spawn_log object at 0x7f293b747bd0>
version: 3.0
command: /usr/pkg/bin/qemu-system-x86_64
args: ['/usr/pkg/bin/qemu-system-x86_64', '-m', '1024', '-drive', 'file=./work/wd0.img,media=disk,snapshot=off', '-nographic', '-drive', 'file=./work/download/amd64/installation/cdrom/boot-com.iso,media=cdrom', '-drive', 'file=./work/install_tmp.iso,media=cdrom', '-boot', 'd']
searcher: <pexpect.searcher_re object at 0x7f293b70d850>
buffer (last 100 chars): ''
before (last 100 chars): ''
after: <class 'pexpect.EOF'>
match: None
match_index: None
exitstatus: None
flag_eof: True
pid: 26310
child_fd: 6
closed: False
timeout: 300
delimiter: <class 'pexpect.EOF'>
logfile: None
logfile_read: <anita.multifile object at 0x7f293bafa990>
logfile_send: <anita.multifile object at 0x7f293b70d7d0>
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 5.0
delayafterterminate: 5.0



+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index