Re: DPT I2O RAID and Linux I2O

2001-05-04 Thread Alan Cox

> 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.

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



RE: DPT I2O RAID and Linux I2O

2001-05-04 Thread Patrick Allaire

> 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 !!!

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



RE: DPT I2O RAID and Linux I2O

2001-05-04 Thread Patrick Allaire

 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 !!!

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: DPT I2O RAID and Linux I2O

2001-05-04 Thread Alan Cox

 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.

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: DPT I2O RAID and Linux I2O

2001-05-02 Thread Alan Cox

> 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 ?


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



RE: DPT I2O RAID and Linux I2O

2001-05-02 Thread Patrick Allaire

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:[EMAIL PROTECTED]]
> Envoye : May 2, 2001 5:19 PM
> A : Patrick Allaire
> Cc : Alan Cox; [EMAIL PROTECTED]
> 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 ?
>
>
>

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



Re: DPT I2O RAID and Linux I2O

2001-05-02 Thread Alan Cox

> 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.

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



RE: DPT I2O RAID and Linux I2O

2001-05-02 Thread Patrick Allaire


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
>
>
>
>

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



RE: DPT I2O RAID and Linux I2O

2001-05-02 Thread Patrick Allaire


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





-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: DPT I2O RAID and Linux I2O

2001-05-02 Thread Alan Cox

 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.

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



RE: DPT I2O RAID and Linux I2O

2001-05-02 Thread Patrick Allaire

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:[EMAIL PROTECTED]]
 Envoye : May 2, 2001 5:19 PM
 A : Patrick Allaire
 Cc : Alan Cox; [EMAIL PROTECTED]
 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 ?




-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: DPT I2O RAID and Linux I2O

2001-05-02 Thread Alan Cox

 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 ?


-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: DPT I2O RAID and Linux I2O

2001-05-01 Thread Alan Cox

> 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



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



RE: DPT I2O RAID and Linux I2O

2001-05-01 Thread Patrick Allaire

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 : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Alan Cox
> Envoye : April 30, 2001 9:22 PM
> A : [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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



Re: DPT I2O RAID and Linux I2O

2001-05-01 Thread Denis Perchine

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 [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
HomePage: http://www.perchine.com/dyp/
FidoNet: 2:5000/120.5
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: DPT I2O RAID and Linux I2O

2001-05-01 Thread Denis Perchine

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 [EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
HomePage: http://www.perchine.com/dyp/
FidoNet: 2:5000/120.5
--
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



RE: DPT I2O RAID and Linux I2O

2001-05-01 Thread Patrick Allaire

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 : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de Alan Cox
 Envoye : April 30, 2001 9:22 PM
 A : [EMAIL PROTECTED]
 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 [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
 Please read the FAQ at  http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: DPT I2O RAID and Linux I2O

2001-05-01 Thread Alan Cox

 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



-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/