Subject: Re: Compiling Kernel (long!)
To: None <port-atari@NetBSD.ORG, shanee@NetBSD.ORG>
From: Andreas Kohout <shanee@rabbit.augusta.de>
List: port-atari
Date: 02/06/1996 17:57:56
Hello,

now, I try to recompile my kernel. I use a TT with 2/8 MByte and 730MB =

Fujitsu, caTTamaran is disabled. Graphic is TT-High

the sys.tar.gz is 6828182 Byte and from uni-erlangen. I think the archive=
 is =

from 3rd of February. ther is a file /sys/sys/vnode.h with this date. The=
 =

version is 1.32 02/02/1996 =


I use this config file:

---------- /sys/arch/atari/conf/RESTOS ----------
include "std.atari"
maxusers        16
options         "M68030"
options         TIMEZONE=3D300
options         DST=3D1
options         HZ=3D64
options         INET
options         FFS
options         MFS
options         PROCFS
options         KERNFS
options         NULLFS
options         MSDOSFS
options         FIFO
options         SWAPPAGER
options         VNODEPAGER
options         DEVPAGER
options         PANICWAIT
options         DDB
options         QUOTA
options         NFSSERVER
options         NFSCLIENT
options         COMPAT_43
options         COMPAT_10
options SYSVSHM
options SYSVMSG
options SYSVSEM
options         KTRACE
options         DIAGNOSTIC
options         "NKMEMCLUSTERS=3D256"
options         GENERIC
options         "ST_POOL_SIZE=3D122"
options         TT_SCSI
options         TT_VIDEO
options         STATCLOCK
config          netbsd swap on generic
pseudo-device   mouse    1
pseudo-device   view     3
pseudo-device   sl
pseudo-device   ppp
pseudo-device   pty      16
pseudo-device   loop
pseudo-device   vnd      3
pseudo-device   bpfilter 2
pseudo-device   tun      2
pseudo-device   ccd      4
zs0     at mainbus0
grf1    at grfbus0
ite1    at grf1
grf2    at grfbus0
ite2    at grf2
nvr0    at mainbus0
---------- end ----------

after config RESTOS ; cd ../compile/RESTOS ; make depend (20min) ; make (=
about =

2 hours!) I installed the kernel netbsd on gemdospartition c:. On root (/=
) =

there is a link netbsd -> /gemdos/netbsd.

The kerenl boots well, but there were errors:

---------- dmesg ----------
 NetBSD 1.1A (RESTOS) #0: Tue Feb  6 01:20:23 MET 1996
     root@restos:/usr/src/sys/arch/atari/compile/RESTOS
 Atari TT (m68030 CPU/MMU mc68882 FPU)
 real  mem =3D 10485760 (1280 pages)
 avail mem =3D 7798784 (952 pages)
 using 65 buffers containing 532480 bytes of memory
 mainbus0 (root)
 nvr0 at mainbus0
 clock0 at mainbus0: system hz 64 timer-A divisor 200/192
 grfbus0 at mainbus0
 grf0 at grfbus0: width 1280 height 960 monochrome
 ite0 at grf0: rows 60 cols 160 repeat at (30/100)s next at (10/100)s has=
 =

keyboard
 grf1 at grfbus0: width 1280 height 960 monochrome
 ite1 at grf1: rows 60 cols 160 repeat at (30/100)s next at (10/100)s
 grf2 at grfbus0: width 1280 height 960 monochrome
 ite2 at grf2: rows 60 cols 160 repeat at (30/100)s next at (10/100)s
 kbd0 at mainbus0
 fdc0 at mainbus0
 fd0 at fdc0
 zs0 at mainbus0: serial2 on channel a and modem2 on channel b
 ncrscsi0 at mainbus0
 scsibus0 at ncrscsi0
 ncrscsi0 targ 0 lun 0: <FUJITSU, M2263S-512, 0194> SCSI2 0/direct fixed
 sd0 at scsibus0: 640MB, 1658 cyl, 15 head, 52 sec, 512 bytes/sec
 ncrscsi0 targ 2 lun 0: <TANDBERG, TDC 3600, -06:> SCSI1 1/sequential rem=
ovable
 st0 at scsibus0: rogue, drive empty
 1 mouse configured
 3 views configured
 /netbsd:  nlist: No such file or directory
 /netbsd: _dumpdev not in namelist
 lpd[71]: restarted
 init: kernel security level changed from 0 to 1
---------- end dmesg ----------

ps won=B4t work. /netbsd no such file ... a ll /gemdos say ls: q???????.?=
?? no =

such file ...

---------- df ----------
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd0a       19663     7787    10892    42%    /
/dev/sd0j       98983    80142    13891    85%    /usr
/dev/sd0k      138728     6588   125203     5%    /usr/local
/dev/sd0d       58088    55024     3064    95%    /gemdos
---------- end df ----------

---------- /etc/fstab ----------
/dev/sd0a       /               ffs     rw      1       1
/dev/sd0j       /usr            ffs     rw      1       2
/dev/sd0k       /usr/local      ffs     rw      1       2
/dev/sd0d       /gemdos         msdos   rw      1       2  =

---------- end /etc/fstab ----------

I don=B4t know way, do I need more than option msdosfs?
Is there a list of all availlable things in the config file?

/dev/fd0a wont work, while mount_msdos /dev/fd0a /mnt there is a I/O erro=
r =

Device not configured. What is to do to get the floppy working?

I need the seriall devices, but neither /dev/ser02 nor /dev/mdm02 works. =
I am =

able to start a getty on the devices, but there is no output if I try to =
login =

from my FreeBSD-Box via kermit. =


The nullmodem cable works with TOS and  ConNect. If I start getty on my P=
C and =

try to connect with cu -l /dev/ser02 -s 38400 there is a output Connected=
=2E but =

if i type any character there is cu: write: Input/output error and =

Disconnected.

Waldi told my there is a patch from Leo to zs0, where may i find them?

Are there other patches witch I need?

Thanx for your help ...

-- =

Gru=DF, Andy
-------------------------------------------------------------------------=
-
                  Der Mensch hat die Atombombe erfunden, =

              eine Maus w=FCrde niemals eine Mausefalle bauen!

shanee@rabbit.augusta.de                                     Zirbelnu=DFt=
own
_________________________________________________________________________=
_