Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2002 00:07:34 +0100
From:      Jesper Skriver <jesper@FreeBSD.org>
To:        Steve Barkey <sbarkey@alexin.ca>
Cc:        freebsd-sparc@freebsd.org, sos@FreeBSD.org
Subject:   Re: ATA problems on sparc64 (U5 at least)
Message-ID:  <20020330000734.C25447@FreeBSD.org>
In-Reply-To: <6F23C7A733C4E94DB92C77EF1C6DA4D90DFD8D@iron.alexin.ca>; from sbarkey@alexin.ca on Fri, Mar 29, 2002 at 03:13:01PM -0500
References:  <6F23C7A733C4E94DB92C77EF1C6DA4D90DFD8D@iron.alexin.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <CMD 646 ATA controller> 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 <ST39111A> [17662/16/63] at ata2-master WDMA2
acd0: CDROM <CRD-8322B> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020330000734.C25447>