
Hi,

Welcome to the OS/2 Device Driver Programming mailing list.

This mailing list is for people interested in the development and programming of OS/2 device drivers. It is not a list for learning where certain drivers can be obtained - there are other resources for that. It is also not a list for help with driver installation, unless you're trying to install a driver that you've written. 

In general, you should only post questions to the list if it will help you write a device driver or write an application that talks to a device driver.

If you have not done so already, please visit the main web page at http://tabi.org/timur/os2pdd.html.  There, you will find lots of resources for OS/2 driver programmers.
 


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 

 





__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Hi/2, all.

I'm looking for sources of IFS driver, especially CDFS.IFS.

Although I'd look into DDK site of IBM, but I could not find any
driver sources related to IFS driver. Of course, there were sources of
any other drivers.

I'm sorry that I post this article on this group.

          from KO Myung-Hun...



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

On Sat, 09 Feb 2002 17:10:15 -0000, lvzuufx wrote:

>I'm looking for sources of IFS driver, especially CDFS.IFS.

 There are some sources for IFS drivers on hobbes (Ramf, ext2), try also looking for 
HFS and VFAT as they're also availale. Regarding CDFS - would you tell me, why do 
you want it? (Maybe I will help you...)



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

On Sun, Feb 10, 2002 at 08:29:46AM +0100, Bartosz Tomasik (Bart/2) wrote:
> On Sat, 09 Feb 2002 17:10:15 -0000, lvzuufx wrote:
> 
> >I'm looking for sources of IFS driver, especially CDFS.IFS.
> 
>  There are some sources for IFS drivers on hobbes (Ramf, ext2), try also looking for 
> HFS and VFAT as they're also availale. Regarding CDFS - would you tell me, why do 
> you want it? (Maybe I will help you...)


If anyone is writing an alternative IFS for CDs I'd like to have a couple  
of new features :-)...

Firstly I would like to mount all CD-ROMs under a single drive letter.

Secondly, I would like to provide a large disk based cache (5GB or so) to 
speed up access.


Are either of these features feasible?

> 
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
> 


-- 
John



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Sun, 10 Feb 2002 15:31:55 +0000, John Poltorak wrote:

>If anyone is writing an alternative IFS for CDs I'd like to have a couple  
>of new features :-)...
>
>Firstly I would like to mount all CD-ROMs under a single drive letter.

There is ndfs.ifs + ndpiso plugin which is capable to do this.
                                                     Faithfully Yours, Nick



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

--- In os2ddprog@y..., "Bartosz Tomasik (Bart/2)" <bart2@t...> wrote:
>  There are some sources for IFS drivers on hobbes (Ramf, ext2), try 
also looking for 
> HFS and VFAT as they're also availale. 

Yes, I know those, too. ^^

>Regarding CDFS - would you tell me, why do 
> you want it? (Maybe I will help you...)

Because of Joliet support. Until now, CDFS.IFS supports only SBCS 
Joliet format. So, Joliet name is made up of DBCS is not supported. 
Those name is replaced with underline, '_'.

So, I want to patch it.

There are not sources of IFS driver on IBM DDK site ?

          from KO Myung-Hun...



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Sun, Feb 10, 2002 at 10:11:55PM +0300, nick wrote:
> On Sun, 10 Feb 2002 15:31:55 +0000, John Poltorak wrote:
> 
> >If anyone is writing an alternative IFS for CDs I'd like to have a couple  
> >of new features :-)...
> >
> >Firstly I would like to mount all CD-ROMs under a single drive letter.
> 
> There is ndfs.ifs + ndpiso plugin which is capable to do this.

I suspect you mean that all *existing* CD-ROM drive letters can be 
remapped under a single drive letter. If this is so, that isn't what I 
want since I could achieve this with TVFS. What I am looking for is the 
use of a single drive letter for multiple CD-ROM drives instead of one for 
each, ie. something like JFS for spanning multiple devices.


I believe Pegasus provide an optical file system which does something akin 
to what I want, but that is pretty expensive and the price depends on the 
number of CD-ROM drives used.

>                                                      Faithfully Yours, Nick
> 


-- 
John



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши

Hi all!

First, about VHAllocMem. Are it allocate memory 
from GSR? I need to allocate some megabytes of 
memory from GRADD to store contents of VRAM when 
PM walk to background. Can I use VHAllocMem for 
this deal? Or, how this can be done by another way?

Second, about GreDeath and GHI_CMD_EVENT. Are 
EVENT_BACKGROUND produced by issuing GreDeath? 
Or this have no direct relation?


Regards,
Valery



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Mon, 11 Feb 2002 15:36:17 -0000, gaynullin wrote:

>First, about VHAllocMem. Are it allocate memory 
>from GSR? I need to allocate some megabytes of 
>memory from GRADD to store contents of VRAM when 
>PM walk to background. Can I use VHAllocMem for 
>this deal? Or, how this can be done by another way?
>
 Don't allocate megabytes of memory. That's 
the solution :-)  You don't need it. You're not 
supposed to save PM memory when switching away.

>Second, about GreDeath and GHI_CMD_EVENT. Are 
>EVENT_BACKGROUND produced by issuing GreDeath? 
>Or this have no direct relation?
>
 I am not sure if the relation is 1:1 but I think 
it is. GreDeath will certainly result in the GRADDs 
getting GHI_CMD_EVENT.


     - Mike



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru


Valery Gaynullin wrote:
> First, about VHAllocMem. Are it allocate memory
> from GSR? I need to allocate some megabytes of
> memory from GRADD to store contents of VRAM when
> PM walk to background. Can I use VHAllocMem for
> this deal? Or, how this can be done by another way?

The VMAN helper VHAllocMem uses the SSAllocMem() function
provided by GRE (see DDK "Presentation Device Driver Ref").
This allocates shared storage, but not from the GSR.  The
GRE ensures all processes that attach to the GRE have
access to this shared memory.

Why do you need to save VRAM contents when PM goes to
background?  PM applications repaint when PM returns
to the foreground.

> Second, about GreDeath and GHI_CMD_EVENT. Are
> EVENT_BACKGROUND produced by issuing GreDeath?
> Or this have no direct relation?

They are directly related.  GRE2VMAN hooks GreDeath
and GreResurrection.  When GreDeath is invoked,
GRE2VMAN broadcasts GHI_CMD_EVENT for EVENT_BACKGROUND.
When GreResurrection is invoked, GRE2VMAN broadcasts
GHI_CMD_EVENT for EVENT_FOREGROUND and then uses
GHI_CMD_SETMODE to restore the desktop video mode...

...Ron Capelli   (Austin, TX)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши

Hello,

        Just wondering - is it possible to prototype a function in Watcom C
that represents a 16 bit entry point from a 32 bit segment (in this case PDD
from VDD) that can be called directly without the use of an assembler stub?
It seems that unless I missed something Watcom's 16-bit compiler does not
support the _far32 modifier on function types. Can this be done?

        John.

 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Mon, 11 Feb 2002 22:26:42 GMT, Dr J A Gow wrote:

>        Just wondering - is it possible to prototype a function in Watcom C
>that represents a 16 bit entry point from a 32 bit segment (in this case PDD
>from VDD) that can be called directly without the use of an assembler stub?
>It seems that unless I missed something Watcom's 16-bit compiler does not
>support the _far32 modifier on function types. Can this be done?
>
 Why should a 16-bit compiler support a _Far32 modifier? 

 Anyway maybe it can be done if I understand exactly what you want to 
do: do you want to call a 16-bit function from 32-bit code or the other 
way round?

 Watcom does support calls between 16-bit and 32-bit code but the 
calls are handled by thunks in the C runtime. Those are highly 
unlikely to work for device drivers. If the function you want to call 
takes any parameters, I don't see how you could call it withoug going 
through some sort of thunk. 


       - Mike



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

--- In os2ddprog@y..., "Michal Necasek" 
<MichalN@s...> wrote:
>  Don't allocate megabytes of memory. That's 
> the solution :-)  You don't need it. You're not 
> supposed to save PM memory when switching away.

I am do not want to save PM desktop :) I want to 
save contents of offscreen VRAM, allocated by 
EnDIVE clients (as example). You can see same task 
in S3GRADD sources... I just worryed about amount 
of memory (thanks to Ronald Capelli, who describe 
details) - S3GRADD was writed for cards, which can 
have 2-4MB onboard VRAM. Today you can see 128MB 
cards on the market...

Regards,
Valery


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

> This allocates shared storage, but not from the 
GSR.  The
> GRE ensures all processes that attach to the GRE 
have
> access to this shared memory.
Thanks, this is very fine.

> 
> Why do you need to save VRAM contents when PM 
goes to
> background?  PM applications repaint when PM 
returns
> to the foreground.
I try to implement VRAM manager for GRADDs, which 
does not support GHI_CMD_VRAM (MGAGRADD and SDD).
I need to swap out contents of allocated chunks of 
VRAM when PM goes to background or fullscreen DIVE 
application started.

Regards,
Valery


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...


Hello can somebody help me i'm currently making a vncd server for os/2 to do
this
a need 2 thinks

i must be able to inject mouse and keyboard event on a os/2 machine
i must be able to trap video change (without using a poling method).

In the toolkit 4.5 there is a hook called MsgInputHook that permit to
simualted user input
keyboard or mouse  as they were generated by the mouse or the keyboad driver
Is there somebody that has a sample of code using this hook? (I've samples to
use others hook please
send just a piece of code for the MsgInputHook).
Another way is to perform a idc call to mouse and keyboard driver does
somebody have a sample to inject
mouse and keyboard event with idc
In the display device driver reference IBM is speaking about DCAF support in
display driver
Same request does somebody have a piece a of code using this functions


                            Many thanks

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru
** Reply to note from "Michal Necasek" <MichalN@scitechsoft.com> Mon, 11 Feb 2002 15:01:25 -0800 (PST)

>  Why should a 16-bit compiler support a _Far32 modifier? 

Only so one can prototype a function that is resident in a 32-bit code, then
call into it from 16-bit code. As in PDD-VDD IDC....

>   
>  Anyway maybe it can be done if I understand exactly what you want to 
> do: do you want to call a 16-bit function from 32-bit code or the other 
> way round?

16-32 bit

>   
>  Watcom does support calls between 16-bit and 32-bit code but the 
> calls are handled by thunks in the C runtime. Those are highly 
> unlikely to work for device drivers. If the function you want to call 
> takes any parameters, I don't see how you could call it withoug going 
> through some sort of thunk. 
>   

I realize this, that's why in the past I wrote thunks. This time the
parameters are not pointers and are of no concern, just correct generation of
the call (call fword ptr <function>). I just wondered if there was a more
elegant way of doing this, especially to define a prototype for a function
(effectively a _far32 function) in an include file which may be used in both
16 and 32 bit code.

        John.

 

 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

On Tue, 12 Feb 2002 19:22:51 GMT, Dr J A Gow wrote:

>>  Anyway maybe it can be done if I understand exactly what you want to 
>> do: do you want to call a 16-bit function from 32-bit code or the other 
>> way round?
>
>16-32 bit
>
 I thought the VDD would be calling the PDD and not the other way 
round? But I guess you might need it both ways...

>I realize this, that's why in the past I wrote thunks. This time the
>parameters are not pointers and are of no concern, 
>
 But just because the parameters aren't pointers doesn't mean you don't 
have to thunk them. You're pushing WORDs in 16-bit code and 
the 32-bit code works with DWORDs...

>just correct generation of
>the call (call fword ptr <function>). I just wondered if there was a more
>elegant way of doing this, especially to define a prototype for a function
>(effectively a _far32 function) in an include file which may be used in both
>16 and 32 bit code.
>
 If there is a way, I can't see it. 

 For user mode OS/2 apps, the 32-bit code can declare a function 
as _Seg16 and the compiler will generate the appropriate 16-bit 
callable thunk that will call the 32-bit implementation.

 I see very limited usefulness for having the compiler generate 
direct 16->32bit calls - simply because in most cases it won't 
work without additional preparations (parameter thunking, stack 
switching, whatever). 


     - Mike



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

** Reply to note from "Michal Necasek" <MichalN@scitechsoft.com> Tue, 12 Feb 2002 13:18:19 -0800 (PST)
>   
> >I realize this, that's why in the past I wrote thunks. This time the
> >parameters are not pointers and are of no concern, 
> >
>  But just because the parameters aren't pointers doesn't mean you don't 
> have to thunk them. You're pushing WORDs in 16-bit code and 
> the 32-bit code works with DWORDs...

No - I push DWORDS (2x16 bit push) in 16 bit - then the 32-bit code can
reference the DWORD directly when it goes to look on the stack (using asm
stubs at the moment). I was simply wondering if there was any compiler
feature I could use to lose the stubs. It seems not...

>   
> >just correct generation of
> >the call (call fword ptr <function>). I just wondered if there was a more
> >elegant way of doing this, especially to define a prototype for a function
> >(effectively a _far32 function) in an include file which may be used in both
> >16 and 32 bit code.
> >
>  If there is a way, I can't see it. 

Hmm. I guess I'll have to create two include files, one for the 16 bit and
one for the 32-bit sections. Ok, but not as elegant as I had hoped...

Thanks for the info.

        John.
 

 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

I think it can be done - there will be a munge though as there
will be ASM 
code necessary before the return no matter what as you gotta have
the db 66h
to override the operand size on the return.

Focusing on VDD call into PDD.

The calling conventions are defined by the OS.  
   16:32 far, pascal, 3 ULONG parameters (ulFunc, ul1, ul2)
   returns a ULONG in EAX.  

Normally, this places the parameters on the stack at
   DWORD PTR [bp+18]       ; ulFunc
   DWORD PTR [bp+14]       ; ul1
   DWORD PTR [bp+10]       ; ul2
Below here, two bytes for save of SP and 8 bytes for 16:32 return
address

When skipping an ASM thunk layer, PDD C code will not have the
correct stack frame
as the compiler will believe the caller pushed cs:ip rather than
cs:eip.

I think you can fix it by adding a bogus ULONG.  e.g.

   ULONG _far _pascal idcEntryVDD (ULONG ulFunc, ULONG ul1, ULONG
ul2, ULONG ulBogus);

Okay - you can be called - the trick however is getting home.
Must have asm code to issue the "db 66h".  Otherwise you're
toast.

Possible answer: (Using Watcom, define this "function")
void PDDRetToVDD (ULONG ulRC);
#pragma aux PDDRetToVDD aborts = \
   "and     eax, 0000FFFFh" \
   "shl     edx, 16" \
   "or      eax, edx" \
   "leave" \
   "db 66h" \
   "ret 12" \
   parm [dx ax] \
   modify nomemory exact [];

To do this right, you should also force a "pushad" and "popad" at
entry/exit.

The whole thing breaks down to 
   ULONG _far _pascal idcEntryVDD (ULONG ulFunc, ULONG ul1, ULONG
ul2, ULONG ulBogus)
   {
      ULONG ulRC;

      pushad();
      ulRC = 0;
      switch (ulFunc)
      {
      ...
      }

      popad();
      PDDRetToVDD (ulRC);
   }

Will it work - probably - is it cleaner than using the ASM file
with explicit thunk? nope.
A good puzzle though.   Disclaimer ( I haven't tried it )

-Joe Nord

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Wed, 13 Feb 2002 09:43:26 -0600, Nord, Joe wrote:

>Will it work - probably - is it cleaner than using the ASM file
>with explicit thunk? nope.
>
 That's exactly what I think - it perhaps can be done but it will 
be more complicated than assembly code :-)


     - Mike



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru


    Hi,

 I have a harddrive that needs the very exotic IBM2HDSK.ADD 
device driver. I have the actual ADD but I would be very 
interested in seeing its source code. Does anyone have an 
idea if and where the source might be found? Any information 
will be highly appreciated.


     - Mike



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

I thought that all "IBM2*.*" drivers were for MCA (Microchannel)
architecture
devices??

Are you sure it is a hard disk, or an mca hard disk controller?

Regards
Fernando

Michal Necasek wrote:

>  I have a harddrive that needs the very exotic IBM2HDSK.ADD
> device driver. I have the actual ADD but I would be very
> interested in seeing its source code. Does anyone have an
> idea if and where the source might be found? Any information
> will be highly appreciated.
>
>      - Mike

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Wed, 13 Feb 2002 15:35:21 -0300, Fernando Cassia wrote:

>I thought that all "IBM2*.*" drivers were for MCA (Microchannel)
>architecture devices??
>
 Yes.

>Are you sure it is a hard disk, or an mca hard disk controller?
>
 Well, actually it appears to be a hard disk with built in 
controller. It is a 340MB disk for ThinkPad 720C to be exact.

 I know that the harddrives that these ThinkPads originally came 
with (120MB and 160MB) used different controllers and different 
drivers (regular IBM2ADSK).


    - Mike



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

Hi,

you have not heard anything for me since my initial introduction,
sorry for that. I could not find the time to do any programming so far
:-( (shame on me) but since I received my eCS I'm "hot" again :-)

the problem is that my new motherboard is hardy supported, but nVidia
just released linux driver and source. The board is a MSI K7n420pro
with nForce chipset from nVidia. it has builtin lan, audio, etc.

I probably ask for something impossible, but could you give an
estimation if it is difficult to "port" the linux drivers?
(http://www.nvidia.com/view.asp?IO=nforce_linux_v1.0-0233)

Thanks a lot!

Andreas Ebbert



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Thu, 14 Feb 2002 09:12:00 -0000, skyscrap wrote:

>the problem is that my new motherboard is hardy supported, but nVidia
>just released linux driver and source. The board is a MSI K7n420pro
>with nForce chipset from nVidia. it has builtin lan, audio, etc.

The so called "nVidia Linux sources" contain support for audio and lan
only. The lan part consists of an object file with platform dependent
wrappers in source code. Thus only the audio part is available as
source which is no wonder because the hardware is basically the same as
the Intel ICH, just different PCI Ids (the same is true for the latest
SiS audio controllers, btw).

Ciao,
  Dani

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniela Engert, systems engineer at MEDAV GmbH
Gr fenberger Str. 34, 91080 Uttenreuth, Germany
Phone ++49-9131-583-348, Fax ++49-9131-583-11



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
                                                ... http://www.newhost.ru -                 Ж           !

Hi Daniela,

--- In os2ddprog@y..., "Daniela Engert" <dani@n...> wrote:
> The so called "nVidia Linux sources" contain support for audio and lan
> only. The lan part consists of an object file with platform dependent
> wrappers in source code. 

And that is something good, I suppose? The only OS dependant file is
nvnet.c, if I am not mistaken from my first sight. So this is the only
one which has to get ported? Or can I even delegate that to an
existing ndis implementation? (or am I babbling garbage? sorry! :-(

> Thus only the audio part is available as
> source which is no wonder because the hardware 
> is basically the same as the Intel ICH, just 
> different PCI Ids (the same is true for the latest
> SiS audio controllers, btw).

Hm, but this does not help, since there's no i810 driver for os/2
which that can be based on...

Thanks a LOT!

Andreas


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

On 14 Feb 2002 13:08:34 UT, Andreas.Ebbert@gmx.de wrote:

>And that is something good, I suppose? 

No, it isn't. The objects files are in most cases useless under other
operating systems. The "advantage" for the vendor is to provide
the ability to adapt their software to different Linux versions without
exposing too much the functionality to the public. I'm in the same
situation here with my HSP56 WinModem :-((.

>The only OS dependant file is nvnet.c

OS dependence here referes to different flavours of the penguin.

>Hm, but this does not help, since there's no i810 driver for os/2
>which that can be based on...

But it looks like a pretty sparse OSS-style audio implementation. 
I'm pretty optimistic, that this can be brought to live. Probably using
Sander van Leeuwen's SBLive framework...



-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

I'm wondering, just wondering... wouldn't it be easier to make a
convincing business case to port existing multi-card linux sound drivers
to os/2? It would be a "once and for all" approach. Once the base has
been ported, adding new cards would be trivial.

I'm thinking about OSS...

http://freshmeat.net/projects/oss/
http://www.opensound.com/

Their drivers have been ported to diverse *nix systems, like:
Linux x86, Linux Alpha, Solaris x86, Solaris Sparc 32bit, Solaris Sparc
64 bit, HPUX (PA-Risc), Unixware 7, Aix (PowerPC), FreeBSD, NetBSD,
OpenBSD.

Has anyone (eCS people?) approached 4Front (the OSS guys) asking about
the feasability and cost of such port? The way I see it, cost can be
minimized by becoming "resellers" of OSS. In other words, OSS "opens"
their source code to a select group of OS/2 programmers (under NDA), who
port the code to OS/2 and market it under the name "OSS for OS/2". OSS,
of course, gets a piece of the action for each copy sold bundled along
OS/2 eCS....

Just an idea...

Then the issue wouldn't be "are there drivers for this XYZ card"? but
"is it supported by OSS for Linux? then, it works..."

Of course, the same could be done without paying royalties to anyone by
working with ALSA drivers (instead of OSS) as a base...

Regards
Fernando

Ruediger Ihle wrote:

>  On 14 Feb 2002 13:08:34 UT, Andreas.Ebbert@gmx.de wrote:
>
> >And that is something good, I suppose?
>
> No, it isn't. The objects files are in most cases useless under other
> operating systems. The "advantage" for the vendor is to provide
> the ability to adapt their software to different Linux versions
> without
> exposing too much the functionality to the public. I'm in the same
> situation here with my HSP56 WinModem :-((.
>
> >The only OS dependant file is nvnet.c
>
> OS dependence here referes to different flavours of the penguin.
>
> >Hm, but this does not help, since there's no i810 driver for os/2
> >which that can be based on...
>
> But it looks like a pretty sparse OSS-style audio implementation.
> I'm pretty optimistic, that this can be brought to live. Probably
> using
> Sander van Leeuwen's SBLive framework...
>
>
>
> --
> Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany,
> http://www.s-t.de]


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Fernando,

as you are presenting this idea for the 2nd time now, I can't resist
anymore.

We had this idea over a year ago and we are working on this. The result will
(or should be - can't speak for them) available as an IBM branded and supported
OS/2 driver update.

It's not based on OSS. It's based on ALSA which is the "real" open sound
architecture and as of 2.5, also part of the Linux kernel.

We will not discuss availability dates, features, etc. You will have to ask
IBM or wait for more official announcements.

But yes, it will do everything you have ever dreamt of and possibly more :-)

Kind regards / mit freundlichen Gruessen,
    Achim Hasenmueller

InnoTek Systemberatung GmbH
phon: +49 7151 9965-30
achimha@innotek.de
http://www.innotek.de
Germany

InnoTek at the CeBIT fair (March 13-20, 2002, Hannover, Germany):
Hall 4, booth A04 (IBM Partner booth), demo point D.03





Fernando Cassia <fcassia@compuserve.com> on 14.02.2002 16:48:21

Please respond to os2ddprog@yahoogroups.com

To:   os2ddprog@yahoogroups.com
cc:

Subject:  Re: [os2ddprog] Re: lan/audio driver for nForce chipset

I'm wondering, just wondering... wouldn't it be easier to make a convincing business case
to port existing multi-card linux sound drivers to os/2? It would be a "once and for all"
approach. Once the base has been ported, adding new cards would be trivial.


I'm thinking about OSS...


http://freshmeat.net/projects/oss/
http://www.opensound.com/


Their drivers have been ported to diverse *nix systems, like:
Linux x86, Linux Alpha, Solaris x86, Solaris Sparc 32bit, Solaris Sparc 64 bit, HPUX
(PA-Risc), Unixware 7, Aix (PowerPC), FreeBSD, NetBSD, OpenBSD.


Has anyone (eCS people?) approached 4Front (the OSS guys) asking about the feasability and
cost of such port? The way I see it, cost can be minimized by becoming "resellers" of OSS.
In other words, OSS "opens" their source code to a select group of OS/2 programmers (under
NDA), who port the code to OS/2 and market it under the name "OSS for OS/2". OSS, of
course, gets a piece of the action for each copy sold bundled along OS/2 eCS....


Just an idea...


Then the issue wouldn't be "are there drivers for this XYZ card"? but "is it supported by
OSS for Linux? then, it works..."


Of course, the same could be done without paying royalties to anyone by working with ALSA
drivers (instead of OSS) as a base...


Regards
Fernando


Ruediger Ihle wrote:
      On 14 Feb 2002 13:08:34 UT, Andreas.Ebbert@gmx.de wrote:


     >And that is something good, I suppose?


     No, it isn't. The objects files are in most cases useless under other
     operating systems. The "advantage" for the vendor is to provide
     the ability to adapt their software to different Linux versions without
     exposing too much the functionality to the public. I'm in the same
     situation here with my HSP56 WinModem :-((.


     >The only OS dependant file is nvnet.c


     OS dependence here referes to different flavours of the penguin.


     >Hm, but this does not help, since there's no i810 driver for os/2
     >which that can be based on...


     But it looks like a pretty sparse OSS-style audio implementation.
     I'm pretty optimistic, that this can be brought to live. Probably using
     Sander van Leeuwen's SBLive framework...




     --
     Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


                                                    
               Yahoo! Groups Sponsor                
                                                    
                                                    
                                                    
                   ADVERTISEMENT                    
    (Embedded image moved to file: pic16838.gif)    
                                                    
                                                    
 (Embedded image moved to file: pic05758.gif)       
                                                    



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru
Thanks for the great news, Achim!!.

Sorry for presenting the idea twice. I didn't remember sending it here
before.

Regards
Fernando

Achim Hasenmueller wrote:

> We had this idea over a year ago and we are working on this. The
> result will
> (or should be - can't speak for them) available as an IBM branded and
> supported
> OS/2 driver update.
>
> It's not based on OSS. It's based on ALSA which is the "real" open
> sound
> architecture and as of 2.5, also part of the Linux kernel.
>
> We will not discuss availability dates, features, etc. You will have
> to ask
> IBM or wait for more official announcements.
>
> But yes, it will do everything you have ever dreamt of and possibly
> more :-)
>
> Kind regards / mit freundlichen Gruessen,
>     Achim Hasenmueller
>
> InnoTek Systemberatung GmbH
> phon: +49 7151 9965-30
> achimha@innotek.de
> http://www.innotek.de
> Germany
>
> InnoTek at the CeBIT fair (March 13-20, 2002, Hannover, Germany):
> Hall 4, booth A04 (IBM Partner booth), demo point D.03
>
>
>
>
>
> Fernando Cassia <fcassia@compuserve.com> on 14.02.2002 16:48:21
>
> Please respond to os2ddprog@yahoogroups.com
>
> To:   os2ddprog@yahoogroups.com
> cc:
>
> Subject:  Re: [os2ddprog] Re: lan/audio driver for nForce chipset
>
> I'm wondering, just wondering... wouldn't it be easier to make a
> convincing business case
> to port existing multi-card linux sound drivers to os/2? It would be a
> "once and for all"
> approach. Once the base has been ported, adding new cards would be
> trivial.
>
>
> I'm thinking about OSS...
>
>
> http://freshmeat.net/projects/oss/
> http://www.opensound.com/
>
>
> Their drivers have been ported to diverse *nix systems, like:
> Linux x86, Linux Alpha, Solaris x86, Solaris Sparc 32bit, Solaris
> Sparc 64 bit, HPUX
> (PA-Risc), Unixware 7, Aix (PowerPC), FreeBSD, NetBSD, OpenBSD.
>
>
> Has anyone (eCS people?) approached 4Front (the OSS guys) asking about
> the feasability and
> cost of such port? The way I see it, cost can be minimized by becoming
> "resellers" of OSS.
> In other words, OSS "opens" their source code to a select group of
> OS/2 programmers (under
> NDA), who port the code to OS/2 and market it under the name "OSS for
> OS/2". OSS, of
> course, gets a piece of the action for each copy sold bundled along
> OS/2 eCS....
>
>
> Just an idea...
>
>
> Then the issue wouldn't be "are there drivers for this XYZ card"? but
> "is it supported by
> OSS for Linux? then, it works..."
>
>
> Of course, the same could be done without paying royalties to anyone
> by working with ALSA
> drivers (instead of OSS) as a base...
>
>
> Regards
> Fernando
>
>
> Ruediger Ihle wrote:
>       On 14 Feb 2002 13:08:34 UT, Andreas.Ebbert@gmx.de wrote:
>
>
>      >And that is something good, I suppose?
>
>
>      No, it isn't. The objects files are in most cases useless under
> other
>      operating systems. The "advantage" for the vendor is to provide
>      the ability to adapt their software to different Linux versions
> without
>      exposing too much the functionality to the public. I'm in the
> same
>      situation here with my HSP56 WinModem :-((.
>
>
>      >The only OS dependant file is nvnet.c
>
>
>      OS dependence here referes to different flavours of the penguin.
>
>      >Hm, but this does not help, since there's no i810 driver for
> os/2
>      >which that can be based on...
>
>      But it looks like a pretty sparse OSS-style audio implementation.
>
>      I'm pretty optimistic, that this can be brought to live. Probably
> using
>      Sander van Leeuwen's SBLive framework...


__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!
Hi,

--- In os2ddprog@y..., "Achim Hasenmueller" <achimha@i...> wrote:

> We had this idea over a year ago and we are working on this. The
result will
> (or should be - can't speak for them) available as an IBM branded
and supported
> OS/2 driver update.

This is *great* news!!! :-)

> We will not discuss availability dates, features, etc. You will have
to ask
> IBM or wait for more official announcements.

It's hard to resist not to ask, but I shall practice self-control, if
this helps anything.


In anticipation,
Andreas


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Hi folks,

the docs to the DevHelp_OpenEventSem say:

PDDREF> The handle passed in must be a handle to a shared event 
PDDREF> semaphore. If the handle does not exist or is not a shared 
PDDREF> event semaphore, then ERROR_INVALID_HANDLE is returned. 

I noticed that this is wrong: DevHelp_OpenEventSem happily opens a
NON-SHARED event semaphore. The problem that arises here is, that
when multiple applications or instances of the same (erratic) application
pass in a handle to such a semaphore. 

In this case, the sequence:

for( p = pSemList; p; p = p->pNext )
{
   if( DevHelp_OpenEventSem(p->hEvent) == 0 )
  {
     DevHelp_PostEventSem(p->hEvent);
     DevHelp_CloseEventSem(p->hEvent);
  }
  else
  {
    bad semaphore handle, do something
  }
}

will post the first applications's semaphore multiple times instead of
posting each application's semaphore once. Very funny !


BTW, is there a simple way to distinguish between a shared and
a non-shared HEV ?




-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

To implement a pm vncd server i have just write a ring0 device driver
that perform a idc call to the kbd$ device driver
to send keystroke to it (i've take the mouse2.sys source has example)
does somebody have a table Ыmapping ascii code to
scan code included pf key function,page up page down ?
The idea is via DosDevIOctl call vncd$ to send keystroke received from
the vnc client (i must map X keysym code to
os/2 scan code).Vncd$ inject the keys throught kbd$ via idc.
To avoid me to create from nothing these table if somebody has such a
table help wil be appreciate
Right known the vncd accept a connection with or wihout password (using
des)
the mouse mouvement via Ioctl to mouse$
and sending always a huge bitmap of all the desktop no clever subroutine
that send only the difference between 2 bitmaps
and the server must be in TRUE COLOR 32 bis (16M color) and only the raw
mode of rfb protocol is implemented
the program will set on hobbes with source

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru      "     " -                                                               ...
Sege,

You might want to subscribe to the official VNC mailing list (*). Many of the
original VNC developers lurk there, and while they couldn't give very
specific os/2-related details, I'm sure they'll be willing to give you a hand
with the screen-update detection routines, or at least give you some ideas on
how to implement them efficiently in your code.

There's a very diverse base of both users and developers there (there's even
VNC for PalmOS, so it means there are masters in there in "optimized" code :)

In other words, you'll have an easier job by asking the right people in the
vnc list AND here in os2ddprog ...

(*) To subscribe to the vnc list, just send a message to
majordomo@uk.research.att.com with "subscribe vnc-list" (no quotes) as the
first line in the message body.

Regards
Fernando

Serge Sterck wrote:

>
> To implement a pm vncd server i have just write a ring0 device driver
> that perform a idc call to the kbd$ device driver
> to send keystroke to it (i've take the mouse2.sys source has example)
> does somebody have a table  mapping ascii code to
> scan code included pf key function,page up page down ?
> The idea is via DosDevIOctl call vncd$ to send keystroke received from
> the vnc client (i must map X keysym code to
> os/2 scan code).Vncd$ inject the keys throught kbd$ via idc.
> To avoid me to create from nothing these table if somebody has such a
> table help wil be appreciate
> Right known the vncd accept a connection with or wihout password (using
> des)
> the mouse mouvement via Ioctl to mouse$
> and sending always a huge bitmap of all the desktop no clever subroutine
> that send only the difference between 2 bitmaps
> and the server must be in TRUE COLOR 32 bis (16M color) and only the raw
> mode of rfb protocol is implemented
> the program will set on hobbes with source


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru      "     " -                                                               ...

On Mon, 18 Feb 2002 16:02:25 +0100, Serge Sterck wrote:

>To implement a pm vncd server i have just write a ring0 device driver
>that perform a idc call to the kbd$ device driver
>to send keystroke to it (i've take the mouse2.sys source has example)
>
Are you sure this is the right way ?
I dont think most remote control apps does this. For example DTOC does
not allow fullscreen sessions. I'm pretty sure they use PM hooks.

>and sending always a huge bitmap of all the desktop no clever subroutine
>that send only the difference between 2 bitmaps
>and the server must be in TRUE COLOR 32 bis (16M color) and only the raw
>mode of rfb protocol is implemented
>the program will set on hobbes with source
>
I think most apps (remote control apps that is) handles the bitmap conversions 
undependant of the actual resolution of the host/client screens.




Sincerely

JMA
Development and Consulting

John Martin , jma@jma.se
==================================
Website: http://www.jma.se/ 
email: mail@jma.se
Phone: 46-(0)70-6278410
==================================



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

I do recall when once coding this that opening "not shared" was a
dead-end.

For my Ioctl90 mixer API, I used a "shared" sem between the
application and driver.
Each instance of the mixer application creates a SEM and "shares"
it with the PDD.
Sem is created in application (shared) and opened by the PDD.

Creating "non-shared" in the application and then sending handle
to the PDD 
resulted in either the open failing in the PDD or the post, I
can't remember which.

It may break down to how to post the sem when not in the process
context of 
the creating application.  That is, where is the memory allocated
for the SEM data.

-Joe Nord

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Just wondering: how "universal" are OS/2 uhci / ohci drivers? Is there a
list of "supported chipsets" somewhere?

I'm asking here because it's strange.... I've just installed the os/2
drivers and both  uhci and ohci are not "seen" by the usb base drivers
(just downloaded from Software Choice catalog), but win98se boots and
sees the usb ports just fine....

The machine's chipset is ALI (Acer Labs)

Who's the "usb guru" to talk with about this?

Thanks in advance for any links you may provide....

Fernando




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Ok give me a working sample of code that use not the playbackhook but the
MsgInputHook
playbackhook works but is very slowwwwww
MsgInputHook is the best solution to use but the documentation how to implement
this hook is very
poor and i'm till now capable to have it work!!!!
So return to the hard way inject via ring0 keys into kbd$ via idc

JMA wrote:

> On Mon, 18 Feb 2002 16:02:25 +0100, Serge Sterck wrote:
>
> >To implement a pm vncd server i have just write a ring0 device driver
> >that perform a idc call to the kbd$ device driver
> >to send keystroke to it (i've take the mouse2.sys source has example)
> >
> Are you sure this is the right way ?
> I dont think most remote control apps does this. For example DTOC does
> not allow fullscreen sessions. I'm pretty sure they use PM hooks.
>
> >and sending always a huge bitmap of all the desktop no clever subroutine
> >that send only the difference between 2 bitmaps
> >and the server must be in TRUE COLOR 32 bis (16M color) and only the raw
> >mode of rfb protocol is implemented
> >the program will set on hobbes with source
> >
> I think most apps (remote control apps that is) handles the bitmap conversions
> undependant of the actual resolution of the host/client screens.
>
> Sincerely
>
> JMA
> Development and Consulting
>
> John Martin , jma@jma.se
> ==================================
> Website: http://www.jma.se/
> email: mail@jma.se
> Phone: 46-(0)70-6278410
> ==================================
>
>
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
>
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru
On 18 Feb 2002 19:07:00 UT, joe.nord@cirrus.com wrote:

>For my Ioctl90 mixer API, I used a "shared" sem between the
>application and driver.

That's exactly what I was working on as I experienced this ;-))).


>Creating "non-shared" in the application and then sending handle
>to the PDD resulted in either the open failing in the PDD or the post, I
>can't remember which.

Here none of these operations gave any error. Just the wrong sema-
phore was posted. Clearly, it is the application's fault to create the 
semaphore non-shared, but I had expected my driver to detect this...



-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

The README that comes with the USB support (USBBASIC.TXT) contains the list
of UHCI and OHCI controllers that were tested.   But your machine's
chipset, ALI (Acer Labs), isn't on the list.    The device drivers attempt
to implement the USB specification and the chip sets attempt to implement
the USB specification, and it is not uncommon for the device drivers to
have to take into account mismatches in implementation for specific chip
sets.

Regards, Barry
Program Manager, OS/2 Device Support
IBM Solution Technologies
512-838-9809


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

> That's exactly what I was working on as I experienced this
;-))).

I seem to recall you have had this working before.  Hum.

The application side example source code is posted on my web site
   http://www.pompano.net/~joenord/ioctl90/index.html

I was all set to tell you that the docs have the PDD side
documented as well.
They do, but is not a complete puzzle.  If I'm not mistaken, the
missing piece is 
where the PDD opens and posts the SEM provided by the
application.  I will post this below.

For future posterity, on March 15, my ISP (mediaone.net) is
moving me to a new domain.
Reference http://www.joenord.com/ to get to what ever the new
link will be.

Steps
1) Application creates shared event sem
2) Application sends said handle to the device driver.
3) Device driver stores the SEM for later use.
   The sem is stored with the "per open" data in my code called
pStream though
   it is technically "pOpen" as there really isn't a stream for
the mixer session.
4) When other applications (other file handle opens) make any
mixer change,
   the device driver posts the SEMs for all of the OTHER
applications.
5) Applications wake up and bombard the device driver with QUERY
APIs 
   to read the full state of the mixer allowing the sliders to
track across 
   multiple mixer applications.
6) Application terminates - on the way out, it "registers a NULL"
even sem.
7) Device driver sees the application CLOSE and if the app has
omitted "6",
   it technically doesn't matter as the handle gets vaporized
when the
   per-open state data is wiped out -- and the driver never
leaves the SEM opened.

On device driver post of the sem, the driver Opens, Posts, Closes
in sequence.
This means that the driver has no "death logic" when applications
die.
Since the sem is never left open, the "6" step above is easy.

Example code follows.

// When a mixer application changes a mixer setting, the
// device driver informs all other mixer application of
// the change by posting event semaphores for each application.
void ioctlmixCallback (PSTREAM pStreamThis)
{
   PSTREAM pStream;
   USHORT  usRC;
   ULONG   ulNumPosts;
   ULONG   ulNumPostsLin;
   ULONG   ulHev;

   // To post an event semaphore, we need a linear address
   // of where the kernel should place the post count.
   usRC = DevHelp_VirtToLin (_SS(), 
                             (USHORT)(&ulNumPosts),
                             &ulNumPostsLin);
   if (usRC != 0)
   {
      #ifdef DEBUG
      ddprintf (ERROR_MONITOR, "ioctlmixCallback VirtToLin
failed\n");
      DebugBreakpoint();
      #endif
      return;
   }

   // Each client mixer application creates its own semaphore.
   // The semaphore must be "shared", but it is only shared
between
   // the application and this device driver.

   pStream = streamGetListHead();
   while (pStream != NULL)
   {
      // Only signal callback to mixer applications other than 
      // the one that commanded the change to the mixer.
      // It already knows about the state change.
      if (pStream != pStreamThis && 
          pStream->ulCallbackSem != 0)
      {
         ulHev = pStream->ulCallbackSem;

         // To post the sem, must open it from device driver.
         // When post a sem, must also reset it or it will post
forever
         DevHelp_OpenEventSem (ulHev);
         usRC = DevHelp_PostEventSem (ulHev);
         #ifdef DEBUG
         if (usRC != 0)
         {
            ddprintf (ERROR_MONITOR, "ioctlmixCallback PostEvent
failed\n");
            DebugBreakpoint();
         }
         #endif
         DevHelp_ResetEventSem (ulHev, ulNumPostsLin);
         DevHelp_CloseEventSem (ulHev);
      }
      pStream = pStream->pNext;
   }
}

-Joe Nord

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши

On 19 Feb 2002 19:40:35 UT, joe.nord@cirrus.com wrote:

>I seem to recall you have had this working before.  Hum.

Your memory is correct. It is working in the driver for quiet a while 
now ;-). I just played around with an erratic client application...
The (simplified) snippet I posted here pretty much matches the 
inner loop of your sample code. The real thing is even closer.
I just thought that it might be of interrest for others, that contrary
to the PDDREF, DevHelp_OpenEventSem() does not return 
ERROR_INVALID_HANDLE if the semaphore was created
as non-shared by the application.

BTW, for testing purposes I just mapped recording sources
I90SRC_RES5 and I90SRC_RES6 to coax and optical SPDIF
inputs. Good or bad idea ? At the moment, a mixer app has no 
means to determine whether these inputs are available because
they don't  have a corresponding volume/recording level control.
I'm also thinking about to replace the master volume knob by some-
thing "callback-aware" that talkes directly to the adapter via IOCTL80.
This would enable master volume adjustment without the need of an
active stream. What do you think about this ?


-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

> BTW, for testing purposes I just mapped recording sources
> I90SRC_RES5 and I90SRC_RES6 to coax and optical SPDIF inputs. 
> Good or bad idea ? 

Most bits are as good as others, but I'd prefer to use a higher
position.
RES5 is hardware defined as STEREO_LOOP - which I didn't define
in Ioctl90.
Could have - but didn't.  Loopback sources can be a pain to
record from...

We should take this off-line.  I'll send you a note.

> I'm also thinking about to replace the master volume knob by
some-
> thing "callback-aware" that talkes directly to the adapter via
IOCTL80.
> This would enable master volume adjustment without the need of
an
> active stream. What do you think about this ?

Instead of sending the MMPM/2 IOCTL (0x80) directly, you should
have 
MMPM/2 do it in response to MCI commands.  No active streams are
required.
If don't let MMPM do the work, then master volume setting will
not 
survive reboots - MMPM2 won't save it to INI file and will read
out old 
value on the next reboot. 

I adjust master volume during Crystal Semi device driver install
- set to 50%.
Works fine.  The trick is that you have to use BOTH MCI send
string and MCI 
send command or the MMPM2 INI file won't be updated.

Either way, if you run the MMPM/2 Volume Control app - it will
overwrite
anything you do in another master volume control application and
will not
track the value on the other application.  This is why I
on-purpose left
master volume out of the ioctl90 definition.  You know that
already.

To solve that you should probably replace the system Volume
Control application outright.

-Joe Nord

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

Hi!

 I have made my own ndis protocol driver to capture raw ethernet packets and now i want to force protman to send 
packets from MAC driver to my driver before tcpip driver. I put my driver before tcp drivers in config.sys, put its 
section in protocol.ini before tcpip section, put correcponding PRIORITY line in [PROTMAN] section in protocol.ini - 
but all of this do not help... When tcpip starts and binds to the mac driver, my ndis drives stops receiving packets.
According to ndis specs it should not be ;(. What did i wrong ?

Here is my protocol.ini :

[PROT_MAN]

   DRIVERNAME = PROTMAN$
   PRIORITY = RAW_nif

[IBMLXCFG]

   RAW_nif = rawndis.nif
   tcpip_nif = tcpip.nif
   PMAC_nif = pmac.nif
   nullndis_nif = nullndis.nif

[RAW_nif]

   DriverName = RAWNDIS$
   Bindings = PMAC_nif

[tcpip_nif]

   DriverName = TCPIP$
   Bindings = PMAC_nif

[PMAC_nif]

   DriverName = PPORT1$
   CONNECTMODE = "CALL"
   NETADDRESS = "40000000000B"
   IRQ = 7

                                                     Faithfully Yours, Nick



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

>I have made my own ndis protocol driver to capture raw ethernet packets
Me too. About 10 years ago though!

>now i want to force protman to send packets from MAC driver to my driver 
>before tcpip driver. I put my driver before tcp drivers in config.sys, put 
>its section in protocol.ini before tcpip section, put correcponding 
>PRIORITY line in [PROTMAN] section in protocol.ini - 
>but all of this do not help... 

ISTR the trick I used was to use commas in the bindings line, but
this was in the old LAPS days, well before MPTS (although it's still
all the "same"-ish).

e.g. 
   Bindings = PMAC_nif  for your driver and
   Bindings = ,PMAC_nif for tcp/ip

Something like that anyway!

Good luck
Simon


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Hi!

On Thu, 21 Feb 2002 17:54:01 +0000 (GMT), Simon Bowring wrote:

>>I have made my own ndis protocol driver to capture raw ethernet packets
>Me too. About 10 years ago though!

its nice ;)

>>now i want to force protman to send packets from MAC driver to my driver 
>>before tcpip driver. I put my driver before tcp drivers in config.sys, put 
>>its section in protocol.ini before tcpip section, put correcponding 
>>PRIORITY line in [PROTMAN] section in protocol.ini - 
>>but all of this do not help... 
>
>ISTR the trick I used was to use commas in the bindings line, but
>this was in the old LAPS days, well before MPTS (although it's still
>all the "same"-ish).
>
>e.g. 
>   Bindings = PMAC_nif  for your driver and
>   Bindings = ,PMAC_nif for tcp/ip
>
>Something like that anyway!

Unfortunatelly, it doesn't help ;(.. the situation is the same - my driver stops reeceiving packets right after tcpip 
drivers binded. I use mpts from tcpip 4.3 from ACP2 package. 


                                                     Faithfully Yours, Nick



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

I'm aware these are OS/2 DLLs rather than PDDs. I'm wondering if any of
the developers of these drivers at IBM are on this list. I have a
question about the Canon S800 driver that was recently released.

The S800 is a photo printer. When I downloaded the OS/2 OMNI driver
earlier this month, it seemed to support all the features, and
photo-quality printing was mentioned in the docs. So I went ahead and
got that printer.
I was very disappointed with the results in OS/2 regardless of settings.
The output is not near photo quality. Dithering is occurring that causes
very strange results, like lots of green dots on skin, even in 24-bit
mode at the "normal" (high) resolution of the driver, which appears to
be 1200 dpi.
I also can't position the output properly on photo paper, but that's
problem #2 .
If I use the printer in Win2K with photo paper, the quality is very
good, indistinguishable from a lab printout, just as the reviews said
... And it's located right in the middle of the perforated photo paper,
too.
FYI, printing is much slower in Win2K than in OS/2 (it takes about 3-4
times longer). But I think that's because Win2K is sending much more
data to the printer. In OS/2 I have tried redirecting to the files and
they are not as large as they should be for 1200 dpi/24 bit output,
according to my math.

I know there is source on the DDK for the Omni drivers, but I don't
really know where to start to fix the output quality issue. Does anyone
have any suggestion ?



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

Julien Pierre wrote:

> The S800 is a photo printer. When I downloaded the OS/2 OMNI driver
> earlier this month, it seemed to support all the features, and
> photo-quality printing was mentioned in the docs. So I went ahead and
> got that printer.

I'm sure list-police will acuse me of posting an off-topic message and
that I'll be surrounded in a matter of seconds, while others roll and
scream like stabbed pigs, while yelling something about "leaving the
list" but, I'll just say this:

the only printers with good photo quality and os/2 support that I know
of are

-Epson with Epson Germany drivers (I'm not sure if they work with the
latest models)
-Lexmark Optra Color 40, or Lexmark Z-51
...with OS/2 drivers from lexmark. (they are oh-so-clever that they
decided to drop OS/2 support with the z52, which has higher resolution)

-end of transmission- ;-)

Regards
Fernando
--
--[Today's Tip: ]----------------------------------------------------
"Gartner Group recommends that enterprises immediately investigate
alternatives to Microsoft IIS web server, including iPlanet and Apache"
The alternatives "have much better security records than IIS and are not
under active attack by the vast number of virus and worm writers."
"Gartner has lost faith in Microsoft's ability to patch and fix IIS"
----[ Source: http://www.theregister.co.uk/content/4/21853.html ]----



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши


Hi,

>The output is not near photo quality.

I know this is old news and off topic, but did you change the dithering algorithm setting
in the
job properties dialog of the driver from Magic Square to Stucki Diffusion? Makes a hell of
a difference....
This is true for ALL OMNI printers...

Regards / Mit freundlichen Gr  en,
Oliver Stein
InnoTek Systemberatung GmbH

InnoTek at the CeBIT fair (March 13-20, 2002, Hannover, Germany):
Hall 4, booth A04 (IBM Partner booth), demo point D.03

------------------------------------------------------------
http://www.innotek.de


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Ж                                  ?                      - http://www.newhost.ru

Oliver,

Oliver Stein wrote:

> Hi,
>
> >The output is not near photo quality.
>
> I know this is old news and off topic, but did you change the dithering algorithm setting
> in the
> job properties dialog of the driver from Magic Square to Stucki Diffusion? Makes a hell of
> a difference....
> This is true for ALL OMNI printers...

Yes. That algorithm actually gets set by default when choosing the "photo quality" preset in
the OMNI driver for the S800 .


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Hi all,
I have just downloaded the entire DDK.  Nowhere within it or the
associated webpages can I see any instructions regarding installation.
 Many of the modules have a "tools" sub-directory, I'm not sure if
they are all the same! If I unzip all the individual zipfiles from the
root of a drive, will this create any problems in the DDK-tree, or is
the system setup to expect that all-modules may be installed?
Any suggestions appreciated.
regards,
Mike O'Connor


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

In <a5avmc+itjs@eGroups.com>, on 02/24/2002 
   at 03:09 PM, "mikeoconwarp" <mikeoc@austarnet.com.au> said:

>I have just downloaded the entire DDK.  Nowhere within it or the
>associated webpages can I see any instructions regarding installation.
> Many of the modules have a "tools" sub-directory, I'm not sure if they
>are all the same! If I unzip all the individual zipfiles from the root of
>a drive, will this create any problems in the DDK-tree, or is the system
>setup to expect that all-modules may be installed? Any suggestions
>appreciated.

I've done this.  It took me about a week, and I had to make some arbitrary
decisions.  I can email you my "dir /s" output, if you like.  

-- 
Timur Tabi, timur@tabi.org


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Hi folks,

for a long time now there used to be an IDC interface to
PRINT01.SYS which allowed another driver to hijack
a given printer port. The driver who wants to do this has
to specify the LPT number when calling into PRINT01.
Unfortunately, PRINT01 doesn't seem to give back the
port address. In older days this was not a big problem, 
because the calling driver could figure this out by in-
specting the BIOS data segment. But I recently run  across
a PCI printer card, which is recognised by PRINT01 but not
by the BIOS. How to obtain the correct LPT# to I/O address
mapping in such a case ?


-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

On 24 Feb 2002 15:15:45 UT, R.Ihle@S-t.De wrote:

>How to obtain the correct LPT# to I/O address 
>mapping in such a case ?

Replying to myself: I could ask Resource Manager ;-).


-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

--- In os2ddprog@y..., Timur Tabi <timur@t...> wrote:
> In <a5avmc+itjs@e...>, on 02/24/2002
>    at 03:09 PM, "mikeoconwarp" <mikeoc@a...> said:
>
> >I have just downloaded the entire DDK.  Nowhere within it or the
> >associated webpages can I see any instructions regarding installation.
> > Many of the modules have a "tools" sub-directory, I'm not sure if they
> >are all the same! If I unzip all the individual zipfiles from the
root of
> >a drive, will this create any problems in the DDK-tree, or is the
system
> >setup to expect that all-modules may be installed? Any suggestions
> >appreciated.
>
> I've done this.  It took me about a week, and I had to make some
arbitrary
> decisions.  I can email you my "dir /s" output, if you like.
>
> --
> Timur Tabi, timur@t...

Yes please Timur!!

Thanks,
Mike


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши


You can now get Cable Modems on a PCI card, see:-


http://www.intel.com/network/broadband/modems/cable.htm


Does this mean that all that would be required to hook up an OS/2 PC with 
one of these cards to an ISP is an NDIS driver?


If so is anyone likely to provide an OS/2 NDIS driver for a card like 
this?


I guess I would need to use PPPoA over such a card. Does IBM's TCP/IP 
support this?


-- 
John



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

John,

AFAIK, almost all cablemodem systems are moving today (if not already) to
PPPoE, to handle the ip address assignment, and login/password validation.

I would bet that this "cablemodem on a pci card" by Intel is seen by the
operating system as just another Intel ethernet port. Then, user-level
software on the system handles the PPPoE login.

At least, that would be the logical and most compatible way to do it. Let me
know if I'm wrong. One special case from hell was the "3com VSP" series of
cablemodems. These were a full-length ISA PnP card, with a "winmodem" on
board (to handle the uplink on one-way cablemodem areas), VXD drivers (both
as Win9x custom protocol and nic adapter), and finally, to top this
propietary mess, a custom win32 exe "dialer" that handled the connection and
monitored the "connection quality", adjusting the driver parameters on the
fly.

Let me know if I'm wrong about the Intel PCI cablemodem....

Regards
Fernando

John Poltorak wrote:

>
>
> You can now get Cable Modems on a PCI card, see:-
>
> http://www.intel.com/network/broadband/modems/cable.htm
>
> Does this mean that all that would be required to hook up an OS/2 PC with
> one of these cards to an ISP is an NDIS driver?
>
> If so is anyone likely to provide an OS/2 NDIS driver for a card like
> this?
>
> I guess I would need to use PPPoA over such a card. Does IBM's TCP/IP
> support this?
>
> --
> John
>


The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

On Sun, Feb 24, 2002 at 04:39:51PM -0300, Fernando Cassia wrote:
> John,
> 
> AFAIK, almost all cablemodem systems are moving today (if not already) to
> PPPoE, to handle the ip address assignment, and login/password validation.

I have no understanding about such terms, but I thought the protocol used 
was that specified by the Telco, and in the UK the principal Telco is BT 
which covers the whole country and must have 30 million subscribers. The 
standard setting with BT, AFAIK is PPPoA, and I can't see that changing.
To do that sounds equivalent of changing the gauge on railways - can't see 
it happening... 
 
> I would bet that this "cablemodem on a pci card" by Intel is seen by the
> operating system as just another Intel ethernet port. Then, user-level
> software on the system handles the PPPoE login.

If there is an NDIS driver, I'd expect it to be seen as just another NIC.
There is an NDIS for parallel ports, so why not one for a cable modem?...  

> Let me know if I'm wrong about the Intel PCI cablemodem....

I'd be interested to hear anything about such a device. Wonder if IBM have 
any mention of them at DDPAK Online...

 
> Regards
> Fernando


-- 
John




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

In <200202240915.00000012@ganymede>, on 02/24/02 
   at 09:14 AM, Timur Tabi <timur@tabi.org> said:

>I've done this.  It took me about a week, and I had to make some
>arbitrary decisions.  I can email you my "dir /s" output, if you like.  

How about posting it to the os2ddprog files section for posterity?

Thanks

Steven


-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

Quoting mikeoconwarp <mikeoc@austarnet.com.au>:

> Hi all,
> I have just downloaded the entire DDK.  Nowhere within it or the
> associated webpages can I see any instructions regarding installation.
>  Many of the modules have a "tools" sub-directory, I'm not sure if
> they are all the same! If I unzip all the individual zipfiles from the
> root of a drive, will this create any problems in the DDK-tree, or is
> the system setup to expect that all-modules may be installed?
> Any suggestions appreciated.
> regards,
> Mike O'Connor

All of the zip files unzip into two base directories, x:\ddk and x:\ddktools.
I can't remember if there's a 'setenv.cmd' script that comes with the ddk, or
whether I wrote that myself. This sets all the paths as required, and after that
you can go around happily typing 'nmake' in the source subdirectories.

A bientot
Paul
-- 
Paul Floyd   http://paulf.free.fr for those with time to waste
What's the point? The sharp thing on the end.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

In <1014634484.3c7a17f41168b@imp.free.fr>, on 02/25/2002 
   at 11:54 AM, Paul Floyd <paulf@free.fr> said:

>All of the zip files unzip into two base directories, x:\ddk and
>x:\ddktools.

That's not true.

-- 
Timur Tabi, timur@tabi.org


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!


Hello,

This email message is a notification to let you know that
a file has been uploaded to the Files area of the os2ddprog 
group.

  File        : /ddk_list.txt 
  Uploaded by : timur_tabi <timur@tabi.org> 
  Description : Listing of the entire DDK in proper layout 

You can access this file at the URL

http://groups.yahoo.com/group/os2ddprog/files/ddk_list.txt 

To learn more about file sharing for your group, please visit

http://help.yahoo.com/help/us/groups/files

Regards,

timur_tabi <timur@tabi.org>
 





------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

If it is a PCI card then it should be treated as though it is a NIC with a
MAC NDIS interface to the Protocol Manager.  Being set up this way
would allow one to use the TCP/IP Setup and other TCP/IP items
for setting up communications.

And, no, we do not have any Cable modem drivers on the DDPak.


Glen Fine
IBM Solution Technologies
OS/2 Competency Center & IHV Advocacy, Austin, Texas
Internet : gfine@us.ibm.com




|---------+---------------------------->
|         |           John Poltorak    |
|         |           <jp@eyup.org>    |
|         |                            |
|         |           02/24/2002 02:48 |
|         |           PM               |
|         |           Please respond to|
|         |           os2ddprog        |
|         |                            |
|---------+---------------------------->
  >----------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                      |
  |       To:       os2ddprog@yahoogroups.com                                                                            |
  |       cc:                                                                                                            |
  |       Subject:  Re: [os2ddprog] NDIS driver for Cable Modem card ?                                                   |
  |                                                                                                                      |
  |                                                                                                                      |
  >----------------------------------------------------------------------------------------------------------------------|



On Sun, Feb 24, 2002 at 04:39:51PM -0300, Fernando Cassia wrote:
> John,
>
> AFAIK, almost all cablemodem systems are moving today (if not already) to
> PPPoE, to handle the ip address assignment, and login/password
validation.

I have no understanding about such terms, but I thought the protocol used
was that specified by the Telco, and in the UK the principal Telco is BT
which covers the whole country and must have 30 million subscribers. The
standard setting with BT, AFAIK is PPPoA, and I can't see that changing.
To do that sounds equivalent of changing the gauge on railways - can't see
it happening...

> I would bet that this "cablemodem on a pci card" by Intel is seen by the
> operating system as just another Intel ethernet port. Then, user-level
> software on the system handles the PPPoE login.

If there is an NDIS driver, I'd expect it to be seen as just another NIC.
There is an NDIS for parallel ports, so why not one for a cable modem?...

> Let me know if I'm wrong about the Intel PCI cablemodem....

I'd be interested to hear anything about such a device. Wonder if IBM have
any mention of them at DDPAK Online...


> Regards
> Fernando


--
John





The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/






------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Mon, Feb 25, 2002 at 10:49:20AM -0600, Glen Fine wrote:
> If it is a PCI card then it should be treated as though it is a NIC with a
> MAC NDIS interface to the Protocol Manager.  Being set up this way
> would allow one to use the TCP/IP Setup and other TCP/IP items
> for setting up communications.


Could it be configured for PPPoE?

 
> And, no, we do not have any Cable modem drivers on the DDPak.

What about this one? :-


http://www7.software.ibm.com/2bcprod.nsf/186d96ebef23e6438625689c007ac1ef/f7654935ca8e97e7862565b5005cbb88?OpenDocument


 
> 
> Glen Fine
> IBM Solution Technologies
> OS/2 Competency Center & IHV Advocacy, Austin, Texas
> Internet : gfine@us.ibm.com


-- 
John



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

The NIC(MAC) driver would need the programming if the PPPoE function is
provided by the hardware/firmware on the adapter itself.  But the driver
should
be designed as if it was a Network MAC.  I do not have the specs for the
adapter
so I am guessing at this.

Your link is to an information page for VRCOMM.  No driver is at that link.

Glen Fine
IBM Solution Technologies
OS/2 Competency Center & IHV Advocacy, Austin, Texas

Internet : gfine@us.ibm.com




|---------+---------------------------->
|         |           John Poltorak    |
|         |           <jp@eyup.org>    |
|         |                            |
|         |           02/25/2002 10:56 |
|         |           AM               |
|         |           Please respond to|
|         |           os2ddprog        |
|         |                            |
|---------+---------------------------->
  >----------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                      |
  |       To:       os2ddprog@yahoogroups.com                                                                            |
  |       cc:                                                                                                            |
  |       Subject:  Re: [os2ddprog] NDIS driver for Cable Modem card ?                                                   |
  |                                                                                                                      |
  |                                                                                                                      |
  >----------------------------------------------------------------------------------------------------------------------|



On Mon, Feb 25, 2002 at 10:49:20AM -0600, Glen Fine wrote:
> If it is a PCI card then it should be treated as though it is a NIC with
a
> MAC NDIS interface to the Protocol Manager.  Being set up this way
> would allow one to use the TCP/IP Setup and other TCP/IP items
> for setting up communications.


Could it be configured for PPPoE?


> And, no, we do not have any Cable modem drivers on the DDPak.

What about this one? :-


http://www7.software.ibm.com/2bcprod.nsf/186d96ebef23e6438625689c007ac1ef/f7654935ca8e97e7862565b5005cbb88?OpenDocument




>
> Glen Fine
> IBM Solution Technologies
> OS/2 Competency Center & IHV Advocacy, Austin, Texas
> Internet : gfine@us.ibm.com


--
John




The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/






------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Quoting Timur Tabi <timur@tabi.org>:

> In <1014634484.3c7a17f41168b@imp.free.fr>, on 02/25/2002 
>    at 11:54 AM, Paul Floyd <paulf@free.fr> said:
> 
> >All of the zip files unzip into two base directories, x:\ddk and
> >x:\ddktools.
> 
> That's not true.

Looking at the ddk_list.txt that YOU posted, it contains:

 Volume in drive S is DDK            Serial number is 4610:2D8C
 Directory of  S:\*

 1-01-02  21:02         <DIR>             0  . 
 1-01-02  21:02         <DIR>             0  ..
 1-01-02  21:04         <DIR>             0  DDK
 1-01-02  21:01         <DIR>             0  DDKTOOLS
 1-01-02  21:02         <DIR>             0  DDSC
 1-01-02  21:09         <DIR>             0  ZIPS

DDSC seems to contain tid-bit text files and examples from the ddk site. ZIPS
contains the ddk zip files themselves (and some bits from the DDK, don't know
why they're there).

That leaves two base directories, DDK and DDKTOOLS. Like I said.

A bientot
Paul
-- 
Paul Floyd   http://paulf.free.fr for those with time to waste
What's the point? The sharp thing on the end. 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

--- In os2ddprog@y..., Paul Floyd <paulf@f...> wrote:

> That leaves two base directories, DDK and DDKTOOLS. Like I said.

Ok, let me explain this.

Some of the zipfiles you download from the DDK do _not_ conform to the
diretory standard.  In these cases, they typically don't contain any
directories, just a bunch of files zipped.  I put these zipfiles into
\ZIPS\BAD (I keep both the zipfiles and their unzipped contents on
this CD I made).  

In order to maintain consistency, I studied the contents of these zip
files and determined where they should go.  Then I _manually_ created
these directories (under \DDK) and unzipped these zipfiles into them.  




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

I'm looking for the source-code to a Platform Specific Driver - PSD.
This is a 32-bit DLL loaded by the kernel to support SMP on various
systems. I haven't found anything in the DDK. It would be best if the
source code was the one for OS2APIC.PSD . The reason I ask is I have
noticed certain problems on my dual athlon system that aren't seen on
other machines and I would like to find out if they can be fixed.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Mon, Feb 25, 2002 at 11:46:02AM -0600, Glen Fine wrote:
 
> Your link is to an information page for VRCOMM.  No driver is at that link.

Any idea why the DDPAK Online has this link?

It's pointer from WAN-ISDN Adapters, so I guess it's there for a reason...
 
> Glen Fine
> IBM Solution Technologies
> OS/2 Competency Center & IHV Advocacy, Austin, Texas
> 
> Internet : gfine@us.ibm.com
> 
> On Mon, Feb 25, 2002 at 10:49:20AM -0600, Glen Fine wrote:
> 
> > And, no, we do not have any Cable modem drivers on the DDPak.
> 
> What about this one? :-
> 
> 
> http://www7.software.ibm.com/2bcprod.nsf/186d96ebef23e6438625689c007ac1ef/f7654935ca8e97e7862565b5005cbb88?OpenDocument
> 
> 
> 
> 
> >
> > Glen Fine
> > IBM Solution Technologies
> > OS/2 Competency Center & IHV Advocacy, Austin, Texas
> > Internet : gfine@us.ibm.com


-- 
John




------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hi Timur,
Received with many thanks.  Now to resynch my initial
tree/zips.
Regards,
Mike O'Connor

os2ddprog@yahoogroups.com wrote:

>
> Hello,
>
> This email message is a notification to let you know that
> a file has been uploaded to the Files area of the
> os2ddprog
> group.
>
>   File        : /ddk_list.txt
>   Uploaded by : timur_tabi <timur@tabi.org>
>   Description : Listing of the entire DDK in proper layout
>
> You can access this file at the URL
>
> http://groups.yahoo.com/group/os2ddprog/files/ddk_list.txt
>
> To learn more about file sharing for your group, please
> visit
>
> http://help.yahoo.com/help/us/groups/files
>
> Regards,
>
> timur_tabi <timur@tabi.org>


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

PPPoE is just a protocol you run on top of standard TCP/IP.

See
http://www.fx.dk/pppoe/

Regards
Fernando

John Poltorak wrote:

> > MAC NDIS interface to the Protocol Manager.  Being set up this way
> > would allow one to use the TCP/IP Setup and other TCP/IP items
> > for setting up communications.
>
> Could it be configured for PPPoE?


The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Hi Paul,
Have just received the info from Tabi as well, in a bunch of
messages.  Thanks for the input.
Mike

Paul Floyd wrote:

>  Quoting mikeoconwarp <mikeoc@austarnet.com.au>:
>
> > Hi all,
> > I have just downloaded the entire DDK.  Nowhere within
> it or the
> > associated webpages can I see any instructions regarding
> installation.
> >  Many of the modules have a "tools" sub-directory, I'm
> not sure if
> > they are all the same! If I unzip all the individual
> zipfiles from the
> > root of a drive, will this create any problems in the
> DDK-tree, or is
> > the system setup to expect that all-modules may be
> installed?
> > Any suggestions appreciated.
> > regards,
> > Mike O'Connor
>
> All of the zip files unzip into two base directories,
> x:\ddk and x:\ddktools.
> I can't remember if there's a 'setenv.cmd' script that
> comes with the ddk, or
> whether I wrote that myself. This sets all the paths as
> required, and after that
> you can go around happily typing 'nmake' in the source
> subdirectories.
>
> A bientot
> Paul


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши



Fernando Cassia schreef:

> PPPoE is just a protocol you run on top of standard TCP/IP.
>

Unless you ar using ISDNPM of course.


--
Groeten uit Gent,

   Kris



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

>
> > PPPoE is just a protocol you run on top of standard TCP/IP.
> 
> Unless you ar using ISDNPM of course.
> 
Wrong, PPPoE it is never used over TCPIP. Thats why it's called PPPoE (over
Ethernet) and not PPPoTCP.
You always need an NDIS protocol driver implementing PPPoE.
It doesn't matter if you use ISDMPM, Injoy or Safefire They all have such a
driver.
So If you have an DSL_modem card you have 2 options.
1. Write an NDIS which lets the modem show up as a normal NIC and the user
would need
    3rd party tools like the 3 mentioned.
2. Write your own driver interface and provide your own PPP dialin/client
which'll only work
    with that card.

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On Tue, Feb 26, 2002 at 01:58:53PM -0300, Fernando Cassia wrote:
> Let me rephrase it: "PPPoE, at least in os/2 and right now,  is
> something you implement as a 3rd party add-on, that you install after
> the tcp/ip code".
> 
> My point was that PPPoE is not implemented in the os/2 tcp/ip stack.
> 
> By "a protocol you run on top of standard tcp/ip" I meant "something you
> install after installing os/2's tcp/ip". You were thinking about
> protocol layers, I was thinking about the way the end user sees it (run
> 3rd party software, on top of IBM's tcp/ip standard configuration).

Even then not. There is no reason to have any standard TCP/IP stuff 
installed at all; you basically just need to load an NDIS driver. This
will be a very basic way to talk to the hardware, but it is possible,
since as you say, PPPoE talks to layer 1 or 2; it is on the same
layer as IP/ICMP. The hardware is probably easier to setup with the
TCP/IP stuff installed, and when you consider the machine to be a
router, with NAT/masquerading and firewalling, you surely better have it.

Holger

-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

Holger,

With all respect, can you tell me what good is pppoe for without tcp/ip
installed?. Isn't likely the reson why the user installs pppoe to
actually connecto to the internet, surf the web, send email etc?. I
think tcp/ip 4.3 is a must have along pppoe. :-)

But then, I concede that TECHNICALLY, it might not be needed. A PC also
doesn't need a monitor or display device to work, either, but you better
have one. ;-)

Cheers
Fernando

Holger Veit wrote:

> Even then not. There is no reason to have any standard TCP/IP stuff
> installed at all; you basically just need to load an NDIS driver. This
>
> will be a very basic way to talk to the hardware, but it is possible,
> since as you say, PPPoE talks to layer 1 or 2;


__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).
Hi Timur,
Synching my directories, I find I don't have any of the
files that are in your S:\DDK\TESTCERT\APM\* /S
Are they extras?  There are currently 55 zips on the DDK
site and I downloaded all of them. Looking through the zips,
I can't find any TESTCERT\APM.
Regards,
Mike

timur_tabi wrote:

>  --- In os2ddprog@y..., Paul Floyd <paulf@f...> wrote:
>
> > That leaves two base directories, DDK and DDKTOOLS. Like
> I said.
>
> Ok, let me explain this.
>
> Some of the zipfiles you download from the DDK do _not_
> conform to the
> diretory standard.  In these cases, they typically don't
> contain any
> directories, just a bunch of files zipped.  I put these
> zipfiles into
> \ZIPS\BAD (I keep both the zipfiles and their unzipped
> contents on
> this CD I made).
>
> In order to maintain consistency, I studied the contents
> of these zip
> files and determined where they should go.  Then I
> _manually_ created
> these directories (under \DDK) and unzipped these zipfiles
> into them.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

> 
> With all respect, can you tell me what good is pppoe for without
> tcp/ip installed?. Isn't likely the reson why the user installs pppoe
> to actually connecto to the internet, surf the web, send email etc?. I
> think tcp/ip 4.3 is a must have along pppoe. :-)

Well you don't need a full TCPIP 4.3 install for that. 
Remeber the Internet Access Kit for Warp 3 ?
And of course when going for solution 2. nobody stops you installing
and implementing your own IP stack.

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

That reminds me of FTP Software Inc's own 16 bit tcp/ip stack for os/2.

Am I wrong in thinking that:

- It might have issues with the latest MPTS and/or kernels (thinking that
FTP's stack was designed for os/2 2.1, and a lot of water has passed under
the bridge in the os/2 kernel and mpts....)
- Even if installed and it works, a lot of os/2 tcp/ip apps (IBM Web Browser
comes to mind) might not work with it, since they are compiled to use the
32bit stack?

I don't have FTP's 16bit OS/2 stack, but it's just a thought that crossed my
mind...

Regards
Fernando

Markus Montkowski wrote:

> Well you don't need a full TCPIP 4.3 install for that.
> Remeber the Internet Access Kit for Warp 3 ?
> And of course when going for solution 2. nobody stops you installing
> and implementing your own IP stack.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...



Markus Montkowski wrote:

> >
> > > PPPoE is just a protocol you run on top of standard TCP/IP.
> >
> > Unless you ar using ISDNPM of course.
> >
> Wrong, PPPoE it is never used over TCPIP. Thats why it's called PPPoE (over
> Ethernet) and not PPPoTCP.
> You always need an NDIS protocol driver implementing PPPoE.

Is not it possible to write a driver with NDIS upper interface sitting on the
NDIS NIC (NDIS bottom interface), (a filter between the NIC and the protocols)
that implements what is needed?

Marin Mitov

>
> It doesn't matter if you use ISDMPM, Injoy or Safefire They all have such a
> driver.
> So If you have an DSL_modem card you have 2 options.
> 1. Write an NDIS which lets the modem show up as a normal NIC and the user
> would need
>     3rd party tools like the 3 mentioned.
> 2. Write your own driver interface and provide your own PPP dialin/client
> which'll only work
>     with that card.
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
>
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
>
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши

On Tue, Feb 26, 2002 at 04:24:07PM -0300, Fernando Cassia wrote:
> Holger,
> 
> With all respect, can you tell me what good is pppoe for without tcp/ip
> installed?. Isn't likely the reson why the user installs pppoe to
> actually connecto to the internet, surf the web, send email etc?. I
> think tcp/ip 4.3 is a must have along pppoe. :-)

You can tunnel any higher level protocol through PPP, for instance also
Novell IPX/SPX or Digital DECNET, if you like. That people use TCP/IP
typically is no argument.

> But then, I concede that TECHNICALLY, it might not be needed. A PC also
> doesn't need a monitor or display device to work, either, but you better
> have one. ;-)

No. I run servers without a monitor, and I don't feel they need one. So
nothing with "better have one".

Holger

-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Tue, Feb 26, 2002 at 05:51:37PM +0100, Markus Montkowski wrote:
> >
> > > PPPoE is just a protocol you run on top of standard TCP/IP.
> > 
> > Unless you ar using ISDNPM of course.
> > 
> Wrong, PPPoE it is never used over TCPIP. Thats why it's called PPPoE (over
> Ethernet) and not PPPoTCP.
> You always need an NDIS protocol driver implementing PPPoE.

AIUI PPPoE is used to talk to an external ADSL modem which is connected to 
an ethernet port. Now if the ADSL modem was an internal modem, ie NIC, then 
no ethernet is involved. This NIC would be directly connected to the Telco's 
wires. I'm not familiar with WAN technology, but I'm told ADSL modems use 
PPPoA for external access

> It doesn't matter if you use ISDMPM, Injoy or Safefire They all have such a
> driver.
> So If you have an DSL_modem card you have 2 options.
> 1. Write an NDIS which lets the modem show up as a normal NIC and the user
> would need


Does anyone know of an NDIS driver for a PCI DSL modem card?


>     3rd party tools like the 3 mentioned.


Do any of them support PPPoA?


> 
> -- 
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net


-- 
John



------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

On Wed, 27 Feb 2002 11:41:14 +0000, John Poltorak wrote:


>Does anyone know of an NDIS driver for a PCI DSL modem card?
>
>
>>     3rd party tools like the 3 mentioned.
>
>
>Do any of them support PPPoA?

I'd say this would be problematic since there are no drivers for ATM cards (I mean cards that are used in 
PPPoA solutions).
PPPoE is no problems because there is NDIS stack and cheap Ethernet cards with OS/2 drivers.
Bye,
	Vit




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

 
> Does anyone know of an NDIS driver for a PCI DSL modem card?

There is none. 
> 
> >     3rd party tools like the 3 mentioned.
> 
> Do any of them support PPPoA?

All 3 do

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

On Wed, 27 Feb 2002 12:51:12 +0100 (MET), Markus Montkowski wrote:

> 
>> Does anyone know of an NDIS driver for a PCI DSL modem card?
>
>There is none. 
>> 
>> >     3rd party tools like the 3 mentioned.
>> 
>> Do any of them support PPPoA?
>
>All 3 do

Don't mix PPPoA and PPPoE please. Can't tell about ISDNPM and InJoy but SafeFire do NOT. AFAIR two 
others too.
Some providers bridge PPPoA into PPtP. This will give you some options. But to get PPPoA support, first get 
dirvers for A. PPP is no problems, o can be done really fast :)
Bye,
	Vit




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

On Wed, Feb 27, 2002 at 01:54:58PM -0500, Vit Timchishin wrote:
> On Wed, 27 Feb 2002 12:51:12 +0100 (MET), Markus Montkowski wrote:
> 
> > 
> >> Does anyone know of an NDIS driver for a PCI DSL modem card?
> >
> >There is none. 
> >> 
> >> >     3rd party tools like the 3 mentioned.
> >> 
> >> Do any of them support PPPoA?
> >
> >All 3 do
> 
> Don't mix PPPoA and PPPoE please. Can't tell about ISDNPM and InJoy but SafeFire do NOT. AFAIR two 
> others too.


I did a search for PPP and ATM on InJoy's web site and found a number of 
hits. Unfortunately the ATM in question was related to cash dispensers 
:-).

> Bye,
> 	Vit


-- 
John



------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

Vit Timchishin wrote:

>On Wed, 27 Feb 2002 12:51:12 +0100 (MET), Markus Montkowski wrote:
>
>>>Does anyone know of an NDIS driver for a PCI DSL modem card?
>>>
>>There is none. 
>>
>>>>    3rd party tools like the 3 mentioned.
>>>>
>>>Do any of them support PPPoA?
>>>
>>All 3 do
>>
>
>Don't mix PPPoA and PPPoE please. Can't tell about ISDNPM and InJoy but SafeFire do NOT. AFAIR two 
>others too.
>Some providers bridge PPPoA into PPtP. This will give you some options. But to get PPPoA support, first get 
>dirvers for A. PPP is no problems, o can be done really fast :)
>Bye,
>	Vit
>
>
>
>
>
>The OS/2 Device Driver Programming mailing list.
>http://www.egroups.com/group/os2ddprog
>
>To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
> 
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
>
>
Hi,
i am the author of ISDNPM. ISDNPM supports under OS/2 only PPPoE not 
PPPoA. The reason is :
there are no drivers for ATM/DSL cards (like EICON, AVM ...) under OS/2 
. About 2 years ago, i have
written a NDIS driver for an ATM-card (FORERUNNER LE 25Mbit) to support 
PPPoA , RFC1483 ...
But the FORERUNNER support no DSL !!!!

regards MyWi



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

John Poltorak wrote:
> 
> > Don't mix PPPoA and PPPoE please. Can't tell about ISDNPM and InJoy but SafeFire do NOT. AFAIR two
> > others too.
> 
> I did a search for PPP and ATM on InJoy's web site and found a number of
> hits. Unfortunately the ATM in question was related to cash dispensers
> :-).

Why are you so interested in ATM? Nobody uses ATM for new installations
(at least I don't think so). I have an ADSL connection terminated in
ATM25, but my ISP switched to Ethernet a couple of weeks after I got my
installation.

There are no ATM cards available with OS/2 support, so PPPoA support
won't do you any good as "A" is not supported on OS/2. I use OpenBSD in
my router BTW - the only OS with the nescessary ATM support apart from
Cisco IOS...

As far as I know if you get a DSL connection you'll get either:

1: A DSL modem with Ethernet interface.
2: A DSL modem with USB interface.
3: A modem/router combo like the Cisco 677

- No ATM needed.

Best regards,

Mikkel C. Simonsen


> > Bye,
> >       Vit
> 
> --
> John
> 
> 
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
> 
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

The real question is why you "must" have a pci card, when an external adsl router/adapter would work just
fine.

Down here, my telco uses the Cisco 677, and the "other" telco (southern half of the country) uses an Alcatel
one, both external, and both connected thru standard ethernet.

In other words, the telco MIGHT offer you a pci card, but it doesn't mean you can't buy an external adsl
router (if you know the adsl modulation standard involved, T1.413, DSL.lite, etc)

Regards

Fernando
Buenos Aires, Argentina

Vit Timchishin wrote:

>
> On Wed, 27 Feb 2002 11:41:14 +0000, John Poltorak wrote:
>
> >Does anyone know of an NDIS driver for a PCI DSL modem card?


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Wed, Feb 27, 2002 at 03:14:03PM +0100, Mikkel C. Simonsen wrote:
> John Poltorak wrote:
> > 
> > > Don't mix PPPoA and PPPoE please. Can't tell about ISDNPM and InJoy but SafeFire do NOT. AFAIR two
> > > others too.
> > 
> > I did a search for PPP and ATM on InJoy's web site and found a number of
> > hits. Unfortunately the ATM in question was related to cash dispensers
> > :-).
> 
> Why are you so interested in ATM? Nobody uses ATM for new installations
> (at least I don't think so). 

Apparently everyone in the UK uses PPPoA for broadband access.

> I have an ADSL connection terminated in
> ATM25, but my ISP switched to Ethernet a couple of weeks after I got my
> installation.

But surely you don't run ethernet along the phone lines...
 
> There are no ATM cards available with OS/2 support, 

IBM used to make a WAC adapter which came with OS/2 support. I'm not sure 
if this supported ATM, but it claimed support for a number of wide area 
comms standards and came with an OS/2 NDIS driver.

> so PPPoA support
> won't do you any good as "A" is not supported on OS/2. 

This is a naive question, but I'm ignorant about the technology...

Does the card specifically need ATM support if it has an NDIS driver?

According to TCPIP.NIF:-

[IfType]
  DISPLAY = "Network Interface Type"
  TYPE = Decimal
  RANGE = 1 - 56
  SCOPE = local
  OPTIONAL = yes
  EDITABLE = yes
  HELP = "Specify for this parameter an 'ifType' value, as defined in Internet
standard RFC 1700, that best describes the type of network to which this
port is attached.  Frequently used values include:

                      5 = X.25 (with RFC 877 or 1356),
                      6 = Ethernet V2,
                      9 = Token-Ring,
                     15 = FDDI,
                     17 = SDLC,
                     18 = T1,
                     19 = E1,
                     20 = ISDN-BRI,
                     21 = ISDN-PRI,
                     23 = PPP,
                     31 = SMDS,
                     32 = Frame-Relay,
                     37 = ATM


Doesn't TCP/IP somehow have built in support for ATM?


> I use OpenBSD in
> my router BTW - the only OS with the nescessary ATM support apart from
> Cisco IOS...

If it's in OpenBSD, then the source must be available for porting to OS/2.
 
> As far as I know if you get a DSL connection you'll get either:
> 
> 1: A DSL modem with Ethernet interface.
> 2: A DSL modem with USB interface.
> 3: A modem/router combo like the Cisco 677

In the UK we now have a new option :-

4: A Telco socket - supply your own hardware. 
 
> - No ATM needed.

It is not a matter of need! I don't *need* to use OS/2.

 
> Best regards,
> 
> Mikkel C. Simonsen


-- 
John



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

John Poltorak wrote:
> 
> On Wed, Feb 27, 2002 at 03:14:03PM +0100, Mikkel C. Simonsen wrote:
> > John Poltorak wrote:
> > >
> > > > Don't mix PPPoA and PPPoE please. Can't tell about ISDNPM and InJoy but SafeFire do NOT. AFAIR two
> > > > others too.
> > >
> > > I did a search for PPP and ATM on InJoy's web site and found a number of
> > > hits. Unfortunately the ATM in question was related to cash dispensers
> > > :-).
> >
> > Why are you so interested in ATM? Nobody uses ATM for new installations
> > (at least I don't think so).
> 
> Apparently everyone in the UK uses PPPoA for broadband access.

Does it use ATM? Or does it use the PPPoA protocol encapsulated in
something else (like PPtP)? I'm quite sure the latter is the case.

> > I have an ADSL connection terminated in
> > ATM25, but my ISP switched to Ethernet a couple of weeks after I got my
> > installation.
> 
> But surely you don't run ethernet along the phone lines...

The ADSL modem has a telephone line connector, an ATM25 connector and
(in the later versions of the modem) an Ethernet connector.

> > There are no ATM cards available with OS/2 support,
> 
> IBM used to make a WAC adapter which came with OS/2 support. I'm not sure
> if this supported ATM, but it claimed support for a number of wide area
> comms standards and came with an OS/2 NDIS driver.

"Used to make". As far as I know there are NO ATM25 (not ATM155) cards
available with OS/2 drivers - there were three or four many years ago...

Even if I managed to get one of the old cards, OS/2 does not support the
"comms standard" used by my ISP - it's not even supported on Windoze or
Linux!

> > so PPPoA support
> > won't do you any good as "A" is not supported on OS/2.
> 
> This is a naive question, but I'm ignorant about the technology...
> 
> Does the card specifically need ATM support if it has an NDIS driver?

Does an ATM card need ATM support? I think so. The part you don't
understand is that most of the ISPs claiming to use PPPoATM do not
actually use ATM. They just use the PPPoA protocol encapsulated in
something else - their backbones run on ATM, which is why they use the
PPPoA protocol.

Ethernet equipment is much cheaper than ATM equipment, so it makes no
sense to use ATM cards at the subscriber end, when Ethernet is so much
more widespread.

> According to TCPIP.NIF:-
> 
> [IfType]
>   DISPLAY = "Network Interface Type"
>   TYPE = Decimal
>   RANGE = 1 - 56
>   SCOPE = local
>   OPTIONAL = yes
>   EDITABLE = yes
>   HELP = "Specify for this parameter an 'ifType' value, as defined in Internet
> standard RFC 1700, that best describes the type of network to which this
> port is attached.  Frequently used values include:
> 
>                       5 = X.25 (with RFC 877 or 1356),
>                       6 = Ethernet V2,
>                       9 = Token-Ring,
>                      15 = FDDI,
>                      17 = SDLC,
>                      18 = T1,
>                      19 = E1,
>                      20 = ISDN-BRI,
>                      21 = ISDN-PRI,
>                      23 = PPP,
>                      31 = SMDS,
>                      32 = Frame-Relay,
>                      37 = ATM
> 
> Doesn't TCP/IP somehow have built in support for ATM?

Yes, it supports ATM on ATM cards.

> > I use OpenBSD in
> > my router BTW - the only OS with the nescessary ATM support apart from
> > Cisco IOS...
> 
> If it's in OpenBSD, then the source must be available for porting to OS/2.

Yes, but porting both the ATM part of the OBSD networking stack and then
porting the ATM card driver sounds like a lot of work. And why do all
that work when you can pick up an old 486 PC to use as a router for
free? If ATM was a new upcoming standard the work would serve a purpose,
but as the standard is dying out fast (at the consumer end) why bother?

> > As far as I know if you get a DSL connection you'll get either:
> >
> > 1: A DSL modem with Ethernet interface.
> > 2: A DSL modem with USB interface.
> > 3: A modem/router combo like the Cisco 677
> 
> In the UK we now have a new option :-
> 
> 4: A Telco socket - supply your own hardware.

Great! So buy a DSL to Ethernet modem (available from Siemens, Ericsson,
Alcatel and many others) and the problem is solved - no ATM needed!

You could also get a DSL CSU/DSU and connect is to your OS/2 system
using a sync. serial interface. But why bother? The Ethernet DSL modems
work great and are supported on OS/2 and everything else with Ethernet
support.

> > - No ATM needed.
> 
> It is not a matter of need! I don't *need* to use OS/2.

But you like using OS/2, as do I. But why not just buy some supported
hardware?

Best regards,

Mikkel C. Simonsen


> > Best regards,
> >
> > Mikkel C. Simonsen
> 
> --
> John
> 
> 
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
> 
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

On Tue, 26 Feb 2002 17:51:37 +0100 (MET), Markus Montkowski wrote:

>>
>> > PPPoE is just a protocol you run on top of standard TCP/IP.
>> 
>> Unless you ar using ISDNPM of course.
>> 
>Wrong, PPPoE it is never used over TCPIP. Thats why it's called PPPoE (over
>Ethernet) and not PPPoTCP.
>You always need an NDIS protocol driver implementing PPPoE.

Only if you insist on having it on the card. Instead, you can use an external router with built-in PPPoE support, 
such as the SMC Barricade. This even has a built-in 10/100 hub, so you just get an Ethernet UTP connection 
to a standard LAN card in your PC. This will save you a lot of hassle.

Regards, Mat Nieuwenhoven



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши

Or a Linksys. I love Linksys routers. They are affordable, secure, well supported, and support PPPoE for adsl/cable
connections.
:-)

Just my $0.02. But let's cut this thread or move it elsewhere. I hear the list-police coming.

;-)

Regards
Fernando

Mat Nieuwenhoven wrote:

> Only if you insist on having it on the card. Instead, you can use an external router with built-in PPPoE support,
> such as the SMC Barricade. This even has a built-in 10/100 hub, so you just get an Ethernet UTP connection to a
> standard LAN card in your PC. This will save you a lot of hassle.
>
> Regards, Mat Nieuwenhoven


The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

> 
> Don't mix PPPoA and PPPoE please. Can't tell about ISDNPM and InJoy but SafeFire do NOT. AFAIR two
> others too.

Hi Vit, sorry misread the post thought he was talking about PPPoE
(Fontrendering in mozilla on linux suxx...)
which SF does nicely, otherwise I couldn't write this post.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

On Wed, Feb 27, 2002 at 05:27:35PM +0100, Mikkel C. Simonsen wrote:
> John Poltorak wrote:
> > 
> > > Why are you so interested in ATM? Nobody uses ATM for new installations
> > > (at least I don't think so).
> > 
> > Apparently everyone in the UK uses PPPoA for broadband access.
> 
> Does it use ATM? Or does it use the PPPoA protocol encapsulated in
> something else (like PPtP)? I'm quite sure the latter is the case.

As I said earlier, I have little understanding of PPPoA or ATM, but I'm 
trying to pick up something from:-

http://www.cisco.com/warp/public/794/pppoa_arch.html

I don't really know what PPtP is, but I don't think it has anything to do 
with PPPoA. 

> The ADSL modem has a telephone line connector, an ATM25 connector and
> (in the later versions of the modem) an Ethernet connector.

What sort of computer interface does the telephone connector use?

> Even if I managed to get one of the old cards, OS/2 does not support the
> "comms standard" used by my ISP - it's not even supported on Windoze or
> Linux!

My understanding is that PPPoA is specified for use over the wires by the 
Telco. It doesn't matter what the ISP uses.


> You could also get a DSL CSU/DSU and connect is to your OS/2 system
> using a sync. serial interface. But why bother? The Ethernet DSL modems
> work great and are supported on OS/2 and everything else with Ethernet
> support.

I'm trying to discover the great mystery embedded within DSL modems. What 
is so special about them?

Do they have ATM cards? They do support PPPoA BTW.

 
> > > - No ATM needed.
> > 
> > It is not a matter of need! I don't *need* to use OS/2.
> 
> But you like using OS/2, as do I. But why not just buy some supported
> hardware?

I already have an ADSL Router, but I'd like to make it redundant.

 
> Best regards,
> 
> Mikkel C. Simonsen

-- 
John



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

John Poltorak wrote:
> 
> On Wed, Feb 27, 2002 at 05:27:35PM +0100, Mikkel C. Simonsen wrote:
> > John Poltorak wrote:
> > >
> > > > Why are you so interested in ATM? Nobody uses ATM for new installations
> > > > (at least I don't think so).
> > >
> > > Apparently everyone in the UK uses PPPoA for broadband access.
> >
> > Does it use ATM? Or does it use the PPPoA protocol encapsulated in
> > something else (like PPtP)? I'm quite sure the latter is the case.
> 
> As I said earlier, I have little understanding of PPPoA or ATM, but I'm
> trying to pick up something from:-
> 
> http://www.cisco.com/warp/public/794/pppoa_arch.html

As far as I can see from the above document, the ATM part is used by the
ISP to connect their DSLAMs to the IP backbone.

> I don't really know what PPtP is, but I don't think it has anything to do
> with PPPoA.

PPtP is (as far as I know - it's not used here) one of the protocols
used between DSL modems and computers.

What I do know is that PPPoA does not work without ATM cards, so if your
ISP/Telco/whatever claims to use PPPoA, then the PPPoA protocol is
encapsulated in something else. If plain PPPoA is used, then you would
have to install an ATM card in your PC to use the connection.

> > The ADSL modem has a telephone line connector, an ATM25 connector and
> > (in the later versions of the modem) an Ethernet connector.
> 
> What sort of computer interface does the telephone connector use?

What do you mean? Telephone line/POTS/RJ11?

> > Even if I managed to get one of the old cards, OS/2 does not support the
> > "comms standard" used by my ISP - it's not even supported on Windoze or
> > Linux!
> 
> My understanding is that PPPoA is specified for use over the wires by the
> Telco. It doesn't matter what the ISP uses.

In my case Telco and ISP is one and the same. But in Denmark (and most
other countries I guess?) ISPs can install whatever equipment they like
at the Telco switch boards, and use whatever protocols/technologies they
want. The ISP pays the Telco for using the phone wires, so the ISP
chooses what equipment to use.

> > You could also get a DSL CSU/DSU and connect is to your OS/2 system
> > using a sync. serial interface. But why bother? The Ethernet DSL modems
> > work great and are supported on OS/2 and everything else with Ethernet
> > support.
> 
> I'm trying to discover the great mystery embedded within DSL modems. What
> is so special about them?
> 
> Do they have ATM cards? They do support PPPoA BTW.

They may include ATM support - just like the Siemens ADSL modems do. But
the part you have to worry about, is how do they interface with the
computer.

If they are external and use Ethernet, they behave like a normal
Ethernet interface. Depending on how the ISPs setup their equipment, the
system works in different ways:

1. PPPoE is used to setup the Internet connection
2. An IP-address etc. is supplied to the computer using DHCP
3. The computer is setup with a static IP on a /30 network using another
IP in the same network as the default route.

Option one and three can also be used with ATM (using PPPoA instead of
PPPoE of course).

All the above five options are currently used by my ISP... Another
option used some places is to use a strange, proprietary protocol to
connect the modems to the computers, or a strange, proprietary dialler
to connect the computers to the Internet. That's were you're in trouble
as an OS/2 user...

The ADSL cards or cable modem cards are a different matter. How do they
interface with the computer? Do they look like modems, Ethernet cards,
ATM cards or something completely different? Are they just a network
interface, or do they handle dialling and authentication as well?

But if you're ISP uses strange stuff, and you can't switch to one that
doesn't, I'd say: get a router that's supported. Perhaps you can set it
up as a bridge thereby still having the "real" IP on your OS/2 system.

Best regards,

Mikkel C. Simonsen


> > > > - No ATM needed.
> > >
> > > It is not a matter of need! I don't *need* to use OS/2.
> >
> > But you like using OS/2, as do I. But why not just buy some supported
> > hardware?
> 
> I already have an ADSL Router, but I'd like to make it redundant.
> 
> 
> > Best regards,
> >
> > Mikkel C. Simonsen
> 
> --
> John
> 
> 
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
> 
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

John,

You're confusing issues, I think. The "data" is modulated over the copper wires
by the use one of several "standard" adsl modulation techniques, like T1.413, or
"G.Lite" (splitterless, lower speeds).

Then, the telco might use ATM on the "LAN" that you get connected into (the one
that hooks their DSLAMs).

But in the end, you only have to care about PPPoE, which is the protocol used
between your computer and the ISP's router. The ADSL standard "T1.413" is based
on ATM, but you have nothing to do with it, as soon as you power on the adsl
adapter, it tests the line and gets a connection to the DSLAM on the other end,
and in 1-5 secs you get a "Link" light on the adsl adapter. So, yes, adsl is
based on atm, but the adsl router->dslam connection is pretty much handled by
firmware. (At least on the Cisco 6xx series).

My setup:

Telco 2-wire copper (POTS) cable => Splitter --- [analog rj11 for voice]
                                                               | [rj11 for
"data"] to Cisco 677 =>RJ45 ethernet

The Cisco "adsl adapter" talks to the DSLAM (head-end on the central office)
using T1.413. The PC gets an ip lease with the ISP's router using PPPoE.

Perhaps I'm missing something about what you need. Anyway, I think this
discussion fits "os2-isp" more than this list.

Regards
Fernando

John Poltorak wrote:

> What sort of computer interface does the telephone connector use?


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).


Following the thread about an NDIS driver for an internal ADSL modem,
I've managed to locate Linux drivers for PCI DSL Modems based on the ITex 
chip here:-

http://www.nzdsl.co.nz/software/other/Default.htm


The actual URL for the drivers is:-

http://www.nzdsl.co.nz/software/other/PPPOA.zip


Is it possible to port this to OS/2?

-- 
John



------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

Hi All

I am using a hybrid driver of 16 bit, and 32 bit code.
A thin 16-bit code for the stratagy, Interrupt and
rest all 32-bit. At present in my 32 bit code, I am
passing the address of the variable declared in stack,
to a function by converting it into a FLAT address.
Since the kernel uses 16 stack. This conversion is
done by adding TKSSBase address, and 16 bit SP. I am
usning this because its faster than VirtToLin DevHlp
call. 
I am using VAC++ to build the 32bit code and ALP to
build the 16 bit code. My question is, Is there any
way I can automate this with the the help of the
compiler. I read somewhere that Watcom compiler has a
switch to over come this problem.

Anybody can help....

Regards,
Pons

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

> This conversion is done by adding TKSSBase address, and 16 bit
SP. 
> ...
> Is there any way I can automate this with the the help of the
compiler. 
> I read somewhere that Watcom compiler has a switch to over come
this problem.

It sounds like everything is working fine.

If you want to automate the address conversion, there is a macro 
in the toolkit/ddk headers that will do it, SSToDS.  See
basemac.h.
It should work fine with either compiler.   I'm willing to bet
though that 
you know this already, so I'm not sure what you're after.

-Joe Nord

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

On Mon, Mar 04, 2002 at 08:44:50AM -0600, Nord, Joe wrote:
> > This conversion is done by adding TKSSBase address, and 16 bit
> SP. 
> > ...
> > Is there any way I can automate this with the the help of the
> compiler. 
> > I read somewhere that Watcom compiler has a switch to over come
> this problem.
> 
> It sounds like everything is working fine.
> 
> If you want to automate the address conversion, there is a macro 
> in the toolkit/ddk headers that will do it, SSToDS.  See
> basemac.h.
> It should work fine with either compiler.   I'm willing to bet
> though that 
> you know this already, so I'm not sure what you're after.

Apparently he is looking for a compiler switch to hide that addition of
the TKSSBase offset, so that he doesn't need to worry about DS and
SS pointers any more. I already had this idea long ago; it looks
attractive, but it is actually a two-bladed sword - there are cases
where you intentionally don't want to do such conversion - difficult
to persuade the compiler then not to implicitly convert it. You better
want to be informed in every case what will be done, and this is done
by marking such pointers with the SSToDS macro.

Holger

-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Hello!

Someone asked me how he can add his 32 bit driver to the OS/2 Resource Manager 
(16 bit?).
I have not looked into the Resource Manager so far, but maybe someone on this list 
here has used it already or has a solution.
He's using Watcom (the beta version from Sep 2001), as far as I know.
An example would be nice! :)
Many thanks in advance!

Regards,
Juergen Ulbts - Germany


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

Hi all,

	A few years ago, I did a modified PRINT01.SYS for a PCMCIA parallel port.  At
the time, the parallel driver did not support PnP at all.  An IBM program
manager told me that making that driver PnP aware was on the list of things to
do, but it wasn't a high priority.  Now we have a customer asking for a PCI
device that would have parallel functionality, so this issue has arisen again.

	Does anyone know whether the parallel driver was made PnP capable?

	As a second issue, does anyone know whether ECP and/or EPP support was ever
added to that driver?

Sincerely,

Chris Myers
Senior Project Engineer
Quatech, Inc.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru



Chris Myers schreef:

> Hi all,
>
>         A few years ago, I did a modified PRINT01.SYS for a PCMCIA parallel port.  At
> the time, the parallel driver did not support PnP at all.  An IBM program
> manager told me that making that driver PnP aware was on the list of things to
> do, but it wasn't a high priority.  Now we have a customer asking for a PCI
> device that would have parallel functionality, so this issue has arisen again.
>
>         Does anyone know whether the parallel driver was made PnP capable?
>

If you mean support for a PCI parallel port addin, the latest print01.sys are.

27-03-01 11:33         13.886      0 a---  print01.sys

Afaik it's still free downloadable at the DD-sites.


--
Groeten uit Gent,

   Kris



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).


--- Holger Veit <holger.veit@ais.fhg.de> wrote:
> On Mon, Mar 04, 2002 at 08:44:50AM -0600, Nord, Joe
> wrote:
> > > This conversion is done by adding TKSSBase
> address, and 16 bit
> > SP. 
> > > ...
> > > Is there any way I can automate this with the
> the help of the
> > compiler. 
> > > I read somewhere that Watcom compiler has a
> switch to over come
> > this problem.
> > 
> > It sounds like everything is working fine.
> > 
> > If you want to automate the address conversion,
> there is a macro 
> > in the toolkit/ddk headers that will do it,
> SSToDS.  See
> > basemac.h.
> > It should work fine with either compiler.   I'm
> willing to bet
> > though that 
> > you know this already, so I'm not sure what you're
> after.
> 
> Apparently he is looking for a compiler switch to
> hide that addition of
> the TKSSBase offset, so that he doesn't need to
> worry about DS and
> SS pointers any more. I already had this idea long
> ago; it looks
> attractive, but it is actually a two-bladed sword -
> there are cases
> where you intentionally don't want to do such
> conversion - difficult
> to persuade the compiler then not to implicitly
> convert it. You better
> want to be informed in every case what will be done,
> and this is done
> by marking such pointers with the SSToDS macro.
> 
> Holger

Thanks Holger, At present I am using the same type of
macro like SStoDS(p) for the conversion. So you mean
to say that each instance I have to expilicitly use
the macro. The compiler also gives a warinig " SS not
equal to DS, address of automtic variable taken". This
helps in someway.

Ponraj.K




__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

As promised.  Here is the latest update to the DDK.

================================================================================
                                                                            
 Input/Output devices                                                       
                                                                            
                                                                            
 USB device drivers have been updated.                                      
                                                                            
                                                                            
 Be sure to download the following files that can be found under            
 Input/Output Device Drivers                                                
                                                                            
                                                                            
 and Test Tools.                                                            
                                                                            
                                                                            
                                                                            
       Source Code for Input/Output drivers ZIP file                        
       Build Environment ZIP file                                           
       Build Tools ZIP file                                                 
                                                                            


=================================================================================


Glen Fine
IBM Solution Technologies
OS/2 Competency Center & IHV Advocacy, Austin, Texas
Internet : gfine@us.ibm.com




------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Glen,

Glen Fine wrote:

>As promised.  Here is the latest update to the DDK.
>
Thanks. Is there any chance that the source to the SMP PSDs, such as 
OS2APIC.PSD, will ever make it to the DDK ?



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

Hi Glen!

On Wed, 6 Mar 2002 15:49:27 -0600, Glen Fine wrote:

>As promised.  Here is the latest update to the DDK.

Thanks a lot!

Anyway, there seem to be some problems with the zip archives. After
download (several downloads, actually) I tested the zips with both the
commands "unzip -t <filename>" and "pkunzip -t <filename>" and got
consistently the results that (at least) the following files are
invalid zip archives:

  comprint.zip
  inout.zip
  print.zip

The download was done using ftp in binary mode.

Ciao,
  Dani

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniela Engert, systems engineer at MEDAV GmbH
Gr fenberger Str. 34, 91080 Uttenreuth, Germany
Phone ++49-9131-583-348, Fax ++49-9131-583-11



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru -      ,   -         ,           .....

In <20020307061125.3A0336731@mail.medav.de>, on 03/07/02 
   at 08:16 AM, "Daniela Engert" <dani@ngrt.de> said:

>download (several downloads, actually) I tested the zips with both the
>commands "unzip -t <filename>" and "pkunzip -t <filename>" and got
>consistently the results that (at least) the following files are invalid
>zip archives:

>  comprint.zip
>  inout.zip
>  print.zip

Humm.  That's odd.  I only pulled:

 inout            .zip   2,707,601 .a..  3-06-02 14:41:00

because I already had the others.  Used emtec ftp and unzip says it's
fine.

Regards,

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Thu, 07 Mar 2002 00:18:40 -0800, Steven Levine wrote:

>>download (several downloads, actually) I tested the zips with both the
>>commands "unzip -t <filename>" and "pkunzip -t <filename>" and got
>>consistently the results that (at least) the following files are invalid
>>zip archives:
>
>>  comprint.zip
>>  inout.zip
>>  print.zip
>
>Humm.  That's odd.  I only pulled:
>
> inout            .zip   2,707,601 .a..  3-06-02 14:41:00
>
>because I already had the others.  Used emtec ftp and unzip says it's
>fine.

My copy here says the same, but unzip wouldn't accept it. Now I've
tried another time (both through the web frontend and directly form the
ftp server) - this time all downloads are ok. Strange!

Ciao,
  Dani

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniela Engert, systems engineer at MEDAV GmbH
Gr fenberger Str. 34, 91080 Uttenreuth, Germany
Phone ++49-9131-583-348, Fax ++49-9131-583-11



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
                ,                 - http://www.newhost.ru

Sorry, right now the answer is no.  There is proprietary code in
OS2APIC.PSD
that can not be released into the public domain.  If the situation changes
with respect to this particular proprietary code I will let you know via
this
forum.

Glen Fine
IBM Solution Technologies
OS/2 Competency Center & IHV Advocacy, Austin, Texas
Internet : gfine@us.ibm.com

Who is General Failure and why is he reading my hard drive ?




|---------+---------------------------->
|         |           Julien Pierre    |
|         |           <madbrain@thetaba|
|         |           nd.com>          |
|         |                            |
|         |           03/06/2002 05:03 |
|         |           PM               |
|         |           Please respond to|
|         |           os2ddprog        |
|         |                            |
|---------+---------------------------->
  >----------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                      |
  |       To:       os2ddprog@yahoogroups.com                                                                            |
  |       cc:                                                                                                            |
  |       Subject:  Re: [os2ddprog] DDK Update                                                                           |
  |                                                                                                                      |
  |                                                                                                                      |
  >----------------------------------------------------------------------------------------------------------------------|



Glen,

Glen Fine wrote:

>As promised.  Here is the latest update to the DDK.
>
Thanks. Is there any chance that the source to the SMP PSDs, such as
OS2APIC.PSD, will ever make it to the DDK ?




The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/






The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Glen,

Glen Fine wrote:

> Sorry, right now the answer is no.  There is proprietary code in
> OS2APIC.PSD
> that can not be released into the public domain.  If the situation changes
> with respect to this particular proprietary code I will let you know via
> this
> forum.

Is there any other PSD source that could possibly be released ?
Even a sample PSD or skeleton would be useful.

Thanks.

> Glen Fine
> IBM Solution Technologies
> OS/2 Competency Center & IHV Advocacy, Austin, Texas
> Internet : gfine@us.ibm.com
>
> Who is General Failure and why is he reading my hard drive ?
>
> |---------+---------------------------->
> |         |           Julien Pierre    |
> |         |           <madbrain@thetaba|
> |         |           nd.com>          |
> |         |                            |
> |         |           03/06/2002 05:03 |
> |         |           PM               |
> |         |           Please respond to|
> |         |           os2ddprog        |
> |         |                            |
> |---------+---------------------------->
>   >----------------------------------------------------------------------------------------------------------------------|
>   |                                                                                                                      |
>   |       To:       os2ddprog@yahoogroups.com                                                                            |
>   |       cc:                                                                                                            |
>   |       Subject:  Re: [os2ddprog] DDK Update                                                                           |
>   |                                                                                                                      |
>   |                                                                                                                      |
>   >----------------------------------------------------------------------------------------------------------------------|
>
> Glen,
>
> Glen Fine wrote:
>
> >As promised.  Here is the latest update to the DDK.
> >
> Thanks. Is there any chance that the source to the SMP PSDs, such as
> OS2APIC.PSD, will ever make it to the DDK ?
>
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
>
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
>
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

On Thu, 07 Mar 2002 11:43:07 -0800, Julien Pierre wrote:

  Julien,

>Is there any other PSD source that could possibly be released ?
>Even a sample PSD or skeleton would be useful.
>
 I believe there is some PSD sample code in some old SMP.INF 
document...


     Michal



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

I wish there was something I could tell you other than the obvious.

Investigating the Intel specs on SMP and some other places such
as Linux SMP stuff may give you a good outline of how SMP is
done.



Glen Fine
IBM Solution Technologies
OS/2 Competency Center & IHV Advocacy, Austin, Texas
Internet : gfine@us.ibm.com

Who is General Failure and why is he reading my hard drive ?



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....


Argh! I'm trying to write a USB driver for the USB to serial converter
cables which contain the pl2303 USB bridge chip. I started with IBM's
DDK and started hacking the code in usbcom figuring a serial driver
would be a good starting point. I've succeeded in writing an infinite
loop and I don't understand why. I've got two questions: one specific
and one more general.

In comstrat.c the startup procedure when the cable is discovered calls
a routine, MDMSetConf, which running under the IRQ sets up modem
control variables and then queues up some commands to the USB device.
One of these routines, SetLineCoding, sets up:
bmRequestType = REQTYPE_XFERDIR_HOSTTODEV;
bRequest = SET_LINE_CODING
These are then wrapped into the USB data wrapper rp with:
rp.rph.Cmd = CMDGenIOCTL
rp.Catagory = USB_IDC_CATEGORY_USBD
rp.Function = USB_IDC_FUNCTION_ACCIO;
The routine then exits and MDMSetConf completes ending the IRQ
servicing. When the IRQ exits the queued up SET_LINE_CODING message is
handled by the USBD driver which dispatches it to the acceptIO.
acceptIO redispatches the message to the idc of the controller ID
passed in the rp wrapper which is my USB serial driver that originally
sent the message. The serial driver idc dispatches the command based
on bRequest which recalls SetLineCoding and starts the whole process
over again and again and again until the modem structure has been
filled in and then the sequence ends. At no time does the driver ever
seem to write a communication configuration out to the device. Here in
lays my problem.

Bottom line: how do you ever write out to the device? Everything that
I do seems to wrap back to my driver. I don't see any outp's or
anysuch thing where data is ever written any where to a device.
Additionally, how do I know what the address of the device actually
is? I know the endpoints but I don't see where they're ever written to
by USBD or USBCOM.

Help?

Thanks. I appologize for my novice questions. I've not written a USB
driver before nor done much OS/2 codeing. I normally write code for
embedded micros.

-John



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

> 
> Bottom line: how do you ever write out to the device? Everything that
> I do seems to wrap back to my driver. I don't see any outp's or
> anysuch thing where data is ever written any where to a device.
> Additionally, how do I know what the address of the device actually
> is? I know the endpoints but I don't see where they're ever written to
> by USBD or USBCOM.
> 
> Help?
> 
Short summery is you don't write to any device there are no outp or
alike
code in an USB driver. All comunicationg is done via IDC calls to the
USB
stack. You set up a USB Request Block containing the address of the
device
and the interface/endpoint the request should be send to. buffers
with/for 
the data and the sizes of the buffers and an value to identify the
request.
The USB stcak 'll process that request put it into the HW queue of the
USB Hostcontroler in the PC which'll then process the request. The
queing call
will return imediatly .The USB stack driver'll call your driver back
when the
request was processed with the status and posible data read.

While the USBCOM.SYS is a good choise for the upper layer interface of a
serial
driver. All of the USB handling/requests used by the driver can't be
used at all.
All these requests are for an ACM-Compliant USB device.
All USB serial converters I know don't comply to that USB Spec. They use
a vendor spec. protocol. Infos about their protocol could be taken form
the sources of a linux USB driver.
If you want to write a USB driver fundamental understanding of the USB
comunication model is a needed and you should read the USB documentation
found at www.usb.org. After that you might want to have a look at the
sheets of the presentation about USB driver development under OS/2 which
I held at the previous Warpstocks. I think it is available at
os2world.com.
An updated version is available from the netlabs CVS server as part of
the
USB drivers project there.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

I encoutered a problem with DevHelp's ProcBlock/ProcRun - sometimes a "therad" blocked by ProcBlock do not 
reactivated by ProcRun on the same identifier. The next call to ProcRun activates this "thread".

Here is the ProcBlock wrapper i use:

void _sti (void);
#pragma aux _sti = \
    "sti" ;
void _cli (void);
#pragma aux _cli = \
    "cli" ;

WORD blockthread(DWORD addr, WORD waitfor)
{
	WORD rc = SUCCESS;
	do {
		_cli();
		if(DevBlock(addr, -1, 0))
		{
			rc = GENERAL_FAILURE;
			break;
		}
	} while(*(WORD far *)addr != waitfor && waitfor);
	_sti();
	return rc;
}

I tries both with cli/sti and without them - the same result.

Somebody, help! ;)
                                                     Faithfully Yours, Nick



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

In <200203102110.AAA053.20@router.home>, on 03/11/2002 
   at 12:10 AM, "nick" <nickathome@mtu-net.ru> said:


>I encoutered a problem with DevHelp's ProcBlock/ProcRun - sometimes a
>"therad" blocked by ProcBlock do not  reactivated by ProcRun on the same
>identifier. The next call to ProcRun activates this "thread".

Two ideas:

1. You have a race condition between the thread calling ProcBlock and the
thread calling ProcRun.  That is, the ProcRun thread calls ProcRun before
ProcBlock has completed.

2. The identifiers really are NOT the same.

-- 
Timur Tabi, timur@tabi.org


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Sun, 10 Mar 2002 15:54:19 -0600, Timur Tabi wrote:

>>I encoutered a problem with DevHelp's ProcBlock/ProcRun - sometimes a
>>"therad" blocked by ProcBlock do not  reactivated by ProcRun on the same
>>identifier. The next call to ProcRun activates this "thread".
>
>Two ideas:
>
>1. You have a race condition between the thread calling ProcBlock and the
>thread calling ProcRun.  That is, the ProcRun thread calls ProcRun before
>ProcBlock has completed.

If yes, how to solve this ? Is there any way to find out that any ProcBlock is being executed when ProcRun runs ? How many time require ProcBlock to 
execute ? I write all debug info from driver to com port and there are several log writings between ProcBlock and ProcRun calls.

>
>2. The identifiers really are NOT the same.

They are the same - i checked this first ;) 






------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Sun, 10 Mar 2002 15:54:19 -0600, Timur Tabi wrote:

>1. You have a race condition between the thread calling ProcBlock and the
>thread calling ProcRun.  That is, the ProcRun thread calls ProcRun before
>ProcBlock has completed.

Also, the PDDref says that it is sufficient to disable interrupts in ProcBlock call to avoid such race conditions.. I am doing it by cli call before ProcBlock 
and it does not help.. May be i do smth wrong?




The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On 11 Mar 2002 06:47:07 UT, nickathome@mtu-net.ru wrote:

>Also, the PDDref says that it is sufficient to disable interrupts
>in ProcBlock call to avoid such race conditions.. I am doing
>it by cli call before ProcBlock and it does not help.. 

This doesn't help here at all. You need "addr" in order to issue
ProcRun. Are you storing it in a static variable before you call
blockthread(...)  ?  If so, then your may already have issued
ProcRun before you enter ProcBlock. Here's a sample to avoid
such a race condition. Of course, if you want to allow multiple
threads to wait for the same event, you need to take addional
care...


static ULONG ulBlockID = 0;


void ISR(void)
{
   ULONG ulTemp;

   if( ulBlockID )	
   {
      ulTemp = ulBlockID;
      ulBlockID = 0;
      ProcRun(ulTemp);
   }
   ....
}


int DoBlock(ULONG ulID)
{
    _cli();
   ulBlockID = ulID;
   rc = ProcBlock(ulBlockID, -1, 0);
   if( rc != 0 )	ulBlockID = 0;
   return rc;
}



-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

On Mon, 11 Mar 2002 09:11:50 +0100, Ruediger Ihle wrote:

>On 11 Mar 2002 06:47:07 UT, nickathome@mtu-net.ru wrote:

>This doesn't help here at all. You need "addr" in order to issue
>ProcRun. Are you storing it in a static variable before you call
>blockthread(...)  ?  If so, then your may already have issued
>ProcRun before you enter ProcBlock. Here's a sample to avoid
>such a race condition. Of course, if you want to allow multiple
>threads to wait for the same event, you need to take addional
>care...
>
>
>static ULONG ulBlockID = 0;
>
>
>void ISR(void)
>{
>   ULONG ulTemp;
>
>   if( ulBlockID )	
>   {
>      ulTemp = ulBlockID;
>      ulBlockID = 0;
>      ProcRun(ulTemp);
>   }
>   ....
>}

The code above is definitely the way to go! The only thing left to take
care of is the atomicity of the test&clear of ulBLockID. This is not an
issue if the code above is run with interrupts disabled but this
depends on the type of interrupt handler. To be on the save side I'd
recommend to collapse the 

   if( ulBlockID )	
   {
      ulTemp = ulBlockID;
      ulBlockID = 0;

block into one atomic cmpxchg operation which will work safely not only
with interrupts enabled but also avoids races on SMP systems.


>int DoBlock(ULONG ulID)
>{
>    _cli();
>   ulBlockID = ulID;
>   rc = ProcBlock(ulBlockID, -1, 0);
>   if( rc != 0 )	ulBlockID = 0;
>   return rc;
>}

This is generally fine (wait is interruptible, the block ID is saved
away) but there is still the loophole left of a false wakeup because of
an unrelated ProcRun (the block ID is not unique). Nick's previously
proposed code takes this into account.

The wakeup on behalf of a kernel event *must* be propagated to the
caller in userland and handled there properly!

Ciao,
  Dani

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniela Engert, systems engineer at MEDAV GmbH
Gr fenberger Str. 34, 91080 Uttenreuth, Germany
Phone ++49-9131-583-348, Fax ++49-9131-583-11



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
                                                ... http://www.newhost.ru -                 Ж           !

On Mon, 11 Mar 2002 09:11:50 +0100, Ruediger Ihle wrote:

>On 11 Mar 2002 06:47:07 UT, nickathome@mtu-net.ru wrote:
>
>>Also, the PDDref says that it is sufficient to disable interrupts
>>in ProcBlock call to avoid such race conditions.. I am doing
>>it by cli call before ProcBlock and it does not help.. 
>
>This doesn't help here at all. You need "addr" in order to issue
>ProcRun. Are you storing it in a static variable before you call
>blockthread(...)  ?  If so, then your may already have issued
>ProcRun before you enter ProcBlock. Here's a sample to avoid
>such a race condition. Of course, if you want to allow multiple
>threads to wait for the same event, you need to take addional
>care...

I am using a address of some variable as the parameter for ProcRun and ProcBlock. Like this :

unsigned short writerequest;

...

ProcBlock((unsigned long)&writerequest, -1, 0);

...

ProcRun((unsigned long)&writerequest);

>
>
>static ULONG ulBlockID = 0;
>
>
>void ISR(void)
>{
>   ULONG ulTemp;
>
>   if( ulBlockID )	
>   {
>      ulTemp = ulBlockID;
>      ulBlockID = 0;
>      ProcRun(ulTemp);
>   }
>   ....
>}
>
>
>int DoBlock(ULONG ulID)
>{
>    _cli();
>   ulBlockID = ulID;
>   rc = ProcBlock(ulBlockID, -1, 0);
>   if( rc != 0 )	ulBlockID = 0;
>   return rc;
>}
>
>
>
>-- 
>Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]
>
>
>
>The OS/2 Device Driver Programming mailing list.
>http://www.egroups.com/group/os2ddprog
>
>To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
> 
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
>
>
>





------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши

On 11 Mar 2002 08:36:09 UT, dani@ngrt.de wrote:

>block into one atomic cmpxchg operation which will work safely not only
>with interrupts enabled but also avoids races on SMP systems.

Good idea ! Using the cmpxchg instruction is a very elegant way to do
this. Unfortunately, it looks like there are different opcodes for it on 486
and Pentium processors. BTW, does the SMP thing really apply here ?
I thought recent SMP kernels would run all ISR code on the first CPU
exclusively...


> but there is still the loophole left of a false wakeup because of
>an unrelated ProcRun (the block ID is not unique). Nick's previously
>proposed code takes this into account.

That's why I tend to use the address of the current request packet 
(which is unique) as block ID. Furthermore this allows the use of
PushReqPacket/PullReqPacket/PullParticular to allow multiple
thread blocking.



-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

On Mon, 11 Mar 2002 11:18:08 +0100, Ruediger Ihle wrote:

>>block into one atomic cmpxchg operation which will work safely not only
>>with interrupts enabled but also avoids races on SMP systems.
>
>Good idea ! Using the cmpxchg instruction is a very elegant way to do
>this. Unfortunately, it looks like there are different opcodes for it on 486
>and Pentium processors.

Actually not.

>BTW, does the SMP thing really apply here ?
>I thought recent SMP kernels would run all ISR code on the first CPU
>exclusively...

True, but there is still the opportunity that the driver may be entered
concurrently on another CPU still running in process context and
issuing the ProcBlock.

AFAIK but I may be wrong here - this is one of the more intricate
issues of SMP implementations - CLI/STI only applies to the CPU where
these commands are issued. Unless these state changes are reflected to
other CPU by means of IPIs, disabling interrupts doesn't prevent you
from the pitfall outlined above.

>> but there is still the loophole left of a false wakeup because of
>>an unrelated ProcRun (the block ID is not unique). Nick's previously
>>proposed code takes this into account.
>
>That's why I tend to use the address of the current request packet 
>(which is unique) as block ID. Furthermore this allows the use of
>PushReqPacket/PullReqPacket/PullParticular to allow multiple
>thread blocking.

Exactly. This is way I do it the same way :-)

Ciao,
  Dani

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniela Engert, systems engineer at MEDAV GmbH
Gr fenberger Str. 34, 91080 Uttenreuth, Germany
Phone ++49-9131-583-348, Fax ++49-9131-583-11



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
                                                ... http://www.newhost.ru -                 Ж           !

Hi!

Actually, my problem not in starting ProcRun before ProcBlock - it executed after ProcBlock according to the logs i wrote to com port. But the blocked 
thread not resumed, and interrupts disabling does no influence on this situation. This happens inside the IDC stuff, so i cant use other approaches 
such as waiting in ring3 instead of ring0, etc ;(

On Mon, 11 Mar 2002 09:34:04 +0100 (CET), Daniela Engert wrote:

>On Mon, 11 Mar 2002 09:11:50 +0100, Ruediger Ihle wrote:
>
>>On 11 Mar 2002 06:47:07 UT, nickathome@mtu-net.ru wrote:
>
>>This doesn't help here at all. You need "addr" in order to issue
>>ProcRun. Are you storing it in a static variable before you call
>>blockthread(...)  ?  If so, then your may already have issued
>>ProcRun before you enter ProcBlock. Here's a sample to avoid
>>such a race condition. Of course, if you want to allow multiple
>>threads to wait for the same event, you need to take addional
>>care...
>>
>>
>>static ULONG ulBlockID = 0;
>>
>>
>>void ISR(void)
>>{
>>   ULONG ulTemp;
>>
>>   if( ulBlockID )	
>>   {
>>      ulTemp = ulBlockID;
>>      ulBlockID = 0;
>>      ProcRun(ulTemp);
>>   }
>>   ....
>>}
>
>The code above is definitely the way to go! The only thing left to take
>care of is the atomicity of the test&clear of ulBLockID. This is not an
>issue if the code above is run with interrupts disabled but this
>depends on the type of interrupt handler. To be on the save side I'd
>recommend to collapse the 
>
>   if( ulBlockID )	
>   {
>      ulTemp = ulBlockID;
>      ulBlockID = 0;
>
>block into one atomic cmpxchg operation which will work safely not only
>with interrupts enabled but also avoids races on SMP systems.
>
>
>>int DoBlock(ULONG ulID)
>>{
>>     cli();
>>   ulBlockID = ulID;
>>   rc = ProcBlock(ulBlockID, -1, 0);
>>   if( rc != 0 )	ulBlockID = 0;
>>   return rc;
>>}
>
>This is generally fine (wait is interruptible, the block ID is saved
>away) but there is still the loophole left of a false wakeup because of
>an unrelated ProcRun (the block ID is not unique). Nick's previously
>proposed code takes this into account.
>
>The wakeup on behalf of a kernel event *must* be propagated to the
>caller in userland and handled there properly!
>
>Ciao,
>  Dani
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Daniela Engert, systems engineer at MEDAV GmbH
>Gr└fenberger Str. 34, 91080 Uttenreuth, Germany
>Phone ++49-9131-583-348, Fax ++49-9131-583-11
>
>
>
>
>The OS/2 Device Driver Programming mailing list.
>http://www.egroups.com/group/os2ddprog
>
>To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
> 
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
>
>
>





The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - ⌠НБґ╝, ╞╝-є╝╛═Хґ╔╛Ц, ╒ Б═╞╝Г╙═Е.....

In <200203110643.JAA48517@ns.ntt.ru>, on 03/11/2002 
   at 09:49 AM, "nick" <nickathome@mtu-net.ru> said:

>>1. You have a race condition between the thread calling ProcBlock and the
>>thread calling ProcRun.  That is, the ProcRun thread calls ProcRun before
>>ProcBlock has completed.

>If yes, how to solve this ? Is there any way to find out that any
>ProcBlock is being executed when ProcRun runs ? How many time require
>ProcBlock to  execute ? I write all debug info from driver to com port
>and there are several log writings between ProcBlock and ProcRun calls.

Well, a race condition is a race condition.  It's just an inherent design
flaw in your code.  You have to understand what a race condition is and
you have to know how to look for it and how to fix it.  This is standard
Computer Science stuff, and outside the scope of this mailing list.

-- 
Timur Tabi, timur@tabi.org


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

In <200203110648.JAA48904@ns.ntt.ru>, on 03/11/2002 
   at 09:53 AM, "nick" <nickathome@mtu-net.ru> said:

>Also, the PDDref says that it is sufficient to disable interrupts in
>ProcBlock call to avoid such race conditions.. I am doing it by cli call
>before ProcBlock  and it does not help.. May be i do smth wrong?

Hmmm... that's true, the cli() would probably take care of it. Are you
checking the return codes from ProcBlock and ProcRun?

-- 
Timur Tabi, timur@tabi.org


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

In <200203110857.LAA59726@ns.ntt.ru>, on 03/11/2002 
   at 12:02 PM, "nick" <nickathome@mtu-net.ru> said:

>unsigned short writerequest;
>ProcBlock((unsigned long)&writerequest, -1, 0);

Try this:

unsigned short writerequest;
void __far *pwriterequest = (void __far *) &writerequest;

ProcBlock((unsigned long)pwriterequest, -1, 0);

This makes sure that you the value you pass is unique to your driver.

-- 
Timur Tabi, timur@tabi.org


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

Hello all!
I write small subj, which work on top of the SDD 
and support Matrox G200/G400. It work generally 
(great thanks to Ronald Capelli for help), but I 
have a trouble with color keying. I am use overlay 
hardware of MGA and need to made color keying to 
provide correct clipping of video output. Troubles 
are in getting value of transparent color. 
IMAGEPACK structure, which used to post data to 
EnDIVE GRADD have a field, ulGrafXPar, dedicated 
for this deal, but it always have a value zero...
Are anybody have knowledge, how this should work? 

Regards,
Valery


The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hi Valery!

On Mon, 11 Mar 2002 14:40:04 -0000, gaynullin wrote:

>I write small subj, which work on top of the SDD 
[...]
>IMAGEPACK structure, which used to post data to 
>EnDIVE GRADD have a field, ulGrafXPar, dedicated 
>for this deal, but it always have a value zero...
>Are anybody have knowledge, how this should work? 

I would say, you can't use EnDIVE because SDD doesn't  support EnDIVE at the 
moment.
Sorry I can't give you more information like that.

Regards,
Juergen Ulbts - Germany


The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши

On Mon, 11 Mar 2002 08:22:27 -0600, Timur Tabi wrote:

>>Also, the PDDref says that it is sufficient to disable interrupts in
>>ProcBlock call to avoid such race conditions.. I am doing it by cli call
>>before ProcBlock  and it does not help.. May be i do smth wrong?
>
>Hmmm... that's true, the cli() would probably take care of it. Are you
>checking the return codes from ProcBlock and ProcRun?

Currently, only from ProcBlock
                                                     Faithfully Yours, Nick



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hi Juergen!
 
> I would say, you can't use EnDIVE because SDD 
doesn't  support EnDIVE at the 
> moment.

I know this :) I simple write my own driver for 
video acceleration and have a lot of troubles with 
some features. 
SDD implement only basic GRADD functionality, but 
GRADD architecture was designed for "easy to 
extend" and I try to use this way.

Regards,
Valery


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

Can someone post (or point me at the docs that describe) the order of 
driver (type) loading under OS/2. I'm taking about the BASEDEVs, 
DEVICE and IFS etc.

TIA

Simon


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....



Simon Bowring schreef:

> Can someone post (or point me at the docs that describe) the order of
> driver (type) loading under OS/2. I'm taking about the BASEDEVs,
> DEVICE and IFS etc.
>

"Help basedev" at a command prompt already shows  something. Also, Tyra/2 has
an option to sort in the exact order of load.



--
Groeten uit Gent,

   Kris



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

In <200203121415.OAA01474@burton.mpc-data.co.uk>, on 03/12/02 
   at 02:15 PM, "Simon Bowring" <sbowring@mpc-data.co.uk> said:

>Can someone post (or point me at the docs that describe) the order of 
>driver (type) loading under OS/2. I'm taking about the BASEDEVs,  DEVICE
>and IFS etc.

From my notes:

REM --> Load order BASEDEV (SYS BID VSD TSD ADD I13 FLT DMD) IFS/DEVICE
REM --> CALL waits for completion, RUN does not ===

BASEDEV's are loaded in multiple passes.  IFS's and DEVICE's are loaded in
the order they appear.

What I've always wondered is if the SET statements are processed before or
after the drivers are loaded.  I've always suspected before, but I've
never found this documented.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

Hi All

I need help in creating micro delays in the driver
thread.
 
I am waiting for a hardware device to initialize the
status, and read the status from the driver. For
reading the status I need to give some delay to the
device, and then read the status. At present for the
delay I am using a for loop reading the port 0x84,
this delay is not accurate. 

I want a way in which, If the delay is short (less
than the length of a timeslice), I want to just to
stall the processor, without relinquishing control (to
avoid a context switch).  Longer delays (longer than
the length of a timeslice) should be preemptible.

Regards
Ponraj.K


__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

In <20020312214846.20249.qmail@web9203.mail.yahoo.com>, on 03/12/2002 
   at 01:48 PM, K Ponraj <mailponraj@yahoo.com> said:

>I need help in creating micro delays in the driver
>thread.

The IODELAY macros are what you want.  See also my article on high-res
timing at www.edm2.com

-- 
Timur Tabi, timur@tabi.org


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...


> >I need help in creating micro delays in the driver
> >thread.
> 
> The IODELAY macros are what you want.  See also my
> article on high-res
> timing at www.edm2.com


I went thru the Article, Can I use the Timer0 stall
the execution of the driver thread if the specified
dealy is less than the timeslice (32 ms), Block
(ProcBlock) the thread if delay time is more than
timeslice (32 ms). Is this the correct way.

Is there any way I can delay the execution for the
specified microseconds, and continue.

regards,
Ponraj.K
> 
> -- 
> Timur Tabi, timur@tabi.org
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

In <20020315003751.97684.qmail@web9207.mail.yahoo.com>, on 03/14/2002 
   at 04:37 PM, K Ponraj <mailponraj@yahoo.com> said:

>I went thru the Article, Can I use the Timer0 stall
>the execution of the driver thread if the specified
>dealy is less than the timeslice (32 ms), 

No, TIMER0 only works in 32ms increments for drivers.

>Is there any way I can delay the execution for the
>specified microseconds, and continue.

Yes, use the IODELAY macro.  It's in one of the header files in the DDK.  A
'grep' will show you.

-- 
Timur Tabi, timur@tabi.org


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

> dealy is less than the timeslice (32 ms),

Well, the timeslice is actually user configurable from Config.SYS, IIRC. So
don't count on it being 32 ms.

/\/\\ads Orbesen Troest


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....


Hello,

This email message is a notification to let you know that
a file has been uploaded to the Files area of the os2ddprog 
group.

  File        : /ENDIVE.ZIP 
  Uploaded by : gaynullin <gaynullin@yahoo.com> 
  Description : Small EnDIVE GRADD example 

You can access this file at the URL

http://groups.yahoo.com/group/os2ddprog/files/ENDIVE.ZIP 

To learn more about file sharing for your group, please visit

http://help.yahoo.com/help/us/groups/files

Regards,

gaynullin <gaynullin@yahoo.com>
 





------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши

This is probably offtopic, but I think it's worth sharing with you alll.

Someone on the ReactOS mailing list (for more info on reactOS, check out
http://www.reactos.com) announced that he is starting development (or at
least, attempting) to bring OS/2 API compatibility to reactOS via an
"OS/2 subsystem".

Here is his message. If you think you can help him or have something to
tell him, here is his email address and announcement.

From:  "Robert K." <robert@koepferl.de>
To:       ros-general@reactos.com

Hi, I announce to you that I started deveoping a basic (for the first)
OS/2 sub system.

The first step ist to build some win32 Dlls wich export the os2 api and
implement it via ntdll. And build some small pe-exes that use this api.

Next step is building the deamon and establish the LPC communication

Support for the LX-format may come then parallel to implement the ca.
300 functions of doscalls.dll. doscalls.dll looks like this now.
================
EXPORTS
; FIXME: fill in all exports

Dos32Sleep                              @229
Dos32Close                              @257
Dos32Open                               @273
Dos32Read                               @281
Dos32Write                              @282
Dos32Beep                               @286
Dos32Exit                               @234
Dos32CreateThread               @311
=================

I intend to check it in as ...\subsys\os2ss. with a dll and a server
subdirectory. Is that OK?

There will arise a lot of Questions about how to implement what. But
some things are out of question like general handles, File sytem view,
etc. Problems are the Extended Attributes that exist for files and the
VIO,
KBD and MOU systems which are still 16 Bit. This means to a 32-bit
console program that
it must use thunking. But a solution may be this:

 http://homepages.tesco.net/~J.deBoynePollard/Softwares/conapi.html

enough for now.

But tell me, where can I find docs to LPC?

====================================================
= To join or remove yourself from the ReactOS mailing list, go to =
= http://www.reactos.com/home/mailing.html         =
====================================================

Regards

Fernando
Buenos Aires, Argentina
--
-----------------------------------------------------------
There ain't much work out here, in our consumer power base
no major industry, just miles and miles of parking space
Now we're gonna get the whole story
Now we're gonna be in prime time...
------------------------[Billy Joel, "No Man's Land"]------



------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши

Why is this os/2 redbook not available as pdf or ibm bookmanager (or
even html!) format?

http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstracts/sg244719.html?Open

I remember seeing it years ago... (maybe in the devcon cds?) so it makes
me wonder why it is now available in paper format only....

Anyone got any source for this?

Thanks
Fernando



------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

Hi all,
I have some problem regarding USB interaction with Bluetooth dongle.
My dongle has 3 interfaces and under Interface one 3 endpoints are defined
i.e ENDPOINT 0 which is the Interrupt Input Endpoint
    ENDPOINT 1 which is the Bulk Output Endpoint
    ENDPOINT 2 which is the Bulk  Input Endpoint
I am able to open these 3 endpoints using createfile command
and I can send all the commands like DEVICE_RESET or READ_BUFFER_SIZE or CREATE_CONNECTION to ENDPOINT 1 and
I am able to recieve the events for these commands on ENDPOINT 0 which
is the Interrupt ENDPOINT but whenver I try to send data(L2CAP data after
the connection has been made for an ACL link).The data can recieved on the 
other side by another dongle using a 3rd party tool.

BUT whenever the 3rd party tool replies back I am unable to recieve that data
over ENDPOINT 2 which is the BULK IN PIPE.
Now I know that there is nothing wrong with the hardware as if I run the 3rd party tool on both sides it works but whenever I use my application on one side & the 3rd party tool on another side evrything works except my BUL IN PIPE. The 3rd party tool is able to recieve my packets and also sends a reply to my packet and my hardware recieves this packet(I know this because I get 
a MAX SLOT CHANGE notification) but still I cannot recieve the packet.

I am using ReadFile call to recieve packets from the interrupt as well as the Bulk In Pipe and WriteFile call for writing packets on the BULK OUT PIPE.

REQUEST:::::: Can somebody tell me that is there a special configuration that I have to do so that the device can give the Bulk data to me.If possible can anybody send me a sample code for the same.I am also using some of the calls of DDK to open the Pipes and get configuration descriptors which work perfectly.
I am in deep trouble as I have a very short deadline to complete this.
 
PS: The driver that I am using for the devices is not written by me. Can this also be one of the reasons that the device is not giving the complete control to me but in my opinion this should not happen as when two pipes are working the third pipe should also
work.

Thanks
 Amit Ahuja



__________
▓╗Е═ Ц╙Ю═╗ґА╙═О ґ╝ГЛ ґ╝ А═╘Б╗╙ ╚ЦГХ╔ ╞╔Ю╔╞ЮОБ═БЛ... http://www.newhost.ru - ╛╔АБ╝ є╝АБ╝╘ґ╝╔ ┌═Х╔ё╝ А═╘Б═!

> Yes, use the IODELAY macro.  It's in one of the
> header files in the DDK.  A
> 'grep' will show you.
> 

There were 2 IODelay's, Which one to use.

VOID FAR IODelay()
{
   ULONG IODelayCtr = IODelayCount;

   while( IODelayCtr--)
      ;
}


void  IODelay( void )
{
   extern   USHORT DOSIODELAYCNT;
   _asm
   {
      mov   ax, OFFSET DOSIODELAYCNT
top:  dec   ax
      jnz   top
   }
}

Where do they get DOSIODELAYCNT from. 

In the .Def file, there is line
IMPORTS
   _DOSIODELAYCNT = DOSCALLS.427

Regards,
Ponraj.K


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

On 17 Mar 2002 21:26:54 UT, mailponraj@yahoo.com wrote:

>Where do they get DOSIODELAYCNT from. 

AFAIK, it's calculated by the loader at boot time.
Note that it is exported by DOSCALLS just like a
function, which offset address represents the number
of loop runs.



--
Ruediger "Rudi" Ihle



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

In <20020316190541.25306.qmail@web9205.mail.yahoo.com>, on 03/16/2002 
   at 11:05 AM, K Ponraj <mailponraj@yahoo.com> said:

>There were 2 IODelay's, Which one to use.

>void  IODelay( void )
>{
>   extern   USHORT DOSIODELAYCNT;
>   _asm
>   {
>      mov   ax, OFFSET DOSIODELAYCNT
>top:  dec   ax
>      jnz   top
>   }
>}

This one.

-- 
Timur Tabi, timur@tabi.org


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

-
Hi all,
I have some problem regarding USB interaction with
Bluetooth dongle.
My dongle has 3 interfaces and under Interface one 3
endpoints are defined
i.e ENDPOINT 0 which is the Interrupt Input Endpoint
    ENDPOINT 1 which is the Bulk Output Endpoint
    ENDPOINT 2 which is the Bulk  Input Endpoint
I am able to open these 3 endpoints using createfile
command
and I can send all the commands like DEVICE_RESET or
READ_BUFFER_SIZE or CREATE_CONNECTION to ENDPOINT 1
and
I am able to recieve the events for these commands on
ENDPOINT 0 which
is the Interrupt ENDPOINT but whenver I try to send
data(L2CAP data after
the connection has been made for an ACL link).The data
can recieved on the 
other side by another dongle using a 3rd party tool.

BUT whenever the 3rd party tool replies back I am
unable to recieve that data
over ENDPOINT 2 which is the BULK IN PIPE.
Now I know that there is nothing wrong with the
hardware as if I run the 3rd party tool on both sides
it works but whenever I use my application on one side
& the 3rd party tool on another side evrything works
except my BUL IN PIPE. The 3rd party tool is able to
recieve my packets and also sends a reply to my packet
and my hardware recieves this packet(I know this
because I get 
a MAX SLOT CHANGE notification) but still I cannot
recieve the packet.

I am using ReadFile call to recieve packets from the
interrupt as well as the Bulk In Pipe and WriteFile
call for writing packets on the BULK OUT PIPE.

REQUEST:::::: Can somebody tell me that is there a
special configuration that I have to do so that the
device can give the Bulk data to me.If possible can
anybody send me a sample code for the same.I am also
using some of the calls of DDK to open the Pipes and
get configuration descriptors which work perfectly.
I am in deep trouble as I have a very short deadline
to complete this.
 
PS: The driver that I am using for the devices is not
written by me. Can this also be one of the reasons
that the device is not giving the complete control to
me but in my opinion this should not happen as when
two pipes are working the third pipe should also
work.

Thanks
 Amit Ahuja


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

Hi,

according to some old developer connection 
Newspaper, this is supposed to give you a 500ns 
delay.

Lars


--- In os2ddprog@y..., Timur Tabi <timur@t...> 
wrote:
> In <20020316190541.25306.qmail@w...>, on 
03/16/2002 
>    at 11:05 AM, K Ponraj <mailponraj@y...> said:
> 
> >There were 2 IODelay's, Which one to use.
> 
> >void  IODelay( void )
> >{
> >   extern   USHORT DOSIODELAYCNT;
> >   _asm
> >   {
> >      mov   ax, OFFSET DOSIODELAYCNT
> >top:  dec   ax
> >      jnz   top
> >   }
> >}
> 
> This one.
> 
> -- 
> Timur Tabi, timur@t...


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Problem 1.

After blocking the kernal thread in the driver, whole
system stops execution for the block time period, and
resume after wakeup.

The driver is a combination of 16 bit and 32 bit code.
Below is the 32 bit part code.


// Called from 16bit code, called every sec
Timerhandler()
{
if( CtxHookNotArmed)
    ArmCtxHook;
}

// Called from 16bit code.
CtxHookHandler()
{
PendingInterruptHandler();
}

// Interrupt handling
PendingInterruptHandler()
{

Service the pending interrupt...

DelayExecutionThread(Delay);
}

// Delay the execution of the thread
DelayExecutionThread(Delay)
{

if(delay < oneMilliSec)
{
   IODELAY(); // Stall the processor for the delay
time
}else
/* If delay is more than 1 millisec, block the thread
*/

  ProcBlock(&Delay, Delay, 0);
}

I block the thread in CtxHook, Is it correct?. The
return code of proclblock is always interrupted (
Carry set). What could be the problem?.

*****************************************************

Problem 2:

16 Bit driver.

/* Called every 30 secs */

Timerhandler()
{
   If( NotArmed)
      ArmCtxHook;
}

CtxHookHandler()
{
DisableInterrupts();

/* IO passthru IOCTL, thread blocked for 500
MilliSecs,*/

ReadDiskStatus();

EnableInterrupts();
}


/* Passthru IOCTL, */
ReadDiskStatus();
{
Make IOpassthru();
Blockthread(); /* if waittime completed, release the
thread */
}

/* Call back */
IOPassthruCallback()
{
If (StatusRead)
RunThread(); /* If status read, release the thread */
}


It works fine with FAT file system, but in HPFS if the
partion is small it comes up, If the partiotion is
large, then during loading HPFS.IFS, the system stops
or some times the system stops while loading
MOUSE.SYS. System does not hang, but goes idle. What
could be the problem?.

I increased the delay of Arming the CtxHooks, works
for samller partition of HPFS, fails for large
partions or additional disks with HPFS partion.


Anybody can help me...

Regards,
Ponraj.K



}

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards 
http://movies.yahoo.com/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
┌А╔ ╔И╔ ╞╚═Б╗ХЛ ї═ ╙═ієК╘ А╒╝╘ А═╘Б? ▌АБ═╒Л МБ╝ ╒ ╞Ю╝Х╚╝╛ - http://www.newhost.ru

Hi,


> // Delay the execution of the thread
> DelayExecutionThread(Delay)
> {
> 
> if(delay < oneMilliSec)
> {
>    IODELAY(); // Stall the processor for the delay
> time
> }else
> /* If delay is more than 1 millisec, block the thread
> */
> 
>   ProcBlock(&Delay, Delay, 0);
> }

you need to disable interrupts before usage of ProcBlock (and 
ProcBlock will reenable them internally when it's safe to do so, so 
you wont have to do it).
Otherwise an accidental ProcRun with the same BlockId might cause a 
deadlock:

if(delay < oneMilliSec)
{
   IODELAY(); // Stall the processor for the delay time
}else
/* If delay is more than 1 millisec, block the thread
*/
  asm _cli; 
  ProcBlock(&Delay, Delay, 0);
}

> I block the thread in CtxHook, Is it correct?. The
> return code of proclblock is always interrupted (
> Carry set). What could be the problem?.

According to docs, a context hook handler cannot be preempted.
So, I dont know if either ProcBlock or Yield/TCYield would work here 
because they try to give CPU time to another thread. Maybe this is 
the reason why ProcBlock is immediately interrupted.

The same would hold true for the sample below. Probably ,the block in 
the ReadDiskStatus() Routine is immediately interrupted, or isn't it ?

Lars

> 
> *****************************************************
> 
> Problem 2:
> 
> 16 Bit driver.
> 
> /* Called every 30 secs */
> 
> Timerhandler()
> {
>    If( NotArmed)
>       ArmCtxHook;
> }
> 
> CtxHookHandler()
> {
> DisableInterrupts();
> 
> /* IO passthru IOCTL, thread blocked for 500
> MilliSecs,*/
> 
> ReadDiskStatus();
> 
> EnableInterrupts();
> }
> 
> 
> /* Passthru IOCTL, */
> ReadDiskStatus();
> {
> Make IOpassthru();
> Blockthread(); /* if waittime completed, release the
> thread */
> }
> 
> /* Call back */
> IOPassthruCallback()
> {
> If (StatusRead)
> RunThread(); /* If status read, release the thread */
> }
> 
> 
> It works fine with FAT file system, but in HPFS if the
> partion is small it comes up, If the partiotion is
> large, then during loading HPFS.IFS, the system stops
> or some times the system stops while loading
> MOUSE.SYS. System does not hang, but goes idle. What
> could be the problem?.
> 
> I increased the delay of Arming the CtxHooks, works
> for samller partition of HPFS, fails for large
> partions or additional disks with HPFS partion.
> 
> 
> Anybody can help me...
> 
> Regards,
> Ponraj.K
> 
> 
> 
> }
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards 
> http://movies.yahoo.com/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
                                                ... http://www.newhost.ru -                 Ж           !

Hi, I am new to this list.
I am currently at the ReactOS team . I subscibed this list
to read a little bit with.
Since I am currently working on OS/2 support for Reactos/wNT, this could
be rignt.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

> you need to disable interrupts before usage of
> ProcBlock (and 
> ProcBlock will reenable them internally when it's
> safe to do so, so 
> you wont have to do it).
> Otherwise an accidental ProcRun with the same
> BlockId might cause a 
> deadlock:
> 

I disable the interrupts before calling the Ctxhook,
and I dont run the thread. I want it to get timed-out.

> According to docs, a context hook handler cannot be
> preempted.
> So, I dont know if either ProcBlock or Yield/TCYield
> would work here 
> because they try to give CPU time to another thread.
> Maybe this is 
> the reason why ProcBlock is immediately interrupted.

I think only Interrupt threads cannnot be preempted,
Contex hook will run in the regular kernal thread.


Regards,
Ponraj.K

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards 
http://movies.yahoo.com/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/iZp8OC/4m7CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru ▐╚═ґ "▐Ю╝Д╗" - Б═╙╝ё╝ ╒К ґ╔ А╛╝і╔Б╔ А╔║╔ ╞╝ї╒╝╚╗БЛ є═і╔ ґ═ ╒Кє╔╚╔ґґ╝╛ А╔Ю╒╔Ю╔...

Hello.

I am Mehdi.
I want to develop an application that cut mpeg(*.dat,*.mpg)
with Visual C++ 6.00 using API functions (MCI) for multimedia but 
when i using 
MCI_CUT or MCI_PASTE commands an error occurred with message "The 
driver 
can not recognize the specified command". please help me how i can 
overcome this error.Do you need additional driver?. if needed please
send me and driver or help me.


very very thanks.....


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/BgmYkB/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

I believe that only the wave ioproc understands cut/paste.
The others could, but don't.  IMHO, neither should the wave
ioproc.
Tis a high level function (application function).

-Joe Nord

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/6GDALA/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Hi

> I disable the interrupts before calling the Ctxhook,
> and I dont run the thread. I want it to get timed-out.

On entering the context hook, have you checked if interrupts are 
still disabled ?
I wouldn't be surprised if interrupts were reenabled by the OS when 
entering the context handler.

> 
> > According to docs, a context hook handler cannot be
> > preempted.
> > So, I dont know if either ProcBlock or Yield/TCYield
> > would work here 
> > because they try to give CPU time to another thread.
> > Maybe this is 
> > the reason why ProcBlock is immediately interrupted.
> 
> I think only Interrupt threads cannnot be preempted,
> Contex hook will run in the regular kernal thread.

PDD reference clearly states that context hook handler cannot be 
preempted. I think the scheduler achieves this by giving the thread 
that runs the context handler a time critical priority thus disabling 
any other thread for the time it takes to run the context handler.

> 
> 
> Regards,
> Ponraj.K
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards 
> http://movies.yahoo.com/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/6GDALA/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Ж                       5-     , ORC (www.orc.ru)                             SuperDSL (http://www.orc.ru/prices/leased.html).

In <a8catm+h66j@eGroups.com>, on 04/02/2002 
   at 01:15 PM, "barf1234de" <lars.erdmann@arcor.de> said:

>PDD reference clearly states that context hook handler cannot be 
>preempted. I think the scheduler achieves this by giving the thread  that
>runs the context handler a time critical priority thus disabling  any
>other thread for the time it takes to run the context handler.

Thread priorities don't exist in ring 0, because (with the exception of
hardware interrupts), everything is co-operative multitasking.

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Kwick Pick opens locked car doors,
front doors, drawers, briefcases,
padlocks, and more. On sale now!
http://us.click.yahoo.com/ehaLqB/Fg5DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

There is a discussion happening now in the WDMAUDIO group where
Yahoo has silently changed privacy preferences without telling anyone.

I thought I'd share the information.

Yahoo calls it "Marketing Preferences".
There used to be 1 entry to say "no spam, thanks anyway" and now
there are 17 or thereabouts - and the 16 new ones are set to 
opt-in even if your previous setting was "no spam!".

The curious part is that the registrations are tied to your
Yahoo account which manages your group registrations, but I 
have not historically used my Yahoo account to subscribe/unsubscribe.
That is, I subscribed by sending an e-mail to the right place.

I wonder if they gave me an implicit account via e-mail subscribes.  
If anyone knows, let me know.  Perhaps it could explain the large
quantities of SPAM I have received recently at my work e-mail.

You can change your preferences via
   http://subscribe.yahoo.com/showaccount

Note that there are mutiple pages around there which require
changes to turn off all the spam - Waldo can't find them all!

I have un-subscribed all of my real e-mail accounts from all 
groups and have switched to a bogus e-mail address for anything
related to Yahoo groups.

Best regards,

Joe Nord



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/6GDALA/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Hi, All/2!
I need your help.
I have to make software reset of PCI card.
My steps:
1. Find a card using OEMHLP
2. Read from PCI config register 10h PCI Base Address 0 for Memory Accesses to Local Configuration Registers.
3. Read from PCI config register 18h PCI Base Address 2 for Memory Accesses to Address Space 0.
and pass it to driver using Parm Pkt.
In driver:
1. Get both addresses I do:
for Memory Accesses to Local Configuration Registers.
APIRET CANMapMMCR(ULONG mmcr_addr)
{
      ULONG Lin_mmcr_addr=0;

      rcF=DevHelp_PhysToUVirt(mmcr_addr,
                             sizeof(ULONG)*128,
                             SELTYPE_R3DATA,
                             0,
                             &SelOffset);

      if (rcF!=0)
      {
        return 1;
      }

    rcF=DevHelp_VerifyAccess(SELECTOROF(SelOffset),
                             sizeof(ULONG)*128,
                             OFFSETOF(SelOffset),
                             VERIFY_READWRITE);
    if (rcF!=0)
    {
        return 2;
    }
    rcF=DevHelp_VirtToLin(SELECTOROF(SelOffset),
                          OFFSETOF(SelOffset),
                          &Lin_mmcr_addr);

    if (rcF!=0)
    {
        return 3;
    }

    rcF=DevHelp_VMAlloc(VMDHA_PHYS|VMDHA_PROCESS,
                        (ULONG)(sizeof(ULONG)*128),
                        (LIN)Lin_mmcr_addr,
                        &mmcr_mapped,
                        (PPVOID)&CANSelOffset);
    if (rcF==0)
    {
        OutData.Data_Read_Config.mmcrData=mmcr_mapped;
        return 0;
    }
    else
    {
        OutData.Data_Read_Config.mmcrData=rcF;
    }

  return rcF;
}

2. for Memory Accesses to Address Space 0.
APIRET CANMapMem(ULONG base_addr)
{
    ULONG Lin_base_addr=0;
    rcF=DevHelp_PhysToUVirt(base_addr,
                            0x1000,
                            SELTYPE_R3DATA,
                            0,
                            &SelOffset);
    if (rcF!=0)
    {
        return rcF;
    }

    rcF=DevHelp_VerifyAccess(SELECTOROF(SelOffset),
                             0x1000,
                             OFFSETOF(SelOffset),
                             VERIFY_READWRITE);
    if (rcF!=0)
    {
        return rcF;
    }
    rcF=DevHelp_VirtToLin(SELECTOROF(SelOffset),
                          OFFSETOF(SelOffset),
                          &Lin_base_addr);

    if (rcF!=0)
    {
        return rcF;
    }
    rcF=DevHelp_VMAlloc(VMDHA_PHYS|VMDHA_PROCESS,
                        (ULONG)0x1000,
                        (LIN)Lin_base_addr,
                        &LinearAddr,
                        (PPVOID)&CANSelOffset);
    if (rcF!=0)
    {
        return rcF;
    }

    if (rcF==0)
    {
        OutData.Data_Read_Config.dramData=LinearAddr;
        return 0;
    }
    else
    {
        OutData.Data_Read_Config.dramData=rcF;
    }
return rcF;
}

3. Pass this data to Application.

4. After that in Application:
I have access to Mapped Memory 
and
I have NO access to registers.

Where I'm wrong?
Please help.
Thank you for any advice.


Yours sincerely,
		Max V. Mozok
-----------------------------------------------------------------------------------------
E-mail: elephant@softhome.net
MME0-RIPE




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/6GDALA/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

On 02 Apr 2002 17:33:33 UT, elephant@softhome.net wrote:

>Hi, All/2!
>
>1. Get both addresses I do:
>for Memory Accesses to Local Configuration Registers.

I don't really understand what you are trying to do with that
DevHelp_PhysToUVirt / DevHelp_VerifyAccess stuff.

Assuming mmcr_addr / base_addr are the physical addresses
of your card, you need to pass the linear address of these
variables as the 3rd parameter to DevHelp_VMAlloc.


APIRET CANMapMMCR(ULONG mmcr_addr)
{
     LIN Lin_mmcr_addr=0;
     PULONG pTemp = &mmcr_addr;
     PVOID pDummy;

    rcF=DevHelp_VirtToLin(SELECTOROF(pTemp )),
                          OFFSETOF(pTemp ),
                          &Lin_mmcr_addr);

    if (rcF!=0)
    {
        return 3;
    }

    rcF=DevHelp_VMAlloc(VMDHA_PHYS|VMDHA_PROCESS,
                        sizeof(ULONG)*128,
                        Lin_mmcr_addr,
                        &mmcr_mapped,
                        &pDummy);
    ...
}


>2. Read from PCI config register 10h PCI Base Address 0 for Memory Accesses to Local Configuration Registers.
>3. Read from PCI config register 18h PCI Base Address 2 for Memory Accesses to Address Space 0.

If config register 14h contains the address for I/O mapped Accesses to Local Configuration Registers
I bet it's a PLX chip ;-). Is that for a CAN-Bus adapter ? If so, what manufacturer ?


Cheers

--
Ruediger "Rudi" Ihle



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/6GDALA/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши

On Tue, 02 Apr 2002 15:55:15 -0000, jhnordgroups wrote:

>There is a discussion happening now in the WDMAUDIO group where
>Yahoo has silently changed privacy preferences without telling anyone.
>
>I thought I'd share the information.
>
>Yahoo calls it "Marketing Preferences".
>There used to be 1 entry to say "no spam, thanks anyway" and now
>there are 17 or thereabouts - and the 16 new ones are set to 
>opt-in even if your previous setting was "no spam!".
>
>The curious part is that the registrations are tied to your
>Yahoo account which manages your group registrations, but I 
>have not historically used my Yahoo account to subscribe/unsubscribe.
>That is, I subscribed by sending an e-mail to the right place.
>
>I wonder if they gave me an implicit account via e-mail subscribes.  
>If anyone knows, let me know.  Perhaps it could explain the large
>quantities of SPAM I have received recently at my work e-mail.
>
>You can change your preferences via
>   http://subscribe.yahoo.com/showaccount
>
>Note that there are mutiple pages around there which require
>changes to turn off all the spam - Waldo can't find them all!
>
>I have un-subscribed all of my real e-mail accounts from all 
>groups and have switched to a bogus e-mail address for anything
>related to Yahoo groups.
>

You only have these options if you have "English - United States" as
the "Language & Content".  I have "English - Australia" as my setting,
and never receive any spam from Yahoo.

So, if you don't want spam: move out of the US :)

--
David Forrester
davidfor@terrigal.net.au
http://www.os2world.com/djfos2/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/6GDALA/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!


New place for the IOCTL90 audio device mixer stuff is
   http://www.joenord.com/os2/ioctl90/

Mediaone.net went away, so did my home page at pompano.net.
The "joenord" domain is a forwarder to my account at attbi.

For feedback, send me e-mail at addresss posted in the ioctl90 pages.

-Joe Nord



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/6GDALA/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

Hi, I _try_ to develope an os2 sub system for NT/ReactOS. I went to some
problems
while thinking about the IOCTL sytemcall.
What do you think it should be?
-Just a wrapper for the actual ioctls of the host os drivers.
-Also an emulation of the os2 driver environment.


I tend to the first. It is less work, but will this arise big problems?


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/6GDALA/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

Robert K. wrote:
 > Hi, I _try_ to develope an os2 sub system for NT/ReactOS. I went to
 > some problems while thinking about the IOCTL sytemcall. What do you
 > think it should be? -Just a wrapper for the actual ioctls of the host
 > os drivers. -Also an emulation of the os2 driver environment.
 >
 >
 > I tend to the first. It is less work, but will this arise big
 > problems?
You should perhaps take a look at Odin there. IIRC we do emulate the
Win32 IOCtl stuff.

But I think this is a question of if you're doing binary emulation or 
source level emulation of OS/2. For binary emulation you'll have to 
emulate the OS/2 IOCtl interfaces.

My suggestion would be to do both. Emulate the standard OS/2 devices and 
IOCtl interfaces, but allow access to the ReactOS device drivers as 
well. That will allow most flexibility. (Let's just hope there is no 
name crashes.)


Kind Regards,
  knut

(email: bird@anduin.net)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/6GDALA/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

We are about to establish binary compatibility.
The question is: How many/which kind of app makes direct use of DosIoCtl and
how importand is souch an application. A disk format utility would make not
that big sense.
But if an app sends courious ioctls, it is a threat

"knut st. osmundsen" schrieb:

> Robert K. wrote:
>  > Hi, I _try_ to develope an os2 sub system for NT/ReactOS. I went to
>  > some problems while thinking about the IOCTL sytemcall. What do you
>  > think it should be? -Just a wrapper for the actual ioctls of the host
>  > os drivers. -Also an emulation of the os2 driver environment.
>  >
>  >
>  > I tend to the first. It is less work, but will this arise big
>  > problems?
> You should perhaps take a look at Odin there. IIRC we do emulate the
> Win32 IOCtl stuff.
>
> But I think this is a question of if you're doing binary emulation or
> source level emulation of OS/2. For binary emulation you'll have to
> emulate the OS/2 IOCtl interfaces.
>
> My suggestion would be to do both. Emulate the standard OS/2 devices and
> IOCtl interfaces, but allow access to the ReactOS device drivers as
> well. That will allow most flexibility. (Let's just hope there is no
> name crashes.)
>
> Kind Regards,
>   knut
>
> (email: bird@anduin.net)
>
>
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
>
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/6GDALA/VovDAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши

On 03 Apr 2002 20:46:35 UT, Robert@koepferl.de wrote:

>The question is: How many/which kind of app makes direct use of DosIoCtl 

Serial communication programs.

>and how importand is souch an application.

For these it's essential.


--
Ruediger "Rudi" Ihle



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
В связи с празднованием 5-летия, ORC (www.orc.ru) объявляет о начале компании SuperDSL (http://www.orc.ru/prices/leased.html).

> The question is: How many/which kind of app makes direct use of DosIoCtl
and
> how importand is souch an application.

Well as an example, the (IDE) CD grabber I wrote once in days of yore,
Leech, works exclusively by IOCTL requests. I gather most other software of
that kind will.

Regards,
    /\/\\ads Orbesen Troest



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

> We are about to establish binary compatibility.
> The question is: How many/which kind of app makes direct use of DosIoCtl and
> how importand is souch an application. A disk format utility would make not
> that big sense.
> But if an app sends courious ioctls, it is a threat
> 
Check out the COM port IOCTLs I guess every prog which uses them does
use IOCTLs
and OS/2 has more/Other IOCTLs then win32. Same for Printer oemhlp etc. 
I would go for the emulation layer. It doesn't make sense for an
existing OS/2 
application to use IOCTLs to unknown win32 drivers. If new OS/2 Apps
want to to
that they should be use the Win32 IOCTLs APIs.

Markus

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Tue, 02 Apr 2002 08:00:58 -0600, Timur Tabi wrote:


>Thread priorities don't exist in ring 0, because (with the exception of
>hardware interrupts), everything is co-operative multitasking.

So what? Switches DO occur, yet no "forced" ones. And when kernel do the switch it should decide which 
thread to give execution to. So priorities do exist. And the question if scheduler use same politics and 
priorities for R0 threads as for R3 ones is very interesting.
Bye,
	Vit




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

OK, thx, convinced: emulation + additional native call.

Ruediger Ihle schrieb:

> On 03 Apr 2002 20:46:35 UT, Robert@koepferl.de wrote:
>
> >The question is: How many/which kind of app makes direct use of DosIoCtl
>
> Serial communication programs.
>
> >and how importand is souch an application.
>
> For these it's essential.
>
> --
> Ruediger "Rudi" Ihle
>
>
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
>
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Tuesday 02 April 2002 13:35, David wrote:
>On Tue, 02 Apr 2002 15:55:15 -0000, jhnordgroups wrote:
>>There is a discussion happening now in the WDMAUDIO group where
>>Yahoo has silently changed privacy preferences without telling
>> anyone.
>>
Apparently it affects "all" of us listening to these newsmailings, even 
those of us with no @yahoo account. I just checked the registration 
page for my access to this newsgroup (see "from" address above) and it 
is affected too.

>>I wonder if they gave me an implicit account via e-mail subscribes.
>>If anyone knows, let me know.  Perhaps it could explain the large
>>quantities of SPAM I have received recently at my work e-mail.
>>
The Yahoo junk mail did not start yet but will probably start in 60 to 
90 days. I see no junk mail yet so I suspect jhnordgroups' junk is 
getting generated by other means.

>>You can change your preferences via
>>   http://subscribe.yahoo.com/showaccount
>>
>>Note that there are mutiple pages around there which require
>>changes to turn off all the spam - Waldo can't find them all!
>>
This appears to show more details:
https://edit.yahoo.com/config/delete_user
Ignore the large buttons, select "Click here" in the readme text above.
There should be a menu of pages along the left side now.

>>I have un-subscribed all of my real e-mail accounts from all
>>groups and have switched to a bogus e-mail address for anything
>>related to Yahoo groups.
>
A wise business move by Yahoo (or others) is to keep your "old address" 
on record so this action is too little too late. You will probably 
continue to get junk mail to your real account plus more junk in your 
new account. Your best action was to have a mail account for lists like 
this when you originally signed up.

Another thing to keep in mind is that people who surf the net a lot 
using Internet Explorer or Netscape can have their Email address 
captured by the visited websites, so your default mail program should 
have a false default address too versus a real address (capturing of 
your email address is done by giving some clever names to some of the 
files on the webpage (I forgot how, but know it is possible to do)).

>You only have these options if you have "English - United States" as
>the "Language & Content".  I have "English - Australia" as my setting,
>and never receive any spam from Yahoo.
>
>So, if you don't want spam: move out of the US :)
>
Canada is affected too so I suspect Australia is not immune, see:
http://www.theregister.co.uk/content/6/24683.html

I suspect a few of us will be losing our accounts in the near future 
and re-appearing on this newslist later under new identities.
Unfortunately, new members might not be given the chance to opt-out of 
no advertising versus older existing members who may still be given the 
choice to opt-out.

I can't blame Yahoo for trying to get money in other ways since 
advertising revenues dropped like a rock since 2000, but changing 
agreements is "short term gain, long term pain". We will probably see 
Yahoo flare up like a match and disappear into obscurity if they 
continue to take actions like this.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
http://www.newhost.ru - сайты Ваши, проблемы Наши

On Tue, 02 Apr 2002 21:16:40 +0200 (MSZ), Ruediger Ihle wrote:

{skip}
TNX!!!
>Assuming mmcr_addr / base_addr are the physical addresses
>of your card, you need to pass the linear address of these
>variables as the 3rd parameter to DevHelp_VMAlloc.
>APIRET CANMapMMCR(ULONG mmcr_addr)
MMCR not readable. ;(
>If config register 14h contains the address for I/O mapped Accesses to Local Configuration Registers
>I bet it's a PLX chip ;-). Is that for a CAN-Bus adapter ? If so, what manufacturer ?
Yes. It's a CAN card from Softing.
May be I have to do something else for work with registers?

Yours sincerely,
		Max V. Mozok
-----------------------------------------------------------------------------------------
E-mail: elephant@softhome.net
MME0-RIPE




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

I have encountered a unique problem which I do not know is driver 
related
,definitely a system related.

In one of our REXX command file we use MKDIR rather than MD to create 
a
subdirectory.

In the field we encountered hard drives crashing.After looking at one 
of the
drives I found the subdirectory created was an illegal entry .The 
cluster
points to root dir.

Is MKDIR routed througth CDFS.IFS and what this driver does ? because 
my
disk diagnose program points to this file for root directory error.

Also is there an implementation difference between MKDIR and MD

Any help would be appreciated.

Thanks

R.Anantha Narayanan



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Hi Robert,

My DFSee disk utility uses quite a few DosIoCtl calls, 
and so would a lot of other disk tools I guess.

For DFSee to run on NT it is not critical, there is a also a native NT version :-)

Regards, JvW

On Wed, 03 Apr 2002 22:45:17 +0200, Robert K. wrote:

>We are about to establish binary compatibility.
>The question is: How many/which kind of app makes direct use of DosIoCtl and
>how importand is souch an application. A disk format utility would make not
>that big sense.
>But if an app sends courious ioctls, it is a threat



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4.
No Minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On 05 Apr 2002 10:23:43 UT, elephant@softhome.net wrote:

>MMCR not readable. ;(

What does "not readable" mean ? (All zeros / all ones / random readings 
/ system lockup) ?
What are the values of the physical addresses, including the "lower" bits ?


>May be I have to do something else for work with registers?

Have you tried to access the control register via I/O ? That's how I do it in
a driver for a similar card by a German company named Hilscher.


Cheers

--
Ruediger "Rudi" Ihle





------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Apparently no one noticed that Jungo no longer sells WinDriver for
OS/2.  Not suprising, since it was such a piece of crap that I felt
insulted by it.  And don't even get me started on the lies their
marketing department told everyone before the product was released.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Well, IBM has done it again - they've redesigned their developer
support web pages.  It used to be call the Developer Connection
Online, but I've stopped caring what they call it now.  Unfortunately,
there appear to have been some OS/2-related casualties, so I'm hoping
someone can help me track down their new locations:

Kernel Debugger Reference
http://service2.boulder.ibm.com/devcon/showcase/cat/kdebug.htm

The OS/2 Debugging Handbook
http://service2.boulder.ibm.com/devcon/showcase/cat/sgupinf.htm

I've updated the web page for this site.  I'm also going to be
downloading and archiving all the free OS/2 driver-related files from
the DevCon, to make sure they're never lost.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

In <a8pnef+cua5@eGroups.com>, on 04/07/02 
   at 03:09 PM, "timur_tabi" <timur@tabi.org> said:

>stopped caring what they call it now.  Unfortunately, there appear to
>have been some OS/2-related casualties, so I'm hoping someone can help me
>track down their new locations:

IBM has been pulling OS/2 content from the Toolbox at an accelerating
pace.

>Kernel Debugger Reference
>http://service2.boulder.ibm.com/devcon/showcase/cat/kdebug.htm

I've not see an available copy of this for a long time.

>The OS/2 Debugging Handbook
>http://service2.boulder.ibm.com/devcon/showcase/cat/sgupinf.htm

This is now included in the Warp4 Toolkit that comes with MCP/eCS as
sg244640.inf.  There's also a 4 volume expanded version in .boo format
named SG244640.BOO..SG244643.BOO.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

In <E16uGIk-0004ml-00@swan.prod.itd.earthlink.net>, on 04/07/2002 
   at 09:11 AM, "Steven Levine" <steve53@earthlink.net> said:

>>Kernel Debugger Reference
>>http://service2.boulder.ibm.com/devcon/showcase/cat/kdebug.htm

>I've not see an available copy of this for a long time.

Is there an alternate source?  Does anyone have a copy of the INF?

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On 07 Apr 2002 18:02:06 UT, timur@tabi.org wrote:

>Is there an alternate source?  Does anyone have a copy of the INF?

I do. It's from 1995 and came with the Warp 3  toolkit. I can send it to
you if you want.



--
Ruediger "Rudi" Ihle



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On Sun, 07 Apr 2002 14:41:46 -0000, timur_tabi wrote:

>Apparently no one noticed that Jungo no longer sells WinDriver for
>OS/2.  Not suprising, since it was such a piece of crap that I felt
>insulted by it.  And don't even get me started on the lies their
>marketing department told everyone before the product was released.
>
 Did anyone ever use WinDriver for OS/2?


      Michal



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

In <200204071810.g37IAWvG002844@dot.dreamhost.com>, on 04/07/2002 
   at 08:10 PM, "Ruediger Ihle" <R.Ihle@S-t.De> said:

>I do. It's from 1995 and came with the Warp 3  toolkit. I can send it to
>you if you want.

I should have it already, then.

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

In <200204071203458.SM00050@localhost>, on 04/07/2002 
   at 11:05 AM, "Michal Necasek" <MichalN@scitechsoft.com> said:

> Did anyone ever use WinDriver for OS/2?

From what I heard, my guess is that some company, like Compaq, needed to
port their BIOS flash routine (or something similar) to OS/2, and they
happen to use WinDriver for Windows, so they co-sponsored the development
of the OS/2 version.  

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On Sun, 07 Apr 2002 09:37:16 +0200 (MSZ), Ruediger Ihle wrote:

Hi, Ruediger,

>>MMCR not readable. ;(
>What does "not readable" mean ? (All zeros / all ones / random readings / system lockup) ?
0xFFFFFFFF
>What are the values of the physical addresses, including the "lower" bits ?
In physical addresses
Can_parm.Parm_Read_Config.dramData:fd9fe000
Can_parm.Parm_Read_Config.mmcrData:fd9ffc00

Mapped Addresses.
Can_data.Data_Read_Config.dramData:a0000
Can_data.Data_Read_Config.mmcrData:160000

>>May be I have to do something else for work with registers?

>Have you tried to access the control register via I/O ? That's how I do it in
No. May be you can send me a piece of code how to reset pci device via I/O?
>a driver for a similar card by a German company named Hilscher.
TNX!

Yours sincerely,
		Max V. Mozok
-----------------------------------------------------------------------------------------
E-mail: elephant@softhome.net
MME0-RIPE




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Folk:

I've got a candidate icatos2.zip release (4.06) out on
service2.boulder.ibm.com (198.17.57.81)  user:  icat1  and password:
m5paring.  This candidate release fixes a few things including a
CAT_KDB_INIT bug.

If you grab this version and try it out, please let me know off-line if you
find any problems.  I hope to promote it to the official web site soon.

Thanks,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On Tue, 9 Apr 2002 13:50:17 -0400, Dave Evans wrote:

Dave,

>I've got a candidate icatos2.zip release (4.06) out on
>service2.boulder.ibm.com (198.17.57.81)  user:  icat1  and password:
>m5paring.  This candidate release fixes a few things including a
>CAT_KDB_INIT bug.
>
>If you grab this version and try it out, please let me know off-line if you
>find any problems.  I hope to promote it to the official web site soon.

I haven't tried yet this binary but I'd like to ask about one thing:
I've found that previous version of ICAT has problems determining
code segment type (16/32 bits) when execution jumps to device driver 
with no .SYM file provided. Just an example: some time ago I worked on
the device driver which registers itself in the KBDBASE via IDC. 
When I tried to trace call to KBDBASE IDC from my driver, KBDBASE 
segments were present as 32-bit ones in ICAT window.
So question is: if there are any fixes in 4.06 related to this or 
similar problems?

Thanks.

P.S. ICAT is just amazing tool. It saved me a lot of time. 

Regards,
	Sergey.

*--------------------------------------
ES@Home



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On Tue, 09 Apr 2002 21:32:17 +0200 (EET), Sergey I. Yevtushenko wrote:

>P.S. ICAT is just amazing tool. It saved me a lot of time. 
>
 Yes, I love it! Especially now that I can use UDP reliably<g>. 
It's IMO way better than SoftICE.


     Michal



      


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Hi Sergey:

>I haven't tried yet this binary but I'd like to ask about one thing:
>I've found that previous version of ICAT has problems determining
>code segment type (16/32 bits) when execution jumps to device driver
>with no .SYM file provided.

Hmm.. it shouldn't since ICAT looks at the CS where it lands to determine
16/32 (disassembly, say).  Were you 'in' KDBBASE when you performed the
disasm?  What did CS 'say?'

A .SYM file or your own copy of the .exe/.dll/.sys file w/ debug data helps
ICAT understand things, too.

>Just an example: some time ago I worked on
>the device driver which registers itself in the KBDBASE via IDC.
>When I tried to trace call to KBDBASE IDC from my driver, KBDBASE
>segments were present as 32-bit ones in ICAT window.

Again, hmm...  Do you have something easily reproduced w/ a small example
DD?

>So question is: if there are any fixes in 4.06 related to this or
>similar problems?

Not intentionally :-) but you can try it out and see.  Meanwhile, send me
the scenario at your convenience.

>Thanks.

You are welcome.

>P.S. ICAT is just amazing tool. It saved me a lot of time.

Super!  I really appreciate the comment since my team has put in a lot of
energy on it over the years.  Much less for OS/2 these days, but ...

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On Tue, 9 Apr 2002 15:47:01 -0400, Dave Evans wrote:

Dave,

>
>>I haven't tried yet this binary but I'd like to ask about one thing:
>>I've found that previous version of ICAT has problems determining
>>code segment type (16/32 bits) when execution jumps to device driver
>>with no .SYM file provided.
>
>Hmm.. it shouldn't since ICAT looks at the CS where it lands to determine
>16/32 (disassembly, say).  Were you 'in' KDBBASE when you performed the
>disasm?  What did CS 'say?'

I just stepped in by 'I' command. Code looked as 32-bit, i.e. extended 
registers were used while code actually is 16-bit. Also, in some cases
pressing 'I' again and again show same place in code and same long 
instruction (incorrect, of course).

>A .SYM file or your own copy of the .exe/.dll/.sys file w/ debug data helps
>ICAT understand things, too.

There were no problems with my code. I've tried sources/disasm/mixed modes
and everything was just fine as long as execution point was in my code.

>>Just an example: some time ago I worked on
>>the device driver which registers itself in the KBDBASE via IDC.
>>When I tried to trace call to KBDBASE IDC from my driver, KBDBASE
>>segments were present as 32-bit ones in ICAT window.
>
>Again, hmm...  Do you have something easily reproduced w/ a small example
>DD?

I'll prepare such a test. This will take some time.

Thanks.

Regards,
	Sergey.

*--------------------------------------
ES@Home



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On Tue, 9 Apr 2002 15:47:01 -0400, Dave Evans wrote:

<snip>

>>Thanks.
>
>You are welcome.
>
>>P.S. ICAT is just amazing tool. It saved me a lot of time.
>
>Super!  I really appreciate the comment since my team has put in a lot of
>energy on it over the years.  Much less for OS/2 these days, but ...

I must be going blind ...
The URL provided took me to the IBM Software Site ... So I searched on ICAT and all I found was old pointers ...
I then tried the IP address but it never did connect to anything ...

*sigh*

Greg


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Use a URL like

ftp://icat1:m5paring@software2.boulder.ibm.com

The IP address appears to be the IBM internal network address as the
machine name resolves to a different one.

Lorne

In <20020410051432.XUPC16260.out002.verizon.net@localhost>, on 04/10/02 
   at 01:13 AM, "Gregory L. Marx" <Gregory.Marx@verizon.net> said:

>On Tue, 9 Apr 2002 15:47:01 -0400, Dave Evans wrote:

><snip>

>>>Thanks.
>>
>>You are welcome.
>>
>>>P.S. ICAT is just amazing tool. It saved me a lot of time.
>>
>>Super!  I really appreciate the comment since my team has put in a lot of
>>energy on it over the years.  Much less for OS/2 these days, but ...

>I must be going blind ...
>The URL provided took me to the IBM Software Site ... So I searched on
>ICAT and all I found was old pointers ... I then tried the IP address but
>it never did connect to anything ...

>*sigh*

>Greg



>The OS/2 Device Driver Programming mailing list.
>http://www.egroups.com/group/os2ddprog

>To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

> 

>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




-- 
-----------------------------------------------------------
lsunley@mb.sympatico.ca
-----------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On Wed, 10 Apr 2002 01:09:26 -0500, lsunley@mb.sympatico.ca wrote:

>Use a URL like
>
>ftp://icat1:m5paring@software2.boulder.ibm.com

I just tried this with no luck ...
"unable to the locate the server ..."

Greg



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Gregory L. Marx wrote:
> 
> On Wed, 10 Apr 2002 01:09:26 -0500, lsunley@mb.sympatico.ca wrote:
> 
> >Use a URL like
> >
> >ftp://icat1:m5paring@software2.boulder.ibm.com
> 
> I just tried this with no luck ...
> "unable to the locate the server ..."

A straight commandline ftp connection/login/get worked here fine within
the past hour.

h~

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Same response here:

e:\work>ftp software2.boulder.ibm.com
Unknown host software2.boulder.ibm.com.

:-(    /\/\\ads Orbesen Troest

----- Original Message ----- 
From: "Gregory L. Marx" <Gregory.Marx@verizon.net>
To: <os2ddprog@yahoogroups.com>
Sent: Wednesday, April 10, 2002 8:18 AM
Subject: Re: [os2ddprog] icatos2 (4.06) candidate


> On Wed, 10 Apr 2002 01:09:26 -0500, lsunley@mb.sympatico.ca wrote:
> 
> >Use a URL like
> >
> >ftp://icat1:m5paring@software2.boulder.ibm.com
> 
> I just tried this with no luck ...
> "unable to the locate the server ..."
> 
> Greg



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

In <3CB3EB8D.38DB@axess.com>, on 04/10/02 
   at 03:36 AM, Henry Sobotka <sobotka@axess.com> said:

>> >ftp://icat1:m5paring@software2.boulder.ibm.com

Uhhhh...

The correct url is:

  ftp://icat1:m5paring@service2.boulder.ibm.com

Steven


-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On Tue, 9 Apr 2002 13:50:17 -0400, Dave Evans wrote:
>I've got a candidate icatos2.zip release (4.06) out on
>service2.boulder.ibm.com (198.17.57.81)  user:  icat1  and password:
>m5paring.  This candidate release fixes a few things including a
>CAT_KDB_INIT bug.
Thanks. I'll give it a try soon as I've been working with ICAT fulltime for the last
few weeks. 

I've finally managed to get ICAT/UDP working after I bought an
Intel NIC for the victim machine. (only network card/driver that works so far)
Speed is really amazing while debugging with 100Mbit instead of only 115200. :)

>If you grab this version and try it out, please let me know off-line if you
>find any problems.  I hope to promote it to the official web site soon.
The problems I have are probably not ICAT's fault, but kernel debugger bugs.
It sometimes happens that ICAT doesn't get notified when a breakpoint is hit (usually
a hardcoded int 3). ICAT with UDP is more sensitive than ICAT with serial comm, but
it also occasionally happens when using the kernel debugger with a terminal app.
Sometimes I can even move the mouse on the victim machine even though an
int 3 has been hit (kernel debugger active in terminal).
I never had this problem a few years ago, but it seems to happen with all (?) recent
kernels (using 14.062a right now).

Has anybody else seen this behaviour too?

One last thing that's not ICAT's fault; ICAT with UDP is more sensitive to drivers
that use a lot of stack. Probably because the NIC driver needs more stack than the
builtin comm driver. When a driver needs a lot of stack, ICAT/UDP tends to cause
double faults. This fact makes it somewhat impossible to debug interrupt handlers
without falling back to serial com mode.
Not much that can be done about that I guess, but it's still a bit annoying.
I don't want to manage my own driver stack just to work around this, although I might
give that a try in the future.

Sander




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On Wednesday 10 April 2002 01:22, you wrote:
>One last thing that's not ICAT's fault; ICAT with UDP is more
> sensitive to drivers that use a lot of stack.

How much is a lot of stack when you saw a problem?

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On Wed, 10 Apr 2002 03:17:31 -0700, Jose Da Silva wrote:
>On Wednesday 10 April 2002 01:22, you wrote:
>>One last thing that's not ICAT's fault; ICAT with UDP is more
>> sensitive to drivers that use a lot of stack.
>How much is a lot of stack when you saw a problem?
One or two kilobytes.

Sander


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Hi All
After seeing mails on ICAT i tried downloading it,
succeded. I started using ICAT few weeks back for my
driver debugging, it did not work the way i expected
so I reverted back to terminal debugging. Hope someone
can help me with my questions. 

I am using ALP, and VAC++ 3.0 for my builds.


Q1. What are the compilers switches to use?. I use
only /Ti+, /DEbug in the linker, coz my code is 32 bit
and in order to avoid SStoDS conversion I use function
inlining ( funcs like strlen, strcpy, memcpy, memset).
If func inlining (/Oi+ )is turned on default /O+ is
also truned on.

Q2. I set the serial port speed to 576500 with the
environment variable CAT_MACHINE=COM2:576500, but its
very slow.

Q3. Structure member variable does not hold values, or
sometimes hold wrong values. I see " Variable not
allocated" message when I click on the variables.

Q4. Is there any troubleshooting documents for ICAT.

Q5. If reboot the target machine, the system used to
hang, I have to do a hard reboot. Why is this?.

Regards,
Ponraj.K


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Is there any sample code which uses KEE?. 

At present we are only supporting WSeB, and later
Conv. Packs for the driver. The driver is a 16bit and
32 bit combination. We are using SStoDs macro for the
address passed to the funcitons. I want to know
whether KEE calls will help resolve SStoDS conversion
problems.

SStoDS conversion is little bit painful, to reduce it
I have inlined the std lib fuctions (memcpy, memset,
etc).

--Ponraj.k

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Hello:


>Hi All
>After seeing mails on ICAT i tried downloading it,
>succeded. I started using ICAT few weeks back for my
>driver debugging, it did not work the way i expected
>so I reverted back to terminal debugging. Hope someone
>can help me with my questions.

>I am using ALP, and VAC++ 3.0 for my builds.


>Q1. What are the compilers switches to use?. I use
>only /Ti+, /DEbug in the linker, coz my code is 32 bit
>and in order to avoid SStoDS conversion I use function
>inlining ( funcs like strlen, strcpy, memcpy, memset).
>If func inlining (/Oi+ )is turned on default /O+ is
>also truned on.

/O+ can cause some headaches especially w/ the disassembly since various
code gen constructs are 'optimized out' such that the compiler can't always
give meaningful line number information to the debugger(s).  /Ti+ and
/DEbug are appropriate.  Inlining 'on' isn't a big deal to most folk who
want to debug.

>Q2. I set the serial port speed to 576500 with the
>environment variable CAT_MACHINE=COM2:576500, but its
>very slow.

Hmm... maybe you meant 57600 ?  The serial rate works up to 115200 max.
Either way, it is slow... there are some tricks you can play w/ the
CAT_MODULE_LIST, etc. to improve things.  Nothing is as fast as using an
ethernet or token ring connection w/ KDBNET.SYS, however.

>Q3. Structure member variable does not hold values, or
>sometimes hold wrong values. I see " Variable not
>allocated" message when I click on the variables.

Hmm... I'd need a test case or scenario if you want to send that to me.
Sometimes you are looking at stack variables where the prologue code for
the fn hasn't been entered/completed yet.


>Q4. Is there any troubleshooting documents for ICAT.

Once you unzip, you will see the \icatos2\readme.txt as well as
\icatos2\help\icatos2.htm and \icatos2\help\icatfaq.html files that should
assist you.  Not to mention you can send me an e-mail at any time.

>Q5. If reboot the target machine, the system used to
>hang, I have to do a hard reboot. Why is this?.

Don't know.  _We_ don't have that problem ???  How are you rebooting the
target?


Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Hi I run into a strange problem the the following code works fine if
I build a debug version of the driver but I get an accessviolation if
I do a release build.

It's an kind of Non blocking asyn read/write call.
I pass in 2 buffers using an IOCTL (SendBulkURB) which I lock down.
the parameter buffer contains an event that the driver'll post when 
the Io with the USB device is done (DataRW).
DataRW is an IDC callback for iterating over the buffer as one has
to send the data max 64 Byte chunks down to the USB stack.

it is crashing on 
pIoRB->pParam->usDataProcessed  the value in pParam is not valid
but it def is the value of the buffer set during SendBulkURB. 

The Ring 3 Application does the IOCTL and if that is ok waits for the
event to be posted.

So why does it fail in a release build? I used the followin switches in
the makefile and the code generated for both cases is the same the debug
code just has the addional debug output.

!ifndef DEBUG
CFLAGS = /c /Zp /G2s /Answ /W0 /Fc /nologo /Osegli /Od
!else
CFLAGS = /c /Zp /G2s /Answ /W0 /Fc /nologo /Osegli /DDEBUG /Zi /Od
!endif
!ifndef DEBUG
LFLAGS = /map /nod /packd /a:16 /far
!else
LFLAGS = /map /nod /packd /a:16 /far /DEBUG /CO
!endif



PUSB_IORB AllocIoRB(ULONG ulEvent)
{
  USHORT IoRB=0;

  if(ulEvent==0)
    return NULL;

  while(IoRB<USB_MAX_IORBS)
  {
    if (gaIoRB[IoRB].ulEventDone==0)
    {
      gaIoRB[IoRB].ulEventDone = ulEvent;
      gaIoRB[IoRB].ulID        = ++gulTotalIoRBs;
      gNumIoRB++;
      return &gaIoRB[IoRB];
    }
    IoRB++;
  }
  return NULL;
}

void SendBulkURB(PRP_GENIOCTL pRP)
{
  PLIBUSB_BULK_REQ pParm;
  UCHAR FAR     *pData;
  SHORT DevIndex;
  DeviceEndpoint FAR * pEP;
  PUSB_IORB pIoRB;
  USHORT rc;

  #ifdef DEBUG
    dsPrint (DBG_DETAILED, "USBRESMGR: SendBulkURB\r\n");
  #endif

  if ( VerifyParam (pRP, sizeof(LIBUSB_BULK_REQ)) )
  {
    #ifdef DEBUG
      dsPrint (DBG_DETAILED, "USBRESMGR: SendBulkURB wrong Param
pointer\r\n");
    #endif
    pRP->rph.Status |= STERR | ERROR_GEN_FAILURE;
    return;
  }

  pParm = (PLIBUSB_BULK_REQ) pRP->ParmPacket;
  pData = (UCHAR FAR*) pRP->DataPacket;
  DevIndex = DevIndexFromHandle(pParm->ulDevHandle);
  if(DevIndex>=0)
    pEP = GetEndpointDPtr(
gUSBDevices[DevIndex].pDeviceInfo->configurationData,
                          
gUSBDevices[DevIndex].pDeviceInfo->descriptor.bNumConfigurations,
                          
gUSBDevices[DevIndex].pDeviceInfo->bConfigurationValue,
                           pParm->ucInterface,
                           pParm->ucEndpoint);
  else
    pEP =NULL;

  if( (pEP==NULL) || 
      ((pEP->bmAttributes & DEV_ENDPT_ATTRMASK)!=DEV_ENDPT_BULK) )
  {
    #ifdef DEBUG
      dsPrint (DBG_DETAILED, "USBRESMGR: SendBulkURB wrong
Endpoint\r\n");
    #endif
    pRP->rph.Status |= STERR | ERROR_GEN_FAILURE;
    return;
  }

  pIoRB = AllocIoRB(pParm->ulEventDone);
  if(pIoRB==NULL)
  {
    #ifdef DEBUG
      dsPrint (DBG_DETAILED, "USBRESMGR: No free IoRB\r\n");
    #endif
    pRP->rph.Status |= STERR | ERROR_GEN_FAILURE;
    return;
  }

  rc = DevHelp_Lock( SELECTOROF(pRP->DataPacket),
                     LOCKTYPE_LONG_ANYMEM,
                     0,
                     &pIoRB->ulLockData);
  if(0!=rc)
  {
    #ifdef DEBUG
      dsPrint (DBG_DETAILED, "USBRESMGR: SendBulkURB Lock Memory
failed\r\n");
    #endif
    pRP->rph.Status |= STERR | ERROR_GEN_FAILURE;
  }
  else
  {
    if( VerifyData(pRP, pRP->DataLen) )
    {
      #ifdef DEBUG
        dsPrint (DBG_DETAILED, "USBRESMGR: SendBulkURB Verify Data
failed\r\n");
      #endif
      DevHelp_UnLock(pIoRB->ulLockData);
      pRP->rph.Status |= STERR | ERROR_GEN_FAILURE;
    }
    else
    {
      rc = DevHelp_Lock( SELECTOROF(pRP->ParmPacket),
                         LOCKTYPE_LONG_ANYMEM,
                         0,
                         &pIoRB->ulLockParam);
      if(0!=rc)
      {
        #ifdef DEBUG
          dsPrint (DBG_DETAILED, "USBRESMGR: SendBulkURB Lock Memory
failed\r\n");
        #endif
        pRP->rph.Status |= STERR | ERROR_GEN_FAILURE;
        DevHelp_UnLock(pIoRB->ulLockData);
      }
    }
  }
  if(pRP->rph.Status & STERR)
  {
    FreeIoRB(pIoRB);
    return;
  }
  pIoRB->pDevice   = &gUSBDevices[DevIndex];
  pIoRB->pEndpoint = pEP;
  pIoRB->pData     = pData;
  pIoRB->pParam    = pParm;
  pIoRB->pParam->usDataProcessed = 0;
  pIoRB->pParam->usDataRemain = pRP->DataLen;
  pIoRB->pParam->usStatus = USB_IORB_WORKING;

  rc = ProcessIoRB(pIoRB);
  if(rc&STERR)
    pRP->rph.Status = rc;
}

void ProcessIoRB(PUSB_IORB pIoRB)
{
  USBRB          rb;   // USB I/O Request Block
  RP_GENIOCTL    rp;   // IOCTL Request Packet to USBD
  USHORT usToggleGrp, usBytesLeft, usBytesMoved;

  setmem ((PSZ)&rb, 0, sizeof(rb));
  rb.controllerId  = pIoRB->pDevice->pDeviceInfo->ctrlID;
  rb.deviceAddress = pIoRB->pDevice->pDeviceInfo->deviceAddress;
  rb.endPointId    = pIoRB->pParam->ucEndpoint;
  if(pIoRB->pParam->ucEndpoint & DEV_ENDPT_DIRIN)
  {
    #ifdef DEBUG
      dsPrint2 ( DBG_DETAILED,
                 "USBRESMGR: SendBulkURB Read %d Bytes from Endpoint
0x%x\r\n",
                 pIoRB->pParam->usDataRemain,
                 pIoRB->pParam->ucEndpoint);
    #endif
    rb.flags  = USRB_FLAGS_TTYPE_IN | USRB_FLAGS_DET_BULK;
    usToggleGrp =0;
  }
  else
  {
    #ifdef DEBUG
      dsPrint2 ( DBG_DETAILED,
                 "USBRESMGR: SendBulkURB Write %d Bytes to Endpoint
0x%x\r\n",
                 pIoRB->pParam->usDataRemain,
                 pIoRB->pParam->ucEndpoint);
    #endif
    rb.flags         = USRB_FLAGS_TTYPE_OUT | USRB_FLAGS_DET_BULK;
    usToggleGrp = 1;
  }
  #ifdef DEBUG
        dsPrint2 ( DBG_IRQFLOW,
                   "USBRESMGR: Toggle Group %d, Toggle %x\r\n",
                   usToggleGrp,
                   pIoRB->pDevice->wToggle[usToggleGrp]);
  #endif
  
  if(pIoRB->pDevice->wToggle[usToggleGrp] &
(1<<(pIoRB->pParam->ucEndpoint &DEV_ENDPT_ADDRMASK)) )
  {
    #ifdef DEBUG
      dsPrint( DBG_IRQFLOW, "USBRESMGR: Set
USRB_FLAGS_DET_DTGGLEON\r\n");
    #endif
    rb.flags |= USRB_FLAGS_DET_DTGGLEON;
  }
  rb.buffer1       = pIoRB->pData+pIoRB->pParam->usDataProcessed;
  rb.buffer1Length =
pIoRB->pParam->usDataRemain>pIoRB->pEndpoint->wMaxPacketSize?
                     
pIoRB->pEndpoint->wMaxPacketSize:pIoRB->pParam->usDataRemain;
  rb.buffer2       = 0;
  rb.buffer2Length = 0;
  rb.serviceTime   = USB_DEFAULT_SRV_INTV;
  rb.maxPacketSize = pIoRB->pEndpoint->wMaxPacketSize;
  rb.maxErrorCount = USB_MAX_ERROR_COUNT;
  rb.usbIDC        = (PUSBIDCEntry)IDCEntry;
  rb.usbDS         = GetDS();
  rb.category      = USB_IDC_CATEGORY_CLASS;
  rb.requestData1  = RES_IRQ_RWBULK;
  rb.requestData2  = pIoRB;
  rb.requestData3  = pIoRB->ulID;

  setmem((PSZ)&rp, 0, sizeof(rp));
  rp.rph.Cmd    = CMDGenIOCTL;
  rp.Category   = USB_IDC_CATEGORY_USBD;
  rp.Function   = USB_IDC_FUNCTION_ACCIO;
  rp.ParmPacket = (PVOID)&rb;

  #ifdef DEBUG
    dsPrint1 ( DBG_DETAILED,
               "USBRESMGR: Send IDC Request to handle %d bytes\r\n",
               rb.buffer1Length);
  #endif
  USBCallIDC (gpUSBDIDC, gdsUSBDIDC, (PRP_GENIOCTL)&rp);
  #ifdef DEBUG
    dsPrint1( DBG_DETAILED,
              "USBRESMGR: IDC Call returned %x\r\n",
              rp.rph.Status);
  #endif
  if(rp.rph.Status & STERR)
  {
    pIoRB->pParam->usStatus = USB_IORB_FAILED;
    DevHelp_UnLock(pIoRB->ulLockData);
    DevHelp_UnLock(pIoRB->ulLockParam);
    if(DevHelp_OpenEventSem (pIoRB->ulEventDone) == 0)  
    {
      DevHelp_PostEventSem (pIoRB->ulEventDone);
      DevHelp_CloseEventSem (pIoRB->ulEventDone);
    }
    FreeIoRB(pIoRB);
  }
}

static void DataRW (PRP_GENIOCTL pRP)
{
  USBRB  FAR *pRB  = (USBRB FAR *)pRP->ParmPacket;
  PUSB_IORB  pIoRB = (PUSB_IORB)pRB->requestData2;
  USHORT usToggleGrp =  (pRB->flags &USRB_FLAGS_TTYPE_IN)?0:1;
  USHORT rc;
  UCHAR  ucEndpoint  = pRB->endPointId &DEV_ENDPT_ADDRMASK;
  USHORT usToggleBit = 1<< ucEndpoint;

#ifdef DEBUG
   dsPrint2 (DBG_DETAILED, "USBRESMGR: DataRW to Device[%x], L=%x\r\n",
             pIoRB->pDevice, pRB->buffer1Length);
   dsPrint4 ( DBG_IRQFLOW,
               "USBRESMGR: Endpoint %d Toggle Group %d, Value %0x
UpdateBit %0x\r\n",
               pRB->endPointId &DEV_ENDPT_ADDRMASK,
               usToggleGrp,
               pIoRB->pDevice->wToggle[usToggleGrp],
               usToggleBit);
#endif
  // Safty check that the RB wasn't freed and re used while the USB
transaction was done
  if (pIoRB->ulID != pRB->requestData3)
  {
    return;
  }

  if (pRP->rph.Status == USB_IDC_RC_IOFAILED)
  {
    #ifdef DEBUG
      dsPrint1 (DBG_DETAILED, "USBRESMGR: IO failed Status = %d",
                pRB->status);
    #endif
    if (pRB->status & USRB_STATUS_STALLED)
    {
      ClearStalled (pIoRB->pDevice, ucEndpoint);
      pIoRB->pDevice->wToggle[usToggleGrp]  |= usToggleBit;
      pIoRB->pParam->usStatus = USB_IORB_STALLED;
    }
    else
      pIoRB->pParam->usStatus = USB_IORB_FAILED;
    DevHelp_UnLock(pIoRB->ulLockData);
    DevHelp_UnLock(pIoRB->ulLockParam);
    if(DevHelp_OpenEventSem (pIoRB->ulEventDone) == 0)  
    {
      DevHelp_PostEventSem (pIoRB->ulEventDone);
      DevHelp_CloseEventSem (pIoRB->ulEventDone);
    }
    FreeIoRB(pIoRB);

  }
  else
  {
    // No I/O Errors
    if (!(usToggleBit & pIoRB->pDevice->wToggle[usToggleGrp]))
    {
      #ifdef DEBUG
        dsPrint (DBG_DETAILED, "Set Toggle Bit\r\n");
      #endif
      pIoRB->pDevice->wToggle[usToggleGrp]  |= usToggleBit;
    }
    else
    {
      #ifdef DEBUG
        dsPrint (DBG_DETAILED, "Clear Toggle Bit\r\n");
      #endif
      pIoRB->pDevice->wToggle[usToggleGrp]  &= ~usToggleBit;
    }
    #ifdef DEBUG
      dsPrint1 ( DBG_DETAILED, "USBRESMGR: New Toggle Value %0x\r\n",
                 pIoRB->pDevice->wToggle[usToggleGrp] );
    #endif
    pIoRB->pParam->usDataProcessed += pRB->buffer1Length;
    pIoRB->pParam->usDataRemain    -= pRB->buffer1Length;
    if(pIoRB->pParam->usDataRemain)
    {
      ProcessIoRB(pIoRB);
    }
    else
    {
      pIoRB->pParam->usStatus = USB_IORB_DONE;
      DevHelp_UnLock(pIoRB->ulLockData);
      DevHelp_UnLock(pIoRB->ulLockParam);
      if(DevHelp_OpenEventSem (pIoRB->ulEventDone) == 0)  
      {
        DevHelp_PostEventSem (pIoRB->ulEventDone);
        DevHelp_CloseEventSem (pIoRB->ulEventDone);
      }
      FreeIoRB(pIoRB);
    }
  }
  
}

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On Wed, Apr 10, 2002 at 08:43:28AM -0700, K Ponraj wrote:
> Is there any sample code which uses KEE?. 
> 
> At present we are only supporting WSeB, and later
> Conv. Packs for the driver. The driver is a 16bit and
> 32 bit combination. We are using SStoDs macro for the
> address passed to the funcitons. I want to know
> whether KEE calls will help resolve SStoDS conversion
> problems.

No, why should it? SSoDS is not a problem, but a feature.

> SStoDS conversion is little bit painful, to reduce it
> I have inlined the std lib fuctions (memcpy, memset,
> etc).

...which will not be really helpful - it doesn't solve the
real problem of deciding whether to apply SSToDS to some pointer;
it just reverses the check: you still have to be aware where
this pointer originates from.

Holger
-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

hi,

they have the debugging handbook 4 volume collection online at their 
redbooks library, I did a search for "The OS/2 debugging handbook":

http://publib-b.boulder.ibm.com/cgi-bin/searchsite.cgi?
query="The+OS/2+debugging+handbook"

There you will get HTML but also PDF versions. I got it in paper 
version (which I like better) and could give you the order number if 
you want.

You wont need the kernel debug ref because it is included in the "The 
OS/2 debugging handbook - Volume 2 Using the debug kernel and dump 
formatter".


Lars


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On Thu, 11 Apr 2002 14:48:18 -0000, barf1234de wrote:

Thanks for the informative links ...

Sometimes I forget just how much technical info is out there on IBMs site(s) about OS/2 ...
(this falls in line with how I forget that OS/2 was once a MAJOR piece of software for IBM)

Thanks again ...
Gregory L. Marx

>hi,
>
>they have the debugging handbook 4 volume collection online at their 
>redbooks library, I did a search for "The OS/2 debugging handbook":
>
>http://publib-b.boulder.ibm.com/cgi-bin/searchsite.cgi?
>query="The+OS/2+debugging+handbook"
>
>There you will get HTML but also PDF versions. I got it in paper 
>version (which I like better) and could give you the order number if 
>you want.
>
>You wont need the kernel debug ref because it is included in the "The 
>OS/2 debugging handbook - Volume 2 Using the debug kernel and dump 
>formatter".
>
>
>Lars
>
>
>
>The OS/2 Device Driver Programming mailing list.
>http://www.egroups.com/group/os2ddprog
>
>To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
> 
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
>
>



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Hi,

for the IOCTL data buffer, you do a lock before a verify, but for the 
param buffer, you do it vice versa.
Maybe you're better off to do a lock before verify for the IOCTL 
param buffer, also.
I don't think it has something to do with the compiler/linker flags.

Lars

--- In os2ddprog@y..., Markus Montkowski <mmontkowski@g...> wrote:
> Hi I run into a strange problem the the following code works fine if
> I build a debug version of the driver but I get an accessviolation 
if
> I do a release build.
> 
> It's an kind of Non blocking asyn read/write call.
> I pass in 2 buffers using an IOCTL (SendBulkURB) which I lock down.
> the parameter buffer contains an event that the driver'll post when 
> the Io with the USB device is done (DataRW).
> DataRW is an IDC callback for iterating over the buffer as one has
> to send the data max 64 Byte chunks down to the USB stack.
> 
> it is crashing on 
> pIoRB->pParam->usDataProcessed  the value in pParam is not valid
> but it def is the value of the buffer set during SendBulkURB. 
> 
> The Ring 3 Application does the IOCTL and if that is ok waits for 
the
> event to be posted.
> 



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Does somebody have a doc about USB IDC CALLS
I need specialy documentation about Bulk read,write and the IDC mecanism
between
USB$ & a device driver if not just the old way pick-up in ddk the source
of usbprt...
and see what is does

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.
Does somebody have a doc (inf) about IDC usb call between USBD$ and a
device driver
I'm specialy interrested in Bulk read,write mecanism between USBD$ and a
device driver
I've see in the usbprt from ddk that the driver can accumulate 3
Read,Write request
Why ?

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.
Hi,

I'm trying to access memory locations pointed by flat offsets 
in SAS_vm_section structure. As far as I understand, these locations
can be accessed using 48 bit far pointers constructed with
SAS_flat_sel as a selector and offset from SAS_vm_section. Is that correct? 
Offsets itself looks like they point somewhere near the end of flat 
address space (for example SAS_vm_arena at my system contains 0xffed9800).
Are these SAS_vm_section members actual offsets or high 16 bits hold
some additional info and should be stripped off before accessing actual data?

Any comments and/or suggestions are welcome.

Regards,
	Sergey.

*--------------------------------------
ES@Home



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On Wed, Apr 17, 2002 at 09:23:37PM +0300, Sergey I. Yevtushenko wrote:
> Hi,
> 
> I'm trying to access memory locations pointed by flat offsets 
> in SAS_vm_section structure. As far as I understand, these locations
> can be accessed using 48 bit far pointers constructed with
> SAS_flat_sel as a selector and offset from SAS_vm_section. Is that correct? 

Yes, whereas the flatCS/flatDS selector is usually already set when you
are in a 32 bit segment of a device driver. The offsets are simply
"linear addresses" in the kernel's virtual address space (which is the
whole memory). You can also obtain the flat selectors through
the DOSCALLS symbols DOSFLATCS/DOSFLATDS (16 bit) or Dos32FlatCS/Dos32FlatDS
(32 bit).

> Offsets itself looks like they point somewhere near the end of flat 
> address space (for example SAS_vm_arena at my system contains 0xffed9800).
> Are these SAS_vm_section members actual offsets or high 16 bits hold
> some additional info and should be stripped off before accessing actual data?

They are correct addresses which can be used together with the flat DS
selector directly, without any conversion.

Holger

-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.



Serge Sterck wrote:
> 
> Does somebody have a doc (inf) about IDC usb call between USBD$ and a
> device driver
> I'm specialy interrested in Bulk read,write mecanism between USBD$ and a
> device driver
> I've see in the usbprt from ddk that the driver can accumulate 3
> Read,Write request
> Why ?

See my USB presentations, they list all IDC calls that exist.

Markus

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

As promised.  The next set of updates to the DDK.

                                                                            
 Input/Output devices                                                       
                                                                            
                                                                            
 New support for Infrared Stack (IrDA)devices has been added. Sample        
 contains source code                                                       
                                                                            
                                                                            
 for IrDA device drivers and installation protocols. Following services are 
 supported by the Infrared Stack:                                           
                                                                            
                                                                            
 - Printing to an IR-capable printer;                                       
 - Serial communication through an IR-capable cell phone;                   
 - LAN (Ethernet and Token Ring).                                           
                                                                            




Glen Fine
IBM Solution Technologies
OS/2 Competency Center & IHV Advocacy,  Austin, Texas
Internet : gfine@us.ibm.com





------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Since I know there are a lot of kernel-level 'experts' here, a quick question:

Is there a specific newsgroup, mailing-list or other on-line group
for kernel-debugging?

I need to dig into that again after a few years and might need some feedback ...

Regards, Jan van Wijk

===============================================================================
Jan van Wijk; DFSee and LPTool author (freeware): http://www.dfsee.com
===============================================================================



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

In <20020421085407.JTIJ1268.amsfep15-int.chello.nl@localhost>, on 04/21/2002 
   at 10:54 AM, "Jan van Wijk" <lists@fsys.demon.nl> said:

>Is there a specific newsgroup, mailing-list or other on-line group for
>kernel-debugging?

Yes, this one.

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On 09 Apr 2002 15:46:18 UT, elephant@softhome.net wrote:

Max,

>>What does "not readable" mean ? (All zeros / all ones / random readings / system lockup) ?
>0xFFFFFFFF

Are you sure you are reading the at the right offset, i.e. the ULONG at *BYTE* position 0x50 ?


>>What are the values of the physical addresses, including the "lower" bits ?
>In physical addresses
>Can_parm.Parm_Read_Config.dramData:fd9fe000
>Can_parm.Parm_Read_Config.mmcrData:fd9ffc00
>
>Mapped Addresses.
>Can_data.Data_Read_Config.dramData:a0000
>Can_data.Data_Read_Config.mmcrData:160000

Looks reasonable.


>>Have you tried to access the control register via I/O ? That's how I do it in
>No. May be you can send me a piece of code how to reset pci device via I/O?

It's just a simple pair of in/out instructions...


>>a driver for a similar card by a German company named Hilscher.
>TNX!

With that card I never had the need to issue an adapter reset, since the 
onboard microcontroller *ALWAYS* responded to "normal" commands.
I used the I/O mapped control registers only to query the interrupt status.



-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Helo,

how does ICAT actually decide, how he disassemble code, as 16 or 32 bits?

I have 16 bit code and he disassembles it as 32 bit. Can I set anything in 
map file from which I created a sym file?

I have no source code.

Regards 
    Carsten
-- 
eMail:	C.Arnold@transnet.de
URL: 	http://www.c-arnold.de.vu
Fingerprint: AA 81 6C 0C C7 3F 35 49  3A 39 7B B6 58 92 B2 F2
    this OS/2 system is running 3d 20h 38m 45s 410ms-


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

Hello, Carsten:


>how does ICAT actually decide, how he disassemble code, as 16 or 32 bits?

Hmm... it generally uses the CS descriptor to tell whether the current
location (CS:E/IP) is in a 16-bit or 32-bit module.  However, if you are
looking elsewhere, ICAT will scan the segment information it gets back from
the target OS/2 kernel.  Did you set a CAT_MODULE_LIST?

>I have 16 bit code and he disassembles it as 32 bit. Can I set anything in
>map file from which I created a sym file?

Did you place the .sym file where ICAT could 'see it' (on the host side)?

>I have no source code.

Source in and of itself doesn't give ICAT 16- or 32-bit info.  Ideally, you
have a .sym file or a .sys/.dll/.exe file on the host side that has debug
data.

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 13 апреля -- 299 часов за 19 у.е.

On Tue, 23 Apr 2002 11:55:51 -0400, Dave Evans wrote:

Hello Dave,

>Hmm... it generally uses the CS descriptor to tell whether the current
>location (CS:E/IP) is in a 16-bit or 32-bit module.  

by Example, CS is 014B, EIP is 00000CFB, is kernel code, ICAT shows as 
instrucion point the address 0xFFE82CFB. 

If I send the command 'u' over the passthru window, I see assembler code 
16 bits. ICAT shows 32 bits.

>However, if you are looking elsewhere, ICAT will scan the segment 
>information it gets back from
>the target OS/2 kernel.  Did you set a CAT_MODULE_LIST?

Yes, here was two old modulenames, I remove it so I have now no modules in 
list. And now ICAT shows the code correct, also ICAT shows symbols.

Thank your for your answer. :-)
Regards 
    Carsten
-- 
eMail:	C.Arnold@transnet.de
URL: 	http://www.c-arnold.de.vu
Fingerprint: AA 81 6C 0C C7 3F 35 49  3A 39 7B B6 58 92 B2 F2
    this OS/2 system is running 2d 14h 8m 53s 831ms-


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 299 часов за 19 у.е.

Hello,

I have a network card with buggy NDIS driver (Realtek 8029). Sometimes,
when network activity is very high, it "hangs" the system. It happens
very rare, once per one-two weeks or so. Alas, high network activity
usually happens during database update, so a "hang" leads to corrupted
database. Currenly, I cannot change network card because this is a
internal 5-wires hub which serves other computers in my group, so I
attempted to fix a driver.

During one of "hangs", I made a system dump (Ctrl-Alt-Num Lock) and
noticed that actually some processes in system are still working, but
most of processes were blocked on same block ID. Working processes were
"number-crunching" type - they didn't require access to OS/2 API. 

I suppose following: bad NDIS driver "hangs" inside kernel and didn't
return execution back. Everybody who tried to call any OS/2 API became
blocked on kernel-entry semaphore. The question is: how can I, using
dump formatter, "switch" to kernel thread and see, who and where blocked
execution in kernel and didn't return back? I cannot use kernel debugger
("hangs" happens very rare, and victim computer is my small server) so I
limited to system dump (the good news are that I can analyse him
anytime).

Roman

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 299 часов за 19 у.е.

On Fri, 26 Apr 2002 17:30:09 +0400, Roman Trunov wrote:

>
>I have a network card with buggy NDIS driver (Realtek 8029). Sometimes,
>when network activity is very high, it "hangs" the system. It happens
>very rare, once per one-two weeks or so. Alas, high network activity
>usually happens during database update, so a "hang" leads to corrupted
>database. Currenly, I cannot change network card because this is a
>internal 5-wires hub which serves other computers in my group, so I
>attempted to fix a driver.

What about changing the driver? I have a realtek 8029 and IRC it also emulates a ne2000 which is how I installed it in linux. So try changing to the NE2000 pci driver and see if you still get the hangs. I've never had a hang from my realtek but I use it very lightly
Dave


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/k6cvND/n97DAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Проведите майские праздники с толком! http://weekend.orc.ru
Доступ в Интернет только до 299 часов за 19 у.е.

Hi,

just wondering:

instead of raising the IOPL level to 3 (as suggested by Holger Veit) 
to enable apps to do port I/O, would it also be possible (through a 
device driver) to increase the TSS segment of an app so that it can 
hold an I/O permission bitmap ?
Would it be sufficient to just increase the limit in the 
corresponding TSS descriptor (corresponding to the TSS selector that 
is stored in TR) ?

So basic question is: how do I increase the size of a segment ?

Lars



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет со скидкой 50%!
http://www.comrad.ru


Lars,

doesn't sound feasible to me. OS/2 only maintains one TSS which resides in a static data
segment buffer in the kernel. Instead of loading a new TSS on a task switch, OS/2 just
changes the one static TSS. If you wanted to increase the TSS, you would have to replace
it. However, OS/2 will still write to its original static TSS buffer.

So I don't think there is a solution - unless the kernel buffer is larger than the TSS
range register value...


Achim

"barf1234de" <lars.erdmann@arcor.de> on 22.05.2002 01.57.08


Please respond to os2ddprog@yahoogroups.com


To:   os2ddprog@yahoogroups.com
cc:



Subject:    [os2ddprog] Increasing TSS segment for I/O permission bitmap ?




Hi,

just wondering:

instead of raising the IOPL level to 3 (as suggested by Holger Veit)
to enable apps to do port I/O, would it also be possible (through a
device driver) to increase the TSS segment of an app so that it can
hold an I/O permission bitmap ?
Would it be sufficient to just increase the limit in the
corresponding TSS descriptor (corresponding to the TSS selector that
is stored in TR) ?

So basic question is: how do I increase the size of a segment ?

Lars




The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/






------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет со скидкой 50%!
http://www.comrad.ru

Already thought of using a driver for generic I/O.
You may leave IOPL=1 and do I/O via the drivers IOCTLs

barf1234de schrieb:

> Hi,
>
> just wondering:
>
> instead of raising the IOPL level to 3 (as suggested by Holger Veit)
> to enable apps to do port I/O, would it also be possible (through a
> device driver) to increase the TSS segment of an app so that it can
> hold an I/O permission bitmap ?
> Would it be sufficient to just increase the limit in the
> corresponding TSS descriptor (corresponding to the TSS selector that
> is stored in TR) ?
>
> So basic question is: how do I increase the size of a segment ?
>
> Lars
>
>
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
>
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/DlIU9C/4m7CAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет со скидкой 50%!
http://www.comrad.ru

On Wed, May 22, 2002 at 03:47:02PM +0200, Robert K. wrote:
> Already thought of using a driver for generic I/O.
> You may leave IOPL=1 and do I/O via the drivers IOCTLs

This is lousily slow provided you have to issue an ioctl
for each I/O access, as TESTCFG.SYS allows, as I already 
explained years ago in my article on IOPL level switching.

You can of course move the whole I/O processing and data
handling completely into a device driver, but this requires
that you have to write such a driver first.

Holger

-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет со скидкой 50%!
http://www.comrad.ru

Hi Holger,

here's the right one to enter the discussion :-).
What I think of is doing it the way NT does it, creating an I/O 
permission bit map.
This way, instructions sti and cli stay forbidden for ring 3 apps, 
but in,out,ins,outs could be allowed for the desired I/O ports (by 
setting the appropriate bits in the I/O bitmap to zero).

Do you know if a segment can be increased in size by just increasing 
the limit in the descriptor ?
I fear this is not possible but what else would have to be done to 
increase a segment in size ?

Lars

--- In os2ddprog@y..., Holger Veit <holger.veit@a...> wrote:
> On Wed, May 22, 2002 at 03:47:02PM +0200, Robert K. wrote:
> > Already thought of using a driver for generic I/O.
> > You may leave IOPL=1 and do I/O via the drivers IOCTLs



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет со скидкой 50%!
http://www.comrad.ru

>Hi Holger,
>
>here's the right one to enter the discussion :-).
>What I think of is doing it the way NT does it, creating an I/O
>permission bit map.
>This way, instructions sti and cli stay forbidden for ring 3 apps,
>but in,out,ins,outs could be allowed for the desired I/O ports (by
>setting the appropriate bits in the I/O bitmap to zero).
>
>Do you know if a segment can be increased in size by just increasing
>the limit in the descriptor ?
>I fear this is not possible but what else would have to be done to
>increase a segment in size ?
>
>Lars

Well, if you just change the segment size, you'll be accessing the memory
that was allocated for other purposes immediately follwing what was the
segment. Actually, the SMP TSS includes the IO bitmap.


Marc L. Cohen
Internal:mlcohen@ibmusm26
Internet:mlcohen@us.ibm.com
 also at:teddybbear@aol.com
(512) 838-4757 (T/L 678-4757)
FAX (512) 838-4637 (T/L 678-4637)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/DlIU9C/4m7CAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет со скидкой 50%!
http://www.comrad.ru

On Wed, May 22, 2002 at 06:06:11PM -0000, barf1234de wrote:
> Hi Holger,
> 
> here's the right one to enter the discussion :-).
> What I think of is doing it the way NT does it, creating an I/O 
> permission bit map.
> This way, instructions sti and cli stay forbidden for ring 3 apps, 
> but in,out,ins,outs could be allowed for the desired I/O ports (by 
> setting the appropriate bits in the I/O bitmap to zero).
> 
> Do you know if a segment can be increased in size by just increasing 
> the limit in the descriptor ?
> I fear this is not possible but what else would have to be done to 
> increase a segment in size ?

The TSS segment address is IIRC stored in various locations in the 
OS/2 kernel, not just as expected in the corresponding CPU task register. 
While it may be possible to allocate a new larger segment (using the 16 
bit SegAlloc DevHlp), copy the old content into the new one, and do an 
LTR instruction, I am afraid this is not sufficient for a change.

OS/2 does not really use the task segment other than for keeping the
R0, R2, R3 stack pointers, but it has to initialize it in order to 
make the x86 CPU exception handling happy. It doesn't use it for task 
switching because it is too slow for that (and having a single segment
for each thread is too expensive, particularly, because OS/2 already has
to maintain PTDA and TCB structures which contain much more information.

Even more, the system actually uses two TSSs, namely one for the native 
mode and one for the DOS boxes where infact the I/O permission map
is used in order to virtualize I/O in the way you attempt to do it.

The question is what you want to achieve at all? Processes that 
want to do I/O can still attach to a ring 2 DLL, and can this way also
lift the IOPL (xf86sup.sys or fastio.sys just do it more straight forward),
so this kind of system safety has already a number of holes in it.
You cannot prevent the software from using Ring 2 DLLs because certain
essential software relies on it (there are some very dark spots in PM,
for instance...). Ordinary process can't do I/O, anyway, and those that
obtain one or another method to access I/O ports, have to be written
in a safe way as well. The system won't become more safe or reliable
with enabling/disabling of individual ports, and besides, it is known
to be a major annoyance with NT that it actually uses this feature,
because this means that any simple parallel port device like EPROM or
PIC programmers for the parallel port, needs a special driver to
enable the port specifically for that application.

Holger

-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/DlIU9C/4m7CAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет со скидкой 50%!
http://www.comrad.ru

Hi Holger,

thank you for your detailed answer, this is really helpful.

> 
> The question is what you want to achieve at all? Processes 
that 
> want to do I/O can still attach to a ring 2 DLL, and can 
this way also
> lift the IOPL (xf86sup.sys or fastio.sys just do it more 
straight forward),
> so this kind of system safety has already a number of holes 
in it.

I have read in a book about protected mode that the IOPL flags  
in the EFLAGS register can only be manipulated from a Ring 0 
code segment.


> You cannot prevent the software from using Ring 2 DLLs 
because certain
> essential software relies on it (there are some very dark 
spots in PM,
> for instance...). Ordinary process can't do I/O, anyway, and 
those that
> obtain one or another method to access I/O ports, have to be 
written
> in a safe way as well. The system won't become more safe or 


I was hoping to exactly lift this restriction by writing a 
device driver accompanied with a tool to selectively open I/O 
port ranges per process. For NT, there already exists a device 
driver which does exactly this.


reliable
> with enabling/disabling of individual ports, and besides, it 
is known
> to be a major annoyance with NT that it actually uses this 
feature,
> because this means that any simple parallel port device like 
EPROM or
> PIC programmers for the parallel port, needs a special 
driver to
> enable the port specifically for that application.
> 
> Holger

Well you can use DJGPP, this will widely opens even an NT 
system :-) (in fact that one also raises IOPL to 3 as you 
suggested)


Well anyway, since there is not one TSS per process under 
OS/2, this wont work.
Last question: from what you wrote I am a little confused if 
you would use a TSS per process or per thread ?

Lars



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Kwick Pick opens locked car doors,
front doors, drawers, briefcases,
padlocks, and more. On sale now!
http://us.click.yahoo.com/ehaLqB/Fg5DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет со скидкой 50%!
http://www.comrad.ru

On Wed, 22 May 2002 22:37:34 -0000, barf1234de wrote:

>I have read in a book about protected mode that the IOPL flags  
>in the EFLAGS register can only be manipulated from a Ring 0 
>code segment.
>
 Sure. But you can have a PDD do it for your app.


       Michal



------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/DlIU9C/4m7CAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет со скидкой 50%!
http://www.comrad.ru

Hi,

yes I know. What I was saying is that it can ONLY be done from 
Ring 0, neither from Ring1 nor from Ring2 (as Holger 
suggested) nor from Ring3.
In other words: To change IOPL flags, it's not CPL <= IOPL, 
it's CPL = 0, or am I wrong ?

Lars

--- In os2ddprog@y..., "Michal Necasek" <MichalN@s...> wrote:
> On Wed, 22 May 2002 22:37:34 -0000, barf1234de wrote:
> 
> >I have read in a book about protected mode that the IOPL 
flags  
> >in the EFLAGS register can only be manipulated from a Ring 
0 
> >code segment.
> >
>  Sure. But you can have a PDD do it for your app.
> 
> 
>        Michal


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Kwick Pick opens locked car doors,
front doors, drawers, briefcases,
padlocks, and more. On sale now!
http://us.click.yahoo.com/ehaLqB/Fg5DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет со скидкой 50%!
http://www.comrad.ru

On Wed, May 22, 2002 at 10:37:34PM -0000, barf1234de wrote:
[...]
> Well anyway, since there is not one TSS per process under 
> OS/2, this wont work.
> Last question: from what you wrote I am a little confused if 
> you would use a TSS per process or per thread ?

Effectively, the scheduling unit under OS/2 is the thread, and
some threads are combined to a process (in Unix systems with
POSIX or kernel threads, it is vice versa, which is why
you would have trouble implementing a real OS/2 API under
Unix, as already elsewhere suggested). So, consequently,
if you were to use TSS for context switching, and not the
faster method that OS/2 uses (OS/2 basically just bends the pointer
to the current thread to be scheduled before a necessary context 
restore, e.g. when returning from an interrupt or an API call),
you'd have to allocate a TSS per thread: simply remember that
each thread has its private stack which needs to be reloaded
from the TSS on context switch. Using only a single TSS per
process will require the real registers of the thread to be 
restored in addition; thus obsoleting the whole TSS logic.

Holger

-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет со скидкой 50%!
http://www.comrad.ru

Sorry to use the PDD mailing list for this purpose....
About a year ago I have been in touch with Keith Hui who was writting
an OS/2 device driver.
This was his email adress os2pdd@pigletshut.dhs.org. I send an email
but it bounched....

Keith are you on this mailing list or does anybody have his email
adress ?

Thanks

Roderick Klein






------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет со скидкой 50%!
http://www.comrad.ru



Roderick Klein schreef:


khui@istar.ca


Goegelen Rod, effe Goegelen. :-)

Sorry to all, inside and off-topic joke.

--
Groeten uit Gent,

   Kris



------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/DlIU9C/4m7CAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет со скидкой 50%!
http://www.comrad.ru

2 questions.

1> i have recompile pxelinux and memdisk with nasm os/2 set a dhcpd
binlsd program a new    tftpd  daemon with blksize,tsize support
(prerequisit for pxelinux) if interested send a email a send the
source..
    When the pc boot from PXE it receive at 7C00:0 the pxelinux code
that load memdisk code
    memdisk is a int13 patch that emulated a disk 2.88M in memory and
boot from it
with this procedure i'm be able to load a dos image disk with dls
support
i'm trying to do the same with a os/2 boot disk osldr comes in
memory,os2krnl comes etc...
when i try to use ibmi13.i13 i've got a trap my question is if when i'm
in real mode i'm
reducing the memory reported to os2ldr caching all file need by os2  can
i be
sure that os2krnl doesn't use this memory so in a later stage when i'm
in protect mode with
a basedev i can remap my caching files to a virtual disk ?
2> Is the documentation about microfsd,minifsd found in ifs.inf found at
leo our hobbes
    still correct for mcp2,acp2 etc...
    when os2krnl is loaded but still using the micro fsd there is a
possibility to return to protect mode for example to use the pxe undi
stack of a card to perform tftp download of files and return back to
protected mode is there somebody that has some code to perform this ?

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет со скидкой 50%!
http://www.comrad.ru
>     memdisk is a int13 patch that emulated a disk 2.88M in memory and

You mean Veit Kannengiesers memdisk emulation?
If you emulate a 2.88 floppy keep in mind that os2'll use the floppy 
driver and not the bios so int13 driver doesn'T help here. 
If you don't use it try Veits memdisk as it emulates a HD in mem and
comes with an ADD driver so OS/2 can use it. And booting OS/2 from the
memdisk is known to work.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Stock for $4
and no minimums.
FREE Money 2002.
http://us.click.yahoo.com/orkH0C/n97DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет.
http://www.comrad.ru

Markus can you provide a url to found this basedev memdisk ?

Markus Montkowski wrote:

> >     memdisk is a int13 patch that emulated a disk 2.88M in memory and
>
> You mean Veit Kannengiesers memdisk emulation?
> If you emulate a 2.88 floppy keep in mind that os2'll use the floppy
> driver and not the bios so int13 driver doesn'T help here.
> If you don't use it try Veits memdisk as it emulates a HD in mem and
> comes with an ADD driver so OS/2 can use it. And booting OS/2 from the
> memdisk is known to work.
>
>
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
>
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/DlIU9C/4m7CAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет.
http://www.comrad.ru
Serge Sterck wrote:
> 
> Markus can you provide a url to found this basedev memdisk ?
> 
Just in case you didn't googled it meanwhile.

http://www-user.tu-cottbus.de/~kannegv/quelle/memdisk.arj

------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/DlIU9C/4m7CAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет.
http://www.comrad.ru

Hi,

I changed something since the last time I ran ICAT from this box and ICAT
will no longer connect via a serial link.  One of the suspects is SIO2K. 
Is anyone using ICAT with SIO2K?

The other potential suspects are:

  MCP1 with 14.085 debug kernel on MUT
  ICAT v4.06 on the Host

The symptoms are I can debug without problems if I use ZOC to talk to the
debug kernel.  When I tell ICAT to attach, it fails.  Since I have a
registered SIO2K, I also have PMLM so I can watch the data go by.  What I
see is ICAT issues Ctrl-C's to get the MUT's attention.  This succeeds. 
Then ICAT issues the .b command to switch the baud rate.  This succeeds. 
ICAT sends to request to switch to ICAT packet mode.  The MUT responds
with approximately 600 characters of binary data.  ICAT then complains
that the attach failed.  If I shut down ICAT and restart ZOC, I can get
the MUT's attention and issue commands.

Is SIO2K a possible problem for ICAT or should I be looking elsewhere?

Thanks

Steven


-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Kwick Pick opens locked car doors,
front doors, drawers, briefcases,
padlocks, and more. On sale now!
http://us.click.yahoo.com/ehaLqB/Fg5DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет.
http://www.comrad.ru

Hi Steven:



>I changed something since the last time I ran ICAT from this box and ICAT
>will no longer connect via a serial link.  One of the suspects is SIO2K.
>Is anyone using ICAT with SIO2K?

We haven't tested w/ SIO2K ...

>The other potential suspects are:

  >MCP1 with 14.085 debug kernel on MUT
  >ICAT v4.06 on the Host

>The symptoms are I can debug without problems if I use ZOC to talk to the
>debug kernel.  When I tell ICAT to attach, it fails.  Since I have a
>registered SIO2K, I also have PMLM so I can watch the data go by.

Slick!

>What I see is ICAT issues Ctrl-C's to get the MUT's attention.  This
succeeds.
>Then ICAT issues the .b command to switch the baud rate.  This succeeds.
>ICAT sends to request to switch to ICAT packet mode.  The MUT responds
>with approximately 600 characters of binary data.  ICAT then complains
>that the attach failed.  If I shut down ICAT and restart ZOC, I can get
>the MUT's attention and issue commands.

Hmm... in addition to your PMLM play-by-play, you can set CVK_DEBUG=ON and
run ICAT.  Once you shut down ICAT, there will be a file CVKDEBUG.$$$
generated.  It's a text file that you can send me, and it might provide
more details of what ICAT (at least) is gagging on.


>Is SIO2K a possible problem for ICAT or should I be looking elsewhere?

Possibly, but what was the changed-to baud rate?

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Kwick Pick opens locked car doors,
front doors, drawers, briefcases,
padlocks, and more. On sale now!
http://us.click.yahoo.com/ehaLqB/Fg5DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



__________
Беспроводный радио-доступ в Интернет.
http://www.comrad.ru

In <OF4AA3AEF9.F38DC3E6-ON85256BCE.004117B0@raleigh.ibm.com>, on 06/04/02 
   at 07:55 AM, "Dave Evans" <davee@us.ibm.com> said:

Hi Dave,

>We haven't tested w/ SIO2K ...

I expected that. :-)  Hopefully, there will be a simple workaround that
will allow it to work.  After I post this, I'll reboot with COM.SYS and
see if SIO2K is really the culprit.

>>registered SIO2K, I also have PMLM so I can watch the data go by.

>Slick!

Yes, it's pretty handy.  It's got a disk capture feature and includes a
viewer which supports an hex font in fullscreen mode.  It's saved me a lot
of time troubleshooting serial and modem setups.

>Hmm... in addition to your PMLM play-by-play, you can set CVK_DEBUG=ON

CVK_DEBUG=ON generated and empty file.  Switching to CVK_DEBUG=ALL
generated what might be some useful output.

Inquiring minds want to know if there are any more of these undocumented
settings?  I know what's in CATDEBUG, but there appear to have been some
additions.

Also, the documentation mentions .cvk files.  What are they?  Codeview
format debug files split from the executables?

>and run ICAT.  Once you shut down ICAT, there will be a file CVKDEBUG.$$$
>generated.  It's a text file that you can send me, and it might provide
>more details of what ICAT (at least) is gagging on.

The debug dumps have been e-mailed separately.

>Possibly, but what was the changed-to baud rate?

It changed from 56K to 56K even though it didn't need to.  As I read the
logs, that appeared to work.

Thanks,

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Kwick Pick opens locked car doors,
front doors, drawers, briefcases,
padlocks, and more. On sale now!
http://us.click.yahoo.com/ehaLqB/Fg5DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Беспроводный радио-доступ в Интернет.
http://www.comrad.ru

Steven:


>After I post this, I'll reboot with COM.SYS and
>see if SIO2K is really the culprit.

Please!


>>Hmm... in addition to your PMLM play-by-play, you can set CVK_DEBUG=ON

>CVK_DEBUG=ON generated and empty file.  Switching to CVK_DEBUG=ALL
>generated what might be some useful output.

Oops.  CVK_DEBUG=ALL is more comprehensive than =ON.  The original empty
file is a fn of the fact that you are 'dying early.'

>Inquiring minds want to know if there are any more of these undocumented
>settings?  I know what's in CATDEBUG, but there appear to have been some
>additions.

I wouldn't call them unsupported so much as they are used to debug the
debugger (or possibly indict elements such as SIO2K on the target).  I tend
to ask customers to set this one or that one based on where the problem
seems to be emanating.

The env vars of debugging interest for this instantiation require a quick
overview of ICAT's parts:  There's a front end (FE or GUI), a debug engine
(DE), a probe library, and a probe (in this case, KDB w/ some additions
from my team and me).

CAT_BOX=fn creates fn.hex.  This is a binary file that shows traffic
between the FE and DE.  CAT_DEBUG=ALL/ON generates catdebug.001, which
shows DE traffic to the probe library.  CVK_DEBUG=ALL/ON generates
cvkdebug.$$$, which shows traffic (text but still codified) between the
probe library and the probe (KDB).  CVK_TIMING=ON generates cvk_time.$$$,
which puts some time stamps around things, too.

There are others for GUI-specific deaths involving ICLUI from IBM VACPP,
and there are even more for our Java instantiations.


>Also, the documentation mentions .cvk files.  What are they?  Codeview
>format debug files split from the executables?

Umm... which documentation?  CVK stands for CodeView Kernel (as in CV
packets to and from KDB). This might be referring to cvkdebug.$$$ and
cvk_time.$$$.


>The debug dumps have been e-mailed separately.

Got 'em.  Will let you know.

>>Possibly, but what was the changed-to baud rate?

>It changed from 56K to 56K even though it didn't need to.  As I read the
>logs, that appeared to work.

Ah.  You have a CAT_SETUP_RATE set, so ICAT assumes there's a delta -- I
suppose we could/should check to see if there's a delta.


Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com




The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

In <OF375F39BA.EBC482FB-ON85256BCE.0063D0CF@raleigh.ibm.com>, on 06/04/02 
   at 03:03 PM, "Dave Evans" <davee@us.ibm.com> said:

>Please!

As I suspected, ICAT works with COM.SYS.  There must be something about
the improved performance of SIO2K that's confusing ICAT.  I've tried
several other baud rates with no change in symptoms.

There is something odd about ICAT's attach failure handling.  When the
attach fails, I need to shutdown and restart ICAT or it claims it can't
open the port.  Is ICAT supposed to have closed the port at this time. 
According to Theseus, it still has it open.

>Oops.  CVK_DEBUG=ALL is more comprehensive than =ON.  The original empty
>file is a fn of the fact that you are 'dying early.'

No problem.  I guessed the right parameter value.

>cvkdebug.$$$, which shows traffic (text but still codified) between the
>probe library and the probe (KDB).  CVK_TIMING=ON generates cvk_time.$$$,
>which puts some time stamps around things, too.

Thanks, it never hurts to know what's available even if I don't know how
to interpret it.

>Umm... which documentation?  CVK stands for CodeView Kernel (as in CV

Several places mention it.  icatfaq.html, seticat.cmd, to mention of few. 
The context implies these files contain debug data.

>Ah.  You have a CAT_SETUP_RATE set, so ICAT assumes there's a delta -- I
>suppose we could/should check to see if there's a delta.

Right I used CAT_SETUP_RATE because the port's already running at 56K. 
Unsetting it makes no difference.

I have an unrelated question.  Is ICAT supposed to correctly disassemble
code in a VDM session?  It appears to assume the code is in a 32 bit
segment, which it's not.  KDB disassembles the code corectly.

Thanks,

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Kwick Pick opens locked car doors,
front doors, drawers, briefcases,
padlocks, and more. On sale now!
http://us.click.yahoo.com/ehaLqB/Fg5DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

Good morning, Steven:

>As I suspected, ICAT works with COM.SYS.  There must be something about
>the improved performance of SIO2K that's confusing ICAT.  I've tried
>several other baud rates with no change in symptoms.

Not sure what that is.  If you send me a CVKDEBUG.$$$ w/ COM.SYS (for
contrast w/ the previous one w/ SIO2K), it might help us determine what is
off.  The current CVKDEBUG.$$$ didn't give us enough of a clue (yet).

>There is something odd about ICAT's attach failure handling.  When the
>attach fails, I need to shutdown and restart ICAT or it claims it can't
>open the port.  Is ICAT supposed to have closed the port at this time.
>According to Theseus, it still has it open.

Doesn't surprise me.  I suppose our code leaves it open thinking that you
are going to retry w/ a different parm from the FE, or that you might
remember to hook the cable up to the target :-), or (whatever).  Remember
that ICAT has already successfully 'talked' to KDB and switched baud rates
(necessary or otherwise) and switched to packet mode.  Failure to attach
doesn't (from the probe library perspective) mean that you want to give up.

>>Umm... which documentation?  CVK stands for CodeView Kernel (as in CV

>Several places mention it.  icatfaq.html, seticat.cmd, to mention of few.
>The context implies these files contain debug data.

Oh.  Well, they don't :-).  Our fault for suggesting as much.  They do
contain diagnostic data...


>Right I used CAT_SETUP_RATE because the port's already running at 56K.
>Unsetting it makes no difference.

That bugs me then.  I don't know that we'll change the code, but
unnecessary activity on our part...

>I have an unrelated question.  Is ICAT supposed to correctly disassemble
>code in a VDM session?  It appears to assume the code is in a 32 bit
>segment, which it's not.  KDB disassembles the code corectly.

Yes and no :-).  ICAT figures out whether something is a 32-bit or 16-bit
segment (w/i module) either from 'seeing' a local copy of the module in the
CAT_HOST_BIN_PATH subdir(s) OR from the module list returned from KDB.  In
your case, I don't know if you have a copy of the binary for the VDM
'local,' but you do have a CAT_MODULE_LIST= x y ... set.  When that is the
case, performance for attach is improved (you are using a null-modem
cable), but KDB only sends back info for x and y leaving us to guess about
your VDM.  We always guess 32.

There is a bug (sheesh :-) that we found in our code on the KDB side that
if you have a 16-bit segment w/i a 32-bit module (say DOSCALL1), we will
think it is a 32-bit segment.  Don't know that we'll ever get to check out
and in a fix for that in the KDB source.  I apologize, but we are in
lean-as-we-can-be maintenance mode.


Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Kwick Pick opens locked car doors,
front doors, drawers, briefcases,
padlocks, and more. On sale now!
http://us.click.yahoo.com/ehaLqB/Fg5DAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

Hi, 
I am trying to write a driver using BIOS32 service directory calls and
SMBIOS calls in OS/2 warp3. 
Can anybody help me with sample code of how to call the BIOS routines 
in the
32bit BIOS32 service routines

Thanks

R.Ananth



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

In <OF98CDB5AD.F15A384B-ON85256BCF.00428F4C@raleigh.ibm.com>, on 06/05/02 
   at 08:24 AM, "Dave Evans" <davee@us.ibm.com> said:

>Good morning, Steven:

Hi,

>Not sure what that is.  If you send me a CVKDEBUG.$$$ w/ COM.SYS (for
>contrast w/ the previous one w/ SIO2K), it might help us determine what
>is off.  The current CVKDEBUG.$$$ didn't give us enough of a clue (yet).

E-mailed separately.  I used the old ISA-only COM.SYS.

>Doesn't surprise me.  I suppose our code leaves it open thinking that you
>are going to retry w/ a different parm from the FE, or that you might
>remember to hook the cable up to the target :-), or (whatever).  Remember

This is all good as long as the code remembers that it's open. :-)

>That bugs me then.  I don't know that we'll change the code, but
>unnecessary activity on our part...

I know the feeling, but when you start with a 3MB .exe there's got to be a
bit of duplication here and there.

>Yes and no :-).  ICAT figures out whether something is a 32-bit or 16-bit
>segment (w/i module) either from 'seeing' a local copy of the module in
>the CAT_HOST_BIN_PATH subdir(s) OR from the module list returned from
>KDB.  In your case, I don't know if you have a copy of the binary for the
>VDM 'local,' but you do have a CAT_MODULE_LIST= x y ... set.  When that

If by VDM, you mean the DOS executble that's running in the VDM, I haven't
had a chance to try this yet.  We'll see what happens when I do.

>think it is a 32-bit segment.  Don't know that we'll ever get to check
>out and in a fix for that in the KDB source.  I apologize, but we are in
>lean-as-we-can-be maintenance mode.

Yep, that's the reality of life with OS/2.  Even so, it does not yet
appear ready to go quietly into the night.

Regards,

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Steven:

>>Not sure what that is.  If you send me a CVKDEBUG.$$$ w/ COM.SYS (for
>>contrast w/ the previous one w/ SIO2K), it might help us determine what
>>is off.  The current CVKDEBUG.$$$ didn't give us enough of a clue (yet).

>E-mailed separately.  I used the old ISA-only COM.SYS.

Will look at it soon.

>>Yes and no :-).  ICAT figures out whether something is a 32-bit or 16-bit
>>segment (w/i module) either from 'seeing' a local copy of the module in
>>the CAT_HOST_BIN_PATH subdir(s) OR from the module list returned from
>>KDB.  In your case, I don't know if you have a copy of the binary for the
>>VDM 'local,' but you do have a CAT_MODULE_LIST= x y ... set.  When that

>If by VDM, you mean the DOS executble that's running in the VDM, I haven't
>had a chance to try this yet.  We'll see what happens when I do.

Yes, whatever module you are debugging so that we receive segment
information on it from KDB.  Better is a NULL CAT_MODULE_LIST, where we
receive everything but is painfully slow on attach w/ a serial connection.
You could try it once (eat a sandwich during attach :-) just to see.

>>I apologize, but we are in lean-as-we-can-be maintenance mode.

>Yep, that's the reality of life with OS/2.  Even so, it does not yet
>appear ready to go quietly into the night.

I always pull for OS/2.  Still my favorite OS to have worked w/ ...

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com


The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Fri, 7 Jun 2002 07:10:43 -0400, Dave Evans wrote:

<snip>

>>>I apologize, but we are in lean-as-we-can-be maintenance mode.
>
>>Yep, that's the reality of life with OS/2.  Even so, it does not yet
>>appear ready to go quietly into the night.

I've been sacrificing assorted small-furry-animals to the GODS that be for SSI to pull off a rebirth so to speak with eCS ...
IMO if anyone can do it - it is Bob St. John ... He appears to eat, drink, and sleep the business of eComStation :-)

>I always pull for OS/2.  Still my favorite OS to have worked w/ ...

Ditto ...
When Windows 2000 was released I thought it was such a BIG step forward that OS/2 was completely doomed ...
But now with Windows XP it seems MS has taken a GIANT step backwards ... particularly with regard to licenseing costs, forced upgrades, 
the weak-and-puny DOJ agreement, etc ... There are a whole lot of people/companies disillusioned with Microsoft right now ... IMO

Finally ... no matter what OS I play around with I always come back to OS/2 ...

Gregory L. Marx


The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hi!

  I'd like to write my own VIO handler similar to ansi.dll, dumb.dll, vt100.dll from tcp/ip, which is used by telnetdc.
  I am planning to use it with openssh.
  where can i get info and examples of VIO handlers ?
                                                     Faithfully Yours, Nick



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

                                                                            
 Printer Device Driver Support (06/07/2002)                                 
                                                                            
                                                                            
 New devices has been added to Printer device drivers. Some problems fixed. 
                                                                            
                                                                            
 Be sure to download the following files that can be found under Printer    
 Device Drivers and Test Tools.                                             
       Source Code ZIP file                                                 
       Build Environment ZIP file                                           
       Build Tools ZIP file                                                 
                                                                            
 Storage devices (05/22/2002)                                               
                                                                            
                                                                            
 All Storage devices drivers have been updated to current level. Some       
 problems fixed. Added sources for SCSI Removable Devices Filter Device     
 Driver.                                                                    
                                                                            
                                                                            
 Be sure to download the following files that can be found under Storage    
 Device Drivers and Test Tools.                                             
       Source Code for DASD drivers ZIP file                                
       Source Code for CD-ROM drivers ZIP file                              
       Source Code for Input/Output drivers ZIP file                        
       Build Environment ZIP file                                           
                                                                            




Glen Fine
IBM Solution Technologies
OS/2 Competency Center & IHV Advocacy, Austin, Texas
Internet : gfine@us.ibm.com



Hi,

does this mean you would need to do some keyboard emulation 
etc. for VIO windows ?

Then I have the vague idea that you would need to write a 
character device monitor for the keyboard handler. This is 
really old stuff and uses a 16-bit API but it still works.
Basically you set up a program (the monitor) that chains 
itself between an application and a driver. 

You will find information in the PDD reference and in the I/O 
reference.

I don't know if even the base video driver SCREEN$ will allow 
the setup of a monitor to monitor and manipulate output of 
data to the VIO window.

Lars

--- In os2ddprog@y..., "nick" <nickathome@m...> wrote:
> Hi!
> 
>   I'd like to write my own VIO handler similar to ansi.dll, 
dumb.dll, vt100.dll from tcp/ip, which is used by telnetdc.
>   I am planning to use it with openssh.
>   where can i get info and examples of VIO handlers ?
>                                                      
Faithfully Yours, Nick


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru


Hi all:

From a previous e-mail from me:

>I've got a candidate icatos2.zip release (4.06) out on
>service2.boulder.ibm.com (198.17.57.81)  user:  icat1  and password:
>m5paring.  This candidate release fixes a few things including a
>CAT_KDB_INIT bug.

I just uploaded another stab at this (4.06 candidate release).  This
version:

1) fixes the Debugger Properties dialog bug that Knut found,

2) has new HELP dialog/amendments,

3) but does not fix the problem reported by Sergey (seeing 32-bit disasm
for 16-bit code).  We did find the bug in 'our' KDB code, but we are
unlikely to be able to check out and back in the fix in an OS/2 kernel.

Other 32-bit disasm for 16-bit code issues are 'fixed' by setting your
CAT_MODULE_LIST to NULL (this is just informational for you -- we didn't
change anything here).

As before:

>If you grab this version and try it out, please let me know off-line if
you
>find any problems.  I hope to promote it to the official web site soon.

And please note that the official web site will be unplugged soon.  We'll
_probably_ move to  ftp://service.boulder.ibm.com/ps/products/os2/icat/ (or
some such) w/ just the distribution file(s).


Thanks,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

In <OF1A9056D9.00B60D7E-ON85256BDD.00439037@boulder.ibm.com>, on
06/19/2002 
   at 08:27 AM, "Dave Evans" <davee@us.ibm.com> said:

>And please note that the official web site will be unplugged soon.

Oh that's bad.  The web site comes in handy.  Is there any way to keep it?

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru


Hi Timur:

>>And please note that the official web site will be unplugged soon.

>Oh that's bad.  The web site comes in handy.  Is there any way to keep it?

Not w/o a lot of time and effort to keep the pages up to IBM's latest (and
understandably, ever-evolving) standards.  E.g., customer data pages,
questionnaires/surveys, privacy notices, etc. require someone to pay
constant attention to the various pages.  As you can tell, our pages are
quite stale, and there's no funding to worry about an independent site for
ICAT (for OS/2 kernel debugging).

I got a big DING a month or so ago about how noncompliant the site was, and
that's what prompted the decision.

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!


Hi Simon:

>>And please note that the official web site will be unplugged soon.

>Sorry, but which web-site are you talking about here?

http://service.boulder.ibm.com/icat/

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

Helo,

how I can create a sym file from watcoms map file?

mapsym says

mapsym: Unexpected eof reading: file.map (file.map, line 325)

and the created sym has a length of 0 bytes.

Regards 
    Carsten
-- 
eMail:	C.Arnold@transnet.de
URL: 	http://www.c-arnold.de.vu
Fingerprint: AA 81 6C 0C C7 3F 35 49  3A 39 7B B6 58 92 B2 F2
    this OS/2 system is running 1d 5h 0m 10s 418ms-


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On 20 Jun 2002 14:06:01 UT, C.Arnold@Transnet.de wrote:

>how I can create a sym file from watcoms map file?
>
>mapsym says
>
>mapsym: Unexpected eof reading: file.map (file.map, line 325)
>
>and the created sym has a length of 0 bytes.


Search the DDK tree for WAT2MAP*

There is an EXE version in	\BASE\Src\Dev\Mme\Mpegpdd\Pdd
and a REXX version in		\BASE\Src\Dev\Mme\Tropez

These tools will convert WATCOM map files to something MAPSYM 
can deal with.

-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

In <OFCC221FAA.C0406A69-ON85256BDE.00438BDA@boulder.ibm.com>, on
06/20/2002 
   at 08:21 AM, "Dave Evans" <davee@us.ibm.com> said:

>I got a big DING a month or so ago about how noncompliant the site was,
>and that's what prompted the decision.

Then how about simplifying the web site so it just tells you what ICAT is
and then points to the FTP site?

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

On Thu, 20 Jun 2002 18:30:30 +0200, Ruediger Ihle wrote:

>Search the DDK tree for WAT2MAP*

I don't found this. :-(

>There is an EXE version in	\BASE\Src\Dev\Mme\Mpegpdd\Pdd
>and a REXX version in		\BASE\Src\Dev\Mme\Tropez

And I do not have these directorys also. 
Which DDK part do I have to download there? 

I mean from the side
http://service.software.ibm.com/dl/ddk/priv/ddk-d

Thank You

Regards 
    Carsten
-- 
eMail:	C.Arnold@transnet.de
URL: 	http://www.c-arnold.de.vu
Fingerprint: AA 81 6C 0C C7 3F 35 49  3A 39 7B B6 58 92 B2 F2
    this OS/2 system is running 1d 22h 5m 26s 401ms-


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On 21 Jun 2002 07:11:26 UT, C.Arnold@Transnet.de wrote:

>And I do not have these directorys also. 
>Which DDK part do I have to download there? 

MMPMDD.ZIP

But before you start donwloading the whole thing, I sent the
files to you directly.



-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru


Hello!

There's a tool called wmap, somewhere, which converts a watcom map-file to
something that mapsym can handle. I think I got it from the 32drv170.zip
package on hobbes, but if you can't find it, I'll send it to you.

Harald Eilertsen
Norman ASA






"Carsten Arnold" <C.Arnold@Transnet.de> on 20.06.2002 16:05:21

Please respond to os2ddprog@yahoogroups.com

To:   "\"\"os2ddprog\">\" <os2ddprog@yahoogroups.com"
cc:

Subject:  [os2ddprog] sym file


Helo,

how I can create a sym file from watcoms map file?

mapsym says

mapsym: Unexpected eof reading: file.map (file.map, line 325)

and the created sym has a length of 0 bytes.

Regards
    Carsten
--
eMail:    C.Arnold@transnet.de
URL:      http://www.c-arnold.de.vu
Fingerprint: AA 81 6C 0C C7 3F 35 49  3A 39 7B B6 58 92 B2 F2
    this OS/2 system is running 1d 5h 0m 10s 418ms-



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/









------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru


Hi Timur:

>Then how about simplifying the web site so it just tells you what ICAT is
>and then points to the FTP site?

We are simplifying by bundling the binaries and placing them on a site w/
other tools.  I understand your request, but justifying and maintaining the
independent site and meeting audit specs (even in a streamlined mode) are
no longer in the cards.  Ping me offline if you feel you need to vent :-).

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Fri, 21 Jun 2002 10:13:16 +0200, Harald Eilertsen wrote:

>There's a tool called wmap, somewhere, which converts a watcom map-file 
>to something that mapsym can handle. I think I got it from the 
>32drv170.zip package on hobbes, but if you can't find it, I'll send it to 
>you.

Thank You, I have now wat2map and its works.

And now a new thread... ;-)




Regards 
    Carsten
-- 
eMail:	C.Arnold@transnet.de
URL: 	http://www.c-arnold.de.vu
Fingerprint: AA 81 6C 0C C7 3F 35 49  3A 39 7B B6 58 92 B2 F2
    this OS/2 system is running 2d 23h 25m 30s 910ms-


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

Helo,

I change from MSC60 to Watcom, and now I have a problem with parameters on 
a function call.

My Function is so:

void Function( PSZ p0, PSZ p1 );

The call:

{
 char 	chData[256];
 USHORT	usPos = 0;

 Function( chData + usPos, (PSZ)"text" );
}

With MSC this compiled correctly, the first parameter is in stack segment.

With Watcom, chData is in stack also, but the first parameter will deliver 
with the data segment and so occurs a axception of course. 

If I write

 Function( chData, (PSZ)"text" );

then its correct in with stack segment.

If I write

 USHORT	usPos = 0;
 PSZ	P = chData;

 Function( P + usPos, (PSZ)"text" );

its works also.

Is that a bug or feature on Watcom wcc? Exists any switches to the avoid 
this effect?

Thank You.

Regards 
    Carsten
-- 
eMail:	C.Arnold@transnet.de
URL: 	http://www.c-arnold.de.vu
Fingerprint: AA 81 6C 0C C7 3F 35 49  3A 39 7B B6 58 92 B2 F2
    this OS/2 system is running 2d 23h 25m 32s 766ms-


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On 22 Jun 2002 08:38:05 UT, C.Arnold@Transnet.de wrote:

>With Watcom, chData is in stack also, but the first parameter will deliver 
>with the data segment and so occurs a axception of course. 

Tell the compiler not to assume SS == DS.  I think the WCC option is -zu


-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

On Sat, 22 Jun 2002 10:44:51 +0200, Ruediger Ihle wrote:

>Tell the compiler not to assume SS == DS.  I think the WCC option is -zu

already set. :-(

USHORT usPos;
char chData[]
PSZ  P;

And the mistake occurs only if I use "chData + usPos", 
not if I use "P + usPos".

Regards 
    Carsten
-- 
eMail:	C.Arnold@transnet.de
URL: 	http://www.c-arnold.de.vu
Fingerprint: AA 81 6C 0C C7 3F 35 49  3A 39 7B B6 58 92 B2 F2
    this OS/2 system is running 0d 14h 14m 31s 959ms-


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Carsten Arnold wrote:

>On Fri, 21 Jun 2002 10:13:16 +0200, Harald Eilertsen wrote:
>
>  
>
>>There's a tool called wmap, somewhere, which converts a watcom map-file 
>>to something that mapsym can handle. I think I got it from the 
>>32drv170.zip package on hobbes, but if you can't find it, I'll send it to 
>>you.
>>    
>>
>
>Thank You, I have now wat2map and its works.
>  
>
FYI. There is a more generic, so to say, mapsym.cmd in the Odin32 tree. 
This is supposed to handle watcom (32-bit too), vac40, vac3xx, emx and 
msc6. (cvsroot=:pserver:readonly@cvs.netlabs.org/netlabs.cvs/odin32 , 
/tools/bin/mapsym.cmd)

Kind Regards,
 knut



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Just a note.  I seperated from IBM on June 21st.
Anything that was in process has been passed on
to the new owner. I expect her to chime in when 
the OS/2 DDK has been updated.

As for me...  On to bigger and better things !!
I'll still be around but not in the capacity 
as once was. 

Glen



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On 23 Jun 2002 07:55:43 UT, C.Arnold@Transnet.de wrote:


>And the mistake occurs only if I use "chData + usPos", 
>not if I use "P + usPos".

Looks a bit like a compiler bug. Which version of WCC are you using ?
Which options are set ?  With 11.0c it looks O.K. here:



void Function( PSZ p0, PSZ p1 )
{
  while( *p0 && *p1 )   { p0++; p1++; }
}


Segment: _TEXT BYTE USE16 00000019 bytes
0000			void near Function( char unsigned far *, char unsigned far * ):
0000    56		push	si
0001    89 C6		mov	si,ax			; OFFSET p0
0003		L$200:
0003    8E C2		mov	es,dx			; SEGMENT p0
0005    26 80 3C 00	cmp	byte ptr es:[si],0x00
0009    74 0C		je	L$201
000B    8E C		mov	es,cx			; SEGMENT p1
000D    26 80 3F 00	cmp	byte ptr es:[bx],0x00	; OFFSET p1
0011    74 04		je	L$201
0013    46		inc	si			; OFFSET p0
0014    43		inc	bx			; OFFSET p1
0015    EB EC		jmp	L$200
0017		L$201:
0017    5E		pop       si
0018    C3		ret       



void Caller(void)
{
  unsigned char acData[256];
  USHORT usPos = 0;

  Function(acData + usPos, (PSZ)"text");
}


Segment: _TEXT BYTE USE16 0000001A bytes
0000 		void near Caller():
0000    53		push	bx
0001    51		push	cx
0002    52		push	dx
0003    C8 00 01 00	enter	0x00000100,0x00000000
0007    BB 00 00		mov	bx,offset DGROUP:L$1	; OFFSET p1
000A    8D 86 00 FF	lea	ax,-0x100[bp]		; OFFSET p0
000E    8C D9		mov	cx,ds			; SEGMENT p1
0010    8C D2		mov	dx,ss			; SEGMENT p0

							; p0 = dx:ax, p1 = cx:bx

0012    E8 00 00		call	void near Function( char unsigned far *, char unsigned far * )
0015    C9		leave     
0016    5A		pop	dx
0017    59		pop	cx
0018    5B		pop	bx
0019    C3		ret       



-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru


Hi,
  I Would like to know where I can find the usage of devHelp_CreateSpinLock 
and DevHelp_AcquireSpinLock.
If there is some latest ddk developmet(kit) pack available then plese let me 
know how to get it.
I am not able to see that Info in the
service.software.ibm.com/ddk/ site.

With Regards,
-Vanishree



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...


Vanishree,

first question is: what do you want to achieve? In most cases, you do not need
spinlocks for SMP enabling your drivers. OS/2 serializes the entry into the
kernel with a global spinlock for you. There are a couple of cases where you
need them but I need more information.

An excellent reference is Scott Garfinkle's article on EDM2:

http://www.edm2.com/0701/driver.html

If your driver does not require versions of OS/2 before WSEB/Conv.Pack, then
I would suggest to use KEE instead. If you enter your driver through a KEE
created callgate (dynamic API), then you need spinlocks as that is the way
the IP stack does multithreading inside the stack drivers.

Kind regards / mit freundlichen Gruessen / Cordialement,
    Achim Hasenmueller

InnoTek Systemberatung GmbH
phon: +49 7151 9965-30
achimha@innotek.de
http://www.innotek.de
Germany





"vanishree Sabapathi" <svanishree@hotmail.com> on 26.06.2002 19:51:05

Please respond to os2ddprog@yahoogroups.com

To:    os2ddprog@yahoogroups.com
cc:

Subject:    [os2ddprog] Reg: SMP and where to find usage of DevHelp_CreateSpinLock


Hi,
  I Would like to know where I can find the usage of devHelp_CreateSpinLock
and DevHelp_AcquireSpinLock.
If there is some latest ddk developmet(kit) pack available then plese let me
know how to get it.
I am not able to see that Info in the
service.software.ibm.com/ddk/ site.

With Regards,
-Vanishree



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/











------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

I am maintaining an adapter device driver for scsi host adapter.
There is a list of commandID's(the maximum commands this adapter can
handle in single shot). When I get a request, I first check to see
that I have a free commandID slot, and when a request completes I
free the commandID slot.
Now this CommandID_list access needs to be serilalized in SMP. Two
functions manupulate this list Free_ID, and Get_freeID, I need to
make sure that this list is not currupted by simutaneous access.
These list manupulating routines are called from 2 places
1. IORB entry point
2. Interrupt Handler

It would really help If I can get to know how to use the spinlock 
devhelp routines.

Regards,
-Vani

--- In os2ddprog@y..., "Achim Hasenmueller" <achimha@i...> wrote:
> 
> Vanishree,
> 
> first question is: what do you want to achieve? In most cases, you 
do not need
> spinlocks for SMP enabling your drivers. OS/2 serializes the entry 
into the
> kernel with a global spinlock for you. There are a couple of cases 
where you
> need them but I need more information.
> 
> An excellent reference is Scott Garfinkle's article on EDM2:
> 
> http://www.edm2.com/0701/driver.html
> 
> If your driver does not require versions of OS/2 before 
WSEB/Conv.Pack, then
> I would suggest to use KEE instead. If you enter your driver 
through a KEE
> created callgate (dynamic API), then you need spinlocks as that is 
the way
> the IP stack does multithreading inside the stack drivers.
> 
> Kind regards / mit freundlichen Gruessen / Cordialement,
>     Achim Hasenmueller
> 
> InnoTek Systemberatung GmbH
> phon: +49 7151 9965-30
> achimha@i...
> http://www.innotek.de
> Germany
> 
> 
> 
> 
> 
> "vanishree Sabapathi" <svanishree@h...> on 26.06.2002 19:51:05
> 
> Please respond to os2ddprog@y...
> 
> To:    os2ddprog@y...
> cc:
> 
> Subject:    [os2ddprog] Reg: SMP and where to find usage of 
DevHelp_CreateSpinLock
> 
> 
> Hi,
>   I Would like to know where I can find the usage of 
devHelp_CreateSpinLock
> and DevHelp_AcquireSpinLock.
> If there is some latest ddk developmet(kit) pack available then 
plese let me
> know how to get it.
> I am not able to see that Info in the
> service.software.ibm.com/ddk/ site.
> 
> With Regards,
> -Vanishree
> 
> 
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
> 
> 
> 
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
> 
> To unsubscribe, send an email to: os2ddprog-unsubscribe@e...
> 
> 
> 
> Your use of Yahoo! Groups is subject to 
http://docs.yahoo.com/info/terms/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

In <afd88f+s8ik@eGroups.com>, on 06/26/2002 
   at 08:30 PM, "svanishree" <svanishree@yahoo.com> said:

>Now this CommandID_list access needs to be serilalized in SMP.

OS/2 device drivers always run on CPU 0, and only CPU 0.  

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

In smp.inf document it is mentioned that 
This document was downloaded from the following site:
http://service.software.ibm.com/dl/ddk/priv/ddk-ddsce

"Device drivers in os2 2.x were written with the 
concept that only one processor can generate interuupts. But with 
OS/2 for SMP v2.11 other processors can now generate interrupts so 
device drivers must now account re-entrance and parelle execution of 
for task-time and interrupt time code".




--- In os2ddprog@y..., Timur Tabi <timur@t...> wrote:
> In <afd88f+s8ik@e...>, on 06/26/2002 
>    at 08:30 PM, "svanishree" <svanishree@y...> said:
> 
> >Now this CommandID_list access needs to be serilalized in SMP.
> 
> OS/2 device drivers always run on CPU 0, and only CPU 0.  
> 
> -- 
> Timur Tabi, timur@t...
> Looking for a full-featured, low-cost domain hosting service?
> Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On 27 Jun 2002 01:21:30 UT, timur@tabi.org wrote:

>OS/2 device drivers always run on CPU 0, and only CPU 0.  

That's what I thought as well. At least for kernels newer than "OS/2 for SMP v2.11". 
But recently I was sent a trace (WSeB without fixpack),  that indicates that a context
hook procedure may be scheduled on both processors of a 2 way SMP system.
In fact, the hook procedure mostly ran on CPU 1 and only sometimes on CPU 0.


-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hi all

I am currently working on a device driver....

Naturally I am getting a trap in the code that does the resource manager
setup or somewhere like that.

What I would like to have is a moron's guide to setting up the kernel
debug stuff.

I have loaded a debug kernel in my MUT (victim machine) and can connect to
that using PMDF and can look at various things on the victim.

Can any of you point be to a cookbook setup for the kernel debugger?

Does anyone have the four volume kernel deugging INF files around? I was
sure I had them somewhere but they seem to have hidden themselves away
where I cannot find them.

Thanks

Lorne

-- 
-----------------------------------------------------------
lsunley@mb.sympatico.ca
-----------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

In <0GZ7002OVXBJ28@l-daemon>, on 07/13/02 
   at 09:46 PM, lsunley@mb.sympatico.ca said:

>I have loaded a debug kernel in my MUT (victim machine) and can connect
>to that using PMDF and can look at various things on the victim.

Do you have the .sym files loaded for your driver?  What did you use to
build the driver MSC or Watcom?

>Can any of you point be to a cookbook setup for the kernel debugger?

It appears you have it set up.  You might want to consider ICAT.  PMDF
does have some advantages when it comes to decoding kernel data
structures, but ICAT will let to do source level debugging.

>Does anyone have the four volume kernel deugging INF files around? I was
>sure I had them somewhere but they seem to have hidden themselves away
>where I cannot find them.

I've never seen them in .inf format.  The .boo format ones are:

 SG244640.BOO
 SG244641.BOO
 SG244642.BOO
 SG244643.BOO

and IIRC are on some OS/2 Collection CD and the OS/2 BBS. IMO, you will
find the OS/2 Debugging Handboot #.07a (SG244640) more up to date.

First thing you want, if you don't already have it is to have a KDB.INI on
the MUT like:

 .b 57600T 1
  vsf *
  g

This will give you control when your driver traps.  If you need to get
control before that, there may be an easier way, but what I have done in
the past is set a breakpoint at the location where the kernel transfers
control to the driver init routines and step into the driver from there. 
I forget the label name, but a L command from PMDF should find it.

Can I assume you have run mapsym and loaded the .sym file and done an LN
on the trap location?

Are you getting control at the trap point?  I'm not clear where you are
having problems?

Steven


-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

In <E17Tdqm-0007b9-00@falcon.mail.pas.earthlink.net>, on 07/14/02 
   at 12:26 AM, "Steven Levine" <steve53@earthlink.net> said:

>In <0GZ7002OVXBJ28@l-daemon>, on 07/13/02 
>   at 09:46 PM, lsunley@mb.sympatico.ca said:

>>I have loaded a debug kernel in my MUT (victim machine) and can connect
>>to that using PMDF and can look at various things on the victim.

>Do you have the .sym files loaded for your driver?  What did you use to
>build the driver MSC or Watcom?

I built the driver with Watcom 

>>Can any of you point be to a cookbook setup for the kernel debugger?

>It appears you have it set up.  You might want to consider ICAT.  PMDF
>does have some advantages when it comes to decoding kernel data
>structures, but ICAT will let to do source level debugging.


>>Does anyone have the four volume kernel deugging INF files around? I was
>>sure I had them somewhere but they seem to have hidden themselves away
>>where I cannot find them.

>I've never seen them in .inf format.  The .boo format ones are:

> SG244640.BOO
> SG244641.BOO
> SG244642.BOO
> SG244643.BOO

>and IIRC are on some OS/2 Collection CD and the OS/2 BBS. IMO, you will
>find the OS/2 Debugging Handboot #.07a (SG244640) more up to date.

>First thing you want, if you don't already have it is to have a KDB.INI
>on the MUT like:

> .b 57600T 1
>  vsf *
>  g

Thanks for this, I could not find any clear sample for the kdb.ini file

I was using PMDF to issue the G command, and after I got ICAT to connect
up I have been issuing the G through ICAT.

>This will give you control when your driver traps.  If you need to get
>control before that, there may be an easier way, but what I have done in
>the past is set a breakpoint at the location where the kernel transfers
>control to the driver init routines and step into the driver from there. 
>I forget the label name, but a L command from PMDF should find it.

>Can I assume you have run mapsym and loaded the .sym file and done an LN
>on the trap location?

??? no I have not done this.

>Are you getting control at the trap point?  I'm not clear where you are
>having problems?

>Steven

I figured out how to get ICAT connected up to the MUT. 

I get control at the trap point without any problem.

I think my major problem now is figuring out how to build the driver so
that ICAT will allow the source level debugging. The ICAT docs  specify a
number of options to use when compiling the code and one for the link that
are supposed to allow source level debugging but ICAT just tells me that
the file is not a correct executable.



Thanks for the help

-- 
-----------------------------------------------------------
lsunley@mb.sympatico.ca
-----------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

In <0GZ8000G8CGGZS@l-daemon>, on 07/14/02 
   at 03:11 AM, lsunley@mb.sympatico.ca said:

>I built the driver with Watcom 

OK, one thing you may need is a copy of wat2map to convert the watcom map
file to a format compatible with mapsym.  Then you can run mapsym on the
map file to generate a sym file.  This will be useful, even after you get
ICAT up and running.

>I was using PMDF to issue the G command, and after I got ICAT to connect
>up I have been issuing the G through ICAT.

That's odd but OK.  PMDF is a reasonable decent terminal emulator for
kernel debugging.  Its' got scrollback and keyboard history which never
hurts.

That said, ICAT should have been able to connect to the MUT without PMDF's
assistance.  The only connections problems I have with ICAT is it refuses
to work with SIO2K installed on the host.

>>Can I assume you have run mapsym and loaded the .sym file and done an LN
>>on the trap location?

>??? no I have not done this.

You want to.

>I think my major problem now is figuring out how to build the driver so
>that ICAT will allow the source level debugging. The ICAT docs  specify a
>number of options to use when compiling the code and one for the link
>that are supposed to allow source level debugging but ICAT just tells me
>that the file is not a correct executable.

Did you start with one of the DDK samples built with Watcom?  You probably
want to look at the sbliveos2 sources.  It is built with Watcom.  Look at
the drv16\makefile.os2 for switches.

I suspect its really complaining about the debug data format.

ICAT is most happy with CodeView debug format so you are going to need to
use the /hc when compiling and option debug codeview when linking.

The more recent version of ICAT also support .sym files.  Dave Evans
deserves a thank you for getting this supported for the rest of us.  The
IBM internal developers don't need sym file support.

>Thanks for the help

Anytime.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....


Thanks, Steven:


>>I think my major problem now is figuring out how to build the driver so
>>that ICAT will allow the source level debugging. The ICAT docs  specify a
>>number of options to use when compiling the code and one for the link
>>that are supposed to allow source level debugging but ICAT just tells me
>>that the file is not a correct executable.

>Did you start with one of the DDK samples built with Watcom?  You probably
>want to look at the sbliveos2 sources.  It is built with Watcom.  Look at
>the drv16\makefile.os2 for switches.

>I suspect its really complaining about the debug data format.

>ICAT is most happy with CodeView debug format so you are going to need to
>use the /hc when compiling and option debug codeview when linking.

Lorne, Steven is correct.  Most likely, ICAT is upset w/ the debug format.
If after you try the above sample makefiles and still have problems re
ICAT, please send me an e-mail.

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

In <0GZ8000G8CGGZS@l-daemon>, on 07/14/2002 
   at 03:11 AM, lsunley@mb.sympatico.ca said:

>I think my major problem now is figuring out how to build the driver so
>that ICAT will allow the source level debugging. 

Since you're using ICAT, the best example is the MPU-401 driver in the
DDK.  It's part of the multimedia driver archive.  The makefile generates
ICAT-compatible binaries.

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

I heard that Dave Evans (the owner? of ICAT) would read this list.
I would really appreciate some help :)

Forwarded from comp.os.os2.programmers:
-----

I just tried to debug my PDD using ICAT, but I get 32-bit disassembly 
instead of 16-bit code. Debugging works somehow, registers are displayed
correctly, but ICAT messes up the system after some single stepping.
 
Can I force ICAT somehow to disassemble 16-bit and not 32-bit? The 
(tiny) ICAT documentation doesn't help either.
It doesn't mention anything about assembly level debugging, just 
CodeView debug info and so on, but I want to debug on plain assembler 
level, like I always do.
 
I'm using Debug Kernel from Warp 4 FP #15 and ICAT 4.05.00.
 
cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hi all

I am trying to call the OEMHELP driver to obtain the PCI device data.

I ham attempting to use the code from the USB drivers to call the OEMHELP
driver and it does not seem to work when compiled with the Watcom compiler

The variable oemhlpDS is an extern declared outside of the routines

The line 

0034    8E 1E 00 00               mov       ds,_oemhlpDS

gives me an exception error when it is executed....

The code fragment for the call from the listing is

   CallOEMHlp( gDDTable.ProtIDCEntry, pRPH);
049B    8B 46 E2                  mov       ax,-0x1e[bp]
049E    8B 4E E4                  mov       cx,-0x1c[bp]
04A1    8B 36 06 00               mov       si,_gDDTable+0x6
04A5    8B 16 08 00               mov       dx,_gDDTable+0x8
04A9    89 C3                     mov       bx,ax
04AB    89 F0                     mov       ax,si
04AD    E8 00 00                  call      CallOEMHlp_


The code fragment from the routine is

#pragma optimize("eglt", off)
VOID CallOEMHlp( VOID (FAR *pFunctionCall)(VOID), PRPH pRPH ) 0000                         
CallOEMHlp_:
0000    55                        push      bp
0001    89 E5                     mov       bp,sp
0003    56                        push      si
0004    57                        push      di
0005    81 EC 0A 00               sub       sp,0x000a
0009    89 46 F2                  mov       -0xe[bp],ax
000C    89 56 F4                  mov       -0xc[bp],dx
000F    89 5E F6                  mov       -0xa[bp],bx
0012    89 4E F8                  mov       -0x8[bp],cx

{

   if (pFunctionCall)
0015    8B 4E F2                  mov       cx,-0xe[bp]
0018    8B 5E F4                  mov       bx,-0xc[bp]
001B    31 D2                     xor       dx,dx
001D    31 C0                     xor       ax,ax
001F    39 C3                     cmp       bx,ax
0021    75 04                     jne       L$1
0023    39 D1                     cmp       cx,dx
0025    74 1B                     je        L$2

   {
      _asm {push es
0027                          L$1:
0027    06                        push      es
0028    53                        push      bx
0029    1E                        push      ds
002A    57                        push      di
002B    56                        push      si
002C    8B 9E F6 FF               mov       bx,-0xa[bp]
0030    8E 86 F8 FF               mov       es,-0x8[bp]
0034    8E 1E 00 00               mov       ds,_oemhlpDS

         push bx
         push ds
         push di
         push si
         mov  bx, word ptr pRPH[0]
         mov  es, word ptr pRPH[2]
         mov  ds, oemhlpDS
      }

      (*pFunctionCall)();
0038    FF 5E F2                  call      dword ptr -0xe[bp]


      _asm {pop si
003B    5E                        pop       si
003C    5F                        pop       di
003D    1F                        pop       ds
003E    5B                        pop       bx
003F    07                        pop       es

         pop di
         pop ds
         pop bx
         pop es
      }
   }
   else
0040    EB 09                     jmp       L$3

   {
      pRPH->Status = STERR + STDON;
0042                          L$2:
0042    C4 5E F6                  les       bx,-0xa[bp]
0045    26 C7 47 03 00 81         mov       word ptr es:0x3[bx],0x8100

   }
}
004B                          L$3:
004B    8D 66 FC                  lea       sp,-0x4[bp]
004E    5F                        pop       di
004F    5E                        pop       si
0050    5D                        pop       bp
0051    C3                        ret       

Does anyone know why this would happen?

The original code  was taken from a driver usb uhci) that was compiled 
with MSC 6

Thanks


-- 
-----------------------------------------------------------
lsunley@mb.sympatico.ca
-----------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

In <0GZ9003GCT0X4E@l-daemon>, on 07/14/02 
   at 10:07 PM, lsunley@mb.sympatico.ca said:

>The variable oemhlpDS is an extern declared outside of the routines

But it is a global variable defined somewhere inside your driver and it is
your code's responsibility to initialize it.

>The line 

>0034    8E 1E 00 00               mov       ds,_oemhlpDS

>gives me an exception error when it is executed....

This is most likely because oemhlpDS contains garbage.  I'd have to look
up the details, but I'm pretty sure this value is returned when your
driver asks OEMHLP for its IDC entry point.  Perhaps this call is failing.

Steven


-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

Hi!

> >The line
> 
> >0034    8E 1E 00 00               mov       ds,_oemhlpDS
> 
> >gives me an exception error when it is executed....
> 

AFAIR, you can't load DS directly from memory. Try a push _oemhlpDS, pop
ds instead.

With best regards

Jens Glathe.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On Mon, 15 Jul 2002 09:00:18 +0200, Jens Glathe wrote:

>> >0034    8E 1E 00 00               mov       ds,_oemhlpDS
>> 
>> >gives me an exception error when it is executed....
>> 
>
>AFAIR, you can't load DS directly from memory.

You can. For example, this is the related code from DaniS506.ADD.

Ciao,
  Dani


VOID   (FAR *pOEMHLPEntry)(VOID) = 0;
USHORT OemhlpDS 	         = 0;

UCHAR FAR SetupOEMHlp()
{
  PRPH pRPH = (PRPH)&IOCtlRP;

  if ((SELECTOROF(pOEMHLPEntry) != NULL) && (OemhlpDS != NULL))
    return (0);

  /* Setup Global OEMHlp Variables */
  if (DevHelp_AttachDD (OEMDriverName, (NPBYTE)&DDTable))
    return (1);    /* Couldn't find OEMHLP's IDC */

  if ((SELECTOROF(DDTable.ProtIDCEntry) == NULL) || (DDTable.ProtIDC_DS
== NULL))
    return (1);    /* Bad Entry Point or Data Segment */

  pOEMHLPEntry = DDTable.ProtIDCEntry;
  OemhlpDS = DDTable.ProtIDC_DS;

  return (0);
}

int FAR _fastcall CallOEMHlp (PRPH pRPH);

EXTRN		_pOEMHLPEntry:DWORD
EXTRN		_OemhlpDS:WORD

		public	@CallOEMHlp
@CallOEMHlp	PROC	FAR

		PUSH	BP
		MOV	BP, SP
		PUSH	SI
		PUSH	DI

		LES	BX, DWORD PTR [BP+6]	; pRPH
		TEST	[_pOEMHLPEntry], -1
		JNZ	DoOEMHlp

		MOV	AX, 8100h
		MOV	WORD PTR ES:[BX+3], AX
		JMP	SHORT CallOEMHlpEnd
DoOEMHlp:
		PUSH	[_pOEMHLPEntry]
		PUSH	DS
		MOV	DS, [_OemhlpDS]
		CALL	DWORD PTR [BP-8]
		POP	DS
		ADD	SP, 4
		MOV	AX, WORD PTR ES:[BX+3]
CallOEMHlpEnd:
		AND	AX, 8000h
		POP	DI
		POP	SI
		LEAVE
		RET	4

@CallOEMHlp	ENDP

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniela Engert, systems engineer at MEDAV GmbH
Gr fenberger Str. 34, 91080 Uttenreuth, Germany
Phone ++49-9131-583-348, Fax ++49-9131-583-11



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru      "     " -                                                               ...


Hi Kiewitz:


>I just tried to debug my PDD using ICAT, but I get 32-bit disassembly
>instead of 16-bit code. Debugging works somehow, registers are displayed
>correctly, but ICAT messes up the system after some single stepping.

ICAT uses a 32-bit disassembly by default when it can't find the module on
the host side.  Yes, it will mess up a system if you try to step thru the
disassembly when ICAT has its interpretation wrong.

>Can I force ICAT somehow to disassemble 16-bit and not 32-bit?

Not force, but look at my next paragraph below.

>The (tiny) ICAT documentation doesn't help either.
>It doesn't mention anything about assembly level debugging, just
>CodeView debug info and so on, but I want to debug on plain assembler
>level, like I always do.

What you can do is set a NULL CAT_MODULE_LIST (but that slows things down
considerably if you are using a null-modem cable as opposed to an
ethernet/token ring connection), or you can ensure that your module name is
in the CAT_MODULE_LIST.  And you definitely should ensure that ICAT can
'see' your debug binary on your host system.

>I'm using Debug Kernel from Warp 4 FP #15 and ICAT 4.05.00.

We have a candidate ICAT 4.06.00 available, but I don't think obtaining it
right now is your highest priority.  Send me a note off-line if the above
'assistance' doesn't work.


Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hello All,

This is my first mail to this list, so I guess a brief introduction is in
order. My name is Samantha Ranaweera and I work for LSI Logic corporation. I
am a device driver developer and am currently working on a Ultra 320 SCSI
driver for LSI Logic 53C1030 SCSI controller. 

I have been trying to download the latest version of the ICAT debugger from
IBM website but the links to the debugger and Information/installation guide
download does not work. I have contacted the web administrator but nothing
has changed. I would be extremely grateful if someone can send me those two
packages. The latest I could get my hands on was from 2/16/01. 

More technical questions are likely to follow once I get the debug process
moving. 

Thanks,

Samantha.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hello

Nice to hear that that HAB will be supported... :-)

The "latest and greatest" release candidate is at

ftp://icat1:m5paring@service2.boulder.ibm.com/icatos2.zip

And I cannot find the direct URL for the "current release"

Lorne

In <2ADA45B8C19AD111BBEA00805FBE13410C4A4506@exccolorado.co.lsil.com>, on
07/15/02 
   at 03:55 PM, "Ranaweera, Samantha" <sranawee@lsil.com> said:

>Hello All,

>This is my first mail to this list, so I guess a brief introduction is in
>order. My name is Samantha Ranaweera and I work for LSI Logic
>corporation. I am a device driver developer and am currently working on a
>Ultra 320 SCSI driver for LSI Logic 53C1030 SCSI controller. 

>I have been trying to download the latest version of the ICAT debugger
>from IBM website but the links to the debugger and
>Information/installation guide download does not work. I have contacted
>the web administrator but nothing has changed. I would be extremely
>grateful if someone can send me those two packages. The latest I could
>get my hands on was from 2/16/01. 

>More technical questions are likely to follow once I get the debug
>process moving. 

>Thanks,

>Samantha.


>The OS/2 Device Driver Programming mailing list.
>http://www.egroups.com/group/os2ddprog

>To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

> 

>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




-- 
-----------------------------------------------------------
lsunley@mb.sympatico.ca
-----------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

In <0GZB00MCWCVG0B@l-daemon>, on 07/15/02 
   at 06:17 PM, lsunley@mb.sympatico.ca said:

>And I cannot find the direct URL for the "current release"

It's:

  http://service.software.ibm.com/icat/

However, one might as well use v4.06 because the sooner any problems it
might have are detected the better chance there is that a fix might get
slipped in.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

That URL is the one with problems

Selecting the download link

http://service.software.ibm.com/dl/icat/icat-l

gets you a very apologetic 404 error screen

Lorne

In <E17UHtJ-0004eZ-00@goose.mail.pas.earthlink.net>, on 07/15/02 
   at 07:14 PM, "Steven Levine" <steve53@earthlink.net> said:

>In <0GZB00MCWCVG0B@l-daemon>, on 07/15/02 
>   at 06:17 PM, lsunley@mb.sympatico.ca said:

>>And I cannot find the direct URL for the "current release"

>It's:

>  http://service.software.ibm.com/icat/

>However, one might as well use v4.06 because the sooner any problems it
>might have are detected the better chance there is that a fix might get
>slipped in.

>Steven



-- 
-----------------------------------------------------------
lsunley@mb.sympatico.ca
-----------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

In <0GZB001TONAKTL@l-daemon>, on 07/15/02 
   at 10:04 PM, lsunley@mb.sympatico.ca said:

>Selecting the download link

>http://service.software.ibm.com/dl/icat/icat-l

>gets you a very apologetic 404 error screen

Oh.  Didn't know that.  Dave did mention that the site was going away, but
this looks more like someone just broke something.

IAC, the v4.06 version on the FTP site works fine as long as you don't use
SIO on the host. :-(

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

[ eComStation MultiMedia Team ]

I got the following code in my PDD, but *any* code which means from C,
from assembly, from RMCALLS.LIB gives me an exception in OS2KRNL.

Why?? I think I made everything correctly.

For comment: I'm setting up ES:SI to the begin of the "AddOn"-Paket,
which means the Paket that is appended to the standard Device
Request-Paket.

----------- Strategy-Entry ---
  _acrtused:                             ; C startup point dummy
   MPush   <si,di>
      movzx   di, bptr es:[bx+DeviceDrvPacket.Cmd] ; DI - CommandNo
      mov     si, bx
      add     si, DeviceDrvPacketLength          ; ES:SI -
DevDrvAddOnPaket

      mov     ax, DeviceDrvStatus_Done+DeviceDrvStatus_Error
      cmp     di, 28                             ; Maximum
StrategyFunction==27
      jae     NoInitEnd
      or      di, di
      jnz     NoInit
      call    DevDrv_GlobalInit
      jc      NoInitEnd                          ; Global-Init
reported failure
     NoInit:
      [...]

--------- DevDrv_GlobalInit ---
DevDrv_GlobalInit               Proc Near   Uses eax bx cx dx ds si es di
   ; Get DevHlp() Entry-Pointer and save it...
   mov     eax, dptr es:[si+DeviceDrvPacketINIT.DevHlpEntryPtr]
   mov     dptr ds:[DeviceHelpEntryPtr], eax
   [...]
   push    ds
   push    offset MyDriverInfo
   push    ds
   push    offset TinyScratchSpace
   push    cs              ; must use this due NEAR call
   call    RMCreateDriver                           
<------------------ It's crashing here the WHOLE time
   mov     eax, dptr [TinyScratchSpace]
   mov     [RMDriverHandle], eax
   [...]

--- And my PDD device driver header ---
NextDevicePtr                dd 0FFFFFFFFh ; Pointer to next Device Driver
DeviceAttribute              dw DeviceDrv_Attribute
StrategyEntryPtr             dw offset StrategyEntry
IDCentryPtr                  dw 0 ; offset IDCEntry
DeviceDriverName             dd DeviceDrvName
                             dd DeviceDrvName2
ReservedData                 dd 0, 0       ; 8 bytes reserved
DeviceLevel3Capabilities     dd DeviceDrv_Capabilities
------------------------ Some Definitions ---
   DeviceDrv_Attribute    equ 8980h ; DEV_CHAR_DEV|DEV_30|DEVLEV_3
   DeviceDrv_Capabilities equ 0039h
   DeviceDrvName          equ 'ADBS'
   DeviceDrvName2         equ '  $C' ; SBDAC$ :]

*WHY* *WHY* *WHY*
I double checked everything. Registers, the Entry-Point. It all seems
to be correct.

I can put a current build on my HTTP server, if one wants to look at
it under a debugger. It definitely jumps to the correct entry point. I
checked this by debugging TESTCFG.SYS and looking where that code
jumps to. The registers seem to be correct as well. Probably error in
the device-driver header?!?!

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Tue, 16 Jul 2002 11:04:15 -0000, kiewitz2000 wrote:

>[ eComStation MultiMedia Team ]

>I got the following code in my PDD, but *any* code which means from C,
>from assembly, from RMCALLS.LIB gives me an exception in OS2KRNL.
>
>Why?? I think I made everything correctly.

You *do* have

PFN            Device_Help            = 0L;
PFN            RM_Help0               = 0L;
PFN            RM_Help3               = 0L;
ULONG          RMFlags                = 0;

defined anywhere ?

Ciao,
  Dani

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniela Engert, systems engineer at MEDAV GmbH
Gr fenberger Str. 34, 91080 Uttenreuth, Germany
Phone ++49-9131-583-348, Fax ++49-9131-583-11



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
                ,                 - http://www.newhost.ru

On 16 Jul 2002 11:04:20 UT, kiewitz@netlabs.org wrote:

>   push    ds
>   push    offset MyDriverInfo
>   push    ds
>   push    offset TinyScratchSpace
>   push    cs              ; must use this due NEAR call
>   call    RMCreateDriver                           

What is MyDriverInfo and TinyScratchSpace ?

RMCALLS uses __cdecl calling convention, so parameters
need to be pushed from right to left.

;
;      if( hDriver == -1 && RMCreateDriver(&drs, &hDriver) != 0 )
;
     ?debug  L 147
     cmp     dword ptr DGROUP:_hDriver,large -1
     jne     short @2@114
     push    ds
     push    offset DGROUP:_hDriver
     push    ds
     push    offset DGROUP:d@w+46
     call    far ptr _RMCreateDriver
     add     sp,8
     or      ax,ax
     je      short @2@114
     ...




-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....


Steven et al.:

>>Selecting the download link
>>http://service.software.ibm.com/dl/icat/icat-l
>>gets you a very apologetic 404 error screen

>Oh.  Didn't know that.  Dave did mention that the site was going away, but
>this looks more like someone just broke something.

I tried the link today and received the 404, too.  I've inquired of
Boulder, but they are two hours behind me (time zone delta).  Tho this site
is coming down soon, the download should still work until the new home has
been established.

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

--- In os2ddprog@y..., "Daniela Engert" <dani@n...> wrote:
> >I got the following code in my PDD, but *any* code which means from C,
> >from assembly, from RMCALLS.LIB gives me an exception in OS2KRNL.
> >
> >Why?? I think I made everything correctly.
> You *do* have
> PFN            Device_Help            = 0L;
> PFN            RM_Help0               = 0L;
> PFN            RM_Help3               = 0L;
> ULONG          RMFlags                = 0;
> defined anywhere ?

Of course. Otherwise I would get Linker-Errors. And Device_Help is set
to the Pointer that is given me from the INIT Request Paket.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

> >   push    ds
> >   push    offset MyDriverInfo
> >   push    ds
> >   push    offset TinyScratchSpace
> >   push    cs              ; must use this due NEAR call
> >   call    RMCreateDriver                           
> What is MyDriverInfo and TinyScratchSpace ?

MyDriverInfo is a valid DRIVERSTRUCT (defined under C)
TinyScratchSpace is a 16 byte area that is used as temporary buffer
for multiple things.

> RMCALLS uses __cdecl calling convention, so parameters
> need to be pushed from right to left.

I see. I would have noticed, but it crashes on the Dev_Help-Call, like
I said. Even simple things like "DevHelp_Beep" are crashing.

For example, this here is crashing as well:

   mov     ax, ds
   mov     es, ax
   mov     di, offset MessageScratchSpace ; Temp. Memory to hold Selector
   mov     wptr es:[di], 0
   mov     cx, 1                   ; Allocate 1 selector
   mov     dx, DevHlp_AllocGDTSelector
   call    dptr [DeviceHelpEntryPtr]
   jnc     GotSelector

MessageScratchSpace is a 96 byte buffer that is used (again) for
multiple jobs like this here and as "printf()" buffer.

wptr/dptr as macros for "word ptr" and "dword ptr"
DeviceHelpEntryPtr is definitely right and the call looks "good" to
me, but it doesn't work.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Great to hear that LSILogic is still supporting OS/2.

-=-
Alan


Ranaweera, Samantha wrote:

>Hello All,
>
>This is my first mail to this list, so I guess a brief introduction is in
>order. My name is Samantha Ranaweera and I work for LSI Logic corporation. I
>am a device driver developer and am currently working on a Ultra 320 SCSI
>driver for LSI Logic 53C1030 SCSI controller. 
>
>I have been trying to download the latest version of the ICAT debugger from
>IBM website but the links to the debugger and Information/installation guide
>download does not work. I have contacted the web administrator but nothing
>has changed. I would be extremely grateful if someone can send me those two
>packages. The latest I could get my hands on was from 2/16/01. 
>
>More technical questions are likely to follow once I get the debug process
>moving. 
>



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Dave,

I have a couple of questions on the ICAT debugger and I'd be extremely
grateful if you could spare a moment to look into them. 

I'm using an older version of the ICAT debugger, from 2/16/01. The
seticat.cmd files asks that a file named doscalls.cvk be placed in the host
machine. I can't seem to find a doscalls file with this extension in the
OS/2 distribution CD nor in the ICAT distribution package. Do you happen to
know how I could get this file?

When I run the debugger, it attaches to the victim machine correctly. I can
see the kernel and some exe's but I can't see .SYS and .ADD modules? Could
you think of what I might be missing. I have placed the OS2KRNLD, OS2LDR,
OS2KRNL.SYM files etc in the host machine. 

If you know of a place where I can get an installation guide for ICAT
debugger, I'd really appreciate it. 

I'm sorry if I['m bothering you too much,

Thanks,

Samantha Ranaweera.


-----Original Message-----
From: Dave Evans [mailto:davee@us.ibm.com]
Sent: Tuesday, July 16, 2002 6:15 AM
To: os2ddprog@yahoogroups.com
Subject: Re: [os2ddprog] ICAT debugger



Steven et al.:

>>Selecting the download link
>>http://service.software.ibm.com/dl/icat/icat-l
>>gets you a very apologetic 404 error screen

>Oh.  Didn't know that.  Dave did mention that the site was going away, but
>this looks more like someone just broke something.

I tried the link today and received the 404, too.  I've inquired of
Boulder, but they are two hours behind me (time zone delta).  Tho this site
is coming down soon, the download should still work until the new home has
been established.

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com




The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....


Hi Samantha:


>I have a couple of questions on the ICAT debugger and I'd be extremely
>grateful if you could spare a moment to look into them.

Not a problem.

>I'm using an older version of the ICAT debugger, from 2/16/01. The
>seticat.cmd files asks that a file named doscalls.cvk be placed in the
host
>machine.

I'll be.  So it does.  That comment is for internal (IBM) developers who
could actually have access to the OS/2 kernel source and the .CVK file that
is generated from the OS/2 build procedure.  I apologize that it is
misleading.

>I can't seem to find a doscalls file with this extension in the
>OS/2 distribution CD nor in the ICAT distribution package. Do you happen
to
>know how I could get this file?

Umm... you can't have that file.  You can however place all of the .SYM
files on the host for ICAT to see, and that will enable ICAT to make more
sense out of kernel variables, etc.

>When I run the debugger, it attaches to the victim machine correctly. I
can
>see the kernel and some exe's but I can't see .SYS and .ADD modules?

The CAT_MODULE_LIST enables modules to be viewed or not (performance
reasons).  If you set it to NULL (via the directive    set CAT_MODULE_LIST
=          ), you should see every module that is running.  This will be
slow on attach if you are using a null-modem cable.  If you are using an
ethernet connection, you shouldn't notice much of a performance
degradation.

>Could
>you think of what I might be missing. I have placed the OS2KRNLD, OS2LDR,
>OS2KRNL.SYM files etc in the host machine.

No, but you probably have some env var tweaking to do.  And you might try
the 4.06 candidate release of ICAT.

>If you know of a place where I can get an installation guide for ICAT
>debugger, I'd really appreciate it.

Well, there's a readme.txt and a \help\icatos2.htm that _should_ assist.
Otherwise, just send me e-mail off-line.

>I'm sorry if I['m bothering you too much,

Love to help and hope that I do.

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

In <2ADA45B8C19AD111BBEA00805FBE13410C4A450A@exccolorado.co.lsil.com>, on
07/16/02 
   at 11:38 AM, "Ranaweera, Samantha" <sranawee@lsil.com> said:

>Dave,

I'm not Dave. :-)

>I'm using an older version of the ICAT debugger, from 2/16/01. The
>seticat.cmd files asks that a file named doscalls.cvk be placed in the

TTBOMK, these files are available only within IBM.

>host machine. I can't seem to find a doscalls file with this extension in
>the OS/2 distribution CD nor in the ICAT distribution package. Do you
>happen to know how I could get this file?

Use the .sym files instead.  Also, I recommend using ICAT v4.06.  It
includes better support for .sym files within ICAT.

Perhaps a bit of history will help you.  When OS/2 was designed, the
kernel debugger was implemented.  The interface was line mode, usually via
a serial port.  The commands were essentially 32-bit versions of the DOS
debug commands.  Symbolic debug support was provided by .sym files which
have their origins, IIRC, with the old, long gone Phoenix (or maybe
Lattice) development tools.  Mapsym was used to prepare the .sym files and
symdeb was your debugger.  symdeb commands were a superset of the DOS
debug commands.  The kernel debugger adds additional commands for decoding
internal OS/2 data structures.

Eventually ICAT was developed.  At first it only understood CodeView and
Visualage C debug formats.  This was because  the OS/2 version of
Microsoft C was used to develop many of the .ADD and .SYS device drivers. 
CSet/2 and its successor VAC were used to develop VDD's.

More recently, .sym file support was added to ICAT.

The most efficient way to use ICAT is to place copies of your binaries and
the .sym files on the host and tell ICAT where they are.  ICAT can get the
debug data from the MUT but it's a lot slower.

Dave will correct my errors and omissions. :-)

>When I run the debugger, it attaches to the victim machine correctly. I
>can see the kernel and some exe's but I can't see .SYS and .ADD modules?

You won't see them until they are loaded and you will only see symbolic
information if you provide it to ICAT either in your .add or by supplying
it in the form of .sym files.

What most developers do is compile int3's into their code.  The kernel
debugger will get control when the int3 is executed and you can debug.  If
you are working with production code, you need to find and set a
breakpoint in the device driver load code and step into your code after it
is loaded.

>Could you think of what I might be missing. I have placed the OS2KRNLD,
>OS2LDR, OS2KRNL.SYM files etc in the host machine. 

IIRC, the version of ICAT you are using does not support .sym files except
through the kernel debugger interface.

>If you know of a place where I can get an installation guide for ICAT
>debugger, I'd really appreciate it. 

What there is is in the help subdirectory of your ICAT installation.  Look
for:

  icatfaq.html
  icatos2.htm
  gam5help.hlp

Use view to read the last one.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....


Folk:

>I tried the link today and received the 404, too.  I've inquired of
>Boulder, but they are two hours behind me (time zone delta).  Tho this
site
>is coming down soon, the download should still work until the new home has
>been established.

ICAT's 'official' web site is now defunct.  I will let you know when its
new home is established.  That _should_ occur on July 31 -- best I can do.

Meanwhile, you can grab the 4.06 candidate GA from _my_ ftp site:
ftp://icat1:m5paring@service2.boulder.ibm.com     .  It's icatos2.zip.

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

In <OFBE3A7CD6.CA8BAF61-ON85256BF8.0067A3CE@boulder.ibm.com>, on 07/16/02 
   at 03:04 PM, "Dave Evans" <davee@us.ibm.com> said:

>Umm... you can't have that file.  You can however place all of the .SYM
>files on the host for ICAT to see, and that will enable ICAT to make more
>sense out of kernel variables, etc.

Which path?  I can't find anything in the docs.  I've always assumed
CAT_HOST_BIN_PATH.

>No, but you probably have some env var tweaking to do.  And you might try
>the 4.06 candidate release of ICAT.

Isn't at least v4.05 required for .sym support?

Steven


-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru


Steven:

>>Umm... you can't have that file.  You can however place all of the .SYM
>>files on the host for ICAT to see, and that will enable ICAT to make more
>>sense out of kernel variables, etc.

>Which path?  I can't find anything in the docs.  I've always assumed
>CAT_HOST_BIN_PATH.

That one.  Also, they can be in the subdir from which you invoke ICAT.

>>No, but you probably have some env var tweaking to do.  And you might try
>>the 4.06 candidate release of ICAT.

>Isn't at least v4.05 required for .sym support?

Yes, but I'd prefer that Samantha go ahead and give 4.06 a try.


Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

In <OFCB382BE4.BCEFE9C5-ON85256BF8.006AAFB2@boulder.ibm.com>, on 07/16/02 
   at 03:30 PM, "Dave Evans" <davee@us.ibm.com> said:

>That one.  Also, they can be in the subdir from which you invoke ICAT.

Does that apply to source files as well?

>>>No, but you probably have some env var tweaking to do.  And you might try
>>>the 4.06 candidate release of ICAT.

>>Isn't at least v4.05 required for .sym support?

>Yes, but I'd prefer that Samantha go ahead and give 4.06 a try.

I didn't state that very clearly.  It appears that she is running
something much older than v4.05 and her version would not support .sym
files even if she placed them correctly.  I was trying to point out that
she needed to upgrade regardless.  Of course, unless someone e-mails her a
copy of v4.05, I don't think she can get v4.05 until July 31st. :-(

Steven


-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru


Steven:

>>Dave,

>I'm not Dave. :-)

No, but I'm starting to like your appends better than mine!


>Eventually ICAT was developed.  At first it only understood CodeView and
>Visualage C debug formats.  This was because  the OS/2 version of
>Microsoft C was used to develop many of the .ADD and .SYS device drivers.
>CSet/2 and its successor VAC were used to develop VDD's.

True, and what's more the point, the goal of ICAT for OS/2 kernel debugging
was to enable source-level debugging of the entire kernel (C, C++, .asm,
16-bit code, 32-bit code, ...).  Device drivers were not an afterthought,
but they were a subset of that goal.  So we didn't intend for ICAT to get
its static module information from the target KDB; rather we assumed that
this information would be found in debug binaries replete w/ full
C/C++/.asm information.  Hence, we wouldn't get confused over whether
something is 16-bit or 32-bit or ...

>More recently, .sym file support was added to ICAT.

Yes, because external folk can't have the source to the OS/2 kernel nor the
debug binaries themselves (the aforementioned .CVK file is the biggie).
This adds complexity in that external developers 'end up' in the kernel,
ICAT looks locally for its handy dandy debug modules, and finds nothing or
(now at least) a .sym file.  This is quirky, but given the history, you can
see why.

>The most efficient way to use ICAT is to place copies of your binaries and
>the .sym files on the host and tell ICAT where they are.  ICAT can get the
>debug data from the MUT but it's a lot slower.

Close.  ICAT uses static module information from KDB only if it has to
(can't find a debug binary or .sym file locally).  What's slow is if you
want a NULL CAT_MODULE_LIST on attach (w/ a null-modem cable).  ICAT never
gets type information or expression evaluation from KDB.  Technically, ICAT
doesn't use KDB; rather it uses some of the same subroutines (and some
added ones that we plunked in).  However, you can get KDB's interpretation
of things via the Passthru Window.


>Dave will correct my errors and omissions. :-)

Not very many of them!


>What there is is in the help subdirectory of your ICAT installation.  Look
>for:

  >icatfaq.html
  >icatos2.htm
  >gam5help.hlp

>Use view to read the last one.

Ah.  I omitted listing the .hlp file.  You can access it thru the Help menu
from ICAT, too.

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On July 16, 2002 04:04 am, you wrote:
>
>----------- Strategy-Entry ---
>  _acrtused:                             ; C startup point dummy
>   MPush   <si,di>
>      movzx   di, bptr es:[bx+DeviceDrvPacket.Cmd] ; DI - CommandNo

Probably not affected, but maybe should have:
	push	si
	push	edi	;movzx kills top-half of di
	movzx	......


-----------------------------
On July 16, 2002 08:15 am, you wrote:
>> >   push    ds
>> >   push    offset MyDriverInfo
>> >   push    ds
>> >   push    offset TinyScratchSpace
>> >   push    cs              ; must use this due NEAR call
>> >   call    RMCreateDriver
>>
>> What is MyDriverInfo and TinyScratchSpace ?
>
>MyDriverInfo is a valid DRIVERSTRUCT (defined under C)
>TinyScratchSpace is a 16 byte area that is used as temporary buffer
>for multiple things.
>

If it's defined in C, then in ASM you probably should refer to it with a 
leading "_" so that's _TinyScratchSpace and _MyDriverInfo etc...

When you compile it, check the *.MAP and see if your asm and C are 
refering to the same locations.

asm file:
extrn.	_TinyScratchSpace:near, _MyDriverInfo:near

C file:
char TinyScratchSpace[16];
typedef struct { blah, blah, blah
} MyDriverInfo;

I prefer to put the structures in the ASM and have the C refer to the ASM 
so you might want to try it this way:
asm file:
MyDriverStruc struc
blah, blah, blah
MyDriverStruc ends
public	_TinyScratchSpace, _MyDriverInfo
_TinyScratchSpace	db	16 dup(0)
_MyDriverInfo	db	MyDriverStruc dup(0)

C file:
typedef struct {
blah, blah, blah
} MyDriverStruc;
extern char TinyScratchSpace[16];
extern MyDriverstruc MyDriverInfo;

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru


Steven:

>>That one.  Also, they can be in the subdir from which you invoke ICAT.

>Does that apply to source files as well?

Yes, and we _claim_ (icatos2.htm):

Finding Source Files

The search path tells the debugger where to find the source file used in
the source windows. The debugger searches for the source files in the
following order:

   1.The path defined by the CAT_OVERRIDE environment variable, if
specified.

   2.The directory where the object file was compiled.

   3.The path defined by the CAT_HOST_BIN_PATH environment variable, if
specified.

   4.The directory where the executable file is located.

   5.The path defined by the CAT_HOST_SOURCE_PATH environment variable, if
specified.

   6.The current directory.

   7.The path defined in the INCLUDE environment variable.

   8.The directory of the last source file found in this debug session.


>>Yes, but I'd prefer that Samantha go ahead and give 4.06 a try.

>I didn't state that very clearly.  It appears that she is running
>something much older than v4.05 and her version would not support .sym
>files even if she placed them correctly.  I was trying to point out that
>she needed to upgrade regardless.

Agreed, and I did understand you.

>Of course, unless someone e-mails her a
>copy of v4.05, I don't think she can get v4.05 until July 31st. :-(

True, and I can get her/anyone that release before then if needed.


Regards,


Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

--- In os2ddprog@y..., Jose Da Silva <JobHunter@J...> wrote:
> >----------- Strategy-Entry ---
> >  _acrtused:                             ; C startup point dummy
> >   MPush   <si,di>
> >      movzx   di, bptr es:[bx+DeviceDrvPacket.Cmd] ; DI - CommandNo
> Probably not affected, but maybe should have:
> 	push	si
> 	push	edi
;movzx kills top-half of di
> 	movzx	......

So a "push di" is enough :)
"movzx edi, xxx" would require me to push it.

> >MyDriverInfo is a valid DRIVERSTRUCT (defined under C)
> >TinyScratchSpace is a 16 byte area that is used as temporary buffer
> >for multiple things.
> If it's defined in C, then in ASM you probably should refer to it
with a 
> leading "_" so that's _TinyScratchSpace and _MyDriverInfo etc...

already done by a simple ".model large, C". I hate garbled Variable-Names.

> When you compile it, check the *.MAP and see if your asm and C are 
> refering to the same locations.

I defined all variables in assembly (but e.g. MyDriverInfo). Anyway,
the call dies on any Dev_Help call. Even illegal ones or a simple beep
(where no pointers are involved).

> I prefer to put the structures in the ASM and have the C refer to
the ASM 
> so you might want to try it this way:

I prefer that one as well. The DRIVERSTRUCT is a little bit
"complicated" due to various PSZs, so I use C for it. The disassembly
of my SYS looks good. No problems with offsets. I had various "funny"
linker messages after including RMCALLS, but I got rid of them after
defining all of the RMCALLS segments in assembly.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

In <OFF36AC01C.7A0CC056-ON85256BF8.006B498A@boulder.ibm.com>, on 07/16/02 
   at 03:47 PM, "Dave Evans" <davee@us.ibm.com> said:


>No, but I'm starting to like your appends better than mine!

:-)

I do prefer yours since I learn stuff I don't know yet.

>Yes, because external folk can't have the source to the OS/2 kernel nor
>the debug binaries themselves (the aforementioned .CVK file is the

I've sometimes wondered why the .cvk files were not make available.  If
they are what I suspect they are (i.e. CodeView debug data as a separate
file), they contain local variable and line number info in addition to
what's already in the .sym files.  The local variable info would be handy
at times.  The line number info is somewhat irrelevant without access to
source.

>>The most efficient way to use ICAT is to place copies of your binaries and
>>the .sym files on the host and tell ICAT where they are.  ICAT can get the
>>debug data from the MUT but it's a lot slower.

>Close.  ICAT uses static module information from KDB only if it has to
>(can't find a debug binary or .sym file locally).  What's slow is if you
>want a NULL CAT_MODULE_LIST on attach (w/ a null-modem cable).  ICAT

I suspect we are saying the same thing.

>never gets type information or expression evaluation from KDB. 

Where would KDB get it from? :-)

>Technically, ICAT doesn't use KDB; rather it uses some of the same
>subroutines (and some added ones that we plunked in).  However, you can

I tend to visualize it that ICAT uses KDB as a deamon.

>Not very many of them!

You are too kind.

Steven


-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

In <OFBFF93EC3.380B2D80-ON85256BF8.006E18B2@boulder.ibm.com>, on 07/16/02 
   at 04:06 PM, "Dave Evans" <davee@us.ibm.com> said:

Dave,

>Yes, and we _claim_ (icatos2.htm):

>Finding Source Files

That's what I get for being to lazy to click on the link before posting. 
I read had this section in the past and though I recalled the details. :-(

Regards,

Steven


-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

>So a "push di" is enough :)
>"movzx edi, xxx" would require me to push it.
>
You're right, I saw the movzx and automatically forgot that.

Ruediger pointed out something I forgot to notice too "add sp,8"
It may also probably be a FAR library ptr, making your code:
	extrn	RMCreateDriver:FAR
	push	ds
	push	offset MyDriverInfo
	push	ds
	push	offset TinyScratchSpace
	call	RMCreateDriver
	add	sp,8

>I defined all variables in assembly (but e.g. MyDriverInfo). Anyway,
>the call dies on any Dev_Help call. Even illegal ones or a simple beep
>(where no pointers are involved).
>

Your GlobalInit routine is not correct then. Check it with this:
;save "DevHlp" call address, es:bx point to packet
	mov	eax,DWORD PTR es:[bx+14]
	mov	WORD PTR _Device_Help,eax
;set ending offsets and other request packet fields
	mov	WORD PTR es:[bx+14],OFFSET _EndOfCode	;say how much code
	mov	WORD PTR es:[bx+16],OFFSET _EndOfData	;and data to keep

>I prefer that one as well. The DRIVERSTRUCT is a little bit
>"complicated" due to various PSZs, so I use C for it. The disassembly
>of my SYS looks good. No problems with offsets. I had various "funny"
>linker messages after including RMCALLS, but I got rid of them after
>defining all of the RMCALLS segments in assembly.
>
I'm not 100% sure, but the C routines call one library while the asm 
routines use another.
I've got a bunch of extrn driver:FAR on my asm code.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

--- In os2ddprog@y..., Jose Da Silva <JobHunter@J...> wrote:
> Ruediger pointed out something I forgot to notice too "add sp,8"
> It may also probably be a FAR library ptr, making your code:
> 	extrn	RMCreateDriver:FAR

when declaring it as :far, I get linker errors. That's why I used
:near and a "push cs" at each routine. The "add sp, 8" is missing, but
the routine never returns, I mean RMCreateDriver calls a Dev_Helper()
(!) and it's crashing as well.

> Your GlobalInit routine is not correct then. Check it with this:
> ;save "DevHlp" call address, es:bx point to packet
> 	mov	eax,DWORD PTR es:[bx+14]
> 	mov	WORD PTR _Device_Help,eax
> ;set ending offsets and other request packet fields
> 	mov	WORD PTR es:[bx+14],OFFSET _EndOfCode	;say how much code
> 	mov	WORD PTR es:[bx+16],OFFSET _EndOfData	;and data to keep

I didn't post all code in here, would have been quite much ;)
   ; Get DevHlp() Entry-Pointer and save it...
   mov     eax, dptr es:[si+DeviceDrvPacketINIT.DevHlpEntryPtr]
   mov     dptr ds:[DeviceHelpEntryPtr], eax
   [...]
   mov     ax, offset EndOfCodeSegment
   mov     dx, offset EndOfDataSegment
   mov     wptr es:[si+DeviceDrvPacketINIT.DevHlpEntryPtr+0], ax
   mov     wptr es:[si+DeviceDrvPacketINIT.DevHlpEntryPtr+2], dx

And I'm calculating at first ES:BX == ES:SI -> SI+=13 -> so ES:SI
points to the actual INIT-Paket.
Then I use es:[si+1], which points to the DevHelpEntry Ptr. This has
technical reasons, because the C routine that gets control, doesn't
get a pointer to the full Device-Driver-Paket, but only the actual
"appended" packet.

> >I prefer that one as well. The DRIVERSTRUCT is a little bit
> >"complicated" due to various PSZs, so I use C for it. The disassembly
> >of my SYS looks good. No problems with offsets. I had various "funny"
> >linker messages after including RMCALLS, but I got rid of them after
> >defining all of the RMCALLS segments in assembly.
> >
> I'm not 100% sure, but the C routines call one library while the asm 
> routines use another.

RMCALLS is available for C only :( It's some sort of "hack-in" using
undocumented Dev_Help() calls. There is no assembly version of RMCALLS.

> I've got a bunch of extrn driver:FAR on my asm code.

Hmm, I will try to adjust my drivers Device-Header accordingly and I
will try to call a DevHelp asap, just to check that really nothing get
garbled.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru


Steven:

>>Yes, because external folk can't have the source to the OS/2 kernel nor
>>the debug binaries themselves (the aforementioned .CVK file is the

>I've sometimes wondered why the .cvk files were not make available.  If
>they are what I suspect they are (i.e. CodeView debug data as a separate
>file), they contain local variable and line number info in addition to
>what's already in the .sym files.  The local variable info would be handy
>at times.

The .cvk file is basically os2krnl w/ CV debug data.  The build parks that
away for internal use and then strips the debug data off to form os2krnl
for the MUT.


>The line number info is somewhat irrelevant without access to
>source.

Yes, but 'they' have the source.

>>never gets type information or expression evaluation from KDB.

>Where would KDB get it from? :-)

KDB consists of an interface (line mode to the outside world via COM port),
a symbolic interpreter, an expression evaluation engine, a disassembler,
... .  ICAT has a more robust debug format reader/interpreter, so it
doesn't ask for KDB to do 'that kind of work' for it.  Same is true of
disassembly and many other fns.  ICAT uses the lowest-level KDB subroutines
to get module information, handle interrupts, etc.

>>Technically, ICAT doesn't use KDB; rather it uses some of the same
>>subroutines (and some added ones that we plunked in).  However, you can

>I tend to visualize it that ICAT uses KDB as a deamon.

You are correct.  It's just that ICAT goes around the KDB interface (uses a
binary protocol), its symbolic interpreter, its disassembler, ... and piggy
backs on other (and some modified) subroutines.  This is why a Passthru
Window disassembly looks different from ICAT's.  It's also why you have to
park the .sym files on the host (if you want) for ICAT even tho KDB proper
can evaluate them from the target.

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Hi !

My replacement VDMA is nearly complete, but some games still got that
sound loss after a specific duration.

So a) OS/2 is aborting the DMA Transfer by itself on high CPU load
or
b) OS/2 is aborting the TIMER0-hook from VTIMER that calls VDMA every
2-5ms.

I bet its a).
I experienced that effect only on Auto-Init DMA transfers and I really
know that it's not my code that is doing this. The new VDMA is now
quite stable. Some tweaking of the virtualisation is still needed, but
it's definitely more compatible than the old VDMA even now and it's
just half the size of the original :)

Is anyone from IBM in here that has any idea what is going on?
Would it be possible to stop OS/2 from doing it, when using
Single-Init instead of Auto-Init? Afaik virtualizing an Auto-Init
transfer as multiple Single-Init transfers should be possible.

I am quite sure that this behaviour is only occuring, when the CPU is
highly loaded (e.g. a DOS game running), but I don't understand why
OS/2 should terminate DMA transfers by itself.

Of course this will be fixed, when I'm done with my VSOUND, cause
there will be no more actual DMA transfers (for sound) from the VDM,
but at least I would really like to know what is happening and why.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

In <OFB6C45E38.94218E51-ON85256BF9.00420089@boulder.ibm.com>, on 07/17/02 
   at 08:14 AM, "Dave Evans" <davee@us.ibm.com> said:

Hi Dave,

>>The line number info is somewhat irrelevant without access to
>>source.

>Yes, but 'they' have the source.

Stated poorly again.  What I meant to say is that having the line number
info that's in the .cvk's without having the source code itself does not
reveal all that much the source code, which can not be released because of
copyright restrictions.

From my POV, as someone who does not have access to kernel source, having
the .cvk would be useful because it would add local variable and local
function identification to what I already get with .sym files.

>You are correct.  It's just that ICAT goes around the KDB interface (uses
>a binary protocol), its symbolic interpreter, its disassembler, ... and

Yes, I'm aware of the binary protocol, but not all the implementaton
details.  The protocol is documented in one of the .inf's and I've seen it
up close while troubleshooting my SIO2K issues.

Regards,

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on REALTOR Fees
http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Hello All,

I read in some place that there is a restriction when using ICAT debugger
over a LAN. 

"There is one restriction about UDP/IP remote debugging:

Until NETBND.EXE is running on the MUT, there is no debugging over UDP/IP
possible! So, device drivers initialization routines could not be debugged
with this enhancement!"

Is this true?

Thanks,

Samantha.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/TPvn8A/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru


Hi Samantha:

>Until NETBND.EXE is running on the MUT, there is no debugging over UDP/IP
>possible! So, device drivers initialization routines could not be debugged
>with this enhancement!"

>Is this true?

Yes.  Using an ethernet or token-ring connection is wonderful, but it =>
more things have to be a) up and running and b) viable when you connect
using ICAT.  This limits what can be debugged w/ a LAN connection;
e.g.,many folk use the LAN connection after the init phase for their DDs or
just for ring-3 debugging.

The COM port is always available and viable, but it's limited to 115K baud.

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/ps3dMC/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Hi Samantha,
    U were right about u'r code... its no where near
the normal code I am used to :-).... 
But from what I see in Makefile, the following will
need to be added.
in CFLAGS add this option /Zi
in LDFLAGS add option /CO

And also make sure that in the srouce m/c u connect
the null-modem cable to serial port 1 and in target
m/c u connect the cable end to serial port 2.

I will shortly send in the seticat.cmd file...I will
need to connect my os/2 m/c and get that for u.

Regards,
-vani.
--- "Ranaweera, Samantha" <sranawee@lsil.com> wrote:
> Hello All,
> 
> I read in some place that there is a restriction
> when using ICAT debugger
> over a LAN. 
> 
> "There is one restriction about UDP/IP remote
> debugging:
> 
> Until NETBND.EXE is running on the MUT, there is no
> debugging over UDP/IP
> possible! So, device drivers initialization routines
> could not be debugged
> with this enhancement!"
> 
> Is this true?
> 
> Thanks,
> 
> Samantha.
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/ps3dMC/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Did I write solved?

Well, actually it works now. I don't know exactly why it failed.

I changed the Device-Driver Flags and Capability-DWORD today to the
same as the PAS16-Audio driver is using.
Then I put DOSCALL1.DLL into my ICAT_BIN_HOST directory and tada it works.
So, if this problem should ever occur to someone else -> just change
those flags.

Still another RMCALLS is failing, but I bet it's an invalid pointer
this time, so it's definitely my fault :) At least calls to
Dev_Help-Ptr don't fail anymore.

Thanx for helping everyone!

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/ps3dMC/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

> So a) OS/2 is aborting the DMA Transfer by itself on high CPU load
> or
> b) OS/2 is aborting the TIMER0-hook from VTIMER that calls VDMA every
> 2-5ms.

or
c) a wacky Creative Soundblaster driver is doing funny things

:] I really need to exchange this buggy, wacky, crazy PDD thingie.
It's reprogramming the DMA every now and then.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/O3jeVD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

I'm getting those 3 warnings, but the disassembly and the actual code
appear to be correct. What do they mean?

They happen, when I specify e.g. "extern RMCreateDriver:far"
When using :near instead, they disappear.

cu, Kiewitz

main.obj(asm\main.asm) : warning L4001: frame-relative fix-up, frame
ignored nea
r 008C in segment
 target external '_RMCreateDriver'
main.obj(asm\main.asm) : warning L4001: frame-relative fix-up, frame
ignored nea
r 01E8 in segment
 target external '_RMConvertID'
main.obj(asm\main.asm) : warning L4001: frame-relative fix-up, frame
ignored nea
r 0216 in segment
 target external '_RMDevIDToHandleList'



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/O3jeVD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....


	Hi,

	Is there any available sample code who can be used as a reference for development of an USB 
driver in OS/2?



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/wlyPtD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

>         Is there any available sample code who can be used as a reference for development of an USB
> driver in OS/2?

The complete USB driver stack is in the DDK.
WHat device are you targeting? There also is an RING 3 library
(USBCALLS)
at netlabs which allows normal applications to access USB devices.
Also work is on the way to add USB support to SANE via USBCALLS
As my parents scanner broke down and the new one'll be most likely a USB
one.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/O3jeVD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

** Reply to note from "Perry Werneck" <perry.werneck@terra.com.br> Fri, 19 Jul 2002 11:27:39 -0300 (EST)
>   
>   
> 	Hi,
>   
> 	Is there any available sample code who can be used as a reference for development of an USB 
> driver in OS/2?
>   
> 

I used the stuff in the DDK while developing my USB webcam driver - it's a bit obtuse and not
easy to read but the data paths are relatively clear. 

        John.

 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Access your PC just like Web Mail
http://us.click.yahoo.com/r5uw2C/zncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

** Reply to note from Dr J A Gow <J.A.Gow@furrybubble.co.uk> Fri, 19 Jul 2002 20:13:47 GMT

Sorry, forgot something. I have a Watcom - compilable port of the more useful USBLIB functions. If
you use Watcom and would like it send me some email.

        John.

 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Discover Remote PC Acess Now
http://us.click.yahoo.com/p5uw2C/1ncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Fri, 19 Jul 2002 20:15:10 +0100, Markus Montkowski wrote:

	Hi,

>WHat device are you targeting? There also is an RING 3 library

	I'm researching the viability of add OS/2 support for an USB Security Key.
	I


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Access Your PC from Anywhere - Free Trial
http://us.click.yahoo.com/o5uw2C/0ncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

Vani,

Just managed to get ICAT to work at source level for init routines. In
addition to the Zi option, I had to specify Zd (line number info). With
that, debugger sees the source and once the debugger sees the source, you
can view all local variables, globals and what not. So many thanks for for
all your help :-)!

Will let you know how the debug process goes.

Regards,
Samantha.

-----Original Message-----
From: vanishree sabapathi [mailto:svanishree@yahoo.com]
Sent: Thursday, July 18, 2002 8:04 AM
To: os2ddprog@yahoogroups.com
Subject: RE: [os2ddprog] ICAT debugger


Hi Samantha,
    U were right about u'r code... its no where near
the normal code I am used to :-).... 
But from what I see in Makefile, the following will
need to be added.
in CFLAGS add this option /Zi
in LDFLAGS add option /CO

And also make sure that in the srouce m/c u connect
the null-modem cable to serial port 1 and in target
m/c u connect the cable end to serial port 2.

I will shortly send in the seticat.cmd file...I will
need to connect my os/2 m/c and get that for u.

Regards,
-vani.
--- "Ranaweera, Samantha" <sranawee@lsil.com> wrote:
> Hello All,
> 
> I read in some place that there is a restriction
> when using ICAT debugger
> over a LAN. 
> 
> "There is one restriction about UDP/IP remote
> debugging:
> 
> Until NETBND.EXE is running on the MUT, there is no
> debugging over UDP/IP
> possible! So, device drivers initialization routines
> could not be debugged
> with this enhancement!"
> 
> Is this true?
> 
> Thanks,
> 
> Samantha.
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com


The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Access Your PC from Anywhere - Free Trial
http://us.click.yahoo.com/o5uw2C/0ncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

>         I'm researching the viability of add OS/2 support for an USB Security Key.
>         I

Which one?
I have a USB Token from Rainbow Ikey 1000 that uses only USB Control
transfers
others might use Bulk transfers as well, both transfertypes can be
handled easily with the USBCALLS library. So no need to write a driver
for those devices.

It's probably 1day work to implement all the features of such a key if
you have
to log and decode the protocol it. Uses. if you have dokumentation about
the
interface and or maybe the sourceode of the windoes SDK it's 4h to adapt
that
to USBCALLs.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Access your PC just like Web Mail
http://us.click.yahoo.com/r5uw2C/zncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

Markus Montkowski wrote:

>>        I'm researching the viability of add OS/2 support for an USB Security Key.
>>        I
>>    
>>
>
>Which one?
>I have a USB Token from Rainbow Ikey 1000 that uses only USB Control
>transfers
>others might use Bulk transfers as well, both transfertypes can be
>handled easily with the USBCALLS library. So no need to write a driver
>for those devices.
>
>It's probably 1day work to implement all the features of such a key if
>you have
>to log and decode the protocol it. Uses. if you have dokumentation about
>the
>interface and or maybe the sourceode of the windoes SDK it's 4h to adapt
>that
>to USBCALLs.
>  
>
Of course, the PDD for these security tokens is only half the story. You 
still need to write a PKCS#11 library that will talk to the drive in 
order to be able to use them in Netscape/Mozilla, for storing your 
certificates & keys.


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....
Samantha:

Can we assume that no further work will/can be done to make the OS/2 
driver for your 53C1010 chip work properly with certain ASUS 
motherboards that use the VIA chipset and Award BIOS? (I have a Tekram 
DC-390U3W SCSI adapter that uses your chip, and an ASUS P3V4X 
motherboard. In case you are unaware of the situation, the second 
channel becomes invisible as soon as the SYM_HI.ADD driver loads. E.g., 
I can boot from a CD-ROM disk in a drive attached to that second 
channel, but as soon as the driver loads, it cannot find the drive from 
which the machine just booted.) The impression I got from my last 
communication with your colleagues Barney or Darrell is that it's a 
motherboard BIOS problem that ASUS and/or Award would have to fix. Is 
that still so?

-=-
Alan


Ranaweera, Samantha wrote:

>Hello All,
>
>This is my first mail to this list, so I guess a brief introduction is in
>order. My name is Samantha Ranaweera and I work for LSI Logic corporation. I
>am a device driver developer and am currently working on a Ultra 320 SCSI
>driver for LSI Logic 53C1030 SCSI controller. 
>



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Discover Remote PC Acess Now
http://us.click.yahoo.com/p5uw2C/1ncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Alan,

After discussing this with the managers concerned I found out that our view
is that the situation with the mother board has not changed. So we are not
planning on investigating that issue any further. Hope that answers your
question. 

Thanks,

Samantha.

-----Original Message-----
From: Alan Beagley [mailto:abeagley@optonline.net]
Sent: Friday, July 19, 2002 3:00 PM
To: os2ddprog@yahoogroups.com
Subject: Re: [os2ddprog] ICAT debugger


Samantha:

Can we assume that no further work will/can be done to make the OS/2 
driver for your 53C1010 chip work properly with certain ASUS 
motherboards that use the VIA chipset and Award BIOS? (I have a Tekram 
DC-390U3W SCSI adapter that uses your chip, and an ASUS P3V4X 
motherboard. In case you are unaware of the situation, the second 
channel becomes invisible as soon as the SYM_HI.ADD driver loads. E.g., 
I can boot from a CD-ROM disk in a drive attached to that second 
channel, but as soon as the driver loads, it cannot find the drive from 
which the machine just booted.) The impression I got from my last 
communication with your colleagues Barney or Darrell is that it's a 
motherboard BIOS problem that ASUS and/or Award would have to fix. Is 
that still so?

-=-
Alan


Ranaweera, Samantha wrote:

>Hello All,
>
>This is my first mail to this list, so I guess a brief introduction is in
>order. My name is Samantha Ranaweera and I work for LSI Logic corporation.
I
>am a device driver developer and am currently working on a Ultra 320 SCSI
>driver for LSI Logic 53C1030 SCSI controller. 
>




The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Discover Remote PC Acess Now
http://us.click.yahoo.com/p5uw2C/1ncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

I just tried to compile the latest DDK USB drivers, but it doesn't
want to work. First, it searched for "string.h", even it was available
in \IbmC\include and I had it defined in INCLUDE environment variable.

Then I copied it to \ddk\base\h and compilation proceeds, but then:

        cl /c /Zp /G2s /Answ /W3 /nologo /Osegli -I..\..\..\..\h
-I..\include -I
..\..\dasd\diskh -IH:\ddk\base\src\dev\usb\usbcom comioctl.c
comioctl.c
../../../../h\bsedev.h(281) : warning C4011: identifier truncated to
'TOUCH_DEVI
NDEP_GETREADEVENTQUEU'
Command line error D2030 : INTERNAL COMPILER ERROR in 'P1'
                Contact Microsoft Product Support Services
NMAKE : fatal error U1077: 'C:\OS2\CMD.EXE' : return code '13'
Stop.
NMAKE : fatal error U1077: 'C:\OS2\CMD.EXE' : return code '2'
Stop.

So, I have to contact M$ I guess? ;-)
I'm using the latest files of everything (at least I guess so). Any
tricks available to get it going?

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/wlyPtD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

That's what I suspected, Samantha. I just thought I'd ask. I get around 
the problem by having a separate SCSI-2 adapter (with an LSILogic chip, 
of course) for the SE devices.

-=-
Alan

Ranaweera, Samantha wrote:

>Alan,
>
>After discussing this with the managers concerned I found out that our view
>is that the situation with the mother board has not changed. So we are not
>planning on investigating that issue any further. Hope that answers your
>question. 
>



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Access Your PC from Anywhere - Free Trial
http://us.click.yahoo.com/o5uw2C/0ncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

In <ahbja6+hqsf@eGroups.com>, on 07/20/02 
   at 11:59 AM, "kiewitz2000" <kiewitz@netlabs.org> said:

>I just tried to compile the latest DDK USB drivers, but it doesn't want
>to work. First, it searched for "string.h", even it was available in
>\IbmC\include and I had it defined in INCLUDE environment variable.

>Then I copied it to \ddk\base\h and compilation proceeds, but then:

What are you saying here?  You should not have to copy anything.  I
suspect you have some sort of a setup problem.

>        cl /c /Zp /G2s /Answ /W3 /nologo /Osegli -I..\..\..\..\h
>-I..\include -I
>..\..\dasd\diskh -IH:\ddk\base\src\dev\usb\usbcom comioctl.c comioctl.c
>../../../../h\bsedev.h(281) : warning C4011: identifier truncated to
>'TOUCH_DEVI
>NDEP_GETREADEVENTQUEU'
>Command line error D2030 : INTERNAL COMPILER ERROR in 'P1'
>                Contact Microsoft Product Support Services
>NMAKE : fatal error U1077: 'C:\OS2\CMD.EXE' : return code '13' Stop.
>NMAKE : fatal error U1077: 'C:\OS2\CMD.EXE' : return code '2' Stop.

>So, I have to contact M$ I guess? ;-)

You could try that. :-)

Here's what I get:

        cl /c /Zp /G2s /Answ /W3 /nologo /Osegli -I..\..\..\..\h
-I..\include -I ..\..\dasd\diskh -ID:\ddk\base\src\dev\usb\usbcom
comioctl.c comioctl.c
../../../../h\bsedev.h(281) : warning C4011: identifier truncated to
'TOUCH_DEVI NDEP_GETREADEVENTQUEU'
        cl /c /Zp /G2s /Answ /W3 /nologo /Osegli -I..\..\..\..\h
-I..\include -I ..\..\dasd\diskh -ID:\ddk\base\src\dev\usb\usbcom
comstrat.c comstrat.c

etc. etc.  I fail eventually because I did bother to build
..\misc\usbmisc.lib

The 32 character limit on names is expected.  It's a compiler limit.

A couple of things to check.  If you ever get a internal error during a
batch nmake, try the nmake from the failing directory (in this case
usbcom).  I've seen nest nmakes cause cl to fail for no apparent reason. 
If you already did this, you didn't bother to mention it.

Also, what version of cl are you using?  The version from the DDK?  I've
got:

 Microsoft (R) C Optimizing Compiler Version 6.00A
 Copyright (c) Microsoft Corp 1984-1990. All rights reserved.

because I bought the upgrade when it was released. :-)  It's a bit newer
and one would hope that IBM is using the version they shipped with the
DDK, but you never know.

As a guide, this is what I use to set up my DDK working environment:

set DDK=D:\DDK
SET PATH=C:\MSC\BINP;C:\MSC\BINB;%DDK\TOOLS;d:\cpe\bin;%PATH
SET LIB=C:\MSC\LIB;%LIB
SET BEGINLIBPATH=C:\MSC\BINP;%BEGINLIBPATH
SET INCLUDE=C:\MSC\INCLUDE;C:\INCLUDE;..\SRC;%INCLUDE
SET HELPFILES=C:\MSC\HELP\*.HLP;%HELPFILES
SET INIT=C:\MSC\INIT
SET ASMEX=C:\MSC\SAMPLES

It's going to differ somewhat from yours because I use my MSC and MASM
install.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/O3jeVD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru


> As a guide, this is what I use to set up my DDK working environment:
> 
> set DDK=D:\DDK
> SET PATH=C:\MSC\BINP;C:\MSC\BINB;%DDK\TOOLS;d:\cpe\bin;%PATH
> SET LIB=C:\MSC\LIB;%LIB
> SET BEGINLIBPATH=C:\MSC\BINP;%BEGINLIBPATH
> SET INCLUDE=C:\MSC\INCLUDE;C:\INCLUDE;..\SRC;%INCLUDE
> SET HELPFILES=C:\MSC\HELP\*.HLP;%HELPFILES
> SET INIT=C:\MSC\INIT
> SET ASMEX=C:\MSC\SAMPLES
> 
That won't help much the makefiles of the USB driver set up their own
include, lib etc paths ignoring the environment.
If you run on the newer kernels you should change the warning level 
from W3 to W0 to get rid of theninternal errors in the compiler as
for string.h and othern missing libs/include you should not takt the one
from the IBMC compiler but from MSC60. So either coping the includeand 
lib dirs for MSC60 to the ddk once like the developer at IBM have done
it.
Or add the paths of them to the include/lib settings in the makefile.

And while you are editong the makefiles change the CFLAGS LFLAGS to 
something like this.

!ifndef DEBUG
CFLAGS = /c /Zp /G2s /Answ /W0 /Fc /nologo /Osegli
LFLAGS = /map /nod /exepack /packd /a:16 /far
!else
CFLAGS = /c /Zp /G2s /Answ /W0 /Fc /nologo /Osegli /DDEBUG /Zi /Od
LFLAGS = /map /nod /exepack /packd /a:16 /far /DEBUG /CO
!endif

non debug only W3=>W0
debug addional /Zi /Od and /co so codeview debuginfo is linked in.
that helps a lot if you want to debug at sourcelevel with icat.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/wlyPtD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

In <3D3A975A.64A2E42E@gmx.de>, on 07/21/02 
   at 12:13 PM, Markus Montkowski <mmontkowski@gmx.de> said:


>That won't help much the makefiles of the USB driver set up their own
>include, lib etc paths ignoring the environment.

Sure it will.  The paths set up in the makefile augment those in the
makefile.  There is no way to force MSC/MASM to ignore the environment
variables such as INCLUDE and LIB.  All you can do is delete them from the
environment.

>the IBMC compiler but from MSC60. So either coping the includeand  lib
>dirs for MSC60 to the ddk once like the developer at IBM have done it.
>Or add the paths of them to the include/lib settings in the makefile.

Unless, there's an explicit makefile dependency, this is not needed if the
required paths are already defined in the INCLUDE environment etc.

For example, the makefiles have hardcoded paths to the .lib's, so you
either have to copy these into the ddk tree or edit the makefile to avoid
nmake failing.  However, this is a nmake limitation not a MSC/MASM
limitation.

>!ifndef DEBUG
>CFLAGS = /c /Zp /G2s /Answ /W0 /Fc /nologo /Osegli
>LFLAGS = /map /nod /exepack /packd /a:16 /far
>!else
>CFLAGS = /c /Zp /G2s /Answ /W0 /Fc /nologo /Osegli /DDEBUG /Zi /Od LFLAGS
>= /map /nod /exepack /packd /a:16 /far /DEBUG /CO
>!endif

This above is useful.  The other edits are not needed if you use my method
as a guide.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/wlyPtD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Fri, 19 Jul 2002 22:12:33 +0100, Markus Montkowski wrote:

	Hi,

>Which one?

	The Alladin E-Token.

>others might use Bulk transfers as well, both transfertypes can be
>handled easily with the USBCALLS library. So no need to write a driver

	Is this USBCALLS library supplied in the IBM's DDK? Or is it available from NetLabs? 

>It's probably 1day work to implement all the features of such a key if
>you have to log and decode the protocol it. Uses. if you have dokumentation about

	If we got the job I hope we'll receive more information from the suppliers.

>interface and or maybe the sourceode of the windoes SDK it's 4h to adapt
>that to USBCALLs.
>
>
>The OS/2 Device Driver Programming mailing list.
>http://www.egroups.com/group/os2ddprog
>
>To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
> 
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
>
>
>



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Access Your PC from Anywhere - Free Trial
http://us.click.yahoo.com/o5uw2C/0ncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

On Fri, 19 Jul 2002 13:19:18 -0700, Julien Pierre wrote:

>Of course, the PDD for these security tokens is only half the story. You 
>still need to write a PKCS#11 library that will talk to the drive in 
>order to be able to use them in Netscape/Mozilla, for storing your 
>certificates & keys.

	Yep. But this is the second stage and easier to code.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Discover Remote PC Acess Now
http://us.click.yahoo.com/p5uw2C/1ncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!


S library. So no need to write a driver
> 
>         Is this USBCALLS library supplied in the IBM's DDK? Or is it available from NetLabs?
> 
It's available from netlabs.

Well even without information for Aladin on the token you can easily
sniff
out the commands. The Sniffusb driver on windows is a good tool.
and usually there is some util to send the lowlevel APDUs (verify PIN,
select dir/file, read/write etc) to the token. Getting that info that
way might take
a few hours but usually gets you the information faster then it takes
these
security companies to find the right people to agree on and set up an
NDA
under wich you can use this info.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/O3jeVD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Well, I have the following line in asm\dd.h:

/* dd_generic.inc */
extern HADAPTER  __cdecl PDD_CreateDriverAdapter (PADAPTERSTRUCT
AdapterStructPtr);

And Watcom doesnt like it:
.\asm\dd.h(34): Error! E1009: Expecting ',' but found 'AdapterStructPtr'
.\asm\dd.h(34): Error! E1116: An id list not allowed except for
function definition

I included rmbase.h and rmcalls.h in front of dd.h, so it should get
the definition of PADAPTERSTRUCT.
#include <rmbase.h>
#include <rmcalls.h>
[...]
#include <asm\dd.h>
And it definitely *gets* it, because I tried to define it by myself in
dd.h (just to check for errors on my side). Watcom is reporting
"duplicate definition" in that case.

When I exchange PADAPTERSTRUCT into PVOID, everything works, but I
don't like to define that one as void. Any ideas?

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/O3jeVD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Hi,

what happens if you remove "AdapterStructPtr" ?

Lars

--- In os2ddprog@y..., "kiewitz2000" <kiewitz@n...> 
wrote:
> Well, I have the following line in asm\dd.h:
> 
> /* dd_generic.inc */
> extern HADAPTER  __cdecl PDD_CreateDriverAdapter 
(PADAPTERSTRUCT
> AdapterStructPtr);
> 
> And Watcom doesnt like it:



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Access Your PC from Anywhere - Free Trial
http://us.click.yahoo.com/o5uw2C/0ncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

--- In os2ddprog@y..., "barf1234de" <lars.erdmann@a...> wrote:
> what happens if you remove "AdapterStructPtr" ?

I already tried that. The first error msg disappears, but:
.\asm\dd.h(34): Error! E1116: An id list not allowed except for
function definition
...remains.

It seems to me like Watcom isn't getting what DADAPTERSTRUCT means and
it's thinking that it's a variablename.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Discover Remote PC Acess Now
http://us.click.yahoo.com/p5uw2C/1ncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Where can I find this driver?

Leonardo Pino


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/wlyPtD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru


Leonardo:

I'll send you a copy offline...

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/wlyPtD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

In <ahgohr+gb4j@eGroups.com>, on 07/22/02 
   at 10:59 AM, "kiewitz2000" <kiewitz@netlabs.org> said:

>Well, I have the following line in asm\dd.h:

>/* dd_generic.inc */
>extern HADAPTER  __cdecl PDD_CreateDriverAdapter (PADAPTERSTRUCT
>AdapterStructPtr);

>And Watcom doesnt like it:
>.\asm\dd.h(34): Error! E1009: Expecting ',' but found 'AdapterStructPtr'
>.\asm\dd.h(34): Error! E1116: An id list not allowed except for function
>definition

>I included rmbase.h and rmcalls.h in front of dd.h, so it should get the
>definition of PADAPTERSTRUCT.
>#include <rmbase.h>
>#include <rmcalls.h>
>[...]
>#include <asm\dd.h>
>And it definitely *gets* it, because I tried to define it by myself in
>dd.h (just to check for errors on my side). Watcom is reporting
>"duplicate definition" in that case.

>When I exchange PADAPTERSTRUCT into PVOID, everything works, but I don't
>like to define that one as void. Any ideas?

This could be a Watcom defect or a missing include.

As you know the full definition is:

typedef struct{
   PSZ          AdaptDescriptName;
   USHORT       AdaptFlags;
   USHORT       BaseType;             /* From PCI/PNP */
   USHORT       SubType;
   USHORT       InterfaceType;
   USHORT       HostBusType;
   USHORT       HostBusWidth;
   PADJUNCT     pAdjunctList;
   ULONG        Reserved;             /* Logical Name addition? */ }
ADAPTERSTRUCT, FAR *PADAPTERSTRUCT, NEAR *NPADAPTERSTRUCT;

Your code should work as long as the compiler is OK and FAR is defined. 
Are you sure you are picking up the right definitions out of basedef.h?

To check the compiler, try:

typedef struct{
   char         *AdaptDescriptName;
} _far *PTESTSTRUCT;

as a testcase.  If that works, then you have an include problem. 
Otherwise, you have a testcase to submit to OpenWatcom.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

In <ahgohr+gb4j@eGroups.com>, on 07/22/02 
   at 10:59 AM, "kiewitz2000" <kiewitz@netlabs.org> said:

Talking to myself again...

>This could be a Watcom defect or a missing include.

As I suspected, you are missig an include:

 #include <os2.h>
 #include <rmcalls.h>

 extern HADAPTER  __cdecl PDD_CreateDriverAdapter (PADAPTERSTRUCT
AdapterStructPtr);

compiles just fine.

FWIW, the best example of Watcom code is probably the sbliveos2 drivers at
Netlabs.

\ddk\base\src\dev\mme\pciaudio\rm.hpp also indicates the correct includes,
but the code is harder to follow.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Mon, 22 Jul 2002 10:59:07 -0000, kiewitz2000 wrote:

>Well, I have the following line in asm\dd.h:
>
>/* dd_generic.inc */
>extern HADAPTER  __cdecl PDD_CreateDriverAdapter (PADAPTERSTRUCT
>AdapterStructPtr);
>
>And Watcom doesnt like it:
>.\asm\dd.h(34): Error! E1009: Expecting ',' but found 
'AdapterStructPtr'
>.\asm\dd.h(34): Error! E1116: An id list not allowed except for
>function definition
>
>When I exchange PADAPTERSTRUCT into PVOID, everything works, but I
>don't like to define that one as void. Any ideas?

I usually find that running the file through the pre-processor alone is 
a useful intermediate step. Once you have that file on disk, run it 
through the compiler and see where the error is. Then you can easily 
backtrack though the pre-processed file to see what is going wrong.




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hi,

just to let everyone know (especially new users):

Registration for DDK site at

http://service.boulder.ibm.com/ddk/

has changed. There is no need to register anymore, 
just "Go Directly to Download Page" and enter

guest

for username and password (and I guess it will take 
about any username and password).
Still, already registered usernames and passwords 
will still work but I don't think it still matters.

Lars


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....



barf1234de schreef:

> Hi,
>
> just to let everyone know (especially new users):
>
> Registration for DDK site at
>
> http://service.boulder.ibm.com/ddk/
>
> has changed. There is no need to register anymore,
> just "Go Directly to Download Page" and enter
>
> guest
>
> for username and password (and I guess it will take
> about any username and password).

Really? Doesn't work out for me.


--
Groeten uit Gent,

   Kris



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

> >This could be a Watcom defect or a missing include.
> As I suspected, you are missig an include:
>  #include <os2.h>
>  #include <rmcalls.h>

I really did and I still do.
I included both. Just 2 minutes ago it didn't work out. Then I
included the extern line into sb.c as well and this made it work.

Perhaps this sounds stupid, but it's the truth. I made 2 more C-OBJ
files, but I didn't change anything in asm\dd.h. I just added some
more routines.

> FWIW, the best example of Watcom code is probably the sbliveos2
drivers at
> Netlabs.

I'm doing most of the stuff in Assembly currently. I'm also developing
a "private" API that will make life easier to do init code for device
drivers (at least that's true for me).

I got most of the Init code now working and it's really nice.
One example:

PSZ CreativePnPids[] = {
   "CTL8001", "Creative Soundblaster Device",
   "CTL0001", "Creative Soundblaster 16",
   "CTL0031", "Creative Soundblaster 16"
   [...]
 }

   PDD_CreateDriverAdapter (&SoundblasterAdapter);
   Print ("-> ...Analyzing system... <-\r\n");
   MyDeviceListPtr = &CreativePnPids[0];
   MyPnPDevice = PnP_FindDeviceViaList (&MyDeviceListPtr);
   if (MyPnPDevice) {
      PrintF (" &#9632; %s PnP found!\r\n", MyDeviceListPtr);
      SoundblasterPort   = PnP_GetDeviceIO(MyPnPDevice, 0);
      SoundblasterIRQ    = PnP_GetDeviceIRQ(MyPnPDevice, 0);
      SoundblasterDMAlow = PnP_GetDeviceDMA(MyPnPDevice, 0);
      SoundblasterDMAhi  = PnP_GetDeviceDMA(MyPnPDevice, 1);

      // Take full control of device hardware
      SoundblasterDevice.DevDescriptName = MyDeviceNamePtr;
      if (!PnP_TakeDeviceResources (MyPnPDevice)) {
         PrintF (" &#9632; Could not get device resources!\r\n");
         PDD_SelfDestruct();
         return PDD_FAILED;
       }
      PDD_CreateDriverDevice (&SoundblasterDevice);
    }

That's the whole code for Soundblaster detection :)
I will post a proposal into this group in a short time. Perhaps one or
two developers in here would like to use that API instead of messing
around with RM/OEMHLP/DevHlp/etc. directly. It could be especially
useful for "newbies", so they won't need to learn the complex RM-API
and it's nice to use it in Snooper drivers.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

It didn't work for me either, but the response weas "We are experiencing 
network difficulties," not "invalid password" or something like that.

-=-
Alan


Kris Steenhaut wrote:

>barf1234de schreef:
>
>  
>
>>Hi,
>>
>>just to let everyone know (especially new users):
>>
>>Registration for DDK site at
>>
>>http://service.boulder.ibm.com/ddk/
>>
>>has changed. There is no need to register anymore,
>>just "Go Directly to Download Page" and enter
>>
>>guest
>>
>>for username and password (and I guess it will take
>>about any username and password).
>>    
>>
>
>Really? Doesn't work out for me.
>



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!



Alan Beagley schreef:

> It didn't work for me either, but the response weas "We are experiencing
> network difficulties," not "invalid password" or something like that.
>

I'm getting always (tried a bunch of times already): "Authorisation failed.
Try again?"

As a matter of fact, this is a Netscape message, it's not coming fron the
server,



>
> -=-
> Alan
>
> Kris Steenhaut wrote:
>
> >barf1234de schreef:
> >
> >
> >
> >>Hi,
> >>
> >>just to let everyone know (especially new users):
> >>
> >>Registration for DDK site at
> >>
> >>http://service.boulder.ibm.com/ddk/
> >>

--
Groeten uit Gent,

   Kris



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

Hello Everyone,

Debugging of our ultra 320 SCSI driver is underway and I came across the
following interesting situation. I have a structure, which is a part of a
bigger internal IoRequest structure given by, 

struct _MPT_IO_REQUEST_OS
{                                          
    MPT_UINT32                             RequestTimer;
    PIORB                                  PtrIORB;
    PTR_MPT_IO_REQUEST                     PtrNextIoRequest;
    PTR_OS2_DEVICE_TABLE                   PtrDevice;
    PTR_MPT_IO_REQUEST                     PtrAbortNext;
    MPT_UINT16                             RequestState;
    MPT_UINT8                              ScsiStatus;
};

I have a routine that initializes the said IoRequest. Within that routine,
ICAT sees the structure as 

	RequestTimer	0
    > PtrIORB		0x0000:0x0000
    > PtrNextIoRequest  0x0000:0x0000
    > PtrDevice		0x0640:0x0268
    > PtrAbortNext 	0x0000:0x0000
      RequestState	0	
      ScsiStatus		'\x00'	

When I return from that routine to the callaing routine, ICAT sees the
structure the following way. 

	RequestTimer	0
    > PtrIORB		0x0000:0x0000
	DataTransferred   0
    > PtrNextIoRequest  0x0640:0x0268
    > PtrDevice		0x0000:0x0000
    > PtrAbortNext 	0x0000:0x0000
      RequestState	0	
      ScsiStatus		'\x00'	

Note that the value for PtrDevice has slipped into the value of
PtrNextIoRequest. This is simply catastrophic and bad things happen once
PtrDevice is dereferenced next time. 

I have not defined that structure twice and I double checked it. 

Why does ICAT sees the structure in two different ways at two different
places? Any insight will be most welcome.

Thanks,

Samantha.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

In <2ADA45B8C19AD111BBEA00805FBE13410C4A4549@exccolorado.co.lsil.com>, on
07/26/02 
   at 03:08 PM, "Ranaweera, Samantha" <sranawee@lsil.com> said:

>I have a routine that initializes the said IoRequest. Within that
>routine, ICAT sees the structure as 

>	RequestTimer	0
>    > PtrIORB		0x0000:0x0000
>    > PtrNextIoRequest  0x0000:0x0000
>    > PtrDevice		0x0640:0x0268
>    > PtrAbortNext 	0x0000:0x0000
>      RequestState	0	
>      ScsiStatus		'\x00'	

>When I return from that routine to the callaing routine, ICAT sees the
>structure the following way. 

>	RequestTimer	0
>    > PtrIORB		0x0000:0x0000
>	DataTransferred   0
>    > PtrNextIoRequest  0x0640:0x0268
>    > PtrDevice		0x0000:0x0000
>    > PtrAbortNext 	0x0000:0x0000
>      RequestState	0	
>      ScsiStatus		'\x00'	

>Note that the value for PtrDevice has slipped into the value of
>PtrNextIoRequest. This is simply catastrophic and bad things happen once
>PtrDevice is dereferenced next time. 

Unless, I am misreading your example, it does not appear to have slipped,
but rather from the calling function's perspective, the structure has
gained a field (i.e. DataTransfered).  Unless you have found a very odd
ICAT defect, I suspect you are looking a two different structures.  To
check this, have ICAT dump the address of the structure in each context.

If that's not it, maybe Dave has an idea how ICAT could do this.

Steven


-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Hi

1.) http://techsupport.services.ibm.com/ddk/
2.) "Go Directly to Download Page"
3.) A dialog pops up to enter username and password 
for DevCon at techsupport.services.ibm.com 
(Netscape dialog)
4.) Enter "guest" for username and "guest" for 
password (without quotes)
5.) Here I go:
http://techsupport.services.ibm.com/dl/ddk/priv/ddk
-d

Either your security settings or proxy or whatever 
inhibit access or you had CAPS lock on.
The answer from Alan seems to show, that you are 
not denied access (his problem was a network 
problem which sometimes occurs with the IBM servers 
and I occasionally also had).

Lars

--- In os2ddprog@y..., Kris Steenhaut 
<kris.steenhaut@h...> wrote:
> 
> 
> Alan Beagley schreef:
> 
> > It didn't work for me either, but the response 
weas "We are experiencing
> > network difficulties," not "invalid password" 
or something like that.
> >
> 
> I'm getting always (tried a bunch of times 
already): "Authorisation failed.
> Try again?"



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru



barf1234de schreef:

> or you had CAPS lock on.

Is this supposed to be a crime?



>
> The answer from Alan seems to show, that you are
> not denied access (his problem was a network
> problem which sometimes occurs with the IBM servers
> and I occasionally also had).

Anyway, "guest" as username and "guest" as password is quite different from
"guest" as username and "password" as password.

Now, with "guest" as username and "guest" as password I get:


*********begin copy and paste******************
                 The document you have requested does not exist on this
system.

                 Please check the URL, or use the search function in the left
nav bar to find the information you
                 are looking for.

                 If you believe you have received this message in error,
please use the Contact button located on
                 our footer to tell us about this error.

                 404 multifail

*************end copy and paste***************


Ready for next guess.


--
Groeten uit Gent,

   Kris



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Steve,

My mistake, well rather the mistake of the version of nmake I'm using under
NT to do the compilation. I took off that field, which appeared out of
nowhere in one context,  from a header file, but nmake did not pick up the
dependency, so it continued to use the old .obj files for some source files
but created new ones for some. Therefore the old .obj files saw the
structure with the field DataTransferred where as the new .obj files saw the
structure without it. I double checked the dependency rules, and they appear
to be fine. Anyway a complete rebuild made sure that all source files picked
up the correct version.  

Thanks for the info and sorry about the confusion. 

Regards,

Samantha.

-----Original Message-----
From: Steven Levine [mailto:steve53@earthlink.net]
Sent: Friday, July 26, 2002 5:11 PM
To: os2ddprog@yahoogroups.com
Subject: Re: [os2ddprog] ICAT Anomality


In <2ADA45B8C19AD111BBEA00805FBE13410C4A4549@exccolorado.co.lsil.com>, on
07/26/02 
   at 03:08 PM, "Ranaweera, Samantha" <sranawee@lsil.com> said:

>I have a routine that initializes the said IoRequest. Within that
>routine, ICAT sees the structure as 

>	RequestTimer	0
>    > PtrIORB		0x0000:0x0000
>    > PtrNextIoRequest  0x0000:0x0000
>    > PtrDevice		0x0640:0x0268
>    > PtrAbortNext 	0x0000:0x0000
>      RequestState	0	
>      ScsiStatus		'\x00'	

>When I return from that routine to the callaing routine, ICAT sees the
>structure the following way. 

>	RequestTimer	0
>    > PtrIORB		0x0000:0x0000
>	DataTransferred   0
>    > PtrNextIoRequest  0x0640:0x0268
>    > PtrDevice		0x0000:0x0000
>    > PtrAbortNext 	0x0000:0x0000
>      RequestState	0	
>      ScsiStatus		'\x00'	

>Note that the value for PtrDevice has slipped into the value of
>PtrNextIoRequest. This is simply catastrophic and bad things happen once
>PtrDevice is dereferenced next time. 

Unless, I am misreading your example, it does not appear to have slipped,
but rather from the calling function's perspective, the structure has
gained a field (i.e. DataTransfered).  Unless you have found a very odd
ICAT defect, I suspect you are looking a two different structures.  To
check this, have ICAT dump the address of the structure in each context.

If that's not it, maybe Dave has an idea how ICAT could do this.

Steven


-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183
Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Kris Steenhaut wrote:

>barf1234de schreef:
>
>  
>
>>or you had CAPS lock on.
>>    
>>
>
>Is this supposed to be a crime?
>

Password could be case sensistive.

>Anyway, "guest" as username and "guest" as password is quite different from
>"guest" as username and "password" as password.
>
>Now, with "guest" as username and "guest" as password I get:
>
>
>*********begin copy and paste******************
>                 The document you have requested does not exist on this
>system.
>

Using "guest" for both username and password, I found I had access to a 
vast quantity of DDK materials.

-=-
Alan



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

In <2ADA45B8C19AD111BBEA00805FBE13410C4A454A@exccolorado.co.lsil.com>, on
07/27/02 
   at 08:47 AM, "Ranaweera, Samantha" <sranawee@lsil.com> said:

>My mistake, well rather the mistake of the version of nmake I'm using
>under NT to do the compilation. I took off that field, which appeared out
>of nowhere in one context,  from a header file, but nmake did not pick up
>the dependency, so it continued to use the old .obj files for some source

Interesting.  What tools are you using to build the driver?  If this is
MS's nmake, I don't recall this problem, but I do know it leaks memory. 
This is not a problem for drivers, but for large builds, it often needs to
be restarted several times.

>Thanks for the info and sorry about the confusion. 

No problem.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

In <3D42AF2E.71D9345A@hccnet.nl>, on 07/27/02 
   at 04:33 PM, Kris Steenhaut <kris.steenhaut@hccnet.nl> said:

>Is this supposed to be a crime?

Only if you get caught. :-)

>Anyway, "guest" as username and "guest" as password is quite different
>from "guest" as username and "password" as password.

>Now, with "guest" as username and "guest" as password I get:

As suggested, I tried this with:

 url:  http://service.boulder.ibm.com/ddk/
 user: guest
 pwd:  guest

and it works fine.  I prefer to download from the FTP site.  The web site
is good for new users because there's not index at the FTP site.

You might want to check you cache settings and clear out your caches.  At
the moment, the problem appears to be limited to your box.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

Hi !

I discovered something really strange. The EMU-8000 on the SB AWE32/64
has this PnP configuration:

LogicalDevID    : CTL0023 - Creative Labs AWE64 Gold
ID String       : WaveTable
Alternate config start (Perferred Config)
I/O Range       : 0620h to 0623h
Alternate config start (Other Config)
I/O Range       : Min 0620h max 0680h step 20h length 04h
Alternate config end
End tag

Now my driver initializes everything correctly using this config:
--- Logical Device 2 ---
Enabled : Yes
I/O #0  : 0620h

*BUT* the card isn't working.
Now the original Creative driver configures the card that way:

--- Logical Device 2 ---
Enabled : Yes
I/O #0  : 0620h
I/O #1  : 0A20h
I/O #2  : 0E20h

WTF? How is this possible?
I mean how can I add more sources to a PnP device configuration using RM?
I didn't know that this would be possible anyway. I mean RM is
configuring all hardware by itself and normally the drivers just
"take" that configuration. Is the PnP configuration data of the
Wavetable faulty or is there some magic trick somewhere?

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

This is a WAG (wild ass guess) but the problem may the SNP driver that is
being used to provide the configuration data to RM does not provide the
other I/O address ranges.

AFAIK the AWE32/64 is an ISA card so the SNP driver is used to provide RM
with the hardware information it reports. PCI card information is provided
through the PCI enumerator (?) SNP driver.

Lorne

In <ai166o+okpi@eGroups.com>, on 07/28/02 
   at 04:30 PM, "kiewitz2000" <kiewitz@netlabs.org> said:

>Hi !

>I discovered something really strange. The EMU-8000 on the SB AWE32/64
>has this PnP configuration:

>LogicalDevID    : CTL0023 - Creative Labs AWE64 Gold
>ID String       : WaveTable
>Alternate config start (Perferred Config)
>I/O Range       : 0620h to 0623h
>Alternate config start (Other Config)
>I/O Range       : Min 0620h max 0680h step 20h length 04h
>Alternate config end
>End tag

>Now my driver initializes everything correctly using this config: ---
>Logical Device 2 ---
>Enabled : Yes
>I/O #0  : 0620h

>*BUT* the card isn't working.
>Now the original Creative driver configures the card that way:

>--- Logical Device 2 ---
>Enabled : Yes
>I/O #0  : 0620h
>I/O #1  : 0A20h
>I/O #2  : 0E20h

>WTF? How is this possible?
>I mean how can I add more sources to a PnP device configuration using RM?
>I didn't know that this would be possible anyway. I mean RM is
>configuring all hardware by itself and normally the drivers just "take"
>that configuration. Is the PnP configuration data of the Wavetable faulty
>or is there some magic trick somewhere?

>cu, Kiewitz




>The OS/2 Device Driver Programming mailing list.
>http://www.egroups.com/group/os2ddprog

>To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

> 

>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




-- 
-----------------------------------------------------------
lsunley@mb.sympatico.ca
-----------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

--- In os2ddprog@y..., lsunley@m... wrote:
> This is a WAG (wild ass guess) but the problem may the SNP driver
that is
> being used to provide the configuration data to RM does not provide the
> other I/O address ranges.
> 
> AFAIK the AWE32/64 is an ISA card so the SNP driver is used to
provide RM
> with the hardware information it reports. PCI card information is
provided
> through the PCI enumerator (?) SNP driver.

Its a PnP card, so there is no snooper driver required for it.
I discovered the same behaviour under bare DOS using Intels PnP
Configuration utility. If I dont call \sb16\dianose /S, no EMU-8000
unit is found in the system and the PnP data looks the same. (my
detection and init code is working, but the card doesnt use 8 of the
12 ports, so those routines dont work (of course).

I'm already working on a Soundblaster ISA snooper driver for Non-PnP
cards, but this has nothing to do with it. I suspect Creative to be
"creative" again. I just looked through the whole PDD APIs and I
couldn't find anything to add resources to a physical Device. The only
API that would fit is "RMModifyResources", but this one wants driver
generated Adapter/Device Handles and not the physical ones. I will
probably have to disassemble the creative PDD and it's awful code in
there.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

In <0GZY00HLAXKL3W@l-daemon>, on 07/28/2002 
   at 11:49 AM, lsunley@mb.sympatico.ca said:

>AFAIK the AWE32/64 is an ISA card so the SNP driver is used to provide RM
>with the hardware information it reports. PCI card information is
>provided through the PCI enumerator (?) SNP driver.

SNP drivers are used to provide information only for non-PNP ISA devices.

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

In <ai1chi+qjf1@eGroups.com>, on 07/28/02 
   at 06:18 PM, "kiewitz2000" <kiewitz@netlabs.org> said:

>--- In os2ddprog@y..., lsunley@m... wrote:
>> This is a WAG (wild ass guess) but the problem may the SNP driver
>that is
>> being used to provide the configuration data to RM does not provide the
>> other I/O address ranges.
>> 
>> AFAIK the AWE32/64 is an ISA card so the SNP driver is used to
>provide RM
>> with the hardware information it reports. PCI card information is
>provided
>> through the PCI enumerator (?) SNP driver.

>Its a PnP card, so there is no snooper driver required for it. I
>discovered the same behaviour under bare DOS using Intels PnP
>Configuration utility. If I dont call \sb16\dianose /S, no EMU-8000 unit
>is found in the system and the PnP data looks the same. (my detection and
>init code is working, but the card doesnt use 8 of the 12 ports, so those
>routines dont work (of course).

>I'm already working on a Soundblaster ISA snooper driver for Non-PnP
>cards, but this has nothing to do with it. I suspect Creative to be
>"creative" again. I just looked through the whole PDD APIs and I couldn't
>find anything to add resources to a physical Device. The only API that
>would fit is "RMModifyResources", but this one wants driver generated
>Adapter/Device Handles and not the physical ones. I will probably have to
>disassemble the creative PDD and it's awful code in there.

>cu, Kiewitz

I looked through how the PAS16 snoop driver works, and it appears that you
can use RMAllocResource to allocate resources for I/O ports and DMA
channels. This should work even though the PnP snooper driver has not
registered them in the original pass.


---
lsunley@mb.sympatico.ca


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

In <ai1chi+qjf1@eGroups.com>, on 07/28/2002 
   at 06:18 PM, "kiewitz2000" <kiewitz@netlabs.org> said:

>I'm already working on a Soundblaster ISA snooper driver for Non-PnP
>cards, but this has nothing to do with it. I suspect Creative to be
>"creative" again. I just looked through the whole PDD APIs and I couldn't
>find anything to add resources to a physical Device. The only API that
>would fit is "RMModifyResources", but this one wants driver generated
>Adapter/Device Handles and not the physical ones. I will probably have to
>disassemble the creative PDD and it's awful code in there.

My MPU-401 driver has a class library that can do this.  Email me if
you're interested.  I should upload the source code to hobbes, anyway.

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

> I looked through how the PAS16 snoop driver works, and it appears
that you
> can use RMAllocResource to allocate resources for I/O ports and DMA
> channels. This should work even though the PnP snooper driver has not
> registered them in the original pass.

The resources won't be allocated to the soundblaster card (!) only to
the Soundblaster drivers Adapter and Device.

I just disassembled a bit of the Soundblaster AWE32/64 code. First of
all, I would really like to shoot the programmer that did this crap ;-)
Secondly, I found some strange actions done to some undocumented
registers of the Soundblaster (Range 05-0Fh). I will try to nuke them
out, so I will see, if this code is responsible for the "magic" changes.

I also found out that this buggy Creative bug-driver contains *NO* PnP
autodetection code (!!!) this is awful. I mean they take the whole
resources from command-line. They only use
RMCreateDriver/Adapter/Device and AllocResource calls, that's all. The
programmer that did this had absolutely no clue about OS/2 nor RM nor
anything in particular.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Hi !

The UHCI drivers are working on my system. Attaching a mouse works,
but when I attach my Casio MP3 watch they fail.

I just got a debug build working and that's the output (garbled, I know)

USBD PortStausChange failed.a=1, Staus=8120
BD: GetDscCompleed: DefAdrFailed1)
HCI: ProessSetHuFeature  failed.ort2, feure 4, satus 008
SBD: GetescComplted: DefdrFailed)
USBD: GeDescCompted: DefddrFaile1)
HCI: IRQTD=23F0,r1=1,r2=,r3=0,a=,e=0,sta384007FFtoken=00E80069
USBD: GeDescComped: faild - stats 8120, fl2 0, mkt0 0t2
UBD: GetDcCompletd: failed - status 40, fags 4, r 0
USBDGetDescCmpleted: DefAddrailed(1)
                                    BD: GetDscCompleed: DefAdrFailed1)
SBD: GetescComplted: DefddrFaile1)
[after removing]
HCI: ProessSetHuFeature  failed.ort2, feture 4, tatus 000

Anyone any idea what this could mean and how this could get fixed?

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hello All,

In debugging the SCSI HBA driver I'm developing, I'm at a stage where I can
scan the SCSI bus, report all the devices, finish Initialization (I receive
the Complete init IORB. At that point, I try to register the interrupt
handler through a call to the DevHelp_SetIRQ routine with interrupt sharing.
The call succeeds and the boot up process continues. I get the message 'The
locked file device driver is loaded'. After a short while I get the
following error message. 

'The system detected an internal processing error at 
location ##1100:32e5 - 0002:32e5.
line 60000, in file 2008 @(#)dhrouter.asm		6.11 91/11/16.
DevHelp Usage Error. 
06860683 - 07/28. 21:41:29.29 
Internal Revision 9.023, 95/11/07.

The system is stopped. Record all of the above information and
contact your system representative. '

This is more likely than not, related to the DevHelp_SetIRQ call as if I by
pass it, the driver loads (in polled mode) and I'm able to see all attached
devices and communicate with them correctly. If I use an older LSI driver
and a HBA, the call succeeds, the driver loads and everything works fine. I
have verified that the Interrupt level used for the DevHelp_SetIRQ routine
corresponds to the information provided by the system BIOS. The pointer to
the interrupt handler too looks alright. 

Any comments/details on what the error is? 

Regards,

Samantha. 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

On 29 Jul 2002 15:56:36 UT, sranawee@lsil.com wrote:

>line 60000, in file 2008 @(#)dhrouter.asm		6.11 91/11/16.
>DevHelp Usage Error.

A DevHelp function gets called in a context, where it shouldn't. For example 
AllocateCtxHook from within an ISR or AllocGDTSelector during task time.


-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

Hi,

not sure if this is the problem, but be sure to:

1.) put the IRQ Handler in the first code segment 
(which is mandatory). Also, this code segment has 
to be non-swappable/resident.

2.) declare the IRQ procedure as a far (pascal ?, 
well you dont get any args anyway so it shouldnt 
matter if pascal or c) procedure with a far ret 
(NOT an iret). Also, at end of IRQ Handler, call 
DevHelp_EOI on your IRQ level and clear carry flag 
if you handled the interrupt.


Lars


--- In os2ddprog@y..., "Ranaweera, Samantha" 
<sranawee@l...> wrote:
> Hello All,
> 
> In debugging the SCSI HBA driver I'm developing, 
I'm at a stage where I can
> scan the SCSI bus, report all the devices, finish 
Initialization (I receive
> the Complete init IORB. At that point, I try to 
register the interrupt
> handler through a call to the DevHelp_SetIRQ 
routine with interrupt sharing.
> The call succeeds and the boot up process 
continues. I get the message 'The
> locked file device driver is loaded'. After a 
short while I get the
> following error message. 
> 
> 'The system detected an internal processing error 
at 
> location ##1100:32e5 - 0002:32e5.
> line 60000, in file 2008 @(#)dhrouter.asm	
	6.11 91/11/16.
> DevHelp Usage Error. 
> 06860683 - 07/28. 21:41:29.29 
> Internal Revision 9.023, 95/11/07.
> 
> The system is stopped. Record all of the above 
information and
> contact your system representative. '
> 
> This is more likely than not, related to the 
DevHelp_SetIRQ call as if I by
> pass it, the driver loads (in polled mode) and 
I'm able to see all attached
> devices and communicate with them correctly. If I 
use an older LSI driver
> and a HBA, the call succeeds, the driver loads 
and everything works fine. I
> have verified that the Interrupt level used for 
the DevHelp_SetIRQ routine
> corresponds to the information provided by the 
system BIOS. The pointer to
> the interrupt handler too looks alright. 
> 
> Any comments/details on what the error is? 
> 
> Regards,
> 
> Samantha.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....


> USBD PortStausChange failed.a=1, Staus=8120
> BD: GetDscCompleed: DefAdrFailed1)
> HCI: ProessSetHuFeature  failed.ort2, feure 4, satus 008
> SBD: GetescComplted: DefdrFailed)
> USBD: GeDescCompted: DefddrFaile1)

Well that does mean that the configuration of the device could not be
read from the Default Address (0) which every new device has until it
gets assigned an address.
I'm not sure if on windows the device gets first assigned an address an
then
the configuration is read you could try to alter the order of commands
send
ie. first set address then read the config.

Anyhow if the device needs this it simply doesn't comply to the usb
standart.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

--- In os2ddprog@y..., Markus Montkowski <mmontkowski@g...> wrote:
> 
> > USBD PortStausChange failed.a=1, Staus=8120
> > BD: GetDscCompleed: DefAdrFailed1)
> > HCI: ProessSetHuFeature  failed.ort2, feure 4, satus 008
> > SBD: GetescComplted: DefdrFailed)
> > USBD: GeDescCompted: DefddrFaile1)
> Well that does mean that the configuration of the device could not be
> read from the Default Address (0) which every new device has until it
> gets assigned an address.
> I'm not sure if on windows the device gets first assigned an address an
> then
> the configuration is read you could try to alter the order of commands
> send
> ie. first set address then read the config.

Where do I have to change them? I'm not familiar with the sources nor
with USB internals and what for what functions do I have to look for?
Could there be another problem? Perhaps some error in the
configuration code?
And what does the driver mean by "PortStatusChange" failed?

> Anyhow if the device needs this it simply doesn't comply to the usb
> standart.

That's bad of course. Anyway, as we can't change the hardware, the
software has to be changed. Perhaps it's some obscure other bug in the
config code, anyway if the problem is the one that you mentioned,
probably other devices have the same faults.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

> 
> Where do I have to change them? I'm not familiar with the sources nor
> with USB internals and what for what functions do I have to look for?
> Could there be another problem? Perhaps some error in the
> configuration code?
> And what does the driver mean by "PortStatusChange" failed?
> 
Well the og output you posted was a little short.
but all you have to look at are USBIDC.C and USBIRQ.C
of the usbd driver where the usbidc.c is more important
from the log you should see the calling seq.
basically UsbProcessIRQ is the function that calls the right function
depending on the swichvalue. So you can either switch it there.
but be sure to check that the values are only used at one place.

Do you have any other usb devices?
That could rule out some HW problems with your HC i.e. it could
be that reseting the device did not work. Also keep in mind USB is 
hotplugable so you can try to replug it watch and see if it makes a 
difference. Btw what chipset is on your motherboard.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

--- In os2ddprog@y..., Markus Montkowski <mmontkowski@g...> wrote:
> Well the og output you posted was a little short.

There isnt much too log. The device isnt recognized to be attached :)
As far as I know, the USB drivers try to reattach themselves every x
seconds to the device, but they dont succeed. Of course, I didnt post
all the iterations in the log, would have been a waste of time.
Additionally I really don't know why the logs got damaged. I just
listened using t.exe with 9600/n/8/1 using hardware flow control.

> but all you have to look at are USBIDC.C and USBIRQ.C
> of the usbd driver where the usbidc.c is more important
> from the log you should see the calling seq.
> basically UsbProcessIRQ is the function that calls the right function
> depending on the swichvalue. So you can either switch it there.
> but be sure to check that the values are only used at one place.

I took a look at it. Can I simply change the order of the routines? I
mean aren't there any dependencies?

> Do you have any other usb devices?

Yes. Just tried (again) my Logitech Cordless USB mouse with the debug
drivers and it works fine. Gets listed in USB Resource Manager (from
Netlabs).

> That could rule out some HW problems with your HC i.e. it could
> be that reseting the device did not work. Also keep in mind USB is 
> hotplugable

like ps2 under OS/2 (I know it's not recommended, but it works) :]
I tried to replug it several times. It just doesnt get detected.
Previous USB drivers halted my system every 2 seconds and now I know
why. The watch is plugged in at all times (at least this was the case
here) and so the USB drivers retried and retried to attach to the
device. It would be great, if IBM would implement some sort of beep
like DANIS506, so people would get to know that something is wrong
with the hardware.

> so you can try to replug it watch and see if it makes a 
> difference. Btw what chipset is on your motherboard.

I don't know exactly, I would need to reboot to Windoze and I
currently got too many shells open :) Anyway, it's working on the
cordless adapter. I could try an USB joystick as well, just to make sure.

Yesterday I tried to install usbsnoop.sys on my winslap installation
and it just messed the whole USB hub. So actually nothing worked
anymore. Is it possible to find out what Windoze is doing internally?
I would really like to get that device to work.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

--- In os2ddprog@y..., "kiewitz2000" <kiewitz@n...> wrote:
> --- In os2ddprog@y..., Markus Montkowski <mmontkowski@g...> wrote:
> > Well the og output you posted was a little short.

Okay, I just got usbsnoop working on my notebook.
Here is the log when attaching the device.

00000000
0.00000000
UsbSnoop 0.13 - Entering DriverEntry: DriverObject C14F4518	
00000001
0.00001760
UsbSnoop - Running under Windows 98	
00000002
0.00006000
UsbSnoop - Entering AddDevice: DriverObject C14F4518, pdo C14F4028	
00000003
0.00740080
UsbSnoop - IRP_MJ_PNP (IRP_MN_FILTER_RESOURCE_REQUIREMENTS)	
00000004
0.00758480
UsbSnoop - IRP_MJ_PNP (IRP_MN_START_DEVICE)	
00000005
0.00841760
UsbSnoop - IRP_MJ_INTERNAL_DEVICE_CONTROL, IOCTL_INTERNAL_USB_SUBMIT_URB	
00000006
0.00843280
 	
00000007
0.00843840
>>>>>>> URB 1 going down...	
00000008
0.00845600
-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:	
00000009
0.00847120
  TransferBufferLength = 00000012	
00000010
0.00848640
  TransferBuffer       = c92b715c	
00000011
0.00849920
  TransferBufferMDL    = 00000000	
00000012
0.00851280
  Index                = 00	
00000013
0.00853040
  DescriptorType       = 01 (USB_DEVICE_DESCRIPTOR_TYPE)	
00000014
0.00854320
  LanguageId           = 0000	
00000015
0.01173040
 	
00000016
0.01173520
<<<<<<< URB 1 coming back...	
00000017
0.01175120
-- URB_FUNCTION_CONTROL_TRANSFER:	
00000018
0.01176640
  PipeHandle           = c92b511c	
00000019
0.01179200
  TransferFlags        = c280ce3f (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)	
00000020
0.01180640
  TransferBufferLength = 00000012	
00000021
0.01182000
  TransferBuffer       = c92b715c	
00000022
0.01183440
  TransferBufferMDL    = c92b6aa0	
00000023
0.01184320
 	
00000024
0.01184800
    0000:	
00000025
0.01193760
 12 01 00 01 00 00 00 40 cf 07 01 38 01 00 01 02	
00000026
0.01194080
    0010:	
00000027
0.01195520
 00 01	
00000028
0.01196880
  UrbLink              = 00000000	
00000029
0.01202640
  SetupPacket          : 80 06 00 01 00 00 12 00	
00000030
0.01208320
UsbSnoop - IRP_MJ_INTERNAL_DEVICE_CONTROL, IOCTL_INTERNAL_USB_SUBMIT_URB	
00000031
0.01209600
 	
00000032
0.01210000
>>>>>>> URB 2 going down...	
00000033
0.01211600
-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:	
00000034
0.01212960
  TransferBufferLength = 00000100	
00000035
0.01214400
  TransferBuffer       = c14d7640	
00000036
0.01215760
  TransferBufferMDL    = 00000000	
00000037
0.01216960
  Index                = 00	
00000038
0.01218720
  DescriptorType       = 02 (USB_CONFIGURATION_DESCRIPTOR_TYPE)	
00000039
0.01220000
  LanguageId           = 0000	
00000040
0.01744320
 	
00000041
0.01744800
<<<<<<< URB 2 coming back...	
00000042
0.01746400
-- URB_FUNCTION_CONTROL_TRANSFER:	
00000043
0.01747840
  PipeHandle           = c92b511c	
00000044
0.01750240
  TransferFlags        = c280ce3f (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)	
00000045
0.01751600
  TransferBufferLength = 00000027	
00000046
0.01753040
  TransferBuffer       = c14d7640	
00000047
0.01754480
  TransferBufferMDL    = c92b6aa0	
00000048
0.01755360
 	
00000049
0.01755760
    0000:	
00000050
0.01764720
 09 02 27 00 01 01 00 80 1e 09 04 00 00 03 ff ff	
00000051
0.01765120
    0010:	
00000052
0.01773920
 00 03 07 05 01 02 40 00 00 07 05 82 02 40 00 00	
00000053
0.01774320
    0020:	
00000054
0.01778080
 07 05 83 03 04 00 64	
00000055
0.01779520
  UrbLink              = 00000000	
00000056
0.01785280
  SetupPacket          : 80 06 00 02 00 00 00 01	
00000057
0.01789920
UsbSnoop - IRP_MJ_INTERNAL_DEVICE_CONTROL, IOCTL_INTERNAL_USB_SUBMIT_URB	
00000058
0.01791200
 	
00000059
0.01791680
>>>>>>> URB 3 going down...	
00000060
0.01793120
-- URB_FUNCTION_SELECT_CONFIGURATION:	
00000061
0.01794960
  ConfigurationDescriptor = 0xc14d7640 (configure)	
00000062
0.01796800
  ConfigurationDescriptor : bLength             = 0x09	
00000063
0.01798640
  ConfigurationDescriptor : bDescriptorType     = 0x02	
00000064
0.01800560
  ConfigurationDescriptor : wTotalLength        = 0x0027	
00000065
0.01802400
  ConfigurationDescriptor : bNumInterfaces      = 0x01	
00000066
0.01804320
  ConfigurationDescriptor : bConfigurationValue = 0x01	
00000067
0.01806080
  ConfigurationDescriptor : iConfiguration      = 0x00	
00000068
0.01808000
  ConfigurationDescriptor : bmAttributes        = 0x80	
00000069
0.01809840
  ConfigurationDescriptor : MaxPower            = 0x1e	
00000070
0.01811360
  ConfigurationHandle     = 0x00650044	
00000071
0.01813200
  Interface[0]: Length            = 0x0000004c	
00000072
0.01814880
  Interface[0]: InterfaceNumber   = 0x00	
00000073
0.01816480
  Interface[0]: AlternateSetting  = 0x00	
00000074
0.02061360
 	
00000075
0.02061840
<<<<<<< URB 3 coming back...	
00000076
0.02063440
-- URB_FUNCTION_SELECT_CONFIGURATION:	
00000077
0.02065280
  ConfigurationDescriptor = 0xc14d7640 (configure)	
00000078
0.02067200
  ConfigurationDescriptor : bLength             = 0x09	
00000079
0.02068960
  ConfigurationDescriptor : bDescriptorType     = 0x02	
00000080
0.02070800
  ConfigurationDescriptor : wTotalLength        = 0x0027	
00000081
0.02072640
  ConfigurationDescriptor : bNumInterfaces      = 0x01	
00000082
0.02074400
  ConfigurationDescriptor : bConfigurationValue = 0x01	
00000083
0.02076320
  ConfigurationDescriptor : iConfiguration      = 0x00	
00000084
0.02078160
  ConfigurationDescriptor : bmAttributes        = 0x80	
00000085
0.02079920
  ConfigurationDescriptor : MaxPower            = 0x1e	
00000086
0.02081520
  ConfigurationHandle     = 0xc29db200	
00000087
0.02083280
  Interface[0]: Length            = 0x0000004c	
00000088
0.02084960
  Interface[0]: InterfaceNumber   = 0x00	
00000089
0.02086560
  Interface[0]: AlternateSetting  = 0x00	
00000090
0.02088160
  Interface[0]: Class             = 0xff	
00000091
0.02089760
  Interface[0]: SubClass          = 0xff	
00000092
0.02091440
  Interface[0]: Protocol          = 0x00	
00000093
0.02093200
  Interface[0]: InterfaceHandle   = 0xc92b5720	
00000094
0.02094960
  Interface[0]: NumberOfPipes     = 0x00000003	
00000095
0.02096960
  Interface[0]: Pipes[0] : MaximumPacketSize = 0x0040	
00000096
0.02098880
  Interface[0]: Pipes[0] : EndpointAddress   = 0x01	
00000097
0.02100800
  Interface[0]: Pipes[0] : Interval          = 0x00	
00000098
0.02103120
  Interface[0]: Pipes[0] : PipeType          = 0x02 (UsbdPipeTypeBulk)	
00000099
0.02105200
  Interface[0]: Pipes[0] : PipeHandle        = 0xc92b5738	
00000100
0.02107280
  Interface[0]: Pipes[0] : MaxTransferSize   = 0x00001000	
00000101
0.02109200
  Interface[0]: Pipes[0] : PipeFlags         = 0x00	
00000102
0.02111200
  Interface[0]: Pipes[1] : MaximumPacketSize = 0x0040	
00000103
0.02113040
  Interface[0]: Pipes[1] : EndpointAddress   = 0x82	
00000104
0.02114960
  Interface[0]: Pipes[1] : Interval          = 0x00	
00000105
0.02117200
  Interface[0]: Pipes[1] : PipeType          = 0x02 (UsbdPipeTypeBulk)	
00000106
0.02119360
  Interface[0]: Pipes[1] : PipeHandle        = 0xc92b5754	
00000107
0.02121360
  Interface[0]: Pipes[1] : MaxTransferSize   = 0x00001000	
00000108
0.02123440
  Interface[0]: Pipes[1] : PipeFlags         = 0x00	
00000109
0.02125920
  Interface[0]: Pipes[2] : MaximumPacketSize = 0x0004	
00000110
0.02128320
  Interface[0]: Pipes[2] : EndpointAddress   = 0x83	
00000111
0.02130720
  Interface[0]: Pipes[2] : Interval          = 0x64	
00000112
0.02133760
  Interface[0]: Pipes[2] : PipeType          = 0x03 (UsbdPipeTypeInterrupt)	
00000113
0.02136400
  Interface[0]: Pipes[2] : PipeHandle        = 0xc92b5770	
00000114
0.02139120
  Interface[0]: Pipes[2] : MaxTransferSize   = 0x00001000	
00000115
0.02141600
  Interface[0]: Pipes[2] : PipeFlags         = 0x00	
00000116
0.02146800
UsbSnoop - IRP_MJ_INTERNAL_DEVICE_CONTROL, IOCTL_INTERNAL_USB_SUBMIT_URB	
00000117
0.02148720
 	
00000118
0.02149760
>>>>>>> URB 4 going down...	
00000119
0.02152160
-- URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:	
00000120
0.02154320
  PipeHandle           = c92b5770	
00000121
0.02157360
  TransferFlags        = 00000003 (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)	
00000122
0.02159200
  TransferBufferLength = 00000004	
00000123
0.02161440
  TransferBuffer       = c92b732c	
00000124
0.02163280
  TransferBufferMDL    = 00000000	
00000125
0.02165200
  UrbLink              = 00000000	
00000126
0.02172080
UsbSnoop - IRP_MJ_PNP (IRP_MN_QUERY_CAPABILITIES)	
00000127
0.02184080
UsbSnoop - IRP_MJ_PNP (IRP_MN_QUERY_PNP_DEVICE_STATE)	
00000128
0.13296320
 	
00000129
0.13296800
<<<<<<< URB 4 coming back...	
00000130
0.13298880
-- URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:	
00000131
0.13300480
  PipeHandle           = c92b5770	
00000132
0.13303040
  TransferFlags        = 00000003 (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)	
00000133
0.13304480
  TransferBufferLength = 00000004	
00000134
0.13305920
  TransferBuffer       = c92b732c	
00000135
0.13307360
  TransferBufferMDL    = c92b6aa0	
00000136
0.13308320
 	
00000137
0.13308720
    0000:	
00000138
0.13311120
 01 02 00 00	
00000139
0.13312400
  UrbLink              = 00000000	
00000140
0.13316320
UsbSnoop - IRP_MJ_INTERNAL_DEVICE_CONTROL, IOCTL_INTERNAL_USB_SUBMIT_URB	
00000141
0.13317680
 	
00000142
0.13318080
>>>>>>> URB 5 going down...	
00000143
0.13319680
-- URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:	
00000144
0.13321200
  PipeHandle           = c92b5770	
00000145
0.13324080
  TransferFlags        = 00000003 (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)	
00000146
0.13325440
  TransferBufferLength = 00000004	
00000147
0.13326880
  TransferBuffer       = c92b732c	
00000148
0.13328160
  TransferBufferMDL    = 00000000	
00000149
0.13329520
  UrbLink              = 00000000	
00000150
0.18074240
UsbSnoop - IRP_MJ_PNP (IRP_MN_QUERY_DEVICE_RELATIONS)	

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

http://www.fileleech.de/modules.php?name=News&new_topic=32

TomLeeM


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On 30 Jul 2002 12:31:56 UT, jerseywarp@os2world.com wrote:

>http://www.fileleech.de/modules.php?name=News&new_topic=32

Why do you think developers here are interested in going to that site
and click some button ? Do you really think these polls are realistic ?
If so, dream on...



-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Tue, 30 Jul 2002 15:22:36 +0200, Ruediger Ihle wrote:

>>http://www.fileleech.de/modules.php?name=News&new_topic=32
>
>Do you really think these polls are realistic ?  If so, dream on...

Perhaps not, but if nobody visits, we don't learn anything at all
(even if it's somewhat unrealistic).  Just as likely, lack of
participation will lead some Bozo to declare "OS/2 is dead" again,
and give us all a bad case of nausea.

Somebody took the time to create the poll.  What does it hurt to
participate once in a while?  That said, I don't think the DD list is
the place to advertise the poll.  Then again, the SuperSite sure
ain't goin' nowhere.

JD



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

> --- In os2ddprog@y..., Markus Montkowski <mmontkowski@g...> wrote:
> > Well the og output you posted was a little short.
> 
> There isnt much too log. The device isnt recognized to be attached :)
> As far as I know, the USB drivers try to reattach themselves every x
> seconds to the device, but they dont succeed. Of course, I didnt post
> all the iterations in the log, would have been a waste of time.
> Additionally I really don't know why the logs got damaged. I just
> listened using t.exe with 9600/n/8/1 using hardware flow control.

Well yes but you only posted the lines starting with the error
you might want to build an version and set the loglevel to log not only
critical but all stuff.
As for getting proper logs I also have problems if I use halite to
connect.
I found that when using PMDF to connect and log the same HW combination
works 
fine.
> > but all you have to look at are USBIDC.C and USBIRQ.C
> > of the usbd driver where the usbidc.c is more important
> > from the log you should see the calling seq.
> > basically UsbProcessIRQ is the function that calls the right function
> > depending on the swichvalue. So you can either switch it there.
> > but be sure to check that the values are only used at one place.
> 
> I took a look at it. Can I simply change the order of the routines? I
> mean aren't there any dependencies?
> 
> > Do you have any other usb devices?
> 
> Yes. Just tried (again) my Logitech Cordless USB mouse with the debug
> drivers and it works fine. Gets listed in USB Resource Manager (from
> Netlabs).
> 
> > That could rule out some HW problems with your HC i.e. it could
> > be that reseting the device did not work. Also keep in mind USB is
> > hotplugable
> 
> like ps2 under OS/2 (I know it's not recommended, but it works) :]
> I tried to replug it several times. It just doesnt get detected.
> Previous USB drivers halted my system every 2 seconds and now I know
> why. The watch is plugged in at all times (at least this was the case
> here) and so the USB drivers retried and retried to attach to the
> device. It would be great, if IBM would implement some sort of beep
> like DANIS506, so people would get to know that something is wrong
> with the hardware.

No the USB drivers would not retry every 2 seconds.
What happens in your case is.
1 USBD sends notify me if port status changes to USBUHCD
(ListenStatusChangePipe)
2 Device pluged in
3 USBUHCD send port status changed notification to USBD
(HubStatusChanged)
4 USBD sends query port status  USBUHCD (GetPortStatus)
5 USBUHCD sends port status to USBD (HubPortStatusRetrieved)
6 USBD sends reset port to USBD (HubSetPortFeature)
7 PortStatusChanged Calls HubStatusChanged if it fails (goto 3)

8 HubPortStatusRetrieved should get that the status is STATUS_PORT_RESET
  and tries agasin to read the port status via GetPortStatus
  up to ROOT_HUB_RESET_RETRIES

9 HubStatusChanged resets the reset counter and goes to 1.

for some reason USBUHCI reports a status change later
maybe the switch from RESET to ENABLED or it simply resents the new
device
found.

So the system loops over and over.

So please enable all loging and you might want to try to increase
ROOT_HUB_RESET_RETRIES

also check if there is a typo in the usbidc.c file.
In my current one I find only HUB_RESET_RETRIES i.e. ROOT_ is missing
but I work on that driver so maybe thats just a local thing here
as an older source level of the driver doesn't have that.

But anyway try to increase the value. also keep in mind that
to much debug logging changed the timing of the driver so that can
break comunication as well.

for proper test one would need an USB Bus analyser. anyone here with
6000-10000 Euro to buy one :)

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

> Well yes but you only posted the lines starting with the error
> you might want to build an version and set the loglevel to log not only
> critical but all stuff.

Will do so tomorrow, so we should track it down.

btw. my notebook doesnt want to load the UHCI driver and reports "no
additional host ...". First of all, this is irritating and it comes
from increasing Devices-Count before actually getting the device.
Resources get checked, this fails, so Count is == 1. Now no further
(!) devices get found and the driver prints out "no additional"
instead of "resources problem" and/or "no host device found".

I posted that problem in c.o.o.b. and someone replied. He got exactly
the same bugger. As it seems the IRQ for the USB Host device is not
assigned. Probably hardware defect, so USB driver doesn't load. Any
ideas about this? Can it get fixed somehow just by tweaking the UHCI
driver? I will get an exact PCI-DeviceID tomorrow. USB controller is
from Intel.

> As for getting proper logs I also have problems if I use halite to
> connect.
> I found that when using PMDF to connect and log the same HW
combination works fine.

Hmm, I used t.exe from debug kernels.

> also check if there is a typo in the usbidc.c file.
> In my current one I find only HUB_RESET_RETRIES i.e. ROOT_ is missing
> but I work on that driver so maybe thats just a local thing here
> as an older source level of the driver doesn't have that.

It's okay in the source that I got here.

> But anyway try to increase the value. also keep in mind that
> to much debug logging changed the timing of the driver so that can
> break comunication as well.

of course.

> for proper test one would need an USB Bus analyser. anyone here with
> 6000-10000 Euro to buy one :)

lol ;) no chance hehe

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru



kiewitz2000 wrote:
> 
> > Well yes but you only posted the lines starting with the error
> > you might want to build an version and set the loglevel to log not only
> > critical but all stuff.
> 
> Will do so tomorrow, so we should track it down.

ok fine

> btw. my notebook doesnt want to load the UHCI driver and reports "no
> additional host ...". First of all, this is irritating and it comes
> >from increasing Devices-Count before actually getting the device.
> Resources get checked, this fails, so Count is == 1. Now no further
> (!) devices get found and the driver prints out "no additional"
> instead of "resources problem" and/or "no host device found".
> 
> I posted that problem in c.o.o.b. and someone replied. He got exactly
> the same bugger. As it seems the IRQ for the USB Host device is not
> assigned. Probably hardware defect, so USB driver doesn't load. Any
> ideas about this? Can it get fixed somehow just by tweaking the UHCI
> driver? I will get an exact PCI-DeviceID tomorrow. USB controller is
> >from Intel.

Well check you bios, on some you have an option like (Assign irq to USB)
alos you should set the Plug&Play OS to NO, so that the bios assigns 
resources. On some systems it helps also to enable the legacy 
(keyboard/mouse) support for USB as the BIOS of course also needs to 
assign a proper irq to the HC to use it during the emulation.

Last resort is probably a driver from veit which allows one to set/alter
PCI registers during boot. Can't remember the name though.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

The one place I have yet to see this post is on the VOICE News list -
submit@os2voice.org  This has about 800 subscribers, and is for the
express purpose of announcements related to OS/2 and eCS.  Subscription
information for the news list and many other lists can be found at
http://www.os2voice.org/mailinglists.html

Mark


In <E17ZXco-00078j-00@mail.xmission.com>, on 07/30/02 at 08:03 AM,
   "John Drabik" <jdrabik@xmission.com> said:

>>>http://www.fileleech.de/modules.php?name=News&new_topic=32
>>
>>Do you really think these polls are realistic ?  If so, dream on...

>Perhaps not, but if nobody visits, we don't learn anything at all (even
>if it's somewhat unrealistic).  Just as likely, lack of participation
>will lead some Bozo to declare "OS/2 is dead" again, and give us all a
>bad case of nausea.

>Somebody took the time to create the poll.  What does it hurt to
>participate once in a while?  That said, I don't think the DD list is the
>place to advertise the poll.  Then again, the SuperSite sure ain't goin'
>nowhere.

-- 

 From the eComStation Desktop of: Mark Dodel

Warpstock 2002, Come to the home of OS/2 - Austin, Texas  http://www.warpstock.org

For a choice in the future of personal computing, Join VOICE - http://www.os2voice.org

  "The liberty of a democracy is not safe if the people tolerate the growth of private power to a point where it becomes stronger than their democratic State itself.   That in it's essence, is Fascism - ownership of government by an individual, by a group or by any controlling private power." Franklin Delano Roosevelt, Message proposing the Monopoly Investigation, 1938 



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

> Well check you bios, on some you have an option like (Assign irq to USB)
> alos you should set the Plug&Play OS to NO, so that the bios assigns 
> resources. On some systems it helps also to enable the legacy 
> (keyboard/mouse) support for USB as the BIOS of course also needs to 
> assign a proper irq to the HC to use it during the emulation.

Sorry, the BIOS on my notebook is very, very limited. No switch for
PnP OS, no switch for USB Support. No nothing.

> Last resort is probably a driver from veit which allows one to set/alter
> PCI registers during boot. Can't remember the name though.

Wouldn't it be possible to implement support for this in the actual
UHCI driver? How can one simply and safely assign a PCI IRQ? Just look
for free resources and set it at (3Ch) in PCI Config? btw. does one
have to set the PCI Pin Byte in the Alloc-Resource structure for
proper results or is this filled out by RM? I could do a "work-around"
driver for this.

I mean for end-users tweaking their system is not appropriate.
Will do the USB logs today.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

> Wouldn't it be possible to implement support for this in the actual
> UHCI driver? How can one simply and safely assign a PCI IRQ? Just look
> for free resources and set it at (3Ch) in PCI Config? btw. does one
> have to set the PCI Pin Byte in the Alloc-Resource structure for
> proper results or is this filled out by RM? I could do a "work-around"
> driver for this.

Yuk, I would need to do it via PCI-BIOS. Anyway, probably it should be
possible somehow. The program you mentioned is SPCIIRQ, but it doesnt
does any autodetection, so the user has to specify the IRQ and that's
imho bad.

I did the USB log, again it's garbled. I will look into this today,
but at least you got something to work with.
It's too big to post it here, so I put it on HTTP. It was made with
MsgLevel=0x0F, should be enough.

http://kiewitzsoft.ath.cx/usbcapt.txt

It was made from the point, where I attach the device. All boot
messages are ommited.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

--- In os2ddprog@y..., "Ruediger Ihle" <R.Ihle@S...> wrote:
> >http://www.fileleech.de/modules.php?name=News&new_topic=32
> Why do you think developers here are interested in going to that site
> and click some button ? Do you really think these polls are realistic ?
> If so, dream on...

Hey, 28.18% for OS/2, 28.78 for Windy XP.
We got a big marketshare, don't we ;-))

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

--- In os2ddprog@y..., "John Drabik" <jdrabik@x> wrote:
> On Tue, 30 Jul 2002 15:22:36 +0200, Ruediger Ihle wrote:
> 
> >>http://www.fileleech.de/modules.php?name=News&new_topic=32
> >
> >Do you really think these polls are realistic ?  If so, dream on.
> >..
> 
> Perhaps not, but if nobody visits, we don't learn anything at all
> (even if it's somewhat unrealistic).  Just as likely, lack of
> participation will lead some Bozo to declare "OS/2 is dead" again,
> and give us all a bad case of nausea.
> 
> Somebody took the time to create the poll.  What does it hurt to
> participate once in a while?  That said, I don't think the DD 
> list is the place to advertise the poll.  Then again, the 
> SuperSite sure ain't goin' nowhere.
> 
> JD

Not only time to create the poll but also took time to 
add OS/2 as one of the operating systems to chose from.

I put this post on all the OS/2 discussion groups I am 
a 'member' of at Yahoo.com. I thought some might be interested
in it. I apologize if this is an inconvenience to anyone.

TomLeeM


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On Wed, 31 Jul 2002 06:54:38 -0000, kiewitz2000 wrote:

>UHCI driver? How can one simply and safely assign a PCI IRQ? Just look
>for free resources and set it at (3Ch) in PCI Config?

That's not enough. You have to setup the proper IRQ routing as well:

1) examine the PIRQ$ table in the BIOS for the actual wiring, possible
IRQ assignments and set up the IRQ router registers accordingly.
Sometimes the PIRQ table contains errors  8-|

2) examine the ACPI tables in the BIOS and execute the associated parts
of the ASL (IIRC ??) code

Not exactly something for the faint at heart.

Ciao,
  Dani



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

--- In os2ddprog@y..., "Daniela Engert" <dani@n...> wrote:

[...]
> 2) examine the ACPI tables in the BIOS and execute the associated parts
> of the ASL (IIRC ??) code
> 
> Not exactly something for the faint at heart.

Or simply by using Protected Mode PCI-BIOS SetIRQ API?! :)

btw. OS/2 is setting up PnP/ISA cards, isn't it. So why doesn't it set
up PCI cards as well? I mean if the "PnP OS Yes/No" option is removed
everywhere, we are somewhat out of business.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Wed, 31 Jul 2002 16:23:31 -0000, kiewitz2000 wrote:

>> 2) examine the ACPI tables in the BIOS and execute the associated parts
>> of the ASL (IIRC ??) code
>> 
>> Not exactly something for the faint at heart.
>
>Or simply by using Protected Mode PCI-BIOS SetIRQ API?! :)

If it works. MS considers the PCI BIOS and PIRQ$ stuff legacy (i.e.
something to get rid of) and rather ACPI the way to go. Thus BIOS
manufacturers don't spend much efforts in correctly implementing
non-ACPI functions - remember the decay in the quality of APM
implementations ?

>btw. OS/2 is setting up PnP/ISA cards, isn't it.

It is *not*! OS/2 is a "PnP aware OS" but not a "PnP OS". I.e. it knows
about PnP and honours PnP setups done before booting but it doesn't
setup PnP devices on its own (unless a driver chooses to do so).

>So why doesn't it set up PCI cards as well?
>I mean if the "PnP OS Yes/No" option is removed
>everywhere, we are somewhat out of business.

Exactly. Implementing a fully ACPI compliant ASL interpreter and an
IO-APIC irq router is badly required. Without sufficient documentation
of the PSD interface this is not a viable proposal for someone outside
IBM, I'm afraid.

Ciao,
  Dani



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

--- In os2ddprog@y..., "Daniela Engert" <dani@n...> wrote:
> >btw. OS/2 is setting up PnP/ISA cards, isn't it.
> It is *not*! OS/2 is a "PnP aware OS" but not a "PnP OS". I.e. it knows
> about PnP and honours PnP setups done before booting but it doesn't
> setup PnP devices on its own (unless a driver chooses to do so).

Hmm, documentation is not good in that area.
I thought OS/2 would disable all PnP/PCI cards, run the snooper
drivers and switch those cards back on. Is this untrue?

It shouldn't be that difficult to implement a native PnP configuration
driver. I mean all the resource requirements are there and you just
have to sort them out and assign resources. Every BIOS does this. PCI
is another matter. Is there any reason, why IBM never implemented it?

> >So why doesn't it set up PCI cards as well?
> >I mean if the "PnP OS Yes/No" option is removed
> >everywhere, we are somewhat out of business.
> Exactly. Implementing a fully ACPI compliant ASL interpreter and an
> IO-APIC irq router is badly required. Without sufficient documentation
> of the PSD interface this is not a viable proposal for someone outside
> IBM, I'm afraid.

Hmmm, IBM needs to support some bigger companies till (at least) 2008,
so APCI drivers probably show up. You never know. At least USB is
there and working quite fine.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/NsdPZD/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

--- In os2ddprog@y..., "kiewitz2000" <kiewitz@n...> wrote:
> Now my driver initializes everything correctly using this config:
> --- Logical Device 2 ---
> Enabled : Yes
> I/O #0  : 0620h
> 
> *BUT* the card isn't working.
> Now the original Creative driver configures the card that way:
> 
> --- Logical Device 2 ---
> Enabled : Yes
> I/O #0  : 0620h
> I/O #1  : 0A20h
> I/O #2  : 0E20h

I just found a Linux how-to that specifies exactly the same:
http://www.xs4all.nl/~wbsoft/linux/awe32.html

it's dutch, but the contents should be understandable. Look at "Play
n'Plug", section 9.

"Add the following lines":
 (IO 1 (BASE 0x0A20))
 (IO 2 (BASE 0x0E20))

So this is tweaking the PnP configuration as well. But how to do this
under OS/2. I'm still disassembling the SBAWE32 driver, but it's all
messy in there.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

--- In os2ddprog@y..., "kiewitz2000" <kiewitz@n...> wrote:
> So this is tweaking the PnP configuration as well. But how to do this
> under OS/2. I'm still disassembling the SBAWE32 driver, but it's all
> messy in there.

I just disassembled some more parts and it's accessing 279h. This
means its really doing its own PnP configuration via low-level access
(w/o any BIOS), so I have to do my own PnP access routines :)

I will do some generic routines for this, so if someone ever needs to
do PnP reconfiguration or something -> just ask me via e-mail.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/7dY7FD/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Folk:


>ICAT's 'official' web site is now defunct.  I will let you know when its
>new home is established.  That _should_ occur on July 31 -- best I can do.

The new download home is:

http://www6.software.ibm.com/devcon/devcon/docs/icos0602.htm

As the page notes:

When you click on the "Download" button below you will be presented with
the IBM developerWorks Toolbox subscription License agreement. You must
indicate your agreement with its terms and conditions before you will be
able to download the product.  You must be authorized for Guest Level
access to download this file.

This contains the 4.06 release of ICAT.  If you grab from here and
something's _wrong_, send me an e-mail.

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Discover Remote PC Acess Now
http://us.click.yahoo.com/p5uw2C/1ncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

In <OF2A529911.280AFAD8-ON85256C08.00684DBA@boulder.ibm.com>, on 08/01/02 
   at 03:12 PM, "Dave Evans" <davee@us.ibm.com> said:

>When you click on the "Download" button below you will be presented with
>the IBM developerWorks Toolbox subscription License agreement. You must
>indicate your agreement with its terms and conditions before you will be
>able to download the product.  You must be authorized for Guest Level
>access to download this file.

>This contains the 4.06 release of ICAT.  If you grab from here and
>something's _wrong_, send me an e-mail.

Thanks Dave.  Is this the same version that's on your FTP site or have
there been updates?

Regards,

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru


Steven:

>Thanks Dave.  Is this the same version that's on your FTP site or have
>there been updates?

It's the same -- no need for you to update (presently).

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Thu, 1 Aug 2002 15:12:35 -0400, Dave Evans wrote:

>When you click on the "Download" button below you will be presented 
with
>the IBM developerWorks Toolbox subscription License agreement. You 
must
>indicate your agreement with its terms and conditions before you will 
be
>able to download the product.  You must be authorized for Guest Level
>access to download this file.

Hmm, IBM recently deactivated my PartnerWorld for Developers ID because 
I wasn't associated with a company.
Never mind, using "guest" for username and password when prompted 
allows access to ICAT as well.....




The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru


Hi Paul:

>Hmm, IBM recently deactivated my PartnerWorld for Developers ID because
>I wasn't associated with a company.
>Never mind, using "guest" for username and password when prompted
>allows access to ICAT as well.....

Yes, I asked that ICAT be made available from Guest Access.

Regards,

Dave Evans
IBM Global Services / Global AMS Delivery
Bldg 962-2
745 West New Circle Rd
Lexington, KY 40511-1846

Voice:    (859) 243-4873 (T/L 545)
Fax:        (859) 243-4345
E-mail:   davee@us.ibm.com



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Thu, 1 Aug 2002 16:27:39 -0400, Dave Evans wrote:

>>Never mind, using "guest" for username and password when prompted
>>allows access to ICAT as well.....
>
>Yes, I asked that ICAT be made available from Guest Access.

OK, thanks for the clarification Dave. I (wrongly) understood it to 
mean Guest Level like on Devcon, where you had your own 
username/password which mapped to an access level (Guest, Member or 
Advanced if memory serves).




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Discover Remote PC Acess Now
http://us.click.yahoo.com/p5uw2C/1ncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

Hello

        A question: Does anybody know of a clean way of doing the inverse of a
VDHQueryLin? I am thinking in terms of using VDHAllocDOSMem at VDM create time
to create a lump of memory addressible by the DOS/WinOS/2 program, the address
of this lump could then be passed into the DOS app.

        Now if I knew for certain that the memory block was in the address space
of the dos app I could perform some arithmetic based on VDMBase and the hvdm to
yank a 16:16 pointer out of the address - but I am not sure if this would work
in VPM (WinOS/2)? Is this the only way to do it or is there a cleaner method?

        John.

 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Access Your PC from Anywhere - Free Trial
http://us.click.yahoo.com/o5uw2C/0ncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

--- In os2ddprog@y..., Dr J A Gow <J.A.Gow@f...> wrote:
>         A question: Does anybody know of a clean way of doing the
inverse of a
> VDHQueryLin? I am thinking in terms of using VDHAllocDOSMem at VDM
create time
> to create a lump of memory addressible by the DOS/WinOS/2 program,
the address
> of this lump could then be passed into the DOS app.
>         Now if I knew for certain that the memory block was in the
address space
> of the dos app I could perform some arithmetic based on VDMBase and
the hvdm to
> yank a 16:16 pointer out of the address - but I am not sure if this
would work
> in VPM (WinOS/2)? Is this the only way to do it or is there a
cleaner method?

You mean 16:16 Realmode pointer or a DPMI selector?
I'm using VDHAllocDOSMem for creating the hook-in code for all the
VCOMPAT fixes including the actual fixes and it's working quite nicely.
This gives you the linear (the virtual "physical") address in VDM
space (!). You don't have to mangle around with VDMBase. It's only
needed, when you want to access that memory from out of VDM context.
You can use HISEG macro to get the realmode segment from that address
and you could use QuerySel to get the selector. I don't know, if the
selector would be ring-3, so the VDM could access it. You would have
to try it. Allocating DPMI memory is afaik impossible, because the VDM
is initially in virtual Realmode. This could be done via stub driver
(for e.g. WinOS2) and the selector could get passed to a VDD using a
private VDD-API. (using VDHRegisterAPI, this needs no memory in DOS
session, you may access it using INT 2Fh, AX=4011h and I would check
for OS/2, if you include such code in any driver that could be
executed under plain DOS as well)

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Discover Remote PC Acess Now
http://us.click.yahoo.com/p5uw2C/1ncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

** Reply to note from "kiewitz2000" <kiewitz@netlabs.org> Sat, 03 Aug 2002 07:31:59 -0000
>   
>   
> You mean 16:16 Realmode pointer or a DPMI selector?
> I'm using VDHAllocDOSMem for creating the hook-in code for all the
> VCOMPAT fixes including the actual fixes and it's working quite nicely.
> This gives you the linear (the virtual "physical") address in VDM
> space (!). You don't have to mangle around with VDMBase. It's only
> needed, when you want to access that memory from out of VDM context.

I may well need it out of VDM context in the application I have in mind.
Obviously it would never be accessed in this context through the FAR16
real-mode pointer, but this would be a convenient place to construct this
pointer. Hence involving VDMBase.

> You can use HISEG macro to get the realmode segment from that address
> and you could use QuerySel to get the selector. I don't know, if the
> selector would be ring-3, so the VDM could access it. You would have
> to try it. 

> Allocating DPMI memory is afaik impossible, because the VDM
> is initially in virtual Realmode. 

I thought this may be the case. I'll have to wipe the dust off of my old Win16
references....

        John.


 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

--- In os2ddprog@y..., Dr J A Gow <J.A.Gow@f...> wrote:
> I may well need it out of VDM context in the application I have in mind.

DTA? ;-)

> Obviously it would never be accessed in this context through the FAR16
> real-mode pointer, but this would be a convenient place to construct
this
> pointer. Hence involving VDMBase.

There are some macros for getting such pointers:
// To reference instance data with an hvdm
#define pVDMData(hvdm)         
((PVDMDATA)((ULONG)&VDMData+(ULONG)(hvdm)))
#define pVDMResData(hvdm)      
((PVDMRESDATA)((ULONG)&VDMResData+(ULONG)(hvdm)))

// To reference arbitrary VDM data with an hvdm and arbitrary pointer
#define pVDM(hvdm,type,p)       ((type)((PBYTE)(p)+(ULONG)(hvdm)))

I don't know which one you would need to use. They were taken from
vdmm.h included in ddk.

cu, Kiewitz



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

** Reply to note from "kiewitz2000" <kiewitz@netlabs.org> Sat, 03 Aug 2002 15:08:09 -0000
>   
> > I may well need it out of VDM context in the application I have in mind.
>   
> DTA? ;-)
>
 
:)))

> #define pVDMData(hvdm)         
> ((PVDMDATA)((ULONG)&VDMData+(ULONG)(hvdm)))
> #define pVDMResData(hvdm)      
> ((PVDMRESDATA)((ULONG)&VDMResData+(ULONG)(hvdm)))
>   
> // To reference arbitrary VDM data with an hvdm and arbitrary pointer
> #define pVDM(hvdm,type,p)       ((type)((PBYTE)(p)+(ULONG)(hvdm)))
>   

I know about these, but I don't think the will work under VPM. I think I may
have to look to another method.

Damn, I wish I had a decent set of Intel x86 data books and references...

        John.
 

 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

In <200208031844.g73Ii4w8010091@serverbubble.furrybubble.co.uk>, on
08/03/02 
   at 07:41 PM, Dr J A Gow <J.A.Gow@furrybubble.co.uk> said:

>Damn, I wish I had a decent set of Intel x86 data books and references...

With a little bit of searching you can download .pdf's from the Intel
site.

  http://developer.intel.com/design/pentium4/manuals

is a good place to start.  For stuff that I know has not changed, I still
grab my circa 1986 hardcopy versions of the Intel 386 handbooks.  There
something about paper and post-it notes to still work for me. :-)

IBM's alp.inf is not too bad a reference either.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

--- In os2ddprog@y..., Dr J A Gow <J.A.Gow@f...> wrote:
> > #define pVDMData(hvdm)         
> > ((PVDMDATA)((ULONG)&VDMData+(ULONG)(hvdm)))
> > #define pVDMResData(hvdm)      
> > ((PVDMRESDATA)((ULONG)&VDMResData+(ULONG)(hvdm)))
> > // To reference arbitrary VDM data with an hvdm and arbitrary pointer
> > #define pVDM(hvdm,type,p)       ((type)((PBYTE)(p)+(ULONG)(hvdm)))
> I know about these, but I don't think the will work under VPM. I
think I may
> have to look to another method.

They should work.
You need to alloc the memory using e.g. a WinOS2 driver.
Then convert this address (supposingly selector:offset based) to a
"physical" address. I mean there has to be a conversion API somewhere
in WinOS2-API. This "physical" address is actually a linear address in
VDM context. Now send that address to your VDD, apply the macro and
you should have a fine absolute linear address :)

I'm already doing this in my VDMA replacement and it's working in
virtual real and protected mode. The virtual DMA ports get a
"physical" address from the application and I'm just using that
address as linear pointer (Of course, I need to apply some additional
conversion for e.g. DMA 16 bit).

> Damn, I wish I had a decent set of Intel x86 data books and
references...

I got a really good one, but it's german and I don't think that a
translation is available :(

cu, Kiewitz



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

** Reply to note from "Steven Levine" <steve53@earthlink.net> Sat, 03 Aug 2002 12:05:08 -0700
>   
>   
> With a little bit of searching you can download .pdf's from the Intel
> site.
>   
>   http://developer.intel.com/design/pentium4/manuals

I'll have a look at this, thanks for the link

>  There is something about paper and post-it notes to still work for me. :-)   

I agree :) 
I may try and get hardcopy versions if possible

> IBM's alp.inf is not too bad a reference either.

It's not so much the instruction set, internal structure map and so forth as I
already have good references for these since my DOS programming days. I am more
interested in references to the detailed operation of the memory-mangement and
mapping schemes in the more complex modes (preferably with lots of well-authored
diagrams) in relation to how OS/2 uses them. To date I have had to glean my
knowledge from narrative and reading source code. Some more detail would be good
:) 

        John.
 

 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

** Reply to note from "kiewitz2000" <kiewitz@netlabs.org> Sat, 03 Aug 2002 20:59:24 -0000

> You need to alloc the memory using e.g. a WinOS2 driver.

I want to avoid doing this. There is another method I can use which does not
rely on having to allocate DOS memory at all which is much cleaner - so I will
go down this route instead.

>   
> > Damn, I wish I had a decent set of Intel x86 data books and
> references...
>   
> I got a really good one, but it's german and I don't think that a
> translation is available :(
>   

Aber ich lese ziemlich gut deutsch.... :)

        John. 

 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

--- In os2ddprog@y..., Dr J A Gow <J.A.Gow@f...> wrote:
> > You need to alloc the memory using e.g. a WinOS2 driver.
> I want to avoid doing this.

I don't know how WinOS2 multimedia works, so probably if you get a
pointer to an audio buffer, allocated by the actual MM application,
you could convert that pointer to a "physical" one and give it to the
VDD. You may copy out the data from there using VDHCopyMem to an
internal VDD buffer (allocated using VDHAllocMem). So actually just
buffer forwarding.

> There is another method I can use which does not
> rely on having to allocate DOS memory at all which is much cleaner -
so I will
> go down this route instead.

like the one above? :)

> > > Damn, I wish I had a decent set of Intel x86 data books and
> > references...
> > I got a really good one, but it's german and I don't think that a
> > translation is available :(
> Aber ich lese ziemlich gut deutsch.... :)

lol
I could have talked to you in German the whole time ;-))

If you want to give that book a try:
ISBN 3-8273-1513-1 - "Das Assembler Buch" (the assembly book)
by Trutz E Podschun
about 1000 pages, includes almost everything about x86 including
RM/PM/optimization, a very detailed listing of every single opcode
(8086->P2 or 3), FPU and much more.

http://www.amazon.de/exec/obidos/ASIN/3827315131/qid=1028462190/sr=8-3/ref=sr_aps_prod_3_1/302-3792035-8472004
Just in case ;) It's 50 EUR, pretty expensive, but its worth it.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Access your PC just like Web Mail
http://us.click.yahoo.com/r5uw2C/zncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

** Reply to note from "kiewitz2000" <kiewitz@netlabs.org> Sun, 04 Aug 2002 12:03:18 -0000
>   
> I don't know how WinOS2 multimedia works, so probably if you get a
> pointer to an audio buffer, allocated by the actual MM application,
> you could convert that pointer to a "physical" one and give it to the
> VDD. You may copy out the data from there using VDHCopyMem to an
> internal VDD buffer (allocated using VDHAllocMem). So actually just
> buffer forwarding.
>   
> > There is another method I can use which does not
> > rely on having to allocate DOS memory at all which is much cleaner -
> so I will
> > go down this route instead.
>   
> like the one above? :)

Not quite. It's a control structure that is the problem, not a data buffer. The
whole concept of the DTA is to avoid data buffer copies wherever possible to
maintain efficiency at a maximum. The offending control structure is allocated
by the DTA subsystem and needs to be passed into the client during a callback.
Easy enough for 16 and 32 bit ring 0 clients, and for 32 bit ring 3 clients.
However VDMs are a little different. I already have a mechanism for WinOS/2
that works, I was just trying to improve on it.

>   
> > > > Damn, I wish I had a decent set of Intel x86 data books and
> > > references...
> > > I got a really good one, but it's german and I don't think that a
> > > translation is available :(
> > Aber ich lese ziemlich gut deutsch.... :)
>   
> lol
> I could have talked to you in German the whole time ;-))
>   
> If you want to give that book a try:
> ISBN 3-8273-1513-1 - "Das Assembler Buch" (the assembly book)
> by Trutz E Podschun
> about 1000 pages, includes almost everything about x86 including
> RM/PM/optimization, a very detailed listing of every single opcode
> (8086->P2 or 3), FPU and much more.
>   
> http://www.amazon.de/exec/obidos/ASIN/3827315131/qid=1028462190/sr=8-3/ref=sr_aps_prod_3_1/302-3792035-8472004
> Just in case ;) It's 50 EUR, pretty expensive, but its worth it.
>   

Danke! 

 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

--- In os2ddprog@y..., Dr J A Gow <J.A.Gow@f...> wrote:
> Not quite. It's a control structure that is the problem, not a data
buffer. The
> whole concept of the DTA is to avoid data buffer copies wherever
possible to
> maintain efficiency at a maximum. The offending control structure is
allocated
> by the DTA subsystem and needs to be passed into the client during a
callback.
> Easy enough for 16 and 32 bit ring 0 clients, and for 32 bit ring 3
clients.
> However VDMs are a little different. I already have a mechanism for
WinOS/2
> that works, I was just trying to improve on it.

If it's just a control structure (I suppose its small), just copy it.
I mean how many bytes are being used? 100? 200?
My VDMA is actual copying splitted DMA buffers (there is no other way
to do it) and it's working flawlessly and fast.
I don't think that you can easily pass a memory block (if at all) to a
VDM application/driver. Another possibility would be to generate a
stub-driver that will just forward all calls to the VDD, so the VDD
would do all the work and the control structure wouldn't be a problem
anymore.

cu, Kiewitz



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

** Reply to note from "kiewitz2000" <kiewitz@netlabs.org> Sun, 04 Aug 2002 15:20:16 -0000
>   
> If it's just a control structure (I suppose its small), just copy it.
> I mean how many bytes are being used? 100? 200?
> My VDMA is actual copying splitted DMA buffers (there is no other way
> to do it) and it's working flawlessly and fast.
> I don't think that you can easily pass a memory block (if at all) to a
> VDM application/driver. Another possibility would be to generate a
> stub-driver that will just forward all calls to the VDD, so the VDD
> would do all the work and the control structure wouldn't be a problem
> anymore.
>   

What I used to do was execute the callback, then require the callback function
itself to call the DTA to pass in the control structure. I was just trying to
avoid this step (as I do with 32-bit ring-3 clients) and send a pointer to the
control structure directly to the callback function on the stack. No, it's not
large, about 16 bytes.

        John.

 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

--- In os2ddprog@y..., Dr J A Gow <J.A.Gow@f...> wrote:
> What I used to do was execute the callback, then require the
callback function
> itself to call the DTA to pass in the control structure. I was just
trying to
> avoid this step (as I do with 32-bit ring-3 clients) and send a
pointer to the
> control structure directly to the callback function on the stack.
No, it's not
> large, about 16 bytes.

I don't quite understand.
You have to pass a control structure back to the DTA via your callback.
Instead of calling the DTA from callback, you want to send a pointer
to the control structure, when calling the callback, so actually
allocating the control buffer in DTA-space?

Why don't you simply let the VDD receive the callback, so your
approach would be possible. Afaik it's impossible for DOS
applications/WinOS2 drivers to access any memory that is outside VDM.
On the other hand, I would never modify VDM-space from anywhere, but a
VDD. You could also put the control structure in VDD instance space.
The VDD (in both cases) would forward the callback to the WinOS2
driver, so you would do (at least) a bit of work in the VDD and the
rest in the actual WinOS2-driver. The actual callback handling must be
done in VDD anyway (if its interrupt time), because afaik you are not
able to call VDM code at that time. You need to use VDHPushFarCall()
and execution may get delayed.

cu, Kiewitz



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

In <200208041041.g74AeRw8012764@serverbubble.furrybubble.co.uk>, on
08/04/02 
   at 11:37 AM, Dr J A Gow <J.A.Gow@furrybubble.co.uk> said:

>days. I am more interested in references to the detailed operation of the
>memory-mangement and mapping schemes in the more complex modes
>(preferably with lots of well-authored diagrams) in relation to how OS/2
>uses them. To date I have had to glean my knowledge from narrative and
>reading source code. Some more detail would be good :) 

These references are not so easy to find.  A lot of the little I know
comes out of Deitel and Kogan's "Design of OS/2" and the various OS/2
Debugging Handbooks.  Deitel and Kogan is excellent for explaining the why
of things.  It goes a long way to making the reference material in the
other books more understandable.

Last year, I had 3 copies of the the "Design of OS/2" get lost within the
US/Canada postal system and I'm still mourning their loss.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On Sun, 04 Aug 2002 17:19:58 -0700, Steven Levine wrote:

>>days. I am more interested in references to the detailed operation...
>
>These references are not so easy to find.  A lot of the little I know
>comes out of Deitel and Kogan's "Design of OS/2" ....
>
>Last year, I had 3 copies of the the "Design of OS/2" get lost within the
>US/Canada postal system and I'm still mourning their loss.

I have an extra copy, still in shrink wrap (!!), that I purchased for
one of my contractors just before he decided to move on (you won't
get my copy without a loaded bazooka and an oversized crowbar to pry
it from my fingers!).

I've been considering donating it to WarpStock for a prize; perhaps
it would be better to sell it to somebody on this group??  I seem to
recall paying about $50 for it, plus shipping.  More important than
the money, I'd want it to go to a good home, i.e., somebody who is
actively developing something for OS/2.  Anybody have any ideas on
how to do this equitably?

This is NOT (yet, at least) an offer to sell.

John Drabik



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Sun, 04 Aug 2002 17:19:58 -0700, Steven Levine wrote:

>These references are not so easy to find.  A lot of the little I know
>comes out of Deitel and Kogan's "Design of OS/2" and the various OS/2
>Debugging Handbooks.  Deitel and Kogan is excellent for explaining the why
>of things.  It goes a long way to making the reference material in the
>other books more understandable.

It's somewhat offtopic but I was in contact with Kogan about half a
year ago. I tried to get the rights on the book to republish it as PDF
(for free). I was quite successful until Deitel decided to not give the
rights away because he is planning a new Operating Systems book. Kogan
was quite pissed because he said he wrote 100% of the book and Deitel
was "just" the professor on his side back then.

Anyway, I got the book as DOC-Files (argh!) without images... I will
see what I can do about the subject, maybe there is still some hope.

>Last year, I had 3 copies of the the "Design of OS/2" get lost within the
>US/Canada postal system and I'm still mourning their loss.

That's a pity. Kogan was so nice to send me a signed copy of the book,
and I definitely won't sell that for any money out there :))

cu

Adrian


-- 
Adrian Gschwend
@ netlabs.org

ICQ: 22419590
ktk@netlabs.org
-------
The OS/2 OpenSource Project:
http://www.netlabs.org


The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

Hi/2.

I'm using Warp 4 for Korean.

I installed Device Driver FixPak #2. But, some special
keys(Korean/English change key, Hanja Key) don't work, and '\'
displays as'|', and so on.

So, I decided to use DDK. I surely compiled the keyboard drvier after
defined DBCSKBD. But, keyboard driver does not works correctly.

Can you help me ? Without this new driver, I cannot operate SDD/2 and
MAME in fullscreen mode.

         from KO Myung-Hun...



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

** Reply to note from "Steven Levine" <steve53@earthlink.net> Sun, 04 Aug 2002 17:19:58 -0700
>   
> In <200208041041.g74AeRw8012764@serverbubble.furrybubble.co.uk>, on
> 08/04/02 
>    at 11:37 AM, Dr J A Gow <J.A.Gow@furrybubble.co.uk> said:
>   
> >days. I am more interested in references to the detailed operation of the
> >memory-mangement and mapping schemes in the more complex modes
> >(preferably with lots of well-authored diagrams) in relation to how OS/2
> >uses them. To date I have had to glean my knowledge from narrative and
> >reading source code. Some more detail would be good :) 
>   
> These references are not so easy to find.  A lot of the little I know
> comes out of Deitel and Kogan's "Design of OS/2" and the various OS/2
> Debugging Handbooks.  Deitel and Kogan is excellent for explaining the why
> of things.  It goes a long way to making the reference material in the
> other books more understandable.
>   

I have Deitel and Kogan's book. It was one of the first things I bought after
having purchased OS/2 2.0 way back in the days of yore. Good book, interesting
reading but seemimgly lacking in the vital detail that would make it useful as a
programmer's reference.


> Last year, I had 3 copies of the the "Design of OS/2" get lost within the
> US/Canada postal system and I'm still mourning their loss.
>  
 
And I thought the UK postal system was bad!! :(

        John.

 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

On Mon, 5 Aug 2002 19:36:50 GMT, Dr J A Gow wrote:

>I have Deitel and Kogan's book. It was one of the first things I bought after
>having purchased OS/2 2.0 way back in the days of yore. Good book, interesting
>reading but seemimgly lacking in the vital detail that would make it useful as a
>programmer's reference.
>
 I'd say that's exactly what makes the book so valuable. It is NOT yet 
another reference. It actually explains how things work and why. That's 
not something a reference book does.


     Michal



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru ©шпщ "©ЮчДь" - Бпзчсч рК щу АэчжуБу Ауяу ъчврчшьБЛ тпжу щп рКтушущщчэ АуЮруЮу...

In <200208051839.g75IdTw8018392@serverbubble.furrybubble.co.uk>, on
08/05/02 
   at 07:36 PM, Dr J A Gow <J.A.Gow@furrybubble.co.uk> said:

>And I thought the UK postal system was bad!! :(

Well, to give the postal system a bit of a break, this occurred about a
month after 9/11, so anything going through customs was at risk.  There
were a couple of other snafu's beforehand.  The books were orignally not
even going to be sent though the mail.  Perhaps, I should have taken more
precautions but this is really the first significant problem I've ever had
with the US postal service.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Access your PC just like Web Mail
http://us.click.yahoo.com/r5uw2C/zncEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

In <200208051519.000000C2@warped.netlabs.org>, on 08/05/02 
   at 03:21 PM, "Adrian Gschwend" <ktk@netlabs.org> said:


>It's somewhat offtopic but I was in contact with Kogan about half a year
>ago. I tried to get the rights on the book to republish it as PDF (for
>free). I was quite successful until Deitel decided to not give the rights
>away because he is planning a new Operating Systems book. Kogan was quite
>pissed because he said he wrote 100% of the book and Deitel was "just"
>the professor on his side back then.

I recall you mentioning this.  Perhaps something good will yet come of
this.

For those looking for a copy try:

  http://dogbert.abebooks.com/abe/BookSearch

and search for:

  design os/2

This produced a couple of hits at reasonable prices although there's no
way to know if the copies are still available.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/it_ffB/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

** Reply to note from "Michal Necasek" <MichalN@scitechsoft.com> Mon, 05 Aug 2002 11:39:13 -0700 (PDT)
>   
> On Mon, 5 Aug 2002 19:36:50 GMT, Dr J A Gow wrote:
>   
> >I have Deitel and Kogan's book. It was one of the first things I bought after
> >having purchased OS/2 2.0 way back in the days of yore. Good book, interesting
> >reading but seemimgly lacking in the vital detail that would make it useful as a
> >programmer's reference.
> >
>  I'd say that's exactly what makes the book so valuable. It is NOT yet 
> another reference. It actually explains how things work and why. That's 
> not something a reference book does.
>   

I don't dispute the book's value at all - just that it does not contain the
detailed information that I am looking for at the moment.

        John.

 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/09Lw8C/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....


> 
> Well, to give the postal system a bit of a break, this occurred about a
> month after 9/11, so anything going through customs was at risk.  There
> were a couple of other snafu's beforehand.  The books were orignally not
> even going to be sent though the mail.  Perhaps, I should have taken more
> precautions but this is really the first significant problem I've ever had
> with the US postal service.
> 
> Steven

Well now reading this that reminds me of it.
Btw Steven 'll you make it to WS in Austin this year?
Al least I could invite you to dinner or someting for trying to get 
those books to me.

Or any other wish I could grant you like a special USB driver :)

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/09Lw8C/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Hi All,
I just bought a cheap S3 397 based Savage4 card, only to find that SDD won't correctly 
recognise the video ram, and hence won't work, and that the S3 drivers only work with 
the 395 and 396 based Savage4's.

Scitech state that they need the card to be able to fix the problem with their Savage4 
driver, but was wondering if I might be able to patch the S3 driver with the chipset ID for 
the 397.  Does anyone know which file contains chipset ID's for OS/2 video drivers?

I know that other OS/2 drivers have been patched to recognise similar chipsets so am 
hoping this may be feasible!

Regards,

Paul.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/09Lw8C/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On Mon, 05 Aug 2002 22:12:52 +0100, Markus Montkowski wrote:

<OT>

>Btw Steven 'll you make it to WS in Austin this year?

So it looks like all of the usual suspects from Europe are there ;-)

</OT>

Ciao,
  Dani



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/09Lw8C/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

On Tue, 06 Aug 2002 20:33:18 -0400 (EDT), Paul Smedley wrote:

>Scitech state that they need the card to be able to fix the problem with their Savage4 
>driver, but was wondering if I might be able to patch the S3 driver with the chipset ID for 
>the 397.  Does anyone know which file contains chipset ID's for OS/2 video drivers?

It depends. Usually the video driver is some DLL in \OS2\DLL. In case of SDD/SNAP this is \OS2\DRIVERS\nucleus\GRAPHICS.BPD which contains a *long* list (human readable) of supported chips. SNAP 2.0.0rc1 lists these Savage PCI IDs:

5333:9102 savage2k.drv.Apr.05.2002.17.05.00   ; S3 Savage2000            
5333:8A25 savage3d.drv.May.29.2002.17.24.54   ; S3 ProSavage (VIA KM133) 
5333:8A26 savage3d.drv.May.29.2002.17.24.54   ; S3 ProSavage (VIA KM133) 
5333:8A25 savage3d.drv.May.29.2002.17.24.54   ; S3 ProSavage (VIA PM133) 
5333:8A26 savage3d.drv.May.29.2002.17.24.54   ; S3 ProSavage (VIA PM133) 
5333:8C10 savage3d.drv.Jun.12.2002.15.52.29   ; S3 Savage/MX/IX          
5333:8C11 savage3d.drv.Jun.12.2002.15.52.29   ; S3 Savage/MX/IX          
5333:8C12 savage3d.drv.Jun.12.2002.15.52.29   ; S3 Savage/MX/IX          
5333:8A20 savage3d.drv.Jun.01.2000.15.46.36   ; S3 Savage3D              
5333:8A21 savage3d.drv.Jun.01.2000.15.46.36   ; S3 Savage3D              
5333:8A22 savage3d.drv.Jun.12.2002.15.52.29   ; S3 Savage4               
5333:8C2E savage3d.drv.Jun.12.2002.15.52.29   ; S3 SuperSavage/IXC       
5333:8C2F savage3d.drv.Jun.12.2002.15.52.29   ; S3 SuperSavage/IXC       

BTW, S3 states this:

Savage4 Part Numbers 86C394-86C399 DeviceID 8A22

Ciao,
  Dani



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/it_ffB/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

In <200208061502.RAA03155@myway.myway.de>, on 08/06/02 at 09:04 AM,
   "Daniela Engert" <dani@ngrt.de> said:

>On Mon, 05 Aug 2002 22:12:52 +0100, Markus Montkowski wrote:

><OT>

>>Btw Steven 'll you make it to WS in Austin this year?

>So it looks like all of the usual suspects from Europe are there ;-)

></OT>

>Ciao,
>  Dani

and Dani will be giving a presentation in Austin this year. :-)  

And then you guys get to do it all again a month later in Arnhem.  

Mark

-- 

 From the eComStation Desktop of: Mark Dodel

Warpstock 2002, Come to the home of OS/2 - Austin, Texas  http://www.warpstock.org

For a choice in the future of personal computing, Join VOICE - http://www.os2voice.org

  "The liberty of a democracy is not safe if the people tolerate the growth of private power to a point where it becomes stronger than their democratic State itself.   That in it's essence, is Fascism - ownership of government by an individual, by a group or by any controlling private power." Franklin Delano Roosevelt, Message proposing the Monopoly Investigation, 1938 



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/09Lw8C/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

I wonder if this is worth it. Sounds very much like a birthday
celebration for someone with a terminal illness.
Yeah, you can arrive with a cake and smile, pretend everything is
allright, but in the end you know this is going to be the last one...

:-/

(Sorry, I don't want to burst anyone's bubble, but I'm very depressed
and discouraged by IBM's lack of commitment to the platform, even for
paying software choice subscribers, for things as simple as porting the
ibm java 1.4 VM from AIX, Linux or Win32, to OS/2).

Regards

Fernando
Buenos Aires, Argentina

madodel@ptdprolog.net wrote:

>  In <200208061502.RAA03155@myway.myway.de>, on 08/06/02 at 09:04 AM,
>    "Daniela Engert" <dani@ngrt.de> said:
>
> >On Mon, 05 Aug 2002 22:12:52 +0100, Markus Montkowski wrote:
>
> ><OT>
>
> >>Btw Steven 'll you make it to WS in Austin this year?
>
> >So it looks like all of the usual suspects from Europe are there ;-)
>
> ></OT>
>
> >Ciao,
> >  Dani
>
> and Dani will be giving a presentation in Austin this year. :-)
>
> And then you guys get to do it all again a month later in Arnhem.
>
> Mark
>
> --
>
> From the eComStation Desktop of: Mark Dodel
>
> Warpstock 2002, Come to the home of OS/2 - Austin, Texas
> http://www.warpstock.org
>

__________
Некоторые падают, а некоторые нет - http://www.newhost.ru
On Tue, 06 Aug 2002 22:22:47 -0300, Fernando Cassia wrote:

>I wonder if this is worth it. Sounds very much like a birthday
>celebration for someone with a terminal illness.
>Yeah, you can arrive with a cake and smile, pretend everything is
>allright, but in the end you know this is going to be the last one...
>
 1) You don't know that

 2) Why not have some fun while it lasts?

>(Sorry, I don't want to burst anyone's bubble, 
>
 You're not bursting my bubble - I don't have any.

>but I'm very depressed
>and discouraged by IBM's lack of commitment to the platform, even for
>paying software choice subscribers, for things as simple as porting the
>ibm java 1.4 VM from AIX, Linux or Win32, to OS/2).
>
 IBM _needs_ some way to get people off OS/2, don't they?


       Michal



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/09Lw8C/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
бьЕп ЦзЮпьщАзпО щчГЛ, щч АпыБьз шЦГХу ъуЮуъЮОБпБЛ... http://www.newhost.ru - эуАБч тчАБчыщчу ╡пХусч АпыБп!

In <3D507667.4FE752DE@compuserve.com>, on 08/06/02 at 10:22 PM,
   Fernando Cassia <fcassia@compuserve.com> said:


>I wonder if this is worth it. Sounds very much like a birthday
>celebration for someone with a terminal illness.
>Yeah, you can arrive with a cake and smile, pretend everything is
>allright, but in the end you know this is going to be the last one...

First off OS/2 isn't going anywhere just yet, despite the cries to the
contrary and IBM's best efforts to kill it off.  I wouldn't have accepted
the job of running Warpstock if it were to stage a wake.  Its a party
true, but its also an attempt to keep the show going.  Developers get to
meet and discuss projects.  We all even learn some new stuff about OS/2. 
And since the mountain wouldn't come to us we decided to go to the
mountain this year, hence the selection of Austin.  It will be a great way
to meet some of the people from IBM who have been doing a lot of the work
to keep OS/2 going.

>:-/

>(Sorry, I don't want to burst anyone's bubble, but I'm very depressed and
>discouraged by IBM's lack of commitment to the platform, even for paying
>software choice subscribers, for things as simple as porting the ibm java
>1.4 VM from AIX, Linux or Win32, to OS/2).

Anyone that wants to see what IBM has in store for OS/2 (and its not a
wooden box with handles) come to Austin in October.   There is a
presentation to be given by IBM called the "miracle".  And no I can't say
what it is, but people in Austin will be the first to find out.  To some
it may not be quite a miracle, but I think people, including maybe even
Fernando, will be extremely pleased. :-)

Mark

-- 

 From the eComStation Desktop of: Mark Dodel

Warpstock 2002, Come to the home of OS/2 - Austin, Texas  http://www.warpstock.org

For a choice in the future of personal computing, Join VOICE - http://www.os2voice.org

  "The liberty of a democracy is not safe if the people tolerate the growth of private power to a point where it becomes stronger than their democratic State itself.   That in it's essence, is Fascism - ownership of government by an individual, by a group or by any controlling private power." Franklin Delano Roosevelt, Message proposing the Monopoly Investigation, 1938 



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/09Lw8C/PfREAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

On Tue, 06 Aug 2002 22:20:42 -0400, madodel@ptdprolog.net wrote:

>Anyone that wants to see what IBM has in store for OS/2 (and its not a
>wooden box with handles) come to Austin in October.   There is a
>presentation to be given by IBM called the "miracle".  And no I can't say
>what it is, but people in Austin will be the first to find out.  To some
>it may not be quite a miracle, but I think people, including maybe even
>Fernando, will be extremely pleased. :-)
>
 Darn! I hate it when other people so obviously know more than me ;-)


      Michal



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/it_ffB/R_ZEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
бьЕп ЦзЮпьщАзпО щчГЛ, щч АпыБьз шЦГХу ъуЮуъЮОБпБЛ... http://www.newhost.ru - эуАБч тчАБчыщчу ╡пХусч АпыБп!

In <3D4EEA54.4E042337@gmx.de>, on 08/05/02 
   at 10:12 PM, Markus Montkowski <mmontkowski@gmx.de> said:

>Well now reading this that reminds me of it.
>Btw Steven 'll you make it to WS in Austin this year?

I'm hoping to fit it in.  I need to start planning.

>Al least I could invite you to dinner or someting for trying to get 
>those books to me.

The or something sounds good. :-)

>Or any other wish I could grant you like a special USB driver :)

Heck, I just want enough free time to write some driver code.  A resource
managed 100Mbit PCMCIA NIC sounds like something useful. :-)

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

Hi !

I'm currently developing a PnP ISA/PCI configuration driver.
The main purpose is to be able to configure disabled devices,
reconfigure existing devices and detecting all devices on the system
including modifications that were done to the system.

How does Resource-Manager work internally, I mean I can take resources
and assign them to an adapter or device *but* I want to take those
resources and assign them to a physical device, so that a) they won't
be available for assigning them to further physical devices (so I
don't have to do my own resource managment), but those resources need
to be available to device drivers of course.

I bet I need to call CreateDetected(), but how does it work internally?
I mean is Resource-Manager changing its behaviour after all snoopers
got loaded? e.g. some sort of "Snooper Resources" and "Driver
Resources" switching, so that Snoopers won't be able to get other
snoopers hardware *but* drivers will be able to take those hardware
resources?

Documentation is a little bit vague on that topic.

Additionally: Changing hardware of a device seems impossible, so a) I
need to destroy the previous device or b) get rid of the old PnP
snooper altogether (not a real problem, because I need to detect
everything by myself anyway). What's the snooper for PCI devices? Is
there one? I'm currently using OEMHLP$ to detect PCI devices in my own
PDDs, because I couldnt find out how to convert a PCI Vendor/DeviceID
pair into a ResourceManagerID. So the best thing for me would be no
PCI devices (hardware!) at all in Resource manager, so I could simply
configure them.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

--- In os2ddprog@y..., "kiewitz2000" <kiewitz@n...> wrote:
> How does Resource-Manager work internally, I mean I can take resources
> and assign them to an adapter or device *but* I want to take those
> resources and assign them to a physical device, so that a) they won't
> be available for assigning them to further physical devices (so I
> don't have to do my own resource managment), but those resources need
> to be available to device drivers of course.

At least I found something interesting. I'm posting this here for
future reference:

>A .SNP file is the device detection code
>from your normal driver (ie, it is built like a .ADD
>and uses the same calls, but talks to Resource Manager
>with a new 'driver type' bit setting to indicate its
>a snooper.. then the driver (.SNP) exits quietly (install
>request packet status = 0x8115 on exit, code size/data size=0)
>
>The resource manager data is LEFT behind to indicate that
>these resources will be consumed by the driver later...
>
>I am the author and architect of this PnP stuff for 
>Warp 4, so you can contact me offline... at the above address..
>
>also, the source for a snooper SHOULD be on the ddk,
>which you can get free at
[...]

Thanx google.
Anyway, I would really like to hear something more detailed, but it
seems that there are 2 different "modes" of operation. Instead of
switching global modes, ResourceManager looks at the Device-Driver
header and checks, if it's a snooper device. So I think it should work
as long as I define my driver as being a snooper. I guess I will also
need to get rid of the good ol' '96 PnP snooper :]

Still PCI support is bothering me. I really wonder, if there is
another snooper somewhere, otherwise it will be relatively easy work.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

In <aitgmd+pff6@eGroups.com>, on 08/08/2002 
   at 10:21 AM, "kiewitz2000" <kiewitz@netlabs.org> said:

>How does Resource-Manager work internally,

RM is little more than a database.  Device drivers give it a list of
resources they allocated, so that other device drivers can query that
list.  It technically has features that enable/disable such resources, but
I don't think those features are actually used anywhere.

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

On Thu, 08 Aug 2002 10:21:01 -0000, kiewitz2000 wrote:

>What's the snooper for PCI devices?

x:\OS2\BOOT\PCIBUS.SNP

Ciao,
  Dani



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

--- In os2ddprog@y..., "Daniela Engert" <dani@n...> wrote:
> >What's the snooper for PCI devices?
> x:\OS2\BOOT\PCIBUS.SNP

And how can I search for a PCI device?

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

On Thu, 08 Aug 2002 15:38:27 -0000, kiewitz2000 wrote:

>> >What's the snooper for PCI devices?
>> x:\OS2\BOOT\PCIBUS.SNP

>And how can I search for a PCI device?

I don't know and - honestly - I don't care. My drivers do the PCI bus
scanning on their own instead of relying on possibly incorrect RM
database info. I find it annoying being forced to run a hardware
discovery *by hand* each time I change some hardware in my machines or
seeing devices to fail otherwise. RM is an important tool but it's
half-cooked only w.r.t. some aspects.

Ciao,
  Dani



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

--- In os2ddprog@y..., "Daniela Engert" <dani@n...> wrote:
> On Thu, 08 Aug 2002 15:38:27 -0000, kiewitz2000 wrote:
> 
> >> >What's the snooper for PCI devices?
> >> x:\OS2\BOOT\PCIBUS.SNP
> >And how can I search for a PCI device?
> I don't know and - honestly - I don't care. My drivers do the PCI bus
> scanning on their own instead of relying on possibly incorrect RM
> database info.

I don't want to use that feature, but I will need to support it,
because I probably need to replace the corresponding snoopers.

> I find it annoying being forced to run a hardware
> discovery *by hand* each time I change some hardware in my machines or
> seeing devices to fail otherwise.

That's exactly what I want to do. Automatic detection of hardware, but
user-configurable resource assignment on insertion, BIOS-preconfigured
device compatibility and user-commands like e.g. "ignore hardware", so
freshly detected hardware will only be shown once. Later hardware will
be also configurable, but the user will have to especially "ask" for it.
As it seems, I will also provide a new driver API, so new drivers can
use that one and that will combine almost every other API that is
available under OS/2. It will be smaller, easier to use and not that
"ground-based" like the current ones, of course it will restrict
somehow, but that's life.

> RM is an important tool but it's
> half-cooked only w.r.t. some aspects.

That's right. I'm only using it for resource managment. My daemon will
use an internal protocol for exchanging detection data with the PDD
and the daemon will write a configuration file that will hold the
actual hardware configuration. It will also be possible to include
support using e.g. a WPS-class. The daemon that I'm working on will
executed during IPL and will contain a simple-to-use textmode
interface, so that it will be even possible to modify graphic card
resource assignments, before booting into WPS.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

Is it possible to create the OS/2 support for these devices using this
SDK?
Is IBM doing it already?

link:
http://developer.apple.com/firewire/platform.html

Thanks

Leonardo Pino


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hello

I'm just reposting this from last year as it went unanswered then. The problem
is still current and there may now (hopefully) be someone out there with a
suggestion ..:)



        I have run into a strange problem with a call to
VMProcessToGlobal failing whenever VEMS is active. Essentially what I am trying
to do is as follows:

        A VDD receives an address to a chunk of DOS VPM session
memory and uses VDHLockMem to lock it before passing it into a PDD where
DevHelp_VMProcessToGlobal is called to get an r0 global mapping of the
area.

All proceeds OK up until this point. Now if VEMM.SYS is loaded and the
corresponding DOS session setting EMS_MEMORY_LIMIT is set nonzero, then
VMProcessToGlobal fails with an error code corresponding to
ERROR_CROSSES_OBJECT_BOUNDARY. If I either turn EMS off by setting
EMS_MEMORY_LIMIT to zero, or by commenting VEMM.SYS out of CONFIG.SYS,
then everything works exactly as expected, and consistently.

The weird thing is this behaviour is not always consistent. Even on the same
machine I have found that once in a long while the mapping will proceed
successfully even with EMS enabled in the DOS session - then fail again
on the next attempt. The actual value of EMS_MEMORY_LIMIT makes no difference
- the failure is dependent only upon the value being nonzero. Furthermore, on
some machines in the field I have found that the call fails no matter
whether or not the value of EMS_MEMORY_LIMIT is zero and the only way to get
the call to work is to comment out VEMM.SYS from the config.sys. Fixpack level
seems to make no difference, even across the FP12/FP13 boundary.

I'm puzzled by this, and have not had much luck so far trying to ferret out
the problem with the kernel debugger, so I would appreciate any insight from
those of us who know a little more about the way VEMM interacts with the kernel
memory management. Any advice would be welcome...

Just for information, and if it helps, here is the vital statistics of
the chunk of memory I am trying to map:

Lin base address: 000983e8 
size:             6c70
Error code from VM_ProcessToGlobal: 801e

Thanks in advance for any help

       John.


 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

[...]
>         A VDD receives an address to a chunk of DOS VPM session
> memory and uses VDHLockMem to lock it before passing it into a PDD where
> DevHelp_VMProcessToGlobal is called to get an r0 global mapping of the
> area.

If you can't find any solution for it -> just copy out the buffer via
VDHCopyMem to an internal destination buffer. This will work and won't
give you much overhead. I'm also emulating DMA that way.

> All proceeds OK up until this point. Now if VEMM.SYS is loaded and the
> corresponding DOS session setting EMS_MEMORY_LIMIT is set nonzero, then
> VMProcessToGlobal fails with an error code corresponding to
> ERROR_CROSSES_OBJECT_BOUNDARY. If I either turn EMS off by setting
> EMS_MEMORY_LIMIT to zero, or by commenting VEMM.SYS out of CONFIG.SYS,
> then everything works exactly as expected, and consistently.

If you could send me some example driver that I can load and where I
get an INT3 breakpoint at the problematic function, then I will try to
debug it out for you. But even, if we find the cause -> will IBM fix
it? I don't think so. I'm not in the mood for rewriting VEMM as well,
I could probably ;) I can take a look anyway, but I would propose that
you copy out each buffer. It's not the best method, but it should work
even without intervention with IBM and that's important.

> I'm puzzled by this, and have not had much luck so far trying to
ferret out
> the problem with the kernel debugger, so I would appreciate any
insight from
> those of us who know a little more about the way VEMM interacts with
the kernel
> memory management. Any advice would be welcome...

I bet VEMM is really mapping around memory and probably that's the
problem.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

Is there a way to get the current thread limitation
from within a driver?

Inspecting the CONFIG.SYS file is possible, of course,
but doesn't seem to be the right way. I hope the kernel
stores the limitation somewhere so that it may be accesses
through the SAS, but I can't find any trace of it.

Nick Saxon



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

for a sample how to find pci device downloas autonic.zip from hobbes it scan
the pci bus
a give you a table with all the pci device present in the computer

Daniela Engert wrote:

> On Thu, 08 Aug 2002 15:38:27 -0000, kiewitz2000 wrote:
>
> >> >What's the snooper for PCI devices?
> >> x:\OS2\BOOT\PCIBUS.SNP
>
> >And how can I search for a PCI device?
>
> I don't know and - honestly - I don't care. My drivers do the PCI bus
> scanning on their own instead of relying on possibly incorrect RM
> database info. I find it annoying being forced to run a hardware
> discovery *by hand* each time I change some hardware in my machines or
> seeing devices to fail otherwise. RM is an important tool but it's
> half-cooked only w.r.t. some aspects.
>
> Ciao,
>   Dani
>
>
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
>
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....
Hi !

I would really like to exchange the PCI functions from OEMHLP$.
The original OEMHLP$ does everything using BIOS access and that's
quite bad, because some of them are buggy. FindClass-API is often
mangled up, so choosing to use direct hardware access would be great.

My new API under GCONFIG is now working, under Ring-0 *and* Ring-3
concurrently including under Ring-3 INIT time (hehe) everytime via IDC
(direct far-call interface).

I could write a driver that will use GCONFIG API to emulate the PCI
OEMHLP$ functions, but how is it working? Is the full OEMHLP$
implemented in OS2LDR/OS2KRNL? Is there some method to replace/inject
some functions?
Would I need to generate a full-replacement and hex-edit OEMHLP$ out
of OS2LDR/KRNL?

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Mon, Aug 12, 2002 at 01:20:23PM -0000, kiewitz2000 wrote:
> Hi !
> 
> I would really like to exchange the PCI functions from OEMHLP$.
> The original OEMHLP$ does everything using BIOS access and that's
> quite bad, because some of them are buggy. FindClass-API is often
> mangled up, so choosing to use direct hardware access would be great.
> 
> My new API under GCONFIG is now working, under Ring-0 *and* Ring-3
> concurrently including under Ring-3 INIT time (hehe) everytime via IDC
> (direct far-call interface).
> 
> I could write a driver that will use GCONFIG API to emulate the PCI
> OEMHLP$ functions, but how is it working? Is the full OEMHLP$
> implemented in OS2LDR/OS2KRNL? Is there some method to replace/inject

Yes, OEMHLP is part of the kernel. Unlike to a normal driver, it is
installed in the kernel during its initialization time. The kernel
basically fakes the INIT strategy call, or precisely, since it
knows what oemhlp has to perform, it can simply link oemhlp into
the driver chain, and run the necessary initialization code by itself. 
When the first user driver is loaded from CONFIG.SYS,
all setup has already been done.

In theory, you could walk the driver chain through SAS and find the
OEMHLP device header and bend the entry points to an own driver, but
I haven't checked that yet (there are a few devices where this won't
work, as they have incomplete device headers in the kernel).

The drawback is that you cannot be sure that the kernel itself will
use the new functionality (drivers that refer to OEMHLP$ will *after*
that, as they usually use the IDC/DevHlp APIs to obtain a pointer to 
OEMHLP. The problem is that the kernel of course has knowledge about
the internal logic of oemhlp and will call the routines directly,
rather than using the slow strategy/IDC entries.

> some functions?
> Would I need to generate a full-replacement and hex-edit OEMHLP$ out
> of OS2LDR/KRNL?

You won't be lucky to hexedit it out - the code is too far distributed
over the kernel image. Of course, you would need to patch each existing
kernel version separately... The code has been relocated in the kernel
several times, so searching for patch patterns is not really successful.

Holger

-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

--- In os2ddprog@y..., Holger Veit <holger.veit@a...> wrote:
> > I could write a driver that will use GCONFIG API to emulate the PCI
> > OEMHLP$ functions, but how is it working? Is the full OEMHLP$
> > implemented in OS2LDR/OS2KRNL? Is there some method to replace/inject
> Yes, OEMHLP is part of the kernel. Unlike to a normal driver, it is
> installed in the kernel during its initialization time. The kernel
> basically fakes the INIT strategy call, or precisely, since it
> knows what oemhlp has to perform, it can simply link oemhlp into
> the driver chain, and run the necessary initialization code by itself. 
> When the first user driver is loaded from CONFIG.SYS,
> all setup has already been done.
[...]
> The drawback is that you cannot be sure that the kernel itself will
> use the new functionality (drivers that refer to OEMHLP$ will *after*
> that, as they usually use the IDC/DevHlp APIs to obtain a pointer to 
> OEMHLP. The problem is that the kernel of course has knowledge about
> the internal logic of oemhlp and will call the routines directly,
> rather than using the slow strategy/IDC entries.

I don't want to walk around in kernel internals and modify stuff,
because I could break major things in there.

> > some functions?
> > Would I need to generate a full-replacement and hex-edit OEMHLP$ out
> > of OS2LDR/KRNL?
> You won't be lucky to hexedit it out - the code is too far distributed
> over the kernel image. Of course, you would need to patch each existing
> kernel version separately... The code has been relocated in the kernel
> several times, so searching for patch patterns is not really successful.

Actually I meant changing the drivername "OEMHLP$" into something
different like "OEMORG$", so drivers will access my driver instead. I
don't mind what the kernel does internally. The problem is with the
drivers. So if I could make the kernel match my OEMHLP$ driver instead
of its own, this would solve most problems. Also I would not have to
change any kernel code.
It should be possible to do such modification run-time. My primary
concern are PCI drivers. I don't want to exchange the whole API-set,
because it's not needed. I would also forward all Non-PCI calls to the
original driver.

My new GCONFIG is also NULing out PCIGetConfig requests, if they are
done to non-existant devices. It will restrict access on
single-function devices as well (so drivers won't be able to access
configuration area of function 1-7 on such devices "physically").
Additionally the FindDevice/FindClass routine will actually search in
GCONFIG detection area instead of searching via BIOS or hardware.

Good solution? I mean probably the only one that is possible.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Hi Kiewitz,
I was not following this thread completely,can you explain to me your
GCONFIG and what services it offers.
I have been trying to use OEMHELP$ for pci configuration and I am stuck with
SLOT identifiaction and IRQ routing of PCI devices and I have fashioned a
solution which runs in DOS to find these details.
Does your GCONFIG use BIOS32 Dir calls from OS/2.
 
Thanks in Advance
 
R.Ananth
 
-----Original Message-----
From: kiewitz2000 [mailto:kiewitz@netlabs.org]
Sent: Monday, August 12, 2002 11:14 AM
To: os2ddprog@yahoogroups.com
Subject: [os2ddprog] Re: OEMHLP$ Replacement, but how?


--- In os2ddprog@y..., Holger Veit <holger.veit@a...> wrote:
> > I could write a driver that will use GCONFIG API to emulate the PCI
> > OEMHLP$ functions, but how is it working? Is the full OEMHLP$
> > implemented in OS2LDR/OS2KRNL? Is there some method to replace/inject
> Yes, OEMHLP is part of the kernel. Unlike to a normal driver, it is
> installed in the kernel during its initialization time. The kernel
> basically fakes the INIT strategy call, or precisely, since it
> knows what oemhlp has to perform, it can simply link oemhlp into
> the driver chain, and run the necessary initialization code by itself. 
> When the first user driver is loaded from CONFIG.SYS,
> all setup has already been done.
[...]
> The drawback is that you cannot be sure that the kernel itself will
> use the new functionality (drivers that refer to OEMHLP$ will *after*
> that, as they usually use the IDC/DevHlp APIs to obtain a pointer to 
> OEMHLP. The problem is that the kernel of course has knowledge about
> the internal logic of oemhlp and will call the routines directly,
> rather than using the slow strategy/IDC entries.

I don't want to walk around in kernel internals and modify stuff,
because I could break major things in there.

> > some functions?
> > Would I need to generate a full-replacement and hex-edit OEMHLP$ out
> > of OS2LDR/KRNL?
> You won't be lucky to hexedit it out - the code is too far distributed
> over the kernel image. Of course, you would need to patch each existing
> kernel version separately... The code has been relocated in the kernel
> several times, so searching for patch patterns is not really successful.

Actually I meant changing the drivername "OEMHLP$" into something
different like "OEMORG$", so drivers will access my driver instead. I
don't mind what the kernel does internally. The problem is with the
drivers. So if I could make the kernel match my OEMHLP$ driver instead
of its own, this would solve most problems. Also I would not have to
change any kernel code.
It should be possible to do such modification run-time. My primary
concern are PCI drivers. I don't want to exchange the whole API-set,
because it's not needed. I would also forward all Non-PCI calls to the
original driver.

My new GCONFIG is also NULing out PCIGetConfig requests, if they are
done to non-existant devices. It will restrict access on
single-function devices as well (so drivers won't be able to access
configuration area of function 1-7 on such devices "physically").
Additionally the FindDevice/FindClass routine will actually search in
GCONFIG detection area instead of searching via BIOS or hardware.

Good solution? I mean probably the only one that is possible.

cu, Kiewitz




Yahoo! Groups Sponsor	

ADVERTISEMENT
 
<http://rd.yahoo.com/M=228862.2128520.3581629.1829184/D=egroupweb/S=17050160
61:HM/A=1182731/R=0/*http://adfarm.mediaplex.com/ad/ck/990-1736-1039-336>


The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog
<http://www.egroups.com/group/os2ddprog> 

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service. 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Mon, 12 Aug 2002 15:13:40 -0000, kiewitz2000 wrote:

<snip>
>> The drawback is that you cannot be sure that the kernel itself will
>> use the new functionality (drivers that refer to OEMHLP$ will *after*
>> that, as they usually use the IDC/DevHlp APIs to obtain a pointer to 
>> OEMHLP. The problem is that the kernel of course has knowledge about
>> the internal logic of oemhlp and will call the routines directly,
>> rather than using the slow strategy/IDC entries.
>
>I don't want to walk around in kernel internals and modify stuff,
>because I could break major things in there.
>
This may not work but, what if you modify the kernel so that OEMHELP$ in 
the kernel get called XEMHELP$ and use OEMHELP$ in your driver.
Renaming the inmemory string in the kernel would probably work but then
your driver must be the first to load...

Then your driver forwards everything you dont handle to the kernel.

Your driver will have to handle stuff like direct pointers used by drivers but
as they would point to your code you should be able to forward requests
and possibly mirror some dataareas.

That or do rename of the string in the driver (if you can hook the loading 
of drivers without modifying the kernel).










Sincerely

JMA
Development and Consulting

John Martin , jma@jma.se
==================================
Website: http://www.jma.se/ 
email: mail@jma.se
Phone: 46-(0)70-6278410
==================================



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

--- In os2ddprog@y..., Anantha Narayanan <anantha_narayan@y...> wrote:
> Hi Kiewitz,

Hi !

> I was not following this thread completely,can you explain to me your
> GCONFIG and what services it offers.

GCONFIG is going to be a generic detection and configuration driver
for OS/2 / eComStation. Additionally it will feature an API-set for
PnP and PCI for finding hardware devices, getting their assigned
resources and reconfigure them as well. Actually GCONFIG will replace
ISAPNP.SNP, one of the first drivers OS/2 loads on IPL. It will first
detect all hardware cards in the system and put that information in a
generic format into a so called detection area. That area can get
queried later by simple Device-Calls (Open/Read/Close) and this will
be done by the daemon. That daemon will be loaded on IPL as well and
will tell the user, if new hardware got inserted/removed and what is
should do about it. The daemon will now update the configuration
database and this will get read on next bootup by GCONFIG again and
will get applied to the system. It's also compatible with fully BIOS
configured systems and it will only touch hardware that is configured
by BIOS, if the user selects it.

btw. the API is fully __cdecl and no assembly programming is required
at all. Please note: This needs a small .obj file to be linked in, the
driver header needs to be compiled using ALP and one needs to include
a header-file (of course).

> I have been trying to use OEMHELP$ for pci configuration and I am
stuck with
> SLOT identifiaction

What do you mean by slot identification?

> and IRQ routing of PCI devices and I have fashioned a
> solution which runs in DOS to find these details.
> Does your GCONFIG use BIOS32 Dir calls from OS/2.

Of course not. PDDs are all 16-bit (or at least their base is 16-bit).
GCONFIG is 100% 16-bit Protected Mode code and the current API is done
for that mode as well. I could enhance it later to support 32-bit PM,
but this can wait. It's currently getting all the information from
BIOS (about ISA PnP and PCI), the finished version will also be able
to use hardware based methods (for reading/writing to PCI
configuration space, etc.) and the user will be able to select which
method to use.

> Thanks in Advance

np

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

Hello,

Of topic maybe, but I have been asking many people and searching
google, so I hope somebody here can help me out:

I'm working on tuning MMOS/2. I have found the following swicthes,
could anybody help me answer some questions....

The MMBUF=65536 setting is now in the new MMOS/2 stuff I'm working
on...

Is this switch still effective ? 

                   SET MMSTREAM=/S:64 /P:32 /H:256 /Q:1024 /E:1024
                    REM This statement increases the streams, maximum
                    REM processes, heap space, queue size and event
                    REM space for the sync/stream manager, which
                    REM allows more movies to be open at once and may
                    REM improve performance. 

But its very confusing to find this as well, so which one is used by
MMOS/2 ?:

In the video in documentation I found:

 The Sync/Stream Manager is comprised of two modules:  SSMDD.SYS and
SSM.DLL.  SSMDD.SYS is the Ring 0 
 device driver of the Sync/Stream Manager.  Its syntax is as follows: 
 
 
 DEVICE=є║єєєєєєєєє║єє║єєєєєєєє║єє SSMDD.SYS єє║єєєєєєєєєє║єєєєЄ
         Нє drive єК  Нє path єК               Фє /S:sss єЄ
                                               Фє /P:ppp єЄ
                                               Фє /H:hhh єЄ
                                               Фє /Q:qqq єЄ
                                               Нє /E:eee єК
 
 Parameters: 

  /S:sss           Specifies the number of streams that can be created
at the same time.  Values range from 1 
                   through 64. The default value for machines with more
than 8MB of memory is 12. The default 
                   value for machines with 8MB of memory or less is 6. 

  /P:ppp           Specifies the number of processes that can create
streams at the same time.  Values range from 
                   1 through 64. The default value for machines with
more than 8MB of memory is 12. The default 
                   value for machines with 8MB of memory or less is 6. 

  /H:hhh           Specifies the maximum amount of heap space (KB) that
will be used.  Values range from 16 
                   through 256; the default value is 64. 

  /Q:qqq           Specifies the size of the event queue (per process).
 Values range from 2 through 1024; the 
                   default value is 64. 

  /E:eee           Specifies the number of events that can be enabled
(per stream).  Values range from 1 through 
                   1024. The default value for machines with more than
8MB of memory is 32. The default value 
                   for machines with 8MB of memory or less is 20. 
  
  Note:  The DEVICE=SSMDD.SYS statement must appear as the first Ring 0
stream handler statement in the 
         CONFIG.SYS file. 

  
  Sync/Stream Resource Limits 

    o  The maximum number of streams is 64. 

    o  The maximum number of streams in a sync group is 64. 

    o  The maximum number of processes controlling streams is 64. 

    o  The maximum size of Sync/Stream Manager event queue per process
is 1024 entries. 

You can specify things via a SET statement and as argument with the
device driver SSMDD.SYS !??

So which is used ? 
IS one of them obselete ?

Anybody ever heard of the MMYIELD and knows what it does ? I have seen
people post in yahoo groups that they said it improved
video playback.
Well in some cases with OPEN MPEG  audio runs horribly out of synch
with the movie being played!

                    For all video adapters, if you are experiencing
dropped frames, you may be able to improve the performance of your
                    video display subsystem by moving the video
aperture. Try adding one of the following lines to your CONFIG.SYS
                    (select the line appropriate for your system):  

                        SET VIDEO_APERTURE=A00
                        REM Video optimization for PCI bus system

                        SET VIDEO_APERTURE=78
                        REM Video optimization for VL bus system

                        SET VIDEO_APERTURE=3C
                        REM Video optimization for EISA bus system

                        SET VIDEO_APERTURE=E
                        REM Video optimization for ISA-Bus System
                        REM (RAM + VRAM must be <= 16MB)

These settings are still effective for SDD ? Or in MCP ?

Roderick Klein








------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru ▐╚═ґ "▐Ю╝Д╗" - Б═╙╝ё╝ ╒К ґ╔ А╛╝і╔Б╔ А╔║╔ ╞╝ї╒╝╚╗БЛ є═і╔ ґ═ ╒Кє╔╚╔ґґ╝╛ А╔Ю╒╔Ю╔...


On Mon, 12 Aug 2002 19:43:04 -0000, kiewitz2000 wrote:

>GCONFIG is going to be a generic detection and configuration driver
>for OS/2 / eComStation. Additionally it will feature an API-set for
>PnP and PCI for finding hardware devices, getting their assigned
>resources and reconfigure them as well. Actually GCONFIG will replace
>ISAPNP.SNP, one of the first drivers OS/2 loads on IPL. It will first
>detect all hardware cards in the system and put that information in a
>generic format into a so called detection area. That area can get
>queried later by simple Device-Calls (Open/Read/Close) and this will
>be done by the daemon. That daemon will be loaded on IPL as well and
>will tell the user, if new hardware got inserted/removed and what is
>should do about it. The daemon will now update the configuration
>database and this will get read on next bootup by GCONFIG again and
>will get applied to the system. It's also compatible with fully BIOS
>configured systems and it will only touch hardware that is configured
>by BIOS, if the user selects it.

May be you should also make this new API so that run-time device addition/removal can be done? I am not 
telling to implement this now, but at least have this in mind to have ability easily adopt API in future without 
any changes in drivers that are using it. There are already a number of systems that have "dynamic" PCI like 
notebooks (adding or removing a replicator) or servers with hot swap PCI.
Bye,
	Vit




------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....



Could you provide any hints on this "miracle?"  Due to the woe-fully poor
support from IBM for OS/2, my company is doing everything it can to fund
porting our communications control software (built on OS/2) to Windows.   I
don't think we can wait until October.  If IBM intends to breathe new life
into its OS/2 product line, it would sure be nice to know now!



                                                                                                                                       
                      madodel@ptdprolog                                                                                                
                      .net                     To:       os2ddprog@yahoogroups.com                                                     
                                               cc:                                                                                     
                      08/06/2002 09:20         Subject:  Re: Warpstock (was:Re: [os2ddprog] Reverse-of-VDHQueryLin: Any way?)          
                      PM                                                                                                               
                      Please respond to                                                                                                
                      os2ddprog                                                                                                        
                                                                                                                                       
                                                                                                                                       



 In <3D507667.4FE752DE@compuserve.com>, on 08/06/02 at 10:22 PM,
ЪЪ Fernando Cassia <fcassia@compuserve.com> said:


>I wonder if this is worth it. Sounds very much like a birthday
>celebration for someone with a terminal illness.
>Yeah, you can arrive with a cake and smile, pretend everything is
>allright, but in the end you know this is going to be the last one...

First off OS/2 isn't going anywhere just yet, despite the cries to the
contrary and IBM's best efforts to kill it off.Ъ I wouldn't have accepted
the job of running Warpstock if it were to stage a wake.Ъ Its a party
true, but its also an attempt to keep the show going.Ъ Developers get to
meet and discuss projects.Ъ We all even learn some new stuff about OS/2.
And since the mountain wouldn't come to us we decided to go to the
mountain this year, hence the selection of Austin.Ъ It will be a great way
to meet some of the people from IBM who have been doing a lot of the work
to keep OS/2 going.

>:-/

>(Sorry, I don't want to burst anyone's bubble, but I'm very depressed and
>discouraged by IBM's lack of commitment to the platform, even for paying
>software choice subscribers, for things as simple as porting the ibm java
>1.4 VM from AIX, Linux or Win32, to OS/2).

Anyone that wants to see what IBM has in store for OS/2 (and its not a
wooden box with handles) come to Austin in October.ЪЪ There is a
presentation to be given by IBM called the "miracle".Ъ And no I can't say
what it is, but people in Austin will be the first to find out.Ъ To some
it may not be quite a miracle, but I think people, including maybe even
Fernando, will be extremely pleased. :-)

Mark

--

From the eComStation Desktop of: Mark Dodel

Warpstock 2002, Come to the home of OS/2 - Austin, Texas
http://www.warpstock.org

For a choice in the future of personal computing, Join VOICE -
http://www.os2voice.org

Ъ "The liberty of a democracy is not safe if the people tolerate the growth
of private power to a point where it becomes stronger than their democratic
State itself.ЪЪ That in it's essence, is Fascism - ownership of government
by an individual, by a group or by any controlling private power." Franklin
Delano Roosevelt, Message proposing the Monopoly Investigation, 1938



                                                                            
                                 Yahoo! Groups Sponsor                      
                                                                            
                                                                            
                                                                            
                                          ADVERTISEMENT                     
                                             [IMAGE]                        
                                                                            
                                                                            


 The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.






------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
                    ,                            ... http://www.newhost.ru -                 Щ           !




kbcrudgi@rockwellcollins.com schreef:

> porting our communications control software (built on OS/2) to Windows.   I
> don't think we can wait until October.  If IBM intends to breathe new life
> into its OS/2 product line, it would sure be nice to know now!

Big Blue is to much in trouble, it can't even think about it. If (big if) OS/2 gets a boost it will be without or even against
Big Blue. (-:



--
Groeten uit Gent,

   Kris



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

On Tue, 06 Aug 2002 22:22:47 -0300, Fernando Cassia wrote:

>I wonder if this is worth it. Sounds very much like a birthday
>celebration for someone with a terminal illness.
>Yeah, you can arrive with a cake and smile, pretend everything is
>allright, but in the end you know this is going to be the last one...

Wow, you really ought to do see a doctor.  Depression can be
debilitating.  Besides, wouldn't you rather have a party for a friend
with a terminal illness long BEFORE they go, instead of for somebody
you don't know after they're gone and moldy?

Hey, you're gonna die anyway.  All of us are.  So what the heck are
you running Windows for?  You're just gonna die anyway.  Don't run
Linux either: Nobody makes it out alive.  It's all over.  You're done
for.  Your sunk.  You're screwed.  Don't attend any parties! 
Birthday or otherwise.  You're just gonna die anyway.  Heck, if your
obituary had been printed as many times as OS/2's, you'd already be
in coffin.  Come to think of it, why not just jump in to the box? 
You're just gonna die anyway.  Hey, at least at an OS/2 party you
won't catch any viruses, which is good, 'cuz your just gonna die
anyway and you'd hate to die from a virus, wouldn't you?

Or, you can enjoy life.  Come have a party.  Enjoy it because you
want, not because BG tells you to - whether you want to or not. 
Express your concerns, and then PARTY, LEARN, and GROW.

Hey, it's your computer, and your life.  But you're just gonna die
anyway, so does it really matter if OS/2 works for you or not?  Hmmm.

BTW, at EVERY Warpstock I've been to (three) there's always been some
depressed or depraved (or deprived???) person running around saying
"This is the last one...".  Probably a Microsoft shill.  You know,
like the ones that proclaimed OS/2 "dead" until IBM believed them
(not that it's hard to convince an IBM Marketing "professional" of
anything - such as "The moon is made of moldy cheese, that's why it's
gray".  Then they'll argue the color with you, while failing to note
that it's already proven fact that the moon isn't made of cheese (for
those of you from IBM: it's actually made of chocolate pudding with
Cool Whip, and THAT'S why it's gray.  Proof: the golf ball hit by one
certain astronaut was never found, because it sunk into the pudding).

;-)

JD



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

> On Tue, 06 Aug 2002 22:22:47 -0300, Fernando Cassia wrote:
> 
> >I wonder if this is worth it. Sounds very much like a birthday
> >celebration for someone with a terminal illness.

And John Drabik replied:

> BTW, at EVERY Warpstock I've been to (three) there's always been some
> depressed or depraved (or deprived???) person running around saying
> "This is the last one...".  Probably a Microsoft shill.  You know,
> like the ones that proclaimed OS/2 "dead" until IBM believed them
> (not that it's hard to convince an IBM Marketing "professional" of
> anything - such as "The moon is made of moldy cheese, that's why it's
> gray".  Then they'll argue the color with you, while failing to note
> that it's already proven fact that the moon isn't made of cheese 

There will be more Warpstocks.  And I will be there.

I plan to meet Daniela there. I'll be a father figure. <g>
Now that I've said that it will probably keep her from
coming.

I wish I could attend this one.

Not only to meet the OS/2 people and learn more about OS/2
but so I could visit Fredericksburg (and visit Uptown and
Downtown
Luckenback, and watch the bats.) <g>
And maybe visit Ladybird.

Jerry Garren - Los Osos, CA

------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

In <OF86421908.86CDC0AD-ON86256C14.004AAB85@rockwellcollins.com>, on
08/13/02 at 08:35 AM,
   <kbcrudgi@rockwellcollins.com> said:

>Could you provide any hints on this "miracle?"  Due to the woe-fully poor
>support from IBM for OS/2, my company is doing everything it can to fund
>porting our communications control software (built on OS/2) to Windows.  
>I don't think we can wait until October.  If IBM intends to breathe new
>life into its OS/2 product line, it would sure be nice to know now!

Sorry I can't say.  Its just something that was not promised before but
will now happen.  I wouldn't base a business decision on this.  Its good
news for OS/2 users, but not really the "miracle" we'd like to see.  I
didn't name the session, I just mentioned it.


Mark

-- 

 From the eComStation Desktop of: Mark Dodel

Warpstock 2002, Come to the home of OS/2 - Austin, Texas  http://www.warpstock.org

For a choice in the future of personal computing, Join VOICE - http://www.os2voice.org

  "The liberty of a democracy is not safe if the people tolerate the growth of private power to a point where it becomes stronger than their democratic State itself.   That in it's essence, is Fascism - ownership of government by an individual, by a group or by any controlling private power." Franklin Delano Roosevelt, Message proposing the Monopoly Investigation, 1938 



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

What is depressing is IBM's apparent lack of interest in porting any
java VMs past the current 1.3.

Now if you re-read my post before personally attacking someone, that
would make you look a lot less childish.

I guess you are more calm now, after blaming me for "oh blasphemy!"
running Windows on one of my systems.
I guess that everyone who runs windows in any of their PCs (I have 5,
and only this runs win98), shouldn't be really allowed on os/2 mailing
lists, right?

And you are telling me to "get a life"?

Please reply off-list if you have any problems with me. (And no putting
a silly emoticon ;-) after a lot of crap, doesn't make the post any
better).

Regards
Fernando

John Drabik wrote:

>  On Tue, 06 Aug 2002 22:22:47 -0300, Fernando Cassia wrote:
>
> >I wonder if this is worth it. Sounds very much like a birthday
> >celebration for someone with a terminal illness.
> >Yeah, you can arrive with a cake and smile, pretend everything is
> >allright, but in the end you know this is going to be the last one...
>
> Wow, you really ought to do see a doctor.  Depression can be
> debilitating.  Besides, wouldn't you rather have a party for a friend
> with a terminal illness long BEFORE they go, instead of for somebody
> you don't know after they're gone and moldy?
>
> Hey, you're gonna die anyway.  All of us are.  So what the heck are
> you running Windows for?  You're just gonna die anyway.  Don't run
> Linux either: Nobody makes it out alive.  It's all over.  You're done
> for.  Your sunk.  You're screwed.  Don't attend any parties!
> Birthday or otherwise.  You're just gonna die anyway.  Heck, if your
> obituary had been printed as many times as OS/2's, you'd already be
> in coffin.  Come to think of it, why not just jump in to the box?
> You're just gonna die anyway.  Hey, at least at an OS/2 party you
> won't catch any viruses, which is good, 'cuz your just gonna die
> anyway and you'd hate to die from a virus, wouldn't you?
>
> Or, you can enjoy life.  Come have a party.  Enjoy it because you
> want, not because BG tells you to - whether you want to or not.
> Express your concerns, and then PARTY, LEARN, and GROW.
>
> Hey, it's your computer, and your life.  But you're just gonna die
> anyway, so does it really matter if OS/2 works for you or not?  Hmmm.
>
> BTW, at EVERY Warpstock I've been to (three) there's always been some
> depressed or depraved (or deprived???) person running around saying
> "This is the last one...".  Probably a Microsoft shill.  You know,
> like the ones that proclaimed OS/2 "dead" until IBM believed them
> (not that it's hard to convince an IBM Marketing "professional" of
> anything - such as "The moon is made of moldy cheese, that's why it's
> gray".  Then they'll argue the color with you, while failing to note
> that it's already proven fact that the moon isn't made of cheese (for
> those of you from IBM: it's actually made of chocolate pudding with
> Cool Whip, and THAT'S why it's gray.  Proof: the golf ball hit by one
> certain astronaut was never found, because it sunk into the pudding).
>
> ;-)
>
> JD
>
>

__________
Некоторые падают, а некоторые нет - http://www.newhost.ru
Has anyone ever developed or worked on an Installable Security System 
using OS/2 Warp's Security Enabling Services (SES) KPI's?  

Do not want to post and bother everyone unnecessarily with questions 
if there is no experience with OS/2 SES within the group.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Wed, Aug 14, 2002 at 02:52:39PM -0000, kbcrudgi wrote:
> Has anyone ever developed or worked on an Installable Security System 
> using OS/2 Warp's Security Enabling Services (SES) KPI's?  
> 
> Do not want to post and bother everyone unnecessarily with questions 
> if there is no experience with OS/2 SES within the group.

Yes.

Holger

(Do not want to post and bother everyone unnecessarily with more
comments as long as there is not a precise question, and particularly 
not to someone who doesn't even bother to tell his/her name - I don't
like talking to anonymous posters).

-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

On Wed, 14 Aug 2002 14:52:39 -0000, kbcrudgi wrote:

>Has anyone ever developed or worked on an Installable Security System 
>using OS/2 Warp's Security Enabling Services (SES) KPI's?  

I have.

>
>Do not want to post and bother everyone unnecessarily with questions 
>if there is no experience with OS/2 SES within the group.
>

Nick Saxon
Regards,
Nick



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

On Wed, Aug 14, 2002 at 11:35:14AM -0300, Fernando Cassia wrote:
> What is depressing is IBM's apparent lack of interest in porting any
> java VMs past the current 1.3.

Don't they? I think this is not lack of interest but rather lack of
paying customers who demand a post 1.3 (I think it is 1.3.1) JVM/JDK.

> Now if you re-read my post before personally attacking someone, that
> would make you look a lot less childish.
> 
> I guess you are more calm now, after blaming me for "oh blasphemy!"
> running Windows on one of my systems.
> I guess that everyone who runs windows in any of their PCs (I have 5,
> and only this runs win98), shouldn't be really allowed on os/2 mailing
> lists, right?

If I'd aopt your attitude I'd reply "who cares what OS you are running
anyway?"

> And you are telling me to "get a life"?

You have misunderstood him. Read again what he is writing.

If you consider Warpstock a kind of funeral (even disguised as a 
birthday celebration), and you don't like this, then don't go there. 
But be aware that with this attitude nothing in the world is worth
attending or using; everything, including you, is just irrelevant, 
because it is/you are mortal.

Yes, probably "getting a life" is an option. Your life is what you live.
Not what I do, or John does, or IBM lives.

Back to driver development
Holger

> 
> Please reply off-list if you have any problems with me. (And no putting
> a silly emoticon ;-) after a lot of crap, doesn't make the post any
> better).
> 
> Regards
> Fernando
> 
> John Drabik wrote:
> 
> >  On Tue, 06 Aug 2002 22:22:47 -0300, Fernando Cassia wrote:
> >
> > >I wonder if this is worth it. Sounds very much like a birthday
> > >celebration for someone with a terminal illness.
> > >Yeah, you can arrive with a cake and smile, pretend everything is
> > >allright, but in the end you know this is going to be the last one...
> >
> > Wow, you really ought to do see a doctor.  Depression can be
> > debilitating.  Besides, wouldn't you rather have a party for a friend
> > with a terminal illness long BEFORE they go, instead of for somebody
> > you don't know after they're gone and moldy?
> >
> > Hey, you're gonna die anyway.  All of us are.  So what the heck are
> > you running Windows for?  You're just gonna die anyway.  Don't run
> > Linux either: Nobody makes it out alive.  It's all over.  You're done
> > for.  Your sunk.  You're screwed.  Don't attend any parties!
> > Birthday or otherwise.  You're just gonna die anyway.  Heck, if your
> > obituary had been printed as many times as OS/2's, you'd already be
> > in coffin.  Come to think of it, why not just jump in to the box?
> > You're just gonna die anyway.  Hey, at least at an OS/2 party you
> > won't catch any viruses, which is good, 'cuz your just gonna die
> > anyway and you'd hate to die from a virus, wouldn't you?
> >
> > Or, you can enjoy life.  Come have a party.  Enjoy it because you
> > want, not because BG tells you to - whether you want to or not.
> > Express your concerns, and then PARTY, LEARN, and GROW.
> >
> > Hey, it's your computer, and your life.  But you're just gonna die
> > anyway, so does it really matter if OS/2 works for you or not?  Hmmm.
> >
> > BTW, at EVERY Warpstock I've been to (three) there's always been some
> > depressed or depraved (or deprived???) person running around saying
> > "This is the last one...".  Probably a Microsoft shill.  You know,
> > like the ones that proclaimed OS/2 "dead" until IBM believed them
> > (not that it's hard to convince an IBM Marketing "professional" of
> > anything - such as "The moon is made of moldy cheese, that's why it's
> > gray".  Then they'll argue the color with you, while failing to note
> > that it's already proven fact that the moon isn't made of cheese (for
> > those of you from IBM: it's actually made of chocolate pudding with
> > Cool Whip, and THAT'S why it's gray.  Proof: the golf ball hit by one
> > certain astronaut was never found, because it sunk into the pudding).
> >
> > ;-)
> >
> > JD
> >
> >



-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru


Yes, I have...

Harald Eilertsen
Norman ASA





"kbcrudgi" <kbcrudgi@rockwellcollins.com> on 14.08.2002 16:52:39

Please respond to os2ddprog@yahoogroups.com

To:   os2ddprog@yahoogroups.com
cc:

Subject:  [os2ddprog] OS/2 SES


Has anyone ever developed or worked on an Installable Security System
using OS/2 Warp's Security Enabling Services (SES) KPI's?

Do not want to post and bother everyone unnecessarily with questions
if there is no experience with OS/2 SES within the group.



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/









------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

I never attacked Warpstock or the people that go there (heck, I'd attend
if I could afford it).
I hope there are many more. My original message could be rephrased as
"oh, this is depressing, ibm is apparently not going to port jvms past
1.3.1 to os/2. Considering this, I wonder if there will be ANY more
developments for os/2 coming from ibm, even in "maintenance mode",
having a current java vm is important, imho". That's it, end of story.

No need to feel like I was attacking warpstock or anyone else.

I'll make a mental note not to use any references to terminal illness in
future posts as it seems to give some people the wrong emotions.

Fernando.

Holger Veit wrote:

> Don't they? I think this is not lack of interest but rather lack of
> paying customers who demand a post 1.3 (I think it is 1.3.1) JVM/JDK.
> If you consider Warpstock a kind of funeral (even disguised as a
> birthday celebration), and you don't like this, then don't go there.

__________
Некоторые падают, а некоторые нет - http://www.newhost.ru
Many thanks to all for the affirmative replies.  Now that I know I 
have accessed the right OS/2 user group and found some real help 
(Finally!), I will have our responsible developer post his questions.

Understand the importance of common courtesy by supplying a name.  
Pray forgive the oversight.

Regards,
Kimberly Crudgington
Project Lead
Rockwell Collins

--- In os2ddprog@y..., "Harald Eilertsen" <hei@n...> wrote:
> 
> Yes, I have...
> 
> Harald Eilertsen
> Norman ASA
> 
> 
> 
> 
> 
> "kbcrudgi" <kbcrudgi@r...> on 14.08.2002 16:52:39
> 
> Please respond to os2ddprog@y...
> 
> To:   os2ddprog@y...
> cc:
> 
> Subject:  [os2ddprog] OS/2 SES
> 
> 
> Has anyone ever developed or worked on an Installable Security 
System
> using OS/2 Warp's Security Enabling Services (SES) KPI's?
> 
> Do not want to post and bother everyone unnecessarily with questions
> if there is no experience with OS/2 SES within the group.
> 
> 
> 
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
> 
> To unsubscribe, send an email to: os2ddprog-unsubscribe@e...
> 
> 
> 
> Your use of Yahoo! Groups is subject to 
http://docs.yahoo.com/info/terms/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

> I hope there are many more. My original message could be rephrased as
> "oh, this is depressing, ibm is apparently not going to port jvms past
> 1.3.1 to os/2. Considering this, I wonder if there will be ANY more
> developments for os/2 coming from ibm, even in "maintenance mode",
> having a current java vm is important, imho". That's it, end of story.
> 
Want JVM 1.4 Just Read this:

http://www.goldencode.com/company/press/20020814.html

------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

Hi,

the PDD reference states:

"The address range must be on a page boundary and 
must not cross object boundaries."

You break rule Nr. 1 at least.

Maybe you can do this:

mapaddr = linaddr & ~0xFFF;
len += (ULONG)(linaddr-mapaddr);

and map that address.

Lars

> 
> Lin base address: 000983e8 
> size:             6c70
> Error code from VM_ProcessToGlobal: 801e



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hi,

if the below mentioned approach does not work, 
maybe you need to do a
0.)DevHelp_AllocGDTSelector (in init)

1.)get the pagelist entries from VMLock and pass 
them to (alternatively use DevHelp_LinToPageList) :
2.)DevHelp_PageListToGDTSelector
2.a) construct a 16:16 pointer from the GDT 
selector p = MAKEP(sel,0);

3.)DevHelp_FreeGDTSelector (on shutdown)

with your linear address and size. I just thought 
that because you get OBJECT BOUNDARY error, that 
your linear address range covers more than one 
memory object.

Lars

--- In os2ddprog@y..., "barf1234de" 
<lars.erdmann@a...> wrote:
> Hi,
> 
> the PDD reference states:
> 
> "The address range must be on a page boundary and 
> must not cross object boundaries."
> 
> You break rule Nr. 1 at least.
> 
> Maybe you can do this:
> 
> mapaddr = linaddr & ~0xFFF;
> len += (ULONG)(linaddr-mapaddr);
> 
> and map that address.
> 
> Lars
> 
> > 
> > Lin base address: 000983e8 
> > size:             6c70
> > Error code from VM_ProcessToGlobal: 801e


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hi,

should have read your post :-),

of course, you need to pass the pagelist array from 
VDHLockMem (and not VMLock) to the PDD also (apart 
from the memory space itsself) and use that on 
DevHelp_PageListToGDTSelector. If this is too much 
of a hassle then maybe, you can call 
DevHelp_LinToPageList from within the PDD on the 
passed lin addr.

I have a good feeling that this should work, why 
would VDHLockMem return the pagelist array 
otherwise ?

Lars

--- In os2ddprog@y..., "barf1234de" 
<lars.erdmann@a...> wrote:
> Hi,
> 
> if the below mentioned approach does not work, 
> maybe you need to do a
> 0.)DevHelp_AllocGDTSelector (in init)
> 
> 1.)get the pagelist entries from VMLock and pass 
> them to (alternatively use DevHelp_LinToPageList) 
:
> 2.)DevHelp_PageListToGDTSelector
> 2.a) construct a 16:16 pointer from the GDT 
> selector p = MAKEP(sel,0);
> 
> 3.)DevHelp_FreeGDTSelector (on shutdown)
> 
> with your linear address and size. I just thought 
> that because you get OBJECT BOUNDARY error, that 
> your linear address range covers more than one 
> memory object.
> 
> Lars
> 
> --- In os2ddprog@y..., "barf1234de" 
> <lars.erdmann@a...> wrote:
> > Hi,
> > 
> > the PDD reference states:
> > 
> > "The address range must be on a page boundary 
and 
> > must not cross object boundaries."
> > 
> > You break rule Nr. 1 at least.
> > 
> > Maybe you can do this:
> > 
> > mapaddr = linaddr & ~0xFFF;
> > len += (ULONG)(linaddr-mapaddr);
> > 
> > and map that address.
> > 
> > Lars
> > 
> > > 
> > > Lin base address: 000983e8 
> > > size:             6c70
> > > Error code from VM_ProcessToGlobal: 801e


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

** Reply to note from "barf1234de" <lars.erdmann@arcor.de> Thu, 15 Aug 2002 10:02:49 -0000

Ah - this is starting to make sense - thanks for your reply. You mentioned
rounding down to the nearest page boundary. I tried this in the original code
as this is indeed what the docs said. It seems to make absolutely no difference
to the behaviour at all. I'll add code to pass the pagelist array in and see
what happens. Incidentally, why do you think the presence/absence of EMS in the
VDM causes the behaviour change?

        John.

   
> Hi,
>   
> should have read your post :-),
>   
> of course, you need to pass the pagelist array from 
> VDHLockMem (and not VMLock) to the PDD also (apart 
> from the memory space itsself) and use that on 
> DevHelp_PageListToGDTSelector. If this is too much 
> of a hassle then maybe, you can call 
> DevHelp_LinToPageList from within the PDD on the 
> passed lin addr.
>   
> I have a good feeling that this should work, why 
> would VDHLockMem return the pagelist array 
> otherwise ?
>   
> Lars
>   
> --- In os2ddprog@y..., "barf1234de" 
> <lars.erdmann@a...> wrote:
> > Hi,
> > 
> > if the below mentioned approach does not work, 
> > maybe you need to do a
> > 0.)DevHelp_AllocGDTSelector (in init)
> > 
> > 1.)get the pagelist entries from VMLock and pass 
> > them to (alternatively use DevHelp_LinToPageList) 
> :
> > 2.)DevHelp_PageListToGDTSelector
> > 2.a) construct a 16:16 pointer from the GDT 
> > selector p = MAKEP(sel,0);
> > 
> > 3.)DevHelp_FreeGDTSelector (on shutdown)
> > 
> > with your linear address and size. I just thought 
> > that because you get OBJECT BOUNDARY error, that 
> > your linear address range covers more than one 
> > memory object.
> > 
> > Lars
> > 
> > --- In os2ddprog@y..., "barf1234de" 
> > <lars.erdmann@a...> wrote:
> > > Hi,
> > > 
> > > the PDD reference states:
> > > 
> > > "The address range must be on a page boundary 
> and 
> > > must not cross object boundaries."
> > > 
> > > You break rule Nr. 1 at least.
> > > 
> > > Maybe you can do this:
> > > 
> > > mapaddr = linaddr & ~0xFFF;
> > > len += (ULONG)(linaddr-mapaddr);
> > > 
> > > and map that address.
> > > 
> > > Lars
> > > 
> > > > 
> > > > Lin base address: 000983e8 
> > > > size:             6c70
> > > > Error code from VM_ProcessToGlobal: 801e
>   
>   
>   
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
>   
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>   
>  
>   
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
>   
>   
>   
 

 _________________ ______________________________________________________
|                 |                                                      |
|	          | Dr. J.A. Gow M.Eng AMIEE                             |
|      \||/       | Power Electronics Specialist			 |
|       \/        |                                                      |
|   __  00        |                                                      |
|  /  \/  \_@     |                                                      |
| |          \    | Tel: (07768) 328787                                  |
|  \__/    \  \   |                                 			 |
|  /  \    /\  |  |                                                      |
| |    \__/    |  | email:   J.A.Gow@furrybubble.co.uk                   |
| |           /   |                                                      |
|  \__    __ /    |                                                      |
|     ||||        | web:     http://www.furrybubble.co.uk                |
|   __||||__      |                                                      |
|  <___||___>     |         ______________________________               |
|_________________|________|THIS IS A MICROSOFT-FREE ZONE!|______________|

------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

Hi,

to be honest, I don't have the slightest idea. The 
only thing I can think of is, that if VEMS is 
active, that the memory that is passed to your VDD 
suddenly is split up into two or more memory 
objects (error MEM_CROSSES_OBJECT_BOUNDARY) and in 
this case VMProcessToGlobal just doesn't work.
In this case you need to create a linear mem space 
from the page list entries.
To be honest again, I don't fully understand what 
OS/2 considers to be a memory object but I guess 
every single allocation leads to one memory object.
The page list entries can point to arbitrary chunks 
of physical memory (for example for Scatter/Gather 
DMA type of devices) and PageListToGDTSelector or 
PageListToLin create one contiguous (linear, not 
physical) memory region from the entries.
But be aware of the fact that that contiguous 
linear adress space may have "blind spots" where 
memory is mapped that you didn't ask for. Read the 
documentation of PageListToGDTSelector to fully 
understand.
I would also guess that the first byte of your 
mapped address space will be found at the lower 
12-bit offset of your linear adress passed in (may 
want to check in the kernel debugger) or at offset 
0, I am not sure.

Lars

> what happens. Incidentally, why do you think the 
presence/absence of EMS in the
> VDM causes the behaviour change?
> 
>         John.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

Has anyone ever developed or worked on an Installable Security System 
using OS/2 Warp's Security Enabling Services (SES) APIs/KPIs?

If so, the following is a list of questions that I have. Any help will 
be greatly appreciated.


Here's the list:


We are attempting to implement basic SES functionality for user
identification, authentication, and local computer logon.  The
questions below are directed to that end.

1. The security context services (SCS) APIs are implemented as part
of the security enabling services DLL, which can be invoked by any
process. Use of the security control services APIs is restricted
based upon the effective authority of the calling thread.  If there is
insufficient authority for the call, the function returns with
invalid authority.

Question:  How is the effective authority set for our System Logon
Authority (SLA) and User Identification Authority (UIA) processes?

This is not clear in Redbook (SG24-4668-00).  I have placed entries
into the Secure.sys file to perform these functions, however, SES
doesn't seem to make the association between the authority and
the process.

2.  Is there documentation available that explicitly steps a software
developer through the process of creating an Installable Security
Subsystem (ISS), from first step to last?  The Redbook (SG24-4668-00)
has a tremendous amount of verbiage, but lacks this type of
organization.

3.  OS/2 begins the boot process by using SES entries contained in
the CONFIG.SYS file and other entries contained in the STARTUP.CMD 
file.

What are the subsequent actions the OS/2 boot process performs to
initiate our custom ISS features?   Also, what actions must our ISS
perform at this stage of the boot process?   (According to the
Redbook, OS/2 will execute the defined SCA entries of the Secure.sys
file). Are SES Kernel (SKS) services needed for basic ISS
implementation at this stage(or prior to this stage)?

4.  There seems to be a great deal of material and information
missing from the SES Redbooks (e.g. header files, etc.).  Quite 
frankly, it
is difficult to determine what elements to implement and how they 
should
be implemented. If there is documentation or toolkits (other than the
Redbooks) to make this process more obvious, please send us a
reference or let us know how we can obtain it.


If more detail is needed or clarifications, etc., please send the
requests and I will get right back to you.  Thanks.


Chuck Bearden



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/RN.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Maybe this is not exactly what you are looking for. But in any case, I
think you can make use of some of this information for your project (if
only to download and test other products and see how they work). (btw:
perhaps some of these producs fulfill all your needs, so I'd evaluate
them before re-inventing the wheel.)

There are several muti-user add-ons for OS/2, a few using SES. I do not
know if all of them are still available or supported, but here is the
info. You might want to ask each program's authors for assistance with
your project.

***********
#1) SECURE DESKTOP
Url: http://www.geocities.com/SiliconValley/Way/3792/

Description:

SecureDesktop is modular security system which is based on IBMs
SES-API-Framework (Securitiy Enabling Services) and therefore it will
run with Warp3 + FP17 or Warp4.

What is SecureDesktop (SD):
SD contains six modules:

   1. Multi-User Desktop: every user has his own desktop with folders,
programs, icons, shadows, backgounds, ... Easy administration, 32
groups, password protection for each desktop
   2. ClientLogon: Every user is - dependend on his rights - logged on
the network
   3. DistributedWPS: "The WPS goes with the User". For a user it is
uninteresting where he will logon, he has always HIS WPS.
   4. File/Directory-Protection: This module is under development. The
reason is that I have to develop a filesystem but IBM did not send me
any information about KPI until now.
   5. TCP/IP-Package: WPS will distributed over TCP/IP, user dependend
web-filters (like web-washer from Siemens)
   6. RemoteLogon: Security on remote logon users
***********

#2) IBM Secure Entry/2 (a product of IBM Global Services, Spain),
available for os/2 and win32, with trial code available for download:
URL:
http://www-5.ibm.com/services/es/bis/secure.html
***********

#3) Multidesk (non-SES enabled)
http://www.os2voice.org/VNL/past_issues/VNL0901H/vnewsf5.htm
***********
#4) Deskman/2 v2.0 (afaik, not ses-enabled, I also don't think the
product has been updated since 1998)
URL:
http://www.devtech.com/DeskMan/

Good luck with your SES project.

Regards

Fernando
Buenos Aires, Argentina

ecbearde wrote:

> We are attempting to implement basic SES functionality for user
> identification, authentication, and local computer logon.  The
> questions below are directed to that end.

__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!
--- In os2ddprog@y..., "kiewitz2000" <kiewitz@n...> wrote:
> That's exactly what I want to do. Automatic detection of hardware,
> but user-configurable resource assignment on insertion,
> BIOS-preconfigured device compatibility and user-commands like e.g.
> "ignore hardware", so freshly detected hardware will only be shown
> once. Later hardware will be also configurable, but the user will
> have to especially "ask" for it.
> As it seems, I will also provide a new driver API, so new drivers can
> use that one and that will combine almost every other API that is
> available under OS/2. It will be smaller, easier to use and not that
> "ground-based" like the current ones, of course it will restrict
> somehow, but that's life.
Maybe you want to try my LXAPI32.SYS. This is a linux API layer for
OS/2 drivers.
http://www.nord-com.net/s.milcke/lxapi_en.htm
Drawback: It's a 32Bit driver.

MfG Stefan Milcke
42 ;-)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

--- In os2ddprog@y..., "stanislaw1964" <s.milcke@n...> wrote:
> Maybe you want to try my LXAPI32.SYS. This is a linux API layer for
> OS/2 drivers.
> http://www.nord-com.net/s.milcke/lxapi_en.htm
> Drawback: It's a 32Bit driver.

Are you using OEMHLP$ for PCI access functions? So this would get
"fixed" as well, as soon as I get the replacement driver working. I'm
currently also implementing all FindDevice functions to use the
detection area instead of calling BIOS or searching through the
hardware everytime. Additionally some more searches are now possible,
like searching for compatibleID, searching for all devices of one
vendor. searching for a specific class and so on.

If you enumerate all PCI devices by yourself somehow, then I could
show you how to access the GCONFIG detection area. You can simply
enumerate the devices from there as well (especially easy in 32-bit
mode) and you wouldn't need to access h/w.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

On Tue, 13 Aug 2002 08:35:57 -0500, kbcrudgi@rockwellcollins.com
wrote:

>Could you provide any hints on this "miracle?"  Due to the woe-fully poor
>support from IBM for OS/2, my company is doing everything it can to fund
>porting our communications control software (built on OS/2) to Windows.

Well, I also hope to see a "miracle" (though I expect it's more
likely to be something like releasing source code, or moving WPS
and/or SOM to Linux, etc.).

Regardless: what they H#$% are you moving to Windows for?  Linux has
far better, more stable, and more standards-compliant communications
subsystems than anything on Windows - and it's a lot cheaper, faster,
and more scalable too.

Stick with OS/2 if you can.  If not, at least learn the lesson. 
We're in this boat due to proprietary encumbrances; Doze is no
different.

JD



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Send FREE Holiday eCards from Yahoo! Greetings.
http://us.click.yahoo.com/lbFSMD/ZQdDAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

--- In os2ddprog@y..., "kiewitz2000" <kiewitz@n...> wrote:
> --- In os2ddprog@y..., "stanislaw1964" <s.milcke@n...> wrote:
> > Maybe you want to try my LXAPI32.SYS. This is a linux API layer for
> > OS/2 drivers.
> > http://www.nord-com.net/s.milcke/lxapi_en.htm
> > Drawback: It's a 32Bit driver.
> Are you using OEMHLP$ for PCI access functions? So this would get
> "fixed" as well, as soon as I get the replacement driver working. I'm
> currently also implementing all FindDevice functions to use the
> detection area instead of calling BIOS or searching through the
> hardware everytime. Additionally some more searches are now possible,
> like searching for compatibleID, searching for all devices of one
> vendor. searching for a specific class and so on.
> If you enumerate all PCI devices by yourself somehow, then I could
> show you how to access the GCONFIG detection area. You can simply
> enumerate the devices from there as well (especially easy in 32-bit
> mode) and you wouldn't need to access h/w.
LXAPI32.SYS contains a lot of original unchanged linux code. Most of
the original PCI code including pci_find_device, pci_find_class,
pci_find_slot, pci_find_subsys, etc is implemented. It does not use
OEMHLP$.

MfG Stefan Milcke
42 ;-)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

--- In os2ddprog@y..., "stanislaw1964" <s.milcke@n...> wrote:

> LXAPI32.SYS contains a lot of original unchanged linux code. Most of
> the original PCI code including pci_find_device, pci_find_class,
> pci_find_slot, pci_find_subsys, etc is implemented. It does not use
> OEMHLP$.

I took a quick look at the sources. It's doing almost everything low
level (afaik not even one BIOS call).

Who is responsible for this project currently? I could help him
implementing detection area support, so GCONFIG could be used, if
available. Should be quite easy to implement. GCONFIG is using a
unique hardware identifier (HWDeviceID) and it's possible to translate
it back, so one is able to access the hardware directly after
searching through e.g. detection area.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

Hi/2.

I have some problems to peer FAT32 of OS/2 machine from WinXP machine.

I'm using Warp 4 for Korean FP #15(unofficial).

When I would access a folder with long file name on FAT32 of OS/2 
machine from WinXP machine, I cannot see contents of folders at all. 
In addition, WinXP reports that destination file system do not 
support long file name. So, I cannot manipulate any long file name. 
Strangely, it is possible to access(read/write) the pre-made file 
with long file name.

I think this is the problem of FAT32.IFS, because all are fine on 
HPFS.

What's the problem ? Which parts of FAT32.IFS should be fixed ? 
Maybe, is UNC related to this problem ? And what is UNC definitely. 
Although I read of UNC in ToolKit doc, I don't know it well. T.T

          from KO Myung-Hun...



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

In <E17g9wB-0007ew-00@mail.xmission.com>, on 08/17/02 at 02:10 PM,
   "John Drabik" <jdrabik@xmission.com> said:

>On Tue, 13 Aug 2002 08:35:57 -0500, kbcrudgi@rockwellcollins.com wrote:

>>Could you provide any hints on this "miracle?"  Due to the woe-fully poor
>>support from IBM for OS/2, my company is doing everything it can to fund
>>porting our communications control software (built on OS/2) to Windows.

>Well, I also hope to see a "miracle" (though I expect it's more likely to
>be something like releasing source code, or moving WPS and/or SOM to
>Linux, etc.).

The miracle is no longer a secret.  Its a session on the port of Java 1.4
by Goldencode.

Mark

-- 

 From the eComStation Desktop of: Mark Dodel

Warpstock 2002, Come to the home of OS/2 - Austin, Texas  http://www.warpstock.org

For a choice in the future of personal computing, Join VOICE - http://www.os2voice.org

  "The liberty of a democracy is not safe if the people tolerate the growth of private power to a point where it becomes stronger than their democratic State itself.   That in it's essence, is Fascism - ownership of government by an individual, by a group or by any controlling private power." Franklin Delano Roosevelt, Message proposing the Monopoly Investigation, 1938 



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Very good news!. Maybe we'll get 1.4 by the time all other platforms
have moved to 1.4.1, which is in beta already ;-)
(kidding ;)

I've exchanged emails with the guys at Goldencode and the only thing
that worries me is that nobody from the java 1.3 porting team is going
to help them on the effort. :-/

I guess they will have to re-learn all the leasons that the Java 1.1 and
1.3 os/2 porting teams learned a long time ago. And I wonder how is that
going to affect performance of this 1.4 port. I wonder if anyone ever
tried contacting some of the hursley ibmers who handled the os/2 java
port, and see if they want to contribute to the project?

Again, Java 1.4 is not all that different from 1.3 (just a ton of new
apis), but I'm sure the ibmers who worked on the 1.3 code had a lot of
hurdles and had to do some os/2 tweaks, and the same efforts would need
to be done again by whoever ports 1.4 from scratch from Sun sources.

Regards
Fernando

madodel@ptdprolog.net wrote:

> The miracle is no longer a secret.  Its a session on the port of Java
> 1.4
> by Goldencode.
>
> Mark

__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!


Fernando Cassia schreef:

>
> I guess they will have to re-learn all the leasons that the Java 1.1 and 1.3
> os/2 porting teams learned a long time ago. And I wonder how is that going
> to affect performance of this 1.4 port.

Well, at least we could be get rid of the FI installer.


> I wonder if anyone ever tried contacting some of the hursley ibmers who
> handled the os/2 java port, and see if they want to contribute to the
> project?
>
> Again, Java 1.4 is not all that different from 1.3 (just a ton of new apis),
> but I'm sure the ibmers who worked on the 1.3 code had a lot of hurdles

They didn't take ns461 though. <G>



> and had to do some os/2 tweaks, and the same efforts would need to be done
> again by whoever ports 1.4 from scratch from Sun sources.
>
> Regards
> Fernando
>
> madodel@ptdprolog.net wrote:
>
>> The miracle is no longer a secret.  Its a session on the port of Java 1.4
>> by Goldencode.
>>
>> Mark
>
>
>                    Yahoo! Groups Sponsor
                        ADVERTISEMENT
                            [Image]
>
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
>
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

--
Groeten uit Gent,

   Kris



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

--- In os2ddprog@y..., "lvzuufx" <komh@c...> wrote:
> I have some problems to peer FAT32 of OS/2 machine from WinXP machine.
> I'm using Warp 4 for Korean FP #15(unofficial).

First of all, this is a developer group. It's not meant for user
questions. Try comp.os.os2.misc/bugs in usenet.

> When I would access a folder with long file name on FAT32 of OS/2 
> machine from WinXP machine, I cannot see contents of folders at all. 
> In addition, WinXP reports that destination file system do not 
> support long file name. So, I cannot manipulate any long file name. 
> Strangely, it is possible to access(read/write) the pre-made file 
> with long file name.
> I think this is the problem of FAT32.IFS, because all are fine on 
> HPFS.

Probably some netbios extension by Windy? Did you try to access the
same partition from Win9x/Win2k as well? What happens in that case?

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

--- In os2ddprog@y..., "kiewitz2000" <kiewitz@n...> wrote:
> --- In os2ddprog@y..., "lvzuufx" <komh@c...> wrote:
> > I have some problems to peer FAT32 of OS/2 machine from WinXP 
machine.
> > I'm using Warp 4 for Korean FP #15(unofficial).
> 
> First of all, this is a developer group. It's not meant for user
> questions. Try comp.os.os2.misc/bugs in usenet.
> 
> > When I would access a folder with long file name on FAT32 of OS/2 
> > machine from WinXP machine, I cannot see contents of folders at 
all. 
> > In addition, WinXP reports that destination file system do not 
> > support long file name. So, I cannot manipulate any long file 
name. 
> > Strangely, it is possible to access(read/write) the pre-made file 
> > with long file name.
> > I think this is the problem of FAT32.IFS, because all are fine on 
> > HPFS.
> 
> Probably some netbios extension by Windy? Did you try to access the
> same partition from Win9x/Win2k as well? What happens in that case?
> 
> cu, Kiewitz

Yes. this problem occurred on Win98SE(running under VPC/2).

And, 'Shared folder' function of Virtual PC has similar problems to 
access FAT32 on Warp box.

        from KO Myung-Hun...



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

There is someone requesting help for building a printer driver on 
comp.os.os2.misc

see OS2 Print driver, Paul Murphy, posted today for details.

Thought I'd post it here for those of us not watching newsgroups but have 
the expertise for such a driver.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru



Yes, I've heard of the superiority of Linux from a few developers here as
well.  Windows, however, is our customer's preferred solution.  When
someone is in love with Windows, it's hard to get them to consider any
other alternatives.

Kim



                                                                                                                                       
                      "John Drabik"                                                                                                    
                      <jdrabik@xmission        To:       "os2ddprog@yahoogroups.com" <os2ddprog@yahoogroups.com>                       
                      .com>                    cc:                                                                                     
                      Sent by: John            Subject:  Re: Warpstock (was:Re: [os2ddprog] Reverse-of-VDHQueryLin: Any way?)          
                      Drabik                                                                                                           
                      <jdrabik@mail.xmi                                                                                                
                      ssion.com>                                                                                                       
                                                                                                                                       
                                                                                                                                       
                      08/17/2002 03:10                                                                                                 
                      PM                                                                                                               
                      Please respond to                                                                                                
                      os2ddprog                                                                                                        
                                                                                                                                       
                                                                                                                                       



 On Tue, 13 Aug 2002 08:35:57 -0500, kbcrudgi@rockwellcollins.com
wrote:

>Could you provide any hints on this "miracle?"Ъ Due to the woe-fully poor
>support from IBM for OS/2, my company is doing everything it can to fund
>porting our communications control software (built on OS/2) to Windows.

Well, I also hope to see a "miracle" (though I expect it's more
likely to be something like releasing source code, or moving WPS
and/or SOM to Linux, etc.).

Regardless: what they H#$% are you moving to Windows for?Ъ Linux has
far better, more stable, and more standards-compliant communications
subsystems than anything on Windows - and it's a lot cheaper, faster,
and more scalable too.

Stick with OS/2 if you can.Ъ If not, at least learn the lesson.
We're in this boat due to proprietary encumbrances; Doze is no
different.

JD



                                                                            
                                 Yahoo! Groups Sponsor                      
                                                                            
                                                                            
                                                                            
                                          ADVERTISEMENT                     
                                             [IMAGE]                        
                                                                            
                                                                            


 The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.






------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Щ                                  ?                      - http://www.newhost.ru


--- In os2ddprog@y..., "kiewitz2000" <kiewitz@n...> wrote:
> --- In os2ddprog@y..., "stanislaw1964" <s.milcke@n...> wrote:
> > LXAPI32.SYS contains a lot of original unchanged linux code. Most of
> > the original PCI code including pci_find_device, pci_find_class,
> > pci_find_slot, pci_find_subsys, etc is implemented. It does not use
> > OEMHLP$.
> I took a quick look at the sources. It's doing almost everything low
> level (afaik not even one BIOS call).
> Who is responsible for this project currently? I could help him
> implementing detection area support, so GCONFIG could be used, if
> available. Should be quite easy to implement. GCONFIG is using a
> unique hardware identifier (HWDeviceID) and it's possible to translate
> it back, so one is able to access the hardware directly after
> searching through e.g. detection area.
I wrote the driver.
I don't want to change the original linux code to make it easy to
support future versions of linux drivers.
So why use GCONFIG???

MfG Stefan Milcke
42 ;-)



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hi the current 1.3 USBMSD driver while fixing many problems hs one 
little drawback. on certain devices (Mostly cameras like the 
Nikon Coolpix 885) it is very slow 64KiB/s while on others it is 
300-480KiB/s. 
The slow cameras do work with the same high speed when  accessed under
windows. 
When I compared the command processing I found that windows reads files 
in 4KiB chunks i.E. 8 sectors at a time while OS/2 reads up to 16KiB. 
The used SCSI commands are otherwise the same.
It looks like the camera can't handle such large read/write request 
at the same speed it handles 4KiB. (It might swap of to the flash memory
to
do the processing).

So in general can an IoRB to the ADD savely be broken down into multiple
parts?

Markus

------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

--- In os2ddprog@y..., "stanislaw1964" <s.milcke@n...> wrote:

> I wrote the driver.
> I don't want to change the original linux code to make it easy to
> support future versions of linux drivers.

No problem. It was just a proposal.

> So why use GCONFIG???

I don't know how your Linux driver handles run-time reconfiguration of
hardware. I mean if some other driver modifies resources right after
your driver got loaded and right before an actual linux ported driver
is loaded. Will it get e.g. the resource allocation, when the API is
being called or will it collect all configuration during initial
loading? (the 2nd one would be possible under Linux, because no other
driver would access PCI bus, but not a great idea under OS/2).
Does your driver support PnP (ISA) as well including reconfiguration?

Anyway, I got no problems with it. Like I said, it was just a proposal.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/Ey.GAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Tue, 20 Aug 2002 22:28:49 +0100, Markus Montkowski wrote:

>So in general can an IoRB to the ADD savely be broken down into multiple
>parts?

Yes, by means of a filter driver. In this case it should act on all
devices exported by USBMSD.ADD or - probably better, but more
inconvenient - on a subset of known-problematic devices only.

Ciao,
  Dani



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

http://bdlarnsds.tripod.com/index.html


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

he markus is it possible to have a refresh of the source of your usr driver
on netlabs
We use it to drive the gemplus card reader if you want the source and the
technical doc
of it send me a EMAIL

Markus Montkowski wrote:

> Hi the current 1.3 USBMSD driver while fixing many problems hs one
> little drawback. on certain devices (Mostly cameras like the
> Nikon Coolpix 885) it is very slow 64KiB/s while on others it is
> 300-480KiB/s.
> The slow cameras do work with the same high speed when  accessed under
> windows.
> When I compared the command processing I found that windows reads files
> in 4KiB chunks i.E. 8 sectors at a time while OS/2 reads up to 16KiB.
> The used SCSI commands are otherwise the same.
> It looks like the camera can't handle such large read/write request
> at the same speed it handles 4KiB. (It might swap of to the flash memory
> to
> do the processing).
>
> So in general can an IoRB to the ADD savely be broken down into multiple
> parts?
>
> Markus
>
>
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
>
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....
Hi, everyone!

I just asked myself, how OS/2 manages h/w memory.
I mean, how does it know, that a specified region is not already used
by hardware? Does it ask ResMan$ for it? ISAPNP.SNP just calls ResMan$
and that's it.

So I suppose already configured PnP hardware is just added to ResMan$,
but theoretically it could happen that a BIOS-preconfigured device is
using memory that got assigned by OS/2 prior loading of ISAPNP.SNP.
How does this work out?

Another question comes into my mind: If a PCI device needs I/O space,
from which base should I start trying to assign? Is there some "magic"
base? I couldn't find anything in PCI documentation.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

In <ak8q6k+iirs@eGroups.com>, on 08/24/2002 
   at 08:27 PM, "kiewitz2000" <kiewitz@netlabs.org> said:

>I just asked myself, how OS/2 manages h/w memory.
>I mean, how does it know, that a specified region is not already used by
>hardware? Does it ask ResMan$ for it? ISAPNP.SNP just calls ResMan$ and
>that's it.

OS/2 asks the BIOS for the size of memory, and it assumes that it's linear
contiguous from offset 0.  That is, if BIOS says it has 512MB, then OS/2
assumes that system RAM is from 0 to 536,870,911.

PCI memory exists typically above the 3.5GB boundray, and I think the
north bridge handles that.

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Hi, I want to start developing OS2 drivers.
Now my knowledge of the kernel is totaly limited.
But I have already written NT-drivers.  
Can one of you tell me how different these kernels are?

As far as I know NT should hav been named os/2 3.0


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

In <3D6803C0.90802@koepferl.de>, on 08/25/2002 
   at 12:08 AM, "Robert K." <Robert@koepferl.de> said:

>Hi, I want to start developing OS2 drivers.
>Now my knowledge of the kernel is totaly limited.
>But I have already written NT-drivers.  
>Can one of you tell me how different these kernels are?

Which version of NT? 3.5, 4.0, or 5.0 (aka Windows 2000?)

OS/2 drivers are much more like Linux drivers than they are like Windows
drivers, and they are very different from WDM drivers.

OS/2 drivers are very simple, actually.  The hard part will be to get a
build environment working.

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Sun, 25 Aug 2002 00:08:00 +0200, Robert K. wrote:

>As far as I know NT should hav been named os/2 3.0

Actually I have an old Byte around somewhere with an article on Microsofts new OS/2 NT 3.0.
Dave


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


 

--- In os2ddprog@y..., Timur Tabi <timur@t...> wrote:
> PCI memory exists typically above the 3.5GB boundray, and I think the
> north bridge handles that.

Is this defined somewhere or is this assignment based on "guessing"?

And what about prefetchable and non-prefetchable memory. I know what
it is, but what do I do, if a PCI device requests them? How do I know
which memory regions are prefetchable and which are not? Is this
hard-coded into physical memory space? I heard about Linux allocating
such memory (non-prefetchable) at Fxxxxxxx, so is that type hard-coded
there?

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On 24 Aug 2002 20:27:05 UT, kiewitz@netlabs.org wrote:

>So I suppose already configured PnP hardware is just added to ResMan$,
>but theoretically it could happen that a BIOS-preconfigured device is
>using memory that got assigned by OS/2 prior loading of ISAPNP.SNP.
>How does this work out?

AKAIK, OS/2 will simply not use the physical memory area where ISA cards
usually put their memory windows in (D0000-EFFFF). VDMs will see the "real
thing" only, if a "MEM_EXCLUDE_REGION" is set.



--
Ruediger "Rudi" Ihle



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Все еще платишь за каждый свой сайт? Оставь это в прошлом - http://www.newhost.ru

Hi folks,

what does error code 0x82 returned by VMGlobalToProcess mean ?

I could successfully map some physical memory (on a PCI card)
into either global or the current process' address space using 
VMAlloc. No problem so far..

But when I try VMGlobalToProcess for the linear address obtained
by mapping the physical memory into system space, I get the above
error. Any ideas, why ?



--
Ruediger "Rudi" Ihle



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Sat, 24 Aug 2002 16:04:21 -0500, Timur Tabi wrote:

>>I just asked myself, how OS/2 manages h/w memory.
>>I mean, how does it know, that a specified region is not already used by
>>hardware? Does it ask ResMan$ for it? ISAPNP.SNP just calls ResMan$ and
>>that's it.
>
>OS/2 asks the BIOS for the size of memory, and it assumes that it's linear
>contiguous from offset 0.  That is, if BIOS says it has 512MB, then OS/2
>assumes that system RAM is from 0 to 536,870,911.

Neither does the BIOS say something like "I have 512MB" nor does OS/2
assume it is a contiguous region.

In fact, at boot time OS2KRNL inherits a list of memory regions from
OS2LDR which in turn tries various methods (depending on machine type
and BIOS features) to build this list (most notably from the Int15/E820
service with recent OS2LDRs). Typical memory setups consist of 2
regions (low: 0KiB - around 640KiB, and ext/high: 1MiB - top of
memory), sometimes 3 regions (low: as above, ext: 1MiB - 15MiB, high:
16MiB - top of memory).

>PCI memory exists typically above the 3.5GB boundray, and I think the
>north bridge handles that.

True, this 3.5GiB boundary is something like a semi-standard on regular
desktop machines.

Ciao,
  Dani



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Sun, 25 Aug 2002 07:23:48 -0000, kiewitz2000 wrote:

>And what about prefetchable and non-prefetchable memory. I know what
>it is, but what do I do, if a PCI device requests them?

Set up the MTRRs accordingly (look up the CPU specs).

>How do I know which memory regions are prefetchable and which are not?

The BARs will tell you (look up the PCI spec).

>Is this hard-coded into physical memory space?

No.

Ciao,
  Dani



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru



Dave and Natalie schrieb:

>On Sun, 25 Aug 2002 00:08:00 +0200, Robert K. wrote:
>
>  
>
>>As far as I know NT should hav been named os/2 3.0
>>    
>>
>
>Actually I have an old Byte around somewhere with an article on Microsofts new OS/2 NT 3.0.
>Dave
>
>  
>
Oh, verry nice.  Do you think its possible for you to do the work for us 
and scan it?
I'd be verry interested in it....

__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!
--- In os2ddprog@y..., "Daniela Engert" <dani@n...> wrote:
> Neither does the BIOS say something like "I have 512MB" nor does OS/2
> assume it is a contiguous region.
> 
> In fact, at boot time OS2KRNL inherits a list of memory regions from
> OS2LDR which in turn tries various methods (depending on machine type
> and BIOS features) to build this list (most notably from the Int15/E820
> service with recent OS2LDRs). Typical memory setups consist of 2
> regions (low: 0KiB - around 640KiB, and ext/high: 1MiB - top of
> memory), sometimes 3 regions (low: as above, ext: 1MiB - 15MiB, high:
> 16MiB - top of memory).

How can I find out about this? I mean how can I ask OS/2 for that
information? I would need that info, when assigning memory space to
devices. Or can I just "trial-and-error" using ResMgr? Does it know
about the physical memory space or does it just know about the actual
device memory usage, but nothing more?

> >PCI memory exists typically above the 3.5GB boundray, and I think the
> >north bridge handles that.
> True, this 3.5GiB boundary is something like a semi-standard on regular
> desktop machines.

I will look into it, thanx.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

In <aka0m4+ehrf@eGroups.com>, on 08/25/2002 
   at 07:23 AM, "kiewitz2000" <kiewitz@netlabs.org> said:

>> PCI memory exists typically above the 3.5GB boundray, and I think the
>> north bridge handles that.

>Is this defined somewhere or is this assignment based on "guessing"?

It's not a guess, but I don't remember the source of the information.  The
North Bridge connects the CPU to the PCI bus.

>And what about prefetchable and non-prefetchable memory. I know what it
>is, but what do I do, if a PCI device requests them? How do I know which
>memory regions are prefetchable and which are not? Is this hard-coded
>into physical memory space? I heard about Linux allocating such memory
>(non-prefetchable) at Fxxxxxxx, so is that type hard-coded there?

I've never heard of pre-fetchable or cacheable PCI memory.  All PCI
accesses are supposed to be non-cached and without pre-fetches, because
otherwise there would be data corruption.

-- 
Timur Tabi, timur@tabi.org
Looking for a full-featured, low-cost domain hosting service?
Try DreamHost: http://www.dreamhost.com/rewards.cgi?thetabis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On Sun, 25 Aug 2002 11:27:24 -0000, kiewitz2000 wrote:

>> In fact, at boot time OS2KRNL inherits a list of memory regions from
>> OS2LDR which in turn tries various methods (depending on machine type
>> and BIOS features) to build this list (most notably from the Int15/E820
>> service with recent OS2LDRs). Typical memory setups consist of 2
>> regions (low: 0KiB - around 640KiB, and ext/high: 1MiB - top of
>> memory), sometimes 3 regions (low: as above, ext: 1MiB - 15MiB, high:
>> 16MiB - top of memory).
>
>How can I find out about this?

You can't.

>I mean how can I ask OS/2 for that information?

You can't.

>I would need that info, when assigning memory space to
>devices. Or can I just "trial-and-error" using ResMgr?

ResMgr doesn't know anything about this info AFAIK.

>Does it know
>about the physical memory space or does it just know about the actual
>device memory usage, but nothing more?

I don't know.

Ciao,
  Dani



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On Sun, 25 Aug 2002 09:08:18 -0500, Timur Tabi wrote:

>I've never heard of pre-fetchable or cacheable PCI memory.  All PCI
>accesses are supposed to be non-cached and without pre-fetches, because
>otherwise there would be data corruption.

Look up the definition of memory type BARs in the PCI spec. Bit 3 is
the "prefetchable" attribute.

Ciao,
  Dani



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

--- In os2ddprog@y..., Timur Tabi <timur@t...> wrote:
> >And what about prefetchable and non-prefetchable memory. I know what it
> >is, but what do I do, if a PCI device requests them? How do I know
which
> >memory regions are prefetchable and which are not? Is this hard-coded
> >into physical memory space? I heard about Linux allocating such memory
> >(non-prefetchable) at Fxxxxxxx, so is that type hard-coded there?
> I've never heard of pre-fetchable or cacheable PCI memory.  All PCI
> accesses are supposed to be non-cached and without pre-fetches, because
> otherwise there would be data corruption.

I'm talking about h/w memory in general, because my driver handles
everything (PnP System Nodes, ISA logical devices and PCI functions)
in the same manner. Anyway, all of them may request both types of
memory. PCI devices may request such memory as well using Bit 3 of the
Memory Base Address fields of PCI Config space (10h, 14h, etc.).

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

 Г   "Robert K." <Robert@koepferl.de>:

> >Actually I have an old Byte around somewhere with an article on
>> Microsofts new OS/2 NT 3.0.
> Oh, verry nice.  Do you think its possible for you to do the work for us
> 
> and scan it?
> I'd be verry interested in it....

I think I can remember some of that article... at least the reason they titled
the article that way.  IIRC it was saying that NT was supposed to be OS/2 3.0,
but due to the split, M$ goes its own way or something like that.

But I'm really glad NT 3.0 wasn't OS/2 3.0... Or else I'd choke to death with
its memory requirement... (remember how much memory cost back then?)

Talking about magazines, do people remember that PC Mag slammed OS/2 2.0 and 2.1
about its 16bit components while praising that Win95's 16bit components "can be
faster than 32bit code".  That caused me to drop PCMag off the map instantly.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
█╔╙╝Б╝ЮК╔ ╞═є═НБ, ═ ґ╔╙╝Б╝ЮК╔ ґ╔Б - http://www.newhost.ru

On Sun, 25 Aug 2002 23:07:28 -0500 (CDT), davidwei@cybermail.net wrote:

>> and scan it?
>> I'd be verry interested in it....
>
>I think I can remember some of that article... at least the reason they titled
>the article that way.  IIRC it was saying that NT was supposed to be OS/2 3.0,
>but due to the split, M$ goes its own way or something like that.
>
 True... OS/2 2.0 and NT were in fact in development at the same time. 
The OS/2 2.0 API was designed so that it could be supported by NT.

>But I'm really glad NT 3.0 wasn't OS/2 3.0... Or else I'd choke to death with
>its memory requirement... (remember how much memory cost back then?)
>
>Talking about magazines, do people remember that PC Mag slammed OS/2 2.0 and 2.1
>about its 16bit components while praising that Win95's 16bit components "can be
>faster than 32bit code".  That caused me to drop PCMag off the map instantly.
>
 The fun part of course is that they were probably right about 16-bit 
components in Win95 being faster than 32-bit. But the same was true 
for OS/2 :-)


     Michal



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/mG3HAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru ©шпщ "©ЮчДь" - Бпзчсч рК щу АэчжуБу Ауяу ъчврчшьБЛ тпжу щп рКтушущщчэ АуЮруЮу...

             Hello!
    Anybody using warpdriver from Netlabs CVS? I'm try to use, but all
i got - deep hang after irq arrive. I'm fear is some problem with my
Watcom and/or DDK setup. Can somebody send me working binaries? 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

In my driver LXAPI32.SYS I'm using KernReadFileAt() to read and parse
an ASCII file. When driver SEC32.SYS (It's part of AVP/2) is installed
my driver traps in KernReadFileAt(). Is this a bug in
- My driver?
- KernReadFileAt()?
- SEC32.SYS?

MfG Stefan Milcke
42 ;-)



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

--- In os2ddprog@y..., "alexcherkaev" <doctor@a...> wrote:
>              Hello!
>     Anybody using warpdriver from Netlabs CVS? I'm try to use, but all
> i got - deep hang after irq arrive. I'm fear is some problem with my
> Watcom and/or DDK setup. Can somebody send me working binaries?

Have you checked the files section of this group? I uploaded the 
files that were at the warpdriver group.
http://groups.yahoo.com/group/warpdriver
I don't know if this is what you are looking for.

TomLeeM


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hi everyone!

I got my injection code working yesterday, so I'm now able to
intercept any OEMHLP$ calls :] It's runtime patching, so no physical
patching is required.

Well, as I'm replacing the PCI-APIs, I stepped over "Query PCI BIOS"
and I'm asking myself, if it's a wise thing to mask out both "hardware
configuration mechanism support bits", so that drivers that try to do
direct PCI hardware configuration would be pseudo-forced to use IOCTL.

Any thoughts against that method?

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

--- In os2ddprog@y..., "kiewitz2000" <kiewitz@n...> wrote:
> Well, as I'm replacing the PCI-APIs, I stepped over "Query PCI BIOS"
> and I'm asking myself, if it's a wise thing to mask out both "hardware
> configuration mechanism support bits", so that drivers that try to do
> direct PCI hardware configuration would be pseudo-forced to use IOCTL.

I just read some of the IBM1S506 sourcecodes and the thingie is
actually setting PCI registers directly arrrrggghhhh. Additionally
there is not even a "fallback to IOCTL/BIOS mode". GREAT. Why do
people do this? I mean those drivers could fail easily, if e.g. the
hardware is bad or the BIOS has to emulate/fix something on hardwareside.

I will therefore not tweak around with the results, so replies are not
needed :)

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On Fri, 30 Aug 2002 11:38:19 -0000, kiewitz2000 wrote:

>--- In os2ddprog@y..., "kiewitz2000" <kiewitz@n...> wrote:
>> Well, as I'm replacing the PCI-APIs, I stepped over "Query PCI BIOS"
>> and I'm asking myself, if it's a wise thing to mask out both "hardware
>> configuration mechanism support bits", so that drivers that try to do
>> direct PCI hardware configuration would be pseudo-forced to use IOCTL.

???? What are you talking about here ????

>I just read some of the IBM1S506 sourcecodes and the thingie is
>actually setting PCI registers directly arrrrggghhhh. Additionally
>there is not even a "fallback to IOCTL/BIOS mode". GREAT. Why do
>people do this?

Using IOCtl -> BIOS isn't exactly the wisest choice if you are in
interrupt context (where most of ADD/FLT code is executed in).

Ciao,
  Dani

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniela Engert, systems engineer at MEDAV GmbH
Gr fenberger Str. 32-34, 91080 Uttenreuth, Germany
Phone ++49-9131-583-348, Fax ++49-9131-583-11



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru -      ,   -         ,           .....


--- In os2ddprog@y..., "Daniela Engert" <dani@n...> wrote:
> On Fri, 30 Aug 2002 11:38:19 -0000, kiewitz2000 wrote:
> 
> >> Well, as I'm replacing the PCI-APIs, I stepped over "Query PCI BIOS"
> >> and I'm asking myself, if it's a wise thing to mask out both
"hardware
> >> configuration mechanism support bits", so that drivers that try to do
> >> direct PCI hardware configuration would be pseudo-forced to use
IOCTL.
> ???? What are you talking about here ????

Generic IOCTL, Category OEMHLP, Functioncode: PCI, Sub-Code: 0
Query PCI BIOS. Replies with configuration mechanism support, total
bus count (sometimes buggy, due bad boy BIOS) & PCI Revision version.

> >I just read some of the IBM1S506 sourcecodes and the thingie is
> >actually setting PCI registers directly arrrrggghhhh. Additionally
> >there is not even a "fallback to IOCTL/BIOS mode". GREAT. Why do
> >people do this?
> Using IOCtl -> BIOS isn't exactly the wisest choice if you are in
> interrupt context (where most of ADD/FLT code is executed in).

Funny that you mention it. S506OEM.c calls GenIOCTL/PCI/Sub-Code 0
(query PCI BIOS) for *every* single PCI space read/write to find out
which configuration mechanism to use, at least as far as I can see.
No caching, no nothing. So at least doing those calls directly via
IOCTL would have been a lot wiser. If it was done, because of buggy
BIOS implementations, one could have fixed and implemented h/w mode
into OEMHLP$ APIs instead of doing those things in the actual driver.

Or is it possible that the support of PCI configuration mechanisms is
able to change itself "on-the-fly"? ;-)

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

--- In os2ddprog@y..., "kiewitz2000" <kiewitz@n...> wrote:

> Funny that you mention it. S506OEM.c calls GenIOCTL/PCI/Sub-Code 0
> (query PCI BIOS) for *every* single PCI space read/write to find out
> which configuration mechanism to use, at least as far as I can see.

To be accurate:
Actually the thingie calls the AttachDD pointer, but that's the normal
OEMHLP$ strategy entry, so it's doing IOCTL, but w/o the kernel overhead.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Fri, 30 Aug 2002 13:32:32 -0000, kiewitz2000 wrote:

>> ???? What are you talking about here ????
>
>Generic IOCTL, Category OEMHLP, Functioncode: PCI, Sub-Code: 0
>Query PCI BIOS. Replies with configuration mechanism support, total
>bus count (sometimes buggy, due bad boy BIOS) & PCI Revision version.

I see. Actually, PCI config mechanism 1 is deprecated since long, so a
decent mechanism 2 implementation should suffice.

>> >I just read some of the IBM1S506 sourcecodes and the thingie is
>> >actually setting PCI registers directly arrrrggghhhh. Additionally
>> >there is not even a "fallback to IOCTL/BIOS mode". GREAT. Why do
>> >people do this?
>> Using IOCtl -> BIOS isn't exactly the wisest choice if you are in
>> interrupt context (where most of ADD/FLT code is executed in).
>
>Funny that you mention it. S506OEM.c calls GenIOCTL/PCI/Sub-Code 0
>(query PCI BIOS) for *every* single PCI space read/write to find out
>which configuration mechanism to use, at least as far as I can see.

I've had a look at the June 02 sources of IBM1S506, and you are true.
Luckily enough, DaniS506s version of S506OEM.c is much smarter :-)

>Or is it possible that the support of PCI configuration mechanisms is
>able to change itself "on-the-fly"? ;-)

That's just lazy programming, I'm afraid.

Ciao,
  Dani



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

--- In os2ddprog@y..., "Daniela Engert" <dani@n...> wrote:
> >> ???? What are you talking about here ????
> >
> >Generic IOCTL, Category OEMHLP, Functioncode: PCI, Sub-Code: 0
> >Query PCI BIOS. Replies with configuration mechanism support, total
> >bus count (sometimes buggy, due bad boy BIOS) & PCI Revision version.
> I see. Actually, PCI config mechanism 1 is deprecated since long, so a
> decent mechanism 2 implementation should suffice.

They are both very simple, so GCONFIG will support 1&2 as well as BIOS.
Searching for devices is already done via detection area, instead of
using the corresponding BIOS calls, so FindDeviceClass works anytime
and it's also possible now to search for a specific Class (w/o
SubClass/InterfaceType) or VendorID only. GCONFIG API offers even more
search options to the programmer.

> >Funny that you mention it. S506OEM.c calls GenIOCTL/PCI/Sub-Code 0
> >(query PCI BIOS) for *every* single PCI space read/write to find out
> >which configuration mechanism to use, at least as far as I can see.
> I've had a look at the June 02 sources of IBM1S506, and you are true.
> Luckily enough, DaniS506s version of S506OEM.c is much smarter :-)

I thought so :-)
btw. IBM1S506 is also using OEMHLP$ sometimes. I don't fully
understand the "logic" behind it, anyway I just made my GCONFIG driver
to fully replace OEMHLP$-PCI functions. I wasn't keen enough to fully
boot my notebook though, but it seems to work :] I will implement both
h/w mechanisms tomorrow and that version will get out soon for public
beta testing.

I'm currently asking myself, how the user could get enabled to choose
which type of access to use. I mean final GCONFIG will replace
ISAPNP.snp, so there is no command-line. One possibility would be to
include a dummy device driver and get those commandline options via
RMGetCommandline(). I would really prefer a CONFIG.SYS approach,
instead of semamorph files, because the user could even choose the
method(s) to use, when booting from CD-ROM by using the Alt-F1 menu
and a different CONFIG file.

Any ideas?

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

--- In os2ddprog@y..., "tomleem7659" <jerseywarp@o...> wrote:
 
> Have you checked the files section of this group? I uploaded 
the 
> files that were at the warpdriver group.
Yes, i'm look in it. It just source, i'm have it. I'm need 
working binaries.

Alex Cherkaev.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

In <akirnu+qhgk@eGroups.com>, on 08/28/02 
   at 03:54 PM, "alexcherkaev" <doctor@atm-lan.com.ua> said:

>    Anybody using warpdriver from Netlabs CVS? I'm try to use, but all i
>got - deep hang after irq arrive. I'm fear is some problem with my Watcom
>and/or DDK setup. Can somebody send me working binaries? 

Do you have the kernel debugger up and running?  If not, you should.

Steven


-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

--- In os2ddprog@y..., "Steven Levine" <steve53@e...> wrote:
> In <akirnu+qhgk@e...>, on 08/28/02 
>    at 03:54 PM, "alexcherkaev" <doctor@a...> said:
> 
> >    Anybody using warpdriver from Netlabs CVS? I'm try to use, but 
all i
> >got - deep hang after irq arrive.

> Do you have the kernel debugger up and running?  If not, you 
should.
Yes, of course. I'm try to set breakpoint at start of irq handler, 
but without positive result. After arriving irq, MUT is hanged, and i 
can't awake it throw ICAT or serial KDB interface.
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Looking for a more powerful website? Try GeoCities for $8.95 per month.
Register your domain name (http://your-name.com). More storage! No ads!
http://geocities.yahoo.com/ps/info
http://us.click.yahoo.com/aHOo4D/KJoEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

In <akt4bt+cq5d@eGroups.com>, on 09/01/02 
   at 01:23 PM, "alexcherkaev" <doctor@atm-lan.com.ua> said:

>Yes, of course.

I try to not make assumptions.

>I'm try to set breakpoint at start of irq handler,  but
>without positive result. After arriving irq, MUT is hanged, and i  can't
>awake it throw ICAT or serial KDB interface.

If you set a a breakpoint at the entry to GENISR::handler(), do the
breakpoint trigger?

Also, I don't recall if you mentioned which version of Watcom you are
using.  The default structure packing has changed over the years.  I don't
know what version Timur used but this might be your problem.  You migh try
forcing word packing.  That was the default for older versions of Watcom.

Steven

-- 
---------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Looking for a more powerful website? Try GeoCities for $8.95 per month.
Register your domain name (http://your-name.com). More storage! No ads!
http://geocities.yahoo.com/ps/info
http://us.click.yahoo.com/aHOo4D/KJoEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hi !

I'm just trying to understand PCI IRQ routing.
Fine, I get the actual Pin->IRQ routing from host bridge.

 PIRQRC Route Control
  PIRCQA Routing                       enabled - IRQ 11
  PIRCQB Routing                       disabled - Reserved
  PIRCQC Routing                       enabled - IRQ 9
  PIRCQD Routing                       enabled - IRQ 10

Now this fits on every card, but:
PCI bus 00 device 0B function 00:  Header Type 'non-bridge' (single-func)
Vendor:
10EC
Realtek Semicond.                                 
Device:
8139
RT8139 Fast Ethernet Network Card                 
[...]
INTline:
   09	INTpin:       01

???
Now INTA# is IRQ9?
Is this a bug in BIOS setup? Or is there some more routing involved?

Is there any way to get the actual routing via BIOS instead of
supporting every little PCI bridge out there? This can't be.
There is an IRQ routing function in PCI BIOS, but it's definitely
undocumented. I mean I couldn't find any real documentation about it
and the output of PCI.exe isn't really understandable.

I just need to know what to write to the PCI IRQ byte, if nothing got
assigned by BIOS. I don't want to change the actual PCI INTx<->IRQ
routing. Is there a routing on a per slot/card basis? And in the
PCI.exe output, there is no entry for my AGP card, not on my main
machine nor on my notebook.

cu, slightly confused Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....



kiewitz2000 wrote:
> 
> Hi !
> 
> I'm just trying to understand PCI IRQ routing.
> Fine, I get the actual Pin->IRQ routing from host bridge.
> 
>  PIRQRC Route Control
>   PIRCQA Routing                       enabled - IRQ 11
>   PIRCQB Routing                       disabled - Reserved
>   PIRCQC Routing                       enabled - IRQ 9
>   PIRCQD Routing                       enabled - IRQ 10
> 
> Now this fits on every card, but:
> PCI bus 00 device 0B function 00:  Header Type 'non-bridge' (single-func)
> Vendor:
> 10EC
> Realtek Semicond.
> Device:
> 8139
> RT8139 Fast Ethernet Network Card
> [...]
> INTline:
>    09   INTpin:       01
> 
> ???
> Now INTA# is IRQ9?
> Is this a bug in BIOS setup? Or is there some more routing involved?
> 
> Is there any way to get the actual routing via BIOS instead of
> supporting every little PCI bridge out there? This can't be.
> There is an IRQ routing function in PCI BIOS, but it's definitely
> undocumented. I mean I couldn't find any real documentation about it
> and the output of PCI.exe isn't really understandable.
> 
> I just need to know what to write to the PCI IRQ byte, if nothing got
> assigned by BIOS. I don't want to change the actual PCI INTx<->IRQ
> routing. Is there a routing on a per slot/card basis? And in the
> PCI.exe output, there is no entry for my AGP card, not on my main
> machine nor on my notebook.
> 
> cu, slightly confused Kiewitz
> 
Well IIRc the bridge asigns IRQs to Line A-D but most PCI cards only 
use Line A (PIN1). So to distribute the IRQ load the vendors hardwire
the IRQ Lines not to the same PIN on each PCI slot.
So usually you have something like:
PIN\Slot    APG SL1 SL2 SL3 SL4 SL5
 1           A   A   B   C   D   A
 2               B   C   D   A   B
 3               C   D   A   B   C
 4               D   A   B   C   D

If your have a good handbook of your motherboard you find a PCI-IRQ/Slot
routing diagram in it. How this routing is done is up to the HW vendor.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

--- In os2ddprog@y..., Markus Montkowski <mmontkowski@g...> wrote:

> Well IIRc the bridge asigns IRQs to Line A-D but most PCI cards only 
> use Line A (PIN1). So to distribute the IRQ load the vendors hardwire
> the IRQ Lines not to the same PIN on each PCI slot.
> So usually you have something like:
> PIN\Slot    APG SL1 SL2 SL3 SL4 SL5
>  1           A   A   B   C   D   A
>  2               B   C   D   A   B
>  3               C   D   A   B   C
>  4               D   A   B   C   D

Yup, I just found out by myself.
It's almost pretty easy, this information is covered in the routing
table. I just forgot that my AGP graphic card will use the routing of
the PCI<->AGP bridge, that's what got me confused in the first set,
because it wasn't listed in the routing table.

But this also means that secondary PCI buses would need to use the
same INTx routing for all slots? Or is there a sub-routing involved?

> If your have a good handbook of your motherboard you find a PCI-IRQ/Slot
> routing diagram in it. How this routing is done is up to the HW vendor.

Is there a generic way to find out which IRQ is connected to which
INTx or do I have to do support for every little tiny bridge. I mean
there has to be another INTx<->IRQ table somewhere. It's just 4 bytes
of data.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Looking for a more powerful website? Try GeoCities for $8.95 per month.
Register your domain name (http://your-name.com). More storage! No ads!
http://geocities.yahoo.com/ps/info
http://us.click.yahoo.com/aHOo4D/KJoEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

> Is there a generic way to find out which IRQ is connected to which
> INTx or do I have to do support for every little tiny bridge. I mean
> there has to be another INTx<->IRQ table somewhere. It's just 4 bytes
> of data.

Hmm, I suppose there is really none.
But I had an idea to stay bridge-independant.

What about getting INTx<->IRQ routing from the devices that are
already setup. I mean getting the Interrupt-Pin byte from PCI Config
Space. Checking in routing table, which line it belongs to. Now saving
the IRQ byte from Config space.

After all devices got processed, I would have a limited INTx<->IRQ
routing table and if another device needs to be setup, where I don't
know the corresponding IRQ line, I could setup a new routing for that
line via BIOS.

Would this work? I think theoretically it should.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Looking for a more powerful website? Try GeoCities for $8.95 per month.
Register your domain name (http://your-name.com). More storage! No ads!
http://geocities.yahoo.com/ps/info
http://us.click.yahoo.com/aHOo4D/KJoEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

Hi !

Does someone in here have some documentation about the CPU registers
read out by RDMSR, especially about the MTRRs and how it works on e.g.
SMP machines? I read somewhere, that those registers are different on
e.g. Cyrix and AMD processors as well. So I need as much documentation
as possible.

My assembly book doesn't contain any information about it, but the
actual opcode :(

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

> Does someone in here have some documentation 
about the CPU registers
> read out by RDMSR, especially about the MTRRs and 
how it works on e.g.
> SMP machines? I read somewhere, that those 
registers are different on
> e.g. Cyrix and AMD processors as well. So I need 
as much documentation
> as possible.

Just get Programmer's manual for CPU, which you 
want (from vendor). Or look into p6k7mtrr.sys 
sources (Hobbes). For SMP case this is a real 
headache, because you must set MTRRs of all CPUs
equally....

Valery




------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

--- In os2ddprog@y..., "gaynullin" <gaynullin@y...> wrote:
> > Does someone in here have some documentation 
> about the CPU registers
> > read out by RDMSR, especially about the MTRRs and 
> how it works on e.g.
> > SMP machines? I read somewhere, that those 
> registers are different on
> > e.g. Cyrix and AMD processors as well. So I need 
> as much documentation
> > as possible.
> Just get Programmer's manual for CPU, which you 
> want (from vendor). Or look into p6k7mtrr.sys 
> sources (Hobbes). For SMP case this is a real 
> headache, because you must set MTRRs of all CPUs
> equally....

Sources of the MTRR-IOCTL driver were released?
I didn't know. That's good. I'm currently trying to contact the
developer and ask him, if I may include the functionality into
GCONFIG. I need those APIs before any other driver gets loaded and
imho it's not bad to have that API included into GCONFIG for
PDD-developers to use.

btw. afaik Intel SMP doesn't require to set registers on every CPU,
those registers are combined, so a write to one CPU is duplicated to
the others.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Thu, 05 Sep 2002 10:42:21 -0000, kiewitz2000 wrote:

>--- In os2ddprog@y..., "gaynullin" <gaynullin@y...> wrote:

>> > Does someone in here have some documentation 
>> about the CPU registers

Probably every P5++ class CPU does have MTRRs or MSRs, and certainly
every CPU has different ones. The only MSR accessable in a guaranteed
and compatible manner is the TSC by means of the RDTSC instruction.

>> > read out by RDMSR, especially about the MTRRs and 
>> how it works on e.g.
>> > SMP machines?

Ooops, that is extremely difficult to deal with. According to the
SciTech peoply (e.g. M.Necasek) keeping the MTRRs synchronized will
cause you lots of headaches (it tends to fail on SDD/SNAP as well).
They say there is an INTEL document about that, but implementing this
stuff by means of the OS/2 API is the real problem.

>btw. afaik Intel SMP doesn't require to set registers on every CPU,
>those registers are combined, so a write to one CPU is duplicated to
>the others.

They are *not* synchronized, AFAIK.

Ciao,
  Dani

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniela Engert, systems engineer at MEDAV GmbH
Gr fenberger Str. 32-34, 91080 Uttenreuth, Germany
Phone ++49-9131-583-348, Fax ++49-9131-583-11



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Looking for a more powerful website? Try GeoCities for $8.95 per month.
Register your domain name (http://your-name.com). More storage! No ads!
http://geocities.yahoo.com/ps/info
http://us.click.yahoo.com/aHOo4D/KJoEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Щ                                  ?                      - http://www.newhost.ru


--- In os2ddprog@y..., "Daniela Engert" <dani@n...> wrote:
> >> > Does someone in here have some documentation 
> >> about the CPU registers
> Probably every P5++ class CPU does have MTRRs or MSRs, and certainly
> every CPU has different ones. The only MSR accessable in a guaranteed
> and compatible manner is the TSC by means of the RDTSC instruction.

You mean every CPU class or even every CPU model and revision?

> >> > read out by RDMSR, especially about the MTRRs and 
> >> how it works on e.g.
> >> > SMP machines?
> Ooops, that is extremely difficult to deal with. According to the
> SciTech peoply (e.g. M.Necasek) keeping the MTRRs synchronized will
> cause you lots of headaches (it tends to fail on SDD/SNAP as well).
> They say there is an INTEL document about that, but implementing this
> stuff by means of the OS/2 API is the real problem.

The main problem for me is that I don't have any SMP system to try it
out :(

> >btw. afaik Intel SMP doesn't require to set registers on every CPU,
> >those registers are combined, so a write to one CPU is duplicated to
> >the others.
> They are *not* synchronized, AFAIK.

That's curious. I read about a Linux patch, that was described as
"only sets MTRRs on one cpu in SMP systems, because they would sync
themselves". I personally know nothing about it currently, so don't
count my word.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

Hi,

I am puzzled by this question. I have no problem with Dani's answer as
such but I wonder if the question may be referring to something else.

As I understand it an SMP (and also an AMP) will maintain completely
separate sets of registers, but that they will be refreshed on a cpu
actuation. I would not expect this to be a concern for the device driver
as such.

Since the question was raised I am probably wrong in this thinking and I
would appreciate any more information.

JAW

On Thu, 5 Sep 2002, Daniela Engert wrote:

> >btw. afaik Intel SMP doesn't require to set registers on every CPU,
> >those registers are combined, so a write to one CPU is duplicated to
> >the others.
> 
> They are *not* synchronized, AFAIK.
> 
> Ciao,
>   Dani
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Daniela Engert, systems engineer at MEDA


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home for Top $
http://us.click.yahoo.com/RrPZMC/jTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Thu, 05 Sep 2002 12:52:19 +0200 (CDT), Daniela Engert wrote:

>>> > Does someone in here have some documentation 
>>> about the CPU registers
>
>Probably every P5++ class CPU does have MTRRs or MSRs, 
>
 Most of them, yes. Intel PPro and above. Some models of AMD 
K6-2 and above. Athlons use Intel-style MTRRs. Cyrix M2 and later 
has MTRRs as well. Not sure about IDT.

>and certainly every CPU has different ones. 
>
 There are about five different styles of MTRR access.

>>> > read out by RDMSR, especially about the MTRRs and 
>>> how it works on e.g.
>>> > SMP machines?
>
>Ooops, that is extremely difficult to deal with. According to the
>SciTech peoply (e.g. M.Necasek) keeping the MTRRs synchronized will
>cause you lots of headaches (it tends to fail on SDD/SNAP as well).
>
 Yep :-)

>They say there is an INTEL document about that, but implementing this
>stuff by means of the OS/2 API is the real problem.
>
 Exactly. From a PDD it's AFAIK completely impossible because a PDD 
can't switch to desired CPU at will (Linux kernel can). From app 
level it'd be fine IF the affinity APIs worked reliably but apparently 
they don't (just most of the time).

>>btw. afaik Intel SMP doesn't require to set registers on every CPU,
>>those registers are combined, so a write to one CPU is duplicated to
>>the others.
>
>They are *not* synchronized, AFAIK.
>
 They most certainly are not. Every SDD/SNAP user with a SMP machine 
can attest to that. Every CPU has its own MTRRs and they are NOT 
automagically kept in sync. If somebody says they are, don't listen 
to them. Intel's P6 CPU manuals have all the details and the official 
procedure for MTRR updating (which you won't be able to implement on 
OS/2).


      Michal



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Looking for a more powerful website? Try GeoCities for $8.95 per month.
Register your domain name (http://your-name.com). More storage! No ads!
http://geocities.yahoo.com/ps/info
http://us.click.yahoo.com/aHOo4D/KJoEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
бьЕп ЦзЮпьщАзпО щчГЛ, щч АпыБьз шЦГХу ъуЮуъЮОБпБЛ... http://www.newhost.ru - эуАБч тчАБчыщчу ╡пХусч АпыБп!

On Thu, 05 Sep 2002 09:53:00 -0700 (PDT), Michal Necasek wrote:

>>>btw. afaik Intel SMP doesn't require to set registers on every CPU,
>>>those registers are combined, so a write to one CPU is duplicated to
>>>the others.
>>
>>They are *not* synchronized, AFAIK.
>>
> They most certainly are not. Every SDD/SNAP user with a SMP machine 
>can attest to that.

You bet! I was bitten by that on my dual P2/266 machine at work.

Ciao,
  Dani



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Looking for a more powerful website? Try GeoCities for $8.95 per month.
Register your domain name (http://your-name.com). More storage! No ads!
http://geocities.yahoo.com/ps/info
http://us.click.yahoo.com/aHOo4D/KJoEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Thu, 05 Sep 2002 19:26:14 +0200 (CDT), Daniela Engert wrote:

>> They most certainly are not. Every SDD/SNAP user with a SMP machine 
>>can attest to that.
>
>You bet! I was bitten by that on my dual P2/266 machine at work.
>
 Does it at least work now?


      Michal



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
ҐузчБчЮКу ъптпНБ, п щузчБчЮКу щуБ - http://www.newhost.ru

On Thu, 05 Sep 2002 10:42:31 -0700 (PDT), Michal Necasek wrote:

>On Thu, 05 Sep 2002 19:26:14 +0200 (CDT), Daniela Engert wrote:
>
>>> They most certainly are not. Every SDD/SNAP user with a SMP machine 
>>>can attest to that.
>>
>>You bet! I was bitten by that on my dual P2/266 machine at work.

> Does it at least work now?

SDD 7.0.9 seems to be fine, 7.1.0 (possibly rc1) showed problems. I
didn't check later versions but I will if you want me to do that.

Ciao,
  Dani



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Thu, 05 Sep 2002 20:02:05 +0200 (CDT), Daniela Engert wrote:

>> Does it at least work now?
>
>SDD 7.0.9 seems to be fine, 7.1.0 (possibly rc1) showed problems. I
>didn't check later versions but I will if you want me to do that.
>
 I was messing with it not that long ago (because sometime around 
the 7.0 gold release I broke it) so you'd have to try the latest 
SNAP 2.0 release. It works on our two SMP boxes but you know how it 
is...


      Michal



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
╡Ау уИу ъшпБьХЛ вп зпжтКы Арчы АпыБ? ╬АБпрЛ МБч р ъЮчХшчэ - http://www.newhost.ru

--- In os2ddprog@y..., "Michal Necasek" <MichalN@s...> wrote:
> >They say there is an INTEL document about that, but implementing this
> >stuff by means of the OS/2 API is the real problem.
>  Exactly. From a PDD it's AFAIK completely impossible because a PDD 
> can't switch to desired CPU at will (Linux kernel can). From app 
> level it'd be fine IF the affinity APIs worked reliably but apparently 
> they don't (just most of the time).

That's what she meant by OS/2 API. Yes of course.

Well, at least I should be able to get it working on single-CPU
systems. SMP systems will need to configure themselves using PnP
BIOS=No, this won't harm, because GCONFIG defaults to pass-through
(e.g. no forced configuration of hardware). Additionally I could
implement a check for SMP systems and deny to (re)configure any I/O
mapped memory resources.
This is possible anyway, cause GCONFIG is not forcing a whole
(re)configuration of devices. It's also possible for the user to
assign just an IRQ, but leave the rest of the (BIOS) configuration
intact and the default-mode is pass-through, which means it will
detect new devices, but won't touch their configuration at first.

>  They most certainly are not. Every SDD/SNAP user with a SMP machine 
> can attest to that. Every CPU has its own MTRRs and they are NOT 
> automagically kept in sync. If somebody says they are, don't listen 
> to them. Intel's P6 CPU manuals have all the details and the official 
> procedure for MTRR updating (which you won't be able to implement on 
> OS/2).

Where can I get those manuals?
developer.intel.com?

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Hi everyone!

I just looked through ISAPNP.snp and I couldn't find any access
routines to detect any PnP system nodes. Now I took a look at
previous.dat and no system nodes in there as well. Floppy etc. gets
detected by the legacy snooper (!). ISAPNP.snp only detects PnP CSN cards.

Is this working "as designed"?
My new driver also includes the system nodes from PnP BIOS. I don't
know currently what happens, if I try to register those nodes with
resource-manager. Theoretically I could exclude system nodes from
being registered with ResMgr$, but I would rather include them,
especially because of reconfiguration issues. The legacy snoopers are
loaded later and those shouldn't detect the PnP devices anymore,
because they won't get access to the ports of the PnP nodes.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home with Ease!
http://us.click.yahoo.com/SrPZMC/kTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Hi everyone (again),

I'm just fiddling around with the PCI BIOS IRQ table.
It's a little bit confusing, so I'm posting my findings in here,
hoping that someone corrects me, if I assume something wrong.

I'm using the routing table of my main machine and the one of my notebook:

Bus 0, Device 15 - 60 61 62 63
Bus 0, Device 13 - 61 62 63 60
Bus 0, Device 11 - 62 63 60 61
Bus 0, Device 9 - 63 60 61 62
Bus 0, Device 7 - 60 61 62 63
Bus 0, Device 1 - 60 61 62 63

and my notebook:
Bus 0, Device 1 - 60 61 62 63
Bus 0, Device 7 - 00 00 00 63
Bus 0, Device 8 - 63 00 00 00
Bus 0, Device 9 - 62 00 00 00
Bus 0, Device 10 - 61 00 00 00
Bus 0, Device 12 - 60 61 00 00
Bus 0, Device 16 - 62 00 00 00
Bus 0, Device 13 - 61 00 00 00

The IRQ routing possibilities are easy. One bit per IRQ, where I may
route that interrupt line to. But the above table was confusing me a
lot, because I saw many of those with different values.

So the values actually don't matter. I take the values from the first
device 60-61-62-63 and remember them in order, so 60 means line 1, 61
means line 2 and so on. 0 as "link value" means no pin and no
interrupt line. The 2nd device uses 61-62-63-60, so line 1 is INTD,
line 2 is INTA and so on.

Am I right with this assumption? Anyway, I don't really understand why
they choose those numbers instead of using a numbering scheme
beginning from 1 for line 1 and so on. Is additional information saved
in there?

The next question is how is routing working behind bridges. The
routing table doesn't show the routing on e.g. bus 1. So do I have to
assume that the routing that is done to the bridge is used on all
devices behind it (which means transparent)? Or where can I get that
routing information from? On my main machine and my notebook, this
logic would work out (AGP graphics card is using the same routing as
the AGP bridge), but I'm not sure about it and it would be probably
quite stupid, because every device that uses INTA would route to the
same interrupt line by using that way.

Is it possible for PCI to have more than 4 interrupt lines? I saw some
strange routing table with values from 01-04, but one device had 59h
as value on one pin.
btw. does someone in here got a PCI controller that is using hardware
configuration mechanism 2? I would really like to try out my OEMHLP$
hook with that one.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

Has anyone tried using the programming forum
at http://www.os2world.com ?

TomLeeM


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Plan to Sell a Home?
http://us.click.yahoo.com/J2SnNA/y.lEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

For Information,
I have a book PCI hardware and Software Architecture and Design  by Edward
Soalri and George Willse by Anna Books.
This deals with the issues you have raised exhaustively.You may wish to look
into that.
 
Thanks
 
Ananth
 
 
-----Original Message-----
From: kiewitz2000 [mailto:kiewitz@netlabs.org]
Sent: Wednesday, September 11, 2002 5:35 AM
To: os2ddprog@yahoogroups.com
Subject: [os2ddprog] PCI IRQ Routing table...


Hi everyone (again),

I'm just fiddling around with the PCI BIOS IRQ table.
It's a little bit confusing, so I'm posting my findings in here,
hoping that someone corrects me, if I assume something wrong.

I'm using the routing table of my main machine and the one of my notebook:

Bus 0, Device 15 - 60 61 62 63
Bus 0, Device 13 - 61 62 63 60
Bus 0, Device 11 - 62 63 60 61
Bus 0, Device 9 - 63 60 61 62
Bus 0, Device 7 - 60 61 62 63
Bus 0, Device 1 - 60 61 62 63

and my notebook:
Bus 0, Device 1 - 60 61 62 63
Bus 0, Device 7 - 00 00 00 63
Bus 0, Device 8 - 63 00 00 00
Bus 0, Device 9 - 62 00 00 00
Bus 0, Device 10 - 61 00 00 00
Bus 0, Device 12 - 60 61 00 00
Bus 0, Device 16 - 62 00 00 00
Bus 0, Device 13 - 61 00 00 00

The IRQ routing possibilities are easy. One bit per IRQ, where I may
route that interrupt line to. But the above table was confusing me a
lot, because I saw many of those with different values.

So the values actually don't matter. I take the values from the first
device 60-61-62-63 and remember them in order, so 60 means line 1, 61
means line 2 and so on. 0 as "link value" means no pin and no
interrupt line. The 2nd device uses 61-62-63-60, so line 1 is INTD,
line 2 is INTA and so on.

Am I right with this assumption? Anyway, I don't really understand why
they choose those numbers instead of using a numbering scheme
beginning from 1 for line 1 and so on. Is additional information saved
in there?

The next question is how is routing working behind bridges. The
routing table doesn't show the routing on e.g. bus 1. So do I have to
assume that the routing that is done to the bridge is used on all
devices behind it (which means transparent)? Or where can I get that
routing information from? On my main machine and my notebook, this
logic would work out (AGP graphics card is using the same routing as
the AGP bridge), but I'm not sure about it and it would be probably
quite stupid, because every device that uses INTA would route to the
same interrupt line by using that way.

Is it possible for PCI to have more than 4 interrupt lines? I saw some
strange routing table with values from 01-04, but one device had 59h
as value on one pin.
btw. does someone in here got a PCI controller that is using hardware
configuration mechanism 2? I would really like to try out my OEMHLP$
hook with that one.

cu, Kiewitz




Yahoo! Groups Sponsor	

ADVERTISEMENT
 
<http://rd.yahoo.com/M=229441.2336363.3766536.2225242/D=egroupweb/S=17050160
61:HM/A=1189558/R=0/*http://www.bmgmusic.com/acq/ee/q6/enroll/mhn/9/> 	
 
<http://us.adserver.yahoo.com/l?M=229441.2336363.3766536.2225242/D=egroupmai
l/S=:HM/A=1189558/rand=307209463> 	

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog
<http://www.egroups.com/group/os2ddprog> 

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service. 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

--- In os2ddprog@y..., Anantha Narayanan <anantha_narayan@y...> wrote:
> For Information,
> I have a book PCI hardware and Software Architecture and Design  by
Edward
> Soalri and George Willse by Anna Books.
> This deals with the issues you have raised exhaustively.You may wish
to look
> into that.

Could you look for the required information please?
I don't want to buy a book just to get 2-4 lines of information :-)
I mean it's just the routing behind bridges that are unlisted in PCI
IRQ table. I bet its either a fixed formula to calculate the routing
depending on the Bus routing *or* a pass-through, so that all devices
behind a bus get the same routing as the bus. I assume that it's a
formula depending on devicenumber, so that's the only thing I need.

The basic IRQ routing is now working and the interrupt-lines are found
correctly, but still AGP-bus (or all other buses) routing isn't
discovered (because I won't do it till I definitely know how it works)
and I noticed that nearly all documentation that is available on that
subject is quite inaccurate, so I can not trust it. I need at least
some real-world examples like multiple PCI-buses to find it out.

cu, Kiewitz



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home for Top $
http://us.click.yahoo.com/RrPZMC/jTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Hello All,

How does one read a copy of GINFOSEG? It just a mapping or is there a
DevHelp Routine to get it? The reason I ask is, I have to trace certain
event data, and before dumping the trace, I need to make sure that
particular Major code is enabled for event tracing. The 32 byte bit map,
which holds events that are enabled, resides in GINFOSEG, hence the need to
read it. 

Many thanks,

Samantha. 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Thu, 12 Sep 2002 14:18:40 -0600, Ranaweera, Samantha wrote:

>How does one read a copy of GINFOSEG? 
>
 Selector 80h I think. Or through SAS which is selector 70h.

 Take a look at the Debugging Handbook and search for "GISEG".


    Michal



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Plan to Sell a Home?
http://us.click.yahoo.com/J2SnNA/y.lEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
бьЕп ЦзЮпьщАзпО щчГЛ, щч АпыБьз шЦГХу ъуЮуъЮОБпБЛ... http://www.newhost.ru - эуАБч тчАБчыщчу ╡пХусч АпыБп!

On 12 Sep 2002 21:42:07 UT, sranawee@lsil.com wrote:

>How does one read a copy of GINFOSEG? It just a mapping or is there a
>DevHelp Routine to get it?

I use this:

PSEL		pSelGInfo;
PGINFOSEG	pGInfo;

if( DevHelp_GetDOSVar(DHGETDOSV_SYSINFOSEG, 0, (PPVOID)&pSelGInfo) == 0 )
{
   pGInfo = (PGINFOSEG)MK_FP(*pSelGInfo, 0);
   ....
}



-- 
Ruediger "Rudi" Ihle  [S&T Systemtechnik GmbH, Germany, http://www.s-t.de]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

Daniela Engert wrote:

> On Thu, 05 Sep 2002 10:42:21 -0000, kiewitz2000 wrote:
>
> >--- In os2ddprog@y..., "gaynullin" <gaynullin@y...> wrote:
>
> >> > Does someone in here have some documentation
> >> about the CPU registers
>
> Probably every P5++ class CPU does have MTRRs or MSRs, and certainly
> every CPU has different ones. The only MSR accessable in a guaranteed
> and compatible manner is the TSC by means of the RDTSC instruction.
>
> >> > read out by RDMSR, especially about the MTRRs and
> >> how it works on e.g.
> >> > SMP machines?
>
> Ooops, that is extremely difficult to deal with. According to the
> SciTech peoply (e.g. M.Necasek) keeping the MTRRs synchronized will
> cause you lots of headaches (it tends to fail on SDD/SNAP as well).
> They say there is an INTEL document about that, but implementing this
> stuff by means of the OS/2 API is the real problem.
>
> >btw. afaik Intel SMP doesn't require to set registers on every CPU,
> >those registers are combined, so a write to one CPU is duplicated to
> >the others.
>
> They are *not* synchronized, AFAIK.
>
> Ciao,
>   Dani
>
The strategy entry of a DD belongs to the thread and therefore to the 
coresponding CPU.
With threadaffinity calls you can call an IOCTL on a specific CPU. I 
have set the P-III
MTRRs on my EPOX dual board.

mfg. MyWi

-- 
Willibald Meyer,
Rechenzentrum der Universit t Freiburg
Hermann-Herder-Str. 10, 79104 Freiburg
Tel: +49 761 203 4640, FAX: +49 761 203 4643
E-Mail: Willibald.Meyer@rz.uni-freiburg.de







------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
                                         !
http://www.comrad.ru

Hi!

 There is a execute scsi command IOCTL call in newer os2cdrom.dmd's. Also, there are some scsi commands that require some time for device to 
complete them, When i issue such commands through execcmd  call, the ioctl returns no_error, but the next ioctl call returns 'device busy'. Is there any 
method to get know that previous scsi command has completed ?




------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

On Wed, 25 Sep 2002 10:43:54 +0400 (MSD), nick wrote:

no_error, but the next ioctl call returns 'device busy'. Is there any 
>method to get know that previous scsi command has completed ?

Poll with "TEST UNIT READY"

Ciao,
  Dani

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniela Engert, systems engineer at MEDAV GmbH
Gr fenberger Str. 32-34, 91080 Uttenreuth, Germany
Phone ++49-9131-583-348, Fax ++49-9131-583-11



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home for Top $
http://us.click.yahoo.com/RrPZMC/jTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
                    ,                            ... http://www.newhost.ru -                 Щ           !


On Wed, 25 Sep 2002 08:55:29 +0200 (CDT), Daniela Engert wrote:

>no error, but the next ioctl call returns 'device busy'. Is there any 
>>method to get know that previous scsi command has completed ?
>
>Poll with "TEST UNIT READY"

Unfortunately, such polling ends with 'uncertain media' error, while the same command sequence through aspirout 
goes ok. When there are no 'device busy' situations (i.e. cd writing on very high speed) all is ok. 

>Ciao,
>  Dani
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Daniela Engert, systems engineer at MEDAV GmbH
>Gr└fenberger Str. 32-34, 91080 Uttenreuth, Germany
>Phone ++49-9131-583-348, Fax ++49-9131-583-11

                                                     Faithfully Yours, Nick



------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - ⌠НБґ╝, ╞╝-є╝╛═Хґ╔╛Ц, ╒ Б═╞╝Г╙═Е.....

kiewitz2000 wrote:

>Bus 0, Device 15 - 60 61 62 63
>Bus 0, Device 13 - 61 62 63 60
>Bus 0, Device 16 - 62 00 00 00
>Bus 0, Device 13 - 61 00 00 00

I can not tell much, but look into the Award BIOS source
COMMON.EQU:

...
	ROUTER_DID		=	0300H			
	;R41C
	ROUTER_DEV		=	(Cx5540_PCI_REG)
		;R41C
  endif	;CYRIX_5540                                             
       ;R41C
  endif
;VSA_VGA							;R41

endif	;ROUTER_VID						
	;R18
;R17 - ends

;R18 - starts
PIRQ0_VAL	=	1
PIRQ1_VAL	=	2
PIRQ2_VAL	=	3
PIRQ3_VAL	=	4
ifdef	PIIX_ID
PIRQ0_VAL	=	60h
PIRQ1_VAL	=	61h
PIRQ2_VAL	=	62h
PIRQ3_VAL	=	63h
endif	;PIIX_ID
;R24 - start
;R24B ifndef	VT596					;R24A
ifdef	VT586			;VIA South Bridge Chipset
PIRQ0_VAL	=	1h
PIRQ1_VAL	=	2h
PIRQ2_VAL	=	3h
PIRQ3_VAL	=	5h
endif;	VT586
;R24B endif;	VT596					;R24A
- start
;R24B ifdef	VT596
;R24B PIRQ0_VAL	=	3h
;R24B PIRQ1_VAL	=	2h
;R24B PIRQ2_VAL	=	5h
;R24B PIRQ3_VAL	=	1h
;R24B endif	;VT596					;R24A
- end
  ifdef VT586_For_Win98					;R24B -
starts
PIRQ0_VAL	=	3h				; For
VT3041
PIRQ1_VAL	=	2h
PIRQ2_VAL	=	5h
PIRQ3_VAL	=	1h
  endif;VT586B_For_Win98				;R24B - ends
;R24 - end
;R19 ifdef	M1543
;R19 PIRQ0_VAL	=	048h
;R19 PIRQ1_VAL	=	0C8h
;R19 PIRQ2_VAL	=	049h
;R19 PIRQ3_VAL	=	0C9h
;R19 endif	;M1543
;R19 ifdef	SiS5513_IDE
;R19 PIRQ0_VAL	=	41h
;R19 PIRQ1_VAL	=	42h
;R19 PIRQ2_VAL	=	43h
;R19 PIRQ3_VAL	=	44h
;R19 endif	;SiS5513_IDE
;R19A - start
ifdef	M1543
PIRQ0_VAL	=	048h
PIRQ1_VAL	=	0C8h
PIRQ2_VAL	=	049h
PIRQ3_VAL	=	0C9h
endif	;M1543
ifdef	SiS5513_IDE
PIRQ0_VAL	=	41h
PIRQ1_VAL	=	42h
PIRQ2_VAL	=	43h
PIRQ3_VAL	=	44h
endif	;SiS5513_IDE
;R49 - start
ifdef	SIS5591_IDE
PIRQ0_VAL	=	41h
PIRQ1_VAL	=	42h
PIRQ2_VAL	=	43h
PIRQ3_VAL	=	44h
endif;	SIS5591_IDE
ifdef	SIS5601_IDE
PIRQ0_VAL	=	41h
....

Veit Kannegieser



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Plan to Sell a Home?
http://us.click.yahoo.com/J2SnNA/y.lEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

In my device driver I'm using KernReadFileAt() to read the contents of
a text file.
This works fine until I install the NVCHOOK.SYS basedev driver of
Norman Virus Control. Whith this driver my driver traps on the call of
KernReadFileAt() with following message:

Trap 14 (0EH) - Page Fault 0000, Not Present, Read Access, Supervisor
eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000
edi=f8c9292f
eip=00002197 esp=f9c99a44 ebp=f9c99a64 iopl=3 rf -- -- nv up ei pl nz
na po nc
cs=0168 ss=1550 ds=0170 es=0170 fs=0f18 gs=0000  cr2=00009a58 
cr3=00213000
0168:00002197 668b46f4       mov       eax,dword ptr [bp-0c]   
ss:9a58=invalid
##

What's going on?

MfG Stefan Milcke
42 ;-)



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home with Ease!
http://us.click.yahoo.com/SrPZMC/kTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!


Hello Stefan!

Do you have some sample source, so I'll be able to test this as well?

Take Care!
Harald Eilertsen, Norman ASA





"stanislaw1964" <s.milcke@nord-com.net> on 10.10.2002 00:21:57

Please respond to os2ddprog@yahoogroups.com

To:   os2ddprog@yahoogroups.com
cc:

Subject:  [os2ddprog] Problem with KernReadFileAt


In my device driver I'm using KernReadFileAt() to read the contents of
a text file.
This works fine until I install the NVCHOOK.SYS basedev driver of
Norman Virus Control. Whith this driver my driver traps on the call of
KernReadFileAt() with following message:

Trap 14 (0EH) - Page Fault 0000, Not Present, Read Access, Supervisor
eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000
edi=f8c9292f
eip=00002197 esp=f9c99a44 ebp=f9c99a64 iopl=3 rf -- -- nv up ei pl nz
na po nc
cs=0168 ss=1550 ds=0170 es=0170 fs=0f18 gs=0000  cr2=00009a58
cr3=00213000
0168:00002197 668b46f4       mov       eax,dword ptr [bp-0c]
ss:9a58=invalid
##

What's going on?

MfG Stefan Milcke
42 ;-)




The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/









------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home for Top $
http://us.click.yahoo.com/RrPZMC/jTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On Thu, Oct 10, 2002 at 09:26:54AM +0200, Harald Eilertsen wrote:
> 
> Hello Stefan!
> 
> Do you have some sample source, so I'll be able to test this as well?

I second this, but some more remarks on this.

KernReadFileAt is the KEE interface to the Mini-IFS, i.e. it will
only work in the init routine of a BASEDEV. Later, i.e. in the
init routine of a regular DEVICE, it will fail - use DosOpen/Read/Close
for that. Your posting implies that you use it in a phase where
another driver is already loaded. I don't know what NVCHOOK.SYS
does - if it is an ISS that registers certain security callouts,
then you are by far too late with KernReadFileAt, because these
routines become effectively active at the time the drivers
run their post init strategy calls.

KernReadFileAt will also fail outside init mode entirely; at task time, 
use the SES helper routines to access files.

Holger

> 
> Take Care!
> Harald Eilertsen, Norman ASA
> 
> 
> 
> 
> 
> "stanislaw1964" <s.milcke@nord-com.net> on 10.10.2002 00:21:57
> 
> Please respond to os2ddprog@yahoogroups.com
> 
> To:   os2ddprog@yahoogroups.com
> cc:
> 
> Subject:  [os2ddprog] Problem with KernReadFileAt
> 
> 
> In my device driver I'm using KernReadFileAt() to read the contents of
> a text file.
> This works fine until I install the NVCHOOK.SYS basedev driver of
> Norman Virus Control. Whith this driver my driver traps on the call of
> KernReadFileAt() with following message:
> 
> Trap 14 (0EH) - Page Fault 0000, Not Present, Read Access, Supervisor
> eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000
> edi=f8c9292f
> eip=00002197 esp=f9c99a44 ebp=f9c99a64 iopl=3 rf -- -- nv up ei pl nz
> na po nc
> cs=0168 ss=1550 ds=0170 es=0170 fs=0f18 gs=0000  cr2=00009a58
> cr3=00213000
> 0168:00002197 668b46f4       mov       eax,dword ptr [bp-0c]
> ss:9a58=invalid
> ##
> 
> What's going on?
> 
> MfG Stefan Milcke
> 42 ;-)
> 
> 
> 
> 
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
> 
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
> 
> To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
> 
>  
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 

-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home for Top $
http://us.click.yahoo.com/RrPZMC/jTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

I'm porting the linux bttv driver to OS/2. I've coded a common linux
api layer (useable for other ports too) in LXAPI32.SYS. The bttv code
is in BT32.SYS.
LXAPI32.SYS uses KernReadFileAt to read the PCI.IDS file maintained by
Martin Mares.
The driver opens the file during INIT time. After this it opens
itself. During the open request it uses KernLockFile(),
KernGetFileSize() and KernReadFileAt() to read the file.

You can download the complete driver from netlabs cvs:
LXAPI32.SYS:
SET CVSROOT=guest:readonly@www.netlabs.org:/netlabs.cvs/lxapi32

BT32.SYS:
SET CVSROOT=guest:readonly@www.netlabs.org:/netlabs.cvs/bt32

But for testing code you only need LXAPI32.SYS. The code fragment is
in pci-nc.c.

MfG Stefan Milcke
42 ;-)



--- In os2ddprog@y..., "Harald Eilertsen" <hei@n...> wrote:
> 
> Hello Stefan!
> 
> Do you have some sample source, so I'll be able to test this as well?
> 
> Take Care!
> Harald Eilertsen, Norman ASA
> 
> 
> 
> 
> 
> "stanislaw1964" <s.milcke@n...> on 10.10.2002 00:21:57
> 
> Please respond to os2ddprog@y...
> 
> To:   os2ddprog@y...
> cc:
> 
> Subject:  [os2ddprog] Problem with KernReadFileAt
> 
> 
> In my device driver I'm using KernReadFileAt() to read the contents of
> a text file.
> This works fine until I install the NVCHOOK.SYS basedev driver of
> Norman Virus Control. Whith this driver my driver traps on the call of
> KernReadFileAt() with following message:
> 
> Trap 14 (0EH) - Page Fault 0000, Not Present, Read Access, Supervisor
> eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000
> edi=f8c9292f
> eip=00002197 esp=f9c99a44 ebp=f9c99a64 iopl=3 rf -- -- nv up ei pl nz
> na po nc
> cs=0168 ss=1550 ds=0170 es=0170 fs=0f18 gs=0000  cr2=00009a58
> cr3=00213000
> 0168:00002197 668b46f4       mov       eax,dword ptr [bp-0c]
> ss:9a58=invalid
> ##
> 
> What's going on?
> 
> MfG Stefan Milcke
> 42 ;-)
> 
> 
> 
> 
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
> 
> To unsubscribe, send an email to: os2ddprog-unsubscribe@e...
> 
> 
> 
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Plan to Sell a Home?
http://us.click.yahoo.com/J2SnNA/y.lEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

--- In os2ddprog@y..., Holger Veit <holger.veit@a...> wrote:
> On Thu, Oct 10, 2002 at 09:26:54AM +0200, Harald Eilertsen wrote:
> > Hello Stefan!
> > Do you have some sample source, so I'll be able to test this as
> > well?
> I second this, but some more remarks on this.
> KernReadFileAt is the KEE interface to the Mini-IFS, i.e. it will
> only work in the init routine of a BASEDEV. Later, i.e. in the
> init routine of a regular DEVICE, it will fail
My driver is a regular DEVICE driver and KernReadFileAt() works very
fine. I've implemented this functionality long time ago (about 1/2
year) and it never fails.

> - use DosOpen/Read/Close for that.
This is somewhat complicated. LXAPI32.SYS (see previous post) is a
32Bit driver. The init code is in 16Bit and it opens itself (two
device headers, the second device opens the first) and during this
open (Or Exact: Not at INIT time) it uses KernReadFileAt().

My understanding of DosRead() is that this services are only available
at INIT time so I have to code it in the 16Bit segment.

> Your posting implies that you use it in a phase where
> another driver is already loaded. I don't know what NVCHOOK.SYS
> does - if it is an ISS that registers certain security callouts,
> then you are by far too late with KernReadFileAt, because these
> routines become effectively active at the time the drivers
> run their post init strategy calls.
Yes, NVCHOOK.SYS is a BASEDEV, and LXAPI32.SYS is a DEVICE.

> KernReadFileAt will also fail outside init mode entirely; at task
> time
As I wrote above this worked fine here!

>,  use the SES helper routines to access files.
Some sample code?

MfG Stefan Milcke
42 ;-)

> Holger
> 
> > 
> > Take Care!
> > Harald Eilertsen, Norman ASA
> > 
> > 
> > 
> > 
> > 
> > "stanislaw1964" <s.milcke@n...> on 10.10.2002 00:21:57
> > 
> > Please respond to os2ddprog@y...
> > 
> > To:   os2ddprog@y...
> > cc:
> > 
> > Subject:  [os2ddprog] Problem with KernReadFileAt
> > 
> > 
> > In my device driver I'm using KernReadFileAt() to read the contents of
> > a text file.
> > This works fine until I install the NVCHOOK.SYS basedev driver of
> > Norman Virus Control. Whith this driver my driver traps on the call of
> > KernReadFileAt() with following message:
> > 
> > Trap 14 (0EH) - Page Fault 0000, Not Present, Read Access, Supervisor
> > eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000
> > edi=f8c9292f
> > eip=00002197 esp=f9c99a44 ebp=f9c99a64 iopl=3 rf -- -- nv up ei pl nz
> > na po nc
> > cs=0168 ss=1550 ds=0170 es=0170 fs=0f18 gs=0000  cr2=00009a58
> > cr3=00213000
> > 0168:00002197 668b46f4       mov       eax,dword ptr [bp-0c]
> > ss:9a58=invalid
> > ##
> > 
> > What's going on?
> > 
> > MfG Stefan Milcke
> > 42 ;-)
> > 
> > 
> > 
> > 
> > The OS/2 Device Driver Programming mailing list.
> > http://www.egroups.com/group/os2ddprog
> > 
> > To unsubscribe, send an email to: os2ddprog-unsubscribe@e...
> > 
> > 
> > 
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > The OS/2 Device Driver Programming mailing list.
> > http://www.egroups.com/group/os2ddprog
> > 
> > To unsubscribe, send an email to: os2ddprog-unsubscribe@e...
> > 
> >  
> > 
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/ 
> > 
> 
> -- 
> Please update your tables to my new e-mail address: 
> holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Plan to Sell a Home?
http://us.click.yahoo.com/J2SnNA/y.lEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!


Stefan,

Thanx for the info, I'll have a look at it.

Best regards,
Harald Eilertsen, Norman ASA





"stanislaw1964" <s.milcke@nord-com.net> on 10.10.2002 20:58:59

Please respond to os2ddprog@yahoogroups.com

To:   os2ddprog@yahoogroups.com
cc:

Subject:  [os2ddprog] Re: Problem with KernReadFileAt


I'm porting the linux bttv driver to OS/2. I've coded a common linux
api layer (useable for other ports too) in LXAPI32.SYS. The bttv code
is in BT32.SYS.
LXAPI32.SYS uses KernReadFileAt to read the PCI.IDS file maintained by
Martin Mares.
The driver opens the file during INIT time. After this it opens
itself. During the open request it uses KernLockFile(),
KernGetFileSize() and KernReadFileAt() to read the file.

You can download the complete driver from netlabs cvs:
LXAPI32.SYS:
SET CVSROOT=guest:readonly@www.netlabs.org:/netlabs.cvs/lxapi32

BT32.SYS:
SET CVSROOT=guest:readonly@www.netlabs.org:/netlabs.cvs/bt32

But for testing code you only need LXAPI32.SYS. The code fragment is
in pci-nc.c.

MfG Stefan Milcke
42 ;-)



--- In os2ddprog@y..., "Harald Eilertsen" <hei@n...> wrote:
>
> Hello Stefan!
>
> Do you have some sample source, so I'll be able to test this as well?
>
> Take Care!
> Harald Eilertsen, Norman ASA
>
>
>
>
>
> "stanislaw1964" <s.milcke@n...> on 10.10.2002 00:21:57
>
> Please respond to os2ddprog@y...
>
> To:   os2ddprog@y...
> cc:
>
> Subject:  [os2ddprog] Problem with KernReadFileAt
>
>
> In my device driver I'm using KernReadFileAt() to read the contents of
> a text file.
> This works fine until I install the NVCHOOK.SYS basedev driver of
> Norman Virus Control. Whith this driver my driver traps on the call of
> KernReadFileAt() with following message:
>
> Trap 14 (0EH) - Page Fault 0000, Not Present, Read Access, Supervisor
> eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000
> edi=f8c9292f
> eip=00002197 esp=f9c99a44 ebp=f9c99a64 iopl=3 rf -- -- nv up ei pl nz
> na po nc
> cs=0168 ss=1550 ds=0170 es=0170 fs=0f18 gs=0000  cr2=00009a58
> cr3=00213000
> 0168:00002197 668b46f4       mov       eax,dword ptr [bp-0c]
> ss:9a58=invalid
> ##
>
> What's going on?
>
> MfG Stefan Milcke
> 42 ;-)
>
>
>
>
> The OS/2 Device Driver Programming mailing list.
> http://www.egroups.com/group/os2ddprog
>
> To unsubscribe, send an email to: os2ddprog-unsubscribe@e...
>
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/









------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home with Ease!
http://us.click.yahoo.com/SrPZMC/kTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Некоторые падают, а некоторые нет - http://www.newhost.ru

On Thu, Oct 10, 2002 at 07:09:07PM -0000, stanislaw1964 wrote:
> --- In os2ddprog@y..., Holger Veit <holger.veit@a...> wrote:
> > On Thu, Oct 10, 2002 at 09:26:54AM +0200, Harald Eilertsen wrote:
> > > Hello Stefan!
> > > Do you have some sample source, so I'll be able to test this as
> > > well?
> > I second this, but some more remarks on this.
> > KernReadFileAt is the KEE interface to the Mini-IFS, i.e. it will
> > only work in the init routine of a BASEDEV. Later, i.e. in the
> > init routine of a regular DEVICE, it will fail
> My driver is a regular DEVICE driver and KernReadFileAt() works very
> fine. I've implemented this functionality long time ago (about 1/2
> year) and it never fails.

You were just lucky.

> > - use DosOpen/Read/Close for that.
> This is somewhat complicated. LXAPI32.SYS (see previous post) is a
> 32Bit driver. The init code is in 16Bit and it opens itself (two
> device headers, the second device opens the first) and during this
> open (Or Exact: Not at INIT time) it uses KernReadFileAt().
> 
> My understanding of DosRead() is that this services are only available
> at INIT time so I have to code it in the 16Bit segment.

Yes, as long as you are accessing the DOSCALLS entries (i.e. the
kernel call gates) directly (using entries from DOSCALL1 doesn't
work). Typically the DOSCALLS are 16 bit, so you have to thunk.
This is not really a problem, but inconvenient. 

The real problem is that DosRead/etc work on user process
data structures, here namely the file handle. DEVICE init time
is not at ring 3 just for fun (but not for the often suspected
reason that init code would not crash the system then); it is
because the kernel emulates a real process environment that
just runs the initialization. At task time, and even worse at
init time, you don't have direct access any longer to the
process file table (you could obtain a pointer, though through
PTDA/TCB structures), so you won't easily know where to read from
(handles kept from INIT are no longer valid!). With some programming
hacks, it is possible to use DosRead at task time as well
(I've experimented with that), but this is not recommended.

The SES helpers are much easier to use, because they are already 
32 bit, and more important possibly when being used together with 
NVCHOOK, they won't be filtered by SES. As they operate on private
handles from the global system file table, they can, in principle,
even be used in interrupts - which is of course not recommended
in case of Read and Write which could result in recursion when
the driver itself serves the disk that the data is to be read from.
At (DEVICE) init and (BASEDEV)postinit and at task time, they are 
safe to use.

> > Your posting implies that you use it in a phase where
> > another driver is already loaded. I don't know what NVCHOOK.SYS
> > does - if it is an ISS that registers certain security callouts,
> > then you are by far too late with KernReadFileAt, because these
> > routines become effectively active at the time the drivers
> > run their post init strategy calls.
> Yes, NVCHOOK.SYS is a BASEDEV, and LXAPI32.SYS is a DEVICE.

It is probably even an ISS.

> > KernReadFileAt will also fail outside init mode entirely; at task
> > time
> As I wrote above this worked fine here!
> 
> >,  use the SES helper routines to access files.
> Some sample code?

IIRC, MWDD32 has a sample SES driver skeleton where you can look
at them. But its use is simple:

Use DevHlpSecurity with DHSEC_GETEXPORT to obtain a table of
pointers and write simple inline functions that
call the functions there indirectly. 

The table returned is

struct SecExp_s {
   USHORT  seVersionMajor;
   USHORT  seVersionMinor;
   ULONG   (* _System SecHlpRead) (ULONG SFN, PULONG pcbBytes, PUCHAR pBuffer,ULONG p16Addr,  ULONG Offset);
   ULONG   (* _System SecHlpWrite)(ULONG SFN, PULONG pcbBytes, PUCHAR pBuffer,ULONG p16Addr,  ULONG Offset);
   ULONG   (* _System SecHlpOpen)(PSZ pszFileName,PULONG pSFN,ULONG ulOpenFlag,ULONG ulOpenMode);
   ULONG   (* _System SecHlpClose)(ULONG SFN);
   ULONG   (* _System SecHlpQFileSize)(ULONG SFN, PULONG pSize);
   ULONG   (* _System SecHlpChgFilePtr)(ULONG SFN, LONG Offset,ULONG TYPE, PULONG pAbs);
   ULONG   (* _System SecHlpSFFromSFN)(ULONG SFN);
   ULONG   (* _System SecHlpFindNext)( PFINDPARMS pParms);
   ULONG   (* _System SecHlpPathFromSFN)( ULONG SFN );
   ULONG *apDemSVC;
   };

and a sample inline function looks like:

extern struct SecExp_s exporttable;

INLINE APIRET APIENTRY SecHlpRead(ULONG SFN, PULONG pcbBytes, PUCHAR pBuffer,ULONG p16Addr,ULONG Offset) {
	return (*exporttable.SecHlpRead)(SFN,pcbBytes,pBuffer,0l,Offset);
}

DevHlpSecurity is:

DATA32	segment
exporttable	dd 11 dup(0)
DATA32	ends
CODE16	segment
GetSecHelp	proc far
		assume	ds:DATA16
		...save regs
		mov	eax, 048a78df8h
		mov	ecx, offset DATA32:exporttable
		mov	dl, 044h
		call	[DeviceHelp]
		...restore regs
		ret
GetSecHelp	endp
CODE16	ends


Holger

-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home with Ease!
http://us.click.yahoo.com/SrPZMC/kTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...


Hello!



Holger Veit wrote:
>> Yes, NVCHOOK.SYS is a BASEDEV, and LXAPI32.SYS is a DEVICE.
>
>It is probably even an ISS.

It most definitely is.

What may be causing problems is that some of the structures I depend on in
my file system hooks may perhaps look different when kalled through the KEE
interfaces. I'm just guessing at this point, as I have not had time to look
at it through the debugger yet.

Best regards,
Harald Eilertsen, Norman ASA




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Home Selling? Try Us!
http://us.click.yahoo.com/QrPZMC/iTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

All,

I am running into a crash/reboot while installing OS/2 using the driver I am
developing for our U320 SCSI HBA. I only see this on a particular server
series and only if the HBA is in a PCI-X slot. The place where the
crash/reboot occurs is just after the last pop up message saying that the
user had given all configuration information. At this point it starts
copying files from the CD to the hard drive and normally the installation
should complete without any user intervention after this point. 

The SCSI analyzer trace seems normal, I do not see any mishaps and so does
the PCI analyzer trace. I do not see an NMI either. If I install using a PCI
card and then move the root drive, the machine boots and works fine. I was
able to replace the installation kernel with a half strict debug kernel and
hook up the debugger, but I can't trap the crash or the reboot. I am trying
to get a dump, but have not been successful yet. 

The main question I have is that, who has the capability to reboot the
machine and why would a reboot occur. It would be nice to know whether this
is a kernel routine or a System bios call, which I can trap. Any
ideas/pointers?

Thanks,

Samantha. 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home for Top $
http://us.click.yahoo.com/RrPZMC/jTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

Do you have an official contact at IBM you could ask? If not, look on 
the comp.os.os2.bugs newsgroup and either post a message there, or get 
Scott Garfinkle's email address from one of his postings there and 
contact him privately. I am sure that if he can't help you directly, he 
can point you to the right person.

BTW, would the current OS/2 driver for your U160 HBA work (if with 
reduced performance) as an interim solution for the U320 HBA?

-=-
Alan


Ranaweera, Samantha wrote:

>All,
>
>I am running into a crash/reboot while installing OS/2 using the driver I am
>developing for our U320 SCSI HBA. I only see this on a particular server
>series and only if the HBA is in a PCI-X slot. The place where the
>crash/reboot occurs is just after the last pop up message saying that the
>user had given all configuration information. At this point it starts
>copying files from the CD to the hard drive and normally the installation
>should complete without any user intervention after this point. 
>
>The SCSI analyzer trace seems normal, I do not see any mishaps and so does
>the PCI analyzer trace. I do not see an NMI either. If I install using a PCI
>card and then move the root drive, the machine boots and works fine. I was
>able to replace the installation kernel with a half strict debug kernel and
>hook up the debugger, but I can't trap the crash or the reboot. I am trying
>to get a dump, but have not been successful yet. 
>
>The main question I have is that, who has the capability to reboot the
>machine and why would a reboot occur. It would be nice to know whether this
>is a kernel routine or a System bios call, which I can trap. Any
>ideas/pointers?
>
>  
>


------------------------ Yahoo! Groups Sponsor ---------------------~-->
4 DVDs Free +s&p Join Now
http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

Alan,

I am working with someone at IBM too. But I'll track down Scott's email and
try to get his opinion too. 

The U160 controllers doe not have this problem, whether on a PCI or a PCI-X
slot(because it pulls the bus down to PCI). The U320 works on a PCI slot on
the same server. 

Thanks,

Samantha.

-----Original Message-----
From: Alan Beagley [mailto:abeagley@optonline.net]
Sent: Monday, October 14, 2002 9:57 AM
To: os2ddprog@yahoogroups.com
Subject: Re: [os2ddprog] OS/2 Installation crash - REBOOT


Do you have an official contact at IBM you could ask? If not, look on 
the comp.os.os2.bugs newsgroup and either post a message there, or get 
Scott Garfinkle's email address from one of his postings there and 
contact him privately. I am sure that if he can't help you directly, he 
can point you to the right person.

BTW, would the current OS/2 driver for your U160 HBA work (if with 
reduced performance) as an interim solution for the U320 HBA?

-=-
Alan


Ranaweera, Samantha wrote:

>All,
>
>I am running into a crash/reboot while installing OS/2 using the driver I
am
>developing for our U320 SCSI HBA. I only see this on a particular server
>series and only if the HBA is in a PCI-X slot. The place where the
>crash/reboot occurs is just after the last pop up message saying that the
>user had given all configuration information. At this point it starts
>copying files from the CD to the hard drive and normally the installation
>should complete without any user intervention after this point. 
>
>The SCSI analyzer trace seems normal, I do not see any mishaps and so does
>the PCI analyzer trace. I do not see an NMI either. If I install using a
PCI
>card and then move the root drive, the machine boots and works fine. I was
>able to replace the installation kernel with a half strict debug kernel and
>hook up the debugger, but I can't trap the crash or the reboot. I am trying
>to get a dump, but have not been successful yet. 
>
>The main question I have is that, who has the capability to reboot the
>machine and why would a reboot occur. It would be nice to know whether this
>is a kernel routine or a System bios call, which I can trap. Any
>ideas/pointers?
>
>  
>



The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home for Top $
http://us.click.yahoo.com/RrPZMC/jTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Доступ в Интернет по очень низким тарифам!
http://www.comrad.ru

Hi!

 Also the os/2 drivers for U160 hba do not support 2nd scsi channel. Do you have a solution, how to use both scsi 
channels on u160 lsil HBA's under os/2 ?

On Mon, 14 Oct 2002 11:57:08 -0400, Alan Beagley wrote:

>BTW, would the current OS/2 driver for your U160 HBA work (if with 
>reduced performance) as an interim solution for the U320 HBA?
>
>-=-
>Alan
>
>
>Ranaweera, Samantha wrote:
>
>>All,
>>
>>I am running into a crash/reboot while installing OS/2 using the driver I am
>>developing for our U320 SCSI HBA. I only see this on a particular server
>>series and only if the HBA is in a PCI-X slot. The place where the
>>crash/reboot occurs is just after the last pop up message saying that the
>>user had given all configuration information. At this point it starts
>>copying files from the CD to the hard drive and normally the installation
>>should complete without any user intervention after this point. 
>>
>>The SCSI analyzer trace seems normal, I do not see any mishaps and so does
>>the PCI analyzer trace. I do not see an NMI either. If I install using a PCI
>>card and then move the root drive, the machine boots and works fine. I was
>>able to replace the installation kernel with a half strict debug kernel and
>>hook up the debugger, but I can't trap the crash or the reboot. I am trying
>>to get a dump, but have not been successful yet. 
>>
>>The main question I have is that, who has the capability to reboot the
>>machine and why would a reboot occur. It would be nice to know whether this
>>is a kernel routine or a System bios call, which I can trap. Any
>>ideas/pointers?
>>
>>  
>>
>
>
>
>The OS/2 Device Driver Programming mailing list.
>http://www.egroups.com/group/os2ddprog
>
>To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
> 
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
>
>
>

                                                     Faithfully Yours, Nick



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home with Ease!
http://us.click.yahoo.com/SrPZMC/kTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru План "Профи" - такого вы не сможете себе позволить даже на выделенном сервере...

AFAIK,  the problem is only on certain Asus motherboards (my P3V4X has 
the problem): it's a motherboard BIOS problem that isn't going to get 
fixed.

-=-
Alan

nick wrote:

>Hi!
>
> Also the os/2 drivers for U160 hba do not support 2nd scsi channel. Do you have a solution, how to use both scsi 
>channels on u160 lsil HBA's under os/2 ?
>
>  
>


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home for Top $
http://us.click.yahoo.com/RrPZMC/jTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

Nope, i tried on Soltek Drv5 - the same situation. The LSI support says that second scsi channel not supported 
under os/2 on any of the lsi1010 based hba's

On Mon, 14 Oct 2002 13:18:56 -0400, Alan Beagley wrote:

>AFAIK,  the problem is only on certain Asus motherboards (my P3V4X has 
>the problem): it's a motherboard BIOS problem that isn't going to get 
>fixed.
>
>-=-
>Alan
>
>nick wrote:
>
>>Hi!
>>
>> Also the os/2 drivers for U160 hba do not support 2nd scsi channel. Do you have a solution, how to use both 
scsi 
>>channels on u160 lsil HBA's under os/2 ?
>>
>>  
>>
>
>
>
>The OS/2 Device Driver Programming mailing list.
>http://www.egroups.com/group/os2ddprog
>
>To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
> 
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
>
>
>

                                                     Faithfully Yours, Nick



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Plan to Sell a Home?
http://us.click.yahoo.com/J2SnNA/y.lEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

I will check with our support team and my manager and will get back on this.
It was a different developer and a different test team that did the 1010
drivers, so I'm not sure of the issue. 

Once again, I'll get back on this. My manager is out of town, so it'll take
me a few days though. 

Samantha.

-----Original Message-----
From: nick [mailto:nickathome@mtu-net.ru]
Sent: Monday, October 14, 2002 11:39 AM
To: os2ddprog@yahoogroups.com
Subject: Re: [os2ddprog] OS/2 Installation crash - REBOOT


Nope, i tried on Soltek Drv5 - the same situation. The LSI support says that
second scsi channel not supported 
under os/2 on any of the lsi1010 based hba's

On Mon, 14 Oct 2002 13:18:56 -0400, Alan Beagley wrote:

>AFAIK,  the problem is only on certain Asus motherboards (my P3V4X has 
>the problem): it's a motherboard BIOS problem that isn't going to get 
>fixed.
>
>-=-
>Alan
>
>nick wrote:
>
>>Hi!
>>
>> Also the os/2 drivers for U160 hba do not support 2nd scsi channel. Do
you have a solution, how to use both 
scsi 
>>channels on u160 lsil HBA's under os/2 ?
>>
>>  
>>
>
>
>
>The OS/2 Device Driver Programming mailing list.
>http://www.egroups.com/group/os2ddprog
>
>To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com
>
> 
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
>
>
>

                                                     Faithfully Yours, Nick




The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home for Top $
http://us.click.yahoo.com/RrPZMC/jTmEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Тиха украинская ночь, но сайтик лучше перепрятать... http://www.newhost.ru - место достойное Вашего сайта!

nick wrote:

>Nope, i tried on Soltek Drv5 - the same situation. The LSI support says that second scsi channel not supported 
>under os/2 on any of the lsi1010 based hba's
>
>On Mon, 14 Oct 2002 13:18:56 -0400, Alan Beagley wrote:
>
>  
>
>>AFAIK,  the problem is only on certain Asus motherboards (my P3V4X has 
>>the problem): it's a motherboard BIOS problem that isn't going to get 
>>fixed.
>>
>>    
>>
>  
>
FWIW, I am running several LSI1010-based boards and both the U160 
channel and the UW channel are seen by OS/2.
This includes a Tekram DC390UW in a FIC VA-503+ motherboard, and an 
LSI21040 in an Asus A7M266-D dual Athlon motherboard. Yes, despite the 
fact that it's an Asus mobo, it works fine here.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Plan to Sell a Home?
http://us.click.yahoo.com/J2SnNA/y.lEAA/MVfIAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
http://www.newhost.ru - Уютно, по-домашнему, в тапочках.....

On Thu, Oct 17, 2002 at 06:02:06PM -0000, stanislaw1964 wrote:
> --- In os2ddprog@y..., Holger Veit <holger.veit@a...> wrote:
> > On Wed, Oct 16, 2002 at 11:10:02PM -0000, stanislaw1964 wrote:
> > > --- In os2ddprog@y..., Holger Veit <holger.veit@a...> wrote:
> > > > On Thu, Oct 10, 2002 at 07:09:07PM -0000, stanislaw1964 wrote:
> > > > > --- In os2ddprog@y..., Holger Veit <holger.veit@a...> wrote:
> > > [...]
> > > Thank you for this information. I've tried this but it fails with
> > > Trap 14 (0EH) - Page Fault 0000, Not Present, Read Access, Supervisor
> > > eax=00000fd0 ebx=fa0900d0 ecx=00000000 edx=00000000 esi=fa0941d0
> > > edi=fc462605
> > > eip=0000d454 esp=f9c99722 ebp=f9c99a68 iopl=3 rf -- -- nv up ei pl nz
> > > na po nc
> > > cs=0150 ss=1550 ds=0a00 es=00d0 fs=0f38 gs=0000  cr2=0000fff0 
> > > cr3=00213000
> > > 0150:0000d454 368b2ef0ff     mov       bp,word ptr ss:[fff0]   
> > > ss:fff0=invalid
> > > ##
> > > 
> > > at SecHlpOpen().
> > 
> > With or without the virus protection driver?
> > 
> > In the latter case, I would simply say, you have called the code
> > incorrectly. Please post the code fragment in question (I am not
> > going to wade through complete drivers downloadable from somewhere).
> Without the virus protection driver.
> The code is:
> (drvhomepath is the drive and directory, where the driver hast to look)
> 
> static unsigned long read_pci_ids(void)
> {
>  char pci_ids[300];
>  unsigned long fh=0;
>  unsigned long rc=0;
>  /*
>  DebugInt3();
>  strcpy(pci_ids,drvhomepath);
>  strcat(pci_ids,"PCI.IDS");
>  rc=SecHelpers.SecHlpOpen(pci_ids,&fh
>                           ,OPEN_ACTION_FAIL_IF_NEW |
> OPEN_ACTION_OPEN_IF_EXISTS
>                           ,OPEN_SHARE_DENYNONE | OPEN_ACCESS_READONLY);
>  if(!rc)
>  {
>   SecHelpers.SecHlpClose(fh);
>  }
>  */
>  return rc;
> }

You are running this from 32bit code?
Then you have to pass pci_ids and fh typically as
	SSToDS(pci_ids) 
and
	SSToDS(&fh),
not directly.

The SSToDS macro converts stack based addresses to DS addresses.
SecHlpOpen expects flat addresses.

Holger

-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Home Selling? Try Us!
http://us.click.yahoo.com/QrPZMC/iTmEAA/jd3IAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
Получи 100000 баннерных показов бесплатно!
http://www.newhost.ru

I'm in the process of getting the UNIAUD source running for my laptop's
soundcard.  It builds, and seems to get loaded properly.  But, it loses
the IRQ.  And I have no idea  why.

What I've done is:

- Setup the environment.  (I'd already done this when I was playing
with the SBLive driver)

- Built the UNIAUD32.SYS driver.

- Added the code to call the ALSA code specific for my chipset
(NeoMagic MagicMedia 256ZX)

- Built this.  These two steps were very easy, as Innotek seem to have
updated all the chipset specific code for OS/2 even though they have
only enabled a few chipsets.

- Tried it.  It didn't load.

Now, after a few more days of fiddling, comparing code with the
supported chipsets, and lots of rebooting, I have it loading.  It talks
to Resource Manager and can find the resources it needs.  It allocates
memory and seems to allocate the IRQ successfully.  When the boot is
finished, and I open Hardware Manager, or run RMView, the driver is
there.  The allocated memory is also, but, the IRQ isn't.  

Does anyone have any idea of why the IRQ is disappearing?

One thing, I haven't run ICAT against this yet.  I've done most of this
on a train, going to and from work, so I've just been writing stuff to
the screen during the boot.  I'm intending to start to learn how to use
ICAT on it over the weekend (assuming I can tear my wife away from the
other computer), but, any suggestions of what to look for would be
appreciated.

--
David Forrester
davidfor@internode.on.net
http://www.os2world.com/djfos2/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sell a Home for Top $
http://us.click.yahoo.com/RrPZMC/jTmEAA/jd3IAA/9rHolB/TM
---------------------------------------------------------------------~->

The OS/2 Device Driver Programming mailing list.
http://www.egroups.com/group/os2ddprog

To unsubscribe, send an email to: os2ddprog-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


__________
ҐузчБчЮКу ъптпНБ, п щузчБчЮКу щуБ - http://www.newhost.ru

