*BSD News Article 62084


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!gatech!news.mathworks.com!tank.news.pipex.net!pipex!lade.news.pipex.net!pipex!bt!steve2
From: steve@labyrinth.bt.co.uk (Steve Hollywood)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Mounting MSDOS partitions under NetBSD1.1
Date: Thu, 15 Feb 96 14:02:03 GMT
Organization: BT Labs
Lines: 41
Message-ID: <4fvegv$msm@pheidippides.axion.bt.co.uk>
NNTP-Posting-Host: 132.146.220.109
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Newsreader: News Xpress Version 1.0 Beta #4

I have a problem trying to mount an MSDOS partition under NetBSD1.1.

It seems to work ok ie it mounts and is df'able and I can even read list root 
directory using ls. However, if I try to read, write or even ls a 
sub-directory of root I get the following message.

panic: allocbuf: buffer larger than MAXBUFSZ requested

The BSD partitions of the same disk work ok so I am at a loss.

Has anyone have the same problem or any ideas how to fix it.

The originally contained Windows95 but has been reformated and installed with 
loaded with DOS6.20. Below is the disklabel in case it helps throw some light 
on the problem.

# /dev/rwd0d:
type: ST506
disk: mywd
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 64
sectors/cylinder: 4032
cylinders: 527
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:     4032  2116800    4.2BSD     1024  8192    16 	# (Cyl.  525 - 525)
  b:     4032  2120832      swap                    	# (Cyl.  526 - 526)
  c:     8064  2116800    unused        0     0       	# (Cyl.  525 - 526)
  d:  2124864        0    unused        0     0       	# (Cyl.    0 - 526)
  e:  2116737       63     MSDOS                    	# (Cyl.    0*- 524*)