Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169342 - sys-fs/gfs crashing on 2.6.18-r5 kernel when mounting
Summary: sys-fs/gfs crashing on 2.6.18-r5 kernel when mounting
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-04 18:12 UTC by Christian R
Modified: 2010-09-10 18:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian R 2007-03-04 18:12:44 UTC
gfs-1.02.00-r1 and gfs-1.03.00

mount -t gfs /dev/gnbd/maildirs /mnt/ ends in:

Mar  4 18:23:25 web1 GFS 1.02.00 (built Mar  4 2007 18:19:22) installed
Mar  4 18:23:45 web1 GFS: Trying to join cluster "lock_dlm", "mailfs:maildirs"
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: Joined cluster. Now mounting FS...
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=0: Trying to acquire journal lock...
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=0: Looking at journal...
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=0: Acquiring the transaction lock...
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=0: Replaying journal...
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=0: Replayed 0 of 0 blocks
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=0: replays = 0, skips = 0, sames = 0
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=0: Journal replayed in 1s
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=0: Done
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=1: Trying to acquire journal lock...
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=1: Looking at journal...
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=1: Done
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=2: Trying to acquire journal lock...
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=2: Looking at journal...
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=2: Done
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=3: Trying to acquire journal lock...
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=3: Looking at journal...
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=3: Done
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=4: Trying to acquire journal lock...
Mar  4 18:23:47 web1 GFS: fsid=mailfs:maildirs.0: jid=4: Looking at journal...
Mar  4 18:23:48 web1 GFS: fsid=mailfs:maildirs.0: jid=4: Done
Mar  4 18:23:48 web1 GFS: fsid=mailfs:maildirs.0: jid=5: Trying to acquire journal lock...
Mar  4 18:23:48 web1 GFS: fsid=mailfs:maildirs.0: jid=5: Looking at journal...
Mar  4 18:23:48 web1 GFS: fsid=mailfs:maildirs.0: jid=5: Done
Mar  4 18:23:48 web1 GFS: fsid=mailfs:maildirs.0: jid=6: Trying to acquire journal lock...
Mar  4 18:23:48 web1 GFS: fsid=mailfs:maildirs.0: jid=6: Looking at journal...
Mar  4 18:23:48 web1 GFS: fsid=mailfs:maildirs.0: jid=6: Done
Mar  4 18:23:48 web1 GFS: fsid=mailfs:maildirs.0: jid=7: Trying to acquire journal lock...
Mar  4 18:23:48 web1 GFS: fsid=mailfs:maildirs.0: jid=7: Looking at journal...
Mar  4 18:23:48 web1 GFS: fsid=mailfs:maildirs.0: jid=7: Done
Mar  4 18:23:48 web1 GFS: fsid=mailfs:maildirs.0: Scanning for log elements...
Mar  4 18:23:48 web1 GFS: fsid=mailfs:maildirs.0: Found 0 unlinked inodes
Mar  4 18:23:48 web1 GFS: fsid=mailfs:maildirs.0: Found quota changes for 0 IDs
Mar  4 18:23:48 web1 GFS: fsid=mailfs:maildirs.0: Done
Mar  4 18:23:48 web1 BUG: unable to handle kernel NULL pointer dereference at virtual address 00000014
Mar  4 18:23:48 web1 printing eip:
Mar  4 18:23:48 web1 c01540c7
Mar  4 18:23:48 web1 *pde = 00000000
Mar  4 18:23:48 web1 Oops: 0000 [#1]
Mar  4 18:23:48 web1 Modules linked in: gfs lock_dlm lock_harness gnbd dlm cman
Mar  4 18:23:48 web1 CPU:    0
Mar  4 18:23:48 web1 EIP:    0060:[<c01540c7>]    Not tainted VLI
Mar  4 18:23:48 web1 EFLAGS: 00010293   (2.6.18-gentoo-r6 #6)
Mar  4 18:23:48 web1 EIP is at do_add_mount+0x60/0xe5
Mar  4 18:23:48 web1 eax: 0000000c   ebx: cc793400   ecx: c12342c0   edx: cc63fa90
Mar  4 18:23:48 web1 esi: cc1a3f30   edi: cc042003   ebp: 00000000   esp: cc1a3e14
Mar  4 18:23:48 web1 ds: 007b   es: 007b   ss: 0068
Mar  4 18:23:48 web1 Process mount (pid: 5326, ti=cc1a2000 task=cc63fa90 task.ti=cc1a2000)
Mar  4 18:23:48 web1 Stack: 00000000 00000000 00000000 cc042003 00000000 c0154c23 00000000 cc793400
Mar  4 18:23:48 web1 cc042000 cc086000 00000002 fffffffe 04ff7e17 00000009 cc437006 c12342c0
Mar  4 18:23:48 web1 cc0f8dac cc437000 c0153f91 fffffffe cc1a3f0c c014b2cb cc437000 cf6c0380
Mar  4 18:23:48 web1 Call Trace:
Mar  4 18:23:48 web1 [<c0154c23>] do_mount+0x564/0x5b4
Mar  4 18:23:48 web1 [<c0153f91>] mntput_no_expire+0x11/0x47
Mar  4 18:23:48 web1 [<c014b2cb>] link_path_walk+0xaf/0xb9
Mar  4 18:23:48 web1 [<c01337e4>] __handle_mm_fault+0x339/0x614
Mar  4 18:23:48 web1 [<c014b58b>] do_path_lookup+0x197/0x1b2
Mar  4 18:23:48 web1 [<c013362a>] __handle_mm_fault+0x17f/0x614
Mar  4 18:23:48 web1 [<c012d556>] get_page_from_freelist+0x6e/0x2ae
Mar  4 18:23:48 web1 [<c012de01>] __get_free_pages+0x25/0x3e
Mar  4 18:23:48 web1 [<c0153c31>] copy_mount_options+0x26/0x109
Mar  4 18:23:48 web1 [<c0154cdb>] sys_mount+0x68/0xa0
Mar  4 18:23:48 web1 [<c01024eb>] syscall_call+0x7/0xb
Mar  4 18:23:48 web1 Code: 89 e0 25 00 e0 ff ff 8b 10 8b 41 64 3b 82 48 04 00 00 75 60 8b 41 14 3b 43 14 75 0c 8b 41 10 bf f0 ff ff ff 3b 06 74 74 8b 43 10 $
Mar  4 18:23:48 web1 EIP: [<c01540c7>] do_add_mount+0x60/0xe5 SS:ESP 0068:cc1a3e14


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-04 18:16:37 UTC
Can you reproduce this w/ gentoo-sources-2.6.20?
Comment 2 Christian R 2007-03-04 18:57:03 UTC
(In reply to comment #1)
> Can you reproduce this w/ gentoo-sources-2.6.20?

with 2.6.19(gentoo-sources) and 20(kernel.org) cman-kernel and dlm-kernel gives me a error while installing, therefore I wanted to use 2.6.18
I'll give a try at 2.6.20-gentoo

the cman-kernel install error:
* Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.19-gentoo-r5
>>> Unpacking source...
>>> Unpacking cluster-1.03.00.tar.gz to /var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel ...

Configuring Makefiles for your system...
------------------------------------------------
--------------------------------
Completed Makefile configuration

cd src && make all
make[1]: Entering directory `/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src'
rm -f cluster
ln -s . cluster
make -C /usr/src/linux M=/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src modules USING_KBUILD=yes
make[2]: Entering directory `/usr/src/linux-2.6.19-gentoo-r5'
  CC [M]  /var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.o
  CC [M]  /var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/config.o
  CC [M]  /var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/membership.o
/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.c: In function 'do_ioctl_join_cluster':
/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.c:1751: error: 'system_utsname' undeclared (first use in this function)
/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.c:1751: error: (Each undeclared identifier is reported only once
/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.c:1751: error: for each function it appears in.)
make[3]: *** [/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src/cnxman.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r5'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/work/cluster-1.03.00/cman-kernel/src'
make: *** [all] Error 2

!!! ERROR: sys-cluster/cman-kernel-1.03.00 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3972:   Called src_compile
  cman-kernel-1.03.00.ebuild, line 37:   Called die

!!! compile error
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-cluster/cman-kernel-1.03.00/temp/build.log'.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-04 18:59:40 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Can you reproduce this w/ gentoo-sources-2.6.20?
> 
> with 2.6.19(gentoo-sources) and 20(kernel.org) cman-kernel and dlm-kernel gives
> me a error while installing, therefore I wanted to use 2.6.18
> I'll give a try at 2.6.20-gentoo

File a *new* bug for that, it's a separate issue. Reopening since it's apparently impossible to test with uptodate kernels now.
Comment 4 Christian Zoffoli (RETIRED) gentoo-dev 2008-03-17 22:56:41 UTC
1.0x.00 is deprecated and it's scheduled to be removed, please test 2.02.00