From owner-freebsd-current@FreeBSD.ORG Tue Sep 9 11:48:46 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52B4C16A4BF for ; Tue, 9 Sep 2003 11:48:46 -0700 (PDT) Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D70C43FFB for ; Tue, 9 Sep 2003 11:48:44 -0700 (PDT) (envelope-from tomppa@finland.sun.com) Received: from sunfin.Finland.Sun.COM ([129.159.101.10]) by brmea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h89Imgjr028760 for ; Tue, 9 Sep 2003 12:48:43 -0600 (MDT) Received: from ultrahot.Finland.Sun.COM (ultrahot [129.159.101.87]) ESMTP id h89ImfcP018605 for ; Tue, 9 Sep 2003 21:48:41 +0300 (EEST) Received: from ultrahot.Finland.Sun.COM (localhost [127.0.0.1]) h89ImfLx014043 for ; Tue, 9 Sep 2003 21:48:41 +0300 (EEST) Received: (from tomppa@localhost)h89Ime91014040; Tue, 9 Sep 2003 21:48:40 +0300 (EEST) From: Tomi Vainio - Sun Finland MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16222.8328.482125.571191@ultrahot.finland.sun.com> Date: Tue, 9 Sep 2003 21:48:40 +0300 To: freebsd-current@freebsd.org X-Mailer: VM 7.17 under 21.4 (patch 9) "Informed Management" XEmacs Lucid Subject: ufs related panic with latest current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tomi.Vainio@Sun.COM List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 18:48:46 -0000 Our system died when using iozone -a to ~300G vinum partition made from four disks. Sources were cvsupped 7.9.2003. Tomppa kmem_malloc(8192): kmem_map too small: 28229632 total allocated db> trace Debugger(c03cc728,c0429ce0,c03db0bd,ca6c4800,100) at Debugger+0x54 panic(c03db0bd,1000,1aec000,ca6c4830,c15ee720) at panic+0xd5 kmem_malloc(c082f0b0,1000,402,ca6c48a8,c034d1c5) at kmem_malloc+0x100 page_alloc(c083a9a0,1000,ca6c4893,402,c1416640) at page_alloc+0x27 slab_zalloc(c083a9a0,502,0,c03463cb,c0934738) at slab_zalloc+0xc5 uma_zone_slab(c083a9a0,502,c288c000,c24f8c90,4) at uma_zone_slab+0xe8 uma_zalloc_bucket(c083a9a0,502,c24f52a8,c17557fc,c24f8b60) at uma_zalloc_bucket+ 0x185 uma_zalloc_arg(c083a9a0,0,502,0,c083a9a0) at uma_zalloc_arg+0x2c7 malloc(3c,c0407640,502,0,1a180) at malloc+0x5c newallocindir(c1a0ae38,38e,1a180,0,0) at newallocindir+0x37 softdep_setup_allocindir_page(c1a0ae38,39a,0,c2516ae8,38e) at softdep_setup_allo cindir_page+0x3d ffs_balloc_ufs1(c17557fc,e68000,0,4000,c146a500) at ffs_balloc_ufs1+0xee9 ffs_write(ca6c4bc4,20002,c15ee720,0,ca6c4c70) at ffs_write+0x447 vn_write(c16b3594,ca6c4c70,c146a500,0,c15ee720) at vn_write+0x233 dofilewrite(c15ee720,c16b3594,3,8100000,80000) at dofilewrite+0xf8 write(c15ee720,ca6c4d10,c,c15ee720,3) at write+0x6e syscall(4002f,2817002f,bfbf002f,80000,bfbff7c0) at syscall+0x2b0 Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (4, FreeBSD ELF32, write), eip = 0x280e5b3f, esp = 0xbfbff70c, ebp = 0xbfbff728 --- db> Copyright (c) 1992-2003 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 5.1-CURRENT #7: Mon Sep 8 17:09:29 EEST 2003 Preloaded elf kernel "/boot/kernel/kernel" at 0xc04ec000. Calibrating clock(s) ... i8254 clock: 1193374 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 601365089 Hz CPU: Intel Celeron (601.37-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383f9ff real memory = 67108864 (64 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009ffff, 651264 bytes (159 pages) 0x0000000000513000 - 0x0000000003eb9fff, 60452864 bytes (14759 pages) avail memory = 59953152 (57 MB) bios32: Found BIOS32 Service Directory header at 0xc00fb080 bios32: Entry = 0xfb4f0 (c00fb4f0) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf0000+0xb520 pnpbios: Found PnP BIOS data at 0xc00fbed0 pnpbios: Entry = f0000:bf00 Rev = 1.0 Other BIOS signatures found: random: netsmb_dev: loaded null: mem: Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pci_open(1): mode 1 addr port (0x0cf8) is 0x80000058 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086) pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fde70 PCI-Only Interrupts: 5 10 11 12 Location Bus Device Pin Link IRQs slot 1 0 19 A 0x62 3 4 5 7 9 10 11 12 14 15 slot 1 0 19 B 0x63 3 4 5 7 9 10 11 12 14 15 slot 1 0 19 C 0x60 3 4 5 7 9 10 11 12 14 15 slot 1 0 19 D 0x61 3 4 5 7 9 10 11 12 14 15 slot 2 0 17 A 0x60 3 4 5 7 9 10 11 12 14 15 slot 2 0 17 B 0x61 3 4 5 7 9 10 11 12 14 15 slot 2 0 17 C 0x62 3 4 5 7 9 10 11 12 14 15 slot 2 0 17 D 0x63 3 4 5 7 9 10 11 12 14 15 slot 3 0 15 A 0x61 3 4 5 7 9 10 11 12 14 15 slot 3 0 15 B 0x63 3 4 5 7 9 10 11 12 14 15 slot 3 0 15 C 0x62 3 4 5 7 9 10 11 12 14 15 slot 3 0 15 D 0x60 3 4 5 7 9 10 11 12 14 15 slot 4 0 13 A 0x62 3 4 5 7 9 10 11 12 14 15 slot 4 0 13 B 0x63 3 4 5 7 9 10 11 12 14 15 slot 4 0 13 C 0x60 3 4 5 7 9 10 11 12 14 15 slot 4 0 13 D 0x61 3 4 5 7 9 10 11 12 14 15 slot 5 0 11 A 0x63 3 4 5 7 9 10 11 12 14 15 slot 5 0 11 B 0x60 3 4 5 7 9 10 11 12 14 15 slot 5 0 11 C 0x61 3 4 5 7 9 10 11 12 14 15 slot 5 0 11 D 0x62 3 4 5 7 9 10 11 12 14 15 slot 6 0 9 A 0x61 3 4 5 7 9 10 11 12 14 15 slot 6 0 9 B 0x60 3 4 5 7 9 10 11 12 14 15 slot 6 0 9 C 0x63 3 4 5 7 9 10 11 12 14 15 slot 6 0 9 D 0x62 3 4 5 7 9 10 11 12 14 15 slot 7 0 8 A 0x62 3 4 5 7 9 10 11 12 14 15 slot 7 0 8 B 0x63 3 4 5 7 9 10 11 12 14 15 slot 7 0 8 C 0x60 3 4 5 7 9 10 11 12 14 15 slot 7 0 8 D 0x61 3 4 5 7 9 10 11 12 14 15 embedded 0 7 A 0x60 3 4 5 7 9 10 11 12 14 15 embedded 0 7 B 0x61 3 4 5 7 9 10 11 12 14 15 embedded 0 7 C 0x62 3 4 5 7 9 10 11 12 14 15 embedded 0 7 D 0x63 3 4 5 7 9 10 11 12 14 15 embedded 0 1 A 0x60 3 4 5 7 9 10 11 12 14 15 embedded 0 1 B 0x61 3 4 5 7 9 10 11 12 14 15 embedded 0 1 C 0x62 3 4 5 7 9 10 11 12 14 15 embedded 0 1 D 0x63 3 4 5 7 9 10 11 12 14 15 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pci0: physical bus=0 map[10]: type 3, range 32, base d0000000, size 26, enabled found-> vendor=0x8086, dev=0x7190, revid=0x03 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x2210, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x7191, revid=0x03 bus=0, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x0220, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x80 (32000 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x7110, revid=0x02 bus=0, slot=7, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 0000f000, size 4, enabled found-> vendor=0x8086, dev=0x7111, revid=0x01 bus=0, slot=7, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 0000d000, size 5, enabled found-> vendor=0x8086, dev=0x7112, revid=0x01 bus=0, slot=7, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=d, irq=255 map[90]: type 4, range 32, base 00005000, size 4, enabled found-> vendor=0x8086, dev=0x7113, revid=0x02 bus=0, slot=7, func=3 class=06-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 4, range 32, base 0000d400, size 6, enabled pci_cfgintr_valid: BIOS irq 12 is valid pci_cfgintr: 0:11 INTA BIOS irq 12 found-> vendor=0x10b7, dev=0x9050, revid=0x00 bus=0, slot=11, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0200, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x03 (750 ns), maxlat=0x08 (2000 ns) intpin=a, irq=12 map[10]: type 4, range 32, base 0000d800, size 8, enabled map[14]: type 1, range 32, base dd000000, size 12, enabled pci_cfgintr_valid: BIOS irq 11 is valid pci_cfgintr: 0:15 INTA BIOS irq 11 found-> vendor=0x9004, dev=0x8178, revid=0x00 bus=0, slot=15, func=0 class=01-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0280, cachelnsz=8 (dwords) lattimer=0x20 (960 ns), mingnt=0x08 (2000 ns), maxlat=0x08 (2000 ns) intpin=a, irq=11 map[10]: type 1, range 32, base d4000000, size 25, enabled pci_cfgintr_valid: BIOS irq 5 is valid pci_cfgintr: 0:17 INTA BIOS irq 5 found-> vendor=0x5333, dev=0x88f0, revid=0x00 bus=0, slot=17, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0083, statreg=0x0200, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=5 map[10]: type 4, range 32, base 0000dc00, size 3, enabled map[14]: type 4, range 32, base 0000e000, size 2, enabled map[18]: type 4, range 32, base 0000e400, size 3, enabled map[1c]: type 4, range 32, base 0000e800, size 2, enabled map[20]: type 4, range 32, base 0000ec00, size 8, enabled pci_cfgintr_valid: BIOS irq 10 is valid pci_cfgintr: 0:19 INTA BIOS irq 10 found-> vendor=0x1103, dev=0x0004, revid=0x03 bus=0, slot=19, func=0 class=01-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0230, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x08 (2000 ns) intpin=a, irq=10 powerspec 2 supports D0 D3 current D0 agp0: mem 0xd0000000-0xd3ffffff at device 0.0 on pci0 agp0: allocating GATT for aperture of size 64M pcib1: at device 1.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode 0xf000-0xfff pcib1: memory decode 0xfff00000-0xfffff pcib1: prefetched decode 0xfff00000-0xfffff pci1: on pcib1 pci1: physical bus=1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: reset tp1 mask=03 ostat0=50 ostat1=50 ata0-master: stat=0x80 err=0x80 lsb=0x80 msb=0x80 ata0-slave: stat=0x80 err=0x90 lsb=0x90 msb=0x90 ata0-master: stat=0x90 err=0x90 lsb=0x90 msb=0x90 ata0-slave: stat=0x90 err=0x00 lsb=0x00 msb=0x00 ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 mask=03 stat0=50 stat1=10 devices=0x1 ata0-slave: ATA err=0x01 lsb=0xa5 ata0: reset tp3 devices=0x3 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: reset tp1 mask=03 ostat0=50 ostat1=50 ata1-master: stat=0x80 err=0x80 lsb=0x80 msb=0x80 ata1-slave: stat=0x80 err=0x90 lsb=0x90 msb=0x90 ata1-master: stat=0x90 err=0x90 lsb=0x90 msb=0x90 ata1-slave: stat=0x90 err=0x00 lsb=0x00 msb=0x00 ata1-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata1: reset tp2 mask=03 stat0=50 stat1=10 devices=0x1 ata1-slave: ATA err=0x01 lsb=0xa5 ata1: reset tp3 devices=0x3 ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xd400-0xd43f irq 12 at device 11.0 on pci0 xl0: using port I/O xl0: Ethernet address: 00:60:08:0a:d4:1d xl0: media options word: e040 xl0: found MII/AUTO miibus0: on xl0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: bpf attached ahc0: port 0xd800-0xd8ff mem 0xdd000000-0xdd000fff irq 11 at device 15.0 on pci0 ahc0: Defaulting to MEMIO off ahc0: Reading SEEPROM...done. ahc0: internal 50 cable not present, internal 68 cable is present ahc0: external cable not present ahc0: BIOS eeprom is present ahc0: High byte termination Enabled ahc0: Low byte termination Enabled ahc0: Downloading Sequencer Program... 448 instructions downloaded ahc0: Features 0x5, Bugs 0x25, Flags 0x20481540 aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs pci0: at device 17.0 (no driver attached) atapci1: port 0xec00-0xecff,0xe800-0xe803,0xe400-0xe407,0xe000-0xe003,0xdc00-0xdc07 irq 10 at device 19.0 on pci0 atapci1: [MPSAFE] ata2: reset tp1 mask=03 ostat0=20 ostat1=30 ata2-master: stat=0x20 err=0x20 lsb=0x20 msb=0x20 ata2-slave: stat=0x20 err=0x30 lsb=0x30 msb=0x30 ata2: reset tp2 mask=03 stat0=20 stat1=30 devices=0x0 ata2-master: ATA err=0x25 lsb=0x25 ata2-slave: ATA err=0x25 lsb=0x25 ata2: reset tp3 devices=0x0 ata2: at 0xdc00 on atapci1 ata2: [MPSAFE] ata3: reset tp1 mask=03 ostat0=20 ostat1=30 ata3-master: stat=0x20 err=0x20 lsb=0x20 msb=0x20 ata3-slave: stat=0x20 err=0x30 lsb=0x30 msb=0x30 ata3: reset tp2 mask=03 stat0=20 stat1=30 devices=0x0 ata3-master: ATA err=0x25 lsb=0x25 ata3-slave: ATA err=0x25 lsb=0x25 ata3: reset tp3 devices=0x0 ata3: at 0xe400 on atapci1 ata3: [MPSAFE] ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 pnpbios: 14 devices, largest 69 bytes PNP0000: adding irq mask 0x4 PNP0000: adding io range 0x20-0x21, size=0x2, align=0 PNP0000: adding io range 0xa0-0xa1, size=0x2, align=0 pnpbios: handle 0 device ID PNP0000 (0000d041) PNP0200: adding dma mask 0x10 PNP0200: adding io range 0-0xf, size=0x10, align=0 PNP0200: adding io range 0x81-0x83, size=0x3, align=0 PNP0200: adding io range 0x87-0x87, size=0x1, align=0 PNP0200: adding io range 0x89-0x8b, size=0x3, align=0 PNP0200: adding io range 0x8f-0x91, size=0x3, align=0 PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0 pnpbios: handle 1 device ID PNP0200 (0002d041) PNP0100: adding irq mask 0x1 PNP0100: adding io range 0x40-0x43, size=0x4, align=0 pnpbios: handle 2 device ID PNP0100 (0001d041) PNP0b00: adding irq mask 0x100 PNP0b00: adding io range 0x70-0x71, size=0x2, align=0 pnpbios: handle 3 device ID PNP0b00 (000bd041) PNP0303: adding irq mask 0x2 PNP0303: adding io range 0x60-0x60, size=0x1, align=0 PNP0303: adding io range 0x64-0x64, size=0x1, align=0 pnpbios: handle 4 device ID PNP0303 (0303d041) PNP0800: adding io range 0x61-0x61, size=0x1, align=0 pnpbios: handle 5 device ID PNP0800 (0008d041) PNP0c04: adding irq mask 0x2000 PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0 pnpbios: handle 6 device ID PNP0c04 (040cd041) PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000 PNP0c01: adding fixed memory32 range 0xfffe0000-0xffffffff, size=0x20000 PNP0c01: adding fixed memory32 range 0x100000-0x3ffffff, size=0x3f00000 pnpbios: handle 7 device ID PNP0c01 (010cd041) PNP0c02: adding fixed memory32 range 0xf0000-0xf3fff, size=0x4000 PNP0c02: adding fixed memory32 range 0xf4000-0xf7fff, size=0x4000 PNP0c02: adding fixed memory32 range 0xf8000-0xfffff, size=0x8000 PNP0c02: adding fixed memory32 range 0xcf000-0xcffff, size=0x1000 pnpbios: handle 8 device ID PNP0c02 (020cd041) PNP0a03: adding io range 0x294-0x297, size=0x4, align=0 PNP0a03: adding io range 0x4d0-0x4d1, size=0x2, align=0 PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0 PNP0a03: adding io range 0x480-0x48f, size=0x10, align=0 PNP0a03: adding io range 0x4000-0x403f, size=0x40, align=0 PNP0a03: adding io range 0x5000-0x501f, size=0x20, align=0 pnpbios: handle 9 device ID PNP0a03 (030ad041) PNP0501: adding irq mask 0x10 PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0 pnpbios: handle 12 device ID PNP0501 (0105d041) PNP0700: adding dma mask 0x4 PNP0700: adding io range 0x3f2-0x3f5, size=0x4, align=0 PNP0700: adding irq mask 0x40 pnpbios: handle 13 device ID PNP0700 (0007d041) PNP0400: adding irq mask 0x80 PNP0400: adding io range 0x378-0x37f, size=0x8, align=0 pnpbios: handle 14 device ID PNP0400 (0004d041) PNP0501: adding irq mask 0x8 PNP0501: adding io range 0x2f8-0x2ff, size=0x8, align=0 pnpbios: handle 16 device ID PNP0501 (0105d041) vt: vt0 already exists; skipping it sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: