Re: [lfs-support] Can't access my sources directory to install build files

2013-06-21 Thread Jan-Christoph Bornschlegel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Am 03.06.2013 01:32, schrieb scott maxwell:
> Sorry about the top posting. I have never posted to an email forum 
> like this before and had no idea what you were writing about. My 
> smart wife came to the rescue.  Thank you all for your help.

A simple web search with your favourite browser and your favourite
search engine using the term "top post{,ing}" should take you to this
article:
https://en.wikipedia.org/wiki/Posting_style

more or less immediately. BTW, Bruce's signature line comes from there.

When you started bottom posting, you added your text under Bruce's
signature. At least _my_ email client shows signature lines in light
grey and it is hard to recognise if any new text comes there.

Smart mail clients are able to omit signature lines when you hit
"reply". Thunderbird and KMail did this correctly for some time.
You might want to look in your email client's configuration. If you are
in a linux user group already, the easiest thing may be asking for help
there.

So much for email client rant ;)

I personally built my first few LFS systems (that was 6.3/6.4) more or
less alone, but I had some background already. I would not recommend
LFS as linux "first time", except you're prepared for some pain :)


cheers
Jan

- -- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (MingW32)

iEYEAREIAAYFAlHEQIcACgkQ5VWs0ONOHPlRaQCgg605AEYOm5dp3wUk8q+gq7Wi
xn0AnAtFel6KbVSnNT4CNTO7zbDQubta
=pwBm
-END PGP SIGNATURE-
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Installing initrd

2009-11-19 Thread Jan-Christoph Bornschlegel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

Shirley Temple schrieb:
> My only two options for my scsi host system is to either compile the
> drivers into the kernel at make time or to add initrd, I believe? I
> checked out on google about compiling the drivers into the kernel and it
> looked above my level.

Yes, that rings a bell :)

I had exactly the same trouble here, but I did exactly the other way. It
is not as difficult as it sounds.
In my particular case the driver(s) for my IDE controller(s) were wrong.
To find out the exact driver versions you need there are two helpful things.

1) The help text in the menuconfig. There are for most cases (e.g. "old
Promise PATA controllers") version information which you can match with
the things that...
2) ...hwinfo tells you.

I admit it is a bit of work becasue you may be ending up browsing a lot
of driver help texts to find the right ones. But you'll find the
cleanest solution.
Ah, and don't ever use modules, because then you'll end up having to use
initrd/initramfs anyway.

Cheers,
Jan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksGS2sACgkQ5VWs0ONOHPkKRQCfWm082Ng2Yg4M5SQNJC87W3X3
PG8AoKh8yflACna7XRMQsuOhS42W+gfs
=DyuR
-END PGP SIGNATURE-
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: boot problem LFS 6.5

2009-11-23 Thread Jan-Christoph Bornschlegel
Hei there,

Simone Dalmasso schrieb:
> Hi, I had a similar problem and the solution was to recompile the kernel
> with the correct driver for the hard disk.

Just for the sake of completeness (because I went through the same kind
of problem), you also need the correct driver for the IDE (or SATA)
controllers (and the filesystem -- ext2 was disabled by default in my case).

I suggest using hwinfo to find out the details, sometimes it's just a
little difference in the minor version number.

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


Re: grub problem

2009-11-23 Thread Jan-Christoph Bornschlegel
Hej,

su.sinnes schrieb:
> i have recompiled the kernel 4 times now and i have selected all SATA 
> drivers, and ext 2 filesystem.
> but no luck.

Just for clarity: the drivers are compiled in the kernel statically?

Second thing, maybe the drivers you have in LFS handle device names
differently and so, if you have more harddisks, what is (hd1,2) when
installing grub might turn out to be (hd0,2) when booting LFS (happens
if you have some ancient IDE controllers for example).

So you could start a grub shell when booting LFS and try "root (hd
to see what's there, then fix it accordingly.


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


Re: menu.lst and fstab

2009-11-24 Thread Jan-Christoph Bornschlegel
Am Dienstag 24 November 2009 17:36:32 schrieb linux fan:
> As far as I am aware, greub always did, always will, call them hd.

I also think so.

> To be exact, it calls them hd when it means in grub-speak (hd0,
> and they can be called sd when it means in real-speak /dev/sda (if it is
> sata) So you can have a funny device map where it is hd on the left and sd
> on the right.

IIRC it depends not only on the technology (IDE/SATA) but on the names the 
drivers export. In my machine, the onboard IDE controllers have sd* driver 
exports, but my Promise TX133 IDE controller has a different driver and that's 
how the mixup happens in my case.

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


Re: LFS Installation disk creation

2009-11-25 Thread Jan-Christoph Bornschlegel
mathan kumar schrieb:
> I've build my LFS system and i want distribute to my friends. Someone
> help me how can i do that. What are the possible ways to obtain this.

You should be able to just copy the partition.

BUT:
Your friends probably have different hardware. Therefore you'll run into
trouble at some steps.
- if you used compiler optimisations which are cpu specific the code
might not work on another or older one
- if the architecture is different, forget it -- different binaries
- if you tailored the kernel speciffically for your hardware (mainboard,
controllers etc.) it won't have the correct drivers for another board
- the boot setup is different depending on what kind of harddisks (and
controllers) and how many of them you had and your friends have

... and maybe some more problems I don't see right now.

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


Re: UDEV - Not Leaving Well Enough Alone

2009-11-25 Thread Jan-Christoph Bornschlegel
Good morning,

Am Mittwoch 25 November 2009 21:54:10 schrieb Mike McCarty:
> Simon Geard wrote:
> >[...], and I've honestly no idea where I could buy a new floppy disk
> > these days...

http://www.floppydisk.com/

SCNR :)

> Well, you don't use my machines, and on my machines, my rules
> hold. When I bought a machine a few years ago, one of the first
> things I did was put a floppy drive on it.
> [...]
> I have several machines I use which don't even HAVE USB interfaces,
> nor a BIOS which could recognize them.

I also own a rather old machine that serves as subversion repo and file server 
that can't boot from USB.

To get a little more offtopic here, there are fears among some scientists that 
our modern age will end up as one of the worst documented ever. You can't read 
some old data disks if you don't have a respective device anymore, and there's 
a lot of knowledge available in the online world which is not conserved in 
printed form. Some documents printed on supermarket terminals fade away even 
faster than you need to keep them for warranty, there are even recommendations 
to take a photocopy for legal reasons (this might be a special thing due to  
German bureaucracy, though).

IMHO the debade wether having a floppy drive or not are not only offtopic, but 
even completely meaningless.

As long as you compile the driver for FDD controllers into the kernel... ;)

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


Re: LFS 6.5 chapter 8.3.1

2009-12-03 Thread Jan-Christoph Bornschlegel
Am Donnerstag 03 Dezember 2009 10:32:56 schrieb stosss:
> Did everything get built using
> GCC on the host? If it did then this entire LFS build is toast.

Well, if you compiled _anything_ successfully and don't have a working gcc in 
your chroot environment, the question is, how could you use the host's gcc at 
all?

Could something be wrong with your working environment? Something from the 
host sys bind-mounted into the chroot?
Do a "cat /proc/mounts" to be sure. If anything beyond dev, devpts, shm, proc, 
sysfs is mounted to $LFS  this is mighty suspicious [0]

Or maybe you chroot'ed to the wrong place (and thus messed up your host 
maybe?). Maybe LFS isn't set?

You can get clarity if you check the creation dates of your host's gcc, for 
example
ls -l `which gcc`
on your host.

Cheers,
Jan
--
[0] http://www.linuxfromscratch.org/lfs/view/stable/chapter06/kernfs.html
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Knoppix is missing the patch command

2009-12-16 Thread Jan-Christoph Bornschlegel
Jonathan Wilkes schrieb:
> I tried googling for any hints, and checking the archives for this list, 
> but I'm new to linux so I'm a bit unsure what I'm searching for.  Any hints 
> would be greatly appreciated.


As far as I know most LiveCDs should have a read-write-overlay
filesystem. Which means the +w part has to be mounted in ramfs (or on disk).

KNOPPIX apparently has one:
http://www.knopper.net/knoppix/knoppix51-en.html#aufs

Maybe it's just not set up correctly?
Have you tried installing some package?

If it's not supported as-is, you could try setting up aufs combining
ramfs+readonly DVD manually, but I think since you're not the first one
with this problem maybe knoppix has some tools to set it up easily (if
it's not the default setting).

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


Re: [Newbie, LFS-6.5]: Problems with binutils-Pass2 compilation..

2009-12-17 Thread Jan-Christoph Bornschlegel
Am Donnerstag 17 Dezember 2009 15:49:22 schrieb Ken Moffat:
[...]
> Probably, the absence of an 8-bit type :
>
> checking for type equivalent to int8_t... configure: error: no 8-bit type

Or maybe you haven't got the respective -devel packages installed?

What does rpm -q "glibc-devel" or rpm -q "libstdc++43-devel*" produce?

I don't remember if those headers were needed before?

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


BLFS-6.3 / LFS-6.4 Problem in iptables-1.3.8 package, wrong struct contents

2009-12-18 Thread Jan-Christoph Bornschlegel
Hello there,

This is my first serious post to blfs-* ML.

I have a running LFS 6.4 (kernel version 2.6.27.4) system and I'm working on 
BLFS 6.3 (stable).
I ran into trouble with the iptables-1.3.8 package.

In several places there were errors reulting from changes in header files. I 
finally managed compiling the package successfully. Just in case someone else 
has comparable problems, I'm sharing my patch.

Is it likely that I'll run into more trouble, especially with Xorg?

Cheers,
Jan
--
[1] http://www.linuxfromscratch.org/blfs/view/stable/postlfs/iptables.html

--- iptables-1.3.8.orig/extensions/libipt_string.c	2007-02-13 19:20:19.0 +0100
+++ iptables-1.3.8/extensions/libipt_string.c	2009-12-18 19:34:55.0 +0100
@@ -205,7 +205,7 @@
 		check_inverse(optarg, &invert, &optind, 0);
 		parse_string(argv[optind-1], stringinfo);
 		if (invert)
-			stringinfo->invert = 1;
+			stringinfo->u.v0.invert = 1;
 		stringinfo->patlen=strlen((char *)&stringinfo->pattern);
 		*flags |= STRING;
 		break;
@@ -218,7 +218,7 @@
 		check_inverse(optarg, &invert, &optind, 0);
 		parse_hex_string(argv[optind-1], stringinfo);  /* sets length */
 		if (invert)
-			stringinfo->invert = 1;
+			stringinfo->u.v0.invert = 1;
 		*flags |= STRING;
 		break;
 
@@ -297,10 +297,10 @@
 	(const struct ipt_string_info*) match->data;
 
 	if (is_hex_string(info->pattern, info->patlen)) {
-		printf("STRING match %s", (info->invert) ? "!" : "");
+		printf("STRING match %s", (info->u.v0.invert) ? "!" : "");
 		print_hex_string(info->pattern, info->patlen);
 	} else {
-		printf("STRING match %s", (info->invert) ? "!" : "");
+		printf("STRING match %s", (info->u.v0.invert) ? "!" : "");
 		print_string(info->pattern, info->patlen);
 	}
 	printf("ALGO name %s ", info->algo);
@@ -319,10 +319,10 @@
 	(const struct ipt_string_info*) match->data;
 
 	if (is_hex_string(info->pattern, info->patlen)) {
-		printf("--hex-string %s", (info->invert) ? "! ": "");
+		printf("--hex-string %s", (info->u.v0.invert) ? "! ": "");
 		print_hex_string(info->pattern, info->patlen);
 	} else {
-		printf("--string %s", (info->invert) ? "! ": "");
+		printf("--string %s", (info->u.v0.invert) ? "! ": "");
 		print_string(info->pattern, info->patlen);
 	}
 	printf("--algo %s ", info->algo);
--- iptables-1.3.8.orig/extensions/libip6t_sctp.c	2007-01-23 13:50:00.0 +0100
+++ iptables-1.3.8/extensions/libip6t_sctp.c	2009-12-18 19:46:07.0 +0100
@@ -14,6 +14,7 @@
 #include 
 #include 
 
+#include 
 #include 
 #include 
 
--- iptables-1.3.8.orig/libiptc/libip6tc.c	2007-01-23 13:49:53.0 +0100
+++ iptables-1.3.8/libiptc/libip6tc.c	2009-12-18 19:50:40.0 +0100
@@ -113,7 +113,7 @@
 #include "libiptc.c"
 
 #define BIT6(a, l) \
- ((ntohl(a->in6_u.u6_addr32[(l) / 32]) >> (31 - ((l) & 31))) & 1)
+ ((ntohl(a->__in6_u.__u6_addr32[(l) / 32]) >> (31 - ((l) & 31))) & 1)
 
 int
 ipv6_prefix_length(const struct in6_addr *a)
--- iptables-1.3.8.orig/ip6tables.c	2007-06-25 01:26:35.0 +0200
+++ iptables-1.3.8/ip6tables.c	2009-12-18 20:32:16.0 +0100
@@ -730,7 +730,7 @@
 	for (i = 0, j = 0; i < n; i++) {
 		int k;
 		for (k = 0; k < 4; k++)
-			addrp[j].in6_u.u6_addr32[k] &= maskp->in6_u.u6_addr32[k];
+			addrp[j].__in6_u.__u6_addr32[k] &= maskp->__in6_u.__u6_addr32[k];
 		j++;
 		for (k = 0; k < j - 1; k++) {
 			if (IN6_ARE_ADDR_EQUAL(&addrp[k], &addrp[j - 1])) {


signature.asc
Description: This is a digitally signed message part.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: Stuck at 5.7.1

2010-01-03 Thread Jan-Christoph Bornschlegel
Am Sonntag 03 Januar 2010 16:36:58 schrieb Mikie:
> What is the difference using another user and substituting that username
> elsewhere in the book? Is the LFS user hardcoded in the kernel with special
> privileges?
*ROTFL*
Did you notice where your kernel comes from? ;)

The name "lfs:lfs" doesn't matter, you're free to change. It just has to be a 
user in the chroot system.

> Why is LFS so complicated?

It isn't. Well, at least not the FS part :)

> I don't see why the authors of LFS don’t create a liveCD with the
> independent tool chain ready to go and delete Ch 5.

There's one at http://www.linuxfromscratch.org/livecd/

> Why put a newbie like
> me thru all this?

LFS' purpose is (as far as I understood) provide a platform for learning how 
Linux works, not provide a set of ready-to-go scripts for anything.

> It makes no sense and to be honest it distract from learning Linux because
> it is too much to bite off.

For me it's the logical next step after "From Power Up to Bash Prompt", and it 
worked.

> I say to the authors ..
>
> ... make a LiveCD iso file and eliminate a lot of confusion and trouble
> tickets on this list.

I can't help thinking you misunderstood the purpose of the project.

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


Re: Stuck at 5.7.1

2010-01-03 Thread Jan-Christoph Bornschlegel
Am Sonntag 03 Januar 2010 19:38:03 schrieb Andrew Benton:
> > The name "lfs:lfs" doesn't matter, you're free to change. It just has to
> > be a user in the chroot system.
>
> No, root does the chroot part

Erm, sorry, not precise enough.
What I meant is that the user "lfs" must come from $LFS/etc/passwd rather than 
/etc/passwd aka the host's.

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


Re: Stuck at 5.7.1

2010-01-04 Thread Jan-Christoph Bornschlegel
Am Montag 04 Januar 2010 03:50:41 schrieb Simon Geard:
> 100% correct. It *is* for advanced people, quite intentionally. It's
> intended for those people who are interested in understanding things
> like how the toolchain works, how everything fits together.

Not to mention all whose job is packaging software of any kind.

It's for everyone's benefit if those people know _exactly_ what they're doing 
and why, because most unexperienced users who use any package based 
distribution profit from a safe and sound system.

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


Re: NFS Boot

2010-01-18 Thread Jan-Christoph Bornschlegel
Am Sonntag 17 Januar 2010 17:10:38 schrieb Mikie:
> I'm a 46 year old IT and Automation professional.
>
> I have people from business, government, and education (small  schools)
> screaming for an alternatives to Windows.
> The malware is disrupting everyone these days and people are drowning.
>
> It's to the point where we can't keep a working PC on people's desktops.
>
> I want to develop a solution whereby PC's can be booted from a PXE NFS
> server to get Linux with a Firefox browser so peeps can migrate to web
> based business apps, web based email, and Microsoft terminal servers for
> those Microsoft apps that can't be replaced with web versions (via a
> Linux RDP client).

You might be interested in another project:
http://kiwi.berlios.de/
http://en.opensuse.org/Kiwi

This project has a solution for exactly that situation, quite some good 
documentation and a vivid and helpful ML and IRC[1] channels. The tradeoff is 
that it is designed for RPM based distros.

Some usecases were PoS (terminals) and preloads and there are a lot of 
examples available.

Cheers,
Jan
--
[1] irc.freenode.net #opensuse-kiwi



signature.asc
Description: This is a digitally signed message part.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Xorg problems, with libX11.so

2010-01-29 Thread Jan-Christoph Bornschlegel
Simon Geard schrieb:
> No. No, you can't. The machine translation is almost as incomprehensible
> to me as the original Chinese.

Which is why we eventually must breed the Babel fish :)

Seriously, just translate something A->B and right back. Always good for
a laugh or two. Or try that one:
"Time flies like an arrow, fruit flies like a banana."
[/OT]

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


Re: Finished First Pass

2010-02-03 Thread Jan-Christoph Bornschlegel
Mike McCarty schrieb:
> I don't think you'd be very satisfied if you used, say RHEL,
> and downloaded the source they claimed was that of the compiler
> they used to build, and when you built it using the copy you
> have on your machine, the results were different.

Erm, maybe you underestimate the distros here :)

Can't speak for RHEL, but in the openSUSE/SLE? world there's a similar
bootstrapping in the build system which makes sure the distributed
compiler is build "with itself", and since the RPM build produces
gcc-x.y.z.rpm and gcc-x.y.z.src.rpm at the same step it's pretty safe
that if you install the corresponding source package (same release
number, or query rpm --qf '%{SOURCE}'  and the like to be sure),
you can reproduce the same binary, as long as the version numbers of the
required tools didn't change for some updates and the like.

Most distros only release the updated binutils, for example, but don't
update everything else -- although the root tree of the build system
rebuilds all the depending packages, which means "ALL" in case of gcc,
glibc, binutils and so on, which is why the gcc developers tend to
submit new versions on Thursday or friday, to let the system settle by
monday :)

The reason? Hm, not sure, I think maybe most "customers" don't want to
update all installed packages just for a bugfix in, say, "yes".
If you desire that, there are so called "factory" repositories you can
subscribe to for bleeding edge distro, but with a certain chance of
broken packages.

There may be distro-specific patches, bugfixes and the like, but those
are included in the source package.


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


Re: Finished First Pass

2010-02-03 Thread Jan-Christoph Bornschlegel
Mike McCarty schrieb:
> Jan-Christoph Bornschlegel wrote:
>> Erm, maybe you underestimate the distros here :)
> 
> Of course I don't. I'm pointing out why the two stage
> bootstrap is necessary, to someone who doesn't understand.

Ok, sorry then :)

I just wanted to point out -- again, since I wrote that in some other
thread alredy -- that bootstrapping a clean build environment is exactly
what distro builders do, and I do believe that every packager should do
at least _one_ lfs machine, no matter what distro [s]he packages for.

Sometimes it sounds to me as if people scorn (commercial) distro
builders as money collecting, patent stockpiling lazy leeches, and that
needs some defence, don't you think? ;)

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


Re: Booting problems

2010-02-12 Thread Jan-Christoph Bornschlegel
brown wrap schrieb:
[...]
> So here is my question. If I move the external drive inside and make it the 
> first drive, will I be able to boot, even though LFS is on the 2nd partiton? 
> I don't want to, but I could move everyting over to the first partition, but 
> I'd have to wipe it out, which I don't want to do.

First of all, does your machine support booting from an external device?
I tried booting from an external USB HDD, and failed miserably although
the mainboard claimed to support that. To have clarity here, test
booting with something on external drive which usually boots.

I have a working installation on a second _internal_ disk, but I didn't
reinstall the bootloader on first disk. Instead I followed the
instructions at
http://www.linuxfromscratch.org/lfs/view/stable/chapter08/grub.html in
the "Warning" box, and linked the boot entry via "chainloader".

The only minor obstacle for me was the broken naming: my disks were
called sda and hda instead of sda and sdb, due to a legacy driver for my
internal Promise TX133 PATA controller. When installing grub on sdb2 (in
my case) on the host system, it wrote sdb2 to /boot/grub/menu.lst, but
when booting the device should have been hda2. Can be fixed easily,
because you can enter the grub shell on boot and then use setup
(hd) to see what devices are there. Then edit the entry
appropriately and have fun.

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


Re:

2010-02-13 Thread Jan-Christoph Bornschlegel
Mike McCarty schrieb:
[...]
> is used to encode the 8 bit character with hex code xx.
> Since 0x3D is the code for "=", then "=3D" is the code
> for "=". These substitutions are sometimes made by mailers
> or even by machines in between.

... which teaches us: "don't copy/paste code snippets from emails" ;)

BTW, Mike, I like your signature, and it works, so no mailer got between
that.
I know a guy who has a 1-liner rot13 implementation in his email
signature :)

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


Re: Booting problems again

2010-02-13 Thread Jan-Christoph Bornschlegel
Mike McCarty schrieb:
[...]
> I have studied the recommended layout (I can't recall what it's
> called, now)

Maybe FHS?
http://www.pathname.com/fhs/

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


Re: Glibc test failure

2010-02-14 Thread Jan-Christoph Bornschlegel
bchaf...@programmer.net schrieb:
> globtest.sh: command substitution: line 32: syntax error near unexpected
> token `)'

Without knowing that script, this could be a missing shell variable?

Maybe a variable that should be set through your environment is empty
because you're missing something when entering the chroot, or the
variable is the result of a command that fails for some reason, maybe a
missing mountpoint to /proc, /sys or one of those?

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


Re: my kernel won't recognize ide drives

2010-03-19 Thread Jan-Christoph Bornschlegel
William Immendorf schrieb:
> On Thu, Mar 18, 2010 at 2:24 PM, Scott Kopel  wrote:
>> So the question is what kernel configuration changes do I have to make to 
>> get the kernel to recognize my ide drives? I realize that new kernels name 
>> ide drives sdx and that's fine. I don't need them to be labeled hdx. I 
>> simply want them to be recognized by the kernel.
> Look in Device Drivers-> Sereal ATA and Parallel ATA drivers, and you
> should see PATA and SATA drivers. Enable one that matches your hard
> disk controller, or just enable "Generic ATA Support".


What I usually do in those cases is matching the output of "hwinfo" 
against the help texts in the menuconfig.

I had a special case here because I use a PCI PATA controller card with 
additional drives which needs a different driver than the onboard 
controllers, and these two drivers use different naming schemes, so I 
ended up having hda and sda/sdb, which spoiled grub's menu.lst entries a 
little. So just in case, when booting and unsure which drive has what 
number, use the tab expansion in the grub interactive shell.

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


Re: [Fwd: Problems compiling Devicekit-power-012]

2010-03-19 Thread Jan-Christoph Bornschlegel
Thomas Sapp schrieb:
[...]
> if someone would kindly instruct me how to redirect it to a file. I
> tried putting "> devkitpower.log" on the end of the command but I only
> got the non-error output. Thanks in advance for any help that is provided.

You can catch the stderr output using:
cmd > stdout.log 2>stderr.log


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