Subject: port-arm32/13998: Disk corruption on DNARD
To: None <gnats-bugs@gnats.netbsd.org>
From: None <leo@marco.de>
List: netbsd-bugs
Date: 09/18/2001 14:27:07
>Number:         13998
>Category:       port-arm32
>Synopsis:       Disk corruption on DNARD
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-arm32-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 18 05:28:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Pfaller
>Release:        2001-09-12
>Organization:
Matthias Pfaller                            Software Entwicklung
marco Systemanalyse und Entwicklung GmbH    Tel   +49 8131 5161-41
Hans-Böckler-Str. 2, D 85221 Dachau         Fax   +49 8131 5161-66
http://www.marco.de/                        Email leo@dachau.marco.de
>Environment:
	
System: NetBSD 1.5X (LETHE) #185: Wed Sep 12 12:41:32 CEST 2001
Architecture: arm32
Machine: arm32
>Description:
	When booting a kernel built from the 2001-09-12 sources I get the
	following:
		Rebooting with command: boot
		Boot device: /isa/ide/disk@0:\netbsd  Arguments:
		ddb: [ netbsd a.out symbol table not valid ]
		[ no symbol table formats found ]
		Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
		    The NetBSD Foundation, Inc.  All rights reserved.
		Copyright (c) 1982, 1986, 1989, 1991, 1993
		    The Regents of the University of California.  All rights reserved.

		NetBSD 1.5X (LETHE) #185: Wed Sep 12 12:41:32 CEST 2001
		    leo@lethe:/usr/src/sys/arch/dnard/compile/LETHE
		total memory = 65536 KB
		avail memory = 57072 KB
		using 844 buffers containing 3376 KB of memory
		mainbus0 (root)
		cpu0 at mainbus0: SA-110 rev 3 (SA-1 core) DC enabled IC enabled WB enabled EABT
		ofbus0 (root)
		ofbus1 at ofbus0 (vlbus)
		ofisa0 at ofbus1 (isa)
		dma-controller@i00 at ofisa0 not configured
		interrupt-controller@i20 at ofisa0 not configured
		timer@i40 at ofisa0 not configured
		configuration@i15c at ofisa0 not configured
		com0 at ofisa0 (serial@i3f8): ns16550a, working fifo
		com0: console
		lpt0 at ofisa0 (parallel@i378)
		ofbus2 at ofisa0 (8042@i60)
		ofisapc0 at ofbus2 (keyboard@)
		kbc command: 0
		mouse@aux at ofbus2 not configured
		power@i380 at ofisa0 not configured
		ofbus3 at ofisa0 (gpio@i3e0)
		eeprom at ofbus3 not configured
		ofrtc0 at ofisa0 (rtc@i70): rtc
		ofisascr0 at ofisa0 (scr@i24)
		scr0 at ofisascr0
		com1 at ofisa0 (ir@i2f8): ns16550a, working fifo
		cs0 at ofisa0 (ethernet@i300): CRUS,CS8900
		cs0: CS8900 rev. F, address 08:00:2b:81:64:13, media UTP
		joy0 at ofisa0 (game@i201): ESST,game
		joy0: joystick not connected
		midi@i330 at ofisa0 not configured
		ess0 at ofisa0 (sound@i220): ESST,es1887-codec
		ess0: ESS Technology ES1887 [version 0x688b]
		ess0: audio1 interrupting at irq 9
		ess0: audio2 interrupting at irq 15
		audio0 at ess0: full duplex, mmap, independent
		opl0 at ess0: model OPL3
		midi0 at opl0: ESS Yamaha OPL3
		wdc0 at ofisa0 (ide@i1f0)
		wd0 at wdc0 channel 0 drive 0: <HITACHI_DK23AA-60>
		wd0: drive supports 16-sector PIO transfers, LBA addressing
		wd0: 5729 MB, 12416 cyl, 15 head, 63 sec, 512 bytes/sect x 11733120 sectors
		wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
		wd0(wdc0:0:0): using PIO mode 4
		pci at ofbus1 not configured
		display@it3b0 at ofbus1 not configured
		ofrom0 at ofbus0 (flash@7000000): 0x7000000-0x707ffff
		ofrom1 at ofbus0 (romcard@10000000): 0x10000000-0x10ffffff
		ipl_bio=ffffbfff ipl_net=ffffbfdf ipl_tty=ffffbf5f ipl_imp=ffffbf5f
		ipl_audio=ffff3d5f ipl_imp=ffff3d5f ipl_high=ffff3d5f ipl_serial=ffff3d47
		clock: hz=64 stathz = 0 profhz = 0
		boot device: wd0
		root on wd0a dumps on wd0b
		swapctl: adding /dev/wd0b as swap device at priority 0
		Automatic boot in progress: starting file system checks.
		/dev/rwd0a: DIRECTORY CORRUPTED  I=2  OWNER=root MODE=40755
		/dev/rwd0a: SIZE=512 MTIME=Sep 12 11:37 2001
		DIR=/	
		/dev/rwd0a: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.

	When booting with the following kernel:
		NetBSD lethe 1.5X NetBSD 1.5X (LETHE) #182: Thu Jul 26 12:04:09 CEST 2001     leo@lethe:/usr/src/sys/arch/dnard/compile/LETHE arm32

	everything works fine.

>How-To-Repeat:
	Boot a freshly generated kernel from -current sources on a shark.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: