Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: wcoltters@yahoo.com
Subject: doconfig can't read ws.mod file (was resetted to cero size!)
Date: 1999/03/17	[thread overview]
Message-ID: <7coago$c86$1@nnrp1.dejanews.com> (raw)

We have problems rebuilding a kernel. Somehow
the /sys/BINARY/ws.mod file was deleted and
now the doconfig utility can't complete the
build of the new kernel. Apparently is the
only file modified. All the others mod files
in the directory are intact.

What I know is that ws.mod has to do with
the pseudo-device ws in the configuration file
so with the graphic capability of the workstation.
How can I generate it again from the object files
shown below? Do I need other object files?

Any help or if you could redirect
me to the appropiate documentation
would be appreciated.

One more thing, the whole idea of rebuilding the
kernel was increase the number of processes (tasks?)
running simultaneously in the system so we needed
to modify the task_max parameter. However this parameter
was not recognized when we put it below the maxusers
parameter in the configuration file. Is correct the name
of the parameter? I know we can increase the maxusers
parameter to modify indirectly the task_max parameter
but I would like know how to modify it direcly anyway! :-)

You can contact me at
wcoltters@yahoo.com
if you prefer.


Technical information:

# uname -a
OSF1 cshalpha V4.0 878 alpha
# cd /usr/sys/conf/
# ls
#.mrg..param.c     SONDA.bck          param.c            version.major
.new..param.c      alpha              sourceconfig       version.minor
.proto..param.c    config             template.mk        version.patch
BINARY             copyright          template.std.mk    version.type
CSHALPHA           files              version.banner     version.variant
GENERIC            filesystems        version.baselevel
SONDA              newvers.sh         version.build
# /usr/sbin/doconfig

*** KERNEL CONFIGURATION AND BUILD PROCEDURE ***

Enter a name for the kernel configuration file. [CSHALPHA]:

A configuration file with the name 'CSHALPHA' already exists.
Do you want to replace it? (y/n) [n]: y

Saving /sys/conf/CSHALPHA as /sys/conf/CSHALPHA.bck


*** KERNEL OPTION SELECTION ***

    Selection   Kernel Option
--------------------------------------------------------------
        1       System V Devices
        2       Logical Volume Manager (LVM)
        3       NTP V3 Kernel Phase Lock Loop (NTP_TIME)
        4       Kernel Breakpoint Debugger (KDEBUG)
        5       Packetfilter driver (PACKETFILTER)
        6       Point-to-Point Protocol (PPP)
        7       STREAMS pckt module (PCKT)
        8       X/Open Transport Interface (XTISO, TIMOD, TIRDWR)
        9       ISO 9660 Compact Disc File System (CDFS)
        10      Audit Subsystem
        11      ACL Subsystem
        12      Logical Storage Manager (LSM)
        13      IP Switching over ATM (ATMIFMP)
        14      LAN Emulation over ATM (LANE)
        15      Classical IP over ATM (ATMIP)
--- MORE TO FOLLOW ---

        16      ATM UNI 3.0/3.1 Signalling for SVCs (UNI3X)
        17      Asynchronous Transfer Mode (ATM)
        18      Advanced File System (ADVFS)
        19      All of the above
        20      None of the above
        21      Help
        22      Display all options again
--------------------------------------------------------------

Enter the selection number for each kernel option you want.
For example, 1 3 [20]: 1 3 5 6 7 8 9 10 11 12


You selected the following kernel options:

        System V Devices
        NTP V3 Kernel Phase Lock Loop (NTP_TIME)
        Packetfilter driver (PACKETFILTER)
        Point-to-Point Protocol (PPP)
        STREAMS pckt module (PCKT)
        X/Open Transport Interface (XTISO, TIMOD, TIRDWR)
        ISO 9660 Compact Disc File System (CDFS)
        Audit Subsystem
        ACL Subsystem
        Logical Storage Manager (LSM)

Is that correct? (y/n) [y]:

Do you want to edit the configuration file? (y/n) [n]:


*** PERFORMING KERNEL BUILD ***

A log file listing special device files is located in /dev/MAKEDEV.log
        Working....Wed Mar 17 09:39:34 CST 1999

*** WARNING ***
An error has occurred during system configuration.  A partial listing
of the error log file (./errs) follows:

cc  -c -O2  -DLANGUAGE_C -std0 -g3 -G 4 -I -I. -I.. -I../include
-DIDENT=CSHALc cc  -c -O2  -DLANGUAGE_C -std0 -g3 -G 4 -I -I. -I..
-I../include -DIDENT=CSHALc cc	-c -O2	-DLANGUAGE_C -std0 -g3 -G 4 -I -I.
-I.. -I../include -DIDENT=CSHALc cc  -c -O0  -DLANGUAGE_C -std0 -g3 -G 4 -I
-I. -I.. -I../include -DIDENT=CSHALc cc  -c -O2  -DLANGUAGE_C -std0 -g3 -G 4
-I -I. -I.. -I../include -DIDENT=CSHALc cc  -c -O2  -DLANGUAGE_C -std0 -g3 -G
4 -I -I. -I.. -I../include -DIDENT=CSHALc rm -f CSHALPHA.mod ld -dc -r -o
CSHALPHA.mod vm_init.o init_main.o ipc_globals.o lockinfo.o alpha_o
/usr/lib/cmplrs/cc/objZ CSHALPHA.mod sh ../conf/newvers.sh  ../conf/copyright
 `cat ../conf/version.type  ../conf/ve" cc  -c -O2  -DLANGUAGE_C -std0 -g3 -G
4 -I -I. -I.. -I../include -DIDENT=CSHALc rm -f vmunix vmunix.sys loading
vmunix.sys ld: Can't read file: ws.mod (Error 0) *** Exit 1 (ignored) chmod
755 a.out chmod: a.out: No such file or directory *** Exit 4 Stop. Press
<RETURN> to continue:

Do you want to edit the configuration file? (y/n) [n]:

*** NOTE ***
A new kernel for this machine could not be successfully created.

Restoring original configuration file - /sys/conf/CSHALPHA # cd
/usr/sys/CSHALPHA/ # ls -l ws.mod lrwxrwxrwx  1 root  system  16 Mar 17 09:39
ws.mod -> ../BINARY/ws.mod # ls -l ../BINARY/ws.mod lrwxrwxrwx	1 root	bin 
26 Oct 26 18:37 ../BINARY/ws.mod -> ../..d # ls -l ../../sys/BINARY/ws.mod
lrwxrwxrwx  1 root  bin  26 Oct 26 18:37 ../../sys/BINARY/ws.mod -d # ls -l
/sys/BINARY/ws.mod -rw-r--r--  1 bin  bin  0 Mar 16 13:26 /sys/BINARY/ws.mod
# ls -l /sys/BINARY/w*.mod -rw-r--r--  1 bin  bin  30833 Jan  5  1998
/sys/BINARY/wd.mod -rw-r--r--  1 bin  bin  0 Mar 16 13:26 /sys/BINARY/ws.mod

DO these files generate the ws.mod file?

# ls -l `!!`
ls -l `find ./ -name "ws_driver*"`
-rw-r--r--   1 bin      bin        63588 Dec 29  1997 ./BINARY/ws_driver.o
# ls -l ./BINARY/vga_support.o
-rw-r--r--   1 bin      bin        21786 Dec 29  1997 ./BINARY/vga_support.o
#

CONFIGURATION FILE CSHALPHA

ident		"CSHALPHA"

options		UERF
options		OSF
options		_LMF_
options		BIN_COMPAT
options		COMPAT_43
options		MACH
options		MACH_IPC_TCACHE
options		MACH_IPC_WWA
options		MACH_IPC_XXXHACK
options		BUFCACHE_STATS
options		INOCACHE_STATS
options		STAT_TIME
options		VAGUE_STATS
options		UFS
options		NFS
options		NFS_SERVER
options		STRKINFO
options		STREAMS
options		LDTTY
options		RPTY
options		INET
options		UIPC
options		SYSV_COFF
options		QUOTA
options		LABELS
options	SL
options SNMPINFO
options		DLI
options		BSD_TTY
options	BPARM
options		FFM_FS
options		DLB
options	PROCFS
options         FFM_FS
options	NTP_TIME
options	PACKETFILTER
options   PPP
options   PCKT
options         TIRDWR
options 	TIMOD
options		XTISO
options		CDFS
options	DEC_AUDIT
options	DEC_ACL

#
# Standard options.
#
options		UNIX_LOCKS
options		SER_COMPAT
options		RT_PREEMPT
options		RT_SCHED
options		RT_SCHED_RQ
options		RT_PML
options		RT_TIMER
options		RT_SEM
options		RT_CSEM
options		RT_IPC
#
makeoptions	CDEBUGOPTS="-g3"
makeoptions	CCOMPRESS="-compress"
makeoptions	PROFOPTS="-DPROFILING -DPROFTYPE=4"

#
# Max number of processors in the system (DO NOT CHANGE)
#
processors	16

#
# Special options (see configuring the kernel chapter
# in the Guide to System Administration)
#
dfldsiz		134217728
maxdsiz		1073741824
dflssiz		2097152
maxssiz		33554432
cpu		"DEC4100"
maxusers	32
config		vmunix	swap generic

bus             mcbus0     at nexus?
bus             pci1       at mcbus0    slot  5
callout after_c "../bin/mkdata pci"
bus             psiop0     at pci1      slot  1 vector    psiopintr
controller      scsi0      at psiop0    slot  0
bus             pci2001    at pci1      slot  2
bus             isp0       at pci2001   slot  0 vector    ispintr
controller      scsi1      at isp0      slot  0
controller      xcr0       at pci1      slot  3 vector    xcrintr
device disk     re2        at xcr0      drive     2
device disk     re0        at xcr0      drive     0
device disk     re1        at xcr0      drive     1
device disk     re3        at xcr0      drive     3
controller      tu0        at pci1      slot  4
bus             pci0       at mcbus0    slot  4
bus             eisa0      at pci0      slot  1
callout after_c "../bin/mkdata eisa"
controller      gpc0       at eisa0     slot  0 vector    gpcintr
controller      ace0       at eisa0     slot  8 vector    aceintr
controller      ace1       at eisa0     slot  9 vector    aceintr
controller      lp0        at eisa0     slot  10 vector    lpintr
controller      fdi0       at eisa0     slot  11
device disk     fd0        at fdi0      drive     0
bus             isp1       at pci0      slot  3 vector    ispintr
controller      scsi2      at isp1      slot  0
controller      trio0      at pci0      slot  2

pseudo-device	sysv_hab
pseudo-device	svid_three_hab
pseudo-device	svr_four_hab
pseudo-device	soe_two_hab
pseudo-device	rt_hab
pseudo-device	ether
pseudo-device	loop
pseudo-device   prf    6
pseudo-device	lsm_ted	0
pseudo-device	lsm	1
pseudo-device	ws


-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    



                 reply	other threads:[~1999-03-17  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox