Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2020 06:06:03 +0300
From:      Ruslan Suleimanov <rs@paket.ua>
To:        freebsd-virtualization-owner@freebsd.org
Subject:   [Moderators] Problem in FreeBSD 12.1 RELEASE with SCSI on Oracle Cloud
Message-ID:  <CAK-t%2B9N3odvEkBm4-OJYpw%2BAKeO2Lc-cNkH8pPP90yVB6sVHSQ@mail.gmail.com>
Resent-Message-ID: <20200624041412.GP89027@fc.opsec.eu>

next in thread | raw e-mail | index | archive | help
Hello All,

panic: mountroot: unable to (re-)mount root.
cpuid = 1
time = 20366
KDB: stack backtrace:
#0 0xffffffff80c1d297 at kdb_backtrace+0x67
#1 0xffffffff80bd05cd at vpanic+0x19d
#2 0xffffffff80bd0423 at panic+0x43
#3 0xffffffff80c9c690 at sysctl_vfs_root_mount_hold+0
#4 0xffffffff80b67d27 at start_init+0x27
#5 0xffffffff80b90c23 at fork_exit+0x83
#6 0xffffffff81082a4e at fork_trampoline+0xe
Uptime: 5h39m26s
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...
----

And after rebooting:

--- cut ----
pass0: <QEMU QEMU TARGET 2.5> Fixed Uninstalled SPC-3 SCSI device (offline)
pass0: 0KB/s transfers
pass0: Command Queueing enabled
uhub0: 2 ports with 2 removable, self powered
Trying to mount root from ufs:/dev/gpt/rootfs [rw]...
(da0:vtscsi0:0:0:1): READ(6). CDB: 08 00 00 01 01 00
(da0:vtscsi0:0:0:1): CAM status: SCSI Status Error
(da0:vtscsi0:0:0:1): SCSI status: Check Condition
(da0:vtscsi0:0:0:1): Retrying command (per sense data)
(da0:vtscsi0:0:0:1): READ(6). CDB: 08 00 00 01 01 00
(da0:vtscsi0:0:0:1): CAM status: SCSI Status Error
(da0:vtscsi0:0:0:1): SCSI status: Check Condition
(da0:vtscsi0:0:0:1): Retrying command (per sense data)
(da0:vtscsi0:0:0:1): READ(6). CDB: 08 00 00 01 01 00
(da0:vtscsi0:0:0:1): CAM status: SCSI Status Error
(da0:vtscsi0:0:0:1): SCSI status: Check Condition
(da0:vtscsi0:0:0:1): Retrying command (per sense data)
(da0:vtscsi0:0:0:1): READ(6). CDB: 08 00 00 01 01 00
(da0:vtscsi0:0:0:1): CAM status: SCSI Status Error
(da0:vtscsi0:0:0:1): SCSI status: Check Condition
(da0:vtscsi0:0:0:1): Retrying command (per sense data)
(da0:vtscsi0:0:0:1): READ(6). CDB: 08 00 00 01 01 00
(da0:vtscsi0:0:0:1): CAM status: SCSI Status Error
(da0:vtscsi0:0:0:1): SCSI status: Check Condition
(da0:vtscsi0:0:0:1): Error 5, Retries exhausted
(da0:vtscsi0:0:0:1): READ(6). CDB: 08 00 00 00 01 00
(da0:vtscsi0:0:0:1): CAM status: SCSI Status Error
(da0:vtscsi0:0:0:1): SCSI status: Check Condition
(da0:vtscsi0:0:0:1): Retrying command (per sense data)
(da0:vtscsi0:0:0:1): READ(6). CDB: 08 00 00 00 01 00
(da0:vtscsi0:0:0:1): CAM status: SCSI Status Error
(da0:vtscsi0:0:0:1): SCSI status: Check Condition
(da0:vtscsi0:0:0:1): Retrying command (per sense data)
(da0:vtscsi0:0:0:1): READ(6). CDB: 08 00 00 00 01 00
(da0:vtscsi0:0:0:1): CAM status: SCSI Status Error
(da0:vtscsi0:0:0:1): SCSI status: Check Condition
(da0:vtscsi0:0:0:1): Retrying command (per sense data)
(da0:vtscsi0:0:0:1): READ(6). CDB: 08 00 00 00 01 00
(da0:vtscsi0:0:0:1): CAM status: SCSI Status Error
(da0:vtscsi0:0:0:1): SCSI status: Check Condition
(da0:vtscsi0:0:0:1): Retrying command (per sense data)
(da0:vtscsi0:0:0:1): READ(6). CDB: 08 00 00 00 01 00
(da0:vtscsi0:0:0:1): CAM status: SCSI Status Error
(da0:vtscsi0:0:0:1): SCSI status: Check Condition
(da0:vtscsi0:0:0:1): Error 5, Retries exhausted
(da0:vtscsi0:0:0:1): READ(6). CDB: 08 00 00 00 01 00

--- cut --

mountroot: waiting for device /dev/gpt/rootfs...
Mounting from ufs:/dev/gpt/rootfs failed with error 19.

Loader variables:
vfs.root.mountfrom=ufs:/dev/gpt/rootfs
vfs.root.mountfrom.options=rw

Manual root filesystem specification:
<fstype>:<device> [options]
Mount <device> using filesystem <fstype>
and with the specified (optional) option list.

eg. ufs:/dev/da0s1a
zfs:zroot/ROOT/default
cd9660:/dev/cd0 ro
(which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)

? List valid disk boot devices
. Yield 1 second (for background tasks)
<empty line> Abort manual input

mountroot>

----

I tried mount: ufs:/dev/da0  or ufs:/dev/da0s1a but system go to
rebooting...

Maybe need in default virtual machine FreeBSD enable SCSI ? Please advise.

----

Configuration FreeBSD 12.1 RELEASE default from
ftp://freebsd.paket.ua/pub/FreeBSD/releases/VM-IMAGES/12.1-RELEASE/amd64/Latest/FreeBSD-12.1-RELEASE-amd64.qcow2.xz


WBR Ruslan.
_______________________________________________
moderators@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/moderators
To unsubscribe, send any mail to "moderators-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK-t%2B9N3odvEkBm4-OJYpw%2BAKeO2Lc-cNkH8pPP90yVB6sVHSQ>