[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: system/687: File system panic, chown
- To: bugs_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: Re: system/687: File system panic, chown
- From: Marshall Midden <m4_(_at_)_nts_(_dot_)_umn_(_dot_)_edu>
- Date: Thu, 14 Jan 1999 13:20:06 -0700 (MST)
- Reply-to: Marshall Midden <m4_(_at_)_nts_(_dot_)_umn_(_dot_)_edu>
The following reply was made to PR system/687; it has been noted by GNATS.
From: Marshall Midden <m4_(_at_)_nts_(_dot_)_umn_(_dot_)_edu>
To: gnats_(_at_)_openbsd_(_dot_)_org
Cc: m4_(_at_)_nts_(_dot_)_umn_(_dot_)_edu
Subject: Re: system/687: File system panic, chown
Date: Thu, 14 Jan 1999 14:10:52 -0600 (CST)
I ran for several days with various combinations of no ccd,
ccd with 2,3,4 items, and am totally confused.
With 4.5gb disk, "c" partition -- no errors.
With one 4.5gb disk, split into two partitions, no errors.
With 3 disks, problems.
I thought it might have to do with c verses g partitions for
the ccd. No differences. (is. sd7g,sd9g,sd12g,sd14g verses
sd7c,sd9c,sd12c,sd14c)
I thought it might have to do with using /dev/ccd1c instead of
/dev/ccd1g -- no difference.
I thought it might be file system size, so I cut the "g"
partitions on sd7,etc in half, and the ccd in half. No difference.
A few really cute examples -- does anything come to mind as to
where the problem might be?
I have two dumps in /var/crash. They appear easy enough to create,
even though they are not exactly repeatable... .
Help!
------------------------------------------------------------------------------
ccdconfig -g
ccd1 16 8 /dev/sd7g /dev/sd9g /dev/sd12g /dev/sd14g
newfs /dev/rccd1g
Warning: Block size and bytes per inode restrict cylinders per group to 5.
/dev/rccd1g: 35456800 sectors in 1927 cylinders of 32 tracks, 575 sectors
17312.9MB in 386 cyl groups (5 c/g, 44.92MB/g, 10816 i/g)
super-block backups (for fsck -b #) at:
...
fsck -f /mnt2
...
mount /mnt2
chdir /mnt2
df .
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ccd1g 17200329 1 16340312 0% /mnt2
chdir /
umount /mnt2
fsck -f /mnt2
** /dev/rccd1g
** File system is already clean
** Last Mounted on /mnt2
** Phase 1 - Check Blocks and Sizes
text fault: pc=0x0 sfsr=364 sfva=0x0
panic: kernel fault
Stopped at _Debugger: ta %icc, 0x1
ddb> trace
gcc2_compiled.(0x1, 0x364, 0x0, 0x0, 0x0, 0xf80e5f00) at gcc2_compiled.+0xf78
memfault_sun4m(0xf80e5fb0, 0x0, 0x90, 0xf80ac2a8, 0xf80e5f40, 0xf80ac310) at me
mfault_sun4m+0xd8
_sparc_interrupt_common(0x0, 0x0, 0xf80080cc, 0x0, 0xffffffff, 0xea25e) at _spa
rc_interrupt_common+0x104
gcc2_compiled.(0xd2a, 0xfa232350, 0xf810bd50, 0xf810bed8, 0xf8c43198, 0xf87a4cf
4) at gcc2_compiled.+0xc74
gcc2_compiled.(0x0, 0x11, 0xf80276a8, 0x0, 0x312e30, 0x800000) at gcc2_compiled
.+0x4e4
gcc2_compiled.(0x0, 0xf8c43198, 0xe000, 0x100000, 0xf8027bfc, 0xfa233e98) at gc
c2_compiled.+0x2c0
gcc2_compiled.(0x1716, 0xfa233e98, 0x0, 0xf8015058, 0x0, 0x2) at gcc2_compiled.
+0x1644
gcc2_compiled.(0xfa233df0, 0xf805aac0, 0xf8636000, 0x4b000, 0x56f, 0x1) at gcc2
_compiled.+0x5b4
_ufs_chown(0xfa233df0, 0xf8084868, 0x4, 0x4, 0xf87c7280, 0xfa233fb0) at _ufs_ch
own+0x2720
gcc2_compiled.(0x0, 0xfa233e98, 0xf87c7280, 0xf8057e74, 0xf87aee00, 0x6e) at gc
c2_compiled.+0xb38
gcc2_compiled.(0x9, 0xfa233f28, 0xfa233f20, 0xf8034490, 0xe, 0x40e78e) at gcc2_
compiled.+0xc8
gcc2_compiled.(0x3, 0xfa233fb0, 0x0, 0x2da, 0x1, 0x625c6000) at gcc2_compiled.+0x14f0
syscall(0x4, 0x1266000, 0xe000, 0x0, 0x200, 0x3b8000) at syscall+0xb8
------------------------------------------------------------------------------
ccdconfig -g
ccd1 16 8 /dev/sd7g /dev/sd9g /dev/sd12g
newfs /dev/rccd1g
Warning: Block size and bytes per inode restrict cylinders per group to 5.
/dev/rccd1g: 13284800 sectors in 722 cylinders of 32 tracks, 575 sectors
6486.7MB in 145 cyl groups (5 c/g, 44.92MB/g, 10816 i/g)
...
chdir /
fsck -f /mnt2
...
mount /mnt2
chdir /mnt2
df .
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ccd1g 6444021 1 6121819 0% /mnt2
chdir /
umount /mnt2
fsck -f /mnt2
...
mount /mnt2
chdir /mnt2
(chdir /mnt; tar cf - .) | tar xpf -
df .
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd2g 625498 429402 164822 72% /mnt
chdir /
umount /mnt2
fsck -f /mnt2
...
mount /mnt2
chdir /mnt2
rm -rf *
df .
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ccd1g 6444021 1 6121819 0% /mnt2
chdir /
umount /mnt2
fsck -f /mnt2
...
mount /mnt2
(chdir /mnt; tar cf - . ) | tar xpf -
df .
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd2g 625498 429402 164822 72% /mnt
chdir /
umount /mnt2
fsck -f /mnt2
** /dev/rccd1g
** File system is already clean
** Last Mounted on /mnt2
** Phase 1 - Check Blocks and Sizes
ccd1: error 5 on component 2
CANNOT READ: BLK 8760160
CONTINUE? [yn] Jan 14 12:10:21 n /bsd: ccd1: error 5 on component 2
Jan 14 12:10:21 n /bsd: ccd1: error 5 on component 2
CONTINUE? [yn] n
Program terminated
n.nts# fsck -f /mnt2~** /dev/rccd1g
** File system is already clean
** Last Mounted on /mnt2
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
29492 files, 429403 used, 6014618 free (5482 frags, 751142 blocks, 0.1% fragmentation)
Visit your host, monkey.org