From owner-freebsd-current@FreeBSD.ORG Mon Aug 23 17:14:26 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 9A8B416A4CE; Mon, 23 Aug 2004 17:14:26 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 408DC43D39; Mon, 23 Aug 2004 17:14:26 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id E6FFBACAFE; Mon, 23 Aug 2004 19:14:24 +0200 (CEST) Date: Mon, 23 Aug 2004 19:14:24 +0200 From: Pawel Jakub Dawidek To: Jun Kuriyama Message-ID: <20040823171424.GR30151@darkness.comp.waw.pl> References: <7misba8nhm.wl@black.imgsrc.co.jp> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FqExhoTtZ2UFWcPs" Content-Disposition: inline In-Reply-To: <7misba8nhm.wl@black.imgsrc.co.jp> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: Current cc: phk@FreeBSD.org Subject: Re: panic: g_read_data(): invalid length 0 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: Mon, 23 Aug 2004 17:14:26 -0000 --FqExhoTtZ2UFWcPs Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 23, 2004 at 01:52:37PM +0900, Jun Kuriyama wrote: +>=20 +> This is 6-current as of 2004.08.22.23.10.00. +>=20 +> It's fine with previous kernel configuration, but when I added "device +> atapicam" and "device cd", kernel is panic. I'm using gstripe(8) with +> usual ATA HDDs. If I added "device atapicam" only, this panic does +> not happened. +>=20 +> ----- +> ... +> GEOM_STRIPE: Device wrkdir created (id=3D948210174). +> GEOM_STRIPE: Disk ad5s1d attached to wrkdir. +> GEOM_STRIPE: Disk ad6s1d attached to wrkdir. +> GEOM_STRIPE: Device wrkdir activated. +> WARNING: Expected rawoffset 0, found 63 +> SMP: AP CPU #1 Launched! +> cd0 at ata1 bus 0 target 0 lun 0 +> cd0: Removable CD-ROM SCSI-0 device +> cd0: 16.000MB/s transfers +> cd0: Attempt to query device size failed: NOT READY, Medium not present +> cd1 at ata1 bus 0 target 1 lun 0 +> cd1: Removable CD-ROM SCSI-0 device +> cd1: 33.000MB/s transfers +> cd1: Attempt to query device size failed: NOT READY, Medium not present +> panic: g_read_data(): invalid length 0 +> cpuid =3D 1 +> KDB: enter: panic +> [thread 100013] +> Stopped at kdb_enter+0x2b: nop +> db> trace +> kdb_enter(c0689ada) at kdb_enter+0x2b +> panic(c0684e9b,0,0,0,c3461900) at panic+0x127 +> g_read_data(c3923980,0,0,0,0) at g_read_data+0x30 +> g_stripe_read_metadata(c3923980,e4d3dc80,c3923980,c3461900,c3461800) at = g_stripe_read_metadata+0x81 +> g_stripe_taste(c07e0c00,c3461900,0,c390d280,64) at g_stripe_taste+0xd3 +> g_new_provider_event(c3461900,0,66666667,e4d3dd04,c04cec59) at g_new_pro= vider_event+0x6e +> one_event(e4d3dd1c,c04d0019,3c,28,c34bc8c0) at one_event+0x14f +> g_run_events(3c,28,c34bc8c0,c04cffdc,e4d3dd34) at g_run_events+0x9 +> g_event_procbody(0,e4d3dd48,0,c04cffdc,0) at g_event_procbody+0x3d +> fork_exit(c04cffdc,0,e4d3dd48) at fork_exit+0xa4 +> fork_trampoline() at fork_trampoline+0x8 +> --- trap 0x1, eip =3D 0, esp =3D 0xe4d3dd7c, ebp =3D 0 --- Ops, this provider has 0 sectorsize. I wonder if we should just skip tasting for such providers. phk? --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --FqExhoTtZ2UFWcPs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBKiXwForvXbEpPzQRAnN8AKCT7gHrMFVhgi1e/idpENml1QO7eQCdHwH7 B+o8A3DupIJyTn/6kMrtK6o= =X5vX -----END PGP SIGNATURE----- --FqExhoTtZ2UFWcPs--