Subject: NetBSD 4.0 release config
To: port-hpcsh list <port-hpcsh@netbsd.org>
From: Michael Wileman <jwileman@panix.com>
List: port-hpcsh
Date: 12/26/2007 13:13:52
I'm just trying to cross-compile a new hpcsh kernel using the NetBSD 
4.0 release sources on an i386 machine.  It works fine if I use the 
default GENERIC config that comes with 4.0, but it won't handle some 
of the options I had in my previous (3.99.8) kernel.  Here is a diff 
between the version that worked (i.e., with the offending options 
commented out), and the version I would have liked to compile.

132c132
< file-system	SMBFS		# experimental - CIFS; also needs nsmb (below) - uncomment jmw
---
> #file-system	SMBFS		# experimental - CIFS; also needs nsmb (below) - uncomment jmw
163,168c163,168
< options         NFS_BOOT_BOOTSTATIC 
< options         NFS_BOOTSTATIC_MYIP="\"192.168.0.165\"" 
< #options        NFS_BOOTSTATIC_GWIP "1.2.3.254" 
< #options        NFS_BOOTSTATIC_MASK "255.255.255.0" 
< options         NFS_BOOTSTATIC_SERVADDR="\"192.168.0.162\"" 
< options         NFS_BOOTSTATIC_SERVER="\"hpnetbsd:/honk/export/680current_nfs\"" 
---
> #options         NFS_BOOT_BOOTSTATIC 
> #options         NFS_BOOTSTATIC_MYIP="\"192.168.0.165\"" 
> ##options        NFS_BOOTSTATIC_GWIP "1.2.3.254" 
> ##options        NFS_BOOTSTATIC_MASK "255.255.255.0" 
> #options         NFS_BOOTSTATIC_SERVADDR="\"192.168.0.162\"" 
> #options         NFS_BOOTSTATIC_SERVER="\"hpnetbsd:/honk/export/680current_nfs\"" 
337c337
< pseudo-device	irframetty		# IrDA frame line discipline
---
> #pseudo-device	irframetty		# IrDA frame line discipline
344c344
< pseudo-device	nsmb			# experimental - SMB requester - uncommented jmw
---
> #pseudo-device	nsmb			# experimental - SMB requester - uncommented jmw


You see that the options build.sh didn't like (because it couldn't 
find the corresponding *.c source files) were for smbfs support, 
static boot support, and irda support.  Is the fact that these don't 
work anymore intentional, or were these sources somehow inadvertently 
omitted?  I'm particularly keen on getting the smbfs support going, 
and also the static boot.  I never actually used the IRDA support, 
though I had included it in my kernel config, so I haven't really even 
verified for myself that it works.

Any advice would be appreciated here.

Is anyone else running 4.0 release on a Jornada 680/690?

Thanks,
Mike