Subject: kern/37000: Solaris ufs filesystems not supported
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <martin@duskware.de>
List: netbsd-bugs
Date: 09/17/2007 20:20:03
>Number: 37000
>Category: kern
>Synopsis: Solaris ufs filesystems not supported
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Sep 17 20:20:03 +0000 2007
>Originator: Martin Husemann
>Release: NetBSD 4.99.30
>Organization:
>Environment:
System: NetBSD sunny-weather.duskware.de 4.99.30 NetBSD 4.99.30 (SUNNY) #28: Sun Sep 2 13:02:05 CEST 2007 martin@night-porter.duskware.de:/usr/src/sys/arch/sparc64/compile/SUNNY sparc64
Architecture: sparc64
Machine: sparc64
>Description:
Creating a small ufs filesystem with default parameters on Solaris 10
or OpenSolaris creates a ufs variant that is not well supported by NetBSD.
The ufs code in libsa is not able to read the / directory (so can't boot
kernels from this filesystem), and trying to access the filesystem from
a running system results in a panic
# mount -r /dev/sd1a /mnt
# ls /mnt
panic: buf mem pool index 55
>How-To-Repeat:
See above. An image of a test filesystem is at
ftp.netbsd.org:/pub/NetBSD/misc/martin/ufs.img.bz2 (~84kB, big endian)
>Fix:
n/a (besides avoiding the kernel panic, I'm mostly interested in libsa support
for such filesystems)