Sporadic AHCI boot failures
Hi,
I'm running a Win7 VM over AHCI, rebooting quite frequently. Depending on host system load, I'm facing a lot of sporadic boot failures (disk not found), obviously in SeaBIOS. Could it be that some timeout in the init code bites us here? AHCI_LINK_TIMEOUT or AHCI_RESET_TIMEOUT? Just a guess, I haven't debugged this yet.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux
Quoted 7 lines · Jan Kiszka
Hi,
I'm running a Win7 VM over AHCI, rebooting quite frequently. Depending on host system load, I'm facing a lot of sporadic boot failures (disk not found), obviously in SeaBIOS. Could it be that some timeout in the init code bites us here?
AHCI_LINK_TIMEOUTorAHCI_RESET_TIMEOUT? Just a guess, I haven't debugged this yet.
Hm, I'd be surprised if that's the problem.
Do things work again after system_reset on the monitor? Maybe the reset function is just broken and we finish some asynchronous stuff after reset?
Alex
Quoted 12 lines · Alexander Graf
Quoted 7 lines · Jan Kiszka
Hi,
I'm running a Win7 VM over AHCI, rebooting quite frequently. Depending on host system load, I'm facing a lot of sporadic boot failures (disk not found), obviously in SeaBIOS. Could it be that some timeout in the init code bites us here?
AHCI_LINK_TIMEOUTorAHCI_RESET_TIMEOUT? Just a guess, I haven't debugged this yet.
Quoted 3 lines
Hm, I'd be surprised if that's the problem.
Do things work again after
system_reseton the monitor? Maybe the reset function is just broken and we finish some asynchronous stuff after reset?
The problem both occurs after power on as well as reset. Sometimes it takes multiple system_reset calls to get the system booting.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux
Quoted 13 lines · Jan Kiszka
Quoted 12 lines · Alexander Graf
Quoted 7 lines · Jan Kiszka
Hi,
I'm running a Win7 VM over AHCI, rebooting quite frequently. Depending on host system load, I'm facing a lot of sporadic boot failures (disk not found), obviously in SeaBIOS. Could it be that some timeout in the init code bites us here?
AHCI_LINK_TIMEOUTorAHCI_RESET_TIMEOUT? Just a guess, I haven't debugged this yet.
Quoted 6 lines
Quoted 3 lines
Hm, I'd be surprised if that's the problem.
Do things work again after
system_reseton the monitor? Maybe the reset function is just broken and we finish some asynchronous stuff after reset?The problem both occurs after power on as well as reset. Sometimes it takes multiple
system_resetcalls to get the system booting.
Think I found it: There is bug in the new in-kernel PIT userspace code that lets Seabios detect some 4..7 MHz CPU. So all the timeouts finish way too early. This also affects IDE and possible other stuff in the bios that depends on timeouts.
Digging into this...
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux
Quoted 6 lines · Jan Kiszka
Quoted 5 lines
Quoted 2 lines
Do things work again after
system_reseton the monitor? Maybe the reset function is just broken and we finish some asynchronous stuff after reset?The problem both occurs after power on as well as reset. Sometimes it takes multiple
system_resetcalls to get the system booting.
Quoted 7 lines
Think I found it: There is bug in the new in-kernel PIT userspace code that lets Seabios detect some 4..7 MHz CPU. So all the timeouts finish way too early. This also affects IDE and possible other stuff in the bios that depends on timeouts.
Digging into this...
This is probably Yongjie Ren's problem as well.
Signature · 1 line
error compiling committee.c: too many arguments to function