Missing /usr/src in installcd-stage3-minimal
Zachary Bedell wrote:
> found that there was no /usr/src directory in the chroot The latest stage3 also does not add udev to the sysinit runlevel. Lost about an hour to that. > I'm assuming something probably went wrong in an earlier stage, Not neccessarily, think about who should create /usr/src. IMO it's not at all really neccessary, it's just by (deprecated) convention that there are kernel sources there. > but I don't know enough about Catalyst yet to know quite where to > look. It has little to do with catalyst itself. In any case, if you make sure that your livecd-stage1 includes kernel sources, then I think you'll sidestep around the problem. //Peter |
Missing /usr/src in installcd-stage3-minimal
On 07/06/2011 07:28 PM, Zachary Bedell wrote:
> Greetings all, > > I'm just beginning to play with Catalyst to create custom installcd > images. I've started with the Gentoo releng spec files from > svn://anonsvn.gentoo.org/releng/trunk/releases/weekly/specs/amd64. I > managed to get through stage1-3 and installcd-stage1 without any > trouble. > > Running installcd-stage2-minimal dies when trying to run Genkernel > with "ln: failed to create symbolic link `/usr/src/linux': No such > file or directory". I hacked the kmerge.sh script to drop to a shell > right after that happened and found that there was no /usr/src > directory in the chroot. Doing a `mkdir -p /usr/src` right before > the ln call, and everything seems to work out after that. > > I'm assuming something probably went wrong in an earlier stage, but I > don't know enough about Catalyst yet to know quite where to look. > > I can post spec files if they'd help, but I'm using stock from SVN > with just some version number's changed around. Does anyone have a > guess where I might look, or is there any chance this might be a bug > in the kmerge.sh script? I'm using catalyst-2.0.6.916 at this point, > but I may just give the -9999 build a try to see if that fixed the > issue. Afaik the code in 9999 differs by more than just bugfixes. Let me quote from the -9999 ebuild: "The git master branch (what you get with this -9999 ebuild) for catalyst now contains the work-in-progress code for catalyst-3.x. Be aware that it's very likely that it will not be in a working state at any given point." Also, please be aware that I have brought up the question of deleting the 3.x altogether. That means: In case you start using -9999 we really need to know, so we don't pull the chair that you just sat down on. On the /usr/src issue I would like to ask you to file a bug for it. Copy-pasting from your original mail should be fine. Thanks for bringing it up. Best, Sebastian |
Missing /usr/src in installcd-stage3-minimal
On 07/06/2011 08:10 PM, Peter Stuge wrote:
> Zachary Bedell wrote: >> found that there was no /usr/src directory in the chroot > > The latest stage3 also does not add udev to the sysinit runlevel. > Lost about an hour to that. Now that you mention it: I ran into the same problem. It was ~20 something hours wasted over here I guess before I found that Xorg didn't find my graphics card because of udev not being started. Best, Sebastian |
Missing /usr/src in installcd-stage3-minimal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 On Jul 6, 2011, at 2:14 PM, Sebastian Pipping wrote: > On 07/06/2011 07:28 PM, Zachary Bedell wrote: >> Running installcd-stage2-minimal dies when trying to run Genkernel >> with "ln: failed to create symbolic link `/usr/src/linux': No such >> file or directory". I hacked the kmerge.sh script to drop to a shell >> right after that happened and found that there was no /usr/src >> directory in the chroot. Doing a `mkdir -p /usr/src` right before >> the ln call, and everything seems to work out after that. > > Also, please be aware that I have brought up the question of deleting > the 3.x altogether. That means: In case you start using -9999 we really > need to know, so we don't pull the chair that you just sat down on. Based on that, I think I'll stay away from the -9999's then. I was able to get 2.0.6.916 working with either of two work arounds, so heading off to git land for this is a bit more fun than I'm allowed to have... > On the /usr/src issue I would like to ask you to file a bug for it. > Copy-pasting from your original mail should be fine. Thanks for > bringing it up. Opened: https://bugs.gentoo.org/show_bug.cgi?id=374297 Just for laughs (I've been told I have an odd sense of humor...), I went back and ran installcd-stage1 with gentoo-sources included (cleaned everything up from installcd-stage[12] first of course), and removed the mkdir I added in kmerge.sh. Worked fine as long as source was in installcd-stage1, so I've amended my bug report to reflect that. Also included the one-liner patch to make it work without source in installcd-stage1. One more minor thing I ran into: /usr/lib64/catalyst/targets/support/create-iso.sh: line 233: mkdosfs: command not found mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so `emerge sys-fs/dosfstools` of course fixed that right up. Is that something I should open against Catalyst itself in "Gentoo Hosted Projects," or does that go to "Gentoo Linux" for the ebuild? I've got a nice little ISO file built now. Time to throw a VM at it and see how much of a mess I've made of things... Thanks also for the pointer about udev. Anything that saves me a wild goose chase is always appreciated. Best regards, Zac Bedell -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAk4VF0oACgkQq+EtLVpY/F7SrgCfcl/KF1Pe1jm0QB7vuQVdN5r0 p8YAn0/bSbLJ7LlVk5i2QKgIHleMJPVQ =Pcd/ -----END PGP SIGNATURE----- |
Missing /usr/src in installcd-stage3-minimal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256 On 06-07-2011 19:14, Sebastian Pipping wrote: > On 07/06/2011 08:10 PM, Peter Stuge wrote: >> Zachary Bedell wrote: >>> found that there was no /usr/src directory in the chroot https://bugs.gentoo.org/show_bug.cgi?id=371280 >> The latest stage3 also does not add udev to the sysinit runlevel. >> Lost about an hour to that. https://bugs.gentoo.org/show_bug.cgi?id=369037 What stage did you try? > Now that you mention it: I ran into the same problem. It was ~20 > something hours wasted over here I guess before I found that Xorg didn't > find my graphics card because of udev not being started. > > Best, > > > > Sebastian - -- Regards, Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org Gentoo- forums / Userrel / Devrel / KDE / Elections / RelEng |
Missing /usr/src in installcd-stage3-minimal
On 07/07/2011 04:40 AM, Jorge Manuel B. S. Vicetto wrote:
>>> The latest stage3 also does not add udev to the sysinit runlevel. >>> Lost about an hour to that. > > https://bugs.gentoo.org/show_bug.cgi?id=369037 > What stage did you try? Stage4. Same for Peter. Best, Sebastian |
Missing /usr/src in installcd-stage3-minimal
On 07/07/2011 04:17 AM, Zachary Bedell wrote:
> One more minor thing I ran into: > > /usr/lib64/catalyst/targets/support/create-iso.sh: line 233: mkdosfs: command not found > mount: wrong fs type, bad option, bad superblock on /dev/loop0, > missing codepage or helper program, or other error > In some cases useful info is found in syslog - try > dmesg | tail or so > > `emerge sys-fs/dosfstools` of course fixed that right up. Is that something I should open against Catalyst itself in "Gentoo Hosted Projects," or does that go to "Gentoo Linux" for the ebuild? Seen that one before as <https://bugs.gentoo.org/show_bug.cgi?id=274972>. For anything new "Gentoo Hosted Projects"::"Catalyst" is perfect. Best, Sebastian |
| All times are GMT. The time now is 05:23 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.