From nobody@FreeBSD.org  Thu Nov 29 15:29:50 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5B7C716A418
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Nov 2007 15:29:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 5AF8313C458
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Nov 2007 15:29:50 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lATFTdGT090967
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Nov 2007 15:29:39 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lATFTdQ7090966;
	Thu, 29 Nov 2007 15:29:39 GMT
	(envelope-from nobody)
Message-Id: <200711291529.lATFTdQ7090966@www.freebsd.org>
Date: Thu, 29 Nov 2007 15:29:39 GMT
From: Ewald Jenisch <a@jenisch.at>
To: freebsd-gnats-submit@FreeBSD.org
Subject: TSM fails after kernel upgrade (linux emulation)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         118329
>Category:       kern
>Synopsis:       [linux] TSM fails after kernel upgrade (regression)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-emulation
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 29 15:30:01 UTC 2007
>Closed-Date:    Tue Dec 11 07:17:01 UTC 2007
>Last-Modified:  Tue Dec 11 07:17:01 UTC 2007
>Originator:     Ewald Jenisch
>Release:        6-STABLE
>Organization:
>Environment:
FreeBSD athena.testbase.at 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Thu Nov 29 14:11:19 CET 2007     root@athena.testbase.at:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
After a recent kernel upgrade TSM (Tivoli Storage Manager) running
under the Linux emulation of FreeBSD suddently stopped working. Whenever
I start the client I end up with the following error messages:

ANS1228E Sending of object '/TSM-Backup/var' failed
ANS1063E The specified path is not a valid file system or logical volume name.

On the web I found indications that others are having problems too - see

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2006-08/msg00458.html

There I found a post by Paul Mather from August 2006 (!) describing the
exact same problems under 7-CURRENT that I'm now facing under 6-STABLE.

So I contacted Paul and he informed me that a patch went in for FreeBSD 6
by August 2007 that could be the reason for my problems:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/compat/linux/?only_with_tag=RELENG_
6

Looks like the implementation formerly under 7-CURRENT has been back-
ported to 6-STABLE (?)


I've already contacted Boris Samorodov (bsam <at> freebsd.org> and
Alexander Leidinger (netchild <at> freebsd.org) who advised me to file a PR.

To further track things down I tried with different versions of the
kernel sourcecode, i.e. cvs-ing sources with "*default date=..." -
here is what I found out:

Kernel sources as per				TSM running?
Original Installation CD			yes
2007.08.01.12.00.00				yes
2007.08.20.12.00.00				yes
2007.08.25.12.00.00				yes
2007.09.01.12.00.00				NO
today						NO

So it seems that a kernel change done between August 25 and September
1 2007 is the cause of the problem.

Please note that nothing else has been changed on the system - only
the kernel has been upgraded. Also note that I've been using TSM under
FreeBSD for years starting with 5.x and now at 6.2 without any
problems whatsoever.

Regards,
-ewald

>How-To-Repeat:
Problem is 100% reproducible.

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-emulation 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Nov 29 16:14:18 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118329 
State-Changed-From-To: open->closed 
State-Changed-By: netchild 
State-Changed-When: Tue Dec 11 07:16:45 UTC 2007 
State-Changed-Why:  
This is fixed in RELENG_6 and RELENG_6_3 now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118329 
>Unformatted:
