Subject: Re: duo 230 panic
To: Bruce ONeel <edoneel@sdf.lonestar.org>
From: Kazuyuki Inanaga <happyday@pp.iij4u.or.jp>
List: port-mac68k
Date: 02/28/2004 02:23:26
Hi,
I tried to install "netbsd-1-6-PATCH002-RC4" on Duo 230 today.
"kernel fpu trap" doesn't appear on it, but Asante NetDock is not supported.
>nubus0 t mainbus0
>nubus0 slot e: asante netdock (vender: asante technologie, inc., part: \
90-00243-01) type: 0020 0003 0103 0100 not configured
>fpu0 at mainbus0 (emulator)
I wonder why not :(
I made 1.6.1 '030 fpu-less specific kernel. It supports NetDock, of course.
This kernel is working nicely on Duo 230 with Bruce ONeel's binaries
including x.
"Prebuilt NetBSD 1.6.1 for LC040 Macs"
http://edoneel.chaosnet.org/Downloads.html
Thanks :) No error has found yet.
--------------------------------------------------
For Asante NetDock support, my procedure is;
1. Get the driver "if_netdock_nubus.c".
"CVS log for src/sys/arch/mac68k/nubus/if_netdock_nubus.c"
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/mac68k/nubus/if_netdock_
nubus.c?f=h
"if_netdock_nubus.c" v. 1.4 or 1.3 gets the error.
error.log => http://www.pp.iij4u.or.jp/~happyday/duo.html
v. 1.2 is OK.
Put "if_netdock_nubus.c" in src/sys/arch/mac68k/nubus/
2. Edit "files.mac68k" in src/sys/arch/mac68k/conf/
add 3 lines (line 96-98):
device netdock: ifnet, ether, arp
attach netdock at nubus with netdock_nubus
file arch/mac68k/nubus/if_netdock_nubus.c netdock_nubus
3. Edit <MYCONF> in src/sys/arch/mac68k/conf
add 1 line at # NuBus Ethernet controllers:
netdock* at nubus? # Asante NetDock, Newer Ether MicroDock
I put <MYCONF> = "030FPESBC" and its dmesg for the correction.
http://www.pp.iij4u.or.jp/~happyday/duo.html
To all: Please let me know your idea about this conf file.
--------------------------------------------------
For making instkernel, add 2 lines in <MYINSTALLCONF>;
# SCSI devices
se* at scsibus? target ? lun ? # SCSI ethernet
# NuBus Ethernet controllers:
netdock* at nubus? # Asante NetDock, Newer Ether MicroDock
I also tried to make netbsd-INSTALLSBC.gz, but I got "Error Stop".
I'm not sure how to make it on 1.6.1 cross-compiling.
(I used 1.5.3 instkernel temporally.)
Cheers,
Kazu Inanaga