From owner-freebsd-current@FreeBSD.ORG Sun Apr 11 08:16:48 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B987416A4CE for ; Sun, 11 Apr 2004 08:16:48 -0700 (PDT) Received: from mail04.svc.cra.dublin.eircom.net (mail04.svc.cra.dublin.eircom.net [159.134.118.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 3A25E43D53 for ; Sun, 11 Apr 2004 08:16:48 -0700 (PDT) (envelope-from "") Received: (qmail 54137 messnum 2208270 invoked from network[194.125.183.153/194-125-183-153.as1.dbc.drogheda.eircom.net]); 11 Apr 2004 15:15:35 -0000 Received: from 194-125-183-153.as1.dbc.drogheda.eircom.net (HELO laserbeam.sv.org) (194.125.183.153) by mail04.svc.cra.dublin.eircom.net (qp 54137) with SMTP; 11 Apr 2004 15:15:35 -0000 Date: Sun, 11 Apr 2004 16:15:30 +0100 From: "Sarunas V." To: current@freebsd.org Message-ID: <20040411151530.GA1221@laserbeam.sv.org> Mail-Followup-To: "Sarunas V." , current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i Subject: Panic: Lock GEOM X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2004 15:16:48 -0000 Hello, When I try to mount a cdrom before the actual disc is scanned (ie. I do #mount /cdrom when the tray of drive is closing). The the disc is scanned as normal, but the actual command stays idle for about 20 seconds, only then it is mounted. I first noticed this weird behavior around 3 weeks ago. I don't get any warnings/errors if the cd was scanned fully. Today I decided to investigate, so I dropped down to console while mounting pre-scanned cd and saw around 50 lines of this: acd0: WARNING - REQUEST_SENSE read data overrun 18>0 But then when returning to X, a panic occurred with kernel from 7 of April: Panic: Lock GEOM topology not exclusively locked @ /usr/src/sys/geom/geom_subr.c : 390 at line 346 in file /usr/src/sys/kern/kern_sx.c. Debugger("panic") Stopped at Debugger + 0x45: xchgl %ebx, in_Debugger.0 Is the panic related in any way to the warning? Unfortunately I did not have dumpdev=/dev/my_swap in my /etc/rc.conf, so the dump was not saved, to make the matters worse I did not copy down the results of tr. I tried to reproduce the panic, but I wasn't successful. The box wasn't overloaded or anything when the panic occurred, just running few xterms, firefox and fluxbox as my window manager. After playing with this more, the same warning/error can achieved by leaving the tray open while booting, it will be automatically closed around the usb stuff. The disc is about to be scanned/is scanned when it gets to the acd0* check. Here is what I get booting in verbose mode with today's generic kernel( cvsuped around 5 hours ago): acd0: CDRW drive at ata1 as master acd0: read 8250KB/s (8250KB/s) write 6875KB/s (6875KB/s), 2048KB buffer, PIO4 acd0: Reads: CDR, CDRW, CDDA stream, packet acd0: Writes: CDR, CDRW, test write, burnproof acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: CD-ROM unknown acd0: WARNING - REQUEST_SENSE read data overrun 18>0 acd0: WARNING - REQUEST_SENSE read data overrun 18>0 I am the only one who gets this? My motherboard is MSI KT6 Delta, with VIA KT 600 chip set: VIA 8237 UDMA133 controller. The CPU is AMD Athlon 850 mhz, 384 mb ram. The CDRW drive is LITE-ON LTR-40125S. The BIOS version is 3.31a with last update of 7/21/2003. Thanks in advance, Sarunas V. -- "Every moment is a golden one for him who has the vision to recognize it as such." --Henry Miller