Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD-8.xx fails to boot on ultra 45



Hi,

This is  a dump from the serial-console output.
I attached a breakpoint to auacer_attach. Got a software initiated reset when hitting the breakpoint...


Sun Ultra 45 Workstation, No Keyboard
Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.30.4, 5120 MB memory installed, Serial #77309522.
Ethernet address 0:14:4f:9b:a6:52, Host ID: 849ba652.



Rebooting with command: boot cdrom netbsd -d                         
Boot device: /pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/cdrom@0,0:f  File and args: netbsd -d
NetBSD IEEE 1275 Multi-FS Bootblock
Version $NetBSD: bootblk.fth,v 1.15 2015/08/20 05:40:08 dholland Exp $
>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.19 (Tue Jul 17 14:59:51 UTC 2018)
=0x935448
Loading netbsd: 9655304+628808+342696 [679848+444738]=0xe00588
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
    2018 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 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018
        mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc64/compile/GENERIC
total memory = 5120 MB
avail memory = 5008 MB
running cgd selftest aes-xts-256 aes-xts-512 done
Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x4:        nop
db{0}> b auacer_attach
b auacer_attach
db{0}>
Already set.
db{0}> c
c

mainbus0 (root): SUNW,A70 (Sun Ultra 45 Workstation): hostid 849ba652
cpu0 at mainbus0: SUNW,UltraSPARC-IIIi @ 1600 MHz, CPU id 0
cpu0: manuf 3e, impl 16, mask 34
cpu0: system tick frequency 20 MHz
cpu0: 32K instruction (32 b/l), 64K data (32 b/l), 1024K external (64 b/l)
memory-controller at mainbus0 not configured
pyro0 at mainbus0: "Fire", rev 3, ign 780, bus A 2 to 12
pyro0: pci0 at pyro0
ppb0 at pci0 dev 0 function 0: PLX Technology product 8532 (rev. 0xbb)
ppb0: PCI Express capability version 1 <Upstream Port of PCI-E Switch>
pci1 at ppb0 bus 3
ppb1 at pci1 dev 1 function 0: PLX Technology product 8532 (rev. 0xbb)
ppb1: PCI Express capability version 1 <Downstream Port of PCI-E Switch> x2 @ 2.5GT/s
pci2 at ppb1 bus 4
ppb2 at pci2 dev 0 function 0: Acer Labs M5249 Hypertransport to PCI Bridge (rev. 0x00)
ppb2: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
pci3 at ppb2 bus 5
ohci0 at pci3 dev 28 function 0: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
ohci0: interrupting at ivec 780
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ohci1 at pci3 dev 28 function 1: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
ohci1: interrupting at ivec 780
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
ohci2 at pci3 dev 28 function 2: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
ohci2: interrupting at ivec 780
ohci2: OHCI version 1.0, legacy support
usb2 at ohci2: USB revision 1.0
ehci0 at pci3 dev 28 function 3: Acer Labs M5239 USB 2.0 Host Controller (rev. 0x01)
ehci0: interrupting at ivec 781
ehci0: 3 companion controllers, 3 ports each: ohci0 ohci1 ohci2
usb3 at ehci0: USB revision 2.0
auacer0 at pci3 dev 29 function 0Breakpoint in pid 0.1 (system) at       netbsd:auacer_attach:   save            %
sp, -0x140, %sp
db{0}>
: Acer Labs M5455 Audio controller
auacer0: interrupting at ivec 785
auacer0: ac97: Analog Devices AD1981B codec; headphone, 20 bit DAC, no 3D stereo
auacer0: ac97: ext id 0x601<AC97_22,AMAP,VRA>
audio0 at auacer0: full duplex, playback, capture, mmap, independent

SIR

ERROR: Software Initiated Reset has occurred.

WARNING: sync callback did not work.

reset reason: 0000.0000.0000.0001
Fire TLU-A OE Status Clear: 0003.0100.0000.0100
Fire TLU-B OE Status Clear: 0000.0100.0000.0100
@(#)OBP 4.30.4 2009/08/19 07:14 Sun Ultra 45 Workstation



On Tue, Mar 5, 2019 at 7:57 AM Martin Husemann <martin%duskware.de@localhost> wrote:
On Mon, Mar 04, 2019 at 08:56:08PM +0100, Magnus Lindholm wrote:
> Hi,
>
> I read in the mail archives that there are known issues with booting NetBSD
> 8.0 on the Sun Ultra-45. I tried booting the NetBSD-8.99.35 iso and it also
> fails. I get to the point where the audio driver is loaded, then the system
> freezes. In the previous mail thread the kernel stack space usage was
> suspected to cause this. Any news on this issue? If I want to run NetBSD on
> my Ultra-45 should I install an older version of NetBSD and then try to
> build a more recent kernel with increased kernel stack space?

I don't have a U45 myself, can you help me understand the stack issue?
I have no problem bumping it up in general, but first would like to see
what actually causes the issue and if there is a better fix.

Which audio driver does attach on the U45?

Can you boot into ddb (Stop-A after the memory test and then "boot netbsd -d"),
try to set a breakpoint on that audio drivers attach function, e.g. like:

  db> b autri_attach
  db> c

and when it hits that breackpoint show the output of

  db> bt

and

  db> mach stack

please? Photos of the first page are fine, full captured output from serial
console would be even better.

Thanks!

Martin


Home | Main Index | Thread Index | Old Index