Hello,
this problem arose some time ago (cannot recall, which version). But since the VM in question still works fine, i did not shout out. But after many release changes, i began to worry. This is what i can see:
The message appears 2 times (once for SATA2, once for SATA3)
On Sata3, there is an ISO, the disk comes up nicely and i can access the virtual CD just fine.
On Sata2 there is a vdi, that is immutable, meaning, that it gets reset before boot. It is where my swap space resides (swapfile.sys). That one also seems to work as expected.
That leaves me wondering, what may be the cause for the spurious messages emitted on a regular basis. Since the VM gets started by script (to set user/pwd via setcredentials), i also checked manualy booting, but same behavior.
I suppose, some dev could/should have a look into this. I am going to provide a log and a screenshot.
If i could/should add anything else, please notify.
Best regards
DdB
[Solved] unknown device (message before booting)
-
DdB
- Posts: 114
- Joined: 22. May 2010, 23:27
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: many
- Location: Germany
[Solved] unknown device (message before booting)
- Attachments
-
- VBox.log.zip
- logfile
- (26.77 KiB) Downloaded 24 times
Last edited by socratis on 2. Oct 2018, 08:38, edited 2 times in total.
Reason: Marked as [Solved].
Reason: Marked as [Solved].
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: unknown device (message before booting)
Could you please edit your message and replace the VBox.log with its ZIPPED counterpart, VBox.log.ZIP? You should know by now that this process saves a (virtual) tree! 

You should cut back on your snapshots. They tend to be maybe fragile and definitely lower performance if you stick too many on top of each other. You shouldn't be having more that 1 (one) snapshot, and that is mainly for "Undo" purposes. And it definitely doesn't help your "immutable" VDIs, you're just accumulating space on your host. Unused, wasted space.00:00:02.208337 [/Devices/ahci/0/LUN#1/Config/Parent/Parent/Parent/Parent/Parent/] (level 10) 00:00:02.208338 Format <string> = "VDI" (cb=4) 00:00:02.208339 Path <string> = "/mnt/data/vbox/VirtualBox VMs/Hauptmaschinen/Win7 lizensiert/Win7 lizensiert.vdi" (cb=81)
You have extra ports in your SATA controllers, ports that are not used. Lower the "Port Count" in the VM settings « Storage » SATA controller to 4 (four), the number that you actually use. BTW, why do you have two CD/DVDs in your setup? Nothing bad, just out of curiosity...00:00:02.335741 AHCI: LUN#0: CD/DVD 00:00:02.340624 AHCI: LUN#1: disk, PCHS=16383/16/63, total number of sectors 419430400 00:00:02.357410 AHCI: LUN#2: disk, PCHS=12483/16/63, total number of sectors 12582912 00:00:02.360314 AHCI: LUN#3: CD/DVD 00:00:02.360379 AHCI: Port4: No driver attached 00:00:02.360396 AHCI: Port5: No driver attached 00:00:02.360412 AHCI: Port6: No driver attached 00:00:02.360423 AHCI: Port7: No driver attached
Not a developer. Do I count?DdB wrote:I suppose, some dev could/should have a look into this.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
DdB
- Posts: 114
- Joined: 22. May 2010, 23:27
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: many
- Location: Germany
Re: unknown device (message before booting)
Hi socratis,
great work
helpful insights. Thank you!

Thank you, looks like the problem is gone after decreasing the SATA count
great work
donesocratis wrote:Could you please edit your message and replace the VBox.log
Ouch. I am using snaps in very different ways, but made a strong habit of keeping at least 3 very relevant ones in order to be able to rollback depending on the mess i happen to experience. Many snaps are more like comments and do not really have data in their differing image. I am already in the process of moving the comments out to a logfile instead. But i think, i'll stick to using not just one but 3 different important snaps, integrating the earliest one only after creating #4 temporarily.socratis wrote:You should cut back on your snapshots. They tend to be maybe fragile and definitely lower performance if you stick too many on top of each other. You shouldn't be having more that 1 (one) snapshot, and that is mainly for "Undo" purposes. And it definitely doesn't help your "immutable" VDIs, you're just accumulating space on your host. Unused, wasted space.
WOW! That one made all the difference! And this setting really escaped my attention. The time, when i needed the additional disks temporarily is long gone!socratis wrote:You have extra ports in your SATA controllers, ports that are not used. Lower the "Port Count" in the VM settings « Storage » SATA controller to 4 (four), the number that you actually use.
ywc: one software, i use, needs the iso in the machine, the other drive is for convenience, if i have to put in guest additions for example. I am the only user of the VM, so it is really just for convenience of usage.socratis wrote: BTW, why do you have two CD/DVDs in your setup? Nothing bad, just out of curiosity...
sure you dosocratis wrote: Do I count?
Thank you, looks like the problem is gone after decreasing the SATA count
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: unknown device (message before booting)
Glad I could help. Marking as [Solved].DdB wrote:Thank you, looks like the problem is gone after decreasing the SATA count
As long as you realize the potential issues, that's OK with me. As for the performance that I mentioned, you got to realize that VirtualBox needs to seek and read though the whole chain of the snapshots. Take a look at a *draft* about Snapshot basics and understand hopefully a little better how they work. And why they might be potentially fragile if one of the snapshot files gets corrupted (somehow).DdB wrote:made a strong habit of keeping at least 3 very relevant ones in order to be able to rollback
PS. Thank you for replacing your log with its zipped counterpart!
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
DdB
- Posts: 114
- Joined: 22. May 2010, 23:27
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: many
- Location: Germany
Re: unknown device (message before booting) [Solved]
done it myself nowsocratis wrote:Glad I could help. Marking as [Solved].
Being aware that vbox snapshots and zfs snapshots, although the same name, are in fact very different. And i understand, how immutable devices pile up space in the snapshots. But there are advantages also! And those advantages are so strong IMHO that i moved most of my working environment into vm's. Even now, to access the forum, i have a dedicated vm for it. Performance has not yet troubled me too much, i am the only user on all vm's anyway.socratis wrote:As long as you realize the potential issues, that's OK with me. As for the performance that I mentioned, you got to realize that VirtualBox needs to seek and read though the whole chain of the snapshots. Take a look at a *draft* about Snapshot basics and understand hopefully a little better how they work. And why they might be potentially fragile if one of the snapshot files gets corrupted (somehow).
-
DdB
- Posts: 114
- Joined: 22. May 2010, 23:27
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: many
- Location: Germany
Re: [Solved] unknown device (message before booting)
Just an interesting observation: After knowing about this "fix", i noticed another vm, this time a linux vm, with the same message... and guess what: the amount of sata and sas connectors did not match the drive numbers. and after adjusting, the message went away.