Promise TX4 (PDC40718) hotplug support

2007-06-06 Thread Jan Kasprzak
Hello,

I have a Promise TX4 controller, and I have problems with hotplug. It seems
the controller does not recongnize the drive being hot-removed or hot-plugged.
I need either to reload the sata_promise module, or to do

# echo 1 > /sys/block/sdN/device/delete

to remove the drive, and 

# echo 0 0 0 > /sys/class/scs_host/hostN/scan

to scan for a new drive.

Another box with nVidia CK08 (sata_nv) can recognize the removal and
insertion of the drive as hotplug events (so udev correctly remove and create
the /dev nodes, etc.), so I thought with Promise TX4 it would be the same,
especially as http://linux-ata.org/driver-status.html says about TX2/TX4
the following: "Full SATA control including hotplug and PM on all." 

Is hotplug supported with this controller? Or could this be
a problem with the SATA backplane?

The controller is (lspci):

06:00.0 Mass storage controller: Promise Technology, Inc. PDC40718 (SATA 300 
TX4) (rev 02)

The userland is Fedora Core 6 and Fedora 7, x86_64 (intel CPU), and the
chassis and SATA backplane is Supermicro 743T-645
(http://www.supermicro.com/products/chassis/4U/743/SC743T-645.cfm).

Thanks,

-Yenya

-- 
| Jan "Yenya" Kasprzak   |
| GPG: ID 1024/D3498839  Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/Journal: http://www.fi.muni.cz/~kas/blog/ |
> I will never go to meetings again because I think  face to face meetings <
> are the biggest waste of time you can ever have.--Linus Torvalds <
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Promise TX4 (PDC40718) hotplug support

2007-06-06 Thread Mikael Pettersson
On Wed, 6 Jun 2007 15:51:23 +0200, Jan Kasprzak wrote:
> I have a Promise TX4 controller, and I have problems with hotplug. It seems
> the controller does not recongnize the drive being hot-removed or hot-plugged.
> I need either to reload the sata_promise module, or to do
> 
>   # echo 1 > /sys/block/sdN/device/delete
> 
> to remove the drive, and 
> 
>   # echo 0 0 0 > /sys/class/scs_host/hostN/scan
> 
> to scan for a new drive.
> 
>   Another box with nVidia CK08 (sata_nv) can recognize the removal and
> insertion of the drive as hotplug events (so udev correctly remove and create
> the /dev nodes, etc.), so I thought with Promise TX4 it would be the same,
> especially as http://linux-ata.org/driver-status.html says about TX2/TX4
> the following: "Full SATA control including hotplug and PM on all." 
> 
>   Is hotplug supported with this controller?

The Promise SATA hardware supports hotplug, but the driver
doesn't yet handle it.

It's on my TODO list. (When I get some spare time, sigh.)

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Promise TX4 (PDC40718) hotplug support

2007-06-06 Thread Jan Kasprzak
Mikael Pettersson wrote:
: The Promise SATA hardware supports hotplug, but the driver
: doesn't yet handle it.
: 
: It's on my TODO list. (When I get some spare time, sigh.)

OK, thanks. If you need testing of your code on my
PDC40718, feel free to ask me.

-Yenya

-- 
| Jan "Yenya" Kasprzak   |
| GPG: ID 1024/D3498839  Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/Journal: http://www.fi.muni.cz/~kas/blog/ |
> I will never go to meetings again because I think  face to face meetings <
> are the biggest waste of time you can ever have.--Linus Torvalds <
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html