Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 1997 19:24:47 +0900
From:      KATO Takenori <kato@migmatite.eps.nagoya-u.ac.jp>
To:        current@freebsd.org
Subject:   vm_bounce_alloc: Unmapped page
Message-ID:  <199706171024.TAA07709@ganko.eps.nagoya-u.ac.jp>

next in thread | raw e-mail | index | archive | help
I got `vm_bounce_alloc: Unmapped page' panic when I compiled in
union mounted /usr/src/usr.sbin directory.

I did:
	mount -t union /usr/src-pc98/sbin /usr/src/sbin
	mount -t union /usr/src-pc98/usr.sbin /usr/src/usr.sbin
	make sbin usr.sbin

where /usr/src-pc98/sbin contains i386/fdisk and
/usr/src-pc98/usr.sbin contains config and vidcontrol and they exist
in other disk than /usr/src.

Panic mainly occurs in usr.sbin/amd/doc directory.

What sould I do to solve the proble?

The output of kgbd is as follows:

Script started on Tue Jun 17 19:12:10 1997
marble [101]# gdb -k
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-unknown-freebsd), Copyright 1996 Free Software Foundation, Inc.
(kgdb) symbol-file kernel.debug
Reading symbols from kernel.debug...done.
(kgdb) exec-file /var/crash/kernel.0
(kgdb) core-file /var/crash/vmcore.0
IdlePTD 212000
current pcb at 1cfdf0
panic: vm_bounce_alloc: Unmapped page
#0  boot (howto=256) at ../../kern/kern_shutdown.c:266
266					dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=256) at ../../kern/kern_shutdown.c:266
#1  0xf0117993 in panic (fmt=0xf01a5a42 "vm_bounce_alloc: Unmapped page")
    at ../../kern/kern_shutdown.c:393
#2  0xf01a5b3f in vm_bounce_alloc (bp=0xf25ebd64)
    at ../../i386/i386/vm_machdep.c:364
#3  0xf017a618 in sd_strategy (bp=0xf25ebd64, sc_link=0xf043bb80)
    at ../../scsi/sd.c:479
#4  0xf0177574 in scsi_strategy (bp=0xf25ebd64, device=0xf01c8d28)
    at ../../scsi/scsi_driver.c:231
#5  0xf017a00c in sdstrategy (bp=0xf25ebd64) at ../../scsi/sd.c:129
#6  0xf01406c2 in spec_strategy (ap=0xf4500d60)
    at ../../miscfs/specfs/spec_vnops.c:536
#7  0xf0187646 in ufs_strategy (ap=0xf4500d60)
    at ../../ufs/ufs/ufs_vnops.c:1833
#8  0xf012ff82 in bwrite (bp=0xf25ebd64) at vnode_if.h:1212
#9  0xf0130022 in vn_bwrite (ap=0xf4500d80) at ../../kern/vfs_bio.c:436
#10 0xf01301a0 in bawrite (bp=0xf25ebd64) at vnode_if.h:1229
#11 0xf0133baf in cluster_wbuild (vp=0xf070d780, size=8192, start_lbn=4, len=8)
    at ../../kern/vfs_cluster.c:747
#12 0xf0133829 in cluster_write (bp=0xf25f2038, filesize=90112)
    at ../../kern/vfs_cluster.c:596
#13 0xf0181621 in ffs_write (ap=0xf4500eb8)
    at ../../ufs/ufs/ufs_readwrite.c:286
#14 0xf0143a31 in union_write (ap=0xf4500efc) at vnode_if.h:307
#15 0xf013b1f9 in vn_write (fp=0xf07083c0, uio=0xf4500f38, cred=0xf0672480)
    at vnode_if.h:307
#16 0xf011ea34 in write (p=0xf0614800, uap=0xf4500f94, retval=0xf4500f84)
    at ../../kern/sys_generic.c:268
#17 0xf01a43c3 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 352256, 
      tf_esi = 134892508, tf_ebp = -272641472, tf_isp = -196079644, 
      tf_ebx = 134824032, tf_edx = 134892508, tf_ecx = 134892508, tf_eax = 4, 
      tf_trapno = 0, tf_err = 7, tf_eip = 134769665, tf_cs = 31, 
      tf_eflags = 518, tf_esp = -272641496, tf_ss = 39})
    at ../../pc98/i386/trap.c:976
#18 0x8086c01 in ?? ()
#19 0x8084a21 in ?? ()
#20 0x80849b6 in ?? ()
#21 0x80817e2 in ?? ()
#22 0x80398c3 in ?? ()
#23 0x4c15 in ?? ()
#24 0x4d5d in ?? ()
#25 0x6370 in ?? ()
#26 0x67ee in ?? ()
#27 0x6885 in ?? ()
#28 0x43dc in ?? ()
#29 0x4231 in ?? ()
#30 0x3f69 in ?? ()
#31 0x3be4 in ?? ()
#32 0x24bf in ?? ()
#33 0x1095 in ?? ()
(kgdb) up
#1  0xf0117993 in panic (fmt=0xf01a5a42 "vm_bounce_alloc: Unmapped page")
    at ../../kern/kern_shutdown.c:393
393		boot(bootopt);
(kgdb) up
#2  0xf01a5b3f in vm_bounce_alloc (bp=0xf25ebd64)
    at ../../i386/i386/vm_machdep.c:364
364				panic("vm_bounce_alloc: Unmapped page");
(kgdb) print countvmpg
$1 = 2
(kgdb) print vastart
No symbol "vastart" in current context.
(kgdb) print vaend
$2 = 0
(kgdb) print vapstart
$3 = 4089024512
(kgdb) print vapend
$4 = 0
(kgdb) print va
$5 = 4089024512
(kgdb) print kva
$6 = 0
(kgdb) print pa
$7 = 0
(kgdb) print dobounceflag
$8 = 0
(kgdb) print i
$9 = 0
(kgdb) print bp
$10 = (struct buf *) 0xf25ebd64
(kgdb) print *bp
$11 = {b_hash = {le_next = 0x0, le_prev = 0x0}, b_vnbufs = {
    le_next = 0x87654321, le_prev = 0x0}, b_freelist = {tqe_next = 0x0, 
    tqe_prev = 0x0}, b_act = {tqe_next = 0x0, tqe_prev = 0x0}, b_proc = 0x0, 
  b_flags = 1090519124, b_qindex = 0, b_usecount = 0 '\000', b_error = 0, 
  b_bufsize = 8192, b_bcount = 8192, b_resid = 0, b_dev = 197636, b_un = {
    b_addr = 0xf3b99000 <Address 0xf3b99000 out of bounds>}, 
  b_kvabase = 0xf3b99000 <Address 0xf3b99000 out of bounds>, b_kvasize = 8192, 
  b_lblkno = 3, b_blkno = 87136, b_iodone = 0xf0133604 <cluster_callback>, 
  b_iodone_chain = 0x0, b_vp = 0xf070d780, b_dirtyoff = 0, b_dirtyend = 8192, 
  b_rcred = 0x0, b_wcred = 0x0, b_validoff = 0, b_validend = 0, 
  b_pblkno = 1627232, b_saveaddr = 0x0, b_savekva = 0x0, b_driver1 = 0x0, 
  b_driver2 = 0x0, b_spc = 0x0, b_cluster = {cluster_head = {
      tqh_first = 0xf25f1e80, tqh_last = 0xf25f1f10}, cluster_entry = {
      tqe_next = 0xf25f1e80, tqe_prev = 0xf25f1f10}}, b_pages = {
    0x0 <repeats 16 times>}, b_npages = 0}
(kgdb) up
#3  0xf017a618 in sd_strategy (bp=0xf25ebd64, sc_link=0xf043bb80)
    at ../../scsi/sd.c:479
479			vm_bounce_alloc(bp);
(kgdb) print bp
$12 = (struct buf *) 0xf25ebd64
(kgdb) up
#4  0xf0177574 in scsi_strategy (bp=0xf25ebd64, device=0xf01c8d28)
    at ../../scsi/scsi_driver.c:231
231				(*device->dev_strategy)(bp, sc_link);
(kgdb) up
#5  0xf017a00c in sdstrategy (bp=0xf25ebd64) at ../../scsi/sd.c:129
129	SCSI_DEVICE_ENTRIES(sd)
(kgdb) up
#6  0xf01406c2 in spec_strategy (ap=0xf4500d60)
    at ../../miscfs/specfs/spec_vnops.c:536
536		(*bdevsw[major(ap->a_bp->b_dev)]->d_strategy)(ap->a_bp);
(kgdb) quit


----
KATO Takenori <kato@ganko.eps.nagoya-u.ac.jp>
Dept. Earth Planet. Sci., Nagoya Univ.,  Nagoya, 464-01, Japan
PGP public key: finger kato@eclogite.eps.nagoya-u.ac.jp
------------------- Powered by FreeBSD(98) -------------------



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