Re: Problem installing debian ARM on nslu2

2008-02-18 Thread Martin Michlmayr
* Martin Michlmayr [EMAIL PROTECTED] [2008-02-18 08:34]:
  http://www.cyrius.com/debian/nslu2/install.html. It all goes pretty
  fine until the point I have to choose the installer modules, that is:
  partman-auto, partman-ext3 and usb-storage-modules-2.6.18-5-ixp4xx-di.
  Unfortunately, I have no usb-storage-modules-2.6.18-5-ixp4xx-di module
  in the list. Without this module, the installer cannot see my USB
  stick nor USB HDD, and the partman sees only the internal memory
  blocks.
 This is because the stable version of Debian was updated a few days
 ago with a new, incompatible kernel.  I will have to rebuild the
 unofficial installer images.  Give me a day or two.

I sent a new image to Rod so he can upload it to slug-firmware.net.
In the meantime, you can get the image from
http://cyrius.com/debian/nslu2/files/etchr3.zip

md5sums:

9b25e76c6afee4d371a98d64043674bc  etchr3.zip
2d0edaff5853fed63315a23ad616c999  etchr3.img

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


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



Re: Debian on N4100

2008-02-18 Thread Bill Gatliff

Martin Michlmayr wrote:


There's no d-i image.  The URL above is your best bet.
  


Ok.  I'm very, very close.  Details to follow shortly.  :) :)

Quick question.  I thought armel implied EABI, but I notice that the ads 
installer image seems to require an OABI-capable kernel.  It doesn't 
appear to work with an EABI-only kernel.


Thoughts?


b.g.

--
Bill Gatliff
[EMAIL PROTECTED]



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



Re: Debian on N4100

2008-02-18 Thread Bill Gatliff

Bill Gatliff wrote:
 
Ok.  I'm very, very close.  Details to follow shortly.  :) :)


Still very close, but not there just yet.  :(

To recap.  I rebuilt the wpkg kernel, to turn on things like NFS and 
ramdisks.  I used a gcc-4.2.1 kernel constructed with crosstool-ng.


I used the ads initrd image, downloading it as a ramdisk.  
Installation-wise, there weren't any significant issues.


So I get the runtime installed fine, which naturally includes a bunch of 
network traffic to download the packages, etc.  But after a restart the 
system I get seemingly-random oopses that seem related to incoming 
network packets.  If I use the debian runtime, the OOPS happens every 
kernel boot.  If I use NFS root, no oopses.  Very strange...



b.g.

--
Bill Gatliff
[EMAIL PROTECTED]



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



Re: Problem installing debian ARM on nslu2

2008-02-18 Thread Marcos Lazarini
2008/2/18, Martin Michlmayr [EMAIL PROTECTED]:

 * Martin Michlmayr [EMAIL PROTECTED] [2008-02-18 08:34]:
   http://www.cyrius.com/debian/nslu2/install.html. It all goes pretty
   fine until the point I have to choose the installer modules, that is:
   partman-auto, partman-ext3 and usb-storage-modules-2.6.18-5-ixp4xx-di.
   Unfortunately, I have no usb-storage-modules-2.6.18-5-ixp4xx-di module
   in the list. Without this module, the installer cannot see my USB
   stick nor USB HDD, and the partman sees only the internal memory
   blocks.
  This is because the stable version of Debian was updated a few days
  ago with a new, incompatible kernel.  I will have to rebuild the
  unofficial installer images.  Give me a day or two.

 I sent a new image to Rod so he can upload it to slug-firmware.net.
 In the meantime, you can get the image from
 http://cyrius.com/debian/nslu2/files/etchr3.zip


Hi Martin, I'm testing this image right now, and it has this time the
usb-storage module! At least, this bug is solved.
Now, I'm wating the install to finish.

Thank you very much for your promptness!


-- 
Marcos


Missing drivers for USB Ethernet adapters

2008-02-18 Thread Håkon Stordahl
I'm using as a gateway/router an NSLU2 running Debian and with an USB
Ethernet adapter attached, and it works very well. Thanks! However, I
noticed that in the most recent kernel package for IXP4xx in unstable
(linux-image-2.6.24-1-ixp4xx) the drivers for many USB Ethernet
adapters which used to be located in the directory
/lib/modules/kvers/kernel/drivers/net/usb seem to be missing. I
believe linux-image-2.6.22-3-ixp4xx is the latest kernel package for
IXP4xx where these drivers are included.

Somebody knows the reason for this or if there's any chance that the
drivers might get included again?


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



Re: Debian on N4100

2008-02-18 Thread Bill Gatliff

Guys:


My n4100 kernel is still OOPSing at network-related locations.  I'm 
stumped.  The kernel boots and otherwise runs fine, and you can even 
ping it (both from and to the target).  But do anything involving TCP, 
and you get this:


RedBoot load -r -b 0x10 zImage
Using default protocol (TFTP)
Raw file loaded 0x0010-0x0027ad4f, assumed entry at 0x0010
RedBoot exec -c console=ttyS0,115200 [EMAIL PROTECTED] panic=5 
root=/dev/md0

Using base address 0x0010 and length 0x0017ad50
i82544_stop
i82544_stop 0 flg 17
Uncompressing 
Linux.. 
done, booting the kernel.
Linux version 2.6.17.8-n4100 ([EMAIL PROTECTED]) (gcc version 4.2.1) #39 Mon 
Feb 18 16:53:05 CST 2008

CPU: XScale-IOP8032x Family [69052e30] revision 0 (ARMv5TE)
Machine: Intel IQ31244
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists
Kernel command line: console=ttyS0,115200 [EMAIL PROTECTED] panic=5 
root=/dev/md0

PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 256384KB available (2645K code, 582K data, 108K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
PCI: bus0: Fast back to back transfers disabled
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
Intel IOP3XX DMA Copyright(c) 2004 Intel Corporation
NetWinder Floating Point Emulator V0.97 (double precision)
Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]).
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered
io scheduler cfq registered (default)
Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 
sec (nowayout= 0)

Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xfe80 (irq = 28) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
Intel(R) PRO/1000 Network Driver - version 7.0.33-k2-NAPI
Copyright (c) 1999-2005 Intel Corporation.
e1000: :00:01.0: e1000_probe: (PCI:33MHz:32-bit) 00:14:fd:10:37:1e
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: :00:02.0: e1000_probe: (PCI:33MHz:32-bit) 00:14:fd:10:37:1e
e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
...
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
...
EXT3 FS on md0, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing init memory: 108K
modprobe: FATAL: Could not load /lib/modules/2.6.17.8-n4100/modules.dep: 
No such file or directory


INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Activating swap...Adding 196016k swap on /dev/sda1.  Priority:-1 
extents:1 across:196016k

Adding 196016k swap on /dev/sdb1.  Priority:-2 extents:1 across:196016k
Adding 196016k swap on /dev/sdc1.  Priority:-3 extents:1 across:196016k
Adding 196016k swap on /dev/sdd1.  Priority:-4 extents:1 across:196016k
done.
Checking root file system...fsck 1.40-WIP (14-Nov-2006)
/dev/md0: clean, 195534/109821952 files, 15744308/219630048 blocks
done.
EXT3 FS on md0, internal journal
Setting the system clock..
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access 
method.

...
Configuring network interfaces...done.
Setting console screen modes and fonts.
e1000: eth0: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
...
Debian GNU/Linux 4.0 n4100 ttyS0

n4100 login:


So far, so good.  Now, do something involving TCP, e.g. SSH to the box, 
and you get this:



Unable to handle kernel NULL pointer dereference at virtual address 
pgd = 80004000
[] *pgd=
Internal error: Oops: 17 [#1]
Modules linked in:
CPU: 0
PC is at tcp_v4_rcv+0x2a0/0x904
LR is at 0x1500
pc : [80222b80]lr : [1500]Not tainted
sp : 802bbd40  ip : 0001  fp : 802bbd74
r10: 6602a8c0  r9 : 80341d0c  r8 : cb65fbd1
r7 : 8f0e6234  r6 : 

Re: Missing drivers for USB Ethernet adapters

2008-02-18 Thread Gordon Farquharson
Hi Håkon

On Feb 18, 2008 3:19 PM, Håkon Stordahl [EMAIL PROTECTED] wrote:

 I'm using as a gateway/router an NSLU2 running Debian and with an USB
 Ethernet adapter attached, and it works very well. Thanks! However, I
 noticed that in the most recent kernel package for IXP4xx in unstable
 (linux-image-2.6.24-1-ixp4xx) the drivers for many USB Ethernet
 adapters which used to be located in the directory
 /lib/modules/kvers/kernel/drivers/net/usb seem to be missing. I
 believe linux-image-2.6.22-3-ixp4xx is the latest kernel package for
 IXP4xx where these drivers are included.

The drivers were accidentally dropped from the kernel build because we
reorganized our repository archive files. Please let me know which
ones you would like enabled, and I'll make the changes. I have already
enabled the asix driver [1]. Sorry for the inconvenience.

Gordon

[1] http://lists.debian.org/debian-kernel/2008/02/msg00681.html

-- 
Gordon Farquharson
GnuPG Key ID: 32D6D676