Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2000 18:58:40 -0700 (PDT)
From:      sch@aristotle.net
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/18315: System hang when doing back-to-back captures from bt848/878 to file 
Message-ID:  <200005010158.SAA77735@freefall.freebsd.org>

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

>Number:         18315
>Category:       kern
>Synopsis:       System hang when doing back-to-back captures from bt848/878 to file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 30 19:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Harris
>Release:        4.0-RELEASE, 3.3, 3.4
>Organization:
>Environment:
FreeBSD dell.home.net 4.0-RELEASE FreeBSD 4.0-RELEASE #1: Mon Apr 24 20:13:54 CDT 2000     root@dell.home.net:/usr/src/sys/compile/DELL  i386

>Description:
Short program causes system to lock-up completely ( no response to any 
keys, can't telnet to it, harddrive light doesn't go off even though 
there's no audible activity, num-lock key doesn't toggle its light).

The program just repeatedly captures an image and writes it to disk,
all in a SIGALRM handler.  If the spacing between the SIGALARM's is made
to be such that the disk writes run together (hard drive light on
continuously), the system locks solid after a few seconds.

This happened with release 3.3 also, I've never tried 3.4.
I have tried it on both a bt848 and a bt878 and have gotten lockups
on both (release 3.3 with bt848 and release 4.0 with bt878).

Note that just repeatedly capturing and reading the buffer 
(and not writing to file), or just repeatedly writing the capture
buffer to file (after only capturing once, initially), does not lead
to a hang.  You have to capture and write repeatedly (close together)
to get the hang.
>How-To-Repeat:
Assuming you have a bt848/bt878 installed:
Contact me at sch@aristotle.net and I'll send you "lockup.c",
(or tell me where I should have posted it!).
cc -o lockup lockup.c
(save any work and "sync")
./lockup &
wait for the hang
>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?200005010158.SAA77735>