NetBSD Problem Report #36124
From louis@zabrico.com Wed Apr 4 05:39:47 2007
Return-Path: <louis@zabrico.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 32E6D63B8A5
for <gnats-bugs@gnats.NetBSD.org>; Wed, 4 Apr 2007 05:39:47 +0000 (UTC)
Message-Id: <200704040428.l344SGQS001479@maat.zabrico.com>
Date: Wed, 4 Apr 2007 00:28:16 -0400 (EDT)
From: louis@zabrico.com
Reply-To: louis@zabrico.com
To: gnats-bugs@NetBSD.org
Subject: Panic with 3.1_STABLE and LFS
X-Send-Pr-Version: 3.95
>Number: 36124
>Category: kern
>Synopsis: panic: lfs_finalize_seguse: negative bytes
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 04 05:40:00 +0000 2007
>Originator: Charlie Root
>Release: NetBSD 3.1_STABLE (GENERIC) built on Sun Jan 14 2007 (i386)
>Organization:
Zabrico
>Environment:
System: NetBSD maat.zabrico.com 3.1_STABLE NetBSD 3.1_STABLE (GENERIC) #2: Sun Jan 14 16:48:08 EST 2007 louis@maat.zabrico.com:/usr/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Here's the scenario: I have 2 disks:
wd0 at atabus0 drive 0satalink0: port 1: device present, speed: 1.5Gb/s
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(satalink0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd1 at atabus1 drive 0: <ST3120026AS>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(satalink0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
These are mirrored as a RAID-1 array using RaidFrame (raid1):.
raid1: RAID Level 1
raid1: Components: /dev/wd0a /dev/wd1a
raid1: Total Sectors: 234441472 (114473 MB)
raid1 is partitioned into 2 parts. LFS filesystems are installed there.:
a: 21463040 0 4.4LFS 0 0 0 # (Cyl. 0 - 20959)
b: 212978432 21463040 4.4LFS 0 0 0 # (Cyl. 20960 - 228946*)
These filesystems are BOTH NFS-Exported.
System appears to panic periodically like this:
lfs_finalize_seguse: segment 9882 short by 16384
panic: lfs_finalize_seguse: negative bytes
cpu_Debugger(cb513d90,e,cb513d7c,ce099f50,c1921e00) at netbsd:cpu_Debugger+0x4
panic(c07bb040,269a,4000,c1a52280,c1a52684) at netbsd:panic+0x11d
lfs_finalize_seguse(c1a52000,ce50aa88,0,246,0) at netbsd:lfs_finalize_seguse+0x136
lfs_writeinode(c1a52000,cc5a4024,cf94c7b0,46,c1d2afd4) at netbsd:lfs_writeinode+0x308
lfs_writevnodes(c1a52000,c1d2b000,cc5a4024,0,cb513ea4) at netbsd:lfs_writevnodes+0x14f
lfs_segwrite(c1d2b000,5,c080ad84,cb513f14,206) at netbsd:lfs_segwrite+0x43c
lfs_sync(c1d2b000,3,cabc0000,cabcd4cc,ffffffff) at netbsd:lfs_sync+0x63
sync_fsync(cb513f14,0,cb513f3c,c03ce684,c06282e0) at netbsd:sync_fsync+0x8e
VOP_FSYNC(cc20db34,cabc0000,8,0,0) at netbsd:VOP_FSYNC+0x4c
sched_sync(cabcb6b4,96b000,974000,0,c0100321) at netbsd:sched_sync+0x1b7
>How-To-Repeat:
Unsure as to what triggers this panic.
>Fix:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.