Some new hardware with 9.1 does not reboot easily

Patrick Lamaiziere patfbsd at davenulle.org
Mon Nov 26 10:11:03 UTC 2012


Le Fri, 23 Nov 2012 23:41:32 +0100,
Willem Jan Withagen <wjw at digiware.nl> a écrit :

Hello,

> >> I'm waiting for the system to come back up, and will put the svn
> >> diff on my webserver...., unless it is oke to post a 1200 lines of
> >> diff??
> >
> > I think that a webserver option would be better.
> > Thanks again.
> 
> Oke,
> 
> Diff is at:
> http://www.tegenbosch28.nl/FreeBSD/Diffs/9.1-ZFS-reboot.diff

> And is against a checkout of this morning: r243433
> Hope it works for others.

Hmm, the patch does not apply on r243433.

--------------------------
|Index: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
|===================================================================
|--- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c	(revision 243433)
|+++ sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c	(working copy)
--------------------------
Patching file sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c using Plan A...
Hunk #1 succeeded at 1717 (offset -42 lines).
Hunk #2 succeeded at 1809 (offset -42 lines).
Hunk #3 succeeded at 1843 (offset -42 lines).
Hunk #4 succeeded at 1880 (offset -42 lines).
Hunk #5 succeeded at 1926 (offset -42 lines).
Hunk #6 succeeded at 2080 (offset -42 lines).

|Index: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c
|===================================================================
|--- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c	(revision 243433)
|+++ sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c	(working copy)
--------------------------
Patching file sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c using Plan A...
Hunk #1 succeeded at 135.
Hunk #2 succeeded at 508.
Hunk #3 succeeded at 746.
Hunk #4 succeeded at 757.
Hunk #5 failed at 1150.
Hunk #6 succeeded at 1179 (offset -5 lines).
Hunk #7 failed at 1192.
Hunk #8 succeeded at 1250 (offset -1 lines).
Hunk #9 succeeded at 1400 (offset -6 lines).
Hunk #10 succeeded at 1417 (offset -1 lines).
Hunk #11 succeeded at 1420 (offset -6 lines).
Hunk #12 succeeded at 1440 (offset -1 lines).
2 out of 12 hunks failed--saving rejects to sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c.rej

As far I can see it fails because there is no getnewvnode_reserve()
/ get_newvnode_drop_reserve() in 9.1.

Thansk, Regards.
-- 
Patrick Lamaizière
Centre de Ressources Informatiques
CRI Central Université de Rennes 1
Tél: 02 23 23 71 45


More information about the freebsd-stable mailing list