Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: LX164 Alpha 533Mhz
       [not found] <Pine.LNX.3.96.980129131130.23800A-100000@bartlet.df.lth.se>
@ 1998-01-29  5:04 ` Jay.Estabrook
  1998-01-29 15:18   ` Patching the Kernel (Was: Re: LX164 Alpha 533Mhz) Dan Weeks
  0 siblings, 1 reply; 12+ messages in thread
From: Jay.Estabrook @ 1998-01-29  5:04 UTC (permalink / raw)


>>> Johan Almqvist said:
> 
> Applying the patch can be somewhat tricky, though: I need to have dirs
> (symlinks) called /usr/src/new/ and /usr/src/old/ and /usr/src/linux/
> all pointing at /usr/src/linux-2.0.33/ for it to apply correctly. This
> seems weird, but the kernel's a rock. Even my tulip worked with the stock
> driver.

As has been mentioned before on axp-list (do I hear an echo? :-), it is NOT
recommended that building of a custom kernel based on alpha-patches take
place in /usr/src/linux, as the patched headers will replace the "tuned" Red
Hat headers for application builds, and may cause headaches and shortness of
breath... ;-}

Patching should follow the following sequence for correct operation:

    cd /usr/local/src
    tar xzf /somewhere/linux-2.0.32.tar.gz
    mv linux linux-2.0.32
    cd linux-2.0.32
    zcat /somewhere/alpha-patches-2.0.32-0.1.gz | patch -p1 -E >& ../01.log
    rm -f `find . -name '*.orig' -print`

YMMV if you use the 2.0.32 patches on top of 2.0.33, as there are reports of
strange clock behavior on some platforms (SX at least).

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (978) 506-4202 or (DTN) 226-4202
151 Taylor Street - TAY1-2              enet: Jay.Estabrook@digital.com
Littleton, MA 01460-1407
-------------------------------------------------------------------------------

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: LX164 Alpha 533Mhz
@ 1998-01-29  9:54 David Alan Gilbert
  0 siblings, 0 replies; 12+ messages in thread
From: David Alan Gilbert @ 1998-01-29  9:54 UTC (permalink / raw)


Tommy Cheung wrote:
> 
> Finally installed RedHat 5.0 on my LX164, the installation seems to be
> a bit broken (No modules support built-in? Because of different
> architecture btw Alpha systems I guess). Installtion of Intel
> Etherexpress 16 didn't work (Can't find /bin/insmod ?!).

Welcome to the world of Linux/Alpha!

> 1) some traps.... unalighment....etc etc.

Don't worry about those - they aren't errors.
(Heck - can someone remove these from the kernel unless some type
of debug is switched on? about 30% of the list traffic is about these!)

> 2) gated trapped (Is it because I dont have a network card drivers
> installed?)

Dunno.

> 3) 2.1.82 complies giving HUGE amount of errors (uninit. varible etc
> etc, for a    start.)
> 4) Does not have sndconfig like Linux/I386?

If you want a 2.1.x kernel which works then I find 2.1.63 is pretty good;
I think 2.1.79 built (or was it 2.1.76...) - but some of the latest 2.1.8x
have had troubles.
You always seem to get lots of warnings about __r16 might be used unitialised;
never seems to cause problems.

> 5) XFree86 doesn't have a VGA server for Linux/Alpha?

Yes they do! I'm running XFree86 with Matrox Millenium 2.

> 6) 2.0.30 is able to complie, but some of the include files seems to be
> producing    error (E.g. BusLogic SCSI drivers).

Move on - 2.0.30 is old.

Dave

-- 
----------------------------------------------------------------------
- Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
- Work:    dg @ cogency.co.uk        -    0161-428-9444              -
- Home:    gro.gilbert @ treblig.org -                               -
----------------------------------------------------------------------

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: LX164 Alpha 533Mhz
       [not found] <34D03B4E.25B0C1B5@technologist.com>
@ 1998-01-29 10:09 ` Armin Ollig
  0 siblings, 0 replies; 12+ messages in thread
From: Armin Ollig @ 1998-01-29 10:09 UTC (permalink / raw)


tommy, 

very quick answer:

- Compile your soundcard as a module, configure it with isapnp
  (man pnpdump, isapnp),
  then load the module, viola (you will *need* isapnmp cause the
  alpha-bios has no such thing as 'pluck and brai')

- XFree86 has a SVGA server that *does* run on (at least my) alpha (maybe
  RH did not install it ?? (look at the RH ftp site in the RPMS dir) )

- Your linux will never ever run the Intel Eexpress without problems,
  if you need a cheap card, buy a NE2000 clone, Eexpress is for use with
  MSwindows-products only.

- i run 2.0.33 without problems.

regards,
--armin
 ---------------------------------------------------------------------
|        Name: armin ollig         Email: armin@data.tops.net         |
|                                                                     |
| We don't care.  We don't have to.  We're the Systems Administration |
 ---------------------------------------------------------------------

On Thu, 29 Jan 1998, Tommy Cheung wrote:

> Finally installed RedHat 5.0 on my LX164, the installation seems to be
> a bit broken (No modules support built-in? Because of different
> architecture btw Alpha systems I guess). Installtion of Intel
> Etherexpress 16 didn't work (Can't find /bin/insmod ?!).
> 
> 	Partitioning with Disk Druid is a bit of a problem too, eventually we
> solved the problem with a combination of Disk Druid and Fdisk, I guess
> DD didn't like NT being installed first. By the way, not a good idea
> too, it screwed my NT OSLOADER.EXE....
> 
> 	After successfully installed RH 5.0, I get:
> 
> 1) some traps.... unalighment....etc etc.
> 2) gated trapped (Is it because I dont have a network card drivers
> installed?)
> 3) 2.1.82 complies giving HUGE amount of errors (uninit. varible etc
> etc, for a    start.)
> 4) Does not have sndconfig like Linux/I386?
> 5) XFree86 doesn't have a VGA server for Linux/Alpha?
> 6) 2.0.30 is able to complie, but some of the include files seems to be
> producing    error (E.g. BusLogic SCSI drivers).
> 
> 	I am open to advise on which Kernel is most stable for the system
> mentioned. Thanks in advance. Power to the people. A mini-HOW-TO will be
> written for this specific configuration after we can set it up in a
> reliable manner.
> 
> System Status as fellows:
> 
> LX164 Windows NT Motherboard 		(Digital)
> AlphaBios 5.60
> 533Mhz RISC Alpha processor 21164 EV56 	(Samsung)
> FireGL Pro 1000 8MB SDRAM		(Diamond)
> EtherExpress 16 			(INTEL)
> 64MB*2 72*8MB Parity ECC SDRAM		(Hynundai)
> SB AWE 32 2MB				(Creative Labs)
> Quantium ATLAS Ultra-Wide 4.5GB
> SCSI-2 12X CDROM			(SONY)
> 
> 
> Tommy
> T&S Computer Consultants
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: LX164 Alpha 533Mhz
@ 1998-01-29 10:41 Tommy Cheung
  0 siblings, 0 replies; 12+ messages in thread
From: Tommy Cheung @ 1998-01-29 10:41 UTC (permalink / raw)


David Alan Gilbert wrote:
> 
> Tommy Cheung wrote:
> >
> > Finally installed RedHat 5.0 on my LX164, the installation seems to be
> > a bit broken (No modules support built-in? Because of different
> > architecture btw Alpha systems I guess). Installtion of Intel
> > Etherexpress 16 didn't work (Can't find /bin/insmod ?!).
> 
> Welcome to the world of Linux/Alpha!

	Thank you thank you, let's hope that end of the day we will come out
with a RH 5.0 Install-Mini-How-to, until they have RH 5.1.

> 
> > 1) some traps.... unalighment....etc etc.
> 
> Don't worry about those - they aren't errors.
> (Heck - can someone remove these from the kernel unless some type
> of debug is switched on? about 30% of the list traffic is about these!)

	Well I notice that, I think I read it somewhere before, but some of the
traps are from other things (e.g. gated, ah I download the latest RPM).

> 
> > 2) gated trapped (Is it because I dont have a network card drivers
> > installed?)
> 
> Dunno.

	Will install the latest and have a go with it.

> 
> > 3) 2.1.82 complies giving HUGE amount of errors (uninit. varible etc
> > etc, for a    start.)
> > 4) Does not have sndconfig like Linux/I386?
> 
> If you want a 2.1.x kernel which works then I find 2.1.63 is pretty good;
> I think 2.1.79 built (or was it 2.1.76...) - but some of the latest 2.1.8x
> have had troubles.
> You always seem to get lots of warnings about __r16 might be used unitialised;
> never seems to cause problems.

	So I just complie the thing? :-). Good way to have a unstable kernel!

> 
> > 5) XFree86 doesn't have a VGA server for Linux/Alpha?
> 
> Yes they do! I'm running XFree86 with Matrox Millenium 2.

	Ah, I mean standard VGA, since my FireGL is Premedia 2 based.

> 
> > 6) 2.0.30 is able to complie, but some of the include files seems to be
> > producing    error (E.g. BusLogic SCSI drivers).
> 
> Move on - 2.0.30 is old.

	Yes, just downloaded 2.0.33, as well as HUGE amount of latest RPM
upgrades for few major things in Linux/Alpha,Thanks!

Tommy
T&S Computer Consultants

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: LX164 Alpha 533Mhz
@ 1998-01-29 10:44 Tommy Cheung
  0 siblings, 0 replies; 12+ messages in thread
From: Tommy Cheung @ 1998-01-29 10:44 UTC (permalink / raw)


Armin Ollig wrote:
> 
> tommy,
> 
> very quick answer:
> 
> - Compile your soundcard as a module, configure it with isapnp
>   (man pnpdump, isapnp),
>   then load the module, viola (you will *need* isapnmp cause the
>   alpha-bios has no such thing as 'pluck and brai')

	Oh you mean "Plug and Pray" or "Plug and Prey", choose one :-).
Should be the same as Linux/INTEL I think. I will give it a go, thanks.

> 
> - XFree86 has a SVGA server that *does* run on (at least my) alpha (maybe
>   RH did not install it ?? (look at the RH ftp site in the RPMS dir) )

	That one, hmmm...I will try and see if my screen can show anything at
all.

> 
> - Your linux will never ever run the Intel Eexpress without problems,
>   if you need a cheap card, buy a NE2000 clone, Eexpress is for use with
>   MSwindows-products only.

	Ok, sounds "Good" good me, just swap around , I have a one ISA and one
PCI NE2000 clone. Later we will purchase the Digital chip enabled
network cards, which have good bus mastering and other features.

> 
> - i run 2.0.33 without problems.

	Yes thank you very much! 

Tommy
T&S Computer Consultants

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: LX164 Alpha 533Mhz
@ 1998-01-29 10:46 David Alan Gilbert
  0 siblings, 0 replies; 12+ messages in thread
From: David Alan Gilbert @ 1998-01-29 10:46 UTC (permalink / raw)


Tommy Cheung wrote:
> 
> David Alan Gilbert wrote:
>
> > If you want a 2.1.x kernel which works then I find 2.1.63 is pretty good;
> > I think 2.1.79 built (or was it 2.1.76...) - but some of the latest 2.1.8x
> > have had troubles.
> > You always seem to get lots of warnings about __r16 might be used unitialised;
> > never seems to cause problems.
> 
>         So I just complie the thing? :-). Good way to have a unstable kernel!

For an LX it should just compile; its pretty stable; 2.1.63 is rock solid in
general
use but I have the following problems (which are repeatable):
  1) tcpdump causes a reboot when you kill it (I think its a 2.1.63 ism)
  2) I have problems accessing my Zip disc off my Adaptec card (I think
     its actually reacting badly to a duff sector).
  3) Things go horribly wrong after quitting xquake; this is apparently a known
     bug in the sound driver.

Oh yes - it has a debug message in about 'dcache entries' - ignore them.

Dave

-- 
----------------------------------------------------------------------
- Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
- Work:    dg @ cogency.co.uk        -    0161-428-9444              -
- Home:    gro.gilbert @ treblig.org -                               -
----------------------------------------------------------------------

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: LX164 Alpha 533Mhz
@ 1998-01-29 11:48 Tommy Cheung
  0 siblings, 0 replies; 12+ messages in thread
From: Tommy Cheung @ 1998-01-29 11:48 UTC (permalink / raw)


Well, pardon me, but I visited ftp.kernel.org, the 2.1.82 is for Alpha,
but the 2.0.33 only FOR INTEL (Eeeks). Any idea where I can grab 2.0.33
for multi architecture?

Tommy
T&S Computer Consultants

David Alan Gilbert wrote:
> 
> Tommy Cheung wrote:
> >
> > David Alan Gilbert wrote:
> >
> > > If you want a 2.1.x kernel which works then I find 2.1.63 is pretty good;
> > > I think 2.1.79 built (or was it 2.1.76...) - but some of the latest 2.1.8x
> > > have had troubles.
> > > You always seem to get lots of warnings about __r16 might be used unitialised;
> > > never seems to cause problems.
> >
> >         So I just complie the thing? :-). Good way to have a unstable kernel!
> 
> For an LX it should just compile; its pretty stable; 2.1.63 is rock solid in
> general
> use but I have the following problems (which are repeatable):
>   1) tcpdump causes a reboot when you kill it (I think its a 2.1.63 ism)
>   2) I have problems accessing my Zip disc off my Adaptec card (I think
>      its actually reacting badly to a duff sector).
>   3) Things go horribly wrong after quitting xquake; this is apparently a known
>      bug in the sound driver.
> 
> Oh yes - it has a debug message in about 'dcache entries' - ignore them.
> 
> Dave
> 
> --
> ----------------------------------------------------------------------
> - Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
> - Work:    dg @ cogency.co.uk        -    0161-428-9444              -
> - Home:    gro.gilbert @ treblig.org -                               -
> ----------------------------------------------------------------------
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: LX164 Alpha 533Mhz
       [not found] <34D06C96.74FECA53@technologist.com>
@ 1998-01-29 12:16 ` Johan Almqvist
  1998-01-29 14:33 ` Joakim Roubert
  1 sibling, 0 replies; 12+ messages in thread
From: Johan Almqvist @ 1998-01-29 12:16 UTC (permalink / raw)


On Thu, 29 Jan 1998, Tommy Cheung wrote:

> Well, pardon me, but I visited ftp.kernel.org, the 2.1.82 is for Alpha,
> but the 2.0.33 only FOR INTEL (Eeeks). Any idea where I can grab 2.0.33
> for multi architecture?

ftp.kernel.org will do fine. Grab that i386 stuff and apply the
alpha-patches for 2.0.32 (sic!) and watch the ARCH=i386 become ARCH=alpha!

Applying the patch can be somewhat tricky, though: I need to have dirs
(symlinks) called /usr/src/new/ and /usr/src/old/ and /usr/src/linux/
all pointing at /usr/src/linux-2.0.33/ for it to apply correctly. This
seems weird, but the kernel's a rock. Even my tulip worked with the stock
driver.

alpha-patches are on ftp.digital.com (a.k.a. gatekeeper.digital.com) --
dir has been posted a zillion times here.

-Johan

--
Johan Almqvist                          ja@df.lth.se
Lundastudent                            046-33 54 72
Matte & Data                            070-697 699 8

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: LX164 Alpha 533Mhz
@ 1998-01-29 12:27 Tommy Cheung
  0 siblings, 0 replies; 12+ messages in thread
From: Tommy Cheung @ 1998-01-29 12:27 UTC (permalink / raw)


Ah, if EVERYTHING works great after all this, I think a decent HOW-TO
is required....:-).

Tommy

Johan Almqvist wrote:
> 
> On Thu, 29 Jan 1998, Tommy Cheung wrote:
> 
> > Well, pardon me, but I visited ftp.kernel.org, the 2.1.82 is for Alpha,
> > but the 2.0.33 only FOR INTEL (Eeeks). Any idea where I can grab 2.0.33
> > for multi architecture?
> 
> ftp.kernel.org will do fine. Grab that i386 stuff and apply the
> alpha-patches for 2.0.32 (sic!) and watch the ARCH=i386 become ARCH=alpha!
> 
> Applying the patch can be somewhat tricky, though: I need to have dirs
> (symlinks) called /usr/src/new/ and /usr/src/old/ and /usr/src/linux/
> all pointing at /usr/src/linux-2.0.33/ for it to apply correctly. This
> seems weird, but the kernel's a rock. Even my tulip worked with the stock
> driver.
> 
> alpha-patches are on ftp.digital.com (a.k.a. gatekeeper.digital.com) --
> dir has been posted a zillion times here.
> 
> -Johan
> --
> Johan Almqvist                          ja@df.lth.se
> Lundastudent                            046-33 54 72
> Matte & Data                            070-697 699 8
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: LX164 Alpha 533Mhz
       [not found] <34D06C96.74FECA53@technologist.com>
  1998-01-29 12:16 ` Johan Almqvist
@ 1998-01-29 14:33 ` Joakim Roubert
  1 sibling, 0 replies; 12+ messages in thread
From: Joakim Roubert @ 1998-01-29 14:33 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

On Thu, 29 Jan 1998, Tommy Cheung wrote:

> but the 2.0.33 only FOR INTEL (Eeeks).

I got it working for my alpha without problems... But it is known for
crashing filesystems, so I run 2.0.32.

> Any idea where I can grab 2.0.33 for multi architecture? 

Get the normal 2.0.33-source and patch it with alpha-patch-2.0.32-0.1.gz

/Jokke tmw.

---
 * Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)
           Jag använder ett 64-bitars operativsystem. Gör du? :nigirO *

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: LX164 Alpha 533Mhz
@ 1998-01-29 15:18 Tommy Cheung
  0 siblings, 0 replies; 12+ messages in thread
From: Tommy Cheung @ 1998-01-29 15:18 UTC (permalink / raw)


Ah Jay, it's too late, but it worked! Thanks Johan. Still the ONLY last
thing I encountered is TGA instead of VGA (Even when I switch TGA off).
Also, those unalightment trap is "Annoying". I know it's mentioned
billion times before, what can you do about it? I will try get the
2.0.32 source and patch it the PROPER way, Jay. 

	Well, I propose a HOW-TO for LX164 Installtion after this, how does
that sound like? :-). 

Tommy

Jay.Estabrook@digital.com wrote:
> 
> >>> Johan Almqvist said:
> >
> > Applying the patch can be somewhat tricky, though: I need to have dirs
> > (symlinks) called /usr/src/new/ and /usr/src/old/ and /usr/src/linux/
> > all pointing at /usr/src/linux-2.0.33/ for it to apply correctly. This
> > seems weird, but the kernel's a rock. Even my tulip worked with the stock
> > driver.
> 
> As has been mentioned before on axp-list (do I hear an echo? :-), it is NOT
> recommended that building of a custom kernel based on alpha-patches take
> place in /usr/src/linux, as the patched headers will replace the "tuned" Red
> Hat headers for application builds, and may cause headaches and shortness of
> breath... ;-}
> 
> Patching should follow the following sequence for correct operation:
> 
>     cd /usr/local/src
>     tar xzf /somewhere/linux-2.0.32.tar.gz
>     mv linux linux-2.0.32
>     cd linux-2.0.32
>     zcat /somewhere/alpha-patches-2.0.32-0.1.gz | patch -p1 -E >& ../01.log
>     rm -f `find . -name '*.orig' -print`
> 
> YMMV if you use the 2.0.32 patches on top of 2.0.33, as there are reports of
> strange clock behavior on some platforms (SX at least).
> 
> --Jay++
> 
> -------------------------------------------------------------------------------
>   American Non Sequitur Society: we don't make sense, but we do like pizza...
> 
> Jay A Estabrook                         Alpha Migration Tools - LINUX Project
> Digital Equipment Corp.                 (978) 506-4202 or (DTN) 226-4202
> 151 Taylor Street - TAY1-2              enet: Jay.Estabrook@digital.com
> Littleton, MA 01460-1407
> -------------------------------------------------------------------------------
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Patching the Kernel (Was: Re: LX164 Alpha 533Mhz)
  1998-01-29  5:04 ` LX164 Alpha 533Mhz Jay.Estabrook
@ 1998-01-29 15:18   ` Dan Weeks
  0 siblings, 0 replies; 12+ messages in thread
From: Dan Weeks @ 1998-01-29 15:18 UTC (permalink / raw)


Jay.Estabrook@digital.com writes:
 > 
 > >>> Johan Almqvist said:
 > > 
 > > Applying the patch can be somewhat tricky, though: I need to have dirs
 > > (symlinks) called /usr/src/new/ and /usr/src/old/ and /usr/src/linux/
 > > all pointing at /usr/src/linux-2.0.33/ for it to apply correctly. This
 > > seems weird, but the kernel's a rock. Even my tulip worked with the stock
 > > driver.
 > 
 > As has been mentioned before on axp-list (do I hear an echo? :-), it is NOT
 > recommended that building of a custom kernel based on alpha-patches take
 > place in /usr/src/linux, as the patched headers will replace the "tuned" Red
 > Hat headers for application builds, and may cause headaches and shortness of
 > breath... ;-}

So, if when compiling the kernel we get the -D__KERNEL__ flag why can't
the headers be set up to have one set of values for kernel compiles
and another set for regular compiles like so:

example------------------------------------------

/* blah.h
 * blah blah, blah blah blah blah
 * blah blort blat blah
 */

#ifdef __KERNEL__
/* place kernel modified header stuff here */
#else
/* place stuff for normal compiles here */
#endif

end-----------------------------------------------

or will this break.  I am guessing (and most likley making a fool of
myself) that this will work and if it does it would mean that you
could build the kernel and other apps with the same include files and
not have to worry if one set or the other is out of date or not.

-danimal

-- 
Dan Weeks <danimal@blueskystudios.com>
Blue Sky|VIFX http://www.blueskystudios.com/ http://www.vifx.com/
Harrison, New York 914/381.8400 - Los Angeles, California 310/822.8872
Linux: The Choice of a GNU Generation

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

end of thread, other threads:[~1998-01-29 15:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.96.980129131130.23800A-100000@bartlet.df.lth.se>
1998-01-29  5:04 ` LX164 Alpha 533Mhz Jay.Estabrook
1998-01-29 15:18   ` Patching the Kernel (Was: Re: LX164 Alpha 533Mhz) Dan Weeks
1998-01-29  9:54 LX164 Alpha 533Mhz David Alan Gilbert
     [not found] <34D03B4E.25B0C1B5@technologist.com>
1998-01-29 10:09 ` Armin Ollig
  -- strict thread matches above, loose matches on Subject: below --
1998-01-29 10:41 Tommy Cheung
1998-01-29 10:44 Tommy Cheung
1998-01-29 10:46 David Alan Gilbert
1998-01-29 11:48 Tommy Cheung
     [not found] <34D06C96.74FECA53@technologist.com>
1998-01-29 12:16 ` Johan Almqvist
1998-01-29 14:33 ` Joakim Roubert
1998-01-29 12:27 Tommy Cheung
1998-01-29 15:18 Tommy Cheung

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