Re: Init acting the maggot?

2005-07-02 Thread Simon Geard
On Fri, 2005-07-01 at 10:39 +0100, Declan Moriarty wrote:
> You are very kind to them. Between the old way and the new, even m$
> would have gone bust if they had tried that. The trouble is, the new
> way
> is going to be worse. They tried this with pcmcia support and
> succeeded
> in proving that linux was a _lousy_ platform for responding to device
> changes on the fly. Ditto with apm, which the laptop guys poured their
> brains into for years, only to find it buggered beyond belief by the
> variations and they dumped 6 years of hard work and started with acpi,
> which, AFAICT, is going the same way.

Be fair - blaming the linux developers for APM and ACPI is just wrong.
Those are the hardware standards they need to support if people are to
usefully run Linux on laptops - you think even trying to support those
standards is a bad idea?


> Automount - remember that? Devfs - rewmember that? The current
> failure is udev. It runs so totally counter to the secure nature of
> linux (No hacker can even climb up the suers into a linux box) to have
> a
> hacker be able to plug a usb disk into the usb port and have
> everything
> say "Hello!", welcome it, and mount it!

Ok, that's just paranoid, and somewhat uninformed. Udev does one thing -
it creates device nodes in /dev when the kernel tells it to. No more, no
less.

What you appear to be thinking of is more extended frameworks like HAL,
but all that does is monitor available hardware and notify userspace
clients of any relevant changes. However, it doesn't automount anything
either - all it does is maintain policy on what to do with devices, and
pass it on to any interested listeners.

In fact, the only thing that actually does automounting is a user
service - gnome-volume-manager in Gnome, or some KDE equivalent. But
both of these are run as ordinary users, and subject to whatever
permissions that user has. In Ubuntu (and recent Debian), hotplugged
devices are always assigned (by udev, I think) to a particular group, so
only members of that group can mount them.


Short version, do you really think these guys haven't considered
security at all? I follow the HAL mailing list, and they take it pretty
seriously - many of the core developers are Redhat employees who work
fairly closely with the people working on SE-Linux, trying to lock
things down even more than Linux has traditionally allowed.


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: config.h error (Install Xorg)

2005-07-02 Thread DJ Lucas
Randy McMurchy wrote:

> Good suggestion. However, to the best of my knowledge, there's been
> *one* report (the recent one, in this thread) in the last year or so
> where the sed command in the X instructions using a backtick has
> (maybe) caused someone a problem.
> 
> I'm not sure we need to go to a bunch of trouble because of *one*
> report of a fouled up installation.
> 

Well, I suggested it because it's a common mistake, one I think we've
all stumbled across at one time.  But thinking about it, nothing should
be done...having tripped over it once (well it took me a couple of
times), it's stuck very well by now, and since all the shells in BLFS
support the original syntax, even better.  BTW, ash and zsh both support
either syntax.  tcsh does not like the $(command).

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


Re: ssh woes

2005-07-02 Thread DJ Lucas
Archaic wrote:
> I am baffled looking for an option I can't seem to find. I need to ssh
> into a particular server and make it prompt for the user name each time.
> However, the only thing I am seeing is how to specify a user other than
> your local username. I need to *not* specifiy a user and then have the
> server ask. I've tried forcing keyboard-interactive as the only auth
> method, but that doesn't work. I've tried setting options on commandline
> and in .ssh/config.
> 
> Any ideas?
> 
> 

I don't know why I bothered knowing that both you and Justin aready
tried to find it, but I dug around a bit anyway, and found the same dead
end.  I do know that the putty ssh client for windows prompts for a
username after making the connection, so it is definately possible, but
that is from the client side...and windows only AFAIK.

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


Re: config.h error (Install Xorg)

2005-07-02 Thread Randy McMurchy
Chris wrote these words on 07/02/05 18:50 CST:

> Maybe somewhere near the beginning of the BLFS book there should be 
> something about how "many software package installations have long and 
> sometimes complicated commands" (and not just commands - sometimes long 
> configuration files, like Xorg/XFree86's host.def), followed by a link 
> to the section on installing GPM. This should at least reduce the number 
> of people who have these kinds of problems...

Good suggestion. However, to the best of my knowledge, there's been
*one* report (the recent one, in this thread) in the last year or so
where the sed command in the X instructions using a backtick has
(maybe) caused someone a problem.

I'm not sure we need to go to a bunch of trouble because of *one*
report of a fouled up installation.

-- 
Randy

rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3]
[GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686]
23:00:59 up 91 days, 22:34, 2 users, load average: 0.25, 0.10, 0.04
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: gcc-3.4.x testsuite and pch

2005-07-02 Thread Randy McMurchy
David Jensen wrote these words on 07/02/05 22:57 CST:
> Rebuilding GCC-3.4.x as in the BLFS-book-6.0 (or svn), I cannot get the 
> testsuite to pass the precompiled headers tests.  All fail, more than a 
> hundred.  Always!

Very odd. I had very good results. See the link in the book to the
example test results. This is from a GCC-3.4.3 build using BLFS
instructions.

-- 
Randy

rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3]
[GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686]
22:56:00 up 91 days, 22:29, 2 users, load average: 0.00, 0.02, 0.03
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: config.h error (Install Xorg)

2005-07-02 Thread David Jensen

DJ Lucas wrote:


David Jensen wrote:

Beat me to it by two minutes...

 


mlij wrote:

   


The back tick ` key is under the tilde ~
   



Have to be careful with locations... I almost said the same thing but
remembered that QWERTY is not the only keyboard out there, and I know
nothing of other layouts. :-)

 


I thought of that, but decided it would get him looking.
I had to find a manual first time I saw back ticks!


Yes I was thinking the same...see my second reply, but I think that in
light of the fact that most wouldn't be using CnP yet, that maybe the
book should use this syntax instead.  Problem is that it's not portable.
Droping ash on the box again to test it, but tcsh is definately out.

 

One would think a user who switches his shell could muddle through a sed 
command.  Still I expect the back tick bit everyone once.


--
David Jensen

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


Re: ssh woes

2005-07-02 Thread Justin R. Knierim

Archaic wrote:


into a particular server and make it prompt for the user name each time.


Hi Archaic,

I also took a look, but beside the -l option to specify the username, I 
don't see any other option.  Didn't find much in google either.  Sorry.


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


gcc-3.4.x testsuite and pch

2005-07-02 Thread David Jensen
Rebuilding GCC-3.4.x as in the BLFS-book-6.0 (or svn), I cannot get the 
testsuite to pass the precompiled headers tests.  All fail, more than a 
hundred.  Always!

They *Never* fail the in the LFS Chapter 6 test.
I've tried nearing ten times on several builds (gcc-3.4.4/glibc-2.3.5) 
(gcc-3.4.3/glibc-2.3.4)

I just built 4.0.0 no failures.

Baffled.

--
David Jensen

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


Re: config.h error (Install Xorg)

2005-07-02 Thread Chris

DJ Lucas wrote:


Yes I was thinking the same...see my second reply, but I think that in
light of the fact that most wouldn't be using CnP yet, that maybe the
book should use this syntax instead.  Problem is that it's not portable.
Droping ash on the box again to test it, but tcsh is definately out.

 


--
David Jensen

   



-- DJ Lucas
 

Maybe somewhere near the beginning of the BLFS book there should be 
something about how "many software package installations have long and 
sometimes complicated commands" (and not just commands - sometimes long 
configuration files, like Xorg/XFree86's host.def), followed by a link 
to the section on installing GPM. This should at least reduce the number 
of people who have these kinds of problems...

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


Re: config.h error (Install Xorg)

2005-07-02 Thread DJ Lucas
Randy McMurchy wrote:
> DJ Lucas wrote these words on 07/02/05 22:12 CST:
> 
> 
>>BTW, for the other devs reading this...might it be better in this
>>particular case to use $(command) syntax?
> 
> 
> I am not certain, as I use Bash almost exclusively any more, but
> is $(command) syntax available in other shells, as well as in Bash?
> 
> I've noticed there have been changes to the bootscripts, or at least
> talk of changes, to remove "bashisms". We need to ensure that the
> commands we use are available to as many shells as possible.
> 

Yes I thought about it after I let the fingers fly (it's in my other
message).  tcsh definately doesn't like it, but it's not very common for
a default shell.  I believe ash does, haven't tested just yet, and I'm
not sure about zsh.  And yeah, the bootscript changes will be going in
shortly...as soon as I test what I have so far.

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


Re: config.h error (Install Xorg)

2005-07-02 Thread Randy McMurchy
DJ Lucas wrote these words on 07/02/05 22:38 CST:

> Yes I was thinking the same...see my second reply, but I think that in
> light of the fact that most wouldn't be using CnP yet, that maybe the
> book should use this syntax instead.  Problem is that it's not portable.
>  Droping ash on the box again to test it, but tcsh is definately out.

Please, test Zsh as well.

-- 
Randy

rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3]
[GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686]
22:43:00 up 91 days, 22:16, 2 users, load average: 0.11, 0.06, 0.06
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: config.h error (Install Xorg)

2005-07-02 Thread DJ Lucas
David Jensen wrote:

Beat me to it by two minutes...

> mlij wrote:
> 
>> What is Cnp?
>>
> Cut and Paste, click and drag to select, middle click to paste.
> 
>> If I run only grep -lr linux/config.h, there are a list of files.
>> So I think that this command is ok.
>>
>> I have already put " and put nothing.
>> Nothing works!!!
> 
> 
> The back tick ` key is under the tilde ~

Have to be careful with locations... I almost said the same thing but
remembered that QWERTY is not the only keyboard out there, and I know
nothing of other layouts. :-)

> Are you sure you are not using the single quote ' key.
> If it still doesn't work try:
> 
> sed -i -e "[EMAIL PROTECTED] @/* & */@" \
>$(grep -lr linux/config.h *)
> 

Yes I was thinking the same...see my second reply, but I think that in
light of the fact that most wouldn't be using CnP yet, that maybe the
book should use this syntax instead.  Problem is that it's not portable.
 Droping ash on the box again to test it, but tcsh is definately out.

> -- 
> David Jensen
> 

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


Re: config.h error (Install Xorg)

2005-07-02 Thread Randy McMurchy
DJ Lucas wrote these words on 07/02/05 22:12 CST:

> BTW, for the other devs reading this...might it be better in this
> particular case to use $(command) syntax?

I am not certain, as I use Bash almost exclusively any more, but
is $(command) syntax available in other shells, as well as in Bash?

I've noticed there have been changes to the bootscripts, or at least
talk of changes, to remove "bashisms". We need to ensure that the
commands we use are available to as many shells as possible.

-- 
Randy

rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3]
[GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686]
22:18:00 up 91 days, 21:51, 2 users, load average: 0.14, 0.08, 0.02
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


ssh woes

2005-07-02 Thread Archaic
I am baffled looking for an option I can't seem to find. I need to ssh
into a particular server and make it prompt for the user name each time.
However, the only thing I am seeing is how to specify a user other than
your local username. I need to *not* specifiy a user and then have the
server ask. I've tried forcing keyboard-interactive as the only auth
method, but that doesn't work. I've tried setting options on commandline
and in .ssh/config.

Any ideas?


-- 
Archaic

Want control, education, and security from your operating system?
Hardened Linux From Scratch
http://www.linuxfromscratch.org/hlfs

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


Re: config.h error (Install Xorg)

2005-07-02 Thread DJ Lucas
mlij wrote:

> What is Cnp?
> How can I use it?
> 

Sorry for that.  CnP is 'Copy and Paste'.

> If I run only grep -lr linux/config.h, there are a list of files.
> So I think that this command is ok.
> 
> I have already put " and put nothing.
> Nothing works!!!
> 
> How you wrote, I believe the problem is on the sed command.
> Why sed do not read grep command?
> 

Ken's analysis is correct.  The error message shows that the grep
command was a single argument rather than a command to expand.  That
most likely means that you are using "'" (single quote) instead of "`"
(backtick).  I've made that mistake myself many times. :-)

BTW, for the other devs reading this...might it be better in this
particular case to use $(command) syntax?

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


Re: config.h error (Install Xorg)

2005-07-02 Thread David Jensen

mlij wrote:


What is Cnp?


Cut and Paste, click and drag to select, middle click to paste.


If I run only grep -lr linux/config.h, there are a list of files.
So I think that this command is ok.

I have already put " and put nothing.
Nothing works!!!


The back tick ` key is under the tilde ~
Are you sure you are not using the single quote ' key.
If it still doesn't work try:

sed -i -e "[EMAIL PROTECTED] @/* & */@" \
   $(grep -lr linux/config.h *)

--
David Jensen

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


Re: config.h error (Install Xorg)

2005-07-02 Thread mlij

Ken Moffat wrote:



That _sounds_ as if the back-ticks ("`") are not recognised.  When it
works properly (which it does, for many of us), the grep command is
replaced by its results, i.e. a list of files containing linux/config.h.

I'm guessing you typed it in (because many people don't have
copy-and-paste before X is working) and forgot the back-ticks ?

 




I did not forget to put back-ticks.



DJ Lucas wrote:



The problem is in the sed
command.  Did you use CnP...by chance put in a space after the backslash?

Fortunately, the compile can contiue without starting over or anything
like that.  Try the sed again, and make sure it works before going on
with the make line.

-- DJ Lucas
 


What is Cnp?
How can I use it?

If I run only grep -lr linux/config.h, there are a list of files.
So I think that this command is ok.

I have already put " and put nothing.
Nothing works!!!

How you wrote, I believe the problem is on the sed command.
Why sed do not read grep command?

Marcos

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


Re: config.h error (Install Xorg)

2005-07-02 Thread DJ Lucas
mlij wrote:
> Install Xorg:
> 
> After the command:
> 
> sed -i -e "[EMAIL PROTECTED] @/* & */@" \
> `grep -lr linux/config.h *` &&
> ( make World 2>&1 | tee xorg-compile.log && exit $PIPESTATUS )
> 
> There is the message:
> sed: it is not possible to read grep -lr linux/config.h:
> file or directory not found.
> 
> So I tried run without the grep command.
> However, there was an error.
> 
> From the file xorg-compile.log:
> 
> /usr/include/linux/config.h:1:2: #error "Compilation aborted. Please
> read the FAQ for linux-libc-headers package."
> /usr/include/linux/config.h:2:2: #error "(can be found at
> http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
> make[5]: ** [clientattrib.o] Erro 1
> make[5]: Leaving directory `/usr/src/xcbuild/lib/GL/glx'
> make[4]: ** [all] Erro 2
> make[4]: Leaving directory `/usr/src/xcbuild/lib/GL'
> make[3]: ** [all] Erro 2
> make[3]: Leaving directory `/usr/src/xcbuild/lib'
> make[2]: ** [all] Erro 2
> make[2]: Leaving directory `/usr/src/xcbuild'
> make[1]: ** [World] Erro 2
> make[1]: Leaving directory `/usr/src/xcbuild'
> make: ** [World] Erro 2
> 
> I read the faq, but ...
> So I think that the problem is the installation of linux-libc-headers
> package.
> Am I right?
> What do I have to do to fix this?
> 
> Marcos
> BFLS 6.0
> LFS 6.0

Actually no.  The problem is that xorg includes a header file that
should never be included in userspace apps, and consequently the error
to let you know that xorg is doing something they are not supposed to do
(and have been doing for a long time).  The problem is in the sed
command.  Did you use CnP...by chance put in a space after the backslash?

Fortunately, the compile can contiue without starting over or anything
like that.  Try the sed again, and make sure it works before going on
with the make line.

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


Re: config.h error (Install Xorg)

2005-07-02 Thread Ken Moffat
On Sat, 2 Jul 2005, mlij wrote:

> Install Xorg:
>
> After the command:
>
> sed -i -e "[EMAIL PROTECTED] @/* & */@" \
> `grep -lr linux/config.h *` &&
> ( make World 2>&1 | tee xorg-compile.log && exit $PIPESTATUS )
>
> There is the message:
> sed: it is not possible to read grep -lr linux/config.h:
> file or directory not found.
>

 That _sounds_ as if the back-ticks ("`") are not recognised.  When it
works properly (which it does, for many of us), the grep command is
replaced by its results, i.e. a list of files containing linux/config.h.

 I'm guessing you typed it in (because many people don't have
copy-and-paste before X is working) and forgot the back-ticks ?

> So I tried run without the grep command.
> However, there was an error.

 Yes, if you read the book, it explains why the grep command is
necessary.

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce

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


Re: video4linux

2005-07-02 Thread Jens Olav Nygaard

Andrew Benton wrote:

video4linux mailing list 
https://www.redhat.com/mailman/listinfo/video4linux-list A lot of the 
traffic there is technical stuff about kernel patches, but there are 
plenty of nice people who are willing to help with more basic problems. 
Also, the ivtv forum http://www.shspvr.com/smf/ or do they just do the 
PVR-250 and PVR-350 cards?


Thanks for the tips, the ivtv lead me on to the solution. (Well, to
the v4l-problem. Things don't work quite yet, but I got past that
one...) It turns out these cards are actually loaded with "firmware"
every time the driver connects to them, and that this firmware must
be extracted from Windows files and placed in /lib/modules. This was
completely new to me, so without them the ivtv driver never got
around to "firing up" the v4l stuff at all...

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


config.h error (Install Xorg)

2005-07-02 Thread mlij

Install Xorg:

After the command:

sed -i -e "[EMAIL PROTECTED] @/* & */@" \
`grep -lr linux/config.h *` &&
( make World 2>&1 | tee xorg-compile.log && exit $PIPESTATUS )

There is the message:
sed: it is not possible to read grep -lr linux/config.h:
file or directory not found.

So I tried run without the grep command.
However, there was an error.

From the file xorg-compile.log:

/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please 
read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at 
http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"

make[5]: ** [clientattrib.o] Erro 1
make[5]: Leaving directory `/usr/src/xcbuild/lib/GL/glx'
make[4]: ** [all] Erro 2
make[4]: Leaving directory `/usr/src/xcbuild/lib/GL'
make[3]: ** [all] Erro 2
make[3]: Leaving directory `/usr/src/xcbuild/lib'
make[2]: ** [all] Erro 2
make[2]: Leaving directory `/usr/src/xcbuild'
make[1]: ** [World] Erro 2
make[1]: Leaving directory `/usr/src/xcbuild'
make: ** [World] Erro 2

I read the faq, but ...
So I think that the problem is the installation of linux-libc-headers 
package.

Am I right?
What do I have to do to fix this?

Marcos
BFLS 6.0
LFS 6.0
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: video4linux

2005-07-02 Thread Andrew Benton

Jens Olav Nygaard wrote:

Framegrabber software and such is not in the BLFS, as far as I know,
but I'm really stomped regarding this one, so here goes...

I've successfully run a very old Miro-something-bttv-based tv/grabber-
card for many years, which I now replaced with a WinTV PVR150 which is
supposed to grab more and faster.

However, my problem seems to have to do with video4linux and/or udev
and/or maybe the whole installation, as it manifests itself like a
troublesome /dev/video device:

  bombadil 613>ls -l /dev/video0
  crw-rw-rw-  1 root root 81, 0 Jul  2 19:45 /dev/video0
  bombadil 614>v4l-info /dev/video0
  open /dev/video0: No such device

I have driver modules loaded (bttv, v4l2_common, ivtv, tuner, ...)
which I thought should be sufficient to get something more
intelligible than the above error message.



What does it say in /var/log/sys.log when you load the modules? Does it say it detected the card correctly? 
You may find more expert help on the video4linux mailing list https://www.redhat.com/mailman/listinfo/video4linux-list A lot of the traffic there is technical stuff about kernel patches, but there are plenty of nice people who are willing to help with more basic problems. Also, the ivtv forum http://www.shspvr.com/smf/ or do they just do the PVR-250 and PVR-350 cards? 
--

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


video4linux

2005-07-02 Thread Jens Olav Nygaard

Framegrabber software and such is not in the BLFS, as far as I know,
but I'm really stomped regarding this one, so here goes...

I've successfully run a very old Miro-something-bttv-based tv/grabber-
card for many years, which I now replaced with a WinTV PVR150 which is
supposed to grab more and faster.

However, my problem seems to have to do with video4linux and/or udev
and/or maybe the whole installation, as it manifests itself like a
troublesome /dev/video device:

  bombadil 613>ls -l /dev/video0
  crw-rw-rw-  1 root root 81, 0 Jul  2 19:45 /dev/video0
  bombadil 614>v4l-info /dev/video0
  open /dev/video0: No such device

I have driver modules loaded (bttv, v4l2_common, ivtv, tuner, ...)
which I thought should be sufficient to get something more
intelligible than the above error message.

Is there something glaringly wrong I do here? If anybody
has a clue to pass along, it would be great...

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


Re: Problem with REBOOT and HALT

2005-07-02 Thread Declan Moriarty
Recently, Somebody Somewhere wrote these words
> Hello!
> After installation Shadow-4.0.7 commands "halt" and "reboot"  have 
> ceased to work ("shutdovn" works). Why?
> 

Probably something is screwed up.

reboot is a symlink to /sbin/halt. Check existence, permissions.


-- 

With best Regards,


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


Re: 2.6 Cursor problem (was init acting the maggot):-(

2005-07-02 Thread Declan Moriarty
Recently, Somebody Somewhere wrote these words
> On Fri, 1 Jul 2005, Declan Moriarty wrote:
> 
> > >  Did the cursor work adequately on 2.6 in the past ?
> > >
> > Never. But I never used 2.6 much.
> >
> > >  Which version of 2.6 are you now using, and which was your
> > >  previous working version ?
> >
> > 2.6.12.1.
> >
> > 2.6.0, 2.6.9, & 2.6.10 all showed the same thing.
> >
> 
>  So, this isn't a regression within 2.6.

No, it not. It appears to be a regression 2.4 --> 2.6 :-)

> 
> > Next bit of spare time I'll stick the framebuffer back in. I have
> > memories that 1. The radeon card responds strangely to the radeon
> > module.  2. I have downgraded the monitor to a cheap/nasty type
> > which may not do what the previous one did.
> 
>  Perhaps try CONFIG_FB_SOFT_CURSOR and CONFIG_FB_MODE_HELPERS with
>  CONFIG_FB_RADEON and CONFIG_FB_RADEON_I2C and make sure any other
>  framebuffers are not set.  Apart from some junk in the early visual
>  output up to maybe 2.6.7, and a missing penguin around 2.6.9 or
>  2.6.10, the radeon has worked well here as a console framebuffer
>  during 2.6.
> 
>  In xorg.conf, I use
>   Driver  "radeon"
> (not "ati", not "fb")
> 
>  You may find that the bootargs I quoted for the radeon are wrong -
>  another box of mine uses video=radeonfb:[EMAIL PROTECTED] - they both seem
>  to give me a 128x48 framebuffer console, at least when I don't use a
>  graphical login.
> 
> 

I can fart around with arguments and options for the video. I'm not
scared of that. I did get fed up trying to master this curcor thing, so
I stuck in the ALFS stuff, wiped my 3.3 libs, logs includes, and
executables, and had chapter 6 & 7 of LFS-6.0 build themselves last
evening. The thing knew best, of course. It stuck in UDEV(!) after me
loudly say6ing "That will never work - ever". Of course it decided I
wanted HOTPLUG (Aaaargh!) and I just have hung on the bootscripts for
some reason.

That will give me an LFS-6.0, and then I have the BLFS-6.0 profile there
for another bit of work. At least I will prove if the problem is system
specific.

Mind you, I have to send this & reboot into a 2.6 kernel to build. I got
an error from the toolchain (Glibc IIRC)
FATAL: kernel too old when I was running 2.4.22

-- 

With best Regards,


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