From: Digest <deadmail>
To: "OS/2GenAu Digest"<deadmail>
Date: Wed, 27 Jan 2010 00:01:24 EST-10EDT,10,1,0,7200,4,1,0,7200,3600
Subject: [os2genau_digest] No. 1916
Reply-To: <deadmail>
X-List-Unsubscribe: www.os2site.com/list/

**************************************************
Tuesday 26 January 2010
 Number  1916
**************************************************

Subjects for today
 
1   Scanner installation : Alan Duval <amoht at westnet dot com dot au>
2  Re:  Scanner installation : Ian Manners" <deadmail>
3  Re:  ThinkPad R40 2722-9BM Recovery CD : Nicholas Lysaght <nicholasrf at gmail dot com>
4  Re:  Scanner installation : Peter L Allen" <allenpl at tastelfibre dot com dot au>
5  Re:  Help with NIC drivers part 2 : <andrew.hood2 at bigpond dot com>
6  Re:  Scanner installation : Alan Duval <amoht at westnet dot com dot au>
7  Re:  Scanner installation : Alan Duval <amoht at westnet dot com dot au>
8  Re:  Help with NIC drivers part 2 : Ed Durrant <edurrant at durrant dot mine dot nu>
9  Re:  [S] Re:  Scanner installation : Peter Rehfisch" <gillpete at vic.australis dot com dot au>
10  Re:  Help with NIC drivers part 2 : Peter Rehfisch" <gillpete at vic.australis dot com dot au>
11  Re:  [S] Re:  Scanner installation : Alan Duval <amoht at westnet dot com dot au>
12   Using REMAP in ACPI.cfg : Ian Manners" <deadmail>
13  Re:  Scanner installation : Peter L Allen" <allenpl at tastelfibre dot com dot au>
14  Re:  [S] Re:  Scanner installation : Ian Manners" <deadmail>
15  Re:  Scanner installation : Ian Manners" <deadmail>

**= Email   1 ==========================**

Date:  Mon, 25 Jan 2010 23:17:53 +1100
From:  Alan Duval <amoht at westnet dot com dot au>
Subject:   Scanner installation

Hi, I'm still trying to get my HP 4P (SCSI) scanner going with my eCS 
2.0 rc7 installation.
I reinstalled eCS and was able to install ASPIROUT.SYS
My config.sys shows:

BASEDEV=AIC7870.ADD
BASEDEV=OS2ASPI.DMD /ALL  /SHARE
DEVICE=C:\OS2\BOOT\ASPIROUT.SYS

all present.

I added:

SET EMXOPT=-h120

Also added  /V to the device line for ASPIROUT.SYS and to the basedev 
line for AIC7870.ADD.

Booting without the scanner attached proceeds normally and the above 
drivers are shown to be installed. However when I check the hardware 
manager There is no AIC7870.

When I connect the scanner to the SCSI plug booting fails with the error 
message:

Exception in module: OS2KRNL

TRAP  000d        ERRCD=0000        ERACC=****        ERLIM=********     
CPU=01
EAX=000015e8        EBX=ffeba538        ECX=8001003b        EDX=00211000
ESI=f9800030        EDI=fd42ef78        EBP=00004d08        FLG=00010202

CS:EIP=0148:00002dc0    CSACC=009b        CSLIM=0000ea39
SS:ESP=15e8:0000ffe4        SSACC=0097        SSLIM=0000dfff
DS=0710        DSACC=0093        DSLIM=0000b768    CR0=8001003b
ES=0160        ESACC=c0f3        ESLIM=ffffffff        CR2=fbc2c000    
FS=0000        FSACC=****        FSLIM=********        
GS=0000        GSACC=****        GSLIM=********

The system detected an internal processing error at
location  ##0168:fff0f667  -  000f:e667
60000,   9084

1286067a
internal revision 14.104a_SMP

The system is stopped. Record all the above information and
contact your service representative.



Can anyone advise what I should do to get my scanner recognized?

Regards,

Alan Duval
--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   2 ==========================**

Date:  Tue, 26 Jan 2010 12:30:16 +1100 (EDT)
From:  "Ian Manners" <deadmail>
Subject:  Re:  Scanner installation

Hi Alan,

>Hi, I'm still trying to get my HP 4P (SCSI) scanner going with my eCS 
>2.0 rc7 installation.

>BASEDEV=AIC7870.ADD
>BASEDEV=OS2ASPI.DMD /ALL  /SHARE
>DEVICE=C:\OS2\BOOT\ASPIROUT.SYS

On the assumption you are booting from IDE, ie, PATA or SATA,
ensure that BASEDEV=AIC7870.ADD comes AFTER your
IDE/DANI drivers.

BASEDEV=DANIS506.ADD
BASEDEV=DANIATAPI.FLT
BASEDEV=AIC7870.ADD
BASEDEV=OS2SCSI.DMD
BASEDEV=OS2ASPI.DMD /ALL /SHARE

It's been a while since I've used a SCSI scanner on my
main machine so would have to check but do you need
ASPIROUT.SYS for scanning ?
Possibly if your using TAME ?

>SET EMXOPT=-h120

Your are probably better off using this as a catch all :-

SET EMXOPT=-c -n -h1024

>Booting without the scanner attached proceeds normally and the above 
>drivers are shown to be installed. However when I check the hardware 
>manager There is no AIC7870.

Which is correct, if there are no SCSI devices on the chain the device
driver wont load.

>When I connect the scanner to the SCSI plug booting fails with the error 
>message:
>
>Exception in module: OS2KRNL
>
>TRAP  000d        ERRCD=0000        ERACC=****        ERLIM=********     

Been so long since I've read an Exception, I'd have to go read up
on them again to decipher it.

>Can anyone advise what I should do to get my scanner recognized?

Step by step.

The machine I have a SCSI card in is UNI so I'm not even
sure if the driver has a problem with SMP or ACPI (eCS rc7
so I also assume your using ACPI).

You could try changing your PC to uni and see if it works.
If you need to know the steps, email me and I'll tell you the
basic's as well as disabling ACPI.

We can then put ACPI back, see if it works, then progress to SMP.
If could also be the SCSI card needs a remap command in
x:\os2\boot\acpi.cfg or where ever acpi.cfg lives on your PC
so the card's IRQ is remapped to a low IRQ as ACPI might be
trying to remap it high.

Cheers
Ian Manners
http://www.os2site dot com/

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
**= Email   3 ==========================**

Date:  Tue, 26 Jan 2010 11:32:42 +0800
From:  Nicholas Lysaght <nicholasrf at gmail dot com>
Subject:  Re:  ThinkPad R40 2722-9BM Recovery CD

Hi Ian.

2010/1/25 Ian Manners <deadmail>:
> Hi Nicholas,
>
>>> Anyone here have a Thinkpad R40 ?
>>Yes. 2272-EM1
>
> 2722-EM1 I assume :-)

That's my problem. The fingers are not obeying what's left of the brain. :-(
>
>>But I also have kept all the IBM Drivers for this model, separately,
>>so's a "normal" (sic) XP Install Disk can be used.
>
> Got all the drivers from ibm dot com, I was after the actual recovery disk
> that includes XP so I can wipe the HD and load OS/2 on it.
>
> That way it saves me cloning the disk to another one
>
> What I might do anyway is buy an 80G 2.5" IDE HD while they are still
> available and take the original HD out of the R40 and put it away for
> safe keeping, I got this R40 with no resore partition on it, and no CD's.
> At least that way it keeps a copy of the IBM utilitities etc.
>
>>I'll start looking now. :-)
>
> Only if its not time consuming, and not to much trouble.
> Thanks :-)

Found! Please see my other emails. You did me a big favour by getting
me to find them.
>
>>P.S. Hope this make it as plain txt rather than an attachment. :-)
> Yes, came through as text.

Even better. I will await your answer in private.

Regards

NICK
>
> Cheers
> Ian Manners
> http://www.os2site dot com/
>
> --------------------------------------------------
> 
> http://www./melbpc/ - The Melbourne OS/2 SIG
>
--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
**= Email   4 ==========================**

Date:  Tue, 26 Jan 2010 16:03:59 +1000 (EST)
From:  "Peter L Allen" <allenpl at tastelfibre dot com dot au>
Subject:  Re:  Scanner installation

Alan,
	You're useing a PCI SCSI adapter?
	Which one?
	During boot the BIOS identifies the adapter and scanner?

				allenpl

On Mon, 25 Jan 2010 23:17:53 +1100, Alan Duval wrote:

>Hi, I'm still trying to get my HP 4P (SCSI) scanner going with my eCS 
>2.0 rc7 installation.
>I reinstalled eCS and was able to install ASPIROUT.SYS
>My config.sys shows:
>
>BASEDEV=AIC7870.ADD
>BASEDEV=OS2ASPI.DMD /ALL  /SHARE
>DEVICE=C:\OS2\BOOT\ASPIROUT.SYS
>
>all present.
>
>I added:
>
>SET EMXOPT=-h120
>
>Also added  /V to the device line for ASPIROUT.SYS and to the basedev 
>line for AIC7870.ADD.
>
>Booting without the scanner attached proceeds normally and the above 
>drivers are shown to be installed. However when I check the hardware 
>manager There is no AIC7870.
>
>When I connect the scanner to the SCSI plug booting fails with the error 
>message:
>
>Exception in module: OS2KRNL
>
>TRAP  000d        ERRCD=0000        ERACC=****        ERLIM=********     
>CPU=01
>EAX=000015e8        EBX=ffeba538        ECX=8001003b        EDX=00211000
>ESI=f9800030        EDI=fd42ef78        EBP=00004d08        FLG=00010202
>
>CS:EIP=0148:00002dc0    CSACC=009b        CSLIM=0000ea39
>SS:ESP=15e8:0000ffe4        SSACC=0097        SSLIM=0000dfff
>DS=0710        DSACC=0093        DSLIM=0000b768    CR0=8001003b
>ES=0160        ESACC=c0f3        ESLIM=ffffffff        CR2=fbc2c000    
>FS=0000        FSACC=****        FSLIM=********        
>GS=0000        GSACC=****        GSLIM=********
>
>The system detected an internal processing error at
>location  ##0168:fff0f667  -  000f:e667
>60000,   9084
>
>1286067a
>internal revision 14.104a_SMP
>
>The system is stopped. Record all the above information and
>contact your service representative.
>
>
>
>Can anyone advise what I should do to get my scanner recognized?
>
>Regards,
>
>Alan Duval
>--------------------------------------------------
> 
> http://www./melbpc/  -  The Melbourne OS/2 SIG
===
>
>

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   5 ==========================**

Date:  Tue, 26 Jan 2010 16:39:48 +1030
From:  <andrew.hood2 at bigpond dot com>
Subject:  Re:  Help with NIC drivers part 2


---- Peter Rehfisch <gillpete at vic.australis dot com dot au> wrote: 
> Andrew
> 
> >With the gradual migration due to upgrade I've managed to inherit the old office machine as my personal desktop.  It has a Gigabyte GA-945GM-S2 motherboard which I have 
> managed to get everything working except the NIC.  It is listed as having a Realtek RTL8111B chip.
> 
> I have a simlar NIC chip on my MB - the Realtek 811C which PCI.EXE reports as 10EC: 8168. I believe your chip will be the same ID number. I have no problems using Realtek 
> RTL8169 MAC driver on my MB.
> 
> Peter R
> 

Thanks for the tip.  I tried it and it seems to be working OK ............but

An interesting new sort of behaviour has emerged - the machine boots and loads everything up fine, seems to be working OK for a variable period of time (usually between 4 and 10 minutes) then locks up solid. It doesn't seems to matter if I just boot to the desktop and leave it running or boot up and run a program it just locks up.

The only other symtom seems to be a slight increase in processor fan speed.

Any ideas anyone?

Andrew
--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   6 ==========================**

Date:  Tue, 26 Jan 2010 19:13:57 +1100
From:  Alan Duval <amoht at westnet dot com dot au>
Subject:  Re:  Scanner installation

Ian Manners wrote:
> Hi Alan,
>
>   
>> Hi, I'm still trying to get my HP 4P (SCSI) scanner going with my eCS 
>> 2.0 rc7 installation.
>>     
>
>   
>> BASEDEV=AIC7870.ADD
>> BASEDEV=OS2ASPI.DMD /ALL  /SHARE
>> DEVICE=C:\OS2\BOOT\ASPIROUT.SYS
>>     
>
> On the assumption you are booting from IDE, ie, PATA or SATA,
> ensure that BASEDEV=AIC7870.ADD comes AFTER your
> IDE/DANI drivers.
>
> BASEDEV=DANIS506.ADD
> BASEDEV=DANIATAPI.FLT
> BASEDEV=AIC7870.ADD
> BASEDEV=OS2SCSI.DMD
> BASEDEV=OS2ASPI.DMD /ALL /SHARE
>   
Followed your advice. 3rd line above was after 1st but before 2nd so 
changed them to above.
> It's been a while since I've used a SCSI scanner on my
> main machine so would have to check but do you need
> ASPIROUT.SYS for scanning ?
> Possibly if your using TAME ?
>   
Yes! Tame2 requires ASPIROUT.SYS according to my reading and previous 
setup on my other PC.
>   
>> SET EMXOPT=-h120
>>     
>
> Your are probably better off using this as a catch all :-
>
> SET EMXOPT=-c -n -h1024
>   
Changed this to your suggestion.
After above alterations, reconnected scanner and rebooted but with same 
error message.
>   
>> Booting without the scanner attached proceeds normally and the above 
>> drivers are shown to be installed. However when I check the hardware 
>> manager There is no AIC7870.
>>     
>
> Which is correct, if there are no SCSI devices on the chain the device
> driver wont load.
>
>   
>> When I connect the scanner to the SCSI plug booting fails with the error 
>> message:
>>
>> Exception in module: OS2KRNL
>>
>> TRAP  000d        ERRCD=0000        ERACC=****        ERLIM=********     
>>     
>
> Been so long since I've read an Exception, I'd have to go read up
> on them again to decipher it.
>
>   
>> Can anyone advise what I should do to get my scanner recognized?
>>     
>
> Step by step.
>
> The machine I have a SCSI card in is UNI so I'm not even
> sure if the driver has a problem with SMP or ACPI (eCS rc7
> so I also assume your using ACPI).
>
> You could try changing your PC to uni and see if it works.
> If you need to know the steps, email me and I'll tell you the
> basic's as well as disabling ACPI.
>   
Next, removed /SMP /APIC parameters and disabled APM support. Rebooted; 
this time successfully and TAME/2 found scanner and I can scan. Guess 
I'll have to just use uni for eCS. It's a pity as ACPI was working well. 
Windows and Ubuntu should be OK with the dual processor. WIN XP is on 
another drive but Ubuntu is installed in a logical partition after eCS.
WIN XP finds the scanner and checking it's drivers, for SCSI & Raid 
controller, it has Adaptec AIC-7850 PCI SCSI controller, IRQ 19.

Under imaging devices it shows: HP Scanjet and driver files as:
C:\WINDOWS\SYSTEM32\drivers\scsiscan.sys
C:\WINDOWS\SYSTEM32\hpsjmcro.dll
C:\WINDOWS\SYSYEM32\wiafbdrv.dll
> We can then put ACPI back, see if it works, then progress to SMP.
> If could also be the SCSI card needs a remap command in
> x:\os2\boot\acpi.cfg or where ever acpi.cfg lives on your PC
> so the card's IRQ is remapped to a low IRQ as ACPI might be
> trying to remap it high.
>   
My config.sys shows the line PSD=ACPI.PSD
ACPI wizard says, "You have currently ACPI version 3.17 installed."

Hardware manager shows:
AIC7870_Adaptec 7800 Family SCSI Adapter
IRQ11 I/O 0xD 100-0xD 10F Address lines:16 EXC

Any further suggestions to get ACPI working with the scanner?

Thanks for the help,

Alan




> Cheers
> Ian Manners
> http://www.os2site dot com/
>
>   

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   7 ==========================**

Date:  Tue, 26 Jan 2010 19:20:15 +1100
From:  Alan Duval <amoht at westnet dot com dot au>
Subject:  Re:  Scanner installation

Peter L Allen wrote:
> Alan,
> 	You're useing a PCI SCSI adapter?
> 	Which one?
> 	During boot the BIOS identifies the adapter and scanner?
>
> 				allenpl
>   
I'm using an Adaptec 2906 SCSI card. I followed Ian's suggestions and 
have the scanner working but only in UNI processor mode. I'm awaiting 
Ian's reply to see if I can get it working with the dual processor.

Thanks for your interest.

Alan
> On Mon, 25 Jan 2010 23:17:53 +1100, Alan Duval wrote:
>
>   
>> Hi, I'm still trying to get my HP 4P (SCSI) scanner going with my eCS 
>> 2.0 rc7 installation.
>> I reinstalled eCS and was able to install ASPIROUT.SYS
>> My config.sys shows:
>>
>> BASEDEV=AIC7870.ADD
>> BASEDEV=OS2ASPI.DMD /ALL  /SHARE
>> DEVICE=C:\OS2\BOOT\ASPIROUT.SYS
>>
>> all present.
>>
>> I added:
>>
>> SET EMXOPT=-h120
>>
>> Also added  /V to the device line for ASPIROUT.SYS and to the basedev 
>> line for AIC7870.ADD.
>>
>> Booting without the scanner attached proceeds normally and the above 
>> drivers are shown to be installed. However when I check the hardware 
>> manager There is no AIC7870.
>>
>> When I connect the scanner to the SCSI plug booting fails with the error 
>> message:
>>
>> Exception in module: OS2KRNL
>>
>> TRAP  000d        ERRCD=0000        ERACC=****        ERLIM=********     
>> CPU=01
>> EAX=000015e8        EBX=ffeba538        ECX=8001003b        EDX=00211000
>> ESI=f9800030        EDI=fd42ef78        EBP=00004d08        FLG=00010202
>>
>> CS:EIP=0148:00002dc0    CSACC=009b        CSLIM=0000ea39
>> SS:ESP=15e8:0000ffe4        SSACC=0097        SSLIM=0000dfff
>> DS=0710        DSACC=0093        DSLIM=0000b768    CR0=8001003b
>> ES=0160        ESACC=c0f3        ESLIM=ffffffff        CR2=fbc2c000    
>> FS=0000        FSACC=****        FSLIM=********        
>> GS=0000        GSACC=****        GSLIM=********
>>
>> The system detected an internal processing error at
>> location  ##0168:fff0f667  -  000f:e667
>> 60000,   9084
>>
>> 1286067a
>> internal revision 14.104a_SMP
>>
>> The system is stopped. Record all the above information and
>> contact your service representative.
>>
>>
>>
>> Can anyone advise what I should do to get my scanner recognized?
>>
>>     
>

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   8 ==========================**

Date:  Tue, 26 Jan 2010 20:10:17 +1100
From:  Ed Durrant <edurrant at durrant dot mine dot nu>
Subject:  Re:  Help with NIC drivers part 2

andrew.hood2 at bigpond dot com wrote:
> ---- Peter Rehfisch <gillpete at vic.australis dot com dot au> wrote: 
>   
>> Andrew
>>
>>     
>>> With the gradual migration due to upgrade I've managed to inherit the old office machine as my personal desktop.  It has a Gigabyte GA-945GM-S2 motherboard which I have 
>>>       
>> managed to get everything working except the NIC.  It is listed as having a Realtek RTL8111B chip.
>>
>> I have a simlar NIC chip on my MB - the Realtek 811C which PCI.EXE reports as 10EC: 8168. I believe your chip will be the same ID number. I have no problems using Realtek 
>> RTL8169 MAC driver on my MB.
>>
>> Peter R
>>
>>     
>
> Thanks for the tip.  I tried it and it seems to be working OK ............but
>
> An interesting new sort of behaviour has emerged - the machine boots and loads everything up fine, seems to be working OK for a variable period of time (usually between 4 and 10 minutes) then locks up solid. It doesn't seems to matter if I just boot to the desktop and leave it running or boot up and run a program it just locks up.
>
> The only other symtom seems to be a slight increase in processor fan speed.
>
> Any ideas anyone?
>
> Andrew
>
>   
Presuming you are using eCS 2.0 RC7 ......

Possibly ACPI could be the problem. Do you have power management set to 
use APM or ACPI ? Try switching to the other option. Also try the latest 
ACPI if you don't already have it, and even download an older version 
and try that.

Is this a dual core system - if so are you running it in SMP mode or not ?



-- 
Cheers/2

Ed

eComStationAustralia podcast http://eComStationAustralia.podbean dot com or iTunes

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   9 ==========================**

Date:  Tue, 26 Jan 2010 20:42:30 +1100
From:  "Peter Rehfisch" <gillpete at vic.australis dot com dot au>
Subject:  Re:  [S] Re:  Scanner installation

Alan,
You wrote
>I'm using an Adaptec 2906 SCSI card. I followed Ian's suggestions and 
>have the scanner working but only in UNI processor mode. I'm awaiting 
>Ian's reply to see if I can get it working with the dual processor.

In ACPI_SMP_DRV.DOC (and also in PSD_EN.INF) it says

* Adaptec 2906 SCSI, aic7870.add
    use REMAP to move the card to low IRQs
    aic7870.add /IRQ 18 doesn't work

Might be worth a try.

Peter R


--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   10 ==========================**

Date:  Tue, 26 Jan 2010 20:22:45 +1100
From:  "Peter Rehfisch" <gillpete at vic.australis dot com dot au>
Subject:  Re:  Help with NIC drivers part 2

Andrew,

You wrote

>An interesting new sort of behaviour has emerged - the machine boots and loads everything up fine, seems to be working OK for a variable period of time (usually between 4 and 
10 minutes) then locks up solid. It doesn't seems to matter if I just boot to t

In the ACPI_SMP_DRV.doc, it suggests

Realtek 8168/8169 - Don't forget to enable APIC: 

therefore I have PSD=ACPI.PSD /APIC /SMP as the first line in my config.sys

Also,  go into MPTS setup (Adapters and Protocols)  and make sure the 8169 adapter has the parameter

 IRQ15OVR = "YES" 

Peter R


--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   11 ==========================**

Date:  Tue, 26 Jan 2010 21:27:54 +1100
From:  Alan Duval <amoht at westnet dot com dot au>
Subject:  Re:  [S] Re:  Scanner installation

Peter Rehfisch wrote:
> Alan,
> You wrote
>   
>> I'm using an Adaptec 2906 SCSI card. I followed Ian's suggestions and 
>> have the scanner working but only in UNI processor mode. I'm awaiting 
>> Ian's reply to see if I can get it working with the dual processor.
>>     
>
> In ACPI_SMP_DRV.DOC (and also in PSD_EN.INF) it says
>
> * Adaptec 2906 SCSI, aic7870.add
>     use REMAP to move the card to low IRQs
>     aic7870.add /IRQ 18 doesn't work
>
> Might be worth a try.
>
> Peter R
>   
Excuse my ignorance, but how does one use REMAP? Is it a program or some 
command?
Hardware manager shows AIC7870 to have IRQ 11. Other devices also have 
IRQ 11 so does it matter if I change the IRQ to a lower IRQ number that 
other devices have, e.g 1,2, 3 or 4?

Alan

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   12 ==========================**

Date:  Tue, 26 Jan 2010 22:45:53 +1100 (EDT)
From:  "Ian Manners" <deadmail>
Subject:   Using REMAP in ACPI.cfg

If you open x:\os2\boot\acpi.cfg in 'e' or your favourite
text editor, you will see the remap section close to the
top.

 ; Use IRQn instead IRQm in APIC
;   Format:
;   REMAP N TO M
;   Where N source IRQ in APIC , M - IRQ to set for Kernel
;   possible format for N and M. Digit (17) , Hexadecimal (0x11), Octal (
021 )
;
; For this "Use IRQ5 instead IRQ19 in APIC", 
;==============
; REMAP 19 TO 5
; REMAP 0x13 TO 05
;==============

First though you need to find out what ACPI has remapped
the device you are interested in to. ie, ACPI might have decided
to assign the IRQ 18 to your Sound Blaster Live! card, if
you use Sander van Leeuwen's driver, it doesnt work if the
IRQ's are above 15 so you need to 'remap' the cards IRQ
back to a value under 15.

In the ACPI doc's you will find the file ACPI-IRQ.doc,
Section 3.2 is the bit you are interested in.

================ ACPI-IRQ.doc 3.2 ============
3.2  Usage of REMAP
___________________

The purpose of REMAP is to make the old drivers unable to understand 
the high irq levels to work in APIC enviroment remapping the high IRQ 
given by the APIC back to PIC lower irq. 
     
So, if you have the driver that does not work with high irq 
(i.e. well known SYM8XX.ADD or SYM_HI.ADD) do the 
following to make it work in APIC mode:

       1. Boot without /APIC and do copy acpica$ acpi.log
       
       2. Find in acpi.log the pci scan log and the line in it
corresponding 
          to your device. It will look like

          4:1.0  1000:21       IRQs: PCI:10 PIC:'LNKA':10 APIC:24 Apic
Set: 10 

          There 1000 - vendor id, 21 - device id of your device. You can
find 
          the vendor/device ids of your device in pci.exe output. Just 
          search there the name of your device. In this line we see the
ordinal 
          PIC irq level is 10, APIC irq level is 24. So we must map 
          back 24 irq to 10

       3. Put the line REMAP 24 10 in \os2\boot\acpi.cfg, put /APIC switch
to 
          your ACPI.PSD, reboot.
          You may need more the one such iteration to make all your
drivers 
          to work fine in APIC. This stuff is not very convenient to
perform, 
          but there are ways planned to ease the remaps for end users in
future 
          releases. 
     (thx nickk)            
================ ACPI-IRQ.doc 3.2 ============

Now, the problem, getting the PC to boot with ACPI, the SCSI card,
and the scanner connected and on all at the same time :-)


Cheers
Ian Manners
http://www.os2site dot com/

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
**= Email   13 ==========================**

Date:  Tue, 26 Jan 2010 22:57:21 +1000 (EST)
From:  "Peter L Allen" <allenpl at tastelfibre dot com dot au>
Subject:  Re:  Scanner installation

On Tue, 26 Jan 2010 19:20:15 +1100, Alan Duval wrote:

>Peter L Allen wrote:
>> Alan,
>> 	You're useing a PCI SCSI adapter?
>> 	Which one?
>> 	During boot the BIOS identifies the adapter and scanner?
>>
>> 				allenpl
>>   
>I'm using an Adaptec 2906 SCSI card. I followed Ian's suggestions and 
>have the scanner working but only in UNI processor mode. I'm awaiting 
>Ian's reply to see if I can get it working with the dual processor.
>
>Thanks for your interest.
>
>Alan

2906 has no Adaptec support for OS2 - don't know what this implies other than the 
driver may be flakey for this use,
					allenpl


>> On Mon, 25 Jan 2010 23:17:53 +1100, Alan Duval wrote:
>>
>>   
>>> Hi, I'm still trying to get my HP 4P (SCSI) scanner going with my eCS 
>>> 2.0 rc7 installation.
>>> I reinstalled eCS and was able to install ASPIROUT.SYS
>>> My config.sys shows:
>>>
>>> BASEDEV=AIC7870.ADD
>>> BASEDEV=OS2ASPI.DMD /ALL  /SHARE
>>> DEVICE=C:\OS2\BOOT\ASPIROUT.SYS
>>>
>>> all present.
>>>
>>> I added:
>>>
>>> SET EMXOPT=-h120
>>>
>>> Also added  /V to the device line for ASPIROUT.SYS and to the basedev 
>>> line for AIC7870.ADD.
>>>
>>> Booting without the scanner attached proceeds normally and the above 
>>> drivers are shown to be installed. However when I check the hardware 
>>> manager There is no AIC7870.
>>>
>>> When I connect the scanner to the SCSI plug booting fails with the error 
>>> message:
>>>
>>> Exception in module: OS2KRNL
>>>
>>> TRAP  000d        ERRCD=0000        ERACC=****        ERLIM=********     
>>> CPU=01
>>> EAX=000015e8        EBX=ffeba538        ECX=8001003b        EDX=00211000
>>> ESI=f9800030        EDI=fd42ef78        EBP=00004d08        FLG=00010202
>>>
>>> CS:EIP=0148:00002dc0    CSACC=009b        CSLIM=0000ea39
>>> SS:ESP=15e8:0000ffe4        SSACC=0097        SSLIM=0000dfff
>>> DS=0710        DSACC=0093        DSLIM=0000b768    CR0=8001003b
>>> ES=0160        ESACC=c0f3        ESLIM=ffffffff        CR2=fbc2c000    
>>> FS=0000        FSACC=****        FSLIM=********        
>>> GS=0000        GSACC=****        GSLIM=********
>>>
>>> The system detected an internal processing error at
>>> location  ##0168:fff0f667  -  000f:e667
>>> 60000,   9084
>>>
>>> 1286067a
>>> internal revision 14.104a_SMP
>>>
>>> The system is stopped. Record all the above information and
>>> contact your service representative.
>>>
>>>
>>>
>>> Can anyone advise what I should do to get my scanner recognized?
>>>
>>>     
>>
>
>--------------------------------------------------
> 
> http://www./melbpc/  -  The Melbourne OS/2 SIG
===
>
>

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
===
**= Email   14 ==========================**

Date:  Tue, 26 Jan 2010 22:49:45 +1100 (EDT)
From:  "Ian Manners" <deadmail>
Subject:  Re:  [S] Re:  Scanner installation

Hi Alan,

>Excuse my ignorance, but how does one use REMAP? Is it a program or some 
>command?

See seperate email :-)

>Hardware manager shows AIC7870 to have IRQ 11. Other devices also have 
>IRQ 11 so does it matter if I change the IRQ to a lower IRQ number that 
>other devices have, e.g 1,2, 3 or 4?

If you have a spare IRQ available, when your computer boots and
your see the Adaptec BIOS screen, press Ctrl-A to enter the cards
setup. somewere in there is a spot you can change the IRQ of the
card.

It will probably work fine sharing IRQ's as you have a later dated
kernel but I'm a bit old school, unless I have to, I dont like sharing ;o)

Cheers
Ian Manners
http://www.os2site dot com/

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
**= Email   15 ==========================**

Date:  Tue, 26 Jan 2010 23:12:35 +1100 (EDT)
From:  "Ian Manners" <deadmail>
Subject:  Re:  Scanner installation

>>> 	You're useing a PCI SCSI adapter?
>>I'm using an Adaptec 2906 SCSI card. I followed Ian's suggestions and 
>2906 has no Adaptec support for OS2 - don't know what this implies other than the 

In that case, lets see, I have

1 x AHA-1540CF (ISA)  <== These work well with OS/2.
4 x AHA-2940UW (PCI)  <== These work well with OS/2.
2 x AVA-1502AE (ISA)
1 x AHA-2920A (PCI)          

All the others are LSI, NCR, and I cant remember which other
ones I had working under OS/2 ok but your welcome to have
a AHA-2940UW

BUT if it works under UNI then its probably ok to use that card
and try to get it going under SMP with ACPI.

You can always try using IBM's SMP driver and rem out the
ACPI driver altogether, going back to the IBM APM (Advanced
Power Management) driver as well.

ACPI comes in handy with motherboards and cards that insist
on using high IRQ's, or without ACPI share "to" many devices
on the same IRQ !

Cheers
Ian Manners
http://www.os2site dot com/

--------------------------------------------------
 
 http://www./melbpc/  -  The Melbourne OS/2 SIG
