[pkg-fso-maint] pkg-fso-maint Digest, Vol 7, Issue 20

jos jos at snepscheut.nl
Sun Feb 15 21:59:42 UTC 2009


Hi Steffen,

Today I tryed installing Debian om my SD-card running your script
"attachment.sh" (renamed it to install.sh om my FR) the image in flash
is Qtopia.
Unfortunatly not all worked out of the box, so I send you the output of
my tryings.

Hoping you can help me to get it done.

Thanks and greetings,

Jos vd Snepscheut

root at om-gta02:/# QI=TRUE WINDOW_MANAGER=FBPANEL install.sh all
Testing system setup
 * microSD card device: /dev/mmcblk0 present
 * wget installed
 * ping installed
 * fdisk installed
 * mount installed
 * umount installed
 * mkfs.ext2 installed
 * mkfs.ext3 installed
 * gunzip installed
 * dd installed
 * sed installed
 * rdate installed
 * network running
I: System setup looks good
Fetching time from ntp.fu-berlin.de with rdate
I: Time is now Sun Feb 15 22:22:13 CET 2009
Starting to partition the microSD card

***********
* WARNING *
***********

This will destroy all the data on the microSD card!!!

Press any key within 5 seconds to quit
1+0 records in
1+0 records out
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.


The number of cylinders for this disk is set to 60224.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (1-60224, default 1): Using
default value 1
Last cylinder or +size or +sizeM or +sizeK (1-60224, default 60224): 
Command (m for help): Selected partition 1
Hex code (type L to list codes): 
Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (246-60224, default 246): Using
default value 246
Last cylinder or +size or +sizeM or +sizeK (246-60224, default 60224):
Using default value 60224

Command (m for help): Partition number (1-4): Value is out of range
Partition number (1-4): Partition number (1-4): Partitioning was
successful.
 * Waiting for partitions to appear
E: Partitioning has failed, partitions have not been created


root at om-gta02:/# QI=true WINDOW_MANAGER=FBPANEL install.sh all
Testing system setup
 * microSD card device: /dev/mmcblk0 present
 * wget installed
 * ping installed
 * fdisk installed
 * mount installed
 * umount installed
 * mkfs.ext2 installed
 * mkfs.ext3 installed
 * gunzip installed
 * dd installed
 * sed installed
 * rdate installed
 * network running
I: System setup looks good
Fetching time from ntp.fu-berlin.de with rdate
rdate: current time matches remote time
I: Time is now Sun Feb 15 22:23:36 CET 2009
Starting to partition the microSD card

***********
* WARNING *
***********

This will destroy all the data on the microSD card!!!

Press any key within 5 seconds to quit
1+0 records in
1+0 records out
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.


The number of cylinders for this disk is set to 60224.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (1-60224, default 1): Using
default value 1
Last cylinder or +size or +sizeM or +sizeK (1-60224, default 60224):
Using default value 60224

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table
Preparation of swap partition is not supported for single part setups.
 * Waiting for partitions to appear
 * Partition table created

Starting to format the microSD card

***********
* WARNING *
***********

This will destroy all the data on the microSD card!!!

Press any key within 5 seconds to quit
 * Formatting the microSD card partitions
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
240960 inodes, 481790 blocks
24089 blocks (5.00%) reserved for the super user
First data block=0
15 block groups
32768 blocks per group, 32768 fragments per group
16064 inodes per group
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912

Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 36 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
I: microSD card ready
Mounting the newly created system
mount: mount point /mnt/debian does not exist



root at om-gta02:/# QI=TRUE WINDOW_MANAGER=FBPANEL install.sh  --swap-size
64 all
Testing system setup
 * microSD card device: /dev/mmcblk0 present
 * wget installed
 * ping installed
 * fdisk installed
 * mount installed
 * umount installed
 * mkfs.ext2 installed
 * mkfs.ext3 installed
 * gunzip installed
 * dd installed
 * sed installed
 * rdate installed
 * network running
I: System setup looks good
Fetching time from ntp.fu-berlin.de with rdate
rdate: current time matches remote time
I: Time is now Sun Feb 15 22:26:52 CET 2009
Starting to partition the microSD card

***********
* WARNING *
***********

This will destroy all the data on the microSD card!!!

Press any key within 5 seconds to quit
1+0 records in
1+0 records out
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.


The number of cylinders for this disk is set to 60224.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (1-60224, default 1): Using
default value 1
Last cylinder or +size or +sizeM or +sizeK (1-60224, default 60224): 
Command (m for help): Selected partition 1
Hex code (type L to list codes): 
Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (246-60224, default 246): Using
default value 246
Last cylinder or +size or +sizeM or +sizeK (246-60224, default 60224): 
Command (m for help): Partition number (1-4): Value is out of range
Partition number (1-4): Partition number (1-4): Partition number (1-4):
Partition 3 does not exist yet!

Command (m for help): Command (m for help): Command (m for help):
Partition number (1-4): Value is out of range
Partition number (1-4): Partition number (1-4): Partitioning was
successful.
 * Waiting for partitions to appear
E: Partitioning has failed, partitions have not been created


root at om-gta02:/# QI=true WINDOW_MANAGER=FBPANEL install.sh all
Testing system setup
 * microSD card device: /dev/mmcblk0 present
 * wget installed
 * ping installed
 * fdisk installed
 * mount installed
 * umount installed
 * mkfs.ext2 installed
 * mkfs.ext3 installed
 * gunzip installed
 * dd installed
 * sed installed
 * rdate installed
 * network running
I: System setup looks good
Fetching time from ntp.fu-berlin.de with rdate
rdate: current time matches remote time
I: Time is now Sun Feb 15 22:27:32 CET 2009
Starting to partition the microSD card

***********
* WARNING *
***********

This will destroy all the data on the microSD card!!!

Press any key within 5 seconds to quit
1+0 records in
1+0 records out
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.


The number of cylinders for this disk is set to 60224.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (1-60224, default 1): Using
default value 1
Last cylinder or +size or +sizeM or +sizeK (1-60224, default 60224):
Using default value 60224

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table
Preparation of swap partition is not supported for single part setups.
 * Waiting for partitions to appear
 * Partition table created

Starting to format the microSD card

***********
* WARNING *
***********

This will destroy all the data on the microSD card!!!

Press any key within 5 seconds to quit
 * Formatting the microSD card partitions
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
240960 inodes, 481790 blocks
24089 blocks (5.00%) reserved for the super user
First data block=0
15 block groups
32768 blocks per group, 32768 fragments per group
16064 inodes per group
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912

Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
I: microSD card ready
Mounting the newly created system
mount: mount point /mnt/debian does not exist


root at om-gta02:/# QI=true WINDOW_MANAGER=FBPANEL install.sh mount
Running stage mount
Mounting the newly created system
mount: mount point /mnt/debian does not exist


root at om-gta02:/# ls
attachment.sh  etc            media          sbin           var
bin            home           mnt            sys
boot           install.sh     opt            tmp
dev            lib            proc           usr
root at om-gta02:/# cd mnt
root at om-gta02:/mnt# ls
card  cf    net   ram
root at om-gta02:/mnt# mkdir debian
root at om-gta02:/mnt# ls
card    cf      debian  net     ram



root at om-gta02:/mnt# QI=true WINDOW_MANAGER=FBPANEL install.sh mount
-sh: install.sh: not found
root at om-gta02:/mnt# cd /
root at om-gta02:/# QI=true WINDOW_MANAGER=FBPANEL install.sh mount
Running stage mount
Mounting the newly created system
mount: unknown filesystem type 'ext2'
root at om-gta02:/# QI=true WINDOW_MANAGER=FBPANEL install.sh all  
Testing system setup
 * microSD card device: /dev/mmcblk0 present
 * wget installed
 * ping installed
 * fdisk installed
 * mount installed
 * umount installed
 * mkfs.ext2 installed
 * mkfs.ext3 installed
 * gunzip installed
 * dd installed
 * sed installed
 * rdate installed
 * network running
I: System setup looks good
Fetching time from ntp.fu-berlin.de with rdate
rdate: current time matches remote time
I: Time is now Sun Feb 15 22:36:06 CET 2009
Starting to partition the microSD card

***********
* WARNING *
***********

This will destroy all the data on the microSD card!!!

Press any key within 5 seconds to quit
1+0 records in
1+0 records out
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.


The number of cylinders for this disk is set to 60224.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (1-60224, default 1): Using
default value 1
Last cylinder or +size or +sizeM or +sizeK (1-60224, default 60224):
Using default value 60224

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table
Preparation of swap partition is not supported for single part setups.
 * Waiting for partitions to appear
 * Partition table created

Starting to format the microSD card

***********
* WARNING *
***********

This will destroy all the data on the microSD card!!!

Press any key within 5 seconds to quit
 * Formatting the microSD card partitions
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
240960 inodes, 481790 blocks
24089 blocks (5.00%) reserved for the super user
First data block=0
15 block groups
32768 blocks per group, 32768 fragments per group
16064 inodes per group
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912

Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 23 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
I: microSD card ready
Mounting the newly created system
mount: unknown filesystem type 'ext2'


root at om-gta02:/# 


> Message: 4
> Date: Fri, 13 Feb 2009 17:26:54 +0100
> From: Steffen Moeller <steffen_moeller at gmx.de>
> Subject: [pkg-fso-maint] install.sh: adding libreadline-gnu-perl ?
> To: openmoko debian <pkg-fso-maint at lists.alioth.debian.org>
> Message-ID: <49959F4E.9020909 at gmx.de>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hello,
> 
> I was somewhat uncertain about it. But particularly since typing with our beloved device
> is rather cumbersome, should we not have the libreadline in, no matter what?  It would
> also avoid some strange-looking error messages while running cdebootstrap.
> 
> Best,
> 
> Steffen
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: 0007-The-Perl-libreadline-is-missing.patch
> Type: text/x-diff
> Size: 1759 bytes
> Desc: not available
> Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090213/95407da0/attachment-0001.patch 
> 
> ------------------------------
> 
> Message: 5
> Date: Fri, 13 Feb 2009 17:05:18 +0100
> From: Steffen Moeller <steffen_moeller at gmx.de>
> Subject: [pkg-fso-maint] [patch] install.sh update swap partition,
> 	options for interactivity
> To: openmoko debian <pkg-fso-maint at lists.alioth.debian.org>
> Message-ID: <49959A3E.1020100 at gmx.de>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> This works on the basis of the previously sent patch 0004, at least for me.
> 
> 0005 - get swap partitions going, specify the SD_SWAP_SIZE env variable with a value > 0
> 0006 - adding --swap-size option with a numerical value that is interpreted as megabytes
> and some other options for testing purposes. seems to work. What was before a big case
> statement has now become a series of independent functions. The script no longer calls
> itself but decides to call which functions. With vfat as the first partition, I no longer
> mount it to /boot by default since the kernel cannot be installed with dpkg anyway.
> 
> The patch 0006 became too large. I apologize for it. The changes are dumb, so I feel
> rather save, but there are plenty. In my view, the script profits considerably from the
> now avoided recursion. To help the readability of the patch, I have not indented the code
> in the functions. I'd ask for Luca or Joachim to do proceed with it, once they had a
> change to review what I have done ... hoping for the patch to be accepted in the first place.
> 
> I am attaching the two patches and the script as a whole, I hope you don't mind.
> 
> Best,
> 
> Steffen (who could not be reached on his mobile today)
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: 0005-Placing-swap-partition-last-calculating-cylinders.patch
> Type: text/x-diff
> Size: 3161 bytes
> Desc: not available
> Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090213/248d1862/attachment.patch 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: 0006-Allowing-options-to-override-settings-of-environment.patch
> Type: text/x-diff
> Size: 21849 bytes
> Desc: not available
> Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090213/248d1862/attachment-0001.patch 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: install.sh
> Type: application/x-sh
> Size: 29804 bytes
> Desc: not available
> Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090213/248d1862/attachment.sh 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 260 bytes
> Desc: OpenPGP digital signature
> Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090213/248d1862/attachment.pgp 
> 
> ------------------------------
> 
> _______________________________________________
> pkg-fso-maint mailing list
> pkg-fso-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-fso-maint
> 
> 
> End of pkg-fso-maint Digest, Vol 7, Issue 20
> ********************************************




More information about the pkg-fso-maint mailing list