[How-To] Boot Entirely from SATA

This forum is for all other ARMv5 devices

Re: [How-To] Boot Entirely from SATA

Postby belga » Wed Jan 30, 2013 12:41 am

After interruption of uboot, I did this
$this->bbcode_second_pass_code('', 'setenv bootargs setenv bootargs "root=/dev/sda2 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 ipv6.disable=1 rootwait ubi.mtd=2,512 mem=128M poweroutage=yes" ')
I check with printenv, saveenv, reset but i get same message in terminal (serial) zampara



Another question: the mac adress bootargs is not the mac adress of pogo. is this normal?
Last edited by belga on Wed Jan 30, 2013 1:22 am, edited 2 times in total.
belga
 
Posts: 37
Joined: Tue Jan 10, 2012 12:18 pm

Re: [How-To] Boot Entirely from SATA

Postby WarheadsSE » Wed Jan 30, 2013 12:53 am

You can set it if you like, but right now it pulls from /usr/local/mac_addr
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [How-To] Boot Entirely from SATA

Postby belga » Wed Jan 30, 2013 1:09 am

ah ok,

I get this in terminal (serial)
$this->bbcode_second_pass_quote('', ':'): Removing leftover files [DONE]
INIT: Entering runlevel: 3
mount: mount point /proc/sys/fs/binfmt_misc does not exist
:: Setting MAC address [BUSY] [ 4.990000] Turning off blinking LED.
Error at line 79, file plx/devmem2.c (2) [No such file or directory]
Error at line 79, file plx/devmem2.c (2) [No such file or directory]
Error at line 79, file plx/devmem2.c (2) [No such file or directory]
Error at line 79, file plx/devmem2.c (2) [No such file or directory]
Error at line 79, file plx/devmem2.c (2) [No such file or directory]
Error at line 79, file plx/devmem2.c (2) [No such file or directory]
Error at line 79, file plx/devmem2.c (2) [No such file or directory]
Error at line 79, file plx/devmem2.c (2) [No such file or directory]
[ 5.300000] eth0: PHY is Realtek RTL8211D, type 0x001cc914
[ 5.300000] CoPro offload is active on eth0
[ 5.310000] Alloc'ing ARM descs 8192 bytes
[ 5.310000] Alloc'ing CoPro parameters 36 bytes
[ 5.310000] gmac gmac.0: firmware: requesting gmac_copro_firmware
[ 5.330000] CoPro: Programming start address as 0xd000e000
[ 5.430000] eth0: Resetting GMAC
[ 5.440000] eth0: GMAC reset complete
[ 5.440000] eth0: Setting Rx flow control thresholds for LAN port
[ 6.000000] eth0: PHY is Realtek RTL8211D, type 0x001cc914
[ 6.500000] eth0: link down
[ 8.460000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[DONE]
[ 8.500000] eth0: link up, 100Mbps, full-duplex, using pause, lpa 0x45E1
[ 8.500000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.530000] Unable to handle kernel NULL pointer dereference at virtual address 00000019
[ 8.530000] pgd = c0004000
[ 8.540000] [00000019] *pgd=00000000
[ 8.540000] Internal error: Oops: 17 [#1] SMP
[ 8.540000] Modules linked in: bootled_module gmac mii
[ 8.540000] CPU: 0 Not tainted (2.6.31.6_SMP_820 #100)
[ 8.540000] PC is at copro_hard_start_xmit+0x14/0x3e4 [gmac]
[ 8.540000] LR is at dev_hard_start_xmit+0x244/0x2f0
[ 8.540000] pc : [<bf0043cc>] lr : [<c0248e88>] psr: 60000113
[ 8.540000] sp : c03ddcc8 ip : c5e1f000 fp : c5e1f000
[ 8.540000] r10: 00000000 r9 : bf009854 r8 : c559d0a0
[ 8.540000] r7 : c041c8e0 r6 : c041c844 r5 : c5e1f000 r4 : c559d0a0
[ 8.540000] r3 : 00000001 r2 : 00000000 r1 : c5e1f000 r0 : c559d0a0
[ 8.540000] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 8.540000] Control: 00c5787d Table: 65eb800a DAC: 00000017
[ 8.540000] Process swapper (pid: 0, stack limit = 0xc03dc270)
[ 8.540000] Stack: (0xc03ddcc8 to 0xc03de000)
[ 8.540000] dcc0: ffffffff ffffffff 00000006 ffffffff 00000000 00000000
[ 8.630000] dce0: 00000000 c559d0a0 c5e1f000 c041c844 c041c8e0 c5e063a0 bf009854 00000000
[ 8.630000] dd00: c5e1f000 c0248e88 00000000 00000000 c5ed7bc0 c559d0a0 c5e063a0 c5e1f000
[ 8.630000] dd20: c5ed7c1c c5e063a0 00000000 c02576ec ffff8e25 c03dc000 00000020 c559d0a0
[ 8.630000] dd40: 00000000 c5ed7c1c c5ed7bc0 00000000 c5ed0984 c5ed0980 c5e1f000 c02491d4
[ 8.630000] dd60: c559d0a0 c5fb7940 c5fb7964 0000000e c5e1f000 c024f8a4 00000000 0000004c
[ 8.630000] dd80: 00000081 c559d0a0 00000000 c5dbc2a0 c041c484 c559d0a0 c5f7a040 c5fb6a60
[ 8.630000] dda0: c02c5210 c02aa4f8 c559d0a0 c559d0a0 c5dbc2a0 c041c484 0000004c c5f7a040
[ 8.630000] ddc0: c5fb6a60 c02abe78 c041f24c ffff99dd c041c484 c02c5210 00000000 00000000
[ 8.630000] dde0: c5fb6a60 c03dde64 c03dc000 c5dbc2a0 c041c484 c559d0a0 c03dc000 c5dbc2a0
[ 8.630000] de00: c041c484 0000004c c5f7a040 0000001c c02c5210 c02c41dc 00000000 00000002
[ 8.630000] de20: 00000000 c5e2fbf4 00000002 00000000 00000000 000002ff 00000000 00000000
[ 8.630000] de40: 16000000 00000000 00000000 00000000 00000000 00000000 0000003a 0000008f
[ 8.630000] de60: 00000000 c5fb6a60 00000000 c559d0a0 c5d8e714 00000005 00000000 c5dbc2a0
[ 8.630000] de80: 00000001 c02c53d8 00000001 c04108e0 00000008 c5dbc2f4 c0532050 c040f400
[ 8.630000] dea0: c03dc000 00200200 00000100 c03de080 00000000 c040fc0c c02c5210 c0050c74
[ 8.750000] dec0: 1f975f77 c03ddec8 c03ddec8 c03ddec8 c04108e0 00000081 c03de044 c03dc000
[ 8.750000] dee0: 00000100 c0021528 c03de040 c040f2a0 00000000 c004c13c 1f974177 c0066974
[ 8.750000] df00: 00000001 0000000a 1f974177 c03dc000 c0401060 c0021b00 00000000 c040f2a0
[ 8.750000] df20: c0022180 c03e1d80 c0401040 c004c594 c03dc000 c0027290 ffffffff f4000100
[ 8.750000] df40: 0000001d c03dc000 c0021000 c0027af8 00000001 00000000 c03ddf98 00000000
[ 8.790000] df60: c03dc000 c04012c4 c03e203c c03dc000 c0021000 c0022180 c03e1d80 c0401040
[ 8.790000] df80: 00000000 c03ddf98 c0028a1c c0028a20 60000013 ffffffff c00289fc c0028be8
[ 8.790000] dfa0: 00000000 c04142e4 c053a000 00004000 c040f280 c0008a10 c0008354 00000000
[ 8.790000] dfc0: 00000000 c03e1d80 00000000 c0022f90 00000000 00c5387d c04017b0 c0023394
[ 8.790000] dfe0: c03e2034 6001fda8 410fb025 6001fd74 00000000 60008084 00000000 00000000
[ 8.790000] [<bf0043cc>] (copro_hard_start_xmit+0x14/0x3e4 [gmac]) from [<c0248e88>] (dev_hard_start_xmit+0x244/0x2f0)
[ 8.790000] [<c0248e88>] (dev_hard_start_xmit+0x244/0x2f0) from [<c02576ec>] (__qdisc_run+0x110/0x264)
[ 8.790000] [<c02576ec>] (__qdisc_run+0x110/0x264) from [<c02491d4>] (dev_queue_xmit+0x2a0/0x40c)
[ 8.860000] [<c02491d4>] (dev_queue_xmit+0x2a0/0x40c) from [<c024f8a4>] (neigh_resolve_output+0x104/0x2e4)
[ 8.860000] [<c024f8a4>] (neigh_resolve_output+0x104/0x2e4) from [<c02aa4f8>] (ip6_output_finish+0x90/0x100)
[ 8.860000] [<c02aa4f8>] (ip6_output_finish+0x90/0x100) from [<c02abe78>] (ip6_output+0x44c/0xd5c)
[ 8.860000] [<c02abe78>] (ip6_output+0x44c/0xd5c) from [<c02c41dc>] (mld_sendpack+0x3a0/0x3ec)
[ 8.860000] [<c02c41dc>] (mld_sendpack+0x3a0/0x3ec) from [<c02c53d8>] (mld_ifc_timer_expire+0x1c8/0x2a0)
[ 8.860000] [<c02c53d8>] (mld_ifc_timer_expire+0x1c8/0x2a0) from [<c0050c74>] (run_timer_softirq+0x118/0x200)
[ 8.860000] [<c0050c74>] (run_timer_softirq+0x118/0x200) from [<c004c13c>] (__do_softirq+0xa8/0x140)
[ 8.860000] [<c004c13c>] (__do_softirq+0xa8/0x140) from [<c004c594>] (irq_exit+0x84/0xa0)
[ 8.860000] [<c004c594>] (irq_exit+0x84/0xa0) from [<c0027290>] (do_local_timer+0x54/0x70)
[ 8.940000] [<c0027290>] (do_local_timer+0x54/0x70) from [<c0027af8>] (__irq_svc+0x38/0xc0)
[ 8.940000] Exception stack(0xc03ddf50 to 0xc03ddf98)
[ 8.940000] df40: 00000001 00000000 c03ddf98 00000000
[ 8.940000] df60: c03dc000 c04012c4 c03e203c c03dc000 c0021000 c0022180 c03e1d80 c0401040
[ 8.940000] df80: 00000000 c03ddf98 c0028a1c c0028a20 60000013 ffffffff
[ 8.980000] [<c0027af8>] (__irq_svc+0x38/0xc0) from [<c0028a20>] (default_idle+0x24/0x28)
[ 8.980000] [<c0028a20>] (default_idle+0x24/0x28) from [<c0028be8>] (cpu_idle+0x6c/0xa4)
[ 8.980000] [<c0028be8>] (cpu_idle+0x6c/0xa4) from [<c0008a10>] (start_kernel+0x31c/0x384)
[ 8.980000] [<c0008a10>] (start_kernel+0x31c/0x384) from [<60008084>] (0x60008084)
[ 8.980000] Code: e1a0c001 e59030b0 e24dd01c e1a08000 (e5933018)
[ 9.020000] Kernel panic - not syncing: Fatal exception in interrupt
[ 9.030000] [<c002cbc0>] (unwind_backtrace+0x0/0xe0) from [<c02f5b18>] (panic+0x44/0x108)
[ 9.030000] [<c02f5b18>] (panic+0x44/0x108) from [<c002b63c>] (die+0x138/0x164)
[ 9.040000] [<c002b63c>] (die+0x138/0x164) from [<c02f5a08>] (__do_kernel_fault.part.2+0x54/0x64)
[ 9.050000] [<c02f5a08>] (__do_kernel_fault.part.2+0x54/0x64) from [<c002dd38>] (do_page_fault+0x204/0x278)
[ 9.060000] [<c002dd38>] (do_page_fault+0x204/0x278) from [<c002743c>] (do_DataAbort+0x30/0x98)
[ 9.070000] [<c002743c>] (do_DataAbort+0x30/0x98) from [<c0027aac>] (__dabt_svc+0x4c/0x60)
[ 9.080000] Exception stack(0xc03ddc80 to 0xc03ddcc8)
[ 9.080000] dc80: c559d0a0 c5e1f000 00000000 00000001 c559d0a0 c5e1f000 c041c844 c041c8e0
[ 9.090000] dca0: c559d0a0 bf009854 00000000 c5e1f000 c5e1f000 c03ddcc8 c0248e88 bf0043cc
[ 9.100000] dcc0: 60000113 ffffffff
[ 9.110000] [<c0027aac>] (__dabt_svc+0x4c/0x60) from [<bf0043cc>] (copro_hard_start_xmit+0x14/0x3e4 [gmac])
[ 9.120000] [<bf0043cc>] (copro_hard_start_xmit+0x14/0x3e4 [gmac]) from [<c0248e88>] (dev_hard_start_xmit+0x244/0x2f0)
[ 9.130000] [<c0248e88>] (dev_hard_start_xmit+0x244/0x2f0) from [<c02576ec>] (__qdisc_run+0x110/0x264)
[ 9.140000] [<c02576ec>] (__qdisc_run+0x110/0x264) from [<c02491d4>] (dev_queue_xmit+0x2a0/0x40c)
[ 9.140000] [<c02491d4>] (dev_queue_xmit+0x2a0/0x40c) from [<c024f8a4>] (neigh_resolve_output+0x104/0x2e4)
[ 9.150000] [<c024f8a4>] (neigh_resolve_output+0x104/0x2e4) from [<c02aa4f8>] (ip6_output_finish+0x90/0x100)
[ 9.160000] [<c02aa4f8>] (ip6_output_finish+0x90/0x100) from [<c02abe78>] (ip6_output+0x44c/0xd5c)
[ 9.170000] [<c02abe78>] (ip6_output+0x44c/0xd5c) from [<c02c41dc>] (mld_sendpack+0x3a0/0x3ec)
[ 9.180000] [<c02c41dc>] (mld_sendpack+0x3a0/0x3ec) from [<c02c53d8>] (mld_ifc_timer_expire+0x1c8/0x2a0)
[ 9.190000] [<c02c53d8>] (mld_ifc_timer_expire+0x1c8/0x2a0) from [<c0050c74>] (run_timer_softirq+0x118/0x200)
[ 9.200000] [<c0050c74>] (run_timer_softirq+0x118/0x200) from [<c004c13c>] (__do_softirq+0xa8/0x140)
[ 9.210000] [<c004c13c>] (__do_softirq+0xa8/0x140) from [<c004c594>] (irq_exit+0x84/0xa0)
[ 9.220000] [<c004c594>] (irq_exit+0x84/0xa0) from [<c0027290>] (do_local_timer+0x54/0x70)
[ 9.230000] [<c0027290>] (do_local_timer+0x54/0x70) from [<c0027af8>] (__irq_svc+0x38/0xc0)
[ 9.230000] Exception stack(0xc03ddf50 to 0xc03ddf98)
[ 9.240000] df40: 00000001 00000000 c03ddf98 00000000
[ 9.250000] df60: c03dc000 c04012c4 c03e203c c03dc000 c0021000 c0022180 c03e1d80 c0401040
[ 9.260000] df80: 00000000 c03ddf98 c0028a1c c0028a20 60000013 ffffffff
[ 9.260000] [<c0027af8>] (__irq_svc+0x38/0xc0) from [<c0028a20>] (default_idle+0x24/0x28)
[ 9.270000] [<c0028a20>] (default_idle+0x24/0x28) from [<c0028be8>] (cpu_idle+0x6c/0xa4)
[ 9.280000] [<c0028be8>] (cpu_idle+0x6c/0xa4) from [<c0008a10>] (start_kernel+0x31c/0x384)
[ 9.290000] [<c0008a10>] (start_kernel+0x31c/0x384) from [<60008084>] (0x60008084)
[ 9.300000] CPU1: stopping
[ 9.300000] [<c002cbc0>] (unwind_backtrace+0x0/0xe0) from [<c0027398>] (do_IPI+0xec/0x160)
[ 9.310000] [<c0027398>] (do_IPI+0xec/0x160) from [<c0027af8>] (__irq_svc+0x38/0xc0)
[ 9.320000] Exception stack(0xc7843f90 to 0xc7843fd8)
[ 9.320000] 3f80: 00000001 00000000 c7843fd8 00000000
[ 9.330000] 3fa0: c7842000 c04012c4 c03e203c c7842000 00000000 410fb025 6001fd74 00000000
[ 9.340000] 3fc0: 7fffffff c7843fd8 c0028a1c c0028a20 60000013 ffffffff
[ 9.340000] [<c0027af8>] (__irq_svc+0x38/0xc0) from [<c0028a20>] (default_idle+0x24/0x28)
[ 9.350000] [<c0028a20>] (default_idle+0x24/0x28) from [<c0028be8>] (cpu_idle+0x6c/0xa4)
[ 9.360000] [<c0028be8>] (cpu_idle+0x6c/0xa4) from [<60008084>] (0x60008084)

:idea:
belga
 
Posts: 37
Joined: Tue Jan 10, 2012 12:18 pm

Re: [How-To] Boot Entirely from SATA

Postby WarheadsSE » Wed Jan 30, 2013 2:58 am

check your bootargs are correct, because that paste is bad.

It should be disabling ipv6, which is causing your problem. Is that with the latest tarball's uImage & modules?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [How-To] Boot Entirely from SATA

Postby belga » Wed Jan 30, 2013 3:35 pm

Hi,

With printenv:
$this->bbcode_second_pass_code('', '$ printenv
bootdelay=2
baudrate=115200
ethaddr=00:30:e0:00:00:01
ipaddr=172.31.0.128
serverip=172.31.0.100
autoload=n
netmask=255.255.0.0
bootfile="uImage"
lightled=ledfail 1
extinguishled=ledfail 0
boot=bootm 60500000
dload1=diskboot 60500000 0:1
dload2=diskboot 60500000 0:2
root_dev1=/dev/sda2
root_dev2=/dev/sda1
root_dev=/dev/sda2
bootcmd=run dload1 boot || run dload2 boot || lightled
stdin=serial
stdout=serial
stderr=serial
bootargs=root=/dev/sda2 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 ipv6.disable=1 rootwait ubi.mtd=2,512 mem=128M poweroutage=yes')
I see ipv6.disable=1 so it is disabled.

The version used is that which is placed in the link on page 1 of this topic
belga
 
Posts: 37
Joined: Tue Jan 10, 2012 12:18 pm

Re: [How-To] Boot Entirely from SATA

Postby WarheadsSE » Wed Jan 30, 2013 4:21 pm

Grab the latest rootfs, and use that supplied tarball's uImage & /usr/lib/modules, see if that helps.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [How-To] Boot Entirely from SATA

Postby belga » Wed Jan 30, 2013 8:20 pm

WarheadsSE, sorry to bother you

For rootfs, i used → http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz
I think this is the last one.

I do not understand the point about uImage and lib/modules: The uImage is the one who is in the package in first page $this->bbcode_second_pass_quote('', 'T')his tarball: http://ppl.ug/r1LnA0CT83U/ (patched 12/31/11 md5:b09ce58f93c79164c9dae0d62758be6c)

There is another one?


For /lib/modules, you're thinking about /lib/modules in the package "updater package" in this page viewtopic.php?f=29&t=2453
?

edit: ok i saw all files in updater package :roll: , i will try.
belga
 
Posts: 37
Joined: Tue Jan 10, 2012 12:18 pm

Re: [How-To] Boot Entirely from SATA

Postby WarheadsSE » Wed Jan 30, 2013 10:19 pm

Yes, boot/uImage.xxx
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [How-To] Boot Entirely from SATA

Postby belga » Thu Jan 31, 2013 8:15 pm

It works.
Thank you, problem solved.
belga
 
Posts: 37
Joined: Tue Jan 10, 2012 12:18 pm

Re: [How-To] Boot Entirely from SATA

Postby Praetor » Sat Feb 02, 2013 7:10 pm

Just wanted to pop in and say thank you for this.

I've been running ALARM on my PPro for a while now, but off of a usb stick. The drive started exhibiting errors over the past month and I finally had a spare SATA HDD from an upgrade that I could use on this.

I've already got my PPro back into production after only an hour or two worth of work.

I appreciate it!
Praetor
 
Posts: 18
Joined: Thu Feb 02, 2012 6:14 am

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 5 guests