From owner-freebsd-sparc Fri Mar 29 15: 7:43 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from freesbee.wheel.dk (freesbee.wheel.dk [193.162.159.97]) by hub.freebsd.org (Postfix) with ESMTP id C167537B404; Fri, 29 Mar 2002 15:07:35 -0800 (PST) Received: by freesbee.wheel.dk (Postfix, from userid 1001) id A7C6C5F10; Sat, 30 Mar 2002 00:07:34 +0100 (CET) Date: Sat, 30 Mar 2002 00:07:34 +0100 From: Jesper Skriver To: Steve Barkey Cc: freebsd-sparc@freebsd.org, sos@FreeBSD.org Subject: Re: ATA problems on sparc64 (U5 at least) Message-ID: <20020330000734.C25447@FreeBSD.org> References: <6F23C7A733C4E94DB92C77EF1C6DA4D90DFD8D@iron.alexin.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <6F23C7A733C4E94DB92C77EF1C6DA4D90DFD8D@iron.alexin.ca>; from sbarkey@alexin.ca on Fri, Mar 29, 2002 at 03:13:01PM -0500 X-PGP-Fingerprint: 6B88 9CE8 66E9 E631 C9C5 5EB4 22AB F0EC F956 1C31 X-PGP-Public-Key: http://freesbee.wheel.dk/~jesper/gpgkey.pub Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Mar 29, 2002 at 03:13:01PM -0500, Steve Barkey wrote: > Heres a good question! > > I got the installation done. Everything's working pretty well with the > exception of the odd DISK ERROR I/O - my hdd is fine, must be the > softupdates? Any ideas? I see it on my U5 too, I think it must be a bug in the ATA driver with regard to either the ATA controller in these boxes, or to sparc64 in general. atapci0: port 0xc00020-0xc0002f,0xc00018-0xc0001b,0xc00010-0xc00017,0xc00008-0xc0000b,0xc00000-0xc00007 irq 32 at device 3.0 on pci2 ata2: at 0xc00000 on atapci0 ata3: at 0xc00010 on atapci0 ad0: 8693MB [17662/16/63] at ata2-master WDMA2 acd0: CDROM at ata3-master PIO4 ad0: READ command timeout tag=0 serv=0 - resetting ata2: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ata2: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ata2: resetting devices .. done ad0: READ command timeout tag=0 serv=0 - resetting ad0: trying fallback to PIO mode ata2: resetting devices .. done Hmm, havn't actually tried if it work after it reverted to PIO mode ... It actually seems to have helped, before it would hang hard everytime I untar'ed the ports .tgz file, now I can do it without the hang. root@sparc64# cat /boot/loader.conf hw.ata.ata_dma=0 Forces it to PIO mode for now ... ah no, the loader doesn't seem to be able to parse loader.conf Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 400MHz), No Keyboard OpenBoot 3.25, 512 MB (50 ns) memory installed, Serial #16330074. Ethernet address 8:0:20:f9:2d:5a, Host ID: 80f92d5a. Rebooting with command: boot /pci@1f,0/pci@1,1/ide@3/disk@0,0:a Boot device: /pci@1f,0/pci@1,1/ide@3/disk@0,0:a File and args: >> FreeBSD/sparc64 boot block Boot path: /pci@1f,0/pci@1,1/ide@3/disk@0,0:a Boot loader: /boot/loader Console: OpenFirmware console disk0 is /pci@1f,0/pci@1,1/ide@3/disk@0 FreeBSD/sparc64 loader bootpath="/pci@1f,0/pci@1,1/ide@3/disk@0,0:a" loaddev=disk0s0a: > \ <<<<<<<<<< \: unknown command <<<<<<<<<< notice these \ <<<<<<<<<< /boot/kernel/kernel data=0x201c08+0xdb918 syms=[0x8+0x3c360+0x8+0x2fc8a] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... nothing to autoload yet. jumping to kernel entry at 0x80030000. But it can still be set manually /boot/kernel/kernel data=0x201c08+0xdb918 syms=[0x8+0x3c360+0x8+0x2fc8a] Hit [Enter] to boot immediately, or any other key for command prompt. Type '?' for a list of commands, 'help' for more detailed help. OK set hw.ata.ata_dma=0 OK boot Does the trick, with this the box is stable again. > Also; Has anyone managed to get APACHE installed? What version what > ./configure switches did you use? It would be great if someone wrote > that up quick. havn't tried /Jesper -- Jesper Skriver, jesper(at)skriver(dot)dk - CCIE #5456 Work: Network manager @ AS3292 (Tele Danmark DataNetworks) Private: FreeBSD committer @ AS2109 (A much smaller network ;-) One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message