[OpenAFS-devel] Segmentation fault in afsd.

Derek Atkins warlord@MIT.EDU
16 Aug 2002 10:31:07 -0400


Well, your first problem is that you cannot use reiserfs as your cache
partition....

Secondly, if you are running a SuSE kernel, it's possible that OpenAFS
is not compatible (due to some unknown changes).

-derek

Roman Pletka <rap@zurich.ibm.com> writes:

> Hi all
> 
> I am using SuSE Linux 8.0.99 with a 2.4.18 kernel, reiserfs-3.6.2,
> and openafs-1.2.6. When I start afs, the afsd crashes. When I turn
> on -debug and -verbose, after a bunch of doSweepAFSCache's I get:
> 
> doSweepAFSCache: Closing cache directory.
> afsd: 10000 out of 10000 data cache files found in sweep 1.
> afsd: Calling AFSOP_CACHEINFO: dcache file is '/usr/vice/cache/CacheItems'
> SScall(137, 28, 7)=0 afsd: Calling AFSOP_VOLUMEINFO: volume info file is
> '/usr/vice/cache/VolumeItems'
> SScall(137, 28, 8)=0 afsd: Calling AFSOP_AFSLOG: volume info file is
> '/usr/vice/etc/AFSLog'
> SScall(137, 28, 11)=0 afsd: Calling AFSOP_CACHEINODE for each of the 10000 files in
> '/usr/vice/cache'
> /etc/rc.d/init.d/afs: line 305:  1368 Segmentation fault      /usr/vice/etc/afsd
> ${AFSD_OPTIONS}
> 
> 
> 
> ..and in/var/log/messages:
> 
> Aug 15 20:34:53 canosa kernel: Starting AFS cache scan...Can't open inode 210379
> Aug 15 20:34:53 canosa kernel: Unable to handle kernel paging request at virtual address
> ffffffff
> Aug 15 20:34:53 canosa kernel:  printing eip:
> Aug 15 20:34:53 canosa kernel: cfcb905c
> Aug 15 20:34:53 canosa kernel: *pde = 00003063
> Aug 15 20:34:53 canosa kernel: Oops: 0002
> Aug 15 20:34:53 canosa kernel: CPU:    0
> Aug 15 20:34:53 canosa kernel: EIP:   
> 0010:[reiserfs:__insmod_reiserfs_S.bss_L6576+241767100/432470452]    Tainted: PF
> Aug 15 20:34:53 canosa kernel: EFLAGS: 00010286
> Aug 15 20:34:53 canosa kernel: eax: 00000018   ebx: cff24060   ecx: 00000000   edx:
> c475e000
> Aug 15 20:34:53 canosa kernel: esi: cbed7960   edi: cbed79e4   ebp: 000335cb   esp:
> cf71dbe4
> Aug 15 20:34:53 canosa kernel: ds: 0018   es: 0018   ss: 0018
> Aug 15 20:34:53 canosa kernel: Process afsd (pid: 1368, stackpage=cf71d000)
> Aug 15 20:34:53 canosa kernel: Stack: cfcd53fe 000335cb 00000000 00000000 cbed7960
> cbed79e4 000335cb cfcc237e
> Aug 15 20:34:53 canosa kernel:        cfcd53fe 000335cb 00000000 00000000 cbed7260
> 00000010 fffffffb 00000000
> Aug 15 20:34:53 canosa kernel:        00000000 d2ac0000 00000000 cfc8b32e 000335cb
> 00000000 cf71dc54 cffa9260
> Aug 15 20:34:53 canosa kernel: Call Trace:
> [reiserfs:__insmod_reiserfs_S.bss_L6576+241882718/432354834]
> [reiserfs:__insmod_reiserfs_S.bss_L6576+2418
> 04766/432432786] [reiserfs:__insmod_reiserfs_S.bss_L6576+241882718/432354834]
> [reiserfs:__insmod_reiserfs_S.bss_L6576+241579406/432658146] [reiserfs
> :__insmod_reiserfs_S.bss_L6576+241820716/432416836]
> Aug 15 20:34:53 canosa kernel:   
> [joydev:__insmod_joydev_O/lib/modules/2.4.18-4GB/kernel/drivers/inp+-55023177/96]
> [joydev:__insmod_joydev_O/lib/mo
> dules/2.4.18-4GB/kernel/drivers/inp+-55002380/96]
> [joydev:__insmod_joydev_O/lib/modules/2.4.18-4GB/kernel/drivers/inp+-54990844/96]
> [joydev:__insmod
> _joydev_O/lib/modules/2.4.18-4GB/kernel/drivers/inp+-55023857/96]
> [joydev:__insmod_joydev_O/lib/modules/2.4.18-4GB/kernel/drivers/inp+-54988596/96]
> [joydev:__insmod_joydev_O/lib/modules/2.4.18-4GB/kernel/drivers/inp+-54987153/96]
> Aug 15 20:34:53 canosa kernel:   
> [joydev:__insmod_joydev_O/lib/modules/2.4.18-4GB/kernel/drivers/inp+-54990175/96]
> [joydev:__insmod_joydev_O/lib/mo
> dules/2.4.18-4GB/kernel/drivers/inp+-55054605/96] [n_tty_receive_buf+396/976]
> [n_tty_receive_buf+329/976] [joydev:__insmod_joydev_O/lib/modules/2.4.
> 18-4GB/kernel/drivers/inp+-55099287/96] [n_tty_receive_buf+396/976]
> Aug 15 20:34:53 canosa kernel:    [n_tty_receive_buf+329/976] [pty_write+307/320]
> [opost_block+211/400] [pty_write+307/320] [tty_default_put_char+26
> /32] [opost+148/400]
> Aug 15 20:34:53 canosa kernel:    [write_chan+343/512]
> [reiserfs:__insmod_reiserfs_S.bss_L6576+241822544/432415008] [write_chan+0/512]
> [tty_write+22
> 2/288] [write_chan+0/512] [system_call+51/64]
> Aug 15 20:34:53 canosa kernel:
> Aug 15 20:34:53 canosa kernel: Code: c6 05 ff ff ff ff 2a 83 c4 1c c3 90 b8 e1 50 cd cf eb
> d8 90
> 
> Any ideas?
> 
> Thanks,
> Roman
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available