Subject: Re: trouble getting bus_dma(9) to work on a new port
To: None <tech-kern@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: tech-kern
Date: 08/21/2003 22:12:39
On Thu, Aug 21, 2003 at 07:02:01PM +0200, Jochen Kunz wrote:
> Hi.
> 
> I am working on a port of NetBSD to the Motorola PowerStack II. This is
> a PReP machine with OpenFirmWare. I did the port as a new platform for
> the already existing port-ofppc. PCI / ISA bus attachments and
> bus_space(9) are working. At the moment I am at the point where the
> kernel asks for the root device. Problem is that bus_dma(9) isn't
> working and I can't find where the problem is. I am using the generic
> PPC bus_dma(9) code from sys/arch/powerpc/powerpc/bus_dma.c that is used
> by port PReP too. Everything looks good, I get interrups from tlp0, but
> it seams that no data gets transfered. When I enter tlp0 as boot device
> no packets are generated and tlp0 gets timeouts. See bootlog below.
> 
> Some ideas how to debug this? 
> 
>  ...
> no file system for tlp0
> cannot mount root, error = 79
> root device (default tlp0): 
> dump device: 

As error = 79 is EFTYPE (Inappropriate file type or format) and you get
`no file system for tlp0', do you have `file-system NFS' in your config?
`options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM' should be present too.
-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)