Show Posts
|
|
Pages: [1] 2
|
|
1
|
General Category / General Discussion / Re: Another Bad Magic Number problem
|
on: December 17, 2009, 12:47:15 AM
|
Hi,
I'm a bit confused by your description... Do you have the previously working uImage on your thumb drive? By the looks of it, you are able to connect to the plug via serial cable (that's where the output came from, I take it)....
So, if the goal is to write the uImage to the NAND and get your plug back up and running, you could do the following:
nand device 0 usb start
1. Have the correct uboot.bin on the first partition of your USB stick, and write it to NAND
nand erase 0x0 0xa0000 fatload usb 0:1 0x8000000 /u-boot.bin nand write.e 0x8000000 0x0 0xa0000 reset OK, so far so good, but now the plug doesn't start. I get no response at all through the serial terminal. The blue LED doesn't light up either.
|
|
|
|
|
3
|
General Category / General Discussion / Re: CRC failure prevents booting
|
on: December 17, 2009, 12:19:41 AM
|
No offence taken. At least it attempts to start now.  I'm using the plug as it came out of the box. No change to kernel or u-boot. The terminal output garbling is an effect of HyperTerminal being unable to correctly display lines that have been pushed out of the normal viewing window; when I see the text scroll by during boot-up, it looks fine, but when I go back in the terminal window to copy the text, some lines are intermingled. Personal reflection (No need for anyone to answer this): Why did Globalscale choose u-boot over Grub? In comparison, u-boot is a hideous, uncontrollable monstrosity.[/]
|
|
|
|
|
5
|
General Category / General Discussion / Re: CRC failure prevents booting
|
on: December 16, 2009, 07:35:13 AM
|
OK, I tried resetenv (a new command to me). Now this happends: SysClock = 400Mhz , TClock = 200Mhzot #0: Marvell mv88fx_snd ALSA dr
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6bic registered1200Mhz L2 runnin st NET: Regis DRAM CS[0] base 0x00000000 size 256MB985 not found at NET: Registered protoc DRAM CS[1] base 0x10000000 size 256MBLatenc md: Autodetecting RAID arrays. DRAM Total size 512MB 16bit widthtorun ...itmask 0x1985 n md: ... a Flash: 0 kB 0xe62c in Addresses 8M - 0M are saved for the U-Boot usage.1985 not found at 0x00000000: 0xa67f in jffs2_sca Mem malloc Initialization (8M - 7M): Doneound at 0x0012001c: 0xd7db i stead Flas NAND:512 MB
Checking for BootROM Rou DDR2 device test PASSEDtmask found at 0 stead66800 jffs2_scan_eraseblock(): Magic bitm
Device: 0, Size: 512 MB, Page Size: 2 KB, Block Size: 128 KBmplete.
U-Boot 1.1.4 (Mar jffs2_scan steadblock j NAND detection test PASSED0014: 0xdca5 in Marvell>> Image Name: Linux-2.6.22.1
Bad Block: 0e7e0000can RTC test PASSED
Diag completed
CPU : Marvell Feroceon (Rev 1)
Streaming disabled Write allocate disabled
USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 Using egiga0 device TFTP from server 10.4.50.5; our IP address is 10.4.50.165 Filename 'uImage'. Load address: 0x2000000 Loading: T T T T T T T T T T Retry count exceeded; starting again ## Booting image at 02000000 ... Bad Magic Number Unknown command '<NULL>' - try 'help' Marvell>>
|
|
|
|
|
6
|
General Category / General Discussion / Re: Oops - kernel never finishes booting
|
on: December 16, 2009, 12:54:34 AM
|
...aaand when I restart the plug, it fails to boot because there's a CRC error. It doesn't matter if I use /dev/mtdblock2 och /dev/mmcbk0p1 (yes, I do have a memory card) in bootargs and bootargs_root. I'm beginning to give up here. Erasing Nand...Writing to Nand... done 0x1985 not found at 0x0004000c: 0x995 Marvell>> reset: 00008000.....
__ __ _ _8000....... stead boyt jffs2_ Verifyi | \/ | __ _ _ ____ _____| | |0x00 OK01
Starting kernel ... | |\/| |/ _` | '__\ \ / / _ \ | |......................................... | | | | (_| | | \ V / __/ | |nd at 0x00040014: 0xa710 in Feroceon (Rev |_| |_|\__,_|_| \_/ \___|_|_|.................................. done, _ _ ____ _sk 0x1985 not found at 0x00040 | | | | | __ ) ___ ___ | |_ernel.
Uncompre Linux ve | | | |___| _ \ / _ \ / _ \| __|cc version 4.2.1) #1 Thu Mar 19 1 | |_| |___| |_) | (_) | (_) | |_0x0004001c: 0x7e47 ink. \___/ |____/ \___/ \___/ \__|giga0 [PR CPU: ARM926EJ-S [562513 ** MARVELL BOARD: SHEEVA PLUG LE177: Magic bitmask 0x1985 not fou
U-Boot 1.1.4 (Mar 19 2009 - 16:06:59) Marvell version: DRAM CS[0] base 0x00000000 size 256MB 128 sets__| | |00=rw root=/d steadbloc DRAM CS[1] base 0x10000000 size 256MBuilt 1 zonelists. Total pages: 1300487 DRAM Total size 512MB 16bit width Kernel command line: rootfstyp CPU : Marvell Feroceon (Rev 1)
Streaming disabled Write allocate disabled
USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x100000, size 0x400000
Reading data from 0x4ff800 -- 100% complete. 4194304 bytes read: OK ## Booting image at 00800000 ... Image Name: Linux-2.6.22.18 Created: 2009-03-19 9:18:16 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2106696 Bytes = 2 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... Bad Data CRC Marvell>>
|
|
|
|
|
7
|
General Category / General Discussion / Now apt-get isn't working
|
on: December 16, 2009, 12:46:33 AM
|
Tried changing root in bootargs to /dev/mtdblock2 and now the plug seems to be alive again, if only just. (The error list is longer than Rapunzel's hair, but I can log in.) I'm now trying to apt-get a fresh kernel, but apt-get isn't working: root@debian:~# apt-get update Get:1 http://ports.ubuntu.com jaunty Release.gpg [189B] Get:2 http://ports.ubuntu.com jaunty Release [74.6kB] Get:3 http://ports.ubuntu.com jaunty/main Packages [1234kB] Get:4 http://ports.ubuntu.com jaunty/restricted Packages [865B] Get:5 http://ports.ubuntu.com jaunty/universe Packages [4442kB] Get:6 http://ports.ubuntu.com jaunty/multiverse Packages [159kB] Fetched 5910kB in 1min6s (88.5kB/s) Reading package lists... Error! E: Couldn't make mmap of 25165824 bytes - mmap (22 Invalid argument) W: Unable to munmap E: The package lists or status file could not be parsed or opened. root@debian:~# apt-get install wget Reading package lists... Error! E: Couldn't make mmap of 25165824 bytes - mmap (22 Invalid argument) W: Unable to munmap E: The package lists or status file could not be parsed or opened.
|
|
|
|
|
8
|
General Category / General Discussion / Kernel now boots, but panics
|
on: December 16, 2009, 12:35:55 AM
|
IO just had a thought: what if I turned "mainlineLinux=off"? I tried it and now the plug manages to boot the kernel, but then has a load of errors and finally panicks - at least that's some improvement. Here is the new printout: hub 1-0:1.0: 1 port detected Saving Environment to USB Universal Host Controller Interface driver v3.0.Writing to Nand... done usbcore: registered new interface driver usblp __ __ _ _ drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver__| | | | |\/| | Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage | |env bootargs console=ttyS0,115200=rw root USB Mass Storage support registered. mice: PS/2 mouse device common for all mice i2c /dev entries driver _ Linux telephony interface: v1.00o NA | | Marvell Telephony Driver: |_ mvBoardVoiceAssembleModeGet: TDM not supported(boardId=0x9) | | | |___| _ \ / _ \ / _ \| _ md: raid0 personality registered for level 0BOARD: SHEEVA PLUG LE md: raid1 personality registered for level 1
U-Boot 1.1.4 (Mar 19 2009 - 16:0 raid6: int32x1 97 MB/s16 | | | | (_| | | raid6: int32x2 114 MB/s raid6: int32x4 122 MB/s raid6: int32x8 110 MB/s000 -> 0067FFF0 BSS: -> 0 raid6: using algorithm int32x4 (122 MB/s) _
Soc: md: raid6 personality registered for level 6 CPU running @ 1200Mhz L2 running @ 400Mh md: raid5 personality registered for level 5
DRAM CS[1] base 0x10000000 size 256MB md: raid4 personality registered for level 4 raid5: measuring checksum dm_crypt using the OCF package.
Streaming disabledAS L sdhci: Secure Digital Host Controller Interface drivere allocate disabled
USB 0: ho sdhci: Copyright(c) Pierre Ossman base PEX 0: inter mvsdmmc: irq =28 start f1090000 DRAM mvsdmmc: no IRQ detect], egiga156MB usbcore: registered new interface driver usbhidoboot: 02MB 16bit width drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver ...
Streaming jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x3bc9 in OK
Star
USB 0: host mode
PEX 0: interface detec stead Link jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0xc249 in Net: egiga0 [PRIME], egiga1 steadany k jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x2000 in...... Marvell>>......... Marve stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0xbe6b inand_mtd:0x400000@0x1000 stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x0205 inming disab 00(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mt stead1 rw jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x694c PEX 0: interface detect
U-Boot 1.1.4 (Mar 19 2009 - 16:06:59) Marv stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0x1120 in DRAM CS[1] base 0x10000000 size 256MBS: -> 006C stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0x8512 in CPU Flash: 0 kB0Mhz L2 runn Addresses steadM are jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0x4871 inClock = 400Mhz , TClock = 200Mhz Mem malloc I steadizati jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0x9480 in NAND:512 MB
CPU : Marvell Fer stead( jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0x1948 in Net: egiga0 [PRIME], egiga1 Flash: 0 kB jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0x9954 in ....................................................................... stead boyt jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0xeccf in Load Address: 00008000 oting t steadnel. jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040014: 0xa710 in Feroceon (Rev 1)fying Checksum ... OK stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040018: 0x6902 in disabled
Uncompressing Linux
USB 0 stead mode jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004001c: 0x7e47 ink. Net: egiga0 [PRIME], egiga1 stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040020: 0x33be in................ done, bo jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0x9cd7 in| |/ _` | '__\ \ / / _ \ | | Marvell>> steadv jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060008: 0x66d5 in Erasing Nand...Wri |_| |_|\__,_|_| stead___|_ jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006000c: 0xe7b5 in_ ____ _ | |_| |___| |_) | (_) | stead|_ U DRAM CS[0] base 0x00000000 size 256MB> 006CEE80 stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006001c: 0x70f8 in)
CPU : Marvell Feroceon (Rev 1)CS steadse 0x jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060020: 0xfd65 inreaming disabled PEX 0: interface detected no Link. stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060024: 0x8dc6 iney to stop autoboot: 0
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080008: 0x4f31 in Data Size: 2106696 Bytes = 2 MB steadad Ad jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008000c: 0x79c2 in Verifying Checksum ... OK OK
Starti steadnel . jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080010: 0xd99b in...................... stead | | | stead __ ) jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080024: 0xe19b in| | |_| |___| |_) | (_) | (_) | |_ stead Further such events for this erase block will not be printed ** MARVELL BOARD: SHEEVA PLUG LE Old JFFS2 bitmask foun jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0x7b29 in400Mhz , TClock = 200Mhz
DRAM CAS Latency = stead= 5 t jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0008: 0xa4ac in000000 size 256MB DRAM CS[1] base 0x100 stead siz jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a000c: 0x976e in Flash: 0 kB Addresses 8M - 0M ar steadd for jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0010: 0x77f6 initialization (8M - 7M): Done NAND:512 M stead steadet 0x jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a001c: 0x5bb2 indata from 0x4ff800 -- 100% complete. stead304 b jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0020: 0x415b in Image Name: Linux-2.6.22.18 stead Cr jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0024: 0x43f6 inImage Type: ARM Linux Kernel Image (uncompressed) stead Further such events for this erase block will not be printed Load Address: 00008000 ................. stead..... jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0008: 0xeaf8 in oting the kernel. stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c000c: 0x9bb3 in | \/ | __ _ _ ____ _____| | |
stead | | jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0010: 0xedf5 in | | | (_| | | \ V / __/ | | stead |_|\ jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0014: 0xaf41 in _ | | | | | __ ) _ jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0000: 0xcb5f in Mem malloc Initialization (8M - 7M): stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0004: 0x8478 inn (Rev 1)
Streaming disabled Wr steadlocat jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0008: 0xe98e inface detected no Link. Net: egiga0 [PRIME], stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e000c: 0xd862 in Marvell>> printenv baudrate=115200 loa steado=0 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0010: 0xd78c in console=console=ttyS0,115200 CASset=min stead M jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0014: 0xcbe3 in0Mode=host nandEcc=1bit ethact=egiga0 arcNumber=20 stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100008: 0x47db in=rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x10 Wr steadlocat jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010000c: 0x1af4 in0000@0x500000(rootfs) rw root=/dev/mtdblock1 rw Net: egiga0 [PRIME], stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100010: 0x3535 in=serial
NAND read: mainlineLinux=yesx100000, size 0x4 enaMonExt=no steaduStre jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100014: 0xbd45 in setL2CacheWT=yes 4194304 bytes r disL2Prefetch=yes ## B steadPref= jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100018: 0xb27e intbsd_en=no vxworks_en=no Created: bootdelay=3 ** MARVELL BOARD: SHEEVA PL stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012000c: 0x08e5 inn: 3.4.16sole=ttyS0,115200=rw root=/dev/mtdblock0
U-Boot c stead06000 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120010: 0xd667 in
Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 runnin stead0Mhz jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120014: 0x5c51 in.. done
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 stead __ jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120018: 0xe62c in | __ _ _ ____ _____| | | DRAM CS[1] base 0x10000000 size 256MB | stead/ _` jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012001c: 0xd7db in| | | Flash: 0 kB | | Addresses 8M - 0M are saved jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0014000c: 0x7c92 inernel ...
Uncompressing Linux............................... stead..... jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140010: 0xb28e in ............................................................. stead.... jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140014: 0x1da2 in oting the kernel.te allocate disab Linux version 2.6.22.18 (dhaval@devbo steadc ver jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00140018: 0x6866 interface detected no Link.s=orio 22 IST 2009 CPU: ARM926EJ-S [56251311 steadsion jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0014001c: 0xedca in: Machine: Feroceon-KW) Kernel command line: rootfstype=jffs2 consol stead0,115 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160004: 0xb1db in x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw stead/dev/ jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160008: 0x95b5 in |_ _ _ PID hash table entries: 2048 (order: 11, 8192 bytes) \___/ \___/ \__|_ stead U-Boot code: 0 Memory: 256 steadMB 0M jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160014: 0xb6ec inilable (3864K code, 257K data, 104K init) \___/ stead \___ jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160018: 0x17e6 in5 CPU: Testing write buffer coherency: ok steadRegis jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016001c: 0x9dcc inn: 3 ------------- SDRAM_CS0 ....base 00000000, size 256MB steadM Tot jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00160020: 0xb60d in000 -> 0 SDRAM_CS2 ....disablees 8M - 0M are save SDRAM_CS3 . stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180008: 0xad47 inA0 LE009-03-19 9:1
Detected Tclk 200000000 and SysClk 400000000 Image T stead ARM jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0018000c: 0xd72e inCI Host controller #0: c08b8600 Bytes = 2 MB PEX steadrface jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180018: 0x6049 ined protocol family 2the kernel. 512 Time: kw_clocksource clock stead has jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0018001c: 0x7614 ine hash table entries: 16384 (order: 4, 65536 bytes)mode PEX 0: i steadce de jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180020: 0x49d8 in288 bytes) Hit any key to stop autoboot: 0 TCP steadhash jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00180024: 0xa24e invell>> printenv bootarg TCP: Hash tables configured (e cesadev_init(c000c894)v/mtdblock2 mvCesaInit: sess stead40, q jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0008: 0x4f57 in: TS unit is powered off. Marvell>> MV Buttons Driver Load steadng En jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a000c: 0x16ef in2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.ell>> reset
stead __ jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001a0010: 0xcbe8 iner anticipatory registered (default) | stead o Proc tool API en stead D jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0004: 0x5e8f incripors: q0=5322MB 16bit width o Loading network interface(s):0 kB stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0008: 0xfd52 in o eth1, ifindex = 2, GbE port = 1- 7M): Done stead mvFp jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c000c: 0x01bc in Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPIbled stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0010: 0xda56 in Net: egi e100: Intel(R) PRO/100 Network Driver, stead7-k4- jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c0014: 0x44ba in-2006 Intel Corporationze 0x400000
Bad eraseblock 3310 at 0x19dc0000 OK
St jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e000c: 0x388b in stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0010: 0x2d39 in stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0014: 0xd74e in stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0018: 0xe8f3 in stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e001c: 0xec0c in stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0020: 0x3903 in stead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001e0024: 0x2db2 in stead Further such events for this erase block will not be printed Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes empty_blocks 0, bad_blocks 0, c->nr_blocks 16 VFS: Cannot open root device "mtdblock1" or unknown-block(31,1) Please append a correct "root=" boot option; here are the available partitions: 1f00 1024 mtdblock0 (driver?) 1f01 2048 mtdblock1 (driver?) 1f02 521216 mtdblock2 (driver?) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,1)
|
|
|
|
|
9
|
General Category / General Discussion / Re: Oops - kernel never finishes booting
|
on: December 16, 2009, 12:13:12 AM
|
OK, which commands should I use to get it all out? [Edit:/b] I typed in "printenv" without any flags and got this:
SysClock = 400Mhz , TClock = 200Mhz mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 = 18 tRCD=6 DRAM yuk_ethaddr=00:00:00:EE:51:81256MB netretry=no bootargs=rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x10 0000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw stdin=serial stdout=serial stderr=serial mainlineLinux=yes enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no enaAutoRecovery=yes
Environment size: 1269/131068 bytes Marvell>>
|
|
|
|
|
11
|
General Category / General Discussion / Re: Oops - kernel never finishes booting
|
on: December 15, 2009, 07:22:00 AM
|
Will do! 512 MB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled Write allocate disabled
USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 Marvell>> Marvell>> Marvell>> Marvell>> Marvell>> printenv bootargs bootargs=console=ttyS0,115200=rw root=/dev/mtdblock2=ro Marvell>> printenv bootargs_root bootargs_root=root=/dev/mtdblock2 ro Any other commands I should run to get more info?
|
|
|
|
|
12
|
General Category / General Discussion / CRC failure prevents booting
|
on: December 15, 2009, 04:37:04 AM
|
Edit: Please jump to the 8th post below for current information. (Or press ctrl+F and type CRC) Oh, dear... I tried to upgrade the kernel to 2.6.32.1, but something went screw-y and now botting only gets to the "Uncompressing Linux (insert a gazillion "."'s) done, booting the kernel." Any tips on how to resolve this? I suspect that the bootargs might be off, because changing them was the last thing I did before it all went downhill. The current ones are: bootargs console=ttyS0,115200=rw root=/dev/mtdblock1 and the boot-up looks like this: __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: SHEEVA PLUG LE
U-Boot 1.1.4 (Mar 19 2009 - 16:06:59) Marvell version: 3.4.16
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006C
Soc: 88F6281 A0 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM CS[1] base 0x10000000 size 256MB DRAM Total size 512MB 16bit width Flash: 0 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:512 MB
CPU : Marvell Feroceon (Rev 1)
Streaming disabled Write allocate disabled
USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x100000, size 0x400000
Reading data from 0x4ff800 -- 100% complete. 4194304 bytes read: OK ## Booting image at 00800000 ... Image Name: Linux-2.6.22.18 Created: 2009-03-19 9:18:16 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2106696 Bytes = 2 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK
Starting kernel ...
Uncompressing Linux............................................................. ....................................................................... done, bo oting the kernel.
|
|
|
|
|
13
|
Linux Stuff / General Linux questions / RAID on SheevaPlug
|
on: December 09, 2009, 05:14:44 AM
|
|
Hi, everybody!
I bought a Plug to use as a server (mainly file server) for my home network.
Concidering the frequency of drive failures, I am now thinking about making a RAID-5 or -6 array; they give full protection against drive failure at the cost of one or two extra harddrives respectively.
RAID is now supported right in the linux kernel, and there are tools that e.g. lets you add new discs to an array without having to do a lot of terminal work, as well as using USB discs, so that should all be fine.
The thing is, that RAID-5 and -6 can take a lot of effort on the part of the computer running the array, since there is a lot of read/write manouvers and parity-computing.
What I am wondering, is therefore: Does anyone have any experience of running RAID on av Plug?
Any and all suggestions are welcome.
|
|
|
|
|
14
|
Linux Stuff / Kernel / Re: 2.6.32 new release
|
on: December 08, 2009, 04:53:43 AM
|
|
I saw that RAID support was included in the 2.6.30 kernel.
Is it safe to assume that this support has not wanished since? (This is the first time I visit the kernel forum; hence my insecurity.)
|
|
|
|
|