Re: [2nd try] unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-22 Thread Mello
Hi Arnaud,
If I do that (force_ep80219), this is what I get at the end of the booting
sequence (after installation is done):

...
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.

Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)

   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-uuid/2fb7b89c-92f1-41f7-9e6d-94ed13601ffa does
not exist.  Dropping to a shell!


BusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs)

All in all, I reckon that the standard procedure (leading to
"unassigned-hostname") is the best result that I can get. Hostname and
networking is all that I could notice was missing but the system is up and
running.

What's weird is the fact that, in that case, the kernel is flashed correctly
(uname ->2.6.32-5-iop32x) while, by using more advanced options, the
installation halts there and/or has issues with the disk controller.
I'd love to carry on doing more tests provided that you, or anybody else on
the alias, are willing to send me inputs. In fact this is good learning and,
correct me if I'm wrong, could potentially lead to an improved d-i.
Otherwise I'll just learn to live with a machine identifying itself as
Lanner EM7210 instead of whoknowswhat :)

Thanks!

On Fri, Apr 22, 2011 at 6:07 PM, Arnaud Patard wrote:

> Mello  writes:
>
> Hi,
>
> > More details...
> > I've re-installed and I've verified that the same error occurs at the
> same
> > step. Below the message:
> > Configuring flash memory to boot the system  ..33%..66%
> > Make the system bootable
> > 
> >
> > !! ERROR: Installation step failed
> >
> > An installation step failed. You can try to run the failing item again
> from
> > the
> > menu, or skip it and choose something else. The failing step is: Make the
> > system bootable
> > [Press enter to continue]
>
> d-i doesn't support iq31244/ep80219 so it's not suprising imho.
>
> >
> > I've once again chose to continue without that knowing that I could
> > interrupt the boot sequence and use TFTP.
> > This time I've managed to boot it almost properly with the following
> > sequence:
> > RedBoot> fis load ramdisk.gz
> > RedBoot> load -r -v -h 192.168.1.101 -b 0x01008000 -m tftp
> > vmlinuz-2.6.32-5-iop32x
> > 
> > Raw file loaded 0x01008000-0x0113a69f, assumed entry at 0x01008000
> > RedBoot> exec -c "console=ttyS0,115200n8 rw root=/dev/sda1
> > mem=512M@0xa000" -r 0x0180
> >
> > Eventually it hangs because of an error in communicating with the disk.
> Full
> > log is attached.
> >
> > Questions:
> > 1. how to correctly write boot image to flash?
>
> doing something like cat [vmlinuz] > /dev/mtdX should do the trick I
> guess but I would wait a little bit before doing it.
>
> > 2. anybody is able to decode what the disk error (ata4.00: exception
> Emask
> > 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen) means?
>
> Might be irq or timer troubles...
>
> [...]
>
> > RedBoot> exec -c "console=ttyS0,115200n8 rw root=/dev/sda1
> mem=512M@0xa000" -r 0x0180
> > Using base address 0x01008000 and length 0x001326a0
> > The boot tags are located at 0xA100
> > Booting the kernel...
> > Uncompressing Linux... done, booting the kernel.
> > [0.00] Initializing cgroup subsys cpuset
> > [0.00] Initializing cgroup subsys cpu
> > [0.00] Linux version 2.6.32-5-iop32x (Debian 2.6.32-29) (
> b...@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Fri Dec 10
> 19:47:27 UTC 2010
> > [0.00] CPU: XScale-80219 [69052e20] revision 0 (ARMv5TE),
> cr=397f
> > [0.00] CPU: VIVT data cache, VIVT instruction cache
> > [0.00] Machine: Intel IQ31244
> > [0.00] Memory policy: ECC disabled, Data cache writeback
> > [0.00] Built 1 zonelists in Zone order, mobility grouping on.
>  Total pages: 130048
> > [0.00] Kernel command line: console=ttyS0,115200n8 rw
> root=/dev/sda1 mem=512M@0xa000
> > [0.00] PID hash table entries: 2048 (order: 1, 8192 bytes)
> > [0.00] Dentry cache hash table entries: 65536 (order: 6, 262144
> bytes)
> > [0.00] Inode-cache hash table entries: 32768 (order: 5, 131072
> bytes)
> > [0.00] Memory: 512MB = 512MB total
> > [0.00] Memory: 511744KB available (3080K code, 444K data, 112K
> init, 0K highmem)
> > [0.00] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0,
> CPUs=1, Nodes=1
> > [0.00] Hierarchical RCU implementation.
> > [0.00] NR_IRQS:32
> > [0.00] Console: colour dummy device 80x30
> > [0.00] Calibrating delay loop... 

Re: [2nd try] unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-22 Thread Rtp
Mello  writes:

Hi,

> More details...
> I've re-installed and I've verified that the same error occurs at the same
> step. Below the message:
> Configuring flash memory to boot the system  ..33%..66%
> Make the system bootable
> 
>
> !! ERROR: Installation step failed
>
> An installation step failed. You can try to run the failing item again from
> the
> menu, or skip it and choose something else. The failing step is: Make the
> system bootable
> [Press enter to continue]

d-i doesn't support iq31244/ep80219 so it's not suprising imho.

>
> I've once again chose to continue without that knowing that I could
> interrupt the boot sequence and use TFTP.
> This time I've managed to boot it almost properly with the following
> sequence:
> RedBoot> fis load ramdisk.gz
> RedBoot> load -r -v -h 192.168.1.101 -b 0x01008000 -m tftp
> vmlinuz-2.6.32-5-iop32x
> 
> Raw file loaded 0x01008000-0x0113a69f, assumed entry at 0x01008000
> RedBoot> exec -c "console=ttyS0,115200n8 rw root=/dev/sda1
> mem=512M@0xa000" -r 0x0180
>
> Eventually it hangs because of an error in communicating with the disk. Full
> log is attached.
>
> Questions:
> 1. how to correctly write boot image to flash?

doing something like cat [vmlinuz] > /dev/mtdX should do the trick I
guess but I would wait a little bit before doing it.

> 2. anybody is able to decode what the disk error (ata4.00: exception Emask
> 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen) means?

Might be irq or timer troubles...

[...]

> RedBoot> exec -c "console=ttyS0,115200n8 rw root=/dev/sda1 
> mem=512M@0xa000" -r 0x0180
> Using base address 0x01008000 and length 0x001326a0
> The boot tags are located at 0xA100
> Booting the kernel...
> Uncompressing Linux... done, booting the kernel.
> [0.00] Initializing cgroup subsys cpuset
> [0.00] Initializing cgroup subsys cpu
> [0.00] Linux version 2.6.32-5-iop32x (Debian 2.6.32-29) 
> (b...@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Fri Dec 10 
> 19:47:27 UTC 2010
> [0.00] CPU: XScale-80219 [69052e20] revision 0 (ARMv5TE), cr=397f
> [0.00] CPU: VIVT data cache, VIVT instruction cache
> [0.00] Machine: Intel IQ31244
> [0.00] Memory policy: ECC disabled, Data cache writeback
> [0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
> pages: 130048
> [0.00] Kernel command line: console=ttyS0,115200n8 rw root=/dev/sda1 
> mem=512M@0xa000
> [0.00] PID hash table entries: 2048 (order: 1, 8192 bytes)
> [0.00] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
> [0.00] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
> [0.00] Memory: 512MB = 512MB total
> [0.00] Memory: 511744KB available (3080K code, 444K data, 112K init, 
> 0K highmem)
> [0.00] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, 
> CPUs=1, Nodes=1
> [0.00] Hierarchical RCU implementation.
> [0.00] NR_IRQS:32
> [0.00] Console: colour dummy device 80x30
> [0.00] Calibrating delay loop... 394.85 BogoMIPS (lpj=1974272)
> [0.22] Security Framework initialized
> [0.22] SELinux:  Disabled at boot.
> [0.22] Mount-cache hash table entries: 512
> [0.22] Initializing cgroup subsys ns
> [0.22] Initializing cgroup subsys cpuacct
> [0.22] Initializing cgroup subsys devices
> [0.22] Initializing cgroup subsys freezer
> [0.22] Initializing cgroup subsys net_cls
> [0.22] CPU: Testing write buffer coherency: ok
> [0.22] devtmpfs: initialized
> [0.22] regulator: core version 0.5
> [0.22] NET: Registered protocol family 16
> [0.22] note: iq31244 board type has been selected
> [0.22] note: to select ep80219 operation:
> [0.22]  1/ specify "force_ep80219" on the kernel command line
> [0.22]  2/ update boot loader to pass the ep80219 id: 1281

So the kernel was booting in iq31244 mode but I would have tried
something like ep80219 support. Can you try with force_ep80219 on kernel
command line as advised ?

Arnaud


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87bozyw9qw@lebrac.rtp-net.org



Re: [2nd try] unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-22 Thread Mello
More details...
I've re-installed and I've verified that the same error occurs at the same
step. Below the message:
Configuring flash memory to boot the system  ..33%..66%
Make the system bootable


!! ERROR: Installation step failed

An installation step failed. You can try to run the failing item again from
the
menu, or skip it and choose something else. The failing step is: Make the
system bootable
[Press enter to continue]

I've once again chose to continue without that knowing that I could
interrupt the boot sequence and use TFTP.
This time I've managed to boot it almost properly with the following
sequence:
RedBoot> fis load ramdisk.gz
RedBoot> load -r -v -h 192.168.1.101 -b 0x01008000 -m tftp
vmlinuz-2.6.32-5-iop32x

Raw file loaded 0x01008000-0x0113a69f, assumed entry at 0x01008000
RedBoot> exec -c "console=ttyS0,115200n8 rw root=/dev/sda1
mem=512M@0xa000" -r 0x0180

Eventually it hangs because of an error in communicating with the disk. Full
log is attached.

Questions:
1. how to correctly write boot image to flash?
2. anybody is able to decode what the disk error (ata4.00: exception Emask
0x0 SAct 0x0 SErr 0x0 action 0x6 frozen) means?

Thanks!



On Thu, Apr 21, 2011 at 9:39 AM, Mello  wrote:

> I've tried installing once again with the stripped zImage. Boot is fine and
> "Machine: Intel IQ31244" is reported in the messages.
> Installation, instead, stops at the boot loader step. I've chosen to
> continue but then the system won't reboot properly.
>
> I assume the installer was not able to flash the proper kernel so I find
> myself booting the previous (unstripped) one. In fact at reboot "Machine:
> Lanner EM7210" is reported despite "force_ep80219" parameter.
>
> Any troubleshooting/tricks?
>
> Thanks,
> mw
>
>
> On Wed, Apr 20, 2011 at 1:20 PM, Mello  wrote:
>
>> Aha, I was looking for them in a reversed fashion :)
>> Thanks for looking into it!
>>
>> Think I've done that:
>> $ hexdump -v -n 96 zImage.stripped
>> 000 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1
>> 010 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1
>> 020 02 00 00 ea 18 28 6f 01 00 00 00 00 38 27 13 00
>> 030 01 70 a0 e1 02 80 a0 e1 00 20 0f e1 03 00 12 e3
>> 040 01 00 00 1a 17 00 a0 e3 56 34 12 ef 00 20 0f e1
>> 050 c0 20 82 e3 02 f0 21 e1 1f 20 cf e3 01 38 82 e2
>>
>> For the record, I've used this command:
>> $ dd if=zImage of=zImage.stripped bs=1 skip=8
>> 1255224+0 records in
>> 1255224+0 records out
>> 1255224 bytes transferred in 6.907979 secs (181706 bytes/sec)
>>
>> $ ls -l zImage*
>> ...  1255232 Mar 29 09:11 zImage
>> ...  1255224 Apr 20 13:11 zImage.stripped
>>
>> I'll test it tonight and report back.
>>
>> Thank you!
>>
>>
>>
>> On Wed, Apr 20, 2011 at 12:35 PM, Arnaud Patard <
>> arnaud.pat...@rtp-net.org> wrote:
>>
>>> Mello  writes:
>>>
>>> Hi,
>>>
>>> > Hi Arnaud,
>>> > sorry for a late reply and thanks a lot for your advice.
>>> > I've done a dump of the entire file but I couldn't find those data.
>>> Just for
>>> > a reference here's the first few lines:
>>> > $ hexdump -n 96 zImage
>>> > 000 04 1c a0 e3 bc 10 81 e3 00 00 a0 e1 00 00 a0 e1
>>>   ^^^
>>>
>>> theses are the bytes I was talking of.
>>>
>>> Arnaud
>>>
>>
>>
>
+Ethernet eth0: MAC address 00:40:d0:8a:1f:99
IP: 192.168.1.11/255.255.255.0, Gateway: 192.168.1.1
Default server: 192.168.1.122, DNS server IP: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROM]
Intel IOP RedBoot release
 version 2.2.V6-IOP-RedBoot
 built 13:51:51, Jan 12 2006

Platform: EP80219 (XScale) 
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x-0x2000, 0x00021790-0x1ffd1000 available
FLASH: 0xf000 - 0xf080, 64 blocks of 0x0002 bytes each.
== Executing boot script in 2.000 seconds - enter ^C to abort
^C

RedBoot> fis load ramdisk.gz
RedBoot> load -r -v -h 192.168.1.101 -b 0x01008000 -m tftp 
vmlinuz-2.6.32-5-iop32x

Raw file loaded 0x01008000-0x0113a69f, assumed entry at 0x01008000
RedBoot> exec -c "console=ttyS0,115200n8 rw root=/dev/sda1 mem=512M@0xa000" 
-r 0x0180
Using base address 0x01008000 and length 0x001326a0
The boot tags are located at 0xA100
Booting the kernel...
Uncompressing Linux... done, booting the kernel.
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 2.6.32-5-iop32x (Debian 2.6.32-29) 
(b...@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Fri Dec 10 
19:47:27 UTC 2010
[0.00] CPU: XScale-80219 [69052e20] revision 0 (ARMv5TE), cr=397f
[0.00] CPU: VIVT data cache, VIVT instruction cache
[0.00] Machine: Intel IQ31244
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 130048
[0.00] Kernel command line: console=ttyS0,115200n8 rw root=/dev/sda1 
mem=5

Re: [2nd try] unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-21 Thread Mello
I've tried installing once again with the stripped zImage. Boot is fine and
"Machine: Intel IQ31244" is reported in the messages.
Installation, instead, stops at the boot loader step. I've chosen to
continue but then the system won't reboot properly.

I assume the installer was not able to flash the proper kernel so I find
myself booting the previous (unstripped) one. In fact at reboot "Machine:
Lanner EM7210" is reported despite "force_ep80219" parameter.

Any troubleshooting/tricks?

Thanks,
mw

On Wed, Apr 20, 2011 at 1:20 PM, Mello  wrote:

> Aha, I was looking for them in a reversed fashion :)
> Thanks for looking into it!
>
> Think I've done that:
> $ hexdump -v -n 96 zImage.stripped
> 000 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1
> 010 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1
> 020 02 00 00 ea 18 28 6f 01 00 00 00 00 38 27 13 00
> 030 01 70 a0 e1 02 80 a0 e1 00 20 0f e1 03 00 12 e3
> 040 01 00 00 1a 17 00 a0 e3 56 34 12 ef 00 20 0f e1
> 050 c0 20 82 e3 02 f0 21 e1 1f 20 cf e3 01 38 82 e2
>
> For the record, I've used this command:
> $ dd if=zImage of=zImage.stripped bs=1 skip=8
> 1255224+0 records in
> 1255224+0 records out
> 1255224 bytes transferred in 6.907979 secs (181706 bytes/sec)
>
> $ ls -l zImage*
> ...  1255232 Mar 29 09:11 zImage
> ...  1255224 Apr 20 13:11 zImage.stripped
>
> I'll test it tonight and report back.
>
> Thank you!
>
>
>
> On Wed, Apr 20, 2011 at 12:35 PM, Arnaud Patard  > wrote:
>
>> Mello  writes:
>>
>> Hi,
>>
>> > Hi Arnaud,
>> > sorry for a late reply and thanks a lot for your advice.
>> > I've done a dump of the entire file but I couldn't find those data. Just
>> for
>> > a reference here's the first few lines:
>> > $ hexdump -n 96 zImage
>> > 000 04 1c a0 e3 bc 10 81 e3 00 00 a0 e1 00 00 a0 e1
>>   ^^^
>>
>> theses are the bytes I was talking of.
>>
>> Arnaud
>>
>
>
+Ethernet eth0: MAC address 00:40:d0:8a:1f:99
IP: 192.168.1.11/255.255.255.0, Gateway: 192.168.1.1
Default server: 192.168.1.122, DNS server IP: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROM]
Intel IOP RedBoot release
 version 2.2.V6-IOP-RedBoot
 built 13:51:51, Jan 12 2006

Platform: EP80219 (XScale) 
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x-0x2000, 0x00021790-0x1ffd1000 available
FLASH: 0xf000 - 0xf080, 64 blocks of 0x0002 bytes each.
== Executing boot script in 2.000 seconds - enter ^C to abort
^C

RedBoot> load -v -r -h 192.168.1.101 -b 0x0180 -m tftp initrd.gz

Raw file loaded 0x0180-0x01bcaec5, assumed entry at 0x0180

Redboot> load -r -v -h 192.168.1.101 -b 0x01008000 -m tftp zImage.stripped

Raw file loaded 0x01008000-0x0113a737, assumed entry at 0x01008000

Redboot> exec -c "console=ttyS0,115200n8 force_ep80219 DEBIAN_FRONTEND=text rw 
root=/dev/ram mem=512M@0xa000" -r 0x0180

Using base address 0x01008000 and length 0x00132738
The boot tags are located at 0xA100
Booting the kernel...
Uncompressing Linux... done, booting the kernel.
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 2.6.32-5-iop32x (Debian 2.6.32-31) 
(b...@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Tue Mar 8 
01:49:50 UTC 2011
[0.00] CPU: XScale-80219 [69052e20] revision 0 (ARMv5TE), cr=397f
[0.00] CPU: VIVT data cache, VIVT instruction cache
[0.00] Machine: Intel IQ31244
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 130048
[0.00] Kernel command line: console=ttyS0,115200n8 force_ep80219 
DEBIAN_FRONTEND=text rw root=/dev/ram mem=512M@0xa000
[0.00] PID hash table entries: 2048 (order: 1, 8192 bytes)
[0.00] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[0.00] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[0.00] Memory: 512MB = 512MB total
[0.00] Memory: 511744KB available (3084K code, 444K data, 112K init, 0K 
highmem)
[0.00] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, 
Nodes=1
[0.00] Hierarchical RCU implementation.
[0.00] NR_IRQS:32
[0.00] Console: colour dummy device 80x30
[0.00] Calibrating delay loop... 398.95 BogoMIPS (lpj=1994752)
[0.21] Security Framework initialized
[0.21] SELinux:  Disabled at boot.
[0.21] Mount-cache hash table entries: 512
[0.21] Initializing cgroup subsys ns
[0.21] Initializing cgroup subsys cpuacct
[0.21] Initializing cgroup subsys devices
[0.21] Initializing cgroup subsys freezer
[0.21] Initializing cgroup subsys net_cls
[0.21] CPU: Testing write buffer coherency: ok
[0.21] devtmpfs: initialized
[0.21] regulator: core version 0.5
[0.21] NET: 

Re: [2nd try] unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-20 Thread Mello
Aha, I was looking for them in a reversed fashion :)
Thanks for looking into it!

Think I've done that:
$ hexdump -v -n 96 zImage.stripped
000 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1
010 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1
020 02 00 00 ea 18 28 6f 01 00 00 00 00 38 27 13 00
030 01 70 a0 e1 02 80 a0 e1 00 20 0f e1 03 00 12 e3
040 01 00 00 1a 17 00 a0 e3 56 34 12 ef 00 20 0f e1
050 c0 20 82 e3 02 f0 21 e1 1f 20 cf e3 01 38 82 e2

For the record, I've used this command:
$ dd if=zImage of=zImage.stripped bs=1 skip=8
1255224+0 records in
1255224+0 records out
1255224 bytes transferred in 6.907979 secs (181706 bytes/sec)

$ ls -l zImage*
...  1255232 Mar 29 09:11 zImage
...  1255224 Apr 20 13:11 zImage.stripped

I'll test it tonight and report back.

Thank you!


On Wed, Apr 20, 2011 at 12:35 PM, Arnaud Patard
wrote:

> Mello  writes:
>
> Hi,
>
> > Hi Arnaud,
> > sorry for a late reply and thanks a lot for your advice.
> > I've done a dump of the entire file but I couldn't find those data. Just
> for
> > a reference here's the first few lines:
> > $ hexdump -n 96 zImage
> > 000 04 1c a0 e3 bc 10 81 e3 00 00 a0 e1 00 00 a0 e1
>   ^^^
>
> theses are the bytes I was talking of.
>
> Arnaud
>


Re: [2nd try] unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-20 Thread Rtp
Mello  writes:

Hi,

> Hi Arnaud,
> sorry for a late reply and thanks a lot for your advice.
> I've done a dump of the entire file but I couldn't find those data. Just for
> a reference here's the first few lines:
> $ hexdump -n 96 zImage
> 000 04 1c a0 e3 bc 10 81 e3 00 00 a0 e1 00 00 a0 e1
  ^^^

theses are the bytes I was talking of.

Arnaud


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8762q9xlaq@lebrac.rtp-net.org



Re: [2nd try] unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-19 Thread Mello
Hi Arnaud,
sorry for a late reply and thanks a lot for your advice.
I've done a dump of the entire file but I couldn't find those data. Just for
a reference here's the first few lines:
$ hexdump -n 96 zImage
000 04 1c a0 e3 bc 10 81 e3 00 00 a0 e1 00 00 a0 e1
010 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1
020 00 00 a0 e1 00 00 a0 e1 02 00 00 ea 18 28 6f 01
030 00 00 00 00 38 27 13 00 01 70 a0 e1 02 80 a0 e1
040 00 20 0f e1 03 00 12 e3 01 00 00 1a 17 00 a0 e3
050 56 34 12 ef 00 20 0f e1 c0 20 82 e3 02 f0 21 e1

Any other advice?

Thanks,
mw

On Thu, Apr 14, 2011 at 1:50 PM, Arnaud Patard wrote:

> Mello  writes:
>
> > P.S. if I add "force_ep80219" the boot hangs right after "Uncompressing
> > Linux... done, booting the kernel.".
>
> I guess that the zImage file has some bytes at the beginning forcing r1
> value to em7210 machine number and this conflicts badly with the
> force_ep80219 parameters.
> Check if the first words of the files are 0xe3a01c04 0xe38110bc and if
> it's the case, create with dd a new zimage without them and try booting
> this new one.
>
> Arnaud
>


Re: [2nd try] unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-14 Thread Rtp
Mello  writes:

> P.S. if I add "force_ep80219" the boot hangs right after "Uncompressing
> Linux... done, booting the kernel.".

I guess that the zImage file has some bytes at the beginning forcing r1
value to em7210 machine number and this conflicts badly with the
force_ep80219 parameters.
Check if the first words of the files are 0xe3a01c04 0xe38110bc and if
it's the case, create with dd a new zimage without them and try booting
this new one.

Arnaud


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87mxjtt5l5@lebrac.rtp-net.org



Re: [2nd try] unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-13 Thread Mello
P.S. if I add "force_ep80219" the boot hangs right after "Uncompressing
Linux... done, booting the kernel.".

Below the boot sequence that's been working so far (leading to incomplete
install):
RedBoot> load -v -r -h 192.168.1.101 -b 0x0180 -m tftp initrd.gz

Raw file loaded 0x0180-0x01bcaec5, assumed entry at 0x0180

Redboot> load -r -v -h 192.168.1.101 -b 0x01008000 -m tftp zImage

Raw file loaded 0x01008000-0x0113a73f, assumed entry at 0x01008000

Redboot> exec -c "console=ttyS0,115200n8 DEBIAN_FRONTEND=text rw
root=/dev/ram0 mem=512M@0xa000" -r 0x0180

Using base address 0x01008000 and length 0x00132740
The boot tags are located at 0xA100
Booting the kernel...
Uncompressing Linux... done, booting the kernel.
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 2.6.32-5-iop32x (Debian 2.6.32-31) (
b...@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Tue Mar 8
01:49:50 UTC 2011
[0.00] CPU: XScale-80219 [69052e20] revision 0 (ARMv5TE),
cr=397f
[0.00] CPU: VIVT data cache, VIVT instruction cache
[0.00] Machine: Lanner EM7210
...
...

Any help is appreciated.

Thanks!

On Wed, Apr 13, 2011 at 7:58 PM, Mello  wrote:

> Hi Hector and Arnaud,
> Lanner EM 7210 is what is detected by the d-i itself. Only thing I know is
> that the box is a Thermaltake Muse NAS-RAID N0001LN.
>
> From your feedbacks I assume I should re-install by setting the machine id
> to ep80219. How can I do that?
>
> Thanks,
> mw
>
>
> On Wed, Apr 13, 2011 at 5:23 PM, Hector Oron wrote:
>
>> Hi,
>>
>> 2011/4/13 Arnaud Patard :
>>
>> > Are you really really sure it's a em7210 ? Your bootlogs are showing
>> > an error when querying the rtc and I don't see any ohci-related message
>> > in your logs. Theses 2 things make me think that your have a different
>> > board than em7210 and this may explain why you don't succeed. Did you
>> > try booting with machine id set to iq31244 or ep80219 machine id
>> > (they're the only machines I know without usb) ?
>>
>> From the logs:
>> Platform: EP80219 (XScale)
>>
>> Cheers,
>> --
>>  Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.
>>
>> "Our Sun unleashes tremendous flares expelling hot gas into the Solar
>> System, which one day will disconnect us."
>>
>> -- Day DVB-T stop working nicely
>> Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html
>>
>
>


Re: [2nd try] unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-13 Thread Mello
Hi Hector and Arnaud,
Lanner EM 7210 is what is detected by the d-i itself. Only thing I know is
that the box is a Thermaltake Muse NAS-RAID N0001LN.

>From your feedbacks I assume I should re-install by setting the machine id
to ep80219. How can I do that?

Thanks,
mw

On Wed, Apr 13, 2011 at 5:23 PM, Hector Oron  wrote:

> Hi,
>
> 2011/4/13 Arnaud Patard :
>
> > Are you really really sure it's a em7210 ? Your bootlogs are showing
> > an error when querying the rtc and I don't see any ohci-related message
> > in your logs. Theses 2 things make me think that your have a different
> > board than em7210 and this may explain why you don't succeed. Did you
> > try booting with machine id set to iq31244 or ep80219 machine id
> > (they're the only machines I know without usb) ?
>
> From the logs:
> Platform: EP80219 (XScale)
>
> Cheers,
> --
>  Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.
>
> "Our Sun unleashes tremendous flares expelling hot gas into the Solar
> System, which one day will disconnect us."
>
> -- Day DVB-T stop working nicely
> Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html
>


Re: [2nd try] unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-13 Thread Hector Oron
Hi,

2011/4/13 Arnaud Patard :

> Are you really really sure it's a em7210 ? Your bootlogs are showing
> an error when querying the rtc and I don't see any ohci-related message
> in your logs. Theses 2 things make me think that your have a different
> board than em7210 and this may explain why you don't succeed. Did you
> try booting with machine id set to iq31244 or ep80219 machine id
> (they're the only machines I know without usb) ?

>From the logs:
Platform: EP80219 (XScale)

Cheers,
-- 
 Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html


--
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktimmxozdn6dnwq2srgvbgs1+jkt...@mail.gmail.com



Re: [2nd try] unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-13 Thread Rtp
Mello  writes:

> Hi all,

Hi,

> Debian Installer starts just fine and the process (non-expert mode) seems to
> run smoothly until reboot. At that point the system is not rechable any
> longer, no DHCP, and the only way to access it is via the serial cable.
>
> Login works fine (users are present in the system) but other things, i/f
> configuration for instance, is not working.
> Below what I'm being prompted with at login:
> Debian GNU/Linux 6.0 unassigned-hostname ttyS0
>
> unassigned-hostname login: 
> Password:
> Linux unassigned-hostname 2.6.32-5-iop32x #1 Tue Mar 8 01:49:50 UTC 2011
> armv5tel
>
> The programs included with the Debian GNU/Linux system are free software;
> the exact distribution terms for each program are described in the
> individual files in /usr/share/doc/*/copyright.
>
> Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
> permitted by applicable law.
>
> Please find attached the full boot log.
>
> Is this correct or (am I remembering it correctly?) should I have been
> prompted with a post-installation script to finish up the system's
> configuration?
> I've noticed a similar bug exists (#610526) but it's marked as "moreinfo,
> unreproducible". Which additional info can I provide? The problem is
> reproducible at will :)

Are you really really sure it's a em7210 ? Your bootlogs are showing
an error when querying the rtc and I don't see any ohci-related message
in your logs. Theses 2 things make me think that your have a different
board than em7210 and this may explain why you don't succeed. Did you
try booting with machine id set to iq31244 or ep80219 machine id
(they're the only machines I know without usb) ?


Arnaud


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87wriytcjf@lebrac.rtp-net.org



Re: [2nd try] unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-13 Thread Hector Oron
Hi,

2011/4/13 Mello :

> Login works fine (users are present in the system) but other things, i/f
> configuration for instance, is not working.

Do you have a trace of debian-installer?
Did not it created a /etc/hostname and /etc/network/interfaces (I
guess we do not want network-manager to manage interfaces)?
I am not familiar with this device installation from debian-installer,
but it would be nice to get it fixed if it is broken.

Cheers,
-- 
 Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html


--
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktik305pn6j1smvsxkaahg6j7lcu...@mail.gmail.com



[2nd try] unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-13 Thread Mello
Hi all,
Debian Installer starts just fine and the process (non-expert mode) seems to
run smoothly until reboot. At that point the system is not rechable any
longer, no DHCP, and the only way to access it is via the serial cable.

Login works fine (users are present in the system) but other things, i/f
configuration for instance, is not working.
Below what I'm being prompted with at login:
Debian GNU/Linux 6.0 unassigned-hostname ttyS0

unassigned-hostname login: 
Password:
Linux unassigned-hostname 2.6.32-5-iop32x #1 Tue Mar 8 01:49:50 UTC 2011
armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Please find attached the full boot log.

Is this correct or (am I remembering it correctly?) should I have been
prompted with a post-installation script to finish up the system's
configuration?
I've noticed a similar bug exists (#610526) but it's marked as "moreinfo,
unreproducible". Which additional info can I provide? The problem is
reproducible at will :)

In case of no answers I'll proceed by opening a new bug.

Thanks,
mw
+Ethernet eth0: MAC address 00:40:d0:8a:1f:99
IP: 192.168.1.11/255.255.255.0, Gateway: 192.168.1.1
Default server: 192.168.1.122, DNS server IP: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROM]
Intel IOP RedBoot release
 version 2.2.V6-IOP-RedBoot
 built 13:51:51, Jan 12 2006

Platform: EP80219 (XScale) 
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x-0x2000, 0x00021790-0x1ffd1000 available
FLASH: 0xf000 - 0xf080, 64 blocks of 0x0002 bytes each.
== Executing boot script in 2.000 seconds - enter ^C to abort
RedBoot> fis load ramdisk.gz
RedBoot> fis load zImage
RedBoot> exec -c "console=ttyS0,115200n8 DEBIAN_FRONTEND=text rw root=/dev/ram 
mem=512M@0xa000" -r 0x0180
Using base address 0x01008000 and length 0x0020
The boot tags are located at 0xA100
Booting the kernel...
Uncompressing Linux... done, booting the kernel.
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 2.6.32-5-iop32x (Debian 2.6.32-31) 
(b...@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Tue Mar 8 
01:49:50 UTC 2011
[0.00] CPU: XScale-80219 [69052e20] revision 0 (ARMv5TE), cr=397f
[0.00] CPU: VIVT data cache, VIVT instruction cache
[0.00] Machine: Lanner EM7210
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 130048
[0.00] Kernel command line: console=ttyS0,115200n8 DEBIAN_FRONTEND=text 
rw root=/dev/ram mem=512M@0xa000
[0.00] PID hash table entries: 2048 (order: 1, 8192 bytes)
[0.00] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[0.00] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[0.00] Memory: 512MB = 512MB total
[0.00] Memory: 511744KB available (3084K code, 444K data, 112K init, 0K 
highmem)
[0.00] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, 
Nodes=1
[0.00] Hierarchical RCU implementation.
[0.00] NR_IRQS:32
[0.00] Console: colour dummy device 80x30
[0.00] Calibrating delay loop... 398.95 BogoMIPS (lpj=1994752)
[0.21] Security Framework initialized
[0.21] SELinux:  Disabled at boot.
[0.21] Mount-cache hash table entries: 512
[0.21] Initializing cgroup subsys ns
[0.21] Initializing cgroup subsys cpuacct
[0.21] Initializing cgroup subsys devices
[0.21] Initializing cgroup subsys freezer
[0.21] Initializing cgroup subsys net_cls
[0.21] CPU: Testing write buffer coherency: ok
[0.21] devtmpfs: initialized
[0.21] regulator: core version 0.5
[0.21] NET: Registered protocol family 16
[0.22] pci :00:01.0: PME# supported from D0 D3hot D3cold
[0.22] pci :00:01.0: PME# disabled
[0.22] PCI: bus0: Fast back to back transfers disabled
[0.22] bio: create slab  at 0
[0.22] vgaarb: loaded
[0.24] NET: Registered protocol family 2
[0.24] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[0.24] TCP established hash table entries: 16384 (order: 5, 131072 
bytes)
[0.24] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[0.24] TCP: Hash tables configured (established 16384 bind 16384)
[0.24] TCP reno registered
[0.24] NET: Registered protocol family 1
[0.24] Unpacking initramfs...
[1.00] Freeing initrd memory: 4096K
[1.00] NetWinder Floating Point Emulator V0.97 (double precision)
[1.00] audit: initializing netlink socket (disabled

unassigned-hostname on Lanner EM7210 (Thermaltake Muse NAS-RAID N0001LN)

2011-04-08 Thread Mello
Hi all,
Debian Installer starts just fine and the process (non-expert mode) seems to
run smoothly until reboot. At that point the system is not rechable any
longer, no DHCP, and the only way to access it is via the serial cable.

Login works fine (users are present in the system) but other things, i/f
configuration for instance, is not working.
Below what I'm being prompted with at login:
Debian GNU/Linux 6.0 unassigned-hostname ttyS0

unassigned-hostname login: 
Password:
Linux unassigned-hostname 2.6.32-5-iop32x #1 Tue Mar 8 01:49:50 UTC 2011
armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Please find attached the full boot log.

Is this correct or (am I remembering it correctly?) should I have been
prompted with a post-installation script to finish up the system's
configuration?
I've noticed a similar bug exists (#610526) but it's marked as "moreinfo,
unreproducible". Which additional info can I provide? The problem is
reproducible at will :)

Thanks,
mw
+Ethernet eth0: MAC address 00:40:d0:8a:1f:99
IP: 192.168.1.11/255.255.255.0, Gateway: 192.168.1.1
Default server: 192.168.1.122, DNS server IP: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROM]
Intel IOP RedBoot release
 version 2.2.V6-IOP-RedBoot
 built 13:51:51, Jan 12 2006

Platform: EP80219 (XScale) 
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x-0x2000, 0x00021790-0x1ffd1000 available
FLASH: 0xf000 - 0xf080, 64 blocks of 0x0002 bytes each.
== Executing boot script in 2.000 seconds - enter ^C to abort
RedBoot> fis load ramdisk.gz
RedBoot> fis load zImage
RedBoot> exec -c "console=ttyS0,115200n8 DEBIAN_FRONTEND=text rw root=/dev/ram 
mem=512M@0xa000" -r 0x0180
Using base address 0x01008000 and length 0x0020
The boot tags are located at 0xA100
Booting the kernel...
Uncompressing Linux... done, booting the kernel.
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 2.6.32-5-iop32x (Debian 2.6.32-31) 
(b...@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Tue Mar 8 
01:49:50 UTC 2011
[0.00] CPU: XScale-80219 [69052e20] revision 0 (ARMv5TE), cr=397f
[0.00] CPU: VIVT data cache, VIVT instruction cache
[0.00] Machine: Lanner EM7210
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 130048
[0.00] Kernel command line: console=ttyS0,115200n8 DEBIAN_FRONTEND=text 
rw root=/dev/ram mem=512M@0xa000
[0.00] PID hash table entries: 2048 (order: 1, 8192 bytes)
[0.00] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[0.00] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[0.00] Memory: 512MB = 512MB total
[0.00] Memory: 511744KB available (3084K code, 444K data, 112K init, 0K 
highmem)
[0.00] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, 
Nodes=1
[0.00] Hierarchical RCU implementation.
[0.00] NR_IRQS:32
[0.00] Console: colour dummy device 80x30
[0.00] Calibrating delay loop... 398.95 BogoMIPS (lpj=1994752)
[0.21] Security Framework initialized
[0.21] SELinux:  Disabled at boot.
[0.21] Mount-cache hash table entries: 512
[0.21] Initializing cgroup subsys ns
[0.21] Initializing cgroup subsys cpuacct
[0.21] Initializing cgroup subsys devices
[0.21] Initializing cgroup subsys freezer
[0.21] Initializing cgroup subsys net_cls
[0.21] CPU: Testing write buffer coherency: ok
[0.21] devtmpfs: initialized
[0.21] regulator: core version 0.5
[0.21] NET: Registered protocol family 16
[0.22] pci :00:01.0: PME# supported from D0 D3hot D3cold
[0.22] pci :00:01.0: PME# disabled
[0.22] PCI: bus0: Fast back to back transfers disabled
[0.22] bio: create slab  at 0
[0.22] vgaarb: loaded
[0.24] NET: Registered protocol family 2
[0.24] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[0.24] TCP established hash table entries: 16384 (order: 5, 131072 
bytes)
[0.24] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[0.24] TCP: Hash tables configured (established 16384 bind 16384)
[0.24] TCP reno registered
[0.24] NET: Registered protocol family 1
[0.24] Unpacking initramfs...
[1.00] Freeing initrd memory: 4096K
[1.00] NetWinder Floating Point Emulator V0.97 (double precision)
[1.00] audit: initializing netlink socket (disabled)
[1.00] type=2000 audit(1.000:1): initialized
[