From owner-freebsd-questions@FreeBSD.ORG Tue Apr 20 01:03:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03F5016A4F2 for ; Tue, 20 Apr 2004 01:03:44 -0700 (PDT) Received: from null.rsn.bth.se (null.rsn.bth.se [194.47.142.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE63043D31 for ; Tue, 20 Apr 2004 01:03:42 -0700 (PDT) (envelope-from erlis@linux.nu) Received: by null.rsn.bth.se (Postfix, from userid 65534) id D92D92C00D6; Tue, 20 Apr 2004 10:03:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by null.rsn.bth.se (Postfix) with ESMTP id 1D2032C00D7 for ; Tue, 20 Apr 2004 10:03:39 +0200 (CEST) Received: from webmail.rsn.bth.se (localhost [127.0.0.1]) by null.rsn.bth.se (Postfix) with SMTP id 5B9762C00D6 for ; Tue, 20 Apr 2004 10:03:30 +0200 (CEST) Received: from 81.228.57.212 (SquirrelMail authenticated user erlis) by webmail.rsn.bth.se with HTTP; Tue, 20 Apr 2004 10:03:30 +0200 (CEST) Message-ID: <64057.81.228.57.212.1082448210.squirrel@webmail.rsn.bth.se> Date: Tue, 20 Apr 2004 10:03:30 +0200 (CEST) From: "Fredrik Erlandsson" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Virus-Scanned: by amavisd-new-20030616-p7 on null.rsn.bth.se X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on null.rsn.bth.se Subject: Bad s-ata driver or currupt hardware X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 08:03:44 -0000 I have a very strange problem. I can't copy large files localy on the harddrive, the original and the new file is not the same. It does not occor all the time but frequently enought to be very annoying. The system is a brand new Amd Duron with Kingston memmory. Example: dd if=/dev/urandom of=~/test.fil bs=100000000 count=1; time cp test.fil tmp/test.fil.copy;diff test.fil tmp/test.fil.copy 1+0 records in 1+0 records out 100000000 bytes transferred in 7.351899 secs (13601928 bytes/sec) real 0m3.438s user 0m0.024s sys 0m1.224s Binary files test.fil and tmp/test.fil.copy differ My /var/run/dmesg.boot: Copyright (c) 1992-2004 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.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a35000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a35244. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Duron(tm) processor (1202.73-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 Features=0x383fbff AMD Features=0xc0400000 real memory = 268369920 (255 MB) avail memory = 251039744 (239 MB) ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fdc50 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: possible interrupts: 20 pcib0: slot 15 INTB routed to irq 20 via \\_SB_.PCI0.ALKA pcib0: possible interrupts: 21 pcib0: slot 16 INTA routed to irq 21 via \\_SB_.PCI0.ALKB pcib0: possible interrupts: 21 pcib0: slot 16 INTA routed to irq 21 via \\_SB_.PCI0.ALKB pcib0: possible interrupts: 21 pcib0: slot 16 INTB routed to irq 21 via \\_SB_.PCI0.ALKB pcib0: possible interrupts: 21 pcib0: slot 16 INTB routed to irq 21 via \\_SB_.PCI0.ALKB pcib0: possible interrupts: 21 pcib0: slot 16 INTC routed to irq 21 via \\_SB_.PCI0.ALKB agp0: mem 0xe0000000-0xe7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci0: at device 8.0 (no driver attached) xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xc000-0xc07f mem 0xec000000-0xec00007f irq 18 at device 10.0 on pci0 xl0: Ethernet address: 00:50:da:4d:76:f8 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci0: port 0xd800-0xd8ff,0xd400-0xd40f,0xd000-0xd003,0xcc00-0xcc07,0xc800-0xc803,0xc400-0xc407 irq 20 at device 15.0 on pci0 atapci0: [MPSAFE] ata2: at 0xc400 on atapci0 ata2: [MPSAFE] ata3: at 0xcc00 on atapci0 ata3: [MPSAFE] atapci1: port 0xdc00-0xdc0f at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci1 ata1: [MPSAFE] uhci0: port 0xe000-0xe01f irq 21 at device 16.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe400-0xe41f irq 21 at device 16.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xe800-0xe81f irq 21 at device 16.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xec00-0xec1f irq 21 at device 16.3 on pci0 usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered uhub3: port error, restarting port 1 uhub3: port error, giving up port 1 uhub3: port error, restarting port 2 uhub3: port error, giving up port 2 pci0: at device 16.4 (no driver attached) isab0: at device 17.0 on pci0 isa0: on isab0 fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: