Kernel Update Problem

This forum is for all other ARMv5 devices

Kernel Update Problem

Postby fuchini » Mon Jul 02, 2012 6:14 pm

Hello, I have a Pro and I'm having trouble doing the kernel update script.

I followd these steps: http://archlinuxarm.org/forum/viewtopic.php?f=29&t=3110#p18017

All the steps went smoothly except the last one. After running the update-oxnas.sh I did the following:

1. Connected the usb HDD to my pc
2. Wiped
3. Extracted the 2012 06 rootfs
4. Updated my /usr/local/mac_addr (also tried without updating my mac_addr)
5. Reconnected the USB HDD to my pogo
6. Powered on the Pogo

After some time the pogo activity light turns off completely and I cant ssh into it or ping it. I have no idea what's happening, please help me, what files should I check or post to see what's the problem? Thanks a lot

EDIT: Also followed this guide: http://archlinuxarm.org/forum/viewtopic.php?f=29&t=3110&start=10#p18182
But no luck.

EDIT2: Also tried to update the 2012 05 rootfs using this:
$this->bbcode_second_pass_code('', 'pacman -Syu --ignore filesystem && pacman -S filesystem --force')
And installing hwid. Still no success.
fuchini
 
Posts: 18
Joined: Tue Sep 13, 2011 7:12 pm

Re: Kernel Update Problem

Postby WarheadsSE » Mon Jul 02, 2012 6:59 pm

So the 2012.05 Is booting for you?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Kernel Update Problem

Postby fuchini » Mon Jul 02, 2012 7:15 pm

Yes, the 2012.05 is booting but after updating I can no longer reboot (if i reboot I can't ssh into it).

I update using this:
$this->bbcode_second_pass_code('', 'pacman -Syu --ignore filesystem && pacman -S filesystem --force')

EDIT: I just re-ran the update-oxnas.sh on a fresh 2012.05 rootfs and after that rebooted immediatelly (without pacman -Syu) and I get a solid green light but can't ssh.
fuchini
 
Posts: 18
Joined: Tue Sep 13, 2011 7:12 pm

Re: Kernel Update Problem

Postby fuchini » Tue Jul 03, 2012 4:46 pm

Hello, I'll try to elaborate a little more on what I'm doing:

1. cd /media/USB
2. rm -rf ./*
3. tar -xzvf /home/user/Downloads/ArchLinuxARM-2012.05-oxnas.tar.gz
4. cp /home/user/Downloads/mac_addr ./usr/local
5. cd ../ && umount USB
6. Plugged into pogo, turned on and ssh.
7. wget http://archlinuxarm.org/os/oxnas/update-oxnas.tar.gz
8. tar xzf update-oxnas.tar.gz -C /
9. cd /update-oxnas/
10. nano update-kernel.sh and changed "uImage.nopci" to "uImage.pci"
11. ./update-kernel.sh:

$this->bbcode_second_pass_code('', '# Oxnas kernel update, WarheadsSE 06/05/12
# Adds devtmpfs to kernel, and many modules
# NOTE: I DO NOT HAVE THE DEVICES TO TEST
# THEM ALL. Sorry.

This will flash non-PCI kernel only
Pacman'ing needs: mtd-utils & libaccept4
warning: database file for 'alarm' does not exist
:: Synchronizing package databases...
core 38.1 KiB 92.9K/s 00:00 [######################] 100%
extra 427.2 KiB 142K/s 00:03 [######################] 100%
community 404.2 KiB 140K/s 00:03 [######################] 100%
aur 10.7 KiB 61.2K/s 00:00 [######################] 100%
alarm 3.4 KiB 11.0M/s 00:00 [######################] 100%
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] n

resolving dependencies...
looking for inter-conflicts...

Targets (2): libaccept4-0.1.0-2 mtd-utils-1.4.1-1

Total Download Size: 0.19 MiB
Total Installed Size: 1.01 MiB

Proceed with installation? [Y/n] Y
:: Retrieving packages from core...
mtd-utils-1.4.1-1-arm 192.9 KiB 87.4K/s 00:02 [######################] 100%
:: Retrieving packages from alarm...
libaccept4-0.1.0-2-arm 2036.0 B 1061K/s 00:00 [######################] 100%
(2/2) checking package integrity [######################] 100%
(2/2) loading package files [######################] 100%
(2/2) checking for file conflicts [######################] 100%
(1/2) installing mtd-utils [######################] 100%
(2/2) installing libaccept4 [######################] 100%
Copying if necessary...
Placing updates...
Depmod...
WARNING: could not open /lib/modules/2.6.31.6_SMP_820/modules.builtin: No such file or directory
Flashing Kernel to slot A...
Erase Total 20 Units
Performing Flash Erase of length 131072 at offset 0x660000
MTD Erase failure: Input/output error
Writing data to block 40 at offset 0x500000
Writing data to block 41 at offset 0x520000
Writing data to block 42 at offset 0x540000
Writing data to block 43 at offset 0x560000
Writing data to block 44 at offset 0x580000
Writing data to block 45 at offset 0x5a0000
Writing data to block 46 at offset 0x5c0000
Writing data to block 47 at offset 0x5e0000
Writing data to block 48 at offset 0x600000
Writing data to block 49 at offset 0x620000
Writing data to block 50 at offset 0x640000
Writing data to block 51 at offset 0x660000
Bad block at 660000, 1 block(s) from 660000 will be skipped
Writing data to block 52 at offset 0x680000
Writing data to block 53 at offset 0x6a0000
Writing data to block 54 at offset 0x6c0000
Writing data to block 55 at offset 0x6e0000
Writing data to block 56 at offset 0x700000
Writing data to block 57 at offset 0x720000
Writing data to block 58 at offset 0x740000
')

12. shutdown -h now
13. Removed USB from pogo and inserted it in PC
14. Re-ran first 6 steps but with ArchLinuxARM-2012.06-oxnas.tar.gz
15. I try to ssh but get "No route to host"

Please help me, I don't know What I'm doing wrong.
fuchini
 
Posts: 18
Joined: Tue Sep 13, 2011 7:12 pm

Re: Kernel Update Problem

Postby WarheadsSE » Tue Jul 03, 2012 6:46 pm

Here is your problem :
$this->bbcode_second_pass_code('', 'Bad block at 660000, 1 block(s) from 660000 will be skipped')
viewtopic.php?f=29&t=3157
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Kernel Update Problem

Postby fuchini » Wed Jul 04, 2012 3:54 am

Wow, haven't seen that line. Will now read that thread. Thanks a lot for helping me and sorry for asking the same thing as that thread (I just had no idea where the problem was).
fuchini
 
Posts: 18
Joined: Tue Sep 13, 2011 7:12 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 46 guests