Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install Hell for Gentoo 20170322 build...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
breetie
n00b
n00b


Joined: 27 May 2004
Posts: 51
Location: Atlanta

PostPosted: Sat Apr 29, 2017 6:19 am    Post subject: Install Hell for Gentoo 20170322 build... Reply with quote

So, there's a lot to this situation so I'll try to be as succinct and to-the-point as I can manage. That said, there's a plethora of information you'll need if you're going to have any hope of helping out with it, if you are so inclined. I, of course, would love the help.

I am attempting to put Gentoo build 20170322 (the latest build for my architecture) on my Hewlett-Packard RX6600 (an IA64-based machine). Burning the LiveCD to disc was no issue, but getting it to boot is. With these IA64-based systems, they use an intermediate boot environment (EFI), and it doesn't even recognize the disc. I then began my troubleshooting routine, and tried all the other 2017-based builds of the LiveCD (20170311, 20170228, 20170216 & 20170110), all refused to boot.

As a last-ditch attempt, I downloaded an extremely old LiveCD (2008.0), which to my surprise booted without issue, and will take me all the way to the LiveCD prompt.

Problem is, 2008.0 is so old, I really don't have the option to update a chrooted stage3 from a new build (2008.0 uses the 2.6 kernel). At least, not with my current level of knowledge, at any rate. And herein lies the root of my issue and my hope that the many of you more informed than I will see an option for building the newer release on it. Does anyone know of a way to build a 2017x build of Gentoo when booted with a 2008.0 Gentoo LiveCD?

And, is there a far easier way to do what I want to do than I am thinking?
_________________
"There has been an alarming increase in the things you know nothing about."

--fortune
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7127
Location: almost Mile High in the USA

PostPosted: Sat Apr 29, 2017 7:08 am    Post subject: Reply with quote

You should be fine using the 2008 livecd to build the system, it only needs to boot. Just use the newest stage3 tarball to dump out the system onto your disk.

Or does it actually not work, I would imagine the 2.6 kernel should be able to chroot into the newer userspace? I don't know.

I feel that ia64 has been bitrotting... I don't know what the newest livecds are now being tested against, but older systems don't work anymore for whatever reason.

I haven't updated/worked on my ia64 box for years now after x11 stopped working. The compiler is starting to bit rot too...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Sat Apr 29, 2017 7:13 am    Post subject: Reply with quote

An alternative path would be to build you knew system on another box and then move it over via tar. 2008.0 should be more than sufficient to create a file system and untar the system and create the boot loader.

I'd suggest using another live CD, but it looks like only Gentoo and Enterprise Suse or Enterprise Red Hat support ia64 and they don't appear to offer live CDs.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
breetie
n00b
n00b


Joined: 27 May 2004
Posts: 51
Location: Atlanta

PostPosted: Sat Apr 29, 2017 8:15 pm    Post subject: Reply with quote

eccerr0r wrote:
You should be fine using the 2008 livecd to build the system, it only needs to boot. Just use the newest stage3 tarball to dump out the system onto your disk.

Or does it actually not work, I would imagine the 2.6 kernel should be able to chroot into the newer userspace? I don't know.


Actually, the 2.6 kernel makes it impossible to update portage or compile anything, since the kernel version is too old (the newer Gentoo build uses a 4.9.x kernel). However...I was able to source a newer LiveCD (20160902), which boots fine and allowed me to begin the install process. However, I've hit a roadblock, and can't compile my kernel:

Code:

(chroot) livecd linux # make && make modules_install
make[1]: 'include/generated/nr-irqs.h' is up to date.
  CHK     include/config/kernel.release
  REMOVE  arch/ia64/include/generated/asm/asm-offsets.h
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
  GEN     scripts/gdb/linux/constants.py
In file included from ./arch/ia64/include/asm/thread_info.h:9:0,
                 from ./include/linux/thread_info.h:58,
                 from ./include/asm-generic/preempt.h:4,
                 from ./arch/ia64/include/generated/asm/preempt.h:1,
                 from ./include/linux/preempt.h:59,
                 from ./include/linux/spinlock.h:50,
                 from ./include/linux/wait.h:8,
                 from ./include/linux/fs.h:5,
                 from /usr/src/linux-4.9.6-gentoo-r1/scripts/gdb/linux/constants.py.in:15:
./arch/ia64/include/asm/asm-offsets.h:1:35: fatal error: generated/asm-offsets.h: No such file or directory
 #include <generated/asm-offsets.h>
                                   ^
compilation terminated.
make[2]: *** [scripts/gdb/linux/Makefile:18: scripts/gdb/linux/constants.py] Error 1
make[1]: *** [Kbuild:107: build_constants_py] Error 2
make: *** [Makefile:1033: prepare0] Error 2
(chroot) livecd linux #


What it looks like to me, is it is REMOVING asm-offsets.h, and then never re-generates it. Has anyone seen this before?
_________________
"There has been an alarming increase in the things you know nothing about."

--fortune
Back to top
View user's profile Send private message
breetie
n00b
n00b


Joined: 27 May 2004
Posts: 51
Location: Atlanta

PostPosted: Tue May 09, 2017 6:46 pm    Post subject: Reply with quote

So, I resolved this install situation by utilizing a newer build of the Gentoo kernel. The 4.9.6-r1 build still has some sort of chicken-and-egg problem in the scripting, so the solution for me was to:

1). Boot from the 20160702 build of the minimal LiveCD (This is the latest revision that will still boot the HP rx6600 Integrity server. The newer builds are formulated for newer Itanium-based systems, such as the HP Integrity rx2800)

2). Download the latest stage3 tar ball (at the time of this writing, stage3-ia64-20170501.tar.bz2 was the current)

3). Follow the directions in the Gentoo Install Handbook for IA64 architectures here with the following modifications to their instructions (this applies to the HP Integrity rx6600 ONLY):

Code:
Choose the 'HPzx1/SX1000' type instead of 'DIG-Compliant' under 'Processor Type and Features --->'


This worked for me, and allowed me to get the latest Gentoo stage3 build with the latest kernel (4.11.0). The system booted successfully for me.
_________________
"There has been an alarming increase in the things you know nothing about."

--fortune
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum