Subject: Re: R140, now mounting root over NFS
To: None <port-arm26@netbsd.org>
From: Kjetil B. Thomassen <kjetil@thomassen.priv.no>
List: port-arm26
Date: 12/03/2000 23:17:51
This message is in MIME format. If you are reading this text, then your mail
package doesn't fully support MIME - there may be a newer release available
from your supplier.

Created using the !Marcel mail package from ANT Ltd <sales@ant.co.uk>

--381451-1784828741-975885471=:1491512583
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

On Fri 01 Dec, Ben Harris wrote:
> On Thu, 30 Nov 2000, Kjetil B. Thomassen wrote:
> 
> > OK, I made it past that (with revision 1.2), but it panics in ubc_init
> > from main from start. The error message is ubc_init failed to map
> > ubc_object.
> 
> Yep.  Looks like it was asking for 8Mb of address space, which is a bit
> greedy.  Fixed in rev 1.4 of sys/arch/arm26/include/param.h, where I
> override it.  This gets my tet machine as far as mounting root.[B

Yes, my R140 does that now as well.

I made myself a test kernel were I added DDB and strip out some of the
things I didn't think I needed. The config file has been attached to
this email.

The last stuff before it hang is:
root file system type: nfs
init: copying out path '/sbin/init' 11

I broke into DDB with CTRL-ALT-Esc and here is what trace told me:
wskbd_cnbell
wskbd_cnbell
wskbd_input
arckbd_cnattach
arckbd_cnattach
irq_handler
nfs_getpage
VOP_GETPAGES
ubc_init
uwm_fault
data_abort_handler
kcopy
uiomove
nfs_bioread
nfs_read
VOP_READ
vn_rdwr
check_exec
sys_execve
main

ps tells me this:
PID    FLAGS        COMMAND     WAIT
9      0x20204     aiodoned     aiodone
8      0x20604     ioflush
7      0x20204     reaper       reaper
6      0x20204     pagedaemon   pgdaemo
5      0x20284     nfsio        nfsidl
4      0x20284     nfsio        nfsidl
3      0x20284     nfsio        nfsidl
2      0x20284     nfsio        nfsidl
1      0x4         init
0      0x20204     swapper


It looks as though there may be problem with I/O, so this is something
that needs to be looked into.

Is there anything I can do to try to trace this further?

BTW, my ST-506 drive has died, so I am now booting over sharefs. It
would be handy if I could get your AUN stuff running on my ss2.

TIA!

Kjetil B.
mailto:kjetil@thomassen.priv.no
http://www.thomassen.priv.no/

--381451-1784828741-975885471=:1491512583
Content-Type: TEXT/Plain; NAME=R140
Content-Transfer-Encoding: QUOTED-PRINTABLE

# $NetBSD: FOURMEG,v 1.9 2000/10/14 23:47:47 bjh21 Exp $

# FOURMEG arm26 configuration -- something small

include "arch/arm26/conf/std.arm26"

maxusers 2

# CPU support
#options =09CPU_ARM2
#options =09CPU_ARM250
options =09CPU_ARM3

# Diagnostic/debugging support options
#options =09DIAGNOSTIC=09=09# Cheap kernel consistency checks
options =09DEBUG=09=09=09# More expensive checks and printfs
options =09DDB=09=09=09# kernel debugger
#options =09SYSCALL_DEBUG=09=09# trace syscall entry/exit
#options =09SCSIDEBUG
#options =09UVMHIST

## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug fil=
e),
## such that gdb(1) can be used on a kernel coredump.
#makeoptions=09DEBUG=3D"-g"

# File systems
file-system=09FFS=09=09# Fast file system
#file-system=09LFS=09=09# log-structured file system
#file-system=09MFS=09=09# Memory-based file system
#file-system =09EXT2FS=09=09# second extended file system (linux)
#file-system=09CD9660=09=09# ISO-9660 CD-ROM FS (w/RockRidge extensions)
#file-system=09FILECORE=09# Acorn filecore file system
#file-system =09ADOSFS=09=09# AmigaDOS-compatible file system
#file-system=09MSDOSFS=09=09# MS-DOS-compatible file system
#file-system=09NTFS=09=09# Windows/NT file system (experimental)
file-system=09NFS=09=09# Sun NFS-compatible file system client
#file-system=09NULLFS=09=09# loopback file system
#file-system =09OVERLAY=09=09# overlay filesystem
#file-system=09PORTAL=09=09# portal filesystem (still experimental)
#file-system=09UMAPFS=09=09# NULLFS + uid and gid remapping
#file-system=09UNION=09=09# union file system
file-system=09PROCFS=09=09# /proc
file-system=09KERNFS=09=09# /kern
file-system=09FDESC=09=09# /dev/fd

# File system options
#options =09QUOTA=09=09# UFS quotas
#options =09NFSSERVER=09# Sun NFS-compatible file system server
options =09FFS_EI=09=09# FFS endianness-independence support
#options =09SOFTDEP=09=09# FFS soft updates support.
options =09NFS_V2_ONLY=09# Make a smaller NFS

# Executable format options
#options =09EXEC_AOUT
options =09EXEC_ELF32
options =09EXEC_SCRIPT

# Networking options
#options =09GATEWAY=09=09# packet forwarding
options =09INET=09=09# Internet protocol suite
#options =09INET6=09=09# IPV6
#options =09IPSEC=09=09# IP security
#options =09IPSEC_ESP=09# IP security (encryption part; define w/IPSEC)
#options =09IPSEC_DEBUG=09# debug for IP security
#options =09MROUTING=09# IP multicast routing
#options =09NS=09=09# XNS
#options =09NSIP=09=09# XNS tunneling over IP
#options =09ISO,TPIP=09# OSI
#options =09EON=09=09# OSI tunneling over IP
#options =09CCITT,LLC,HDLC=09# X.25
#options =09NETATALK=09# AppleTalk networking
#options =09PFIL_HOOKS=09# pfil(9) packet filter hooks
#options =09PPP_BSDCOMP=09# BSD-Compress compression support for PPP
#options =09PPP_DEFLATE=09# Deflate compression support for PPP
#options =09PPP_FILTER=09# Active filter support for PPP (requires bpf)
#options =09TCP_COMPAT_42   # TCP bug compatibility with 4.2BSD

# 4.3BSD compatibility.
#options =09COMPAT_43

# Binary compatibility with previous versions of NetBSD.
# None yet, since NetBSD/arm26 hasn't been released.

# System V IPC
options =09SYSVMSG=09=09# System V-like message queues
options =09SYSVSEM=09=09# System V-like semaphores
options =09SYSVSHM=09=09# System V-like shared memory
#options =09SHMMAXPGS=3D1024=09# 1024 pages is the default

# Miscellaneous kernel options
options =09KTRACE=09=09# system call tracing, a la ktrace(1)
#options =09IRQSTATS=09# manage IRQ statistics
#options =09LKM=09=09# loadable kernel modules
#options =09KMEMSTATS=09# kernel memory statistics
#options =09SCSIVERBOSE=09# Verbose SCSI errors

# Disable kernel security.
#options =09INSECURE

# Reduce kernel size a little
options =09VNODE_OP_NOINLINE

# NFS boot options
options =09NFS_BOOT_DHCP=09=09# superset of BOOTP
#options =09NFS_BOOT_BOOTPARAM
options =09NFS_BOOT_RWSIZE=3D1024=09# XXX "ea" driver bug workaround

# WS console uses DUMB, SUN or VT100 terminal emulation
#options =09WSEMUL_NODUMB
#options =09WSEMUL_SUN
#options =09WSEMUL_VT100
options =09FONT_VT220L8x8=09=09# 8x8 font for console

config=09=09netbsd=09root on ? type ?
#config=09=09netbsd=09root on sd0 type ffs
#config=09=09netbsd=09root on ? type nfs

cpu0=09=09at root

iobus0=09=09at root=09=09=09# 16-bit I/O bus

ioc0=09=09at iobus0 base 0x200000=09# I/O controller

iic0=09=09at ioc0=09=09=09# I^2C serial bus
rtc0=09=09at iic0 addr 0xa0=09# Real-time clock

arckbd0 =09at ioc0 bank 0 offset 0x04 # System keyboard
arcwskbd0=09at arckbd0=09=09# Logical devices...
wskbd0=09=09at arcwskbd0
arcwsmouse0=09at arckbd0
wsmouse0=09at arcwsmouse0

#ioeb0=09=09at ioc0 bank 5=09=09# I/O Extension Block (A5000)

podulebus0=09at ioc0 bank 4=09=09# Expansion card bus
unixbp0=09=09at ioc0 bank 6=09=09# Unix Backplane (interrupt routing)

#ei*=09=09at podulebus0 slot ?=09# Acorn AKA25 (Ether1)
ea*=09=09at podulebus0 slot ?=09# Acorn/Atomwide Ether3

#dtide*=09=09at podulebus0 slot ?=09# D.T. Software IDE interface
#wd*=09=09at dtide? channel ? drive ?

#asc*=09=09at podulebus0 slot ?=09# Acorn SCSI card (AKA30, AKA31)
#scsibus*=09at asc?

#upc0=09=09at iobus0 base 0x010000=09# I/O chip on IOEB machines
#com0=09=09at upc0=09=09=09# Serial port
#lpt0=09=09at upc0=09=09=09# Parallel port
#wdc0            at upc0                 # IDE controller

#wd*=09=09at wdc? drive ?=09=09# IDE hard discs
#atapibus*=09at wdc?=09=09=09# ATAPI devices
#cd*=09=09at atapibus? drive ?=09# ATAPI CD-ROM drives
#sd*=09=09at atapibus? drive ?=09# ATAPI disk drives
#uk*=09=09at atapibus? drive ?=09# ATAPI unknown

arcvideo0=09at root=09=09=09# On-board video
wsdisplay0=09at arcvideo0

#pseudo-device=09bpfilter=0916
#pseudo-device=09ccd=09=094
#pseudo-device=09raid=09=094=09=09# RAIDframe disk driver
#options =09RAID_AUTOCONFIG      # auto-configuration of RAID components
#pseudo-device=09ipfilter=091
pseudo-device=09loop=09=091
#pseudo-device=09md=09=091
#options =09MEMORY_DISK_HOOKS
#options =09MINIROOTSIZE=3D
#pseudo-device=09ppp=09=094
pseudo-device=09pty
#pseudo-device=09sl=09=094
#pseudo-device=09vnd=09=094
#pseudo-device=09gre=09=092=09# generic L3 over IP tunnel
#pseudo-device=09gif=09=094=09# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device=09faith=09=091=09# IPv[46] tcp relay translation i/f
#pseudo-device=09sequencer=091=09# MIDI sequencer
pseudo-device=09wsmux=09=092=09# keyboard/mouse multiplexor

# rnd is EXPERIMENTAL
#pseudo-device=09rnd=09=09=09# /dev/random and in-kernel generator


--381451-1784828741-975885471=:1491512583--