From owner-freebsd-bugs Sun Jan 14 1:30:32 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 02A5D37B402 for ; Sun, 14 Jan 2001 01:30:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0E9U2734275; Sun, 14 Jan 2001 01:30:02 -0800 (PST) (envelope-from gnats) Date: Sun, 14 Jan 2001 01:30:02 -0800 (PST) Message-Id: <200101140930.f0E9U2734275@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Soren Schmidt Subject: Re: kern/24320: DMA doesn't work with Alladain V and K6-2 Reply-To: Soren Schmidt Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/24320; it has been noted by GNATS. From: Soren Schmidt To: h-hoshi@venus.dti.ne.jp Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: kern/24320: DMA doesn't work with Alladain V and K6-2 Date: Sun, 14 Jan 2001 10:25:41 +0100 (CET) It seems h-hoshi@venus.dti.ne.jp wrote: I did a fix that has been committed to -current, MFC will follow shortly... > > >Number: 24320 > >Category: kern > >Synopsis: DMA doesn't work with Alladain V and K6-2 > >Confidential: no > >Severity: serious > >Priority: high > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Sun Jan 14 00:30:01 PST 2001 > >Closed-Date: > >Last-Modified: > >Originator: HOSHIMOTO, Hiroyuki > >Release: 4.2-STABLE > >Organization: > The University of Tokyo Hospital. > >Environment: > %uname -a > FreeBSD neko.funyafunya.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Wed Jan 10 22:00:2 > 5 JST 2001 mizuho@neko.funyafunya.com:/usr/src/sys/compile/NEKO i386 > % > > %dmesg > Copyright (c) 1992-2001 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.2-STABLE #0: Wed Jan 10 22:00:25 JST 2001 > mizuho@neko.funyafunya.com:/usr/src/sys/compile/NEKO > Timecounter "i8254" frequency 1193182 Hz > CPU: AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU) > Origin = "AuthenticAMD" Id = 0x580 Stepping = 0 > Features=0x8001bf > AMD Features=0x80000800 > real memory = 134217728 (131072K bytes) > avail memory = 127520768 (124532K bytes) > Preloaded elf kernel "kernel" at 0xc0321000. > md0: Malloc disk > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > ohci0: mem 0xebfef000-0xebfeffff irq > 10 at device 2.0 on pci0 > usb0: OHCI version 1.0, legacy support > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > chip1: at device 3.0 on pci0 > isab0: at device 7.0 on pci0 > isa0: on isab0 > xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xdf00-0xdf3f irq 9 at device 14.0 o > n pci0 > xl0: Ethernet address: 00:60:97:77:ef:41 > miibus0: on xl0 > nsphy0: on miibus0 > nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > atapci0: port 0xffa0-0xffaf irq 0 at device > 15.0 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > pci0: <3Dfx Voodoo graphics accelerator> at 16.0 > pci0: at 18.0 irq 11 > pci0: (vendor=0x1092, dev=0x9999) at 20.0 irq 5 > fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: at port 0x60,0x64 on isa0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: irq 12 on atkbdc0 > psm0: model IntelliMouse, device ID 3 > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > 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 > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode > ppbus0: IEEE1284 device found /NIBBLE/ECP > Probing for PnP devices on ppbus0: > ppbus0: MLC,PCL,PML > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > ad0: 6149MB [13328/15/63] at ata0-master UDMA33 > ad1: 1549MB [3148/16/63] at ata0-slave WDMA2 > ata1-master: Aladdin: two atapi devices on this channel, no DMA > acd0: CDROM at ata1-master using PIO4 > ata1-slave: Aladdin: two atapi devices on this channel, no DMA > afd0: 96MB [96/64/32] at ata1-slave using PIO0 > Mounting root from ufs:/dev/ad0s2a > ad0: READ command timeout tag=0 serv=0 - resetting > ata0: resetting devices .. done > ad0: READ command timeout tag=0 serv=0 - resetting > ata0: resetting devices .. done > ad0: READ command timeout tag=0 serv=0 - resetting > ata0: resetting devices .. done > ad0: READ command timeout tag=0 serv=0 - resetting > ad0: trying fallback to PIO mode > ata0: resetting devices .. done > % > >Description: > When DMA enabled ,my machine fails to read ata disk with dma mode on > startup, and fallback to PIO mode. > After falling back to PIO mode, the machine works fine . > > >How-To-Repeat: > Boot with ATA-DMA enabled KERNEL. > > >Fix: > > > >Release-Note: > >Audit-Trail: > >Unformatted: > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-bugs" in the body of the message > -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message