Subject: Re: Problems with -current on 425e
To: Gregory McGarry <g.mcgarry@ieee.org>
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: port-hp300
Date: 04/17/2002 10:46:36
On Wed, Apr 17 2002 at 14:10:59 +1200, Gregory McGarry wrote:
> > But I want -current, so I crosscompiled hp300 on my i386 (the new toolchain
> > rocks!) but the 425e silently dies after loading the kernel from network.
> 
> Can you post the dmesg so I know what a 425e looks like?
Yes, of course:

[ using 361732 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    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 1.5ZC (GENERIC) #1: Wed Apr 17 09:47:14 MEST 2002
    thilo@WintelKiller:/usr/src/sys/arch/hp300/compile/GENERIC
HP 9000/425e (25MHz MC68040 CPU+MMU+FPU, 4k on-chip physical I/D caches)
cpu: delay divisor 30, mmuid 9
total memory = 49140 KB
avail memory = 41900 KB
using 639 buffers containing 2556 KB of memory
mainbus0 (root)
intio0 at mainbus0
rtc0 at intio0 addr 0x420000
frodo0 at intio0 addr 0x41c000
dnkbd at frodo0 offset 0x0 not configured
apci0 at frodo0 offset 0x20: console, no fifo
apci1 at frodo0 offset 0x40: no fifo
apci2 at frodo0 offset 0x60: no fifo
hil0 at intio0 addr 0x428000
fb at intio0 addr 0x560000 not configured
dio0 at mainbus0: 98620C, 2 channels, 32 bit DMA
WARNING: select code size unknown for id = 0x13 secid = 0x0
device id = 0x13 secid = 0x0 at dio0 scode 8 not configured
internal parallel at dio0 scode 12 not configured
oscsi0 at dio0 scode 14 ipl 4: 32 bit dma, async, scsi id 7
le0 at dio0 scode 21 ipl 5: address 08:00:09:25:73:5c
le0: 8 receive buffers, 2 transmit buffers
interrupt levels: bio = 4, net = 5, tty = 5
hil0 device 1: US ASCII keyboard
Kernelized RAIDframe activated
boot device: le0
root on le0
nfs_boot: trying BOOTP
nfs_boot: BOOTP next-server: 10.2.0.2
nfs_boot: my_domain=T
nfs_boot: my_addr=10.2.0.38
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=10.2.0.1
root on wintelkiller-100:/export/hp300/dest
WARNING: bad date in battery clockresettodr: cannot set time in time-of-day clock
 -- CHECK AND RESET THE DATE!
root file system type: nfs

(The unknown device @ scode 8 is called  "digital audio" by the BOOT ROM)

> Try the following patch:
As you can see in the dmesg above, that got it working. Thank you very much!

Console output is working fine now, but it seems to ignore characters sent
to it. Even if I press RESET on the HIL keyboard and the kernel enters the
debugger.

-- 
Dies ist Thilos Unix Signature! Viel Spass damit.