Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Pete

Pages: 1 2 [3]
31
Storage / Possible causes of TRAP000e in OS2LVM?
« on: June 21, 2016, 03:13:38 pm »
Hi All

Having shutdown a system that had been running fine, no reported problems and xWP shutdown seemed to work fine, I was somewhat surprised the next morning when the system failed to boot with this problem

Exception in module OS2LVM
TRAP000e


I have 2 other eCS installations on the same system and both of those fail to boot with the same problem.

I tried booting from the eCS2.2beta2 install dvd. That does not quite succeed; the system reboots when the graphical part of the install should start. I suspect the problem could well be the OS2LVM TRAP000e as with the problem disk disconnected the eCS install dvd boots fine.


Any thoughts on this problem - and how to resolve it? Possible loss of partition LVM info?

I could post an image of the TRAP screen if required.


Regards

Pete


32
Setup & Installation / Problems with JFS
« on: May 06, 2016, 07:42:19 pm »
Hi All

This started as a side discussion to http://www.os2world.com/forum/index.php?topic=1026

A brief recap: After installing JFS-1.09.06 from Arca Noae my system can "lose" a volume at boot. The first time this happened I only noticed after the Desktop had loaded and I opened the Drives folder to use the "missing" drive.

Running LVM it looked as the the volume had not yet been added to the drives available list as it was not in column with the other drives but off to the left - as though the volume had only just been created.

I made absolutely NO changes in LVM but used the Save and Exit option when quitting.

The "missing" drive appeared in the Drives folder.

This is something that happened frequently while I had this release of JFS installed - but not with previous builds ie 1.09.05 and earlier.

It happens on 2 AMD based desktop systems and 2 Intel based laptops.

I am assured there is nothing wrong with the driver... Strange that it happens across a range of hardware though.

A suggestion was put forward that it could be some sort of shutdown problem; possibly the disk cache is not being fully flushed before the system powers off or reboots.

Yet again, not a problem prior to JFS-1.09.06

I was encouraged to install the latest XWP beta as that has some updates which may help and retest the JFS-1.09.06 driver. The XWP beta does not make any difference - does not seem to be anything wrong with the XWP beta, works smoothly and is here if interested  ftp://ftp.netlabs.org/pub/wlan/xwp-3.unofficial-1-0-10.zip

What can I be doing wrong on my range of hardware?

All systems have eCS2.2beta2 installed; the desktops also have eCS2.1+ with updates from eCS2.2beta2 plus Arca Noae.

Prior to installing JFS-1.09.06 I run chkdsk against all drives and check that they report "clean".

I then install the JFS package and reboot.

I had not performed this next step before yesterday when I reinstalled JFS-1.09.06 for testing with the XWP beta: When the Desktop has loaded and the system has "settled down" I ran chkdsk aginst all the JFS formatted volumes that were *known* to be clean immediately before the JFS package was installed.

Several of the volumes reported this problem:-

CHKDSK  Incorrect data detected in disk allocation structures.
CHKDSK  Incorrect data detected in disk allocation control structures.
.
.
.
CHKDSK  File system is dirty.
CHKDSK  File system is dirty but is marked clean.  In its present state, the
results of accessing i: (except by this utility) are undefined.


Strange... why should these drives be "dirty but is marked clean"? I guess that is where the shutdown possibility occurs - and could be the cause of the "lost" volume at boot.

I ran chkdsk against the drives with problems and found that chkdsk did not want to play with 1 of my drives something like "Cannot open for write access. Performing readonly check" or something very similar. What???  That sounds serious but, usually, is not if JFS-1.09.06 is installed - it means that it needs a different JFS package that works.

I had installed the JFS-1.09.06 package to my eCS2.1+ system; on the same system I have a bootableJFS eCS2.2beta2 installation and another eCS2.2beta installation on a HPFS formatted volume; the HPFS installation still has the earlier JFS-1.09.05 package installed and has this line in the config.sys file:-

IFS=M:\OS2\JFS.IFS /LW:5,20,4 /AUTOCHECK:+*


Yes, the HPFS install exists mainly to perform a full forced chkdsk during boot when JFS-1.09.06 stuffs up.
(A side note here: For those who do not know the above config.sys line does not work with JFS-1.09.06 as support for the "+" option has been dropped. My suggestion: Do *not* use JFS-1.09.06 on a "headless" server.)

The volume that JFS-1.09.06 could not chkdsk was processed by chkdsk/JFS-1.09.05 without problems, applications installed on that volume worked fine.

After a reboot back to the eCS2.1+ install chkdsk again reported several volumes as "dirty but is marked clean" - yet again, possibly a shutdown problem... ???

This time chkdsk was able to process all volumes without any problems.

When I next performed a chkdsk - probably around 3 hours later just before shutdown for the night - guess what I discovered? Yes, several volumes "dirty but is marked clean".

The system had not been shutdown between the earlier chkdsk that "fixed"? whatever problems and this chkdsk. That seems to rule out shutdown as a problem and leave JFS-1.09.06 as the culprit - unless anyone can come up with any other possibilities?

I guess any of the applications I used or the data I saved may have caused the problem - but, the problem does not seem to exist with JFS-1.09.05...


Any thoughts?


Pete
















33
Applications / XWP Startup Folder - How to make it work?
« on: February 22, 2016, 10:17:17 pm »
Hi All

As the RSJ CD Writer Error Log does not get restarted after a Desktop restart I investigated using the XWP Startup Folder for this program object by moving the RSJ CD Writer Error Log program object from the standard Startup folder to the newly created XWP Startup Folder and rebooted to test.

That seems to have been a bad mistake as the boot resulted in the famous "Cannot start ..." message. In fact this XWP Startup Folder has probably only worked for 1 in 30 boots. Yes, I do a lot of reboots when I am experimenting with coding and it goes a little wrong during testing...  :-)

Seems to me that there is something very wrong with the XWP Startup Folder or I have something misconfigured.

Any ideas on getting the XWP Startup folder working? - XWP version is 1.0.9


Regards

Pete

34
Events / OS/2 - eCS - Blue Lion - Wishlist 2015
« on: October 31, 2015, 02:03:34 am »
Hi All

I'm happy to start a wishlist:-

ACPI support - (AMD990/SB950 specifically)
USB3 support
SATA3 support
Wireless NIC support
Updated SNAP with support for current/recent ATI/AMD/nVidia chipsets


I'm sure others can add to the above  :-)


Regards

Pete

35
Applications / xsane,gimp,xfree86 and a *nix dummy
« on: February 20, 2015, 08:22:36 pm »
Hi All

I am trying to get xsane working on eCS2.1

I have installed xsane-0.992-OS2.zip plus the required support packages

 xfree86-4_5_0-runtime.wpi runtime package
 gimp-2_2_8-install.wpi, gimp-2_2_8-required-libs.wpi and gimp-2_0_7-help.wpi gimp packages
 gcc321m.zip
 libsane.dll

All the above are installed to drive K: which is set as UNIXROOT with gcc321m.dll and libsane.dll being placed in K:\usr\X11R6\lib

Installation seemed to go fine so I clicked on the gimp program icon to give it a try - there are no config.sys changes so a reboot is not necessary.

The gimp icon becomes hatched, nothing happens, the icon becomes unhatched - obviously something is not working...

I tried starting gimp from the command line. This involved opening a command window in drive K:\ and running K:\x11env.cmd followed by CD'ding to \usr\bin and entering gimp-2.2.exe

This resulted in the following messages hopefully explaining what went wrong:-


[K:\usr\bin]gimp-2.2.exe

(gimp-2.2.exe:96): Gdk-WARNING **: locale not supported by Xlib

(gimp-2.2.exe:96): Gdk-WARNING **: cannot set locale modifiers
GIMP could not initialise the graphical user interface.
Make sure a proper setup for your display environment exists.


[K:\usr\bin]



I guess something is not right in the x11env.cmd created during gimp install.
Any ideas on what needs changing will be appreciated:-


@ECHO OFF
SET X11ROOT=k:
SET BEGINLIBPATH=%X11ROOT%\usr\lib;%X11ROOT%\usr\X11R6\lib;
SET PATH=%X11ROOT%\usr\bin;%X11ROOT%\usr\X11R6\bin;%PATH%
SET MANPATH=%X11ROOT%\usr\man;%X11ROOT%\usr\X11R6\man;%MANPATH%
SET LOGNAME=%USER%
SET DISPLAY=localhost:0.0
SET G_FILENAME_ENCODING=CP850
IF $%1$==$$ GOTO DONE
%1 %2 %3 %4 %5 %6 %7 %8 %9
EXIT
:DONE


Looking at the above I guess the questions are:-

1] How do I set a locale supported by Xlib

2] How do I create a "proper setup for your display environment"



Any help gratefully received  :-)


Pete

36
Hi All

Having stated in an OpenOffice4.1.1 discussion that I would "cobble together" a cups 2.0 "how To" I did not realise what a long job it would be. I have finally completed the job - I hope.

I have to apologise that this document has been created from memory - which can be inaccurate at times - and from postings I made about the software in the ecups newsgroup so may be slightly incorrect in software versions used or an incomplete list. It is based mainly on my experience of getting cups 2.0 working with

   1] Epson RX585 USB attached to a wireless connected DLink DP-G310 Print Server
   2] Canon PIXMA MG7550 wireless connected - no MG7550 driver but the earlier MG7150 seems to work OK

So, no experience of setting up a USB printer - but it should not be too difficult...

I did make notes when installing cups 2.0 and supporting software but lost my notes when my hard drive crashed just over a week before Christmas...
To make matters much worse: With my new hard drive installed, LVM'd and volumes formatted I plugged in my USB backup drive to xcopy all the backups made the previous week expecting to be back to a fully working setup after a short period of time spent xcopying. As I turned the usb drive on it made a few beeps followed by "Fizzzllle - BANG!
No, the data is not recoverable from that drive either.
So, it is down to my memory and ecups newsgroups postings...

Luckily my own reinstall of cups 2.0 and supporting software was very easy - as the main cups software is in the root of the same drive and is pretty much "self contained" it was a simple copy down the network from another pc.



1] Getting the software and where to unzip packages to
======================================================


Name and url of software - Unzip to or Copy to or other Instructions


a] The main cups packages
-------------------------


cups 2.0: https://dl.dropboxusercontent.com/u/76425158/cups-2.0.0-os2-20141019.zip - Unzip honouring the zipped directory structure to root of a drive [?]: and copy [?]:\cups\lib\cups20.dll to either [BootDrive]:\ecs\dll or [BootDrive]:\os2\dll - alternatively add [?]:\cups\lib to the config.sys libpath and reboot *before* trying to start the eCUPS Daemon (cupsd.exe) later.


cups filters: http://smedley.id.au/tmp/cups-filters-1.0.61-os2-20141011.zip - Unzip honouring the zipped directory structure to root of same drive as cups2.0

 
ghostscript 9.15: https://dl.dropboxusercontent.com/u/76425158/ghostscript-9.15-os2-20141011.zip - Unzip honouring the zipped directory structure to the directory [same drive as cups2.0]:\gs  resulting in \gs\gs9.15 directory structure


gutenprint 5.2.10: https://dl.dropboxusercontent.com/u/76425158/gutenprint-5.2.10-os2-20141019.zip - Unzip honouring the zipped directory structure to root of same drive as cups2.0



b] Supporting software required
------------------------------------------


GCC491.DLL  http://smedley.id.au/gcc491.zip - Unzip gcc491.dll to either [BootDrive]:\ecs\dll or [BootDrive]:\os2\dll


https://dl.dropboxusercontent.com/u/76425158/coreutils-8.8-os2-20101223.zip - Unzip only these files to \cups\bin:-

    cat.exe
    rm.exe
    printf.exe
    mktemp.exe


http://rpm.netlabs.org/release/00/zip/grep-2_10-2_oc00.zip - Unzip only these files to \cups\bin:-

    grep.exe
    egrep.exe
    fgrep.exe


http://hobbes.ecomstation.co.kr/mirror/os2/hobbes.nmsu.edu/pub/incoming/wget-1.14-1-os2.zip - Unzip *only* this file to
either [BootDrive]:\ecs\dll or [BootDrive]:\os2\dll

    PCRE8.DLL


sed.exe is required.
eCS 2.1/2.2 users will find a copy in [BootDrive]:\ecs\bin which should be copied to /cups/bin/sed.exe
I have not had to find this file online but this build may work http://rpm.netlabs.org/release/00/zip/sed-4_2_1-2_oc00.zip
NOTE: The only file required from this package is sed.exe which should be unzipped to /cups/bin


cupsash.exe is required.
I am using a copy from cups 1.4.8; latest build is https://dl.dropbox.com/u/76425158/cups-1.4.8-os2-20121221.zip
Unzip *only* cupsash.exe to /cups/sbin

sh.exe is required.
I copied /cups/sbin/cupsash.exe to /cups/sbin/sh.exe - seems to work fine



c] Optional supporting packages
-------------------------------

Other software may be required depending on the printer make/model and connection method. This software is usually available from the ecups website http://trac.netlabs.org/ecups/

If you have a USB attached printer then you probably need the libusb package either:-
 ftp://ftp.netlabs.org/pub/ecups/install/libusbdll10.wpi or http://www.altsan.org/os2/printing/ecups/libusbdll10.wpi

If you have a Canon printer that uses the CNBJNP (Canon BJ Network Port?) printer port in Windows you will need the cups-bjnp package not yet listed on the ecups website - I believe it is required for recent/current usb as well as network printers:-

Release build: http://smedley.id.au/tmp/tmp%5Ccups-bjnp-1.2.2-os2-20140526.zip
Beta Build: http://smedley.id.au/tmp/tmp%5Ccups-bjnp-1.9.2-os2-20140526.zip

Unzip bjnp.exe from either of the above honouring the zipped directory structure to the root of the drive with cups 2.0 installed - the file should end up in \cups\lib\cups\backend
I suspect the difference between the 2 builds is how up to date the supported printers list is  - having a current Canon (PIXMA MG7550) I used the 1.9.2 package which is working fine.
When setting up your printer in cups 2.0 you will use bjnp as part of the Device uri. A network printer needs an ip address and port number eg:- bjnp://192.168.7.342:8611; Sorry, I have not attached the printer using usb so do not know what that Device uri would look like.

The cups-bjnp packages require cups17.dll - http://www.os2site.com/sw/drivers/printer/cups/cups-1.7.2-os2-20140517.zip
Unzip *only* cups17.dll honouring the zipped directory structure to the root of the drive with cups 2.0 installed - the file should end up in \cups\lib - not sure whether there should also be a copy in [BootDrive]:\ecs\dll or [BootDrive]:\os2\dll; I seem to recall that cups17.dll is also used by some qt apps so this may be a good move.




The OS/2 printing bits
----------------------


a] The cups port driver - required for printing with cups from OS/2 apps
 
http://www.altsan.org/os2/printing/ecups/cupspdr_103.zip - Unzip *only* ecups.pdr to [BootDrive]:\os2\dll
For the port driver to work you also need to copy \cups\bin\lpr.exe to [BootDrive]:\tcpip\bin\cupslpr.exe
IMPORTANT: Do *NOT* use the cupslpr.exe included in the cupspdr_103.zip file as it will not work with cups 2.0


b] The OS/2 printer driver - required for printing with cups from OS/2 apps

http://www.altsan.org/os2/printing/index.html#psprint - I suggest reading this page before downloading the PSPRINT driver package. When downloaded Unzip to [BootDrive]:\os2\dll\PSPRINT

For the OS/2 postscript printer setup I recommend using the PSPRINT package rather than the usual eCUPS package.
The reason is that the PSPRINT driver produces output from OpenOffice 4.1.1 RC3 and GA whereas using the ECUPS driver always resulted in a failure to print.
The cups error log showed something like "not defined in /mdef" at the point that printing failed.
Using the PSPRINT driver resolves that problem but if using a printer which uses the PostScript ColorModel scheme the printer output is greyscale when colour ouput is selected.
Luckily selecting greyscale output in the Print Job Properties results in colour printing.





2] Making it all work
=====================


a] Configuring the CUPS Printer
-------------------------------


Make sure your printer is powered on and ready to print.

Having unpackaged all required software into the correct locations the next step is to create the eCUPS Daemon in the Startup folder.

Open the Startup folder, RMB (Right Mouse Button) click on the folder to display the popup menu, Select Create New, Program Object and name it eCUPS Daemon.

Open the Properties for the eCUPS Daemon and enter these details:-

   Path and filename:  cmd.exe
   Parameters:  /c detach ?:\CUPS\SBIN\CUPSD.EXE
   Working directory: ?:\CUPS\SBIN

Obviously you need to change the above "?" to the drive letter that cups is installed on.

Having created the eCUPS Daemon double click to start it then open a browser window at http://localhost:631/admin

Click the Add Printer button. If cups reports your printer click Continue and work through the setup pages until you have selected printer Make and Model - The "Simplified" version of the driver is recommended - and clicked the Add Printer button.

If CUPS does not see your printer then you need to use the Command line to create a basic printer that can be modified using the browser interface.

   Open a command line window in \cups\sbin and enter the following command for a network printer:-

   lpadmin -p YourPrinterName -E -v PrinterIP/Port or Queue Name     
          eg:-
      lpadmin -p RX585 -E -v socket://192.168.1.251/IP_192.168.1.251
                 or
      lpadmin -p RX585 -E -v lpd://192.168.1.251/lpt1

   (Sorry, no idea what to do with USB printers here but would expect those to be found by cups)
   
   "Kill" the eCUPS Daemon cupsd.exe, it will take 4 "kills" before it no longer appears in the Process List,
        then (Re)Start the eCUPS Daemon to load the new printer info.

There should now be a \cups\etc\cups\printers.conf file with the basic printer details. This can be Modified using the browser interface. Load http://localhost:631/printers/ then click on your printer under Queue Name. On the next page click the Modify Printer option in the Administration dropdown list and work through the setup pages. When selecting the PPD file make sure to use the "Simplified" version.



If I remember correctly the eCUPS Daemon (cupsd.exe) is stopped and restarted to load the new printer configuration - and the browser may fail to load the printers page due to an incorrect url so point the browser at http://localhost:631/printers/ then click on your printer under Queue Name. Come to think of it you will probably find a few broken urls resulting in pages displaying "Internal Server Error" when using the cups browser interface but the "broken" url is usually easily corrected.

You can then check that Default print options are correct and then print a Test Page from the Maintenance dropdown list.



!Configuration tip!

Edit the PSTOPDF Filter to avoid unnecessary error messages in the cups error log file

Open the file \cups\lib\cups\filter\pstopdf and change the line

                -dPDFSETTINGS=/printer -dUseCIEColor \
to
                -dPDFSETTINGS=/printer \

Save the file and exit the editor.

Reason: The option -dUseCIEColor is no longer supported and simply adds to confusion if you need to debug the cups error log.




b] Configuring the OS/2 Printer
-------------------------------


OK, We have done the easy bits and finally arrived at the fiddly bit.

Before proceeding further read the [BootDrive]:\OS2\DLL\PSPRINT\readme file paying specific attention to adding a PPD file to PSPRINT.DRV

Open a Command Line Window in [BootDrive]:\OS2\DLL\PSPRINT and run these commands:-

   [[BootDrive]:\OS2\DLL\PSPRINT]copy [?]:\cups\etc\cups\ppd\[your CUPS printer name].ppd to [newname].ppd
     eg:-  copy J:\cups\etc\cups\ppd\MG7550.ppd newMG7500.ppd

   [[BootDrive]:\OS2\DLL\PSPRINT]cleanppd [newname].ppd
     eg:-  cleanppd newMG7500.ppd

   [[BootDrive]:\OS2\DLL\PSPRINT]ppdenc [newname].ppd [your CUPS printer name].ppd
     eg:-  ppdenc newMG7500.ppd MG7550.ppd

   [[BootDrive]:\OS2\DLL\PSPRINT]del [newname].ppd
Note: This leaves only [your CUPS printer name].ppd (eg MG7550.ppd) to be added to the driver in the next step - otherwise both PPD files would get added which could cause problems.

   [[BootDrive]:\OS2\DLL\PSPRINT]pin ppd [BootDrive]:\OS2\DLL\PSPRINT [BootDrive]:\OS2\DLL\PSPRINT\PSPRINT.DRV
     eg:-  pin ppd H:\OS2\DLL\PSPRINT H:\OS2\DLL\PSPRINT\PSPRINT.DRV



As long as all the above steps were successful you can Close the Command Line Window.

The next step is to Create an OS/2 Printer.

There seems to be various ways of achieving this depending on which OS/2 and what printer install routines are available so a general guide:-

Start the OS/2 or eCS Create Printer routine and select Local Printer

Name the Printer and then click Install new printer driver

Enter the location of PSPRINT.DRV - [BootDrive]:\OS2\DLL\PSPRINT  - and click Refresh

Select your printer and click Install.

The Create Printer dialog closes and you should have your new printer in the Printers folder.

Open the Properties for the new printer and select the Output Port tab. If you do not have a CUPS port displayed click Install new port and select the CUPS port if available. If it is not available select New port drivers, enter the Directory [BootDrive]:\OS2\DLL and click Refresh. The CUPS port should now be available for selection. The CUPS port will need configuring so double click on it to open the settings.

The CUPS Server is localhost; the CUPS Printer name is [your CUPS printer name] - the same name used in cups.

You may want to have a look through the Job Properties on the Printer Driver tab to make sure all looks about right before closing the Properties.

You should now have a working OS/2 printer that will pass postscript files to the cups printer for printing so, fire up an app and try to print something.



Hopefully the above will be of help in getting cups 2.0 plus necessary supporting software working for you.


Now, back to getting the scanner side of the MG7550 working perfectly with a wireless connection ...


Regards

Pete






 

37
Internet / Flash and qt4 browsers?
« on: May 05, 2014, 07:32:56 pm »
Hi All

Anyone have Flash and/or html5 working in any of the qt4 webkit browsers?

Qupzilla has a setting "Allow netscape plugins" but seems to ignore the Flash plugin completely when copies of npflos2.dll and npswf32.dll are placed in \Programs\qupzilla\plugins

Attempting to play videos on youtube results in a blank black screen with the text:-
"The Adobe Flash Player or an HTML5 supported browser is required for video playback."

Looks like the Qupzilla port is not a fully working port... Do any of the other qt4 browser support html5 and Flash?


Regards

Pete



38
Multimedia / smplayer and smtube
« on: February 26, 2014, 08:29:09 pm »
Hi all

Having spotted that these updates are available I thought I'd download them. The result of my attempt was this error message:-

Download Error

G:\Download.OS2\SMPlayer-0_8_6-build1.zip could not be saved, because the source file could not be read.

Try again later, or contact the server administrator.


It seems these apps are not available yet...


Regards

Pete

Pages: 1 2 [3]