Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2004 19:14:24 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Jun Kuriyama <kuriyama@imgsrc.co.jp>
Cc:        phk@FreeBSD.org
Subject:   Re: panic: g_read_data(): invalid length 0
Message-ID:  <20040823171424.GR30151@darkness.comp.waw.pl>
In-Reply-To: <7misba8nhm.wl@black.imgsrc.co.jp>
References:  <7misba8nhm.wl@black.imgsrc.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

--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: <TOSHIBA DVD-ROM SD-R1002 1030> 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: <MATSHITA DVD-RAM LF-D310 A116> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040823171424.GR30151>