Greetings, While poking around to figure out how to get the afsd daemon with the -verbose and -debug flags to log someplace useful (*grumbles at initlog*) I discovered a neat kernel panic. With AFS already running typing "afsd -debug" as root results in a kernel panic and a frozen machine. I have attached the output of the "afsd -debug" command and the resulting kernel panic.
This is OpenAFS 1.4.2 on RHEL 4, kernel version 2.6.9-42.0.8.ELsmp. I know that's not the proper way to run the daemon in debug mode...but I shouldn't be able to trick fellow sysadmins to kernel panic their machine so easily. Although, it is amusing. :-) Jack -- Jack Neely <[EMAIL PROTECTED]> Campus Linux Services Project Lead Information Technology Division, NC State University GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89
Feb 14 18:32:40 tweety kernel: openafs: afs_InitCacheInfo --- called for non-ufs cache!------------[ cut here ]------------ Feb 14 18:32:40 tweety kernel: kernel BUG at /home/slack/RPM/BUILD/openafs-1.4.2/src/libafs/MODLOAD-2.6.9-42.0.8.ELsmp-MP/afs_init.c:337! Feb 14 18:32:40 tweety kernel: invalid operand: 0000 [#1] Feb 14 18:32:40 tweety kernel: SMP Feb 14 18:32:40 tweety kernel: Modules linked in: i915 parport_pc lp parport autofs4 i2c_dev i2c_core libafs(U) sunrpc ipt_REJECT ipt_state ip_conntrack iptable_filter ip_tables dm_mirror dm_mod button battery ac md5 ipv6 uhci_hcd ehci_hcd hw_random snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore 3c59x mii floppy ext3 jbd ata_piix libata sd_mod scsi_mod Feb 14 18:32:40 tweety kernel: CPU: 0 Feb 14 18:32:40 tweety kernel: EIP: 0060:[<e042d237>] Tainted: PF VLI Feb 14 18:32:40 tweety kernel: EFLAGS: 00010216 (2.6.9-42.0.8.ELsmp) Feb 14 18:32:40 tweety kernel: EIP is at afs_InitCacheInfo+0x1f/0xd7 [libafs] Feb 14 18:32:40 tweety kernel: eax: 0000003b ebx: c1622980 ecx: d3755e24 edx: e0478290 Feb 14 18:32:40 tweety kernel: esi: 00000000 edi: 00000007 ebp: c1622980 esp: d3755e20 Feb 14 18:32:40 tweety kernel: ds: 007b es: 007b ss: 0068 Feb 14 18:32:40 tweety kernel: Process afsd (pid: 4872, threadinfo=d3755000 task=d39c39b0) Feb 14 18:32:40 tweety kernel: Stack: e0478290 d3755e2c c02d2e82 00000246 00000000 e04905e0 00000000 d3755e44 Feb 14 18:32:40 tweety kernel: c02d2e82 e04905e0 e046b2a8 00000000 d46ad8b0 2d29ad35 c016728c d5342580 Feb 14 18:32:40 tweety kernel: d3755ebc d3755ef8 00000001 00000101 00000000 de9b401a dee9d180 d400c804 Feb 14 18:32:40 tweety kernel: Call Trace: Feb 14 18:32:40 tweety kernel: [<c02d2e82>] __cond_resched+0x14/0x39 Feb 14 18:32:40 tweety kernel: [<c02d2e82>] __cond_resched+0x14/0x39 Feb 14 18:32:40 tweety kernel: [<e046b2a8>] afs_syscall_call+0xe6e/0x1b2a [libafs] Feb 14 18:32:40 tweety kernel: [<c016728c>] __link_path_walk+0xafd/0xbb5 Feb 14 18:32:40 tweety kernel: [<c01673d8>] link_path_walk+0x94/0xbe Feb 14 18:32:40 tweety kernel: [<c01c32da>] memmove+0xe/0x24 Feb 14 18:32:40 tweety kernel: [<e046c244>] afs_syscall+0x1c1/0x4c4 [libafs] Feb 14 18:32:40 tweety kernel: [<c01663a7>] permission+0x4a/0x4f Feb 14 18:32:40 tweety kernel: [<e0465026>] afs_ioctl+0x82/0x8c [libafs] Feb 14 18:32:40 tweety kernel: [<c016ab45>] file_ioctl+0x19d/0x1af Feb 14 18:32:40 tweety kernel: [<c016ad5f>] sys_ioctl+0x208/0x269 Feb 14 18:32:40 tweety kernel: [<c02d48d7>] syscall_call+0x7/0xb Feb 14 18:32:40 tweety kernel: Code: 38 49 e0 89 d8 ff 52 10 31 c0 5b c3 53 83 ec 20 89 c3 ff 05 7c 8c 49 e0 83 3d b0 38 49 e0 00 74 13 68 90 82 47 e0 e8 67 56 cf df <0f> 0b 51 01 cc 82 47 e0 59 89 d8 e8 65 75 03 00 85 c0 0f 85 9b Feb 14 18:32:40 tweety kernel: <0>Fatal exception: panic in 5 seconds
afsdebug.out.bz2
Description: BZip2 compressed data