From owner-freebsd-current@FreeBSD.ORG Thu Oct 11 18:27:09 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FD3216A421 for ; Thu, 11 Oct 2007 18:27:09 +0000 (UTC) (envelope-from eimar.koort@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 418F613C469 for ; Thu, 11 Oct 2007 18:27:09 +0000 (UTC) (envelope-from eimar.koort@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so733526waf for ; Thu, 11 Oct 2007 11:27:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=w2l7GzXn7WQ6Zqm5eHS2GxKbtKpwWIE+RSKsSQFQ1Gw=; b=fWGS7nvtbv+dCHDyDgMPyRvYkIrMScQ0fbDddNcNMNlDGeX1mN8RAXobvxuPxejZB2yIYLnDijTHsA0tV1LPTBz27/vWGvVcIusN4uARVQQgKouEDJSrwrxbVESu1xouqhVPK7TcTLs3xbcbGipzDYaYJXlPkR26EscCziMmPlk= 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=MTynQ4PwpcLZAihP3HU3JXqXvxlF3IFd1G7tHe8XNOy4Kih2b/+amWw5Pi6NEu/sMspBapxQrwfMQWxHOP6bFMkmWwW+7vgTD/Kzll7uHx9WvA/ttlxZR8ZPBn2mBunBcl/L+pOjxXTAoXOYt/pE4g1v4kWKOBaoVBVVc9QIR6k= Received: by 10.115.75.1 with SMTP id c1mr2454253wal.1192125546748; Thu, 11 Oct 2007 10:59:06 -0700 (PDT) Received: by 10.114.109.17 with HTTP; Thu, 11 Oct 2007 10:59:06 -0700 (PDT) Message-ID: <109c90a0710111059qf50158bn95574464bcd0a9df@mail.gmail.com> Date: Thu, 11 Oct 2007 20:59:06 +0300 From: "Eimar Koort" To: freebsd-current@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 11 Oct 2007 18:37:22 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Asus M2N with two sata disks. 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: Thu, 11 Oct 2007 18:27:09 -0000 Hi all, Motherboard: Asus M2N [1] Bios version: v02.58 When two SATA disks are added to machine, then it does'nt boot up or sometimes it can boot up but detaching second disk "like mad". Several months ago it was so 'stable', that i could boot up and create geom mirror (Jul 3). After updating several times things went update by update more unstable. At the moment machine is usable only with one disk. Second disk is tested with other operating systems and it works. Also changing sata channels doesn't make it better. And question: has anyone same or similar problem or has found a cure for this problem? Generic kernel (11. Oct 2007 (cvs tag=.) It apperas, that right after 'releng_7' branced). With BIOS default settings: ### /*snip*/ ad4: 305245MB at ata2-master SATA150 ad6: 305245MB at ata2-master SATA150 GEOM_MIRROR: Device mirror/gm0 launced (1/1) Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x8:0xffffffff80492be4 stack pointer = 0x10:0xffffffffa0664a40 frame pointer = 0x10:0xffffffffa0664a50 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 23 (irq21: ohci0+) [thread pid 23 tid 100029 ] Stopped at device_get_softc+0x4: movq 0x80(%rdi),%rax db> ### After disabling floppy disk, USB, Serial and Parallel port: ### /*snip*/ GEOM_MIRROR: Device mirror/gm0 launced (1/1) Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x8:0xffffffff80492be4 stack pointer = 0x10:0xffffffffa0630a40 frame pointer = 0x10:0xffffffffa0630a50 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 23 (irq20: atapci1) [thread pid 30 tid 100022 ] Stopped at device_get_softc+0x4: movq 0x80(%rdi),%rax db> ### One example, when machine is able to boot up with both disk. At the same time all things are slow - login takes about minute or two. ### Oct 11 18:57:20 tusklik kernel: ad6: FAILURE - READ_DMA48 timed out LBA=625142444 Oct 11 18:57:20 tusklik kernel: subdisk6: detached Oct 11 18:57:20 tusklik kernel: ad6: detached Oct 11 18:57:20 tusklik kernel: ad6: 305245MB at ata3-master SATA150 Oct 11 18:57:22 tusklik kernel: subdisk6: detached Oct 11 18:57:22 tusklik kernel: ad6: detached Oct 11 18:57:22 tusklik kernel: ad6: 305245MB at ata3-master SATA150 Oct 11 18:58:25 tusklik kernel: subdisk6: detached Oct 11 18:58:25 tusklik kernel: ad6: detached Oct 11 18:58:25 tusklik kernel: ad6: 305245MB at ata3-master SATA150 Oct 11 18:58:33 tusklik kernel: ad6: TIMEOUT - READ_DMA retrying (1 retry left) LBA=128 Oct 11 18:58:33 tusklik kernel: subdisk6: detached ### After removing second disk and boot-up 'dmesg' output: ### 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 8.0-CURRENT #0: Thu Oct 11 18:20:14 EEST 2007 root@tusklik.example.ee:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2009.13-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x40fb2 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x1f Cores per package: 2 usable memory = 1060196352 (1011 MB) avail memory = 1021550592 (974 MB) ACPI APIC Table: 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, 3ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 cpu0: on acpi0 powernow0: on cpu0 cpu1: on acpi0 powernow1: on cpu1 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) isab0: port 0x900-0x9ff at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) pci0: at device 1.2 (no driver attached) ehci0: mem 0xdfeffc00-0xdfeffcff irq 21 at device 2.0 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb0: waiting for BIOS to give up control usb0: EHCI version 1.0 usb0: wrong number of companions (1 != 0) usb0: stop timeout usb0: on ehci0 usb0: USB revision 2.0 uhub0: on usb0 uhub0: 10 ports with 10 removable, self powered pcib1: at device 4.0 on pci0 pci1: on pcib1 pci0: at device 5.0 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 6.0 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] nfe0: port 0xd480-0xd487 mem 0xdfefe000-0xdfefefff irq 23 at device 7.0 on pci0 miibus0: on nfe0 ukphy0: PHY 1 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto nfe0: Ethernet address: 00:18:f3:49:4b:b7 nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] nfe0: [FILTER] atapci1: port 0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f mem 0xdfefd000-0xdfefdfff irq 20 at device 8.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] atapci2: port 0xc800-0xc807,0xc480-0xc483,0xc400-0xc407,0xc080-0xc083,0xc000-0xc00f mem 0xdfefc000-0xdfefcfff irq 21 at device 8.1 on pci0 atapci2: [ITHREAD] ata4: on atapci2 ata4: [ITHREAD] ata5: on atapci2 ata5: [ITHREAD] pcib2: at device 9.0 on pci0 pci2: on pcib2 vgapci0: port 0xe800-0xe8ff mem 0xc0000000-0xcfffffff,0xdfff0000-0xdfffffff irq 16 at device 0.0 on pci2 vgapci1: mem 0xdffe0000-0xdffeffff at device 0.1 on pci2 pcib3: at device 11.0 on pci0 pci3: on pcib3 pcib4: at device 12.0 on pci0 pci4: on pcib4 acpi_button0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] acpi_hpet0: iomem 0xfed00000-0xfed00fff on acpi0 Timecounter "HPET" frequency 25000000 Hz quality 900 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 IntelliMouse Explorer, device ID 4 orm0: at iomem 0xc0000-0xcdfff on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> 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 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FILTER] 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 acd0: DVDR at ata0-slave UDMA33 ad4: 305245MB at ata2-master SATA150 ar0: WARNING - mirror protection lost. RAID1 array in DEGRADED mode ar0: 305245MB status: DEGRADED ar0: disk0 DOWN no device found for this subdisk ar0: disk1 READY (mirror) using ad4 at ata2-master SMP: AP CPU #1 Launched! WARNING: WITNESS option enabled, expect reduced performance. GEOM_MIRROR: Device mirror/gm0 launched (1/1). Trying to mount root from ufs:/dev/mirror/gm0s1a ----- [1] http://www.asus.com/products.aspx?l1=3&l2=101&l3=340&l4=0&model=1340&modelmenu=1 -- Eimar Koort ( eimar.koort AT gmail.com )