DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

#1 2008-05-17 08:48:58

mjuul
New member
Registered: 2008-05-17
Posts: 2

DNS-313 debian freeze

Hi, I have installed debian etch on my DNS-313 (by modifing rd.gz not to delete all files on each boot). However, a few minutes running debian the system freezes (not even ping works) and I have to pull the power cable. Are anyone else having this problem, have a missed anything?

Thanks

Offline

 

#2 2008-05-17 23:34:39

CharminBaer
Member
From: Leipzig, Germany
Registered: 2008-04-25
Posts: 76

Re: DNS-313 debian freeze

...provides too little informations about the problem. (Im running etch on the 313 too, but without any problems)
- where did you get the etch?
- fresh and clean installation?
- are there any daemons running after boot?
- dhcp or fixed IP? Maybe the box changes his IP-addr.?
- a few minutes? Exactly?

These days Im setting up a fresh Debian on my DNS-313 with cdebootstrap. Guess, the currently running still has some bugs. Will provide the new for download when finished.

ChBear.


DNS-313 / native running etch4.0r3...
and by now running lenny with all the features and no probs.

Offline

 

#3 2008-05-18 08:44:57

mjuul
New member
Registered: 2008-05-17
Posts: 2

Re: DNS-313 debian freeze

I have tracked down the problem to the ntpd daemon. It seems that when ntpd tries to modify the hardware clock,
the system hangs.

Do you know if the d-link supplied "sntp" can be run as a daemon instead?

Offline

 

#4 2008-05-18 15:13:46

CharminBaer
Member
From: Leipzig, Germany
Registered: 2008-04-25
Posts: 76

Re: DNS-313 debian freeze

Dont know, but I also dont trust the d-link supplied files.
Im running ntp_1:a4.2.2.p4+dfsg-2_arm without problems.

ChBear.


DNS-313 / native running etch4.0r3...
and by now running lenny with all the features and no probs.

Offline

 

#5 2008-05-19 23:38:36

lothalev
Member
Registered: 2007-12-09
Posts: 14

Re: DNS-313 debian freeze

mjuul wrote:

Hi, I have installed debian etch on my DNS-313 (by modifing rd.gz not to delete all files on each boot). However, a few minutes running debian the system freezes (not even ping works) and I have to pull the power cable. Are anyone else having this problem, have a missed anything?

Thanks

I tried to modify rd.gz file:

1. Stripped the 104-byte uboot header
2. Unpacked resulting gzip file
3. Mounted unpacked image (it is a ext2 filesystem image)
4. Modified linuxrc file in it
5. Unmouned, packed with gzip (rd.gz.mod)
6. Recreated uboot header with: mkimage -a 0x800000 -e 0x800000 -n 'boot ramdisk' -A arm -O linux -T ramdisk -C gzip -d rd.gz.mod rd.gz

mkimage tool is located in uboot-mkimage ubuntu package

UNFORTUNATELY, such modified ramdisk does not work, the system does not boot up to a network-reachable state (probably just hangs on trying to load the ramdisk). My bet is, mkimage command parameters are bad. Any hints?

Offline

 

#6 2008-05-19 23:51:40

pcp
Member
From: Moravistan
Registered: 2008-04-23
Posts: 75

Re: DNS-313 debian freeze

examine the Image/toolchain/bin/mkflash script. there are valid parameters for a mkimage

Last edited by pcp (2008-05-19 23:52:22)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB