NetBSD Problem Report #13715

Received: (qmail 10703 invoked from network); 14 Aug 2001 12:42:31 -0000
Message-Id: <Pine.GSO.4.33.0108141345190.9893-100000@uxa.liv.ac.uk>
Date: Tue, 14 Aug 2001 13:46:49 +0100 (BST)
From: Dave Tyson <Dave.Tyson@liverpool.ac.uk>
To: <gnats-bugs@gnats.netbsd.org>
Subject: SuperProbe supplied with 1.5.1 kit broken

>Number:         13715
>Category:       xsrc
>Synopsis:       SuperProbe supplied with 1.5.1 kit broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 14 12:43:01 +0000 2001
>Closed-Date:    Mon Mar 10 09:27:51 +0000 2008
>Last-Modified:  Mon Mar 10 09:27:51 +0000 2008
>Originator:     Dave Tyson
>Release:        NetBSD 1.5.1
>Organization:
	The University of Liverpool
>Environment:

System: NetBSD splunge2 1.5.1 NetBSD 1.5.1 (GENERIC) #56: Mon Jul 2 15:54:23
CEST 2001 he@nsa.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386


>Description:
The version of SuperProbe shipped with the 1.5.1 install is broken,

SuperProbe Version 2.21 (12 October 1999)
	(c) Copyright 1993,1994 by David Wexelblat <dwex@xfree86.org>
	(c) Copyright 1994-1998 by The XFree86 Project, Inc

...snip snip snip...

WARNING - THIS SOFTWARE COULD HANG YOUR MACHINE.
          READ THE SuperProbe.1 MANUAL PAGE BEFORE
          RUNNING THIS PROGRAM.

          INTERRUPT WITHIN FIVE SECONDS TO ABORT!

SuperProbe: CONSOLE_X_MODE_ON failed
SuperProbe: Cannot open video

>How-To-Repeat:
	/usr/X11R6/bin/SuperProbe
>Fix:
	At a guess the NetBSD X customisation was not correctly applied
        when SuperProbe was compiled. The version of Superprobe in the
        later snapshots works fine.

--
=====================================================================
Computing Services Dept         Phone/Fax: 0151-794-3731/3759
The University of Liverpool     Email: dtyson@liv.ac.uk
Chadwick Tower, Peach Street    WWW:   http://www.liv.ac.uk/~dtyson
Liverpool L69 7ZF               Reliable O/S: www.netbsd.org
=====================================================================

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: tron 
State-Changed-When: Fri Jul 5 11:03:38 PDT 2002 
State-Changed-Why:  
1.) The problem you describe can easily happen with an incorrect kernel 
configuration. Please provide output of "ktrace" for a precise 
diagnosis. 
2.) NetBSD 1.5.3 will be released soon, the i386 binaries should already 
be on "ftp.netbsd.org". Can you please retry with these binaries? 

From: Dave Tyson <Dave.Tyson@liverpool.ac.uk>
To: tron@netbsd.org
Cc: Dave.Tyson@liverpool.ac.uk, <xsrc-manager@netbsd.org>
Subject: Re: xsrc/13715
Date: Mon, 8 Jul 2002 13:04:02 +0100 (BST)

 On 5 Jul 2002 tron@netbsd.org wrote:

 >Synopsis: SuperProbe supplied with 1.5.1 kit broken
 >
 >State-Changed-From-To: open->feedback
 >State-Changed-By: tron
 >State-Changed-When: Fri Jul 5 11:03:38 PDT 2002
 >State-Changed-Why:
 >1.) The problem you describe can easily happen with an incorrect kernel
 >    configuration. Please provide output of "ktrace" for a precise
 >    diagnosis.
 >2.) NetBSD 1.5.3 will be released soon, the i386 binaries should already
 >    be on "ftp.netbsd.org". Can you please retry with these binaries?
 >

 This was with the default GENERIC kernel and a clean install of all the
 binary sets. The tail end of a ktrace of /usr/X11R6/bin/SuperProbe is
 below:

    245 SuperProbe RET   write 1
    245 SuperProbe CALL  write(0x3,0x806e000,0x32)
    245 SuperProbe GIO   fd 3 wrote 50 bytes
        "          INTERRUPT WITHIN FIVE SECONDS TO ABORT!
        "
    245 SuperProbe RET   write 50/0x32
    245 SuperProbe CALL  write(0x3,0x806e000,0x1)
    245 SuperProbe GIO   fd 3 wrote 1 bytes
        "
        "
    245 SuperProbe RET   write 1
    245 SuperProbe CALL  write(0x3,0x806e000,0x3)
    245 SuperProbe GIO   fd 3 wrote 3 bytes
        "\a\a\a"
    245 SuperProbe RET   write 3
    245 SuperProbe CALL  nanosleep(0xbfbfd878,0xbfbfd870)
    245 SuperProbe RET   nanosleep 0
    245 SuperProbe CALL  geteuid
    245 SuperProbe RET   geteuid 0
    245 SuperProbe CALL  open(0x80581f9,0x4,0)
    245 SuperProbe NAMI  "/dev/kbd"
    245 SuperProbe RET   open -1 errno 2 No such file or directory
    245 SuperProbe CALL  open(0x80582a2,0x2,0)
    245 SuperProbe NAMI  "/dev/vga"
    245 SuperProbe RET   open -1 errno 2 No such file or directory
    245 SuperProbe CALL  open(0x80582ab,0x2,0)
    245 SuperProbe NAMI  "/dev/ttyv0"
    245 SuperProbe RET   open -1 errno 6 Device not configured
    245 SuperProbe CALL  open(0x80582b6,0x2,0)
    245 SuperProbe NAMI  "/dev/ttyE0"
    245 SuperProbe RET   open 4
    245 SuperProbe CALL  ioctl(0x4,TIOCSDTR,0)
    245 SuperProbe RET   ioctl -1 errno 25 Inappropriate ioctl for device
    245 SuperProbe CALL  write(0x2,0xbfbfd1c8,0x25)
    245 SuperProbe GIO   fd 2 wrote 37 bytes
        "SuperProbe: CONSOLE_X_MODE_ON failed
        "
    245 SuperProbe RET   write 37/0x25
    245 SuperProbe CALL  write(0x2,0xbfbfd1d0,0x1e)
    245 SuperProbe GIO   fd 2 wrote 30 bytes
        "SuperProbe: Cannot open video
        "
    245 SuperProbe RET   write 30/0x1e
    245 SuperProbe CALL  exit(0xffffffff)


 The issue seems to be that the default wsconsole device does not
 handle the IOCTL shown. This behavior is also experienced with
 NetBSD 1.5.3_RC2 (using the xbinaries supplied with the 1.5.3_ALPHA)
 release as the RC2 snapshot does not contain x)

 The problem is not a big issue for me - however for the sake of
 people trying NetBSD for the first time (maybe from linux :-)
 it would be nice if SuperProbe DTRT with a brand new install. Maybe
 a bit of tinkering would get it to work (and I have seen it work OK
 with some versions of superprobe and so it may just be a superprobe
 customisation issue)

 Dave

 --
 =====================================================================
 Computing Services Dept         Phone/Fax: 0151-794-3731/3759
 The University of Liverpool     Email: dtyson@liv.ac.uk
 Chadwick Tower, Peach Street    WWW:   http://www.liv.ac.uk/~dtyson
 Liverpool L69 7ZF               Open Source O/S: www.netbsd.org
 =====================================================================

From: Dave Tyson <Dave.Tyson@liverpool.ac.uk>
To: gnats-bugs@netbsd.org
Cc:  
Subject: Re: xsrc/13715 
Date: Mon, 5 Aug 2002 13:21:53 +0100 (BST)

 The problem occurs with the default GENERIC kernel and a clean install of all
 the binary sets. The tail end of a ktrace of /usr/X11R6/bin/SuperProbe is
 below:

    245 SuperProbe RET   write 1
    245 SuperProbe CALL  write(0x3,0x806e000,0x32)
    245 SuperProbe GIO   fd 3 wrote 50 bytes
        "          INTERRUPT WITHIN FIVE SECONDS TO ABORT!
        "
    245 SuperProbe RET   write 50/0x32
    245 SuperProbe CALL  write(0x3,0x806e000,0x1)
    245 SuperProbe GIO   fd 3 wrote 1 bytes
        "
        "
    245 SuperProbe RET   write 1
    245 SuperProbe CALL  write(0x3,0x806e000,0x3)
    245 SuperProbe GIO   fd 3 wrote 3 bytes
        "\a\a\a"
    245 SuperProbe RET   write 3
    245 SuperProbe CALL  nanosleep(0xbfbfd878,0xbfbfd870)
    245 SuperProbe RET   nanosleep 0
    245 SuperProbe CALL  geteuid
    245 SuperProbe RET   geteuid 0
    245 SuperProbe CALL  open(0x80581f9,0x4,0)
    245 SuperProbe NAMI  "/dev/kbd"
    245 SuperProbe RET   open -1 errno 2 No such file or directory
    245 SuperProbe CALL  open(0x80582a2,0x2,0)
    245 SuperProbe NAMI  "/dev/vga"
    245 SuperProbe RET   open -1 errno 2 No such file or directory
    245 SuperProbe CALL  open(0x80582ab,0x2,0)
    245 SuperProbe NAMI  "/dev/ttyv0"
    245 SuperProbe RET   open -1 errno 6 Device not configured
    245 SuperProbe CALL  open(0x80582b6,0x2,0)
    245 SuperProbe NAMI  "/dev/ttyE0"
    245 SuperProbe RET   open 4
    245 SuperProbe CALL  ioctl(0x4,TIOCSDTR,0)
    245 SuperProbe RET   ioctl -1 errno 25 Inappropriate ioctl for device
    245 SuperProbe CALL  write(0x2,0xbfbfd1c8,0x25)
    245 SuperProbe GIO   fd 2 wrote 37 bytes
        "SuperProbe: CONSOLE_X_MODE_ON failed
        "
    245 SuperProbe RET   write 37/0x25
    245 SuperProbe CALL  write(0x2,0xbfbfd1d0,0x1e)
    245 SuperProbe GIO   fd 2 wrote 30 bytes
        "SuperProbe: Cannot open video
        "
    245 SuperProbe RET   write 30/0x1e
    245 SuperProbe CALL  exit(0xffffffff)


 The issue seems to be that the default wsconsole device does not
 handle the IOCTL shown. This behavior is also experienced with
 NetBSD 1.5.3_RC2 (using the xbinaries supplied with the 1.5.3_ALPHA)
 release as the RC2 snapshot does not contain x)

 Dave

 --
 =====================================================================
 Computing Services Dept         Phone/Fax: 0151-794-3731/3759
 The University of Liverpool     Email: dtyson@liv.ac.uk
 Chadwick Tower, Peach Street    WWW:   http://www.liv.ac.uk/~dtyson
 Liverpool L69 7ZF               Open Source O/S: www.netbsd.org
 =====================================================================



From: Dave Tyson <Dave.Tyson@liverpool.ac.uk>
To: gnats-bugs@netbsd.org
Cc:  
Subject: Re: xsrc/13715
Date: Thu, 5 Dec 2002 14:09:19 +0000 (GMT)

 Additional information as requested.

 This was with the default GENERIC kernel and a clean install of all the
 binary sets. The tail end of a ktrace of /usr/X11R6/bin/SuperProbe is
 below:

    245 SuperProbe RET   write 1
    245 SuperProbe CALL  write(0x3,0x806e000,0x32)
    245 SuperProbe GIO   fd 3 wrote 50 bytes
        "          INTERRUPT WITHIN FIVE SECONDS TO ABORT!
        "
    245 SuperProbe RET   write 50/0x32
    245 SuperProbe CALL  write(0x3,0x806e000,0x1)
    245 SuperProbe GIO   fd 3 wrote 1 bytes
        "
        "
    245 SuperProbe RET   write 1
    245 SuperProbe CALL  write(0x3,0x806e000,0x3)
    245 SuperProbe GIO   fd 3 wrote 3 bytes
        "\a\a\a"
    245 SuperProbe RET   write 3
    245 SuperProbe CALL  nanosleep(0xbfbfd878,0xbfbfd870)
    245 SuperProbe RET   nanosleep 0
    245 SuperProbe CALL  geteuid
    245 SuperProbe RET   geteuid 0
    245 SuperProbe CALL  open(0x80581f9,0x4,0)
    245 SuperProbe NAMI  "/dev/kbd"
    245 SuperProbe RET   open -1 errno 2 No such file or directory
    245 SuperProbe CALL  open(0x80582a2,0x2,0)
    245 SuperProbe NAMI  "/dev/vga"
    245 SuperProbe RET   open -1 errno 2 No such file or directory
    245 SuperProbe CALL  open(0x80582ab,0x2,0)
    245 SuperProbe NAMI  "/dev/ttyv0"
    245 SuperProbe RET   open -1 errno 6 Device not configured
    245 SuperProbe CALL  open(0x80582b6,0x2,0)
    245 SuperProbe NAMI  "/dev/ttyE0"
    245 SuperProbe RET   open 4
    245 SuperProbe CALL  ioctl(0x4,TIOCSDTR,0)
    245 SuperProbe RET   ioctl -1 errno 25 Inappropriate ioctl for device
    245 SuperProbe CALL  write(0x2,0xbfbfd1c8,0x25)
    245 SuperProbe GIO   fd 2 wrote 37 bytes
        "SuperProbe: CONSOLE_X_MODE_ON failed
        "
    245 SuperProbe RET   write 37/0x25
    245 SuperProbe CALL  write(0x2,0xbfbfd1d0,0x1e)
    245 SuperProbe GIO   fd 2 wrote 30 bytes
        "SuperProbe: Cannot open video
        "
    245 SuperProbe RET   write 30/0x1e
    245 SuperProbe CALL  exit(0xffffffff)


 The issue seems to be that the default wsconsole device does not
 handle the IOCTL shown. This behavior is also experienced with
 NetBSD 1.5.3_RC2 (using the xbinaries supplied with the 1.5.3_ALPHA)
 release as the RC2 snapshot does not contain x)

 The problem is not a big issue for me - however for the sake of
 people trying NetBSD for the first time (maybe from linux :-)
 it would be nice if SuperProbe DTRT with a brand new install. Maybe
 a bit of tinkering would get it to work (and I have seen it work OK
 with some versions of superprobe and so it may just be a superprobe
 customisation issue)

 Dave

 --
 =====================================================================
 Computing Services Dept         Phone/Fax: 0151-794-3731/3759
 The University of Liverpool     Email: dtyson@liv.ac.uk
 Chadwick Tower, Peach Street    WWW:   http://www.liv.ac.uk/~dtyson
 Liverpool L69 7ZF               Open Source O/S: www.netbsd.org
 =====================================================================


State-Changed-From-To: feedback->analyzed 
State-Changed-By: tron 
State-Changed-When: Thu Dec 5 06:18:53 PST 2002 
State-Changed-Why:  
So the problem is caused by SuperProbe not interacting well with wscons(4). 
Because NetBSD-i36 ships with XFree86 4.x it is not that important to 
fix this bug. 
State-Changed-From-To: analyzed->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 10 Mar 2008 09:27:51 +0000
State-Changed-Why:
XFree86 < 4.0 is dead, deader, deadest.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.