Panic: Lock GEOM

From: Sarunas V. <vsarunas_at_eircom.net>
Date: Sun, 11 Apr 2004 16:15:30 +0100
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 _at_
/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: <LITE-ON LTR-40125S/ZS0N> 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
<message repeated 55 times>
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
Received on Sun Apr 11 2004 - 06:16:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:50 UTC