kern/130133: kernel panic caused a make clean,

Veniamin g.veniamin at googlemail.com
Sat Jan 3 05:30:03 PST 2009


>Number:         130133
>Category:       kern
>Synopsis:       kernel panic caused a make clean,
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 03 13:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Veniamin
>Release:        FreeBSD 8.0
>Organization:
>Environment:
FreeBSD ss.su 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri Jan  2 09:21:10 KRAT 2009     root at ss.su:/usr/obj/usr/src/sys/zl0_usb2  i386
>Description:
Kernel panic occurs when you make clean large amounts of data. I'm cleaning editors/openoffice.org-3.

#kldstat
Id Refs Address    Size     Name
 1   19 0xc0400000 9095c8   kernel
 2    1 0xc0d0a000 13e598   zfs.ko
 3    2 0xc0e49000 3c80     opensolaris.ko
 4    1 0xc0e4d000 7100     snd_ich.ko
 5    2 0xc0e55000 4a524    sound.ko
 6    1 0xc0ea0000 c060     i915.ko
 7    2 0xc0ead000 161c4    drm.ko


#cat /boot/loader.conf
zfs_load=YES
vfs.root.mountfrom="zfs:h"
vm.kmem_size="512M"
vm.kmem_size_max="512M"

i915_load="YES"
drm_load="YES"
snd_ich_load="YES"
legal.intel_iwi.license_ack=1

#dmesg                                                                                                   
Copyright (c) 1992-2009 The FreeBSD Project.                                                                                                
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994                                                                    
        The Regents of the University of California. All rights reserved.                                                                   
FreeBSD is a registered trademark of The FreeBSD Foundation.                                                                                
FreeBSD 8.0-CURRENT #0: Fri Jan  2 09:21:10 KRAT 2009                                                                                       
    root at ss.su:/usr/obj/usr/src/sys/zl0_usb2                                                                                                
Timecounter "i8254" frequency 1193182 Hz quality 0                                                                                          
CPU: Intel(R) Pentium(R) M processor 1.50GHz (1496.25-MHz 686-class CPU)                                                                    
  Origin = "GenuineIntel"  Id = 0x6d8  Stepping = 8                                                                                         
  Features=0xafe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>       
  Features2=0x180<EST,TM2>                                                                                                                  
real memory  = 2112749568 (2014 MB)                                                                                                         
avail memory = 2059911168 (1964 MB)                                                                                                         
ACPI APIC Table: <HP     09B8    >                                                                                                          
This module (opensolaris) contains code covered by the                                                                                      
Common Development and Distribution License (CDDL)                                                                                          
see http://opensolaris.org/os/licensing/opensolaris_license/                                                                                
ioapic0 <Version 2.0> irqs 0-23 on motherboard                                                                                              
kbd1 at kbdmux0                                                                                                                             
cryptosoft0: <software crypto> on motherboard                                                                                               
acpi0: <HP 09B8> on motherboard                                                                                                             
acpi0: [ITHREAD]                                                                                                                            
acpi0: Power Button (fixed)                                                                                                                 
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000                                                                                   
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0                                                                      
acpi_ec0: <Embedded Controller: GPE 0x1d> port 0x62,0x66 on acpi0                                                                           
acpi_hpet0: <High Precision Event Timer> iomem 0-0x3ff on acpi0                                                                             
device_attach: acpi_hpet0 attach returned 12                                                                                                
acpi_acad0: <AC Adapter> on acpi0                                                                                                           
battery0: <ACPI Control Method Battery> on acpi0                                                                                            
acpi_lid0: <Control Method Lid Switch> on acpi0                                                                                             
acpi_button0: <Sleep Button> on acpi0                                                                                                       
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0                                                                                     
pci0: <ACPI PCI bus> on pcib0                                                                                                               
pci0: <base peripheral> at device 0.1 (no driver attached)                                                                                  
pci0: <base peripheral> at device 0.3 (no driver attached)                                                                                  
vgapci0: <VGA-compatible display> port 0x1800-0x1807 mem 0xe8000000-0xefffffff,0xe0000000-0xe007ffff irq 16 at device 2.0 on pci0           
agp0: <Intel 8285xM (85xGM GMCH) SVGA controller> on vgapci0                                                                                
agp0: detected 32636k stolen memory                                                                                                         
agp0: aperture size is 128M                                                                                                                 
drm0: <Intel i852GM/i855GM GMCH> on vgapci0                                                                                                 
vgapci0: child drm0 requested pci_enable_busmaster                                                                                          
info: [drm] AGP at 0xe8000000 128MB                                                                                                         
info: [drm] Initialized i915 1.6.0 20080730                                                                                                 
vgapci1: <VGA-compatible display> mem 0xf0000000-0xf7ffffff,0xe0080000-0xe00fffff at device 2.1 on pci0                                     
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1820-0x183f irq 16 at device 29.0 on pci0                                         
uhci0: [ITHREAD]                                                                                                                            
uhci0: LegSup = 0x003b                                                                                                                      
usbus0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0                                                                                
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1840-0x185f irq 19 at device 29.1 on pci0                                         
uhci1: [ITHREAD]                                                                                                                            
uhci1: LegSup = 0x0010                                                                                                                      
usbus1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1                                                                                
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1860-0x187f irq 18 at device 29.2 on pci0                                         
uhci2: [ITHREAD]                                                                                                                            
uhci2: LegSup = 0x0010                                                                                                                      
usbus2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2                                                                                
ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> mem 0xe0100000-0xe01003ff irq 23 at device 29.7 on pci0                                
ehci0: [ITHREAD]                                                                                                                            
usbus3: EHCI version 1.0                                                                                                                    
usbus3: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0                                                                              
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0                                                                                         
pci2: <ACPI PCI bus> on pcib1                                                                                                               
rl0: <RealTek 8139 10/100BaseTX> port 0x3000-0x30ff mem 0xe0207800-0xe02078ff irq 16 at device 0.0 on pci2                                  
miibus0: <MII bus> on rl0                                                                                                                   
rlphy0: <RealTek internal media interface> PHY 0 on miibus0                                                                                 
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto                                                                               
rl0: Ethernet address: 00:c0:9f:6b:7b:da                                                                                                    
rl0: [ITHREAD]                                                                                                                              
iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xe0206000-0xe0206fff irq 18 at device 6.0 on pci2                                                 
iwi0: [ITHREAD]                                                                                                                             
cbb0: <TI6411 PCI-CardBus Bridge> at device 9.0 on pci2                                                                                     
cardbus0: <CardBus bus> on cbb0                                                                                                             
pccard0: <16-bit PCCard bus> on cbb0                                                                                                        
cbb0: [FILTER]                                                                                                                              
fwohci0: <1394 Open Host Controller Interface> mem 0xe0207000-0xe02077ff,0xe0200000-0xe0203fff irq 22 at device 9.2 on pci2                 
fwohci0: [FILTER]                                                                                                                           
fwohci0: OHCI version 1.10 (ROM=1)                                                                                                          
fwohci0: No. of Isochronous channels is 4.                                                                                                  
fwohci0: EUI64 00:c0:9f:00:00:32:ac:0c                                                                                                      
fwohci0: Phy 1394a available S400, 2 ports.                                                                                                 
fwohci0: Link S400, max_rec 2048 bytes.                                                                                                     
firewire0: <IEEE1394(FireWire) bus> on fwohci0                                                                                              
fwe0: <Ethernet over FireWire> on firewire0                                                                                                 
if_fwe0: Fake Ethernet address: 02:c0:9f:32:ac:0c                                                                                           
fwe0: Ethernet address: 02:c0:9f:32:ac:0c                                                                                                   
fwip0: <IP over FireWire> on firewire0                                                                                                      
fwip0: Firewire address: 00:c0:9f:00:00:32:ac:0c @ 0xfffe00000000, S400, maxrec 2048                                                        
sbp0: <SBP-2/SCSI over FireWire> on firewire0                                                                                               
dcons_crom0: <dcons configuration ROM> on firewire0                                                                                         
dcons_crom0: bus_addr 0x10d8000                                                                                                             
fwohci0: Initiate bus reset                                                                                                                 
fwohci0: BUS reset                                                                                                                          
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode                                                                                        
pci2: <mass storage> at device 9.3 (no driver attached)                                                                                     
pci2: <base peripheral, SD host controller> at device 9.4 (no driver attached)                                                              
isab0: <PCI-ISA bridge> at device 31.0 on pci0                                                                                              
isa0: <ISA bus> on isab0                                                                                                                    
atapci0: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.1 on pci0                      
ata0: <ATA channel 0> on atapci0                                                                                                            
ata0: [ITHREAD]                                                                                                                             
ata1: <ATA channel 1> on atapci0                                                                                                            
ata1: [ITHREAD]                                                                                                                             
ichsmb0: <Intel 82801DC (ICH4) SMBus controller> port 0x1880-0x189f irq 17 at device 31.3 on pci0                                           
ichsmb0: [ITHREAD]                                                                                                                          
smbus0: <System Management Bus> on ichsmb0                                                                                                  
smb0: <SMBus generic I/O> on smbus0                                                                                                         
pcm0: <Intel ICH4 (82801DB)> port 0x1c00-0x1cff,0x18c0-0x18ff mem 0xe0100c00-0xe0100dff,0xe0100800-0xe01008ff irq 17 at device 31.5 on pci0 
pcm0: [ITHREAD]                                                                                                                             
pcm0: <Conexant CX20468-21 AC97 Codec>                                                                                                      
pci0: <simple comms, generic modem> at device 31.6 (no driver attached)                                                                     
acpi_tz0: <Thermal Zone> on acpi0                                                                                                           
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0                                                                                   
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0                                                                        
atkbd0: <AT Keyboard> irq 1 on atkbdc0                                                                                                      
kbd0 at atkbd0                                                                                                                              
atkbd0: [GIANT-LOCKED]                                                                                                                      
atkbd0: [ITHREAD]                                                                                                                           
psm0: <PS/2 Mouse> irq 12 on atkbdc0                                                                                                        
psm0: [GIANT-LOCKED]                                                                                                                        
psm0: [ITHREAD]                                                                                                                             
psm0: model IntelliMouse, device ID 3                                                                                                       
cpu0: <ACPI CPU> on acpi0                                                                                                                   
est0: <Enhanced SpeedStep Frequency Control> on cpu0                                                                                        
p4tcc0: <CPU Frequency Thermal Control> on cpu0                                                                                             
acpi_hpet0: <High Precision Event Timer> iomem 0-0x3ff on acpi0                                                                             
device_attach: acpi_hpet0 attach returned 12                                                                                                
pmtimer0 on isa0                                                                                                                            
orm0: <ISA Option ROMs> at iomem 0xcd000-0xcdfff,0xdf000-0xdffff,0xe0000-0xe3fff pnpid ORM0000 on isa0                                      
sc0: <System console> at flags 0x100 on isa0                                                                                                
sc0: VGA <16 virtual consoles, flags=0x300>                                                                                                 
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0                                                                   
WARNING: ZFS is considered to be an experimental feature in FreeBSD.                                                                        
Timecounter "TSC" frequency 1496254807 Hz quality 800
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
ZFS filesystem version 13
ZFS storage pool version 13
ugen0.1: <Intel> at usbus0
ushub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ushub0: 2 ports with 2 removable, self powered
usbus1: 12Mbps Full Speed USB v1.0
ugen1.1: <Intel> at usbus1
ushub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ushub1: 2 ports with 2 removable, self powered
usbus2: 12Mbps Full Speed USB v1.0
ugen2.1: <Intel> at usbus2
ushub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ushub2: 2 ports with 2 removable, self powered
usbus3: 480Mbps High Speed USB v2.0
ugen3.1: <Intel> at usbus3
ushub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ushub3: 6 ports with 6 removable, self powered
ad0: 114473MB <WDC WD1200BEVE-00UYT0 01.04A01> at ata0-master UDMA100
acd0: DVDR <NEC DVD+/-RW ND-6450A/2.36> at ata1-master PIO4
Trying to mount root from zfs:h
pid 1616 (console-kit-daemon), uid 0: exited on signal 11 (core dumped)
pid 87740 (typesconfig), uid 0: exited on signal 11 (core dumped)
pid 90427 (Xorg), uid 0: exited on signal 6 (core dumped)
pid 68587 (drkonqi), uid 1001: exited on signal 6 (core dumped)
pid 2127 (Xorg), uid 0: exited on signal 6 (core dumped)
drm0: [ITHREAD]

(kgdb) core-file vmcore.1                                                                                                                   
                                                                                                                                            
Unread portion of the kernel message buffer:                                                                                                
panic: kmem_malloc(36864): kmem_map too small: 502771712 total allocated                                                                    
Uptime: 6h23m11s                                                                                                                            
Physical memory: 2002 MB                                                                                                                    
Dumping 671 MB: 656 640 624 608 592 576 560 544 528 512 496 480 464 448 432 416 400 384 368 352 336 320 304 288 272 256 240 224 208 192 176 160 144 128 112 96 80 64 48 32 16                                                                                                           
                                                                                                                                            
Loaded symbols for /boot/kernel/zfs.ko                                                                                                      
Loaded symbols for /boot/kernel/opensolaris.ko                                                                                              
Loaded symbols for /boot/kernel/snd_ich.ko                                                                                                  
Loaded symbols for /boot/kernel/sound.ko                                                                                                    
Loaded symbols for /boot/kernel/i915.ko                                                                                                     
Loaded symbols for /boot/kernel/drm.ko                                                                                                      
#0  doadump () at pcpu.h:246                                                                                                                
246     pcpu.h: No such file or directory.                                                                                                  
        in pcpu.h                                                                                                                           
(kgdb) bt 246                                                                                                                               
#0  doadump () at pcpu.h:246
#1  0xc0734563 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:420
#2  0xc073476e in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:576
#3  0xc09703ca in kmem_malloc (map=0xc1454084, size=36864, flags=2)
    at /usr/src/sys/vm/vm_kern.c:303
#4  0xc0967127 in page_alloc (zone=0x0, bytes=36864, pflag=0xf429cb47 "\002",
    wait=2) at /usr/src/sys/vm/uma_core.c:952
#5  0xc0969bd0 in uma_large_malloc (size=36864, wait=2)
    at /usr/src/sys/vm/uma_core.c:2706
#6  0xc0722ec8 in malloc (size=36864, mtp=0xc0e21080, flags=2)
    at /usr/src/sys/kern/kern_malloc.c:393
#7  0xc0d2e440 in zfs_kmem_alloc (size=35328, kmflags=2)
    at /usr/src/sys/modules/zfs/../../cddl/compat/opensolaris/kern/opensolaris_kmem.c:74
#8  0xc0da2d49 in zio_buf_alloc (size=35328)
    at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:204
#9  0xc0d8db10 in vdev_queue_io_to_issue (vq=0xc547f32c, pending_limit=Variable "pending_limit" is not available.
)
    at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c:227
#10 0xc0d8dd12 in vdev_queue_io_done (zio=0xcba9f254)
    at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c:313
#11 0xc0da5232 in zio_vdev_io_done (zio=0xcba9f254)
    at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1845
#12 0xc0da3602 in zio_execute (zio=0xcba9f254)
    at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:996
#13 0xc0d33240 in taskq_thread (arg=0xc510c188)
    at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/os/tas---Type <return> to continue, or q <return> to quit---
kq.c:854
#14 0xc0711f80 in fork_exit (callout=0xc0d330a0 <taskq_thread>,
    arg=0xc510c188, frame=0xf429cd38) at /usr/src/sys/kern/kern_fork.c:821
#15 0xc09c7db0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:270
(kgdb)

>How-To-Repeat:

>Fix:


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


More information about the freebsd-bugs mailing list