Port-powerpc archive

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

Re: marvell relation support 20100413



KIYOHARA Takashi wrote:

> [...]
> Next, Support gt on ofppc with PegasosII.
> Remove pegasospci and add gtpci@gt.  Also support mvgbe.
>
>
ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/orion_nas/ofppc-gt-20100413.diff

I just tested your patch with my Pegasos2/G3 and it either runs into a
kernel panic or freezes the machine after enabling the interrupts.

My dmesg:

---8<---
NetBSD 5.99.28 (PEGASOS) #2: Fri Apr 30 20:12:38 CEST 2010
       
frank%jaana.owl.de@localhost:/home/frank/netbsd/current/src/sys/arch/ofppc/compile/obj/PEGASOS
Model: Pegasos2
total memory = 512 MB
avail memory = 483 MB
bootpath: /pci@80000000/ethernet@D/netbsd.ofppc
mainbus0 (root)
rtas0 at mainbus0: version 1, entry @pa 0x49d000
cpu0 at mainbus0: 750 (Revision 3.1), ID 0 (primary)
cpu0: HID0 0x8090c0ac<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,ABE,BHT>, powersave: 1
cpu0: 600.00 MHz, 512KB WB with ECC L2 cache
cpu0: L1 I-cache 32 KB 32B/line, D-cache 32 KB 32B/line
cpu0: L2 cache 128 KB 32B/line
gt0 at mainbus0: MV6436x Discovery II
gt0: id 3, 60x bus wdog=0x60ffffff,0
gt0: pipeline aack-delay conf-sb-dis
gtidmac at gt0 unit 0 not configured
gtmpsc at gt0 unit 0 not configured
gtmpsc at gt0 unit 1 not configured
gtpci0 at gt0 unit 0: Marvell PCI Interface
pci0 at gtpci0
pchb0 at pci0 dev 0 function 0
pchb0: Marvell MV6436x System Controller (rev. 0x03)
genfb0 at pci0 dev 8 function 0: ATI Technologies Radeon 9200SE 5964
genfb0: no console, unable to continue
gtpci1 at gt0 unit 1: Marvell PCI Interface
pci1 at gtpci1
pchb1 at pci1 dev 0 function 0
pchb1: Marvell MV6436x System Controller (rev. 0x03)
fwohci0 at pci1 dev 1 function 0: VIA Technologies VT6306 IEEE 1394 Host
Controller (rev. 0x46)
fwohci0: interrupting at irq 9
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:11:06:00:00:00:4b:2f
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
pcib0 at pci1 dev 12 function 0: VIA Technologies VT8231 PCI-ISA Bridge
(rev. 0x10)
viaide0 at pci1 dev 12 function 1
viaide0: VIA Technologies VT8231 ATA100 controller
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel interrupting at irq 15
atabus1 at viaide0 channel 1
uhci0 at pci1 dev 12 function 2: VIA Technologies VT83C572 USB Controller
(rev. 0x1e)
uhci0: interrupting at irq 9
usb0 at uhci0: USB revision 1.0
uhci1 at pci1 dev 12 function 3: VIA Technologies VT83C572 USB Controller
(rev. 0x1e)
uhci1: interrupting at irq 9
usb1 at uhci1: USB revision 1.0
VIA Technologies VT8231 Power Management Controller (miscellaneous bridge,
revision 0x10) at pci1 dev 12 function 4 not configured
auvia0 at pci1 dev 12 function 5: VIA Technologies VT82C686A AC'97 Audio
(rev 0x40)
auvia0: interrupting at irq 9
auvia0: ac97: SigmaTel STAC9766/67 codec; headphone, 20 bit DAC, 18 bit ADC,
SigmaTel 3D
auvia0: ac97: ext id 0x605<AC97_22,AMAP,SPDIF,VRA>
audio0 at auvia0: full duplex, playback, capture, mmap, independent
VIA Technologies VT82C686A MC-97 Modem Controller (miscellaneous
communications, revision 0x20) at pci1 dev 12 function 6 not configured
vr0 at pci1 dev 13 function 0: VIA Technologies VT6102 (Rhine II) 10/100
Ethernet (rev. 0x51)
vr0: interrupting at irq 9
vr0: Ethernet address: 00:0b:2f:44:xx:xx
rlphy0 at vr0 phy 16: RTL8201L 10/100 media interface, rev. 1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
com1: console
pckbc0 at isa0 port 0x60-0x64
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
attimer0: attached to pcppi0
gttwsi at gt0 unit 0 not configured
mvgbec0 at gt0 unit 0 offset 0x0000-0x3fff: Marvell Gigabit Ethernet
Controller
mvgbe at mvgbec0 port 0 not configured
mvgbe0 at mvgbec0 port 1 irq 9
mvgbe0: Ethernet address 00:0b:2f:7b:xx:xx
makphy0 at mvgbe0 phy 7: Marvell 88E1111 Gigabit PHY, rev. 1
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
mvgbe at mvgbec0 port 2 not configured
biomask 800005e netmask 800005e ttymask 800005e
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
ieee1394if0: bus manager 0
uhub0 at usb0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub1 at usb1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
---8<---

It's always at the same point. It works on your G4, so there might be a
problem with G3 machines?

One difference is that it reports
  gt0: id 3, 60x bus wdog=0x60ffffff,0
here, while it was "MPX bus" in your case. Could that be a problem?

Once I got a kernel panic it was a DSI exception in the USB driver code,
which always worked before. Strange...


Thanks for your efforts.

-- 
Frank Wille



Home | Main Index | Thread Index | Old Index