ts-7000
[Top] [All Lists]

Re: [ts-7000] installing packages using dpkg....

To:
Subject: Re: [ts-7000] installing packages using dpkg....
From: Chris Knadle <>
Date: Mon, 17 Oct 2005 17:31:07 -0400
Hey, Omar.

On Monday 17 October 2005 02:21 pm, Omar Rihani wrote:
> Hi all. I am trying to install some packages from dep files. but I am stuck
> with the error below.
> it also happen when am trying to remove packages.. I am Linux newbie.

   Ah.  Okay.

> *     Is there another way to install packages. I really need to install
> the (video 4 linux packeges)

 'dpkg -i <package>', which you already know, is how I do it if I 
download .deb files manually.

> I also try to use the apt-get but the DNS working also. I read the previous
> messages about the DNS problem. but it didn't help. I couldn't make it. I
> tried to edit the
>
> ts7200:/# more /etc/resolv.conf
> #nameserver 194.165.130.227
> #nameserver 213.186.185.245

   If I read the above correctly, there are # characters in front of the 
nameserver entries in /etc/resolv.conf, which I believe need to be removed.

> ts7200:/home/# dpkg -i libpt-plugins-v4l_1.8.4-1_arm.deb
>
> tar: ./md5sums: time stamp 2005-02-21 20:48:36 is 1109043850 s in the
> future
>
> tar: ./control: time stamp 2005-02-21 20:48:01 is 1109043815 s in the
> future

   The above seems to indicate that the clock is off, such that the machine 
thinks that it's in a time older than Feb 21, 2005.  You can set the clock 
manually with the 'date' command, or if you've got 'ntpdate' installed you 
can set the time from a time server.
   [I usually use 'ntpdate -u us.pool.ntp.org']
   To do this will require that you get DNS working first.

> Selecting previously deselected package libpt-plugins-v4l.
>
> (Reading database ... __alloc_pages: 0-order allocation failed
> (gfp=0x1d2/0)
>
> __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
...

   Unfortunately here I'm stumped.  My best guess is a "low-ordered" memory 
allocation error, but I have no idea why you're getting the error.

> I read a pervious message on the group telling me to " First, you must
> enable v4l in the TS-Linux
> distribution. Call "make menuconfig" in the folder in
> which you have extracted the kernel sources."  But the /usr/src/ is empty
> on the ts7200 kit .

   Kernel sources have to be installed before they show up in /usr/src.  As I 
understand it, the TS7200 uses a modified 2.4 kernel, so you should use the 
kernel that comes from T.S., which I think can be found here, unless you 
already have it:

        http://www.embeddedarm.com/linux/ARM.htm

   There's an .iso image to download and burn.  It contains the needed Linux 
2.4 kernel sources, documentation, tools, etc.

   It comes with a "cross-compiler tool-chain" which I think means that you 
can build the kernel using a non-Arm Linux desktop / development machine and 
build a kernel for the Arm processor in the TS7200.  The way I would want to 
do this would be "the Debian way", using 'make-kpkg', which would give you a 
resulting .deb package that you could then upload + install on your TS7200 
(as long as dpkg -i is working, of course).  You can also install the new 
compiled kernel manually if you upload it as well as all of the libraries, 
and set up the boot loader to boot the new kernel.  [Be very careful, and 
make sure you know what you're doing with this last part !]

        - Chris

-- 

Chris Knadle





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU