Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 1999 21:40:04 -0700 (PDT)
From:      kenwills@yahoo.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   kern/12770: mount_msdos causes panic: kmem_malloc(134217728): kmem_map too small: 7667712 total allocated
Message-ID:  <19990723044004.C40C014C4A@hub.freebsd.org>

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

>Number:         12770
>Category:       kern
>Synopsis:       mount_msdos causes panic: kmem_malloc(134217728): kmem_map too small: 7667712 total allocated
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 22 21:50:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Ken Wills
>Release:        3.2-STABLE FreeBSD 3.2-STABLE #1: Thu Jul 22 20:33:26 CDT 1999
>Organization:
>Environment:
3.2-STABLE FreeBSD 3.2-STABLE #1: Thu Jul 22 20:33:26 CDT 1999 i386
>Description:
ide h/w 2 disks

disk 1:
fat16 - 1gb - when mounted causes panic

# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/wd0s3b             none            swap    sw              0       0
/dev/wd0s3a             /               ufs     rw              1       1
/dev/wd0s3f             /usr            ufs     rw              2       2
/dev/wd0s3e             /var            ufs     rw              2       2
/dev/wd1s2e             /usr1           ufs     rw              2       2
/dev/wd1s3e             /usr2           ufs     rw              0       2
/dev/wd0s1              /dos            msdos   rw,noauto       0       4
/dev/wd1s1              /dos2           msdos   rw              0       4
/dev/wcd0a              /cdrom          cd9660  ro,noauto       0       0
proc                    /proc           procfs  rw              0       0

>How-To-Repeat:
with disks configured as above ( and wd10s1 can be fat16, fat32 or ntfs )
mount /dos. Panic follows.

>Fix:
ddd dumps me into :

/* THIS FILE IS GENERATED, DO NOT EDIT. */
    
#define DEFINE_SET(set, count)				\
__asm__(".section .set." #set ",\"aw\"");	\
__asm__(".globl " #set);			\
__asm__(".type " #set ",@object");		\
__asm__(".p2align 2");				\
__asm__(#set ":");				\
__asm__(".long " #count);			\
__asm__(".previous")
    
#include "setdefsdef0.c.h"		/* Contains a `DEFINE_SET' for each set */

(which is setdef0.c)

where:
#0  0xc014001b in boot ()
#1  0xc01402a0 in at_shutdown ()
#2  0xc01e284f in kmem_malloc ()
#3  0xc013ceb0 in malloc ()
#4  0xc0175202 in mountmsdosfs ()
#5  0xc0174bb5 in msdosfs_mount ()
#6  0xc01662ee in mount ()
#7  0xc0204a3b in syscall ()
#8  0xc01fb67c in Xint0x80_syscall ()
#9  0x80480e9 in ?? ()

i am preserving dumps if they will be of use.





>Release-Note:
>Audit-Trail:
>Unformatted:


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




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