Browsing this Thread:
1 Anonymous Users
|
Re: CD/DVD under ahci.device keeps mounting and unmounting
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
Docking station arrived yesterday, unfortunately USB3.0 ports are implemented as a superspeed hub and it only passes through the usb lines to the laptop and in my case there is no xHCI controller on Dell Latitude E6410 -> ports are USB2.0 only...
Good news is that Aros is able to use the serial port for debugging. But the main issue is that ahci.device does not recognise the presence of a disk (cd/dvd) correctly and by looking at the source it is clear why that is. Or is it that clear... Explicit sense request are disabled/not implemented and SCSI_TEST_UNIT_READY always return hard coded success. SCSI_TEST_UNIT_READY is used in the monitor task that should tell if the disk presence has changed. This is not really my cup of tea, better revert my commit.
Posted on: 2015/5/5 7:36
|
|||
|
||||
|
Re: CD/DVD under ahci.device keeps mounting and unmounting
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
I'll wait for the docking station, it will then be a lot easier to see what is happening with my drive.
Posted on: 2015/5/3 9:14
|
|||
|
||||
|
Re: CD/DVD under ahci.device keeps mounting and unmounting
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Should I report your changes for "Week in AROS" as improving the situation (even if a bit) or skip reporting them at the moment?
Posted on: 2015/5/3 6:13
|
|||
|
Krzysztof
"There is no such thing as software for free. If it is not the user who covers the cost of software creation with money, it is the developer who covers this cost with his own free time." www.aros3d.org www.twitter.com/ddeadwood |
||||
|
||||
|
Re: CD/DVD under ahci.device keeps mounting and unmounting
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
While reading on some SCSI-2 manuals it is clear that the commit I made is nowhere near enough or correct. It will take a few days but sometime next week I'll have a docking station for this Dell laptop. It has ordinary serial port for debugging and some USB3.0 ports :)
Posted on: 2015/5/2 23:39
|
|||
|
||||
|
Re: CD/DVD under ahci.device keeps mounting and unmounting
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
Never mind, I had a whack at it myself. Some of the issues still remain, for example one can't eject the cd/dvd (at least when it is the boot device) as Aros does not recognize it again. Same happened with the previous version also.
Usb massstorage class has also a bug decoding the sense data, but I do not have a usb cd/dvd drive so I won't touch that.
Posted on: 2015/5/2 15:05
|
|||
|
||||
|
CD/DVD under ahci.device keeps mounting and unmounting
|
||||
|---|---|---|---|---|
|
Home away from home
![]() |
When CD/DVD is spinned down the drive gets unmounted(or TD_ADDCHANGEINT gets called)
In ahci_cam_aros.c code checks (ahci_PortMonitor) if the device is ready using scsi commands but I assume that when the drive gets spinned down the flag will be set. Spinned down drive is ofcourse not ready but that does not mean the medium has changed. There is a note about querying sense data (TODO) in ahci_cam_aros.c USB mass storage code uses the sense data with hardcoded definitions, but the definitions for sense data can be found in ahci_scsi.h Could someone more knowledgeable take a look? It takes all the pleasure of using Aros when the drive keeps unmounting and mounting.
Posted on: 2015/5/1 8:48
|
|||
|
||||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.





