unixware frequently asked questions list.doc

Upload: kishordige1

Post on 03-Apr-2018

231 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    1/42

    UnixWare Frequently Asked Questions List (Miscellaneous Troubleshooting)

    For more information about the files which compose the total UnixWare FAQ,see the "FAQ Overview" file posted regularly on the Internet newsgroupcomp.unix.unixware.misc.

    INTRODUCTION

    The purpose of this document is to provide miscellaneous hints andtroubleshooting tips for UnixWare 2.x, for information that does not seem tofit elsewhere in the FAQs.

    If you have free UnixWare 2.1.2 also see the URLhttp://www.freebird.org/freeUW.html first.

    Some of the installation information is extracted from the UnixWare 2Installation Handbook - please consult that for further information. Forinformation on invoking the DCU - see the Auto configuration FAQ. Muchinformation has been gathered from the netnews, some from the World Wide Web

    Technical support databases, see the acknowledgements section.

    Its maintainer is Andrew Josey (andrew(a)tamarix.demon.co.uk). Suggestionsand contributions welcome.

    This document and the other FAQ files may be found on the world wide web athttp://www.freebird.org/faq/

    This document may also be obtained by anonymous ftp from the freebirdarchive at

    * ftp://ftp.freebird.org/unixware/freebird/hints/FAQ/

    * ftp://ftp1.freebird.org/pub/mirror/freebird/hints/FAQ/* ftp://ftp2.freebird.org/pub/unixware/freebird/hints/FAQ/

    Small print: This file is Copyright 1997 freebird.org. Permission is grantedfor copying for non-commercial use. Many proper names of companies andsoftware mentioned in these files are trademarks of their respective owners.All views are those of the individual contributors and not of theiremployers.

    This FAQ contains the following questions and answers:

    TABLE OF CONTENTS

    Installation Troubleshooting:

    T0) How do i find out hardware compatibility, ie. does UnixWare support myhardware?T1) How do i find out whether UnixWare supports my Host Bus Adapter (hba)T1.1) Installation fails intermittently on my Adaptec 1542B, what should Ido?T1.2) My system automatically detects two Adaptec 2940 PCI SCSI controllerswhen I only have one, what should I do?T1.3) The system does not recognise my Adaptec 1542CP, what should I do?

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    2/42

    T2) What to do if the Booting UnixWare Message is not displayedT3) What to do if the system Panics or Resets While Booting from the InstallDiskette, for example on an IBM Thinkpad 755CX.T4) Your PCI system hangs or panics during installationT5) The system hangs on a reboot.T6) You've installed a new kernel and it fails to boot.T7) What to do if your Resource Manager Database gets CorruptedT8) Your machine has the Power Saver Option Enabled

    T9) UnixWare does not see the additional 16 MB added to my machine with theexisting 16 MB, what should I do?T10) Is there support for IDE/ ATAPI CD-ROM drives? And which drives aresupported?T10.1) Sony CD33A & Unix 2.01 InstallT11) Installing Windows 95 on the same disk as a UnixWare partitionoverwrites the boot loader. What can I do?

    Desktop and X Troubleshooting:

    T12) Desktop tools stop working .T13) Desktop tools stop working when using a monochrome vga monitor

    T14) How do I configure Mosaic to change its Home page andforeground/background colours?T15) Where can I find a driver for my SVGA card ?T16) How do I change from a 2 button to 3 button mouse?

    Comms Troubleshooting:

    T17) How to update the default modem speed from 38.4 to 115.2T18) How to setup UUCP over TCP/IP between two UnixWare machinesT19) How to setup UUCP over TCP/IP between UnixWare and another O/S runningUUCP.T20) How do I get my serial communications working?

    T21) In UW1.x in order to use the 16550 UART chips in my serial card, Ineeded to use the asyhp driver. Is this still necessary in UW2?T22) How can I debug outgoing modem connections?T23) How can I quickly setup outgoing uucp?T24) How can I access a Comms port from DOS running under UnixWare?

    General Troubleshooting:

    T25) Where do I find updates and patches for UnixWare 2?T26) How can I set the machine to auto reboot on a panic ?

    Laptop & PCMCIA Troubleshooting:

    T27) Does UnixWare-x.x support Card and Socket Services ?T27.1) Does UnixWare support PCMCIA?T27.2) What PCMCIA cards work with UnixWare?T27.3) How do I get my XXXX modem card working ?T27.4) How do I get my 3Com 3c589x or the Xircom ethernet card working ?T27.5) Are there any pitfalls when installing UnixWare 2.x on a laptop withPCMCIA support?T27.6) What laptop video chipsets does UnixWare support?

    NetWare connectivity:

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    3/42

    T28) Are there any problem in getting UnixWare/NetWare connections up andrunning?

    Pkginstall problems:

    T29) When installing the 2.02 update, an error appearead about a bad entryon the contents file - how can this be fixed?

    T30) How do I install the *.pkg.tar.Z files from the freebird archive?

    Networking problems (also see the Howto Setup Networking FAQ):

    T31) How do I configure support for WWW virtual hosts, so that one machinecan have several IP addresses?T32) How do I setup the NFS automounter?T33) How do I change the IP address and name of a UnixWare box?T34) SMC NIC install & TF2047 (UW2.01)

    Miscellaneous Other problems:

    T35) How can I read the size of installed memory in a UnixWare system?T36) I have UnixWare 2.03 and have problems reading multiple files fromfloppy (the machine has 32MB of RAM).T37) How do I found out the number of max processes a UnixWare machine isset for?T38) I've lost the root password, what do I do now?T39) How to recover with an Emergency boot?T40) Where are the system messages and log files on UnixWare?T41) How can I revert to the BSD form of (restricted) chown?T42) Why do I get 'syslog: accept: SIOCGPGRP failed errno 22' in syslogfiles ?T43) How to turn off multiprocessors in a Unixware 2?

    T44) How to avoid the check for open virtual screens when loggin on theconsole?T45) How to increase per-process size limits to avoid Virtual MEmoryExceeded errors?

    ________________________________________

    Subject: T0) How do i find out hardware compatibility, ie. does UnixWare supportmy hardware?

    SCO has a set of Web pages containing hardware compatibility forall of SCO's server products. Certified hardware for UnixWare 2 has beenmerged into those pages which can be found at http://www.sco.com/Third/hch.

    The freebird project has a hardware compatibility register, whereUnixWare users can register working hardware configurations.See http://www.freebird.org/hwcompat.html.

    Subject: T1) How do i find out whether UnixWare supports my Host BusAdapter (hba)

    UnixWare2 supports a selection of HBA's on the boot disk

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    4/42

    and a separate HBA disk. This section describes the supportfor UnixWare 2.01 and UnixWare 2.02/2.03 (it would be helpfulif someone suggested how to update this section for 2.1 -mod)

    The UnixWare 2.03 HBA diskette is available from:ftp.sco.com:/UW20, or ftp.freebird.org:/unixware/Patches2

    Due to problems with the 2.03 README file, the changes in 2.03

    are not fully described here but the 2.02 HBA set is, one changethat is known is the addition of support IDE CDROM support (seelater in this Install section).

    Section A: UnixWare 2.01 HBA Support (see later for 2.02 HBA)

    Some 2.x drivers will automatically detect the interrupt, I/Oport, memory address and DMA channel. When this applies to thedriver, "auto" will be listed under "Irq/IO/Mem". Other UnixWare2.x drivers require that you use DCU (Device ConfigurationUtility) to configure the driver or set the scsi controller tothe predetermined interrupt, I/O port, and/or memory address

    before installation. Using DCU, these can all be changed afterthe UnixWare installation.

    SCSI Adapter Bus Type Driver Irq/IO/Mem Driver available from:============ ======== ====== ========== ======================------- Adaptec, Inc. ------- Phone: 800-959-72741505/1515 - These cards use a variation of the 6360 chipset andare defined by Adaptec as VERY low end cards. They will supportDOS and Windows only. The Installation Handbook incorrectlylists the AHA-1505 as supported by the adss driver. There is noAHA-1505, only the ADA-1505.

    1510, 1512 ISA adss 10/340/DC000 2.0.1 hba disk, Adaptec(This card has no bios and therefore cannot be used for aprimary hard drive)

    1520, 1522 /A ISA adss 10/340/DC000 2.0.1 hba disk, Adaptec(**chipset: 6x60)

    1540, 1542 /B/C/CF ISA adsc 11/330/DC000 boot disk or Adaptec

    1640 MCA adsc 11/330/DC000 boot disk or Adaptec

    1740, 1742 /A EISA adse auto 2.0.1 hba disk

    (In standard mode this card emulates a 154x and uses the adscdriver.)

    2740, 2742 /T EISA adsa auto 2.0.1 hba disk, Adaptec

    (**chipset: 7770)

    (Due to problems with the second channel on the 2740-T/2742-T,this card is supported by Novell when only the first channel isused. The 2740-W/2742-W is supported by Adaptec.)

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    5/42

    2840, 2842 VLB adsa ***2.0.1 hba disk, Adaptec

    (**chipset: 7770. If you do not have the 2.0.1 hbadiskette, you MUST contact Adaptec for a driver. SEE THE NOTE(***) BELOW FOR INSTRUCTIONS ON SETTING UP THE adsa DRIVER FORTHE 2840/42 CONTROLLER.)

    2940, 2942, 3940 PCI auto 2.0.2 hba disk

    (**chipset: 7870)

    chipset 7850 auto 2.0.2 hba disk

    3985 RAID Adapter PCI

    Adaptec has a NetWare driver for this card, but UnixWare supporthas not been released as of this date. Please call Adaptec forthe latest information on a driver for this card.

    ------- AMD -------Am53c974 PCscsi, Am79c974 PCnet-scsi

    PCI auto 2.0.2 hba disk

    ------- AT&T -------WGS Adapter ISA wd7000 15/350/CE000 boot disk

    (manufactured by Western Digital) see Symbios Logic below

    ------- Bus Logic ------- Phone: 408-492-9090BT-946C, 956C/CD PCI blc auto 2.0.1 hba disk

    (The 956C/CD is supported by Bus Logic.)

    BT-440C, 445C/S VLB blc 11 2.0.1 hba disk(The 440C and 445C are supported by Bus Logic.)

    BT-742A, 746C, 747C/S/D, 757C/CD/S/D

    EISA auto 2.0.1 hba disk(The 746C, 747C, and 757C/CD are supported by Bus Logic.)

    BT-540CF, 542B/D, 545C/S

    ISA 11/330/DC000 2.0.1 hba disk

    (The 540CF and 545C are supported by Bus Logic.)

    BT-640A, 646S/D MCA auto 2.0.1 hba disk

    ------- Compaq Computer Corporation -------32-Bit FAST SCSI-2 EISA cpqsc auto 2.0.1 hba disk

    (This driver will NOT work with the integrated SCSI-2 PCIcontroller)

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    6/42

    IDA, IDA-2, IDAE (Expansion System), SMART SCSI ArrayEISA ida auto 2.0.1 hba disk

    ------- DAC (Mylex) -------Dac960 (2 channel, 3 channel, and 5 channel)

    dak auto 2.0.1 hba disk

    ------- Distributed Processing Technology -------DPT-2011/95, 2021/95

    ISA dpt 15/170/C8000 boot disk

    DPT-2012A/95, 2012B/B2/95, PM2022/95, PM2122A/95XEISA dpt auto boot disk

    DPT-2322 dpt 15

    ------- Future Domain Corporation -------TMC 850IBM/M/MEX/MER, IC-9C50

    ISA fdeb 5/0/CA000 2.0.1 hba disk

    TMC 1650/1670, 1660/1680, 1610MER/MEX/M, 3260, IC-18C30,IC-18C50, IC-36C70, MCS 600/700,

    ISA/EISA fdsb 11/140 2.0.1 hba disk

    (EISA controllers will auto configure the fdsb driver.)

    ------- Hewlet Packard -------Vectra and possibly others. See AMD.

    ------- IBM -------

    MCIS-1015, 1018 MCA mcis auto 2.0.1 hba disk

    IBM 16-Bit AT Fast SCSI-2 Adapter

    ISA fdsb 5 2.0.1 hba disk

    ------- Mylex -------see DAC above

    ------- NCR -------see Symbios Logic below

    ------- Olivetti -------EFP2 SCSI efp2 auto 2.0.1 hba disk

    ------- Symbios Logic -------53c8xx chipset, 8xxxx host adapter boards

    (See the 2.02/2.03 HBA for support for the Symbios Logic (formely NCR orAT&T-GIS) 53c8xx chipset and/or Symbios Logic 8xxxx host adapter boards.The driver will not load on Compaq platforms or integrated 53c8xx's onCompaq 53c8xx EISA/PCI host bus adapter boards in a Compaq platform.See the seperate 2.02/2.03 driver for 53c8xx support for Compaq

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    7/42

    platforms.)

    ------- Tricord -------PowerFrame iiop auto 2.0.1 hba disk

    ------- UltraStor -------UltraStor has not made any drivers available for 2.x at this time.

    ------- Western Digital -------7000 ISA wd7000 15/350/CE000 boot disk

    ** Problems arise in a some cases when scsi chipsets have beenplaced directly on the motherboard or on a 3rd party controller.Often the controller is not given the full functionality thechipset was intended to have.

    *** The adsa driver will not auto configure with the Adaptec2840/42 controller. The fundamental problem is that the VLB(Vesa Local Bus) can't tell the system what kind of slots orcards they have. As it happens, the adsa driver (for the Adaptec

    7770 chip) is mainly targeted for the 2740 card, an EISA device.

    To make the adsa driver work with the 2840/42 controller,enter the DCU when prompted after loading the HBA diskette. (Ifyou are not installing, you will not be prompted to enter theDCU). Go to "Software Drivers", and "Host Bus Adapters". Movethe cursor to the "adsa" entry (note that the AHA-2842 is notmentioned, but this is the right driver nevertheless). Hitfor "new". Change the ITYPE field from 4 to 3. Change theinterrupt number to match the value the card is set to. Hitto save and exit, and then exit out from the DCU, saving

    your changes.

    This procedure can be repeated if a second 284x is to be usedduring the installation. In other words, hit again for thesecond card.

    Section B: : HBA202 - UnixWare 2.02/2.03 HBA drivers

    The 2.02/2.03 HBA package contains new drivers as well as allmaintenance, enhancements, and fixes for UnixWare 2.01 HBAdrivers.

    * Highlights

    The following is a list of new and enhanced drivers whichare included in this package:

    - fdeb - Future Domain HBA Driver

    - fdsb - Future Domain HBA Driver

    - wd7000 - Western Digital HBA Driver

    - zl5380 - Media Vision HBA Driver

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    8/42

    - amd - Advanced Micro Devices HBA Driver

    - blc - Bus Logic HBA Driver

    - c8xx - Symbios Logic HBA Driver

    - dpt - DPT HBA Driver

    - adsl - Adaptec HBA Driver

    - ida - COMPAQ HBA Driver

    - cpqsc - COMPAQ HBA driver

    * Features

    The following HBAs are new or enhanced for 2.02/2.03:

    - Future Domain HBA Driver fdeb

    The fdeb driver provided by this package has enhanceddirect access to the SCSI peripherals (pass-thru) and extendedread/write support.

    The default UnixWare configuration is interrupt 5 andmemory address CA000-CBFFF.

    - Future Domain HBA Driver fdsb

    Enhanced direct access to the SCSI peripherals (pass-thru)and extended read/write support are provide in fdsb in

    this package. Also, support for the Future Domain PNP-1630adapter has been added to the driver.

    The default UnixWare configuration is interrupt 11 and I/Oaddress 140-14F.

    - Western Digital HBA Driver wd7000

    Enhanced direct access (pass-thru) ioctl support isavailable in this release of the driver.

    The default UnixWare configuration is interrupt 15, I/Oaddress 350-357, and memory address CE000-CFFFF.

    - Media Vision HBA Driver zl5380

    Support for the Media Vision Pro Audio Spectrum 16 adapteris provided in the this package. Note that this support isSCSI only, and that support for audio on this adapteris not provided.

    The default UnixWare configuration is interrupt 10 and I/Oaddress 388-38B. Interrupt and I/O settings should be

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    9/42

    verified using the Quick Start program provided with thecontroller (runs under DOS).

    - New Advanced Micro Devices HBA driver amd

    The new amd HBA driver is provided in this update. Thisdriver supports the following adapters:

    Am53C974 PCscsiAm79C974 PCnet-scsi.

    Tagged command queuing is supported, and the UnixWareauto- configuration utility is responsible for configuring theadapter for use with the system.

    - Bus Logic HBA Driver blc

    blc has been modified to support the following adapters:

    BT-956C

    BT-956CDBT-7942 (RAID)

    These adapters and the blc driver support "WIDE SCSI,"tagged command queuing (if enabled), and hot insert. TheUnixWare auto-configuration utility is responsible forconfiguring the adapter for use with the system.

    - Symbios Logic HBA driver c8xx

    The 2.02/2.03 HBA package provides the Symbios Logic HBA c8xx.This driver supports the following PCI to SCSI adapters

    and controllers:

    Symbios Logic 8100S (adapter)Symbios Logic 8251S (adapter)Symbios Logic 53c810 (controller)Symbios Logic 53c820 (controller)Symbios Logic 53c825 (controller)Symbios Logic 53c815 (controller)

    Tagged command queuing, WIDE SCSI and hot insert are supported.

    The UnixWare auto-configuration utility is responsible forconfiguring the adapter for use with the system. Thedriver will support the Symbios Logic (NCR Microelectronics)53c8xx family. The driver will NOT load on COMPAQ ComputerCorporation's 53c8xx host adapters in COMPAQ machines. Theuser must use the update cpqsc driver for the 53c8xx inCOMPAQ machines.

    - DPT HBA driver dpt

    The dpt driver has been enhanced to support WIDE SCSI, hotinsertion/removal and EATA direct access to the SCSI peripherals

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    10/42

    (pass-thru). The Storage Manager utility is supplied by DPT directly.You can monitor the controller and target devices via the StorageManager, in addition to performing diagnostic and maintenance tasks.Tagged command queuing is still supported by the controllerfirmware without driver intervention.

    EISA and PCI versions of the DPT controllers are completelyauto-configured and require no special configuration. ISA

    versions of the DPT controllers need to be configured asfollows: I/O Address - 170 (also called "secondary"),Interrupt 15 and the controller BIOS can be configured atany non-conflicting address.

    - The New Adaptec HBA Driver adsl

    adsl supports the following adapters:

    AHA-2940AHA-2940WAHA-3940

    AHA-3944AIC-7870AIC-7850

    WIDE SCSI peripherals may be used with the AHA-2940Wadapter.

    The UnixWare auto-configuration utility is responsible forconfiguring the adapter for use with the system.

    - COMPAQ HBA Driver ida

    ida has been modified as follows:

    - support for more than seven disks- support for WIDE SCSI- corrected interaction with CIM agents- corrected operation of ida controllers with IDEcompatible interfaces

    The UnixWare auto-configuration utility is responsible forconfiguring the adapter for use with the system.

    - COMPAQ cpqsc HBA Driver cpqsc

    The COMPAQ cpqsc HBA driver is updated in this release. Thedriver supports the following:

    COMPAQ Integrated 32-bitCOMPAQ Integrated 32-bit Fast-SCSI-2 (CPQ4410)COMPAQ 32-bit Fast-SCSI-2 (CPQ4411)COMPAQ Integrated 32-bit Fast-SCSI-2/E (CPQ4430)COMPAQ 32-bit Fast-SCSI-2/E (CPQ4431)COMPAQ Integrated 32-bit Fast-SCSI-2/P (Symbios Logic 53C810)COMPAQ 32-bit Fast-SCSI-2/P (Symbios Logic 53C825)

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    11/42

    Support for WIDE SCSI peripherals, tagged command queuing,and hot insertion has been added.

    The driver will support COMPAQS Fast-SCSI-2 family ofcontrollers. The driver will NOT support the SymbiosLogic (NCR Microelectronics) c8xx host adapters.

    Subject: T1.1) Installation fails intermittently on my Adaptec 1542B, whatshould I do?

    Check the jumpers for the speed setting. Some cards will fail to installwhen the DMA transfer rate is set too high, say 8MB/sec. Changethis to 5MB/sec and retry, this is typically removing jumpers 12 and 13from block J5.

    Subject: T1.2) My system automatically detects two Adaptec 2940 PCI SCSIcontrollers when I only have one, what should I do?

    This is a well-known problem that affects some, but not all PCI

    motherboards. Obtain tf2069.tar (note that some ofthe other tf2069 files on the ftp site are corrupt, so get thislarger file) to extract a new boot floppy for theAS well as the PE. (NB, you still need the original installfloppy 1 in order to license your installation -- see release notes ofptf2069 for more detail.)

    Subject: T1.3) The system does not recognise my Adaptec 1542CP,what should I do?

    I ordered an Adaptec 1542CF and got (instead) 1542CP. I have trieda first time installation of Unixware and can't succeed. DCU shows

    one device as UNKNOWN at the bottom of the list with parameters whichcan't be changed (as far as I can tell), and don't appear to matchmy board. Can I use the Adaptec 1542CP (the "P" is for plug and play)?

    The solution is to disable the Plug & Play feature in theAdaptec 1542CP's BIOS. Use IRQ 11 & 330 as the port address (as notedabove for the 1542C).

    Subject: T2) What to do if the Booting UnixWare Message is not displayed

    Check whether the boot disk drive contains a diskette. If so,remove the diskette and reboot your system. Otherwise, you may have asystem hardware problem. See the documentation provided with yourhardware. Many add-on devices and cards come with configurationutilities. Check all the connections and run the configurationutilities.

    Subject: T3) What to do if the system Panics or Resets While Booting fromthe Install Diskette - for example on an IBM Thinkpad 755CX

    Problem. After booting your system with the Install Diskette, the UnixWarelogo screen is displayed and then the system either displays a panic message orresets (the system FIRMWARE messages are displayed again).

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    12/42

    You can either try an alternate boot diskette fromftp://ftp.sco.com/UW20/This is known to work when installing on an IBM Thinkpad 755CX.

    If you still have a problem read on.

    This problem is typically the result of not running a hardware

    configuration program, such as the ECU or the CMOS setup program, beforeinstalling UnixWare. To fix the problem, run all machine and peripheralhardware setup programs provided by your hardware vendor and verify thatyour hardware is correctly configured. In particular, check your memorysize/control, cache control, bus speed, and video specifications. See yourhardware documentation for details.

    For example, this problem may occur if the correct amount of memory is notconfigured. (To determine the amount of memory on your system, either checkyour hardware documentation or CMOS settings.)

    If running hardware setup programs does not solve the problem, then there

    may be a memory problem. You can try to manually set the amount of memoryon your system as follows

    1. Reboot your system.

    2. When the Booting UnixWare... prompt or the logo isdisplayed, press the

    The interactive boot session prompt, [boot]#, is displayed.

    3. Set the MEMRANGE parameter by typing

    MEMRANGE=0-640K:256,1M-nM:16896

    GO

    where, n is the amount of available contiguous RAM in megabytes.

    4. Continue the installation of your system until you areasked to reboot the system.

    5. When prompted to reboot your system, invoke a UnixWare shell bytyping

    --

    The VT0> prompt is displayed.

    6. Update the /stand/boot file by typing

    echo "MEMRANGE=0-640K:256,1M-nM:16896" \

    >> /stand/boot

    7. Type

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    13/42

    --

    8. Continue the installation .

    Subject: T4)Your PCI system hangs or panics during installation

    Symptom: This problem will normally be seen as a system panic during the

    initial boot sequence, with the following format:

    Kernel Mode Address Fault on user address ...

    Background: UnixWare 2.1 provides support for PCI systems which conformto the PCI 2.1 bus specification. The installation assumes that PCIsystems will provide support for all PCI 2.1 BIOS calls, but somemotherboards only conform to the older PCI 2.0 standard.

    Solution: If you suspect that your system has this problem perform thefollowing procedure.

    1. Press reset (or power the computer off, then on again if you do nothave a reset button).

    2. Wait for the Booting UnixWare... prompt.Hold the space bar down until you get the # prompt for aninteractive boot session.

    3. Hit the key to get a fresh prompt, then type thefollowing commands:

    # PCISCAN=2.0# go

    4. If you still experience the same problem it is likely that yoursystem makes non-standard (or very old standard) PCI BIOS calls.You could follow the above procedure, setting PCISCAN=NO insteadof PCISCAN=2.0.However, this will mean that the system will not automaticallydetect PCI peripherals. If you do this you will need to manuallyconfigure your PCI devices using DCU. It is probably easier,safer and less time consuming to get hold of a better motherboardthan to attempt this.

    5.When prompted to reboot your system, invoke a UnixWare shell by typing

    --

    The VT0> prompt is displayed.

    6. Update the /stand/boot file by typing

    echo "PCISCAN=2.0" >> /stand/boot

    7. Type

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    14/42

    --

    8. Continue the installation.

    Subject: T5) The system hangs on a reboot.

    - If your computer has a hard disk drive greater than one gigabyte and youhave an Adaptec 1542 SCSI controller with extended translation enabled,

    disable the extended translation.

    - If your computer already had an operating system (for example, OS/2)before installing UnixWare, it may have a "boot code" on the hard diskwhich is incompatible with UnixWare. If this is the case, UnixWare willnot boot and you may receive a message such as Cannot Load UserDriver or No Active Partition Found.

    You should obtain the osbs from ftp.abs.net:/unixware/freebird/bootselector.

    Subject: T6) You've installed a new kernel and it fails to boot.

    You can restore the old UnixWare system as follows:

    1.Press reset

    2.Wait for the Booting UnixWare... prompt; then press thekey to begin an interactive boot session.

    3.When the [boot]# prompt is displayed, type

    KERNEL=unix.old

    go

    Subject: T7) What to do if your Resource Manager Database gets Corrupted

    Problem. The system will not boot and an error message indicates that theresource manager database, /stand/resmgr, is either corrupted or missing.

    Solution. Reboot UnixWare. Press when the BootingUnixWare... prompt is displayed. The interactive boot session prompt,[boot]#, is then displayed. Type

    RESMGR=resmgr.sav

    GO

    This loads a backup copy of the resource manager database. You system shouldthen reboot.

    When the system comes up you may want to invoke the DCU to verify thatall device driver parameters are set correctly. A corrupted or missingresource manager database is normally the result of improper changesmade when adding/modifying hardware parameters.

    Subject: T8) Your machine has the Power Saver Option Enabled

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    15/42

    Problem. Installation fails at random points after the hard disk is setup (or the message WARNING: Disk Driver Request Timed Out, ResettingController is displayed after a successful installation) on systemswith the "Power Saver" option (also referred to as "Power Management"or "Green PC") enabled.

    Solution. Turn off the "green/energy star" power saving time outs in the

    system BIOS. (Refer to the hardware manual for details.)

    Subject: T9) UnixWare does not see the additional 16 MB addedto my machine with the existing 16 MB, what should I do?

    If it's an ESIA machine it's very important the EISA config is runcorrectly.And then there is page 132 of the Installation Handbook.

    "Create a /stand/boot file with the following entry:MEMRANGE=0-640K:256,1M-16M:512,16M-nnM:8704where nn equals the actual amount of RAM memory, in megabytes.see boot(4)"

    Subject: T10 )Is there support for IDE/ ATAPI CD-ROM drives?

    You need either hba203.tar or tf2197.tarThese can be obtained from ftp.sco.com:/UW20

    tf2197.tar: 102400 bytesTF2197 - IDE Host Bus Adapter Driver -- 11-15-95/20:12pPTF2197 provides UnixWare 2.01 with support for the IDE HBAdriver for use with ATAPI CD-ROM devices.

    The following ATAPI CD-ROMs have been tested (other drives

    may or may not work):

    Mitsumi ATAPI CD-ROMs with firmware of BB03, BE01L, BB04, and BS01.Toshiba ATAPI CD-ROM XM-5302 with firmware of TA1095.Sony ATAPI CD-ROM CDU76E-S with firmware of 1.0C.

    If you are installing afresh:

    (1) Boot off the UW2.01 boot floppy

    (2) When prompted install 2.03 HBA disk

    (3) Enter DCU

    Software DriversHost Bus Adaptors

    Deselect all but the ide driver

    Select F5 for new

    The primary PCI IDE controller, if used,should be configured with:

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    16/42

    IRQ 14IOStart 1F0IOEnd 1FFMemStart 10000 (THE DEFAULT VALUES)MemEnd 10001

    Select F5 for new

    The secondary PCI IDE controller, if used, should be configured with:

    IRQ 15IOStart 170IOEnd 17FMemStart 0MemEnd 0

    NOTE on MemStart and MemEnd values:-------------------------------------Kevin Bulgrien reports:

    If you have trouble with zeroes, using "-" for both IDE drivers'MEM Start and MEM End addresses is perfectly fine. In fact,given that the standard IDE controller does not usually map anymemory address, my _estimation_ is that the default values onthe DCU's new instances of ide are probably not really legitimate.(END Note)

    Go into HW Configuration again, if you have three ide controllersswitch the first to N

    Then exit, save changes and apply

    If you have a running system, you can pkgadd the hba diskette,and then enter the dcu. (Before attempting this you may want toensure you have created your emergency boot diskettes).If installation fails and you cannot boot the operating system,the recovery procedure is as follows:

    1.Press reset2.Wait for the Booting UnixWare... prompt; then press the

    key to begin an interactive boot session.

    3.When the [boot]# prompt is displayed, type

    KERNEL=unix.old

    go

    If that does not work then

    Before the go add

    RESMGR=resmgr.sav

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    17/42

    This loads a backup copy of the resource manager database. Your system shouldthen reboot.

    Kevin Bulgrien reports further experiences:The machine:

    486DX4-120, DTC-2278 VESA Bus IDE controller, 1.6GB Maxtor Master on primary

    IDE channel, Mitsumi FX400 Master on secondary IDE channel, Partition 1is bootable Novell DOS 7 and is 256 cylinders or max size for 8K clustersunder DOS; Partition 2 is 256 cylinders and is defined as an extended DOSpartition used as "D:" when booted on DOS; Partition 3 is 277 cylinders tobe used for the bootable UnixWare installation. IDE controller/BIOS is setto use LBA, Block Mode, and 32 bit transfers - works great on DOS.

    The symptoms:

    If you are installing UW 2.01 from an IDE CD-ROM on top of an existing UNIXpartition, you will not be able to do so without first deleting the UNIXpartition. I made a mistake on an install, (or, if you will, so screwed

    things up that I wanted a clean reload instead of a fixed up install), anddecided to reinstall from CD and wipe out the old installation. No matterwhat you do, the boot disk for 2.01 WILL NOT allow you to reload from CDas long as there is a valid UNIX partition defined.

    In fact, no matter what you pick at the install screen where you are giventhe chance to "Proceed with the installation", or "Enter the DCU", you willnever get to the DCU to configure the ide channels. You always proceeddirectly to the options for install - which DO NOT list the CD as anoption. This screen only comes up after a very lone wait of about 5minutes. Repeat, there is no way to access the DCU to configure theIDE to allow use of the CD-ROM drive!

    I tried different ways around this, ie. load order of the HBA and TF2197 HBA,warm start, cold start, retries in case I mistyped something out offrustration, set active partition to DOS partition, all to no avail.

    The fix - yeah, right - NOT!

    Delete the UNIX partition. Seem simple? Not so. The DR-DOS 6 disk whichcomes with UW 2.01 does not have an FDISK which allows deletion of non-DOSpartitions. Novell DOS 7.0's FDISK does not allow this either. I had tofind an MS-DOS boot disk with FDISK on it. MS-DOS' FDISK does allow you todelete non-DOS partitions.

    Once the UNIX partition is deleted, installation proceeds normally. Surelythis is a bug in the TF2197 HBA? Does the same thing happen for the 2.03HBA? I will shortly be finding out.

    Are there any dissenting facts concerning this work-around? I would bedelighted to learn of a way to not have to delete the UNIX partition.

    Conjecture about other results of this possible bug:

    I have never successfully used the Emergency Boot disks. To be fair, I have

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    18/42

    not tried them more than a couple of times. I have noticed, without readingdetails, many messages about the emergency boot disks not working. Is itpossible that the problem that causes installs to fail may cause other bootfrom floppy procedures to fail? I do not know, but would appreciate feedbackon this.

    Other problems with TF2197

    Upon boot, immediately following the NUC startup messages, the followingwarning message appears - for me, only when TF2197 is installed:

    WARNING: EXTRA BYTES OUT 55476

    - or-

    WARNING: EXTRA BYTES IN 36

    I have not determined if there is a pattern which would let you predictwhich one of the above two messages occurs upon boot up, but one of thesemessages always appears. If I were to guess, I would say that the OUT

    message is a cold boot, and the IN a warm boot, but again, I have notfigured out the pattern.

    These messages occur no matter which way I answer the MEM Start andMEM End entries in the DCU - Just thought I'd mention that.

    Subject: T10.1) Sony CD33A & Unix 2.01 Install

    Kevin R. Bulgrien ([email protected]) reports:

    Please note that use of the non-SCSI Sony CD33A CD-ROM drive places restrictionson your configuration of the CD controller:

    I am using a Sun-Moon-Star controller, but I suspect that these items are alsorelevant to any controller for the Sony drive. Also note that I am relatingthis information with regard to the "sony" HBA that comes on the UnixWare 2.01HBA diskette.

    As indicated by the Novell "UnixWare 2.0 Installation Handbook", but whichbears repeating, the CD will only be usable when the controller is set toIRQ 5, I/O address 320-323, Memory addresses 0-0, and DMA 1.

    You may want to continue reading if you use a Sony CD33A, and if:

    1) You try to use the CD controller at alternate IRQs, DMA channels, or I/Oaddresses.

    2) You have a sound card - especially older ones with hardware straps thatare used to configure the card.

    Here follows my findings on the above listed situations:

    IRQ 5

    a) If not set to 5, the CD may very well be detected. However, when the

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    19/42

    UW 2.0 install CD is checked, right before installation begins, an error willindicate that the install CD is not in the drive, or the CD is damaged,and unreadable.

    b) Many sound cards use IRQ 5 by default. A sound card on IRQ 5 willeffectively disable a CD controller configured with IRQ five. The CD isdetected, but is unusable. BE AWARE that older Sound Blaster cards, andothers, I assume, have straps that set the IRQ, BUT, you can change the

    IRQ with software after DOS boots. The result is that you may actuallyuse another IRQ for your sound card, but, when UnixWare boots, the DOSconfiguration program is not run to set the IRQ, and the IRQ defaults tothe strapped settings - which may be different than the settings youuse all the time under DOS!

    DMA 1

    a) Ditto the above notes for this setting. The controller I use willallow no DMA (Polled Mode), or DMA 1-3. No DMA, or DMA channels other than1 will not prevent the CD from being detected, but will prevent the CD frombeing readable.

    b) Same warning goes with regard to strapping, if any, on your sound card.If you are going to have a DOS bootable partition, and want your sound cardto be most usable with both, I believe that DMA 3 is the second best choicefor the 8-bit sound driver DMA channel. (DMA 5 is commonly used for the 16bit sound driver.)

    I/O 320-323 (MEM START & END)

    I believe, if I remember correctly, that alternate addresses cause the CDto be undetectable - I may be wrong though. The symptoms maybe the same as for IRQ and DMA settings.

    DRQ

    My controller has settings for no DRQ or DRQ 1-3. I have not experimentedwith these settings so as to be able to draw conclusions on the results ofdifferent settings, however, I detect no problems at all when setting DRQ1 - which seemed to match up with DMA 1? Maybe this is a dumbconclusion - Any comments from anyone on this?

    Subject: T11) Installing Windows 95 on the same disk as a UnixWare partitionoverwrites the boot loader. What can I do?

    Install the osbs boot manager, this can be obtained fromftp://ftp.freebird.org/unixware/freebird/.

    osbs can also let you support multiple operating systems on thesame machine, say Windows 95, Windows NT , Linux and UnixWare.It presents a menu when booting for which one to select.

    Subject: T12) Desktop tools stop working.

    Critical system commands such as tfadmin, no longer execute.This causes administration tools in the desktop to not function.

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    20/42

    These symptoms could occur after doing a backup and restore ofsystem files, or after doing pkgchk -f.

    TROUBLESHOOTING

    To determine if the filepriv database is out of sync, assuperuser run the command:

    initprivs

    CAUSE

    System commands such as passwd, tfadmin, ftp, etc. rely on thefilepriv database to be correct. If a file mentioned in thefilepriv database has been modified on the file system in anyway, including simply touching the file, and that change is notreflected in the filepriv database, the command will not executeor will not function properly.

    One way to cause a lack of syncronization between the filesystem and the filepriv database is by doing pkgchk -f, whichgoes through the /var/sadm/install/contents file and comparesfile attributes in the file, with those on the file system. Ifthere is a discrepancy between the two, pkgchk changes the fileattributes on the file system to match the contents file. Oncethe file on the file system has been modified, the fileprivdatabase is now out of sync with the actual file. This willcause the symptoms above to occur.

    Another way the filepriv database can become out of sync, is bybacking up and restoring system files. This causes the 'last

    update' time of the file to be modified on the file system, whichdoes not match the last update time in the filepriv database.

    SOLUTION

    To syncronize the filepriv database with the file system, run thecommand:

    /etc/security/tools/setpriv -x

    To check the filepriv database at any time, run the command:

    initprivs

    Initprivs will return nothing if the filepriv database is insync with the file system.

    Subject: T13) Desktop tools stop working when using a monochrome vga monitor

    This can be caused by using a monchrome (gray-scale) vga monitor. Checking/tmp/xdm-errors shows some error messages. The X Server does not findenough colours to function.

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    21/42

    Several work-arounds exist:

    (1) Reboot the system. When the red Novell logo appears, hitenter to get to the interactive boot prompt. Once there, type"go" and hit enter. The system will come up and will look andfunction properly.

    (2) Disconnect the monitor from the VGA card during boot. Once

    the system has had time to come up, connect the monitor and itshould function correctly.

    (3) Connect a color VGA monitor for boot. Once the system isup, the monitor can be swapped for the monochrome and it shouldfunction properly.

    (4) There have been reports that simply having the monitorturned off during boot also works. However, this could not bereproduced on a consistent basis.

    Each time the system is rebooted, one of these methods must be

    used.

    Subject: T14) How do I configure Mosaic to change its Home page andforeground/background colours?

    Place your Xdefaults in $HOME/Mosaic or /usr/X/lib/app-defaults/Mosaic,or $HOME/.Xdefaults-nodename. The desktop seems to control .Xdefaults.

    Mosaic*homeDocument: http://myhome.comMosaic*Background: color-name-hereMosaic*Foreground: #000000000000

    You can also set various Mosaic defaults on the command line, as in:

    Mosaic -mono & # for monochrome monitors

    Mosaic -bg Green -fg White & # set the background colour to green and# the foreground text to white

    Subject: T15) Where can I find a driver for my SVGA card ?

    If you are running a release before 2.03, thenCheckout the betaX distribution onftp://ftp.freebird.org/unixware/freebird/x11/servers/.Note that betaX is no longer updated.

    Subject: T16) How do I change from a 2 button to 3 button mouse?

    Choose the Preferences/Mouse icon from the desktopand select the appropriate number of buttons.

    If you have a Logitech mouse, then you may also need to applytf2071.tar from ftp.sco.com

    Subject: T17) Howto update the default modem speed from 38.4 to 115.2

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    22/42

    Bob Stewart has written a piece of code called hispeed.c includedhere. The source is attached (with permission).

    This program changes the asycspdtab table in the running kernelto support higher speeds than 38400 baud. It changes the speedof the B50 entry to 112500, and the B75 entry 50 57600.

    There is a restrictions:

    It only works on a 16550 UART PC serial port, ie: COM1-4

    A binary version in uuencode format is available fromftp://ftp.freebird.org/unixware/freebird/hints/Uucp/

    ===========================================================================

    /** SCCSID @(#)hispeed.c 1.5 9/27/95*

    * file: hispeed.c** Copyright 1995, Bob Stewart* This program may be used freely with no limitations on distribution,* except that changes MUST be noted.** You may not charge another person any fee for a copy of this program.** Bob Stewart will not be responsible for any errors or problems caused* by this program whether through its proper use, misuse, or abuse.* It is your responsibility to examine this program, and decide whether* you wish to compile and run it on your system. By doing so, you

    * accept full responsibility for any damage that may occur to your system.** This program is not warranteed to perform any function, including* the service it was designed to perform. :-)** NOTICE: This program modifies your running kernel!** On Unixware 1.1.x systems, you MUST be using the asyhp driver.* On Unixware 2.x systems, you MUST be using the asyc driver.** You MUST be using a 16550 uart for hispeed to be effective. If you* are not using a 16550, you will probably experience data over-runs* and data loss at 115.2, and probably at 57.6, as well.** This program changes the asycspdtab table in the running kernel* to support higher speeds than 38400 baud. It changes the speed* of the B50 entry to 115,200, and the B75 entry to 57,600.** These changes are NOT permanent. The old speeds will return on reboot.* This program MUST be run by root.** Change your /etc/uucp/Systems file to enable the higher speed, e.g.:*

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    23/42

    * dial-earth Any ACU 50 1235678 "" \d "" \d in:--in: login word: password* dial-sun Any ACU 75 3193856 "" \d "" \d in:--in: login word: password** Make this program by typing "make hispeed", then run it by typing* "./hispeed". For 1.1.x systems, use "./hispeed -h".** For a printout of the before and after table values, use "./hispeed -v",* or ./hispeed -v -h".

    */

    #include#include#include#include#include

    void main(int argc, char *argv[]){

    int i;int verbose=0;

    char fileid[]="/dev/kmem";char symname[15];short speed[16];int kmemfd;struct mioc_rksym rks;

    strcpy(symname,"asycspdtab");

    for(i=1; i

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    24/42

    if(ioctl(kmemfd, MIOC_READKSYM, &rks) == -1){

    perror("ioctl /dev/kmem:");exit(-1);

    }

    if(verbose)

    {printf("Original %s\n",symname);for(i=0; i

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    25/42

    as error-free, there is no need to use the "g" protocol if both sides supportthe "e" protocol:

    CS,eg - - - CS

    Step 2. Edit /etc/uucp/Systems , add a line for each system you want to talkto, for example to system raven

    raven Any CS - -,listen:10103

    This entry makes "uucico" run over the TCP network. It causes the ConnectionServer to connect to the "10103" service through the "listen" service.The "10103" service invokes uucico.

    Step 3. Edit /etc/uucp/Permissions, to allow remote systemsconnecting over the connection server to send and request files (notethat remote systems also need an entry in /etc/uucp/Systems).

    LOGNAME=nuucp SENDFILES=yes REQUEST=yes

    Step 4. When the above steps are completed on both UnixWare machines, usethe following command to make sure that you can UUCP to the remote system.You should get "Conversation Complete: Status SUCCEEDED" at the end of theuutry output. If not, something is not configured properly, or the remotemachine is not a UnixWare machine and you should use the otherconfiguration method outlined below to establish UUCP communication.

    /usr/lib/uucp/uutry -r remote-sys-name

    Subject: T19) How to setup UUCP over TCP/IP between UnixWare andanother O/S running UUCP.

    By conventions most machines support Uucp over TCP on port 540.

    Step 1. Allow incoming connections on uucp port 540.

    To perform these steps, you should be logged into the desktop asthe system owner and should have an xterm open where you haveused the 'su' command to become root.

    1.1 Set up the listener to listen on port 540 and test it.

    1.1.1 Edit the /etc/inet/inetd.conf file and add the followingline to the end of it (all fields are delimited by tabs):

    uucp stream tcp nowait nuucp /usr/lib/uucp/uucico uucico

    This sets up a listener through the inetd port monitor to listenfor uucp and run uucico as user nuucp.

    1.1.2 Stop and start the inetd service by issuing the followingcommands:

    sacadm -k -p inetd

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    26/42

    sacadm -s -p inetd

    1.1.3 Test the new listener by telnetting to port 540 asfollows:telnet localhost 540

    You should get a prompt back that says, "Shere=FOO" where "FOO" is thenode name of your UnixWare machine. You can just close this window,

    open a new window and 'su' to root again. Or, if you wait a few momentsthe connection will just timeout and give you a '#' prompt back.

    The 'Shere' line that is displayed is uucp on your machine saying,"Here I am! Send me some uucp commands." If you don't get the "Shere"then something is set up incorrectly.

    Step 2. Setup the outgoing uucp connection using the Connection Server.

    In /etc/uucp/Devices put

    CS - - - CS

    In /etc/uucp/Systems put

    node Any CS - node.domain.name,uucp in:--in: Logname word: passwd

    Where node is the UUCP name node.domain.name is a full domain name thatTCP/IP can see uucp is the service in /etc/inet/services (=540)Logname is the login name. Passwd is the password.

    Plus usual Permissions entries.

    Step 3. Test the connection.

    Assuming that the remote system is ready to accept uucp communicationfrom this UnixWare machine on port 540, we should get "ConversationComplete: Status SUCCEEDED" at the end of a uutry. Now uutry the systemby issuing the following command:

    /usr/lib/uucp/uutry -r name

    Where "name" is the name of the remote system as defined in the/etc/uucp/Systems file.

    If it doesn't work, something isn't configured correctly. Make surethat the remote system is ready to receive uucp communication. Thisoften requires an entry in the remote system's /etc/uucp/Systems or/etc/uucp/Systems.tcp file for your local system. (In other words, putthe UnixWare's system name in the remote machines Systems file(s).)

    Subject: T20) How do I get my serial communications working?

    To obtain a document on how to trouble shoot serial communications,see http://www.freebird.org/hints/comms/serial-comms.

    Subject: T21) In UW1.x in order to use the 16550 UART chips in my serial card,

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    27/42

    I needed to use the asyhp driver. Is this still necessary in UW2?

    In UnixWare 2 you should NOT use the 'asyhp' driver. All functionalityof the 1.x asyhp driver has been rolled into the new 'asyc' driver sothere is no need to modify the default serial driver in UnixWare 2.This is discussed in the man pages for both asyc and asyhp.

    Subject: T22) How can I debug outgoing modem connections?

    Outgoing calls are managed by the connection server [cs(1M)]. Bothcu(1), uucp(1), and ppp(1) use the connection server to dial.

    When you click on either 'dial' from the GUI device setup window ordouble click on a system icon, you are running 'cu' and can use thistechnique to debug your problem.

    Many every day problems (such as the remote line being busy) canbe debugged using the connection server debug mode.

    To activate cs debug mode, enter the following at the command

    line as root:

    # ps -eaf | grep cs# kill -9 (the process id of the /usr/sbin/cs process)# /usr/sbin/cs -d

    This will start a log in /var/adm/log/cs.debug.

    A good debugging technique is to have the 'cs -d' running and in aseparate terminal window, enter 'tail -f /var/adm/log/cs.debug'. Then,in a separate window do your cu or uucp request.

    You'll see what is being sent (e.g. atdt5551212) and what is beingexpected (e.g. CONNECT) as well as some technical details about whichline is being selected and so forth.

    At some point you may want to turn cs debug mode off to save space.

    To do this, kill the currently running cs process as shown aboveand restart cs using '/usr/sbin/cs' without the -d option.Alternatively, you could continue to run cs in debug mode andwrite a cron(1M) daemon that keeps the size of the/var/adm/log/cs.debug file reasonable.

    Subject: T23) How can I quickly setup outgoing uucp?

    A tar file containing key /etc/uucp configuration files can be found onthe freebird archive (ftp.freebird.org:/unixware/freebird/hints/Mail/uucp.quick.tar.Z) . This will setup ahayes compatible modem on COM1 for outgoing uucp only. See the READMEfile included for details.

    Subject: T24) How can I access a Comms port from DOS running under UnixWare?

    From a shell prompt on a virtual console try:

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    28/42

    dos +acom2 (or +acom1)

    or under X windows, from a shell prompt try:

    dos +acom2 +x (or +acom1)

    from you desktop, in the applications folder, click mouse button 3 on

    the DOS icon, and then select Options, then select a COM port. Fromthere you can invoke this options for a single session by choosingStart, or you can have the current options tied to that icon by choosingApply.

    All of the above will fail if another program (like the port manager,connection manager, uucp or cu) has the port locked.

    Subject: T25) Where do I find updates and patches for UnixWare 2?

    These can be located from ftp.sco.com:/UW20

    (The following is taken from the SCO announcment posting with theirpermission):

    CONNECTION INFORMATION for updates and patches for UnixWare2

    For anonymous ftp connection:

    Directory Name: /UW20

    ftp to ftp.sco.comLogin name: ftpPassword: your email address

    Nameservice Note:

    The wu-ftp software used on ftp.sco.com requires that two kinds ofDNS resource records for your site have been propagated to SCO'snameserver:

    A Name-to-address mapping -and- PTR Address-to-name mapping

    The lack of a propagated PTR record for your site is the most commoncause of problems with anonymous ftp to ftp.sco.com. PTR recordsare also known as "pointer" records or "reverse" records.

    For anonymous UUCP connection:

    Directory name: /usr/spool/uucppublic/UW20

    For USA, Canada, Pacific Rim, Asia and Latin America customers:

    Machine name: soscoLogin name: uusls (fourth character is the letter "l")No password

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    29/42

    List of modems available for UUCP transfer from sosco:

    V32, V32bis 5@ +408 425-3502Telebit Trailblazer +408 429-1786

    For Europe/Middle East/Africa customers there is a system located atSCO EMEA (London):

    Machine name: scolonLogin name: uuslsPassword: bbsuucp

    List of modems available for UUCP transfer from scolon.sco.com:

    Dowty Trailblazer +44 (0) 1923 210911V32 +44 (0) 1923 222681

    For SCO Online Support (SOS) BBS download:

    NOTE: Access to the UnixWare Supplements will be available in the

    near future on the SCO Online Support (SOS) System.

    These supplements can be downloaded interactively via XMODEM, YMODEM,ZMODEM or Kermit. Follow the menu selections under "Toolchest" fromthe main SOS menu.

    List of modems available for interactive transfer from SOS:

    V32, V32bis 8@ +408 426-9495

    Telebit Trailblazer +408 426-9525

    Note: telnet access to SOS is available by telneting to sos.sco.com

    For customers with CompuServe Access:

    Type "GO UNIXWARE"

    For ftp via World Wide Web:

    URL to open: ftp://www.sco.com

    Subject: T26) How can I set the machine to auto reboot on a panic ?

    Change /etc/default/init from

    PANICBOOT=NO

    to

    PANICBOOT=YES

    and remove the execute bit from /sbin/dumpcheck

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    30/42

    chmod -x /sbin/dumpcheck

    Rebuild the kernel and reboot./etc/conf/bin/idbuild -B/etc/shutdown -i6 -g60 -y

    Subject: T27) Does UnixWare-x.x support Card and Socket Services ?

    No.

    Subject: T27.1) Does UnixWare support PCMCIA?

    Yes and No. Anything that is supported or is known to be working only workswith notebooks with Intel-compatible PCMCIA controllers (ie. Intel, Cirrus,Vadem, VSLI, etc...). See 'What PCMCIA cards work with UnixWare'

    Check with your notebook's vendor before making a purchase, ie.1/ What PCMCIA controller chip reside on the notebook ?2/ Is the PCMCIA controller chip Intel-compatible ?Note that some sales(wo)men just don't know what you are talking about.

    Double make sure that you can return the notebook.

    (I am willing to test new enablers/drivers/cards. Send your comments and/orcorrections to: Thanh Ma at [email protected])

    Subject: T27.2) What PCMCIA cards work with UnixWare?

    1/ UnixWare-1.x, UnixWare-2.0x:

    o Third party support:

    - Ositech Communication (http://www.ositech.com)

    Ethernet/Modem/Sound

    - Accton Technology - EN2212/EN2216 (http://www.accton.com)Ethernet onlyNote: the enabler was written by Lynsoft. It uses native UnixWare

    ne2k/NE2000 driver. This enabler is not supported by the vendoralthough it worked fine for me.

    - Socket Communication - Socket EA+ (http://www.socketcom.com)Ethernet and SerialNote: The enabler uses native UnixWare ne2k/NE2000 driver.

    This enabler is not supported by the vendor although it workedfine for me.

    o SCO support: None

    2/ UnixWare-2.1[x]:

    o Third party support:

    - Ositech Communication (http://www.ositech.com)Ethernet/Modem/Sound

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    31/42

    - Accton Technology - EN2212/EN2216 (http://www.accton.com)Note: see below

    - Socket Communication - Socket EA+ (http://www.socketcom.com)Note: Both of these cards are listed in the UnixWare-2.1 Hardware

    Compatibility Handbook (on the web site) as 'Reported' to workHowever, I failed to get it to work. The transmogrifiedNE2000 driver in UnixWare-2.1 has changed in such a way that

    none of these enablers could talk to the driver.

    o SCO support (http://www.sco.com)

    - Ethernet: 3Com-3C589x, Xircom-

    - Modem: most of the modems

    (Tested modem cards:US Robotics, Hayes, Megahertz)

    Note: PCMCIA cards must be resident at boot time in order for them to work.

    Subject: T27.3) How do I get my XXXX modem card working ?

    Read 'Chapter E', section 'Configuring PC Card (PCMCIA) Modems'in your 'SCO Unixware - Installation Handbook'

    Subject: T27.4) How do I get my 3Com 3c589x or the Xircom ethernet card working ?

    Just like when you install your ISA ethernet card...

    1/ 3Com 3c589x: insert the card into the socket before installingUnixWare-2.1. Select the appropriate driver when prompted. Or

    run 'niccfg' (available when you install the 'nics' package),and select the appropriate driver when prompted.

    2/ Not sure about the Xircom. Should be similar but I just never tried.

    Subject: T27.5) Are there any pitfalls when installing UnixWare 2.x on alaptop with PCMCIA support?

    (Martin Sohnius writes)

    Yes, and yes. :-)

    Buy an Ositech Trumpcard "Jack of Diamonds" combined modem/ethernet card.It's not cheap, but know to be the only one which works with UnixWare. Itcomes with a UnixWare driver in the box (which installs like a dream), andaccording to the very good instructions in the README files, you can evenuse it for a network install.

    Don't install the nics package; the Ositech driver takes its place later.

    You other question: pitfalls. It depends on the Thinkpad model. Some ofthem (notably the 755CX which I have, but also Pentium-upgraded othermodels) fall over with the Machine Check Exception panic after the first

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    32/42

    boot floppy. Download the tf2069.tar file from the ftp server (*not* thetf2069as.tar file -- that seems to be corrupt!) and create a new boot floppyfrom it. Follow the instructions in the *.txt file as to the special bootparameter

    CR4_MCE=NO

    You cannot use a CD-ROM in the Thinkpad proper (it's an IDE-ATAPI). So,

    unless you want to network install with your Ositech or with the "slipinstall" in the USLE archive (takes forever!), you need a docking stationwith a SCSI CD-ROM drive. The SCSI adapter in "Dock 1" is a Future Domain(driver name fdeb) and is factory set to IRQ 11. Since UnixWare's defaultis IRQ 5 for the fdeb driver, you must change it in the DCU (or set the IRQto 5 in the hardware).

    Please, totally ignore the TID in the NetWire archive on 755E and dockingstations! It's garbage.

    Subject: T27.6) What laptop video chipsets does UnixWare support?

    UnixWare has native drivers for:

    1/ WD90C24xx2/ Cirrus 54xx

    If you have the GD7431/3 then you may want to try 2/ above.If the above does not work for you then try:

    3/ XFree86 (http://www.xfree86.org)4/ XInside (http://www.xinside.com)5/ MetroLink (http://www.metrolink.com)

    Subject: T28) Are there any problem in getting UnixWare/NetWare connectionsup and running?

    Greg Smith ([email protected]) writes:

    One thing that I (and a number of other people) had problems with isgetting the UnixWare/NetWare connections up and running. Specifically,the NUC NLM module doesn't load correctly with older versions of NetWareuntil a number of updates are taken care of.

    I had so many problems with it that, after I solved all of them, I wrote aguide on troubleshooting the initial problems for my own use before Iforgot any of it, and I packaged it up for others to use as well. It'sabout 5 pages long and available on my home page,URL http://www.westnet.com/~gsmith (This is also availableon ftp://ftp.freebird.org/unixware/freebird/hints/UW2/).

    Subject: T29) When installing the 2.02 update, an error appearead abouta bad entry on the contents file - how can this be fixed?

    When trying to install the 2.02 update on to my 2.01AS system,partway through the following error appeared:

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    33/42

    bad entry read from contents file : - problem: unknown ftypeUX:pkginstall: ERROR: unable to merge package and system information

    The install halted after the error. I've also noticed that on systemstartup, the console shows an error message somewhat similar, about aproblem merging contents or something. What's the cause of theproblem?

    The problem is in the file /var/sadm/install/contents. Usually the very firstline is badly corrupt (no idea what combo of circumstances causes this,though). Delete that first line.

    Subject: T30) How do I install the *.pkg.tar.Z files from the freebird archive?

    xxxx.pkg.tar.Z A compressed tar archive of a binary inpkgadd format

    Where a file is suffixed with .gz this means that the GNU Zipfile compression utility has been used - to uncompress in thiscase use gunzip.

    The ".pkg" software package files follow the ABI (System V ApplicationBinary Interface) conventions for add-onpackages and are installed in /opt. It is wise tochange the default PATH setting to include /opt/bin in /etc/profile.

    PATH=$PATH:/opt/binexport PATH

    If you do not have a /opt, you can create it with the subdirectories/opt/bin, /opt/lib, /opt/man -- you could also use a symbolic linkto some other part of disk if you like (for example /usr/local) which

    can be useful if you get short of free disk space.

    To make the manual pages accessible to the /usr/ucb/man commandset the MANPATH environment variable to include /opt/man,a typical MANPATH might be:

    MANPATH=/usr/share/man:/opt/manexport MANPATH

    The packages (pkg.tar files) should be installed as follows:

    1. Extract the tar archive into /tmp.

    $ cd /tmp

    If compressed (.Z) then

    $ zcat package.tar|tar xvf -$ su# pkgadd -d `pwd`

    Many of the utilities include desktop icons for point and clickoperation:

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    34/42

    2. Installing graphically

    On UnixWare 1.x:----------------To install graphically on UnixWare (after you have installed the package)

    Select the System_Setup icon from the Desktop.Select Application_Setup from System_Setup

    Wait while the system catalogs the applicationsSelect the package icon from Application_Setup to get to

    Application_Setup:package_nameSelect the package icon and Finally click on the Install_to_desktopSelecting Applications from the Desktop you shouldthen see the package icon.

    On UnixWare 2.x:

    For UnixWare 2.0 and later, use the App_Installer utility in Admin_Toolsafter doing the pkgadd.

    Select the Admin_Tools icon from the Desktop.Select the App_Installer icon from Admin_ToolsSelect the icon of the package from the "All Applications

    currently installed" windowSelect Show_ContentsSelect the installable icon and hit Copy_to_folderSelect Apply, followed by Ok.

    Subject: T31) How do I configure support for WWW virtual hosts, so thatone machine can have several IP addresses ?

    This answer has now moved to the Howto Setup Networking FAQ.

    Subject: T32) How do I setup the NFS automounter?

    On the Client side, Create the file /etc/auto.direct

    /var/mail -hard,grpid,intr,rsize=1024,wsize=1024 ftp://windsor.ukb.novell.com/var//rtmp -hard,grpid,intr,nosuid,rsize=1024,wsize=1024 ftp://windsor.ukb.novell.com/# This example takes the resource from two servers so if one goes down# the other will kick in./opt -ro,soft,grpid,intr,rsize=1024,wsize=1024 ftp://usle.ukb.novell.com/fs1/windsor.ukb.novell.com:/export2/destiny/fs/marlow/home -rw,hard,grpid,intr,nosuid,rsize=1024,wsize=1024 marlow:/home

    Edit /etc/rc3.d/S22nfs and enable the automounter to use the /etc/auto.directmap (this is towards the end of the start section)

    # Mount all NFS files listed in /etc/vfstab/sbin/mountall -F nfs &

    # These modified for local useif [ -x /usr/lib/nfs/automount ]then# only start the auto mounter if our main server is up

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    35/42

    /usr/sbin/ping windsor 1 | grep alive >/dev/null 2>&1if [ $? = 0 ]then/usr/lib/nfs/automount -tl 1800 /- /etc/auto.direct&

    elseecho "Windsor is not up - not starting automounter"

    fifi

    ;;'stop')

    On the server side, edit /etc/dfs/dfstab

    For example:

    share -F nfs /rtmp&share -F nfs -oro /export2/destiny this example restricts the sharing to just a couple of machines.share -F nfs -o rw=london.ukb.novell.com:eaton.ukb.novell.com:carrera.ukb.novell.com /var/mail&

    Subject: T33) How do I change the IP address and name of a UnixWare box?

    Randy Seuss and Martin Sohnius write:

    uname -S new_node_name/etc/inet/menu

    Which then takes you thru the screens necessary for assigningIP addresses, routers, etc. I believe that the above isenough, PROVIDED you either reboot the system or at least run thecommand

    # sh /etc/rc2.d/S65loopback

    (For more info as to why, look at the S65loopback script yourself.)and then

    # /etc/inet/rc.restart

    Subject: T34) SMC NIC install & TF2047 (UW2.01)

    Kevin R. Bulgrien ([email protected]) reports:

    There is a patch TF2047 that corrects a problem with the SMC NIC driver. Theerror that it fixes can lead to an install session failure:

    If you are installing UW 2.01 on a system that is already attached to a networkwhich is in use, you will undoubtedly experience a system crash during theportion of the setup which detects and installs support for the NIC.

    To proceed with the installation without risk of this failure, disconnect thesystem from the network until after the install is complete.

    To proceed with the installation after it has locked up during the network

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    36/42

    setup phase, reboot after you have disconnected the system from thenetwork. Installation of the network card will proceed normally.

    I experienced this failure a couple of times, and arrived at the above solutionsby trial, error, and reading over the TF listings - and noticed the SMC driverpatch.

    This information is implied by the documentation of the TF2047 patch in that

    it indicates that the SMC driver can crash the system if it receives packetstoo quickly during the driver initialization, but I have not seen itassociated directly with problems experienced during an install.

    Subject: T35)How can I read the size of installed memory in a UnixWare system?

    At the command line as root, use the memsize(1M) or prtconf(1M)commands.

    In C you can use the sysi86(SI86MEM) call, for example:

    #include

    #include

    main(){printf ("memsize = %ld \n", sysi86(SI86MEM));}

    Subject: T36) I have UnixWare 2.03 and have problems reading multiple filesfrom floppy (the machine has 32MB of RAM).

    Apply ptf2202.tar from ftp://ftp.sco.com/UW20/

    Subject: T37)How do I found out the number of max processes a UnixWare machineis set for?

    su/etc/conf/bin/idtune -g NPROC

    idtune then prints out at most four values

    The current value of the tunable parameterThe default value, from the Mtune entryThe minimum valid value, from the Mtune entryThe maximum valid value, from the Mtune entry

    To increase the number of processes to say 1200

    /etc/conf/bin/idtune NPROC 1200

    Subject: T38) I've lost the root password, what do I do now?

    If you can login as the "system owner", then you can use tfadmin(1m)to change root's password. This works on both UnixWare 1.x and 2.x:

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    37/42

    $ /sbin/tfadmin passwd root

    or to delete the root password (remember to reset it afterwards)

    $ /sbin/tfadmin passwd -d root

    Otherwise you need to use the emergency boot floppy (an EBF).

    Subject: T39) How to recover with an Emergency boot?

    Peter Lord writes:

    At some time or other, you will find yourself with a UnixWare machinewhich either you can't log into or won't boot up. Their are manypossible causes for this but perhaps the most common include forgettingpasswords, configuring the kernel incorrectly and editing system filesby hand incorrectly.

    One example (now laughable - but not at the time!) was when I wanted to

    bring the system into single user mode for admin. I edited /etc/inittabto switch the default run-level to 1. Later, I put the run-level back to6 (not 3!). This left me with a machine which continually re-booteditself!

    Creating an emergency boot disk set is an essential admin task. OnUnixWare 2, create a disk set by :-

    emergency_disk diskette1

    This will take a few minutes. Note that this disk set is unique for youmachine. Also, as it contains all your HBA drivers, make sure you create

    it after your machine is stable and fully installed.

    When booting with your disk set, a mini version of UnixWare is bootedfrom the floppies. You will be presented with a short menu allowing youto repair disks, mount disks and enter a shell. In my example above, Icould enter the shell and edit /etc/inittab before rebooting.

    As well as creating an emergency boot set, you can also create a backupof your whole machine onto tape and restore this tape with the emergencyboot set. See the emergency_rec program to create such a tape.

    Subject: T40) Where are the system messages and log files on UnixWare?

    Peter Lord Writes:

    As a UnixWare system administrator, you need to keep track of thevarious messages that the system generates. But where are thesemessages?

    Console Messages

    If you are using the graphical desktop, you may miss some messagesbecause they are written out to the console or your home virtual

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    38/42

    terminal (VT).

    You can switch from the graph VT to the home VT by pressing ALT-SYSRQtogether, then H. To get back to the graphical VT press ALT-SYSRQ F1.

    Operating system messages

    Occasionally, the kernel will want to print some message out to you.

    This may be some information, warning or error messages. There are a fewways to read these messages :-

    1. /dev/osm devices. As root, you may access the /dev/osm* devices toview these messages. The command "cat /dev/osm1" will print out the messages todate and the command "tail -f /dev/osm1" will print out the last fewmessages and will continue to print out new ones.

    2. /var/adm/log/osmlog file. This file records the output of /dev/osm.Old versions of this file (from previous boots) are kept in the samedirectory. This file is usually readable by all.

    3. Msg_Monitor. This is a graphical tool which monitors the operatingsystem messages from the desktop (found in the Applications folder). This isconfigurable (so, for example, you can set it up to de-iconify onreceipt of a new message).

    System messages

    Application programs also want to alert you to possible problems.Usually these will either be generated at the console or through the/dev/osm interface.

    However, it is possible to collect these messages by severity into a log

    file. In fact, all the messages from all the machines on the network maybe collected together into one file. This system is syslog.

    The syslog daemon (syslogd(1)) is started from /etc/inet/config. Makesure you have a line thus in this file :-

    /etc/inet/config:8:/usr/sbin/syslogd::y:/etc/syslog.conf::

    And the configuration file /etc/syslog.conf should look something like this :-

    *.err;kern.debug;daemon.notice;mail.crit;user.none /var/adm/log/messages*.alert;user.none root*.emerg;user.none *auth.info /var/adm/log/authlog*.debug @loghost

    (Note in this example, loghost is an alias in /etc/hosts for the ISmonitoring machine)

    Connection Server

    The Connection server (cs(1)) is a daemon which establishes connectionsfor TLI/serial network services such as uucp, PPP etc. The log file for

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    39/42

    the connection server is kept in /var/adm/log/cs.log.

    However, if you are experiencing connection problems, the information inthis log file may not be detailed enough (for example, your uucpconnection is failing). The cs daemon can be run in debug mode to givemore information in the file /var/adm/log/cs.debug by running cs withthe -d option.

    Firstly, kill off the existing cs process (do a ps -edf | grep cs).Secondly run cs -d (as root).

    Subject: T41) How can I revert to the BSD form of (restricted) chown?

    By default, chown() system call comes with the old AT&T behavior andallows a user to change the ownership of a file he owns to that of anyother user on the system.

    How can I modify the behavior to the BSD-form (only root can changethe ownership of a file)?

    The BSD way is the FIPS 151-2 and XPG4 way, and indeed there is a tuneablecalled RSTCHOWN. For strict conformance (and when testing forPOSIX FIPS 151-2, XPG etc) this should be set to one.

    /etc/conf/bin/idtune -g RSTCHOWN will return its value.

    To set it do

    # /etc/conf/bin/idtune RSTCHOWN 1# /etc/conf/bin/idbuild

    and then reboot.

    Subject: T42) Why do I get 'syslog: accept: SIOCGPGRP failed errno 22' in syslog files ?

    If you have setup syslog log you may sometime see messages like :

    Aug 1 13:05:26 myhost syslog: accept: SIOCGPGRP failed errno 22

    It's logged at level USER, thus you may not see it if you don't logthis level.

    These messages are related to some program for which system librarieswere not specified in the correct order. A common sample is Sendmail8.7.5.

    If the program is compiled with C library before socket & nsl libs youmay get them.

    To simply correct the problem, you have to find which program wasbadly compiled and correct the Makefile. Just put -lc after -lnsl-lsocket, and all should be fine.

    Subject: T43) How to turn off multiprocessors in a Unixware 2?

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    40/42

    Try 'psradm':

    EXAMPLESTo unlock a processor, or bring it online:

    psradm -n processor_id

    To lock a processor, or take it off-line:

    psradm -f processor_id

    Subject: T44) How to avoid the check for open virtual screens when loggin on the console?

    Q Sometimes it happens that I can't login at the consolewindow ( h) while logged into the desktop.I get a message that vt01 is still open and have the choiceto close it by hand. I then need to log off the desktop tobe able to get a login prompt on the console.

    Does anybody know how to avoid the check for open virtual

    screens?

    A. Curt Smith writes:

    tymon is a pain for too many reasons. Here's my work around forhacking both: /etc/inittab (this file is manufactured from /etc/conf/init.d/*)and /etc/conf/init.d/consoles. The later is a new file in that dir.

    /etc/conf/init.d/consoles:

    v1:23:off:/etc/getty vt01 consolev2:23:off:/etc/getty vt02 console

    v3:23:respawn:/etc/getty vt03 consolev4:23:respawn:/etc/getty vt04 consolev5:23:respawn:/etc/getty vt05 consolev6:23:respawn:/etc/getty vt06 consolev7:23:respawn:/etc/getty vt07 consolev8:23:respawn:/etc/getty vt08 console

    The above gives you virtual consoles on: Alt-SysReq-F[3-8]Cat the above file to the end of /etc/inittab

    Modify /etc/inittab and /etc/conf/init.d/kernel

    Modify line to:co:12345:off:/usr/lib/saf/ttymon -g -v -p "Console Login: " -d /dev/console -l console

    Add line:co1:12345:respawn:/etc/getty console

    BTW: for UnixWare 2.x and 2.1 I've found ttymon to be friendlier than UW 1.x andnot requiring being disabled as the above modification does.

    You be the judge as to how far you want to free yourself from thettymon/sac/saf tyranny.

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    41/42

    Alternately Anthony W. Southworth writes:

    Personally, I don't have a problem with ttymon, but... the very firstthing I do after a new install is remove the '-v' option from theconsole ttymon. I don't see why it's the default configuration.Without the '-v', you can login and logout of the home "console" withoutshutting down the X server running on vt01.

    The inittab file (and /etc/conf/init.d/kernel) should look somethinglike this:

    co:12345:respawn:/usr/lib/saf/ttymon -g -p "Console Login: " -d /dev/console -l console

    Here's the description of the '-v' option from the ttymon man page:

    OptionsIn Express Mode (or standalone) ttymon takes the followingoptions:

    -v On startup, ttymon will list all open virtual terminals(vts) associated with the device specified (typically/dev/console). On exit, the user will be prompted toclose all open vts either manually or automatically.Choosing manual places the user in the highest numberedvt at which point the user must manually exit from eachvt. Choosing automatic will cause the signals SIGHUPand SIGTERM to each open vt, then after 3 secondsSIGTERM will be sent to each open vt to ensuretermination.

    For systems running with the Enhanced Security Utilities

    installed, the -v option will disable trusted pathprocessing. [See ttyadm(1M)].

    Subject: T45) How to increase per-process size limits to avoid Virtual MEmory Exceeded errors?

    Problem:We have an application developed locally that needs as much memoryas possible to load 10-15MB digital map files. The default setup onUnixWare 2.03 systems is 32 MB with 64 MB swap, but the program getsa "Virtual Memory Exceeded" error around 14MB. Other tests show thiserror occurs at 16MB predictably.

    Solution. MS writes:

    You need to up your process-size limits. Either with the ulimitor limit commands (for Bourne/Korn and C shell, respectively) ona per-process base (only works for root), or by retuning thekernel parameters

    # /etc/conf/bin/idtune SDATLIM 33554432 ## soft# /etc/conf/bin/idtune HDATLIM 33554432 ## hard# /etc/conf/bin/idtune SVMMSIZE unlimited ## soft# /etc/conf/bin/idtune HVMMSIZE unlimited ## hard

  • 7/29/2019 UnixWare Frequently Asked Questions List.doc

    42/42

    # /etc/conf/bin/idbuild -B...reboot!

    The first two set the maximum size of the data segment (the "heap")to 32 MB, the second two remove the limit on the total process size(which is, however, implicitly limited by 32MB of heap + 16MB ofstack + program text). Don't raise the stack limit, or a runaway

    recursion will kill you.

    ----------------------------------------------------------------------------

    Acknowledgements

    Thanks go to the following for their contributions (either directlyor on the netnews) in putting this FAQ together:

    Leo Smith, Bob Stewart, Martin Sohnius, Greg Smith, Mike West,Dan Busarow, Randy Seuss, Jeff Lind, Tim Rice, David Stone, Peter Lord,Curt Smith, Anthony Southworth, Ian Hay,

    Kevin R. Bulgrien, Thanh Ma for the PCMCIA section and last but notleast, the Novell & SCO staff that put the tech info onthe WWW.novell.com & ftp.sco.com sites.