IPFire on Soekris and Wrap

Lalsacien
Posts: 71
Location: Strasbourg (France)

IPFire on Soekris and Wrap

Postby Lalsacien » September 19th, 2010, 7:02 pm

I hoped this version, the embedded one, could work on Soekris boxes. I have tried it but it didn't work.

Lal ;)
Last edited by Lalsacien on September 20th, 2010, 9:39 am, edited 1 time in total.
Image

User avatar
Maniacikarus
Core Developer
Core Developer
Posts: 6210
Location: Nürnberg
Contact:

IPFire on Soekris and Wrap

Postby Maniacikarus » September 19th, 2010, 7:06 pm

No therefore we need to change the kernel and thats a larger update to do, still on our list (beside others) but the wrap and soekris one´s are not working atm, the alix are working without problems.
Image

User avatar
Arne.F
Core Developer
Core Developer
Posts: 5652
Location: BS <-> NDH
Contact:

IPFire on Soekris and Wrap

Postby Arne.F » September 19th, 2010, 7:14 pm

In this prerelease the soekris/wrap booting bug should be fixed: http://people.ipfire.org/~arne_f/testing/next/
Arne

Support the project on the IPFire whishlist!

Image

Image

Image

Lalsacien
Posts: 71
Location: Strasbourg (France)

IPFire on Soekris and Wrap

Postby Lalsacien » September 20th, 2010, 7:05 am

Thanks Arne for answer. I will test it.
Image

Lalsacien
Posts: 71
Location: Strasbourg (France)

Re: IPFire on Soekris and Wrap

Postby Lalsacien » September 27th, 2010, 7:27 am

Hello,

Ok, since 2 days, I have now a version that is working well (with all the 4 interfaces). No problem for the installation with the img file. I just needed to modify menu.lst in grub (as I wrote in an other post).

However,  I notice some mistakes in the french translation on some screens but it's not really a problem. (I could help if you want and for the wiki too).

Now I have a 2.5 " HDD on my Soekris and I would like to install Ipfire on it instead of CF. The problem is that I can't plug a CD drive on the Soekris. For years, I installed Ipcop with PXEboot. But do you mean it could be possible to plug my HDD on an other PC with a CD drive and then plug it again into the Soekris. (I know there will be some trouble with the drive name : sda and no hda etc...)

Best Regards
Lal ;)
Image

User avatar
Arne.F
Core Developer
Core Developer
Posts: 5652
Location: BS <-> NDH
Contact:

Re: IPFire on Soekris and Wrap

Postby Arne.F » September 27th, 2010, 8:46 am

You can install on a other computer and swap it to the soekris. You should not get devicename trouble because the "next" version use UUID's to identify the volume. After swap you have to start setup and remove all network devices and readd the new ones.
Arne

Support the project on the IPFire whishlist!

Image

Image

Image

User avatar
Maniacikarus
Core Developer
Core Developer
Posts: 6210
Location: Nürnberg
Contact:

Re: IPFire on Soekris and Wrap

Postby Maniacikarus » September 27th, 2010, 8:49 am

The image can be used for hdd either.
Image

Lalsacien
Posts: 71
Location: Strasbourg (France)

Re: IPFire on Soekris and Wrap

Postby Lalsacien » September 27th, 2010, 1:43 pm

Ok Then I will going to buy an adapter to plug the 2.5" HDD on the PC.

Lal
Image

User avatar
Arne.F
Core Developer
Core Developer
Posts: 5652
Location: BS <-> NDH
Contact:

Re: IPFire on Soekris and Wrap

Postby Arne.F » September 27th, 2010, 5:44 pm

But on a hdd i would prefere the normal installation because the image has no swap and the soekris has only 128MB so swap is a must have...
Arne

Support the project on the IPFire whishlist!

Image

Image

Image

Lalsacien
Posts: 71
Location: Strasbourg (France)

Re: IPFire on Soekris and Wrap

Postby Lalsacien » September 28th, 2010, 5:34 am

Of course that's the idea : having a "normal" installation, not the image one.
Image

Lalsacien
Posts: 71
Location: Strasbourg (France)

Re: IPFire on Soekris and Wrap

Postby Lalsacien » October 9th, 2010, 11:30 pm

Hello All :)

As we told before, I have now used a PC to connect my HDD 2.5" and install Ipfire, test one. As the new boot came I have unplugged it and connect it again with a USB interface on my Linux machine. I made some modification on grub.conf and inittab. Then I installed the drive in the Soekris box and boot it. I made the configuration and restored my backup.

Result : All works and it's very pleased now to have some swap. I have chosen ext3 as file system.

Arne => You can release !! Nice Job ! Es ist super ! lol

Best Regards / Tschüss
Lal
Image

vorgusa
Posts: 1

Re: IPFire on Soekris and Wrap

Postby vorgusa » February 4th, 2011, 1:34 pm

Does the current 2.9 include these changes so that it will work on a Soekris using a hard drive?

User avatar
Maniacikarus
Core Developer
Core Developer
Posts: 6210
Location: Nürnberg
Contact:

Re: IPFire on Soekris and Wrap

Postby Maniacikarus » February 4th, 2011, 2:56 pm

It should work on soekris.
Image

1audio
Posts: 2

Re: IPFire on Soekris and Wrap

Postby 1audio » June 27th, 2011, 12:07 am

I know this is an older thread but its directly relevant.

I attempted to install IPFire 2.9 with the serial console on a Soekris net4521. The boot starts and gets part way through and then restarts continuously. with the message that it will reboot in 10 seconds. I had less luck with the cf image version since it doesn't have the serial port enabled so I cant see what is crashing it. 

The system works OK with DD-WRT.

Here is a capture from the serial port. I suspect that processor isn't properly supported in the kernel:

Linux version 2.6.32.28-ipfire (root@rowena.ipfire.org) (gcc version 4.0.4) #1 SMP Sat May 28 15:28:25 GMT 2011
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  NSC Geode by NSC
  Cyrix CyrixInstead
  Centaur CentaurHauls
  Transmeta GenuineTMx86
  Transmeta TransmetaCPU
  UMC UMC UMC UMC
BIOS-provided physical RAM map:
BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
BIOS-e801: 0000000000100000 - 0000000004000000 (usable)
DMI not present or invalid.
last_pfn = 0x4000 max_arch_pfn = 0x100000
init_memory_mapping: 0000000000000000-0000000004000000
RAMDISK: 03bef000 - 03feface
ACPI Error: A valid RSDP was not found (20090903/tbxfroot-219)
0MB HIGHMEM available.
64MB LOWMEM available.
  mapped low ram: 0 - 04000000
  low ram: 0 - 04000000
  node 0 low ram: 00000000 - 04000000
  node 0 bootmap 00002000 - 00002800
(9 early reservations) ==> bootmem [0000000000 - 0004000000]
  #0 [0000000000 - 0000001000]  BIOS data page ==> [0000000000 - 0000001000]
  #1 [0000001000 - 0000002000]    EX TRAMPOLINE ==> [0000001000 - 0000002000]
  #2 [0000006000 - 0000007000]      TRAMPOLINE ==> [0000006000 - 0000007000]
  #3 [0001000000 - 0001386d44]    TEXT DATA BSS ==> [0001000000 - 0001386d44]
  #4 [0003bef000 - 0003feface]          RAMDISK ==> [0003bef000 - 0003feface]
  #5 [000009fc00 - 0000100000]    BIOS reserved ==> [000009fc00 - 0000100000]
  #6 [0001387000 - 000138d000]              BRK ==> [0001387000 - 000138d000]
  #7 [0000007000 - 0000011000]          PGTABLE ==> [0000007000 - 0000011000]
  #8 [0000002000 - 0000003000]          BOOTMAP ==> [0000002000 - 0000003000]
Zone PFN ranges:
  DMA      0x00000000 -> 0x00001000
  Normal  0x00001000 -> 0x00004000
  HighMem  0x00004000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0: 0x00000000 -> 0x0000009f
    0: 0x00000100 -> 0x00004000
Using APIC driver default
SMP: Allowing 1 CPUs, 0 hotplug CPUs
No local APIC present or hardware disabled
APIC: disable apic facility
Allocating PCI resources starting at 4000000 (gap: 4000000:fc000000)
Booting paravirtualized kernel on bare hardware
NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
PERCPU: Embedded 12 pages/cpu @c1411000 s25016 r0 d24136 u65536
pcpu-alloc: s25016 r0 d24136 u65536 alloc=16*4096
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16159
Kernel command line: root=UUID=a8c9ede2-190b-46d4-9990-79971b83d680 console=ttyS0,38400n8 panic=10 ro
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Initializing CPU#0
Initializing HighMem for node 0 (00000000:00000000)
Memory: 56696k/65536k available (1957k kernel code, 8428k reserved, 868k data, 428k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfff1d000 - 0xfffff000  ( 904 kB)
    pkmap  : 0xff800000 - 0xffc00000  (4096 kB)
    vmalloc : 0xc4800000 - 0xff7fe000  ( 943 MB)
    lowmem  : 0xc0000000 - 0xc4000000  (  64 MB)
      .init : 0xc12c3000 - 0xc132e000  ( 428 kB)
      .data : 0xc11e96ed - 0xc12c2a48  ( 868 kB)
      .text : 0xc1000000 - 0xc11e96ed  (1957 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:2304 nr_irqs:256
Console: colour dummy device 80x25
console [ttyS0] enabled
Calibrating delay loop... 64.52 BogoMIPS (lpj=108032)
Mount-cache hash table entries: 512
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 11k freed
Enabling APIC mode:  Flat.  Using 0 I/O APICs
weird, boot CPU (#0) not listed by the BIOS.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
SMP disabled
Brought up 1 CPUs
Total of 1 processors activated (64.52 BogoMIPS).
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.00 entry at 0xf7861, last bus=2
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: Interpreter disabled.
vgaarb: loaded
PCI: Probing PCI hardware
pci 0000:00:11.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:11.0: PME# disabled
pci 0000:00:11.1: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:11.1: PME# disabled
pci 0000:00:12.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:12.0: PME# disabled
pci 0000:00:13.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:13.0: PME# disabled
Switching to clocksource pit
pnp: PnP ACPI: disabled
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: PnP BIOS support was not detected.
pci 0000:00:13.0: BAR 6: address space collision on of device [0x3f000000-0x3f00ffff]
pci 0000:00:11.0: CardBus bridge, secondary bus 0000:01
pci 0000:00:11.0:  IO window: 0x001000-0x0010ff
pci 0000:00:11.0:  IO window: 0x001400-0x0014ff
pci 0000:00:11.0:  PREFETCH window: 0x4000000-0x7ffffff
pci 0000:00:11.0:  MEM window: 0x8000000-0xbffffff
pci 0000:00:11.1: CardBus bridge, secondary bus 0000:05
pci 0000:00:11.1:  IO window: 0x001800-0x0018ff
pci 0000:00:11.1:  IO window: 0x001c00-0x001cff
pci 0000:00:11.1:  PREFETCH window: 0xc000000-0xfffffff
pci 0000:00:11.1:  MEM window: 0x10000000-0x13ffffff
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 4098k freed
platform rtc_cmos: registered platform RTC device (no PNP device found)
audit: initializing netlink socket (disabled)
type=2000 audit(3480469538.316:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 118
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
ÿserial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
brd: module loaded
loop: module loaded
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: Can't read CTR while initializing i8042.
i8042: probe of i8042 failed with error -5
mice: PS/2 mouse device common for all mice
EISA: Probing bus 0 at eisa.0
Cannot allocate resource for EISA slot 1
EISA: Detected 0 cards.
cpuidle: using governor ladder
cpuidle: using governor menu
NET: Registered protocol family 17
Using IPI No-Shortcut mode
Freeing unused kernel memory: 428k freed
Write protecting the kernel text: 1960k
Write protecting the kernel read-only data: 684k
invalid opcode: 0000 [#1] SMP
last sysfs file:
Modules linked in:

Pid: 1, comm: swapper Not tainted (2.6.32.28-ipfire #1)
EIP: 0060:[<c112ef3b>] EFLAGS: 00010286 CPU: 0
EIP is at get_random_int+0x51/0xb2
EAX: fffed3cf EBX: c3418000 ECX: c34d4400 EDX: 00000001
ESI: 00000000 EDI: 00000080 EBP: c34d1280 ESP: c341bd70
DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Process swapper (pid: 1, ti=c341a000 task=c3418000 task.ti=c341a000)
Stack:
c13813e0 c14144a0 00000001 c38012c0 00000000 00000001 c31864c8 fffed3cf
<0> 087ff000 c34e8000 00000080 c34d1280 c101b3ad c101b430 c3418000 c34d4400
<0> c1080107 c107f850 fffffff8 c34d1280 c34d4400 c345dec0 c129c200 00000001
Call Trace:
[<c101b3ad>] ? mmap_rnd+0x13/0x23
[<c101b430>] ? arch_pick_mmap_layout+0x73/0x97
[<c1080107>] ? setup_new_exec+0x1b/0x18b
[<c107f850>] ? flush_old_exec+0x45b/0x499
[<c10a6669>] ? load_elf_binary+0x30d/0xced
[<c10847e4>] ? do_filp_open+0x420/0x74f
[<c1037a7c>] ? autoremove_wake_function+0x0/0x2d
[<c107c2b8>] ? vfs_read+0xf6/0x107
[<c10a635c>] ? load_elf_binary+0x0/0xced
[<c107fd64>] ? search_binary_handler+0xa5/0x21f
[<c10a5848>] ? load_script+0x0/0x1a4
[<c10a59d8>] ? load_script+0x190/0x1a4
[<c10694e2>] ? __get_user_pages+0x278/0x2e7
[<c107ee3f>] ? get_arg_page+0x2d/0x78
[<c107fd64>] ? search_binary_handler+0xa5/0x21f
[<c1080046>] ? do_execve+0x168/0x20e
[<c1001d86>] ? sys_execve+0x23/0x43
[<c1003075>] ? syscall_call+0x7/0xb
[<c107007b>] ? vm_unmap_ram+0x101/0x109
[<c1006555>] ? kernel_execve+0x14/0x18
[<c1080060>] ? do_execve+0x182/0x20e
[<c1001292>] ? init_post+0x6c/0xd2
[<c12c37d1>] ? kernel_init+0x14f/0x154
[<c12c3682>] ? kernel_init+0x0/0x154
[<c1003b77>] ? kernel_thread_helper+0x7/0x10
Code: c2 a0 13 38 c1 89 14 24 f0 83 04 24 00 8b 30 a1 00 aa 29 c1 64 8b 1d 8c 84 32 c1 89 44 24 1c 8b 93 00 01 00 00 01 d0 89 44 24 1c <0f> 31 8d 74 26 00 89 54 24 14 89 c7 8b 4c 24 04 8b 44 24 14 c7
EIP: [<c112ef3b>] get_random_int+0x51/0xb2 SS:ESP 0068:c341bd70
---[ end trace c7480ae733775443 ]---
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: swapper Tainted: G      D    2.6.32.28-ipfire #1
Call Trace:
[<c1028aa2>] ? panic+0x3b/0xdc
[<c102aa21>] ? do_exit+0x53/0x539
[<c10041f9>] ? do_invalid_op+0x0/0x75
[<c1005fb0>] ? oops_end+0x7e/0x82
[<c1004265>] ? do_invalid_op+0x6c/0x75
[<c112ef3b>] ? get_random_int+0x51/0xb2
[<c107b954>] ? do_sync_read+0xbf/0xfe
[<c11e8c26>] ? error_code+0x66/0x70
[<c10041f9>] ? do_invalid_op+0x0/0x75
[<c112ef3b>] ? get_random_int+0x51/0xb2
[<c101b3ad>] ? mmap_rnd+0x13/0x23
[<c101b430>] ? arch_pick_mmap_layout+0x73/0x97
[<c1080107>] ? setup_new_exec+0x1b/0x18b
[<c107f850>] ? flush_old_exec+0x45b/0x499
[<c10a6669>] ? load_elf_binary+0x30d/0xced
[<c10847e4>] ? do_filp_open+0x420/0x74f
[<c1037a7c>] ? autoremove_wake_function+0x0/0x2d
[<c107c2b8>] ? vfs_read+0xf6/0x107
[<c10a635c>] ? load_elf_binary+0x0/0xced
[<c107fd64>] ? search_binary_handler+0xa5/0x21f
[<c10a5848>] ? load_script+0x0/0x1a4
[<c10a59d8>] ? load_script+0x190/0x1a4
[<c10694e2>] ? __get_user_pages+0x278/0x2e7
[<c107ee3f>] ? get_arg_page+0x2d/0x78
[<c107fd64>] ? search_binary_handler+0xa5/0x21f
[<c1080046>] ? do_execve+0x168/0x20e
[<c1001d86>] ? sys_execve+0x23/0x43
[<c1003075>] ? syscall_call+0x7/0xb
[<c107007b>] ? vm_unmap_ram+0x101/0x109
[<c1006555>] ? kernel_execve+0x14/0x18
[<c1080060>] ? do_execve+0x182/0x20e
[<c1001292>] ? init_post+0x6c/0xd2
[<c12c37d1>] ? kernel_init+0x14f/0x154
[<c12c3682>] ? kernel_init+0x0/0x154
[<c1003b77>] ? kernel_thread_helper+0x7/0x10
Rebooting in 10 seconds..

User avatar
Arne.F
Core Developer
Core Developer
Posts: 5652
Location: BS <-> NDH
Contact:

Re: IPFire on Soekris and Wrap

Postby Arne.F » June 27th, 2011, 3:20 pm

You have not enough memory. IPFire need at least 128MB.
Arne

Support the project on the IPFire whishlist!

Image

Image

Image


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 1 guest