• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Boot errors  (Read 2471 times)
rappa
Newbie
*

Karma: 0
Posts: 20


View Profile
« 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

Logged

rappa
Newbie
*

Karma: 0
Posts: 20


View Profile
« Reply #1 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.
Logged

birdman
Sr. Member
****

Karma: 4
Posts: 440


View Profile WWW
« Reply #2 on: September 10, 2010, 02:19:27 PM »

I ran fsck on the card from my Ubuntu notebook.  It detects and appears to resolve the problems,
Did you re-run fsck -f until no more errors appeared?
Quote
however, when I plug the sd card into the sheevaplug, I continue to get the same errors.
Are they the same, or just similar?  Is it still complaining about referencing deleted inode 237245.    Does it still start with:
Quote
EXT3-fs warning: mounting fs with errors, running e2fsck is recommended
Difficult to see why that would continue if the file-system has been fixed.

It looks as though you aren't booting off the SDHC card, but rather off NAND.  Perhaps that is corrupted in some way?
A boot from SDHC starts like this:
Quote
Hit any key to stop autoboot:  0
SDHC found. Card desciption is:
Manufacturer:       0x1e, OEM "AB"
Product name:       "SDC  ", revision 1.0
Serial number:      15767341
Manufacturing date: 8/2009
CRC:                0x00, b0 = 0
   
2796148 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.35.4
   Created:      2010-08-27   4:11:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2796084 Bytes =  2.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...
Logged

rappa
Newbie
*

Karma: 0
Posts: 20


View Profile
« Reply #3 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)



Logged

rappa
Newbie
*

Karma: 0
Posts: 20


View Profile
« Reply #4 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
Logged

rappa
Newbie
*

Karma: 0
Posts: 20


View Profile
« Reply #5 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.
Logged

rappa
Newbie
*

Karma: 0
Posts: 20


View Profile
« Reply #6 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_Environment

Everything 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.

Logged

birdman
Sr. Member
****

Karma: 4
Posts: 440


View Profile WWW
« Reply #7 on: September 11, 2010, 10:38:45 AM »

I ran fsck -f

and after about 1000 yes prompts,
There's a -y option to auto-answer yes all the time.
Quote
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.
Well - that's the problem.  Didn't that message mean anything to you?
To run fsck you have to unmount the file system.  Which for an SDHC card in a Plug (usually) means taking it out, attaching it to another Linux system and fsck'ing it there.
Logged

rappa
Newbie
*

Karma: 0
Posts: 20


View Profile
« Reply #8 on: September 11, 2010, 11:05:56 AM »

yes, of course I ran fsck on my notebook.. the plug doesn't even boot, which is sort of the problem I'm trying to remedy
Logged

birdman
Sr. Member
****

Karma: 4
Posts: 440


View Profile WWW
« Reply #9 on: September 12, 2010, 05:22:25 PM »

yes, of course I ran fsck on my notebook..
Then please explain the
Quote
/dev/sdb1 is mounted.

WARNING!!!  Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
message, and why you appeared to ignore it.
Logged

Pages: [1]
Print
Jump to: