Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 1999 12:23:11 +0200 (CEST)
From:      rch@writeme.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   i386/13655: sysmouse, signal 10 and XF86_S3
Message-ID:  <199909091023.MAA00528@richard.eu.org>

next in thread | raw e-mail | index | archive | help

>Number:         13655
>Category:       i386
>Synopsis:       sysmouse, signal 10 and XF86_S3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep  9 03:30:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Ricardas Cepas
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
>Environment:

	
ktrace:
   679 XF86_S3  RET   read 1232/0x4d0
   679 XF86_S3  CALL  read(0x6,0x82c0008,0x225c)
   679 XF86_S3  GIO   fd 6 read 8796 bytes
       "\a8\0\0\^O<\0\0\^_>\0\0>\^_\0\0ü\^O\0\0ø\a\0\0ð\^C\0\0ð\^C\0\0ø\a\0\0ü\^O\0\0>\^_\0\0\^_>\0\0\^O<\0\0\a8\0\0\^Oð\0\
        \0\^_ø\0\0?ü\0\0\^?þ\0\0þ\^?\0\0ü?\0\0ø\^_\0\0ð\^O\0\0ð\^O\0\0ø\^_\0\0ü?\0\0þ\^?\0\0\^?þ\0\0?ü\0\0\^_ø\0\0\^Oð\0\0\
.................
        \08\0\0\08\0\0\08\0\0\08\0\0\08\0\0\0|\0\0\0ÿ\^A\0\0ÿ\^A\0\0ï\^A\0\0"
   679 XF86_S3  RET   read 8796/0x225c
   679 XF86_S3  CALL  break(0x82c4000)
   679 XF86_S3  RET   break 0
   679 XF86_S3  CALL  break(0x82c5000)
   679 XF86_S3  RET   break 0
   679 XF86_S3  CALL  gettimeofday(0xbfbfd30c,0)
   679 XF86_S3  RET   gettimeofday 0
   679 XF86_S3  CALL  select(0x80,0x82613e0,0,0,0xbfbfd358)
   679 XF86_S3  RET   select 1
   679 XF86_S3  CALL  read(0x3,0xbfbfd204,0x40)
   679 XF86_S3  RET   read -1 errno 35 Resource temporarily unavailable
   679 XF86_S3  CALL  read(0x5,0xbfbfd1f4,0x40)
   679 XF86_S3  GIO   fd 5 read 16 bytes
       "\M^G\0\0\^A\0\0\0\^?\M^G\0\0\^A\0\0\0\^?"
   679 XF86_S3  RET   read 16/0x10
   679 XF86_S3  PSIG  SIGBUS caught handler=0x80c3e0c mask=0x0 code=0x1d
   679 XF86_S3  CALL  sigaction(0xa,0xbfbfd128,0xbfbfd11c)
   679 XF86_S3  RET   sigaction 0
   679 XF86_S3  CALL  write(0x2,0xbfbfc9e8,0x15)
   679 XF86_S3  GIO   fd 2 wrote 21 bytes
       "
        Fatal server error:
       "
   679 XF86_S3  RET   write 21/0x15
   679 XF86_S3  CALL  write(0x2,0xbfbfc9f0,0x23)
   679 XF86_S3  GIO   fd 2 wrote 35 bytes
       "Caught signal 10.  Server aborting

dmesg:

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.2-STABLE #3: Thu Sep  9 10:32:05 CEST 1999
    root@richard.eu.org:/usr/src/sys/compile/MYKERNEL
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 448802837 Hz
CPU: Pentium III (448.80-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping=3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,<b24>,<b25>>
real memory  = 67108864 (65536K bytes)
avail memory = 62394368 (60932K bytes)
Bad SMBIOS table checksum!
Preloaded elf kernel "kernel" at 0xc02bb000.
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.7.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.7.3
vga0: <S3 Trio 64 graphics accelerator> rev 0x16 int a irq 255 on pci0.8.0
Probing for devices on PCI bus 1:
Probing for PnP devices:
CSN 1 Vendor ID: ESS1868 [0x68187316] Serial 0xffffffff Comp ID: @@@0000 [0x00000000]
ESS1868 (rev 11)
pcm1 (ESS1868 <ESS1868> sn 0xffffffff) at 0x220-0x22f irq 10 drq 1 on isa
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 not found
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 at 0x3e8-0x3ef irq 5 on isa
sio2: type 16550A
psm0 not found at 0x60
pcm0 not probed due to drq conflict with pcm1 at 1
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <ST33232A>, DMA, 32-bit, multi-block-16
wd0: 3077MB (6303024 sectors), 6253 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (atapi): <CD-532E-B/1.0A>, removable, accel, ovlap, dma, iordis
acd0: drive speed 5512KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm data disc loaded, unlocked
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (wd2): <NEC Corporation D3713>, 32-bit
wd2: 329MB (675360 sectors), 670 cyls, 16 heads, 63 S/T, 512 B/S
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 msize 65536 on motherboard
npx0: INT 16 interface
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to accept, logging limited to 50000 packets/entry
ccd0-3: Concatenated disk drivers
changing root device to wd0s1a
pid 510 (XF86_S3), uid 0: exited on signal 6
pid 534 (XF86_S3), uid 0: exited on signal 6
pid 553 (XF86_S3), uid 0: exited on signal 6
pid 571 (XF86_S3), uid 0: exited on signal 6
pid 606 (XF86_S3), uid 0: exited on signal 6
pid 645 (XF86_S3), uid 0: exited on signal 6
pid 652 (XF86_S3), uid 0: exited on signal 6
pid 679 (XF86_S3), uid 0: exited on signal 6


	KERNEL:

machine		"i386"
cpu		"I586_CPU"
cpu		"I686_CPU"
ident		MYKERNEL
maxusers	32

options "MAXMEM=(64*1024)"
options "NTIMECOUNTER=10"
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		MFS			#Memory Filesystem
options		MFS_ROOT		#MFS usable as root device, "MFS" req'ed
options		NFS			#Network Filesystem
options		NFS_ROOT		#NFS usable as root device, "NFS" req'ed

options		QUOTA			#enable disk quotas

options		MSDOSFS			#MSDOS Filesystem
options		"EXT2FS"
options		"CD9660"		#ISO 9660 Filesystem
options		"CD9660_ROOT"		#CD-ROM usable as root. "CD9660" req'ed
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

config		kernel	root on wd0


controller	isa0
controller	pnp0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0 flags 0xA0ff
disk		wd1	at wdc0 drive 1 flags 0xA0ff

controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
disk		wd2	at wdc1 drive 0 flags 0xA0ff
disk		wd3	at wdc1 drive 1 flags 0xA0ff

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM

options		IDE_DELAY=8000	# Be optimistic about Joe IDE device

device          acd0


controller	atkbdc0	at isa? port IO_KBD tty
device		atkbd0	at isa? tty irq 1
device		psm0	at isa? tty irq 12

device		vga0	at isa? port ? conflicts

pseudo-device	splash

device		sc0	at isa? tty
options		MAXCONS=16		# number of virtual consoles
options                "SC_MOUSE_CHAR=0x03"
options                "STD8X16FONT"           # Compile font in
makeoptions    "STD8X16FONT"="lat4"
options                SC_HISTORY_SIZE=700     # number of history buffer lines


device		npx0	at isa? port "IO_NPX" iosiz 65536 irq 13 vector npxintr



device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr

device		ppc0	at isa? port? flags 0x40 net irq 7
controller	ppbus0
device		lpt0	at ppbus?
device		plip0	at ppbus?
device		ppi0	at ppbus?


device xl0


device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr

pseudo-device	loop
pseudo-device	bpfilter 4		#Berkeley packet filter
pseudo-device	ether
pseudo-device	ppp	1
options PPP_BSDCOMP                    #PPP BSD-compress support
options PPP_DEFLATE                    #PPP zlib/deflate/gzip support
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #print information about
                                        # dropped packets
options         "IPFIREWALL_VERBOSE_LIMIT=50000" #limit verbosity
options         IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default


pseudo-device	tun	1
pseudo-device   pty     16      #Pseudo ttys - can go as high as 256
pseudo-device   gzip            #Exec gzipped a.out's
pseudo-device   vn              #Vnode driver (turns a file into a device)
pseudo-device   snp     3       #Snoop device - to look at pty/vty/etc..
pseudo-device   ccd     4       #Concatenated disk driver


options		KTRACE		#kernel tracing

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		"VM86"



XFree86 Version 3.3.3.1 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: December 29 1998
	If the server is older than 6-12 months, or if your card is newer
	than the above date, look for a newer version before reporting
	problems.  (see http://www.XFree86.Org/FAQ)
Operating System: FreeBSD 3.0-CURRENT i386 [ELF] 
Configured drivers:
  S3: accelerated server for S3 graphics adaptors (Patchlevel 0)
      newmmio, mmio_928, s3_generic
Using syscons driver with X support (version 2.0)
(using VT number 12)

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc102"
(**) XKB: layout: "lt"
(**) XKB: options: "grp:shift_toggle"
(**) Mouse: type: SysMouse, device: /dev/mouse, buttons: 3
(**) S3: Graphics device ID: "S3Trio64V2"
(**) S3: Monitor ID: "500PST"
(**) FontPath set to "inet/127.0.0.1:7100"
(--) S3: PCI: Trio64V2 rev 16, Linear FB @ 0xe4000000
(--) S3: chipset:   Trio64V2/DX rev. 16
(--) S3: chipset driver: newmmio
(--) S3: card type: PCI
(--) S3: videoram:  4096k
(--) S3: Ramdac type: s3_trio64v2
(--) S3: Ramdac speed: 170 MHz
(--) S3: Using Trio64V2 programmable clock (MCLK 50.114 MHz)
(--) S3: Maximum allowed dot-clock: 170.000 MHz
(**) S3: Mode "1024x768": mode clock = 155.000
(**) S3: Using 16 bpp.  Color weight: 565
(--) S3: Virtual resolution set to 1024x768
(--) S3: Local bus LAW is 0xE4000000
(--) S3: Using a banksize of 4096k, line width of 1024
(--) S3: Using a single 64x64 area at (960,769) for expanding pixmaps
(--) S3: Using 16 planes of 1024x1215 at (0,833) aligned 8 as font cache

Fatal server error:
Caught signal 10.  Server aborting



Mouse: plain serial Genius 3 button, works as `auto', `mouseman' and `microsft'
I don't have sio3 enabled in kernel.

FreeBSD 3.2-STABLE
 * $Id: atkbd_isa.c,v 1.2.2.1 1999/05/09 11:02:04 yokota Exp $
 * $Id: psm.c,v 1.60.2.1 1999/06/03 12:41:13 yokota Exp $
>Description:

	
	I have been runnig the same version of X and FreeBSD 3.2 and everything
worked on console and X. Now after reboot ( I don't change nothing ???)
mouse still works under console but when I start X and try to move
mouse I get SIGBUS. I can run X if I kill moused and use /dev/cuaa0 as mouseman mouse port.

>How-To-Repeat:

	Run XF86_S3 ?

>Fix:
	
	


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909091023.MAA00528>