NetBSD-Bugs archive

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

port-sparc64/43787: sparc64 viaide panic



>Number:         43787
>Category:       port-sparc64
>Synopsis:       sparc64 panics upon attaching viaide0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 21 18:15:00 +0000 2010
>Originator:     T. M. Pederson
>Release:        NetBSD 5.99.35 (20100708)
>Organization:
>Environment:
System: NetBSD vision.disfinite.org 5.99.35 NetBSD 5.99.35 (GENERIC) #0: Fri 
Jul  9 01:57:14 UTC 2010 
builds%b7.netbsd.org@localhost:/home/builds/ab/HEAD/sparc64/201007080000Z-obj/home/builds/ab/HEAD/src/sys/arch/sparc64/compile/GENERIC
Architecture: sparc64
Machine: sparc64
System: NetBSD vision.disfinite.org 5.99.35 NetBSD 5.99.35 (GENERIC) #0: Fri Jul
>Description:
        When trying to boot a sparc64 system that has a viaide (viasata) PCI
        controller installed, the system panics upon mounting the device. Note
        that this is independent of whether drive(s) are attached. I've also
        seen this with the release version of the system; debugging details
        were easist to get with a -current.
        * DMESG/panic:
        NetBSD 5.99.35 (GENERIC) #0: Fri Jul  9 01:57:14 UTC 2010
                
builds%b7.netbsd.org@localhost:/home/builds/ab/HEAD/sparc64/201007080000Z-obj/home/builds/ab/HEAD/src/sys/arch/sparc64/compile/GENERIC
        total memory = 512 MB
        avail memory = 489 MB
        mainbus0 (root): SUNW,Ultra-5_10 (Sun Ultra 5/10 UPA/PCI): hostid 
80d1719f
        cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 440 MHz, UPA id 0
        cpu0: 16K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 
b/l)
        psycho0 at mainbus0 addr 0xfffc4000
        psycho0: SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI 
bus 0
        pci0 at psycho0
        ppb0 at pci0 dev 1 function 1: Sun Microsystems Simba PCI Bridge (rev. 
0x13)
        pci1 at ppb0 bus 1
        ebus0 at pci1 dev 1 function 0
        ebus0: Sun Microsystems PCIO Ebus2, revision 0x01
        auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 
72c000-72c003, 72f000-72f003
        power at ebus0 addr 724000-724003 ipl 37 not configured
        SUNW,pll at ebus0 addr 504000-504002 not configured
        sab0 at ebus0 addr 400000-40007f ipl 43: rev 3.2
        sabtty0 at sab0 port 0: console i/o
        sabtty1 at sab0 port 1
        com0 at ebus0 addr 3083f8-3083ff ipl 41: ns16550a, working fifo
        kbd0 at com0
        com1 at ebus0 addr 3062f8-3062ff ipl 42: ns16550a, working fifo
        ms0 at com1
        wsmouse0 at ms0 mux 0
        lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ipl 34
        fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl 
39 not configured
        clock0 at ebus0 addr 0-1fff: mk48t59
        flashprom at ebus0 addr 0-fffff not configured
        audiocs0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, 
722000-722003 ipl 35 ipl 36: CS4231A
        audio0 at audiocs0: full duplex, playback, capture
        hme0 at pci1 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
        hme0: interrupting at ivec 3021
        hme0: Ethernet address 08:00:20:d1:71:9f
        nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
        nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
        machfb0 at pci1 dev 2 function 0: ATI Technologies 3D Rage Pro (rev. 
0x5c)
        machfb0: aperture size 01000000
        machfb0: 16 MB aperture at 0xe1000000, 4 KB registers at 0xe2000000
        machfb0: 128 KB ROM at 0xe1020000
        CLOCK_CNTL: 00210a00
        using clock 0
        ref_div: 33
        mclk_fb_div: 228
        machfb0: 4096 KB SGRAM 98.924 MHz, maximum RAMDAC clock 230 MHz
        post_div: 2 log2_post_div: 1 mclk_div: 228
        vclk_ctl: 03
        machfb0: initializing the DSP
        machfb0: initial resolution 1152x864 at 8 bpp
        machfb0: attached to /dev/fb0
        post_div: 2 log2_post_div: 1 mclk_div: 228
        vclk_ctl: 03
        machfb0: initializing the DSP
        wsdisplay1 at machfb0 kbdmux 1
        direct rendering for machfb0 unsupported
        cmdide0 at pci1 dev 3 function 0: CMD Technology PCI0646 (rev. 0x03)
        cmdide0: primary channel configured to native-PCI mode
        cmdide0: using ivec 1820 for native-PCI interrupt
        atabus0 at cmdide0 channel 0
        cmdide0: secondary channel configured to native-PCI mode
        atabus1 at cmdide0 channel 1
        ppb1 at pci0 dev 1 function 0: Sun Microsystems Simba PCI Bridge (rev. 
0x13)
        pci2 at ppb1 bus 2
        uhci0 at pci2 dev 2 function 0: VIA Technologies VT83C572 USB 
Controller (rev. 0x62)
        uhci0: interrupting at ivec 14
        usb0 at uhci0: USB revision 1.0
        uhci1 at pci2 dev 2 function 1: VIA Technologies VT83C572 USB 
Controller (rev. 0x62)
        uhci1: interrupting at ivec 15
        usb1 at uhci1: USB revision 1.0
        ehci0 at pci2 dev 2 function 2: VIA Technologies VT8237 EHCI USB 
Controller (rev. 0x65)
        ehci0: interrupting at ivec 16
        ehci0: dropped intr workaround enabled
        ehci0: companion controllers, 2 ports each: uhci0 uhci1
        usb2 at ehci0: USB revision 2.0
        viaide0 at pci2 dev 2 function 3panic: psycho0: PCI bus A error AFAR 
1fff1400035 AFSR 2000000000
        Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x4:        nop
        * ddb/ps:
        PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
        0       16 2   0       200            b758400            atabus1
        0       15 2   0       200            b7587e0            atabus0
        0       14 2   0       200            b758bc0             sysmon
        0       13 2   0       200            b758fa0         pmfsuspend
        0       12 2   0       200            b759380           pmfevent
        0       11 2   0       200            b759760           nfssilly
        0       10 2   0       200            b759b40            cachegc
        0        9 2   0       200            b752000              vrele
        0        8 2   0       200            b7523e0          modunload
        0        7 2   0       200            b7527c0            xcall/0
        0        6 2   0       200            b752ba0          softser/0
        0        5 2   0       200            b752f80          softclk/0
        0        4 2   0       200            b753360          softbio/0
        0        3 2   0       200            b753740          softnet/0
        0        2 1   0       201            b753b20             idle/0
        0    >   1 7   0       200            1843d20            swapper
        * ddb/bt:
        psycho_bus_a(b9e5ac0, d, e0017ed0, 1, 135f740, 1000000) at 
netbsd:psycho_bus_a+0x30
        sparc_interrupt(0, 5, 1, 1c04a28, 1c047f0, 0) at 
netbsd:sparc_interrupt+0x1e8
        kprintf(18a3648, 1843d20, ff0f0000000001, 18a3648, 64, 0) at 
netbsd:kprintf+0xa0c
        aprint_normal_internal(0, 1715dc0, 1c04a18, 18a3648, 73, 0) at 
netbsd:aprint_normal_internal+0x6c
        aprint_normal(1715dc0, 2, 3, b73fa44, 3, b73fa44) at 
netbsd:aprint_normal+0x28
        pciprint(1c04cc8, 0, bb57094, 18a1738, 18a1400, 20) at 
netbsd:pciprint+0x44
        config_attach_loc(bbf1840, 1807850, 1c04d2c, 1c04cc8, 1340800, 1340800) 
at netbsd:config_attach_loc+0xc4
        pci_probe_device(bb52000, f0081cf800021300, 0, 0, 300, 0) at 
netbsd:pci_probe_device+0x2c0
        sparc64_pci_enumerate_bus(bb52000, 169f030, 0, 21, 40, 184a000) at 
netbsd:sparc64_pci_enumerate_bus+0x348
        pcirescan(0, 16d8928, 169f030, bb57097, 0, bb57097) at 
netbsd:pcirescan+0x18
        pciattach(1, bb57060, 1c05240, 18a1738, 1808ea0, 16d8800) at 
netbsd:pciattach+0x15c
        config_attach_loc(bb57060, 18074f0, 1, 1c05240, 0, 1345280) at 
netbsd:config_attach_loc+0x188
        ppbattach(baa7060, bad9c40, 1c05418, 18a1738, 1808ea0, 16d8800) at 
netbsd:ppbattach+0x12c
        config_attach_loc(bad9c40, 1807880, 1, 1c05418, 0, 1340800) at 
netbsd:config_attach_loc+0x188
        pci_probe_device(baa2000, f00600d400000800, 0, 0, 0, 0) at 
netbsd:pci_probe_device+0x2c0
        sparc64_pci_enumerate_bus(baa2000, 169f030, 0, 42, 40, 184a000) at 
netbsd:sparc64_pci_enumerate_bus+0x348
        pcirescan(0, 16d8928, 169f030, baa7097, 0, baa7097) at 
netbsd:pcirescan+0x18
        pciattach(1, baa7060, 1c05898, 18a1738, 18a1400, 16d8800) at 
netbsd:pciattach+0x15c
        config_attach_loc(baa7060, 1807490, 1, 1c05898, 0, 135f000) at 
netbsd:config_attach_loc+0x188
        psycho_attach(b783b00, b9e5ac0, 1c05ab0, 18a1738, 18a1400, 16d8800) at 
netbsd:psycho_attach+0x54c
        config_attach_loc(b9e5ac0, 1807430, 1, 1c05ab0, 0, 108b320) at 
netbsd:config_attach_loc+0x188
        mainbus_attach(0, b783b00, 0, 18a1738, 16e3400, 108b000) at 
netbsd:mainbus_attach+0x4a8
        config_attach_loc(b783b00, 1806f80, 1, 0, 0, 7) at 
netbsd:config_attach_loc+0x188
        cpu_configure(16ffc00, 1275640, 0, b749f80, 100, 800) at 
netbsd:cpu_configure+0x20c
        main(0, 11fcb00, fffa98e0, f0066d2c, fffffffff006cd6c, fffa9e80) at 
netbsd:main+0x2b4
        cpu_initialize(f0066d2c, 113400, 112f38, fffa9df8, 1, fffa9c78) at 
netbsd:cpu_initialize+0xe8
>How-To-Repeat:
        Boot sparc64 with a viaide(4) controller installed.
>Fix:
        None known
        The ystem boots if the viaide(4) controller is removed.



Home | Main Index | Thread Index | Old Index