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

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



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 <mellowiz@gmail.com> 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
0000000 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1
0000010 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1 00 00 a0 e1
0000020 02 00 00 ea 18 28 6f 01 00 00 00 00 38 27 13 00
0000030 01 70 a0 e1 02 80 a0 e1 00 20 0f e1 03 00 12 e3
0000040 01 00 00 1a 17 00 a0 e3 56 34 12 ef 00 20 0f e1
0000050 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.patard@rtp-net.org> wrote:
Mello <mellowiz@gmail.com> 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
> 0000000 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: 0x00000000-0x20000000, 0x00021790-0x1ffd1000 available
FLASH: 0xf0000000 - 0xf0800000, 64 blocks of 0x00020000 bytes each.
== Executing boot script in 2.000 seconds - enter ^C to abort
^C

RedBoot> load -v -r -h 192.168.1.101 -b 0x01800000 -m tftp initrd.gz
-----------<suppressed output>-------------
Raw file loaded 0x01800000-0x01bcaec5, assumed entry at 0x01800000

Redboot> load -r -v -h 192.168.1.101 -b 0x01008000 -m tftp zImage.stripped
-----------<suppressed output>-------------
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@0xa0000000" -r 0x01800000

Using base address 0x01008000 and length 0x00132738
The boot tags are located at 0xA0000100
Booting the kernel...
Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-5-iop32x (Debian 2.6.32-31) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Tue Mar 8 01:49:50 UTC 2011
[    0.000000] CPU: XScale-80219 [69052e20] revision 0 (ARMv5TE), cr=0000397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Intel IQ31244
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200n8 force_ep80219 DEBIAN_FRONTEND=text rw root=/dev/ram mem=512M@0xa0000000
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 511744KB available (3084K code, 444K data, 112K init, 0K highmem)
[    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:32
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Calibrating delay loop... 398.95 BogoMIPS (lpj=1994752)
[    0.210000] Security Framework initialized
[    0.210000] SELinux:  Disabled at boot.
[    0.210000] Mount-cache hash table entries: 512
[    0.210000] Initializing cgroup subsys ns
[    0.210000] Initializing cgroup subsys cpuacct
[    0.210000] Initializing cgroup subsys devices
[    0.210000] Initializing cgroup subsys freezer
[    0.210000] Initializing cgroup subsys net_cls
[    0.210000] CPU: Testing write buffer coherency: ok
[    0.210000] devtmpfs: initialized
[    0.210000] regulator: core version 0.5
[    0.210000] NET: Registered protocol family 16
[    0.220000] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[    0.220000] pci 0000:00:01.0: PME# disabled
[    0.220000] PCI: bus0: Fast back to back transfers disabled
[    0.220000] bio: create slab <bio-0> at 0
[    0.220000] vgaarb: loaded
[    0.240000] NET: Registered protocol family 2
[    0.240000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.240000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.240000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.240000] TCP: Hash tables configured (established 16384 bind 16384)
[    0.240000] TCP reno registered
[    0.240000] NET: Registered protocol family 1
[    0.240000] Unpacking initramfs...
[    1.440000] Freeing initrd memory: 4096K
[    1.450000] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.450000] audit: initializing netlink socket (disabled)
[    1.450000] type=2000 audit(1.450:1): initialized
[    1.460000] VFS: Disk quotas dquot_6.5.2
[    1.470000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.470000] msgmni has been set to 1007
[    1.470000] alg: No test for stdrng (krng)
[    1.470000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    1.470000] io scheduler noop registered
[    1.470000] io scheduler anticipatory registered
[    1.470000] io scheduler deadline registered
[    1.470000] io scheduler cfq registered (default)
[    1.490000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.490000] serial8250.0: ttyS0 at MMIO 0xfe800000 (irq = 28) is a 16550A
[    1.810000] console [ttyS0] enabled
[    1.810000] physmap platform flash device: 00800000 at f0000000
[    1.820000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
[    1.830000]  Intel/Sharp Extended Query Table at 0x0031
[    1.830000]  Intel/Sharp Extended Query Table at 0x0031
[    1.840000] Using buffer write method
[    1.840000] cfi_cmdset_0001: Erase suspend on write enabled
[    1.850000] Searching for RedBoot partition table in physmap-flash.0 at offset 0x7e0000
[    2.160000] 6 RedBoot partitions found on MTD device physmap-flash.0
[    2.180000] Creating 6 MTD partitions on "physmap-flash.0":
[    2.180000] 0x000000000000-0x000000040000 : "RedBoot"
[    2.190000] 0x000000040000-0x000000240000 : "zImage"
[    2.190000] 0x000000240000-0x000000640000 : "ramdisk.gz"
[    2.190000] 0x0000007a0000-0x0000007c0000 : "vendor"
[    2.210000] 0x0000007c0000-0x0000007c1000 : "RedBoot config"
[    2.220000] mtd: partition "RedBoot config" doesn't end on an erase block -- force read-only
[    2.220000] 0x0000007e0000-0x000000800000 : "FIS directory"
[    2.220000] mice: PS/2 mouse device common for all mice
[    2.240000] i2c /dev entries driver
[    2.260000] iop-adma iop-adma.0: Intel(R) IOP: ( cpy intr )
[    2.280000] iop-adma iop-adma.1: Intel(R) IOP: ( cpy intr )
[    2.280000] TCP cubic registered
[    2.300000] NET: Registered protocol family 17
[    2.300000] XScale DSP coprocessor detected.
[    2.310000] registered taskstats version 1
[    2.310000] /build/buildd-linux-2.6_2.6.32-31-armel-ReZWr3/linux-2.6-2.6.32/debian/build/source_armel_none/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    2.330000] Initalizing network drop monitor service
[    2.330000] Freeing init memory: 112K
[    3.350000] Intel(R) PRO/1000 Network Driver - version 7.3.21-k5-NAPI
[    3.350000] Copyright (c) 1999-2006 Intel Corporation.
[    3.640000] e1000: 0000:00:01.0: e1000_probe: (PCI:33MHz:32-bit) 00:40:d0:8a:1f:99
[    3.880000] e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
Starting system log daemon: syslogd, klogd.
Detecting network hardware  ..95%..100%
Configuring the network with DHCP  ..13%..100%
Generating SSH host key  
Continue installation remotely using SSH
----------------------------------------

Start SSH

To continue the installation, please use an SSH client to connect to the IP 
address 192.168.1.102 and log in as the "installer" user. For example:

   ssh installer@192.168.1.102

The fingerprint of this SSH server's host key is: 
7e:f5:8f:0a:44:26:7d:a0:ea:44:24:db:bd:49:07:e9

Please check this carefully against the fingerprint reported by your SSH 
client.
   ┌───────────────────────────────────────────┤ [!] Continue without boot loader ├────────────────────────────────────────────┐
   │                                                                                                                           │ 
   │                                                 No boot loader installed                                                  │ 
   │ No boot loader has been installed, either because you chose not to or because your specific architecture doesn't support  │ 
   │ a boot loader yet.                                                                                                        │ 
   │                                                                                                                           │ 
   │ You will need to boot manually with the /boot/vmlinuz kernel on partition /dev/sda1 and root=/dev/sda1 passed as a kernel │ 
   │ argument.                                                                                                                 │ 
   │                                                                                                                           │ 
   │                                                        <Continue>                                                         │ 
   │                                                                                                                           │ 
   └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ 
                                                                                                                                 


RedBoot> fis load ramdisk.gz
RedBoot> fis load zImage
RedBoot> exec -c "console=ttyS0,115200n8 force_ep80219 rw root=/dev/sda1 mem=512M@0xa0000000" -r 0x01800000

Using base address 0x01008000 and length 0x00200000
The boot tags are located at 0xA0000100
Booting the kernel...
Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-5-iop32x (Debian 2.6.32-31) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Tue Mar 8 01:49:50 UTC 2011
[    0.000000] CPU: XScale-80219 [69052e20] revision 0 (ARMv5TE), cr=0000397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Lanner EM7210
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200n8 rw root=/dev/sda1 mem=512M@0xa0000000
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 511744KB available (3084K code, 444K data, 112K init, 0K highmem)
[    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:32
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Calibrating delay loop... 398.95 BogoMIPS (lpj=1994752)
[    0.210000] Security Framework initialized
[    0.210000] SELinux:  Disabled at boot.
[    0.210000] Mount-cache hash table entries: 512
[    0.210000] Initializing cgroup subsys ns
[    0.210000] Initializing cgroup subsys cpuacct
[    0.210000] Initializing cgroup subsys devices
[    0.210000] Initializing cgroup subsys freezer
[    0.210000] Initializing cgroup subsys net_cls
[    0.210000] CPU: Testing write buffer coherency: ok
[    0.210000] devtmpfs: initialized
[    0.210000] regulator: core version 0.5
[    0.210000] NET: Registered protocol family 16
[    0.220000] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[    0.220000] pci 0000:00:01.0: PME# disabled
[    0.220000] PCI: bus0: Fast back to back transfers disabled
[    0.220000] bio: create slab <bio-0> at 0
[    0.220000] vgaarb: loaded
[    0.240000] NET: Registered protocol family 2
[    0.240000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.240000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.240000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.240000] TCP: Hash tables configured (established 16384 bind 16384)
[    0.240000] TCP reno registered
[    0.240000] NET: Registered protocol family 1
[    0.240000] Unpacking initramfs...
[    1.000000] Freeing initrd memory: 4096K
[    1.000000] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.000000] audit: initializing netlink socket (disabled)
[    1.000000] type=2000 audit(1.000:1): initialized
[    1.020000] VFS: Disk quotas dquot_6.5.2
[    1.020000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.020000] msgmni has been set to 1007
[    1.020000] alg: No test for stdrng (krng)
[    1.020000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    1.020000] io scheduler noop registered
[    1.020000] io scheduler anticipatory registered
[    1.020000] io scheduler deadline registered
[    1.020000] io scheduler cfq registered (default)
[    1.040000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.040000] serial8250.0: ttyS0 at MMIO 0xfe800000 (irq = 28) is a 16550A
[    1.360000] console [ttyS0] enabled
[    1.360000] physmap platform flash device: 02000000 at f0000000
[    1.360000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
[    1.380000]  Intel/Sharp Extended Query Table at 0x0031
[    1.380000]  Intel/Sharp Extended Query Table at 0x0031
[    1.390000] Using buffer write method
[    1.390000] cfi_cmdset_0001: Erase suspend on write enabled
[    1.400000] Searching for RedBoot partition table in physmap-flash.0 at offset 0x7e0000
[    1.710000] 6 RedBoot partitions found on MTD device physmap-flash.0
[    1.730000] Creating 6 MTD partitions on "physmap-flash.0":
[    1.730000] 0x000000000000-0x000000040000 : "RedBoot"
[    1.740000] 0x000000040000-0x000000240000 : "zImage"
[    1.740000] 0x000000240000-0x000000640000 : "ramdisk.gz"
[    1.740000] 0x0000007a0000-0x0000007c0000 : "vendor"
[    1.760000] 0x0000007c0000-0x0000007c1000 : "RedBoot config"
[    1.760000] mtd: partition "RedBoot config" doesn't end on an erase block -- force read-only
[    1.770000] 0x0000007e0000-0x000000800000 : "FIS directory"
[    1.770000] mice: PS/2 mouse device common for all mice
[    1.790000] i2c /dev entries driver
[    1.790000] rtc-rs5c372 0-0032: can't read registers
[    1.800000] rtc-rs5c372: probe of 0-0032 failed with error -5
[    1.820000] iop-adma iop-adma.0: Intel(R) IOP: ( cpy intr )
[    1.840000] iop-adma iop-adma.1: Intel(R) IOP: ( cpy intr )
[    1.840000] TCP cubic registered
[    1.850000] NET: Registered protocol family 17
[    1.850000] XScale DSP coprocessor detected.
[    1.860000] registered taskstats version 1
[    1.860000] /build/buildd-linux-2.6_2.6.32-31-armel-ReZWr3/linux-2.6-2.6.32/debian/build/source_armel_none/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.880000] Initalizing network drop monitor service
[    1.880000] Freeing init memory: 112K
Loading, please wait...
[    2.180000] udev[39]: starting version 164
[    3.180000] SCSI subsystem initialized
[    3.540000] scsi0 : sata_vsc
[    3.540000] scsi1 : sata_vsc
[    3.550000] scsi2 : sata_vsc
[    3.550000] scsi3 : sata_vsc
[    3.550000] ata1: SATA max UDMA/133 mmio m4096@0x80060000 port 0x80060200 irq 29
[    3.570000] ata2: SATA max UDMA/133 mmio m4096@0x80060000 port 0x80060400 irq 29
[    3.570000] ata3: SATA max UDMA/133 mmio m4096@0x80060000 port 0x80060600 irq 29
[    3.580000] ata4: SATA max UDMA/133 mmio m4096@0x80060000 port 0x80060800 irq 29
[    3.940000] ata1: SATA link down (SStatus 0 SControl 300)
[    4.290000] ata2: SATA link down (SStatus 0 SControl 300)
[    4.640000] ata3: SATA link down (SStatus 0 SControl 300)
[    4.990000] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    5.040000] ata4.00: ATA-7: ST3320620AS, 3.AAE, max UDMA/133
[    5.060000] ata4.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    5.130000] ata4.00: configured for UDMA/133
[    5.130000] scsi 3:0:0:0: Direct-Access     ATA      ST3320620AS      3.AA PQ: 0 ANSI: 5
[    5.270000] sd 3:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[    5.280000] sd 3:0:0:0: [sda] Write Protect is off
[    5.290000] sd 3:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.300000]  sda: sda1 sda2 sda3 sda4
[    5.340000] sd 3:0:0:0: [sda] Attached SCSI disk
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) 



Reply to: