Is it possible to use a PCI card designed for Unix on Windows?

Hello All,

I have a PCI card which works on Unix (RISC - big
end).
When I try to use it on a PC, Win2k never comes up. I
haven’t seen where it’s hung, since I don’t have a
windbg setup ready.

Do you think, it might be a problem related to the
endianness of the system? Anybody aware of PCI cards
working across different endian systems?

Thanks,
Sajeev


Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com

Is the PCI device a bridge device?


Bill McKenzie
Compuware Corporation
http://www.compuware.com/products/driverstudio/

“sajeev sas” wrote in message news:xxxxx@ntdev…
>
> Hello All,
>
> I have a PCI card which works on Unix (RISC - big
> end).
> When I try to use it on a PC, Win2k never comes up. I
> haven’t seen where it’s hung, since I don’t have a
> windbg setup ready.
>
> Do you think, it might be a problem related to the
> endianness of the system? Anybody aware of PCI cards
> working across different endian systems?
>
> Thanks,
> Sajeev
>
>
> ________________________________________________________________________
> Missed your favourite TV serial last night? Try the new, Yahoo! TV.
> visit http://in.tv.yahoo.com
>
>
>

“sajeev sas” wrote in message news:xxxxx@ntdev…
>
> Hello All,
>
> I have a PCI card which works on Unix (RISC - big
> end).
> When I try to use it on a PC, Win2k never comes up. I
> haven’t seen where it’s hung, since I don’t have a
> windbg setup ready.

Can it boot DOS? Do you have PnP OS selected in the BIOS? It should be off
(Non-PnP OS) for all NT derivatives.

> Do you think, it might be a problem related to the
> endianness of the system? Anybody aware of PCI cards
> working across different endian systems?

PCI is a little-endian bus, and the host bridge is responsible for
translating any endian issues, so that’s not it.

Phil

Philip D. Barila
Seagate Technology, LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.

Function 0 is Bridge and Function 1 is a Network
device

— Bill McKenzie
wrote: > Is the PCI device a bridge device?
>
> –
> Bill McKenzie
> Compuware Corporation
> http://www.compuware.com/products/driverstudio/
>
>
>
> “sajeev sas” wrote in message
> news:xxxxx@ntdev…
> >
> > Hello All,
> >
> > I have a PCI card which works on Unix (RISC - big
> > end).
> > When I try to use it on a PC, Win2k never comes
> up. I
> > haven’t seen where it’s hung, since I don’t have a
> > windbg setup ready.
> >
> > Do you think, it might be a problem related to the
> > endianness of the system? Anybody aware of PCI
> cards
> > working across different endian systems?
> >
> > Thanks,
> > Sajeev
> >
> >
> >
>

> > Missed your favourite TV serial last night? Try
> the new, Yahoo! TV.
> > visit http://in.tv.yahoo.com
> >
> >
> >
>
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
xxxxx@lists.osr.com


Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com

> Can it boot DOS? Do you have PnP OS selected in the

BIOS? It should be off
(Non-PnP OS) for all NT derivatives.

Yes, DOS Boots. Here is the output from PCIScan.

Bus 1 (AGP), Device Number 0, Device Function 0
Vendor 103Ch Hewlett-Packard Company
Device 1047h Unknown
Command 0000h (Bus Access Disabled!!)
Status 0280h (Supports Back-To-Back Trans., Medium
Timing)
Revision 05h, Header Type 81h, Bus Latency 40h
Self test 00h (Self test not supported)
Cache line size 32 Bytes (8 DWords)
PCI Class Bridge, type PCI to PCI
PCI Bridge Information:
Primary Bus Number 1, Secondary Bus Number 2,
Subordinate Bus Number 2
Secondary Bus Command 0004h (ISA mapping)
Secondary Bus Status 2280h (Supports Back-To-Back
Trans., Received Master Abort, Medium Timing)
Secondary Bus Latency 40h
I/O Port Range Passed to Secondary Bus : None
Memory Range Passed to Secondary Bus : FFF00000h
to 000FFFFFh

Bus 1 (AGP), Device Number 0, Device Function 1
Vendor 103Ch Hewlett-Packard Company
Device 1047h Unknown
Command 0010h (Bus Access Disabled!!,
MemWrite+Invalidate)
Status 0280h (Supports Back-To-Back Trans., Medium
Timing)
Revision 05h, Header Type 80h, Bus Latency 40h
Self test 00h (Self test not supported)
Cache line size 32 Bytes (8 DWords)
PCI Class Network, type Other
Address 0 is a Memory Address (anywhere in 0-4Gb,
Prefetchable) : ECA00000h

> Do you think, it might be a problem related to the
> endianness of the system? Anybody aware of PCI
cards
> working across different endian systems?

PCI is a little-endian bus, and the host bridge is
responsible for
translating any endian issues, so that’s not it.

Thanks.


Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com

Your question made me to try with a card without
bridge. Win2k boots with it. Is there any caveat with
a bridge device on win2k?

Thanks a lot,
Sajeev

— Bill McKenzie
wrote: > Is the PCI device a bridge device?
>
> –
> Bill McKenzie
> Compuware Corporation
> http://www.compuware.com/products/driverstudio/
>
>
>
> “sajeev sas” wrote in message
> news:xxxxx@ntdev…
> >
> > Hello All,
> >
> > I have a PCI card which works on Unix (RISC - big
> > end).
> > When I try to use it on a PC, Win2k never comes
> up. I
> > haven’t seen where it’s hung, since I don’t have a
> > windbg setup ready.
> >
> > Do you think, it might be a problem related to the
> > endianness of the system? Anybody aware of PCI
> cards
> > working across different endian systems?
> >
> > Thanks,
> > Sajeev
> >
> >
> >
>

> > Missed your favourite TV serial last night? Try
> the new, Yahoo! TV.
> > visit http://in.tv.yahoo.com
> >
> >
> >
>
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
xxxxx@lists.osr.com


Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com

I ask, as Windows would not attempt to load a driver for this device unless
a.) it exposed a VID/DID that Windows recognized (had a driver registered
for), or b.) the device is a bridge device. Windows loads it’s own driver
for PCI bridge devices. If you didn’t have a bridge device, then that would
point fairly clearly to a hardware problem.

As function 0 is a bridge device, the problem is likely there.

At this point, I definitely think a kernel debugger is in order, that will
probably help you nail the source of the problem quickly.

Is your device multifunc compliant, as in does it have separate BARs and
such for the separate functions? If not, it’s very likely that is your
problem. If it does, there are some other issues this could be, some HAL
related. Hook up a debugger and feed us more info.


Bill McKenzie
Compuware Corporation
http://www.compuware.com/products/driverstudio/

“sajeev sas” wrote in message news:xxxxx@ntdev…
>
> Function 0 is Bridge and Function 1 is a Network
> device
>
>
> — Bill McKenzie
> wrote: > Is the PCI device a bridge device?
> >
> > –
> > Bill McKenzie
> > Compuware Corporation
> > http://www.compuware.com/products/driverstudio/
> >
> >
> >
> > “sajeev sas” wrote in message
> > news:xxxxx@ntdev…
> > >
> > > Hello All,
> > >
> > > I have a PCI card which works on Unix (RISC - big
> > > end).
> > > When I try to use it on a PC, Win2k never comes
> > up. I
> > > haven’t seen where it’s hung, since I don’t have a
> > > windbg setup ready.
> > >
> > > Do you think, it might be a problem related to the
> > > endianness of the system? Anybody aware of PCI
> > cards
> > > working across different endian systems?
> > >
> > > Thanks,
> > > Sajeev
> > >
> > >
> > >
> >
>
> > > Missed your favourite TV serial last night? Try
> > the new, Yahoo! TV.
> > > visit http://in.tv.yahoo.com
> > >
> > >
> > >
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
>

> Missed your favourite TV serial last night? Try the new, Yahoo! TV.
> visit http://in.tv.yahoo.com
>
>
>