From hsu@clinet.fi  Sun Dec  3 12:28:30 1995
Received: from hauki.clinet.fi (root@hauki.clinet.fi [194.100.0.1])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA21781
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 3 Dec 1995 12:28:21 -0800
Received: from katiska.clinet.fi (root@katiska.clinet.fi [194.100.0.4]) by hauki.clinet.fi (8.6.12/8.6.4) with ESMTP id WAA26950 for <FreeBSD-gnats-submit@freebsd.org>; Sun, 3 Dec 1995 22:28:14 +0200
Received: (hsu@localhost) by katiska.clinet.fi (8.6.12/8.6.4) id WAA11615; Sun, 3 Dec 1995 22:28:20 +0200
Message-Id: <199512032028.WAA11615@katiska.clinet.fi>
Date: Sun, 3 Dec 1995 22:28:20 +0200
From: Heikki Suonsivu <hsu@clinet.fi>
Reply-To: hsu@clinet.fi
To: FreeBSD-gnats-submit@freebsd.org
Subject: panic on kernel page fault, NULL curproc
X-Send-Pr-Version: 3.2

>Number:         863
>Category:       kern
>Synopsis:       panic on kernel page fault, NULL curproc
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    davidg
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec  3 12:30:04 PST 1995
>Closed-Date:    Wed Oct 23 01:44:24 PDT 1996
>Last-Modified:  Wed Oct 23 01:44:50 PDT 1996
>Originator:     Heikki Suonsivu
>Release:        FreeBSD 2.2-CURRENT i386
>Organization:
Clinet, Espoo, Finland
>Environment:

Dec  3 19:02:20 katiska /kernel: FreeBSD 2.2-CURRENT #2: Sun Nov 26 06:35:44 EET 1995
Dec  3 19:02:20 katiska /kernel:     hsu@katiska.clinet.fi:/usr/current/src/sys/compile/CLINETSERVER
Dec  3 19:02:20 katiska /kernel: CPU: 90-MHz Pentium 735\90 (Pentium-class CPU)
Dec  3 19:02:20 katiska /kernel:   Origin = "GenuineIntel"  Id = 0x524  Stepping=4
Dec  3 19:02:20 katiska /kernel:   Features=0x1bf<FPU,VME,PSE,MCE,CX8,APIC>
Dec  3 19:02:19 katiska /kernel: real memory  = 67108864 (65536K bytes)
Dec  3 19:02:19 katiska /kernel: avail memory = 62394368 (60932K bytes)
Dec  3 19:02:19 katiska /kernel: Probing for devices on the ISA bus:
Dec  3 19:02:19 katiska /kernel: vt0 at 0x60-0x6f irq 1 on motherboard
Dec  3 19:02:19 katiska /kernel: vt0: tvga 8900cl, 80/132 col, mono, 8 scr, mf2-kbd, [R3.20-b24]
Dec  3 19:02:19 katiska /kernel: ed0 at 0x280-0x29f irq 5 maddr 0xd8000 msize 16384 on isa
Dec  3 19:02:20 katiska /kernel: ed0: address 00:00:c0:cd:b9:a3, type WD8013EPC (16 bit) 
Dec  3 19:02:20 katiska /kernel: lpt0 at 0x378-0x37f irq 7 on isa
Dec  3 19:02:20 katiska /kernel: lpt0: Interrupt-driven port
Dec  3 19:02:20 katiska /kernel: lp0: TCP/IP capable interface
Dec  3 19:02:20 katiska /kernel: lpt1 not found at 0xffffffff
Dec  3 19:02:20 katiska /kernel: lpt2 not found at 0xffffffff
Dec  3 19:02:20 katiska /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
Dec  3 19:02:20 katiska /kernel: sio0: type 16550A
Dec  3 19:02:20 katiska /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
Dec  3 19:02:20 katiska /kernel: sio1: type 16550A
Dec  3 19:02:20 katiska /kernel: sio2 not found at 0x3e8
Dec  3 19:02:20 katiska /kernel: sio3 not found at 0x2e8
Dec  3 19:02:20 katiska /kernel: pca0 on isa
Dec  3 19:02:20 katiska /kernel: pca0: PC speaker audio driver
Dec  3 19:02:20 katiska /kernel: bt0 not found at 0x330
Dec  3 19:02:20 katiska /kernel: aha0 not found at 0x330
Dec  3 19:02:20 katiska /kernel: wdc0 not found at 0x1f0
Dec  3 19:02:20 katiska /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Dec  3 19:02:20 katiska /kernel: fdc0: NEC 72065B
Dec  3 19:02:20 katiska /kernel: fd0: 1.44MB 3.5in
Dec  3 19:02:21 katiska /kernel: mcd0: timeout getting status
Dec  3 19:02:21 katiska /kernel: mcd0 not found at 0x300
Dec  3 19:02:21 katiska /kernel: npx0 on motherboard
Dec  3 19:02:21 katiska /kernel: npx0: INT 16 interface
Dec  3 19:02:21 katiska /kernel: matcdc0 not found at 0xffffffff
Dec  3 19:02:21 katiska /kernel: matcdc1 not found at 0xffffffff
Dec  3 19:02:21 katiska /kernel: matcdc2 not found at 0xffffffff
Dec  3 19:02:21 katiska /kernel: matcdc3 not found at 0xffffffff
Dec  3 19:02:21 katiska /kernel: Probing for devices on the PCI bus:
Dec  3 19:02:21 katiska /kernel: chip0 <Intel 82434NX (Neptune) PCI cache memory controller> rev 17 on pci0:0
Dec  3 19:02:21 katiska /kernel: chip1 <Intel 82378IB PCI-ISA bridge> rev 67 on pci0:2
Dec  3 19:02:21 katiska /kernel: ncr0 <ncr 53c810 scsi> rev 2 int a irq 9 on pci0:12
Dec  3 19:02:21 katiska /kernel: ncr0 waiting for scsi devices to settle
Dec  3 19:02:21 katiska /kernel: (ncr0:0:0): "SEAGATE ST15230N 0298" type 0 fixed SCSI 2
Dec  3 19:02:21 katiska /kernel: sd0(ncr0:0:0): Direct-Access 
Dec  3 19:02:21 katiska /kernel: sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
Dec  3 19:02:21 katiska /kernel: 4095MB (8386733 512 byte sectors)
Dec  3 19:02:21 katiska /kernel: sd0(ncr0:0:0): with 3992 cyls, 19 heads, and an average 110 sectors/track
Dec  3 19:02:21 katiska /kernel: (ncr0:3:0): "SEAGATE ST31200N 9348" type 0 fixed SCSI 2
Dec  3 19:02:22 katiska /kernel: sd3(ncr0:3:0): Direct-Access 
Dec  3 19:02:22 katiska /kernel: sd3(ncr0:3:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
Dec  3 19:02:22 katiska /kernel: 1011MB (2072435 512 byte sectors)
Dec  3 19:02:22 katiska /kernel: sd3(ncr0:3:0): with 2700 cyls, 9 heads, and an average 85 sectors/track
Dec  3 19:02:22 katiska /kernel: (ncr0:4:0): "HP C1533A 9503" type 1 removable SCSI 2
Dec  3 19:02:22 katiska /kernel: st4(ncr0:4:0): Sequential-Access 
Dec  3 19:02:22 katiska /kernel: st4(ncr0:4:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
Dec  3 19:02:22 katiska /kernel: density code 0x24, variable blocks, write-enabled
Dec  3 19:02:22 katiska /kernel: ncr1 <ncr 53c810 scsi> rev 1 int a irq 9 on pci0:14
Dec  3 19:02:22 katiska /kernel: ncr1 waiting for scsi devices to settle
Dec  3 19:02:22 katiska /kernel: (ncr1:3:0): "SEAGATE ST15230N 0168" type 0 fixed SCSI 2
Dec  3 19:02:22 katiska /kernel: sd7(ncr1:3:0): Direct-Access 
Dec  3 19:02:22 katiska /kernel: sd7(ncr1:3:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
Dec  3 19:02:22 katiska /kernel: 4095MB (8386733 512 byte sectors)
Dec  3 19:02:22 katiska /kernel: sd7(ncr1:3:0): with 3992 cyls, 19 heads, and an average 110 sectors/track
Dec  3 19:02:22 katiska /kernel: changing root device to sd0a
Dec  3 19:02:22 katiska /kernel: new masks: bio c0000240, tty c00300ba, net c00300ba
Dec  3 19:02:22 katiska /kernel: WARNING: / was not properly dismounted.
Dec  3 19:02:20 katiska /kernel: FreeBSD 2.2-CURRENT #2: Sun Nov 26 06:35:44 EET 1995
Dec  3 19:02:20 katiska /kernel:     hsu@katiska.clinet.fi:/usr/current/src/sys/compile/CLINETSERVER
Dec  3 19:02:20 katiska /kernel: CPU: 90-MHz Pentium 735\90 (Pentium-class CPU)
Dec  3 19:02:20 katiska /kernel:   Origin = "GenuineIntel"  Id = 0x524  Stepping=4
Dec  3 19:02:20 katiska /kernel:   Features=0x1bf<FPU,VME,PSE,MCE,CX8,APIC>
Dec  3 19:02:19 katiska /kernel: real memory  = 67108864 (65536K bytes)
Dec  3 19:02:19 katiska /kernel: avail memory = 62394368 (60932K bytes)
Dec  3 19:02:19 katiska /kernel: Probing for devices on the ISA bus:
Dec  3 19:02:19 katiska /kernel: vt0 at 0x60-0x6f irq 1 on motherboard
Dec  3 19:02:19 katiska /kernel: vt0: tvga 8900cl, 80/132 col, mono, 8 scr, mf2-kbd, [R3.20-b24]
Dec  3 19:02:19 katiska /kernel: ed0 at 0x280-0x29f irq 5 maddr 0xd8000 msize 16384 on isa
Dec  3 19:02:20 katiska /kernel: ed0: address 00:00:c0:cd:b9:a3, type WD8013EPC (16 bit) 
Dec  3 19:02:20 katiska /kernel: lpt0 at 0x378-0x37f irq 7 on isa
Dec  3 19:02:20 katiska /kernel: lpt0: Interrupt-driven port
Dec  3 19:02:20 katiska /kernel: lp0: TCP/IP capable interface
Dec  3 19:02:20 katiska /kernel: lpt1 not found at 0xffffffff
Dec  3 19:02:20 katiska /kernel: lpt2 not found at 0xffffffff
Dec  3 19:02:20 katiska /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
Dec  3 19:02:20 katiska /kernel: sio0: type 16550A
Dec  3 19:02:20 katiska /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
Dec  3 19:02:20 katiska /kernel: sio1: type 16550A
Dec  3 19:02:20 katiska /kernel: sio2 not found at 0x3e8
Dec  3 19:02:20 katiska /kernel: sio3 not found at 0x2e8
Dec  3 19:02:20 katiska /kernel: pca0 on isa
Dec  3 19:02:20 katiska /kernel: pca0: PC speaker audio driver
Dec  3 19:02:20 katiska /kernel: bt0 not found at 0x330
Dec  3 19:02:20 katiska /kernel: aha0 not found at 0x330
Dec  3 19:02:20 katiska /kernel: wdc0 not found at 0x1f0
Dec  3 19:02:20 katiska /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Dec  3 19:02:20 katiska /kernel: fdc0: NEC 72065B
Dec  3 19:02:20 katiska /kernel: fd0: 1.44MB 3.5in
Dec  3 19:02:21 katiska /kernel: mcd0: timeout getting status
Dec  3 19:02:21 katiska /kernel: mcd0 not found at 0x300
Dec  3 19:02:21 katiska /kernel: npx0 on motherboard
Dec  3 19:02:21 katiska /kernel: npx0: INT 16 interface
Dec  3 19:02:21 katiska /kernel: matcdc0 not found at 0xffffffff
Dec  3 19:02:21 katiska /kernel: matcdc1 not found at 0xffffffff
Dec  3 19:02:21 katiska /kernel: matcdc2 not found at 0xffffffff
Dec  3 19:02:21 katiska /kernel: matcdc3 not found at 0xffffffff
Dec  3 19:02:21 katiska /kernel: Probing for devices on the PCI bus:
Dec  3 19:02:21 katiska /kernel: chip0 <Intel 82434NX (Neptune) PCI cache memory controller> rev 17 on pci0:0
Dec  3 19:02:21 katiska /kernel: chip1 <Intel 82378IB PCI-ISA bridge> rev 67 on pci0:2
Dec  3 19:02:21 katiska /kernel: ncr0 <ncr 53c810 scsi> rev 2 int a irq 9 on pci0:12
Dec  3 19:02:21 katiska /kernel: ncr0 waiting for scsi devices to settle
Dec  3 19:02:21 katiska /kernel: (ncr0:0:0): "SEAGATE ST15230N 0298" type 0 fixed SCSI 2
Dec  3 19:02:21 katiska /kernel: sd0(ncr0:0:0): Direct-Access 
Dec  3 19:02:21 katiska /kernel: sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
Dec  3 19:02:21 katiska /kernel: 4095MB (8386733 512 byte sectors)
Dec  3 19:02:21 katiska /kernel: sd0(ncr0:0:0): with 3992 cyls, 19 heads, and an average 110 sectors/track
Dec  3 19:02:21 katiska /kernel: (ncr0:3:0): "SEAGATE ST31200N 9348" type 0 fixed SCSI 2
Dec  3 19:02:22 katiska /kernel: sd3(ncr0:3:0): Direct-Access 
Dec  3 19:02:22 katiska /kernel: sd3(ncr0:3:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
Dec  3 19:02:22 katiska /kernel: 1011MB (2072435 512 byte sectors)
Dec  3 19:02:22 katiska /kernel: sd3(ncr0:3:0): with 2700 cyls, 9 heads, and an average 85 sectors/track
Dec  3 19:02:22 katiska /kernel: (ncr0:4:0): "HP C1533A 9503" type 1 removable SCSI 2
Dec  3 19:02:22 katiska /kernel: st4(ncr0:4:0): Sequential-Access 
Dec  3 19:02:22 katiska /kernel: st4(ncr0:4:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
Dec  3 19:02:22 katiska /kernel: density code 0x24, variable blocks, write-enabled
Dec  3 19:02:22 katiska /kernel: ncr1 <ncr 53c810 scsi> rev 1 int a irq 9 on pci0:14
Dec  3 19:02:22 katiska /kernel: ncr1 waiting for scsi devices to settle
Dec  3 19:02:22 katiska /kernel: (ncr1:3:0): "SEAGATE ST15230N 0168" type 0 fixed SCSI 2
Dec  3 19:02:22 katiska /kernel: sd7(ncr1:3:0): Direct-Access 
Dec  3 19:02:22 katiska /kernel: sd7(ncr1:3:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
Dec  3 19:02:22 katiska /kernel: 4095MB (8386733 512 byte sectors)
Dec  3 19:02:22 katiska /kernel: sd7(ncr1:3:0): with 3992 cyls, 19 heads, and an average 110 sectors/track
Dec  3 19:02:22 katiska /kernel: changing root device to sd0a
Dec  3 19:02:22 katiska /kernel: new masks: bio c0000240, tty c00300ba, net c00300ba
Dec  3 19:02:22 katiska /kernel: WARNING: / was not properly dismounted.

Runs news, httpd and users.  innd has been compiled with mmap on.

>Description:

	Self-explanatory; crash dumps are available as
ftp://clinet.fi/pub/FreeBSD/crashdumps/*.37.gz

Current directory is /var/crash/
Reading symbol data from /var/crash/kernel.37...done.
IdlePTD 26d000
panic: m_copydata
current pcb at 21bd44
Reading in symbols for ../../i386/i386/machdep.c...done.
(kgdb) up
Reading in symbols for ../../kern/subr_prf.c...done.
#1  0xf0115367 in panic (fmt=(char *) 0xf01cfcae "page fault") (../../kern/subr_prf.c line 124)
124	(../../kern/subr_prf.c)
(kgdb) up
Reading in symbols for ../../i386/i386/trap.c...done.
#2  0xf01d07ae in trap_fatal (frame=(struct trapframe *) 0xf0201d18) (../../i386/i386/trap.c line 744)
744	(../../i386/i386/trap.c)
(kgdb) up
#3  0xf01d0320 in trap_pfault (frame=(struct trapframe *) 0xf0201d18, usermode=0) (../../i386/i386/trap.c line 666)
666	(../../i386/i386/trap.c)
(kgdb) up
#4  0xf01cffbf in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -1, tf_esi = -218328628, tf_ebp = -266330780, tf_isp = -267315682, tf_ebx = 0, tf_edx = 1073610751, tf_ecx = 0, tf_eax = 1048592, tf_trapno = 12, tf_err = 0, tf_eip = -267315682, tf_cs = 8, tf_eflags = 66118, tf_esp = -218328628, tf_ss = -1073610752}) (../../i386/i386/trap.c line 307)
307	(../../i386/i386/trap.c)
(kgdb) directory /usr/src/sys/i386/conf
Source directories searched: /var/crash:/usr/src/sys/i386/conf
(kgdb) up
#5  0xf01c5b3d in exception:calltrap ()
(kgdb) down
#4  0xf01cffbf in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -1, tf_esi = -218328628, tf_ebp = -266330780, tf_isp = -267315682, tf_ebx = 0, tf_edx = 1073610751, tf_ecx = 0, tf_eax = 1048592, tf_trapno = 12, tf_err = 0, tf_eip = -267315682, tf_cs = 8, tf_eflags = 66118, tf_esp = -218328628, tf_ss = -1073610752}) (../../i386/i386/trap.c line 307)
(kgdb) down
#3  0xf01d0320 in trap_pfault (frame=(struct trapframe *) 0xf0201d18, usermode=0) (../../i386/i386/trap.c line 666)
(kgdb) donw
Undefined command: "donw".
(kgdb) up
#4  0xf01cffbf in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -1, tf_esi = -218328628, tf_ebp = -266330780, tf_isp = -267315682, tf_ebx = 0, tf_edx = 1073610751, tf_ecx = 0, tf_eax = 1048592, tf_trapno = 12, tf_err = 0, tf_eip = -267315682, tf_cs = 8, tf_eflags = 66118, tf_esp = -218328628, tf_ss = -1073610752}) (../../i386/i386/trap.c line 307)
(kgdb) 
#5  0xf01c5b3d in exception:calltrap ()
(kgdb) 
Reading in symbols for ../../kern/kern_synch.c...done.
#6  0xf011161e in tsleep (ident=(void *) 0xf2fc91cc, priority=16, wmesg=(char *) 0xf0127e77 "biowait", timo=0) (../../kern/kern_synch.c line 301)
(kgdb) up
Reading in symbols for ../../kern/vfs_bio.c...done.
#7  0xf0127eaf in biowait (bp=(struct buf *) 0xf2fc91cc) (../../kern/vfs_bio.c line 1186)
(kgdb) down
#6  0xf011161e in tsleep (ident=(void *) 0xf2fc91cc, priority=16, wmesg=(char *) 0xf0127e77 "biowait", timo=0) (../../kern/kern_synch.c line 301)
(kgdb) 
#5  0xf01c5b3d in exception:calltrap ()
(kgdb) 
#4  0xf01cffbf in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -1, tf_esi = -218328628, tf_ebp = -266330780, tf_isp = -267315682, tf_ebx = 0, tf_edx = 1073610751, tf_ecx = 0, tf_eax = 1048592, tf_trapno = 12, tf_err = 0, tf_eip = -267315682, tf_cs = 8, tf_eflags = 66118, tf_esp = -218328628, tf_ss = -1073610752}) (../../i386/i386/trap.c line 307)
(kgdb) 
#3  0xf01d0320 in trap_pfault (frame=(struct trapframe *) 0xf0201d18, usermode=0) (../../i386/i386/trap.c line 666)
(kgdb) 
#2  0xf01d07ae in trap_fatal (frame=(struct trapframe *) 0xf0201d18) (../../i386/i386/trap.c line 744)
(kgdb) 
#1  0xf0115367 in panic (fmt=(char *) 0xf01cfcae "page fault") (../../kern/subr_prf.c line 124)
(kgdb) 
#0  boot (howto=260) (../../i386/i386/machdep.c line 925)
(kgdb) 
Bottom (i.e., innermost) frame selected; you cannot go down.
(kgdb) up
#1  0xf0115367 in panic (fmt=(char *) 0xf01cfcae "page fault") (../../kern/subr_prf.c line 124)
(kgdb) 
#2  0xf01d07ae in trap_fatal (frame=(struct trapframe *) 0xf0201d18) (../../i386/i386/trap.c line 744)
(kgdb) 
#3  0xf01d0320 in trap_pfault (frame=(struct trapframe *) 0xf0201d18, usermode=0) (../../i386/i386/trap.c line 666)
(kgdb) 
#4  0xf01cffbf in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -1, tf_esi = -218328628, tf_ebp = -266330780, tf_isp = -267315682, tf_ebx = 0, tf_edx = 1073610751, tf_ecx = 0, tf_eax = 1048592, tf_trapno = 12, tf_err = 0, tf_eip = -267315682, tf_cs = 8, tf_eflags = 66118, tf_esp = -218328628, tf_ss = -1073610752}) (../../i386/i386/trap.c line 307)
(kgdb) print frame
$1 = {tf_es = 16, tf_ds = 16, tf_edi = -1, tf_esi = -218328628, tf_ebp = -266330780, tf_isp = -267315682, tf_ebx = 0, tf_edx = 1073610751, tf_ecx = 0, tf_eax = 1048592, tf_trapno = 12, tf_err = 0, tf_eip = -267315682, tf_cs = 8, tf_eflags = 66118, tf_esp = -218328628, tf_ss = -1073610752}
(kgdb) up
#5  0xf01c5b3d in exception:calltrap ()
(kgdb) up
#6  0xf011161e in tsleep (ident=(void *) 0xf2fc91cc, priority=16, wmesg=(char *) 0xf0127e77 "biowait", timo=0) (../../kern/kern_synch.c line 301)
(kgdb) print sig
$2 = -218328628
(kgdb) print priority
$3 = 16
(kgdb) print timo
$4 = 0
(kgdb) print wmesg
$5 = (char *) 0xf0127e77 "biowait"
(kgdb) print priority
$6 = 16
(kgdb) print ident
$7 = (void *) 0xf2fc91cc
(kgdb) print *ident
$8 = void
(kgdb) up
#7  0xf0127eaf in biowait (bp=(struct buf *) 0xf2fc91cc) (../../kern/vfs_bio.c line 1186)
(kgdb) print bp->b_flags
$9 = 1049104
(kgdb) print /x bp->b_flags
$10 = 0x00100210
(kgdb) print s
$11 = -1073610752
(kgdb) print bp
$12 = (struct buf *) 0xf2fc91cc
(kgdb) print *bp
$13 = {b_hash = {le_next = 0x0, le_prev = 0xf024c168}, b_vnbufs = {le_next = 0x0, le_prev = 0xf140bfac}, b_freelist = {tqe_next = 0xf2ff897c, tqe_prev = 0xf021be9c}, b_actf = 0x0, b_actb = 0x0, b_act = {tqe_next = 0x0, tqe_prev = 0xf0fa9ed4}, b_proc = 0x0, b_flags = 1049104, b_qindex = 0, b_error = 0, b_bufsize = 8192, b_bcount = 8192, b_resid = 0, b_dev = 0x00000400, b_un = {b_addr = 0xf35cb000 "\200!\001"}, b_saveaddr = 0x0, b_lblkno = 65680, b_blkno = 65680, b_iodone = 0x0, b_iodone_chain = 0x0, b_vp = 0xf140bf80, b_dirtyoff = 0, b_dirtyend = 0, b_rcred = 0xffffffff, b_wcred = 0xffffffff, b_validoff = 0, b_validend = 0, b_pblkno = 65712, b_savekva = 0x0, b_driver1 = 0x0, b_driver2 = 0x0, b_spc = 0x0, b_cluster = {cluster_head = {tqh_first = 0xf2ff7ae0, tqh_last = 0xf2fc26f0}, cluster_entry = {tqe_next = 0xf2ff7ae0, tqe_prev = 0xf2fc26f0}}, b_pages = {0xf0331c14, 0xf02f2370, 0x0 <repeats 14 times>}, b_npages = 2}
(kgdb) list
1181	{
1182		int s;
1183	
1184		s = splbio();
1185		while ((bp->b_flags & B_DONE) == 0)
1186			tsleep(bp, PRIBIO, "biowait", 0);
1187		splx(s);
1188		if (bp->b_flags & B_EINTR) {
1189			bp->b_flags &= ~B_EINTR;
1190			return (EINTR);
(kgdb) down
#6  0xf011161e in tsleep (ident=(void *) 0xf2fc91cc, priority=16, wmesg=(char *) 0xf0127e77 "biowait", timo=0) (../../kern/kern_synch.c line 301)
(kgdb) list
296		char *wmesg;
297	{
298		register struct proc *p = curproc;
299		register struct slpque *qp;
300		register s;
301		int sig, catch = priority & PCATCH;
302	
303	#ifdef KTRACE
304		if (KTRPOINT(p, KTR_CSW))
305			ktrcsw(p->p_tracep, 1, 0);
(kgdb) print priority
$14 = 16
(kgdb) print p
$15 = (struct proc *) 0x0
(kgdb) print curproc
Reading in symbols for ../../kern/init_main.c...done.
$16 = (struct proc *) 0x0
(kgdb)

>How-To-Repeat:

	Don't know yet; this could be related to my previous report
shipped a couple of minutes ago (access to freed mbuf?).

>Fix:
	
	unknown

>Release-Note:
>Audit-Trail:

From: David Greenman <davidg@Root.COM>
To: hsu@clinet.fi
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/863: panic on kernel page fault, NULL curproc 
Date: Sun, 03 Dec 1995 13:52:18 -0800

 >Current directory is /var/crash/
 >Reading symbol data from /var/crash/kernel.37...done.
 >IdlePTD 26d000
 >panic: m_copydata
 
 >#5  0xf01c5b3d in exception:calltrap ()
 >(kgdb) down
 
    With all the "up"s and "down"s this is all quite difficult to read. What
 I'd really prefer is just a straight "bt" backtrace.
 
 -DG
 
 >	Don't know yet; this could be related to my previous report
 >shipped a couple of minutes ago (access to freed mbuf?).
 
    The above panic is m_copydata...which is the same one in your previous
 report. What you're seeing is the system trying to sync out filesystems
 buffers after the crash and then stumbling over the fact that there is no
 process context at this point. It's a bug that it doesn't handle this
 condition properly.
 
 -DG
Responsible-Changed-From-To: freebsd-bugs->davidg 
Responsible-Changed-By: scrappy 
Responsible-Changed-When: Fri Apr 12 21:34:37 PDT 1996 
Responsible-Changed-Why:  
David seems oto have analyzed the problem... 
State-Changed-From-To: open->feedback 
State-Changed-By: scrappy 
State-Changed-When: Tue Oct 22 22:56:03 PDT 1996 
State-Changed-Why:  

Confirm Status 
State-Changed-From-To: feedback->closed 
State-Changed-By: scrappy 
State-Changed-When: Wed Oct 23 01:44:24 PDT 1996 
State-Changed-Why:  

another one bites the dust... 
>Unformatted:
