From owner-freebsd-current@FreeBSD.ORG Sun Aug 5 10:56:41 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3106616A46B for ; Sun, 5 Aug 2007 10:56:41 +0000 (UTC) (envelope-from cosasvarias@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by mx1.freebsd.org (Postfix) with ESMTP id CFF3B13C459 for ; Sun, 5 Aug 2007 10:56:40 +0000 (UTC) (envelope-from cosasvarias@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so920246wxd for ; Sun, 05 Aug 2007 03:56:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=ZGKqh5cjzQ5yfqFlszLxO62HHbDYAWvrJz8Noe/7MZjAc96IJGfnUUjtv67uFDttJ08ikNPfYdUy1jub8qm6XWNF8IfLMnZulEt/TKKABe0ol1czpz9MBLmSaPMeqeKCvoABmgj7eOxJu2We2HF4rHEFuFEDS5GPLxZZAtBI1BE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=BMVZg1F8+q17YsWW804NxV49+AvOlG6H66/vmXi4fHmvUUxh7CoeEL/YtvhCEEw4zLcbf2fPfAqimrRULDWvM/mmjk+KGbz5ktw/1H8PHMuscGlOux0ouLUKba2ixQm1dL5pa1m+JemRoHQIzWGoxDm16qYlaKzUqoZXvRvJx3o= Received: by 10.90.36.3 with SMTP id j3mr4050128agj.1186309924896; Sun, 05 Aug 2007 03:32:04 -0700 (PDT) Received: by 10.90.50.2 with HTTP; Sun, 5 Aug 2007 03:32:04 -0700 (PDT) Message-ID: <5d95d4be0708050332r5b00c5b7h73acb3ae8b94383c@mail.gmail.com> Date: Sun, 5 Aug 2007 12:32:04 +0200 From: "A. Rios" To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: panic and fs corruption in -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 10:56:41 -0000 I compiled yesterday's kernel without problems, and it restarted fine. I applied jeff roberson's ulehtt.diff (P4 with hyperthreading and 2GB RAM here) and disabled all kernel debugging (I was testing performance) Earlier this morning I was portupgrading and everything start to fail. One of the (random) panics was: [...] SHA256 Checksum OK for ghostscript/gdechl12.c. start = 0, len = 2930, fs = /usr panic: ffs_alloccg: map corrupted cpuid = 0 Uptime: 21m 10s Physical memory: 2035 MB Dumping 276 MB and now the boot is not so clean (I have highlited the cores and one PCI Express error, look for the ^^^ near the bottom). I've restored the old kernel and the panics have stopped and now the daemons start fine again. I'll try to compile a new kernel with debugging this afternoon. Copyright (c) 1992-2007 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: Sat Aug 4 11:20:33 CEST 2007 root@cycorp.molino:/usr/obj/usr/src/sys/7.agosto module_register: module pci/ichss_pci already exists! Module pci/ichss_pci failed to register: 17 module_register: module cpu/ichss already exists! Module cpu/ichss failed to register: 17 module_register: module cpu/powernow already exists! Module cpu/powernow failed to register: 17 module_register: module cpu/est already exists! Module cpu/est failed to register: 17 module_register: module cpu/p4tcc already exists! Module cpu/p4tcc failed to register: 17 ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3010.69-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 Features=0xbfebfbff Features2=0x649d AMD Features=0x20000800 Logical CPUs per core: 2 usable memory = 2134102016 (2035 MB) avail memory = 2059386880 (1963 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7ff00000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 ACPI Warning (tbutils-0243): Incorrect checksum in table [OEMB] - 8D, should be 80 [20070320] est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 ACPI Warning (tbutils-0243): Incorrect checksum in table [SSDT] - C9, should be CF [20070320] est1: on cpu1 p4tcc1: on cpu1 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci4: on pcib1 vgapci0: port 0xe000-0xe0ff mem 0xd0000000-0xdfffffff,0 xcffe0000-0xcffeffff irq 16 at device 0.0 on pci4 vgapci1: mem 0xcfff0000-0xcfffffff at device 0.1 on pci 4 pcm0: mem 0xcfdf4000-0xcfdf7fff irq 16 at device 27.0 on pci0 pcm0: [ITHREAD] pcib2: irq 16 at device 28.0 on pci0 pci3: on pcib2 pcib3: irq 17 at device 28.1 on pci0 pci2: on pcib3 mskc0: port 0xc800-0xc8ff mem 0xcfefc00 0-0xcfefffff irq 17 at device 0.0 on pci2 msk0: on mskc0 msk0: Ethernet address: 00:13:d4:55:ab:62 miibus0: on msk0 e1000phy0: PHY 0 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto mskc0: [FILTER] uhci0: port 0x8000-0x801f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x8400-0x841f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x8800-0x881f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x9000-0x901f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xcfdff800-0xcfdffbff irq 2 3 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered pcib4: at device 30.0 on pci0 pci1: on pcib4 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x37 6,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0xa800-0xa807,0xa400-0xa403,0xa000 -0xa007,0x9800-0x9803,0x9400-0x940f mem 0xcfdffc00-0xcfdfffff irq 19 at device 3 1.2 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 speaker0: port 0x61 on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] ppc0: port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model MouseMan+, device ID 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec ad0: 76319MB at ata0-master UDMA100 acd0: DVDR at ata0-slave UDMA33 ad4: 194481MB at ata2-master SATA150 pcm0: pcm0: SMP: AP CPU #1 Launched! GEOM_LABEL: Label for provider ad0s1 is msdosfs/POI. GEOM_LABEL: Label for provider ad0s2 is msdosfs/COZASH. Trying to mount root from ufs:/dev/ad4s3a WARNING: / was not properly dismounted Loading configuration files. kernel dumps on /dev/ad4s3b Entropy harvesting: interrupts ethernet point_to_point kickstart. swapon: adding /dev/ad4s3b as swap device Starting file system checks: /dev/ad4s3a: 2286 files, 90141 used, 163674 free (914 frags, 20345 blocks, 0.4% fragmentation) /dev/ad4s3e: DEFER FOR BACKGROUND CHECKING /dev/ad4s3f: DEFER FOR BACKGROUND CHECKING /dev/ad4s3d: DEFER FOR BACKGROUND CHECKING Setting hostuuid: 58a55b8b-9e0a-da11-a01e-5071b78b3c18. Setting hostid: 0x91b872b6. Mounting local file systems:WARNING: /tmp was not properly dismounted /tmp: mount pending error: blocks 4 files 1 WARNING: /usr was not properly dismounted /usr: mount pending error: blocks 0 files 34 WARNING: /var was not properly dismounted /var: mount pending error: blocks 4 files 1 GEOM_LABEL: Label msdosfs/POI removed. Setting hostname: cycorp.molino. net.inet6.ip6.auto_linklocal: 1 -> 0 vfs.usermount: 0 -> 1 mskc0: Uncorrectable PCI Express error ^^^^^^^^^^^^^^^^^^^^^^^^ msk0: link state changed to DOWN lo0: flags=8049 metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 msk0: flags=8843 metric 0 mtu 1500 options=19a ether 00:13:d4:55:ab:62 inet 172.26.0.3 netmask 0xfffffff0 broadcast 172.26.0.15 media: Ethernet autoselect (none) status: no carrier add net default: gateway 172.26.0.1 Additional routing options:. Starting devd. hw.acpi.cpu.cx_lowest: C1 -> C1 Additional IP options:. Mounting NFS file systems:msk0: link state changed to UP . ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/c ompat/pkg /usr/local/lib/compat/pkg /usr/local/lib/gcc-4.2.1 /usr/local/lib/kde3 /usr/local/lib/mysql /usr/local/lib/nss /usr/local/lib/pth 32-bit compatibility ldconfig path: /usr/lib32 Clearing /tmp (X related). Creating and/or trimming log files:. Starting syslogd. Checking for core dump on /dev/ad4s3b... savecore: no dumps found Initial amd64 initialization:. Additional ABI support:. NFS access cache time=60 Recovering vi editor sessions:. Starting local daemons:. Updating motd. Mounting late file systems:mount_msdosfs: /dev/da0s1: : No such file or directory Starting powerd. Removing stale Samba tdb files: done Starting slim. Starting dbus. Starting polkitd. Segmentation fault (core dumped) ^^^^^^^^^^^^^^^^^^^^^^^^ Starting hald. Segmentation fault (core dumped) ^^^^^^^^^^^^^^^^^^^^^^^^ Configuring syscons: keymap font8x16 font8x14 font8x8 blanktime. Starting cron. Local package initialization: rtc. Starting default moused:. Starting background file system checks in 60 seconds.