* kernel compiling
@ 2007-04-27 20:27 Jim Woodruff
2007-05-01 8:14 ` juhana paavola
2007-05-06 23:41 ` DEMAINE Benoit-Pierre
0 siblings, 2 replies; 16+ messages in thread
From: Jim Woodruff @ 2007-04-27 20:27 UTC (permalink / raw)
I'm having problems with kernels 2.6.19.3 and later on my SX164. They
compile
okay but when booting the kernel fails to recognize the 2nd IDE drive.
The SRM
has no problem. I boot off the 2nd drive. I receive the following during
the boot
process (from kern.log):
Apr 26 10:20:54 freyr kernel: PDC20269: IDE controller at PCI slot
0000:00:06.0
Apr 26 10:20:54 freyr kernel: PDC20269: chipset revision 2
Apr 26 10:20:54 freyr kernel: PDC20269: ROM enabled at 0x0a844000
Apr 26 10:20:54 freyr kernel: PDC20269: PLL input clock is 16536 kHz
Apr 26 10:20:54 freyr kernel: PDC20269: 100%% native mode on irq 27
Apr 26 10:20:54 freyr kernel: ide2: BM-DMA at 0x8080-0x8087, BIOS
settings: hde:pio, hdf:pio
Apr 26 10:20:54 freyr kernel: ide3: BM-DMA at 0x8088-0x808f, BIOS
settings: hdg:pio, hdh:pio
Apr 26 10:20:54 freyr kernel: Probing IDE interface ide2...
Apr 26 10:20:54 freyr kernel: Probing IDE interface ide3...
Apr 26 10:20:54 freyr kernel: CY82C693: IDE controller at PCI slot
0000:00:08.1
Apr 26 10:20:54 freyr kernel: CY82C693: chipset revision 0
Apr 26 10:20:54 freyr kernel: CY82C693: not 100%% native mode: will
probe irqs later
Apr 26 10:20:54 freyr kernel: CY82C693U driver v0.34 99-13-12 Andreas S.
Krebs (akrebs@altavista.net)
Apr 26 10:20:54 freyr kernel: ide0: BM-DMA at 0x8090-0x8097, BIOS
settings: hda:pio, hdb:pio
Apr 26 10:20:54 freyr kernel: PCI: Enabling device: (0000:00:08.2), cmd 7
*Apr 26 10:20:54 freyr kernel: CY82C693: port 0x01f0 already claimed by
ide0*
Apr 26 10:20:54 freyr kernel: CY82C693: neither IDE port enabled (BIOS)
The kernel doesn't see my drive at ide1.
Any suggestions?
Jim Woodruff
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kernel compiling
2007-04-27 20:27 kernel compiling Jim Woodruff
@ 2007-05-01 8:14 ` juhana paavola
2007-05-01 16:40 ` Jim Woodruff
2007-05-06 23:41 ` DEMAINE Benoit-Pierre
1 sibling, 1 reply; 16+ messages in thread
From: juhana paavola @ 2007-05-01 8:14 UTC (permalink / raw)
On 2007-04-27, Jim Woodruff <james.woodruff@comcast.net> wrote:
>
> The kernel doesn't see my drive at ide1.
>
> Any suggestions?
>
Are drivers compiled as modules ?
If yes, try to include straight to kernel, I had slightly problems with PDC
and CMD drivers. Didn't worked so well when compiled as modules.
-juhana
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kernel compiling
2007-05-01 8:14 ` juhana paavola
@ 2007-05-01 16:40 ` Jim Woodruff
2007-05-01 16:44 ` Jim Woodruff
0 siblings, 1 reply; 16+ messages in thread
From: Jim Woodruff @ 2007-05-01 16:40 UTC (permalink / raw)
juhana paavola formed by artistic effort the following on 05/01/07 01:14:
> On 2007-04-27, Jim Woodruff <james.woodruff@comcast.net> wrote:
>
>> The kernel doesn't see my drive at ide1.
>>
>> Any suggestions?
>>
>>
>
> Are drivers compiled as modules ?
> If yes, try to include straight to kernel, I had slightly problems with PDC
> and CMD drivers. Didn't worked so well when compiled as modules.
>
No, they are included straight into the kernel (see part of .config below)
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_IDEPCI_SHARE_IRQ is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_NET_PCI is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIAL_8250_PCI=y
# CONFIG_RADIO_GEMTEK_PCI is not set
# PCI devices
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_YMFPCI is not set
CONFIG_IDE=y
CONFIG_IDE_MAX_HWIFS=4
CONFIG_BLK_DEV_IDE=y
# Please see Documentation/ide.txt for help/info on IDE drives
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
# IDE chipset support/bugfixes
# CONFIG_IDE_GENERIC is not set
CONFIG_BLK_DEV_IDEPNP=y
CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_IDEPCI_SHARE_IRQ is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# Old CD-ROM drivers (not SCSI, not IDE)
# CONFIG_CD_NO_IDESCSI is not set
This worked for kernel 2.6.19.2.
Jim
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kernel compiling
2007-05-01 16:40 ` Jim Woodruff
@ 2007-05-01 16:44 ` Jim Woodruff
0 siblings, 0 replies; 16+ messages in thread
From: Jim Woodruff @ 2007-05-01 16:44 UTC (permalink / raw)
Jim Woodruff formed by artistic effort the following on 05/01/07 09:40:
> juhana paavola formed by artistic effort the following on 05/01/07 01:14:
>> On 2007-04-27, Jim Woodruff <james.woodruff@comcast.net> wrote:
>>
>>> The kernel doesn't see my drive at ide1.
>>>
>>> Any suggestions?
>>>
>>>
>>
>> Are drivers compiled as modules ?
>> If yes, try to include straight to kernel, I had slightly problems
>> with PDC
>> and CMD drivers. Didn't worked so well when compiled as modules.
>>
>
Also add:
CONFIG_BLK_DEV_CY82C693=y
Jim
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kernel compiling
2007-04-27 20:27 kernel compiling Jim Woodruff
2007-05-01 8:14 ` juhana paavola
@ 2007-05-06 23:41 ` DEMAINE Benoit-Pierre
1 sibling, 0 replies; 16+ messages in thread
From: DEMAINE Benoit-Pierre @ 2007-05-06 23:41 UTC (permalink / raw)
CMD and PDC are known to have bugs. In menu config, you will find
specific information about those; expecially, there are "modules to fix
or block" those bugs: one does fix, other does desactivate chip.
I remember that a misconf on some x86 leaded me to the same problem
(using CMD integrated to mother board of a 486).
Check full log; sometimes, it may tell "desactivating THIS chip" or so.
--
>o_/ DEMAINE Benoit-Pierre (aka DoubleHP) http://benoit.demaine.info/
If computing were an exact science, IT engineers would not have work \_o<
"So all that's left, Is the proof that love's not only blind but deaf."
(FAKE TALES OF SAN FRANCISCO, Arctic Monkeys)
^ permalink raw reply [flat|nested] 16+ messages in thread
* kernel compiling
@ 2000-05-18 4:00 Jim Woodruff
2000-05-18 4:00 ` Tony Hammitt
0 siblings, 1 reply; 16+ messages in thread
From: Jim Woodruff @ 2000-05-18 4:00 UTC (permalink / raw)
If you have Compaq's ccc installed, do you compile the kernel
with ccc vs. gcc? If so, how? I'v been unable to find any
mention of this in the HOWTO's or other documentations. Is it
a simple matter of replacing gcc with ccc in the HOSTCC and CC
lines of the Makefile? Thanks in advance for any responses.
--
-
Jim Woodruff < jawoodruff@home.com >
Linux + AlphaPowered = 64-bit screamin' performance
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kernel compiling
2000-05-18 4:00 Jim Woodruff
@ 2000-05-18 4:00 ` Tony Hammitt
2000-05-18 4:00 ` h0l0gRaM
0 siblings, 1 reply; 16+ messages in thread
From: Tony Hammitt @ 2000-05-18 4:00 UTC (permalink / raw)
You may be able to compile some of the kernel source files
with ccc but there are lots of files that have gcc specific
assembler instructions, etc.
It would be a lot of effort compiling all of the possible
files with ccc, then the rest with gcc, and what you would
end up with may even boot. But I wouldn't guarantee it.
More to the point, the kernel isn't really the best thing
to try massive optimizations with anyway. Unless your
system is extremely heavily loaded, the kernel doesn't
really take up all that much processor time. That and if
it's a really time critical piece of code, the chances are
that it's already in hand-optimized assembler.
What would be more interesting is trying to run something
like 'spike', the post-analyzing optimizer (see the news
at www.alphalinux.org) on the kernel. It may be able to
get some further optimizations but you'd have to run it
using user-mode linux, probably.
I think getting the libc stuff and XFree4.0 compiled using
ccc would be more likely to show benefits and would probably
be lots easier.
But don't let me discourage you =-] Try getting the kernel
working and let us know how it comes out...
Regards,
Tony Hammitt
Jim Woodruff wrote:
>
> If you have Compaq's ccc installed, do you compile the kernel
> with ccc vs. gcc? If so, how? I'v been unable to find any
> mention of this in the HOWTO's or other documentations. Is it
> a simple matter of replacing gcc with ccc in the HOSTCC and CC
> lines of the Makefile? Thanks in advance for any responses.
>
> --
>
> -
> Jim Woodruff < jawoodruff@home.com >
> Linux + AlphaPowered = 64-bit screamin' performance
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kernel compiling
2000-05-18 4:00 ` Tony Hammitt
@ 2000-05-18 4:00 ` h0l0gRaM
2000-05-19 4:00 ` Ed Vogel
0 siblings, 1 reply; 16+ messages in thread
From: h0l0gRaM @ 2000-05-18 4:00 UTC (permalink / raw)
Tony Hammitt wrote:
> You may be able to compile some of the kernel source files
> with ccc but there are lots of files that have gcc specific
> assembler instructions, etc.
>
> It would be a lot of effort compiling all of the possible
> files with ccc, then the rest with gcc, and what you would
> end up with may even boot. But I wouldn't guarantee it.
>
But note ,if you compile two files ,first with gcc and second with ccc ,
they cannot be linked to one (executable) file.
That's mentioned in ccc's readme files and in compaq's web site.
>
> More to the point, the kernel isn't really the best thing
> to try massive optimizations with anyway. Unless your
> system is extremely heavily loaded, the kernel doesn't
> really take up all that much processor time. That and if
> it's a really time critical piece of code, the chances are
> that it's already in hand-optimized assembler.
>
I say that kernel doesn't need so much optimization than programs to be
in use.
>
> I think getting the libc stuff and XFree4.0 compiled using
> ccc would be more likely to show benefits and would probably
> be lots easier.
>
Yes ,and using Compaq's math library instead of libm.so
CPML/CXML or even FFM would be better (faster)
But ,cxx and ccc doesn't compile every source ,there's lots of those
sources
which are written only for compiling with gcc.
I have few sources what compiled succesfully.
These what I have tried ,haven't looked up what's the problem.
Downloader for X 1.16 ,doesn't compile
NMAP 2.50 ,compiles
Sniffit 0.7 (or something) ,compiles
Quakeforge 0.1.1 ,compiles
Sarien 0.2.5 ,doesn't compile
all compiled with "-04 -fast" options
I don't have so much interest for trying to compile XFree4.0
Got sources ,compiles with gcc ,but doesn't work in XL300 with Matrox
mill.1
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kernel compiling
2000-05-18 4:00 ` h0l0gRaM
@ 2000-05-19 4:00 ` Ed Vogel
2000-05-19 4:00 ` h0l0gRaM
0 siblings, 1 reply; 16+ messages in thread
From: Ed Vogel @ 2000-05-19 4:00 UTC (permalink / raw)
h0l0gRaM wrote:
>
> But note ,if you compile two files ,first with gcc and second with ccc ,
>
> they cannot be linked to one (executable) file.
> That's mentioned in ccc's readme files and in compaq's web site.
This is not the case. Could you be mistaking Compaq's C compiler (ccc)
with
its C++ compiler (cxx)? It is possible to mix objects produced by ccc
and gcc.
It is not possible to mix objects produced by cxx and GNU's C++ - This
is because
the C++ compilers use different object models.
If this is mentioned in ccc's readme or web page, could you post
exactly where it
is. I did a brief scan and could not find any such reference.
Ed
Vogel
Compaq
C Engineering
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: kernel compiling
2000-05-19 4:00 ` Ed Vogel
@ 2000-05-19 4:00 ` h0l0gRaM
0 siblings, 0 replies; 16+ messages in thread
From: h0l0gRaM @ 2000-05-19 4:00 UTC (permalink / raw)
Ed Vogel wrote:
> h0l0gRaM wrote:
>
> >
> > But note ,if you compile two files ,first with gcc and second with ccc ,
> >
> > they cannot be linked to one (executable) file.
> > That's mentioned in ccc's readme files and in compaq's web site.
>
> This is not the case. Could you be mistaking Compaq's C compiler (ccc)
> with
> its C++ compiler (cxx)? It is possible to mix objects produced by ccc
> and gcc.
> It is not possible to mix objects produced by cxx and GNU's C++ - This
> is because
> the C++ compilers use different object models.
>
> If this is mentioned in ccc's readme or web page, could you post
> exactly where it
> is. I did a brief scan and could not find any such reference.
>
> Ed
> Vogel
> Compaq
> C Engineering
damn ,you're right ,I just remembered wrong names....
forgive me
^ permalink raw reply [flat|nested] 16+ messages in thread
* kernel compiling
@ 1999-08-17 4:00 Jan Geertsma
1999-08-17 4:00 ` Xiaozhou Qiu
0 siblings, 1 reply; 16+ messages in thread
From: Jan Geertsma @ 1999-08-17 4:00 UTC (permalink / raw)
Got me confused.
Basically I did everything according to redhat's instruction, can't find a
complete how-to
But the make zImage doesn't seem to be a makefile entry. So I did a "make
vlinux" and a "make boot",
Is a kenrnel the same as a bootimage?
once compiled and called properly from within milo it should boot nicely
right?
what files are important and should be replaced when updating a kernel?
vmlinuz and system.map right?
Where is a complete howto of the kernel, the README didn't cover the
installation part to my liking.
how can I figure out the curent version of the running kernel? is the
loginscreen acurate?
Oh the compiling of my kernel took 20 hours, so I grabbed so sleep too...
Someone please defuse me :) , Jan?
Rundown on the redhat instructions.
cd /usr/src
rm linux
tar xzvf /tmp/linux-2.2.11.tar.gz
mv linux linux-2.2.11
ln -s linux-2.2.11 linux
cd /usr/src/linux
make mrproper
make dep
make clean
make bzImage
# things will chug for a while. Go get coffee.
****** this doesn't work for my Alpha ******
make modules
# this is to make system modules
make modules_install
# this is to install them in /lib/modules/2.2.11
cp /usr/src/linux-2.2.11/arch/alpha/boot/bzImage /boot/vmlinuz-2.2.11
cp /usr/src/linux-2.2.11/System.map /boot/System.map-2.2.11
# put the kernel in the /boot partition/directory.
cd /boot
rm System.map
ln -s System.map-2.2.11 System.map
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kernel compiling
1999-08-17 4:00 Jan Geertsma
@ 1999-08-17 4:00 ` Xiaozhou Qiu
1999-08-18 4:00 ` Robert McGwier
0 siblings, 1 reply; 16+ messages in thread
From: Xiaozhou Qiu @ 1999-08-17 4:00 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 950 bytes --]
The steps are as the following:
cd /usr/src
rm linux
tar xzvf /tmp/linux-2.2.11.tar.gz
mv linux linux-2.2.11
ln -s linux-2.2.11 linux
cd /usr/src/linux
make config or make oldconfig
make dep
make clean ( not necessary)
make boot
make modules
make modules_ install
cp /usr/src/linux-2.2.11/arch/alpha/boot/vmlinux.gz /vmlinux.gz ( This
step copy the kernel image to the /vmlinux.gz. You should change the kernel
path in the milo)
cp /usr/src/linux-2.2.11/System.map /boot/System.map-2.2.11
cd /boot
rm System.map
ln -s System.map-2.2.11 System.map
Boot image is a compressed kernel. After you follow the steps and change the
milo path, everything
will be OK. When you login, it will show the correct version. Or you can "do
cat /proc/version " It will show current versions of kernel and gcc.
Take care.
--
Xiaozhou Qiu
Linux Consorsium
Interoperability Lab
University of New Hampshire
[-- Attachment #2: Type: text/html, Size: 1426 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: kernel compiling
1999-08-17 4:00 ` Xiaozhou Qiu
@ 1999-08-18 4:00 ` Robert McGwier
1999-08-19 4:00 ` Jan Geertsma
0 siblings, 1 reply; 16+ messages in thread
From: Robert McGwier @ 1999-08-18 4:00 UTC (permalink / raw)
In order for
make oldconfig
to work, you need to
cd /usr/src
rm linux
tar xzvf /tmp/linux-2.2.11.tar.gz
mv linux linux-2.2.11
ln -s linux-2.2.11 linux
cd /usr/src/linux
cp ../linux-{OLD_VERSION_NUMBER}/.config .
make oldconfig
It will keep the old stuff, ask you about any differences,
and then you can run
make config
(or even better if you have an xterm) make xconfig
Bob
Xiaozhou Qiu wrote:
>
> The steps are as the following:
> cd /usr/src
> rm linux
> tar xzvf /tmp/linux-2.2.11.tar.gz
> mv linux linux-2.2.11
> ln -s linux-2.2.11 linux
> cd /usr/src/linux
> make config or make oldconfig
> make dep
> make clean ( not necessary)
> make boot
> make modules
> make modules_ install
> cp /usr/src/linux-2.2.11/arch/alpha/boot/vmlinux.gz /vmlinux.gz ( This
> step copy the kernel image to the /vmlinux.gz. You should change the kernel
> path in the milo)
> cp /usr/src/linux-2.2.11/System.map /boot/System.map-2.2.11
> cd /boot
> rm System.map
> ln -s System.map-2.2.11 System.map
>
> Boot image is a compressed kernel. After you follow the steps and change the
> milo path, everything
> will be OK. When you login, it will show the correct version. Or you can "do
> cat /proc/version " It will show current versions of kernel and gcc.
>
>
> Take care.
>
>
> --
> Xiaozhou Qiu
>
> Linux Consorsium
> Interoperability Lab
> University of New Hampshire
>
>
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: kernel compiling
1999-08-18 4:00 ` Robert McGwier
@ 1999-08-19 4:00 ` Jan Geertsma
0 siblings, 0 replies; 16+ messages in thread
From: Jan Geertsma @ 1999-08-19 4:00 UTC (permalink / raw)
Thank you all, I decided to get the hang of making kernels on a faster i386,
and have now a pretty big clue on what I'm doing. I'm pretty hooked on
compiling stuff now, keeps my processors warm and busy...
but I get this to work fairly soon, Thanks, Jan
Robert McGwier <rwmcgwier@home.com> wrote in message
news:37BB0936.41C44550@home.com...
> In order for
>
> make oldconfig
>
> to work, you need to
> cd /usr/src
> rm linux
> tar xzvf /tmp/linux-2.2.11.tar.gz
> mv linux linux-2.2.11
> ln -s linux-2.2.11 linux
> cd /usr/src/linux
> cp ../linux-{OLD_VERSION_NUMBER}/.config .
> make oldconfig
>
> It will keep the old stuff, ask you about any differences,
> and then you can run
> make config
> (or even better if you have an xterm) make xconfig
>
> Bob
>
> Xiaozhou Qiu wrote:
> >
> > The steps are as the following:
> > cd /usr/src
> > rm linux
> > tar xzvf /tmp/linux-2.2.11.tar.gz
> > mv linux linux-2.2.11
> > ln -s linux-2.2.11 linux
> > cd /usr/src/linux
> > make config or make oldconfig
> > make dep
> > make clean ( not necessary)
> > make boot
> > make modules
> > make modules_ install
> > cp /usr/src/linux-2.2.11/arch/alpha/boot/vmlinux.gz /vmlinux.gz
This
> > step copy the kernel image to the /vmlinux.gz. You should change the
kernel
> > path in the milo)
> > cp /usr/src/linux-2.2.11/System.map /boot/System.map-2.2.11
> > cd /boot
> > rm System.map
> > ln -s System.map-2.2.11 System.map
> >
> > Boot image is a compressed kernel. After you follow the steps and
change the
> > milo path, everything
> > will be OK. When you login, it will show the correct version. Or you can
"do
> > cat /proc/version " It will show current versions of kernel and gcc.
> >
> >
> > Take care.
> >
> >
> > --
> > Xiaozhou Qiu
> >
> > Linux Consorsium
> > Interoperability Lab
> > University of New Hampshire
> >
> >
^ permalink raw reply [flat|nested] 16+ messages in thread
* kernel compiling
@ 1998-04-01 5:00 SCPetry1
1998-04-02 5:00 ` Philippe GIROLAMI
0 siblings, 1 reply; 16+ messages in thread
From: SCPetry1 @ 1998-04-01 5:00 UTC (permalink / raw)
Where would I find any Alpha patches for kernel 2.0.33?
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2007-05-06 23:41 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-27 20:27 kernel compiling Jim Woodruff
2007-05-01 8:14 ` juhana paavola
2007-05-01 16:40 ` Jim Woodruff
2007-05-01 16:44 ` Jim Woodruff
2007-05-06 23:41 ` DEMAINE Benoit-Pierre
-- strict thread matches above, loose matches on Subject: below --
2000-05-18 4:00 Jim Woodruff
2000-05-18 4:00 ` Tony Hammitt
2000-05-18 4:00 ` h0l0gRaM
2000-05-19 4:00 ` Ed Vogel
2000-05-19 4:00 ` h0l0gRaM
1999-08-17 4:00 Jan Geertsma
1999-08-17 4:00 ` Xiaozhou Qiu
1999-08-18 4:00 ` Robert McGwier
1999-08-19 4:00 ` Jan Geertsma
1998-04-01 5:00 SCPetry1
1998-04-02 5:00 ` Philippe GIROLAMI
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox