[OpenAFS-port-darwin] Kernel Panic unmounting and re-mounting afs file system

Claudio.Bisegni@lnf.infn.it Claudio.Bisegni@lnf.infn.it
Thu, 23 Aug 2007 17:30:14 +0200 (CEST)


Hi Enzo,
yes i use it on my MacBook Pro, and work well. For start/stop log/unlog
AFSCommander work as bridge to unix script. I have hardcoded the afs
startup script in app with cocoa class for launch unix process.
Try to download the last update of it i made some fix. Now it work well...
i hope..:-) Thank for bug reporting.

for your kernel panic i think that it is to associate with problem that
you have also with afs standard script. For me AFSCommander work well. In
September i'll code klog/aklog and unlog directly with afs api, after that
i'll try to mount afs and loading kernel extension by osx api. It's no
difficult but i don't have much time for it:-(.

Anyway i think that you must suppliy more information about your machine
state and configuration for your afs problem. How i have wrote in last
mail, i think there is some little but in kernel extension. The error that
i had accour sistematicaly. I'll try to indagate more on this issue.

For AFSCommander bug repory you can write me directly.
Thanks for reporting...

Claudio
> Hi Claudio,
>
> I have also used your preference pane but I have obtained immediately
> the same kernel panic. Have you tested your software on an intel CPU?
>
> Enzo
>
> On 23 Aug 2007, at 14:44, Claudio.Bisegni@lnf.infn.it wrote:
>
>> Hi Enzo,
>> during development work of my afs preference pane, i started and
>> stoped
>> afs many time(for testing, the preference let do it). i didn't get any
>> kernel panic on 10.4.x but i have seen that after three or four afs
>> start/stop i can't get anymore to unmount afs(1.4.x and 1.5.x). I
>> have had
>> to restart osx. I thought tha probably was a bug on my application,
>> but i
>> have seen that it occour also calling afs script by and via terminal.
>> I think it can be a little bug on afs kernel extension...
>>
>> Claudio
>>
>>> Hi,
>>>
>>> I have installed OpenAFS 1.5.2 on my MacBook Pro running MacOS X
>>> 10.4.10. At the startup the 'afs' volume is correctly mounted on my
>>> desktop, but if I use  the script /Library/StartupItems/OpenAFS/
>>> OpenAFS (start/stop) first  to unmount it and then to re-mount it ,
>>> so I get a kernel panic. Below the related information contained  in
>>> the panic.log file:
>>>
>>>
>>> *********************************************************************
>>> ***
>>> *********************************************
>>> Wed Aug 22 16:48:57 2007
>>> panic(cpu  caller 0x001A4A55): Unresolved kernel trap (CPU 0, Type
>>> 14=page fault), registers:
>>> CR0: 0x8001003b, CR2: 0x04376573, CR3: 0x00e86000, CR4: 0x000006e0
>>> EAX: 0x00000000, EBX: 0x043764d3, ECX: 0x043764d3, EDX: 0x00000001
>>> CR2: 0x04376573, EBP: 0x14173f84, ESI: 0x00000000, EDI: 0x00000000
>>> EFL: 0x00010202, EIP: 0x2af543a1, CS:  0x00000004, DS:  0x0000000c
>>>
>>> Backtrace, Format - Frame : Return Address (4 potential args on
>>> stack)
>>> 0x14173c78 : 0x128d08 (0x3cc0a4 0x14173c9c 0x131de5 0x0)
>>> 0x14173cb8 : 0x1a4a55 (0x3d24b8 0x0 0xe 0x3d1cdc)
>>> 0x14173dc8 : 0x19aeb4 (0x14173dd4 0xe 0x48 0xc)
>>> 0x14173f84 : 0x2af56c53 (0x2afd8c08 0x3479e4 0x4bc8e0 0x50)
>>> 0x14173fac : 0x2afc49dc (0x14143ba4 0x14143ba4 0x33b4404 0x14143ba4)
>>> 0x14173fc8 : 0x19ad2c (0x14143ba4 0x0 0x19e0b5 0x34686c8) Backtrace
>>> terminated-invalid frame pointer 0x0
>>>        Kernel loadable modules in backtrace (with dependencies):
>>>           org.openafs.filesystems.afs(1.5.20)@0x2af47000
>>>
>>> Kernel version:
>>> Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007;
>>> root:xnu-792.22.5~1/RELEASE_I386
>>>
>>> *********************************************************************
>>> ***
>>> *************************************************
>>>
>>>
>>> Could anyone help me to solve this problem?
>>>
>>> Enzo
>>>
>>> ------------------------------------------------
>>> | Enzo Vitale						|
>>> | C.R. ENEA						|
>>> | Via Enrico Fermi, 45				|
>>> | 00044 Frascati
> (Roma) - Italy		|
>>> | Tel.:  +39 06 94005548			|
>>> | Fax : +39 06 94005524			|
>>> | E-mail: vitale@frascati.enea.it		|
>>> ------------------------------------------------
>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> port-darwin mailing list
>> port-darwin@openafs.org
>> https://lists.openafs.org/mailman/listinfo/port-darwin
>
>
>
> Enzo
>
> ------------------------------------------------
> | Enzo Vitale						|
> | C.R. ENEA						|
> | Via Enrico Fermi, 45				|
> | 00044 Frascati (Roma) - Italy		|
> | Tel.:  +39 06 94005548			|
> | Fax : +39 06 94005524			|
> | E-mail: vitale@frascati.enea.it		|
> ------------------------------------------------
>
>
>