Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2006 09:19:06 +0100 (CET)
From:      Nick Hibma <nick@van-laarhoven.org>
To:        FreeBSD CURRENT Mailing List <current@FreeBSD.ORG>
Subject:   DRM forced malloc(M_NOWAIT)
Message-ID:  <20061204091744.E1194@localhost>

next in thread | raw e-mail | index | archive | help
My console gets spammed with the messages below after starting X. Dmesg below 
that.

 	cvs up -A

in sys/dev/drm yielded no updates just now.

Please let me know if you need additional information.

Nick

malloc(M_WAITOK) of "16", forcing M_NOWAIT with the following non-sleepable 
locks held:
exclusive sleep mutex drm device r = 0 (0xc255e8d8) locked @ 
/usr/src/sys/modules/drm/drm/../../../dev/drm/drm_drv.c:907
KDB: stack backtrace:
db_trace_self_wrapper(c075f1f4) at db_trace_self_wrapper+0x25
kdb_backtrace(1,10,c1055680,0,d57589f4,...) at kdb_backtrace+0x29
witness_warn(5,0,c077605e,c074e4a9) at witness_warn+0x192
uma_zalloc_arg(c1055680,0,2) at uma_zalloc_arg+0x41
malloc(c,c07a7f00,2,c26aa840,9,...) at malloc+0xb2
sysctl_ctx_entry_add(c2ae934c,c2af8000) at sysctl_ctx_entry_add+0x2a
sysctl_add_oid(c2ae934c,c26d6090,ffffffff,c077e34e,80000002,...) at 
sysctl_add_oid+0x151
alloc_bounce_zone(c2ae9380,0,c26d6080,1000,1000,...) at alloc_bounce_zone+0x360
bus_dma_tag_create(0,1000,0,ffffffff,ffffffff,...) at bus_dma_tag_create+0x174
drm_pci_alloc(c255e800,1000,1000,ffffffff,c255e8d8,...) at drm_pci_alloc+0x54
i915_dma_init(c2ab7100,80446440,c2ae9400,3,c28368c0,...) at i915_dma_init+0x2ed
drm_ioctl(c2ab7100,80446440,c2ae9400,3,c28368c0,c07e8b48,0,c0758458,131) at 
drm_ioctl+0x150
giant_ioctl(c2ab7100,80446440,c2ae9400,3,c28368c0,...) at giant_ioctl+0x33
devfs_ioctl_f(c26f5678,80446440,c2ae9400,c241cd00,c28368c0) at 
devfs_ioctl_f+0xaf
kern_ioctl(c28368c0,7,80446440,c2ae9400) at kern_ioctl+0x296
ioctl(c28368c0,d5758d04) at ioctl+0xf1
syscall(3b,3b,3b,8270cc0,8213000,...) at syscall+0x256
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x282cc2db, esp = 0xbfbfec2c, ebp 
= 0xbfbfec48 ---

Copyright (c) 1992-2006 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 7.0-CURRENT #1: Mon Dec  4 08:40:21 CET 2006
     toor@hilde.van-laarhoven.org:/usr/src/sys/i386/compile/HILDE
WARNING: WITNESS option enabled, expect reduced performance.
ACPI APIC Table: <COMPAQ GRANTSD >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf4a  Stepping = 10
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0x649d<SSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,XTPR>
   AMD Features=0x20000000<LM>
   AMD Features2=0x1<LAHF>
   Logical CPUs per core: 2
real memory  = 528351232 (503 MB)
avail memory = 507539456 (484 MB)
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <COMPAQ CPQ0968> on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf808-0xf80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x3800-0x3807 mem 
0xcfd00000-0xcfd7ffff,0xe0000000-0xefffffff,0xcfd80000-0xcfdbffff irq 16 at 
device 2.0 on pci0
agp0: <Intel 82915G (915G GMCH) SVGA controller> on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci32: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
pci64: <ACPI PCI bus> on pcib2
pci64:0:0: bad VPD cksum, remain 14
bge0: <Broadcom BCM5750 A1, ASIC rev. 0x4001> mem 0xf0400000-0xf040ffff irq 17 
at device 0.0 on pci64
miibus0: <MII bus> on bge0
brgphy0: <BCM5750 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge0: Ethernet address: 00:0f:fe:44:04:d4
uhci0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> port 0x3440-0x345f 
irq 20 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> port 0x3460-0x347f 
irq 18 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> port 0x3480-0x349f 
irq 21 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> port 0x34a0-0x34bf 
irq 22 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801FB (ICH6) USB 2.0 controller> mem 0xcfdc0000-0xcfdc03ff irq 
20 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801FB (ICH6) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
uhub4: 8 ports with 8 removable, self powered
pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib3
rl0: <RealTek 8139 10/100BaseTX> port 0x1000-0x10ff mem 0xf0500000-0xf05000ff 
irq 18 at device 9.0 on pci5
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:80:5a:47:a3:08
pcm0: <Intel ICH6 (82801FB)> port 0x3000-0x30ff,0x3400-0x343f mem 
0xcfdc0400-0xcfdc05ff,0xcfdc0600-0xcfdc06ff irq 21 at device 30.2 on pci0
pcm0: <Analog Devices AD1981B AC97 Codec>
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH6 UDMA100 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x34e0-0x34ef irq 17 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <Intel ICH6 SATA150 controller> port 
0x3818-0x381f,0x3830-0x3833,0x3820-0x3827,0x3834-0x3837,0x34f0-0x34ff irq 19 at 
device 31.2 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
acpi_button0: <Power Button> 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]
sio0: <Standard PC COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FAST]
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 
0xc0000-0xca7ff,0xca800-0xcb7ff,0xcb800-0xcd7ff pnpid ORM0000 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: <Logitech USB-PS/2 Optical Mouse, class 0/0, rev 2.00/18.00, addr 2> on 
uhub0
ums0: 6 buttons and Z dir.
Timecounter "TSC" frequency 2992520437 Hz quality 800
Timecounters tick every 1.000 msec
acd0: CDRW <LITE-ON COMBO SOHC-4836K/SQK5> at ata0-master UDMA40
ad1: 57241MB <WDC WD600BB-00CAA1 17.07W17> at ata0-slave UDMA100
ad4: 76319MB <Maxtor 6V080E0 VA111680> at ata2-master SATA150
Trying to mount root from ufs:/dev/ad1s1a



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