Re: marvell relation support 20100602

KIYOHARA Takashi <[email protected]> Thu, 10 Jun 2010 16:44:46 +0900 (JST)
Newsgroups gmane.os.netbsd.ports.ofppc
Message-ID <[email protected]>
Hi! Matt,


From: Matt Thomas <[email protected]>
Date: Wed, 9 Jun 2010 22:55:26 -0700

> 
> On Jun 3, 2010, at 12:56 PM, Frank Wille wrote:
> 
> > KIYOHARA Takashi wrote:
> > 
> >> I make MV64361 support patch again.  It is working on PegasosII.
> >> It support PCI and Gigabit-Ethernet.  Maybe, this is smarter than
> >> pegasospci.
> >> [...]
> >> Please test this patch.
> > 
> > This patch seems to work great! Will continue testing.
> 
> Maybe for you but for me it failed badly (the dmesg of the previous boot
> is at 3am-software.com/dmesg/pegasos.txt ):
> 
> NetBSD 5.99.30 (GENERIC) #0: Wed Jun  9 22:41:59 PDT 2010
> 	[email protected]:/u2/netbsd-powerpc/ofppc/obj/sys/arch/ofppc/compile/GENERIC
> Model: Pegasos2

 :

> cpu0: L3 cache 1 MB 128B/line
> biomask 0 netmask 0 ttymask 0
> Kernelized RAIDframe activated
> boot device: <unknown>
> root device: reboot

hmm...

Can you try?

  # cd /u2/netbsd-powerpc/ofppc/obj/sys/arch/ofppc/compile/GENERIC
  # ls gt_mainbus.*
  gt_mainbus.d gt_mainbus.o

Also reboots your machine.  You type on OpenFirmware(SmartFirmware? ;).

  > ls /

Can you see pci and ethernet as a result?  gt checks these to exist in
arch/ofppc/pci/gt_mainbus.c::gt_match().
(in my memory:  /ethernet, /pci@80000000, /pci@c0000000)

Or, can the reason why gt is not matched by your PegasosII be examined?

Thanks,
--
kiyohara