Re: kernel 2.6.24-1 in lenny, safe to upgrade?

2008-03-28 Thread Gordon Farquharson
Hi Joachim

On Fri, Mar 28, 2008 at 2:10 PM, Joachim Beckers
<[EMAIL PROTECTED]> wrote:

>  It's the same issue as the one that popped up in sid's 2.6.24. It
>  seems that the udev fix is not in the lenny kernel or that it fails
>  somehow. I was able to successfully boot by using this trick from
>  kevin price:
>  "For me 2.6.24-2 from today's sid runs fine with the line "ixp4xx-eth"
>  in
>  /etc/modules and an according rule in
>  /etc/udev/rules.d/z25_persistent-net.rules"

You shouldn't need to do this with the latest kernel in lenny. I've
just tested it and udev loads the ethernet module automatically.
Please send the output from the following commands:

ls -l /boot
cat /etc/udev/rules.d/z25_persistent-net.rules
udevtest /sys/devices/platform/ixp4xx_eth.16

>  Side note: Now my slug works fine, apart from the front usb-connector
>  leds. they are off, but both connectors have drives attached and
>  mounted correctly...

Sounds like your udev is not happy because nslu2-utils uses udev to
automatically turn the leds on and off when devices are plugged into
the USB ports. Please send can you send the output of

cat /etc/udev/rules.d/z60_nslu2-led.rules

so that I can try to figure out what has gone wrong.

Thanks.

Gordon

-- 
Gordon Farquharson
GnuPG Key ID: 32D6D676


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



Re: Missing drivers for USB Ethernet adapters

2008-03-28 Thread Kurt Pruenner
> I have enabled CONFIG_USB_CATC, CONFIG_USB_KAWETH, CONFIG_USB_PEGASUS,
> and CONFIG_USB_RTL8150 for arm, but I'm not sure when a kernel with
> these options enabled will be released. Once again, sorry for the
> inconvenience.

Could you please also enable the cdc_ether driver?

At least my Motorola cable modem (SURFboard SB5100E) uses this driver
when you connect to it via USB, and that's exactly what I'm doing with
my NSLU2...

Thanks! :)

-- 
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
...It might be written "Mindfuck", but it's spelt "L-A-I-N"...
np: Donnacha Costello - Grape B (Colorseries)


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



Re: kernel 2.6.24-1 in lenny, safe to upgrade?

2008-03-28 Thread Joachim Beckers


On 28 Mar 2008, at 20:41, Joachim Beckers wrote:


On 28 Mar 2008, at 20:29, Gordon Farquharson wrote:

Hi Joachim

On Fri, Mar 28, 2008 at 12:56 PM, Joachim Beckers
<[EMAIL PROTECTED]> wrote:


Thanks for the advice. Much needed as my slug wouldn't come up after
the upgrade.

Does it check its hard drives after such an upgrade? It seems like  
the
bootlog is completely normal (network comes up btw) but the leds  
were

off except for the top one that was blinking (two times orange, then
green). There was a lot of disk activity, and I let it do its thing
for a while but then decided that the upgrade probably had failed.
Couldn't ping it or ssh into it.


The upgrade shouldn't trigger a partition check (fsck). fscks are
usually run every 30 times the drive is mounted, so it is possible
that a disk check may have been coincidental. The network access  
would

come up after a partition check so it makes sense that if it was
running fsck, you would not have been able to ping or ssh to the
NSLU2.


I'm guessing it was a coincidental fsck too. After fscking the root  
usb stick on my laptop, the slug boots normally, but still with no  
networking (the led is off, I cannot ping it).


I'll see if I can get into the thing with a usb-to-ethernet adaptor.


I'll try the kernel on a clean installation of lenny this evening to
see if I can reproduce the problem, and let you know what I find.


Ok, great.


It's the same issue as the one that popped up in sid's 2.6.24. It  
seems that the udev fix is not in the lenny kernel or that it fails  
somehow. I was able to successfully boot by using this trick from  
kevin price:
"For me 2.6.24-2 from today's sid runs fine with the line "ixp4xx-eth"  
in

/etc/modules and an according rule in
/etc/udev/rules.d/z25_persistent-net.rules"

Side note: Now my slug works fine, apart from the front usb-connector  
leds. they are off, but both connectors have drives attached and  
mounted correctly...


Joachim


Re: kernel 2.6.24-1 in lenny, safe to upgrade?

2008-03-28 Thread Joachim Beckers


On 28 Mar 2008, at 20:29, Gordon Farquharson wrote:

Hi Joachim

On Fri, Mar 28, 2008 at 12:56 PM, Joachim Beckers
<[EMAIL PROTECTED]> wrote:


Thanks for the advice. Much needed as my slug wouldn't come up after
the upgrade.

Does it check its hard drives after such an upgrade? It seems like  
the

bootlog is completely normal (network comes up btw) but the leds were
off except for the top one that was blinking (two times orange, then
green). There was a lot of disk activity, and I let it do its thing
for a while but then decided that the upgrade probably had failed.
Couldn't ping it or ssh into it.


The upgrade shouldn't trigger a partition check (fsck). fscks are
usually run every 30 times the drive is mounted, so it is possible
that a disk check may have been coincidental. The network access would
come up after a partition check so it makes sense that if it was
running fsck, you would not have been able to ping or ssh to the
NSLU2.


I'm guessing it was a coincidental fsck too. After fscking the root  
usb stick on my laptop, the slug boots normally, but still with no  
networking (the led is off, I cannot ping it).


I'll see if I can get into the thing with a usb-to-ethernet adaptor.


I'll try the kernel on a clean installation of lenny this evening to
see if I can reproduce the problem, and let you know what I find.


Ok, great.

Joachim


Re: kernel 2.6.24-1 in lenny, safe to upgrade?

2008-03-28 Thread Gordon Farquharson
Hi Joachim

On Fri, Mar 28, 2008 at 12:56 PM, Joachim Beckers
<[EMAIL PROTECTED]> wrote:

>  Thanks for the advice. Much needed as my slug wouldn't come up after
>  the upgrade.
>
>  Does it check its hard drives after such an upgrade? It seems like the
>  bootlog is completely normal (network comes up btw) but the leds were
>  off except for the top one that was blinking (two times orange, then
>  green). There was a lot of disk activity, and I let it do its thing
>  for a while but then decided that the upgrade probably had failed.
>  Couldn't ping it or ssh into it.

The upgrade shouldn't trigger a partition check (fsck). fscks are
usually run every 30 times the drive is mounted, so it is possible
that a disk check may have been coincidental. The network access would
come up after a partition check so it makes sense that if it was
running fsck, you would not have been able to ping or ssh to the
NSLU2.

I'll try the kernel on a clean installation of lenny this evening to
see if I can reproduce the problem, and let you know what I find.

Gordon

-- 
Gordon Farquharson
GnuPG Key ID: 32D6D676


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



Re: kernel 2.6.24-1 in lenny, safe to upgrade?

2008-03-28 Thread Joachim Beckers

Hi Gordon,

On 28 Mar 2008, at 18:36, Gordon Farquharson wrote:

Hi Joachim

On Fri, Mar 28, 2008 at 10:51 AM, Joachim Beckers
<[EMAIL PROTECTED]> wrote:

Hi,

While looking at the updates for my NSLU2 running debian lenny just a
few minutes ago, I noticed that kernel 2.6.24-1 is available.
According to the changelog, this does not have the network driver
autoloading fix yet. Or does it? In other words: is it safe to  
upgrade?


Source version 2.6.24-3 includes the change required to load the
network driver automatically. The new binary version is built from
2.6.24-5 so it should work.

If you want, you can always backup the flash with


sudo cat /dev/mtdblock* > backup.img


and then copy this flash to your PC. If anything goes wrong with the
upgrade, you can then use upslug2 [1] to reflash the NSLU2 the image
stored in backup.img. To do this, you would

1. Put the NSLU2 into upgrade mode [2].
2. On the PC run 'upslug2 -i backup.img'



Thanks for the advice. Much needed as my slug wouldn't come up after  
the upgrade.


Does it check its hard drives after such an upgrade? It seems like the  
bootlog is completely normal (network comes up btw) but the leds were  
off except for the top one that was blinking (two times orange, then  
green). There was a lot of disk activity, and I let it do its thing  
for a while but then decided that the upgrade probably had failed.  
Couldn't ping it or ssh into it.


regards,

Joachim


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



Re: kernel 2.6.24-1 in lenny, safe to upgrade?

2008-03-28 Thread Gordon Farquharson
Hi Joachim

On Fri, Mar 28, 2008 at 10:51 AM, Joachim Beckers
<[EMAIL PROTECTED]> wrote:
> Hi,
>
>  While looking at the updates for my NSLU2 running debian lenny just a
>  few minutes ago, I noticed that kernel 2.6.24-1 is available.
>  According to the changelog, this does not have the network driver
>  autoloading fix yet. Or does it? In other words: is it safe to upgrade?

Source version 2.6.24-3 includes the change required to load the
network driver automatically. The new binary version is built from
2.6.24-5 so it should work.

If you want, you can always backup the flash with

> sudo cat /dev/mtdblock* > backup.img

and then copy this flash to your PC. If anything goes wrong with the
upgrade, you can then use upslug2 [1] to reflash the NSLU2 the image
stored in backup.img. To do this, you would

1. Put the NSLU2 into upgrade mode [2].
2. On the PC run 'upslug2 -i backup.img'

Gordon

[1] http://www.nslu2-linux.org/wiki/Main/UpSlug2
[2] http://www.nslu2-linux.org/wiki/HowTo/UseTheResetButtonToEnterUpgradeMode

-- 
Gordon Farquharson
GnuPG Key ID: 32D6D676


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



kernel 2.6.24-1 in lenny, safe to upgrade?

2008-03-28 Thread Joachim Beckers

Hi,

While looking at the updates for my NSLU2 running debian lenny just a  
few minutes ago, I noticed that kernel 2.6.24-1 is available.  
According to the changelog, this does not have the network driver  
autoloading fix yet. Or does it? In other words: is it safe to upgrade?


kind regards,

Joachim


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



Re: Two etch on nslu2 related questions

2008-03-28 Thread Rainer Dorsch
Am Montag, 24. März 2008 schrieb Martin Michlmayr:
> Sorry for the delay.
>
> * Rainer Dorsch <[EMAIL PROTECTED]> [2008-03-01 15:17]:
> > - my backup stick is only 1 GB whereas my regular one is 2 GB.
> >
> >   I created the same partitions on the backup stick and copied all
> >   files (using cp -ra). The nslu2 rejects to boot from the backup
> >   stick, I see no entries in the syslog.
> >
> >   Any idea why this does not work?
>
> I'd use tar instead of cp but I'm not sure that's the problem.  But
> what about /sys and /proc?  Did you copy those.  I'd exclude those and
> just create empty directories.

Thanks. Using tar instead of cp solved the problem. /proc and /sys have been 
empty, because I was copying the stick on a standard Linux PC, not while 
running on the nslu2 itself.

> > - I was running on my spare nslu2 some time ago Debian etch as well
> >   (prerelease probably). Judging from the syslog it boots but it is
> >   looking for kernel modules 2.6.18-3 for the ixp4xx ethernet driver
> >   which are not on my flash stick anymore.
> >
> >   I am tempted to add an init script (at the end of the init process)
> >   which does a "dpkg-reconfigure linux-image-2.6.18-6-ixp4xx"
>
> You mean to write it to flash?  You could just run flash-kernel
> 2.6.18-6-ixp4xx.  But if 2.6.18-6-ixp4xx is installed on your machine,
> I could also give you a firmware image that you could write with
> upslug2.

Yes, I want to write it to flash. Since everything works fine, would it work 
to backup a flash image as described at

http://www.nslu2-linux.org/wiki/HowTo/CompletelyBackupTheNSLU2

?

My RedBoot parition table looks slightly different (there is a "loader" but 
no "Flashdisk").

Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0x7e
6 RedBoot partitions found on MTD device IXP4XX-Flash.0
Creating 6 MTD partitions on "IXP4XX-Flash.0":
0x-0x0004 : "RedBoot"
0x0004-0x0006 : "SysConf"
0x0006-0x0008 : "Loader"
0x0008-0x001e : "Kernel"
0x001e-0x007e : "Ramdisk"
0x007e-0x0080 : "FIS directory"

Would the appropriate way to create a firmware image be

dd if=/dev/mtdblock0 of=redboot.bin 
dd if=/dev/mtdblock1 of=sysconf.bin 
dd if=/dev/mtdblock2 of=loader.bin 
dd if=/dev/mtdblock3 of=kernel.bin 
dd if=/dev/mtdblock4 of=ramdisk.bin 
dd if=/dev/mtdblock5 of=fisdir.bin

cat redboot.bin sysconf.bin loader.bin kernel.bin ramdisk.bin fisdir.bin > 
fullimage.bin

?

Many thanks,
Rainer

-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/



Re: Two etch on nslu2 related questions

2008-03-28 Thread Martin Michlmayr
* Rainer Dorsch <[EMAIL PROTECTED]> [2008-03-28 15:46]:
> Would the appropriate way to create a firmware image be

You can simply do:
cat /dev/mtdblock? > backup-mtd

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


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



Re: Video application

2008-03-28 Thread Bill Gatliff

Tomasz Chmielewski wrote:

Richard schrieb:

Hi All
Has anyone tried to use a NSLU2 for video streaming, ie  connect a web 
cam to it and use it as a streaming server.
I'd like to be able to video an object exploding , stream the video to 
another computer, sample at a high rate

and then play it back slowly.

has anyone already done any thing similar ??


I used to experiment with video streaming on ASUS WL-500gP (266 MHz, 32 
MB RAM, mipsel arch).


I used vlc for video transcoding and streaming and Philips USB camera.

The device was swapping a bit and was a bit slow.


You say you want high rate to film an exploding object - you may have 
trouble with that with NSLU2, I guess.


I would think so.  In particular, it will (a) be difficult to find an 
off-the-shelf webcam with a useful frame rate (b) that won't also swamp 
the NSLU2's bandwidth-constrained, floating-point-challenged  processor 
which at the same time is (c) overwhelmed with pushing what data it can 
out over TCP/IP through a bandwidth-challenged ethernet implementation 
to another machine.


I'm not really an authority on such matters, though.  Just my $0.02 
after working with other, comparable processors and other platforms.


I looked at some solutions out of curiosity once, and discovered that a 
lot of the high-speed streaming camera implementations used for this 
kind of thing actually bolt the camera core right to the CPU over DMA, 
and then "stream" the raw frames to SRAM.  An offline process then 
pushes those frames out over a fast link (Firewire? SCSI?) to another 
processsor with the memory and horsepower to turn them into 
streaming-compatible formats.  Or they do the compression with FPGAs. 
Big ones.  :)


These were 1000s of frames per second-type systems intended for 
scientific work, though.  Maybe beyond what you're after, but even a 
cinematic-quality experience is probably beyond the NSLU2.




b.g.

--
Bill Gatliff
[EMAIL PROTECTED]


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



Re: Video application

2008-03-28 Thread Tomasz Chmielewski

Richard schrieb:

Hi All
Has anyone tried to use a NSLU2 for video streaming, ie  connect a web cam to it 
and use it as a streaming server.

I'd like to be able to video an object exploding , stream the video to another 
computer, sample at a high rate
and then play it back slowly.

has anyone already done any thing similar ??


I used to experiment with video streaming on ASUS WL-500gP (266 MHz, 32 
MB RAM, mipsel arch).


I used vlc for video transcoding and streaming and Philips USB camera.

The device was swapping a bit and was a bit slow.


You say you want high rate to film an exploding object - you may have 
trouble with that with NSLU2, I guess.



--
Tomasz Chmielewski
http://wpkg.org


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



Re: non-working coreutils and findutils in arm chroot, running armel kernel

2008-03-28 Thread Riku Voipio
block 472982 by 462677
block 472983 by 462677
thanks

 462677 cloned as bugs 472982, 472983. 
On Thu, Mar 27, 2008 at 04:34:14PM -0400, Nicolas Pitre wrote:
> I'll let you test it, but otherwise:

Tested now, rm/find work beautifully. Submitted to the arm patch tracker.


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



Video application

2008-03-28 Thread Richard
Hi All
Has anyone tried to use a NSLU2 for video streaming, ie  connect a web cam to 
it 
and use it as a streaming server.
I'd like to be able to video an object exploding , stream the video to another 
computer, sample at a high rate
and then play it back slowly.

has anyone already done any thing similar ??
TIA


-- 

Best Wishes

Richard Bown

~
Registered Linux User 365161
OS Mandriva 2008.1 Kernel 2.6.24.3-desktop-13nmb
HAM Callsign G8JVM : Locator IO82SP
QRV all bands 80mtrs to 3 cms ,( non WARC )
http://www.software-radio.org.uk

A computer is like a Native American Indian teepee, it has no gates, no windows 
and has an apache inside.


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