Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on a Slug? Linksys NSLU2
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
jake1981
n00b
n00b


Joined: 02 Feb 2006
Posts: 61
Location: Finland

PostPosted: Tue Oct 10, 2006 1:01 pm    Post subject: Reply with quote

guenter:

Sorry to here that my build didn't work for you. It's really strange as it should.
Please, let's try something here, install it to your usb driver's sda1 and make swap partition sda2.
Then boot your slug with openslug-3.10-beta installed and possibly update it WITHOUT inserting your harddisk yet.
My build should include all necessary modules for openslug-3.10-beta, you might also want to check with md5sum if
your openslug-3.10-beta differs with mine (there's openslug-3.10-beta which I used on my website too).

Okay, ssh to your slug and connect harddisk to lower USB slot. Mount your /dev/sda1 to /media/sda1 for e.g.
Code:

#mount -o bind /proc /media/sda1/proc
#mount -o bind /dev /media/sda1/dev
#mount -o bind /sys /media/sda1/sys
#mount -o bind / /media/sda1/initrd
#chroot /media/sda1 /bin/bash


Now you should have a working gentooslug chroot..
Let's first initialize that swap which wasn't initialized according to your logs..

Code:

#mkswap /dev/sda2
#swapon /dev/sda2
#cat /proc/swaps


Second, let's check that modules are depmodded..

Code:

#depmod -ae
#modules-update


If this didn't work out, you might wanna check that ixp400_eth has been aliased to eth0 before running modules-update.

---

Have any one else who downloaded my build had this problem?
I haven't actually unpacked from gentooslug.tar.bz2 yet since I'm doing update where everything is compiled with glibc-2.4-r3 and gcc-4.1.1-r1, but I have several times re-flashed and used turnup to continue where I was left, so I should had replicated this error with steps I've made as it's only a tarball of same system..
Back to top
View user's profile Send private message
red-nammoc
n00b
n00b


Joined: 21 Oct 2006
Posts: 4

PostPosted: Sat Oct 21, 2006 12:03 pm    Post subject: Reply with quote

Hi,

I have the same problem like guenter. The network doesn't want to start. Think there is a problem in this build. I'm running the first one fine. Hope you can fix this. Would be great.

Thanks

red-nammoc
Back to top
View user's profile Send private message
linbox
n00b
n00b


Joined: 10 Apr 2004
Posts: 41

PostPosted: Sun Oct 22, 2006 1:29 am    Post subject: Reply with quote

I tried it in different ways and no success.

I did do all the suggestions in your post about chroot and modulupdate. I still could not get the network working. I downladed your openslug and also no success.


Did you try to untar your package yet?

guenter
Back to top
View user's profile Send private message
jake1981
n00b
n00b


Joined: 02 Feb 2006
Posts: 61
Location: Finland

PostPosted: Sun Oct 22, 2006 11:30 pm    Post subject: Reply with quote

linbox wrote:
I tried it in different ways and no success.

I did do all the suggestions in your post about chroot and modulupdate. I still could not get the network working. I downladed your openslug and also no success.


Did you try to untar your package yet?

guenter


That's strange. Maybe there's something wrong with it. I can't test it now.
But There will be new version with improvements very soon if you hold on..?


Last edited by jake1981 on Sun Oct 22, 2006 11:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
jake1981
n00b
n00b


Joined: 02 Feb 2006
Posts: 61
Location: Finland

PostPosted: Sun Oct 22, 2006 11:32 pm    Post subject: Reply with quote

red-nammoc wrote:
Hi,

I have the same problem like guenter. The network doesn't want to start. Think there is a problem in this build. I'm running the first one fine. Hope you can fix this. Would be great.

Thanks

red-nammoc


There's new version coming in approx. 1 week with a update to gcc 4.1.1-r1, older gcc has been removed, missing modules for fuse and spca5xx/gspcav1 have been included (for openslug-3.10-beta) and everything compiled with gcc 4.1.1-r1..
Back to top
View user's profile Send private message
roach
n00b
n00b


Joined: 15 Aug 2006
Posts: 4
Location: Canada

PostPosted: Sun Oct 29, 2006 6:39 pm    Post subject: Reply with quote

Lots of great stuff going on here! That's excellent to see.

Has anybody successfully gotten device-mapper/LVM to work in their slug yet? I'd even be happy with EVMS (although I think that needs glibc). I really want to put my LVM data drives on my slug.
Back to top
View user's profile Send private message
jake1981
n00b
n00b


Joined: 02 Feb 2006
Posts: 61
Location: Finland

PostPosted: Sun Oct 29, 2006 6:58 pm    Post subject: Reply with quote

Okay. New update to gentooslug is now being packed and should be downloadable after next 30 minutes from time since write of this message, it's the time which it takes to do a tarball. Pages are already upgraded to announce about 3rd edition and there's also announcement of 4th edition, but file is currently being created, so please don't download it until 30 minutes has passed from this message..

Yeah.. And page where it's located is http://www.roadrunner.cx/gentooslug

Due to legal issues, you are required to agree with Intel's license before you can download file.
This shouldn't be problem and on next gentooslug version we should be able to get rid of this..
Back to top
View user's profile Send private message
red-nammoc
n00b
n00b


Joined: 21 Oct 2006
Posts: 4

PostPosted: Sun Oct 29, 2006 8:34 pm    Post subject: Reply with quote

Hi,
You should fix the download link. It is linked to a file called gentooslug.tar.bz but I think it should be linked to a file like gentooslug.tar.bz2 ;-) I hope this edition fixes the network problem. Thanks for your work!

red-nammoc
Back to top
View user's profile Send private message
jake1981
n00b
n00b


Joined: 02 Feb 2006
Posts: 61
Location: Finland

PostPosted: Sun Oct 29, 2006 10:21 pm    Post subject: Reply with quote

red-nammoc wrote:
Hi,
You should fix the download link. It is linked to a file called gentooslug.tar.bz but I think it should be linked to a file like gentooslug.tar.bz2 ;-) I hope this edition fixes the network problem. Thanks for your work!

red-nammoc


I hope so too, I can't see what is the problem with earlier version. When I re-compiled stuff with gcc4, I got a system halt, during that some files corrupted and I decided that it was better to restore a backup that I made couple of packages before it happened, so, I erased my sda1 with mkfs.ext3 -j /dev/sda1 command and then unpacked file similar to this one and it worked just fine. So everything should be okay as there are no significant changes between these two tarballs.

But if you experience problems, please report them to me, I get a email report when someone writes to this thread, so I should be able to start fixing this right away.

Download link is not fixed. Thanks for the report.

Also I thought that I wouldn't had released this version at all, since there's a new version of slugos coming which is much better than earlier (although, earlier version is great too, as it allows us to run gentoo;) But as I remembered that I promised to release and a fix to earlierly mentioned problem, I was kinda forced to do this.

There's a bug in glibc-2.4, 2 functions don't work as it's broken for arm, this will be fixed in 2.5, but as you maybe notice, glibc-2.5 is masked for gentooslug. It's for a reason. You WILL lost network connectivity for almost all applications with glibc 2.5, do not take it in use if you aren't going to develop this.

IF glibc-2.5 will be fixed 'till release of next slugos, I will include upgrade to it and then finally leave this project alone for some time as I was supposed to do already when I made my first release, part of openslug dev-team is fighting with this problem trying to solve the problem and make a patch, which propably isn't going to be part of gentoo's ebuild for glibc, but if there will be patch fixing this, I will make a ebuild for it in included portage-overlay.

Oh, some more information, glibc-2.5 seems not to be broken for all arm machinery, some people have informed that they have it working on pocketpc.. Although, some network functionality exists (all busyboxes applets worked, but for e.g. dropbear, openssh and wget didn't) so this information might be false if it hasn't been examined carefully enough..

Now thank you and enjoy. And please, if someone is about to host, remember that license on my page is A MUST to be agreed before allowing downloads. Or intel WILL find you and prosecute you.. That would make difficulties for whole nslu2-linux.org's dev teams and propably intel no longer wouldn't let these source files to be downloaded from their site because of abuse, so, it's not so hard, you can copy my page if you want :)
Back to top
View user's profile Send private message
red-nammoc
n00b
n00b


Joined: 21 Oct 2006
Posts: 4

PostPosted: Tue Oct 31, 2006 9:42 am    Post subject: Reply with quote

uhmm ... same problem still remains for me:

Code:


[...]
Oct 31 11:09:38 localhost Adding 1156672k swap on /dev/sda2.  Priority:-1 extents:1 across:1156672k
Oct 31 11:09:38 localhost ixp400: module license 'unspecified' taints kernel.
Oct 31 11:09:38 localhost ixp400: Module init.
Oct 31 11:09:38 localhost ixp400_eth: Initializing IXP400 NPE Ethernet driver software v. 1.5
Oct 31 11:09:38 localhost ixp400_eth: CPU clock speed (approx) = 266 MHz
Oct 31 11:09:38 localhost [message] ixEthMiiPhyScan, Mii 1: Mii PHY ID 00008201
Oct 31 11:09:38 localhost ixp400_eth: Found PHY 0 at address 1
Oct 31 11:09:38 localhost ixp400_eth: ethernet 0 using NPEB and the PHY at address 1
Oct 31 11:09:38 localhost ixp400_eth: Use default MAC address 00:02:b3:01:01:01 for port 0
Oct 31 11:09:38 localhost ixp400_eth: MAC address now set to 00:14:bf:66:70:fa for port 0
Oct 31 11:09:49 localhost rc-scripts: network interface eth0 does not exist
Oct 31 11:09:49 localhost rc-scripts: Please verify hardware or kernel module (driver)
Oct 31 11:09:49 localhost rc-scripts: network interface eth0 does not exist
Oct 31 11:09:50 localhost rc-scripts: Please verify hardware or kernel module (driver)
Oct 31 11:09:53 localhost rc-scripts: ERROR:  cannot start dropbear as net.eth0 could not start
Oct 31 11:09:56 localhost rc-scripts: ERROR:  cannot start netmount as net.eth0 could not start
Oct 31 11:10:02 localhost init: no more processes left in this runlevel


I don't know how to solve that.

red-nammoc
Back to top
View user's profile Send private message
linbox
n00b
n00b


Joined: 10 Apr 2004
Posts: 41

PostPosted: Wed Nov 01, 2006 5:48 pm    Post subject: Reply with quote

I'm still having problems ,too

I tried to follow jake's recommendation to compile glibc, but it stops with an error. I have it posted here

https://forums.gentoo.org/viewtopic-t-511027-highlight-.html

any idea what I'm doing wrong?

guenter
Back to top
View user's profile Send private message
jake1981
n00b
n00b


Joined: 02 Feb 2006
Posts: 61
Location: Finland

PostPosted: Fri Nov 03, 2006 12:34 am    Post subject: Reply with quote

red-nammoc wrote:
uhmm ... same problem still remains for me:

I don't know how to solve that.

red-nammoc


This is really strange. My NSLU2 seems to work just fine if I do mkfs.ext3 -j /dev/sda1 and then untar file to there..
Back to top
View user's profile Send private message
wazow
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 182
Location: Rødovre, Denmark

PostPosted: Sat Nov 04, 2006 9:56 pm    Post subject: no network with jake's image Reply with quote

jake1981 wrote:
red-nammoc wrote:
uhmm ... same problem still remains for me:

I don't know how to solve that.

red-nammoc


This is really strange. My NSLU2 seems to work just fine if I do mkfs.ext3 -j /dev/sda1 and then untar file to there..


I am also seeing the same problem here. I was trying to track down what is going on, but without success. My OpenSlug (OpenSlug-3.10-beta-firmware.zip) boots nicely without the hard drive and I can ssh to it. Still the network does not work when asking it to boot the gentoo root at /dev/sda1. Precisely the same messages as above.

I have fixed the swap problem by recreating the partition (mkswap) on slug under OpenSlug. The openslug kernel was unable to mount the version created on Gentoo x86, but it seems to succeed now.

Debuging this is difficult for me as I do not have the serial interface, so I can only read what was saved on the drive when network does not work. It seems that all the modules are loaded. The output of lsmod after the boot process is over is:
Code:

Module                  Size  Used by
ixp400_eth             24156  0
ixp400                949188  1 ixp400_eth
af_packet              18376  0
ext3                  109864  2
jbd                    45940  1 ext3
mbcache                 5540  1 ext3

(I might have added some modules in search for the solution).
Still the only interface is lo.

EDIT: Added /var/log/messages for completeness:

Code:

[Nov  5 01:08:32 localhost EXT3 FS on sda1, internal journal
Nov  5 01:08:32 localhost EXT3-fs: mounted filesystem with ordered data mode.
Nov  5 01:08:32 localhost EXT3 FS on sda1, internal journal
Nov  5 01:08:32 localhost kjournald starting.  Commit interval 5 seconds
Nov  5 01:08:32 localhost EXT3 FS on sda3, internal journal
Nov  5 01:08:32 localhost EXT3-fs: mounted filesystem with ordered data mode.
Nov  5 01:08:32 localhost Adding 1959920k swap on /dev/sda2.  Priority:-1 extents:1 across:1959920k
Nov  5 01:08:32 localhost ixp400: module license 'unspecified' taints kernel.
Nov  5 01:08:32 localhost ixp400: Module init.
Nov  5 01:08:32 localhost ixp400_eth: Initializing IXP400 NPE Ethernet driver software v. 1.5
Nov  5 01:08:32 localhost ixp400_eth: CPU clock speed (approx) = 266 MHz
Nov  5 01:08:32 localhost [message] ixEthMiiPhyScan, Mii 1: Mii PHY ID 00008201
Nov  5 01:08:32 localhost ixp400_eth: Found PHY 0 at address 1
Nov  5 01:08:32 localhost ixp400_eth: ethernet 0 using NPEB and the PHY at address 1
Nov  5 01:08:32 localhost ixp400_eth: Use default MAC address 00:02:b3:01:01:01 for port 0
Nov  5 01:08:32 localhost ixp400_eth: MAC address now set to 00:14:bf:6c:0f:e4 for port 0
Nov  5 01:08:43 localhost rc-scripts: network interface eth0 does not exist
Nov  5 01:08:43 localhost rc-scripts: Please verify hardware or kernel module (driver)
Nov  5 01:08:43 localhost rc-scripts: network interface eth0 does not exist
Nov  5 01:08:43 localhost rc-scripts: Please verify hardware or kernel module (driver)
Nov  5 01:08:47 localhost rc-scripts: ERROR:  cannot start dropbear as net.eth0 could not start
Nov  5 01:08:50 localhost rc-scripts: ERROR:  cannot start netmount as net.eth0 could not start
Back to top
View user's profile Send private message
wazow
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 182
Location: Rødovre, Denmark

PostPosted: Sat Nov 04, 2006 11:27 pm    Post subject: Re: no network with jake's image Reply with quote

I have made a small progress in debugging the network interface problem. I discovered that one should use the "-a" option with ifconfig to see all the available interfaces. This gives way more interesting results on my slug with jakes image:
Code:

eth2      Link encap:Ethernet  HWaddr 00:14:BF:6C:0F:E4
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:256
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

So it seems that by some magic the interface gets mapped to eth2. could it be because I added it to modules.autoload.d when searching for a solution to the problem? It is weird because the messages in /var/log/messages (see above) definitely talk about *ethernet 0*.

I tried using the rename trick in /etc/conf.d/net to solve the problem temporarily but it does not seem to help:
Code:
rename_eth2="eth0"

So I have tried adding net.eth2 to the default runlevel and renamed the SLUG config options in /etc/conf.d/net from containing eth0 to eth2. With this I can see that the machine goes on the network and the router assigns it an IP address. I am still not able to ssh (the connection is refused) and nmap reports that all ports on this host are closed.
Back to top
View user's profile Send private message
linbox
n00b
n00b


Joined: 10 Apr 2004
Posts: 41

PostPosted: Sun Nov 05, 2006 12:51 am    Post subject: Reply with quote

I did not get any further, but I finally got a serial interface and here are my boot messages with jake's last build

Code:


 +Ethernet eth0: MAC address 00:04:5a:0f:8f:21
IP: 192.168.0.1/255.255.255.0, Gateway: 192.168.0.1
Default server: 0.0.0.0, DNS server IP: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROMRAM]
Red Hat certified release, version 1.92 - built 15:16:07, Feb  3 2004

Platform: IXDP425 Development Platform (XScale)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x00000000-0x02000000, 0x000723a0-0x01ff3000 available
FLASH: 0x50000000 - 0x50800000, 64 blocks of 0x00020000 bytes each.
== Executing boot script in 2.000 seconds - enter ^C to abort
RedBoot> boot;exec 0x01d00000
have eRcOmM

copy kernel code from flash to RAM
copy ramdisk file from flash to RAM
run kernel

Using base address 0x01d00000 and length 0x000fb2a0
Uncompressing Linux...................................................................... done, booting the kernel.
Linux version 2.6.16 (slug@nudi) (gcc version 3.4.4) #1 PREEMPT Fri Jun 9 07:34:31 PDT 2006
CPU: XScale-IXP42x Family [690541f1] revision 1 (ARMv5TE)
Machine: Linksys NSLU2
Ignoring unrecognised tag 0x00000000
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: root=/dev/mtdblock4 rootfstype=jffs2 init=/linuxrc rtc-x1205.probe=0,0x6f  noirqdebug console=ttyS0,115200n8
PID hash table entries: 256 (order: 8, 4096 bytes)
IXP4xx: FREQ=66666600 COUNT=666665
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB = 32MB total
Memory: 30188KB available (1929K code, 180K data, 92K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
IXP4xx: Using 16MiB expansion bus window size
PCI: IXP4xx is host
PCI: IXP4xx Using direct access for memory space
PCI: bus0: Fast back to back transfers disabled
IXP4xx: FREQ=66000000 COUNT=660001
dmabounce: registered device 0000:00:01.0 on pci bus
dmabounce: registered device 0000:00:01.1 on pci bus
dmabounce: registered device 0000:00:01.2 on pci bus
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale
serial8250.0: ttyS1 at MMIO 0xc8001000 (irq = 13) is a XScale
RAMDISK driver initialized: 4 RAM disks of 10240K size 1024 blocksize
ata1: PATA max PIO4 cmd 0xC2852000 ctl 0xC285201E bmdma 0x0 irq 12
scsi0 : ixp4xx
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0x7e0000
RedBoot directory 0x507e0000(0x20000) native
6 RedBoot partitions found on MTD device IXP4XX-Flash.0
Creating 6 MTD partitions on "IXP4XX-Flash.0":
0x00000000-0x00040000 : "RedBoot"
0x00040000-0x00060000 : "SysConf"
0x00060000-0x00160000 : "Kernel"
0x00160000-0x00180000 : "Ramdisk"
0x00180000-0x007e0000 : "Flashdisk"
0x007e0000-0x00800000 : "FIS directory"
Using configured DiskOnChip probe address 0x50000000
PCI: enabling device 0000:00:01.2 (0140 -> 0142)
ehci_hcd 0000:00:01.2: EHCI Host Controller
ehci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:01.2: irq 26, io mem 0x48002000
ehci_hcd 0000:00:01.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detected
PCI: enabling device 0000:00:01.0 (0140 -> 0142)
ohci_hcd 0000:00:01.0: OHCI Host Controller
ohci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:01.0: irq 28, io mem 0x48000000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
PCI: enabling device 0000:00:01.1 (0140 -> 0142)
ohci_hcd 0000:00:01.1: OHCI Host Controller
ohci_hcd 0000:00:01.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:01.1: irq 27, io mem 0x48001000
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usb 1-1: configuration #1 chosen from 1 choice
USB Universal Host Controller Interface driver v2.3
Initializing USB Mass Storage driver...
scsi1 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
input: ixp4xx beeper as /class/input/input0
i2c /dev entries driver
x1205 0-006f: chip found, driver version 1.0.6
x1205 0-006f: rtc intf: sysfs
x1205 0-006f: rtc intf: proc
x1205 0-006f: rtc intf: dev (254:0)
x1205 0-006f: rtc core: registered x1205 as rtc0
Registered led device: ready
Registered led device: status
Registered led device: disk-1
Registered led device: disk-2
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
x1205 0-006f: setting the system clock to 2006-11-04 20:54:26 (1162673666)
VFS: Mounted root (jffs2 filesystem) readonly.
Freeing init memory: 92K
  Vendor: HITACHI_  Model: DK23FA-60         Rev: 00M4
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
 sda: sda1 sda2
sd 1:0:0:0: Attached scsi disk sda
kjournald starting.  Commit interval 5 seconds
warning: can't open /etc/mtab: No such file or directory
boot: EXT3 FS on sda1, rootfs: mount -t ext3 -o defaults /dev/sda1 [a50fff5b-6a87-44a4-internal journal
a44b-03296432cd1b]
mount: no such partition found
EXT3-fs: mounted filesystem with ordered data mode.

INIT: version 2.86 booting


Gentoo Linux; http://www.gentoo.org/
 Copyright 1999-2006 Gentoo Foundation; Distributed under the GPLv2

Press I to enter interactive boot mode

 * Mounting proc at /proc ...                                             [ ok ]
 * Mounting sysfs at /sys ...                                             [ ok ]
 * Mounting /dev for udev ...                                             [ ok ]
 * Seeding /dev with needed nodes ...                                     [ ok ]
 * Setting up proper hotplug agent ...
 *   Using netlink for hotplug events...
                                                                          [ ok ]
 * Starting udevd ...                                                     [ ok ]
 * Populating /dev with existing devices through uevents ...              [ ok ]
 * Letting udev process events ...                                        [ ok ]
 * Finalizing udev configuration ...                                      [ ok ]
 * Mounting devpts at /dev/pts ...                                        [ ok ]
 * Remounting root filesystem read-only ...                               [ ok ]
 * Checking root filesystem .../dev/sda1: clean, 215793/7274496 files, 749622/14540796 blocks
                                           [ ok ]
 * Remounting root filesystem read/write ...                              [ ok ]
 * Checking all filesystems ...                                           [ ok ]
 * Mounting local filesystems ...                                         [ ok ]
 * Activating (possible) swap ...                                         [ ok ]
 * Setting system clock using the hardware clock [UTC] ...                [ ok ]
 * Configuring kernel parameters ...                                      [ ok ]
 * Updating environment ...                                               [ ok ]
 * Cleaning /var/lock, /var/run ...                                       [ ok ]
 * Cleaning /tmp directory ...                                            [ ok ]
 * Setting hostname to localhost ...                                      [ ok ]
/etc/init.d/nslu2init: line 27: /dev/ixNpe: No such device or address
 * Starting lo
 *   Bringing up lo
 *     127.0.0.1/8
                                                                          [ ok ]
 *   Adding routes
 *     127.0.0.0/8 ...                                                    [ ok ]
                                                                          [ ok ]
 * Initializing random number generator ...                               [ ok ]

INIT: Entering runlevel: 3

                                                                          [ ok ]
 * Starting syslog-ng ...                                                 [ ok ]
 * Starting eth0
 *   Bringing up eth0
 *     dhcp
 *       network interface eth0 does not exist
 *       Please verify hardware or kernel module (driver)
 *     Trying fallback configuration
 *     10.0.0.20
 *     network interface eth0 does not exist
 *     Please verify hardware or kernel module (driver)
                                                                          [ !! ]
                                                                          [ !! ]
 * ERROR:  cannot start dropbear as net.eth0 could not start
 * ERROR:  cannot start netmount as net.eth0 could not start
 * Starting local ...rm: cannot remove `/.recovery': No such file or directory
                                                                          [ ok ]
                                                     [ ok ]

INIT: no more processes left in this runlevel


there seems to be an error in /etc/init.d/nslu2init
I do see an interface a eth2 when I do ifconfig -a

Guenter
Back to top
View user's profile Send private message
wazow
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 182
Location: Rødovre, Denmark

PostPosted: Sun Nov 05, 2006 8:36 am    Post subject: Reply with quote

linbox wrote:
I did not get any further, but I finally got a serial interface and here are my boot messages with jake's last build

Code:

 +Ethernet eth0: MAC address 00:04:5a:0f:8f:21
IP: 192.168.0.1/255.255.255.0, Gateway: 192.168.0.1
Default server: 0.0.0.0, DNS server IP: 0.0.0.0 ...



Thanks. That's probably very helpful. I will look into it myself too. I never had thought that I would read someones booting log with such interest :) It is nearly like my own, except that I can't read mine :(
Back to top
View user's profile Send private message
wazow
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 182
Location: Rødovre, Denmark

PostPosted: Sun Nov 05, 2006 9:03 am    Post subject: [edited] Reply with quote

linbox wrote:
I did not get any further, but I finally got a serial interface and here are my boot messages with jake's last build

Code:
...
/etc/init.d/nslu2init: line 27: /dev/ixNpe: No such device or address


there seems to be an error in /etc/init.d/nslu2init
I do see an interface a eth2 when I do ifconfig -a

This is the relevant fragment:
Code:
/sbin/depmod -a
/sbin/modprobe ixp400
/usr/bin/mknod /dev/ixNpe c 241 0
cat /lib/firmware/IxNpeMicrocode.dat > /dev/ixNpe
modprobe ixp400_eth

I tried to run this manually in a chrooted evironment, and, as in your log, it is the line where firmware is uploaded to ixp, where it breakes. I get an error that the device does not exist. It could be the reason for our problems, or may be not. I am not really sure.

EDIT: I have commented out this fragment and I can't see any difference in behaviour (still eth2 exists, no new error messages in /var/log/messages). I also tried with soft reboot from openslug, which theoretically could mean that uploading IxNpeMicrocode.dat firmware is not necessary (assuming that firmware survives a soft reboot).

EDIT: I have also checked what ifconfig -a produces with Openslug rootfs (to rule out the hypothesis that eth2 is a bogus interface that always exists on slug). However on openslug ifconfig only returns lo and eth0.

Is it normal that one uses mknod on a udev machine? I am trying to investigate how this is done in OpenSlug, but I could not even find IxNpeMicrocode.dat on the OpenSlug file system. Jake, where did you get it from?


Last edited by wazow on Sun Nov 05, 2006 8:49 pm; edited 2 times in total
Back to top
View user's profile Send private message
TheJackal
n00b
n00b


Joined: 29 Jul 2003
Posts: 73
Location: In front of the keyboard :)

PostPosted: Sun Nov 05, 2006 5:27 pm    Post subject: Reply with quote

Hi,

I'm having the same problem as above....seems eth0 isn't brought up as it should be because the ixp400 device (in /dev) can't be found after its been created. This is a shame because I've just bought an NSLU2 with Gentoo/SLUG in mind...

Also, where is the "openslug-3.1-beta.bin" on jake1981's website that he mentions?
_________________
"Expect nothing. That way you will be ready for anything - Virginia Viadura"

Black Mesa Research Facility
Back to top
View user's profile Send private message
wazow
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 182
Location: Rødovre, Denmark

PostPosted: Sun Nov 05, 2006 8:52 pm    Post subject: Reply with quote

TheJackal wrote:
This is a shame because I've just bought an NSLU2 with Gentoo/SLUG in mind...

Don't be so pesimistic. I am sure that with so many of us seeing the same problem we can get it sorted out soon. I am also eager to push forward my slug project (a music server).

PS. I also can't see the link to openslug on Jake's website.
Back to top
View user's profile Send private message
TheJackal
n00b
n00b


Joined: 29 Jul 2003
Posts: 73
Location: In front of the keyboard :)

PostPosted: Sun Nov 05, 2006 9:05 pm    Post subject: Reply with quote

Sorry! :P

I've tried copying across the kernel modules from the openslug-3.10-beta firmware but the end result is the same, no network device.
_________________
"Expect nothing. That way you will be ready for anything - Virginia Viadura"

Black Mesa Research Facility
Back to top
View user's profile Send private message
wazow
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 182
Location: Rødovre, Denmark

PostPosted: Sun Nov 05, 2006 9:40 pm    Post subject: Reply with quote

TheJackal wrote:
Sorry! :P

I've tried copying across the kernel modules from the openslug-3.10-beta firmware but the end result is the same, no network device.


I have actually also tried this, with the same effect :(
Back to top
View user's profile Send private message
TheJackal
n00b
n00b


Joined: 29 Jul 2003
Posts: 73
Location: In front of the keyboard :)

PostPosted: Sun Nov 05, 2006 9:42 pm    Post subject: Reply with quote

Does anyone have a local mirror of the previous version of Gentoo/SLUG to see what's changed between releases?

PS: Right now I'm building Gentoo/SLUG from the stage3 as per the Wiki instructions.

Update: OpenSLUG keeps re-mounting my external HDD in ro mode as I'm compiling stuff....:(

Update/2: Seems like emerging distcc within the chroot environment causes an I/O error, everything else compiles fine :(
Code:

Adding 1004052k swap on /dev/sda2.  Priority:-1 extents:1 across:1004052k
sd 1:0:0:0: Device not ready.
end_request: I/O error, dev sda, sector 227519
Aborting journal on device sda1.
journal commit I/O error
EXT3-fs error (device sda1) in ext3_create: IO failure
ext3_abort called.
EXT3-fs error (device sda1): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only

_________________
"Expect nothing. That way you will be ready for anything - Virginia Viadura"

Black Mesa Research Facility
Back to top
View user's profile Send private message
wazow
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 182
Location: Rødovre, Denmark

PostPosted: Mon Nov 06, 2006 10:15 am    Post subject: questions, questions, questions... where are the answers? Reply with quote

I am trying to debug what the problem is. Ineed it would be good to get hold of the previous image made by Jake to check what have changed and whether it would work for me. Jake, or anybody else, do you still have it to share?

Am I right that OpenSlug only mounts the rootfs and then turns over to inittab in /etc/ of the new root partition? So the whole userspace booting process is controlled by Gentoo here, is not it?

Does anybody know how OpenSlug deals with the problem of loading firmware into ixp? (the thing that breakes in nslug2init).
I can't see when it is done in a regular OpenSlug boot process.
Back to top
View user's profile Send private message
wazow
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 182
Location: Rødovre, Denmark

PostPosted: Mon Nov 06, 2006 10:17 am    Post subject: Reply with quote

TheJackal wrote:

PS: Right now I'm building Gentoo/SLUG from the stage3 as per the Wiki instructions.


I was put off by the old stage image (was it 2005?) and that it is not glibc based (is it?). But I will watch your success. I hope it can still upgrade to current portage. Ultimately I also want to put my own kernel on slug as I badly need ALSA to run on it.


Last edited by wazow on Mon Nov 06, 2006 11:16 am; edited 1 time in total
Back to top
View user's profile Send private message
TheJackal
n00b
n00b


Joined: 29 Jul 2003
Posts: 73
Location: In front of the keyboard :)

PostPosted: Mon Nov 06, 2006 11:12 am    Post subject: Reply with quote

As for the build from the stage3 as suggested by the Wiki, as soon as I realised that it was uclibc based (unfortunately abut 3 hours into compiling...:() I canned it as I also need glibc to build certain packages.

Yes, as far as I know OpenSLUG will just boot its own kernel and then pivot into the rootfs given to it using the "turnup" command. The whole init and userspace processes are then controlled by Gentoo.

I managed to speak to jake1981 on MSN last night and he wasn't sure how OpenSLUG deals with the problem of uploading the firmware into the IXP's ethernet controller, he seems to think that its possibly somehow integrated into the module although I can't see any differences between both modules. The OpenSLUG devs haven't answered this question either...

I wonder if the firmware (.dat) file has changed between releases of Gentoo/SLUG? Although the error message isn't very clear, I wonder if the build of udev in this new release has something to do with it? I know I'm just firing things up into the sky but it could be a number of things.

Then again, jake1981 said he reflashed his NSLU2 with OpenSLUG/3.10-beta and it boots the new release of Gentoo/SLUG without any complaints at all.

Just as a side note, have you got one of the original NSLU2 (clocked at 133MHz) or the newer models which are already factory de-underclocked (@ 266MHz) ?
_________________
"Expect nothing. That way you will be ready for anything - Virginia Viadura"

Black Mesa Research Facility


Last edited by TheJackal on Mon Nov 06, 2006 11:51 am; edited 2 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 4 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum