Lev Serebryakov
2010-Sep-12 20:34 UTC
VBox 3.2.8 & SATA virtual disks & FreeBSD 8.1-STABLE 20100912 -- (virtual) harddisks are not found on boot...
Hello, Freebsd-stable. I have VirtualBox-based FreeBSD 8.1 installation (32 bit, VirtualBox 3.2.8, WinXP/x64 host, but I thinks that host config is irrelevant). Two virtual HDDs are atteched to virtual SATA adapter (channels 0 & 1) and CD/DVD attached to virtual IDE adapter (Primary master). I've used FreeBSD 8.1-STABLE builded about two months ago and everything worked Ok with "Standard" (not AHCI) driver, root FS is ad4s1a. I've updated FreeBSD today (12/09/2010) with csup & buildworld/buildkernel/installworld/installkernel (GENERIC kernel). Nothing was changed in VM config/setup. Now it can not be booted because KERNEL doesn't see any HDDs and can not mount root FS. It shows only "acd0" as "GEOM managed disk device". bootloader sees disk and reads kernel & modules without problems. I've tried to "load ahci" on boot prompt, but result is almost the same. AHCI driver sees two channels, but got timeouts on both -- oops, can not mout root FS again. I've tried to load "vboxdrv" (it is build right after kernel & world, so it should be in-sync), but here is abother fault: kernel panics in "(swapper)" process right after "acd0" detection (wihtout vboxdrv kernel complains about missing root FS exactly at same moment). I've googled this problem, but without any success. What should I do to revive my VM? -- // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Trond Endrestøl
2010-Sep-12 20:45 UTC
VBox 3.2.8 & SATA virtual disks & FreeBSD 8.1-STABLE 20100912 -- (virtual) harddisks are not found on boot...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 13 Sep 2010 00:14+0400, Lev Serebryakov wrote:> I've googled this problem, but without any success. What should I do > to revive my VM?Try using normal IDE controllers unless you really depend on the simulated AHCI controllers. Trond. - -- - ---------------------------------------------------------------------- Trond Endrest?l | Trond.Endrestol@fagskolen.gjovik.no ACM, NAS, NUUG, SAGE, USENIX | FreeBSD 8.1-STABLE & Alpine 2.00 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkyNO/oACgkQbYWZalUoElvo0wCeLvJhlmzl6B1Wr/WbLtE2VFl9 YLkAnRaM4MZX9q9G87qcwU/Yru4gaTDw =V4Zm -----END PGP SIGNATURE-----
Alexander Motin
2010-Sep-13 04:36 UTC
VBox 3.2.8 & SATA virtual disks & FreeBSD 8.1-STABLE 20100912 -- (virtual) harddisks are not found on boot...
Lev Serebryakov wrote:> I have VirtualBox-based FreeBSD 8.1 installation (32 bit, VirtualBox > 3.2.8, WinXP/x64 host, but I thinks that host config is irrelevant). > > Two virtual HDDs are atteched to virtual SATA adapter (channels > 0 & 1) and CD/DVD attached to virtual IDE adapter (Primary master). > > I've used FreeBSD 8.1-STABLE builded about two months ago and > everything worked Ok with "Standard" (not AHCI) driver, root FS is > ad4s1a. > > I've updated FreeBSD today (12/09/2010) with csup & > buildworld/buildkernel/installworld/installkernel (GENERIC kernel). > > Nothing was changed in VM config/setup. > > Now it can not be booted because KERNEL doesn't see any HDDs and > can not mount root FS. It shows only "acd0" as "GEOM managed disk device". > > bootloader sees disk and reads kernel & modules without problems. > > I've tried to "load ahci" on boot prompt, but result is almost the > same. AHCI driver sees two channels, but got timeouts on both -- > oops, can not mout root FS again.If ahci(4) also fails - at least enable verbose boot messages and send me all that ahci(4) reports. -- Alexander Motin
Lev Serebryakov
2010-Sep-13 08:41 UTC
SOLVED: Re: VBox 3.2.8 & SATA virtual disks & FreeBSD 8.1-STABLE 20100912 -- (virtual) harddisks are not found on boot...
Hello, Freebsd-stable. You wrote 13 ???????? 2010 ?., 00:14:31:> I have VirtualBox-based FreeBSD 8.1 installation (32 bit, VirtualBox > 3.2.8, WinXP/x64 host, but I thinks that host config is irrelevant).Sorry for noise, it seems to be VirtualBox instability: I've re-created disks configuration (with exactly the same parameters!) and everything works now. -- // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>