Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 1995 07:40:02 -0700
From:      koeck@pluto.mpi-hd.mpg.de
To:        freebsd-bugs
Subject:   kern/527: dump causes assertion in ncr.c
Message-ID:  <199506171440.HAA25221@freefall.cdrom.com>
In-Reply-To: Your message of Sat, 17 Jun 1995 16:32:37 %2B0200 <199506171432.QAA03118@fbsd>

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

>Number:         527
>Category:       kern
>Synopsis:       dump causes assertion in ncr.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 17 07:40:02 1995
>Originator:     Frank Koeck
>Organization:
Max-Planck-Institut fuer Kernphysik, Heidelberg, Germany
>Release:        FreeBSD 2.0-BUILT-19950603 i386
>Environment:

Pentium 90 System with 

	32 MB Ram, 
	ELSA Winner 1000,
	NCR 53c810 SCSI Adapter,
	Elite Ethernet Card with Digital DC21040 Chip
	HP C1533A DAT Drive,
	IBM DPES-31080 Disk

	FreeBSD 2.0.5-R


>Description:

The dump command will cause kernel assertion messages of the ncr scsi 
driver to be printed out. Appended is the printout of two examples showing 
the kernel message produced by ncr.c. It is possible to restore a previously
written dump without a problem.
 
1. Example: dump to /dev/rst0 (DAT) :
=====================================

bash# dump 0fds /dev/nrst0 10000 10000 /
  DUMP: Date of this level 0 dump: Sat Jun 17 15:22:14 1995
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rsd0a (/) to /dev/nrst0
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 13396 tape blocks on 0.01 tape(s).
  DUMP: dumping (Pass III) [directories]
Jun 17 15:22:22 fbsd /kernel: assertion "cp == np->header.cp" failed: file "../.
./pci/ncr.c", line 5395
Jun 17 15:22:22 fbsd /kernel: assertion "cp == np->header.cp" failed: file "../.
./pci/ncr.c", line 5395
Jun 17 15:22:22 fbsd /kernel: assertion "cp" failed: file "../../pci/ncr.c", lin
e 5396
Jun 17 15:22:22 fbsd /kernel: assertion "cp" failed: file "../../pci/ncr.c", lin
e 5396
  DUMP: dumping (Pass IV) [regular files]
  DUMP: DUMP: 13407 tape blocks on 1 volumes(s)
  DUMP: Closing /dev/nrst0
  DUMP: DUMP IS DONE


2. Example: dump to /dev/null:
==============================
bash# dump 0fds /dev/null 10000 10000 /
  DUMP: Date of this level 0 dump: Sat Jun 17 15:24:16 1995
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rsd0a (/) to /dev/null
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 13396 tape blocks on 0.01 tape(s).
  DUMP: dumping (Pass III) [directories]
Jun 17 15:24:24 fbsd /kernel: assertion "cp == np->header.cp" failed: file "../.
./pci/ncr.c", line 5395
Jun 17 15:24:24 fbsd /kernel: assertion "cp == np->header.cp" failed: file "../.
./pci/ncr.c", line 5395
Jun 17 15:24:24 fbsd /kernel: assertion "cp" failed: file "../../pci/ncr.c", lin
e 5396
Jun 17 15:24:24 fbsd /kernel: assertion "cp" failed: file "../../pci/ncr.c", lin
e 5396
  DUMP: dumping (Pass IV) [regular files]
  DUMP: DUMP: 13407 tape blocks on 1 volumes(s)
  DUMP: Closing /dev/null
  DUMP: DUMP IS DONE

>How-To-Repeat:

see above

>Fix:
	
	

>Audit-Trail:
>Unformatted:





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