Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Crashes due to dxsysinfo. DU v4.0A
@ 1997-03-01  5:00 Peter Chapin
  1997-03-07  5:00 ` Richard Powell
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Peter Chapin @ 1997-03-01  5:00 UTC (permalink / raw)




I have found that the program /usr/bin/X11/dxsysinfo crashes my system
with total reliability. It causes an "Illegal memory reference in kernel
mode." The crash occurs as the program is initializing. I get no change to
interact with it.

This occured the first time a few hours after I first installed my system.
I was just trying things out. It has occured on several other occasions
when students similary just tried it out. I have removed execute
permission on that program for now, but I'm curious if there is some easy
explaination for this problem and/or patch available. Has anyone else seen
this?

I'm running Digital Unix v4.0A on an Alphaserver 400. I'm running CDE.

*****************************************************************************
Peter                                    http://twilight.vtc.vsc.edu/~pchapin
pchapin@twilight.vtc.vsc.edu	  Paganism: Ancient beliefs in a modern world




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Crashes due to dxsysinfo. DU v4.0A
  1997-03-01  5:00 Crashes due to dxsysinfo. DU v4.0A Peter Chapin
@ 1997-03-07  5:00 ` Richard Powell
  1997-03-09  5:00   ` .
                     ` (2 more replies)
  1997-03-16  5:00 ` Phil Stallone
  1997-03-16  5:00 ` Phil Stallone
  2 siblings, 3 replies; 11+ messages in thread
From: Richard Powell @ 1997-03-07  5:00 UTC (permalink / raw)



Peter Chapin wrote:
> 
> I have found that the program /usr/bin/X11/dxsysinfo crashes my system
> with total reliability. It causes an "Illegal memory reference in kernel
> mode." The crash occurs as the program is initializing. I get no change to
> interact with it.

This is a known bug with Digital 4.0A.
To get around that is to create a /.sysman directory with the dxsysinfo
file.   I can't remember the syntax.   Try to run dxsysinfo as a regular
user,
and it will create the directory in that user's home dir.   Copy that to
the
root dir, and then it won't crash anymore.

I believe it's fixed in 4.0C, possibly 4.0B as well.

Good luck,
angela



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Crashes due to dxsysinfo. DU v4.0A
  1997-03-07  5:00 ` Richard Powell
@ 1997-03-09  5:00   ` .
  1997-03-12  5:00     ` Gaylord Holder
  1997-03-16  5:00   ` Phil Stallone
  1997-03-21  5:00   ` Pierre Monestie
  2 siblings, 1 reply; 11+ messages in thread
From: . @ 1997-03-09  5:00 UTC (permalink / raw)



You wrote:
>> I have found that the program /usr/bin/X11/dxsysinfo crashes my system
>> with total reliability. It causes an "Illegal memory reference in kernel
>> mode." The crash occurs as the program is initializing. I get no change to
>> interact with it.
>
>This is a known bug with Digital 4.0A.

Sorry guys,

if dxsysinfo crashes the system there is still a configuration problem on your machine!!!!!!
Please read the release notes carefully and you will get a hint whats wrong.......

"do not install device drivers which are not installed on the system...."

For example:
  It is a common procedure to install all the fu**ing stuff of the O3D kit because it is
  soooo easy to select "all subsets".
But this will automatically crashes your system if you'll call dxsysinfo. The same will happen
if your SCSI Bus is not properly terminated or the connections are too long (SCSI cables with
more than 1/2 meters are not allowed!!) So please check if  o n l y  the drivers are installed
which are plugged in the system.

Regards

  Ralf




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Crashes due to dxsysinfo. DU v4.0A
  1997-03-09  5:00   ` .
@ 1997-03-12  5:00     ` Gaylord Holder
  1997-03-15  5:00       ` .
  0 siblings, 1 reply; 11+ messages in thread
From: Gaylord Holder @ 1997-03-12  5:00 UTC (permalink / raw)



Ralf
You wrote:
> Sorry guys,
> 
> if dxsysinfo crashes the system there is still a configuration problem
> on your machine!!!!!! Please read the release notes carefully and you > will get a hint whats wrong.......
> 
> "do not install device drivers which are not installed on the
> system...."
> 
> For example:
>   It is a common procedure to install all the fu**ing stuff of the O3D > kit because it is soooo easy to select "all subsets". But this will    > automatically crashes your system if you'll call dxsysinfo. The same
> will happen if your SCSI Bus is not properly terminated or the
> connections are too long (SCSI cables with
> more than 1/2 meters are not allowed!!) So please check if  o n l y  
> the drivers are installed which are plugged in the system.
> 

We have a call in to DEC about this problem, (SeqNo. C970227-3592), and
the engineer suggested that it was a similar problem, and that it would
be fixed if we deleted /dev/es0.  That wasn't the problem.  

We actually only have trouble with dxsysinfo on the Alpha 3000 systems. 
Our 500s work fine.

Perhaps I am just being grumpy, but I think it is pretty poor software
design on DECs part when Joe User can crash the system by starting up a
simple user program.  If Digital Unix can't figure out that there isn't
a O3D device and do something intelligent about it, (like ENODEV?) then
I can see why they are running to NT.


-Gaylord



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Crashes due to dxsysinfo. DU v4.0A
  1997-03-12  5:00     ` Gaylord Holder
@ 1997-03-15  5:00       ` .
  1997-03-17  5:00         ` Gaylord Holder
  0 siblings, 1 reply; 11+ messages in thread
From: . @ 1997-03-15  5:00 UTC (permalink / raw)



Gaylord Holder <holder@phy.ucsf.edu> wrote:
>We have a call in to DEC about this problem, (SeqNo. C970227-3592), and
>the engineer suggested that it was a similar problem, and that it would
>be fixed if we deleted /dev/es0.  That wasn't the problem.
>
>We actually only have trouble with dxsysinfo on the Alpha 3000 systems.
>Our 500s work fine.
>
>Perhaps I am just being grumpy, but I think it is pretty poor software
>design on DECs part when Joe User can crash the system by starting up a
>simple user program.  If Digital Unix can't figure out that there isn't
>a O3D device and do something intelligent about it, (like ENODEV?) then
>I can see why they are running to NT.
>
Sorry but it is not enough to delete the esl0 device, because it is recreated after rebooting
the system ;-(. So you must completly remove the O3D kit and reinstall  the necessary
stuff. If dxsysinfo crashes after deleting the esl0 device, check your scsi bus for termination
and remove all external read-only devices.

It is possible to use special parameters for dxsysinfo to jump over the automatic testing
procedure and to check which part of your configuration get wrong. ;-)

The esl0 driver is for Ether & Sutherland graphic cards which communicates via a special bus
interface ($100.000 per card) It is only possible to detect the card by writing init stuff to the
created device.

Sorry it is not a poor software design because the hardware dependant drivers must be
configured by the system administrator e.g. you must know what you do.......
(to get NT ready you need no special skills so it is choosen from all the well known "experts".......
but try to develop programs or use multiuser applications and you'll really happy with unix.)






^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Crashes due to dxsysinfo. DU v4.0A
  1997-03-01  5:00 Crashes due to dxsysinfo. DU v4.0A Peter Chapin
  1997-03-07  5:00 ` Richard Powell
  1997-03-16  5:00 ` Phil Stallone
@ 1997-03-16  5:00 ` Phil Stallone
  2 siblings, 0 replies; 11+ messages in thread
From: Phil Stallone @ 1997-03-16  5:00 UTC (permalink / raw)



Peter Chapin wrote:
> 
> I have found that the program /usr/bin/X11/dxsysinfo crashes my system
> with total reliability. It causes an "Illegal memory reference in kernel
> mode." The crash occurs as the program is initializing. I get no change to
> interact with it.
> 
> This occured the first time a few hours after I first installed my system.
> I was just trying things out. It has occured on several other occasions
> when students similary just tried it out. I have removed execute
> permission on that program for now, but I'm curious if there is some easy
> explaination for this problem and/or patch available. Has anyone else seen
> this?
> 
> I'm running Digital Unix v4.0A on an Alphaserver 400. I'm running CDE.
> 
> *****************************************************************************
> Peter                                    http://twilight.vtc.vsc.edu/~pchapin
> pchapin@twilight.vtc.vsc.edu      Paganism: Ancient beliefs in a modern world


The problem you are experiencing is not actually caused by the 
dxsysinfo application. The problem is that there is a bad device
driver installed that is really causing the Kernel panic. 

I'm not sure of the actual driver, but I think this driver is part
of the OpenGL system. Do you have the Open3D system on your machine?

To prove that the dxsysinfo app is not the culprit, the following 
command will also cause your system to kernal panic:

	file /dev/*

If your system kernel paniced by using sysinfo, then it should also
crash with this command. You may need to execute the command as root,
but I'm not 100% sure, try it both as root and non-root.

The sysinfo app in trying to determine the devices, goes out and
does an open() and ioctl() system call on each device in /dev.
When it hits the bad device driver, boom, kernel panic. 

Now, since the driver is not on every machine, not every machine
experiences this problem. So, the root of this problem is a bad
device driver not dxsysinfo, but by running "Update Devices" in
dxsysinfo, the problem becomes apparent.

I think Digital has a patch for the OpenGL driver. You should 
contact them about this.

Good Luck.

- Phil



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Crashes due to dxsysinfo. DU v4.0A
  1997-03-07  5:00 ` Richard Powell
  1997-03-09  5:00   ` .
@ 1997-03-16  5:00   ` Phil Stallone
  1997-03-21  5:00   ` Pierre Monestie
  2 siblings, 0 replies; 11+ messages in thread
From: Phil Stallone @ 1997-03-16  5:00 UTC (permalink / raw)
  To: RLPowell


Richard Powell wrote:
> 
> Peter Chapin wrote:
> >
> > I have found that the program /usr/bin/X11/dxsysinfo crashes my system
> > with total reliability. It causes an "Illegal memory reference in kernel
> > mode." The crash occurs as the program is initializing. I get no change to
> > interact with it.
> 
> This is a known bug with Digital 4.0A.
> To get around that is to create a /.sysman directory with the dxsysinfo
> file.   I can't remember the syntax.   Try to run dxsysinfo as a regular
> user,
> and it will create the directory in that user's home dir.   Copy that to
> the
> root dir, and then it won't crash anymore.
> 
> I believe it's fixed in 4.0C, possibly 4.0B as well.
> 
> Good luck,
> angela


The temporary workaround your describing is to create a ~/.sysman/Dxsysinfo 
file that contains the device info. With this file present, dxsysinfo does not 
go out and "hit" (open() and ioctl()) the /dev directory, therefore the problem
does not occur. BUT, if you select "Update Devices", you force the app to obtain 
device info rather than reading it from the ~/.sysman/Dxsysinfo file, and thus
the kernel panic occurs. The underlying problem is not dxsysinfo but a bad
device driver, I think its an Open3D driver.

I think it is either a faulty driver, or that the driver is installed when
it shouldn't be. I suggest you contact Digital about this. Actually, a posting
from - Ralph - seems to indicate that the problem is that the O3D Kit drivers are
installed when they shouldn't be.


- Phil



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Crashes due to dxsysinfo. DU v4.0A
  1997-03-01  5:00 Crashes due to dxsysinfo. DU v4.0A Peter Chapin
  1997-03-07  5:00 ` Richard Powell
@ 1997-03-16  5:00 ` Phil Stallone
  1997-03-16  5:00 ` Phil Stallone
  2 siblings, 0 replies; 11+ messages in thread
From: Phil Stallone @ 1997-03-16  5:00 UTC (permalink / raw)



Peter Chapin wrote:
> 
> I have found that the program /usr/bin/X11/dxsysinfo crashes my system
> with total reliability. It causes an "Illegal memory reference in kernel
> mode." The crash occurs as the program is initializing. I get no change to
> interact with it.
> 
> This occured the first time a few hours after I first installed my system.
> I was just trying things out. It has occured on several other occasions
> when students similary just tried it out. I have removed execute
> permission on that program for now, but I'm curious if there is some easy
> explaination for this problem and/or patch available. Has anyone else seen
> this?
> 
> I'm running Digital Unix v4.0A on an Alphaserver 400. I'm running CDE.
> 
> *****************************************************************************
> Peter                                    http://twilight.vtc.vsc.edu/~pchapin
> pchapin@twilight.vtc.vsc.edu      Paganism: Ancient beliefs in a modern world

The problem you are experiencing is not actually caused by the 
dxsysinfo application. The problem is that there is a bad device
driver installed that is really causing the Kernel panic. 

I'm not sure of the actual driver, but I think this driver is part
of the OpenGL system. Do you have the Open3D kit on your machine?

To prove that the dxsysinfo app is not the culprit, the following 
command will also cause your system to kernal panic:

	file /dev/*

If your system kernel paniced by using sysinfo, then it should also
crash with this command. You may need to execute the command as root,
but I'm not 100% sure, try it both as root and non-root.

The sysinfo app in trying to determine the devices, goes out and
does an open() and ioctl() system call on each device in /dev.
When it hits the bad device driver, boom, kernel panic. 

Now, since the driver is not on every machine, not every machine
experiences this problem. So, the root of this problem is a bad
device driver not dxsysinfo, but by running "Update Devices" in
dxsysinfo, the problem becomes apparent.

I think Digital has a patch for the Open3D driver. You should 
contact them about this.

Good Luck.

- Phil



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Crashes due to dxsysinfo. DU v4.0A
  1997-03-15  5:00       ` .
@ 1997-03-17  5:00         ` Gaylord Holder
  1997-03-21  5:00           ` .
  0 siblings, 1 reply; 11+ messages in thread
From: Gaylord Holder @ 1997-03-17  5:00 UTC (permalink / raw)
  To: .


> Sorry but it is not enough to delete the esl0 device, because it is recreated after rebooting
> the system ;-(. So you must completly remove the O3D kit and reinstall  the necessary
> stuff. If dxsysinfo crashes after deleting the esl0 device, check your scsi bus for termination
> and remove all external read-only devices.
> 
If the problem is with the 03D device driver, why don't my Alpha 500s,
running the same generic kernel crash and burn?  This also assumes that
the 03D is configured in someway, which given DEC's less than complete
documentation on the configuration file, is certainly possible.

For grins, I've included the output from sizer -n on one of the machines
which crashes due to dxsysinfo.

-Gaylord

ident           "amadeus"

#
# Dependency options (DO NOT CHANGE)
#
options         UERF
options         MACH
options         OSF
options         _LMF_
options         BIN_COMPAT
options         MACH_IPC_TCACHE
options         MACH_IPC_WWA
options         MACH_IPC_XXXHACK
options         COMPAT_43
options         BUFCACHE_STATS
options         INOCACHE_STATS
options         STAT_TIME
options         VAGUE_STATS
options         INET
options         UIPC
options         DLI
options         NFS
options         SYSV_COFF
options         SYSV_ELF
options         BSD_TTY
options         TRN
options         TIMOD
options         TIRDWR
options         UFS
options         QUOTA
options         LABELS
options         SL
options         SNMPINFO


#
# 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 (DO NOT CHANGE)
#

#makeoptions    ASOPTS="-w"
makeoptions     CDEBUGOPTS="-g3"
makeoptions     CCOMPRESS=""
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             "DEC3000_500"
maxusers        32
config          vmunix  swap generic

bus             tc0        at nexus?    
callout after_c "../bin/mkdata tc"
bus             tcds0      at tc0       slot  6 vector    tcdsintr 
controller      scsi0      at tcds0     slot  0 
controller      scsi1      at tcds0     slot  1 
controller      scc0       at tc0       slot  7 vector    sccintr 
controller      bba0       at tc0       slot  7 vector    bbaintr 
controller      ln0        at tc0       slot  7 
controller      fb0        at tc0       slot  0 vector    fbint 
controller      fb1        at tc0       slot  1 vector    fbint 


#
# Pseudodevice Definitions (see configuring the 
# kernel chapter in the Guide to System Administration)
#
pseudo-device   ether
pseudo-device   loop
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   ws
pseudo-device   pty     255



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Crashes due to dxsysinfo. DU v4.0A
  1997-03-17  5:00         ` Gaylord Holder
@ 1997-03-21  5:00           ` .
  0 siblings, 0 replies; 11+ messages in thread
From: . @ 1997-03-21  5:00 UTC (permalink / raw)



Gaylord Holder <holder@phy.ucsf.edu> wrote:
>> Sorry but it is not enough to delete the esl0 device, because it is recreated after rebooting
>> the system ;-(. So you must completly remove the O3D kit and reinstall  the necessary
>> stuff. If dxsysinfo crashes after deleting the esl0 device, check your scsi bus for termination
>> and remove all external read-only devices.
>>
>If the problem is with the 03D device driver, why don't my Alpha 500s,
>running the same generic kernel crash and burn?  This also assumes that
>the 03D is configured in someway, which given DEC's less than complete
>documentation on the configuration file, is certainly possible.
>
The given output is from a DEC 3000-500 turbochannel machine. Have you checked if the
/dev/esl0 device exists? (The O3D driver libraries are loaded via Xservers.conf and not via kernel)

Be sure you have made the necessary firmware update and you have checked the SCSI bus
for termination. Please disconnect all unnecessary SCSI devices for testing.

Instead of posting the sizer -n output it would be great to catch an output of uerf -R -o full.
(All CAM and PANIC messages are essential, maybe there is a another problem)





^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Crashes due to dxsysinfo. DU v4.0A
  1997-03-07  5:00 ` Richard Powell
  1997-03-09  5:00   ` .
  1997-03-16  5:00   ` Phil Stallone
@ 1997-03-21  5:00   ` Pierre Monestie
  2 siblings, 0 replies; 11+ messages in thread
From: Pierre Monestie @ 1997-03-21  5:00 UTC (permalink / raw)



> Peter Chapin wrote:
> >
> > I have found that the program /usr/bin/X11/dxsysinfo crashes my system
> > with total reliability. It causes an "Illegal memory reference in kernel
> > mode." The crash occurs as the program is initializing. I get no change to
> > interact with it.
> 


Hi,
My dxsysinfo crash also. If someone know the patch..
Moreover ladebug and dxladebug crash in the same manner than dxsysinfo.
It make a kernel panic and the machine reboot. Is there a way to correct
the problem of ladebug. Is it the same origin than dxsysinfo?

Pierre Monestie



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~1997-03-21  5:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-01  5:00 Crashes due to dxsysinfo. DU v4.0A Peter Chapin
1997-03-07  5:00 ` Richard Powell
1997-03-09  5:00   ` .
1997-03-12  5:00     ` Gaylord Holder
1997-03-15  5:00       ` .
1997-03-17  5:00         ` Gaylord Holder
1997-03-21  5:00           ` .
1997-03-16  5:00   ` Phil Stallone
1997-03-21  5:00   ` Pierre Monestie
1997-03-16  5:00 ` Phil Stallone
1997-03-16  5:00 ` Phil Stallone

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