From owner-freebsd-fs@FreeBSD.ORG Sun Jul 19 09:21:25 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75BAB106566C for ; Sun, 19 Jul 2009 09:21:25 +0000 (UTC) (envelope-from acc@hexadecagram.org) Received: from mail.itproficiency.com (hexadecagram.org [166.70.126.65]) by mx1.freebsd.org (Postfix) with ESMTP id 414E88FC16 for ; Sun, 19 Jul 2009 09:21:25 +0000 (UTC) (envelope-from acc@hexadecagram.org) Received: from localhost (mail.hexadecagram.org [192.168.133.11]) by mail.itproficiency.com (Postfix) with ESMTP id EE77FDED169 for ; Sun, 19 Jul 2009 03:01:26 -0600 (MDT) X-Virus-Scanned: amavisd-new at itproficiency.com Received: from mail.itproficiency.com ([192.168.133.11]) by localhost (mail.itproficiency.com [192.168.133.11]) (amavisd-new, port 10024) with LMTP id 2NoesO+TBCAm for ; Sun, 19 Jul 2009 03:01:15 -0600 (MDT) Received: from ares.aegaeum.hexadecagram.org (ares.aegaeum.hexadecagram.org [192.168.133.220]) by mail.itproficiency.com (Postfix) with ESMTPSA id 609B3DED179 for ; Sun, 19 Jul 2009 03:01:14 -0600 (MDT) Message-ID: <4A62E0CE.1000508@hexadecagram.org> Date: Sun, 19 Jul 2009 03:01:02 -0600 From: Anthony Chavez Organization: hexadecagram.org User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: freebsd-fs@freebsd.org X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1A46517B3DE33B53F0705681" Subject: Re-starting a gjournal provider X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2009 09:21:25 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1A46517B3DE33B53F0705681 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello freebsd-fs, I'm trying to get gjournal working on a "removable" hard disk. I use the term loosely, because I'm using a very simple eSATA enclosure: an AMS Venus DS5 [1]. If I swap out disks, atacontrol cap ad0 seems sufficient enough to detect the new drive: the reported device model, serial number, firmware revision, and CHS values change as one would expect. My interpretation of [2] section 5.3 and gjournal(8) is that the following sequence of commands should ensure me that all write buffers have been flushed and bring the system to a point where it is safe to remove a disk. sync; sync; sync gjournal sync umount /dev/ad0s1.journal gjournal stop ad0s1.journal However, once they are executed, /dev/ad0s1.journal disappears and when I swap out the disk it doesn't come back. The only way I've found to bring it back is atacontrol detach ata0; atacontrol attach ata0, which doesn't seem like a wise thing to do if I have another device on the same channel. My question is, do I need to issue gjournal stop before I swap disks? And if so, is there any way that I can avoid the atacontrol detach/attach cycle that would need to take place before any mount is attempted so that /dev/ad0s1.journal appears (if in the drive inserted at the time does in fact utilize gjournal; I may want to experiment with having disks with either gjournal or soft updates)? And while I'm on the subject, are the (gjournal) syncs commands preceeding umount absolutely necessary in the case of removable media? [1] http://www.american-media.com/product/external/ds/ds.html [2] http://www.freebsd.org/doc/en/articles/gjournal-desktop/article.html --=20 Anthony Chavez http://hexadecagram.org/ mailto:acc@hexadecagram.org xmpp:acc@hexadecagram.org --------------enig1A46517B3DE33B53F0705681 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpi4NcACgkQbZTbIaRBRXHA8ACfSY5wcSsQjXGE1lHhMrIBVtaV br0AnRpeo1Jbi56/i9Qp5F60W/sAtLwU =eBD0 -----END PGP SIGNATURE----- --------------enig1A46517B3DE33B53F0705681-- From owner-freebsd-fs@FreeBSD.ORG Sun Jul 19 10:03:01 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4595D106566C for ; Sun, 19 Jul 2009 10:03:01 +0000 (UTC) (envelope-from acc@hexadecagram.org) Received: from mail.itproficiency.com (hexadecagram.org [166.70.126.65]) by mx1.freebsd.org (Postfix) with ESMTP id F3B7D8FC08 for ; Sun, 19 Jul 2009 10:03:00 +0000 (UTC) (envelope-from acc@hexadecagram.org) Received: from localhost (mail.hexadecagram.org [192.168.133.11]) by mail.itproficiency.com (Postfix) with ESMTP id 7D2EFDED179; Sun, 19 Jul 2009 04:03:00 -0600 (MDT) X-Virus-Scanned: amavisd-new at itproficiency.com Received: from mail.itproficiency.com ([192.168.133.11]) by localhost (mail.itproficiency.com [192.168.133.11]) (amavisd-new, port 10024) with LMTP id nK8+vJvKXwZK; Sun, 19 Jul 2009 04:02:48 -0600 (MDT) Received: from ares.aegaeum.hexadecagram.org (ares.aegaeum.hexadecagram.org [192.168.133.220]) by mail.itproficiency.com (Postfix) with ESMTPSA id E052CDED169; Sun, 19 Jul 2009 04:02:47 -0600 (MDT) Message-ID: <4A62EF41.50702@hexadecagram.org> Date: Sun, 19 Jul 2009 04:02:41 -0600 From: Anthony Chavez Organization: hexadecagram.org User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4A62E0CE.1000508@hexadecagram.org> In-Reply-To: <4A62E0CE.1000508@hexadecagram.org> X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig234791EE5D92A1F1E131CC2B" Cc: freebsd-fs@freebsd.org Subject: Re: Re-starting a gjournal provider X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2009 10:03:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig234791EE5D92A1F1E131CC2B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm moving this discussion to freebsd-questions, which is probably a more suitable forum (if not freebsd-geom). I apologize for the intrusion and the subsequent crosspost. Anthony Chavez wrote: > Hello freebsd-fs, >=20 > I'm trying to get gjournal working on a "removable" hard disk. I use > the term loosely, because I'm using a very simple eSATA enclosure: an > AMS Venus DS5 [1]. >=20 > If I swap out disks, atacontrol cap ad0 seems sufficient enough to > detect the new drive: the reported device model, serial number, firmwar= e > revision, and CHS values change as one would expect. >=20 > My interpretation of [2] section 5.3 and gjournal(8) is that the > following sequence of commands should ensure me that all write buffers > have been flushed and bring the system to a point where it is safe to > remove a disk. >=20 > sync; sync; sync > gjournal sync > umount /dev/ad0s1.journal > gjournal stop ad0s1.journal >=20 > However, once they are executed, /dev/ad0s1.journal disappears and when= > I swap out the disk it doesn't come back. The only way I've found to > bring it back is atacontrol detach ata0; atacontrol attach ata0, which > doesn't seem like a wise thing to do if I have another device on the > same channel. >=20 > My question is, do I need to issue gjournal stop before I swap disks? > And if so, is there any way that I can avoid the atacontrol > detach/attach cycle that would need to take place before any mount is > attempted so that /dev/ad0s1.journal appears (if in the drive inserted > at the time does in fact utilize gjournal; I may want to experiment wit= h > having disks with either gjournal or soft updates)? >=20 > And while I'm on the subject, are the (gjournal) syncs commands > preceeding umount absolutely necessary in the case of removable media? >=20 > [1] http://www.american-media.com/product/external/ds/ds.html >=20 > [2] http://www.freebsd.org/doc/en/articles/gjournal-desktop/article.htm= l --=20 Anthony Chavez http://hexadecagram.org/ mailto:acc@hexadecagram.org xmpp:acc@hexadecagram.org --------------enig234791EE5D92A1F1E131CC2B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpi70UACgkQbZTbIaRBRXFNmACfSPbcLIFuAnd+iDj6ucfoQKCN 3NIAn3FC5g4vTyCwwfnjgl1bRqRWndLa =Z962 -----END PGP SIGNATURE----- --------------enig234791EE5D92A1F1E131CC2B-- From owner-freebsd-fs@FreeBSD.ORG Mon Jul 20 11:06:54 2009 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F263106566C for ; Mon, 20 Jul 2009 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5C7CE8FC26 for ; Mon, 20 Jul 2009 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6KB6sWS002258 for ; Mon, 20 Jul 2009 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6KB6rTg002254 for freebsd-fs@FreeBSD.org; Mon, 20 Jul 2009 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Jul 2009 11:06:53 GMT Message-Id: <200907201106.n6KB6rTg002254@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-fs@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-fs@FreeBSD.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2009 11:06:54 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136601 fs [zfs] tar: Couldn't list extended attributes: Read-onl o kern/136470 fs [nfs] Cannot mount / in read-only, over NFS o kern/136218 fs [zfs] Exported ZFS pools can't be imported into (Open) o kern/135594 fs [zfs] Single dataset unresponsive with Samba o kern/135546 fs [zfs] zfs.ko module doesn't ignore zpool.cache filenam o kern/135480 fs [zfs] panic: lock &arg.lock already initialized o kern/135469 fs [ufs] [panic] kernel crash on md operation in ufs_dirb o bin/135314 fs [zfs] assertion failed for zdb(8) usage o kern/135050 fs [zfs] ZFS clears/hides disk errors on reboot f kern/134496 fs [zfs] [panic] ZFS pool export occasionally causes a ke o kern/134491 fs [zfs] Hot spares are rather cold... o kern/133980 fs [panic] [ffs] panic: ffs_valloc: dup alloc o kern/133676 fs [smbfs] [panic] umount -f'ing a vnode-based memory dis o kern/133614 fs [smbfs] [panic] panic: ffs_truncate: read-only filesys o kern/133373 fs [zfs] umass attachment causes ZFS checksum errors, dat o kern/133174 fs [msdosfs] [patch] msdosfs must support utf-encoded int f kern/133150 fs [zfs] Page fault with ZFS on 7.1-RELEASE/amd64 while w o kern/133134 fs [zfs] Missing ZFS zpool labels f kern/133020 fs [zfs] [panic] inappropriate panic caused by zfs. Pani o kern/132960 fs [ufs] [panic] panic:ffs_blkfree: freeing free frag o kern/132597 fs [tmpfs] [panic] tmpfs-related panic while interrupting o kern/132551 fs [zfs] ZFS locks up on extattr_list_link syscall o kern/132397 fs reboot causes filesystem corruption (failure to sync b o kern/132337 fs [zfs] [panic] kernel panic in zfs_fuid_create_cred o kern/132331 fs [ufs] [lor] LOR ufs and syncer o kern/132237 fs [msdosfs] msdosfs has problems to read MSDOS Floppy o kern/132145 fs [panic] File System Hard Crashes f kern/132068 fs [zfs] page fault when using ZFS over NFS on 7.1-RELEAS o kern/131995 fs [nfs] Failure to mount NFSv4 server o kern/131360 fs [nfs] poor scaling behavior of the NFS server under lo o kern/131342 fs [nfs] mounting/unmounting of disks causes NFS to fail o bin/131341 fs makefs: error "Bad file descriptor" on the mount poin o kern/131086 fs [ext2fs] [patch] mkfs.ext2 creates rotten partition o kern/130979 fs [smbfs] [panic] boot/kernel/smbfs.ko o kern/130920 fs [msdosfs] cp(1) takes 100% CPU time while copying file o kern/130229 fs [iconv] usermount fails on fs that need iconv o kern/130210 fs [nullfs] Error by check nullfs o kern/129760 fs [nfs] after 'umount -f' of a stale NFS share FreeBSD l o kern/129488 fs [smbfs] Kernel "bug" when using smbfs in smbfs_smb.c: o kern/129231 fs [ufs] [patch] New UFS mount (norandom) option - mostly o kern/129152 fs [panic] non-userfriendly panic when trying to mount(8) o kern/129148 fs [zfs] [panic] panic on concurrent writing & rollback o kern/129059 fs [zfs] [patch] ZFS bootloader whitelistable via WITHOUT f kern/128829 fs smbd(8) causes periodic panic on 7-RELEASE o kern/128633 fs [zfs] [lor] lock order reversal in zfs o kern/128514 fs [zfs] [mpt] problems with ZFS and LSILogic SAS/SATA Ad f kern/128173 fs [ext2fs] ls gives "Input/output error" on mounted ext3 o kern/127659 fs [tmpfs] tmpfs memory leak o kern/127492 fs [zfs] System hang on ZFS input-output o kern/127420 fs [gjournal] [panic] Journal overflow on gmirrored gjour o kern/127213 fs [tmpfs] sendfile on tmpfs data corruption o kern/127029 fs [panic] mount(8): trying to mount a write protected zi o kern/126287 fs [ufs] [panic] Kernel panics while mounting an UFS file s kern/125738 fs [zfs] [request] SHA256 acceleration in ZFS o kern/125644 fs [zfs] [panic] zfs unfixable fs errors caused panic whe f kern/125536 fs [ext2fs] ext 2 mounts cleanly but fails on commands li o kern/125149 fs [nfs] [panic] changing into .zfs dir from nfs client c f kern/124621 fs [ext3] [patch] Cannot mount ext2fs partition f bin/124424 fs [zfs] zfs(8): zfs list -r shows strange snapshots' siz o kern/123939 fs [msdosfs] corrupts new files o kern/122888 fs [zfs] zfs hang w/ prefetch on, zil off while running t o kern/122380 fs [ffs] ffs_valloc:dup alloc (Soekris 4801/7.0/USB Flash o kern/122173 fs [zfs] [panic] Kernel Panic if attempting to replace a o bin/122172 fs [fs]: amd(8) automount daemon dies on 6.3-STABLE i386, o kern/122047 fs [ext2fs] [patch] incorrect handling of UF_IMMUTABLE / o kern/122038 fs [tmpfs] [panic] tmpfs: panic: tmpfs_alloc_vp: type 0xc o bin/121898 fs [nullfs] pwd(1)/getcwd(2) fails with Permission denied o bin/121779 fs [ufs] snapinfo(8) (and related tools?) only work for t o kern/121770 fs [zfs] ZFS on i386, large file or heavy I/O leads to ke o bin/121366 fs [zfs] [patch] Automatic disk scrubbing from periodic(8 o bin/121072 fs [smbfs] mount_smbfs(8) cannot normally convert the cha f kern/120991 fs [panic] [fs] [snapshot] System crashes when manipulati o kern/120483 fs [ntfs] [patch] NTFS filesystem locking changes o kern/120482 fs [ntfs] [patch] Sync style changes between NetBSD and F o bin/120288 fs zfs(8): "zfs share -a" does not send SIGHUP to mountd f kern/119735 fs [zfs] geli + ZFS + samba starting on boot panics 7.0-B o kern/118912 fs [2tb] disk sizing/geometry problem with large array o misc/118855 fs [zfs] ZFS-related commands are nonfunctional in fixit o kern/118713 fs [minidump] [patch] Display media size required for a k o kern/118320 fs [zfs] [patch] NFS SETATTR sometimes fails to set file o bin/118249 fs mv(1): moving a directory changes its mtime o kern/118107 fs [ntfs] [panic] Kernel panic when accessing a file at N o bin/117315 fs [smbfs] mount_smbfs(8) and related options can't mount o kern/117314 fs [ntfs] Long-filename only NTFS fs'es cause kernel pani o kern/117158 fs [zfs] zpool scrub causes panic if geli vdevs detach on o bin/116980 fs [msdosfs] [patch] mount_msdosfs(8) resets some flags f o kern/116913 fs [ffs] [panic] ffs_blkfree: freeing free block p kern/116608 fs [msdosfs] [patch] msdosfs fails to check mount options o kern/116583 fs [ffs] [hang] System freezes for short time when using o kern/116170 fs [panic] Kernel panic when mounting /tmp o kern/115645 fs [snapshots] [panic] lockmgr: thread 0xc4c00d80, not ex o bin/115361 fs [zfs] mount(8) gets into a state where it won't set/un o kern/114955 fs [cd9660] [patch] [request] support for mask,dirmask,ui o kern/114847 fs [ntfs] [patch] [request] dirmask support for NTFS ala o kern/114676 fs [ufs] snapshot creation panics: snapacct_ufs2: bad blo o bin/114468 fs [patch] [request] add -d option to umount(8) to detach o kern/113852 fs [smbfs] smbfs does not properly implement DFS referral o bin/113838 fs [patch] [request] mount(8): add support for relative p o kern/113180 fs [zfs] Setting ZFS nfsshare property does not cause inh o bin/113049 fs [patch] [request] make quot(8) use getopt(3) and show o kern/112658 fs [smbfs] [patch] smbfs and caching problems (resolves b o kern/111843 fs [msdosfs] Long Names of files are incorrectly created o kern/111782 fs [ufs] dump(8) fails horribly for large filesystems s bin/111146 fs [2tb] fsck(8) fails on 6T filesystem o kern/109024 fs [msdosfs] mount_msdosfs: msdosfs_iconv: Operation not o kern/109010 fs [msdosfs] can't mv directory within fat32 file system o bin/107829 fs [2TB] fdisk(8): invalid boundary checking in fdisk / w o kern/106030 fs [ufs] [panic] panic in ufs from geom when a dead disk o kern/105093 fs [ext2fs] [patch] ext2fs on read-only media cannot be m o kern/104406 fs [ufs] Processes get stuck in "ufs" state under persist o kern/104133 fs [ext2fs] EXT2FS module corrupts EXT2/3 filesystems o kern/103035 fs [ntfs] Directories in NTFS mounted disc images appear o kern/101324 fs [smbfs] smbfs sometimes not case sensitive when it's s o kern/99290 fs [ntfs] mount_ntfs ignorant of cluster sizes o kern/97377 fs [ntfs] [patch] syntax cleanup for ntfs_ihash.c o kern/95222 fs [iso9660] File sections on ISO9660 level 3 CDs ignored o kern/94849 fs [ufs] rename on UFS filesystem is not atomic o kern/94769 fs [ufs] Multiple file deletions on multi-snapshotted fil o kern/94733 fs [smbfs] smbfs may cause double unlock o kern/93942 fs [vfs] [patch] panic: ufs_dirbad: bad dir (patch from D o kern/92272 fs [ffs] [hang] Filling a filesystem while creating a sna f kern/91568 fs [ufs] [panic] writing to UFS/softupdates DVD media in o kern/91134 fs [smbfs] [patch] Preserve access and modification time a kern/90815 fs [smbfs] [patch] SMBFS with character conversions somet o kern/89991 fs [ufs] softupdates with mount -ur causes fs UNREFS o kern/88657 fs [smbfs] windows client hang when browsing a samba shar o kern/88266 fs [smbfs] smbfs does not implement UIO_NOCOPY and sendfi o kern/87859 fs [smbfs] System reboot while umount smbfs. o kern/86587 fs [msdosfs] rm -r /PATH fails with lots of small files o kern/85326 fs [smbfs] [panic] saving a file via samba to an overquot o kern/84589 fs [2TB] 5.4-STABLE unresponsive during background fsck 2 o kern/80088 fs [smbfs] Incorrect file time setting on NTFS mounted vi o kern/77826 fs [ext2fs] ext2fs usb filesystem will not mount RW o kern/73484 fs [ntfs] Kernel panic when doing `ls` from the client si o bin/73019 fs [ufs] fsck_ufs(8) cannot alloc 607016868 bytes for ino o kern/71774 fs [ntfs] NTFS cannot "see" files on a WinXP filesystem o kern/68978 fs [panic] [ufs] crashes with failing hard disk, loose po o kern/65920 fs [nwfs] Mounted Netware filesystem behaves strange o kern/65901 fs [smbfs] [patch] smbfs fails fsx write/truncate-down/tr o kern/61503 fs [smbfs] mount_smbfs does not work as non-root o kern/55617 fs [smbfs] Accessing an nsmb-mounted drive via a smb expo o kern/51685 fs [hang] Unbounded inode allocation causes kernel to loc o kern/51583 fs [nullfs] [patch] allow to work with devices and socket o kern/36566 fs [smbfs] System reboot with dead smb mount and umount o kern/18874 fs [2TB] 32bit NFS servers export wrong negative values t 145 problems total. From owner-freebsd-fs@FreeBSD.ORG Mon Jul 20 13:41:16 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EF4D106564A for ; Mon, 20 Jul 2009 13:41:16 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id B30078FC18 for ; Mon, 20 Jul 2009 13:41:15 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: (qmail 35727 invoked from network); 20 Jul 2009 13:14:33 -0000 Received: from unknown (HELO ?10.0.0.135?) (spawk@128.238.64.31) by acm.poly.edu with AES256-SHA encrypted SMTP; 20 Jul 2009 13:14:33 -0000 Message-ID: <4A646DA8.2050201@acm.poly.edu> Date: Mon, 20 Jul 2009 09:14:16 -0400 From: Boris Kochergin User-Agent: Thunderbird 2.0.0.19 (X11/20090108) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: geom_mirror/UFS weirdness with 7.2-STABLE X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2009 13:41:16 -0000 Ahoy. I noticed some very odd things in my file server's kernel buffer this morning (there were actually a ton of these--this is a snippet): Jul 20 05:54:10 exodus smartd[763]: Device: /dev/ad1, FAILED SMART self-check. BACK UP DATA NOW! Jul 20 05:57:57 exodus kernel: g_vfs_done():mirror/boots1[READ(offset=-4569735194538825728, length=16384)]error = 5 Jul 20 05:57:57 exodus kernel: bad block 8806809555123731765, ino 4430620 Jul 20 05:57:57 exodus kernel: pid 35 (softdepflush), uid 0 inumber 4430620 on /: bad block Jul 20 05:57:57 exodus kernel: g_vfs_done():mirror/boots1[READ(offset=-7379534036451358720, length=16384)]error = 5 Jul 20 05:57:57 exodus kernel: bad block 5076457091570183473, ino 4430620 Jul 20 05:57:57 exodus kernel: pid 35 (softdepflush), uid 0 inumber 4430620 on /: bad block Jul 20 05:57:57 exodus kernel: g_vfs_done():mirror/boots1[READ(offset=8010486245121781760, length=16384)]error = 5 Jul 20 05:57:57 exodus kernel: bad block 1859394416713520222, ino 4430620 Jul 20 05:57:57 exodus kernel: pid 35 (softdepflush), uid 0 inumber 4430620 on /: bad block Jul 20 05:57:57 exodus kernel: bad block 8993345361309361786, ino 4430620 Jul 20 05:57:57 exodus kernel: pid 35 (softdepflush), uid 0 inumber 4430620 on /: bad block Jul 20 05:57:57 exodus kernel: bad block 5442079378433802039, ino 4430620 Jul 20 05:57:57 exodus kernel: pid 35 (softdepflush), uid 0 inumber 4430620 on /: bad block Jul 20 05:57:57 exodus kernel: bad block -386473693423142096, ino 4430620 Jul 20 05:57:57 exodus kernel: pid 35 (softdepflush), uid 0 inumber 4430620 on /: bad block Jul 20 05:57:57 exodus kernel: bad block -6538821972600747, ino 4430620 Jul 20 05:57:57 exodus kernel: pid 35 (softdepflush), uid 0 inumber 4430620 on /: bad block Jul 20 05:57:57 exodus kernel: bad block 7280706165078778427, ino 4430620 Jul 20 05:57:57 exodus kernel: pid 35 (softdepflush), uid 0 inumber 4430620 on /: bad block Jul 20 05:57:57 exodus kernel: bad block 2788813269397304649, ino 4430620 Jul 20 05:57:57 exodus kernel: pid 35 (softdepflush), uid 0 inumber 4430620 on /: bad block Jul 20 05:57:57 exodus kernel: bad block 8324768912580846323, ino 4430620 Jul 20 05:57:57 exodus kernel: pid 35 (softdepflush), uid 0 inumber 4430620 on /: bad block Jul 20 05:57:57 exodus kernel: bad block 8358350883763232034, ino 4430620 Jul 20 05:57:57 exodus kernel: pid 35 (softdepflush), uid 0 inumber 4430620 on /: bad block The filesystem lives atop a two-disk geom_mirror: # gmirror status Name Status Components mirror/boot COMPLETE ad0 ad1 ...and the output of "df" on it also shows something odd: # df / Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/mirror/boots1 37846636 -4058799239201906816 4058799239236725722 -11656883301279% / The system is a: # uname -a FreeBSD exodus.poly.edu 7.2-STABLE FreeBSD 7.2-STABLE #3: Sat Jul 11 16:22:02 EDT 2009 root@exodus.poly.edu:/usr/obj/usr/src/sys/EXODUS amd64 Regarding smartd yelling at me about /dev/ad1, it's been doing that for long while before this. There is one sector on the drive that cannot be read, but the disk has otherwise been fine for months. My experience with geom_mirror has been that it disconnects members from an array if they experience I/O errors, so this seems to be something different. Any clues? -Boris From owner-freebsd-fs@FreeBSD.ORG Mon Jul 20 21:32:30 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 102AA106566B for ; Mon, 20 Jul 2009 21:32:30 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 9083B8FC0A for ; Mon, 20 Jul 2009 21:32:29 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MT0TC-0005xQ-CM for freebsd-fs@freebsd.org; Mon, 20 Jul 2009 21:32:26 +0000 Received: from 93-138-40-205.adsl.net.t-com.hr ([93.138.40.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jul 2009 21:32:26 +0000 Received: from ivoras by 93-138-40-205.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Jul 2009 21:32:26 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Mon, 20 Jul 2009 23:32:05 +0200 Lines: 67 Message-ID: References: <4A646DA8.2050201@acm.poly.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD4C76C2F41AE6E49D58375DE" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93-138-40-205.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) In-Reply-To: <4A646DA8.2050201@acm.poly.edu> X-Enigmail-Version: 0.96.0 Sender: news Subject: Re: geom_mirror/UFS weirdness with 7.2-STABLE X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2009 21:32:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD4C76C2F41AE6E49D58375DE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Boris Kochergin wrote: > Ahoy. I noticed some very odd things in my file server's kernel buffer > this morning (there were actually a ton of these--this is a snippet): >=20 > Jul 20 05:54:10 exodus smartd[763]: Device: /dev/ad1, FAILED SMART > self-check. BACK UP DATA NOW! > Jul 20 05:57:57 exodus kernel: > g_vfs_done():mirror/boots1[READ(offset=3D-4569735194538825728, > length=3D16384)]error =3D 5 > Jul 20 05:57:57 exodus kernel: bad block 8806809555123731765, ino 44306= 20 > Jul 20 05:57:57 exodus kernel: pid 35 (softdepflush), uid 0 inumber > 4430620 on /: bad block >=20 > # df / > Filesystem 1K-blocks Used Avail > Capacity Mounted on > /dev/mirror/boots1 37846636 -4058799239201906816 4058799239236725722 > -11656883301279% / >=20 > The system is a: >=20 > # uname -a > FreeBSD exodus.poly.edu 7.2-STABLE FreeBSD 7.2-STABLE #3: Sat Jul 11 > 16:22:02 EDT 2009 root@exodus.poly.edu:/usr/obj/usr/src/sys/EXODUS = > amd64 >=20 > Regarding smartd yelling at me about /dev/ad1, it's been doing that for= > long while before this. There is one sector on the drive that cannot be= > read, but the disk has otherwise been fine for months. My experience > with geom_mirror has been that it disconnects members from an array if > they experience I/O errors, so this seems to be something different. An= y > clues? It looks like the drive returned corrupted data without returning an error - which is strange, but not impossible. You are probably seeing numbers like -4058799239201906816 because some metadata is corrupted. If so, you should immediately disconnect the problematic drive so that the errorneous data isn't picked up and written to the good drive. --------------enigD4C76C2F41AE6E49D58375DE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkpk4lUACgkQldnAQVacBcg9YgCg4gENDmV+VS0OePXe/bglQSle iOEAoK3LBtdXGaOXBTwbwb3YF3v8+G5h =Grl1 -----END PGP SIGNATURE----- --------------enigD4C76C2F41AE6E49D58375DE-- From owner-freebsd-fs@FreeBSD.ORG Tue Jul 21 04:00:35 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9B7E106566C; Tue, 21 Jul 2009 04:00:35 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AE8A08FC27; Tue, 21 Jul 2009 04:00:35 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6L40ZhG093789; Tue, 21 Jul 2009 04:00:35 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6L40ZOE093783; Tue, 21 Jul 2009 04:00:35 GMT (envelope-from linimon) Date: Tue, 21 Jul 2009 04:00:35 GMT Message-Id: <200907210400.n6L40ZOE093783@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/136873: [ntfs] Missing directories/files on NTFS volume X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2009 04:00:36 -0000 Old Synopsis: Missing directories/files on NTFS volume New Synopsis: [ntfs] Missing directories/files on NTFS volume Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Tue Jul 21 04:00:21 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=136873 From owner-freebsd-fs@FreeBSD.ORG Wed Jul 22 07:43:12 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14BBC106564A; Wed, 22 Jul 2009 07:43:12 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DF23E8FC15; Wed, 22 Jul 2009 07:43:11 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from freefall.freebsd.org (trasz@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6M7hBi2049330; Wed, 22 Jul 2009 07:43:11 GMT (envelope-from trasz@freefall.freebsd.org) Received: (from trasz@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6M7hBlw049326; Wed, 22 Jul 2009 07:43:11 GMT (envelope-from trasz) Date: Wed, 22 Jul 2009 07:43:11 GMT Message-Id: <200907220743.n6M7hBlw049326@freefall.freebsd.org> To: trasz@FreeBSD.org, freebsd-fs@FreeBSD.org, trasz@FreeBSD.org From: trasz@FreeBSD.org Cc: Subject: Re: kern/136601: [zfs] tar: Couldn't list extended attributes: Read-only file system X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 07:43:12 -0000 Synopsis: [zfs] tar: Couldn't list extended attributes: Read-only file system Responsible-Changed-From-To: freebsd-fs->trasz Responsible-Changed-By: trasz Responsible-Changed-When: Wed Jul 22 07:43:11 UTC 2009 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=136601 From owner-freebsd-fs@FreeBSD.ORG Wed Jul 22 22:10:48 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CA841065675 for ; Wed, 22 Jul 2009 22:10:48 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from hamlet.setfilepointer.com (hamlet.SetFilePointer.com [63.224.10.2]) by mx1.freebsd.org (Postfix) with SMTP id 86DEA8FC14 for ; Wed, 22 Jul 2009 22:10:47 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 29042 invoked from network); 22 Jul 2009 17:10:46 -0500 Received: from keira.kiwi-computer.com (HELO kiwi-computer.com) (63.224.10.3) by hamlet.setfilepointer.com with SMTP; 22 Jul 2009 17:10:46 -0500 Received: (qmail 62054 invoked by uid 2001); 22 Jul 2009 22:10:46 -0000 Date: Wed, 22 Jul 2009 17:10:46 -0500 From: "Rick C. Petty" To: freebsd-fs@freebsd.org Message-ID: <20090722221046.GA62007@keira.kiwi-computer.com> References: <20081213173902.GA96883@keira.kiwi-computer.com> <20081213183058.GA20992@a91-153-125-115.elisa-laajakaista.fi> <20081213192320.GA97766@keira.kiwi-computer.com> <86y6yh5pz0.fsf@ds4.des.no> <20081215234809.GA24403@keira.kiwi-computer.com> <8663lk5ju7.fsf@ds4.des.no> <20081216201046.GA34809@keira.kiwi-computer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081216201046.GA34809@keira.kiwi-computer.com> User-Agent: Mutt/1.4.2.3i Subject: Re: UFS label limitations X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd2008@kiwi-computer.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 22:10:48 -0000 I posted this patch back in December, which allows some separator characters to be used in UFS labels. I've attached the patch below. des@ suggested using strspn(3) instead, so I've attached that version also. Is someone willing to commit this into 8.0? It's rather innocuous. -- Rick C. Petty ~~~ ~~~ original patch ~~~ --- src/sbin/newfs/newfs.c.orig 2007-03-02 14:07:59.000000000 -0600 +++ src/sbin/newfs/newfs.c 2008-12-15 17:29:26.000000000 -0600 @@ -168,11 +168,15 @@ case 'L': volumelabel = optarg; i = -1; - while (isalnum(volumelabel[++i])); - if (volumelabel[i] != '\0') { - errx(1, "bad volume label. Valid characters are alphanumerics."); - } - if (strlen(volumelabel) >= MAXVOLLEN) { + while ((ch = volumelabel[++i]) != '\0') + if (ch != '-' && ch != '.' && ch != '_' && + (ch < '0' || ch > '9') && + (ch < 'A' || ch > 'Z') && + (ch < 'a' || ch > 'z')) + errx(1, + "bad volume label. Valid characters are " + "[0-9A-Za-z._-]."); + if (i >= MAXVOLLEN) { errx(1, "bad volume label. Length is longer than %d.", MAXVOLLEN); } --- src/sbin/tunefs/tunefs.c.orig 2008-02-26 14:25:35.000000000 -0600 +++ src/sbin/tunefs/tunefs.c 2008-12-15 17:27:58.000000000 -0600 @@ -153,13 +153,16 @@ name = "volume label"; Lvalue = optarg; i = -1; - while (isalnum(Lvalue[++i])); - if (Lvalue[i] != '\0') { + while ((ch = Lvalue[++i]) != '\0') + if (ch != '-' && ch != '.' && ch != '_' && + (ch < '0' || ch > '9') && + (ch < 'A' || ch > 'Z') && + (ch < 'a' || ch > 'z')) errx(10, - "bad %s. Valid characters are alphanumerics.", + "bad %s. Valid characters are " + "[0-9A-Za-z._-].", name); - } - if (strlen(Lvalue) >= MAXVOLLEN) { + if (i >= MAXVOLLEN) { errx(10, "bad %s. Length is longer than %d.", name, MAXVOLLEN - 1); } ~~~ ~~~ using strspn instead ~~~ --- src/sbin/newfs/newfs.c.orig 2008-05-03 23:51:38.000000000 -0500 +++ src/sbin/newfs/newfs.c 2009-07-22 16:58:48.000000000 -0500 @@ -167,10 +167,10 @@ break; case 'L': volumelabel = optarg; - i = -1; - while (isalnum(volumelabel[++i])); + i = strspn(volumelabel, + "-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz"); if (volumelabel[i] != '\0') { - errx(1, "bad volume label. Valid characters are alphanumerics."); + errx(1, "bad volume label. Valid characters are [0-9A-Za-z._-]."); } if (strlen(volumelabel) >= MAXVOLLEN) { errx(1, "bad volume label. Length is longer than %d.", --- src/sbin/tunefs/tunefs.c.orig 2008-05-03 23:51:52.000000000 -0500 +++ src/sbin/tunefs/tunefs.c 2009-07-22 17:01:23.000000000 -0500 @@ -152,11 +152,11 @@ found_arg = 1; name = "volume label"; Lvalue = optarg; - i = -1; - while (isalnum(Lvalue[++i])); + i = strspn(Lvalue, + "-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz"); if (Lvalue[i] != '\0') { errx(10, - "bad %s. Valid characters are alphanumerics.", + "bad %s. Valid characters are [0-9A-Za-z._-].", name); } if (strlen(Lvalue) >= MAXVOLLEN) { From owner-freebsd-fs@FreeBSD.ORG Thu Jul 23 08:22:41 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 092B3106564A; Thu, 23 Jul 2009 08:22:41 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id B7A998FC1B; Thu, 23 Jul 2009 08:22:40 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from c83-253-252-234.bredband.comhem.se ([83.253.252.234]:47556 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.69) (envelope-from ) id 1MTtZD-0002fx-63; Thu, 23 Jul 2009 10:22:21 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id 838401696A2; Thu, 23 Jul 2009 10:22:15 +0200 (CEST) Message-Id: From: Thomas Backman To: bug-followup@FreeBSD.org, freebsd@r.zeeb.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Thu, 23 Jul 2009 10:22:13 +0200 X-Mailer: Apple Mail (2.935.3) X-Originating-IP: 83.253.252.234 X-Scan-Result: No virus found in message 1MTtZD-0002fx-63. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MTtZD-0002fx-63 a27d59751262fe8beaa58b7e258a33e4 Cc: freebsd-fs@freebsd.org, FreeBSD current Subject: Re: kern/132337: [zfs] [panic] kernel panic in zfs_fuid_create_cred X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 08:22:41 -0000 Hey all, Unfortunately, this PR appears to still be unfixed. Is anyone looking at this? I tried to set up a diskless client over NFS yesterday, running ZFS on /, and ran in to this panic (exact same backtrace as the PR (see bottom the this mail)) a lot of times. In the end, I created a ZVOL with UFS on it, and the panics disappeared as expected - since it no longer has to work directly with files on a ZFS *filesystem*. It seems to be pretty easy to trigger, as I couldn't finish the boot process on the diskless client more than once until I went with UFS. Since then I've gotten 0 panics. FWIW, my /etc/exports (I know now R/W NFS root isn't a good idea, but it might be relevant): /diskless -maproot=0 -alldirs 192.168.1.6 Regards, Thomas Backtrace: panic: zfs_fuid_create_cred cpuid = x KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a panic() at panic+0x182 zfs_fuid_create_cred() at zfs_fuid_create_cred+0x56 zfs_perm_init() at zfs_perm_init+0x84 zfs_mknode() at zfs_mknode+0x24e zfs_freebsd_create() at zfs_freebsd_create+0x617 VOP_CREATE_APV() at VOP_CREATE_APV+0xb3 nfsrv_create() at nfsrv_create+0x909 nfssvc_program() at nfssvc_program+0x1a1 svc_run_internal() at svc_run_internal+0x62b svc_thread_start() at svc_thread_start+0xb fork_exit() at fork_exit+0x12a fork_trampoline() at fork_trampoline+0xe From owner-freebsd-fs@FreeBSD.ORG Thu Jul 23 08:30:05 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A830106566B for ; Thu, 23 Jul 2009 08:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 691CF8FC1F for ; Thu, 23 Jul 2009 08:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6N8U56F000221 for ; Thu, 23 Jul 2009 08:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6N8U54k000218; Thu, 23 Jul 2009 08:30:05 GMT (envelope-from gnats) Date: Thu, 23 Jul 2009 08:30:05 GMT Message-Id: <200907230830.n6N8U54k000218@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Thomas Backman Cc: Subject: Re: kern/132337: [zfs] [panic] kernel panic in zfs_fuid_create_cred X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thomas Backman List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 08:30:05 -0000 The following reply was made to PR kern/132337; it has been noted by GNATS. From: Thomas Backman To: bug-followup@FreeBSD.org, freebsd@r.zeeb.org Cc: freebsd-fs@freebsd.org, FreeBSD current Subject: Re: kern/132337: [zfs] [panic] kernel panic in zfs_fuid_create_cred Date: Thu, 23 Jul 2009 10:22:13 +0200 Hey all, Unfortunately, this PR appears to still be unfixed. Is anyone looking at this? I tried to set up a diskless client over NFS yesterday, running ZFS on /, and ran in to this panic (exact same backtrace as the PR (see bottom the this mail)) a lot of times. In the end, I created a ZVOL with UFS on it, and the panics disappeared as expected - since it no longer has to work directly with files on a ZFS *filesystem*. It seems to be pretty easy to trigger, as I couldn't finish the boot process on the diskless client more than once until I went with UFS. Since then I've gotten 0 panics. FWIW, my /etc/exports (I know now R/W NFS root isn't a good idea, but it might be relevant): /diskless -maproot=0 -alldirs 192.168.1.6 Regards, Thomas Backtrace: panic: zfs_fuid_create_cred cpuid = x KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a panic() at panic+0x182 zfs_fuid_create_cred() at zfs_fuid_create_cred+0x56 zfs_perm_init() at zfs_perm_init+0x84 zfs_mknode() at zfs_mknode+0x24e zfs_freebsd_create() at zfs_freebsd_create+0x617 VOP_CREATE_APV() at VOP_CREATE_APV+0xb3 nfsrv_create() at nfsrv_create+0x909 nfssvc_program() at nfssvc_program+0x1a1 svc_run_internal() at svc_run_internal+0x62b svc_thread_start() at svc_thread_start+0xb fork_exit() at fork_exit+0x12a fork_trampoline() at fork_trampoline+0xe From owner-freebsd-fs@FreeBSD.ORG Thu Jul 23 09:30:04 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56E91106566B for ; Thu, 23 Jul 2009 09:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 456298FC15 for ; Thu, 23 Jul 2009 09:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6N9U4Ga046918 for ; Thu, 23 Jul 2009 09:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6N9U4YZ046915; Thu, 23 Jul 2009 09:30:04 GMT (envelope-from gnats) Date: Thu, 23 Jul 2009 09:30:04 GMT Message-Id: <200907230930.n6N9U4YZ046915@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Jaakko Heinonen Cc: Subject: Re: kern/132337: [zfs] [panic] kernel panic in zfs_fuid_create_cred X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jaakko Heinonen List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 09:30:04 -0000 The following reply was made to PR kern/132337; it has been noted by GNATS. From: Jaakko Heinonen To: Thomas Backman Cc: bug-followup@FreeBSD.org, freebsd@r.zeeb.org, FreeBSD current Subject: Re: kern/132337: [zfs] [panic] kernel panic in zfs_fuid_create_cred Date: Thu, 23 Jul 2009 12:24:36 +0300 Hi, On 2009-07-23, Thomas Backman wrote: > Unfortunately, this PR appears to still be unfixed. Is anyone looking > at this? > panic: zfs_fuid_create_cred This PR is a duplicate of kern/133020. There is a workaround fix in pjd's perforce branch but apparently it was never committed to svn. See: http://p4db.freebsd.org/changeView.cgi?CH=159874 http://people.freebsd.org/~pjd/patches/zfs_znode.h.patch -- Jaakko From owner-freebsd-fs@FreeBSD.ORG Thu Jul 23 13:20:03 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48AA71065673 for ; Thu, 23 Jul 2009 13:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0933D8FC14 for ; Thu, 23 Jul 2009 13:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6NDK2Cw033926 for ; Thu, 23 Jul 2009 13:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6NDK2M3033925; Thu, 23 Jul 2009 13:20:02 GMT (envelope-from gnats) Date: Thu, 23 Jul 2009 13:20:02 GMT Message-Id: <200907231320.n6NDK2M3033925@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Thomas Backman Cc: Subject: Re: kern/132337: [zfs] [panic] kernel panic in zfs_fuid_create_cred X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thomas Backman List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 13:20:04 -0000 The following reply was made to PR kern/132337; it has been noted by GNATS. From: Thomas Backman To: Michael Reifenberger Cc: Jaakko Heinonen , FreeBSD current , bug-followup@FreeBSD.org, freebsd@r.zeeb.org Subject: Re: kern/132337: [zfs] [panic] kernel panic in zfs_fuid_create_cred Date: Thu, 23 Jul 2009 15:13:51 +0200 On Jul 23, 2009, at 15:06, Michael Reifenberger wrote: > On Thu, 23 Jul 2009, Jaakko Heinonen wrote: > ... >> This PR is a duplicate of kern/133020. There is a workaround fix in >> pjd's perforce branch but apparently it was never committed to svn. >> >> See: >> >> http://p4db.freebsd.org/changeView.cgi?CH=159874 >> http://people.freebsd.org/~pjd/patches/zfs_znode.h.patch >> > I'm using this patch since march without problems. I've only used it for hours but it seems to work here too, no longer using ZVOLs. Would be nice to have in -RELEASE :) Jaakko: It's the other way around. 132337 < 133020. This bug was filed Mar 05 2009, while 133020 was filed Mar 24 2009. Regards, Thomas From owner-freebsd-fs@FreeBSD.ORG Thu Jul 23 13:30:05 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 998B0106566B for ; Thu, 23 Jul 2009 13:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 86DB88FC22 for ; Thu, 23 Jul 2009 13:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6NDU59O041121 for ; Thu, 23 Jul 2009 13:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6NDU53H041116; Thu, 23 Jul 2009 13:30:05 GMT (envelope-from gnats) Date: Thu, 23 Jul 2009 13:30:05 GMT Message-Id: <200907231330.n6NDU53H041116@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Michael Reifenberger Cc: Subject: Re: kern/132337: [zfs] [panic] kernel panic in zfs_fuid_create_cred X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Reifenberger List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 13:30:05 -0000 The following reply was made to PR kern/132337; it has been noted by GNATS. From: Michael Reifenberger To: Jaakko Heinonen Cc: Thomas Backman , FreeBSD current , bug-followup@FreeBSD.org, freebsd@r.zeeb.org Subject: Re: kern/132337: [zfs] [panic] kernel panic in zfs_fuid_create_cred Date: Thu, 23 Jul 2009 15:06:52 +0200 (CEST) On Thu, 23 Jul 2009, Jaakko Heinonen wrote: ... > This PR is a duplicate of kern/133020. There is a workaround fix in > pjd's perforce branch but apparently it was never committed to svn. > > See: > > http://p4db.freebsd.org/changeView.cgi?CH=159874 > http://people.freebsd.org/~pjd/patches/zfs_znode.h.patch > I'm using this patch since march without problems. Bye/2 --- Michael Reifenberger Michael@Reifenberger.com http://www.Reifenberger.com From owner-freebsd-fs@FreeBSD.ORG Sat Jul 25 01:15:32 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57DD51065670 for ; Sat, 25 Jul 2009 01:15:32 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imo-d20.mx.aol.com (imo-d20.mx.aol.com [205.188.139.136]) by mx1.freebsd.org (Postfix) with ESMTP id 2712D8FC14 for ; Sat, 25 Jul 2009 01:15:31 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imo-da04.mx.aol.com (imo-da04.mx.aol.com [205.188.169.202]) by imo-d20.mx.aol.com (v107.10) with ESMTP id RELAYIN2-34a6a5a50113; Fri, 24 Jul 2009 21:05:20 -0400 Received: from samankaya@netscape.net by imo-da04.mx.aol.com (mail_out_v40_r1.5.) id n.d5f.523feb8e (37168) for ; Fri, 24 Jul 2009 21:05:15 -0400 (EDT) Received: from smtprly-mb01.mx.aol.com (smtprly-mb01.mx.aol.com [64.12.207.148]) by cia-ma04.mx.aol.com (v124.15) with ESMTP id MAILCIAMA047-5c5b4a6a5a491ec; Fri, 24 Jul 2009 21:05:15 -0400 Received: from webmail-dx04 (webmail-dx04.sim.aol.com [205.188.104.97]) by smtprly-mb01.mx.aol.com (v124.15) with ESMTP id MAILSMTPRLYMB011-5c5b4a6a5a491ec; Fri, 24 Jul 2009 21:05:13 -0400 To: freebsd-fs@freebsd.org Date: Fri, 24 Jul 2009 21:05:13 -0400 X-MB-Message-Source: WebUI X-AOL-IP: 205.188.169.202 X-MB-Message-Type: User MIME-Version: 1.0 From: samankaya@netscape.net X-Mailer: AIM WebMail 43792-STANDARD Received: from 81.178.2.118 by webmail-dx04.sysops.aol.com (205.188.104.97) with HTTP (WebMailUI); Fri, 24 Jul 2009 21:05:13 -0400 Message-Id: <8CBDADB1950718E-16E8-7AF@webmail-dx04.sysops.aol.com> X-Spam-Flag: NO Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Partitioning disks on PPC for FreeBSD, installer crashes X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 01:15:32 -0000 Hi, this is a strange issue but I'm trying to install FreeBSD onto my PowerMac G4 Quicksilver 733MHz machine. I got as far as the partitioner in the standard install but couldn't figure out how to add slices as there is no option to create a disk label for it. Each time I try to use (C)reate a slice I get a message on the screen saying that I have to do this on a Master Partition.... How do I create this?? I tried dropping into a shell do use fdisk on it but it wouldn't allow me to do so using the holographic shell via the installer menu. Can anyone help give me an idea of what to do?? I used a Debian Linux boot cd which works fine and is able to detect the disk and partition it. I also created the needed 8MB yaboot partition in order to perhaps detect the disk but no such luck. The CD is iso1 of FreeBSD 7.1 I hope I don't have to go back to Debian as I really want to learn BSD!! Regards, Kaya From owner-freebsd-fs@FreeBSD.ORG Sat Jul 25 01:18:47 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47F33106564A; Sat, 25 Jul 2009 01:18:47 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1D1D58FC19; Sat, 25 Jul 2009 01:18:47 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6P1IkPm027002; Sat, 25 Jul 2009 01:18:46 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6P1Ik43026998; Sat, 25 Jul 2009 01:18:46 GMT (envelope-from linimon) Date: Sat, 25 Jul 2009 01:18:46 GMT Message-Id: <200907250118.n6P1Ik43026998@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/137034: [ufs] [lor] lock-order reversal near vfs_bio.c, ufs_dirhash.c X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 01:18:47 -0000 Old Synopsis: lock-order reversal near vfs_bio.c, ufs_dirhash.c New Synopsis: [ufs] [lor] lock-order reversal near vfs_bio.c, ufs_dirhash.c Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Sat Jul 25 01:17:44 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=137034 From owner-freebsd-fs@FreeBSD.ORG Sat Jul 25 01:27:36 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E38BF1065672; Sat, 25 Jul 2009 01:27:36 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B96DC8FC14; Sat, 25 Jul 2009 01:27:36 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6P1RZce034039; Sat, 25 Jul 2009 01:27:35 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6P1RZxe034035; Sat, 25 Jul 2009 01:27:35 GMT (envelope-from linimon) Date: Sat, 25 Jul 2009 01:27:35 GMT Message-Id: <200907250127.n6P1RZxe034035@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/136942: [zfs] zvol resize not reflected until reboot X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 01:27:37 -0000 Synopsis: [zfs] zvol resize not reflected until reboot Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Sat Jul 25 01:27:14 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=136942 From owner-freebsd-fs@FreeBSD.ORG Sat Jul 25 01:28:32 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1F971065673; Sat, 25 Jul 2009 01:28:32 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A7EA78FC1C; Sat, 25 Jul 2009 01:28:32 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6P1SWAc034142; Sat, 25 Jul 2009 01:28:32 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6P1SW7V034138; Sat, 25 Jul 2009 01:28:32 GMT (envelope-from linimon) Date: Sat, 25 Jul 2009 01:28:32 GMT Message-Id: <200907250128.n6P1SW7V034138@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/136944: [ffs] [lor] bufwait/snaplk (fsync) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 01:28:33 -0000 Old Synopsis: [lor] bufwait/snaplk (fsync) New Synopsis: [ffs] [lor] bufwait/snaplk (fsync) Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Sat Jul 25 01:28:12 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=136944 From owner-freebsd-fs@FreeBSD.ORG Sat Jul 25 01:28:57 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 265C81065722; Sat, 25 Jul 2009 01:28:57 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EFD908FC1B; Sat, 25 Jul 2009 01:28:56 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6P1SuMS034190; Sat, 25 Jul 2009 01:28:56 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6P1SukA034186; Sat, 25 Jul 2009 01:28:56 GMT (envelope-from linimon) Date: Sat, 25 Jul 2009 01:28:56 GMT Message-Id: <200907250128.n6P1SukA034186@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/136945: [ufs] [lor] filedesc structure/ufs (poll) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 01:28:58 -0000 Old Synopsis: [lor] filedesc structure/ufs (poll) New Synopsis: [ufs] [lor] filedesc structure/ufs (poll) Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Sat Jul 25 01:28:44 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=136945 From owner-freebsd-fs@FreeBSD.ORG Sat Jul 25 01:29:34 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 085DB1065674; Sat, 25 Jul 2009 01:29:34 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D2A748FC25; Sat, 25 Jul 2009 01:29:33 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6P1TXPE034241; Sat, 25 Jul 2009 01:29:33 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6P1TXqf034237; Sat, 25 Jul 2009 01:29:33 GMT (envelope-from linimon) Date: Sat, 25 Jul 2009 01:29:33 GMT Message-Id: <200907250129.n6P1TXqf034237@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/136968: [ufs] [lor] ufs/bufwait/ufs (open) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 01:29:34 -0000 Old Synopsis: [lor] ufs/bufwait/ufs (open) New Synopsis: [ufs] [lor] ufs/bufwait/ufs (open) Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Sat Jul 25 01:29:20 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=136968 From owner-freebsd-fs@FreeBSD.ORG Sat Jul 25 02:33:13 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09F0B1065672; Sat, 25 Jul 2009 02:33:13 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D35578FC0A; Sat, 25 Jul 2009 02:33:12 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6P2XBTY093175; Sat, 25 Jul 2009 02:33:11 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6P2XBC3093162; Sat, 25 Jul 2009 02:33:11 GMT (envelope-from linimon) Date: Sat, 25 Jul 2009 02:33:11 GMT Message-Id: <200907250233.n6P2XBC3093162@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/136865: [nfs] [patch] NFS exports atomic and on-the-fly atomic updates X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 02:33:13 -0000 Old Synopsis: NFS exports atomic and on-the-fly atomic updates New Synopsis: [nfs] [patch] NFS exports atomic and on-the-fly atomic updates Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Sat Jul 25 02:32:38 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=136865 From owner-freebsd-fs@FreeBSD.ORG Sat Jul 25 02:36:18 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DAB9106566B for ; Sat, 25 Jul 2009 02:36:18 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imo-d22.mx.aol.com (imo-d22.mx.aol.com [205.188.144.208]) by mx1.freebsd.org (Postfix) with ESMTP id 49F0D8FC16 for ; Sat, 25 Jul 2009 02:36:18 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imo-da02.mx.aol.com (imo-da02.mx.aol.com [205.188.169.200]) by imo-d22.mx.aol.com (v107.10) with ESMTP id RELAYIN1-24a6a6f7c308; Fri, 24 Jul 2009 22:35:50 -0400 Received: from samankaya@netscape.net by imo-da02.mx.aol.com (mail_out_v40_r1.5.) id n.be7.55dc898e (37143) for ; Fri, 24 Jul 2009 22:35:38 -0400 (EDT) Received: from smtprly-mc02.mx.aol.com (smtprly-mc02.mx.aol.com [64.12.95.98]) by cia-ma03.mx.aol.com (v124.15) with ESMTP id MAILCIAMA035-d3cf4a6a6f73268; Fri, 24 Jul 2009 22:35:38 -0400 Received: from webmail-dx04 (webmail-dx04.sim.aol.com [205.188.104.97]) by smtprly-mc02.mx.aol.com (v124.15) with ESMTP id MAILSMTPRLYMC021-d3cf4a6a6f73268; Fri, 24 Jul 2009 22:35:31 -0400 References: <8CBDADB1950718E-16E8-7AF@webmail-dx04.sysops.aol.com> To: freebsd-fs@freebsd.org Date: Fri, 24 Jul 2009 22:35:31 -0400 X-AOL-IP: 205.188.169.200 In-Reply-To: <8CBDADB1950718E-16E8-7AF@webmail-dx04.sysops.aol.com> X-MB-Message-Source: WebUI MIME-Version: 1.0 From: samankaya@netscape.net X-MB-Message-Type: User X-Mailer: AIM WebMail 43792-STANDARD Received: from 81.178.2.118 by webmail-dx04.sysops.aol.com (205.188.104.97) with HTTP (WebMailUI); Fri, 24 Jul 2009 22:35:31 -0400 Message-Id: <8CBDAE7B6DF4496-16E8-A34@webmail-dx04.sysops.aol.com> X-Spam-Flag: NO Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Partitioning disks on PPC for FreeBSD, installer crashes X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 02:36:18 -0000 Ok, I managed to use the fixit part of the install menu to get to activate the holographic shell then by pressing alt F4 I was able to open up the shell prompt on tty4. So far good news :-) Using a bit of help by this: http://unix.derkeiler.com/Newsgroups/comp.unix.bsd.freebsd.misc/2004-10/0920.html I was able to figure out that echo * lists the contents of each cd'ed directory. Therefor I ran: cd /bin echo * this revealed the available commands to me as /bin and /sbin where both the same. I then did: cd /dev echo * found out that my hard drive was located at ad0 with a slice on ad0s1 then ran: newfs ad0 while I was in the /dev dir and it managed to print out all the sectors on the disk but I still haven't been able to work out how to create a new filesystem using and label using this command syntax! -----Original Message----- From: samankaya@netscape.net To: freebsd-fs@freebsd.org Sent: Sat, Jul 25, 2009 4:05 am Subject: Partitioning disks on PPC for FreeBSD, installer crashes Hi, this is a strange issue but I'm trying to install FreeBSD onto my PowerMac G4 Quicksilver 733MHz machine. I got as far as the partitioner in the standard install but couldn't figure out how to add slices as there is no option to create a disk label for it. Each time I try to use (C)reate a slice I get a message on the screen saying that I have to do this on a Master Partition.... How do I create this?? I tried dropping into a shell do use fdisk on it but it wouldn't allow me to do so using the holographic shell via the installer menu. Can anyone help give me an idea of what to do?? I used a Debian Linux boot cd which works fine and is able to detect the disk and partition it. I also created the needed 8MB yaboot partition in order to perhaps detect the disk but no such luck. The CD is iso1 of FreeBSD 7.1 I hope I don't have to go back to Debian as I really want to learn BSD!! Regards, Kaya A Good Credit Score is 700 or Above. See yours in just 2 easy steps! From owner-freebsd-fs@FreeBSD.ORG Sat Jul 25 10:20:03 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AB04106566B for ; Sat, 25 Jul 2009 10:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8248FC0A for ; Sat, 25 Jul 2009 10:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6PAK3J7088025 for ; Sat, 25 Jul 2009 10:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6PAK3hr088021; Sat, 25 Jul 2009 10:20:03 GMT (envelope-from gnats) Date: Sat, 25 Jul 2009 10:20:03 GMT Message-Id: <200907251020.n6PAK3hr088021@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Nick Barkas Cc: Subject: Re: kern/137034: [ufs] [lor] lock-order reversal near vfs_bio.c, ufs_dirhash.c X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nick Barkas List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 10:20:03 -0000 The following reply was made to PR kern/137034; it has been noted by GNATS. From: Nick Barkas To: bug-followup@FreeBSD.org, royce@tycho.org Cc: Subject: Re: kern/137034: [ufs] [lor] lock-order reversal near vfs_bio.c, ufs_dirhash.c Date: Sat, 25 Jul 2009 12:11:42 +0200 This should be harmless. Take a look at http://sources.zabbadoz.net/freebsd/lor/261.html Have you had any problems since the LOR message came up? From owner-freebsd-fs@FreeBSD.ORG Sat Jul 25 11:00:08 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FD451065675 for ; Sat, 25 Jul 2009 11:00:08 +0000 (UTC) (envelope-from tony.theodore@gmail.com) Received: from mail-qy0-f191.google.com (mail-qy0-f191.google.com [209.85.221.191]) by mx1.freebsd.org (Postfix) with ESMTP id C87858FC12 for ; Sat, 25 Jul 2009 11:00:07 +0000 (UTC) (envelope-from tony.theodore@gmail.com) Received: by qyk29 with SMTP id 29so2783843qyk.3 for ; Sat, 25 Jul 2009 04:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=kTaYEfYYq6DTDkdqJ11PPAXRpfqlAj2M+V4vM0G3fSQ=; b=Z5sst70X1CL58H2kmcRN58dV4aNr82ailgCwveyGki8EKO6EYudGxuenB4VAYsABLe 4QhWUh8RUIdENnn8ZFTn2sCbFbH1s/P9RG714b8zAAjrV/52Ph4PAt5gNaJ4CXhCa7JU PnATUjIrJWXWW3De1hPOu0V0VJd9pwzdEZqO4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=koXJVQ0SqgHE67+i+2R5w+9JNYCQ87jKvkZOPFhv4K/CvquQKNx0ctxZAp9qYu6iHh zg5jov1O13cpWNI6l5aligrZ+AF5VUdBWHhiq3oTBsINZN3OdqhqFkgPN6zVFYao7+CF XSRafSWkjGIFT4mNh1hfysZq7EN2rK7Fi8TzY= MIME-Version: 1.0 Sender: tony.theodore@gmail.com Received: by 10.224.60.142 with SMTP id p14mr4307987qah.20.1248517606457; Sat, 25 Jul 2009 03:26:46 -0700 (PDT) In-Reply-To: <8CBDADB1950718E-16E8-7AF@webmail-dx04.sysops.aol.com> References: <8CBDADB1950718E-16E8-7AF@webmail-dx04.sysops.aol.com> Date: Sat, 25 Jul 2009 20:26:46 +1000 X-Google-Sender-Auth: 68dfd1750c1b4e80 Message-ID: <22166b750907250326w4d490c76k70f9f43b0c3b51e2@mail.gmail.com> From: Tony Theodore To: samankaya@netscape.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: Partitioning disks on PPC for FreeBSD, installer crashes X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 11:00:08 -0000 > > Each time I try to use (C)reate a slice I get a message on the screen saying that I have to do this on a Master Partition.... > I think there are several partitioning schemes: Apple (open firmware), GPT (EFI), and MBR (BIOS). FreeBSD supports either MBR or GPT, but I'm not sure if sysinstall will recognise anything other than MBR. Have you tried the "use entire disk" option or do you need to keep other partitions? Otherwise, I'd try using Apple's disk utility, or something like gparted, to convert the partition scheme first. Tony From owner-freebsd-fs@FreeBSD.ORG Sat Jul 25 12:03:05 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2951F1065831 for ; Sat, 25 Jul 2009 12:03:05 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imr-da03.mx.aol.com (imr-da03.mx.aol.com [205.188.105.145]) by mx1.freebsd.org (Postfix) with ESMTP id 91E0D8FC2C for ; Sat, 25 Jul 2009 12:02:56 +0000 (UTC) (envelope-from samankaya@netscape.net) Received: from imo-da01.mx.aol.com (imo-da01.mx.aol.com [205.188.169.199]) by imr-da03.mx.aol.com (8.14.1/8.14.1) with ESMTP id n6PC2oUR008818; Sat, 25 Jul 2009 08:02:50 -0400 Received: from samankaya@netscape.net by imo-da01.mx.aol.com (mail_out_v40_r1.5.) id n.c7f.34f92a89 (34909); Sat, 25 Jul 2009 08:02:45 -0400 (EDT) Received: from smtprly-dc03.mx.aol.com (smtprly-dc03.mx.aol.com [205.188.170.3]) by cia-da02.mx.aol.com (v124.15) with ESMTP id MAILCIADA026-d3ae4a6af462e; Sat, 25 Jul 2009 08:02:45 -0400 Received: from webmail-me04 (webmail-me04.webmail.aol.com [64.12.88.196]) by smtprly-dc03.mx.aol.com (v124.15) with ESMTP id MAILSMTPRLYDC034-d3ae4a6af462e; Sat, 25 Jul 2009 08:02:42 -0400 References: <8CBDADB1950718E-16E8-7AF@webmail-dx04.sysops.aol.com> <22166b750907250326w4d490c76k70f9f43b0c3b51e2@mail.gmail.com> To: tonyt@logyst.com Date: Sat, 25 Jul 2009 08:02:42 -0400 X-AOL-IP: 81.178.2.118 In-Reply-To: <22166b750907250326w4d490c76k70f9f43b0c3b51e2@mail.gmail.com> X-MB-Message-Source: WebUI Received: from 81.178.2.118 by webmail-me04.sysops.aol.com (64.12.88.196) with HTTP (WebMailUI); Sat, 25 Jul 2009 08:02:42 -0400 MIME-Version: 1.0 From: samankaya@netscape.net X-MB-Message-Type: User X-Mailer: AIM WebMail 43792-STANDARD Message-Id: <8CBDB36F2A2368E-1950-2250@webmail-me04.sysops.aol.com> X-Spam-Flag: NO Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: Partitioning disks on PPC for FreeBSD, installer crashes X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 12:03:22 -0000 Many thanks Tony, I have ripped this disk out of an x86 so there were originally ext3 and NTFS partitions on it which I deleted from the x86 itself! The only thing I didn't delete was the filesystem which remained on the disk. Recently I stuck in a Debian installer and created one yaboot partition of 8MB and the rest as ext3. If I partition from Apples partitioner all I will get is HFS and HFS+ options and I am assuming here that BSD will not detect those either?? There unfortunately is no option for selecting the entire disk. In fact under the installer I don't see the disk at all which is strange. I do via tty4 and the holographic terminal though. Back when I started with Sun SPARC machines a few months ago, I figured out that Linux wouldn't see the disk or Solaris wouldn't see the disk depending on the label whether it was Sun or alternate. I am not sure if it is something similar here! I mean is there a way to partition using the Hg terminal at all??? As I stated I have discovered the newfs command but it is highly limited in what it can do and I have no idea how to use it either properly. What should be my next move?? I can happily try Apple's partitioner but I only have OS9 OS 10.1 and 10.2 neither of these guys allow for BSD partition tables if i recall correctly.... Kaya -----Original Message----- From: Tony Theodore To: samankaya@netscape.net Cc: freebsd-fs@freebsd.org Sent: Sat, Jul 25, 2009 1:26 pm Subject: Re: Partitioning disks on PPC for FreeBSD, installer crashes > > Each time I try to use (C)reate a slice I get a message on the screen saying that I have to do this on a Master Partition.... > I think there are several partitioning schemes: Apple (open firmware), GPT (EFI), and MBR (BIOS). FreeBSD supports either MBR or GPT, but I'm not sure if sysinstall will recognise anything other than MBR. Have you tried the "use entire disk" option or do you need to keep other partitions? Otherwise, I'd try using Apple's disk utility, or something like gparted, to convert the partition scheme first. Tony _______________________________________________ freebsd-fs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-fs To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" From owner-freebsd-fs@FreeBSD.ORG Sat Jul 25 15:10:03 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84127106564A for ; Sat, 25 Jul 2009 15:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 571468FC16 for ; Sat, 25 Jul 2009 15:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6PFA3xc015328 for ; Sat, 25 Jul 2009 15:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6PFA3t3015327; Sat, 25 Jul 2009 15:10:03 GMT (envelope-from gnats) Date: Sat, 25 Jul 2009 15:10:03 GMT Message-Id: <200907251510.n6PFA3t3015327@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Royce Williams Cc: Subject: Re: kern/137034: [ufs] [lor] lock-order reversal near vfs_bio.c, ufs_dirhash.c X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Royce Williams List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 15:10:03 -0000 The following reply was made to PR kern/137034; it has been noted by GNATS. From: Royce Williams To: Nick Barkas Cc: bug-followup@FreeBSD.org Subject: Re: kern/137034: [ufs] [lor] lock-order reversal near vfs_bio.c, ufs_dirhash.c Date: Sat, 25 Jul 2009 07:02:58 -0800 Nick Barkas wrote, on 7/25/2009 2:11 AM: > This should be harmless. Take a look at > http://sources.zabbadoz.net/freebsd/lor/261.html > > Have you had any problems since the LOR message came up? None; if harmless, then please close this PR. I will try to do a better job of detecting duplicate issue reports in the future. Sorry for the trouble. Royce From owner-freebsd-fs@FreeBSD.ORG Sat Jul 25 16:50:08 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37AEE106566B for ; Sat, 25 Jul 2009 16:50:08 +0000 (UTC) (envelope-from tony.theodore@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id E0DEC8FC1B for ; Sat, 25 Jul 2009 16:50:07 +0000 (UTC) (envelope-from tony.theodore@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1121706qwe.7 for ; Sat, 25 Jul 2009 09:50:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=RxnQhpWEUVVJMeO2hMEOEWSrJqhpeUZPn91sDKpHkek=; b=r2em2tBQc3tw1fm5A1nMUctzz3Ib1TOBDCehmoT6hLu3xkSgA1KHtmZhz9AhSxdDjr dTY52WzSQ/vweLANJLeRNjgzgFMn9kXyurvM2a26qXX+x145HI9Y6F++fNwjo3b4SaxB N2bOAnj+oyTDPqii+y68BEiczfKIhu+UJP5T0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=iQULrzSJV9VVqNOjWj1DOGc5YXP3poEldSrFA8ILFx1TqlTIpd13LStLLFoVDXMCZI pImsrph0u8fLcC+N4XodN6UbSAFBMVU3saDg8QPhU5I3WQVlqQyqrQONf7c1drOS9pyX QUwlNVOmSnKZN8uK3fkvTaR0kVOHz5HG5L7AQ= MIME-Version: 1.0 Sender: tony.theodore@gmail.com Received: by 10.224.89.73 with SMTP id d9mr4473599qam.302.1248540607149; Sat, 25 Jul 2009 09:50:07 -0700 (PDT) In-Reply-To: <8CBDB36F2A2368E-1950-2250@webmail-me04.sysops.aol.com> References: <8CBDADB1950718E-16E8-7AF@webmail-dx04.sysops.aol.com> <22166b750907250326w4d490c76k70f9f43b0c3b51e2@mail.gmail.com> <8CBDB36F2A2368E-1950-2250@webmail-me04.sysops.aol.com> Date: Sun, 26 Jul 2009 02:50:07 +1000 X-Google-Sender-Auth: a90377d291b33d1f Message-ID: <22166b750907250950g741b3e2dqce1c046f8f5e351c@mail.gmail.com> From: Tony Theodore To: samankaya@netscape.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: Partitioning disks on PPC for FreeBSD, installer crashes X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 16:50:08 -0000 2009/7/25 : > Many thanks Tony, > > I have ripped this disk out of an x86 so there were originally ext3 and NTFS > partitions on it which I deleted from the x86 itself! The only thing I > didn't delete was the filesystem which remained on the disk. > > Recently I stuck in a Debian installer and created one yaboot partition of > 8MB and the rest as ext3. If I partition from Apples partitioner all I will > get is HFS and HFS+ options and I am assuming here that BSD will not detect > those either?? > > There unfortunately is no option for selecting the entire disk. In fact > under the installer I don't see the disk at all which is strange. I do via > tty4 and the holographic terminal though. You would have seen the disk at the point you were pressing "C" to create a slice. It's the "A" option on this screen. > Back when I started with Sun SPARC machines a few months ago, I figured out > that Linux wouldn't see the disk or Solaris wouldn't see the disk depending > on the label whether it was Sun or alternate. I am not sure if it is > something similar here! It could be, Sun use EFI, BIOS, and Open Firmware, and I think they all read partition tables differently. > I mean is there a way to partition using the Hg terminal at all??? As I > stated I have discovered the newfs command but it is highly limited in what > it can do and I have no idea how to use it either properly. The commands you want are fdisk, bsdlabel, and newfs. If you're new to FreeBSD, the man pages and handbook will take you very far. I'd stick to the installer though, as you'll also have to create /etc/fstab among other things that I wouldn't know where to start. You could try this (from http://www.freebsd.org/cgi/man.cgi?query=bsdlabel&manpath=FreeBSD+7.1-RELEASE) dd if=/dev/zero of=/dev/da0 bs=512 count=32 fdisk -BI da0 dd if=/dev/zero of=/dev/da0s1 bs=512 count=32 bsdlabel -w -B da0s1 Then relaunch the installer to see if it's recognised. > What should be my next move?? I can happily try Apple's partitioner but I > only have OS9 OS 10.1 and 10.2 neither of these guys allow for BSD partition > tables if i recall correctly.... See if the Apple partitioner can create an MBR partition scheme. If not, find a live cd with gparted. I normally use sysresccd.org, but the ppc is very old. Otherwise, freebsd-questions might be a better place to ask, as this isn't really related to filesystems. Regards, Tony