Re: Latest Debian for Sheevaplug?
Thanks for the infos. At 18:09 25/03/2015, Björn Wetterbom wrote: You should start at http://cyrius.com/debian/kirkwood/sheevaplug/http://cyrius.com/debian/kirkwood/sheevaplug/ I think you'll find everything you need there. (Skickat från min telefon == Sent from my phone) -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150326110552.cbc37...@bendel.debian.org
Re: Latest Debian for Sheevaplug?
On Thu, 26 Mar 2015 13:30:01 +0100, Rick Thomas rbtho...@pobox.com wrote: Ive heard (but cant remember where, sadly) that this is *not* a sign of the mmcblk device wearing out. Its actually (according to my, possibly faulty, recollection) indicative of a difference in understanding between uboot and Linux as to what the partition table should look like for an mmcblk device. Whatever is doing the read is referring to an address beyond the end of the logical device because it thinks the logical device is bigger than it actually is. In any case, Ive been getting it on reboots for years and not had any difficulty. It only shows up on booting, not during actual run-time. Thanks for the tip. But I'm also getting errors when trying to upgrade the kernel after running apt-get update: # apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? Y Setting up linux-image-3.2.0-4-kirkwood (3.2.65-1+deb7u2) ... Running depmod. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-4-kirkwood /boot/vmlinuz-3.2.0-4-kirkwood update-initramfs: Generating /boot/initrd.img-3.2.0-4-kirkwood cp: reading `/sbin/udevd': Input/output error cp: failed to extend `/var/tmp/mkinitramfs_5dxt8L//sbin/udevd': Input/output error E: /usr/share/initramfs-tools/hooks/udev failed with return 1. update-initramfs: failed for /boot/initrd.img-3.2.0-4-kirkwood with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-4-kirkwood.postinst line 696. dpkg: error processing linux-image-3.2.0-4-kirkwood (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: linux-image-3.2.0-4-kirkwood E: Sub-process /usr/bin/dpkg returned an error code (1) Should I reboot, try again, reboot, and expect Debian to load the latest and greatest kernel? -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/v2v7hatffrbu2snddv8vsftqhse465p...@4ax.com
Re: Latest Debian for Sheevaplug?
I’ve heard (but can’t remember where, sadly) that this is *not* a sign of the mmcblk device wearing out. It’s actually (according to my, possibly faulty, recollection) indicative of a difference in understanding between uboot and Linux as to what the partition table should look like for an mmcblk device. Whatever is doing the read is referring to an address beyond the end of the logical device because it thinks the logical device is bigger than it actually is. In any case, I’ve been getting it on reboots for years and not had any difficulty. It only shows up on booting, not during actual run-time. Maybe somebody on the list can fill in the details? Hope this helps! Rick On Mar 25, 2015, at 2:47 PM, Gilles codecompl...@free.fr wrote: = # dmesg | tail [42113305.934129] mmcblk0: error -110 transferring data, sector 1230482, nr 6, cmd response 0x900, card status 0x0 [42113305.944295] end_request: I/O error, dev mmcblk0, sector 1230482 [42113306.123221] mmcblk0: error -110 transferring data, sector 1230480, nr 8, cmd response 0x900, card status 0xb00 [42113306.133560] mmcblk0: retrying using single block read [42113306.306724] mmcblk0: error -110 transferring data, sector 1230480, nr 8, cmd response 0x900, card status 0x0 [42113306.316885] end_request: I/O error, dev mmcblk0, sector 1230480 [42113306.490929] mmcblk0: error -110 transferring data, sector 1230481, nr 7, cmd response 0x900, card status 0x0 [42113306.501094] end_request: I/O error, dev mmcblk0, sector 1230481 [42113306.676773] mmcblk0: error -110 transferring data, sector 1230483, nr 5, cmd response 0x900, card status 0x0 [42113306.686937] end_request: I/O error, dev mmcblk0, sector 1230483 = -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/2665a39c-3e16-41cb-8a16-b3b0134d6...@pobox.com
Re: Latest Debian for Sheevaplug?
On Thu, 26 Mar 2015 15:20:03 +0100, Gilles codecompl...@free.fr wrote: Next, tried connecting with Debian and minicom, and then CuteCom, same issue: The Sheevaplug says nothing when rebooting the device :-/ For some reason, rebooting the device bricked it. Back in business after following the documents below to unbrick it, and install the latest Debian to a USB keydrive: http://hanixdiy.blogspot.fr/2013/12/how-to-unbrick-sheevaplug.html http://www.cyrius.com/debian/kirkwood/sheevaplug/install/ Between faulty PSUs and bricking, I'll investigate alternatives to the SheevaPlug before recommending it to others, though. Thank you. -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/8ii8hatur1v8drtmnkk9844iggg24ue...@4ax.com
Re: Latest Debian for Sheevaplug?
On Wed, 25 Mar 2015 18:00:03 +0100, Gilles codecompl...@free.fr wrote: I'm no expert and would like to upgrade a Sheevaplug to the latest stable release of Debian. I rebooted with a cable connecting my Windows host to the mini-USB port, but get nothing from the Sheevaplug, although the serial connection worked fine before rebooting. Next, tried connecting with Debian and minicom, and then CuteCom, same issue: The Sheevaplug says nothing when rebooting the device :-/ -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/e948ha9n89frinmiltsmspkl58omimc...@4ax.com
Re: Latest Debian for Sheevaplug?
Du schriebst am 26. Mar um 13:33 Uhr: But I'm also getting errors when trying to upgrade the kernel after running apt-get update: # apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? Y Setting up linux-image-3.2.0-4-kirkwood (3.2.65-1+deb7u2) ... Running depmod. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-4-kirkwood /boot/vmlinuz-3.2.0-4-kirkwood update-initramfs: Generating /boot/initrd.img-3.2.0-4-kirkwood cp: reading `/sbin/udevd': Input/output error ^^ cp: failed to extend `/var/tmp/mkinitramfs_5dxt8L//sbin/udevd': Input/output error E: /usr/share/initramfs-tools/hooks/udev failed with return 1. update-initramfs: failed for /boot/initrd.img-3.2.0-4-kirkwood with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-4-kirkwood.postinst line 696. dpkg: error processing linux-image-3.2.0-4-kirkwood (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: linux-image-3.2.0-4-kirkwood E: Sub-process /usr/bin/dpkg returned an error code (1) Should I reboot, try again, reboot, and expect Debian to load the latest and greatest kernel? try strace -o trace1 cp /sbin/udevd /dev/null and look into trace1 to see what might have gone wrong Christian -- http://cknoke.de -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150326140226.ga3...@leo.home.cknoke.de
Latest Debian for Sheevaplug?
Hello I'm no expert and would like to upgrade a Sheevaplug to the latest stable release of Debian. Sheevaplug manufacturer GlobalScale provides two files: Sheeva-Debian7-SW.rar sheevaplug_env.tar.rar http://globalscaletechnologies.com/download/ Should I go ahead with those files or are there better alternatives? Also, to minimize use of the NAND flash memory and the SD card, I'd like to keep /tmp and other temporary files in RAM. Is this OK? Thank you. -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/bgp5ha1mq2tsrub363ee03bvh92s09u...@4ax.com
Re: Latest Debian for Sheevaplug?
You should start at http://cyrius.com/debian/kirkwood/sheevaplug/ I think you'll find everything you need there. (Skickat från min telefon == Sent from my phone) On Mar 25, 2015 5:50 PM, Gilles codecompl...@free.fr wrote: Hello I'm no expert and would like to upgrade a Sheevaplug to the latest stable release of Debian. Sheevaplug manufacturer GlobalScale provides two files: Sheeva-Debian7-SW.rar sheevaplug_env.tar.rar http://globalscaletechnologies.com/download/ Should I go ahead with those files or are there better alternatives? Also, to minimize use of the NAND flash memory and the SD card, I'd like to keep /tmp and other temporary files in RAM. Is this OK? Thank you. -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/bgp5ha1mq2tsrub363ee03bvh92s09u...@4ax.com
RE: Latest Debian for Sheevaplug?
If your SheevaPlug is already running Debian and you simply want to upgrade it, you can upgrade to Debian 7 in-place. This requires a firmware upgrade to the SheevaPlug (in some cases) as the Debian 7 kernel isn't compatible with older versions of the SheevaPlug's boot loader. I just upgraded my two SheevaPlugs a few weeks ago. If you're installing from scratch, you should be able to use those GlobalScale files, or just get the install image from Debian directly (possibly safer). As for /tmp etc., you will extend the life of the SD card if you do that but I haven't had great problems with SD card life as long as you buy high-quality ones (cheap ones can be a problem though). Use the noatime option in /etc/fstab to disable file access date recording; that will reduce writing to the disk by avoiding writing to every file when it's read. Jim -Original Message- From: robo...@news.nic.it [mailto:robo...@news.nic.it] On Behalf Of Gilles Sent: March-25-15 10:48 AM To: debian-arm@lists.debian.org Subject: Latest Debian for Sheevaplug? Hello I'm no expert and would like to upgrade a Sheevaplug to the latest stable release of Debian. Sheevaplug manufacturer GlobalScale provides two files: Sheeva-Debian7-SW.rar sheevaplug_env.tar.rar http://globalscaletechnologies.com/download/ Should I go ahead with those files or are there better alternatives? Also, to minimize use of the NAND flash memory and the SD card, I'd like to keep /tmp and other temporary files in RAM. Is this OK? Thank you. -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/bgp5ha1mq2tsrub363ee03bvh92s09u...@4ax.com -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/043301d06734$43d7a270$cb86e750$@photojim.ca
Re: Latest Debian for Sheevaplug?
On Wed, 25 Mar 2015 21:00:03 +0100, Jim MacKenzie j...@photojim.ca wrote: If your SheevaPlug is already running Debian and you simply want to upgrade it, you can upgrade to Debian 7 in-place. This requires a firmware upgrade to the SheevaPlug (in some cases) as the Debian 7 kernel isn't compatible with older versions of the SheevaPlug's boot loader. I just upgraded my two SheevaPlugs a few weeks ago. I've been running Debian on that device for about a year, and would like to upgrade to the latest stable kernel, and also either move the whole thing from the SD card (where I think it's living) to the NAND, or replace the current SD card with a new one, since dmesg isn't happy: = # dmesg | tail [42113305.934129] mmcblk0: error -110 transferring data, sector 1230482, nr 6, cmd response 0x900, card status 0x0 [42113305.944295] end_request: I/O error, dev mmcblk0, sector 1230482 [42113306.123221] mmcblk0: error -110 transferring data, sector 1230480, nr 8, cmd response 0x900, card status 0xb00 [42113306.133560] mmcblk0: retrying using single block read [42113306.306724] mmcblk0: error -110 transferring data, sector 1230480, nr 8, cmd response 0x900, card status 0x0 [42113306.316885] end_request: I/O error, dev mmcblk0, sector 1230480 [42113306.490929] mmcblk0: error -110 transferring data, sector 1230481, nr 7, cmd response 0x900, card status 0x0 [42113306.501094] end_request: I/O error, dev mmcblk0, sector 1230481 [42113306.676773] mmcblk0: error -110 transferring data, sector 1230483, nr 5, cmd response 0x900, card status 0x0 [42113306.686937] end_request: I/O error, dev mmcblk0, sector 1230483 = How can I 1. Check what the NAND contains? I assume Uboot lives in the first block, and the other two are empty: = # cat /proc/mtd dev:size erasesize name mtd0: 0010 0002 u-boot mtd1: 0040 0002 uImage mtd2: 1fb0 0002 root = # mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=63463,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=51516k,mode=755) /dev/disk/by-uuid/b1767040-9366-43c0-9684-3a8ff83f6547 on / type ext4 (rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=146840k) /dev/mmcblk0p1 on /boot type ext2 (rw,relatime,errors=continue) = 2. Upgrade to the latest Debian, and replace the SD card? I was thinking of backing up user data to an other host, shutting it down, replacing the SD card, download a workable image through TFTP, perform a fresh install, and restore user files. As for /tmp etc., you will extend the life of the SD card if you do that but I haven't had great problems with SD card life as long as you buy high-quality ones (cheap ones can be a problem though). Use the noatime option in /etc/fstab to disable file access date recording; that will reduce writing to the disk by avoiding writing to every file when it's read. I'll check it out. Currently, /etc/fstab says this: = UUID=b1767040-9366-43c0-9684-3a8ff83f6547 / ext4 barrier=0,errors=remount-ro 0 1 # /boot was on /dev/mmcblk0p1 during installation UUID=45b3b845-431e-4278-b97d-6d61328171fb /boot ext2 defaults0 2 # swap was on /dev/mmcblk0p5 during installation UUID=36b91ac2-8b5f-4ec9-ac4b-4127407d8477 noneswapsw 0 0 = Thank you. -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/dta6ha52kv7c4p03t7qkstiv8jrnuu9...@4ax.com