Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 1997 12:50:01 -0700 (PDT)
From:      Bill Fenner <fenner@parc.xerox.com>
To:        freebsd-bugs
Subject:   Re: bin/3942: mmap fails on large file on CDROM
Message-ID:  <199706241950.MAA02518@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/3942; it has been noted by GNATS.

From: Bill Fenner <fenner@parc.xerox.com>
To: freebsd-gnats-submit@freebsd.org
Cc:  Subject: Re: bin/3942: mmap fails on large file on CDROM
Date: Tue, 24 Jun 1997 12:43:41 PDT

 A little more info:
 
 When performing the "tail" experiment, the following messages often
 get logged:
 
 Jun 24 19:26:16 sundae /kernel: cd0(ncr0:6:0): MEDIUM ERROR info:12e73 asc:15,0 Random positioning error
 Jun 24 19:26:16 sundae /kernel: vm_fault: pager input (probably hardware) error, PID 16521 failure
 Jun 24 19:26:16 sundae /kernel: pid 16521 (tail), uid 0: exited on signal 11
 
 However, dd'ing the same file succeeds at reading the block in
 question, so I'm not sure that I believe there's a medium error in the
 file.
 
 Also, I suspect that the zero-filled page comes from debugging the
 process; does the debugging fault handler insert a zero-filled page to
 let a process continue from accessing an unmapped page?  And
 presumably, it makes its way into the buffer cache because of the
 merged VM/buffer cache (this might be a bug of its own, that debugging
 a process that uses mmap() can insert stuff into the buffer cache...)
 
 I guess these two errors are from trying to flush the modified buffer
 back to the CDROM:
 
 Jun 24 19:33:42 sundae /kernel: vnode_pager_putpages: I/O error 45
 Jun 24 19:33:43 sundae /kernel: vnode_pager_putpages: residual I/O 4096 at 38239
 
   Bill



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