* DPT I2O RAID and Linux I2O
@ 2001-05-01 1:22 Alan Cox
2001-05-01 7:29 ` Denis Perchine
2001-05-01 18:34 ` Patrick Allaire
0 siblings, 2 replies; 10+ messages in thread
From: Alan Cox @ 2001-05-01 1:22 UTC (permalink / raw)
To: linux-kernel
A few people have asked about the dpt_i2o driver recently. If you have a DPT
I2O card please try a late 2.4.3-ac kernel. It should now work when you do
'modprobe i2o_scsi'
After a lot of reviewing of the dpt driver I figured out what command was
upsetting the beast and added a workaround for it. I also fixed a pile of
bugs in the drivers that caused failed table queries to corrupt memory
in some cases (the DPT tended to trigger these and so made the box reboot
if you used i2oproc or i2oconfig.
I'd also like to say thanks to DPT (now Adaptec) for supplying me with a card
which meant that in combination with their driver I was eventually able to
figure out the cure.
More feedback from DPT i2o raid card users would be useful
Alan
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: DPT I2O RAID and Linux I2O
2001-05-01 1:22 DPT I2O RAID and Linux I2O Alan Cox
@ 2001-05-01 7:29 ` Denis Perchine
2001-05-01 18:34 ` Patrick Allaire
1 sibling, 0 replies; 10+ messages in thread
From: Denis Perchine @ 2001-05-01 7:29 UTC (permalink / raw)
To: linux-kernel
On Tuesday 01 May 2001 08:22, Alan Cox wrote:
> A few people have asked about the dpt_i2o driver recently. If you have a
> DPT I2O card please try a late 2.4.3-ac kernel. It should now work when you
> do 'modprobe i2o_scsi'
Which cards are you talking about? Is SmartRAID V is in the list?
> After a lot of reviewing of the dpt driver I figured out what command was
> upsetting the beast and added a workaround for it. I also fixed a pile of
> bugs in the drivers that caused failed table queries to corrupt memory
> in some cases (the DPT tended to trigger these and so made the box reboot
> if you used i2oproc or i2oconfig.
>
> I'd also like to say thanks to DPT (now Adaptec) for supplying me with a
> card which meant that in combination with their driver I was eventually
> able to figure out the cure.
>
> More feedback from DPT i2o raid card users would be useful
>
> Alan
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Sincerely Yours,
Denis Perchine
----------------------------------
E-Mail: dyp@perchine.com
HomePage: http://www.perchine.com/dyp/
FidoNet: 2:5000/120.5
----------------------------------
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: DPT I2O RAID and Linux I2O
2001-05-01 1:22 DPT I2O RAID and Linux I2O Alan Cox
2001-05-01 7:29 ` Denis Perchine
@ 2001-05-01 18:34 ` Patrick Allaire
2001-05-01 20:46 ` Alan Cox
1 sibling, 1 reply; 10+ messages in thread
From: Patrick Allaire @ 2001-05-01 18:34 UTC (permalink / raw)
To: Alan Cox, linux-kernel
Hi,
Is this I2O implementation supporting PCI devices ?
Yesterday I post something about that, I have a CompactPCI computer with 2
computers in it. One master and one slave. The slave one, is has a non
transparent pci-to-pci bridge : DEC (INTEL) 21554, wich support I2O
messaging, I want both computer to communicate by this mean, but I cant seam
to be able to make the I2O working, I was trying on 2.2.19 ... but I will
try on 2.4.4. But is there allready a device who is doing this kind of
communication, I would like to look a some code to see how htis I2O is
working. I have looked a some docs, but I didnt find any ... I guess I will
be stuck with reading all the I2O specs from the SIG.
Thank you for your time.
> -----Message d'origine-----
> De : linux-kernel-owner@vger.kernel.org
> [mailto:linux-kernel-owner@vger.kernel.org]De la part de Alan Cox
> Envoye : April 30, 2001 9:22 PM
> A : linux-kernel@vger.kernel.org
> Objet : DPT I2O RAID and Linux I2O
>
>
> A few people have asked about the dpt_i2o driver recently. If you
> have a DPT
> I2O card please try a late 2.4.3-ac kernel. It should now work when you do
> 'modprobe i2o_scsi'
>
> After a lot of reviewing of the dpt driver I figured out what command was
> upsetting the beast and added a workaround for it. I also fixed a pile of
> bugs in the drivers that caused failed table queries to corrupt memory
> in some cases (the DPT tended to trigger these and so made the box reboot
> if you used i2oproc or i2oconfig.
>
> I'd also like to say thanks to DPT (now Adaptec) for supplying me
> with a card
> which meant that in combination with their driver I was eventually able to
> figure out the cure.
>
> More feedback from DPT i2o raid card users would be useful
>
> Alan
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: DPT I2O RAID and Linux I2O
2001-05-01 18:34 ` Patrick Allaire
@ 2001-05-01 20:46 ` Alan Cox
2001-05-02 21:11 ` Patrick Allaire
0 siblings, 1 reply; 10+ messages in thread
From: Alan Cox @ 2001-05-01 20:46 UTC (permalink / raw)
To: Patrick Allaire; +Cc: Alan Cox, linux-kernel
> Is this I2O implementation supporting PCI devices ?
Yes
> Yesterday I post something about that, I have a CompactPCI computer with 2
> computers in it. One master and one slave. The slave one, is has a non
> transparent pci-to-pci bridge : DEC (INTEL) 21554, wich support I2O
> messaging, I want both computer to communicate by this mean, but I cant seam
I2O messaging and I2O protocol are two things. Most sane vendors use I2O
messaging hardware to implement something that looks a little more like a device
control protocol than SNA.
Alan
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: DPT I2O RAID and Linux I2O
2001-05-01 20:46 ` Alan Cox
@ 2001-05-02 21:11 ` Patrick Allaire
2001-05-02 21:19 ` Alan Cox
0 siblings, 1 reply; 10+ messages in thread
From: Patrick Allaire @ 2001-05-02 21:11 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel
If I understand correctly, some vendor would put I2O messaging hardware but
they would use it in a non-standard way ? So, if they dont support the I2O
protocol with their hardware, I will have to do it in another way...
Is there a simple way to find out if my device support I2O protocol ? Maybe
its written in the BAR or in the CSR, but does linux find those devices
automaticly ? or do I have to do it in my module ? If I must do it myself,
do you know any device that is doing something like I do ? so I could look
at the code.
Thank again.
> > Is this I2O implementation supporting PCI devices ?
>
> Yes
>
> > Yesterday I post something about that, I have a CompactPCI
> computer with 2
> > computers in it. One master and one slave. The slave one, is has a non
> > transparent pci-to-pci bridge : DEC (INTEL) 21554, wich support I2O
> > messaging, I want both computer to communicate by this mean,
> but I cant seam
>
> I2O messaging and I2O protocol are two things. Most sane vendors use I2O
> messaging hardware to implement something that looks a little
> more like a device
> control protocol than SNA.
>
> Alan
>
>
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: DPT I2O RAID and Linux I2O
2001-05-02 21:19 ` Alan Cox
@ 2001-05-02 21:18 ` Patrick Allaire
2001-05-02 21:32 ` Alan Cox
0 siblings, 1 reply; 10+ messages in thread
From: Patrick Allaire @ 2001-05-02 21:18 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel
Its a CompactPCI system from Ziatech. We have 2 computers in it. 1 Master
(host) and 1 Slave (local). The master one is a Ziatech 5502 and the slave
is a Ziatech 5541.
The slave computer is isolated from the pci bus with a non-transparent
pci-to-pci bridge : INTEL (DEC) 21554
Basicly I have to transmit data between the host and the local system by the
pci bus.
> -----Message d'origine-----
> De : Alan Cox [mailto:alan@lxorguk.ukuu.org.uk]
> Envoye : May 2, 2001 5:19 PM
> A : Patrick Allaire
> Cc : Alan Cox; linux-kernel@vger.kernel.org
> Objet : Re: DPT I2O RAID and Linux I2O
>
>
> > If I understand correctly, some vendor would put I2O messaging
> hardware but
> > they would use it in a non-standard way ? So, if they dont
> support the I2O
> > protocol with their hardware, I will have to do it in another way...
> >
> > Is there a simple way to find out if my device support I2O
> protocol ? Maybe
> > its written in the BAR or in the CSR, but does linux find those devices
> > automaticly ? or do I have to do it in my module ? If I must do
> it myself,
> > do you know any device that is doing something like I do ? so I
> could look
> > at the code.
>
> If its running as an I2O device, it will be class I2O PCI and
> it'll have about
> 300K+ of firmware (probably vxworks) loaded onto it and a chunk
> of RAM. WHat
> sort of device is this ?
>
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: DPT I2O RAID and Linux I2O
2001-05-02 21:11 ` Patrick Allaire
@ 2001-05-02 21:19 ` Alan Cox
2001-05-02 21:18 ` Patrick Allaire
0 siblings, 1 reply; 10+ messages in thread
From: Alan Cox @ 2001-05-02 21:19 UTC (permalink / raw)
To: Patrick Allaire; +Cc: Alan Cox, linux-kernel
> If I understand correctly, some vendor would put I2O messaging hardware but
> they would use it in a non-standard way ? So, if they dont support the I2O
> protocol with their hardware, I will have to do it in another way...
>
> Is there a simple way to find out if my device support I2O protocol ? Maybe
> its written in the BAR or in the CSR, but does linux find those devices
> automaticly ? or do I have to do it in my module ? If I must do it myself,
> do you know any device that is doing something like I do ? so I could look
> at the code.
If its running as an I2O device, it will be class I2O PCI and it'll have about
300K+ of firmware (probably vxworks) loaded onto it and a chunk of RAM. WHat
sort of device is this ?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: DPT I2O RAID and Linux I2O
2001-05-02 21:18 ` Patrick Allaire
@ 2001-05-02 21:32 ` Alan Cox
2001-05-04 19:19 ` Patrick Allaire
0 siblings, 1 reply; 10+ messages in thread
From: Alan Cox @ 2001-05-02 21:32 UTC (permalink / raw)
To: Patrick Allaire; +Cc: Alan Cox, linux-kernel
> The slave computer is isolated from the pci bus with a non-transparent
> pci-to-pci bridge : INTEL (DEC) 21554
>
> Basicly I have to transmit data between the host and the local system by the
> pci bus.
Ok thats nothing to do with I2O itself. Some hardware has the messaging
layer built into it as the messenger is very simple and stuff like the 21554
are using in I2O controllers.
You might find i2o_pci.c and the i2o_core message passing code interesting
but probably not that much. The I2O 1.5 specification covers the hardware
interface briefly and that bit is worth reading. Ignore the rest.
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: DPT I2O RAID and Linux I2O
2001-05-02 21:32 ` Alan Cox
@ 2001-05-04 19:19 ` Patrick Allaire
2001-05-04 21:45 ` Alan Cox
0 siblings, 1 reply; 10+ messages in thread
From: Patrick Allaire @ 2001-05-04 19:19 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel
> Ok thats nothing to do with I2O itself. Some hardware has the messaging
> layer built into it as the messenger is very simple and stuff
> like the 21554
> are using in I2O controllers.
>
> You might find i2o_pci.c and the i2o_core message passing code interesting
> but probably not that much. The I2O 1.5 specification covers the hardware
> interface briefly and that bit is worth reading. Ignore the rest.
Hi, its me again (c:
First of all, is it supposed to be working with 2.2.19 or should I take a
new 2.4.4-ac kernel for that support ?
Ok, i allready did look at those files (i2o_pci.c i2o_core), but I cant find
were to begin. I was doing i2o_install_controler, and after that i was
trying to do a i2o_pci_enable or i2o_pci_bind,because they are the only
fonction that seem to bind i2o with a pci_dev, but I get unresolved error
with those functions ... if I do a cat /proc/ksyms I dont see them listed
there. After that when I do i2o_delete_control, I receive a segmentation
fault !!! (Those test are done in 2.2.19)
I have built my kernel with i2o support and i2o_pci support !!!
As for the spec, I have the i2o spec 2.0 here. Is it supported ?
When I look at the source from the i2o driver, i find that my module will
have to primary create an handler to respond to the messages, but does the
configuration of the i2o should be done by my module or it is gonna be done
by the functions I cant use right now ? (i2o_pci_enable...)
Thank you very much !!!
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: DPT I2O RAID and Linux I2O
2001-05-04 19:19 ` Patrick Allaire
@ 2001-05-04 21:45 ` Alan Cox
0 siblings, 0 replies; 10+ messages in thread
From: Alan Cox @ 2001-05-04 21:45 UTC (permalink / raw)
To: Patrick Allaire; +Cc: Alan Cox, linux-kernel
> When I look at the source from the i2o driver, i find that my module will
> have to primary create an handler to respond to the messages, but does the
> configuration of the i2o should be done by my module or it is gonna be done
> by the functions I cant use right now ? (i2o_pci_enable...)
You are looking much too high a level. The only stuff the hardware layer itself
does is the message fifo stack.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2001-05-04 21:41 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-01 1:22 DPT I2O RAID and Linux I2O Alan Cox
2001-05-01 7:29 ` Denis Perchine
2001-05-01 18:34 ` Patrick Allaire
2001-05-01 20:46 ` Alan Cox
2001-05-02 21:11 ` Patrick Allaire
2001-05-02 21:19 ` Alan Cox
2001-05-02 21:18 ` Patrick Allaire
2001-05-02 21:32 ` Alan Cox
2001-05-04 19:19 ` Patrick Allaire
2001-05-04 21:45 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox