* Patches for 2.2.12?
@ 1999-10-09 2:08 Dave Wreski
1999-10-09 4:36 ` Dave Wreski
0 siblings, 1 reply; 7+ messages in thread
From: Dave Wreski @ 1999-10-09 2:08 UTC (permalink / raw)
To: axp-list
Hi all. I'm having several problems compiling 2.2.12 on my XLT300, and
wondered if there were any specific patches that were required for it?
Here's the current message:
gcc -D__KERNEL__ -I/usr/src/linux-2.2.12/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8
-c -o scsi.o scsi.c
scsi.c: In function `scan_scsis_single':
scsi.c:799: `TYPE_ENCLOSURE' undeclared (first use in this function)
scsi.c:799: (Each undeclared identifier is reported only once
scsi.c:799: for each function it appears in.)
Dave
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Patches for 2.2.12?
@ 1999-10-09 3:17 Daniel J. Frasnelli
0 siblings, 0 replies; 7+ messages in thread
From: Daniel J. Frasnelli @ 1999-10-09 3:17 UTC (permalink / raw)
To: axp-list
> Hi all. I'm having several problems compiling 2.2.12 on my XLT300, and
> wondered if there were any specific patches that were required for it?
None that I know of. I have had luck with Alan's 2.2.13pre[14-15] on my
systems recently.
In general, you can find Alpha-specific patches at
ftp://ftp.twiddle.net/pub/rth/ or ftp://ftp.alphalinux.org/patches/dfrasnel/
before they are rolled into official kernel releases. The second one
is mine, and has not really been touched since July; sorry, daytime job
cut into my hacking time ;) Rich Henderson's (rth) archive seems to be
down at the moment as well.
I would grab the 2.2.13pre15 patch, apply it to fresh 2.2.12 sources
and go from there. If you see the same problem, let me know and I'll
dig into it further.
> Here's the current message:
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.2.12/include -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8
> -c -o scsi.o scsi.c
> scsi.c: In function `scan_scsis_single':
> scsi.c:799: `TYPE_ENCLOSURE' undeclared (first use in this function)
> scsi.c:799: (Each undeclared identifier is reported only once
> scsi.c:799: for each function it appears in.)
That's unusual.. make sure TYPE_ENCLOSURE is defined in
include/scsi/scsi.h:
136:#define TYPE_ENCLOSURE 0x0d
--
Dan Frasnelli
Security analyst
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Patches for 2.2.12?
1999-10-09 2:08 Dave Wreski
@ 1999-10-09 4:36 ` Dave Wreski
1999-10-09 4:52 ` Daniel J. Frasnelli
1999-10-09 15:48 ` Michal Jaegermann
0 siblings, 2 replies; 7+ messages in thread
From: Dave Wreski @ 1999-10-09 4:36 UTC (permalink / raw)
To: axp-list
I accidentally deleted the response to this email, but I downloaded,
applied, and compiled the pre15 patch, and am now receiving different
compile errors:
make[2]: Entering directory
`/usr/src/linux-2.2.13pre15/arch/alpha/math-emu'
gcc -D__KERNEL__ -I/usr/src/linux-2.2.13pre15/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mno-fp-regs -ffixed-8 -c -o fp-emul.o fp-emul.c
fp-emul.c: In function `udiv128':
fp-emul.c:118: warning: left shift count is negative
fp-emul.c:123: warning: left shift count is negative
fp-emul.c:129: warning: left shift count is negative
fp-emul.c:133: warning: left shift count is negative
fp-emul.c:134: warning: left shift count is negative
This continued on for several other functions, until it successfully
produced a vmlinux file. Also, it did stop completely with a segfault at
one point, which I then just ran 'make' again, and it completed. Could I
possibly have a memory problem? I do have the latest AlphaBIOS installed.
Should I be concerned about these warnings?
Thanks,
Dave
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Patches for 2.2.12?
1999-10-09 4:36 ` Dave Wreski
@ 1999-10-09 4:52 ` Daniel J. Frasnelli
1999-10-09 23:42 ` Dave Wreski
1999-10-09 15:48 ` Michal Jaegermann
1 sibling, 1 reply; 7+ messages in thread
From: Daniel J. Frasnelli @ 1999-10-09 4:52 UTC (permalink / raw)
To: axp-list
> I accidentally deleted the response to this email, but I downloaded,
> applied, and compiled the pre15 patch, and am now receiving different
> compile errors:
> make[2]: Entering directory
> `/usr/src/linux-2.2.13pre15/arch/alpha/math-emu'
> gcc -D__KERNEL__ -I/usr/src/linux-2.2.13pre15/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
> -mno-fp-regs -ffixed-8 -c -o fp-emul.o fp-emul.c
> fp-emul.c: In function `udiv128':
> fp-emul.c:118: warning: left shift count is negative
> fp-emul.c:123: warning: left shift count is negative
> fp-emul.c:129: warning: left shift count is negative
> fp-emul.c:133: warning: left shift count is negative
> fp-emul.c:134: warning: left shift count is negative
You are not seeing compile errors; as stated, these are warnings
spit out by the compiler or assembler. If this were a perfect world
(which it is not) and Linux were perfect software (which it is not),
warnings might be something to cause alarm.
> This continued on for several other functions, until it successfully
> produced a vmlinux file. Also, it did stop completely with a segfault at
> one point, which I then just ran 'make' again, and it completed. Could I
> possibly have a memory problem? I do have the latest AlphaBIOS installed.
Probably not a memory problem. Which kernel is currently loaded when
you are compiling 2.2.13pre? A few releases back, vfork(?) had
some issues which caused things like gmake to segfault readily.
Think David Miller patched that up.
> Should I be concerned about these warnings?
Other than being annoying, the warnings should cause no concern.
Unless of course you compile with -Werror and you see them....
--
Dan Frasnelli
Security analyst
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Patches for 2.2.12?
1999-10-09 4:36 ` Dave Wreski
1999-10-09 4:52 ` Daniel J. Frasnelli
@ 1999-10-09 15:48 ` Michal Jaegermann
1999-10-09 17:40 ` Barrett G. Lyon
1 sibling, 1 reply; 7+ messages in thread
From: Michal Jaegermann @ 1999-10-09 15:48 UTC (permalink / raw)
To: axp-list
Dave Wreski wrote:
>
> ... and am now receiving different
> compile errors:
>
> make[2]: Entering directory
> `/usr/src/linux-2.2.13pre15/arch/alpha/math-emu'
> gcc -D__KERNEL__ -I/usr/src/linux-2.2.13pre15/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
> -mno-fp-regs -ffixed-8 -c -o fp-emul.o fp-emul.c
> fp-emul.c: In function `udiv128':
> fp-emul.c:118: warning: left shift count is negative
.......
It says here "warning:" and not "error:"!
As explained on this list a long time ago by Richard Henderson
these warnings are coming from an unused part of an expanded macro
with compiler not noticing that it has nothing to worry about.
As such they are troublesome to avoid.
The bigger gotcha is that related math-emu changes cause em86 not
to work anymore and, so far, nobody knows true reasons for that;
math-emu support as used in 2.2.11 cooperates with em86 and provides
a "drop-in" replacement if you need/want em86. At this moment I am
not aware of a better fix.
> Also, it did stop completely with a segfault at
> one point,
This was something else even if it printed somewhere close on your
screen. Which compiler you were using?
Michal
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Patches for 2.2.12?
1999-10-09 15:48 ` Michal Jaegermann
@ 1999-10-09 17:40 ` Barrett G. Lyon
0 siblings, 0 replies; 7+ messages in thread
From: Barrett G. Lyon @ 1999-10-09 17:40 UTC (permalink / raw)
To: axp-list
At 09:48 AM 10/9/1999 -0600, you wrote:
>Dave Wreski wrote:
>>
>> ... and am now receiving different
>> compile errors:
>>
>> make[2]: Entering directory
>> `/usr/src/linux-2.2.13pre15/arch/alpha/math-emu'
>> gcc -D__KERNEL__ -I/usr/src/linux-2.2.13pre15/include -Wall
>> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
>> -mno-fp-regs -ffixed-8 -c -o fp-emul.o fp-emul.c
>> fp-emul.c: In function `udiv128':
>> fp-emul.c:118: warning: left shift count is negative
Here is my comment on the subject: I would not use 2.2.12 -bad idea-, I
would use something >2.2.12 (even if it's a pre patch). I'm having good
luck with 2.2.13pre14. Mr. Estabrook had some changes added into the
pre12(?) patch and other chanes blended in seems to work. But then again I
don't run X or any other 'stuff' such as audio boards etc..
Take care,
-Barrett
Barrett G. Lyon
(NJS) Network Janitor Specialist
Have fun: www.AlphaLinux.org
[Q]: Hey, do they test this stuff before it's released?
[A]: Sure they do... "It compiles, it's ready!"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Patches for 2.2.12?
1999-10-09 4:52 ` Daniel J. Frasnelli
@ 1999-10-09 23:42 ` Dave Wreski
0 siblings, 0 replies; 7+ messages in thread
From: Dave Wreski @ 1999-10-09 23:42 UTC (permalink / raw)
To: Daniel J. Frasnelli; +Cc: axp-list
> > fp-emul.c:133: warning: left shift count is negative
> > fp-emul.c:134: warning: left shift count is negative
>
> You are not seeing compile errors; as stated, these are warnings
> spit out by the compiler or assembler. If this were a perfect world
> (which it is not) and Linux were perfect software (which it is not),
> warnings might be something to cause alarm.
I just wanted to say thanks to you all that helped me. Very much
appreciate it. The box booted fine with 2.2.13pre15, and now also
recognizes my second tulip card.
Thanks again,
Dave
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1999-10-09 23:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-09 3:17 Patches for 2.2.12? Daniel J. Frasnelli
-- strict thread matches above, loose matches on Subject: below --
1999-10-09 2:08 Dave Wreski
1999-10-09 4:36 ` Dave Wreski
1999-10-09 4:52 ` Daniel J. Frasnelli
1999-10-09 23:42 ` Dave Wreski
1999-10-09 15:48 ` Michal Jaegermann
1999-10-09 17:40 ` Barrett G. Lyon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox