Re: Re: NSLU2 Debian Installer Erroneous asking for an IP address

2008-01-09 Thread Dirk Vanden Boer
A simple workaround for people having problem with this. Wait to
plug-in the network cable until the slug finished booting. It will
fail to get a dhcp address and will fallback to static ip.

Greets

On Jan 8, 2008 7:49 PM, Mike (mwester) [EMAIL PROTECTED] wrote:
 So, basically even though the user has specified a static IP, the unit
 DHCP's anyway.  Considering that a well-behaved DHCP server will probe the
 active addresses, it's *guaranteed* that not even by accident will the NSLU2
 get the static IP that the user set.  Hence the device is lost on the
 ether.

 Debugging this situation is difficult for the novice.  First, the user set a
 static IP -- there's no reason for them to go check their router to see if
 it issued a DHCP IP in the first place; they're not expecting that to
 happen.  Secondly, many routers don't even provide a means to check what
 DHCP has done, so the user can't discover the IP even if a wiki or document
 told them to do so (I believe that Linksys, one of the most common routers
 in this area, is one such vendor).

 Personally, I find this behavior of the installer to be wrong, in the same
 way that I would be angry if my automobile took it upon itself to turn the
 steering wheel for me, because I happened to leave the turn-signal activated
 for too long.  But I'm not a Debian user (I just happen to frequent the
 #nslu2-general IRC channel where this issue has become so commonly asked).

 IMO, if this behavior is retained, it needs a gigantic red box (flashing,
 preferably) on the web pages describing the installation process.  Many of
 the users I encounter on that IRC channel are truely novices, so the text
 also should not just limit itself to outlining the behavior, but the
 implications of it as well (that the unit will DHCP and that many users may
 not have routers that offer the ability to see what the DHCP IP might have
 been, resulting in an NLSU2 on the network that is well and truely lost).
 And, no, running nmap to find it is not an option for most of these users!

 Regards,
 Mike (mwester)



 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



fan control on thecus n2100

2008-01-09 Thread Gaudenz Steinlin
Hi

With kernel 2.6.23 the F75375 driver for the fan control was updated.
AFAICS it should now support automatic fan control, but I did not
suceeed in enableing it. Is there any documentation for the files in 
/sys/devices/platform/IOP3xx-I2C.0/i2c-adapter\:i2c-0/0-002e/

How can I set the fan speed manually now and how do I enable automatic
fan control (if possible)?

Gaudenz

-- 
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Upgrading kernel on a NSLU2

2008-01-09 Thread mayur0122-linux
hi

I have installed debian on my NSLU2 a while back... (June07 I guess)
I am able to happily use apt-get upgrade to upgrade all but the kernel image. 

I am really worried on using apt-get to upgrade the kernel. Can somebody guide 
me on how to upgrade the kernel. More specifically the following are my 
concerns. 
(I am referring to Installing Debian on the Linksys NSLU2 guide)

1. There is an unofficial debian image at http://www.slug-firmware.net/d-dls.php
which has the IXP4xx microcode. 
  I remember installing this on my NSLU2.

Currently I have:
 
uname -a:
Linux vault 2.6.18-4-ixp4xx #1 Tue Mar 27 18:01:56 BST 2007 armv5tel GNU/Linux

dpkg -l | grep linux-image
ii  linux-image-2.6.18-4-ixp4xx  2.6.18.dfsg.1-12 Linux 
2.6.18 image on IXP4xx

slug:~# apt-get upgrade 
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
  linux-image-2.6.18-4-ixp4xx
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 8851kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.

If I do a apt-get upgrade how does the proprietary IXP4xx microcode get 
included ? 

2. I know that linux-image-2.6-ixp4xx (2.6.18+6etch2) is available, but I am 
really not sure why apt-get is telling me to upgrade to 2.6.18-4 only... 

The recent kernel deb seems to be released the last Christmas day... 

linux-image-2.6.18-5-ixp4xx_2.6.18.dfsg.1-17_arm.deb25-Dec-2007 12:47  8.4M

It would be nice if there were instructions on how one can upgrade the kernel 
on the debian-slug install page.. 

Regards
Mayuresh


--When there is a Will, There 
is a way..

Re: fan control on thecus n2100

2008-01-09 Thread Martin Michlmayr
* Gaudenz Steinlin [EMAIL PROTECTED] [2008-01-09 11:27]:
 How can I set the fan speed manually now and how do I enable automatic
 fan control (if possible)?

I don't know which tools to use to control it automatically, but here
are instructions for manual use:

   By default, the fan should run at full speed. If you need to regulate the 
speed, you need to
   locate the pwm files in /sys:
find /sys/ | grep pwm
/sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm2
/sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm1

   If you want to stop the fan, you have to write the value zero to these files:
echo 0  /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm2
echo 0  /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm1

   You can activate full speed using the following commands:
echo 255  /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm1
echo 255  /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm2

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Upgrading kernel on a NSLU2

2008-01-09 Thread Xan

[EMAIL PROTECTED] wrote:

hi

I have installed debian on my NSLU2 a while back... (June07 I guess)
I am able to happily use apt-get upgrade to upgrade all but the kernel 
image.


I am really worried on using apt-get to upgrade the kernel. Can 
somebody guide me on how to upgrade the kernel. More specifically the 
following are my concerns.
(I am referring to Installing Debian on the Linksys NSLU2 
http://www.cyrius.com/debian/nslu2/install.html guide)


1. There is an unofficial debian image at 
http://www.slug-firmware.net/d-dls.php

which has the IXP4xx microcode.
  I remember installing this on my NSLU2.

Currently I have:
 
uname -a:
Linux vault 2.6.18-4-ixp4xx #1 Tue Mar 27 18:01:56 BST 2007 armv5tel 
GNU/Linux


dpkg -l | grep linux-image
ii  linux-image-2.6.18-4-ixp4xx  
2.6.18.dfsg.1-12 Linux 2.6.18 image on IXP4xx


slug:~# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
  linux-image-2.6.18-4-ixp4xx
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 8851kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.

If I do a apt-get upgrade how does the proprietary IXP4xx microcode 
get included ?


2. I know that linux-image-2.6-ixp4xx (2.6.18+6etch2) is available, 
but I am really not sure why apt-get is telling me to upgrade to 
2.6.18-4 only...


The recent kernel deb seems to be released the last Christmas day...

linux-image-2.6.18-5-ixp4xx_2.6.18.dfsg.1-17_arm.deb 
http://http.us.debian.org/debian/pool/main/l/linux-2.6/linux-image-2.6.18-5-ixp4xx_2.6.18.dfsg.1-17_arm.deb 
	25-Dec-2007 12:47 	8.4M




It would be nice if there were instructions on how one can upgrade the 
kernel on the debian-slug install page..


Regards
Mayuresh


-- When there is a 
Will, There is a way.. 

I'm interested in that too.
I will follow this thread.

Xan.

PS: I install debian in jul. 07


Re: fan control on thecus n2100

2008-01-09 Thread Riku Voipio
On Wed, Jan 09, 2008 at 11:27:22AM +0100, Gaudenz Steinlin wrote:
 suceeed in enableing it. Is there any documentation for the files in 
 /sys/devices/platform/IOP3xx-I2C.0/i2c-adapter\:i2c-0/0-002e/

see: Documentation/hwmon/sysfs-interface

 How can I set the fan speed manually now and how do I enable automatic
 fan control (if possible)?

Martin already explained the manual control. Automatic control using
just the fintek chip would require reliable reading of fan speed, which
does not appear to be the case on N2100. However, such tool can be
written for userland (I think someone did already?).

-- 
rm -rf only sounds scary if you don't have backups


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Thecus N2100 - problems after flashing

2008-01-09 Thread Martin Michlmayr
* Salvatore Iovene [EMAIL PROTECTED] [2008-01-09 09:31]:
 Hi, and thanks for the answer. After all everything turned out to be
 fine. It seems that the Thecus leased a DHCP address after all, and I
 just insisted on probin 192.168.1.100. :)

This is documented: If you have used a static configuration different
from the default address 192.168.1.100, these values will be used.
Otherwise, the installer will ask a DHCP server in your network for an
IP configuration.

However, if you read other messages posted to debian-arm in the last
few days you'll see a discussion about whether the current behaviour
is a good idea.

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Thecus N2100 - problems after flashing

2008-01-09 Thread Salvatore Iovene
On Wed, Jan 09, 2008 at 06:10:18PM +0100, Martin Michlmayr wrote:
 * Salvatore Iovene [EMAIL PROTECTED] [2008-01-09 09:31]:
  Hi, and thanks for the answer. After all everything turned out to be
  fine. It seems that the Thecus leased a DHCP address after all, and I
  just insisted on probin 192.168.1.100. :)
 
 This is documented: If you have used a static configuration different
 from the default address 192.168.1.100, these values will be used.
 Otherwise, the installer will ask a DHCP server in your network for an
 IP configuration.
 
 However, if you read other messages posted to debian-arm in the last
 few days you'll see a discussion about whether the current behaviour
 is a good idea.

Indeed it's documented, even tho at first sight I just thought that if
I had a static address, that will be used. But it actually is a static
address different from 192.168.1.100.

I agree that this should be changed to a more intuitive way: if the
original fw had a static address, then keep it (whatever be it). If it
had dhcp, then do dhcp. At least that's what I expected. I was so sure
that I even went to buy a soldering gun and after a night sleep I
figured that maybe it used dhcp so I went to check the leases on the
dhcp server.

-- 
Salvatore Iovene
http://www.iovene.com/


signature.asc
Description: Digital signature


Re: Upgrading kernel on a NSLU2

2008-01-09 Thread Martin Michlmayr
* [EMAIL PROTECTED] [EMAIL PROTECTED] [2008-01-09 06:37]:
 If I do a apt-get upgrade how does the proprietary IXP4xx microcode get 
 included ? 

The IXP4xx microcode is stored in /lib/firmware and will still be
there when you upgrade the kernel.

 2. I know that linux-image-2.6-ixp4xx (2.6.18+6etch2) is available,
 but I am really not sure why apt-get is telling me to upgrade to
 2.6.18-4 only...

It should install 2.6.18-5.  Does apt-get dist-upgrade rather than
apt-get upgrade help?  Did you run apt-get update first?
-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Upgrading kernel on a NSLU2

2008-01-09 Thread debian-arm

[EMAIL PROTECTED] wrote:
I am really worried on using apt-get to upgrade the kernel. Can somebody 
guide me on how to upgrade the kernel. More specifically the following 
are my concerns.
(I am referring to Installing Debian on the Linksys NSLU2 
http://www.cyrius.com/debian/nslu2/install.html guide)


1. There is an unofficial debian image at 
http://www.slug-firmware.net/d-dls.php

which has the IXP4xx microcode.
  I remember installing this on my NSLU2.



I installed my NSLU2 exactly the same way in September 2007 (I think). 
As long as I stick to debian etch in sources.list,


  aptitude upgrade

works just fine.


The microcode is saved somewhere on the hard drive, and when the kernel 
is upgraded, the slug automatically builds a new flash image including 
the kernel, drivers and I think the boot system and then writes it to 
the the internal memory. This takes some time, so it's better to run 
that in a screen session.


I'd recommend to backup your image though, using

  cat /dev/mtdblock*  image-backup.bin

and copying the result to your computer. If anything goes wrong, you can 
just write that image back using upslug2 or the Sercom tool.


Greets, Lee
(taking no responsibility for the results - but it works for me).


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: fan control on thecus n2100

2008-01-09 Thread Frank A. Kingswood

Martin Michlmayr wrote:

* Gaudenz Steinlin [EMAIL PROTECTED] [2008-01-09 11:27]:
  

How can I set the fan speed manually now and how do I enable automatic
fan control (if possible)?



I don't know which tools to use to control it automatically, but here
are instructions for manual use:

   By default, the fan should run at full speed. If you need to regulate the 
speed, you need to
   locate the pwm files in /sys:
find /sys/ | grep pwm
/sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm2
/sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm1

   If you want to stop the fan, you have to write the value zero to these files:
echo 0  /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm2
echo 0  /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm1

   You can activate full speed using the following commands:
echo 255  /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm1
echo 255  /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm2

  
See http://www.debonaras.org/wiki/Info/N2100FanControl for a shell 
script that regulates the fan by reading system and disk temperatures. 
Fan control has only a very small control range, and the script needs to 
be tuned for that, but when that is done it works just fine.


Frank


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: armel packages for linux-2.6.23-2 and install problem

2008-01-09 Thread Martin Guy
Figured it out finally.
When you use RedBoot to create images loaded over the net, as well as
the partition length, it sets the load size for the partitions as
well, which do not (and cannot) get updated when new contents are
written in from linux. Specifically,

RedBoot load -v -r -b 0x80 -m http -h 192.168.1.1
/.../initrd.img-2.6.23-1-iop32x
RedBoot  fis create -l 0xd0 -s 0xd0 ramdisk

So the new, bigger initrd was only getting loaded into RAM as far as
the length of the old one.

For default installations where no half-witted redbooting has been
going on, the new kernels should work fine. Enjoy

M


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Packages that only match linux-gnu in configure

2008-01-09 Thread Riku Voipio
Hi,

As pointed out by Lennert, there is a huge amount of configure scripts
looking at *-*-linux-gnu) in kde packages. Fortunately, looking more
closely, these appear mostly harmless - Ie they are only used to
turn on some warnings. In other cases, these can cause failures to
build, missing functionality of applications or needless lack of
optimizations.

This triggered me to grep the source archive for cases where the
configure scripts look for -linux-gnu) instead of -linux-gnu*).a
The list follows (cleaned up from kde packages and obvious false
positives). I've failed two bugs so far (alpine: #459830,
gamin: #459936).

./alpine-1.0+dfsg/configure:*-linux-gnu)
./alpine-1.0+dfsg/configure:  *-linux-gnu)
./alpine-1.0+dfsg/configure.ac:*-linux-gnu)
./alpine-1.0+dfsg/configure.ac:  *-linux-gnu)
./am-utils-6.1.5/configure.in:  # Temporarily undo renaming of linux-gnu to 
linux, because
./am-utils-6.1.5/configure.in:  # libtool only looks for linux-gnu.  Sigh.
./am-utils-6.1.5/configure.in:  linux ) host_os=linux-gnu ;;
./am-utils-6.1.5/configure.in:  # end temporary renaming of linux-gnu to 
linux
./am-utils-6.1.5/configure.in:  linux-gnu ) host_os=linux ;;
./am-utils-6.1.5/configure: # Temporarily undo renaming of linux-gnu to 
linux, because
./am-utils-6.1.5/configure: # libtool only looks for linux-gnu.  Sigh.
./am-utils-6.1.5/configure: linux ) host_os=linux-gnu ;;
./am-utils-6.1.5/configure: # end temporary renaming of linux-gnu to 
linux
./am-utils-6.1.5/configure: linux-gnu ) host_os=linux ;;
./arson-0.9.8beta2/configure:  *-*-linux-gnu)
./asterisk-1.4.17~dfsg/configure:if test ${host_os} != linux-gnu ; then
./asterisk-1.4.17~dfsg/configure.ac:if test ${host_os} != linux-gnu ; then
./boa-0.94.14rc21/configure.in:dnl AC_MSG_RESULT($host) dnl i686-pc-linux-gnu
./boa-0.94.14rc21/configure.in:dnl AC_MSG_RESULT($host_os) dnl linux-gnu
./bzflag-2.0.10.20071115/configure:if test x$host_os = xlinux-gnu -o 
x$host_os = xlinux ; then
./bzflag-2.0.10.20071115/configure.ac:if test x$host_os = xlinux-gnu -o 
x$host_os = xlinux ; then
./c-cpp-reference-2.0.2/configure:*-*-linux-gnu)
./c-cpp-reference-2.0.2/configure:  case $host in*-*-linux-gnu)
./cdebootstrap-0.4.3/configure: if test $target_os = linux-gnu; then
./cdebootstrap-0.4.3/configure.ac:  if test $target_os = 
linux-gnu; then
./cdparanoia-3.10+debian~pre0/configure.sub:os=`echo $os | sed -e 
's|gnu/linux|linux-gnu|'`
./cdparanoia-3.10+debian~pre0/configure.sub:os=`echo $os | sed -e 
's|linux|linux-gnu|'`
./cdparanoia-3.10+debian~pre0/configure.guess:  # suitable tag, in the style of 
linux-gnu.
./cdparanoia-3.10+debian~pre0/configure.guess:  echo 
${UNAME_MACHINE}-unknown-linux-gnu

./cdparanoia-3.10+debian~pre0/configure.guess:  echo x86_64-unknown-linux-gnu
./cdparanoia-3.10+debian~pre0/configure.guess:  echo 
xtensa-unknown-linux-gnu
./cdparanoia-3.10+debian~pre0/configure.guess:  
TENTATIVE=${UNAME_MACHINE}-pc-linux-gnu
./cdparanoia-3.10+debian~pre0/configure.guess:  echo 
${UNAME_MACHINE}-pc-linux-gnuaout
./cdparanoia-3.10+debian~pre0/configure.guess:  echo 
${UNAME_MACHINE}-pc-linux-gnucoff
./classpath-0.96.1/configure:
target_os=linux-gnu/classpath-0.96.1/configure.ac:target_os=linux-gnu
./classpath-0.96.1/configure.ac:AC_MSG_WARN(no, using x86-linux-gnu)
./creox-0.2.2rc2/configure:  *-*-linux-gnu)
./dbus-1.1.2/configure.in:if test x$target_os = xlinux-gnu -o x$target_os = 
xlinux; then
./dbus-1.1.2/configure:if test x$target_os = xlinux-gnu -o x$target_os = 
xlinux; then
./droidbattles-1.0.6/configure:  *-*-linux-gnu)
./facturalux-0.4/configure:  *-*-linux-gnu)
./fenix-0.92a.dfsg1/configure.in:linux-gnu)
./fenix-0.92a.dfsg1/configure:linux-gnu)
./flac-1.2.1/configure.in:  *-pc-linux-gnu)
./flac-1.2.1/configure: *-pc-linux-gnu)
./fraqtive-0.3.1/configure:  *-*-linux-gnu)
./fraqtive-0.3.1/configure: *-*-linux-gnu)
linux-gnutlsto compile on a linux host and install in /usr/local
linux-gnutls)
./freesweep-0.88/configure.in:  if test $host_os = 'linux' || test 
$host_os = 'linux-gnu' || test $host_os = '
gnu0.2'; then
./freesweep-0.88/configure: if test $host_os = 
'linux' || test $host_os = 'linux-gnu' || tes
t $host_os = 'gnu0.2'; then
./ftdi-eeprom-0.2/configure:*-*-linux-gnu)
./gamin-0.1.9/configure.in:#AM_CONDITIONAL(HAVE_LINUX, test x$target_os = 
xlinux-gnu)
./gamin-0.1.9/configure.in:if test x$target_os = xlinux-gnu; then
./gamin-0.1.9/configure.in:if test x$os = xlinux-gnu; then
./gamin-0.1.9/configure.in:if test x$os = xlinux-gnu; then
./gamin-0.1.9/configure.in:if test x$os = xlinux-gnu -a x$WITH_THREADS = x1 ; 
then
./gamin-0.1.9/configure:#AM_CONDITIONAL(HAVE_LINUX, test x$target_os = 
xlinux-gnu)
./gamin-0.1.9/configure:if test x$target_os = xlinux-gnu; then

Re: Upgrading kernel on a NSLU2

2008-01-09 Thread mayur0122-linux
HI Martin, 

Thanks for the confirmation, the upgrade did work but with some tiny effort... 
see the log below 
I had to install the specific version by using linux-image 
=version_number... 

==
myslug:~/kernel# apt-get clean
myslug:~/kernel# apt-get clean all
myslug:~/kernel# apt-get update
Get:1 http://natasha.stmarytx.edu etch Release.gpg [378B]
Hit http://natasha.stmarytx.edu etch Release
Get:2 http://security.debian.org etch/updates Release.gpg [189B]
Get:3 http://www.backports.org etch-backports Release.gpg [189B]
Get:4 http://security.debian.org etch/updates Release [22.5kB]
Get:5 http://www.backports.org etch-backports Release [43.7kB]
Ign http://natasha.stmarytx.edu etch/main Packages/DiffIndex
Ign http://natasha.stmarytx.edu etch/main Sources/DiffIndex
Hit http://natasha.stmarytx.edu etch/main Packages
Hit http://natasha.stmarytx.edu etch/main Sources
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Get:6 http://security.debian.org etch/updates/main Packages [191kB]
Hit http://www.backports.org etch-backports/main Packages/DiffIndex
Hit http://www.backports.org etch-backports/contrib Packages/DiffIndex
Hit http://www.backports.org etch-backports/non-free Packages/DiffIndex
Get:7 http://www.backports.org etch-backports/contrib 2007-06-10-0940.10.pdiff 
[596B]
Get:8 http://www.backports.org etch-backports/contrib 2007-06-10-0940.10.pdiff 
[596B]
Get:9 http://www.backports.org etch-backports/contrib 2007-06-10-0940.10.pdiff 
[596B]
Ign http://www.backports.org etch-backports/contrib 2007-06-10-0940.10.pdiff
Get:10 http://security.debian.org etch/updates/main Sources [28.9kB]
Hit http://www.backports.org etch-backports/contrib
Fetched 287kB in 6s (45.6kB/s)
Reading package lists... Done
myslug:~/kernel# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be upgraded:
  linux-image-2.6.18-4-ixp4xx
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 8851kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
myslug:~/kernel# man apt-get
Reformatting apt-get(8), please wait...
myslug:~/kernel# apt-get -f
apt 0.6.46.4-0.1 for linux arm compiled on Feb 26 2007 22:44:23
Usage: apt-get [options] command
   apt-get [options] install|remove pkg1 [pkg2 ...]
   apt-get [options] source pkg1 [pkg2 ...]

apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.

Commands:
   update - Retrieve new lists of packages
   upgrade - Perform an upgrade
   install - Install new packages (pkg is libc6 not libc6.deb)
   remove - Remove packages
   source - Download source archives
   build-dep - Configure build-dependencies for source packages
   dist-upgrade - Distribution upgrade, see apt-get(8)
   dselect-upgrade - Follow dselect selections
   clean - Erase downloaded archive files
   autoclean - Erase old downloaded archive files
   check - Verify that there are no broken dependencies

Options:
  -h  This help text.
  -q  Loggable output - no progress indicator
  -qq No output except for errors
  -d  Download only - do NOT install or unpack archives
  -s  No-act. Perform ordering simulation
  -y  Assume Yes to all queries and do not prompt
  -f  Attempt to continue if the integrity check fails
  -m  Attempt to continue if archives are unlocatable
  -u  Show a list of upgraded packages as well
  -b  Build the source package after fetching it
  -V  Show verbose version numbers
  -c=? Read this configuration file
  -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
   This APT has Super Cow Powers.
myslug:~/kernel# apt-get -d dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be upgraded:
  linux-image-2.6.18-4-ixp4xx
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 8851kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://security.debian.org etch/updates/main linux-image-2.6.18-4-ixp4xx 
2.6.18.dfsg.1-12etch2 [8851kB]
Fetched 8851kB in 24s (364kB/s)
Download complete and in download only mode
myslug:~/kernel# dpkg -l | grep linux
ii  foomatic-db  20061031-1   
linuxprinting.org printer support - database
ii  foomatic-db-engine   3.0.2-20061031-1 
linuxprinting.org printer support - programs
ii  foomatic-filters 3.0.2-20061031-1.2   
linuxprinting.org printer support - filters
ii  libselinux1  

building ipcld on debian/NSLU

2008-01-09 Thread mayur0122-linux
hi

I am trying to build the iplcd driver for the NSLU2

http://www.linuxha.com/athome/common/iplcd/iplc-driver.tgz

This is for the USB   Insteon PowerLinc V2

I am looking for the kernel build library which is not installed with the 
linux-image package... 

myslug:~/smarthome/iplc/driver/linux-2.6# make 
make -C /lib/modules/2.6.18-5-ixp4xx/build/ 
SUBDIRS=/home/super1/smarthome/iplc/driver/linux-2.6 modules
make: *** /lib/modules/2.6.18-5-ixp4xx/build/: No such file or directory.  Stop.
make: *** [default] Error 2


What package do I need to install to get the build directory for the kernel ?

Mayuresh




--When there is a Will, There 
is a way..