Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Pages: 1
Hello,
In my first post I was just observing the same external signs but now that I can connect to the console I could gather more information.
I am trying to use the reloaded module with the kernel image provided. The system does boot up on it but shortly after the busybox banner is displayed on the console the unit shuts down completely.
There are a few errors displayed in the console but the most annoying is probably this one:
sd_mod: version magic '2.6.12.6-arm1 ARMv5 gcc-3.3' should be '2.6.12.6-arm1_huge ARMv5 gcc-3.3' insmod: error inserting '/lib/modules/sd_mod.ko': -1 Invalid module format
Then it also occurs for a different module shortly before the busybox banner:
lltd: version magic '2.6.12.6-arm1 ARMv5 gcc-3.3' should be '2.6.12.6-arm1_huge ARMv5 gcc-3.3' insmod: error inserting '/lib/modules/lltd.ko': -1 Invalid module format
It seems there is a discrepancy between the modules and the kernel signature. If these modules are not loaded maybe something can go very wrong and force the unit to shut down brutally.
Here is the full log:
####################################### # HD0 awake now ! # ####################################### reloaded for DNS-323, 2007 tp@fonz.de zImage-2.6.12.6: 1698308 bytes loaded 131072 of 1698308 bytes at c20a0000 / 020a0000 loaded 131072 of 1698308 bytes at c2100000 / 02100000 loaded 131072 of 1698308 bytes at c2140000 / 02140000 loaded 131072 of 1698308 bytes at c2180000 / 02180000 loaded 131072 of 1698308 bytes at c21c0000 / 021c0000 loaded 131072 of 1698308 bytes at c2200000 / 02200000 loaded 131072 of 1698308 bytes at c2240000 / 02240000 loaded 131072 of 1698308 bytes at c2280000 / 02280000 loaded 131072 of 1698308 bytes at c22c0000 / 022c0000 loaded 131072 of 1698308 bytes at c2300000 / 02300000 loaded 131072 of 1698308 bytes at c2340000 / 02340000 loaded 131072 of 1698308 bytes at c2380000 / 02380000 loaded 125444 of 1698308 bytes at c23c0000 / 023c0000 zImage-2.6.12.6: OK (13 segments) initrd.gz: 6324324 bytes loaded 131072 of 6324324 bytes at c23e0000 / 023e0000 loaded 131072 of 6324324 bytes at c1c40000 / 01c40000 loaded 131072 of 6324324 bytes at c1c80000 / 01c80000 loaded 131072 of 6324324 bytes at c1cc0000 / 01cc0000 loaded 131072 of 6324324 bytes at c1d00000 / 01d00000 loaded 131072 of 6324324 bytes at c1d40000 / 01d40000 loaded 131072 of 6324324 bytes at c1d80000 / 01d80000 loaded 131072 of 6324324 bytes at c1dc0000 / 01dc0000 loaded 131072 of 6324324 bytes at c1e00000 / 01e00000 loaded 131072 of 6324324 bytes at c1e40000 / 01e40000 loaded 131072 of 6324324 bytes at c1e80000 / 01e80000 loaded 131072 of 6324324 bytes at c1ec0000 / 01ec0000 loaded 131072 of 6324324 bytes at c1f00000 / 01f00000 loaded 131072 of 6324324 bytes at c1f40000 / 01f40000 loaded 131072 of 6324324 bytes at c1f80000 / 01f80000 loaded 131072 of 6324324 bytes at c1fc0000 / 01fc0000 loaded 131072 of 6324324 bytes at c1800000 / 01800000 loaded 131072 of 6324324 bytes at c1840000 / 01840000 loaded 131072 of 6324324 bytes at c1880000 / 01880000 loaded 131072 of 6324324 bytes at c18c0000 / 018c0000 loaded 131072 of 6324324 bytes at c1900000 / 01900000 loaded 131072 of 6324324 bytes at c1940000 / 01940000 loaded 131072 of 6324324 bytes at c1980000 / 01980000 loaded 131072 of 6324324 bytes at c19c0000 / 019c0000 loaded 131072 of 6324324 bytes at c1a00000 / 01a00000 loaded 131072 of 6324324 bytes at c1a40000 / 01a40000 loaded 131072 of 6324324 bytes at c1a80000 / 01a80000 loaded 131072 of 6324324 bytes at c1ac0000 / 01ac0000 loaded 131072 of 6324324 bytes at c1b00000 / 01b00000 loaded 131072 of 6324324 bytes at c1b40000 / 01b40000 loaded 131072 of 6324324 bytes at c1b80000 / 01b80000 loaded 131072 of 6324324 bytes at c1bc0000 / 01bc0000 loaded 131072 of 6324324 bytes at c1400000 / 01400000 loaded 131072 of 6324324 bytes at c1440000 / 01440000 loaded 131072 of 6324324 bytes at c1480000 / 01480000 loaded 131072 of 6324324 bytes at c14c0000 / 014c0000 loaded 131072 of 6324324 bytes at c1500000 / 01500000 loaded 131072 of 6324324 bytes at c1540000 / 01540000 loaded 131072 of 6324324 bytes at c1580000 / 01580000 loaded 131072 of 6324324 bytes at c15c0000 / 015c0000 loaded 131072 of 6324324 bytes at c1600000 / 01600000 loaded 131072 of 6324324 bytes at c1640000 / 01640000 loaded 131072 of 6324324 bytes at c1680000 / 01680000 loaded 131072 of 6324324 bytes at c16c0000 / 016c0000 loaded 131072 of 6324324 bytes at c1700000 / 01700000 loaded 131072 of 6324324 bytes at c1740000 / 01740000 loaded 131072 of 6324324 bytes at c1780000 / 01780000 loaded 131072 of 6324324 bytes at c17c0000 / 017c0000 loaded 32868 of 6324324 bytes at c17e0000 / 017e0000 initrd.gz: OK (49 segments) dns323_machtype = 526 CMDLINE: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none MEM: start 00000000 size 64MB INITRD: start 00800000 size 6324324 dns323_taglist = 279b000 (c279b000) copying 2160 bytes reboot code from bf009318 to c282d000 dns323_reboot_start = 282d000 Reloading... Uncompressing Linux................................................................................................................ done, booting the kernel. Linux version 2.6.12.6-arm1_huge (tp@motte) (gcc version 3.3.3) #28 Mon Jun 11 21:59:15 CEST 2007 CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ) CPU0: D VIVT write-back cache CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets Machine: MV-88fxx81 Memory policy: ECC disabled, Data cache writeback Built 1 zonelists Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none PID hash table entries: 512 (order: 9, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 64MB = 64MB total Memory: 54940KB available (2980K code, 514K data, 104K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok checking if image is initramfs...it isn't (no cpio magic); looks like an initrd Freeing initrd memory: 6176K NET: Registered protocol family 16 Marvell Development Board (LSP Version 1.7.6_NAS)-- RD-88F5181-88SX7042-2xSATA Detected Tclk 166000000 and SysClk 200000000 Marvell USB EHCI Host controller #0: c043abc0 Marvell USB EHCI Gadget controller #1: c043aa40 pexBarOverlapDetect: winNum 2 overlap current 0 mvPexInit:Warning :Bar 2 size is illigal it will be disabled please check Pex and CPU windows configuration PCI: bus0: Fast back to back transfers enabled PCI: bus1: Fast back to back transfers enabled SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub cesadev_init(c00123d8) Fast Floating Point Emulator V0.9 (c) Peter Teichmann. VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Installing knfsd (copyright (C) 1996 okir@monad.swb.de). NTFS driver 2.1.22 [Flags: R/O]. Initializing Cryptographic API Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 4 ports, IRQ sharing disabled ttyS0 at MMIO 0x0 (irq = 3) is a 16550A io scheduler noop registered io scheduler deadline registered RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize loop: loaded (max 8 devices) Marvell Gigabit Ethernet Driver 'egiga': o Ethernet descriptors in DRAM o DRAM SW cache-coherency o Checksum offload enabled o Loading network interface 'egiga0' Intergrated Sata device found scsi0 : Marvell SCSI to SATA adapter scsi1 : Marvell SCSI to SATA adapter Vendor: SAMSUNG Model: HD502HJ Rev: 1AJ1 Type: Direct-Access ANSI SCSI revision: 03 Vendor: SAMSUNG Model: HD502HJ Rev: 1AJ1 Type: Direct-Access ANSI SCSI revision: 03 SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB) SCSI device sda: drive cache: write back SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB) SCSI device sda: drive cache: write back sda: sda1 sda2 sda3 sda4 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 SCSI device sdb: 976773168 512-byte hdwr sectors (500108 MB) SCSI device sdb: drive cache: write back SCSI device sdb: 976773168 512-byte hdwr sectors (500108 MB) SCSI device sdb: drive cache: write back sdb: sdb1 sdb2 sdb3 sdb4 Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 0 physmap flash device: 800000 at ff800000 phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank Amd/Fujitsu Extended Query Table at 0x0040 number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. cmdlinepart partition parsing not available RedBoot partition parsing not available Using physmap partition definition Creating 5 MTD partitions on "phys_mapped_flash": 0x00000000-0x00010000 : "MTD1" 0x00010000-0x00020000 : "MTD2" 0x00020000-0x001a0000 : "Linux Kernel" 0x001a0000-0x007d0000 : "File System" 0x007d0000-0x00800000 : "u-boot" ehci_platform ehci_platform.20865: EHCI Host Controller ehci_platform ehci_platform.20865: new USB bus registered, assigned bus number 1 ehci_platform ehci_platform.20865: irq 17, io mem 0x00000000 ehci_platform ehci_platform.20865: park 0 ehci_platform ehci_platform.20865: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected usbcore: registered new driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice md: linear personality registered as nr 1 md: raid0 personality registered as nr 2 md: raid1 personality registered as nr 3 md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27 device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 5 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem) readonly. Freeing init memory: 104K init started: BusyBox v1.00-pre1 (2007.05.29-03:34+0000) multi-call binary init started: BusyBox v1.00-pre1 (2007.05.29-03:34+0000) multi-call binary Starting pid 234, console /dev/ttyS0: '/etc/rc.sh' EXT2-fs warning: maximal mount count reached, running e2fsck is recommended Check MTD block device V2.02.05252007 MTDC: Mount MTD1 done. MTDC: Mount MTD2 done. Error: Can't open file /sys/mtd1/version.txt in mtd1. MTDC: Backup files from MTD1 to MTD2. ** Mounting /etc/fstab umount: proc: not mounted umount: proc: not mounted umount: /image.cfs: not mounted umount: /image.cfs: not mounted ** copy default config files version is the same ** check raid Config version Update raidtab2web eve test - buf:cp /tmp/raidtab_temp /sys/mtd1/raidtab2web ** copy mtd1 files cp: /sys/mtd1/firmwareupdate: No such file or directory cp: /sys/mtd1/codepage: No such file or directory cp: /sys/mtd1/onedisk: No such file or directory cp: /sys/mtd1/MountError: No such file or directory mv: /sys/mtd1/firmwareupdate: No such file or directory mv: /sys/mtd1/restore: No such file or directory mv: /sys/mtd1/format_ok: No such file or directory mv: /sys/mtd1/pls_sync: No such file or directory mv: /sys/mtd1/pls_chmod_a2: No such file or directory mv: /sys/mtd1/pls_chmod_b2: No such file or directory cp: /sys/mtd1/ftpgroup: No such file or directory ** link lib ** ** link web ** ** link /usr/bin ** ** link /usr/sbin ** sd_mod: version magic '2.6.12.6-arm1 ARMv5 gcc-3.3' should be '2.6.12.6-arm1_huge ARMv5 gcc-3.3' insmod: error inserting '/lib/modules/sd_mod.ko': -1 Invalid module format ** link /usr/local/LPRng ** cp: /sys/crfs/default/server-key-nopassword.pem: No such file or directory <rtc>: getRTC time= 10/2/24 18:6:54 <fan script start> ** set loopback interface MAC = 00:26:5A:77:79:C7 egiga0: mac address changed ** Activate Gigabit Interface ** execute rc.init.sh /web/sib.conf:48: no such option 'CF-LLTD' SIOCADDRT: Network is unreachable Setting hostname .... dlink-7779C7 Starting DHCP client .... *****8192.168.0.32 info, udhcpc (v0.9.9-pre) started egiga0: link down kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or kill -l [exitstatus] get IP = [NONE SET] debug, Sending discover... UPnP AV / MediaServer v1.02.0317.2006. Open CodePage Error sendto-a egiga0: link up<5>, full duplex<5>, speed 100 Mbps<5> debug, Sending discover... debug, Sending select for 192.168.0.8... info, Lease of 192.168.0.8 obtained, lease time 864000 deleting routers SIOCDELRT: No such process adding dns 212.27.40.240 adding dns 212.27.40.241 get IP = 192.168.0.8 judge swap start v1.01 Number of attached HDD = 2 dev[0] = a file = /dev/sda The number of cylinders for this disk is set to 60801. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) partitions = 4, sys_ind = 0x82 exit status 0 success /dev/sda format ok UPnP AV / MediaServer v1.02.0317.2006. Open CodePage Error Setting up swapspace version 1, size = 542830592 bytes Adding 530104k swap on /dev/sda1. Priority:-1 extents:1 touch /web/swap_a dev[1] = b file = /dev/sdb The number of cylinders for this disk is set to 60801. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) partitions = 4, sys_ind = 0x82 exit status 0 success /dev/sdb format ok Setting up swapspace version 1, size = 542830592 bytes Adding 530104k swap on /dev/sdb1. Priority:-2 extents:1 touch /web/swap_b flag= 2 Serial Number = S20BJ9DSC33030 Serial Number = S20BJ9DSC33029 Raid Table Parser version v1.04 mdadm: chunk size ignored for this level mdadm: /dev/sda2 appears to contain an ext2fs file system size=375390208K mtime=Sat Feb 13 11:22:38 2010 mdadm: /dev/sda2 appears to be part of a raid array: level=raid1 devices=2 ctime=Mon Feb 15 00:23:25 2010 mdadm: /dev/sdb2 appears to contain an ext2fs file system size=375390208K mtime=Sat Feb 13 11:22:38 2010 mdadm: /dev/sdb2 appears to be part of a raid array: level=raid1 devices=2 ctime=Mon Feb 15 00:23:md: bind<sda2> 25 2010 mdadm: size set to 375390784K md: bind<sdb2> raid1: raid set md0 active with 2 out of 2 mirrors mdadm: array /dev/md0 started. Raid Level Parser version v1.01 mdadm: /dev/sda3 appears to contain an ext2fs file system size=223897728K mtime=Sat Feb 13 21:10:58 2010 mdadm: /dev/sda3 appears to be part of a raid array: level=linear devices=2 ctime=Mon Feb 15 00:23:25 2010 mdadm: /dev/sdb3 appears to be part of a raid array: level=linear devices=2 ctime=Mon Feb 15 00:23:25 2010 md: bind<sda3> md: bind<sdb3> mdadm: array /dev/md1 started. Raid Level Parser version v1.01 EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended Build Shared Name Table version v1.05 EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended Build Shared Name Table version v1.05 grep: /etc/codepage: No such file or directory ext3: No journal on filesystem on sda4 mount: wrong fs type, bad option, bad superblock on /dev/sda4, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended ext3: No journal on filesystem on sdb4 mount: wrong fs type, bad option, bad superblock on /dev/sdb4, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended Refresh Shared Name Table version v1.04 Refresh Shared Name Table version v1.04 md: md0 stopped. md: unbind<sdb2> md: export_rdev(sdb2) md: unbind<sda2> md: export_rdev(sda2) mdadm: stopped md: md1 stopped. /dev/md0 md: unbind<sdb3> md: export_rdev(sdb3) md: unbind<sda3> md: export_rdev(sda3) mdadm: stopped /dev/md1 Can't open /tmp/onedisk file ! Can't re-write raidtab ! cp: /tmp/raidtab_temp: No such file or directory cp: /tmp/raidtab_temp: No such file or directory cp: /tmp/raidtab_temp: No such file or directory rm: cannot remove `/tmp/raidtab_temp': No such file or directory Set Timezone=-8 1.Set Date & time ...(command: sntp -r ntp1.dlink.com &) get IP = 192.168.0.8 sntp: using NTP server ntp1.dlink.com (207.232.83.70) NTP Server connected successfully!!! System time: 2010/2/24 Wed 18:7:17 check button V2.23.06262007 swapon Feb 24 18:07:18 crond[999]: crond 2.3.2 dillon, started, log level 8 Raid Table Parser version v1.04 mdadm: chunk size ignored for this level mdadm: /dev/sda2 appears to contain an ext2fs file system size=375390208K mtime=Sat Feb 13 03:22:38 2010 mdadm: /dev/sda2 appears to be part of a raid array: level=raid1 md: bind<sda2> devices=2 ctime=Wed Feb 24 10:06:57 2010 mdadm: /dev/sdb2 appears to contain an ext2fs file sysmd: bind<sdb2> tem size=37raid1: raid set md0 active with 2 out of 2 mirrors 5390208K mtime=Sat Feb 13 03:22:38 2010 mdadm: /dev/sdb2 appears to be part of a raid array: level=raid1 devices=2 ctime=Wed Feb 24 10:06:57 2010 mdadm: size set to 375390784K mdadm: array /dev/md0 started. Raid Level Parser version v1.01 mdadm: /dev/sda3 appears to contain an ext2fs file system size=223897728K mtime=Sat Feb 13 13:10:58 2010 mdadm: /dev/sda3 appears to be part of a raid array: level=linear devices=2 ctime=Wed Feb 24 10:06:58 2010 mdadm: /dev/sdb3 appears to be part of a raid array: level=linear devices=2 ctime=Wed Feb 24 10:06:58 2010 md: bind<sda3> md: bind<sdb3> mdadm: array /dev/md1 started. Raid Level Parser version v1.01 EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended Build Shared Name Table version v1.05 EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended Build Shared Name Table version v1.05 grep: /etc/codepage: No such file or directory ext3: No journal on filesystem on sda4 mount: wrong fs type, bad option, bad superblock on /dev/sda4, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended ext3: No journal on filesystem on sdb4 mount: wrong fs type, bad option, bad superblock on /dev/sdb4, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended 1.04(1.13.0723.2007) 07/23/2007 mfg_search /web/swap_a file exist(ext2) ** Get MAC Addr UPnP AV / MediaServer v1.02.0317.2006. Open CodePage Error CP_OpenSSL Quota Stop Set Daylight :/usr/sbin/daylight f & /web/sib.conf:48: no such option 'CF-LLTD' /web/sib.conf:48: no such option 'CF-LLTD' UPNPAV_MGR: Generate key failed. UPNPMGR: Get ShareFolder=/mnt. upnpav_path=/mnt country = 66 Daylight mode : NONE lltd: version magic '2.6.12.6-arm1 ARMv5 gcc-3.3' should be '2.6.12.6-arm1_huge ARMv5 gcc-3.3' insmod: error inserting '/lib/modules/lltd.ko': -1 Invalid module format op_server 3 3 3 & Starting pid 1324, console /dev/ttyS0: '/bin/sh' BusyBox v1.00-pre1 (2007.05.29-03:34+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands.
Has anyone any idea?
Thanks and best regards.
Offline
As far as I can see, reloaded works fine. Also, the kernel seems to start ok. The sudden shutdown may have to do with your firmware version or hardware revision. Maybe the kernel (which is pretty old by now) isn't fully compatible anymore. A useful test might be to boot the initrd instead of the firmware.
Offline
Hello,
thanks for the info. However I do not quite understand what you mean by "boot the initrd instead of the firmware", can you detail a bit more please?
Thank you and best regards.
Offline
Hello,
I had time to play around I don't know if this was actually what you were thinking of for a test but that's interesting...
Eventually I could boot the zImage-2.6.12.6 but with a different initrd image. I took the initrd from the v 1.08 firmware extracting it with the firmware tools then striping off the first 64 bytes (u-Boot header) to eventually get the gzipped ramdisk that the reloader expects. There are a lot of missing files probably because this initrd does not match the kernel (not sure it should be a problem I don't know...) but I eventually get to a stable busybox and I am able to break into a shell using the magic number and I can see the reloaded kernel is actually running:
5784468 # ls bin etc lib proc sys var default home lost+found root tmp web dev image.cfs mnt sbin usr welcome.msg # ps PID Uid VmSize Stat Command 1 root 284 S init 2 root SWN [ksoftirqd/0] 3 root SW< [events/0] 4 root SW< [khelper] 5 root SW< [kthread] 11 root SW< [kblockd/0] 14 root SW [khubd] 52 root SW [pdflush] 53 root SW [pdflush] 55 root SW< [aio/0] 54 root SW [kswapd0] 191 root SW [scsi_eh_0] 192 root SW [scsi_eh_1] 213 root SW [mtdblockd] 229 root SW< [kcryptd/0] 230 root SW< [kmirrord/0] 576 root 324 S crond 611 root 380 S -sh 613 root 284 R ps # uname -a Linux dlink-7779C7 2.6.12.6-arm1_huge #28 Mon Jun 11 21:59:15 CEST 2007 armv5tejl unknown
I'm wondering what's so wrong with the initrd.gz provided that it forces the unit to shut down!
Best regards.
PS: in fact it turns out that the image.cfs of v 1.08 is not to standard cramfs format and cannot be mounted in either the newly booted kernel on the DNS-323 or my host PC. So in fact the boot is aborted early in the process and it drops to busybox. I tried with v 1.04 that has a valid image.cfs and goes much further but eventually it powers down brutally in the same way.
Last edited by f4exb (2010-02-26 04:10:59)
Offline
Here's another initrd: http://www.inreto.de/dns323/fsck/initramfs.gz
It's not a firmware image, but my 'rescue' system.
Maybe it's worth trying the most recent kernel sources from D-Link.
Offline
Hello,
your initrd does work since it breaks into login prompt and I can log into a shell using root user without password. So I think it is doing what it is supposed to do for a rescue system. Unfortunately this is not quite usable for a permanent solution.
I tried recent kernels from D-Link (v 1.08 and v 1.09) but they all fail while booting (they stay forever with the "booting the kernel" message).
I am afraid I will have to go down the "build your own kernel" route ... I have done it for another embedded system once, that's not exactly easy and I was hoping to avoid that.
Best regards.
PS: for the D-Link kernels I extract them from the firmware image file using firmware tools (splitdns323fw with -k option) then I discard the first 64 bytes using a dd command. I suppose this is the right way to do since the reloader should expect a standard kernel image without the 64 byte uBoot header. If I leave the uBoot header it ignores the kernel and reboots on flash.
Last edited by f4exb (2010-02-27 01:36:03)
Offline
More tests...
I could eventually boot D-Link kernels using the reloader. Problem was with the reload.sh script and was right before my eyes... it is using machtype 1542 unless kernel version contains 2.6.12 but none of the kernel image files I use but the provided 2.6.12 has "2.6.12" string in it. When forcing it to 526 I could boot the kernel.
I tried the v 1.04 (since its initrd is valid) but it also causes complete system shutdown.
Then I tried v 1.06 since I remember having read somewhere that this version was the first to support hardware rev. C1 and bingo: it works!
So it may be that the 2.6.12 kernel provided with the reloader does not support hardware rev. C1 which seems to be consistent with pre C1 D-Link firmware.
Best regards.
Last edited by f4exb (2010-02-27 02:14:35)
Offline
Pages: 1