From owner-freebsd-stable Sat Apr 20 10:21:55 2002 Delivered-To: freebsd-stable@freebsd.org Received: from host217-41-2-91.in-addr.btopenworld.com (host217-41-2-91.in-addr.btopenworld.com [217.41.2.91]) by hub.freebsd.org (Postfix) with ESMTP id 0ECE837B417; Sat, 20 Apr 2002 10:21:43 -0700 (PDT) Received: by host217-41-2-91.in-addr.btopenworld.com (Postfix, from userid 1001) id 5DDAD48C; Sat, 20 Apr 2002 18:22:02 +0100 (BST) Date: Sat, 20 Apr 2002 18:22:02 +0100 From: Dominic Marks To: freebsd-stable@freebsd.org Cc: sos@freebsd.in-addr.btopenworld.com, asmodai@freebsd.org Subject: ATA changes in recent -STABLE Message-ID: <20020420182202.A56732@host217-41-2-91.in-addr.btopenw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey, Is anyone else seeing messages about DMA alignment on their console? ad0: non aligned DMA transfer attempted I'm getting a lot of these messages. The source is sys/dev/ata/ata-dma.c, line 1103: if (((uintptr_t)data & ch->alignment) || (count & ch->alignment)) { ata_printf(ch, device, "non aligned DMA transfer attempted\n"); return -1; } I'm getting a lot of these, most seem to have appeared when using cvs to update my source and ports layouts. There doesn't appear to be a negative impact (im considering reboots/data loss as negative and performance as secondary). Any suggestions on what I should/could do about this, if anything. There doesn't seem to be a mention of it in the ata manual page. Other information available on request. Thanks -- Dominic uname -a: FreeBSD gallium 4.5-STABLE FreeBSD 4.5-STABLE #5: Thu Apr 18 13:05:54 BST 2002 dom@gallium:/usr/obj/usr/src/sys/GALLIUM i386 dmesg: Copyright (c) 1992-2002 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 4.5-STABLE #5: Thu Apr 18 13:05:54 BST 2002 dom@gallium:/usr/obj/usr/src/sys/GALLIUM Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (447.69-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 201326592 (196608K bytes) avail memory = 193060864 (188536K bytes) Preloaded elf kernel "kernel" at 0xc02d1000. Preloaded elf module "if_tun.ko" at 0xc02d109c. Preloaded elf module "if_xl.ko" at 0xc02d113c. Preloaded elf module "miibus.ko" at 0xc02d11dc. Preloaded elf module "snd_es137x.ko" at 0xc02d127c. Preloaded elf module "snd_pcm.ko" at 0xc02d1320. Preloaded elf module "usb.ko" at 0xc02d13c0. Preloaded elf module "ums.ko" at 0xc02d145c. Pentium Pro MTRR support enabled Using $PIR table, 11 entries at 0xc00fdf10 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x10e0-0x10ef at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x10c0-0x10df irq 9 at device 7.2 on pci0 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 ums0: Microsoft Microsoft Wheel Mouse Optical\M-., rev 1.10/1.21, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. chip1: port 0x7000-0x700f at device 7.3 on pci0 pcm0: port 0x1080-0x10bf irq 11 at device 12.0 on pci0 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x1000-0x107f mem 0xf4000000-0xf400007f irq 11 at device 14.0 on pci0 xl0: Ethernet address: 00:01:02:45:63:95 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: