My homeserver journey hit a brick wall - any advice?

Hi there,
stumbled into here after being a Wendell-follower on youtube for 8 years now. Level1 got me started with building my own homeserver around 5 years ago and it has been a wild ride and all went well - so far.
I was using an Erying motherboard with soldered on i7 mobile cpu, 2 nvme drives (one system, one docker data), a ton of HDDs and SSDs, added a pci sata controller after a while, got things like nextcloud, paperless, jellyfin, nginx, supabase, obsidian, vaultwarden, linkwarden, n8n and a ton of other services running and in daily use.

So far so good… Now i had this idea of adding a gpu to for example enhance my n8n usecases with local AI use. Got me an AMD gpu with 32gb ram, installed the driver / kernel stuff and plugged it in.
But the system wouldnt boot up anymore:

a lot of entries saying “mdadm: No arrays found in config file or automatically”
then there is: “mdadm: error opening /dev/md?*: No such file or directory”
and after a while it said:
Gave up waiting for suspend/resume device
Boot args cat/proc/cmdline
check rootdelay = did the system wait long enough?
missing modules cat /proc/modules; ls /dev
ALERT! UUID=f9… does not exist Dropping to a shell!
BusyBoy v1.35.0
enter help for built in commands
(initramfs)

My first thought was i might have knocked off a sata cable or so but unplugging the gpu leads to everything working perfectly fine. My 2nd thought was: maybe i ran out of pcie lanes? So i removed the docker-data nvme and tried again. Same result. I then moved the system nvme to the now empty nvme slot and had again the same result.
My next hope was that it is an issue with the riser cable i used for the gpu. plugged the cpu in directly: same result.
I looked in the bios for settings regarding above 4g, immou, anything pcie → sadly nothing there.

So my conclusion is now that there is an issue with not enough pcie lanes.
Can anyone here confirm this or tell me how i could diagnose if that is REALLY the issue before i go on the hunt for a new motherboard/cpu with enough pci lanes and sata ports?
The only other idea i had was to remove the sata controller i have in the system and try that pci slot for the gpu… if that works, it is an issue with that upper pci slot conflicting with both of the nvme sockets next to it…

Thanks a lot for helping out, i hope i didnt violate any forum etiquette - first time posting. I DID do a forum search first but havent found anything really close to my issue.

Cheers,
Rox

You probably used a PCIe/M.2 to USB card for expansion, right? In that case, the chipset cannot use the GPU slot and M.2 slot at the same time. Try removing the GPU and reboot, see if that fixes the issue. If it does, you’d either need an HBA in another PCIe slot for the drives or move the GPU to a different PCIe slot.

No, I have two pci slots and used the bottom one for apce to sata card and tried the top one for the new gpu but that causes the boot failure. My assumption for now is that there are not enough pcie lanes for that slot and the m.2 nvme slots next to it…just ordered a cwwk w680 board and Intel i7 12700 cpu and hope that works…

Whats the cpu? That allows to look up how many lanes it has and possibly some info about the board.

Whats the psu and the card btw? Is it enough power?

It is a Intel i7 13700HX, a soldered on mobile cpu on an Erying Motherboard. I think that is the main issue, afaik these mobile frankenboards have not a ton of pcie lanes… sadly i do not have the board manual or any further information and it isnt listed on aliexpress anymore :frowning: I 3d printed a custom spacer/bracket to mount a regular cpu cooler… worked perfectly fine for over 5 years now :slight_smile:

The PSU should be good enough, it is a Corsair RM750… i was hoping to get away with it, the gpu (Asus AI Pro 32GB R9700) is rated for 300W under load, so at least booting shouldnt cause an issue.
About the card i am not 100% sure, i have a zoo of them around here since not all of them worked for me with debian. I think it is a “Glotrends SA3112J 12 port pcie sata card” which uses an ASM1064 and 2xJMB575.

Intel says the cpu has 20 lanes configurable as Up to 1x16+4, 2x8+4

And the manufacturer page does list some specs and also bios updates, assuming this is your board 极星 POLESTAR 13Th I7-13700HX DDR5 4DIMM - 尔英科技

That said, seems like the bottom nvme is pcie3 so its possibly from a chipset somehow (mobile isnt supposed to have a chipset but china boards found a way) ,while all other pcie are pcie4 so might come from cpu.

Yeah there is a x16 a x4 and two m2 probably at x4. If there is a chipset too, it takes another x4. Its indeed a lot of stuff for a cpu that has only 20 lanes

I ran into a very similar issue on a Ryzen 5500 and b550 board. Just could not get the dang thing to post when my NIC was plugged into a specific slot. Took a lot of swapping things around to get the PCIe lanes to cooperate.

So if I understand this correctly, there are lanes from the cpu, 20 in my case, and sometimes additional lanes from the chipset. And each used pci or m.2 slot will use up some of those lanes. And sometimes using a pci slot or an m.2 slot can deactivate the other because they are basically the same ‘connection’ in different form factor. And sometimes using more slots can downgrade a x16 slot to x8 or x4…

Isn’t there a Linux command to see which device uses how many lanes? I could not find anything in the bios…I thought a board would bifurcate or so…tbh I never had any device that ran into this issue so it’s rather new to me.

You can try this in your terminal and see what it outputs.

sudo lspci -vv | egrep "0[0-9]:|Width "

Got me a cwwk w680 board and an Intel i7 12700 now. Well. Doesn’t post :sob:

Tried only CPU with fan and one ram stick. No post. Only the blue led on the board lights up and the cooling fan spins. No error code, no beep no power on the usb keyboard…tried cmos clear, cmos restore, removing the cmos battery…nothing. Checked for bent pins in the socket, checked psu cables…

Today I’ll try a friend’s cpu and my cpu in his board to see if the board or the cpu is dead or they just don’t like each other.

It works! Was a defective CPU…
and right out of the box the new board with those 4x sata breakout cables had all my drives recognized, all my mounts by uuid worked, my mergerfs pool and so on… all my docker services… all i had to do was make sure i had the same ip as before and sort some network tunnels out but that was it… and the new gpu worked right away too! already set up ollama and openwebui as docker services and they work! :slight_smile: even a decent output with gemma4:26b in some quantized K_M version (it is a radeon with 32gb ram, R9700 or so).
nice… now i can finally use local ai for my n8n workflows and self-made apps like my website or youtube summarizer :slight_smile: and i do not even need the pci-sata-card anymore, still have a few sata connections unused thanks to that cwwk 12xsata breakout cables. really nice. also it’s superfast, restarting a docker container is like 10x faster than before :slight_smile: