Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2001 23:39:34 +0100
From:      Tor.Egge@fast.no
To:        des@thinksec.com
Cc:        current@FreeBSD.ORG
Subject:   Re: trap in vm_fault
Message-ID:  <200103202239.XAA55583@midten.fast.no>
In-Reply-To: Your message of "20 Mar 2001 09:18:51 %2B0100"
References:  <xzpwv9kq2dw.fsf@aes.thinksec.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Got this on sunday on my laptop (400 MHz PII running a week-old
> -CURRENT):

> #7  0xc0269fcd in trap_pfault (frame=0xc7be6ed8, usermode=0, eva=3332689920)
>     at ../../i386/i386/trap.c:888
> #8  0xc0269404 in trap (frame={tf_fs = 24, tf_es = -1071054832, tf_ds = 16,
>       tf_edi = -962277376, tf_esi = -1062592768, tf_ebp = -943821008,
>       tf_isp = -943821052, tf_ebx = -1057541376, tf_edx = 368, tf_ecx = 512,
>       tf_eax = -1062618816, tf_trapno = 12, tf_err = 2, tf_eip = -1072504984,
>       tf_cs = 8, tf_eflags = 78406, tf_esp = -1057541376, tf_ss = -1062575520})
>     at ../../i386/i386/trap.c:448
> #9  0xc012df68 in atapi_read (request=0xc0f73300, length=2352)
>     at machine/cpufunc.h:227

Trying to mount a music cd might cause the atapi code to try to read
9408 bytes into a 8192 bytes long buffer.

sys/dev/ata/atapi-cd.c:
    count = (bp->bio_bcount + (blocksize - 1)) / blocksize;


sys/ufs/ffs/ffs_vfsops.c:
        if ((error = bread(devvp, SBLOCK, SBSIZE, cred, &bp)) != 0)
                goto out;

sys/ufs/ffs/fs.h:
	#define SBSIZE                8192

- Tor Egge

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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