Cindy Gold | 10 Sep 01:05 2014

Need fstrim program installed

Hello:

I have built the TQ board support package TQMa6x-BSP-REV.0104 using:

   --- ptxdist-2013.12.0
   --- OSELAS.Toolchain-2013.12.2

And "uname" now reports:

Linux MBa6x 3.16.0-rc5-20140718 #2 SMP Tue Sep 9 11:56:23 MDT 2014 armv7l GNU/Linux

I need the program "fstrim" for use with solid state drives. Please forgive me if I am posting to the wrong list, but I am unsure about where the trouble lies.

After building, I see these files on my host system under the directory TQMa6x-BSP-REV.0104:

 ./platform-MBa6x/packages/util-linux-2.23.1/sbin/fstrim
./platform-MBa6x/packages/util-linux-2.23.1/usr/share/man/man8/fstrim.8
./platform-MBa6x/build-target/util-linux-2.23.1/bash-completion/fstrim
./platform-MBa6x/build-target/util-linux-2.23.1/fstrim
./platform-MBa6x/build-target/util-linux-2.23.1/sys-utils/.deps/fstrim.Po
./platform-MBa6x/build-target/util-linux-2.23.1/sys-utils/fstrim.c
./platform-MBa6x/build-target/util-linux-2.23.1/sys-utils/fstrim.o
./platform-MBa6x/build-target/util-linux-2.23.1/sys-utils/fstrim.8
./platform-MBa6x/sysroot-target/sbin/fstrim
./platform-MBa6x/sysroot-target/usr/share/man/man8/fstrim.8

After I burn the image (uboot_tqma6s_hd.img) and install it on my TQ system, the fstrim command is apparently not installed. Can you tell me why it is not getting installed on the target TQ system and how I get it installed?

Thank you!




Nick Wernicke | 5 Sep 05:33 2014
Picon

Has anyone ever installed PTXDist on Zynq7020

Going to build ptxdist for a zynq7020 dev kit.

Before I attempt this, I am curious if anyone has ever installed PTXDist on the Zynq7020? Xilinx has their own xilinx-gnu toolchain. I'm going to try the Xilinx toolchain first, but if it doesn't work I will try the arm-softfloat-linux-gnu- one. 

Most importantly: is there any possibility that I will break my silicon doing this? Did someone try it and blow up a Zynq or find something else bad that makes this a waste of time?

Nick
Guillermo Rodriguez Garcia | 1 Sep 13:11 2014
Picon

[mini2440] Replacing udev with mdev

Hello all,

I am playing around to see if I can replace udev with mdev for the mini2440.

Most of it is working but as soon as I remove udev, I also lose the
/dev/fd, /dev/stdin, /dev/stdout, /dev/stderr entries

I have looked through the udev rules (default and mini2440 specific)
and also through the init scripts, and I don't see where these are
defined. There is one place at the /etc/init.d/udev script where these
links are created manually, but this code is not run if devtmpfs is
mounted (which is the case here)

Can anyone help?

Thank you,

Guillermo Rodriguez Garcia
guille.rodriguez@...

Guillermo Rodriguez Garcia | 26 Aug 17:25 2014
Picon

mini2440: NOR flash access from barebox

Hello all,

I am playing with the NOR flash of the mini2440 from barebox and
noticed that the protection status seems to be ignored.

This can be seen with the following test:

mini2440:/ addpart /dev/nor0 512k(dummy0),512k(dummy1)
mini2440:/ protect /dev/nor0.dummy1
cfi_protect: protect 0x00080000 (size 524288)

mini2440:/ devinfo cfi_flash0
base  : 0x00000000
size  : 0x00200000
driver: cfi_flash

CFI conformant FLASH (16 x 16)  Size: 2 MB in 35 Sectors
  AMD Standard command set, Manufacturer ID: 0x1C, Device ID: 0x49
  Erase timeout: 16384 ms, write timeout: 512 us

  Sector Start Addresses:
  00000000        00004000        00006000        00008000        00010000
  00020000        00030000        00040000        00050000        00060000
  00070000        00080000   RO   00090000   RO   000A0000   RO   000B0000   RO
  000C0000   RO   000D0000   RO   000E0000   RO   000F0000   RO   00100000
  00110000        00120000        00130000        00140000        00150000
  00160000        00170000        00180000        00190000        001A0000
  001B0000        001C0000        001D0000        001E0000        001F0000
no parameters available

[ The protected sectors have been properly marked as "RO", however.... ]

mini2440:/ md -s /dev/nor0.dummy1 0+32
00000000: ea0000d8 e59ff014 e59ff014 e59ff014                ................
00000010: e59ff014 e59ff014 e59ff014 e59ff014                ................
mini2440:/
mini2440:/ erase /dev/nor0.dummy1
        [#################################################################]
mini2440:/ md -s /dev/nor0.dummy1 0+32
00000000: ffffffff ffffffff ffffffff ffffffff                ................
00000010: ffffffff ffffffff ffffffff ffffffff                ................

Not sure if I have done something wrong, but before I dive further
into the code, is this expected?

Note:
I am using OSELAS.BSP-Pengutronix-Mini2440-2013.10.0

Thank you,
--

-- 
Guillermo Rodriguez Garcia
guille.rodriguez@...

Juergen Borleis | 19 Aug 09:11 2014
Picon

Re: Could you assist pleas - one wire ts

Hi MC,

please let us continue our discussion at our public mailing list.

On Tuesday 19 August 2014 00:14:46 MC Potgieter wrote:
> Only saw your email now. Did try newpackage target earlier today but it was
> conflicting with the existing tslib.

After changing one package (e.g. replacing the rule file coming with PTXdist by 
your own BSP-local one) it needs to re-create the whole rootfs (simple way) or 
to re-build all enabled packages which depends on the (replaced) tslib.

> For experimental purposes, how do I remove a package once I've added it?

Just disable it in the menu, run a "ptxdist clean root; ptxdist go" (note 
the 'clean root', not(!) only 'clean'). This will re-assemble the rootfs from 
the already built packages but will omit the now disabled package.

Or if you want to revert the replacement of a package, just remove the 
BSP-local rule file.

If you do your development via NFS root, handling a workflow like this is very 
easy.

Regards,
Juergen

--

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

Cindy Gold | 14 Aug 01:51 2014

PTXDist Application Note Kernel Driver Development out of date?

Hello,

I would like to experiment with building an "out-of-tree" driver and have browsed the PTXDist Application Note "Kernel Driver Development". My version of the board support package (TQMa6x-BSP-REV.0101) doesn't seem to have any of the .../rules/templates files that are mentioned in the document.

So, is the Application Note out of date or is the Application Note not applicable to the TQMa6x?

Any help would be appreciated!

Thank you!
  Cindy
Girish Desai | 3 Aug 02:34 2014
Picon

FriendlyARM mini2440: fbtest not displaying any thing on display

Hi,
I am trying to get some thing on display.. but the initial test like 'fbtest' (which as per the document has to display various patterns on the display) itself is not displaying anything.  But on the terminal(minicom on host) I can see the following statements in response to 'fbtest'

root <at> mini2440:~ fbtest
Using drawops cfb16 (16 bpp packed pixels)
Available visuals:
  Monochrome
  Grayscale 32
  Truecolor 5:6:5:0
Using visops truecolor
Running all tests
test001: PASSED
test002: PASSED
test004: PASSED
test006: PASSED 

in case any one have come across this kind of issue and have any suggestions could you please let me know...

Thanks.
Girish
CARAYOL Sophie | 24 Jul 10:09 2014

Booting Linux

Hello,

 

I use the BSP from MBa6X board (Tqma6S):

 

U-Boot 2013.04-20140226

Linux version 3.13.0-ptx20140211-1+tq20140224 (scar <at> scar-HP) (gcc version 4.8.3 20140203 (prerelease) (OSELAS.Toolchain-2013.12.1 linaro-4.8-2014.

 

But I have some problems with booting Linux. You can see traces below and in the joined file.

 

Have you any idea of what the problem is ?

 

Thanks a lot.

 

Sophie

 

systemd[1]: Started Recreate Volatile Files and Directories.

systemd[1]: Starting System Initialization.

systemd-rc-once[125]: running prelink...

[  OK  ] Reached target System Initialization.

systemd[1]: Reached target System Initialization.

systemd-rc-oncesystemd[1]: Starting System Update.

[125]: prelink: /bin/systemd-notify: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/journalctl: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/netcat: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/canecho: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/canduEXT4-fs error (device mmcblk0p2): ext4_iget:4036: inode #179185: comm prelink: bad extra_isize (61294 != 256)

mp: Using /lib/ld-linux-armhf.so.random: nonblocking pool is initialized

3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/systemd-inhibit: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/systemd-tty-ask-password-agent: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/busybox: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/udevadm: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/systemd-tmpfiles: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/systemctl: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/cansequence: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/kmod: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/systemd-ask-password: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

[  OK  systemd[1]: Reached target System Update.

] Reached target System Update.

systemd-rc-once[125]: prelink: /bin/cansend: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/systemd-machine-id-setup: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: /bin/loginctl: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd[1]: Started Trigger Flushing of Journal to Persistent Storage.

systemd[1]: Reexecuting.

systemd-rc-once[125]: prelink: /usr/bin/dbus-cleanup-sockets: Using /lib/ld-linux-armhf.so.3, not /lib/ld-linux.so.3 as dynamic linker

systemd-rc-once[125]: prelink: Failed searching /usr/bin: Input/output error

systemd-rc-once[125]: running prelink failed.

mmcblk0: error -84 transferring data, sector 3479552, nr 88, cmd response 0x900, card status 0xc00

end_request: I/O error, dev mmcblk0, sector 3479575

end_request: I/O error, dev mmcblk0, sector 3479576

end_request: I/O error, dev mmcblk0, sector 3479584

end_request: I/O error, dev mmcblk0, sector 3479592

end_request: I/O error, dev mmcblk0, sector 3479600

end_request: I/O error, dev mmcblk0, sector 3479608

end_request: I/O error, dev mmcblk0, sector 3479616

end_request: I/O error, dev mmcblk0, sector 3479624

end_request: I/O error, dev mmcblk0, sector 3479632

mmcblk0: error -84 transferring data, sector 3479648, nr 368, cmd response 0x900, card status 0xc00

end_request: I/O error, dev mmcblk0, sector 3479664

Aborting journal on device mmcblk0p2-8.



Electronica in Munich (Germany), November 11-14, 2014
Join us at our stand A2 459
Pour des raisons légales et de sécurité, les informations contenues dans ce message ne sont pas juridiquement contraignantes. Sur demande, nous vous adresserons une confirmation écrite nous engageant. Les informations contenues dans ce message électronique ont un caractère strictement confidentiel et sont exclusivement destinées à la personne à laquelle il est adressé. Toute divulgation, utilisation, diffusion ou reproduction de tout ou partie de ce message, ou des informations qu'il contient, est interdite. Ce message est destiné exclusivement à la personne à laquelle il est adressé ou son représentant. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de détruire ce message.
For legal and security reasons the information provided in this e-mail is not legally binding. Upon request we would be pleased to provide you with a legally binding confirmation in written form. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer..
Aus gesetzlichen und Sicherheitsgründen sind die in dieser Nachricht enthaltenen Informationen rechtlich unverbindlich. Auf Anfrage senden wir Ihnen eine verbindliche, schriftliche Bestätigung. Die in dieser E-Mail enthaltenen Informationen sind streng vertraulich und ausschließlich für den Empfänger bestimmt. Jede vollständige oder teilweise Veröffentlichung, Verwendung, Verbreitung oder Vervielfältigung dieser Nachricht oder der darin enthaltenen Informationen ist untersagt. Diese Nachricht ist ausschließlich für die Person bestimmt, an die sie adressiert ist, oder für ihren Vertreter. Sollten Sie diese Nachricht versehentlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie die Nachricht..
Disclaimer Lacroix Electronics
Attachment (boot device tree kernel.docx): application/vnd.openxmlformats-officedocument.wordprocessingml.document, 34 KiB
Girish Desai | 20 Jul 11:27 2014
Picon

Booting linux 3.12

Hi Juergen,

I am trying to boot linux-3.12 on FriendlyARM mini2440 board.  


in kernelconfig-3.12 file to reduce the kernel size to fit into nand. but it could only reduce from some where around 3.7 MB to around 3.3MB.  and hence still could not fit into NAND.  Thought of changing the size of the nand partition but wanted to get this kernel successfully booted from ram first.

I have applied the patches to linux-3.12 mentioned in the link 

but box freezes after printing "Starting kernel..."  below is the output pasted.. you can see that I have changed 'malloc space' & 'stack space' sizes as I was getting some error saying "Error: out of memory" when I tried manually booting the kernel using 'bootm' command after the uImage-mini2440 is downloaded to ram through TFTP..
=============== Console output: booting kernel 3.12 ===============
barebox 2011.05.0-ptx-2012.12.0 (Jul 19 2014 - 20:51:25)

Board: Mini 2440
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
dm9000 i/o: 0x20000300, id: 0x90000a46 
eth <at> eth0: got MAC address from EEPROM: 00:00:00:00:00:00
refclk:    12000 kHz
mpll:     405000 kHz
upll:      48000 kHz
fclk:     405000 kHz
hclk:     101250 kHz
pclk:      50625 kHz
SDRAM1:   CL2 <at> 101MHz
Malloc space: 0x33500000 -> 0x33f00000 (size 10 MB)
Stack space : 0x334f6000 -> 0x33500000 (size 40 kB)
running /env/bin/init...

Hit any key to stop autoboot:  0
phy0: Link is up - 100/Full
TFTP from server 10.0.0.100 ('uImage-mini2440' -> '/dev/ram0.kernel')
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        ############################
booting kernel of type uimage from /dev/ram0.kernel
   Verifying Checksum ... OK
   Image Name:   Linux-3.12.18-ptx-master
   Created:      2014-07-19  14:38:23 UTC
   Image Type:   <NULL> <NULL> <NULL> (<NULL>)
   Data Size:    3470808 Bytes =  3.3 MB
   Load Address: 30008000
   Entry Point:  30008000
OK
commandline: console=ttySAC0,115200 mini2440=5tbc root=/dev/nfs rw nfsroot=10.0.0.100:/home/girish/FriendlyARM/rootfs ip=10.0.0.101:10.0.0.100)
arch_number: 1999

Starting kernel ...

=============================================================

Could there be any solution/suggestion to this? 
as seen in the forum, kernel linux-3.7 is coming up smoothly.  Issue is in booting linux 3.12

Thanks,
Girish
Girish Desai | 18 Jul 22:58 2014
Picon

Re: Compiling PTXdist

Oh! sorry Dave,  "didn't cc the list" wasn't intentional.. mistakenly hit 'reply' button instead of 'reply all'.(its mid-night here in India :-))

OK thanks I'll look into the link you posted...  I did not dare taking latest versions as I had a little confusion regarding what was displayed on your web site: A warning

Please be aware!

As of October 2013 this board support package with its embedded Mini2440 platform is discontinued. Support for the Mini2440 will be continued as a single platform only. Refer our public GIT service at http://git-public.pengutronix.de/ and the platform-mini2440.git repository for further details.


and some thing that said "Current release is OSELAS.BSP-Pengutronix-Mini2440-2013.10.0.tgz"

any ways.. thanks for the quick response.. I'll check the link you provided.

Thanks,
Girish




On Sat, Jul 19, 2014 at 2:17 AM, dave festing <dave_festing-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:
You didn't cc the list ... neither did I.  Whare are you located?

Have a look at http://git-public.pengutronix.de/?p=OSELAS.BSP-Pengutronix-Mini2440.git;a=summary

There is a later version of the BSP that will support 3.12

Date: Sat, 19 Jul 2014 02:08:49 +0530

Subject: Re: [oselas] Compiling PTXdist
From: dcgirish16-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
To: dave_festing-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org


Hi Dave,

tool chain im using is.. OSELAS.Toolchain-2013.12.2 (OSELAS.Toolchain-2013.12.2.tar.bz2). 

under the path "OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/configs/platform-friendlyarm-mini2440/patches", I can see patches for linux till "linux-3.11" and nothing for "linux3-12".. is this because of some thing which the kernel is not getting booted?  just a gues..


Thanks,


On Sat, Jul 19, 2014 at 1:51 AM, dave festing <dave_festing <at> hotmail.com> wrote:
Sorry, I might have missed it but which toolchain are you using?


Subject: Re: [oselas] Compiling PTXdist

Hi Dave, 
Thanks for the response but I still had some issues hence manually I downloaded all the required files and build proceeded.. built all the required packages like barebox etc.. now the bootloader coming up without any issues... but the kernel is not booting up... box freezes up saying "Staring Kernel..."  as below.. I am using kernel version 3.12.0.  but kernel 2.6.32 comes up without any issues along with rootfs.  could you please let me know what could be the reason..


============================ Kernel 3.12.0 ================================
=======================================================================
Malloc space: 0x33a00000 -> 0x33e00000 (size  4 MB)
Stack space : 0x339f8000 -> 0x33a00000 (size 32 kB)
running /env/bin/init...

Hit any key to stop autoboot:  1
phy0: Link is up - 100/Full
TFTP from server 10.0.0.100 ('uImage-mini2440' -> '/dev/ram0.kernel')
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################
booting kernel of type uimage from /dev/ram0.kernel
   Verifying Checksum ... OK
   Image Name:   Linux-3.12.0
   Created:      2014-07-18  14:16:44 UTC
   Image Type:   <NULL> <NULL> <NULL> (<NULL>)
   Data Size:    3914768 Bytes =  3.7 MB
   Load Address: 31000000
   Entry Point:  31000000
OK
commandline: console=ttySAC0,115200 mini2440=5tbc root=/dev/nfs rw nfsroot=10.0.0.100:/home/girish/FriendlyARM/rootfs ip=10.0.0.101:10.0.0.100)
arch_number: 1999

Starting kernel ...

=======================================================================


========================= Kernel 2.6.32 booting properly along with NFS============
=======================================================================
Hit any key to stop autoboot:  0
phy0: Link is up - 100/Full
TFTP from server 10.0.0.100 ('uImage-mini2440' -> '/dev/ram0.kernel')
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        #################################################################
        ####################################################
booting kernel of type uimage from /dev/ram0.kernel
   Verifying Checksum ... OK
   Image Name:   
   Created:      2014-07-16  20:35:48 UTC
   Image Type:   <NULL> <NULL> <NULL> (<NULL>)
   Data Size:    2266640 Bytes =  2.2 MB
   Load Address: 3000800c
   Entry Point:  3000800c
OK
commandline: console=ttySAC0,115200 mini2440=5tbc root=/dev/nfs rw nfsroot=10.0.0.100:/home/girish/FriendlyARM/rootfs ip=10.0.0.101:10.0.0.100)
arch_number: 1999

Starting kernel ...

Uncompressing Linux............................................................................................................................
Linux version 2.6.32.2-FriendlyARM (root <at> desai-Inspiron-N5050) (gcc version 4.4.3 (ctng-1.6.1) ) #10 Wed Jul 16 23:34:10 IST 2014
CPU: ARM920T [41129200] re
=======================================================================

There is difference in load address and entry point between the two kernels as seen above but i don't think this makes any difference..


Thanks,
Girish


On Fri, Jul 18, 2014 at 1:59 AM, dave festing <dave_festing-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:
I sometimes get errors like this on my local mirror.  Is it possible to change to another repository?

Regards,
Dave

Date: Thu, 17 Jul 2014 23:51:18 +0530
From: dcgirish16-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
To: b.buerger <at> pengutronix.de
CC: oselas-/6JGXy0y6WNX4V3MAk3apN53zsg1cpMQ@public.gmane.org
Subject: Re: [oselas] Compiling PTXdist


Hello Bjørn,

thanks for the quick response.. I have done apg-get update.. and I was still not able to get those packages.. below pasted is what is done after getting apg-get update and then tried to install gawk.  Even tried the option of --fix-missing.. still no luck

===========================================================
root <at> desai-Inspiron-N5050:~# apt-get install gawk*
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'gawk' for regex 'gawk*'
Note, selecting 'gawk-doc' for regex 'gawk*'
The following package was automatically installed and is no longer required:
  openjdk-7-jre-lib
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  libsigsegv2
The following NEW packages will be installed:
  gawk gawk-doc libsigsegv2
0 upgraded, 3 newly installed, 0 to remove and 7 not upgraded.
Need to get 751 kB/3,834 kB of archives.
After this operation, 7,793 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  libsigsegv2 gawk gawk-doc
Install these packages without verification [y/N]? y
Err http://in.archive.ubuntu.com/ubuntu/ raring/main libsigsegv2 i386 2.9-4ubuntu3
  404  Not Found [IP: 91.189.91.13 80]
Err http://ubuntu.mirror.cambrium.nl/ubuntu/ raring/main libsigsegv2 i386 2.9-4ubuntu3
  404  Not Found [IP: 217.19.16.188 80]
Err http://ubuntu.mirror.cambrium.nl/ubuntu/ raring/main gawk i386 1:4.0.1+dfsg-2ubuntu1
  404  Not Found [IP: 217.19.16.188 80]
Failed to fetch http://ubuntu.mirror.cambrium.nl/ubuntu/pool/main/libs/libsigsegv/libsigsegv2_2.9-4ubuntu3_i386.deb  404  Not Found [IP: 217.19.16.188 80]
Failed to fetch http://ubuntu.mirror.cambrium.nl/ubuntu/pool/main/g/gawk/gawk_4.0.1+dfsg-2ubuntu1_i386.deb  404  Not Found [IP: 217.19.16.188 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

===========================================================


Thanks,
Girish


On Thu, Jul 17, 2014 at 4:00 PM, Bjoern Buerger <b.buerger-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> wrote:
Am Do, 17 Jul 2014 schrieb Girish:
> apt-get install gawk*
> The following NEW packages will be installed:
>   gawk gawk-doc libsigsegv2
> 0 upgraded, 3 newly installed, 0 to remove and 7 not upgraded.
> Need to get 751 kB/3,834 kB of archives.
> After this operation, 7,793 kB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Err http://in.archive.ubuntu.com/ubuntu/ raring/main libsigsegv2
> i386 2.9-4ubuntu3
>   404  Not Found [IP: 91.189.88.153 80]
> Err http://ubuntu.mirror.cambrium.nl/ubuntu/ raring/main libsigsegv2
> i386 2.9-4ubuntu3
>   404  Not Found [IP: 217.19.16.188 80]
> Err http://ubuntu.mirror.cambrium.nl/ubuntu/ raring/main gawk i386
> 1:4.0.1+dfsg-2ubuntu1
>   404  Not Found [IP: 217.19.16.188 80]
> Failed to fetch http://ubuntu.mirror.cambrium.nl/ubuntu/pool/main/libs/libsigsegv/libsigsegv2_2.9-4ubuntu3_i386.deb
> 404  Not Found [IP: 217.19.16.188 80]
> Failed to fetch http://ubuntu.mirror.cambrium.nl/ubuntu/pool/main/g/gawk/gawk_4.0.1+dfsg-2ubuntu1_i386.deb
> 404  Not Found [IP: 217.19.16.188 80]
> E: Unable to fetch some archives, maybe run apt-get update or try
> with --fix-missing?
> root <at> desai-Inspiron-N5050:/home/girish/FriendlyARM/Pengutronix/ptxdist-2013.09.0#
> =========================================
>
> Is there any alternative to this?

First, try to run "apt-get update" as suggested in the error-message.
Most probably, your apt-cache ist just outdated and apt-get update
will refresh the package lists.

With kind regards,
Bjørn

--
Pengutronix e.K.                           | Bjørn Bürger                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5002 |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |





Girish | 17 Jul 09:30 2014
Picon

Compiling PTXdist

Hello,

I downloaded ptxdist-2013.09.0.tar.bz2 and tried to compile.  at 
"./configure" step, getting an error saying

--------------------------------------------------------------
checking whether g++ accepts -g... yes
checking for gawk... no
checking for mawk... mawk
checking for mawk... /usr/bin/mawk
checking awk version... configure: error: we need GNU awk
root <at> desai-Inspiron-N5050:/home/girish/FriendlyARM/Pengutronix/ptxdist-2013.09.0# 

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

tried installing gawk & mawk but some packages on which these two depend 
does not exist on server to fetch and getting the following error.

=========================================
root <at> desai-Inspiron-N5050:/home/girish/FriendlyARM/Pengutronix/ptxdist-2013.09.0# 
apt-get install gawk*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'gawk' for regex 'gawk*'
Note, selecting 'gawk-doc' for regex 'gawk*'
The following package was automatically installed and is no longer required:
   openjdk-7-jre-lib
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
   libsigsegv2
The following NEW packages will be installed:
   gawk gawk-doc libsigsegv2
0 upgraded, 3 newly installed, 0 to remove and 7 not upgraded.
Need to get 751 kB/3,834 kB of archives.
After this operation, 7,793 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://in.archive.ubuntu.com/ubuntu/ raring/main libsigsegv2 i386 
2.9-4ubuntu3
   404  Not Found [IP: 91.189.88.153 80]
Err http://ubuntu.mirror.cambrium.nl/ubuntu/ raring/main libsigsegv2 
i386 2.9-4ubuntu3
   404  Not Found [IP: 217.19.16.188 80]
Err http://ubuntu.mirror.cambrium.nl/ubuntu/ raring/main gawk i386 
1:4.0.1+dfsg-2ubuntu1
   404  Not Found [IP: 217.19.16.188 80]
Failed to fetch

http://ubuntu.mirror.cambrium.nl/ubuntu/pool/main/libs/libsigsegv/libsigsegv2_2.9-4ubuntu3_i386.deb 
404  Not Found [IP: 217.19.16.188 80]
Failed to fetch 
http://ubuntu.mirror.cambrium.nl/ubuntu/pool/main/g/gawk/gawk_4.0.1+dfsg-2ubuntu1_i386.deb 
404  Not Found [IP: 217.19.16.188 80]
E: Unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing?
root <at> desai-Inspiron-N5050:/home/girish/FriendlyARM/Pengutronix/ptxdist-2013.09.0#
=========================================

Is there any alternative to this?

Thanks,
Girish


Gmane