[lfs-dev] linux-3.4 needs patch to build

2012-05-29 Thread Fernando de Oliveira
Recently, some issues related to linux-3.4 and iptables have been discussed in the support list for blfs. When trying to upgrade the kernel of other LFS machines, LFS6.8 failed to build linux-3.4, with error message: quote RELOCS arch/x86/boot/compressed/vmlinux.relocs Invalid absolute

Re: [lfs-dev] linux-3.4 needs patch to build

2012-05-29 Thread Matthew Burgess
On Tue, 29 May 2012 09:02:17 -0700 (PDT), Fernando de Oliveira fam...@yahoo.com.br wrote: Digging into this since yesterday evening, discovered first that 3.4 is dev and stable version is 3.3.7, second, the error is well known:

Re: [lfs-dev] linux-3.4 needs patch to build

2012-05-29 Thread Fernando de Oliveira
--- Em ter, 29/5/12, Matthew Burgess escreveu: De: Matthew Burgess Assunto: Re: [lfs-dev] linux-3.4 needs patch to build Para: LFS Developers Mailinglist Data: Terça-feira, 29 de Maio de 2012, 13:07 On Tue, 29 May 2012 09:02:17 -0700 (PDT), Fernando de Oliveira wrote: Digging into this

Re: [lfs-dev] linux-3.4 needs patch to build

2012-05-29 Thread Bruce Dubbs
Fernando de Oliveira wrote: Finally, this morning, re-read with care the message: http://www.spinics.net/lists/linux-next/msg20578.html and made a patch. Build succeeded with the attached patch, which was applied with patch -Np1 -i

Re: [lfs-dev] linux-3.4 needs patch to build

2012-05-29 Thread Fernando de Oliveira
--- Em ter, 29/5/12, Fernando de Oliveira escreveu: I am grateful for your contributions to us all using (B)LFS. Perhaps a better word would thankful. Hope you understand what I mean []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ:

Re: [lfs-dev] linux-3.4 needs patch to build

2012-05-29 Thread Fernando de Oliveira
--- Em ter, 29/5/12, Bruce Dubbs escreveu: De: Bruce Dubbs Assunto: Re: [lfs-dev] linux-3.4 needs patch to build Para: LFS Developers Mailinglist Data: Terça-feira, 29 de Maio de 2012, 13:33 Fernando de Oliveira wrote: Finally, this morning, re-read with care the message:

Re: [lfs-dev] linux-3.4 needs patch to build

2012-05-29 Thread Bruce Dubbs
Fernando de Oliveira wrote: --- Em ter, 29/5/12, Fernando de Oliveira escreveu: I am grateful for your contributions to us all using (B)LFS. Perhaps a better word would thankful. Hope you understand what I mean For those of us working with many people around the world and who also only

Re: [lfs-dev] linux-3.4 needs patch to build

2012-05-29 Thread Ken Moffat
On Tue, May 29, 2012 at 10:07:38AM -0600, Matthew Burgess wrote: On Tue, 29 May 2012 09:02:17 -0700 (PDT), Fernando de Oliveira fam...@yahoo.com.br wrote: Digging into this since yesterday evening, discovered first that 3.4 is dev and stable version is 3.3.7, second, the error is well

Re: [lfs-dev] [LFS Trac] #3098: udev/systemd 183 is out

2012-05-29 Thread Bruce Dubbs
OK, I've been able to build udev from the systemd sources in the LFS Chapter 6 environment. Here is the procedure: 1. Place make.sh and cfg.h in the top level systemd directory 2. Comment out an unneeded header that we don't have sed -i -e 's#^.*capability.h#//#' src/shared/util.c 3. Run

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-29 Thread Ken Moffat
On Mon, May 28, 2012 at 05:07:17PM -0500, Bruce Dubbs wrote: Ken Moffat wrote: 8. The following have gone: rule_generator.functions write_cd_rules write_net_rules I noticed that too, but they are all ascii. /lib/udev/rules.d/75-cd-aliases-generator.rules reverences

Re: [lfs-dev] [LFS Trac] #3098: udev/systemd 183 is out

2012-05-29 Thread Bruce Dubbs
Bruce Dubbs wrote: I still need to create install.sh This is what I came up with: --- cd build SBIN=/sbin UDEVLIBEXECDIR=/lib/udev cp -v udevadm $SBIN mkdir -p $UDEVLIBEXECDIR/{rules.d,devices/pts} mknod -m 0666 $UDEVLIBEXECDIR/devices/null c 1 3 cp -v udevd accelerometer

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-29 Thread Bruce Dubbs
Ken Moffat wrote: On Mon, May 28, 2012 at 05:07:17PM -0500, Bruce Dubbs wrote: Ken Moffat wrote: 8. The following have gone: rule_generator.functions write_cd_rules write_net_rules I noticed that too, but they are all ascii. /lib/udev/rules.d/75-cd-aliases-generator.rules reverences

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-29 Thread Ken Moffat
On Tue, May 29, 2012 at 03:01:57PM -0500, Bruce Dubbs wrote: Ken Moffat wrote: On Mon, May 28, 2012 at 05:07:17PM -0500, Bruce Dubbs wrote: Ken Moffat wrote: 8. The following have gone: rule_generator.functions write_cd_rules write_net_rules I noticed that too, but they are all

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-29 Thread Bruce Dubbs
Ken Moffat wrote: You seem to be making good progress here. I've only managed to do a DESTDIR install for the accelerometer ... v4l_id batch of programs and for libudev.* : Haven't managed to build udevadm or systemd-udevd without DBUS at the moment. I'll take a look at your details later,

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-29 Thread Bruce Dubbs
Ken Moffat wrote: You seem to be making good progress here. Try the attached patch. tar -xf systemd-183.tar.xz cd systemd-183 patch -Np1 -i ../systemd-lfs.patch sh make.sh sh install.sh install.log It ran with only one minor warning (easily fixed) in install.sh from the lfs chapter 6

Re: [lfs-dev] linux-3.4 needs patch to build

2012-05-29 Thread Andrew Benton
On Tue, 29 May 2012 17:52:34 +0100 Fernando de Oliveira fam...@yahoo.com.br wrote: Now, I see i forgot the patch? Please, find it attached If you decide to use it (3.4 compiles fine for me BTW), the change could be made with a sed: sed -i '/__iommu_table/a\\t(jiffies|jiffies_64)|' \

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-29 Thread Bruce Dubbs
Bruce Dubbs wrote: Continuing to section 7.2 I ran into a problem pretty quickly: root:/# echo /sys/class/net/* /sys/class/net/eth0 /sys/class/net/lo /sys/class/net/sit0 /sys/class/net/tunl0 root:/# INTERFACE=/sys/class/net/eth0 udevadm test --action=add /sys/class/net/eth0 The

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-29 Thread Armin K.
On 05/30/2012 02:48 AM, Bruce Dubbs wrote: Bruce Dubbs wrote: It does not write anything to /etc/udev/rules.d/70-persistent-net.rules (or anywhere else AFAICT). -- Bruce It does not write by default in /etc/udev/rules.d ... They have to be moved manualy from /run/udev, where they are

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-29 Thread Ken Moffat
On Tue, May 29, 2012 at 04:43:43PM -0500, Bruce Dubbs wrote: Ken Moffat wrote: You seem to be making good progress here. I've only managed to do a DESTDIR install for the accelerometer ... v4l_id batch of programs and for libudev.* : Haven't managed to build udevadm or systemd-udevd

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-29 Thread Bruce Dubbs
Armin K. wrote: On 05/30/2012 02:48 AM, Bruce Dubbs wrote: Bruce Dubbs wrote: It does not write anything to /etc/udev/rules.d/70-persistent-net.rules (or anywhere else AFAICT). It does not write by default in /etc/udev/rules.d ... They have to be moved manualy from /run/udev, where they

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-29 Thread Bruce Dubbs
Bruce Dubbs wrote: Ken Moffat wrote: You seem to be making good progress here. Try the attached patch. tar -xf systemd-183.tar.xz cd systemd-183 patch -Np1 -i ../systemd-lfs.patch sh make.sh sh install.sh install.log It ran with only one minor warning (easily fixed) in

Re: [lfs-dev] [LFS Trac] #3098: udev/systemd 183 is out

2012-05-29 Thread Bryan Kadzban
Bruce Dubbs wrote: I came up with one problem that I need advice on. I can't build the keymap program becasue I'm missing keys-from-name.h and keys-to-name.h. The systemd configure/make command generates them using gperf. In udev-182, there are over 70 entries in src/keymap/keymaps. This

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-29 Thread Bryan Kadzban
Bruce Dubbs wrote: /lib/udev/rules.d/99-systemd.rules:46 We probably need to delete this file. :-) signature.asc Description: OpenPGP digital signature -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-29 Thread Bryan Kadzban
Bruce Dubbs wrote: I got rid of the systemd-sysctl problem by deleting /lib/udev/rules.d/99-systemd.rules. ...Arrrg, forgot to reread the thread to the end. :-) (Yeah, we'll need to pull in the write_{net,cd}_rules stuff from either udev-182, or -- probably better since it'll be maintained

Re: [lfs-dev] [LFS Trac] #3098: udev/systemd 183 is out

2012-05-29 Thread Bryan Kadzban
Bryan Kadzban wrote: Bruce Dubbs wrote: I came up with one problem that I need advice on. I can't build the keymap program becasue I'm missing keys-from-name.h and keys-to-name.h. The systemd configure/make command generates them using gperf. In udev-182, there are over 70 entries in

Re: [lfs-dev] LFS SVN and Systemd Report

2012-05-29 Thread Bruce Dubbs
Bruce Dubbs wrote: Bruce Dubbs wrote: Ken Moffat wrote: You seem to be making good progress here. Try the attached patch. tar -xf systemd-183.tar.xz cd systemd-183 patch -Np1 -i ../systemd-lfs.patch sh make.sh sh install.sh install.log It ran with only one minor warning (easily

Re: [lfs-dev] [LFS Trac] #3098: udev/systemd 183 is out

2012-05-29 Thread Bryan Kadzban
Bryan Kadzban wrote: Bryan Kadzban wrote: Let me see if I can hack anything up. Still poking. OK (now that I'm replying to myself here :-) ), I think I have something that's looking promising. This makes it all the way through configure, and part of the way through make udevd, without

Re: [lfs-dev] [LFS Trac] #3098: udev/systemd 183 is out

2012-05-29 Thread Bryan Kadzban
Bryan Kadzban wrote: Upgrading kmod now; will see what I hit next. This might just work; let's see. :-) Got it to compile all the binaries (I think) we need, by removing a couple of totally unnecessary dependencies from libsystemd-label. :-) Reformatting ./configure so the flags look