Repository: ollama/ollama (language: go)

Issue:
msg="llama runner terminated" error="exit status 2"
### What is the issue?

![Image](https://github.com/user-attachments/assets/cdc2e527-2b86-46a0-a888-53727b3a14c8)

![Image](https://github.com/user-attachments/assets/b29da5af-5b1c-44c3-b6c4-93ff31ecda32)

what should I do？

### Relevant log output

```shell

```

### OS

_No response_

### GPU

_No response_

### CPU

_No response_

### Ollama version

_No response_


Discussion / hints:
Supply text [logs](https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md#how-to-troubleshoot-issues).
![Image](https://github.com/user-attachments/assets/e69d31df-691b-40a4-ad27-4cb3b68e575d)

there are text logs，please help me
[root@fz-webserver /data]#  journalctl -u ollama -n 50
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc00048c7e8 sp=0xc00048c7e0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc0004867e0 sp=0xc0004867c8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc0004867e8 sp=0xc0004867e0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 28 gp=0xc00027f180 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x5637673cb6e0?, 0x1?, 0xff?, 0x3?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000486f38 sp=0xc000486f18 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc000486fc8 sp=0xc000486f38 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc000486fe0 sp=0xc000486fc8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc000486fe8 sp=0xc000486fe0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: rax    0x0
Feb 26 10:05:54 fz-webserver ollama[1499630]: rbx    0x194845
Feb 26 10:05:54 fz-webserver ollama[1499630]: rcx    0x7f4c26d9404f
Feb 26 10:05:54 fz-webserver ollama[1499630]: rdx    0x6
Feb 26 10:05:54 fz-webserver ollama[1499630]: rdi    0x194845
Feb 26 10:05:54 fz-webserver ollama[1499630]: rsi    0x194845
Feb 26 10:05:54 fz-webserver ollama[1499630]: rbp    0x6
Feb 26 10:05:54 fz-webserver ollama[1499630]: rsp    0x7fffd5b5f950
Feb 26 10:05:54 fz-webserver ollama[1499630]: r8     0x7fffd5b5fa20
Feb 26 10:05:54 fz-webserver ollama[1499630]: r9     0x7fffd5b5f550
Feb 26 10:05:54 fz-webserver ollama[1499630]: r10    0x8
Feb 26 10:05:54 fz-webserver ollama[1499630]: r11    0x246
Feb 26 10:05:54 fz-webserver ollama[1499630]: r12    0x5637679cba90
Feb 26 10:05:54 fz-webserver ollama[1499630]: r13    0x6
Feb 26 10:05:54 fz-webserver ollama[1499630]: r14    0x7fffd5b5fcf8
Feb 26 10:05:54 fz-webserver ollama[1499630]: r15    0x7fffd5b5fcf0
Feb 26 10:05:54 fz-webserver ollama[1499630]: rip    0x7f4c26d9404f
Feb 26 10:05:54 fz-webserver ollama[1499630]: rflags 0x246
Feb 26 10:05:54 fz-webserver ollama[1499630]: cs     0x33
Feb 26 10:05:54 fz-webserver ollama[1499630]: fs     0x0
Feb 26 10:05:54 fz-webserver ollama[1499630]: gs     0x0
Feb 26 10:05:54 fz-webserver ollama[1499630]: time=2025-02-26T10:05:54.673+08:00 level=ERROR source=server.go:421 msg="llama runner terminated" error="exit status 2"
Feb 26 10:05:54 fz-webserver ollama[1499630]: time=2025-02-26T10:05:54.896+08:00 level=ERROR source=sched.go:456 msg="error loading llama server" error="llama runner process has terminated: error:status: Permission denied [/usr/local/lib>
Feb 26 10:05:54 fz-webserver ollama[1499630]: [GIN] 2025/02/26 - 10:05:54 | 500 |  325.329518ms |       127.0.0.1 | POST     "/api/generate"
```
journalctl -u ollama --no-pager
```
Feb 26 10:05:31 fz-webserver ollama[1499630]: [GIN] 2025/02/26 - 10:05:31 | 200 |      178.23µs |       127.0.0.1 | HEAD     "/"
Feb 26 10:05:31 fz-webserver ollama[1499630]: [GIN] 2025/02/26 - 10:05:31 | 200 |     926.303µs |       127.0.0.1 | GET      "/api/tags"
Feb 26 10:05:54 fz-webserver ollama[1499630]: [GIN] 2025/02/26 - 10:05:54 | 200 |      36.442µs |       127.0.0.1 | HEAD     "/"
Feb 26 10:05:54 fz-webserver ollama[1499630]: [GIN] 2025/02/26 - 10:05:54 | 200 |   23.975065ms |       127.0.0.1 | POST     "/api/show"
Feb 26 10:05:54 fz-webserver ollama[1499630]: time=2025-02-26T10:05:54.644+08:00 level=INFO source=server.go:97 msg="system memory" total="30.9 GiB" free="29.5 GiB" free_swap="0 B"
Feb 26 10:05:54 fz-webserver ollama[1499630]: time=2025-02-26T10:05:54.644+08:00 level=WARN source=ggml.go:132 msg="key not found" key=qwen2.attention.key_length default=128
Feb 26 10:05:54 fz-webserver ollama[1499630]: time=2025-02-26T10:05:54.644+08:00 level=WARN source=ggml.go:132 msg="key not found" key=qwen2.attention.value_length default=128
Feb 26 10:05:54 fz-webserver ollama[1499630]: time=2025-02-26T10:05:54.645+08:00 level=INFO source=server.go:130 msg=offload library=cpu layers.requested=-1 layers.model=29 layers.offload=0 layers.split="" memory.available="[29.5 GiB]" memory.gpu_overhead="0 B" memory.required.full="1.5 GiB" memory.required.partial="0 B" memory.required.kv="224.0 MiB" memory.required.allocations="[1.5 GiB]" memory.weights.total="976.1 MiB" memory.weights.repeating="793.5 MiB" memory.weights.nonrepeating="182.6 MiB" memory.graph.full="299.8 MiB" memory.graph.partial="482.3 MiB"
Feb 26 10:05:54 fz-webserver ollama[1499630]: time=2025-02-26T10:05:54.645+08:00 level=INFO source=server.go:380 msg="starting llama server" cmd="/usr/local/bin/ollama runner --model /usr/share/ollama/.ollama/models/blobs/sha256-c2c43b6018cf7700ce0ddee8807deb1a9a26758ef878232f3a142d16df81f0fe --ctx-size 8192 --batch-size 512 --threads 16 --no-mmap --parallel 4 --port 46287"
Feb 26 10:05:54 fz-webserver ollama[1499630]: time=2025-02-26T10:05:54.646+08:00 level=INFO source=sched.go:450 msg="loaded runners" count=1
Feb 26 10:05:54 fz-webserver ollama[1499630]: time=2025-02-26T10:05:54.646+08:00 level=INFO source=server.go:557 msg="waiting for llama runner to start responding"
Feb 26 10:05:54 fz-webserver ollama[1499630]: time=2025-02-26T10:05:54.646+08:00 level=INFO source=server.go:591 msg="waiting for server to become available" status="llm server error"
Feb 26 10:05:54 fz-webserver ollama[1499630]: time=2025-02-26T10:05:54.665+08:00 level=INFO source=runner.go:932 msg="starting go runner"
Feb 26 10:05:54 fz-webserver ollama[1499630]: terminate called after throwing an instance of 'std::filesystem::filesystem_error'
Feb 26 10:05:54 fz-webserver ollama[1499630]:   what():  filesystem error: status: Permission denied [/usr/local/lib/ollama/libggml-blas.so]
Feb 26 10:05:54 fz-webserver ollama[1499630]: SIGABRT: abort
Feb 26 10:05:54 fz-webserver ollama[1499630]: PC=0x7f4c26d9404f m=0 sigcode=18446744073709551610
Feb 26 10:05:54 fz-webserver ollama[1499630]: signal arrived during cgo execution
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 1 gp=0xc0000061c0 m=0 mp=0x56376731f780 [syscall]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.cgocall(0x56376661abe0, 0xc0000c15b8)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/cgocall.go:167 +0x4b fp=0xc0000c1590 sp=0xc0000c1558 pc=0x5637658c0acb
Feb 26 10:05:54 fz-webserver ollama[1499630]: github.com/ollama/ollama/ml/backend/ggml/ggml/src._Cfunc_ggml_backend_load_all_from_path(0x5637679cbf80)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         _cgo_gotypes.go:108 +0x45 fp=0xc0000c15b8 sp=0xc0000c1590 pc=0x563765c752c5
Feb 26 10:05:54 fz-webserver ollama[1499630]: github.com/ollama/ollama/ml/backend/ggml/ggml/src.init.func1.1({0xc00003e040, 0x15})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         github.com/ollama/ollama/ml/backend/ggml/ggml/src/ggml.go:92 +0xf5 fp=0xc0000c1650 sp=0xc0000c15b8 pc=0x563765c75015
Feb 26 10:05:54 fz-webserver ollama[1499630]: github.com/ollama/ollama/ml/backend/ggml/ggml/src.init.func1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         github.com/ollama/ollama/ml/backend/ggml/ggml/src/ggml.go:93 +0x46e fp=0xc0000c1860 sp=0xc0000c1650 pc=0x563765c74ece
Feb 26 10:05:54 fz-webserver ollama[1499630]: github.com/ollama/ollama/ml/backend/ggml/ggml/src.init.OnceFunc.func2()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         sync/oncefunc.go:27 +0x62 fp=0xc0000c18a8 sp=0xc0000c1860 pc=0x563765c74982
Feb 26 10:05:54 fz-webserver ollama[1499630]: sync.(*Once).doSlow(0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         sync/once.go:76 +0xb4 fp=0xc0000c1908 sp=0xc0000c18a8 pc=0x5637658dca94
Feb 26 10:05:54 fz-webserver ollama[1499630]: sync.(*Once).Do(0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         sync/once.go:67 +0x19 fp=0xc0000c1928 sp=0xc0000c1908 pc=0x5637658dc9b9
Feb 26 10:05:54 fz-webserver ollama[1499630]: github.com/ollama/ollama/ml/backend/ggml/ggml/src.init.OnceFunc.func3()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         sync/oncefunc.go:32 +0x2d fp=0xc0000c1958 sp=0xc0000c1928 pc=0x563765c748ed
Feb 26 10:05:54 fz-webserver ollama[1499630]: github.com/ollama/ollama/llama.BackendInit()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         github.com/ollama/ollama/llama/llama.go:57 +0x16 fp=0xc0000c1968 sp=0xc0000c1958 pc=0x563765c78716
Feb 26 10:05:54 fz-webserver ollama[1499630]: github.com/ollama/ollama/runner/llamarunner.Execute({0xc000134020, 0xd, 0xd})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         github.com/ollama/ollama/runner/llamarunner/runner.go:934 +0x69e fp=0xc0000c1d08 sp=0xc0000c1968 pc=0x563765c97d5e
Feb 26 10:05:54 fz-webserver ollama[1499630]: github.com/ollama/ollama/runner.Execute({0xc000134010?, 0x0?, 0x0?})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         github.com/ollama/ollama/runner/runner.go:22 +0xd4 fp=0xc0000c1d30 sp=0xc0000c1d08 pc=0x563765ec8c54
Feb 26 10:05:54 fz-webserver ollama[1499630]: github.com/ollama/ollama/cmd.NewCLI.func2(0xc0001e1400?, {0x5637666c3050?, 0x4?, 0x5637666c3054?})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         github.com/ollama/ollama/cmd/cmd.go:1280 +0x45 fp=0xc0000c1d58 sp=0xc0000c1d30 pc=0x5637664d5245
Feb 26 10:05:54 fz-webserver ollama[1499630]: github.com/spf13/cobra.(*Command).execute(0xc0005b4308, {0xc0000d15f0, 0xd, 0xd})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         github.com/spf13/cobra@v1.7.0/command.go:940 +0x862 fp=0xc0000c1e78 sp=0xc0000c1d58 pc=0x563765a35902
Feb 26 10:05:54 fz-webserver ollama[1499630]: github.com/spf13/cobra.(*Command).ExecuteC(0xc0000db508)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5 fp=0xc0000c1f30 sp=0xc0000c1e78 pc=0x563765a36145
Feb 26 10:05:54 fz-webserver ollama[1499630]: github.com/spf13/cobra.(*Command).Execute(...)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         github.com/spf13/cobra@v1.7.0/command.go:992
Feb 26 10:05:54 fz-webserver ollama[1499630]: github.com/spf13/cobra.(*Command).ExecuteContext(...)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         github.com/spf13/cobra@v1.7.0/command.go:985
Feb 26 10:05:54 fz-webserver ollama[1499630]: main.main()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         github.com/ollama/ollama/main.go:12 +0x4d fp=0xc0000c1f50 sp=0xc0000c1f30 pc=0x5637664d55cd
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.main()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:272 +0x29d fp=0xc0000c1fe0 sp=0xc0000c1f50 pc=0x5637658924dd
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc0000c1fe8 sp=0xc0000c1fe0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 2 gp=0xc000006c40 m=nil [force gc (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000084fa8 sp=0xc000084f88 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goparkunlock(...)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:430
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.forcegchelper()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:337 +0xb8 fp=0xc000084fe0 sp=0xc000084fa8 pc=0x563765892818
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc000084fe8 sp=0xc000084fe0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.init.7 in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:325 +0x1a
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 3 gp=0xc000007180 m=nil [GC sweep wait]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000085780 sp=0xc000085760 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goparkunlock(...)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:430
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.bgsweep(0xc0000ac000)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgcsweep.go:317 +0xdf fp=0xc0000857c8 sp=0xc000085780 pc=0x56376587cebf
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcenable.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:204 +0x25 fp=0xc0000857e0 sp=0xc0000857c8 pc=0x563765871505
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc0000857e8 sp=0xc0000857e0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcenable in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:204 +0x66
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 4 gp=0xc000007340 m=nil [GC scavenge wait]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x10000?, 0x5637668766f8?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000085f78 sp=0xc000085f58 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goparkunlock(...)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:430
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.(*scavengerState).park(0x56376731d080)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgcscavenge.go:425 +0x49 fp=0xc000085fa8 sp=0xc000085f78 pc=0x56376587a889
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.bgscavenge(0xc0000ac000)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgcscavenge.go:658 +0x59 fp=0xc000085fc8 sp=0xc000085fa8 pc=0x56376587ae19
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcenable.gowrap2()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:205 +0x25 fp=0xc000085fe0 sp=0xc000085fc8 pc=0x5637658714a5
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcenable in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:205 +0xa5
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 18 gp=0xc000104700 m=nil [finalizer wait]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0xc000084648?, 0x563765867a05?, 0xb0?, 0x1?, 0xc0000061c0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000084620 sp=0xc000084600 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.runfinq()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mfinal.go:193 +0x107 fp=0xc0000847e0 sp=0xc000084620 pc=0x563765870587
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc0000847e8 sp=0xc0000847e0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.createfing in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mfinal.go:163 +0x3d
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 19 gp=0xc00027e000 m=nil [chan receive]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0xc000080760?, 0x5637659a4245?, 0x60?, 0xc9?, 0x563766b3b280?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000080718 sp=0xc0000806f8 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.chanrecv(0xc000112310, 0x0, 0x1)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/chan.go:639 +0x41c fp=0xc000080790 sp=0xc000080718 pc=0x563765860bfc
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.chanrecv1(0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/chan.go:489 +0x12 fp=0xc0000807b8 sp=0xc000080790 pc=0x5637658607b2
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.unique_runtime_registerUniqueMapCleanup.func1(...)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1781
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1784 +0x2f fp=0xc0000807e0 sp=0xc0000807b8 pc=0x56376587456f
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc0000807e8 sp=0xc0000807e0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by unique.runtime_registerUniqueMapCleanup in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1779 +0x96
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 20 gp=0xc00027e380 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000080f38 sp=0xc000080f18 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc000080fc8 sp=0xc000080f38 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc000080fe0 sp=0xc000080fc8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc000080fe8 sp=0xc000080fe0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 34 gp=0xc000484000 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc00048a738 sp=0xc00048a718 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc00048a7c8 sp=0xc00048a738 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc00048a7e0 sp=0xc00048a7c8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc00048a7e8 sp=0xc00048a7e0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 35 gp=0xc0004841c0 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc00048af38 sp=0xc00048af18 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc00048afc8 sp=0xc00048af38 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc00048afe0 sp=0xc00048afc8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc00048afe8 sp=0xc00048afe0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 36 gp=0xc000484380 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc00048b738 sp=0xc00048b718 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc00048b7c8 sp=0xc00048b738 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc00048b7e0 sp=0xc00048b7c8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc00048b7e8 sp=0xc00048b7e0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 5 gp=0xc000007880 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000086738 sp=0xc000086718 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc0000867c8 sp=0xc000086738 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc0000867e0 sp=0xc0000867c8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc0000867e8 sp=0xc0000867e0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 21 gp=0xc00027e540 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000081738 sp=0xc000081718 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc0000817c8 sp=0xc000081738 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc0000817e0 sp=0xc0000817c8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc0000817e8 sp=0xc0000817e0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 22 gp=0xc00027e700 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000081f38 sp=0xc000081f18 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc000081fc8 sp=0xc000081f38 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc000081fe0 sp=0xc000081fc8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc000081fe8 sp=0xc000081fe0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 23 gp=0xc00027e8c0 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000082738 sp=0xc000082718 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc0000827c8 sp=0xc000082738 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc0000827e0 sp=0xc0000827c8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc0000827e8 sp=0xc0000827e0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 24 gp=0xc00027ea80 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000082f38 sp=0xc000082f18 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc000082fc8 sp=0xc000082f38 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc000082fe0 sp=0xc000082fc8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc000082fe8 sp=0xc000082fe0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 25 gp=0xc00027ec40 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000083738 sp=0xc000083718 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc0000837c8 sp=0xc000083738 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc0000837e0 sp=0xc0000837c8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc0000837e8 sp=0xc0000837e0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 37 gp=0xc000484540 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc00048bf38 sp=0xc00048bf18 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc00048bfc8 sp=0xc00048bf38 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc00048bfe0 sp=0xc00048bfc8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc00048bfe8 sp=0xc00048bfe0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 6 gp=0xc000007a40 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000086f38 sp=0xc000086f18 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc000086fc8 sp=0xc000086f38 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc000086fe0 sp=0xc000086fc8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc000086fe8 sp=0xc000086fe0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 26 gp=0xc00027ee00 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000083f38 sp=0xc000083f18 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc000083fc8 sp=0xc000083f38 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc000083fe0 sp=0xc000083fc8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc000083fe8 sp=0xc000083fe0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 38 gp=0xc000484700 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc00048c738 sp=0xc00048c718 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc00048c7c8 sp=0xc00048c738 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc00048c7e0 sp=0xc00048c7c8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc00048c7e8 sp=0xc00048c7e0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 27 gp=0xc00027efc0 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x5637673cb6e0?, 0x1?, 0x82?, 0xe7?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000486738 sp=0xc000486718 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc0004867c8 sp=0xc000486738 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc0004867e0 sp=0xc0004867c8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc0004867e8 sp=0xc0004867e0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: goroutine 28 gp=0xc00027f180 m=nil [GC worker (idle)]:
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gopark(0x5637673cb6e0?, 0x1?, 0xff?, 0x3?, 0x0?)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/proc.go:424 +0xce fp=0xc000486f38 sp=0xc000486f18 pc=0x5637658c71ce
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkWorker(0xc000113730)
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1412 +0xe9 fp=0xc000486fc8 sp=0xc000486f38 pc=0x563765873869
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.gcBgMarkStartWorkers.gowrap1()
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x25 fp=0xc000486fe0 sp=0xc000486fc8 pc=0x563765873745
Feb 26 10:05:54 fz-webserver ollama[1499630]: runtime.goexit({})
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/asm_amd64.s:1700 +0x1 fp=0xc000486fe8 sp=0xc000486fe0 pc=0x5637658cf5a1
Feb 26 10:05:54 fz-webserver ollama[1499630]: created by runtime.gcBgMarkStartWorkers in goroutine 1
Feb 26 10:05:54 fz-webserver ollama[1499630]:         runtime/mgc.go:1328 +0x105
Feb 26 10:05:54 fz-webserver ollama[1499630]: rax    0x0
Feb 26 10:05:54 fz-webserver ollama[1499630]: rbx    0x194845
Feb 26 10:05:54 fz-webserver ollama[1499630]: rcx    0x7f4c26d9404f
Feb 26 10:05:54 fz-webserver ollama[1499630]: rdx    0x6
Feb 26 10:05:54 fz-webserver ollama[1499630]: rdi    0x194845
Feb 26 10:05:54 fz-webserver ollama[1499630]: rsi    0x194845
Feb 26 10:05:54 fz-webserver ollama[1499630]: rbp    0x6
Feb 26 10:05:54 fz-webserver ollama[1499630]: rsp    0x7fffd5b5f950
Feb 26 10:05:54 fz-webserver ollama[1499630]: r8     0x7fffd5b5fa20
Feb 26 10:05:54 fz-webserver ollama[1499630]: r9     0x7fffd5b5f550
Feb 26 10:05:54 fz-webserver ollama[1499630]: r10    0x8
Feb 26 10:05:54 fz-webserver ollama[1499630]: r11    0x246
Feb 26 10:05:54 fz-webserver ollama[1499630]: r12    0x5637679cba90
Feb 26 10:05:54 fz-webserver ollama[1499630]: r13    0x6
Feb 26 10:05:54 fz-webserver ollama[1499630]: r14    0x7fffd5b5fcf8
Feb 26 10:05:54 fz-webserver ollama[1499630]: r15    0x7fffd5b5fcf0
Feb 26 10:05:54 fz-webserver ollama[1499630]: rip    0x7f4c26d9404f
Feb 26 10:05:54 fz-webserver ollama[1499630]: rflags 0x246
Feb 26 10:05:54 fz-webserver ollama[1499630]: cs     0x33
Feb 26 10:05:54 fz-webserver ollama[1499630]: fs     0x0
Feb 26 10:05:54 fz-webserver ollama[1499630]: gs     0x0
Feb 26 10:05:54 fz-webserver ollama[1499630]: time=2025-02-26T10:05:54.673+08:00 level=ERROR source=server.go:421 msg="llama runner terminated" error="exit status 2"
Feb 26 10:05:54 fz-webserver ollama[1499630]: time=2025-02-26T10:05:54.896+08:00 level=ERROR source=sched.go:456 msg="error loading llama server" error="llama runner process has terminated: error:status: Permission denied [/usr/local/lib/ollama/libggml-blas.so]"
Feb 26 10:05:54 fz-webserver ollama[1499630]: [GIN] 2025/02/26 - 10:05:54 | 500 |  325.329518ms |       127.0.0.1 | POST     "/api/generate"      


I have further added to the log, please help me，please
```
Feb 26 10:05:54 fz-webserver ollama[1499630]: terminate called after throwing an instance of 'std::filesystem::filesystem_error'
Feb 26 10:05:54 fz-webserver ollama[1499630]: what(): filesystem error: status: Permission denied [/usr/local/lib/ollama/libggml-blas.so]
```
What's the output from
```
ls -l /usr/local/lib/ollama
```
![Image](https://github.com/user-attachments/assets/0263fe20-d94c-4535-9ff5-95a3df1e59b8)

This is the output, the file is not in the directory, What happened?
> ![Image](https://github.com/user-attachments/assets/0263fe20-d94c-4535-9ff5-95a3df1e59b8)
> 
> This is the output, the file is not in the directory, What happened?

same error
At a guess, incomplete installation.  How was ollama installed, and what's the GPU?
I've been having the issue for last few weeks, was expecting 5.12 to solve but it hasn't. solution so far is to go back to 0.5.7. @jmorganca this was the same issue we talked about last week.

Fix patch:
diff --git a/llama/patches/0015-try-catch-backend-load.patch b/llama/patches/0015-try-catch-backend-load.patch
deleted file mode 100644
index 9aea6183624..00000000000
--- a/llama/patches/0015-try-catch-backend-load.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Michael Yang <mxyng@pm.me>
-Date: Tue, 11 Feb 2025 14:06:36 -0800
-Subject: [PATCH] try/catch backend load
-
----
- ggml/src/ggml-backend-reg.cpp | 45 ++++++++++++++++++-----------------
- 1 file changed, 23 insertions(+), 22 deletions(-)
-
-diff --git a/ggml/src/ggml-backend-reg.cpp b/ggml/src/ggml-backend-reg.cpp
-index 98d5e14d..1c19129a 100644
---- a/ggml/src/ggml-backend-reg.cpp
-+++ b/ggml/src/ggml-backend-reg.cpp
-@@ -512,32 +512,33 @@ static ggml_backend_reg_t ggml_backend_load_best(const char * name, bool silent,
-         }
-         fs::directory_iterator dir_it(search_path, fs::directory_options::skip_permission_denied);
-         for (const auto & entry : dir_it) {
--            if (entry.is_regular_file()) {
--                std::wstring filename = entry.path().filename().wstring();
--                std::wstring ext = entry.path().extension().wstring();
--                if (filename.find(file_prefix) == 0 && ext == backend_filename_suffix()) {
--                    dl_handle_ptr handle { dl_load_library(entry.path().wstring()) };
--                    if (!handle && !silent) {
--                        GGML_LOG_ERROR("%s: failed to load %s\n", __func__, utf16_to_utf8(entry.path().wstring()).c_str());
--                    }
--                    if (handle) {
-+            try {
-+                if (entry.is_regular_file()) {
-+                    std::wstring filename = entry.path().filename().wstring();
-+                    std::wstring ext = entry.path().extension().wstring();
-+                    if (filename.find(file_prefix) == 0 && ext == backend_filename_suffix()) {
-+                        dl_handle_ptr handle { dl_load_library(entry.path().wstring()) };
-+                        if (!handle) {
-+                            GGML_LOG_ERROR("%s: failed to load %s\n", __func__, utf16_to_utf8(entry.path().wstring()).c_str());
-+                            continue;
-+                        }
-+
-                         auto score_fn = (ggml_backend_score_t) dl_get_sym(handle.get(), "ggml_backend_score");
--                        if (score_fn) {
--                            int s = score_fn();
--#ifndef NDEBUG
--                            GGML_LOG_DEBUG("%s: %s score: %d\n", __func__, utf16_to_utf8(entry.path().wstring()).c_str(), s);
--#endif
--                            if (s > best_score) {
--                                best_score = s;
--                                best_path = entry.path().wstring();
--                            }
--                        } else {
--                            if (!silent) {
--                                GGML_LOG_INFO("%s: failed to find ggml_backend_score in %s\n", __func__, utf16_to_utf8(entry.path().wstring()).c_str());
--                            }
-+                        if (!score_fn) {
-+                            GGML_LOG_DEBUG("%s: failed to find ggml_backend_score in %s\n", __func__, utf16_to_utf8(entry.path().wstring()).c_str());
-+                            continue;
-+                        }
-+
-+                        int s = score_fn();
-+                        GGML_LOG_DEBUG("%s: %s score: %d\n", __func__, utf16_to_utf8(entry.path().wstring()).c_str(), s);
-+                        if (s > best_score) {
-+                            best_score = s;
-+                            best_path = entry.path().wstring();
-                         }
-                     }
-                 }
-+            } catch (const std::exception & e) {
-+                GGML_LOG_ERROR("%s: failed to load %s: %s\n", __func__, utf16_to_utf8(entry.path().wstring()).c_str(), e.what());
-             }
-         }
-     }
diff --git a/llama/patches/0016-use-std-filesystem-path-instead-of-wstring.patch b/llama/patches/0015-use-std-filesystem-path-instead-of-wstring.patch
similarity index 67%
rename from llama/patches/0016-use-std-filesystem-path-instead-of-wstring.patch
rename to llama/patches/0015-use-std-filesystem-path-instead-of-wstring.patch
index d60066c13bb..e72d78ac855 100644
--- a/llama/patches/0016-use-std-filesystem-path-instead-of-wstring.patch
+++ b/llama/patches/0015-use-std-filesystem-path-instead-of-wstring.patch
@@ -4,11 +4,11 @@ Date: Sun, 16 Feb 2025 20:00:22 -0500
 Subject: [PATCH] use std::filesystem::path instead of wstring
 
 ---
- ggml/src/ggml-backend-reg.cpp | 144 ++++++++++++++--------------------
- 1 file changed, 58 insertions(+), 86 deletions(-)
+ ggml/src/ggml-backend-reg.cpp | 199 +++++++++++++++-------------------
+ 1 file changed, 88 insertions(+), 111 deletions(-)
 
 diff --git a/ggml/src/ggml-backend-reg.cpp b/ggml/src/ggml-backend-reg.cpp
-index 1c19129a..c854e6bb 100644
+index 98d5e14d..799af5f3 100644
 --- a/ggml/src/ggml-backend-reg.cpp
 +++ b/ggml/src/ggml-backend-reg.cpp
 @@ -66,26 +66,6 @@
@@ -264,47 +264,55 @@ index 1c19129a..c854e6bb 100644
      for (const auto & search_path : search_paths) {
          if (!fs::exists(search_path)) {
              continue;
-@@ -514,31 +486,31 @@ static ggml_backend_reg_t ggml_backend_load_best(const char * name, bool silent,
+@@ -513,29 +485,26 @@ static ggml_backend_reg_t ggml_backend_load_best(const char * name, bool silent,
+         fs::directory_iterator dir_it(search_path, fs::directory_options::skip_permission_denied);
          for (const auto & entry : dir_it) {
-             try {
-                 if (entry.is_regular_file()) {
--                    std::wstring filename = entry.path().filename().wstring();
--                    std::wstring ext = entry.path().extension().wstring();
-+                    std::string filename = entry.path().filename().string();
-+                    std::string ext = entry.path().extension().string();
-                     if (filename.find(file_prefix) == 0 && ext == backend_filename_suffix()) {
--                        dl_handle_ptr handle { dl_load_library(entry.path().wstring()) };
-+                        dl_handle_ptr handle { dl_load_library(entry.path()) };
-                         if (!handle) {
--                            GGML_LOG_ERROR("%s: failed to load %s\n", __func__, utf16_to_utf8(entry.path().wstring()).c_str());
-+                            GGML_LOG_ERROR("%s: failed to load %s\n", __func__, path_to_string(entry.path()).c_str());
-                             continue;
-                         }
- 
-                         auto score_fn = (ggml_backend_score_t) dl_get_sym(handle.get(), "ggml_backend_score");
-                         if (!score_fn) {
--                            GGML_LOG_DEBUG("%s: failed to find ggml_backend_score in %s\n", __func__, utf16_to_utf8(entry.path().wstring()).c_str());
-+                            GGML_LOG_DEBUG("%s: failed to find ggml_backend_score in %s\n", __func__, path_to_string(entry.path()).c_str());
-                             continue;
-                         }
- 
-                         int s = score_fn();
--                        GGML_LOG_DEBUG("%s: %s score: %d\n", __func__, utf16_to_utf8(entry.path().wstring()).c_str(), s);
-+                        GGML_LOG_DEBUG("%s: %s score: %d\n", __func__, path_to_string(entry.path()).c_str(), s);
-                         if (s > best_score) {
-                             best_score = s;
--                            best_path = entry.path().wstring();
-+                            best_path = entry.path();
-                         }
+             if (entry.is_regular_file()) {
+-                std::wstring filename = entry.path().filename().wstring();
+-                std::wstring ext = entry.path().extension().wstring();
++                std::string filename = entry.path().filename().string();
++                std::string ext = entry.path().extension().string();
+                 if (filename.find(file_prefix) == 0 && ext == backend_filename_suffix()) {
+-                    dl_handle_ptr handle { dl_load_library(entry.path().wstring()) };
+-                    if (!handle && !silent) {
+-                        GGML_LOG_ERROR("%s: failed to load %s\n", __func__, utf16_to_utf8(entry.path().wstring()).c_str());
++                    dl_handle_ptr handle { dl_load_library(entry.path()) };
++                    if (!handle) {
++                        GGML_LOG_ERROR("%s: failed to load %s\n", __func__, path_to_string(entry.path()).c_str());
++                        continue;
+                     }
+-                    if (handle) {
+-                        auto score_fn = (ggml_backend_score_t) dl_get_sym(handle.get(), "ggml_backend_score");
+-                        if (score_fn) {
+-                            int s = score_fn();
+-#ifndef NDEBUG
+-                            GGML_LOG_DEBUG("%s: %s score: %d\n", __func__, utf16_to_utf8(entry.path().wstring()).c_str(), s);
+-#endif
+-                            if (s > best_score) {
+-                                best_score = s;
+-                                best_path = entry.path().wstring();
+-                            }
+-                        } else {
+-                            if (!silent) {
+-                                GGML_LOG_INFO("%s: failed to find ggml_backend_score in %s\n", __func__, utf16_to_utf8(entry.path().wstring()).c_str());
+-                            }
+-                        }
++
++                    auto score_fn = (ggml_backend_score_t) dl_get_sym(handle.get(), "ggml_backend_score");
++                    if (!score_fn) {
++                        GGML_LOG_DEBUG("%s: failed to find ggml_backend_score in %s\n", __func__, path_to_string(entry.path()).c_str());
++                        continue;
++                    }
++
++                    int s = score_fn();
++                    GGML_LOG_DEBUG("%s: %s score: %d\n", __func__, path_to_string(entry.path()).c_str(), s);
++                    if (s > best_score) {
++                        best_score = s;
++                        best_path = entry.path();
                      }
                  }
-             } catch (const std::exception & e) {
--                GGML_LOG_ERROR("%s: failed to load %s: %s\n", __func__, utf16_to_utf8(entry.path().wstring()).c_str(), e.what());
-+                GGML_LOG_ERROR("%s: failed to load %s: %s\n", __func__, path_to_string(entry.path()).c_str(), e.what());
              }
-         }
-     }
-@@ -546,7 +518,7 @@ static ggml_backend_reg_t ggml_backend_load_best(const char * name, bool silent,
+@@ -545,7 +514,7 @@ static ggml_backend_reg_t ggml_backend_load_best(const char * name, bool silent,
      if (best_score == 0) {
          // try to load the base backend
          for (const auto & search_path : search_paths) {
@@ -313,3 +321,49 @@ index 1c19129a..c854e6bb 100644
              if (fs::exists(path)) {
                  return get_reg().load_backend(path, silent);
              }
+@@ -560,6 +529,14 @@ void ggml_backend_load_all() {
+     ggml_backend_load_all_from_path(nullptr);
+ }
+ 
++static void ggml_backend_try_load_best(const char * name, bool silent, const char * user_search_path) {
++    try {
++        ggml_backend_load_best(name, silent, user_search_path);
++    } catch (const std::exception & e) {
++        GGML_LOG_DEBUG("%s: failed to load %s: %s\n", __func__, name, e.what());
++    }
++}
++
+ void ggml_backend_load_all_from_path(const char * dir_path) {
+ #ifdef NDEBUG
+     bool silent = true;
+@@ -567,18 +544,18 @@ void ggml_backend_load_all_from_path(const char * dir_path) {
+     bool silent = false;
+ #endif
+ 
+-    ggml_backend_load_best("blas", silent, dir_path);
+-    ggml_backend_load_best("cann", silent, dir_path);
+-    ggml_backend_load_best("cuda", silent, dir_path);
+-    ggml_backend_load_best("hip", silent, dir_path);
+-    ggml_backend_load_best("kompute", silent, dir_path);
+-    ggml_backend_load_best("metal", silent, dir_path);
+-    ggml_backend_load_best("rpc", silent, dir_path);
+-    ggml_backend_load_best("sycl", silent, dir_path);
+-    ggml_backend_load_best("vulkan", silent, dir_path);
+-    ggml_backend_load_best("opencl", silent, dir_path);
+-    ggml_backend_load_best("musa", silent, dir_path);
+-    ggml_backend_load_best("cpu", silent, dir_path);
++    ggml_backend_try_load_best("blas", silent, dir_path);
++    ggml_backend_try_load_best("cann", silent, dir_path);
++    ggml_backend_try_load_best("cuda", silent, dir_path);
++    ggml_backend_try_load_best("hip", silent, dir_path);
++    ggml_backend_try_load_best("kompute", silent, dir_path);
++    ggml_backend_try_load_best("metal", silent, dir_path);
++    ggml_backend_try_load_best("rpc", silent, dir_path);
++    ggml_backend_try_load_best("sycl", silent, dir_path);
++    ggml_backend_try_load_best("vulkan", silent, dir_path);
++    ggml_backend_try_load_best("opencl", silent, dir_path);
++    ggml_backend_try_load_best("musa", silent, dir_path);
++    ggml_backend_try_load_best("cpu", silent, dir_path);
+     // check the environment variable GGML_BACKEND_PATH to load an out-of-tree backend
+     const char * backend_path = std::getenv("GGML_BACKEND_PATH");
+     if (backend_path) {
diff --git a/llama/patches/0017-remove-amx.patch b/llama/patches/0016-remove-amx.patch
similarity index 100%
rename from llama/patches/0017-remove-amx.patch
rename to llama/patches/0016-remove-amx.patch
diff --git a/llama/patches/0018-fix-clip-compiler-error.patch b/llama/patches/0017-fix-clip-compiler-error.patch
similarity index 100%
rename from llama/patches/0018-fix-clip-compiler-error.patch
rename to llama/patches/0017-fix-clip-compiler-error.patch
diff --git a/llama/patches/0019-add-phi4-support.patch b/llama/patches/0018-add-phi4-support.patch
similarity index 100%
rename from llama/patches/0019-add-phi4-support.patch
rename to llama/patches/0018-add-phi4-support.patch
diff --git a/ml/backend/ggml/ggml/src/ggml-backend-reg.cpp b/ml/backend/ggml/ggml/src/ggml-backend-reg.cpp
index c854e6bb2aa..799af5f3afe 100644
--- a/ml/backend/ggml/ggml/src/ggml-backend-reg.cpp
+++ b/ml/backend/ggml/ggml/src/ggml-backend-reg.cpp
@@ -484,33 +484,29 @@ static ggml_backend_reg_t ggml_backend_load_best(const char * name, bool silent,
         }
         fs::directory_iterator dir_it(search_path, fs::directory_options::skip_permission_denied);
         for (const auto & entry : dir_it) {
-            try {
-                if (entry.is_regular_file()) {
-                    std::string filename = entry.path().filename().string();
-                    std::string ext = entry.path().extension().string();
-                    if (filename.find(file_prefix) == 0 && ext == backend_filename_suffix()) {
-                        dl_handle_ptr handle { dl_load_library(entry.path()) };
-                        if (!handle) {
-                            GGML_LOG_ERROR("%s: failed to load %s\n", __func__, path_to_string(entry.path()).c_str());
-                            continue;
-                        }
-
-                        auto score_fn = (ggml_backend_score_t) dl_get_sym(handle.get(), "ggml_backend_score");
-                        if (!score_fn) {
-                            GGML_LOG_DEBUG("%s: failed to find ggml_backend_score in %s\n", __func__, path_to_string(entry.path()).c_str());
-                            continue;
-                        }
-
-                        int s = score_fn();
-                        GGML_LOG_DEBUG("%s: %s score: %d\n", __func__, path_to_string(entry.path()).c_str(), s);
-                        if (s > best_score) {
-                            best_score = s;
-                            best_path = entry.path();
-                        }
+            if (entry.is_regular_file()) {
+                std::string filename = entry.path().filename().string();
+                std::string ext = entry.path().extension().string();
+                if (filename.find(file_prefix) == 0 && ext == backend_filename_suffix()) {
+                    dl_handle_ptr handle { dl_load_library(entry.path()) };
+                    if (!handle) {
+                        GGML_LOG_ERROR("%s: failed to load %s\n", __func__, path_to_string(entry.path()).c_str());
+                        continue;
+                    }
+
+                    auto score_fn = (ggml_backend_score_t) dl_get_sym(handle.get(), "ggml_backend_score");
+                    if (!score_fn) {
+                        GGML_LOG_DEBUG("%s: failed to find ggml_backend_score in %s\n", __func__, path_to_string(entry.path()).c_str());
+                        continue;
+                    }
+
+                    int s = score_fn();
+                    GGML_LOG_DEBUG("%s: %s score: %d\n", __func__, path_to_string(entry.path()).c_str(), s);
+                    if (s > best_score) {
+                        best_score = s;
+                        best_path = entry.path();
                     }
                 }
-            } catch (const std::exception & e) {
-                GGML_LOG_ERROR("%s: failed to load %s: %s\n", __func__, path_to_string(entry.path()).c_str(), e.what());
             }
         }
     }
@@ -533,6 +529,14 @@ void ggml_backend_load_all() {
     ggml_backend_load_all_from_path(nullptr);
 }
 
+static void ggml_backend_try_load_best(const char * name, bool silent, const char * user_search_path) {
+    try {
+        ggml_backend_load_best(name, silent, user_search_path);
+    } catch (const std::exception & e) {
+        GGML_LOG_DEBUG("%s: failed to load %s: %s\n", __func__, name, e.what());
+    }
+}
+
 void ggml_backend_load_all_from_path(const char * dir_path) {
 #ifdef NDEBUG
     bool silent = true;
@@ -540,18 +544,18 @@ void ggml_backend_load_all_from_path(const char * dir_path) {
     bool silent = false;
 #endif
 
-    ggml_backend_load_best("blas", silent, dir_path);
-    ggml_backend_load_best("cann", silent, dir_path);
-    ggml_backend_load_best("cuda", silent, dir_path);
-    ggml_backend_load_best("hip", silent, dir_path);
-    ggml_backend_load_best("kompute", silent, dir_path);
-    ggml_backend_load_best("metal", silent, dir_path);
-    ggml_backend_load_best("rpc", silent, dir_path);
-    ggml_backend_load_best("sycl", silent, dir_path);
-    ggml_backend_load_best("vulkan", silent, dir_path);
-    ggml_backend_load_best("opencl", silent, dir_path);
-    ggml_backend_load_best("musa", silent, dir_path);
-    ggml_backend_load_best("cpu", silent, dir_path);
+    ggml_backend_try_load_best("blas", silent, dir_path);
+    ggml_backend_try_load_best("cann", silent, dir_path);
+    ggml_backend_try_load_best("cuda", silent, dir_path);
+    ggml_backend_try_load_best("hip", silent, dir_path);
+    ggml_backend_try_load_best("kompute", silent, dir_path);
+    ggml_backend_try_load_best("metal", silent, dir_path);
+    ggml_backend_try_load_best("rpc", silent, dir_path);
+    ggml_backend_try_load_best("sycl", silent, dir_path);
+    ggml_backend_try_load_best("vulkan", silent, dir_path);
+    ggml_backend_try_load_best("opencl", silent, dir_path);
+    ggml_backend_try_load_best("musa", silent, dir_path);
+    ggml_backend_try_load_best("cpu", silent, dir_path);
     // check the environment variable GGML_BACKEND_PATH to load an out-of-tree backend
     const char * backend_path = std::getenv("GGML_BACKEND_PATH");
     if (backend_path) {
diff --git a/scripts/install.sh b/scripts/install.sh
index 9e146e508e8..9c232400fac 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -77,11 +77,12 @@ if [ -d "$OLLAMA_INSTALL_DIR/lib/ollama" ] ; then
 fi
 status "Installing ollama to $OLLAMA_INSTALL_DIR"
 $SUDO install -o0 -g0 -m755 -d $BINDIR
-$SUDO install -o0 -g0 -m755 -d "$OLLAMA_INSTALL_DIR"
+$SUDO install -o0 -g0 -m755 -d "$OLLAMA_INSTALL_DIR/lib/ollama"
 status "Downloading Linux ${ARCH} bundle"
 curl --fail --show-error --location --progress-bar \
     "https://ollama.com/download/ollama-linux-${ARCH}.tgz${VER_PARAM}" | \
     $SUDO tar -xzf - -C "$OLLAMA_INSTALL_DIR"
+
 if [ "$OLLAMA_INSTALL_DIR/bin/ollama" != "$BINDIR/ollama" ] ; then
     status "Making ollama accessible in the PATH in $BINDIR"
     $SUDO ln -sf "$OLLAMA_INSTALL_DIR/ollama" "$BINDIR/ollama"


Test patch: