[OpenAFS] kernel Oops - easy to reproduce
Derek Atkins
warlord@MIT.EDU
29 Jan 2002 10:21:06 -0500
This is a "known bug". The workaround is "don't start afs if /afs
doesn't exist".
A patch is in the works to cause afsd to error-out early if /afs
doesn't exist.
-derek
Marc Schmitt <schmitt@inf.ethz.ch> writes:
> Hi all,
>
> Maybe this has been reported yet:
>
> I`m using RedHat 7.1 with OpenAFS 1.2.2-rh7.1.1, tried with several
> kernels (2.4.9-6, 2.4.9-12, 2.4.9-21, 2.4.17). NIC is an eepro100.
>
> To create a kernel Oops, simply do the following:
> - /etc/rc.d/init.d/afs stop (AFS shuts down properly)
> - rmdir /afs
> - /etc/rc.d/init.d/afs start
> (Found libafs-2.4.9-21.o from SymTable... Loading...
> Starting AFS services.....
> afsd: All AFS daemons started.
> afsd: Can't mount AFS on /afs(2))
> - lsmod shows libafs-2.4.9-21 396768 0 (unused)
> - rmmod libafs-2.4.9-21 (Oops)
>
> The machine won`t recover properly, trying to start AFS in this state
> gives on my machine the following:
>
> 10:20am up 18:00, 3 users, load average: 6.98, 2.58, 0.93
> 86 processes: 75 sleeping, 10 running, 1 zombie, 0 stopped
> CPU states: 0.5% user, 99.4% system, 0.0% nice, 0.0% idle
> Mem: 255124K av, 207560K used, 47564K free, 0K shrd,
> 16656K buff
> Swap: 530104K av, 0K used, 530104K free
> 87664K cached
>
> PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
> 10497 root 20 -10 776 776 764 R < 15.7 0.3 0:18 afsd
> 10494 root 14 0 776 776 768 R 11.8 0.3 0:13 afsd
> 10496 root 14 0 776 776 772 R 11.8 0.3 0:13 afsd
> 10498 root 14 0 776 776 772 R 11.8 0.3 0:13 afsd
> 10499 root 14 0 776 776 772 R 11.8 0.3 0:13 afsd
> 10500 root 14 0 776 776 772 R 11.8 0.3 0:13 afsd
> 10501 root 14 0 776 776 772 R 11.8 0.3 0:13 afsd
> 10502 root 14 0 776 776 772 R 11.8 0.3 0:13 afsd
>
>
> Regards,
> Marc
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
--
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