OUR NETWORK:TiVoCommunity TechLore MyOpenRouter Dijit Community MediaSmart Home See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 156136.0
June 10, 2009 02:34 PM

Categories: PogoPlug Development

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

bmrush10

Member
Joined: 06/10/2009

I'm trying to mount a jffs2 image onto /dev/mtd3, following the instructions found here:

 http://pogoplug.uservoice.com/pages/general/suggestions/129156-enable-ssh-login-

I can get all the way to the last step, following each step letter for letter, but then I get this error:

 #mount -t jffs2 /dev/mtdblock3 /mnt -o noatime

mount: mounting /dev/mtdblock3 on /mnt failed: Input/output error

I don't suppose it has anything to do with  other messages i get when flashing mtd3? When I run flash_eraseall -j /dev/mtd3, i get about 10 messages that look like this:

 Erasing 128 Kibyte @ d6c0000 -- 45% complete. Cleanmarker written at d6c0000.

Skipping bad block at 0x0d6e0000

Erasing 128 kibyte @ 12e6000 -- 63 % complete. Cleanmarker written at 12e60000.

Skipping bad block at 0x12e80000

etc, but it still seems to finish without any other complaints.

Could the fact that there are bad blocks be preventing the filesystem from being written there? I don't get any errors when nandwriting to it, so I thought it might be ok, but maybe not.

Also, if i do get it mounted, will I be able to put files there and have them stay after the system reboots? I managed to compile working binaries using a c++ cross compiler, but the only way i could get them to the Pogoplug was to stick them in the /tmp directory, which gets wiped when it reboots.

Thanks!

Discussion:    Add a Comment | Comments 1-4 of 4 | Latest Comment

June 12, 2009 9:37 PM

I was able to write a jffs2 file (it was the ubuntu file system) onto /dev/mtd3 and it mounted with:
mount -t jffs2 /dev/mtdblock3 /mnt -o noatime
I made a new directory /mnt/test
cd /mnt/test
echo hello > hello.txt
cd /
umount /mnt
reboot

After it rebooted, I mounted it again and hello.txt was still there.
Mounting was very slow.

Are you sure that your jffs2 file was good?

June 14, 2009 10:17 PM

I get the same error and can't get it to work.

July 22, 2009 4:32 PM

Ok, so I haven't had time to mess around with the Pogoplug recently, but iandb: nope, I'm not honestly sure that the file is good; is there a way to check? (I'm using Ubuntu also). Also, I don't suppose anyone has a copy of those directions that were at that url? It's a dead link now that just redirects me to uservoice's home page.

Also crimson, I tried running your script on OpenPogo, but it failed when it tried to mount /dev/mtdblock3. I think it's because I ran the flash_eraseall command on /dev/mtd3. You said you had the same error; how did you get it back in working order so your script works again?

July 23, 2009 10:41 AM

Yeah, I got that error but when I mounted it as it is in the script, everything went well and I got no error (even though technically, there should have been one).

With that being said, THE ABOVE IS NO LONGER NECESSARY! Just do "mount /dev/mtdblock3 /wherever" - no formatting needed!!!

Discussion:    Add a Comment | Comments 1-4 of 4 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window