[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Crash on -current on i386 (NOT amd64)
On Dec 5, 3:30pm, paul%vps1.whooppee.com@localhost (Paul Goyette) wrote:
-- Subject: Re: Crash on -current on i386 (NOT amd64)
| > } The same sources were used to create a amd64-current system, and I was
| > } able to install it successfully.
| > }
| > } FWIW, my source tree is time-stamped at "2015-12-05 at 03:08:57 UTC"
| > }
| > } The failure occurs when trying to mount the (qemu-emulated) cd-rom
| > } containing the release files.
| > Try this patch:
| > --- sys/miscfs/specfs/spec_vnops.c.orig 2015-12-04 22:26:43.000000000 -0800
| > +++ sys/miscfs/specfs/spec_vnops.c 2015-12-04 22:28:10.000000000 -0800
| > @@ -668,7 +668,8 @@
| > printf("ioctl DIOCGMEDIASIZE failed %d\n", error);
| > #endif
| > error = (*ioctl)(vp->v_rdev, DIOCGPART, &pi, FREAD, curlwp);
| > - off = (off_t)pi.disklab->d_secsize * pi.part->p_size;
| > + if (error == 0)
| > + off = (off_t)pi.disklab->d_secsize * pi.part->p_size;
| > }
| > if (error == 0)
| I have built a new release with this patch, and sysinst will now
| complete the installation successfully. And the newly installed system
| also boots successfully.
What's the backtrace? Ideally I'd like to remove the DIOCGPART code...
Main Index |
Thread Index |