Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3567

General Questions • NAS hangs every now and then when booting

$
0
0
Hello everybody,

I'm new to Debian, but not new to computers. I'm also to some extent familiar with Linux and I'm familiar with the command line / shell.

I have an old Qnap NAS "TS-259 pro+" which is out of support now nice several years. Therefore I decided to give it a try and install Debian on it. The NAS is still x32-bit, so I installed the 32-bit edition of Debian.
I took the DVD image from here https://cdimage.debian.org/debian-cd/cu ... 6/iso-dvd/ and copied it with Rufus to an USB stick. Installation went fine. No obvious problems.

As boot device I use an USB stick with 8GB, because I want to be able to revert to the original firmware, in case things do not work out as expected. (stick is USB 3, while USB port of NAS is USB 2 - just in case this does matter).


The Debian installation on my NAS basically works fine and is working as expected.

BUT every now and then (about 4-6 times out of 10) I have problems booting the NAS. It either boots fine or it hangs after "initial ramdisk ...".

After loading the ramdisk the screen goes black with just a blinking cursor in the upper left corner.
I know that this is expected behavior (for several seconds) - but it's also expected to show the login screen after maybe half a minute.

And here the NAS get's stuck.

I tried removing the "quiet" parameter from GRUB, but that didn't help.
When it boots, I get all the expected messages. If it doesn't boot, I don't get any of those messages. Not a single line...

I changed the kernel params in Grub to look like this:

Code:

"debug earlycon ignore-loglevel keep-bootcon"
hoping to get more information.

This has not led to any significant change.
I get no log output when the boot process hangs.
(Of corse I get plenty of output when the boot process is successful)
So no additional information where it might get stuck.


Oh and just to anticipate some obvious questions:

I have checked the HW of the USB stick (at least 2x). It is fine.
I used a different stick (just in case) --> same behavior.
I tried different USB ports of the NAS --> same behavior.

Some more information, that I thought might help you:

> uname -a
Linux debian-nas 6.1.0-18-686-pae #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) i686 GNU/Linux


Any ideas?


Many thanks, quack

Statistics: Posted by quack — 2024-03-28 18:23 — Replies 0 — Views 21



Viewing all articles
Browse latest Browse all 3567

Trending Articles