xfs
[Top] [All Lists]

Re: xfs-patch on kernel 2-4-19

To: christian_binder@xxxxxxxxxxx
Subject: Re: xfs-patch on kernel 2-4-19
From: Austin Gonyou <austin@xxxxxxxxxxxxxxx>
Date: 21 Sep 2002 12:13:22 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <OF3EBE873D.56882F36-ONC1256C3A.0076F2A1@xxxxxxxx>
Organization: Coremetrics, Inc.
References: <OF3EBE873D.56882F36-ONC1256C3A.0076F2A1@xxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
I got a similar error with 2.4.19 and FS made by old tools. What I ended
up doing was ensuring that I had a good backup, then ran xfs_repair on
each FS. If it segfaults on you, then you might want to do xfs_repair -L
to dump the log. it should check and then mount.

Lemme know what happens.


On Sat, 2002-09-21 at 08:35, christian_binder@xxxxxxxxxxx wrote:
> Hello !
> 
> I am using the xfs-Filesystem for nearly 36 Month on some Debian 2.2 
> Potato - Systems and it works very well. 
> I was very glad, that I now have a robust and stable Filesystem on my 
> Linuxsystems.
> Since  patching, compiling and installing the kernel 2.4.19, I have
> big 
> troubles on some partitions, to mount them, and other
> Filesystemtroubles. 
> The 2.4.18 Kernel with the xfs-Patch worked very well for some month. 
> I tought, that I can boot the well-working Kernel 2.4.18 and my
> problems 
> hide away, but this was only a wish.
> Now I need someone, who can give me a help.
> 
> A "dmesg" give me after booting the machine the following text:
> ========cut==============
> Starting kswapd
> Detected PS/2 Mouse Port.
> pty: 256 Unix98 ptys configured
> block: 128 slots per queue, batch=32
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with 
> idebus=xx
> hda: WDC AC22500L, ATA DISK drive
> hdc: ST320423A, ATA DISK drive
> hdd: TOSHIBA CD-ROM XM-6002B, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: 4999680 sectors (2560 MB) w/256KiB Cache, CHS=620/128/63
> hdc: 40011300 sectors (20486 MB) w/512KiB Cache, CHS=39693/16/63
> Partition check:
>  hda: hda1 hda2 hda3 hda4
>  hdc: [DM6:DDO] [remap +63] [2490/255/63] hdc1 hdc2 hdc3 hdc4 < hdc5
> hdc6 
> hdc7 hdc8 hdc9 hdc10 >
> Linux agpgart interface v0.99 (c) Jeff Hartmann
> agpgart: Maximum main memory to use for agp memory: 62M
> agpgart: no supported devices found.
> [drm] Initialized tdfx 1.0.0 20010216 on minor 0
> [drm] Initialized radeon 1.1.1 20010405 on minor 1
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP, IGMP
> IP: routing cache hash table of 512 buckets, 4Kbytes
> TCP: Hash tables configured (established 8192 bind 8192)
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> VFS: Mounted root (ext2 filesystem) readonly.
> Freeing unused kernel memory: 60k freed
> Adding Swap: 455608k swap-space (priority -1)
> isapnp: Scanning for PnP cards...
> isapnp: Card 'ELSA QuickStep 1000'
> isapnp: Card '3Com 3C509B EtherLink III'
> isapnp: 2 Plug & Play cards detected total
> eth0: 3c5x9 at 0x220, 10baseT port, address  00 60 97 50 65 74, IRQ 5.
> 3c509.c:1.18a 17Nov2001becker@xxxxxxxxx
> http://www.scyld.com/network/3c509.html
> Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ 
> SERIAL_PCI ISAPNP enabled
> ttyS00 at 0x03f8 (irq = 4) is a 16550A
> ttyS01 at 0x02f8 (irq = 3) is a 16550A
> SGI XFS with no debug enabled
> XFS mounting filesystem ide1(22,2)
> Starting XFS recovery on filesystem: ide1(22,2) (dev: 22/2)
> Ending XFS recovery on filesystem: ide1(22,2) (dev: 22/2)
> XFS mounting filesystem ide1(22,3)
> XFS: corrupted root inode
> XFS: device 0x1603- Root inode 128 is not a directory
> Unable to handle kernel NULL pointer dereference at virtual address 
> 0000002c
>  printing eip:
> c68c151b
> *pde = 00000000
> Oops: 0000
> CPU:    0
> EIP:    0010:[<c68c151b>]    Not tainted
> EFLAGS: 00010246
> eax: 00000000   ebx: c375d2a4   ecx: c375d140   edx: c1187138
> esi: c3acfa00   edi: c375d2a4   ebp: c3acfa14   esp: c3acf974
> ds: 0018   es: 0018   ss: 0018
> Process mount (pid: 76, stackpage=c3acf000)
> Stack: c68c1689 c375d2a4 00000080 00000000 c68a4c13 c375d2a4 c3acfa00 
> c375d2a4 
>        00001603 00000000 c5d6d88b 000ac154 00000000 00000004 000560a8 
> 00000000 
>        00000019 00000000 c5c3b1e8 00000000 00000004 00000000 00000001 
> 00000000 
> Call Trace: [<c68c1689>] [<c68a4c13>] [<c68ac234>] [<c68ac3b9>] 
> [<c68c6d00>] 
>    [<c68c6d00>] [<c68ac3e7>] [<c68c6d00>] [<c68c079d>] [<c68c6d00>] 
> [<c0130494>] 
>    [<c68c6988>] [<c013e943>] [<c013089e>] [<c68c6988>] [<c013f718>] 
> [<c013faab>] 
>    [<c013f920>] [<c013fb48>] [<c0106b73>] 
> 
> Code: 8b 40 2c c3 90 83 ec 70 57 56 53 8b b4 24 80 00 00 00 8b bc 
>  eth0: Setting Rx mode to 1 addresses.
> xfs_create looping, dir ino 0xc30739, ino 0xc307c1, ide1(22,2)
> 
> ========end=====================
> 
> 
> A "tail -f /var/log/messages" tell me this:
> 
> ==========begin===========
> Sep 21 16:37:39 thira kernel:   
> [xfs:__insmod_xfs_S.data_L2708+2440/2720] 
> [set_devname+39/84] [do_kern_mount+170/316] 
> [xfs:__insmod_xfs_S.data_L2708+2440/2720] [do_add_mount+32/472] 
> [do_mount+311/336] 
> Sep 21 16:37:39 thira kernel:    [copy_mount_options+80/164] 
> [sys_mount+132/196] [system_call+51/64] 
> Sep 21 16:37:39 thira kernel: 
> Sep 21 16:37:39 thira kernel: Code: 8b 40 2c c3 90 83 ec 70 57 56 53
> 8b b4 
> 24 80 00 00 00 8b bc 
> Sep 21 16:37:39 thira kernel:  eth0: Setting Rx mode to 1 addresses.
> Sep 21 16:37:47 thira kernel: xfs_create looping, dir ino 0xc30739,
> ino 
> 0xc307c1, ide1(22,2)
> Sep 21 16:37:47 thira kernel: 
> 
> =======end==========
> 
> the "lsmod" shows nothing out of the ordinary:
> =======begin=========
> Module                  Size  Used by    Not tainted
> floppy                 45724   2  (autoclean)
> xfs                   413776   5  (autoclean)
> xfs_support             6770   0  (autoclean) [xfs]
> serial                 43940   0  (autoclean)
> 3c509                   7764   1 
> isa-pnp                27700   0  [serial 3c509]
> vfat                    9196   1 
> fat                    28920   0  [vfat]
> ==========end========
> 
> all partitions except the /usr - Partition, wich is also a
> xfs-Partition 
> aren`t mounted after the boot-process. 
> (BTW:The / Partition is a ext2 - Partition.)
> 
> I was very surprised, that a "ls" in some directories of the /usr - 
> Partition shows me files (e. g. the smbd.pid-Sambafile), and a "ls
> -lia" 
> shows me the same files not. A "rm filename" says, that there is no
> such 
> file or directory. 
> 
> If I want to do a "xfs_check" on the other Partitions, it wouldnt
> start; 
> the process hangs up.
> A "xfs_repair" do the same.
> 
> What can I do, to rescue the worthfull datas on the partitions of the 
> harddisk ?
> 
> Thanks for help !
> 
> Christian
> 
> 
-- 
Austin Gonyou <austin@xxxxxxxxxxxxxxx>
Coremetrics, Inc.


<Prev in Thread] Current Thread [Next in Thread>