Show Posts
|
|
Pages: [1] 2
|
|
3
|
Hardware and U-Boot firmware / U-Boot stuff / Can't boot off SD card. ignoring bootargs
|
on: March 12, 2011, 11:14:24 AM
|
|
I'm trying to get my plug to boot off a SD card. I'm setting the bootargs correctly but it still boots off of NAND: I know this because the SD card currently in the plug has nothiing on it. I think I may have an updated uboot since after I did a recovery, I no longer have a bootargs setting, so makes sense that it is not longer used
The uboot env has
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end)
which specifies /dev/mtdblock0
Here's what happens when I try to boot of the SD:
Marvell>> setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none Marvell>> saveenv Saving Environment to NAND... Erasing Nand...Writing to Nand... done Marvell>> boot
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.30.6 Created: 2009-09-10 1:43:29 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2626524 Bytes = 2.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel. Linux version 2.6.30.6 (kelly@speedy) (gcc version 4.2.1) #1 PREEMPT Wed Sep 9 19:43:23 MDT 2009 CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 CPU: VIVT data cache, VIVT instruction cache Machine: Marvell SheevaPlug Reference Board Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs NR_IRQS:114 PID hash table entries: 2048 (order: 11, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 256MB 256MB = 512MB total Memory: 513408KB available (4736K code, 999K data, 140K init, 0K highmem) SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 980 bytes NET: Registered protocol family 16 Kirkwood: MV88F6281-A0, TCLK=200000000. Feroceon L2: Enabling L2 Feroceon L2: Cache support initialised. Kirkwood: Gating clock using mask 0x1ac224 bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb cfg80211: Using static regulatory domain info cfg80211: Regulatory domain: US (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) cfg80211: Calling CRDA for country: US NET: Registered protocol family 2 IP route cache hash table entries: 16384 (order: 4, 65536 bytes) TCP established hash table entries: 65536 (order: 7, 524288 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 65536 bind 65536) TCP reno registered NET: Registered protocol family 1 JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. JFS: nTxBlock = 4012, nTxLock = 32100 msgmni has been set to 1003 alg: No test for stdrng (krng) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A console [ttyS0] enabled brd: module loaded loop: module loaded Driver 'sd' needs updating - please use bus_type methods MV-643xx 10/100/1000 ethernet driver version 1.4 mv643xx_eth smi: probed net eth0: port 0 with MAC address 00:50:43:01:c1:e6 libertas_sdio: Libertas SDIO driver libertas_sdio: Copyright Pierre Ossman NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 1667 at 0x00000d060000 Bad eraseblock 1675 at 0x00000d160000 Bad eraseblock 1683 at 0x00000d260000 Bad eraseblock 1691 at 0x00000d360000 Bad eraseblock 1699 at 0x00000d460000 Bad eraseblock 1707 at 0x00000d560000 Bad eraseblock 1715 at 0x00000d660000 Bad eraseblock 1723 at 0x00000d760000 Bad eraseblock 3715 at 0x00001d060000 Bad eraseblock 3723 at 0x00001d160000 Bad eraseblock 3731 at 0x00001d260000 Bad eraseblock 3739 at 0x00001d360000 Bad eraseblock 3747 at 0x00001d460000 Bad eraseblock 3755 at 0x00001d560000 Bad eraseblock 3763 at 0x00001d660000 Bad eraseblock 3771 at 0x00001d760000 2 cmdlinepart partitions found on MTD device orion_nand Creating 2 MTD partitions on "orion_nand": 0x000000100000-0x000000500000 : "uImage" 0x000000500000-0x000020000000 : "rootfs"
Here's my env:
Marvell>> printenv baudrate=115200 loads_echo=0 ipaddr=10.4.50.165 serverip=10.4.50.5 rootpath=/mnt/ARM_FS/ netmask=255.255.255.0 console=a0000 e=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root) CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_end=:::DB88FXX81:eth0:none image_name=uImage standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000; ethmtu=1500 mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 usb0Mode=host yuk_ethaddr=00:00:00:EE:51:81 nandEcc=1bit netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethact=egiga0 bootargs_root=ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs mtdpartitions=mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) ethaddr=00:50:43:01:c1:e6 real_bootcmd=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000 bootargs_console=console=ttyS0,115200 recover1=setenv mainlineLinux yes; setenv arcNumber 2097; setenv bootcmd run recover2; saveenv; reset recover2=run recover3; setenv bootcmd $(real_bootcmd); saveenv; setenv bootargs $(bootargs_console) $(mtdpartitions) root=/dev/ram0 rw ramdisk=0x01100000,8M install_type=nand; bootm 0x00800000 0x01100000 recover3=run recover4; nand erase clean 0x00100000 0x00400000; nand write.e 0x00800000 0x00100000 0x00400000 recover4=usb start; fatload usb 0 0x00800000 uImage; fatload usb 0 0x01100000 initrd filesize=32D62A bootcmd=setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); nand read.e 0x00800000 0x00100000 0x00400000; bootm 0x00800000 arcNumber=2097 bootargs=console=ttyS0,115200 root=/dev/mmcblk0p1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none stdin=serial stdout=serial stderr=serial nandEnvBase=a0000 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 pcieTune=no
|
|
|
|
|
6
|
Hardware and U-Boot firmware / U-Boot stuff / boot problems
|
on: October 10, 2010, 12:35:25 PM
|
|
I'm not able to boot my plug after my SD card failed. Just get
Connected. 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.30.4 Created: 2009-08-10 6:47:49 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2626008 Bytes = 2.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
And it hangs here forever. Is there anything I can do get it working again or should I toss it in the closet junk pile? Thanks.
|
|
|
|
|
7
|
General Category / General Discussion / Problems with SheevaPlug Installer - libftdi
|
on: September 11, 2010, 01:39:15 PM
|
|
I'm trying to run the sheevaplug-installer, from ubuntu but getting error with libftdi. I didn't see anything in the documentation that talks about this. Here's my output:
andrew@ubuntu:~/sheevaplug-installer-v1.0$ sudo php5 runme.php mmc
**** exec(modprobe ftdi_sio vendor=0x9e88 product=0x9e8f)WARNING: All config files need .conf: /etc/modprobe.d/vmware-tools, it will be ignored in a future release.
**** Preparing environment variables file ... reading uboot/uboot-env/uboot-dflt.txt uboot/uboot-env/fw_setenv baudrate 115200 CRC read error on uboot-env.bin: Success uboot/uboot-env/fw_setenv loads_echo 0 uboot/uboot-env/fw_setenv ipaddr 10.4.50.165 uboot/uboot-env/fw_setenv serverip 10.4.50.5 uboot/uboot-env/fw_setenv rootpath /mnt/ARM_FS/ uboot/uboot-env/fw_setenv netmask 255.255.255.0 uboot/uboot-env/fw_setenv stdin serial uboot/uboot-env/fw_setenv stdout serial uboot/uboot-env/fw_setenv stderr serial uboot/uboot-env/fw_setenv console console=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0\(uboot\)ro,0x1ff00000@0x100000\(root\) uboot/uboot-env/fw_setenv mainlineLinux no uboot/uboot-env/fw_setenv CASset min uboot/uboot-env/fw_setenv enaMonExt no uboot/uboot-env/fw_setenv enaCpuStream no uboot/uboot-env/fw_setenv enaWrAllo no uboot/uboot-env/fw_setenv pexMode RC uboot/uboot-env/fw_setenv disL2Cache no uboot/uboot-env/fw_setenv setL2CacheWT yes uboot/uboot-env/fw_setenv disL2Prefetch yes uboot/uboot-env/fw_setenv enaICPref yes uboot/uboot-env/fw_setenv enaDCPref yes uboot/uboot-env/fw_setenv sata_dma_mode yes uboot/uboot-env/fw_setenv MALLOC_len 1 uboot/uboot-env/fw_setenv ethprime egiga0 uboot/uboot-env/fw_setenv netbsd_en no uboot/uboot-env/fw_setenv vxworks_en no uboot/uboot-env/fw_setenv bootargs_root root=/dev/nfs rw uboot/uboot-env/fw_setenv bootargs_end :::DB88FXX81:eth0:none uboot/uboot-env/fw_setenv image_name uImage uboot/uboot-env/fw_setenv bootcmd tftpboot 0x2000000 \$\(image_name\)\;setenv bootargs \$\(console\) \$\(bootargs_root\) nfsroot=\$\(serverip\):\$\(rootpath\) ip=\$\(ipaddr\):\$\(serverip\)\$\(bootargs_end\) \$\(mvNetConfig\) \$\(mvPhoneConfig\)\; bootm 0x2000000\; uboot/uboot-env/fw_setenv standalone fsload 0x2000000 \$\(image_name\)\;setenv bootargs \$\(console\) root=/dev/mtdblock0 rw ip=\$\(ipaddr\):\$\(serverip\)\$\(bootargs_end\) \$\(mvPhoneConfig\)\; bootm 0x2000000\; uboot/uboot-env/fw_setenv bootdelay 3 uboot/uboot-env/fw_setenv disaMvPnp no uboot/uboot-env/fw_setenv ethaddr 00:50:43:4e:2a:14 uboot/uboot-env/fw_setenv ethmtu 1500 uboot/uboot-env/fw_setenv mvPhoneConfig mv_phone_config=dev0:fxs,dev1:fxs uboot/uboot-env/fw_setenv mvNetConfig mv_net_config=\(00:11:88:0f:62:81,0:1:2:3\),mtu=1500 uboot/uboot-env/fw_setenv usb0Mode host uboot/uboot-env/fw_setenv yuk_ethaddr 00:00:00:EE:51:81 uboot/uboot-env/fw_setenv nandEcc 1bit uboot/uboot-env/fw_setenv netretry no uboot/uboot-env/fw_setenv rcvrip 169.254.100.100 uboot/uboot-env/fw_setenv loadaddr 0x02000000 uboot/uboot-env/fw_setenv autoload no uboot/uboot-env/fw_setenv enaAutoRecovery yes uboot/uboot-env/fw_setenv ethact egiga0 reading uboot/uboot-env/uboot-mmc-custom.txt uboot/uboot-env/fw_setenv bootargs_root root=/dev/mmcblk0p2 rootdelay=5 uboot/uboot-env/fw_setenv ethaddr 00:50:43:01:d0:75 uboot/uboot-env/fw_setenv real_bootcmd setenv bootargs \$\(bootargs_console\) \$\(bootargs_root\)\; mmcinit\; ext2load mmc 0:1 0x800000 /uImage\; bootm 0x00800000 uboot/uboot-env/fw_setenv bootargs_console console=ttyS0,115200 uboot/uboot-env/fw_setenv bootcmd run recover1 uboot/uboot-env/fw_setenv recover1 setenv mainlineLinux yes\; setenv arcNumber 2097\; setenv bootcmd run recover2\; saveenv\; reset uboot/uboot-env/fw_setenv recover2 run recover3\; setenv bootcmd \$\(real_bootcmd\)\; saveenv\; setenv bootargs \$\(bootargs_console\) root=/dev/ram0 rw ramdisk=0x01100000,8M install_type=mmc\; bootm 0x00800000 0x01100000 uboot/uboot-env/fw_setenv recover3 usb start\; fatload usb 0 0x00800000 uImage\; fatload usb 0 0x01100000 initrd
**** Burning uboot and environment variables ... This will take few minutes ... openocd/openocd: error while loading shared libraries: libftdi.so.1: cannot open shared object file: No such file or directory **** openocd FAILED **** Is the mini USB cable connected? **** Try powering down, then replugging the Sheevaplugandrew@ubuntu:~/sheevaplug-installer-v1.0$
|
|
|
|
|
9
|
General Category / General Discussion / Re: Boot errors
|
on: September 11, 2010, 10:30:28 AM
|
Being impatient, I attempt the uboot reset http://www.plugcomputer.org/plugwiki/index.php/Factory_Default_u-Boot_EnvironmentEverything seemed to go fine except when I set the bootcmd: Marvell>> setenv bootcmd nand read.e 0x800000 0x100000 0x400000; bootm 0x800000 ## Booting image at 00800000 ... Bad Magic Number ' - try 'help' Now the boot hangs at: 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.30.4 Created: 2009-08-10 6:47:49 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2626008 Bytes = 2.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Not sure what to do now.
|
|
|
|
|
10
|
General Category / General Discussion / Re: Boot errors
|
on: September 11, 2010, 09:27:51 AM
|
|
Any suggestions on how to recover my plug at this point? I can't even boot w/o the SD card (kernel panic) so not sure what to do. I assume the SD card data is going and I can live with that.
|
|
|
|
|
11
|
General Category / General Discussion / Re: Boot errors
|
on: September 11, 2010, 09:22:16 AM
|
|
Now my entire SD card file system is under lost+found, e.g.
lost+found/ lost+found/#8145 lost+found/#8145/bindresvport.blacklist lost+found/#8145/securetty lost+found/#8145/java-6-openjdk lost+found/#8145/java-6-openjdk/logging.properties lost+found/#8145/java-6-openjdk/accessibility.properties lost+found/#8145/java-6-openjdk/psfont.properties.ja lost+found/#8145/java-6-openjdk/security lost+found/#8145/java-6-openjdk/security/java.policy lost+found/#8145/java-6-openjdk/security/java.security lost+found/#8145/java-6-openjdk/fontconfig.bfc lost+found/#8145/java-6-openjdk/net.properties lost+found/#8145/java-6-openjdk/flavormap.properties lost+found/#8145/java-6-openjdk/management lost+found/#8145/java-6-openjdk/management/management.properties lost+found/#8145/java-6-openjdk/management/snmp.acl lost+found/#8145/java-6-openjdk/management/jmxremote.password lost+found/#8145/java-6-openjdk/management/jmxremote.access
|
|
|
|
|
12
|
General Category / General Discussion / Re: Boot errors
|
on: September 11, 2010, 09:12:36 AM
|
|
I ran fsck -f
and after about 1000 yes prompts, I got:
/dev/sdb1: ***** FILE SYSTEM WAS MODIFIED ***** /dev/sdb1: 28877/488640 files (0.3% non-contiguous), 350292/1953897 blocks
I ran it again to verify it at least did something:
andrew@ubuntu:~$ sudo fsck -f /dev/sdb1 fsck 1.41.4 (27-Jan-2009) e2fsck 1.41.4 (27-Jan-2009) /dev/sdb1 is mounted.
WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.
Do you really want to continue (y/n)? yes
Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/sdb1: 28877/488640 files (0.3% non-contiguous), 350292/1953897 blocks
Now I get a kernel panic when I boot from the card. I've pasted the entire boot output in the hopes that it will illuminate the issue:
Connected. 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.30.4 Created: 2009-08-10 6:47:49 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2626008 Bytes = 2.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel. Linux version 2.6.30.4 (kelly@speedy) (gcc version 4.2.1) #2 PREEMPT Mon Aug 10 00:47:44 MDT 2009 CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: Marvell SheevaPlug Reference Board Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none NR_IRQS:114 PID hash table entries: 2048 (order: 11, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 256MB 256MB = 512MB total Memory: 513408KB available (4736K code, 998K data, 140K init, 0K highmem) SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 980 bytes NET: Registered protocol family 16 Kirkwood: MV88F6281-A0, TCLK=200000000. Feroceon L2: Enabling L2 Feroceon L2: Cache support initialised. Kirkwood: Gating clock using mask 0x1ac224 bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb cfg80211: Using static regulatory domain info cfg80211: Regulatory domain: US (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) cfg80211: Calling CRDA for country: US NET: Registered protocol family 2 IP route cache hash table entries: 16384 (order: 4, 65536 bytes) TCP established hash table entries: 65536 (order: 7, 524288 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 65536 bind 65536) TCP reno registered NET: Registered protocol family 1 JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. JFS: nTxBlock = 4012, nTxLock = 32100 msgmni has been set to 1003 alg: No test for stdrng (krng) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A console [ttyS0] enabled brd: module loaded loop: module loaded Driver 'sd' needs updating - please use bus_type methods MV-643xx 10/100/1000 ethernet driver version 1.4 mv643xx_eth smi: probed net eth0: port 0 with MAC address 00:50:43:01:d0:75 libertas_sdio: Libertas SDIO driver libertas_sdio: Copyright Pierre Ossman NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 1667 at 0x00000d060000 Bad eraseblock 1675 at 0x00000d160000 Bad eraseblock 1683 at 0x00000d260000 Bad eraseblock 1691 at 0x00000d360000 Bad eraseblock 1699 at 0x00000d460000 Bad eraseblock 1707 at 0x00000d560000 Bad eraseblock 1715 at 0x00000d660000 Bad eraseblock 1723 at 0x00000d760000 Bad eraseblock 3715 at 0x00001d060000 Bad eraseblock 3723 at 0x00001d160000 Bad eraseblock 3731 at 0x00001d260000 Bad eraseblock 3739 at 0x00001d360000 Bad eraseblock 3747 at 0x00001d460000 Bad eraseblock 3755 at 0x00001d560000 Bad eraseblock 3763 at 0x00001d660000 Bad eraseblock 3771 at 0x00001d760000 Creating 3 MTD partitions on "orion_nand": 0x000000000000-0x000000100000 : "u-boot" 0x000000100000-0x000000500000 : "uImage" 0x000000500000-0x000020000000 : "root" ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver orion-ehci orion-ehci.0: Marvell Orion EHCI orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1 orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000 orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver ums-datafab usbcore: registered new interface driver ums-freecom usbcore: registered new interface driver ums-jumpshot usbcore: registered new interface driver ums-sddr09 usbcore: registered new interface driver ums-sddr55 mice: PS/2 mouse device common for all mice rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0 i2c /dev entries driver cpuidle: using governor ladder cpuidle: using governor menu sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman mmc0: mvsdio driver initialized, lacking card detect (fall back to polling) Registered led device: plug:green:health mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) mv_xor mv_xor.2: Marvell XOR: ( xor cpy ) mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver oprofile: using timer interrupt. TCP cubic registered NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. lib80211: common routines for IEEE802.11 drivers rtc-mv rtc-mv: setting system clock to 2025-03-26 09:24:36 UTC (1742981076) mmc0: host does not support reading read-only switch. assuming write-enable. mmc0: new high speed SDHC card at address b368 mmcblk0: mmc0:b368 SDC 7.45 GiB mmcblk0: p1 IP-Config: Complete: device=eth0, addr=10.4.50.4, mask=255.255.255.0, gw=10.4.50.5, host=DB88FXX81, domain=, nis-domain=(none), bootserver=10.4.50.5, rootserver=10.4.50.5, rootpath= kjournald starting. Commit interval 5 seconds EXT3-fs warning: mounting fs with errors, running e2fsck is recommended EXT3 FS on mmcblk0p1, internal journal EXT3-fs: mounted filesystem with writeback data mode. VFS: Mounted root (ext3 filesystem) on device 179:1. Freeing init memory: 140K Warning: unable to open an initial console. Kernel panic - not syncing: No init found. Try passing init= option to kernel. [<c00309c0>] (unwind_backtrace+0x0/0xe0) from [<c003db50>] (panic+0x50/0x120) [<c003db50>] (panic+0x50/0x120) from [<c002b53c>] (init_post+0xd4/0xfc) [<c002b53c>] (init_post+0xd4/0xfc) from [<c0008738>] (kernel_init+0xc4/0xec) [<c0008738>] (kernel_init+0xc4/0xec) from [<c0040b3c>] (do_exit+0x0/0x6ac)
|
|
|
|
|
13
|
General Category / General Discussion / Re: Boot errors
|
on: September 10, 2010, 06:44:31 AM
|
|
I ran fsck on the card from my Ubuntu notebook. It detects and appears to resolve the problems, however, when I plug the sd card into the sheevaplug, I continue to get the same errors.
|
|
|
|
|
14
|
General Category / General Discussion / Boot errors
|
on: September 09, 2010, 09:05:57 PM
|
|
I had my sheevaplug boxed up for a few months, during a move, and now I'm getting all sorts of boot errors. I have the plug booting from an SD card. The data on the card appears to be all there and good. It boots up but nearly all commands fail. Here's an output of my boot sequence. Any sugguestions are appreciated.
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.30.4 Created: 2009-08-10 6:47:49 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2626008 Bytes = 2.5 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel. Linux version 2.6.30.4 (kelly@speedy) (gcc version 4.2.1) #2 PREEMPT Mon Aug 10 00:47:44 MDT 2009 CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: Marvell SheevaPlug Reference Board Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none NR_IRQS:114 PID hash table entries: 2048 (order: 11, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 256MB 256MB = 512MB total Memory: 513408KB available (4736K code, 998K data, 140K init, 0K highmem) SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 980 bytes NET: Registered protocol family 16 Kirkwood: MV88F6281-A0, TCLK=200000000. Feroceon L2: Enabling L2 Feroceon L2: Cache support initialised. Kirkwood: Gating clock using mask 0x1ac224 bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb cfg80211: Using static regulatory domain info cfg80211: Regulatory domain: US (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) cfg80211: Calling CRDA for country: US NET: Registered protocol family 2 IP route cache hash table entries: 16384 (order: 4, 65536 bytes) TCP established hash table entries: 65536 (order: 7, 524288 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 65536 bind 65536) TCP reno registered NET: Registered protocol family 1 JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. JFS: nTxBlock = 4012, nTxLock = 32100 msgmni has been set to 1003 alg: No test for stdrng (krng) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A console [ttyS0] enabled brd: module loaded loop: module loaded Driver 'sd' needs updating - please use bus_type methods MV-643xx 10/100/1000 ethernet driver version 1.4 mv643xx_eth smi: probed net eth0: port 0 with MAC address 00:50:43:01:d0:75 libertas_sdio: Libertas SDIO driver libertas_sdio: Copyright Pierre Ossman NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 1667 at 0x00000d060000 Bad eraseblock 1675 at 0x00000d160000 Bad eraseblock 1683 at 0x00000d260000 Bad eraseblock 1691 at 0x00000d360000 Bad eraseblock 1699 at 0x00000d460000 Bad eraseblock 1707 at 0x00000d560000 Bad eraseblock 1715 at 0x00000d660000 Bad eraseblock 1723 at 0x00000d760000 Bad eraseblock 3715 at 0x00001d060000 Bad eraseblock 3723 at 0x00001d160000 Bad eraseblock 3731 at 0x00001d260000 Bad eraseblock 3739 at 0x00001d360000 Bad eraseblock 3747 at 0x00001d460000 Bad eraseblock 3755 at 0x00001d560000 Bad eraseblock 3763 at 0x00001d660000 Bad eraseblock 3771 at 0x00001d760000 Creating 3 MTD partitions on "orion_nand": 0x000000000000-0x000000100000 : "u-boot" 0x000000100000-0x000000500000 : "uImage" 0x000000500000-0x000020000000 : "root" ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver orion-ehci orion-ehci.0: Marvell Orion EHCI orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1 orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000 orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver ums-datafab usbcore: registered new interface driver ums-freecom usbcore: registered new interface driver ums-jumpshot usbcore: registered new interface driver ums-sddr09 usbcore: registered new interface driver ums-sddr55 mice: PS/2 mouse device common for all mice rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0 i2c /dev entries driver cpuidle: using governor ladder cpuidle: using governor menu sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman mmc0: mvsdio driver initialized, lacking card detect (fall back to polling) Registered led device: plug:green:health mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) mv_xor mv_xor.2: Marvell XOR: ( xor cpy ) mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver oprofile: using timer interrupt. TCP cubic registered NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. lib80211: common routines for IEEE802.11 drivers rtc-mv rtc-mv: setting system clock to 2025-05-15 10:22:26 UTC (1747304546) mmc0: host does not support reading read-only switch. assuming write-enable. mmc0: new high speed SDHC card at address b368 mmcblk0: mmc0:b368 SDC 7.45 GiB mmcblk0: p1 IP-Config: Complete: device=eth0, addr=10.4.50.4, mask=255.255.255.0, gw=10.4.50.5, host=DB88FXX81, domain=, nis-domain=(none), bootserver=10.4.50.5, rootserver=10.4.50.5, rootpath= kjournald starting. Commit interval 5 seconds EXT3-fs warning: mounting fs with errors, running e2fsck is recommended EXT3 FS on mmcblk0p1, internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with writeback data mode. VFS: Mounted root (ext3 filesystem) on device 179:1. Freeing init memory: 140K EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 touch: error while loading shared libraries: /lib/libpthread.so.0: ELF file version does not match current one Filesystem type 'fusectl' is not supported. Skipping mount. (warning). touch: error while loading shared libraries: /lib/libpthread.so.0: ELF file version does not match current one touch: error while loading shared libraries: /lib/libpthread.so.0: ELF file version does not match current one EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 Setting preliminary keymap...done. EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 Starting kernel event manager.... Loading hardware drivers...EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 . EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 Loading kernel modules...Loading manual drivers...done. EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 Setting kernel variables (/etc/sysctl.conf)...done. Setting kernel variables (/etc/sysctl.d/10-console-messages.conf)...done. Setting kernel variables (/etc/sysctl.d/10-network-security.conf)...done. Setting kernel variables (/etc/sysctl.d/10-process-security.conf)...done. EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 Activating swap...done. EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 Starting early crypto disks...done. EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 Starting remaining crypto disks...done. EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 Checking file systems...fsck: error while loading shared libraries: /lib/libblkid.so.1: file too short fsck died with exit status 127 failed (code 127). File system check failed. A log is being saved in /var/log/fsck/checkfs if that location is writable. Please repair the file system manually. failed! A maintenance shell will now be started. CONTROL-D will terminate this shell and resume system boot. (warning). Give root password for maintenance (or type Control-D to continue): EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 Mounting local filesystems...failed. Activating swapfile swap...done. EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 find: error while loading shared libraries: /lib/libpthread.so.0: ELF file version does not match current one EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 touch: error while loading shared libraries: /lib/libpthread.so.0: ELF file version does not match cuEXT3-fs error (device mmcblk0p1): ext3_lookup: rrent one deleted inode referenced: 237245 Configuring network interfaces...done. EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 find: error while loading shared libraries: /lib/libpthread.so.0: ELF file version does not match cuEXT3-fs error (device mmcblk0p1): ext3_lookup: rrent one deleted inode referenced: 237245 Setting up console font and keymap...done. EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237244 EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237244 sudo: unable to resolve host debian nohup: appending output to `nohup.out' EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 find: error while loading shared libraries: /lib/libpthread.so.0: ELF file version does not match current one [: 63: Illegal number: EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 /etc/rcS.d/S70x11-common: 83: Syntax error: Unterminated quoted string EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 Starting system log daemon.../usr/bin/perl: error while loading shared libraries: /lib/libpthread.so.0: ELF file version does not match current one . EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 Starting kernel log daemon... Ubuntu 9.04 debian ttyS0
debian login: root Password: EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237241 Last login: Tue Mar 23 08:27:41 EDT 2010 from 192.168.1.107 on pts/0 EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237242 root@debian:~# ls -l ls: error while loading shared libraries: /lib/libpthread.so.0: ELF file version does not match current one root@debian:~# EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237245 EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237244 EXT3-fs error (device mmcblk0p1): ext3_lookup: deleted inode referenced: 237244
|
|
|
|
|