From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,12d13ebde61c611a,start X-Google-Attributes: gid111c93,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news.cs.univ-paris8.fr!ciril.fr!oleane.net!oleane!dauphin.rungis!nobody From: stephane Newsgroups: comp.os.linux.alpha Subject: MILO booting Alpha - with error Date: Mon, 09 Aug 2004 18:44:10 +0200 Organization: Guest of France Telecom's news reading service Message-ID: <4117A9DA.7070904@fps.fr> NNTP-Posting-Host: fps.rain.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: s5.feed.news.oleane.net 1092070804 22060 217.109.163.120 (9 Aug 2004 17:00:04 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 9 Aug 2004 17:00:04 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 X-Accept-Language: en Xref: g2news1.google.com comp.os.linux.alpha:177 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