xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 383] Write to an XFS file system generates errno 990

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 383] Write to an XFS file system generates errno 990
From: bugzilla-daemon@xxxxxxxxxxx
Date: Sat, 7 May 2005 17:59:13 -0700
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://you-havent-visited-editparams.cgi-yet/show_bug.cgi?id=383


syn@xxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|                            |P1
           Platform|                            |All




------- Additional Comments From syn@xxxxxxxx  2005-05-07 17:59 -------
Hey,
I am getting the same kind of problem. Seems when I do anything that involves
more than a certain amount of hard 
drive activity on my /usr partition (XFS) (my / is ext3 for grub). I'm running
Ubuntu Linux 'Breezy Badger' (was 
'Hoary Hedgehog' but have changed apt sources and dist-upgrade'd) on an AMD
Athlon XP 2400+, 1gb RAM, dual 40gb 
IDE (ATA100) hdds. XFS partition is LVM'ed: /dev/mapper/vg0-main   59G   53G 
5.4G  91% /usr


Here's LVM info:

---- snip ----
syn@sidewinder:~ $ sudo lvdisplay
  --- Logical volume ---
  LV Name                /dev/vg0/main
  VG Name                vg0
  LV UUID                E5UsuE-qiQJ-rkFA-zNp0-1wCq-5wwx-Rz3rNL
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                58.02 GB
  Current LE             14853
  Segments               3
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:0

syn@sidewinder:~ $ sudo vgdisplay
  --- Volume group ---
  VG Name               vg0
  System ID             
  Format                lvm2
  Metadata Areas        3
  Metadata Sequence No  35
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                3
  Act PV                3
  VG Size               67.77 GB
  PE Size               4.00 MB
  Total PE              17350
  Alloc PE / Size       14853 / 58.02 GB
  Free  PE / Size       2497 / 9.75 GB
  VG UUID               5yvcnj-bIqC-6vVt-LXCz-6VO4-lW1W-ywXy8p
   
syn@sidewinder:~ $ sudo pvdisplay
  --- Physical volume ---
  PV Name               /dev/hda3
  VG Name               vg0
  PV Size               7.82 GB / not usable 0   
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              2003
  Free PE               0
  Allocated PE          2003
  PV UUID               a6pd6d-a5WU-DNKB-Fx9L-9tqQ-k7Fk-2bl5Rh
   
  --- Physical volume ---
  PV Name               /dev/hdb1
  VG Name               vg0
  PV Size               37.26 GB / not usable 0   
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              9539
  Free PE               0
  Allocated PE          9539
  PV UUID               y7Weyh-35jc-k5JH-9VsO-nisd-rU3X-bfJW2Y
  
  --- Physical volume ---
  PV Name               /dev/hda6
  VG Name               vg0
  PV Size               22.69 GB / not usable 0   
  Allocatable           yes 
  PE Size (KByte)       4096
  Total PE              5808
  Free PE               2497
  Allocated PE          3311
  PV UUID               FCmsUA-BnD0-N8m4-CyHa-2yk0-h4oz-ysk21i
---- snip ----



uname -a = Linux sidewinder 2.6.10-5-k7 #1 Tue Apr 5 12:56:05 UTC 2005 i686
GNU/Linux

This occurs during system bootup (in dmesg):

---- snip ----
SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug 
enabled
SGI XFS Quota Management subsystem
XFS mounting filesystem dm-0
Starting XFS recovery on filesystem: dm-0 (dev: dm-0)
0x0: 58 41 47 46 00 00 00 01 00 00 00 03 00 03 e9 80 
Filesystem "dm-0": XFS internal error xfs_alloc_read_agf at line 2195 of file fs
/xfs/xfs_alloc.c.  Caller 0xf8a40e77
 [<f8a41272>] xfs_alloc_read_agf+0x11d/0x1df [xfs]
 [<f8a40e77>] xfs_alloc_fix_freelist+0x464/0x47a [xfs]
 [<f8a40e77>] xfs_alloc_fix_freelist+0x464/0x47a [xfs]
 [<f8a40e77>] xfs_alloc_fix_freelist+0x464/0x47a [xfs]
 [<c013a962>] __get_free_pages+0x33/0x3f
 [<c013ea65>] cache_grow+0x104/0x170
 [<c013ec38>] cache_alloc_refill+0x167/0x229
 [<f8a4196a>] xfs_free_extent+0xb2/0x10f [xfs]
 [<f8aa1942>] kmem_zone_alloc+0x4b/0xac [xfs]
 [<f8a96237>] xfs_trans_get_efd+0x38/0x46 [xfs]
 [<f8a8d578>] xlog_recover_process_efi+0x1fd/0x277 [xfs]
 [<f8a8d647>] xlog_recover_process_efis+0x55/0x9f [xfs]
 [<f8a8edc7>] xlog_recover_finish+0x24/0xcd [xfs]
 [<f8a3ce27>] xfs_rtmount_inodes+0xd3/0xf8 [xfs]
 [<f8a85d51>] xfs_log_mount_finish+0x2c/0x2e [xfs]
 [<f8a904b1>] xfs_mountfs+0x7ff/0xe5c [xfs]
 [<f8aa58f6>] .text.lock.xfs_buf+0x4b/0x51 [xfs]
 [<f8a8f9fb>] xfs_readsb+0x19c/0x1f9 [xfs]
 [<f8a8151b>] xfs_ioinit+0x1e/0x34 [xfs]
 [<f8a97d50>] xfs_mount+0x294/0x466 [xfs]
 [<f8aabb54>] vfs_mount+0x34/0x38 [xfs]
 [<f8aab99d>] linvfs_fill_super+0xa1/0x1ee [xfs]
 [<c01b4686>] snprintf+0x27/0x2b
 [<c018a46d>] disk_name+0xa9/0xab
 [<c015b526>] sb_set_blocksize+0x2e/0x5d
 [<c015ae8f>] get_sb_bdev+0xfb/0x13d
 [<f8aabb19>] linvfs_get_sb+0x2f/0x36 [xfs]
 [<f8aab8fc>] linvfs_fill_super+0x0/0x1ee [xfs]
 [<c015b11a>] do_kern_mount+0xa2/0x15f
 [<c0170917>] do_new_mount+0x73/0xb5
 [<c0170fe3>] do_mount+0x172/0x1be
 [<c0170e18>] copy_mount_options+0x63/0xbc
 [<c01713b1>] sys_mount+0x9f/0xe0
 [<c0102ea5>] sysenter_past_esp+0x52/0x75
Ending XFS recovery on filesystem: dm-0 (dev: dm-0)

---- snip ----



I don't know what to do apart from try to get all my data off /usr and store it
somewhere else and put a new 
filesystem on the volume group and restore the data. If anyone could suggest
something, that'd be great :) My 
apt is in the middle of installing stuff but can't complete it:

---- snip ----
syn@sidewinder:~ $ sudo apt-get -f install
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
101 not fully installed or removed.
Need to get 0B/3513kB of archives.
After unpacking 0B of additional disk space will be used.

Preconfiguring packages ...
(Reading database ... 78154 files and directories currently installed.)
Preparing to replace openoffice.org-l10n-en 1.1.3-8ubuntu3 (using 
.../openoffice.org-l10n-en_1.1.3-8ubuntu3_all.deb) ...
Unpacking replacement openoffice.org-l10n-en ...
dpkg: error processing
/var/cache/apt/archives/openoffice.org-l10n-en_1.1.3-8ubuntu3_all.deb 
(--unpack):
 unable to create
`./usr/lib/openoffice/share/template/english/wizard/wizfax1.stw': Input/output 
error
dpkg: error while cleaning up:
 unable to restore backup version of
`/usr/lib/openoffice/share/template/english/wizard/wizbrf3.stw': 
Input/output error
dpkg: error while cleaning up:
 unable to restore backup version of
`/usr/lib/openoffice/share/template/english/wizard/wizbrf2.stw': 
Input/output error
dpkg: error while cleaning up:
 unable to restore backup version of
`/usr/lib/openoffice/share/template/english/wizard/wizbrf1.stw': 
Input/output error
dpkg: error while cleaning up:
---- snip ----


After this, dmesg shows:

---- snip ----
0x0: 58 41 47 46 00 00 00 01 00 00 00 03 00 03 e9 80 
Filesystem "dm-0": XFS internal error xfs_alloc_read_agf at line 2195 of file
fs/xfs/xfs_alloc.c.  Caller 
0xf8a40e77
 [<f8a41272>] xfs_alloc_read_agf+0x11d/0x1df [xfs]
 [<f8a40e77>] xfs_alloc_fix_freelist+0x464/0x47a [xfs]
 [<f8a40e77>] xfs_alloc_fix_freelist+0x464/0x47a [xfs]
 [<f8a40e77>] xfs_alloc_fix_freelist+0x464/0x47a [xfs]
 [<c013a962>] __get_free_pages+0x33/0x3f
 [<c013ea65>] cache_grow+0x104/0x170
 [<c013ec38>] cache_alloc_refill+0x167/0x229
 [<f8a4196a>] xfs_free_extent+0xb2/0x10f [xfs]
 [<f8aa1942>] kmem_zone_alloc+0x4b/0xac [xfs]
 [<f8a96237>] xfs_trans_get_efd+0x38/0x46 [xfs]
 [<f8a54d19>] xfs_bmap_finish+0x13e/0x1d2 [xfs]
 [<f8a7e2ce>] xfs_itruncate_finish+0x22a/0x452 [xfs]
 [<f8a9c1de>] xfs_inactive+0x50f/0x55f [xfs]
 [<f8aac744>] vn_rele+0xc8/0xd7 [xfs]
 [<f8aaaed7>] linvfs_clear_inode+0x18/0x30 [xfs]
 [<c016cf97>] clear_inode+0xdd/0x112
 [<c016deaf>] generic_delete_inode+0x136/0x168
 [<c016e0af>] iput+0x62/0x7c
 [<c0163e2a>] sys_unlink+0xd3/0x11a
 [<c0102ea5>] sysenter_past_esp+0x52/0x75
xfs_force_shutdown(dm-0,0x8) called from line 4073 of file fs/xfs/xfs_bmap.c. 
Return address = 0xf8aabdfc
Filesystem "dm-0": Corruption of in-memory data detected.  Shutting down
filesystem: dm-0
Please umount the filesystem, and rectify the problem(s)
---- snip ----

:(

Thanks,
Corey Spruit
syn@xxxxxxxx


-- 
Configure bugmail: 
http://you-havent-visited-editparams.cgi-yet/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] [Bug 383] Write to an XFS file system generates errno 990, bugzilla-daemon <=