From owner-freebsd-current@FreeBSD.ORG Mon Aug 15 10:00:29 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org 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 9F8C416A41F for ; Mon, 15 Aug 2005 10:00:29 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CE8843D48 for ; Mon, 15 Aug 2005 10:00:29 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix4-1.free.fr (Postfix) with ESMTP id BA53A319DE4 for ; Mon, 15 Aug 2005 12:00:27 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 78A5E405A; Mon, 15 Aug 2005 12:01:00 +0200 (CEST) Date: Mon, 15 Aug 2005 12:01:00 +0200 From: Jeremie Le Hen To: freebsd-current@FreeBSD.org Message-ID: <20050815100100.GJ1597@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Cc: Subject: mounting device acd0t01 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 15 Aug 2005 10:00:29 -0000 Hi, I was trying to understand what was residing on an unnamed CD-ROM, and it leads me to run the following command : %%% mount_cd9660 /dev/acd0t01 /cdrom %%% I obtained such a device once I have used cdcontrol(8) to try playing the CD-ROM. BTW, isn't it possible to make these devices appear immediately when the CD-ROM is inserted and remove them when the CD-ROM is removed ? I don't know how this works internaly, but I'm pretty sure the CD-ROM drive triggers an interruption for this kind of actions. Apart from this, this generated the following panic. Is is resolvable ? %%% panic: wrong offset 32768 for sectorsize 2352 [...] panic() g_io_request() at g_io_request+0xbb g_vfs_strategy() at g_vfs_strategy+0x71 breadn() at breadn+0x141 bread() at bread+0x4c cd9660_mount() at cd9660_mount+0x568 vfs_domount() at vfs_domount+0x667 vfs_donmount() at vfs_donmount+0x107 kernel_mount() at kernel_mount+0x7e cd9660_cmount() at cd9660_cmount+0x1cd mount() at mount+1e6 syscall() Xint0x80_syscall() --- syscall (1, FreeBSD ELF32, mount), eip = 0x36759097, esp = 0xbfbf123c, ebp = 0xbfbf1708 --- %%% I didn't do a dump, it is easily reproducible. My sources are dating from 2004.07.24, but I don't think this is very relevant for this bug. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >