Thread: [Fault-injection-developer] CPCI hotswap peripheral board simulator
Status: Alpha
Brought to you by:
rustyl
From: Stanley W. <sta...@li...> - 2003-03-07 04:11:48
|
I've completed a mock e100 CPCI peripheral board based on FITH project(http://fault-injection.sourceforge.net/). It would intercept all pci config access and could be used to test CPCI hotswap driver without real hardware support. You could get it @ http://osdn.dl.sourceforge.net/sourceforge/fault-injection/mock_e100.tgz And you could get the FITH's bk tree @ http://fau...@fa.../2.5-fi-extern Enjoys! Stan -- Opinions expressed are those of the author and do not represent Intel Corporation |
From: Greg KH <gr...@kr...> - 2003-03-11 08:08:35
|
On Fri, Mar 07, 2003 at 12:05:45PM +0800, Stanley Wang wrote: > I've completed a mock e100 CPCI peripheral board based on FITH > project(http://fault-injection.sourceforge.net/). It would intercept all > pci config access and could be used to test CPCI hotswap driver without real > hardware support. You say, "Could be used". Does that mean you have used it in such a manner? And does that mean that other pci hotplug drivers could be tested with a modification of this framework? Looks very interesting. thanks, greg k-h |
From: Stanley W. <sta...@li...> - 2003-03-11 08:29:10
|
On Mon, 10 Mar 2003, Greg KH wrote: > On Fri, Mar 07, 2003 at 12:05:45PM +0800, Stanley Wang wrote: > > I've completed a mock e100 CPCI peripheral board based on FITH > > project(http://fault-injection.sourceforge.net/). It would intercept all > > pci config access and could be used to test CPCI hotswap driver without real > > hardware support. > > You say, "Could be used". Does that mean you have used it in such a > manner? And does that mean that other pci hotplug drivers could be > tested with a modification of this framework? Certainly. I could use it to trigger an insertion/extraction event at any time. You could also list this mock peripheral board by "lspci" after it was inserted. I just implement the HotSwap part of the mock peripheral board, and you could let it be any device you want. This simulator is based on FITH. FITH provides ability to intercept and inject faults into any PIO/MMIO access or IRQ handler. Hence we could emulate a real device easily by intercept serval PIO/MMIO/IRQ. Best Regards, Stan -- Opinions expressed are those of the author and do not represent Intel Corporation |
From: Greg KH <gr...@kr...> - 2003-03-11 08:35:39
|
On Tue, Mar 11, 2003 at 04:22:40PM +0800, Stanley Wang wrote: > On Mon, 10 Mar 2003, Greg KH wrote: > > > On Fri, Mar 07, 2003 at 12:05:45PM +0800, Stanley Wang wrote: > > > I've completed a mock e100 CPCI peripheral board based on FITH > > > project(http://fault-injection.sourceforge.net/). It would intercept all > > > pci config access and could be used to test CPCI hotswap driver without real > > > hardware support. > > > > You say, "Could be used". Does that mean you have used it in such a > > manner? And does that mean that other pci hotplug drivers could be > > tested with a modification of this framework? > Certainly. I could use it to trigger an insertion/extraction event at any time. > You could also list this mock peripheral board by "lspci" after it was inserted. > I just implement the HotSwap part of the mock peripheral board, and you could > let it be any device you want. Ah, very nice. > This simulator is based on FITH. FITH provides ability to intercept and > inject faults into any PIO/MMIO access or IRQ handler. Hence we could emulate a > real device easily by intercept serval PIO/MMIO/IRQ. That's pretty cool. We could create up some virtual USB controllers, which control virtual USB devices, to really beat on the USB stack for example, right? Are there any groups writing these kinds of "fake device" drivers? thanks, greg k-h |
From: Louis Z. <lou...@li...> - 2003-03-11 08:40:43
|
Dear Greg, You can find all these stuffs in our BK tree. And more, you can download Stanley's mock e100 in our home page. If you'd like to do, we can help you to write mock USB controller ;-) On Tue, 2003-03-11 at 16:25, Greg KH wrote: > That's pretty cool. We could create up some virtual USB controllers, > which control virtual USB devices, to really beat on the USB stack for > example, right? > > Are there any groups writing these kinds of "fake device" drivers? > > thanks, -- Yours truly, Louis Zhuang --------------- Fault Injection Test Harness Project BK tree: http://fault-injection.bkbits.net/linux-2.5 Home Page: http://sf.net/projects/fault-injection |
From: Stanley W. <sta...@li...> - 2003-03-11 08:44:15
|
On Tue, 11 Mar 2003, Greg KH wrote: > On Tue, Mar 11, 2003 at 04:22:40PM +0800, Stanley Wang wrote: > > On Mon, 10 Mar 2003, Greg KH wrote: > > > > > On Fri, Mar 07, 2003 at 12:05:45PM +0800, Stanley Wang wrote: > > > > I've completed a mock e100 CPCI peripheral board based on FITH > > > > project(http://fault-injection.sourceforge.net/). It would intercept all > > > > pci config access and could be used to test CPCI hotswap driver without real > > > > hardware support. > > > > > > You say, "Could be used". Does that mean you have used it in such a > > > manner? And does that mean that other pci hotplug drivers could be > > > tested with a modification of this framework? > > Certainly. I could use it to trigger an insertion/extraction event at any time. > > You could also list this mock peripheral board by "lspci" after it was inserted. > > I just implement the HotSwap part of the mock peripheral board, and you could > > let it be any device you want. > > Ah, very nice. > > > This simulator is based on FITH. FITH provides ability to intercept and > > inject faults into any PIO/MMIO access or IRQ handler. Hence we could emulate a > > real device easily by intercept serval PIO/MMIO/IRQ. > > That's pretty cool. We could create up some virtual USB controllers, > which control virtual USB devices, to really beat on the USB stack for > example, right? Sure. > Are there any groups writing these kinds of "fake device" drivers? I think FITH's team may do this. FITH's team leader is Louis Zhuang(lou...@in...) Best Regards, Stan -- Opinions expressed are those of the author and do not represent Intel Corporation |