NetBSD Problem Report #33132

From www@netbsd.org  Thu Mar 23 01:45:50 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 0498F63B93E; Thu, 23 Mar 2006 01:45:50 +0000 (UTC)
Message-Id: <20060323014550.0498F63B93E@narn.netbsd.org>
Date: Thu, 23 Mar 2006 01:45:50 +0000 (UTC)
From: wrzymski@gmail.com
Reply-To: wrzymski@gmail.com
To: gnats-bugs@netbsd.org
Subject: ibmnws port is unusable with NFS rootfs
X-Send-Pr-Version: www-1.0

>Number:         33132
>Category:       port-ibmnws
>Synopsis:       ibmnws port is unusable with NFS rootfs
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-ibmnws-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 23 01:50:00 +0000 2006
>Originator:     Wojciech Rzymski
>Release:        3.0-stable, current 3.99.17
>Organization:
>Environment:
NetBSD ibmnws 3.99.17 NetBSD 3.99.17 (LAMA) #6: Wed Mar 22 14:11:18 CET 2006  lama@netbsd:/usr/obj/sys/arch/ibmnws/compile/LAMA ibmnws

>Description:
This are my changes over GENERIC kernel

   # Enable the hooks used for initializing the ram-disk.
   #options        MEMORY_DISK_HOOKS
   #options        MEMORY_DISK_IS_ROOT             # Force root on ram-disk
   #options        MEMORY_DISK_ROOT_SIZE=4096      # 2 Megabytes

   options        NFS_BOOT_BOOTSTATIC
   options        NFS_BOOTSTATIC_MYIP=3D"\"192.168.1.102\""
   options        NFS_BOOTSTATIC_GWIP=3D"\"192.168.1.1\""
   options        NFS_BOOTSTATIC_MASK=3D"\"255.255.255.0\""
   options        NFS_BOOTSTATIC_SERVADDR=3D"\"192.168.1.100\""
   options        NFS_BOOTSTATIC_SERVER=3D"\"192.168.1.100:/home/ibmnws\""

config  netbsd  root on pcn0 type nfs

With such kernel I boot from NFS into multiuser mode and can compile small programs using NFS. Compilation of perl 'hangs' during extraction

pcn0: device timeout (txfree 510 txsfree 128)
pcn0: device timeout (txfree 508 txsfree 128)

and load drops, CPU idless, still I can't stop it by ctrl-c.  If I extract perl on the NFS server then compilation starts for some time before crashing with kernel panic 



  trap: kernel write DSI trap @ 0x93810094 by 0x13d82c (DSISR
0x42000000,  err=3D14)
  panic: trap
  syncing disks... trap: kernel write DSI trap @ 0x93810094 by
0x149b04   (SISR 0x42000000, err=3D14)
  panic: trap
  dumpsys: TBD
              rebooting...

  trap: kernel ISI by 0xfff019ac (SRR1 0x40000030)
  panic: trap
  dumpsys: TBD

or sometimes just

  panic: tp->t_lastm =3D=3D NULL
  syncing disks...

I'm unable to boot kernel with DDB. This is my full dmesg 

NetBSD 3.99.17 (LAMA) #6: Wed Mar 22 14:11:18 CET 2006
        lama@netbsd:/usr/obj/sys/arch/ibmnws/compile/LAMA
Model: IBM NetworkStation 1000 (8362-XXX)
total memory = 65536 KB
avail memory = 61188 KB
mainbus0 (root)
cpu0 at mainbus0: 603ev (Revision 2.6), ID 0 (primary)
cpu0: HID0 90c000<DOZE,DPM,ICE,DCE>
pci0 at mainbus0 bus 0: indirect configuration space access
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: IBM 82660 PowerPC to PCI Bridge and Memory Controller (rev. 0x02)
pchb0: L1: disabled L2: disabled 
pchb0: MCP# assertion disabled TEA# assertion disabled
pchb0: PCI/ISA I/O mapping non-contiguous
pchb0: DRAM EDO (parity) SRAM sync
pchb0: Snoop mode 603
pcib0 at pci0 dev 1 function 0: IBM ISA Bridge w/PnP (rev. 0x03)
pcib0: PIRQ[0-3] not used
pcn0 at pci0 dev 2 function 0: AMD PCnet-PCI Ethernet
pcn0: Am79c971 PCnet-FAST rev 5, Ethernet address 00:00:a7:24:20:6a
pcn0: interrupting at irq 15
icsphy0 at pcn0 phy 0: ICS1890 10/100 media interface, rev. 3
icsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
OUI 0x000058 model 0x0001 rev 1 at pcn0 phy 31 not configured
S3 Trio64V2/DX (VGA display, revision 0x14) at pci0 dev 4 function 0 not configured
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
paud0 at isa0 port 0x830-0x833 iomem  irq 10 drq 0,1: CS4231A
audio0 at paud0: full duplex, mmap
biomask 0 netmask 8000 ttymask 8080

boot device: <unknown>
root on pcn0
nfs_boot: trying static
nfs_boot: client_addr=192.168.1.102
nfs_boot: gateway=192.168.1.1
nfs_boot: server=192.168.1.100
nfs_boot: root=192.168.1.100:/home/ibmnws
pcn0: link state changed to DOWN
pcn0: link state changed to UP
root on 192.168.1.100:/home/ibmnws
WARNING: preposterous clock chip time
 -- CHECK AND RESET THE DATE!

>How-To-Repeat:

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.