>
>
>> I'm getting our new server set up, and I did a fresh install of OSE 5.0.2.
>> I ran '/usr/lib/sa/sar_enable -y' and it said:
>> kernel check failed, kernel = (null), code = Unknown
>> very weird. I tried 'sar -u 5 10', and got the same error.
>>
>> Details:
>> Dell PowerEdge 4100 (PPro 200MHz), 128MB Ram, integrated adaptec 7880
>> (ultra/wide) controller (disabled in BIOS) and 7860 (ultra/narrow)
>> SCSI. Mylex DAX960PU RAID adapter.
>>
>> CDROM, tape drive and boot disk on 7860 using alad driver. Root disk
>> on RAID controlled by mdac driver. I suspect that the problem is
>> somehow related to having boot and root on different drives.
>>
>> I had to jump through some hoops to get it installed because I can't
>> currently use the BIOS on the RAID controller to boot from. I ended up
>> installing the OS twice, once on the boot disk and once on the RAID. I
>> now boot from the adaptec controller, using the kernel copied from the
>> mylex RAID, and everything appears to work correctly (including things
>> that I thought were sar-like in their kernel probing like ps and memhog).
>>
>> /unix is a symlink to /stand/unix, which is a different file (but an
>> exact copy) than the one I boot from (on another disk). It's group mem
>> readable and sar is sgid mem, so it shouldn't be a permissions problem.
>> Just to be sure, I changed /stand/unix permissions to world-read with no
>> effect. I also tried unmounting /stand and mounting the first
>> filesystem from the boot disk (where the actual boot kernel is) there,
>> with no change.
>
>This explains it.
>
>sar(ADM) is one of the few users of kernel(ADM), a new interface which
>communicates from /boot up to multiuser mode the name and inode number
>(and maybe some other details -- perhaps COFF datestamp?) of the file
>from which the kernel was booted. Your copy-of-/stand filesystem is
>apparently not identical to the actual /stand on the first drive, which
>is being used to boot the system. Specifically, although the same
>kernel exists with the same /mountpoint/unix name, their inode numbers
>must be different.
>
>There is an easy fix for this, which will also fix another potentially
>serious problem. What you should do is rename your current /dev/boot
>(/stand) filesystem, then rename the real /stand as /dev/boot. That is,
>run `divvy` on the partition containing the root filesystem and give a
>different name, e.g. "not-boot", to the "boot" division. Then run
>`divvy` on the partition containing the boot filesystem and give it the
>name "boot". Next time you boot, the real /stand filesystem will be
>mounted, kernel(ADM) will be able to do its job, and sar will be happy.
>
>A side effect is that when you relink the kernel or change
>/etc/default/boot, changes will be reflected on the actual /stand
>filesystem which is used to boot your system, rather than in the sterile
>copy found on your root drive. This could save you a lot of
>head-scratching in the future when you can't figure out why your kernel
>changes are having no effect...
>
>(You could then take over the "not-boot" division for another purpose --
>scratch space, or perhaps a bit of extra swap space...)
>
>>Bela<
Bela,
thanks for the clarification. A couple of days ago we
had a customer reporting the same exact problem so I suggested
him the above steps in order to solve his problem. After fiddling
with the OS, the customer reported to me that he was still unable
to solve his problem because he was not able to find /boot (and
the mounted /stand) on his filesystem. I was a little disappointed
since he stated he had SCO OS 5.0.0 and every SCO OS 5.0.x
installation I attended used to make a /boot partition and a /stand
read only filesystem. After talking with him I was told that he
upgraded from SCO UNIX 3.2v4.2 -> Open Server 5.0 Host System
and, during the installation, he instructed the system to 'preserve'
the original filesystem configuration. I asked him to send me his
current divvy configuration and here it goes:
==================================================
Name Type New Fs # First bl Last bl
==================================================
root EAFS no 0 0 465881
swap NON FS no 1 465882 529881
u EAFS no 2 529882 1029881
NOT US no 3
NOT US no 4
NOT US no 5
recover NON FS no 6 1029882 1029891
hd0a WHOLE no 7 0 1031939
==================================================
I have to admit that I never tried to upgrade from SCO UNIX to SCO OS5
with filesystem preservation so I'm not in the position to tell if the
customer operated correctly but assuming he did
(since he informed me that he's able to use the
OS correctly) how can we workaround
the fact that sar continues failing ?
Should I tell him to reinstall from scratch ? I suggested him to
create a dummy /stand and to fill it with the needed files
but since then I've not heard anything from him.
Could you shed some lights over this problem ?
Thanks again,
Roberto
--
---------------------------------------------------------------------
Strhold Sistemi EDP
Reggio Emilia ITALY
---------------------------------------------------------------------
"Has anybody seen an aircraft carrier around ?"
(Pete "Maverick" Mitchell - Top Gun)
---------------------------------------------------------------------