[maemo-developers] kernel compile & apt-get update

From: Jaeseok Yun dizzian at gmail.com
Date: Thu Mar 29 16:50:08 EEST 2007
Hi developers,

I have been trying to compile maemo kernel-source in my scratchbox (0.9.8)
in order to build pwc usbcam driver module (pwc.ko) for nokia770. So I
followed the instruction at the page, 'HowTo
KernelCompilation':http://maemo.org/maemowiki/HowTo_KernelCompilation.

I completed the preparation procedure as follows:

1. Install a gcc 3.4 toolchain, scratchbox-toolchain-arm-gcc3 .4.cs-
glibc-0.9.8.5.tar.gz

2. Start sbox and create a new target for kernel compilation

> $ sbox-config -ct MAEMO_KERNEL
>
> > select newly installed gcc 3.4 toolchain
> select qemu-arm as CPU transparency mode
> select debian devkit
>

3. Select the newly created target, install ARM rootstrap, and finish
toolchain setup

> $ sbox-config -st MAEMO_KERNEL
> $ sbox-config -er /scratchbox/packages/Maemo_Dev_Platform_RS_v2.1_arm.tgz
> $ sbox-config -cc
> $ sbox-config -cf
>

4. I checked /etc/apt/source.list

> #maemo:essential
> deb http://catalogue.tableteer.nokia.com/certified/      mistral user
> deb http://catalogue.tableteer.nokia.com/non-certified/ mistral user
> deb http://repository.maemo.org/extras/ scirocco free non-free
> deb-src http://repository.maemo.org/extras/ scirocco free non-free
> deb http://repository.maemo.org/ scirocco free non-free
> deb-src http://repository.maemo.org/ scirocco free non-free
>

5. Create a directory to work in

> mkdir ~/kernel-build
>


-------------------------------------------------------------------------------------------


My problem began with this compilation procedure. When I tried to update
with 'apt-get update', I got the following messages:

[sbox-MAEMO_KERNEL: ~] > apt-get update
> Err http://repository.maemo.org scirocco/free Packages
>   404 Not Found [IP: 143.215.203.7 80]
> Err http://catalogue.tableteer.nokia.com mistral/user Packages
>   404 Not Found [IP: 84.53.139.99 80]
> Ign http://catalogue.tableteer.nokia.com mistral/user Release
> Ign http://repository.maemo.org scirocco/free Release
> Hit http://catalogue.tableteer.nokia.com mistral/user Packages
> Err http://repository.maemo.org scirocco/non-free Packages
>   404 Not Found [IP: 143.215.203.7 80]
> Ign http://catalogue.tableteer.nokia.com mistral/user Release
> Ign http://repository.maemo.org scirocco/non-free Release
> Hit http://repository.maemo.org scirocco/free Sources
> Ign http://repository.maemo.org scirocco/free Release
> Hit http://repository.maemo.org scirocco/non-free Sources
> Ign http://repository.maemo.org scirocco/non-free Release
> Hit http://repository.maemo.org scirocco/free Packages
> Hit http://repository.maemo.org scirocco/free Release
> Hit http://repository.maemo.org scirocco/non-free Packages
> Hit http://repository.maemo.org scirocco/non-free Release
> Hit http://repository.maemo.org scirocco/free Sources
> Ign http://repository.maemo.org scirocco/free Release
> Hit http://repository.maemo.org scirocco/non-free Sources
> Ign http://repository.maemo.org scirocco/non-free Release
> Failed to fetch http://catalogue.tableteer.nokia.com/certified/dists/mistral/user/binary-arm/Packages.gz
>   404 Not Found [IP: 84.53.139.99
> Failed to fetch http://repository.maemo.org/extras/dists/scirocco/free/binary-arm/Packages.gz
>   404 Not Found [IP: 143.215.203.7 80]
> Failed to fetch http://repository.maemo.org/extras/dists/scirocco/non-free/binary-arm/Packages.gz
>   404 Not Found [IP: 143.215.203.7 80]
> Reading Package Lists... Done
> W: Couldn't stat source package list http://catalogue.tableteer.nokia.com mistral/user
> Packages
> (/var/lib/apt/lists/catalogue.tableteer.nokia.com_certified_dists_mistral_user_binary-arm_Packages)
> - stat (2 No such file or directory)
> W: Couldn't stat source package list http://repository.maemo.orgscirocco/free Packages
> (/var/lib/apt/lists/repository.maemo.org_extras_dists_scirocco_free_binary-arm_Packages)
> - stat (2 No such file or directory)
> W: Couldn't stat source package list http://repository.maemo.orgscirocco/non-free Packages
> (/var/lib/apt/lists/repository.maemo.org_extras_dists_scirocco_non-free_binary-arm_Packages)
> - stat (2 No such file or directory)
> W: You may want to run apt-get update to correct these problems
> E: Some index files failed to download, they have been ignored, or old
> ones used instead.



Does anyone have some ideas about this problem?

Thanks,
Jaeseok Yun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070329/b685be53/attachment.htm 
More information about the maemo-developers mailing list