Opened 13 years ago
Last modified 9 years ago
#7736 reopened defect
SATA disks not found after reboot into linux (ICH9 only) — at Version 16
Reported by: | Mike Musterd | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 3.2.10 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description (last modified by )
Situation:
- I have a IDE hdd with a linux installation on it, as well as grub.
- I have a IDE cdrom with an image of windows XP on it.
- I have a SATA hdd with windows XP on it, or nothing
I want to boot the linux OS, which will determine if the windows XP partition is available and has booted correctly. If this is the case, a grub-reboot is issued to boot into windows XP once, otherwise the image is restored onto the HDD. If I reboot from windows XP, the linux OS should do the above again.
On an actual machine, the procedure works without a hitch.
However after a reboot from windows XP to linux (Start | Shut Down... | Restart) the linux suddenly can't find the SATA disks. dmesg has the following lines:
[ 6.166426] ata1.00: qc timeout (cmd 0xec) [ 6.166426] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) [ 6.516437] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 16.517619] ata1.00: qc timeout (cmd 0xec) [ 16.517619] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) [ 16.517619] ata1: limiting SATA link speed to 1.5 Gbps [ 16.866406] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 46.866424] ata1.00: qc timeout (cmd 0xec) [ 46.866424] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) [ 47.216399] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 47.566424] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 52.566425] ata2.00: qc timeout (cmd 0xec) [ 52.566425] ata2.00: failed to IDENTIFY (I/O error, err_mask=0x4) [ 52.916425] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 62.916398] ata2.00: qc timeout (cmd 0xec) [ 62.916398] ata2.00: failed to IDENTIFY (I/O error, err_mask=0x4) [ 62.916398] ata2: limiting SATA link speed to 1.5 Gbps [ 63.266424] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 93.266437] ata2.00: qc timeout (cmd 0xec) [ 93.266437] ata2.00: failed to IDENTIFY (I/O error, err_mask=0x4) [ 93.616439] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
Attached is the full vbox.log and the full dmesg as I have it.
Change History (18)
by , 13 years ago
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:4 by , 12 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This still happens in 4.1.6.
I am currently observing it using a 32bit kernel under a 64bit host system. Tried the variants such as smp kernel, no apic etc.
comment:6 by , 12 years ago
Which host and which guest is that? Do you think this is a regression (did it work with older VirtualBox releases)?
comment:7 by , 12 years ago
Host is amd64. Guest is a Linux 3.1.0 system. I first attemped the install with 4.1.4 which als resulted in this crash.
The strangest thing is that, it think it might be related to the Linux kernel itself. Because an older kernel is in fact booting.
comment:9 by , 12 years ago
Ok this is an interesting situation.
I have just found out that booting an SMP kernel with nosmp basically triggers this. My guess is that any non-smp kernel breaks.
comment:10 by , 12 years ago
Klaus told me on IRC that an image would really help. I have put the OVA file online:
http://stefan.konink.de/contrib/vbox/SATA%20Failure%20with%20nosmp.ova
It is really easy to see, just watch grub.
comment:11 by , 12 years ago
Don't use the ICH9 chipset. It is currently not compatible with the nosmp option. More specifically, if a guest doesn't use the I/O APIC, it's not going to work with ICH9.
comment:12 by , 12 years ago
I am pretty sure I have tried to switch to the other chipset and see the same thing. Are you sure about this?
comment:13 by , 12 years ago
Never mind, I just checked it. Switching Chipset works.
Could you please add a feature requests that explicitly notes the host system should user I/O APIC (and thus SMP) for Linux hosts to run this?
comment:14 by , 12 years ago
Not really... It's a bug in our ICH9 implementation. And the workaround is extremely simple - don't use the ICH9 emulation unless you know for a fact that you need it. There's a reason why it's marked as such in the GUI.
comment:15 by , 12 years ago
Summary: | SATA disks not found after reboot into linux → SATA disks not found after reboot into linux (ICH9 only) |
---|
comment:16 by , 9 years ago
Description: | modified (diff) |
---|
This same problem also affects OS/2 guests in a different and perhaps even less obvious manner (see #13562 for details).
vbox log