ingmar-k / Pogoplug_V3_Emdebian_Debian

Scripts to create a bootable Emdebian/Debian USB-Stick for the Pogoplug V3 devices.
12 stars 6 forks source link

Trying to use new kernel hangs / doesn't bring up eth interface. #10

Closed ssmirnow closed 10 years ago

ssmirnow commented 10 years ago

Hi Ingmar,

I have a pogoplug device (B04 model) which I thought was the "classic" one, but suprisingly after disassembling the cover i found "Pro" label on the chipset. I tried to use one of your kernels (firstly the classic one, then pro). In the beggining I was struggling with ext3/ext4 issues, but changing env params (and filesystem on the usb stick) went fine. Unfortunatelly when I'm using the kernel Linux-2.6.32-ppv3-classic-zram-1 system boots fine but I cannot bring eth0 up:

Configuring network interfaces...[   22.860000] hw_set_mac_address() Storing port0 mac_adr in global array
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

[   23.070000] CoPro offload is active on eth0
[   23.070000] Alloc'ing ARM descs 8192 bytes
[   23.080000] Alloc'ing CoPro parameters 40 bytes
[   23.080000] gmac gmac.0: firmware: requesting gmac_copro_firmware
[   23.110000] open() eth0: Failed to load CoPro firmware
[   23.110000] Freeing CoPro parameters 40 bytes
[   23.120000] Freeing ARM descs 8192 bytes
[   23.120000] CoPro offload is active on eth0
[   23.130000] Alloc'ing ARM descs 8192 bytes
[   23.130000] Alloc'ing CoPro parameters 40 bytes
[   23.130000] gmac gmac.0: firmware: requesting gmac_copro_firmware
SIOCSIFFLAGS: Input/output error
[   23.160000] open() eth0: Failed to load CoPro firmware
[   23.160000] Freeing CoPro parameters 40 bytes
[   23.170000] Freeing ARM descs 8192 bytes
SIOCSIFFLAGS: Input/output error
Listening on LPF/eth0/00:25:02:89:17:07
Sending on   LPF/eth0/00:25:02:89:17:07
Sending on   Socket/fallback
receive_packet failed on eth0: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21
send_packet: Network is down

currently I'm trying to use the kernel 2.6.32-ppv3-pro-zram-1.0 where booting hangs on

[    0.680000] xor: measuring software checksum speed
[    0.730000]    arm4regs  :   970.400 MB/sec
[    0.780000]    8regs     :   470.000 MB/sec
[    0.830000]    32regs    :   470.000 MB/sec
[    0.830000] xor: using function: arm4regs (970.400 MB/sec)
[    0.830000] NET: Registered protocol family 16
[    0.840000] Number of DMA channels = 4, version = 4
[    0.850000] Allocating 303 SRAM generic DMA descriptors

Is there anything I can do except reverting back to 2.6.31 on ext3 and recompiling 2.6.32 kernel with every eth interface I will think of? :)

Thanks for any hints,

Kind regards, Slawek

ingmar-k commented 10 years ago

Hi Slawek,

first of all, if you have a B04 device, you certainly do have a Pogoplug Classic. The sticker on the NAND is just misleading. It is probably there because all OXNAS based Pogoplug's get the same NAND flash chips, although they are slightly different devices.

You should use this kernel: http://www.hs-augsburg.de/~ingmar_k/Pogoplug_V3/kernels/2.6.32-ppv3-classic-zram-1.1_ARMv6k.tar.bz2

You probably chose a kernel package, by mistake, that does NOT include the necesseary firmware file for the ethernet controller. Without firmware, the Pogo will just hang when trying to bring up the device.

Give it another try with thekernel I linked to and the recheck all your settings.

Good luck.

Regards

Ingmar

ssmirnow commented 10 years ago

Hi Ingmar,

you were right, the package I used for classic didn't have ethernet fw. After using the kernel you provided above, everything worked like a charm. Thank you!

Regards, Slawek

ingmar-k commented 10 years ago

Good to hear! I knew that I forgot the fw file in one or two kernel packages. So it wasn't your fault. I am just a little time limited at the moment, which makes checking every file a nogo. Also, I am in the process of completely rewriting/merging my debian embedded installers.That means, changes to one of them are not very wise at this point.

myahmao commented 7 years ago

the link http://www.hs-augsburg.de/~ingmar_k/Pogoplug_V3/kernels/2.6.32-ppv3-classic-zram-1.1_ARMv6k.tar.bz2 is no longer working. where can I download the 2.6.32 kernel?