Anyone used ndis successfully?

2007-02-01 Thread Amarendra Godbole

Hi,

I am trying to convert a ZTE pcmcia card .sys and .inf file to be used
with my IBM T60 notebook, but I hit a segfault in ndiscvt. There are
two problems infact:

1. ndisgen remains in a tight loop, telling me that my .INF file
format is invalid. Upon investigation, I see that there is a default
condition for this in the ndisgen program, so I am not sure how to
break out of it. It might be a bug, I need to investigate it more
before I file a PR for it.

2. I bypassed ndisgen as a result, and used ndiscvt directly instead,
but I get a segfault.
---
[EMAIL PROTECTED] /tmp/pcmcia]# ndiscvt -i ./oxser.inf -s ./oxser.sys

/*
* Generated from ./oxser.inf and ./oxser.sys (49792 bytes)
*/

Segmentation fault: 11 (core dumped)
---

Has anyone used ndis successfully? I would appreciate any tips for
this. That is my primary concern now, because I have to get the card
up _asap_.

Thanks in advance.

Best,
Amarendra
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone used ndis successfully?

2007-02-01 Thread Lord Alabattai

On 2/1/07, Amarendra Godbole [EMAIL PROTECTED] wrote:


Hi,

I am trying to convert a ZTE pcmcia card .sys and .inf file to be used
with my IBM T60 notebook, but I hit a segfault in ndiscvt. There are
two problems infact:

1. ndisgen remains in a tight loop, telling me that my .INF file
format is invalid. Upon investigation, I see that there is a default
condition for this in the ndisgen program, so I am not sure how to
break out of it. It might be a bug, I need to investigate it more
before I file a PR for it.

2. I bypassed ndisgen as a result, and used ndiscvt directly instead,
but I get a segfault.
---
[EMAIL PROTECTED] /tmp/pcmcia]# ndiscvt -i ./oxser.inf -s ./oxser.sys

/*
* Generated from ./oxser.inf and ./oxser.sys (49792 bytes)
*/

Segmentation fault: 11 (core dumped)
---

Has anyone used ndis successfully? I would appreciate any tips for
this. That is my primary concern now, because I have to get the card
up _asap_.

Thanks in advance.

Best,
Amarendra




I am currently using ndis driver, but ndisgen works just fine for me. Are
you sure you've got the right driver files? And what is your FreeBSD
version?

Regards,
Alabattai

--
Better to reign in hell, than to serve in heaven. - John Milton, Paradise
Lost
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone used ndis successfully?

2007-02-01 Thread Amarendra Godbole

On 2/1/07, Lord Alabattai [EMAIL PROTECTED] wrote:

I am currently using ndis driver, but ndisgen works just fine for me. Are
you sure you've got the right driver files? And what is your FreeBSD
version?

[...]

I guess the driver files are correct, since I picked them up from the
CD, and I run FreeBSD 6.2. Thanks for your suggestion though - I will
re-check if the driver files are correct.

Best,
Amarendra
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone used ndis successfully?

2007-02-01 Thread Lord Alabattai

On 2/1/07, Amarendra Godbole [EMAIL PROTECTED] wrote:


I guess the driver files are correct, since I picked them up from the
CD, and I run FreeBSD 6.2. Thanks for your suggestion though - I will
re-check if the driver files are correct.



With some drivers I also had a strange problem. Win98 driver didn't work,
while WinXP driver was ok. With another cart the Win98 driver was ok, and
WinXP was not. Try using a different driver version.

Regards,
Alabattai

--
Better to reign in hell, than to serve in heaven. - John Milton, Paradise
Lost
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone used ndis successfully?

2007-02-01 Thread Thomas Sparrevohn


On 1 Feb 2007, at 11:30, Lord Alabattai wrote:

Did you try with ndisgen instead?


On 2/1/07, Amarendra Godbole [EMAIL PROTECTED] wrote:


I guess the driver files are correct, since I picked them up from the
CD, and I run FreeBSD 6.2. Thanks for your suggestion though - I will
re-check if the driver files are correct.



With some drivers I also had a strange problem. Win98 driver didn't  
work,
while WinXP driver was ok. With another cart the Win98 driver was  
ok, and

WinXP was not. Try using a different driver version.

Regards,
Alabattai

--
Better to reign in hell, than to serve in heaven. - John Milton,  
Paradise

Lost
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone used ndis successfully?

2007-02-01 Thread Szilveszter Adam
Hello,

Yes I have used ndisgen successfully recently (and even in front of
running TV cameras, which according to Murphy really should tickle all
possible bugs :-) with a Ralink wifi card (yes, a native driver exists,
but this was in a TV show and my only point was to demonstrate the
functionality of ndisgen) and -CURRENT.

Your problem may be related to the fact that the .INF file is either not
ASCII coded (but maybe UTF-8) (you can verify this with file(1)) or
contains garbage somewhere, like a spurious character or a newline or
whatnot that the Windows parser does not trip upon but the ndis one
does. You may need to try around a bit. Also, you may want to search the
website of the card manufacturer to see if they have a more recent
version of the driver or try drivers for various Windows versions.

Hope these tips help somewhat :-)
-- 
Regards:

Szilveszter ADAM
Budapest
Hungary
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]