Re: [Debian] installer script

2008-10-23 Thread Joachim Breitner
HI,

Am Donnerstag, den 23.10.2008, 12:42 +0200 schrieb arne anka:
> >> type), copied the content of the first one (kernel and a text file whose
> >> purpose i do not yet grasp)
> > it should be a text file that, just for reference, contains the URL of
> > the installed kernel
> 
> that i did understand -- but has it other meanings but to offer the user a  
> link? ie, does the system somehow rely on that file?

no :-)

Greetings,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian] installer script

2008-10-23 Thread arne anka
>> type), copied the content of the first one (kernel and a text file whose
>> purpose i do not yet grasp)
> it should be a text file that, just for reference, contains the URL of
> the installed kernel

that i did understand -- but has it other meanings but to offer the user a  
link? ie, does the system somehow rely on that file?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian] installer script

2008-10-23 Thread Joachim Breitner
Hi,

Am Mittwoch, den 22.10.2008, 10:54 +0200 schrieb arne anka:
> then i mounted the 512mb in my pc, checked the partition values (size,  
> type), copied the content of the first one (kernel and a text file whose  
> purpose i do not yet grasp)
it should be a text file that, just for reference, contains the URL of
the installed kernel

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian] installer script

2008-10-22 Thread Johny Tenfinger
On Wed, Oct 22, 2008 at 13:17, Davide Scaini <[EMAIL PROTECTED]> wrote:
> I have a 4gb sandisk sd, and it works nicely with suspend resume... but i
> have already to fsck it!
> ot: is there a software way to resume it? apm -resume? because i want to use
> 'at' to resume the phone and make it ring as an alarm...
> d

In suspend cpu is turned off, so you can't run commands. But some time
ago on this maillist was "alarm" applications, which uses RTC clock,
which can resume Neo from suspend. Try it.
dos

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: [Debian] installer script

2008-10-22 Thread arne anka
> Awesome, what's the model # on that sandisk 8G?

see here for the amazon url (sandisk 8gb ultra II seems to do, especially  
"ultra II")
> http://lists.openmoko.org/nabble.html#nabble-td1088359


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: [Debian] installer script

2008-10-22 Thread Matthew Lane
arne anka wrote:
> >> No, I 
> have not tried the 512mb card (it's at home and I'm at college).
>>> I'm not sure how to do what you're talking about arne, but you're
>>> suggesting that I can install a base system and put Debian on that?  
>>> Can
>>> you point me in the correct direction?
>>>
>>>
>> He was saying if you had your 512 to install debian on the 512 and the
>> copy the data from that to your 8gb card
>
>
> exactly.
> the included 512mb card works -- if the installer still chokes there's 
> something else wrong.
> after several failures with a 4g card i installed to the 512mb with 
> the installer (it might be a good idea to take one step at time -- i 
> nearly run out of space and had to clean /var/cache/apt/archives/ 
> between two steps).
> then i mounted the 512mb in my pc, checked the partition values (size, 
> type), copied the content of the first one (kernel and a text file 
> whose purpose i do not yet grasp) and created from the second one a 
> tar-ball (some weeks ago there was a discussion how to migrate data 
> that way, the archive should show the different approaches -- tar, cp, 
> rsync -- and their parameters).
> next step was to partition the bigger card: 8mb fat for the kernel, 
> the rest ext2 for the system itself.
> copied the kernel+text file to the 8mb fat.
> unpacked the tar ball into the second.
>
> insert the card, start via aux+pwr and chose the second option 
> (fat+ext2) ... and off you go.
>
> i tried it first w/ a 4g card but w/o luck (did not boot) and then w/ 
> 1g which works.
> as far as i understand there's a sandisk 8g sdhc ultra II that works 
> out of the box, ie no extra boot params, and survives suspend/resume. 
> i am about to order one and see, if it is true.
>
>
> 
Awesome, what's the model # on that sandisk 8G?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: Re: [Debian] installer script

2008-10-22 Thread Matthew Lane
I did partition the card myself after I ran the installer and it failed, 
then I tried to do everything step by step (skipping the partition 
step).  This proceeded to the part where it actually downloads debian 
packages and attempts to install them, and about 15 minutes through that 
it failed.  I'll run the script again and post a log later today.  
Thanks for the help.

Andrew Bennett wrote:
> Try removing both partitions from your SD card (fdisk then 'd' both 
> partitions) and then running the installer again.  When I ran the 
> installer script for the first time (this was a while ago: a day or 
> two after the installer script was published), with an SD card that 
> was already partitioned with Debian (pre-install script version) on 
> it, the partition step failed.  I manually set up the partitions and 
> ran the rest of the install steps individually.  For later install 
> attempts, I always deleted all the partitions from the SD card before 
> running the installer.
>
> You could also try looking closer at the output of the script, to see 
> what errors occurred.  (I ran the installer from an ssh session, so I 
> could use my terminal window's scrollback buffer, copy and paste, etc.)
>
> Also, you could try partitioning the card yourself (find the 
> instructions in the wiki) and then continue on from there.
>
>
> ---
> Andrew Bennett
> [EMAIL PROTECTED] 
>
>
> On Tue, Oct 21, 2008 at 1:08 PM, Matthew Lane <[EMAIL PROTECTED] 
> > wrote:
>
> No, I have not tried the 512mb card (it's at home and I'm at college).
> I'm not sure how to do what you're talking about arne, but you're
> suggesting that I can install a base system and put Debian on
> that?  Can
> you point me in the correct direction?
>
> Also, my 8gb uSDHC card works:
>
> [EMAIL PROTECTED]:~# fdisk -l /dev/mmcblk0
>
> Disk /dev/mmcblk0: 8168 MB, 8168931328 bytes
> 4 heads, 16 sectors/track, 249296 cylinders
> Units = cylinders of 64 * 512 = 32768 bytes
>
>Device Boot  Start End  Blocks  Id System
> /dev/mmcblk0p1   1 2457832   4 FAT16 <32M
> /dev/mmcblk0p2 246  249296 7969632  83 Linux
>
> Shawn "prjktdtnt" Thompson wrote:
> > Matthew
> > Lane wrote:
> >> Hey all,
> >>
> >> I'm trying to install Debian on the freerunner using the install.sh
> >> script.
> >>
> >> I keep getting stuck at Calling ioctl() to re-read partition table.
> >> and then my script exits.  I've tried individually installing, but
> >> after the "install" step the script fails to install.
> >>
> >> I've added a u-boot environment boot option to lower the clock to
> >> 10,000,000 as instructed on the bug report here:
> >> https://docs.openmoko.org/trac/ticket/1743
> >>
> >> After booting with this option, without going into suspend, and
> after
> >> killing qpe:
> >>
> >> DASH_BINSH=false SD_PART1_FS=vfat ./install.sh all
> >>
> >> The script terminates after the partition stage.  I'm using a
> SanDisk
> >> 8GB uSDHC card.
> >>
> >> I'm using the latest GTA02v5_and_up NAND u-boot.
> >>
> >> I think I remember seeing some more instructions, but I can't
> seem to
> >> find them anywhere.  Anyone have an idea of how to proceed from
> here?
> >>
> >> ___
> >> Openmoko community mailing list
> >> community@lists.openmoko.org 
> >> http://lists.openmoko.org/mailman/listinfo/community
> >>
> > Have you tried on the 512MB that the majority of FreeRunner's
> ship with?
> >
> >
> > 
> >
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org 
> http://lists.openmoko.org/mailman/listinfo/community
>
>


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian] installer script

2008-10-22 Thread Davide Scaini
I have a 4gb sandisk sd, and it works nicely with suspend resume... but i
have already to fsck it!
ot: is there a software way to resume it? apm -resume? because i want to use
'at' to resume the phone and make it ring as an alarm...
d

On Wed, Oct 22, 2008 at 10:54 AM, arne anka <[EMAIL PROTECTED]> wrote:

> >> No, I have not tried the 512mb card (it's at home and I'm at college).
> >> I'm not sure how to do what you're talking about arne, but you're
> >> suggesting that I can install a base system and put Debian on that?  Can
> >> you point me in the correct direction?
> >>
> >>
> > He was saying if you had your 512 to install debian on the 512 and the
> > copy the data from that to your 8gb card
>
>
> exactly.
> the included 512mb card works -- if the installer still chokes there's
> something else wrong.
> after several failures with a 4g card i installed to the 512mb with the
> installer (it might be a good idea to take one step at time -- i nearly
> run out of space and had to clean /var/cache/apt/archives/ between two
> steps).
> then i mounted the 512mb in my pc, checked the partition values (size,
> type), copied the content of the first one (kernel and a text file whose
> purpose i do not yet grasp) and created from the second one a tar-ball
> (some weeks ago there was a discussion how to migrate data that way, the
> archive should show the different approaches -- tar, cp, rsync -- and
> their parameters).
> next step was to partition the bigger card: 8mb fat for the kernel, the
> rest ext2 for the system itself.
> copied the kernel+text file to the 8mb fat.
> unpacked the tar ball into the second.
>
> insert the card, start via aux+pwr and chose the second option (fat+ext2)
> ... and off you go.
>
> i tried it first w/ a 4g card but w/o luck (did not boot) and then w/ 1g
> which works.
> as far as i understand there's a sandisk 8g sdhc ultra II that works out
> of the box, ie no extra boot params, and survives suspend/resume. i am
> about to order one and see, if it is true.
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian] installer script

2008-10-22 Thread arne anka
>> No, I have not tried the 512mb card (it's at home and I'm at college).
>> I'm not sure how to do what you're talking about arne, but you're
>> suggesting that I can install a base system and put Debian on that?  Can
>> you point me in the correct direction?
>>
>>
> He was saying if you had your 512 to install debian on the 512 and the
> copy the data from that to your 8gb card


exactly.
the included 512mb card works -- if the installer still chokes there's  
something else wrong.
after several failures with a 4g card i installed to the 512mb with the  
installer (it might be a good idea to take one step at time -- i nearly  
run out of space and had to clean /var/cache/apt/archives/ between two  
steps).
then i mounted the 512mb in my pc, checked the partition values (size,  
type), copied the content of the first one (kernel and a text file whose  
purpose i do not yet grasp) and created from the second one a tar-ball  
(some weeks ago there was a discussion how to migrate data that way, the  
archive should show the different approaches -- tar, cp, rsync -- and  
their parameters).
next step was to partition the bigger card: 8mb fat for the kernel, the  
rest ext2 for the system itself.
copied the kernel+text file to the 8mb fat.
unpacked the tar ball into the second.

insert the card, start via aux+pwr and chose the second option (fat+ext2)  
... and off you go.

i tried it first w/ a 4g card but w/o luck (did not boot) and then w/ 1g  
which works.
as far as i understand there's a sandisk 8g sdhc ultra II that works out  
of the box, ie no extra boot params, and survives suspend/resume. i am  
about to order one and see, if it is true.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: [Debian] installer script

2008-10-21 Thread Andrew Bennett
Try removing both partitions from your SD card (fdisk then 'd' both
partitions) and then running the installer again.  When I ran the installer
script for the first time (this was a while ago: a day or two after the
installer script was published), with an SD card that was already
partitioned with Debian (pre-install script version) on it, the partition
step failed.  I manually set up the partitions and ran the rest of the
install steps individually.  For later install attempts, I always deleted
all the partitions from the SD card before running the installer.

You could also try looking closer at the output of the script, to see what
errors occurred.  (I ran the installer from an ssh session, so I could use
my terminal window's scrollback buffer, copy and paste, etc.)

Also, you could try partitioning the card yourself (find the instructions in
the wiki) and then continue on from there.


---
Andrew Bennett
[EMAIL PROTECTED]


On Tue, Oct 21, 2008 at 1:08 PM, Matthew Lane <[EMAIL PROTECTED]> wrote:

> No, I have not tried the 512mb card (it's at home and I'm at college).
> I'm not sure how to do what you're talking about arne, but you're
> suggesting that I can install a base system and put Debian on that?  Can
> you point me in the correct direction?
>
> Also, my 8gb uSDHC card works:
>
> [EMAIL PROTECTED]:~# fdisk -l /dev/mmcblk0
>
> Disk /dev/mmcblk0: 8168 MB, 8168931328 bytes
> 4 heads, 16 sectors/track, 249296 cylinders
> Units = cylinders of 64 * 512 = 32768 bytes
>
>Device Boot  Start End  Blocks  Id System
> /dev/mmcblk0p1   1 2457832   4 FAT16 <32M
> /dev/mmcblk0p2 246  249296 7969632  83 Linux
>
> Shawn "prjktdtnt" Thompson wrote:
> > Matthew
> > Lane wrote:
> >> Hey all,
> >>
> >> I'm trying to install Debian on the freerunner using the install.sh
> >> script.
> >>
> >> I keep getting stuck at Calling ioctl() to re-read partition table.
> >> and then my script exits.  I've tried individually installing, but
> >> after the "install" step the script fails to install.
> >>
> >> I've added a u-boot environment boot option to lower the clock to
> >> 10,000,000 as instructed on the bug report here:
> >> https://docs.openmoko.org/trac/ticket/1743
> >>
> >> After booting with this option, without going into suspend, and after
> >> killing qpe:
> >>
> >> DASH_BINSH=false SD_PART1_FS=vfat ./install.sh all
> >>
> >> The script terminates after the partition stage.  I'm using a SanDisk
> >> 8GB uSDHC card.
> >>
> >> I'm using the latest GTA02v5_and_up NAND u-boot.
> >>
> >> I think I remember seeing some more instructions, but I can't seem to
> >> find them anywhere.  Anyone have an idea of how to proceed from here?
> >>
> >> ___
> >> Openmoko community mailing list
> >> community@lists.openmoko.org
> >> http://lists.openmoko.org/mailman/listinfo/community
> >>
> > Have you tried on the 512MB that the majority of FreeRunner's ship with?
> >
> >
> > 
> >
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian] installer script

2008-10-21 Thread Shawn "prjktdtnt" Thompson
Matthew Lane wrote:
> No, I have not tried the 512mb card (it's at home and I'm at college).  
> I'm not sure how to do what you're talking about arne, but you're 
> suggesting that I can install a base system and put Debian on that?  Can 
> you point me in the correct direction?
>
>   
He was saying if you had your 512 to install debian on the 512 and the 
copy the data from that to your 8gb card

-Shawn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: [Debian] installer script

2008-10-21 Thread Matthew Lane
No, I have not tried the 512mb card (it's at home and I'm at college).  
I'm not sure how to do what you're talking about arne, but you're 
suggesting that I can install a base system and put Debian on that?  Can 
you point me in the correct direction?

Also, my 8gb uSDHC card works:

[EMAIL PROTECTED]:~# fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 8168 MB, 8168931328 bytes
4 heads, 16 sectors/track, 249296 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Device Boot  Start End  Blocks  Id System
/dev/mmcblk0p1   1 2457832   4 FAT16 <32M
/dev/mmcblk0p2 246  249296 7969632  83 Linux

Shawn "prjktdtnt" Thompson wrote:
> Matthew 
> Lane wrote:
>> Hey all,
>>
>> I'm trying to install Debian on the freerunner using the install.sh 
>> script.
>>
>> I keep getting stuck at Calling ioctl() to re-read partition table. 
>> and then my script exits.  I've tried individually installing, but 
>> after the "install" step the script fails to install.
>>
>> I've added a u-boot environment boot option to lower the clock to 
>> 10,000,000 as instructed on the bug report here: 
>> https://docs.openmoko.org/trac/ticket/1743
>>
>> After booting with this option, without going into suspend, and after 
>> killing qpe:
>>
>> DASH_BINSH=false SD_PART1_FS=vfat ./install.sh all
>>
>> The script terminates after the partition stage.  I'm using a SanDisk 
>> 8GB uSDHC card.
>>
>> I'm using the latest GTA02v5_and_up NAND u-boot.
>>
>> I think I remember seeing some more instructions, but I can't seem to 
>> find them anywhere.  Anyone have an idea of how to proceed from here?
>>
>> ___
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>   
> Have you tried on the 512MB that the majority of FreeRunner's ship with?
>
>
> 
>

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian] installer script

2008-10-21 Thread arne anka
> Have you tried on the 512MB that the majority of FreeRunner's ship with?

install a base system (with zhone, of course, so that you can see  
something) and migrate that to your 8g card.
if you can boot from the 8g card and it survives some suspend/resume  
cycles, you can extend the installation to your heart's delight.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian] installer script

2008-10-21 Thread Shawn "prjktdtnt" Thompson
Matthew Lane wrote:
> Hey all,
>
> I'm trying to install Debian on the freerunner using the install.sh script.
>
> I keep getting stuck at Calling ioctl() to re-read partition table. and 
> then my script exits.  I've tried individually installing, but after the 
> "install" step the script fails to install.
>
> I've added a u-boot environment boot option to lower the clock to 
> 10,000,000 as instructed on the bug report here: 
> https://docs.openmoko.org/trac/ticket/1743
>
> After booting with this option, without going into suspend, and after 
> killing qpe:
>
> DASH_BINSH=false SD_PART1_FS=vfat ./install.sh all
>
> The script terminates after the partition stage.  I'm using a SanDisk 
> 8GB uSDHC card.
>
> I'm using the latest GTA02v5_and_up NAND u-boot.
>
> I think I remember seeing some more instructions, but I can't seem to 
> find them anywhere.  Anyone have an idea of how to proceed from here?
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>   
Have you tried on the 512MB that the majority of FreeRunner's ship with?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[Debian] installer script

2008-10-19 Thread Matthew Lane


--- Begin Message ---

Hey all,

I'm trying to install Debian on the freerunner using the install.sh script.

I keep getting stuck at Calling ioctl() to re-read partition table. and 
then my script exits.  I've tried individually installing, but after the 
"install" step the script fails to install.


I've added a u-boot environment boot option to lower the clock to 
10,000,000 as instructed on the bug report here: 
https://docs.openmoko.org/trac/ticket/1743


After booting with this option, without going into suspend, and after 
killing qpe:


DASH_BINSH=false SD_PART1_FS=vfat ./install.sh all

The script terminates after the partition stage.  I'm using a SanDisk 
8GB uSDHC card.


I'm using the latest GTA02v5_and_up NAND u-boot.

I think I remember seeing some more instructions, but I can't seem to 
find them anywhere.  Anyone have an idea of how to proceed from here?


--- End Message ---
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[Debian] installer script

2008-10-18 Thread Matthew Lane
Hey all,

I'm trying to install Debian on the freerunner using the install.sh script.

I keep getting stuck at Calling ioctl() to re-read partition table. and 
then my script exits.  I've tried individually installing, but after the 
"install" step the script fails to install.

I've added a u-boot environment boot option to lower the clock to 
10,000,000 as instructed on the bug report here: 
https://docs.openmoko.org/trac/ticket/1743

After booting with this option, without going into suspend, and after 
killing qpe:

DASH_BINSH=false SD_PART1_FS=vfat ./install.sh all

The script terminates after the partition stage.  I'm using a SanDisk 
8GB uSDHC card.

I'm using the latest GTA02v5_and_up NAND u-boot.

I think I remember seeing some more instructions, but I can't seem to 
find them anywhere.  Anyone have an idea of how to proceed from here?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community