Bug 6695
Summary: | Dell CERC ATA100/4ch not supported by any driver in 2.6.16 | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Torsten Krah (krah.tm) |
Component: | SCSI | Assignee: | io_scsi |
Status: | CLOSED CODE_FIX | ||
Severity: | low | CC: | bunk, hare, jgarzik, protasnb, sandro.wefel, sumant.patro |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.16 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
patch file
megaraid_mbox-dell-cerc-support |
Description
Torsten Krah
2006-06-15 07:20:20 UTC
Created attachment 9745 [details]
patch file
Still not done - i'll add the patch from the post, maybe someone is going to
integrate this.
I don't see this patch integrated. I suppose you still have this problem with current kernel? Thanks. Yes you guess right. I still patch the kernel everytime with this patch, until someone may integrate this "small" change ;-) Thanks, I merged this into -mm. I never knew this patch existed. Please, submit patches via email in future? It'll probably take some time to get this patch into kernel.org: scsi patches are like that, I'm afraid. Oh ok, i will submit them via email in the future. Thx merging it, i'll can wait that time :-) reopened and rejected. Sumant saye to use the new driver. If we add this ID to the old driver, the two could conflict. Umhhh, i'll take a look at the new driver - but i've tested the new driver once (since the old one did not work before patching it) and the new one didn't work either (did not found the raid array, although this was on 2.6.16 times, maybe something has changed till now). I'll take a look for the new driver this week and will report if it does work or not. Hm - i did not tested it yet, but looking at the new mbox driver code (2.6.22.2) - there is no subsys id 0x0511. I wonder how the megaraid_mbox driver should know, that it should be responsible for this device. Sumant, can you please tell me where this id is already defined? thx. It is there in PCI table definition (megaraid_mbox): { PCI_VENDOR_ID_AMI, PCI_DEVICE_ID_AMI_MEGARAID3, PCI_ANY_ID, PCI_ANY_ID, } Hi. Thx. I tried it a few seconds ago and its still the same like 2.6.16 - the new driver does not find my raid drive. What informations do you need to get involved, as you told this should work with the new one? Its a productive machine and i can only do such things in the evening. I'll reopen the bug until this is fixed, if its okay. Another alternative would be, removing the ID from the new driver and add it to the old one, because the old one works - thoughts? Sumant, seems like the logic is broken somewhere; is it just a matter of adding PCI_SUBSYS_ID_CERC_ATA100 as Torsten mentioned or is it more involved then that? Thanks. No, it's actually handling of the 'random deletion' feature which is different from megaraid and megaraid_mbox. megaraid shifts the target ID for logical values by 0x80 for I/O commands, and megaraid_mbox shifts the target ID for _all_ commands. So the INQUIRY command is being sent to the wrong channel and no devices are detected. Created attachment 13360 [details]
megaraid_mbox-dell-cerc-support
Patch to disable 'random deletion' for Dell CERC with F/W >= 6.62.
Patch works for me, thx. Was this patch submitted? Or was this problem was handled in megaraid some other way? Don't know. I am still using this patch every time i update my kernel. Don't know who should and where to submit this patch. Thought its enough to track it here. fixed by commit 69cd39e94669e2994277a29249b6ef93b088ddbb (will be in 2.6.26) |