Subject: kern/37000: Solaris ufs filesystems not supported
To: None <,,>
From: None <>
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
System: NetBSD 4.99.30 NetBSD 4.99.30 (SUNNY) #28: Sun Sep 2 13:02:05 CEST 2007 sparc64
Architecture: sparc64
Machine: sparc64

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


See above. An image of a test filesystem is at (~84kB, big endian)

n/a (besides avoiding the kernel panic, I'm mostly interested in libsa support
for such filesystems)