From owner-freebsd-stable@FreeBSD.ORG Fri Feb 10 06:14:51 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E98E16A420 for ; Fri, 10 Feb 2006 06:14:51 +0000 (GMT) (envelope-from johan@stromnet.org) Received: from pne-smtpout2-sn2.hy.skanova.net (pne-smtpout2-sn2.hy.skanova.net [81.228.8.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8462443D46 for ; Fri, 10 Feb 2006 06:14:50 +0000 (GMT) (envelope-from johan@stromnet.org) Received: from elfi.stromnet.org (213.67.207.70) by pne-smtpout2-sn2.hy.skanova.net (7.2.070) id 43E6F1FB00138FCB for freebsd-stable@freebsd.org; Fri, 10 Feb 2006 07:14:49 +0100 Received: from localhost (localhost [127.0.0.1]) by elfi.stromnet.org (Postfix) with ESMTP id E0E7761C9E for ; Fri, 10 Feb 2006 07:14:47 +0100 (CET) Received: from elfi.stromnet.org ([127.0.0.1]) by localhost (elfi.stromnet.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 72356-04 for ; Fri, 10 Feb 2006 07:14:46 +0100 (CET) Received: from [10.10.0.6] (vpn1-c1.stromnet.org [10.10.0.6]) by elfi.stromnet.org (Postfix) with ESMTP id 0C77861C9C for ; Fri, 10 Feb 2006 07:14:45 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v746.2) To: freebsd-stable@freebsd.org Message-Id: <24ECF01E-9881-41F3-A1D9-4C258489D41F@stromnet.org> Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-4-183655063; protocol="application/pkcs7-signature" From: =?ISO-8859-1?Q?Johan_Str=F6m?= Date: Fri, 10 Feb 2006 07:15:28 +0100 X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at stromnet.org X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: gmirror/disk problems! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2006 06:14:51 -0000 --Apple-Mail-4-183655063 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi list! I've been experiencing problems earlier with gmirror (thread "Page fault, GEOM problem??"). My gmirror crashed, and the box compleatly froze. Now I got a new mobo, and it has been working great since (no crashes, and i get decent 40-50mb/s read/write instead of ~10-20). This morning i woke up to this: subdisk4: detached ad4: detached unknown: TIMEOUT - READ_DMA retrying (1 retry left) LBA=187595536 unknown: timeout waiting to issue command unknown: error issueing READ_DMA command GEOM_MIRROR: Device gm0s1: provider ad4s1 disconnected. GEOM_MIRROR: Request failed (error=6). ad4s1[WRITE(offset=134373376, length=16384)] GEOM_MIRROR: Request failed (error=6). ad4s1[WRITE(offset=134438912, length=16384)] GEOM_MIRROR: Request failed (error=6). ad4s1[WRITE(offset=268591104, length=16384)] GEOM_MIRROR: Request failed (error=6). ad4s1[WRITE(offset=268607488, length=16384)] GEOM_MIRROR: Request failed (error=6). ad4s1[WRITE(offset=268656640, length=16384)] GEOM_MIRROR: Request failed (error=6). ad4s1[WRITE(offset=5966399488, length=2048)] GEOM_MIRROR: Request failed (error=5). ad4s1[READ(offset=96048882176, length=32768)] Just like "old times"... However, no page faults! Yay.. But.. what is going on here?? Why does the atacontroler or whatever think they need to detach my disk?? And how do i reattach it? I have tried some stuff with atacontrol: $ atacontrol list ATA channel 0: Master: acd0 ATA/ATAPI revision 0 Slave: no device present ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: no device present Slave: no device present ATA channel 3: Master: ad6 Serial ATA v1.0 Slave: no device present $ atacontrol attach ata2 atacontrol: ioctl(IOCATAATTACH): File exists $ atacontrol reinit ata2 < here i get a long system wide block> Master: no device present Slave: no device present $ Okay so no luck reiniting it.. I dont realy wanna reboot the box (each time this might happen).. But im happy that it doesnt crash totally anymore heh... dmesg of current system: 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-RELEASE #2: Thu Dec 1 20:18:30 CET 2005 johan@elfi.stromnet.org:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP (1200.01-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xc0480800 real memory = 536674304 (511 MB) avail memory = 515833856 (491 MB) ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 5 on acpi0 pci_link1: irq 5 on acpi0 pci_link2: irq 0 on acpi0 pci_link3: irq 0 on acpi0 pci_link4: irq 11 on acpi0 pci_link5: irq 5 on acpi0 pci_link6: irq 5 on acpi0 pci_link7: irq 3 on acpi0 pci_link8: irq 5 on acpi0 pci_link9: irq 0 on acpi0 pci_link10: irq 11 on acpi0 pci_link11: irq 0 on acpi0 pci_link12: irq 5 on acpi0 pci_link13: irq 0 on acpi0 pci_link14: irq 0 on acpi0 pci_link15: irq 10 on acpi0 pci_link16: irq 0 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf8000000-0xfbffffff at device 0.0 on pci0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xfebfb000-0xfebfbfff irq 20 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ohci1: mem 0xfebfc000-0xfebfcfff irq 21 at device 2.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered ehci0: mem 0xfebfdc00-0xfebfdcff irq 22 at device 2.2 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 8 ports with 8 removable, self powered nve0: port 0xdc00-0xdc07 mem 0xfebfe000-0xfebfefff irq 20 at device 4.0 on pci0 nve0: Ethernet address 00:13:d4:bf:5b:79 miibus0: on nve0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto nve0: Ethernet address: 00:13:d4:bf:5b:79 nve0: [GIANT-LOCKED] pci0: at device 6.0 (no driver attached) pcib1: at device 8.0 on pci0 pci_link0: BIOS IRQ 22 for 0.11.INTA is invalid pci_link2: BIOS IRQ 21 for 0.6.INTA is invalid pci2: on pcib1 pci2: at device 6.0 (no driver attached) atapci0: port 0xc880-0xc8ff, 0xb800-0xb8ff mem 0xfeafd000-0xfeafdfff,0xfea80000-0xfea9ffff irq 16 at device 8.0 on pci2 ata2: on atapci0 ata3: on atapci0 ata4: on atapci0 ata5: on atapci0 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xcc00-0xcc7f mem 0xfeafec00-0xfeafec7f irq 17 at device 9.0 on pci2 miibus1: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus1 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:04:76:ef:c6:36 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 9.0 on pci0 ata0: on atapci1 ata1: on atapci1 atapci2: port 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0x7f00-0x7f0f, 0x7c00-0x7c7f irq 22 at device 11.0 on pci0 ata6: on atapci2 ata7: on atapci2 pcib2: at device 30.0 on pci0 pci1: on pcib2 acpi_button0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] 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 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc87ff, 0xc8800-0xcd7ff on isa0 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 Timecounter "TSC" frequency 1200008615 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master PIO4 ad6: 286188MB at ata3-master SATA150 ad10: 286188MB at ata5-master SATA150 I could try to move the disks to my promise sata2 tx4 card i bought for the old mobo (which didnt have sata)... But i'd rather find the problem ;) Hope someone can help. Thanks Johan --Apple-Mail-4-183655063--