Date: Thu, 15 Dec 2005 17:08:22 GMT From: Wojciech Kruzel <camcorp@pro.onet.pl> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/90442: kmem_alloc fails kmem_map: too small, on a RAID10 Message-ID: <200512151708.jBFH8MZn025422@www.freebsd.org> Resent-Message-ID: <200512151710.jBFHA2Up080026@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 90442 >Category: misc >Synopsis: kmem_alloc fails kmem_map: too small, on a RAID10 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 15 17:10:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Wojciech Kruzel >Release: 6.0-STABLE >Organization: Eureka IS >Environment: FreeBSD serwer.pp 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Dec 13 02:58:36 UTC 2005 root@serwer.pp:/usr/obj/usr/src/sys/SERWER1 i386 >Description: FreeBSD 6.0-RELEASE and 6.0-STABLE crash after panic kmem_alloc. FTP or SAMBA copy of more than 10GB - various files to this server fails regularry. I tried this on two different types of motherboards: Celeron 2,6GHz on TYAN Tomcat i7210 (S5112) (which has also problems concenred to SiI 3114), 512MB DDR + RAID10 x4 SATA 200gp Athlon64 3200+ on Biostar nForce4 (with nvidia RAID), 512DDR + RAID10 x4 SATA 200gb. Both configs have 400GB on raid10 At the same time i used FreeBSD 6.0-RELEASE on other server box with Celeron D 2,6ghz + INTEL mirrored RAID - 2x300GB, and it works flawlessly. Doubling vm.mkem_size resulted in crash when compiling kernel. (too big integer) -- dmesg -- Copyright (c) 1992-2005 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 6.0-STABLE #0: Tue Dec 13 02:58:36 UTC 2005 root@serwer.pp:/usr/obj/usr/src/sys/SERWER1 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3200+ (2010.31-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20ff0 Stepping = 0 Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> Features2=0x1<SSE3> AMD Features=0xe2500800<SYSCALL,NX,MMX+,<b25>,LM,3DNow+,3DNow> real memory = 536805376 (511 MB) avail memory = 515928064 (492 MB) ACPI APIC Table: <Nvidia AWRDACPI> ioapic0 <Version 1.1> irqs 0-23 on motherboard npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <Nvidia AWRDACPI> on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: <ACPI CPU> on acpi0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pci0: <memory> at device 0.0 (no driver attached) isab0: <PCI-ISA bridge> at device 1.0 on pci0 isa0: <ISA bus> on isab0 pci0: <serial bus, SMBus> at device 1.1 (no driver attached) ohci0: <OHCI (generic) USB controller> mem 0xfebff000-0xfebfffff irq 21 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: <OHCI (generic) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 10 ports with 10 removable, self powered ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebfe000-0xfebfe0ff irq 22 at device 2.1 on pci0 ehci0: [GIANT-LOCKED] usb1: EHCI version 1.0 usb1: companion controller, 4 ports each: usb0 usb1: <EHCI (generic) USB 2.0 controller> on ehci0 usb1: USB revision 2.0 uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub1: 10 ports with 10 removable, self powered pci0: <multimedia, audio> at device 4.0 (no driver attached) atapci0: <nVidia nForce4 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfb00-0xfb0f at device 6.0 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 atapci1: <nVidia nForce4 SATA150 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xf600-0xf60f mem 0xfebfb000-0xfebfbfff irq 21 at device 7.0 on pci0 ata2: <ATA channel 0> on atapci1 ata3: <ATA channel 1> on atapci1 atapci2: <nVidia nForce4 SATA150 controller> port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xf100-0xf10f mem 0xfebfa000-0xfebfafff irq 22 at device 8.0 on pci0 ata4: <ATA channel 0> on atapci2 ata5: <ATA channel 1> on atapci2 pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) pci1: <display> at device 0.1 (no driver attached) rl0: <RealTek 8139 10/100BaseTX> port 0xdc00-0xdcff mem 0xfeaff000-0xfeaff0ff irq 16 at device 8.0 on pci1 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:0e:2e:3e:27:6b skc0: <D-Link DGE-530T Gigabit Ethernet> port 0xda00-0xdaff mem 0xfeaf8000-0xfeafbfff irq 17 at device 9.0 on pci1 skc0: DGE-530T Gigabit Ethernet Adapter rev. (0x1) sk0: <Marvell Semiconductor, Inc. Yukon> on skc0 sk0: Ethernet address: 00:11:95:d7:57:26 miibus1: <MII bus> on sk0 e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus1 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto nve0: <NVIDIA nForce MCP9 Networking Adapter> port 0xf000-0xf007 mem 0xfebf9000-0xfebf9fff irq 23 at device 10.0 on pci0 nve0: Ethernet address 00:14:2a:8b:8f:ac miibus2: <MII bus> on nve0 ciphy0: <Cicada CS8201 10/100/1000TX PHY> on miibus2 ciphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto nve0: Ethernet address: 00:14:2a:8b:8f:ac pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0 pci3: <ACPI PCI bus> on pcib3 pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0 pci4: <ACPI PCI bus> on pcib4 pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0 pci5: <ACPI PCI bus> on pcib5 acpi_tz0: <Thermal Zone> on acpi0 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 pmtimer0 on isa0 orm0: <ISA Option ROM> at iomem 0xc0000-0xccfff on isa0 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 Timecounter "TSC" frequency 2010312250 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDROM <LG CD-ROM CRD-8521B/1.01> at ata0-slave PIO4 ad4: 190782MB <Seagate ST3200822AS 3.01> at ata2-master SATA150 ad6: 190782MB <Seagate ST3200822AS 3.01> at ata3-master SATA150 ad8: 190782MB <Seagate ST3200822AS 3.01> at ata4-master SATA150 ad10: 190782MB <Seagate ST3200822AS 3.01> at ata5-master SATA150 ar0: 381564MB <nVidia MediaShield RAID0+1 (stripe 64 KB)> status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (master) using ad6 at ata3-master ar0: disk2 READY (mirror) using ad8 at ata4-master ar0: disk3 READY (mirror) using ad10 at ata5-master Trying to mount root from ufs:/dev/ar0s1a >How-To-Repeat: Copy more than 10GB though FTP or SAMBA on machine with ataraid - raid10 >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512151708.jBFH8MZn025422>