From owner-freebsd-questions Fri Jul 20 20: 8:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from trevarno.llnl.gov (otsb-port-4.llnl.gov [128.15.179.204]) by hub.freebsd.org (Postfix) with ESMTP id AA2A337B406 for ; Fri, 20 Jul 2001 20:08:38 -0700 (PDT) (envelope-from alley1@llnl.gov) Received: from localhost (wea@localhost) by trevarno.llnl.gov (8.11.4/8.11.4) with ESMTP id f6L38aR00518; Fri, 20 Jul 2001 20:08:36 -0700 (PDT) Date: Fri, 20 Jul 2001 20:08:35 -0700 (PDT) From: Ed Alley To: freebsd-questions@freebsd.org Cc: wea@llnl.gov Subject: Why panic when mounting bad CD? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am running FreeBSD 4.3 with an HP 9500 ide CD-RW. The CD-RW works fine and I have burned many CD's with it. However, I mistakenly attempted to mount a CD that I forgot to fixate. I got a kernel panic. Fortunatly fsck was able to repair the damage after a reboot. My question is why does the kernel panic under these conditions? Does it get lost trying to find the disklabel or does the kernel think that the numbers it picked up are the disklabel and merrily goes off into some other world looking for the superblock? Wouldn't it be a good idea to have a magic number in with the disklabel that the kernel could test against before it believes what it finds? I am just looking for understanding here, no flames intended. :) Ed Alley wea@llnl.gov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message