Port-sparc64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Netra X1 with WD0 and AcerIDE
On Feb 7, 2011, at 22:33 , Takeshi Nakayama wrote:
> It's strange not showing the workaround message. Dose your tree
> actually have the workaround code?
>
> The workaround code is now in netbsd-5 branch (not in netbsd-5-0,
> netbsd-5-1), so could you try the GENERIC kernel in the latest
> daily build of netbsd-5 branch, then show me the full dmesg output.
>
> http://nyftp.netbsd.org/pub/NetBSD-daily/netbsd-5/
Well, I think it turns out to be a "stupid user trick". I rebuilt
everything, including my own custom kernel, with a recent 5.1. But, I think
the generic I tried to boot was in fact an older one, around the 5.1 days. :-/
Extracting the more recent GENERIC and booting shows about what we'd expect,
and it seems to work properly. Sorry for the noise to the list.
On a separate note, though, when I tried a GENERIC kernel from the site you
liked to above, it doesn't boot. It hangs after attaching psycho0 (full dmesg
at end).
I looked to find that I still have a patch in my netbsd-5 tree that removes
some code. I'm sure there was a reason I did this, and I suspect it was
discussed on port-sparc64, but darned if I can remember it now:
diff -u -r1.91 psycho.c
--- sys/arch/sparc64/dev/psycho.c 18 Oct 2008 03:31:10 -0000 1.91
+++ sys/arch/sparc64/dev/psycho.c 8 Feb 2011 04:22:39 -0000
@@ -519,9 +519,11 @@
psycho_set_intr(sc, 15, psycho_bus_a,
&sc->sc_regs->pciaerr_int_map,
&sc->sc_regs->pciaerr_clr_int);
+if (0) {
psycho_set_intr(sc, 15, psycho_powerfail,
&sc->sc_regs->power_int_map,
&sc->sc_regs->power_clr_int);
+}
psycho_register_power_button(sc);
if (sc->sc_mode != PSYCHO_MODE_SABRE) {
/* sabre doesn't have these interrupts */
I'll have to go back through my mail and see if I can find out why this
affects me, but must not affect everyone....
- Chris
---8<---8<---
Executing last command: boot netbsd.generic -v
Boot device: /pci@1f,0/ide@d/disk@0,0 File and args: netbsd.generic -v
NetBSD IEEE 1275 Multi-FS Bootblock
Version $NetBSD: bootblk.fth,v 1.12 2010/03/11 19:28:55 eeh Exp $
>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.16
=0x859850
Loading netbsd.generic: 7132144+366608+442304 [539808+349928]=0x99f3c0
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 5.1_STABLE (GENERIC) #0: Tue Feb 8 00:36:19 UTC 2011
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5/sparc64/201102071700Z-obj/home/builds/ab/netbsd-5/src/sys/arch/sparc64/compile/GENERIC
total memory = 640 MB
avail memory = 614 MB
mainbus0 (root): SUNW,UltraAX-i2 (Sun Netra X1): hostid 8305e47a
cpu0 at mainbus0: SUNW,UltraSPARC-IIe @ 500 MHz, UPA id 0
cpu0: 16K instruction (32 b/l), 16K data (32 b/l), 256K external (64 b/l)
psycho0 at mainbus0
psycho0: SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 0; PCI bus 0
lom>reset
LOM event: +12d+1h11m13s host reset
Home |
Main Index |
Thread Index |
Old Index