Re: is a 64 bit linux kernel possible?
On 20-Apr-13, at 1:39 PM, Paolo Borsa wrote:
Hi, I have an HP C3750 with 875Mhz PA8700+ cpu. I'm currently
running debian lenny with kernel 2.6.26 32 bit. I am trying to
compile and run the last linux kernel, 3.8.7, compiled with 64 bit
kernel flag enabled. The compilation succeed, and with file vmlinux
I get:
vmlinux: ELF 64-bit MSB executable, PA-RISC 2.0 (LP64) version 1
(GNU/Linux), statically linked, not stripped
The c3750 is definitely capable in running a 64 bit kernel and I have
done so in the past.
after copying it to /boot partition and rebooted the machine, I
instructed palo to load this new kernel. Unfortunately it doesn't
work, I have a serial console and the last message I see is palo
saying "If this is the last message you see, you may need to switch
to your console...."
Were any modules built with your kernel? I always install with
"make modules_install install". This will install kernel and modules
modules, and
build a new initrd.img file. This file should be referenced in the
kernel command
line defined in palo.conf. For example, I have the following in my
palo.conf:
--commandline=2/vmlinux root=/dev/sda5 console=ttyS1 initrd=2/
initrd.img HOME=/ rootfstype=ext3
You will have to tweak the options to your particular circumstances.
I use symbolic links from my
default boot kernel and initrd files to vmlinux and initrd.img,
respectively. You can edit
these parameters if you interact with IPL if you need to boot a
different kernel.
I have "CONFIG_BLK_DEV_INITRD=y" in my .config.
At startup, the boot console is used:
bootconsole [ttyB0] enabled
Initialized PDC Console for debugging.
This switches over at just after the palo message. You will lose
console ouput if you select the
wrong console port. You should see something like the following:
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
0000:e0:01.0: ttyS0 at MMIO 0xfffffffff4051000 (irq = 73) is a 16550A
0000:e0:01.1: ttyS1 at MMIO 0xfffffffff4050000 (irq = 73) is a 16550A
console [ttyS1] enabled, bootconsole disabled
0000:e0:01.1: ttyS2 at MMIO 0xfffffffff4050010 (irq = 73) is a 16550A
0000:e0:01.1: ttyS3 at MMIO 0xfffffffff4050038 (irq = 73) is a 16550A
On the lcd display of the c3750 I see "bus error". Eventually I had
to do an hard reset and come back to the previous kernel.
I don't know if the problem is because the machine doesn't support
64 bit kernel (although I think it should) or because there's some
misconfiguration in the linux kernel.
Has anybody had a similar experience?
Thanks
Paolo
--
John David Anglin dave.anglin@bell.net
Reply to: