Re: [lfs-support] Problem Booting New Kernel

2012-04-06 Thread Thomas de Roo
On 04/06/12 18:07, Bruce Dubbs wrote:
> Kshitij Jain wrote:
>> On Wed, Apr 4, 2012 at 9:43 PM, Andrew Benton  wrote:
>>
>>> On Wed, 04 Apr 2012 16:54:08 +0100
>>> Kshitij Jain  wrote:
>>>
 After Configuring the Gruband restarting the system my system
>>> grub
 menu shows and kernel boots. After few seconds it stops loading on
 following snapshot shows the booting
>>> > From the image the kernel has clearly not found the root partition.
>>> What was the kernel command line from grub.cfg? What does the partition
>>> table look like? Which partition were you trying to use as your root?
>>>
>>> The image appears to be a screenshot which suggests that this was done
>>> in a virtual machine. I've never used a virtual machine so I can't help
>>> if that's the source of the problem.
>> My Partition Table
>>
>> [root@localhost ~]# parted /dev/sda print
>> Model: VMware, VMware Virtual S (scsi)
>> Disk /dev/sda: 32.2GB
>> Sector size (logical/physical): 512B/512B
>> Partition Table: gpt-not MBR
>>
>> Number  Start   End SizeFile system Name  Flags
>>   1  1049kB  2097kB  1049kBbios_grub
>>   2  2097kB  526MB   524MB   ext4ext4  boot
>>   3  526MB   16.5GB  16.0GB  ext4
>>   4  16.5GB  30.1GB  13.6GB  ext3
>>   5  30.1GB  32.2GB  2097MB  linux-swap(v1)
>>
>> Lfs system is installed in /dev/sda4-ext3
>> set root=(hd0,4)
>> menuentry "GNU/Linux, Linux 3.1-AAKAR-1.0" {
>> linux /boot/vmlinuz-3.1-AAKAR-1.0 root=/dev/sda4 ro
>> }
> It appears that GRUB is doing it's job, but the kernel does not have the
> appropriate HW drivers for VMware's emulation.  If you have another
> VMware system that works, boot to that and run both lspci and lsmod to
> see what that system is being loaded.  Then rebuild your kernel ensuring
> the proper drivers are built into the kernel.
>
> -- Bruce
If you compare VMware VM's, make sure they use the same virtual 
hardware, in this case the same SCSI controller.

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


Re: [lfs-support] Reduce Size Of LFS Build

2012-04-11 Thread Thomas de Roo

On 04/11/12 12:26, Kshitij Jain wrote:
On Tue, Apr 10, 2012 at 3:28 PM, DJ Lucas > wrote:


On 04/10/2012 02:10 AM, Kshitij Jain wrote:
> Hi
> I am a student and working on building LFS as a project I have
already
> build the Linux but i want to reduce the size of the system to
minimum.
> Can u please suggest me ways to reduce the size of LFS.
>

Your question is a bit ambiguous. The solution really depends on the
goal of the system. Take an embedded system for example. You would
likely want to use uClibC as suggested by Firerat, but busybox is
certainly a matter of taste. It may actually be more responsible to
build the few utilities you need linked statically and forgo the
typical
environment completely. At an absolute minimum, you need only a kernel
and a statically linked binary to run as init (granted, it wouldn't be
very functional), but a kernel with no modules, a statically
linked ash
or dash, and a supported file system (with static device nodes) do
equate to a functional (read-only) system. In fact, we used to use
this
method many many moons ago for LFS itself. The first test reboot
of LFS
had only sysvinit and bash statically linked, and that could have
easily
been reduced to just bash if desired (either 'ln -s /bin/bash
/sbin/init' or init=/bin/bash in LILO). Yes, I had to review 1.0
(which
I never completed) to remember exactly how it was done.
http://archive.linuxfromscratch.org/lfs-museum/1.0/LFS-HOWTO-1.0-HTML/

 Sir,
 I've already prepared the lfs system and it is working perfectly.
I just want reduce the size of the whole system (so that it is easy to 
migrate) by deleting files and folders like /sources and /tools which 
is not useful anymore.


Suggest me some files that i can remove.It may include help files and 
documentation files.


Thank u
Kshitij Jain.



If you don't care about having documentation of the installed software 
around on your LFS-system, you can remove it:

/usr/share/doc/* and /usr/share/man/*

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


Re: [lfs-support] wget-list update

2012-05-08 Thread Thomas de Roo
On 05/08/12 06:14, Eleanore Boyd wrote:
> http://sourceforge.net/projects/libpng/files/zlib/1.2.6/zlib-1.2.6.tar.bz2/download
>
Just remove the "/download" from the end of the URL, and you can wget 
the tarball from Sourceforge.

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


Re: [lfs-support] wget-list update

2012-05-08 Thread Thomas de Roo
On 05/08/12 13:31, Eleanore Boyd wrote:
> On 5/8/2012 3:08 AM, Thomas de Roo wrote:
>> On 05/08/12 06:14, Eleanore Boyd wrote:
>>> http://sourceforge.net/projects/libpng/files/zlib/1.2.6/zlib-1.2.6.tar.bz2/download
>>>
>> Just remove the "/download" from the end of the URL, and you can wget
>> the tarball from Sourceforge.
>>
>> Groet,
>> Thomas
>  How often do the rest of you pay attention to the URL you're 
> following? When going through sourceforge.net proper, the link I 
> provided is /*the */link. It's going to redirect to that URL whether 
> you think it should or not.
>
> Elly
>
And wget will give you a file called "download" (with the 
tarball-contents)  unless you specify the outputfile. That's why _I_ 
rather use the URL without the "/download". It redirects OK and gives 
the right outputfile using wget ;)

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


Re: [lfs-support] Virtual box

2012-11-05 Thread Thomas de Roo
On 11/05/12 08:27, Rahul Udasi wrote:
> Hi, has anyone built lfs on a virtual machine?
>
>
> Sent from my BlackBerry device on the Rogers Wireless Network
>
I have built LFS on VMware Player, VMware Sserver, VMware ESXi and 
VirtualBox. The snapshot-feature is great, use it!

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


Re: [lfs-support] What Is "The" LFS Partition?

2012-11-07 Thread Thomas de Roo
 

-Oorspronkelijk bericht-
Van: Bruce Dubbs 
Verzonden: wo 07-11-2012 00:25
Onderwerp: Re: [lfs-support] What Is "The" LFS Partition?
Aan: LFS Support List ; 
Ken Moffat wrote:
> On Tue, Nov 06, 2012 at 03:43:57PM -0600, Bruce Dubbs wrote:
>>
>> I'd change /usr to /home, otherwise it's OK.
>
>   I'm _dubious_ about separating /opt : I tried that when I first set
> aside an old machine for LFS, but it seems to me that almost
> everything built in /opt will link to files in /usr/lib.  Therefore,
> it will probably cause pain if I try to share it between systems.

That's true.  On one of my systems, I do have a separate /opt just for 
space reasons.  I had several versions of java, xorg, kde, and qt and 
space was getting tight on the root fs.  That can be easier than trying 
to grow a partition in place.

  -- Bruce


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

I make a separate partition for /var/log. I've had too many times log-files 
that grew so large that they crashed the OS by filling / to 100%. (I do use 
logrrotate and yet it still happens sometimes...)

 
Groet,

Thomas

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


[lfs-support] http://tukaani.org/xz/xz-5.0.4.tar.xz

2012-11-23 Thread Thomas de Roo
Hi all,

Does anybody know of an alternative source for xz? 
http://tukaani.org/xz/xz-5.0.4.tar.xz seems to be down.

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


Re: [lfs-support] http://tukaani.org/xz/xz-5.0.4.tar.xz

2012-11-24 Thread Thomas de Roo
On Fri, 23 Nov 2012, William Harrington wrote:

>
> On Nov 23, 2012, at 4:23 PM, Thomas de Roo wrote:
>
>> Hi all,
>>
>> Does anybody know of an alternative source for xz?
>> http://tukaani.org/xz/xz-5.0.4.tar.xz seems to be down.
>>
>> Groet,
>> Thomas
>> --
>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>> Unsubscribe: See the above information page
> It's not the only site that blew up today.
>
> Use an LFS mirror described here: 
> http://www.linuxfromscratch.org/lfs/download.html
>
> Sincerely,
>
> William Harrington
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
>
Thank you!

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


Re: [lfs-support] Query regarding displaying of Images on console.

2012-11-26 Thread Thomas de Roo
 

-Oorspronkelijk bericht-
Van:Anurag Paliwal 
Verzonden:ma 26-11-2012 11:43
Onderwerp:[lfs-support] Query regarding displaying of Images on console.
Bijlage:inline.txt
Aan:lfs-support@linuxfromscratch.org; 
 


 
Hi guys,
As I selected to have a tux logo to be seen at time of booting my LFS system, 
it is clear that it does support rendering images on screen. My question is how 
can I use this functionality to display some other images on console?
 Thanks.
  

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


Re: [lfs-support] Query regarding displaying of Images on console.

2012-11-26 Thread Thomas de Roo
 

I suggest you search the internet for svgalib and sdl.

 
 
Groet,


Thomas 

-Oorspronkelijk bericht-
Van:Anurag Paliwal 
Verzonden:ma 26-11-2012 11:43
Onderwerp:[lfs-support] Query regarding displaying of Images on console.
Bijlage:inline.txt
Aan:lfs-support@linuxfromscratch.org; 
 


 
Hi guys,
As I selected to have a tux logo to be seen at time of booting my LFS system, 
it is clear that it does support rendering images on screen. My question is how 
can I use this functionality to display some other images on console?
 Thanks.
 -- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Booting into LFS chapter 9.2

2012-11-28 Thread Thomas de Roo

On 11/28/12 14:45, Kaleb van Ingen Schenau wrote:

Hello,

I'm having trouble booting into the new LFS partition (or harddisk in 
my case).


I've set up the GRUB as descriped in the book, the only changes i've 
put into the grub.cfg is that i had to change the hd0,2 to hd1,1 and i 
changed the root partition to sdb1 to match my setup up.


(ill just list my setup quick)
sda1 (linux host OS)
sdb1 (/ (this is where i installed all the folders such as ,dev , srv, 
usr, etc, and the list goes on)

sdb2 (my 100mb boot partition)
sdb3 (1GB swap)

Now i reboot after unmounting $LFS and i get the grub menu as expected 
and intended.
i press enter to start the boot, the comes up with a massive list of 
things i can only imagine are steps to boot into LFS and it freezes 
with a error or "Kernel panic":
[2.396063] No filesystem could mount root, tried: ext3 vfat 
msdos iso9660
[2.398121] Kernel panic - not syncing: VFS: unable to mount 
root fs on unknown-block (8.17)


then i get a litte list of something i cant make head or tails out of 
and then finishes with atkbd serio0: Sprurious ACK on isa0060/serio0. 
some program might be trying to acces hardware directly.


Any thoughts?

regards,
Kaleb



DId you compile the drivers for the harddrivecontroller into the kernel 
(not as a module)?


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


Re: [lfs-support] I can't access to trash

2012-11-30 Thread Thomas de Roo

On 11/30/12 19:56, Francisco Jesús Navarro Cortés wrote:

Hello. Initially i installed gvfs then i got access to trash.
Now i can't go to trash. When i try to go to trash then appears a 
error: "operacion no soportada" in english "Operation not supported".

i don't understand it.
I have install gvfs, polkit-gnome, gamin.
The pcmanfm version is 1.1.0.
I can't go to trash in anythings other archived manager 
(nautilus,spaceFM,rox, etc... )

Sorry for my bad english.
Thanks.



Did you start dbus as explained in the book:
in your ~/.xinitrc

|# Start the D-Bus session daemon
eval `dbus-launch`
export DBUS_SESSION_BUS_ADDRESS

Groet,
Thomas
|


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


Re: [lfs-support] Glibc installation in target machine fails

2012-12-18 Thread Thomas de Roo
On 12/18/12 14:25, Prabhu wrote:
> Hi,
> I successfully chrooted my target machine and I passed all the way 
> upto man-page installation, and I stepped into glibc(chapter 6.9). I 
> performed all the steps till "make" without any error after entering 
> the make check command Its giving me an error.
>
> COMMAND ENTERED*:
>
> make -k check 2>&1 | tee glibc-check-log
> grep Error glibc-check-log
> *
>
> ERROR:
> *
> diff -p -U 0 ../sysdeps/unix/sysv/linux/i386/nptl/libc.abilist 
> /sources/glibc-build/libc.symlist
> --- ../sysdeps/unix/sysv/linux/i386/nptl/libc.abilist 2012-06-30 
> 19:12:34.0 +
> +++ /sources/glibc-build/libc.symlist2012-12-18 11:30:50.0 
> +
> @@ -261 +261 @@ GLIBC_2.0
> - _nl_default_dirname D 0x12
> + _nl_default_dirname D 0x4a
> make[2]: *** [check-abi-libc] Error 1
> make[2]: Leaving directory `/sources/glibc-2.16.0/elf'
> make[1]: *** [elf/tests] Error 2
> make[1]: Leaving directory `/sources/glibc-2.16.0'
> make: *** [check] Error 2
> *
> Since its a check, I ignored it and I performed with the next step 
> that's "*make install*" even this fails and throw me an error as
> *
> *ERROR*:
>
> make[2]: *** No rule to make target 
> `/usr/--disable-profile--enable-add-ons--enable-kernel=2.6.25/lib/libBrokenLocale.so',
>  
> needed by `install-lib-nosubdir'.  Stop.
> make[2]: Leaving directory `/sources/glibc-2.16.0/locale'
> make[1]: *** [locale/subdir_install] Error 2
> make[1]: Leaving directory `/sources/glibc-2.16.0'
> make: *** [install] Error 2*
>
> could someone assist me resolve this.
> -- 
>
> With Regards...
> PRABHU :)
>
>
>
It looks like you missed some spaces in the configure-command.

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


Re: [lfs-support] gcc compile error

2012-12-20 Thread Thomas de Roo
 

-Oorspronkelijk bericht-
Van: Yusuf Yılmaz 
Verzonden: do 20-12-2012 12:36
Onderwerp: [lfs-support] gcc compile error
Bijlage: inline.txt
Aan: lfs-support@linuxfromscratch.org; 
i'm new started to be interested in lfs. when i compiling glibc i got error 
after "make install" command:

 
/usr/bin/install -c /home/yusuf/İndirilenler/glibc-build/posix/getconf 
/tools/bin/getconf.new
mv -f /tools/bin/getconf.new /tools/bin/getconf
LC_ALL=C GETCONF_DIR=/dev/null \
         /home/yusuf/İndirilenler/glibc-build/elf/ld-linux.so.2 --library-path 
/home/yusuf/İndirilenler/glibc-build:/home/yusuf/İndirilenler/glibc-build/math:/home/yusuf/İndirilenler/glibc-build/elf:/home/yusuf/İndirilenler/glibc-build/dlfcn:/home/yusuf/İndirilenler/glibc-build/nss:/home/yusuf/İndirilenler/glibc-build/nis:/home/yusuf/İndirilenler/glibc-build/rt:/home/yusuf/İndirilenler/glibc-build/resolv:/home/yusuf/İndirilenler/glibc-build/crypt:/home/yusuf/İndirilenler/glibc-build/nptl
 /home/yusuf/İndirilenler/glibc-build/posix/getconf 
_POSIX_V7_WIDTH_RESTRICTED_ENVS > 
/home/yusuf/İndirilenler/glibc-build/posix/getconf.speclist.new
Segmentation fault (core dumped)
make[2]: *** [/home/yusuf/İndirilenler/glibc-build/posix/getconf.speclist] 
Error 139
make[2]: Leaving directory `/home/yusuf/İndirilenler/glibc-2.16.0/posix'
make[1]: *** [posix/subdir_install] Error 2
make[1]: Leaving directory `/home/yusuf/İndirilenler/glibc-2.16.0'
make: *** [install] Error 2

 my configure command:
../glibc-2.16.0/configure                             \
      --prefix=/tools                                 \
      --host=$LFS_TGT                                 \
      --build=$(../glibc-2.16.0/scripts/config.guess) \
      --disable-profile                               \
      --enable-add-ons                                \
      --enable-kernel=2.6.5                          \
      --with-headers=/tools/include                   \
      libc_cv_forced_unwind=yes                       \
      libc_cv_ctors_header=yes                        \
      libc_cv_c_cleanup=yes

 
 i do "make" command without an error.
what can i do to fix this problem?

What do 'whoami' and 'ls -l /tools' say? I suspect your user doesn't have 
write-rights on /tools.

 
Groet,

Thomas

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


Re: [lfs-support] ld got lost in 6.10

2012-12-27 Thread Thomas de Roo
On 12/27/12 15:06, Sven Bartscher wrote:
> Hey guys!
> I worked trough th chapter 6 of LFS and come to the point 6.10
> "Adjusting the toolchain" then i got an error "a.out no such file or
> directory" after the command "readelf -l a.out | grep ': /lib'" then i
> tried to fix it myself and did an epic fail! i done the following steps
> again:
> mv -v /tools/bin/{ld,ld-old}
> mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old}
> mv -v /tools/bin/{ld-new,ld}
> ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld
>
> as "mv -v /tools/bin/{ld-new,ld} failed with an error
> ("/tools/bin/ld-new no such file or directory") i noticed that i
> overwrote the backups of ld! and now i don't know how to get them back.
> Can anyone help me?
>
> my LFS version: 7.2
> My host distribution: Ubuntu 12.10 64bit
> my version-check.sh output:
>
> sven@Sven-Ubuntu:~$ bash version-check.sh
> bash, version 4.2.37(1)-release
> /bin/sh -> /bin/dash
> Binutils: (GNU Binutils for Ubuntu) 2.22.90.20120924
> 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 4.0.1
> /usr/bin/awk -> /usr/bin/gawk
> gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
> (Ubuntu EGLIBC 2.15-0ubuntu20) 2.15
> grep (GNU grep) 2.12
> gzip 1.5
> Linux version 3.5.0-21-generic (buildd@allspice) (gcc version 4.7.2
> (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #32-Ubuntu SMP Tue Dec 11 18:51:59 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
> Texinfo: makeinfo (GNU texinfo) 4.13
> xz (XZ Utils) 5.1.0alpha
> gcc compilation OK
> sven@Sven-Ubuntu:~$
/bin/sh -> /bin/dash: That is wrong. /bin/sh should be a link to 
/bin/bash. I'm not sure if that is the cause of your problem though.

I suggest you leave the chroot, su to the lfs-user, and redo chapter 
5.8, without the make and make install.

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


Re: [lfs-support] xz: No such file or directory

2013-01-02 Thread Thomas de Roo
On 01/02/13 13:05, Ken Moffat wrote:
> On Tue, Jan 01, 2013 at 05:15:14PM -0800, JIA Pei wrote:
>> But, what do you mean by *(e.g. leaving the system, and reloading it)  *?
>> do you mean *load and remove a module* ?
>>
>   No, I meant shutting down the system.  Or unmounting the card
> where you are building LFS.
>> BTW, why those USB flash or SD card are not intended for long-term use?
>> What is the trend then? Currently, all popular boards Pandaboard,
>> Beagleboard, RPI, are all using SD card for booting. Can you help to
>> explain why you said that?
>>
>   Solid-state storage has a finite number of read/write cycles.  If
> the filesystem is designed for solid-state storage it will work
> around this.  A regular filesystem such as ext4 or xfs will cause a
> lot of extra writes.
>
>   Embedded boards use these cards because they are small and cheap -
> for development, I guess it is a simple matter to replace the card
> if it wears out.  For deployed embedded linux systems you can set
> them up so that things which write to "disk" write to memory in a
> tmpfs - perhaps without saving it on shutdown.  'Live' distros for
> use on usb sticks will use these techniques.
>
>   So, for a simple system, such as a firewall, I think you can expect
> reasonable life - provided you do not log to the "disk", and do not
> compile on it.  If I was trying this I would develop on a real disk,
> then copy that system to a card once it appeared to work.
>
>   But _building_ a system from source is different - an enormous
> number of files are extracted from tarballs, compiled to object
> files, then linked to new executables and libraries.  This is what
> uses up the erase cycles of the solid-state storage.
>
> ĸen
Going off topic... I was surprised to see the offical Raspberry Pi 
Linuxdistribution Raspbian installs a swapfile on an SD-card. Not a good 
idea I think.

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


Re: [lfs-support] modprobe.d

2013-01-05 Thread Thomas de Roo
On 01/05/13 22:39, Baho Utot wrote:
> Yes I understand where the module loading currently is located in LFS.
> That is why after putting a file under /etc/modprobe.d and it did not
> load, then putting them into /etc/sysconfig/modules and it working lead
> me to this.  That is why I posted.  The book installs usb.conf and the
> system does nothing with it.
>
>
>
Ahhh, that's why uhci_hcd and ohci_hcd aren't loaded on my LFS 
SVN-20121122. I put an extra file in /etc/modprobe.d for vmxnet3, that 
does work though.

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


Re: [lfs-support] 70-persistent rules

2013-01-09 Thread Thomas de Roo
On 01/09/13 13:32, Mike Johnston wrote:
> From: Michael E. Maher 
> To: Mike Johnston 
> Cc: LFS Support List 
> Sent: Wednesday, January 9, 2013 3:55 AM
> Subject: Re: [lfs-support] 70-persistent rules
>
>
> On Tue, 2013-01-08 at 11:03 -0800, Mike Johnston wrote:
>> I'm using LFS 7.2 all built and is running almost fine.
>>
>>
>> I'm trying to get multiple nics with stable names.  I have the
>> 70-persistent-net.rules file set matching on mac addresses.  The
>> problem is the file never seems to take effect.
>>
>>
>> Any ideas what might cause this?  Anything in the kernel need to
>> configured specifically?
>>
>>
>> I had this working beautifully on LFS 6.3
>>
>>
>> Thanks in advance,
>>
>>
>> Could be any number of things
>> What permissions do you have set for the file?
>> Are you sure it is located in the correct directory?
> I>s there anything in the output of dmesg?
>
>> Could you share the contents of the file so we can see if there is
>> something wrong with the formatting?
>
>> Thanks,
>> Michael
>
> Here you go:
>
> Permissions are 644 root ownership located in /etc/udev/rules.d  I'd really 
> prefer to bus address ("KERNELS==") but that doesn't work, so I switched to 
> MAC and still can't get it to work.
> Nothing shows up in dmesg about renaming or anything like that.  It shows the 
> driver finding the NICs and assigning them the names without any respect to 
> my rules.
>
> Here's the contents of the file:
>
> # This file was automatically generated by the /lib/udev/write_net_rules
> # program, run by the persistent-net-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on a single
> # line, and change only the value of the NAME= key.
>
> # net device e1000e
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
> ATTR{address}=="00:25:90:a4:9d:4f", ATTR{dev_id}=="0x0", ATTR{type}=="1", 
> KERNEL=="eth*", NAME="eth1"
>
> # net device e1000e
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
> ATTR{address}=="00:25:90:a4:9d:4e", ATTR{dev_id}=="0x0", ATTR{type}=="1", 
> KERNEL=="eth*", NAME="eth0"
>
>
>
> Thanks again
>
Have you tried to put the rule for eth0 first, and the rule for eth1 second?

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


Re: [lfs-support] Boot Issues

2013-09-26 Thread Thomas de Roo
Booting from USB is for most BIOSes only supported for FAT-filesystems. You 
probably need to do something with initramfs or initrd.

Regards,
Thomas

-Original Message-
From: lfs-support-boun...@linuxfromscratch.org 
[mailto:lfs-support-boun...@linuxfromscratch.org] On Behalf Of Casey Daniels
Sent: donderdag 26 september 2013 06:23
To: LFS Support List
Subject: [lfs-support] Boot Issues

I've followed the book word for word and now I'm having some booting 
issues.  I've tried to boot off a USB Thumb Drive, an SD Card, and when 
its running through the boot proccess it keeps telling me that there is 
an unknown partition type, and therefore can't mount the root fs.

I've redone the parition table on both media a few times, verifiy its 
MS-DOS MBR type.  I've formarted the file system again and recopied 
everything on there.  I've built the kernel with no modules, all inline, 
and have just about everything you can think of marked.

Interesting note, used to be able to grub-install /dev/sda from in side 
the chroot, but now for some reason it won't let me do that, I get a 
warning stating that /boot/grub won't be aviable at boot time so its 
aborting.


Thank You,
Casey
-- 
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


[lfs-support] Getting a working kernel

2014-03-05 Thread Thomas de Roo
Hello,

Getting a working kernel the easy way, I use those steps:

make mrproper &&
#cp /boot/config-VERSION .config &&
#cat /proc/config.gz | gunzip > .config
make oldconfig &&
make localyesconfig &&
make &&
make modules_install &&
make firmware_install

(Step 2 or 3 depend on the host.)

This way, I'm sure to get all the required drivers compiled in, without
needing to go through all the options in a "make menuconfig". Maybe
something like this could be suggested in the book?

Of course it's entertaining and educational to use "make menuconfig", but
sometimes I just want the kernel to work ;)

Regards,
Thomas

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