Skip to contentSkip to conversation

Bug#254073: tc1 fail on hppa

parisc-linux Kyle McMartin 3 participants 3 messages Jun 13, 2004 3 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Quoted 5 lines · Colin Watson

base-installer has no intelligence about hppa, and it should. How would one go about detecting whether the 32-bit or the 64-bit kernel is appropriate? Is it OK to install SMP kernels regardless, or do we need to detect UP vs. SMP too?

Hmm. It's a problem because the firmware of some machines will only boot 64-bit kernels, some will only boot 32-bit, and some will boot either.

The best thing to do, would be to always install 32bit by default. As when a person tries to boot on a machine that only has 64-bit firmware, they will have to manually edit the PALO commandline to use vmlinux64, which will result in them having a parisc64 uname -m entry. So I'd think install based on the uname -m entry would work.

There's no problem, afaik, booting SMP on UP machines, so that should be fine.

I was going to take a look at this, but I cannot seem to figure out how to check out d-i, and the daily svn snapshot is b0rked.

I'm going to copy the parisc-linux list with this, for comments.

Cheers,

Signature · 5 lines
Kyle McMartin
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
#4 lore raw
In reply to a message not in the archive
Quoted 10 lines · Kyle McMartin
Quoted 4 lines · Colin Watson

base-installer has no intelligence about hppa, and it should. How would one go about detecting whether the 32-bit or the 64-bit kernel is appropriate? Is it OK to install SMP kernels regardless, or do we need to detect UP vs. SMP too?

Hmm. It's a problem because the firmware of some machines will only boot 64-bit kernels, some will only boot 32-bit, and some will boot either.

Quoted 5 lines

The best thing to do, would be to always install 32bit by default. As when a person tries to boot on a machine that only has 64-bit firmware, they will have to manually edit the PALO commandline to use vmlinux64, which will result in them having a parisc64 uname -m entry. So I'd think install based on the uname -m entry would work.

OK, that's something we can do. I'm buried in base-installer at the moment anyway, so I'll have a go at this.

Quoted 2 lines

There's no problem, afaik, booting SMP on UP machines, so that should be fine.

Good. That matches some other architectures.

Quoted 1 line

I'm going to copy the parisc-linux list with this, for comments.

Note that I don't read this list, so please be sure to copy [email protected] on replies.

Thanks,

Signature · 5 lines
Colin Watson                                  [[email protected]]
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
#5 lore raw
In reply to a message not in the archive
Quoted 3 lines · Kyle McMartin

Hmm. It's a problem because the firmware of some machines will only boot 64-bit kernels, some will only boot 32-bit, and some will boot either.

correct.

Quoted 1 line

The best thing to do, would be to always install 32bit by default.

No. The best would be to look at "uname -m" output.
Install 32-bit if it's "parisc" and install 64-bit if it's "parisc64".

Quoted 5 lines

As
when a person tries to boot on a machine that only has 64-bit firmware, they will have to manually edit the PALO commandline to use vmlinux64, which will result in them having a parisc64 uname -m entry. So I'd think install based on the uname -m entry would work.

Correct, it will. As long as palo can select which kernel to boot from the install media (CD, HD, network), a working kernel will get booted/installed by default.

Quoted 1 line

I'm going to copy the parisc-linux list with this, for comments.

thanks,
grant
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux