unsubscribe
At 2012-11-17 15:00:02,lfs-support-requ...@linuxfromscratch.org wrote:
>Send lfs-support mailing list submissions to
>       lfs-support@linuxfromscratch.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>       http://linuxfromscratch.org/mailman/listinfo/lfs-support
>or, via email, send a message with subject or body 'help' to
>       lfs-support-requ...@linuxfromscratch.org
>
>You can reach the person managing the list at
>       lfs-support-ow...@linuxfromscratch.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of lfs-support digest..."
>
>
>Today's Topics:
>
>   1. Re:  please tell the error (prashant dawar)
>   2. Re:  please tell the error (Fernando de Oliveira)
>   3. Re:  Grub 2.0 problem (Bruce Dubbs)
>   4.  I'm rc interactively confused (alex lupu)
>   5. Re:  I'm rc interactively confused (Bruce Dubbs)
>   6.  I'm rc interactively confused (alex lupu)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 16 Nov 2012 17:18:21 +0530
>From: prashant dawar <prashantdawar.2...@gmail.com>
>Subject: Re: [lfs-support] please tell the error
>To: LFS Support List <lfs-support@linuxfromscratch.org>
>Message-ID:
>       <cacyj4wrlcfkxrxskkez4djmv7j_ubcz6t5strghf3caugzp...@mail.gmail.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>PATH is also set properly.
>
>
>On Fri, Nov 16, 2012 at 5:17 PM, prashant dawar <
>prashantdawar.2...@gmail.com> wrote:
>
>> nothing found useful.  see the attached log file for details. i want to do
>> it. i am stuck now.
>>
>>
>> On Fri, Nov 16, 2012 at 4:44 PM, prashant dawar <
>> prashantdawar.2...@gmail.com> wrote:
>>
>>> i am thinking the error is with glibc of host itself. its working in host
>>> quite well but lfs is not able to use it properly due to coding in
>>> configure file itself. i am checking the configure file of binutils now.
>>>
>>>
>>> On Fri, Nov 16, 2012 at 4:14 PM, Raji A.C <r...@nexegen.net> wrote:
>>>
>>>> run this command before starting build apt-get install texinfo
>>>>
>>>>
>>>>
>>>> On Fri, Nov 16, 2012 at 4:07 PM, prashant dawar <
>>>> prashantdawar.2...@gmail.com> wrote:
>>>>
>>>>>  here is the output of the Result of version check.sh on ubuntu 12.04
>>>>> bash, version 4.2.24(1)-release
>>>>> /bin/sh -> /bin/dash
>>>>> Binutils: (GNU Binutils for Ubuntu) 2.22
>>>>> bison (GNU Bison) 2.5
>>>>> /usr/bin/yacc -> /usr/bin/bison.yacc
>>>>> bzip2,  Version 1.0.6, 6-Sept-2010.
>>>>> Coreutils:  8.13
>>>>> diff (GNU diffutils) 3.2
>>>>> find (GNU findutils) 4.4.2
>>>>> GNU Awk 3.1.8
>>>>> /usr/bin/awk -> /usr/bin/gawk
>>>>> gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>>>>> (Ubuntu EGLIBC 2.15-0ubuntu10.3) 2.15
>>>>> grep (GNU grep) 2.10
>>>>> gzip 1.4
>>>>> Linux version 3.2.0-32-generic-pae (buildd@roseapple) (gcc version
>>>>> 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #51-Ubuntu SMP Wed Sep 26 21:54:23
>>>>> UTC 2012
>>>>> m4 (GNU M4) 1.4.16
>>>>> GNU Make 3.81
>>>>> patch 2.6.1
>>>>> Perl version='5.14.2';
>>>>> GNU sed version 4.2.1
>>>>> tar (GNU tar) 1.26
>>>>> version-check.sh: line 30: makeinfo: command not found
>>>>> Texinfo:
>>>>> xz (XZ Utils) 5.1.0alpha
>>>>> gcc compilation OK
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Nov 15, 2012 at 8:47 PM, Carl Thorn <thor...@yahoo.com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------
>>>>>> *From:* prashant dawar <prashantdawar.2...@gmail.com>
>>>>>> *To:* lfs-support@linuxfromscratch.org
>>>>>> *Sent:* Thu, November 15, 2012 6:15:55 AM
>>>>>> *Subject:* [lfs-support] please tell the error
>>>>>>
>>>>>> i followed the guide . have a problem in section 5,.4
>>>>>> binutils-2.22-pass1  5.4.1 installation of cross binutils
>>>>>> LFS and LFS_TGT are properly set and permission to binutils-build and
>>>>>> binutils-2.22 directories are 777 and every file in binutils-2.22 are 
>>>>>> also
>>>>>> 777
>>>>>>
>>>>>>
>>>>>> lfs@dell-OptiPlex-780:/mnt/lfs/sources/binutils-build$
>>>>>> /mnt/lfs/sources/binutils-2.22/configure --prefix=/tools
>>>>>> --with-sysroot=$LFS --with-lib-path=/tools/lib --target=$LFS_TGT
>>>>>> --disable-nls --disable-werror
>>>>>> checking build system type... i686-pc-linux-gnu
>>>>>> checking host system type... i686-pc-linux-gnu
>>>>>> checking target system type... i686-lfs-linux-gnu
>>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>>> checking whether ln works... yes
>>>>>> checking whether ln -s works... yes
>>>>>> checking for a sed that does not truncate output... /bin/sed
>>>>>> checking for gawk... gawk
>>>>>> checking for gcc... gcc
>>>>>> checking for C compiler default output file name...
>>>>>> configure: error: in `/mnt/lfs/sources/binutils-build':
>>>>>> configure: error: C compiler cannot create executables
>>>>>> See `config.log' for more details.
>>>>>> lfs@dell-OptiPlex-780:/mnt/lfs/sources/binutils-build$
>>>>>>
>>>>>>
>>>>>>
>>>>>> config.log file is attached. help please.
>>>>>>
>>>>>>
>>>>>> I am not one of the pros here but from what I see you are using Ubuntu
>>>>>> as your host system. I compiled my LFS-7.2 using Ubuntu as my host system
>>>>>> as well. But I had to install some packages that were missing from Ubuntu
>>>>>> before I began my build. If you didn't run the version-check script in
>>>>>> vii-Host System Requirements, you need to do so and then install any
>>>>>> missing packages.
>>>>>>
>>>>>> --
>>>>>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>>>>>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>>>>>> Unsubscribe: See the above information page
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>>>>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>>>>> Unsubscribe: See the above information page
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Best Regards
>>>> *Raji  A C*
>>>> Nexegen Consultancy Service
>>>> 2nd Floor.Lan-Ship Mall,
>>>> Mavoor Road Jn,
>>>> Bank Road,Calicut-673001,
>>>> Kerala,India
>>>> mail : r...@nexegen.net <nay...@nexegen.net>
>>>>
>>>>
>>>>
>>>> --
>>>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>>>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>>>> Unsubscribe: See the above information page
>>>>
>>>>
>>>
>>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
>http://linuxfromscratch.org/pipermail/lfs-support/attachments/20121116/7c4e8a29/attachment-0001.html
> 
>
>------------------------------
>
>Message: 2
>Date: Fri, 16 Nov 2012 04:38:44 -0800 (PST)
>From: Fernando de Oliveira <fam...@yahoo.com.br>
>Subject: Re: [lfs-support] please tell the error
>To: LFS Support List <lfs-support@linuxfromscratch.org>
>Message-ID:
>       <1353069524.7408.yahoomailclas...@web162905.mail.bf1.yahoo.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>--- Em sex, 16/11/12, prashant dawar escreveu:
>
>
>> De: prashant dawar
>> Assunto: Re: [lfs-support] please tell the error
>> Para: "LFS Support List"
>> Cc: thor...@yahoo.co
>> Data: Sexta-feira, 16 de Novembro de 2012, 7:37
>
>Please, do not top post (do not write reply above all message).
>
>If one test fails, you are heading into problems.
>
>>? here is the output of the Result of version check.sh on ubuntu 12.04
>> bash, version 4.2.24(1)-release
>> /bin/sh -> /bin/dash
>
>This is wrong and problems can be found for that in the archives. The
>link should point to /bin/bash
>
>> version-check.sh: line 30: makeinfo: command not found
>> Texinfo:
>
>This is wrong, and the solution has been given:
>
>--- Em sex, 16/11/12, Raji A.C escreveu:
>
>
>> De: Raji A.C
>> Assunto: Re: [lfs-support] please tell the error
>> Para: "LFS Support List"
>> Data: Sexta-feira, 16 de Novembro de 2012, 7:44
>
>> run this command before starting build apt-get install texinfo
>
>Yes. 
>
>??????????? sudo apt-get install texinfo
>?????????? ?
>??????????? sudo ln -sv -f bash /bin/sh
>
>[]s,
>Fernando
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
>http://linuxfromscratch.org/pipermail/lfs-support/attachments/20121116/88bc397e/attachment-0001.html
> 
>
>------------------------------
>
>Message: 3
>Date: Fri, 16 Nov 2012 12:50:26 -0600
>From: Bruce Dubbs <bruce.du...@gmail.com>
>Subject: Re: [lfs-support] Grub 2.0 problem
>To: LFS Support List <lfs-support@linuxfromscratch.org>
>Message-ID: <50a68af2.3080...@gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Tobias Gasser wrote:
>
>> what is NOT what i expect
>>
>> 1) there is no load.cfg, but maybe that's ok
>> 2) the prefix is WRONG, it should be either "/boot" or "(hd0,msdos1)"
>>
>> i went back to line 642 an got
>> drive: (hostdisk//dev/sda,msdos1)
>> and after the sed
>> partition: ,msdos1
>> drive: hostdisk//dev/sda
>>
>> i now just added
>> prefix_drive="(hd0,msdos1)"
>> in line 717 to force the correct value
>>
>> bash-4.2# ./grub-install /dev/sda
>
>> /usr/bin/grub-mkimage -d /usr/lib/grub/i386-pc -O i386-pc
>> --output=/boot/grub/i386-pc/core.img --prefix=(hd0,msdos1)/grub biosdisk
>> ext2 part_msdos
>>
>> which looks more reasonable to me.
>
>I agree. That's what I would have done also.
>
>>> Finally, it runs grub-setup.  See what parameters are being used for
>>> that also.
>>
>>
>> bash-4.2# ./grub-install /dev/sda
>> /usr/sbin/grub-bios-setup --directory=/boot/grub/i386-pc --device-map=
>> /dev/sda
>>
>> (same with and without my inserted line 717)
>>
>>
>> i now run "grub-install /dev/sda" with my inserted line 717.
>> i'll be back in either 2 minutes after sucessful reboot, or 15 minutes
>> id i have to use the live-cd to reinstall grub...
>
>I see it didn't work.
>
>Looking at grub-mkimage --help, another thing to try is running:
>
>/usr/bin/grub-mkimage -d /usr/lib/grub/i386-pc -O i386-pc \
>   --output=/boot/grub/i386-pc/core.img biosdisk ext2 part_msdos
>
>This omits --prefix and defaults to /boot/grub.
>
>Another option to try is just --prefix=/grub
>
>In any case, this command should just create core.img.
>
>You don't mention what the following line translates to:
>
>$grub_setup" ${allow_floppy} ${setup_verbose} ${setup_force} \ 
>--directory="${grubdir}/${grub_modinfo_target_cpu}-$grub_modinfo_platform"\
>--device-map="${device_map}" "${install_device}"
>
>Id think it would be
>
>/usr/sbin/grub-bios-setup --verbose --directory=/boot/grub/i386-pc  \
>     dev/sda
>
>Another thing to try is top manually create /boot/grub/device.map.
>
>echo "(hd0)   /dev/sda" > /boot/grub/device.map
>
>That's a tab between the entries.
>
>
>If you still can't get it to work, the next step is to dig into the 
>source of grub-bios-setup.  I can help with that.
>
>   -- Bruce
>
>
>------------------------------
>
>Message: 4
>Date: Fri, 16 Nov 2012 19:30:57 -0500
>From: alex lupu <alup...@gmail.com>
>Subject: [lfs-support] I'm rc interactively confused
>To: lfs-support@linuxfromscratch.org
>Message-ID:
>       <CAK2d1OaHGsyJ2Cmhz17vDL38qNC54JCqr=nXg9se3qZ=o2y...@mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>In the process of trying to stop the boot sequence right after VFS
>(different story), I took a closer look at '/etc/rc.d/init.d/rc' workings:
>
>1.  I created a file '/etc/sysconfig/rc.site':
>IPROMPT="yes"
>itime=10
>
>2.  In '/etc/rc.d/init.d/rc', right after
>read -t "${itime}" -n 1 interactive 2>&1 > /dev/null
>    (before "fi"), I inserted these three lines:
>
>echo runlevel: $runlevel
>echo interactive: $interactive
>interactive=I
>
>NOTES
> 1. The above "interactive=I" was needed to force an answer read (key I)
> because the second line display told me there was no read.
>
> 2. My keyboard and mouse are USB
>------------------------------------------------------------------------
>RESULT on the screen:
>
>runlevel: S
>interactive:
>Run /etc/rc.d/rcS.d/S00mountvirtfs start (Yes/no/continue)?
>
>At this point the machine is unresponsive.
>
>Am I missing something?
>Should I put something in '/etc/sysconfig/modules', etc.?
>Etc.?
>
>Reference:  lfs-bootscripts-20121013
>
>Thanks,
>-- Alex
>
>
>------------------------------
>
>Message: 5
>Date: Fri, 16 Nov 2012 21:26:20 -0600
>From: Bruce Dubbs <bruce.du...@gmail.com>
>Subject: Re: [lfs-support] I'm rc interactively confused
>To: LFS Support List <lfs-support@linuxfromscratch.org>
>Message-ID: <50a703dc.7040...@gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>alex lupu wrote:
>> In the process of trying to stop the boot sequence right after VFS
>> (different story), I took a closer look at '/etc/rc.d/init.d/rc' workings:
>>
>> 1.  I created a file '/etc/sysconfig/rc.site':
>> IPROMPT="yes"
>> itime=10
>
>That's correct.
>
>> 2.  In '/etc/rc.d/init.d/rc', right after
>> read -t "${itime}" -n 1 interactive 2>&1 > /dev/null
>>      (before "fi"), I inserted these three lines:
>>
>> echo runlevel: $runlevel
>> echo interactive: $interactive
>> interactive=I
>>
>> NOTES
>>   1. The above "interactive=I" was needed to force an answer read (key I)
>>   because the second line display told me there was no read.
>
>$interactive is not set until the read command completes.  It shouldn't 
>need to be set in the script.
>
>>   2. My keyboard and mouse are USB
>> ------------------------------------------------------------------------
>> RESULT on the screen:
>>
>> runlevel: S
>> interactive:
>> Run /etc/rc.d/rcS.d/S00mountvirtfs start (Yes/no/continue)?
>>
>> At this point the machine is unresponsive.
>
>I don't know why it would be unresponsive.  Line 58 should be:
>
>read -p "Run ${1} ${2} (Yes/no/continue)? " -n 1 runit
>
>which actually only needs one character: c, n, or y.  Any other 
>character should reprompt.  When I wrote this over a year ago it tested 
>out OK, but I haven't received any feedback about it until now.
>
> From the two issues, it sounds like the keyboard is not being 
>recognized.  The only thing I can think of is that there is a kernel 
>issue.  There is nothing between the kernel and the rc script.
>
>   -- Bruce
>
>
>
>------------------------------
>
>Message: 6
>Date: Sat, 17 Nov 2012 00:22:01 -0500
>From: alex lupu <alup...@gmail.com>
>Subject: [lfs-support] I'm rc interactively confused
>To: lfs-support@linuxfromscratch.org
>Message-ID:
>       <cak2d1oajbfrjkxx2-e8_trczw9+kt8tu8tx4j2ojhyu0+mp...@mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Hi Bruce,
>
>Bruce:
> read -t "${itime}" -n 1 interactive 2>&1 > /dev/null
>
> $interactive is not set until the read command completes.
> It shouldn't need to be set in the script.
>
>Alex:
>This is kind of a chicken and egg situation.
>If for some reason (say, unknown to us mortals as yet) the 'read'
>does NOT read the keyboard, then the "interactive" remains unset,
>as I noticed in real life.  Thus, my artificially "forcing" a value
>to "interactive" on the third line.
>The "reason" is then reinforced by the later unresponsiveness
>that can be witnessed at the "(Yes/no/continue)" point.
>
>My guess was that at the "S" level (as confirmed by the display line,
> runlevel: S
>)
>the USB keyboard (and mouse) had not been recognized by my system.
>
>This is why I'm not sure that, based on the latest LFS boot
>configuration maybe some sort of Udev (or other phenomenon) can actually
>detect the USB input devices for people more up-to-date on it.
>
>Cheers,
>-- Alex
>
>
>------------------------------
>
>-- 
>http://linuxfromscratch.org/mailman/listinfo/lfs-support
>FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>Unsubscribe: See the above information page
>
>
>End of lfs-support Digest, Vol 2726, Issue 1
>********************************************

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to