Re: alix2d3 entry point at 0x200120 after PXE installation

2013-12-11 Thread Aurelien Martin

Hi all,

I succeed to boot the alix2d3 by fixing the MBR with fdisk -u wd0

Cheers,
Aurelien



Re: alix2d3 entry point at 0x200120 after PXE installation

2013-12-10 Thread Aurelien Martin
Hi all,

Unfortunately, I still get the reboot after the installation on my alix2d3.
I already installed a Debian image into the flash with success so the flash
seems fine.
I need a custom disklabel so maybe it's where it failed.

Let me do a resume of my configuration and all I did.

Thanks for your support,

Cheers,
Aurelien

Logs
--

The BIOS (0.99h) settings
--
*9* 9600 baud
*C* CHS mode
*R* Serial console enable
*E* PXE boot enable

In pxe boot.conf file:
-

stty com0 9600
set tty com0
boot tftp:/bsd54.rd


The OpenBSD 5.4 installation
---

...
Change the default console to com0? [no] yes
Which one should com0 use? (or 'done') [9600]

Available disks are: wd0.
Which disk is the root disk? ('?' for details) [wd0]
Use DUIDs rather than device names in fstab? [yes] no
MBR has invalid signature; not showing it.
Use (W)hole disk or (E)dit the MBR? [whole] W
Setting OpenBSD MBR partition to whole wd0...done.

Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] C

- I need a custom disk label -

OpenBSD area: 64-15647310; size: 15647246; free: 14
#size   offset  fstype [fsize bsize  cpg]
  a:   626464   64  4.2BSD   2048 163841 # /
  b:  512   626528swap
  c: 156623040  unused
  d:   272576   627040  4.2BSD   2048 163841 # /home
  e:   257056   899616  4.2BSD   2048 163841 # /tmp
  f: 12578880  1156672  4.2BSD   2048 163841 # /usr
  g:  1911744 13735552  4.2BSD   2048 163841 # /var


 w
 q
No label changes.
newfs: reduced number of fragments per cylinder group from 39152 to 38992
to enlarge last cylinder group
/dev/rwd0a: 305.9MB in 626464 sectors of 512 bytes
5 cylinder groups of 76.16MB, 4874 blocks, 9856 inodes each
newfs: reduced number of fragments per cylinder group from 17032 to 16960
to enlarge last cylinder group
/dev/rwd0d: 133.1MB in 272576 sectors of 512 bytes
5 cylinder groups of 33.12MB, 2120 blocks, 4352 inodes each
newfs: reduced number of fragments per cylinder group from 16064 to 15992
to enlarge last cylinder group
/dev/rwd0e: 125.5MB in 257056 sectors of 512 bytes
5 cylinder groups of 31.23MB, 1999 blocks, 4096 inodes each
/dev/rwd0f: 6142.0MB in 12578880 sectors of 512 bytes
31 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rwd0g: 933.5MB in 1911744 sectors of 512 bytes
5 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/wd0a on /mnt type ffs (rw, asynchronous, local)
/dev/wd0d on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/wd0e on /mnt/tmp type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/wd0f on /mnt/usr type ffs (rw, asynchronous, local, nodev)
/dev/wd0g on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid)


# fdisk wd0
Disk: wd0   geometry: 974/255/63 [15662304 Sectors]
Offset: 0   Signature: 0xAA55
Starting Ending LBA Info:
 #: id  C   H   S -  C   H   S [   start:size ]
---
 0: 00  0   0   0 -  0   0   0 [   0:   0 ]
unused
 1: 00  0   0   0 -  0   0   0 [   0:   0 ]
unused
 2: 00  0   0   0 -  0   0   0 [   0:   0 ]
unused
*3: A6  0   1   2 -973 254  63 [  64:15647246 ]
OpenBSD


After the reboot
-

boot
booting hd0a:/bsd: 8824220+1096236=0x97613c
entry point at 0x200120

   [then reboot in loop]

- I also try with wd0a

boot boot wd0a:/bsd
booting wd0a:/bsd: 8824220+1096236=0x97613c
entry point at 0x200120

   [then reboot in loop]


2013/12/3 Aurelien Martin 01aurel...@gmail.com

 Hi all,
 I would like to thanks all to your fast feedback and support

 I'm moving my flat so I cannot test for these days. On Thursday I'll
 receive a new USB - DB9 Null modem cable and a flash card reader.
 So the next days I'll update this feed with my observation, tests and
 steps to achieve it through PXE. As mentioned if it doesn't work I'll put
 directly OBSD 5.4 on the flash.

 Have a good day
 Aurelien



 2013/11/30 Eike Lantzsch zp6...@gmx.net

 On Friday 29 November 2013 17:12:45 Erling Westenvik wrote:
  On Fri, Nov 29, 2013 at 01:10:24PM +0100, Aurelien Martin wrote:
   stty com0 57600
 
  I too would try with a lower baudrate.
 
  From the FAQ (http://www.openbsd.org/faq/faq7.html#SerCon)
 
  Resist the urge to crank the baud rate up to the maximum your
  hardware can support, as you are more likely to create problems
  than benefit. Most systems have a default speed (supported by
  default by the boot ROM and/or the boot loader, often 9600), use
  this unless you have real reason to use something different.

 Huh? My ALIX 2D13 works fine with 115200 - no quirks.
 38400 

Re: alix2d3 entry point at 0x200120 after PXE installation

2013-12-03 Thread Aurelien Martin
Hi all,
I would like to thanks all to your fast feedback and support

I'm moving my flat so I cannot test for these days. On Thursday I'll
receive a new USB - DB9 Null modem cable and a flash card reader.
So the next days I'll update this feed with my observation, tests and steps
to achieve it through PXE. As mentioned if it doesn't work I'll put
directly OBSD 5.4 on the flash.

Have a good day
Aurelien



2013/11/30 Eike Lantzsch zp6...@gmx.net

 On Friday 29 November 2013 17:12:45 Erling Westenvik wrote:
  On Fri, Nov 29, 2013 at 01:10:24PM +0100, Aurelien Martin wrote:
   stty com0 57600
 
  I too would try with a lower baudrate.
 
  From the FAQ (http://www.openbsd.org/faq/faq7.html#SerCon)
 
  Resist the urge to crank the baud rate up to the maximum your
  hardware can support, as you are more likely to create problems
  than benefit. Most systems have a default speed (supported by
  default by the boot ROM and/or the boot loader, often 9600), use
  this unless you have real reason to use something different.

 Huh? My ALIX 2D13 works fine with 115200 - no quirks.
 38400 is default but I don't think that a wrong baudrate would output
 anything at all except house numbers and grzmrf, especially not at
 high baudrates.

 Did you, Aurelien use a quality CF-card? That is very important.
 Is the power supply sound?
 Even the 2D3 may be defective (rarely) and e.g. PC-Engines swaps them
 on warranty free.

 Sorry I didn't upgrade to 5.4 yet.
 I installed OpenBSD 5.3 onto the CF-card while it was connected to a
 MACbook Air via a USB-adaptor and used the network install. Then I
 inserted the CF-card into the ALIX 2D13 and booted. No problems.
 See OBSD FAQ 14.17.3.

 Maybe Aurelien, you want to try this before you send the board back to
 the supplier.

 Good luck
 Eike
 --
 Eike Lantzsch ZP6CGE
 Casilla de Correo 1519
 1209 Asuncion / Paraguay



Re: alix2d3 entry point at 0x200120 after PXE installation

2013-11-30 Thread Eike Lantzsch
On Friday 29 November 2013 17:12:45 Erling Westenvik wrote:
 On Fri, Nov 29, 2013 at 01:10:24PM +0100, Aurelien Martin wrote:
  stty com0 57600
 
 I too would try with a lower baudrate.
 
 From the FAQ (http://www.openbsd.org/faq/faq7.html#SerCon)
 
 Resist the urge to crank the baud rate up to the maximum your
 hardware can support, as you are more likely to create problems
 than benefit. Most systems have a default speed (supported by
 default by the boot ROM and/or the boot loader, often 9600), use
 this unless you have real reason to use something different.

Huh? My ALIX 2D13 works fine with 115200 - no quirks.
38400 is default but I don't think that a wrong baudrate would output 
anything at all except house numbers and grzmrf, especially not at 
high baudrates.

Did you, Aurelien use a quality CF-card? That is very important.
Is the power supply sound?
Even the 2D3 may be defective (rarely) and e.g. PC-Engines swaps them 
on warranty free.

Sorry I didn't upgrade to 5.4 yet.
I installed OpenBSD 5.3 onto the CF-card while it was connected to a 
MACbook Air via a USB-adaptor and used the network install. Then I 
inserted the CF-card into the ALIX 2D13 and booted. No problems.
See OBSD FAQ 14.17.3.

Maybe Aurelien, you want to try this before you send the board back to 
the supplier.

Good luck
Eike
-- 
Eike Lantzsch ZP6CGE
Casilla de Correo 1519
1209 Asuncion / Paraguay



Re: alix2d3 entry point at 0x200120 after PXE installation

2013-11-29 Thread Aviolat Romain
Hi Aurelien,

I've got same boards at work, I saw no problems installing obsd on top of them. 
Few steps I always follow:

1. In pxe boot.conf file:

sty com0 38400
set tty com0
boot tftp:/bsd54.rd 

2. start DHCP server + tftp on my laptop

3. hit n during the RAM test to boot in PXE mode

4. install with default settings

AFAIK the default serial port speed is 38400 not 57600

Romain

-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of 
Aurelien Martin
Sent: vendredi 29 novembre 2013 13:10
To: misc@openbsd.org
Subject: alix2d3 entry point at 0x200120 after PXE installation

Hi all,

I installed openbsd-54 on a flash card on my alix2d3 board through PXE with a 
nullmodem cable.
But after the installation, the machine reboot in loop after the message entry 
point at 0x200120

I tried all the solution found in google, set the tty to com0, and also boot on 
wd0a instead of hd0a

set tty com0
stty com0 57600
boot wd0a:/bsd

But nothing change.
To simplify the debug reinstall the machine with the default mbr and 
partitioning shema, and unfortunatly it change nothing. I choose  to use com0 
during the installation

Have you got tips or procedure to follow ?
I can provide logs that you need

Thanks by advance

Cheers,
Aurelien



Re: alix2d3 entry point at 0x200120 after PXE installation

2013-11-29 Thread sven falempin
The com port speed may be changed in the bios menu.


On Fri, Nov 29, 2013 at 7:24 AM, Aviolat Romain romain.avio...@nagra.comwrote:

 Hi Aurelien,

 I've got same boards at work, I saw no problems installing obsd on top of
 them. Few steps I always follow:

 1. In pxe boot.conf file:

 sty com0 38400
 set tty com0
 boot tftp:/bsd54.rd

 2. start DHCP server + tftp on my laptop

 3. hit n during the RAM test to boot in PXE mode

 4. install with default settings

 AFAIK the default serial port speed is 38400 not 57600

 Romain

 -Original Message-
 From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of
 Aurelien Martin
 Sent: vendredi 29 novembre 2013 13:10
 To: misc@openbsd.org
 Subject: alix2d3 entry point at 0x200120 after PXE installation

 Hi all,

 I installed openbsd-54 on a flash card on my alix2d3 board through PXE
 with a nullmodem cable.
 But after the installation, the machine reboot in loop after the message
 entry point at 0x200120

 I tried all the solution found in google, set the tty to com0, and also
 boot on wd0a instead of hd0a

 set tty com0
 stty com0 57600
 boot wd0a:/bsd

 But nothing change.
 To simplify the debug reinstall the machine with the default mbr and
 partitioning shema, and unfortunatly it change nothing. I choose  to use
 com0 during the installation

 Have you got tips or procedure to follow ?
 I can provide logs that you need

 Thanks by advance

 Cheers,
 Aurelien




-- 
-
() ascii ribbon campaign - against html e-mail
/\



Re: alix2d3 entry point at 0x200120 after PXE installation

2013-11-29 Thread Jan Stary
On Nov 29 13:10:24, 01aurel...@gmail.com wrote:
 Hi all,
 
 I installed openbsd-54 on a flash card on my alix2d3 board through
 PXE with a nullmodem cable.
 But after the installation, the machine reboot in loop after the message
 entry point at 0x200120
 
 I tried all the solution found in google, set the tty to com0, and
 also boot on wd0a instead of hd0a
 
 set tty com0
 stty com0 57600
 boot wd0a:/bsd

The baudrae of 57600 seems strange.
Did you set it so in BIOS, or where does it come from?

My Alix2d3 boots just fine with

stty com0 9600
set tty com0



Re: alix2d3 entry point at 0x200120 after PXE installation

2013-11-29 Thread Erling Westenvik
On Fri, Nov 29, 2013 at 01:10:24PM +0100, Aurelien Martin wrote:
 stty com0 57600

I too would try with a lower baudrate.

From the FAQ (http://www.openbsd.org/faq/faq7.html#SerCon)

Resist the urge to crank the baud rate up to the maximum your hardware
can support, as you are more likely to create problems than benefit.
Most systems have a default speed (supported by default by the boot
ROM and/or the boot loader, often 9600), use this unless you have real
reason to use something different.