[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [jfstraeten@scarlet.be: Re: Some help needed to install Lenny on the Intel SS4000-E nas]



Hi JF,

I also use the daily image to boot ,It can boot to the Netboot Installer , can install ,but can not install the kernel to
the flash .

fis load rammode
g
load -v -r -b 0x01808000 -m tftp initrd.gz
load -v -r -b 0x01008000 -m tftp zImage
exec -c "console=ttyS0,115200 rw root=/dev/ram mem=256M@0xa0000000" -r 0x01800000


thanks

Kenny Kwok

On Wed, Jul 29, 2009 at 9:18 PM, JF Straeten <jfstraeten@scarlet.be> wrote:

Hello Wouter,


On Tue, Jul 28, 2009 at 07:06:13PM +0200, Wouter Verhelst wrote:

> It's probably easier if you use the following instead:
>
> exec -c "console=ttyS0,115200 root=/dev/ram mem=256M@0xa0000000" -r 0x01800000
>
> that will convert the numbers for you. Also note the "256M" as opposed
> to "256".
>
> Second, you need a more recent kernel -- the one in lenny does not work.

Many thanks for your instructions (I've also seen your first message)
and for your work !

I've tried with the daily images you've pointed, loading them by tftp
by hand for a first try, rather then flashing the nas with
ss4000e.pkg.

Everything went fine, till the flash-kernel process which failed.

The relevant lines from the log are :

Jul 29 09:44:16 in-target: Paramétrage de flash-kernel (2.21) ...
Jul 29 09:44:17 main-menu[2196]: (process:4978): /var/lib/dpkg/info/flash-kernel-installer.postinst:
Jul 29 09:44:17 main-menu[2196]: (process:4978): line 141:
Jul 29 09:44:17 main-menu[2196]: (process:4978): syntax error: ")" unexpected (expecting ";;")
Jul 29 09:44:17 main-menu[2196]: (process:4978):
Jul 29 09:44:17 main-menu[2196]: WARNING **: Configuring 'flash-kernel-installer' failed with error code 2
Jul 29 09:44:17 main-menu[2196]: WARNING **: Menu item 'flash-kernel-installer' failed.


And the culprit line (141) is a typo, as you will see in this excerp
from the postinst script :

case "$machine" in

    [...snip...]

       "Thecus N2100" | "Thecus N4100")
               in-target update-initramfs -u || true
       ;;
       "QNAP TS-109/TS-209" | "QNAP TS-119/TS-219" | "QNAP TS-409")
               in-target update-initramfs -u || true
               if ! apt-install uboot-mkimage; then
                       error "apt-install uboot-mkimage failed"
               fi
141-->  "Lanner EM7210")
               in-target update-initramfs -u || true
       ;;
esac


The double semi-colon « ;; » to close the QNAP case item is missing...

Is it a means to finish the installation ?

I'm not a guru of d-i at all, but I have the feeling that with a new
package in the sid repository, d-i would download it and follow the
installation from where it was.

I've retried the same menu item (flash-kernel), to so see what's going
on in the log, and this is stated :

Jul 29 11:31:01 main-menu[2196]: INFO: Menu item 'flash-kernel-installer' selected
Jul 29 11:31:10 in-target: Lecture des listes de paquets...
Jul 29 11:31:12 in-target:
Jul 29 11:31:12 in-target: Construction de l'arbre des dépendances...
Jul 29 11:31:15 in-target:
Jul 29 11:31:15 in-target: Lecture des informations d'état...
Jul 29 11:31:15 in-target:
Jul 29 11:31:21 in-target: flash-kernel est déjà la plus récente version disponible.
Jul 29 11:31:21 in-target: 0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.


But it seems not a solution to correct the postinst script by hand
before restarting this menu item, because the log follows whith :

Jul 29 11:31:21 main-menu[2196]: (process:5316): mv: cannot rename '/target/usr/sbin/flash-kernel': No such file or directory
Jul 29 11:31:21 main-menu[2196]: WARNING **: Configuring 'flash-kernel-installer' failed with error code 1
Jul 29 11:31:21 main-menu[2196]: WARNING **: Menu item 'flash-kernel-installer' failed.


I suppose that flash-kernel isn't installed because the postinst
script failed (?).

So, any advice to follow ?

Many thnaks in advance, of course,



--

J.-F. STRAETEN

---
Mutt 1.5.18 - Debian GNU/Linux


--
To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




--
Kenny Kwok

Reply to: