From owner-freebsd-stable@FreeBSD.ORG Wed Mar 15 10:05:05 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 04AE116A401 for ; Wed, 15 Mar 2006 10:05:04 +0000 (UTC) (envelope-from mikhail.manuilov@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB7C443D4C for ; Wed, 15 Mar 2006 10:05:03 +0000 (GMT) (envelope-from mikhail.manuilov@gmail.com) Received: by wproxy.gmail.com with SMTP id i20so73799wra for ; Wed, 15 Mar 2006 02:05:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=lPf5SHVfLGSBhnAKhmvjuXImGHUKNYF4K8jA8pc0frtKJ3nmXL4RmD2hCLhJhrQwMabhyQkJ0/tG9ZMFix4iWJxLQzf6vzYWy8Kfk6wpoDdYft5fM9EFgAYwv1YAPou/LQb6CZsiVtPK4pZYFE4Ue6tVXv6sppqfOl0PXfITmb4= Received: by 10.64.27.20 with SMTP id a20mr207578qba; Wed, 15 Mar 2006 01:36:44 -0800 (PST) Received: by 10.64.76.19 with HTTP; Wed, 15 Mar 2006 01:36:44 -0800 (PST) Message-ID: <7ec6def90603150136g4d9b93b0rd56c77f66199a008@mail.gmail.com> Date: Wed, 15 Mar 2006 12:36:44 +0300 From: "Mikhail Manuylov" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Dead Hang/Panic trap with Promise SATA300 TX4 Controller 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: Wed, 15 Mar 2006 10:05:05 -0000 Hello, Some days ago I got new Promise SATA300 TX4 Controller and 2 250GB Samsung SATA300 disks. I've installed this pci card to my old pentium-mmx RELENG_6 ( 10 Jan 2006 ) box and one of new disks. While trying to dump/restore my old files from UDMA33 ad0 (40GB Samsung) to new successfully recognized ad4 system hang up deadly. So I ran few tests with dd: 1) RELENG_6 (10 Jan 2006) a) dd if=3D/dev/ad0 of=3D/dev/ad4 -> ran all night and no trap or panic (bu= t due to no small buffer speed was very low: only 30GB have been dumped). b) dd if=3D/dev/ad0 of=3D/dev/ad4 bs=3D8m -> hang or hang with no vga signa= l immediately c) dd if=3D/dev/ad4 of=3D/dev/null bs=3D8m -> normal (expected) speed, no h= ang d) dd if=3D/dev/zero of=3D/dev/ad4 bs=3D8m -> normal speed, no hang e) dd if=3D/dev/random of=3D/dev/ad4 bs=3D8m -> hang/trap immediately e) dd if=3D/dev/ad0 of=3D/dev/ad4 bs=3D8m -> hang/trap immediately After looking up to cvs-web with recent changes to promise chipsets I've found out that Soren changed something in the end of February, so I rebuile= d my system updated it to FreeBSD 6.1-PRERELEASE #0: Tue Mar 14 11:07:49 MSK 2006 2) And I've have to report that everything runs ( i mean hangs ) the same way as before but sometimes there is a trap - not just dead hang. I'd really like to help this debugged. So I'll follow instructions on dump/debug and stuff to developer. See my `dmesg` below. Copyright (c) 1992-2006 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.1-PRERELEASE #0: Tue Mar 14 11:07:49 MSK 2006 root@blablabla.bla:/usr/obj/usr/src/sys/FOORY WARNING: MPSAFE network stack disabled, expect reduced performance. link_elf: symbol iicbus_intr undefined KLD file pcf.ko - could not finalize loading Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium/P55C (233.86-MHz 586-class CPU) Origin =3D "GenuineIntel" Id =3D 0x543 Stepping =3D 3 Features=3D0x8001bf real memory =3D 134217728 (128 MB) avail memory =3D 125788160 (119 MB) Intel Pentium detected, installing workaround for F00F bug npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 1.1 on pci0 ata0: on atapci0 ata1: on atapci0 uhci0: port 0x6000-0x601f irq 11 at device 1.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered intpm0: port 0x5c00-0x5c0f irq = 9 at device 1.3 on pci0 intpm0: I/O mapped 5c00 intpm0: intr IRQ 9 enabled revision 0 intpm0: [GIANT-LOCKED] intsmb0: on intpm0 smbus1: on intsmb0 smb0: on smbus1 intpm0: PM I/O mapped 5800 pci0: at device 9.0 (no driver attached) fxp0: port 0x6800-0x683f mem 0xe1221000-0xe1221fff,0xe1000000-0xe10fffff irq 12 at device 10.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:04:ac:13:ae:e6 fxp0: [GIANT-LOCKED] fxp1: port 0x6c00-0x6c1f mem 0xe1220000-0xe1220fff,0xe1100000-0xe11fffff irq 9 at device 11.0 on pci0 miibus1: on fxp1 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:04:ac:25:54:a4 fxp1: [GIANT-LOCKED] atapci1: port 0x7000-0x707f,0x7400-0x74ff mem 0xe1222000-0xe1222fff,0xe1200000-0xe121ffff irq 10 at device 12.0 on pci0 ata2: on atapci1 ata3: on atapci1 ata4: on atapci1 ata5: on atapci1 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xcdfff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 atkbd0: [GIANT-LOCKED] ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: on ppc0 ppbus0: IEEE1284 device found /NIBBLE/ECP Probing for PnP devices on ppbus0: ppbus0: PRINTER MLC,PCL,PJL lpt0: on ppbus0 lpt0: Interrupt-driven port pcfclock0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A speaker0: at port 0x61 on isa0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) speaker1: at port 0x61 on isa0 speaker1: Already attached! device_attach: speaker1 attach returned 6 unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) ugen0: American Power Conversion Smart-UPS 750 FW:651.12.I USB FW:4.2, rev 1.10/0.06, addr 2 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to deny, logging limited to 10 packets/entry by default ad0: 32253MB at ata0-master UDMA33 ad4: 238475MB at ata2-master SATA300 Trying to mount root from ufs:/dev/ad0s1a -- Truly yours, Mikhail Manuilov