Hi Charles,

On 04/15/2016 05:53 PM, Charles HH wrote:
> Hello,
> 
> I'm trying to create a custom Turmvilla-like scenario on my computer,
> but I'm running into a problem similar to the one Nobody III experienced
> (https://sourceforge.net/p/genode/mailman/genode-main/thread/20150601102048.GR9181%40genode-labs.com/#msg34161774)
> : when trying to access a physical hard disk with ahci_drv and part_blk,
> both components are launched, and ahci_drv reports the ATA device
> correctly, but the session is never built (part_blk hangs somewhere in
> the Driver constructor and ahci_drv never executes the _create_session
> function of Root_multiple_clients). The test run script works perfectly
> on Qemu however, and the content of the drive is read correctly. I
> experienced the same issue on my laptop, but I couldn't get any debug
> information because it doesn't have a serial port. Enabling or disabling
> IOMMU didn't affect the outcome.
> Did I miss something or is the hardware I'm using simply unsupported
> (the computer from which the linked logs where obtained is a Dell
> Optiplex 7010 with a c216 chipset) ? Should I open a new issue on the
> GitHub ?
> 
> Regards,

I think most likely the DVD driver (ATAPI) does not come up correctly.
Can you try to disable the drive in the BIOS or use the patched attached
that disables ATAPI support in the AHCI driver? If it works, I will
disable ATAPI support per default in future versions and make it
configurable, since you are not the first where it caused trouble.

Cheers,

Sebastian

-- 
Sebastian Sumpf
Genode Labs

http://www.genode-labs.com · http://genode.org

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth



diff --git a/repos/os/src/drivers/ahci/ahci.cc b/repos/os/src/drivers/ahci/ahci.cc
index 5d88180..c61f789 100644
--- a/repos/os/src/drivers/ahci/ahci.cc
+++ b/repos/os/src/drivers/ahci/ahci.cc
@@ -154,12 +154,13 @@ struct Ahci
 					ready_count++;
 					break;
 
+#if 0
 				case ATAPI_SIG:
 				case ATAPI_SIG_QEMU:
 					ports[i] = new (Genode::env()->heap()) Atapi_driver(port, device_ready);
 					ready_count++;
 					break;
-
+#endif
 				default:
 					PWRN("Device signature %x unsupported", sig);
 			}
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to