Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* MILO booting Alpha - with error
@ 2004-08-09 16:44 stephane
  2004-08-14  0:15 ` Steven N. Hirsch
  2004-08-17 13:38 ` onion
  0 siblings, 2 replies; 4+ messages in thread
From: stephane @ 2004-08-09 16:44 UTC (permalink / raw)


Hi all

(see "extra notes" bellow for details on my arch and my cross compil)

I have problem in booting an AlphaPC64 : (in order to install Linux on it)

I made a MILO boot floppy with a costum kernel (last ncr8xx drivers in
it (CONFIG_SCSI_SYM53C8XX_2=y)).

When the Alpha boots on it,
I get the following :
<<
	NT Firmware monitor
	Press h for help q to quit
	xx Opcode reserved to DEC occured
	PC= 0x000...., VA=0xfff...
	>
	> q
	No place to return
	reset ? yes
  >>
and the machine reboots.

In checking my .config, I can see CONFIG_ALPHA_CABRIOLET is not set.
Here you can note a 'small bug' in make/Makefile : Cabriolet setting is
not saved accross different make xconfig...

... So I do again make xconfig, check CONFIG_ALPHA_CABRIOLET to yes and
do a make boot. Then I have an error. The make goes well until it aborts
(at the link stage ?) with the error :
<<
...
/usr/bin/alpha-linux-ld -static -T arch/alpha/vmlinux.lds -N
arch/alpha/kernel/head.o init/main.o init/version.o init/do_mounts.o \
	--start-group \
	arch/alpha/kernel/kernel.o arch/alpha/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o arch/alpha/math-emu/math-emu.o \
	 drivers/parport/driver.o drivers/char/char.o drivers/block/block.o
drivers/misc/misc.o drivers/net/net.o drivers/scsi/scsidrv.o
drivers/cdrom/driver.o drivers/pci/driver.o drivers/pnp/pnp.o
drivers/video/video.o drivers/media/media.o \
	net/network.o \
	/usr/src/kernel-source-2.4.24/arch/alpha/lib/lib.a
/usr/src/kernel-source-2.4.24/lib/lib.a
/usr/src/kernel-source-2.4.24/arch/alpha/lib/lib.a \
	--end-group \
	-o vmlinux

arch/alpha/kernel/kernel.o(.text.init+0x2934): In function
`cabriolet_init_pci':
: undefined reference to `ns87312_enable_ide'
arch/alpha/kernel/kernel.o(.text.init+0x2938): In function
`cabriolet_init_pci':
: undefined reference to `ns87312_enable_ide'
make: *** [vmlinux] Erreur 1
  >>
(remember, I don't get this error with EB64 only set)



--------QUESTIONS :
a - is it normal  I can't compile my Alpha kernel using Cabriolet
processor ?
b - is it normal the machine can't boot with my EB64 kernel in
displaying the message "NT Firmware..." ?
c - is the "message NT firmware monitor / Opcode reserved" tells somthg
to anyone ?
d - also, a milo readme file (from the debian rescue floppy image) say :
<<  Configure the kernel with the following facilities linked in:  >>
<<  milo, initrd, ramdisk, loop, msdos, fat, elf, ext2fs, procfs.  >>
I can't see a `MILO' tag in the kernel config, only an `SRM' tag (that I
leaved unchecked of corse because I use ARC. I hope this is normal, right ?
e - I think of cross-compil from scratch (not using debian tools) what
do you think about ?

Fanx for any help
-------------------------

=========================

EXTRA NOTES :

I did a lot of steps to get here :
1 - compile a new kernel for alpha (cabriolet)
2 - declaring a boot entry in the ARC fw of the machine (loadlin.exe on
the floppy)

I compiled the kernel on debian
$ cat /etc/debian_version
3.0
I used following tools :
toolchain-source                 3.3-3
dpkg-cross                       1.17
dpatch 2.0.8
( CROSS COMPIL environ is :
binutils-alpha-linux             2.14.90.0.7-1
gcc-alpha-linux                  3.3.3-1
libc6.1-alpha-cross              2.3.2.ds1-13
libc6.1-dev-alpha-cross          2.3.2.ds1-13
libdb1-compat-alpha-cross        2.1.3-7
linux-kernel-headers-alpha-cross 2.5.999-test7-bk-16
I also modified the makefile `ARCH := alpha' and `CROSS_COMPILE
=/usr/bin/alpha-linux-')

=========================

HISTORY ( = how i identified my hardware) :
* IDENTIFY MY MATERIAL :
I have an Alpha machine
- ARC firmware AXP 3.5-10
- OpenVMS don't launch SRM but launch Diag
- displaying AlphaPC64> at diag prompt and
(put a serial console on com1 9600 8N1 and choose to boot the Diag in ARC)
- looking at the machine box, i can retreive a part number and the DELL
(or Compaq) brand
- but no machine model name, and I can't find lot's on
- AlphaPC64 and part number web-leads me to the motherboard AXPpci/33
- debian papers show AlphaPC64 type belongs to EB64+ harware and has
Cabriolet codename
(http://www.debian.org/releases/stable/alpha/ch-hardware-req.en.html#s-supported-cpus)
- I was able o boot my alpha with a milo floppy made, cabriolet flavour
- I was not able to boot the debian noname milo flavour
==  Then I assum my hardware is Cabriolet...
==  (at worst, i would redo my work for EB64+ generic)
- the alpha can't boot from the cdrom, my testing cdrom can't be used
(http://cdimage.debian.org/pub/cdimage-testing/sarge_d-i/alpha/beta4/sarge-alpha-netinst.iso)
- create a costum msdos floppy w/ linload.exe and a milo kernel
- the alpha boot milo which should launch linux, unfortunately, at the
hardware detect step, milo and NCR driver can't detect correctly SCSI
devices (loop in reset)
((i modified ARC fw to make floppy being an alternative boot option and
i download rescue floppy image from debian flavour cabriolet from here :
ftp://ftp.debian.org/debian/dists/stable/main/disks-alpha/current : got
the images-1.44/rescue.bin floppy and put the cabriolet flavour kernel
MILO/cabriolet on the floppy in place of the previous linux.bin))
- I will try to make a costum kernel and put it on the milo floppy



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-08-17 22:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-09 16:44 MILO booting Alpha - with error stephane
2004-08-14  0:15 ` Steven N. Hirsch
2004-08-17 13:38 ` onion
2004-08-17 22:25   ` stephane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox