From owner-freebsd-current@FreeBSD.ORG Tue Dec 7 23:26:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B725C16A4CE for ; Tue, 7 Dec 2004 23:26:35 +0000 (GMT) Received: from hq.sectorb.msk.ru (petaflop.b.gz.ru [217.67.124.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ED3943D67 for ; Tue, 7 Dec 2004 23:26:31 +0000 (GMT) (envelope-from chinhngt@sectorb.msk.ru) Received: from unix.local (unix.local [172.16.12.120]) by hq.sectorb.msk.ru (Postfix) with ESMTP id 09A444106 for ; Wed, 8 Dec 2004 02:26:29 +0300 (MSK) Date: Wed, 8 Dec 2004 02:26:30 +0300 (MSK) From: Nguyen Tam Chinh X-X-Sender: chinhngt@unix.local To: current@freebsd.org Message-ID: <20041208020510.W39053@unix.local> Keywords: 216091683 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: [READ_DMA again] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 07 Dec 2004 23:26:35 -0000 Hi all, I know that there're many discussions about this, but I still want to take a note more here. I've just cvsup and update world and kernel this afternoon. ---------------- %uname -a FreeBSD unix.hackers 6.0-CURRENT FreeBSD 6.0-CURRENT #8: Tue Dec 7 22:07:14 MSK 2004 ---------------- On the FreeBSD beta-6 and 5.3-REL the problems of READ_DMA, WRITE_DMA very often occured and many times they made the system hang! The 5.2.1 also met the "*_DMA" problem, but I'm sure all is okay, my computer still worked. Then I decided to go on to 6.0-CURRENT, with the hope that someone will fix this problem. And as you see, it is not better. After producing some messages like: ------------ Dec 8 00:29:39 unix kernel: ad2: TIMEOUT - READ_DMA retrying (2 retries left) LBA=163544546 Dec 8 00:29:39 unix kernel: ad2: FAILURE - READ_DMA timed out Dec 8 00:29:39 unix kernel: g_vfs_done():ad2s3[READ(offset=20811415552, length=16384)]error = 5 ------------ the computer hanged immediately. Just that. Using atacontrol to turn the chanel to PIO4, for example, didn't help, errors like "READ_???" or "WRITE_???" still there, and the system will hang again. What can be the problem here? May be it is because i put an ATA-133 HDD in an old ATA66 only computer? dmesg here: ----------------------------------------------------------------------- %dmesg 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 6.0-CURRENT #8: Tue Dec 7 22:07:14 MSK 2004 root@unix.hackers:/mnt/unix/Temp/obj/usr/src/sys/kernel Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Celeron (730.97-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383fbff real memory = 267386880 (255 MB) avail memory = 256503808 (244 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: mem 0x40300000-0x4037ffff,0x44000000-0x47ffffff irq 9 at device 2.0 on pci0 pcib1: at device 30.0 on pci0 pci2: on pcib1 rl0: port 0x1000-0x10ff mem 0x40000000-0x400000ff irq 5 at device 9.0 on pci2 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:10:b5:eb:df:f7 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x2460-0x246f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 31.2 (no driver attached) pci0: at device 31.5 (no driver attached) cpu0 on motherboard orm0: at iomem 0xe0000-0xeffff,0xc0000-0xc7fff on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 730967047 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 initialized, divert loadable, rule-based forwarding disabled, default to accept, logging disabled ad0: 9541MB [19386/16/63] at ata0-master UDMA66 ad2: 117246MB [238216/16/63] at ata1-master UDMA66 kern_symlink = 0 Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted ----- With best regards, | The Power to Serve Nguyen Tam Chinh | http://www.FreeBSD.org Loc: sp.cs.msu.ru | http://chinhngt.svmgu.com | http://www.gnu.org/copyleft/copyleft.html