*BSD News Article 45657


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!merlin!mel.dit.csiro.au!etrog.citri.edu.au!etrog.citri.edu.au!not-for-mail
From: acas@etrog.citri.edu.au (Andrew Cassin)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Filesystem problems with NetBSD 1.0
Date: 21 Jun 1995 09:40:44 +1000
Organization: Collaborative Information Technology Research Institute
Lines: 204
Distribution: world
Message-ID: <3s7m9s$18r@etrog.citri.edu.au>
NNTP-Posting-Host: etrog.citri.edu.au
Summary: filesystem strangeness using fully patched NetBSD1.0
Keywords: SCSI SiS DX2 NetBSD1.0


Hi,
	We are having considerable troubles getting NetBSD 1.0 on a DX2/66 
	co-existing with DOS. All NetBSD related software has been ftp'ed from
	netbsd.rmit.edu.au. Patches 0->5 applied & installed soon after 
	OS install.

	Machine configuration:
		BT-445S SCSI controller
		150mb archive viper scsi tape drive
		SiS motherboard with 3 VESA slots, bt controller in slot #2, 
		#9 GXE in slave slot
		DX2/66
		1.05Gb Conner SCSI2 drive (CFP1060S)
	    SMC Elite16 ISA ethernet card

	Symptoms:
        - random crashes of programs. Programs like vi, vipw, csh, sh, 
		  more and ldconfig have all crashed at completely 
		  unpredictable times. Very unusual since I use (and have used) 
		  NetBSD since 0.8 with very few problems (thanks... :) on 
		  an IDE based system

        - we tried getting XFree86-3.1.1 to work, and it once 
	 	  complained of a syntax error in the XF86Config file. A reboot 
		  made the syntax error disappear. X now starts correctly, 
		  provided the above programs dont fail...

	Is this symptomatic of a geometry problem or something more 
	sinister (we tried using the same geometry settings as DOS rather 
	than what the GENERICBT kernel prints when it starts).

	Attached is the kernel config file we are currently using and 
	some layout information which might help. TIA,

Andrew Cassin
email address: acas@catt.citri.edu.au

--- output from DOS fdisk ---
# Partition table on device: 0
geometry 1013 64 32 (cyls heads sectors)
#  ID  First(cyl)  Last(cyl)  Name  # start, length (sectors)
1   6      0        119       DOSbi # 32, 245728
2   5    120        812       DOSex # 245760, 1419264
3 165    813       1012       unkno # 1665024, 409600
4   0      0          0       empty # 0, 0
active: 1


--- output from 'disklabel -r /dev/rsd0d' ----
# /dev/rsd0d:
type: SCSI
disk: hawc
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 1013
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

5 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:    32768  1665024    4.2BSD     1024  8192    16 	# (Cyl.  813 - 828)
  b:    65536  1697792      swap                    	# (Cyl.  829 - 860)
  c:   409600  1665024    unused        0     0       	# (Cyl.  813 - 1012)
  d:  2074624        0    unused        0     0       	# (Cyl.    0 - 1012)
  e:   311296  1763328    4.2BSD     1024  8192    16 	# (Cyl.  861 - 1012)



--- kernel config file (modified from GENERICBT) ---

#
# hawc -- machine config 
#

machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
#cpu		"I586_CPU"
ident		hawc
timezone	8 dst
maxusers	20
options		SWAPPAGER,VNODEPAGER,DEVPAGER
options		FFS
options		INET,"CD9660",NFSCLIENT
options		"COMPAT_43"
#options	"TCP_COMPAT_42"
options		XSERVER,UCONSOLE
options		MSDOSFS
options		KERNFS
options		SCSI
#options	        "MATH_EMULATE"
#options		"COMPAT_NOMID"
#options	        "COMPAT_09"
options		"MACHINE_NONCONTIG"
options         SYSVSHM, SYSVSEM, SYSVMSG

config		netbsd	swap generic
options		GENERIC

controller	isa0

device		pc0	at isa? port "IO_KBD" irq 1
device		com0	at isa? port "IO_COM1" irq 4
device		com1	at isa? port "IO_COM2" irq 3
device		com2	at isa? port "IO_COM3" irq 5

device		lpt0	at isa? port "IO_LPT1" irq 7
#device		lpt1	at isa? port "IO_LPT2"
#device		lpt2	at isa? port "IO_LPT3"

#controller	wdc0	at isa? port "IO_WD1" irq 14
#disk		wd0	at wdc0 drive ?
#disk		wd1	at wdc0 drive ?

controller	fdc0	at isa? port "IO_FD1" irq 6 drq 2
disk		fd0	at fdc0 drive ?
disk		fd1	at fdc0 drive ?

#device		wt0	at isa? port 0x300 irq 5 drq 1

controller	bt0	at isa? port "IO_BT0" irq ? drq ?
master		scsibus0 at bt0
disk		sd0	at scsibus0 slave ?
disk		sd1	at scsibus0 slave ?
disk		sd2	at scsibus0 slave ?
disk		sd3	at scsibus0 slave ?
tape		st0	at scsibus0 slave ?
tape		st1	at scsibus0 slave ?
disk		cd0	at scsibus0 slave ?
disk		cd1	at scsibus0 slave ?

#controller	ahb0	at isa? irq ?
#master		scsibus1 at ahb0
#disk		sd0	at scsibus1 slave ?
#disk		sd1	at scsibus1 slave ?
#disk		sd2	at scsibus1 slave ?
#disk		sd3	at scsibus1 slave ?
#tape		st0	at scsibus1 slave ?
#tape		st1	at scsibus1 slave ?
#disk		cd0	at scsibus1 slave ?
#disk		cd1	at scsibus1 slave ?

#controller	uha0	at isa? port "IO_UHA0" irq ? drq ?
#master		scsibus2 at uha0
#disk		sd0	at scsibus2 slave ?
#disk		sd1	at scsibus2 slave ?
#disk		sd2	at scsibus2 slave ?
#disk		sd3	at scsibus2 slave ?
#tape		st0	at scsibus2 slave ?
#tape		st1	at scsibus2 slave ?
#disk		cd0	at scsibus2 slave ?
#disk		cd1	at scsibus2 slave ?

#controller	aic0	at isa? port 0x340 irq 11 drq 6
#master		scsibus3 at aic0
#disk		sd0	at scsibus3 slave ?
#disk		sd1	at scsibus3 slave ?
#disk		sd2	at scsibus3 slave ?
#disk		sd3	at scsibus3 slave ?
#tape		st0	at scsibus3 slave ?
#tape		st1	at scsibus3 slave ?
#disk		cd0	at scsibus3 slave ?
#disk		cd1	at scsibus3 slave ?

#master          pci0    at isa?

#controller	ncr0	at pci0 slave ?
#master		scsibus4 at ncr0
#disk		sd0	at scsibus4 slave ?
#disk		sd1	at scsibus4 slave ?
#disk		sd2	at scsibus4 slave ?
#disk		sd3	at scsibus4 slave ?
#tape		st0	at scsibus4 slave ?
#tape		st1	at scsibus4 slave ?
#disk		cd0	at scsibus4 slave ?
#disk		cd1	at scsibus4 slave ?

device ed0 at isa? port 0x2a0 irq 5 iomem 0xd0000
#device ed1 at isa? port 0x250 irq 9 iomem 0xd8000
#device ed2 at isa? port 0x300 irq 10 iomem 0xcc000
#device el0 at isa? port 0x300 irq 9
#device ep0 at isa? port ? irq ?
#device ie0 at isa? port 0x360 irq 7 iomem 0xd0000
#device le0 at isa? port 0x320 irq 10 drq 7

device		npx0	at isa? port "IO_NPX" irq 13

pseudo-device	ether
pseudo-device	log
pseudo-device	loop
pseudo-device	pty	32
pseudo-device	sl	1
pseudo-device	speaker