cptaffe / plan9front

Automatically exported from code.google.com/p/plan9front
0 stars 0 forks source link

9front ISO kernel panics on first install attempt in QEMU #212

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What happened:
I was attempting to perform a fresh install of 9front in QEMU. However, the 
first time that the 9front ISO is booted with a new qcow2 image, it kernel 
panics upon reaching the GUI phase with "panic: divide error". However, on the 
second boot (or any subsequent boot) with the qcow2 image, 9front does not 
panic.

What was expected:
9front shouldn't kernel panic, regardless of whether it's been booted with a 
particular hard drive image before.

Steps to reproduce:
0. Install QEMU (I use Homebrew's bottled QEMU 2.1.2)
1. Download 9front ISO (9front-3853.02ebd469f43a.iso.bz2)
2. Create new QEMU image: `qemu-img create -f qcow2 9front.qcow2.img 20G`.
3. Boot 9front ISO: `qemu-system-i386 -hda 9front.qcow2.img -cdrom 
9front-3853.02ebd469f43a.iso -boot d -vga std -m 1G`
4. Enter console args (local, 1024x768x32, vesa, ps2, etc)
5. 9front will kernel panic.
6. Reboot with `qemu-system-i386 -hda 9front.qcow2.img -cdrom 
9front-3853.02ebd469f43a.iso -boot d -vga std -m 1G`
7. 9front no longer panics.

Original issue reported on code.google.com by alexchan...@gmail.com on 28 Sep 2014 at 12:50

Attachments:

GoogleCodeExporter commented 9 years ago
apparently fixed by cinap in 
https://code.google.com/p/plan9front/source/detail?r=afe936fb2701

you will need to somehow get a new iso. if you can confirm it works we can 
close this issue too.

Original comment by mischief@offblast.org on 28 Sep 2014 at 1:07

GoogleCodeExporter commented 9 years ago
kudos to the quick fix!

I'd build an ISO but I got "abort: case-folding collision between rc/bin/kill 
and rc/bin/Kill" when trying to clone.

Original comment by alexchan...@gmail.com on 28 Sep 2014 at 2:48

GoogleCodeExporter commented 9 years ago
theres no new iso. i just commited the source. it is
most likely a timing problem (fucked up tsc on qemu).
so it probably wont panic every time. once you got
it installed, just run sysupdate and rebuild/install
the new kernel.

Original comment by cinap_le...@felloff.net on 28 Sep 2014 at 4:08

GoogleCodeExporter commented 9 years ago

Original comment by cinap_le...@felloff.net on 29 Sep 2014 at 2:17