From owner-freebsd-current@FreeBSD.ORG Thu Nov 27 01:49:21 2003 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 CB05116A4CE for ; Thu, 27 Nov 2003 01:49:21 -0800 (PST) Received: from premium.exocore.com (premium.exocore.com [203.197.173.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id DABDC43FBF for ; Thu, 27 Nov 2003 01:49:18 -0800 (PST) (envelope-from shanu@premium.exocore.com) Received: from premium.exocore.com (localhost.localdomain [127.0.0.1]) by premium.exocore.com (8.12.8/8.12.8) with ESMTP id hAR9nGqf029829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 27 Nov 2003 15:19:16 +0530 Received: (from shanu@localhost) by premium.exocore.com (8.12.8/8.12.8/Submit) id hAR9nGQf029827 for freebsd-current@freebsd.org; Thu, 27 Nov 2003 15:19:16 +0530 Date: Thu, 27 Nov 2003 15:19:16 +0530 From: Shanker Balan To: FreeBSD Current Message-ID: <20031127094916.GA29800@premium.exocore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.4.1i User-Agent: Mutt/1.5.5.1i Subject: FreeBSD 5.2-BETA: GEOM/CDROM Related Panic 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: Thu, 27 Nov 2003 09:49:21 -0000 Hello: I have been getting reproducable panics with most CDROM related actions including mounting CDROMs and playing audio CDs. IIRC, this has been happening since the statfs changes a week earlier. Can provide more information if required. Kernel has been compiled with "device atapicam". I am rebuilding the kernel w/o "atapicam" ATM. Thank you for your time. -- Shanu http://shankerbalan.com/ [godzilla] ~> uname -a FreeBSD godzilla.exocore.com 5.2-BETA FreeBSD 5.2-BETA #0: Tue Nov 25 15:34:37 IST 2003 root@godzilla.exocore.com:/usr/obj/usr/src/sys/MYKERNEL i386 [godzilla] ~> dmesg | egrep -i 'geom|cd0' GEOM: create disk ad0 dp=3D0xc2da0360 GEOM: create disk ad2 dp=3D0xc2d9fe60 acd0: CDROM at ata1-slave PIO4 GEOM: create disk cd0 dp=3D0xc2d8ce00 cd0 at ata1 bus 0 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device=20 cd0: 16.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present [godzilla] ~> sudo gdb -k /usr/obj/usr/src/sys/MYKERNEL/kernel.debug /usr/c= rash/vmcore.0 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... panic: from debugger panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x1c fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc05d65d8 stack pointer =3D 0x10:0xce6e1c88 frame pointer =3D 0x10:0xce6e1c9c code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 2 (g_event) panic: from debugger Fatal trap 3: breakpoint instruction fault while in kernel mode instruction pointer =3D 0x8:0xc078570d stack pointer =3D 0x10:0xce6e1a34 frame pointer =3D 0x10:0xce6e1a40 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D IOPL =3D 0 current process =3D 2 (g_event) panic: from debugger Uptime: 3m28s Dumping 255 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 --- Reading symbols from /boot/kernel/snd_via82c686.ko...done. Loaded symbols for /boot/kernel/snd_via82c686.ko Reading symbols from /boot/kernel/snd_pcm.ko...done. Loaded symbols for /boot/kernel/snd_pcm.ko Reading symbols from /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/modu= les/l inprocfs/linprocfs.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/module= s/lin procfs/linprocfs.ko.debug Reading symbols from /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/modu= les/l inux/linux.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/MYKERNEL/modules/usr/src/sys/module= s/lin ux/linux.ko.debug #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 240 dumping++; (kgdb) where #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 #1 0xc05ba724 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3= 72 #2 0xc05baac8 in panic () at /usr/src/sys/kern/kern_shutdown.c:550 #3 0xc0478a72 in db_panic () at /usr/src/sys/ddb/db_command.c:450 #4 0xc04789ea in db_command (last_cmdp=3D0xc0880de0, cmd_table=3D0x0,=20 aux_cmd_tablep=3D0xc080f0cc, aux_cmd_tablep_end=3D0xc080f0d0) at /usr/src/sys/ddb/db_command.c:346 #5 0xc0478af8 in db_command_loop () at /usr/src/sys/ddb/db_command.c:472 #6 0xc047b879 in db_trap (type=3D12, code=3D0) at /usr/src/sys/ddb/db_trap= .c:73 #7 0xc0785472 in kdb_trap (type=3D12, code=3D0, regs=3D0xce6e1c48) at /usr/src/sys/i386/i386/db_interface.c:171 #8 0xc07958f8 in trap_fatal (frame=3D0xce6e1c48, eva=3D0) at /usr/src/sys/i386/i386/trap.c:816 #9 0xc0795613 in trap_pfault (frame=3D0xce6e1c48, usermode=3D0, eva=3D28) at /usr/src/sys/i386/i386/trap.c:735 #10 0xc0795198 in trap (frame=3D {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D 0, tf_esi =3D -= 1025102336, tf_ ebp =3D -831644516, tf_isp =3D -831644556, tf_ebx =3D -1025082800, tf_edx = =3D 0, tf_ecx=20 =3D -1064771836, tf_eax =3D 1, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -= 1067620904, tf_ cs =3D 8, tf_eflags =3D 66051, tf_esp =3D -1068020078, tf_ss =3D -102377561= 6}) at /usr/src/sys/i386/i386/trap.c:420 #11 0xc0786d48 in calltrap () at {standard input}:94 #12 0xc05795a8 in g_destroy_provider (pp=3D0xc2e67a50) ---Type to continue, or q to quit--- at /usr/src/sys/geom/geom_subr.c:426 #13 0xc057670d in g_orphan_register (pp=3D0xc2e62e00) at /usr/src/sys/geom/geom_event.c:143 #14 0xc057681c in one_event () at /usr/src/sys/geom/geom_event.c:169 #15 0xc0576a38 in g_run_events () at /usr/src/sys/geom/geom_event.c:202 #16 0xc05779c5 in g_event_procbody () at /usr/src/sys/geom/geom_kern.c:134 #17 0xc05a442f in fork_exit (callout=3D0xc05779a0 , arg= =3D0x0,=20 frame=3D0x0) at /usr/src/sys/kern/kern_fork.c:793 --=20 Toilet Toup'=08ee, n.: Any shag carpet that causes the lid to become top-heavy, thus creating endless annoyance to male users. -- Rich Hall, "Sniglets"