During boot I get a: org.jnode.driver.D

Project:JNode Core
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

During boot I get a:

org.jnode.driver.DriverException: Cannot INQUIRY device
at org.jnode.driver.bus.ide.atapi.ATAPIDriver.startDevice

It is actually a timeout exception that i throw from ATAPISCSIDevice.

It is the scsi0 device (cd drive) that it is waiting at.

I tried to raise the timeout limit in the ATAPIDriver.inquiry() method from 5000 to 50000 and then now exception is thrown.

My setup:

- JNode 0.2.2
- VMware
- 512 mb ram
- no fixed cpu speed (notebook)

Investigations

I made some investigations on this bug and found that timeout seems too small.In vmware, with a value of 5000, inquiry command failed but with value of 500000, cdrom are mounted correctly. I don't know if there is an "optimized" value or if it's depend of architecture (cpu,bus speed, etc...).

I have change timeout value to temporary fix this issue. Can i close this issue or need more investigations ?

Fabien L.

#1

Status:active» closed

Added screenshot

#2

the current value is 50000.
since I don't have that error right now, I assume it's fixed.

#3