Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2003 18:17:48 +0200 (CEST)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/57961: kmem_malloc(65536): kmem_map too small: 202833920 total allocated
Message-ID:  <200310131617.h9DGHmgD083608@home.dinoex.sub.de>
Resent-Message-ID: <200310131620.h9DGKEWJ034870@freefall.freebsd.org>

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

>Number:         57961
>Category:       kern
>Synopsis:       kmem_malloc(65536): kmem_map too small: 202833920 total allocated
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 13 09:20:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
privat
>Environment:

FreeBSD 5.1-CURRENT #3: Thu Oct  2 22:43:56 CEST 2003
    root@current.dinoex.sub.de:/usr/obj/usr/src/sys/NET5
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a64000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a6421c.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Duron(tm) Processor (1300.05-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x671  Stepping = 1
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 503250944 (479 MB)
avail memory = 479154176 (456 MB)
Pentium Pro MTRR support enabled
[...]
tapci0: <SiS 96X UDMA100 controller> port 0xff00-0xff0f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
[...]
acd0: DVDROM <IDE DVD-ROM 16X> at ata0-slave PIO4
(probe1:ata0:0:1:0): Recovered Sense
(probe1:ata0:0:1:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe1:ata0:0:1:0): CAM Status: SCSI Status Error
(probe1:ata0:0:1:0): SCSI Status: Check Condition
(probe1:ata0:0:1:0): ILLEGAL REQUEST asc:24,0
(probe1:ata0:0:1:0): Invalid field in CDB
(probe1:ata0:0:1:0): Recovered Sense
(probe1:ata0:0:1:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe1:ata0:0:1:0): CAM Status: SCSI Status Error
(probe1:ata0:0:1:0): SCSI Status: Check Condition
(probe1:ata0:0:1:0): ILLEGAL REQUEST asc:24,0
(probe1:ata0:0:1:0): Invalid field in CDB
GEOM: create disk cd0 dp=0xc461ee00

GENERIC kernel with additinal line:
device atapicam

>Description:

panic: kmem_malloc(65536): kmem_map too small: 202833920 total allocated
panic: from debugger
Uptime: 31m43s
Dumping 479 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464
---
kgdb) bt
#0  0xc0630f0b in doadump ()
#1  0xc0631541 in boot ()
#2  0xc06318d7 in panic ()
#3  0xc0464302 in db_panic ()
#4  0xc0464262 in db_command ()
#5  0xc04643a5 in db_command_loop ()
#6  0xc04673a5 in db_trap ()
#7  0xc07bb32c in kdb_trap ()
#8  0xc07ccded in trap ()
#9  0xc07bccd8 in calltrap ()
#10 0xc0631865 in panic ()
#11 0xc07824c0 in kmem_malloc ()
#12 0xc0793917 in page_alloc ()
#13 0xc0795582 in uma_large_malloc ()
#14 0xc0625e2b in malloc ()
#15 0xc469e874 in MMalloc (size=65536, file=0xc46a750c "/usr/src/sys/dev/vinum/vinumrequest.c", line=271)
    at /usr/src/sys/dev/vinum/vinummemory.c:170
#16 0xc46a05b3 in vinumstart (bp=0xcde15808, reviveok=0) at /usr/src/sys/dev/vinum/vinumrequest.c:271
#17 0xc46a02d8 in vinumstrategy (biop=0xcde15808) at /usr/src/sys/dev/vinum/vinumrequest.c:161
#18 0xc05f70e8 in spec_xstrategy ()
#19 0xc05f7172 in spec_specstrategy ()
#20 0xc05f6108 in spec_vnoperate ()
#21 0xc0779060 in ufs_strategy ()
#22 0xc0779dd8 in ufs_vnoperate ()
#23 0xc0678557 in bwrite ()
#24 0xc0678dbc in bawrite ()
#25 0xc068118a in cluster_wbuild ()
#26 0xc0680941 in cluster_write ()
#27 0xc076c542 in ffs_write ()
#28 0xc06966f2 in vn_write ()
#29 0xc06596e8 in dofilewrite ()
#30 0xc065951e in write ()
#31 0xc07cd723 in syscall ()
#32 0xc07bcd2d in Xint0x80_syscall ()
---Can't read userspace from dump, or kernel process---

# du Data/
2267426 Slayers-2/VIDEO_TS
2267428 Slayers-2/

maybe related to:
http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&newwindow=1&th=ae413a9f59a235ae&rnum=8

>How-To-Repeat:

reading from DVD causes the panic each time:
# vobcopy -v -v -m -t Data /cdrom

>Fix:


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



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