Re: [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
Thanks for your help on this problem. This is fixed in firmware now, and should be in the next release. The Open Firmware disk partition handler was reporting success despite the NTFS filesystem not being supported. This led the boot process to try to load from the partition without any filesystem driver. This in turn led to boot failure. Now, when there is no support for a filesystem the disk will be skipped and the normal boot process will continue. Whoever has the XO-4 and an NTFS USB drive can test with the development firmware build mentioned in http://dev.laptop.org/ticket/12678#comment:3 On Tue, May 14, 2013 at 10:58:40AM -0700, Braddock wrote: > Hi James, > I flew home from the XS-CE hackathon yesterday so unfortunately no > longer have an XO-4 to test with. So I can't create you a > known-broken USB image of reasonable size. > > I formatted the 8GB USB stick to NTFS under Linux using gparted (so > mkfs.ntfs I presume). The fdisk -l is below. I did not touch or > add any files to the partition after formatting. > > The Seagate Wireless Plus USB harddrive which also had the boot > problem had an NTFS partition formatted at the factory, but was > later resized by me using gparted. > > sudo fdisk -l /dev/sdd > > Disk /dev/sdd: 8004 MB, 8004829184 bytes > 1 heads, 16 sectors/track, 977152 cylinders, total 15634432 sectors > Units = sectors of 1 * 512 = 512 bytes > Sector size (logical/physical): 512 bytes / 512 bytes > I/O size (minimum/optimal): 512 bytes / 512 bytes > Disk identifier: 0x000d606e > >Device Boot Start End Blocks Id System > /dev/sdd1204815634431 78161927 HPFS/NTFS/exFAT > > > On 05/13/2013 03:13 PM, James Cameron wrote: > >Thanks! > > > >I acknowledge the boot flag removal did nothing. This points me away > >from the part of Open Firmware that recognises that flag. > > > >I'm sure I can fix it as soon as I can duplicate the problem. But > >I've been unable to duplicate, possibly because I don't have the same > >NTFS software as you. > > > >I'd like to check the partitioning as well as the filesystem, because > >Open Firmware tries both in sequence. It might be reacting to the > >partition table rather than the filesystem. For that I will need a > >disk image, but as small as possible because I'm quite remote. > > > >Could you please pick the smallest USB available drive you have, (1) > >erase it thoroughly, (2) format it to NTFS in the way you usually do, > >without adding any files, then (3) prepare an image, (4) compress it > >with gzip or zip, (5) check that the USB drive does cause the problem > >still, and (6) provide me with a link to download? > > > >If anybody else has the time to do this, feel free to contribute. > > > >I've raised a ticket to track the problem: > >http://dev.laptop.org/ticket/12678 > > > >Some suggestions for capturing the image: > > > >1. to erase a USB drive thoroughly, using Open Firmware, > >see http://wiki.laptop.org/go/Forth_Lesson_23#erase_a_device > >or in Linux use "sudo cat /dev/zero > /dev/YOUR_DEVICE" where YOUR_DEVICE > >is the name that Linux has chosen for it, > > > >2. (no suggestion), > > > >3. to prepare an image on Linux, use "sudo cat /dev/YOUR_DEVICE > image", > > > >4. to compress, use "gzip image", > > > >5. checking it after making the image ensures that any changes made > >accidentally by Open Firmware are not included in the image, > > > >6. attaching the image to the ticket may be helpful if you don't have > >any public place to leave it. > > > >(and a comment, the support for NTFS in OLPC OS kernel is not > >pertinent to the problem I wish to solve.) > > > -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
Thanks, I was able to reproduce the symptom by following your guidance. The XO-4 recognises the partition type of 7, and decides to use an NTFS driver, but we have no driver, and we are not likely to write one at this stage. I have not yet found a way to solve the problem for the next release, but I have tested a couple of workarounds; 1. configuring the laptop to not look at the USB drive first, ok add-tag BD int:\boot\olpc.fth 2. moving the bootable flag to the Linux partition after the NTFS partition, when there are two partitions. On Tue, May 14, 2013 at 10:58:40AM -0700, Braddock wrote: > Hi James, > I flew home from the XS-CE hackathon yesterday so unfortunately no > longer have an XO-4 to test with. So I can't create you a > known-broken USB image of reasonable size. > > I formatted the 8GB USB stick to NTFS under Linux using gparted (so > mkfs.ntfs I presume). The fdisk -l is below. I did not touch or > add any files to the partition after formatting. > > The Seagate Wireless Plus USB harddrive which also had the boot > problem had an NTFS partition formatted at the factory, but was > later resized by me using gparted. > > sudo fdisk -l /dev/sdd > > Disk /dev/sdd: 8004 MB, 8004829184 bytes > 1 heads, 16 sectors/track, 977152 cylinders, total 15634432 sectors > Units = sectors of 1 * 512 = 512 bytes > Sector size (logical/physical): 512 bytes / 512 bytes > I/O size (minimum/optimal): 512 bytes / 512 bytes > Disk identifier: 0x000d606e > >Device Boot Start End Blocks Id System > /dev/sdd1204815634431 78161927 HPFS/NTFS/exFAT > > > On 05/13/2013 03:13 PM, James Cameron wrote: > >Thanks! > > > >I acknowledge the boot flag removal did nothing. This points me away > >from the part of Open Firmware that recognises that flag. > > > >I'm sure I can fix it as soon as I can duplicate the problem. But > >I've been unable to duplicate, possibly because I don't have the same > >NTFS software as you. > > > >I'd like to check the partitioning as well as the filesystem, because > >Open Firmware tries both in sequence. It might be reacting to the > >partition table rather than the filesystem. For that I will need a > >disk image, but as small as possible because I'm quite remote. > > > >Could you please pick the smallest USB available drive you have, (1) > >erase it thoroughly, (2) format it to NTFS in the way you usually do, > >without adding any files, then (3) prepare an image, (4) compress it > >with gzip or zip, (5) check that the USB drive does cause the problem > >still, and (6) provide me with a link to download? > > > >If anybody else has the time to do this, feel free to contribute. > > > >I've raised a ticket to track the problem: > >http://dev.laptop.org/ticket/12678 > > > >Some suggestions for capturing the image: > > > >1. to erase a USB drive thoroughly, using Open Firmware, > >see http://wiki.laptop.org/go/Forth_Lesson_23#erase_a_device > >or in Linux use "sudo cat /dev/zero > /dev/YOUR_DEVICE" where YOUR_DEVICE > >is the name that Linux has chosen for it, > > > >2. (no suggestion), > > > >3. to prepare an image on Linux, use "sudo cat /dev/YOUR_DEVICE > image", > > > >4. to compress, use "gzip image", > > > >5. checking it after making the image ensures that any changes made > >accidentally by Open Firmware are not included in the image, > > > >6. attaching the image to the ticket may be helpful if you don't have > >any public place to leave it. > > > >(and a comment, the support for NTFS in OLPC OS kernel is not > >pertinent to the problem I wish to solve.) > > > -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
Hi James, I flew home from the XS-CE hackathon yesterday so unfortunately no longer have an XO-4 to test with. So I can't create you a known-broken USB image of reasonable size. I formatted the 8GB USB stick to NTFS under Linux using gparted (so mkfs.ntfs I presume). The fdisk -l is below. I did not touch or add any files to the partition after formatting. The Seagate Wireless Plus USB harddrive which also had the boot problem had an NTFS partition formatted at the factory, but was later resized by me using gparted. sudo fdisk -l /dev/sdd Disk /dev/sdd: 8004 MB, 8004829184 bytes 1 heads, 16 sectors/track, 977152 cylinders, total 15634432 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000d606e Device Boot Start End Blocks Id System /dev/sdd1204815634431 78161927 HPFS/NTFS/exFAT On 05/13/2013 03:13 PM, James Cameron wrote: Thanks! I acknowledge the boot flag removal did nothing. This points me away from the part of Open Firmware that recognises that flag. I'm sure I can fix it as soon as I can duplicate the problem. But I've been unable to duplicate, possibly because I don't have the same NTFS software as you. I'd like to check the partitioning as well as the filesystem, because Open Firmware tries both in sequence. It might be reacting to the partition table rather than the filesystem. For that I will need a disk image, but as small as possible because I'm quite remote. Could you please pick the smallest USB available drive you have, (1) erase it thoroughly, (2) format it to NTFS in the way you usually do, without adding any files, then (3) prepare an image, (4) compress it with gzip or zip, (5) check that the USB drive does cause the problem still, and (6) provide me with a link to download? If anybody else has the time to do this, feel free to contribute. I've raised a ticket to track the problem: http://dev.laptop.org/ticket/12678 Some suggestions for capturing the image: 1. to erase a USB drive thoroughly, using Open Firmware, see http://wiki.laptop.org/go/Forth_Lesson_23#erase_a_device or in Linux use "sudo cat /dev/zero > /dev/YOUR_DEVICE" where YOUR_DEVICE is the name that Linux has chosen for it, 2. (no suggestion), 3. to prepare an image on Linux, use "sudo cat /dev/YOUR_DEVICE > image", 4. to compress, use "gzip image", 5. checking it after making the image ensures that any changes made accidentally by Open Firmware are not included in the image, 6. attaching the image to the ticket may be helpful if you don't have any public place to leave it. (and a comment, the support for NTFS in OLPC OS kernel is not pertinent to the problem I wish to solve.) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
Hi James I'm using OpenFirmware Q7B26 EC Firmware 0.4.03 I have tried turning the "boot" flag off on the NTFS partition, but it still dumps me to the OpenFirmware ok prompt. I can reproduce the problem by formatting a USB stick to NTFS and trying to boot with it plugged in. So it is reacting badly to the mere presence of NTFS on USB media. -braddock On 05/12/2013 03:40 PM, James Cameron wrote: On Sat, May 11, 2013 at 03:44:18PM -0400, Holt wrote: Is there a way to boot a large USB hard drive attached to an XO? At our XS Community Sprint this week outside Toronto, we've been unable to boot XOs with the 700+ GB drive(s) containing very polished open content provided by http://internet-in-a-box.org The XOs (eg. XO-4 etc) refuse to auto-boot, leaving the screen at the OK prompt. FYI our 1TB disk is a nearly complete snapshot of: * Wikipedia-in-41-languages, thumbnails for most all images * OpenStreetMap for the whole world cached at all zoom levels for fast display * Gutenberg Prjct's full collection of 40,000+ books, images * Khan Academy's ~4000 video classes, etc Does firmware currently block the mounting of all large USB drives -- NTFS in this case if not other filesystems? Open Firmware tries the first partition that is marked bootable. Exactly what it does next depends on the firmware version, but clearly in your case it stops booting. Might there be a workaround so isolated XO servers in Haiti (etc!) can hopefully auto-boot with this quality free content? Turn off the bootable flag using a partitioning program, ensure you are using latest firmware Q7B30, and attach a serial console for further debugging. If you can tell me how to reproduce the symptom, then I'm quite sure I can get it fixed. I certainly can't afford to download 700 GB or 1 TB to do that though. I'm happy to work with whoever has the drive and an XO-4. The nature and value of the content has no relationship to the diagnosis process, but is interesting regardless. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
On Tue, May 14, 2013 at 10:45:36AM -0500, Jerry Vonau wrote: > On Sat, 2013-05-11 at 12:58 -0700, Braddock wrote: > > On 05/11/2013 12:44 PM, Holt wrote: > > > Is there a way to boot a large USB hard drive attached to an XO? > > > > Further detail on the trouble drive. > > [...] > > # fdisk -l /dev/sda > > > > Disk /dev/sda: 1000.2 GB, 1000204885504 bytes, 1953525167 sectors > > Units = sectors of 1 * 512 = 512 bytes > > Sector size (logical/physical): 512 bytes / 512 bytes > > I/O size (minimum/optimal): 512 bytes / 512 bytes > > Disk identifier: 0x6f44561a > > > > Device Boot Start End Blocks Id System > > /dev/sda1 *2048 8193149 40955517 HPFS/NTFS/exFAT > > /dev/sda2 8193150 1953520064 972663457+ 83 Linux > > With James' earlier comment about OFW booting a partition that has been > flagged as bootable, perhaps setting the second partition as bootable > will correct this issue. Thanks Jerry. Yes, it will. Open Firmware is trying to open the file u:\boot\olpc.fth ... which is a file specification without a partition number, therefore it will choose either the first partition with a bootable flag, or if there are no such partitions it will use the first partition. So my earlier advice to remove the bootable flag was incomplete; I should have suggested moving the bootable flag away from the NTFS partition onto the Linux partition. If the XO is secured, it should proceed normally. In the absence of the fix to the bootable flag on the partition, an unsecured XO can use a special configuration setting as a semi-permanent workaround: ok add-tag BD int:\boot\olpc.fth This directs the unsecured boot process to begin with the internal storage, ignoring any external USB device or SD card. It does not affect secured boot, so the four-finger install method will still work. #12678 updated. -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
On Sat, 2013-05-11 at 12:58 -0700, Braddock wrote: > On 05/11/2013 12:44 PM, Holt wrote: > > Is there a way to boot a large USB hard drive attached to an XO? > > Further detail on the trouble drive. > > This is a 1TB Seagate Wireless Plus connected via USB. It mounts > correctly when the XO is booted, but if it is connected when the XO is > powered on or rebooted, the XO drops to a firmware "OK" prompt. > > I wonder if it could be because the first partition has a boot flag set? > > > # fdisk -l /dev/sda > > Disk /dev/sda: 1000.2 GB, 1000204885504 bytes, 1953525167 sectors > Units = sectors of 1 * 512 = 512 bytes > Sector size (logical/physical): 512 bytes / 512 bytes > I/O size (minimum/optimal): 512 bytes / 512 bytes > Disk identifier: 0x6f44561a > > Device Boot Start End Blocks Id System > /dev/sda1 *2048 8193149 40955517 HPFS/NTFS/exFAT > /dev/sda2 8193150 1953520064 972663457+ 83 Linux > > With James' earlier comment about OFW booting a partition that has been flagged as bootable, perhaps setting the second partition as bootable will correct this issue. Jerry > Another volunteer has an external USB drive here which DOES work correctly. > > Thanks, > Braddock Gaskill > > > > At our XS Community Sprint this week outside Toronto, we've been > > unable to boot XOs with the 700+ GB drive(s) containing very polished > > open content provided by http://internet-in-a-box.org > > The XOs (eg. XO-4 etc) refuse to auto-boot, leaving the screen at the > > OK prompt. > > > > FYI our 1TB disk is a nearly complete snapshot of: > > * Wikipedia-in-41-languages, thumbnails for most all images > > * OpenStreetMap for the whole world cached at all zoom levels for fast > > display > > * Gutenberg Prjct's full collection of 40,000+ books, images > > * Khan Academy's ~4000 video classes, etc > > > > Does firmware currently block the mounting of all large USB drives -- > > NTFS in this case if not other filesystems? > > Might there be a workaround so isolated XO servers in Haiti (etc!) can > > hopefully auto-boot with this quality free content? > > Cheers! > > > > -- > > Help kids everywhere map their world, at http://olpcMAP.net ! > > > > ___ > > Server-devel mailing list > > server-de...@lists.laptop.org > > http://lists.laptop.org/listinfo/server-devel > > ___ > Server-devel mailing list > server-de...@lists.laptop.org > http://lists.laptop.org/listinfo/server-devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
Thanks! I acknowledge the boot flag removal did nothing. This points me away from the part of Open Firmware that recognises that flag. I'm sure I can fix it as soon as I can duplicate the problem. But I've been unable to duplicate, possibly because I don't have the same NTFS software as you. I'd like to check the partitioning as well as the filesystem, because Open Firmware tries both in sequence. It might be reacting to the partition table rather than the filesystem. For that I will need a disk image, but as small as possible because I'm quite remote. Could you please pick the smallest USB available drive you have, (1) erase it thoroughly, (2) format it to NTFS in the way you usually do, without adding any files, then (3) prepare an image, (4) compress it with gzip or zip, (5) check that the USB drive does cause the problem still, and (6) provide me with a link to download? If anybody else has the time to do this, feel free to contribute. I've raised a ticket to track the problem: http://dev.laptop.org/ticket/12678 Some suggestions for capturing the image: 1. to erase a USB drive thoroughly, using Open Firmware, see http://wiki.laptop.org/go/Forth_Lesson_23#erase_a_device or in Linux use "sudo cat /dev/zero > /dev/YOUR_DEVICE" where YOUR_DEVICE is the name that Linux has chosen for it, 2. (no suggestion), 3. to prepare an image on Linux, use "sudo cat /dev/YOUR_DEVICE > image", 4. to compress, use "gzip image", 5. checking it after making the image ensures that any changes made accidentally by Open Firmware are not included in the image, 6. attaching the image to the ticket may be helpful if you don't have any public place to leave it. (and a comment, the support for NTFS in OLPC OS kernel is not pertinent to the problem I wish to solve.) -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [support-gang] [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
On May 13, 2013 10:32 AM, "Yioryos Asprobounitis" wrote: > > OLPC kernels do *not* support NTFS (# CONFIG_NTFS_FS is not set). > It either should be activated in future builds or use another FS. > I believe tha FAT32 (VFAT) can handle big drives and is universal. > However it has a number of other problems that may not suit your needs (reliability, permissions etc) > Why not UDF? ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [support-gang] [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
On Mon, May 13, 2013 at 11:58 AM, Holt wrote: > On 5/13/2013 10:45 AM, Gonzalo Odiard wrote: > > Why? Can't be in a script? > > > We can't run a script if we cannot boot =) > > (Due to firmware incompatibility w/ NTFS USB drives, forcing us to the > http://wiki.laptop.org/go/Ok prompt, preventing auto-boot) > > > Of course :) That need be solved. > Gonzalo > > > On Mon, May 13, 2013 at 11:43 AM, Holt wrote: > >> Indeed...but this is not an option as the XS=XO+TB needs to auto-boot >> after "daily" power failures in the developing world :) >> >> >> On 5/13/2013 9:53 AM, Samuel Greenfeld wrote: >> >> NTFS is supported in OLPC builds, just not by the OS Kernel itself. >> >> The ntfs-3g "filesystem in userspace" package can be used to mount NTFS >> drives. So you should be able to use a command like "mount -t ntfs-3g >> /dev/ntfs_partition /mnt/mountpoint" if Sugar or GNOME do not automatically >> mount the filesystem for you. >> >> In general many Linux distributions seem to currently consider using >> ntfs-3g a better approach than using the kernel driver. The in-kernel >> driver still may not have full NTFS write support, while ntfs-3g does. >> >> >> >> On Mon, May 13, 2013 at 9:32 AM, Yioryos Asprobounitis < >> mavrot...@yahoo.com> wrote: >> >>> OLPC kernels do *not* support NTFS (# CONFIG_NTFS_FS is not set). >>> It either should be activated in future builds or use another FS. >>> I believe tha FAT32 (VFAT) can handle big drives and is universal. >>> However it has a number of other problems that may not suit your needs >>> (reliability, permissions etc) >>> >>> >>> --- On Mon, 5/13/13, Braddock wrote: >>> >>> > From: Braddock >>> > Subject: Re: [support-gang] [Server-devel] 1TB drive of quality open >>> content on XO/XS--won't boot >>> > To: "James Cameron" , "Holt" , "XS >>> Devel" , "Support Gangsters" < >>> support-g...@laptop.org>, "Devel's in the Details" < >>> devel@lists.laptop.org> >>> > Date: Monday, May 13, 2013, 8:02 AM >>> > Hi James >>> > I'm using OpenFirmware Q7B26 EC Firmware 0.4.03 >>> > >>> > I have tried turning the "boot" flag off on the NTFS >>> > partition, but it >>> > still dumps me to the OpenFirmware ok prompt. >>> > >>> > I can reproduce the problem by formatting a USB stick to >>> > NTFS and trying >>> > to boot with it plugged in. >>> > >>> > So it is reacting badly to the mere presence of NTFS on USB >>> > media. >>> > >>> > -braddock >>> > >>> > On 05/12/2013 03:40 PM, James Cameron wrote: >>> > > On Sat, May 11, 2013 at 03:44:18PM -0400, Holt wrote: >>> > >> Is there a way to boot a large USB hard drive >>> > attached to an XO? >>> > >> At our XS Community Sprint this week outside >>> > Toronto, we've been >>> > >> unable to boot XOs with the 700+ GB drive(s) >>> > containing very >>> > >> polished open content provided by http://internet-in-a-box.org >>> > >> The XOs (eg. XO-4 etc) refuse to auto-boot, leaving >>> > the screen at >>> > >> the OK prompt. >>> > >> >>> > >> FYI our 1TB disk is a nearly complete snapshot of: >>> > >> * Wikipedia-in-41-languages, thumbnails for most >>> > all images >>> > >> * OpenStreetMap for the whole world cached at all >>> > zoom levels for >>> > >> fast display >>> > >> * Gutenberg Prjct's full collection of 40,000+ >>> > books, images >>> > >> * Khan Academy's ~4000 video classes, etc >>> > >> >>> > >> Does firmware currently block the mounting of all >>> > large USB drives >>> > >> -- NTFS in this case if not other filesystems? >>> > > Open Firmware tries the first partition that is marked >>> > bootable. >>> > > >>> > > Exactly what it does next depends on the firmware >>> > version, but clearly >>> > > in your case it stops booting. >>> > > >>> > >> Might there be a workaround so isolated XO servers >>> >
Re: [support-gang] [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
On 5/13/2013 10:45 AM, Gonzalo Odiard wrote: Why? Can't be in a script? We can't run a script if we cannot boot =) (Due to firmware incompatibility w/ NTFS USB drives, forcing us to the http://wiki.laptop.org/go/Ok prompt, preventing auto-boot) Gonzalo On Mon, May 13, 2013 at 11:43 AM, Holt <mailto:h...@laptop.org>> wrote: Indeed...but this is not an option as the XS=XO+TB needs to auto-boot after "daily" power failures in the developing world :) On 5/13/2013 9:53 AM, Samuel Greenfeld wrote: NTFS is supported in OLPC builds, just not by the OS Kernel itself. The ntfs-3g "filesystem in userspace" package can be used to mount NTFS drives. So you should be able to use a command like "mount -t ntfs-3g /dev/ntfs_partition /mnt/mountpoint" if Sugar or GNOME do not automatically mount the filesystem for you. In general many Linux distributions seem to currently consider using ntfs-3g a better approach than using the kernel driver. The in-kernel driver still may not have full NTFS write support, while ntfs-3g does. On Mon, May 13, 2013 at 9:32 AM, Yioryos Asprobounitis mailto:mavrot...@yahoo.com>> wrote: OLPC kernels do *not* support NTFS (# CONFIG_NTFS_FS is not set). It either should be activated in future builds or use another FS. I believe tha FAT32 (VFAT) can handle big drives and is universal. However it has a number of other problems that may not suit your needs (reliability, permissions etc) --- On Mon, 5/13/13, Braddock mailto:bradd...@braddock.com>> wrote: > From: Braddock mailto:bradd...@braddock.com>> > Subject: Re: [support-gang] [Server-devel] 1TB drive of quality open content on XO/XS--won't boot > To: "James Cameron" mailto:qu...@laptop.org>>, "Holt" mailto:h...@laptop.org>>, "XS Devel" mailto:server-de...@lists.laptop.org>>, "Support Gangsters" mailto:support-g...@laptop.org>>, "Devel's in the Details" mailto:devel@lists.laptop.org>> > Date: Monday, May 13, 2013, 8:02 AM > Hi James > I'm using OpenFirmware Q7B26 EC Firmware 0.4.03 > > I have tried turning the "boot" flag off on the NTFS > partition, but it > still dumps me to the OpenFirmware ok prompt. > > I can reproduce the problem by formatting a USB stick to > NTFS and trying > to boot with it plugged in. > > So it is reacting badly to the mere presence of NTFS on USB > media. > > -braddock > > On 05/12/2013 03:40 PM, James Cameron wrote: > > On Sat, May 11, 2013 at 03:44:18PM -0400, Holt wrote: > >> Is there a way to boot a large USB hard drive > attached to an XO? > >> At our XS Community Sprint this week outside > Toronto, we've been > >> unable to boot XOs with the 700+ GB drive(s) > containing very > >> polished open content provided by http://internet-in-a-box.org > >> The XOs (eg. XO-4 etc) refuse to auto-boot, leaving > the screen at > >> the OK prompt. > >> > >> FYI our 1TB disk is a nearly complete snapshot of: > >> * Wikipedia-in-41-languages, thumbnails for most > all images > >> * OpenStreetMap for the whole world cached at all > zoom levels for > >> fast display > >> * Gutenberg Prjct's full collection of 40,000+ > books, images > >> * Khan Academy's ~4000 video classes, etc > >> > >> Does firmware currently block the mounting of all > large USB drives > >> -- NTFS in this case if not other filesystems? > > Open Firmware tries the first partition that is marked > bootable. > > > > Exactly what it does next depends on the firmware > version, but clearly > > in your case it stops booting. > > > >> Might there be a workaround so isolated XO servers > in Haiti (etc!) > >> can hopefully auto-boot with this quality free > content? > > Turn off the bootable flag using a partitioning > program, ensure you > > are using latest firmware Q7B30, and attach a serial > console for > > further debugging. > > > > If you can tell me how to reproduce th
Re: [support-gang] [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
Why? Can't be in a script? Gonzalo On Mon, May 13, 2013 at 11:43 AM, Holt wrote: > Indeed...but this is not an option as the XS=XO+TB needs to auto-boot > after "daily" power failures in the developing world :) > > > On 5/13/2013 9:53 AM, Samuel Greenfeld wrote: > > NTFS is supported in OLPC builds, just not by the OS Kernel itself. > > The ntfs-3g "filesystem in userspace" package can be used to mount NTFS > drives. So you should be able to use a command like "mount -t ntfs-3g > /dev/ntfs_partition /mnt/mountpoint" if Sugar or GNOME do not automatically > mount the filesystem for you. > > In general many Linux distributions seem to currently consider using > ntfs-3g a better approach than using the kernel driver. The in-kernel > driver still may not have full NTFS write support, while ntfs-3g does. > > > > On Mon, May 13, 2013 at 9:32 AM, Yioryos Asprobounitis < > mavrot...@yahoo.com> wrote: > >> OLPC kernels do *not* support NTFS (# CONFIG_NTFS_FS is not set). >> It either should be activated in future builds or use another FS. >> I believe tha FAT32 (VFAT) can handle big drives and is universal. >> However it has a number of other problems that may not suit your needs >> (reliability, permissions etc) >> >> >> --- On Mon, 5/13/13, Braddock wrote: >> >> > From: Braddock >> > Subject: Re: [support-gang] [Server-devel] 1TB drive of quality open >> content on XO/XS--won't boot >> > To: "James Cameron" , "Holt" , "XS >> Devel" , "Support Gangsters" < >> support-g...@laptop.org>, "Devel's in the Details" < >> devel@lists.laptop.org> >> > Date: Monday, May 13, 2013, 8:02 AM >> > Hi James >> > I'm using OpenFirmware Q7B26 EC Firmware 0.4.03 >> > >> > I have tried turning the "boot" flag off on the NTFS >> > partition, but it >> > still dumps me to the OpenFirmware ok prompt. >> > >> > I can reproduce the problem by formatting a USB stick to >> > NTFS and trying >> > to boot with it plugged in. >> > >> > So it is reacting badly to the mere presence of NTFS on USB >> > media. >> > >> > -braddock >> > >> > On 05/12/2013 03:40 PM, James Cameron wrote: >> > > On Sat, May 11, 2013 at 03:44:18PM -0400, Holt wrote: >> > >> Is there a way to boot a large USB hard drive >> > attached to an XO? >> > >> At our XS Community Sprint this week outside >> > Toronto, we've been >> > >> unable to boot XOs with the 700+ GB drive(s) >> > containing very >> > >> polished open content provided by http://internet-in-a-box.org >> > >> The XOs (eg. XO-4 etc) refuse to auto-boot, leaving >> > the screen at >> > >> the OK prompt. >> > >> >> > >> FYI our 1TB disk is a nearly complete snapshot of: >> > >> * Wikipedia-in-41-languages, thumbnails for most >> > all images >> > >> * OpenStreetMap for the whole world cached at all >> > zoom levels for >> > >> fast display >> > >> * Gutenberg Prjct's full collection of 40,000+ >> > books, images >> > >> * Khan Academy's ~4000 video classes, etc >> > >> >> > >> Does firmware currently block the mounting of all >> > large USB drives >> > >> -- NTFS in this case if not other filesystems? >> > > Open Firmware tries the first partition that is marked >> > bootable. >> > > >> > > Exactly what it does next depends on the firmware >> > version, but clearly >> > > in your case it stops booting. >> > > >> > >> Might there be a workaround so isolated XO servers >> > in Haiti (etc!) >> > >> can hopefully auto-boot with this quality free >> > content? >> > > Turn off the bootable flag using a partitioning >> > program, ensure you >> > > are using latest firmware Q7B30, and attach a serial >> > console for >> > > further debugging. >> > > >> > > If you can tell me how to reproduce the symptom, then >> > I'm quite sure I >> > > can get it fixed. I certainly can't afford to >> > download 700 GB or 1 TB >> > > to do that though. >> > > >> > > I'm happy to work with whoever has the drive and an >> > XO-4. >> > > >> > > The nature and value of the content has no relationship >> > to the >> > > diagnosis process, but is interesting regardless. >> > > >> > >> > ___ >> > support-gang mailing list >> > support-g...@lists.laptop.org >> > http://lists.laptop.org/listinfo/support-gang >> > >> ___ >> support-gang mailing list >> support-g...@lists.laptop.org >> http://lists.laptop.org/listinfo/support-gang >> > > > -- > Help kids everywhere map their world, at http://olpcMAP.net ! > > > ___ > Devel mailing list > Devel@lists.laptop.org > http://lists.laptop.org/listinfo/devel > > ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [support-gang] [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
Indeed...but this is not an option as the XS=XO+TB needs to auto-boot after "daily" power failures in the developing world :) On 5/13/2013 9:53 AM, Samuel Greenfeld wrote: NTFS is supported in OLPC builds, just not by the OS Kernel itself. The ntfs-3g "filesystem in userspace" package can be used to mount NTFS drives. So you should be able to use a command like "mount -t ntfs-3g /dev/ntfs_partition /mnt/mountpoint" if Sugar or GNOME do not automatically mount the filesystem for you. In general many Linux distributions seem to currently consider using ntfs-3g a better approach than using the kernel driver. The in-kernel driver still may not have full NTFS write support, while ntfs-3g does. On Mon, May 13, 2013 at 9:32 AM, Yioryos Asprobounitis mailto:mavrot...@yahoo.com>> wrote: OLPC kernels do *not* support NTFS (# CONFIG_NTFS_FS is not set). It either should be activated in future builds or use another FS. I believe tha FAT32 (VFAT) can handle big drives and is universal. However it has a number of other problems that may not suit your needs (reliability, permissions etc) --- On Mon, 5/13/13, Braddock mailto:bradd...@braddock.com>> wrote: > From: Braddock mailto:bradd...@braddock.com>> > Subject: Re: [support-gang] [Server-devel] 1TB drive of quality open content on XO/XS--won't boot > To: "James Cameron" mailto:qu...@laptop.org>>, "Holt" mailto:h...@laptop.org>>, "XS Devel" mailto:server-de...@lists.laptop.org>>, "Support Gangsters" mailto:support-g...@laptop.org>>, "Devel's in the Details" mailto:devel@lists.laptop.org>> > Date: Monday, May 13, 2013, 8:02 AM > Hi James > I'm using OpenFirmware Q7B26 EC Firmware 0.4.03 > > I have tried turning the "boot" flag off on the NTFS > partition, but it > still dumps me to the OpenFirmware ok prompt. > > I can reproduce the problem by formatting a USB stick to > NTFS and trying > to boot with it plugged in. > > So it is reacting badly to the mere presence of NTFS on USB > media. > > -braddock > > On 05/12/2013 03:40 PM, James Cameron wrote: > > On Sat, May 11, 2013 at 03:44:18PM -0400, Holt wrote: > >> Is there a way to boot a large USB hard drive > attached to an XO? > >> At our XS Community Sprint this week outside > Toronto, we've been > >> unable to boot XOs with the 700+ GB drive(s) > containing very > >> polished open content provided by http://internet-in-a-box.org > >> The XOs (eg. XO-4 etc) refuse to auto-boot, leaving > the screen at > >> the OK prompt. > >> > >> FYI our 1TB disk is a nearly complete snapshot of: > >> * Wikipedia-in-41-languages, thumbnails for most > all images > >> * OpenStreetMap for the whole world cached at all > zoom levels for > >> fast display > >> * Gutenberg Prjct's full collection of 40,000+ > books, images > >> * Khan Academy's ~4000 video classes, etc > >> > >> Does firmware currently block the mounting of all > large USB drives > >> -- NTFS in this case if not other filesystems? > > Open Firmware tries the first partition that is marked > bootable. > > > > Exactly what it does next depends on the firmware > version, but clearly > > in your case it stops booting. > > > >> Might there be a workaround so isolated XO servers > in Haiti (etc!) > >> can hopefully auto-boot with this quality free > content? > > Turn off the bootable flag using a partitioning > program, ensure you > > are using latest firmware Q7B30, and attach a serial > console for > > further debugging. > > > > If you can tell me how to reproduce the symptom, then > I'm quite sure I > > can get it fixed. I certainly can't afford to > download 700 GB or 1 TB > > to do that though. > > > > I'm happy to work with whoever has the drive and an > XO-4. > > > > The nature and value of the content has no relationship > to the > > diagnosis process, but is interesting regardless. > > > > ___ > support-gang mailing list > support-g...@lists.laptop.org <mailto:support-g...@lists.laptop.org> > http://lists.laptop.org/listinfo/support-gang > ___ support-gang mailing list support-g...@lists.laptop.org <mailto:support-g...@lists.laptop.org> http://lists.laptop.org/listinfo/support-gang -- Help kids everywhere map their world, at http://olpcMAP.net ! ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [support-gang] [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
NTFS is supported in OLPC builds, just not by the OS Kernel itself. The ntfs-3g "filesystem in userspace" package can be used to mount NTFS drives. So you should be able to use a command like "mount -t ntfs-3g /dev/ntfs_partition /mnt/mountpoint" if Sugar or GNOME do not automatically mount the filesystem for you. In general many Linux distributions seem to currently consider using ntfs-3g a better approach than using the kernel driver. The in-kernel driver still may not have full NTFS write support, while ntfs-3g does. On Mon, May 13, 2013 at 9:32 AM, Yioryos Asprobounitis wrote: > OLPC kernels do *not* support NTFS (# CONFIG_NTFS_FS is not set). > It either should be activated in future builds or use another FS. > I believe tha FAT32 (VFAT) can handle big drives and is universal. > However it has a number of other problems that may not suit your needs > (reliability, permissions etc) > > > --- On Mon, 5/13/13, Braddock wrote: > > > From: Braddock > > Subject: Re: [support-gang] [Server-devel] 1TB drive of quality open > content on XO/XS--won't boot > > To: "James Cameron" , "Holt" , "XS > Devel" , "Support Gangsters" < > support-g...@laptop.org>, "Devel's in the Details" > > > Date: Monday, May 13, 2013, 8:02 AM > > Hi James > > I'm using OpenFirmware Q7B26 EC Firmware 0.4.03 > > > > I have tried turning the "boot" flag off on the NTFS > > partition, but it > > still dumps me to the OpenFirmware ok prompt. > > > > I can reproduce the problem by formatting a USB stick to > > NTFS and trying > > to boot with it plugged in. > > > > So it is reacting badly to the mere presence of NTFS on USB > > media. > > > > -braddock > > > > On 05/12/2013 03:40 PM, James Cameron wrote: > > > On Sat, May 11, 2013 at 03:44:18PM -0400, Holt wrote: > > >> Is there a way to boot a large USB hard drive > > attached to an XO? > > >> At our XS Community Sprint this week outside > > Toronto, we've been > > >> unable to boot XOs with the 700+ GB drive(s) > > containing very > > >> polished open content provided by http://internet-in-a-box.org > > >> The XOs (eg. XO-4 etc) refuse to auto-boot, leaving > > the screen at > > >> the OK prompt. > > >> > > >> FYI our 1TB disk is a nearly complete snapshot of: > > >> * Wikipedia-in-41-languages, thumbnails for most > > all images > > >> * OpenStreetMap for the whole world cached at all > > zoom levels for > > >> fast display > > >> * Gutenberg Prjct's full collection of 40,000+ > > books, images > > >> * Khan Academy's ~4000 video classes, etc > > >> > > >> Does firmware currently block the mounting of all > > large USB drives > > >> -- NTFS in this case if not other filesystems? > > > Open Firmware tries the first partition that is marked > > bootable. > > > > > > Exactly what it does next depends on the firmware > > version, but clearly > > > in your case it stops booting. > > > > > >> Might there be a workaround so isolated XO servers > > in Haiti (etc!) > > >> can hopefully auto-boot with this quality free > > content? > > > Turn off the bootable flag using a partitioning > > program, ensure you > > > are using latest firmware Q7B30, and attach a serial > > console for > > > further debugging. > > > > > > If you can tell me how to reproduce the symptom, then > > I'm quite sure I > > > can get it fixed. I certainly can't afford to > > download 700 GB or 1 TB > > > to do that though. > > > > > > I'm happy to work with whoever has the drive and an > > XO-4. > > > > > > The nature and value of the content has no relationship > > to the > > > diagnosis process, but is interesting regardless. > > > > > > > ___ > > support-gang mailing list > > support-g...@lists.laptop.org > > http://lists.laptop.org/listinfo/support-gang > > > ___ > support-gang mailing list > support-g...@lists.laptop.org > http://lists.laptop.org/listinfo/support-gang > ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [support-gang] [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
OLPC kernels do *not* support NTFS (# CONFIG_NTFS_FS is not set). It either should be activated in future builds or use another FS. I believe tha FAT32 (VFAT) can handle big drives and is universal. However it has a number of other problems that may not suit your needs (reliability, permissions etc) --- On Mon, 5/13/13, Braddock wrote: > From: Braddock > Subject: Re: [support-gang] [Server-devel] 1TB drive of quality open content > on XO/XS--won't boot > To: "James Cameron" , "Holt" , "XS Devel" > , "Support Gangsters" > , "Devel's in the Details" > Date: Monday, May 13, 2013, 8:02 AM > Hi James > I'm using OpenFirmware Q7B26 EC Firmware 0.4.03 > > I have tried turning the "boot" flag off on the NTFS > partition, but it > still dumps me to the OpenFirmware ok prompt. > > I can reproduce the problem by formatting a USB stick to > NTFS and trying > to boot with it plugged in. > > So it is reacting badly to the mere presence of NTFS on USB > media. > > -braddock > > On 05/12/2013 03:40 PM, James Cameron wrote: > > On Sat, May 11, 2013 at 03:44:18PM -0400, Holt wrote: > >> Is there a way to boot a large USB hard drive > attached to an XO? > >> At our XS Community Sprint this week outside > Toronto, we've been > >> unable to boot XOs with the 700+ GB drive(s) > containing very > >> polished open content provided by http://internet-in-a-box.org > >> The XOs (eg. XO-4 etc) refuse to auto-boot, leaving > the screen at > >> the OK prompt. > >> > >> FYI our 1TB disk is a nearly complete snapshot of: > >> * Wikipedia-in-41-languages, thumbnails for most > all images > >> * OpenStreetMap for the whole world cached at all > zoom levels for > >> fast display > >> * Gutenberg Prjct's full collection of 40,000+ > books, images > >> * Khan Academy's ~4000 video classes, etc > >> > >> Does firmware currently block the mounting of all > large USB drives > >> -- NTFS in this case if not other filesystems? > > Open Firmware tries the first partition that is marked > bootable. > > > > Exactly what it does next depends on the firmware > version, but clearly > > in your case it stops booting. > > > >> Might there be a workaround so isolated XO servers > in Haiti (etc!) > >> can hopefully auto-boot with this quality free > content? > > Turn off the bootable flag using a partitioning > program, ensure you > > are using latest firmware Q7B30, and attach a serial > console for > > further debugging. > > > > If you can tell me how to reproduce the symptom, then > I'm quite sure I > > can get it fixed. I certainly can't afford to > download 700 GB or 1 TB > > to do that though. > > > > I'm happy to work with whoever has the drive and an > XO-4. > > > > The nature and value of the content has no relationship > to the > > diagnosis process, but is interesting regardless. > > > > ___ > support-gang mailing list > support-g...@lists.laptop.org > http://lists.laptop.org/listinfo/support-gang > ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
Oh, that's a pity, I was hoping to fix the problem. On Mon, May 13, 2013 at 12:28:40AM -0400, Holt wrote: > Braddock will also try to convert his 1TB NTFS drive(s) to ext3 as a > workaround. Thanks so much James. > > On 5/12/2013 6:40 PM, James Cameron wrote: > >On Sat, May 11, 2013 at 03:44:18PM -0400, Holt wrote: > >>Is there a way to boot a large USB hard drive attached to an XO? > >>At our XS Community Sprint this week outside Toronto, we've been > >>unable to boot XOs with the 700+ GB drive(s) containing very > >>polished open content provided by http://internet-in-a-box.org > >>The XOs (eg. XO-4 etc) refuse to auto-boot, leaving the screen at > >>the OK prompt. > >> > >>FYI our 1TB disk is a nearly complete snapshot of: > >>* Wikipedia-in-41-languages, thumbnails for most all images > >>* OpenStreetMap for the whole world cached at all zoom levels for > >>fast display > >>* Gutenberg Prjct's full collection of 40,000+ books, images > >>* Khan Academy's ~4000 video classes, etc > >> > >>Does firmware currently block the mounting of all large USB drives > >>-- NTFS in this case if not other filesystems? > >Open Firmware tries the first partition that is marked bootable. > > > >Exactly what it does next depends on the firmware version, but clearly > >in your case it stops booting. > > > >>Might there be a workaround so isolated XO servers in Haiti (etc!) > >>can hopefully auto-boot with this quality free content? > >Turn off the bootable flag using a partitioning program, ensure you > >are using latest firmware Q7B30, and attach a serial console for > >further debugging. > > > >If you can tell me how to reproduce the symptom, then I'm quite sure I > >can get it fixed. I certainly can't afford to download 700 GB or 1 TB > >to do that though. > > > >I'm happy to work with whoever has the drive and an XO-4. > > > >The nature and value of the content has no relationship to the > >diagnosis process, but is interesting regardless. > > -- > Help kids everywhere map their world, at http://olpcMAP.net ! > > ___ > Server-devel mailing list > server-de...@lists.laptop.org > http://lists.laptop.org/listinfo/server-devel -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] 1TB drive of quality open content on XO/XS--won't boot
Braddock will also try to convert his 1TB NTFS drive(s) to ext3 as a workaround. Thanks so much James. On 5/12/2013 6:40 PM, James Cameron wrote: On Sat, May 11, 2013 at 03:44:18PM -0400, Holt wrote: Is there a way to boot a large USB hard drive attached to an XO? At our XS Community Sprint this week outside Toronto, we've been unable to boot XOs with the 700+ GB drive(s) containing very polished open content provided by http://internet-in-a-box.org The XOs (eg. XO-4 etc) refuse to auto-boot, leaving the screen at the OK prompt. FYI our 1TB disk is a nearly complete snapshot of: * Wikipedia-in-41-languages, thumbnails for most all images * OpenStreetMap for the whole world cached at all zoom levels for fast display * Gutenberg Prjct's full collection of 40,000+ books, images * Khan Academy's ~4000 video classes, etc Does firmware currently block the mounting of all large USB drives -- NTFS in this case if not other filesystems? Open Firmware tries the first partition that is marked bootable. Exactly what it does next depends on the firmware version, but clearly in your case it stops booting. Might there be a workaround so isolated XO servers in Haiti (etc!) can hopefully auto-boot with this quality free content? Turn off the bootable flag using a partitioning program, ensure you are using latest firmware Q7B30, and attach a serial console for further debugging. If you can tell me how to reproduce the symptom, then I'm quite sure I can get it fixed. I certainly can't afford to download 700 GB or 1 TB to do that though. I'm happy to work with whoever has the drive and an XO-4. The nature and value of the content has no relationship to the diagnosis process, but is interesting regardless. -- Help kids everywhere map their world, at http://olpcMAP.net ! ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel