Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2002 16:02:53 +0100
From:      n0g0013 <ttz@blahdeblah.demon.co.uk>
To:        current <freebsd-current@freebsd.org>
Subject:   Re: kernel panic from vinum during 'restore'
Message-ID:  <20021006150253.GA81452@pooh.blahdeblah.demon.co.uk>
In-Reply-To: <20021005211610.GA56638@pooh.blahdeblah.demon.co.uk>
References:  <20021005211610.GA56638@pooh.blahdeblah.demon.co.uk>

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

--FkmkrVfFsRoUs1wW
Content-Type: multipart/mixed; boundary="PEIAKu/WMn1b1Hv9"
Content-Disposition: inline


--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 05.10-22:16, n0g0013 wrote:
> don't currently have the kernel trace for this (i'm rebuilding to get
> one) and the dump's not making it to disk.  perhaps someone else could
> try and verify in the mean time.

don't know if this is related to Mikhail Teterin's post a few hours ago
but i have the ddb trace.  it may not be exactly accurate because i don't
have a serial ddb and therefore have to copy the output from the screen.

+++ ddb output from kernel panic +++
panic: kmem_malloc(4096): kmem_map too small: 23134208 total allocated
Debugger("panic")
Stopped at	Debugger+0q45:	xchgl	%ebx,in_Debugger.0
db> trace
Debugger(c02cd335) at Debugger+0x45
panic(c02e1402,1000,1610000,10012,1000) at panic+0x9f
kmem_malloc(c0432078,1000,4,c49b47cc,c02759a8) at kmem_malloc+0xcc
page_alloc(c05ac500,1000,c49b47bf,4,0) at page_alloc+0x1a
slab_zalloc(c05ac500,4,c0daba00,c05ac5e8,c05ac500) at slab_zalloc+0x108
uma_zalloc_internal(c05ac500,0,4,c0daba00) at uma_zalloc_internal+0x13c
uma_zalloc_arg(c05ac500,0,4) at uma_zalloc_arg+0x2f4
getnewvnode(c02e070e,c0f4c000,c0dc1100,c49b48b8,90) at getnewvnode+0x3e9
ffs_vget(c0f4c000,486,2,c49b491c,1) at ffs_vget+0x71
ffs_valloc(c1153378,8180,c0f98780,c49b491c) at ffs_valloc+0xed
ufs_makeinode(8180,c1153378,c49b4bf8,c49b4c0c) at ufs_makeinode+0x5b
ufs_create(c49b4a70,c49b4a90,c01df957,c49b4a70,c02f1260) at ufs_create+0x2b
ufs_vnoperate(c49b3a70) at ufs_vnoperate+0x13
VOP_CREATE(c1153378,c49b4bf8,c49b4c0c,c49b4ad4,229) at VOP_CREATE+0x37
vn_open_cred(c49b4be4,c49b4ce4,180,c0f98780,c49b4cd0) at vn_open_cred+0x154
vn_open(c49b4be4,c49b4ce4,180,c1bec3b0,c0de7b04) at vn_open+0x18
kern_open(c05b0680,80ad0c1,0,602,1b6) at kern_open+0x18b
open(c05b0680,c49b4d14,3,a83,292) at open+0x18
syscall(2f,2f,2f,80ad0c1,0) at syscall+0x24a
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (5, FreeBSD ELF32, open), eip =3D 0x08053a43, esp =3D 0xbfbff73=
c, ebp =3D 0xbfbff778 ---
db>
--- ddb output from kernel panic ---

	* that's no fun *

config is identical to before with a kernel rebuild from same sources
( some time last night ).  the error i was orginally seeing (over the
last week or so) seemed to appear in the vinum_devstrategy but since
the various vinum changes it appears to have migrated.

--=20
        t
 t
                 z

--PEIAKu/WMn1b1Hv9
Content-Type: message/rfc822
Content-Disposition: inline

Date: Sat, 5 Oct 2002 22:16:10 +0100
From: n0g0013 <ttz@bLaHDeBlAh.dEMoN.cO.uK>
To: current <freebsd-current@freebsd.org>
Subject: kernel panic from vinum during 'restore'
Message-ID: <20021005211610.GA56638@pooh.blahdeblah.demon.co.uk>
Mail-Followup-To: n0g0013 <ttz@bLaHDeBlAh.dEMoN.cO.uK>,
	current <freebsd-current@freebsd.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-ripemd160;
	protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj"
Content-Disposition: inline


--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

got panic from vinum on a small striped drive with small dump/restores
-- dump of usr fs to file and restore to vinum volume.  dump file is
about 120m.

kernel built from about -0230 sources but i've been seeing them since
first switched current on about 2 weeks ago.

don't currently have the kernel trace for this (i'm rebuilding to get
one) and the dump's not making it to disk.  perhaps someone else could
try and verify in the mean time.

+++ kernel panic message +++
panic: kmem_malloc(4096): kmem_map to small: 23179264 total allocated

syncing disks... panic: allocbuf: buffer not busy
Uptime: 18m12s
Dumping 48 MB
ata1: resetting devices ..
panic: free locked buf
Uptime: 18m12s
Automatice Reboot in 15 seconds - press a key on the console to abort
--- kernel panic message ---

+++ vinum config +++
# Vinum configuration of eyore.blahdeblah.demon.co.uk, saved at Sat Oct 5 2=
2:02:24 2002
drive snub device /dev/ad0s1h
drive junk device /dev/ad2s1h
volume var
volume usr
volume home
volume software
plex name var.plex0 org striped 534s vol var
plex name usr.plex0 org striped 534s vol usr
plex name home.plex0 org striped 534s vol home
plex name software.plex0 org striped 534s vol software
sd name snub.s0 drive snub plex var.plex0 len 163404s driveoffset 265s plex=
offset 0s
sd name junk.s0 drive junk plex var.plex0 len 163404s driveoffset 265s plex=
offset 534s
sd name snub.s1 drive snub plex usr.plex0 len 614100s driveoffset 164105s p=
lexoffset 0s
sd name junk.s1 drive junk plex usr.plex0 len 614100s driveoffset 164105s p=
lexoffset 534s
sd name snub.s2 drive snub plex home.plex0 len 409578s driveoffset 778505s =
plexoffset 0s
sd name junk.s2 drive junk plex home.plex0 len 409578s driveoffset 778505s =
plexoffset 534s
sd name snub.s3 drive snub plex software.plex0 len 1638312s driveoffset 118=
8083s plexoffset 0s
sd name junk.s3 drive junk plex software.plex0 len 1638312s driveoffset 118=
8083s plexoffset 534s
--- vinum config ---

--=20
        t
 t
                 z

--9amGYk9869ThD9tj
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9n1aaaiaYyh4o+7oRA1FIAJ0dpbca4Ov+5OgLrRrRX8ngk9pM9ACeN3UF
++2vHTEMkBQrI+2n1zkQStI=
=pubk
-----END PGP SIGNATURE-----

--9amGYk9869ThD9tj--

--PEIAKu/WMn1b1Hv9--

--FkmkrVfFsRoUs1wW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9oFCdaiaYyh4o+7oRA647AKCl8Sw3/i8S43k295AYLBX/e7tmGACcC/Tf
tb+6zxlmDsPUf6LpX3ORtXI=
=lkMr
-----END PGP SIGNATURE-----

--FkmkrVfFsRoUs1wW--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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