Subject: Re: Problems with new 1.3.1 kernel
To: Leo Weppelman <leo@wau.mis.ah.nl>
From: Michael Brandt <mike@wowbagger.pc-labor.uni-bremen.de>
List: port-atari
Date: 03/26/1998 22:26:56
This message is in MIME format
--_=XFMail.1.2.p0.NetBSD:980326220553:255=_
Content-Type: text/plain; charset=us-ascii
Hi,
On 24-Mar-98 Leo Weppelman wrote:
> The info above gives 2 possible functions where the crash could have
> happened,
> - findroot(), where the kernel tries to find a root device by itself
> - setroot(), where either a root found by 'findroot()' or one given by the
> user is set.
> If the problem is in 'findroot()', the '-b' option of the booter might work
> around this.
I tried the -b option and entered the correct answers after the questions. The
crash happens just after that.
> Can you also try 'nm /netbsd' and look in which function the
> program really is?
How do I do that? `nm' just gives me a very long list of symbols. Apart from
that, isn't it visible in the stack trace in which funtion the kernel crashed?
> The problems might be caused by an incorrectly compiled kernel. When you did
> setup the 1.3.1 sys-tree,
I started with an original 1.3 distribution source. After that I applied the
1.3.1 patches from netbsd.org.
> did you completely wipe-out the compile directory
> '.../atari/compile/<config>'?
Well, at first I didn't, but I did it in the meantime and recompiled the
kernel. Unfortunately it didn't change anything.
> O, and do you use a standard config? If not, what are the diffs
> to the config it was derived from?
No, I didn't use a standard config. Mine is a collection from different sources
that evolved over time. I include it as an attachment as well as the slightely
changed include file I use.
> Questions, questions, questions ;-)
I hope the answers help :-)
Greetings and thanks for your help
Mike
------------------------------------------
Hiroshima 45 - Tschernobyl 86 - Windows 95
------------------------------------------
--_=XFMail.1.2.p0.NetBSD:980326220553:255=_
Content-Disposition: attachment; filename="spectre.atari"
Content-Transfer-Encoding: 7bit
Content-Description: spectre.atari
Content-Type: text/plain; charset=us-ascii; name=spectre.atari; SizeOnDisk=840
# $NetBSD: std.atari,v 1.10 1996/11/17 13:33:40 leo Exp $
#
# standard atari information
#
machine atari m68k
options MACHINE_NONCONTIG # Non-contiguous memory support
# (required)
options EXEC_SCRIPT # Support #!
options EXEC_AOUT # a.out format executables
options SWAPPAGER # Pager for swap device
options VNODEPAGER # Pager for vnodes
options DEVPAGER # Pager
mainbus0 at root
clock0 at mainbus0 # system clock
kbd0 at mainbus0 # standard keyboard
fdc0 at mainbus0 # floppy controller
grfbus0 at mainbus0 # bitmapped display's
ncrscsi0 at mainbus0 # SCSI driver
scsibus0 at ncrscsi0 # SCSI bus
grfcc0 at grfbus0 # graphics driver
ite* at grfcc0 # console
# any disk/tape drives on configured controllers.
#sd* at scsibus? target ? lun ?
st0 at scsibus? target ? lun 0
cd0 at scsibus? target ? lun 0
--_=XFMail.1.2.p0.NetBSD:980326220553:255=_
Content-Disposition: attachment; filename="SPECTRE"
Content-Transfer-Encoding: 7bit
Content-Description: SPECTRE
Content-Type: text/plain; charset=us-ascii; name=SPECTRE; SizeOnDisk=5014
#
# This configuration file is for a multiple disk/multiple tape ATARI-TT
# with network (through ppp or slip).
include "arch/atari/conf/spectre.atari"
#
# Disk device names match SCSI target ids.
#
sd0 at scsibus0 target 0 lun ?
sd1 at scsibus0 target 1 lun ?
sd2 at scsibus0 target 2 lun ?
sd3 at scsibus0 target 3 lun ?
sd4 at scsibus0 target 4 lun ?
sd5 at scsibus0 target 5 lun ?
sd6 at scsibus0 target 6 lun ?
sd7 at scsibus0 target 7 lun ?
#
# Add support for about 32 users. This variable is used to size
# various kernel structures.
#
maxusers 32
#
# processors this kernel should support
#
options M68030 # support for 030
#options M68040 # support for 040
options HZ=64 # Set the clock-rate (48/64/96)
#
# X11R6 related options
#
options UCONSOLE # Allow xconsole to work
#
# Floating-point options
#
#options FPU_EMULATE # Support for MC68881/MC68882 emulator
#options FPSP # 68040 Floatingpoint support
#
# Networking options
#
options INET # Basic networking support
# File systems
file-system FFS # Berkeley fast file system
file-system EXT2FS # Linux compatible fs
#file-system MFS # Memory based filesystem
#file-system NFS # Network File System client side code
file-system PROCFS # Process filesystem
file-system KERNFS # Kernel parameter filesystem
#file-system FDESC # /dev/fd
file-system NULLFS # Loopback filesystem
file-system MSDOSFS # MSDOS filesystem
file-system CD9660 # ISO 9660 filesystem with Rock Ridge
file-system UNION # union file system
#file-system UMAPFS # null file system (with uid & gid remapping)
file-system PORTAL # portal file system
# File system options
options FIFO # FIFO operations on vnodes
#options QUOTA # Disk quotas for local disks
#options NFSSERVER # Network File System server side code
#
# Misc. debuging options
#
options PANICWAIT # Require keystroke to dump/reboot
options DDB # Kernel debugger
#
# Compatability options for various existing systems
#
options COMPAT_43 # 4.3 BSD compatible system calls (required)
options COMPAT_10 # Compatibility to NetBSD1.0
options COMPAT_11 # Compatibility to NetBSD1.1
options COMPAT_12 # Compatibility to NetBSD1.2
#options COMPAT_09 # has no meaning on the atari
#options COMPAT_SUNOS # Support to run Sun-3 executables
#options TCP_COMPAT_42 # Disable UDP checksums (not needed)
#
# Support for System V IPC facilities.
#
options SYSVSHM # System V shared memory
options SYSVMSG # System V messages
options SYSVSEM # System V semaphores
#
# Support for various kernel options
#
options KTRACE # Add kernel tracing system call
options DIAGNOSTIC # Add additional error checking code
options NKMEMCLUSTERS=256 # Size of kernel malloc area
#options SCSIVERBOSE # Verbose SCSI errors
#options RTC_OFFSET=-60 # Offset from rtc time to GMT (defunkt)
#
# Loadable kernel modules. Do they work on the Atari?
#
options LKM # see lkm(4) and /usr/share/lkm
#
# Atari specific options
#
#options KFONT_8x8 # Use 8x8 font instead of 8x16
options ST_POOL_SIZE=85 # enough for 4 screens in TT-HIGH
options TT_SCSI # SCSI-support for TT
#options FALCON_SCSI # SCSI-support for Falcon
options TT_VIDEO # Graphics support for TT
#options FALCON_VIDEO # Graphics support for FALCON
options STATCLOCK # Separate {stat,prof}clock
#options MEMORY_DISK_HOOKS # Boot RAM-disk
options DISKLABEL_NBDA # NetBSD disklabels (required)
options DISKLABEL_AHDI # NetBSD/AHDI disklabels
options SERCONSOLE # modem1 console support
options RELOC_KERNEL # relocate kernel into TT ram
# Try linked commands on all targets
options TRY_SCSI_LINKED_COMMANDS=0x7f
#
# Build one kernel that can boot from any disk.
#
config netbsd root on ? type ?
pseudo-device mouse 1 # mouse
pseudo-device view 4 # View (graphics mapping)
pseudo-device sl 2 # Slip
pseudo-device ppp 2 # ppp
pseudo-device pty 32 # Pseudo-tty support
pseudo-device loop # Loopback network
pseudo-device vnd 3 # 3 pseudo disks (see vnconfig)
#pseudo-device bpfilter 2 # berkeley packet filters
#pseudo-device tun 2 # network tunnel
#pseudo-device ccd 4 # concatenating disk driver
#pseudo-device md 2 # Boot memory disk
pseudo-device rnd # experimental random number generator
#
# The following sections describe various hardware options.
#
#vmebus0 at mainbus0 # VME bus
#vme0 at vmebus0
#le0 at vme0 irq 5 # Lance ethernet (Riebl/PAM).
grfcc1 at grfbus0 # second graphics driver
ite* at grfcc1 # second tty
grfcc2 at grfbus0 # third graphics driver
ite* at grfcc2 # third tty
fd0 at fdc0 unit 0 # builtin floppy drive
fd1 at fdc0 unit 1 # external floppy drive
ser0 at mainbus0 # Serial support through 68901 (modem1)
zs0 at mainbus0 # Serial support through 8530
nvr0 at mainbus0 # nvram driver
lp0 at mainbus0 # centronics printer
ch* at scsibus? target ? lun ? # SCSI changer
ss* at scsibus? target ? lun ? # SCSI scanner
uk* at scsibus? target ? lun ? # SCSI unknown
#idec0 at mainbus0 # IDE bus
#ide* at idec? drive ? # ... and drives
--_=XFMail.1.2.p0.NetBSD:980326220553:255=_--
End of MIME message