* Re: Kernel compile issue with respect to PC164
@ 1998-07-22 1:11 Greg Lindahl
1998-07-22 3:12 ` Keith Morse
1998-07-22 5:02 ` kernel 2.1.110 VMALLOC_END compile failure s.c. trusty
0 siblings, 2 replies; 7+ messages in thread
From: Greg Lindahl @ 1998-07-22 1:11 UTC (permalink / raw)
To: axp-list
> I would have been happy with the stock kernel, expect parallel port
> support was not compiled in. Sigh. So I took compiling a kernel for this
> beastie. Read the docs. "mrproper, make xconfig, make dep; make clean"
No. Only "make config" works. Both xconfig and menuconfig are broken,
and have been broken for a long time.
-- g
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Kernel compile issue with respect to PC164
1998-07-22 1:11 Kernel compile issue with respect to PC164 Greg Lindahl
@ 1998-07-22 3:12 ` Keith Morse
1998-07-22 5:02 ` kernel 2.1.110 VMALLOC_END compile failure s.c. trusty
1 sibling, 0 replies; 7+ messages in thread
From: Keith Morse @ 1998-07-22 3:12 UTC (permalink / raw)
To: axp-list
On Tue, 21 Jul 1998, Greg Lindahl wrote:
> > I would have been happy with the stock kernel, expect parallel port
> > support was not compiled in. Sigh. So I took compiling a kernel for this
> > beastie. Read the docs. "mrproper, make xconfig, make dep; make clean"
>
> No. Only "make config" works. Both xconfig and menuconfig are broken,
> and have been broken for a long time.
>
You're most kind, sir. That did the trick.
^ permalink raw reply [flat|nested] 7+ messages in thread
* kernel 2.1.110 VMALLOC_END compile failure
1998-07-22 1:11 Kernel compile issue with respect to PC164 Greg Lindahl
1998-07-22 3:12 ` Keith Morse
@ 1998-07-22 5:02 ` s.c. trusty
1998-07-22 5:46 ` Peter Rye
1 sibling, 1 reply; 7+ messages in thread
From: s.c. trusty @ 1998-07-22 5:02 UTC (permalink / raw)
To: axp-list
Any ideas on fixing this? (VMALLOC_END) doesn't appear to be defined
except for i386.
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -Wa,-m21164a
-DBWX_USABLE -DBWIO_ENABLED -c -o vmalloc.o vmalloc.c
vmalloc.c: In function `get_vm_area':
vmalloc.c:165: `VMALLOC_END' undeclared (first use this function)
vmalloc.c:165: (Each undeclared identifier is reported only once
vmalloc.c:165: for each function it appears in.)
make[3]: *** [vmalloc.o] Error 1
make[3]: Leaving directory `/usr/src/linux/mm'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/mm'
make[1]: *** [linuxsubdirs] Error 2
make[1]: Leaving directory `/usr/src/linux'
make: *** [mm] Error 2
Stuart Trusty
stuart@croesus.net
Linux Labs
Atlanta, GA
800.788.9319
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: kernel 2.1.110 VMALLOC_END compile failure
1998-07-22 5:02 ` kernel 2.1.110 VMALLOC_END compile failure s.c. trusty
@ 1998-07-22 5:46 ` Peter Rye
0 siblings, 0 replies; 7+ messages in thread
From: Peter Rye @ 1998-07-22 5:46 UTC (permalink / raw)
To: axp-list
>>>>> "Stuart" == s c trusty <alpharht@omega.croesus.net> writes:
Stuart> Any ideas on fixing this? (VMALLOC_END) doesn't appear to be
Stuart> defined except for i386.
There has been many comments on the linux-kernel mailing list about
this. Vmalloc is broken on i386 too.
You can get past this by reversing the patch to vmalloc.c.
Unfortunately there is more broken code further ahead. I haven't been able
to compile 2.1.110 or 2.1.109 here.
(/usr/src/linux/arch/alpha/kernel/ptrace.c fails here)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Help for a newbie - please
@ 1998-07-17 17:37 furio ercolessi
1998-07-22 1:07 ` Kernel compile issue with respect to PC164 Keith Morse
0 siblings, 1 reply; 7+ messages in thread
From: furio ercolessi @ 1998-07-17 17:37 UTC (permalink / raw)
To: aberge; +Cc: axp-list
> I have an Alpha 533 based on a deskstation RPX-164 'Ruffian' motherboard and am
> havinbg some trouble installing linux,
>
> I have copied linload.exe and the ruffian file from the \Milo directory of the
> Linux\Alpha CD onto a dos format floppy and then I adjusted a boot environment
> under Arc to
>
> ConsoleOut =multi(0)video(0)console(1)
> ConsoleIn =multi()Key()console()
> LastKnownGood = False
> Countdown =5
> LoadIdentifier =LINUX
> System Partition = multi(0)disk(0)fdisk(0)
> OsloadPartition = multi(0)disk(0)fdisk(0)
> Oload options =
> AUTOLOAD =YES
> OsLoader =multi(0)disk(0)fdisk(0)\linload.exe
> Osload filename =\ruffian
>
> But when I try to load the MILO in this way I get a black screen with blinking _
> cursor alittle bit of disk activity and nothing more. If I hit a key I get a
> message saying hit a key to return to Arc and it simply goes back again,
> Can anybody help me ? I have read through all the docs etc that I can find and
> I can't find anything...as they all seem to asume that getting as far as the Milo
> prompt should be easy, What am I doing wrong...?
I went through the exact same blues in the past days.
Your problem is the boot partition on the hard disk, even if the
firmware does not give any clue in this sense.
It must be a bug in ARCS BIOS. It appears to be impossible to construct
a valid boot partition using Linux tools (fdisk, mkdosfs, dd etc)
on that machine. You have to use ARCINST from the Windows NT CDROM.
It may seem absurd but this is what I had to do, basically
(of course this is just a summary not including wrong paths..):
1) follow http://www.deskstation.com/linux/install.html
to get Linux running (but use the new MILO from gatekeeper.dec.com
instead of the one from Deskstation)
The RH installation made you go through fdisk, you wrote the
partition table on the disk. You dutifully made a FAT partition
on sda1: it is unusable as it is, do not bother to copy
msdos files over it, not even from ARCS BIOS. The files go there,
you see them, but the system will not boot from them.
2) run ARCINST, delete and recreate the boot partition over the
same boundaries
3) go in ARCS and copy the three MSDOS files into this partition
4) now you should be able to boot MILO. From there
boot Linux again. fdisk will complain about partition 1
(logical sectors do not match physical sectors, or something
like that), and the swap partition also gives errors
(mkswap cannot format it). Congratulations: by running
ARCINST you have damaged the rest of the disk! But
you can still do dd if=/dev/sda1 of=/boot.img and save
your boot partition in a file.
Go in fdisk and rewrite the partition table to make it
Linux-friendly. You have now destroyed again your boot
partition! But you can restore its contents:
dd if=/boot.img of=/dev/sda1
Now both ARCS BIOS and fdisk are happy with it: do not
touch it any more.
5) Reboot and reinstall Linux all over again, skipping
the fdisk stage.
It's easy! ;-)
I can made you available our "boot.img", but I am not sure
if it is disk-dependent or not. I have a Fujitsu MAB3045.
Hope it helps
furio ercolessi
spin
trieste (italy)
^ permalink raw reply [flat|nested] 7+ messages in thread* Kernel compile issue with respect to PC164
1998-07-17 17:37 Help for a newbie - please furio ercolessi
@ 1998-07-22 1:07 ` Keith Morse
1998-07-22 7:56 ` Jay.Estabrook
0 siblings, 1 reply; 7+ messages in thread
From: Keith Morse @ 1998-07-22 1:07 UTC (permalink / raw)
To: axp-list
Last week a customer brought in a Alpha clone in my store for the purpose
of reconfiguring OS's and software to his liking. I was a bit hesitant
because I've no experience with the Alpha platform. But ( and a big one
at that) I've done quite a bit of work with Micro$oft packages and quite a
bit work work with Linux on Intel Platforms. I currently run four Linux
boxes.
With trepidation in my heart I dove in. Repartitioned, reinstalled NT4.O
as that was recommeded by the MILO howto. Pleasantly surprised by the
fact that this probably was the smoothest NT4.0 install I've ever done.
No need to reinstall four times in succession :^) Then on to Linux.
Man, was partitioning a pain. Disk Druid (Redhat 5.0 CD install) would
not let me add a third primary partition. Got so frustrated, that I had
to use fdisk just to get the job done. After much wailing and gnashing of
teeth, Linux went on and even respected my partitioning requirements.
I would have been happy with the stock kernel, expect parallel port
support was not compiled in. Sigh. So I took compiling a kernel for this
beastie. Read the docs. "mrproper, make xconfig, make dep; make clean"
seems normal enough. Ahhh, need to "make boot" rather than "make zImage".
Copied the kernel to the root of the disk.
Okay, no problem. Did a "make modules; make modules_install" seemed to go
well enough. A few minor errors, hopefully not big enough to stop the
process.
Reconfigured "NT ARC" (is this the right name for the Intel BIOS
equivalent?) to let me boot the new kernel. Reboot. The system sees the
kernel in the root partition. It loads the kernel into memory, it unzips
the kernel, but right after it does the system hangs or at least seems to.
I've let it set there for 15 minute or more with no change in status.
Hmmm, reboot using the original kernel. System comes up but, again without
parallel support. Sigh.
Since then, I rebuilt the kernel numerous times with different devices
enabled/disabled. I went to ftp.kernel.org and downloaded pristine
sources and the alpha patch from gatekeeper.dec.com. Did a "rm -Rf
/usr/src/linux" prior to installing the source and patch. reconfigured
the kernel, and tried to boot on the new kernel. Same effect. The kernel
gets loaded but hangs after the unzip process.
Some specs on the system:
Built by ENROREX URL:www.enorex.com
System board: PC164
Memory: 128Mb
HD: Maxtor 4.8Gb Model 85120A8
CDrom: Generic IDE interace, Manfacturer unknown
CPU: 433Mhz, not sure about this
NIC: Ne2000 clone, used supplied by me.
SCSI: None
Linux: Redhat 5.0
Hopefully, someone will be able to point me the right direction for the
kernel hanging issue. Beyond that I've some questions too:
1. Is milo designed to mate to a particular range of kernel versions
or is it strictly based on what hardware architecture?
2. Is NT ARC the same as SRM. I gathered from the howto and Redhat's
install book that it is different from Alpha Bios
3. I'm staying with the 2.0.30 kernal that came with the RedHat CD.
Should I be using a newer one?
For not having seen or used this hardware, I'm surprised I got it going
as quick as I did. But minor miracle do happen.
I subscribed to the list last thursday when the customer brought the
system in. I must say, the chaf level here is significantly lower than
the intel based RedHat mail lists. Very technical.
Keith
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Kernel compile issue with respect to PC164
1998-07-22 1:07 ` Kernel compile issue with respect to PC164 Keith Morse
@ 1998-07-22 7:56 ` Jay.Estabrook
1998-07-23 7:12 ` Henrik Ahlgren
0 siblings, 1 reply; 7+ messages in thread
From: Jay.Estabrook @ 1998-07-22 7:56 UTC (permalink / raw)
To: axp-list
>>> Keith Morse said:
>
> Man, was partitioning a pain. Disk Druid (Redhat 5.0 CD install) would
> not let me add a third primary partition. Got so frustrated, that I had
> to use fdisk just to get the job done. After much wailing and gnashing of
> teeth, Linux went on and even respected my partitioning requirements.
This is feedback that should be sent to Red Hat.
> I would have been happy with the stock kernel, expect parallel port
> support was not compiled in. Sigh. So I took compiling a kernel for this
> beastie. Read the docs. "mrproper, make xconfig, make dep; make clean"
> seems normal enough. Ahhh, need to "make boot" rather than "make zImage".
> Copied the kernel to the root of the disk.
Ah, do NOT use "make menuconfig" or "make xconfig", they are not reliable
at this time on the Alphas; use the trusty old "make config"...
> Okay, no problem. Did a "make modules; make modules_install" seemed to go
> well enough. A few minor errors, hopefully not big enough to stop the
> process.
Modules should work fine.
> Reconfigured "NT ARC" (is this the right name for the Intel BIOS
> equivalent?) to let me boot the new kernel.
It's really better, for testing purposes, to have a Boot Option that only
starts MILO, then you can tell *it* to boot whichever kernel you want. This
is in addition to a full LINUX boot into the kernel. However, some ARC
consoles are limited WRT the number of Boot Options that one can define, and
since you want LINUX and NT, you may have used up the two that are allowed.
> Reboot. The system sees the
> kernel in the root partition. It loads the kernel into memory, it unzips
> the kernel, but right after it does the system hangs or at least seems to.
> I've let it set there for 15 minute or more with no change in status.
This is not untypical behavior for a kernel built under "make menuconfig",
unfortunately.
> Since then, I rebuilt the kernel numerous times with different devices
> enabled/disabled. I went to ftp.kernel.org and downloaded pristine
> sources and the alpha patch from gatekeeper.dec.com. Did a "rm -Rf
> /usr/src/linux" prior to installing the source and patch. reconfigured
> the kernel, and tried to boot on the new kernel. Same effect. The kernel
> gets loaded but hangs after the unzip process.
An observation:
it is NOT a good idea to replace the /usr/src/linux tree; that has been
specifically tested by Red Hat to ensure building of apps works; a patched
kernel tree, from any other source, may cause problems. I recommend the use
of /usr/local/src as a place to build kernels from other source trees.
> 1. Is milo designed to mate to a particular range of kernel versions
> or is it strictly based on what hardware architecture?
The latest MILOs should boot 2.0.xx and 2.1.xx kernels correctly, if those
are built under RH 4.2 or 5.x with the standard compilation subsystem and
binutils. It is NOT necessary to match MILO version with kernel version,
except when building the MILO.
Look for the latest MILO for PC164 at:
gatekeeper.dec.com:/pub/DEC/Linux-Alpha/Kernels/Test-Milos-2.0.30+/pc164
> 2. Is NT ARC the same as SRM. I gathered from the howto and Redhat's
> install book that it is different from Alpha Bios
No, it is NOT the same as SRM. It is quite similar to AlphaBIOS, which newer
platforms use instead of ARC. You must boot the correct kernel for the console
that you are running under.
> 3. I'm staying with the 2.0.30 kernal that came with the RedHat CD.
> Should I be using a newer one?
The alpha-sources-2.0.34-0.1.tar.gz that you'll find under the Kernels/
directory (as above) is pretty much the latest stable kernel sources for
Alpha. There are reports that one can patch 2.0.35 with the alpha-patches
for 2.0.34, but there are also reports that some of the drivers enhanced
in 2.0.35 are not (enhanced) on the Alpha, but are problematic.
Good luck.
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Motherboards - LINUX Project
Digital Equipment Corp. (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Kernel compile issue with respect to PC164
1998-07-22 7:56 ` Jay.Estabrook
@ 1998-07-23 7:12 ` Henrik Ahlgren
0 siblings, 0 replies; 7+ messages in thread
From: Henrik Ahlgren @ 1998-07-23 7:12 UTC (permalink / raw)
To: axp-list; +Cc: suggest
On Wed, 22 Jul 1998 Jay.Estabrook@digital.com wrote:
> Ah, do NOT use "make menuconfig" or "make xconfig", they are not reliable
> at this time on the Alphas; use the trusty old "make config"...
Amen to that.
To save heaps of trouble (and bandwidth on axp-list) it would pay to
apply something like the following patch to the next 2.0 release (in
case there will be one). Or at least put a big fat warning with bee
stripes to the README file. Alpha users who are not following axp-list
(or newsgroups) have no way of knowing x/menuconfig are broken.
People please, this ain't rocket science, even a non-kernel-hacker
like me can do this. This is a very bad issue, since at least
with "make xconfig" you can build kernels that *seems* to work for
a while--and then crash dreadfully. To make it worse, at least
with 2.0.30 I used xconfig with no problems so of course I assumed
it would work with .34 too... (I thought only menuconfig was broken
since it was so obvious, screen got messed up etc.)
--- Makefile Mon Jul 13 23:47:26 1998
+++ Makefile.pablo Thu Jul 23 09:47:38 1998
@@ -190,10 +190,18 @@
$(CONFIG_SHELL) scripts/Configure -d arch/$(ARCH)/config.in
xconfig: symlinks
+ @if [ $(ARCH) = "alpha" ]; then \
+ echo "xconfig not supported on the $(ARCH) platform."; \
+ echo "Please use 'make config'."; exit 1; \
+ fi
$(MAKE) -C scripts kconfig.tk
wish -f scripts/kconfig.tk
menuconfig: include/linux/version.h symlinks
+ @if [ $(ARCH) = "alpha" ]; then \
+ echo "menuconfig not supported on the $(ARCH) platform."; \
+ echo "Please use 'make config'."; exit 1; \
+ fi
$(MAKE) -C scripts/lxdialog all
$(CONFIG_SHELL) scripts/Menuconfig arch/$(ARCH)/config.in
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1998-07-23 7:12 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-22 1:11 Kernel compile issue with respect to PC164 Greg Lindahl
1998-07-22 3:12 ` Keith Morse
1998-07-22 5:02 ` kernel 2.1.110 VMALLOC_END compile failure s.c. trusty
1998-07-22 5:46 ` Peter Rye
-- strict thread matches above, loose matches on Subject: below --
1998-07-17 17:37 Help for a newbie - please furio ercolessi
1998-07-22 1:07 ` Kernel compile issue with respect to PC164 Keith Morse
1998-07-22 7:56 ` Jay.Estabrook
1998-07-23 7:12 ` Henrik Ahlgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox