Re: [gentoo-user] Re: {OT} Flashing BIOS with Windows utility

2010-01-20 Thread Alan McKinnon
On Thursday 21 January 2010 00:40:26 Neil Bothwick wrote:
> On Wed, 20 Jan 2010 23:39:46 +0200, Alan McKinnon wrote:
> > > Don't tell my motherboard that or it will refuse to update next time
> > > unless I run some program or other.
> >
> > So without a program to do flash updates (or at least some code
> > somewhere that might not be in .exe or ELF format) how does your
> > motherboard do flash updates?
> 
> There's code somewhere of course, but no program to run. I just put the
> update file on a USB stick and hold down a key while booting. The code
> runs direct from the motherboard, there's no operating system
> requirement, it's a very civilized system.

Yes, very civilised.

I have a hacked-up-too-gazooks android phone that works the same way

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: {OT} Flashing BIOS with Windows utility

2010-01-20 Thread ubiquitous1980
Alan McKinnon wrote:
> On Wednesday 20 January 2010 20:13:11 Neil Bothwick wrote:
>   
>> On Wed, 20 Jan 2010 19:53:23 +0800, Xi Shen wrote:
>> 
>>> i just wonder why we do not have BIOS flash program on linux.
>>>   
>> I wonder why we have BIOS flash programs at all.
>> 
>
> 
> because without them we couldn't flash stuff?
> 
>
>   
Coreboot has a flashing utility I believe.




Re: [gentoo-user] strange error when doing emerge @preserved-rebuild

2010-01-20 Thread Zeerak Waseem
On Wed, 20 Jan 2010 22:37:55 +0100, Alan McKinnon  
 wrote:



On Wednesday 20 January 2010 22:45:09 Zeerak Waseem wrote:

On Wed, 20 Jan 2010 21:42:05 +0100,  wrote:
> However, I do not have any kde packages that I know of -- I wonder  
what

> is pulling that in.  I certainly do not have arts.


[snip]


Perhaps equery belongs arts could help?


You mean "equery depends -a arts"



Whoops, yeah sorry about that one :-)

--
Zeerak



Re: [gentoo-user] strange error when doing emerge @preserved-rebuild

2010-01-20 Thread Dale

cov...@ccs.covici.com wrote:

Alan McKinnon  wrote:

  

On Wednesday 20 January 2010 22:45:09 Zeerak Waseem wrote:


On Wed, 20 Jan 2010 21:42:05 +0100,  wrote:
  

However, I do not have any kde packages that I know of -- I wonder what
is pulling that in.  I certainly do not have arts.


[snip]
 


Perhaps equery belongs arts could help?
  
You mean "equery depends -a arts" 



Well, I get nothing when running that command -- I did indeed have
kde-base/arts and I unmerged the thing and all is well after that.

Thanks.

  


I bet you did something I have done many times.  You may have had to 
reemerge arts at some point and forgot to use the -1 option.  I have 
done that more times than I want to mention.  It's easy to forget that 
option.


Dale

:-)  :-) 



Re: [gentoo-user] strange error when doing emerge @preserved-rebuild

2010-01-20 Thread covici
Alan McKinnon  wrote:

> On Wednesday 20 January 2010 22:45:09 Zeerak Waseem wrote:
> > On Wed, 20 Jan 2010 21:42:05 +0100,  wrote:
> > > However, I do not have any kde packages that I know of -- I wonder what
> > > is pulling that in.  I certainly do not have arts.
> 
> [snip]
>  
> > Perhaps equery belongs arts could help?
> 
> You mean "equery depends -a arts" 

Well, I get nothing when running that command -- I did indeed have
kde-base/arts and I unmerged the thing and all is well after that.

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Re: {OT} Flashing BIOS with Windows utility

2010-01-20 Thread Neil Bothwick
On Wed, 20 Jan 2010 23:39:46 +0200, Alan McKinnon wrote:

> > Don't tell my motherboard that or it will refuse to update next time
> > unless I run some program or other.  
> 
> So without a program to do flash updates (or at least some code
> somewhere that might not be in .exe or ELF format) how does your
> motherboard do flash updates?

There's code somewhere of course, but no program to run. I just put the
update file on a USB stick and hold down a key while booting. The code
runs direct from the motherboard, there's no operating system
requirement, it's a very civilized system.

Yes, I plug the stick in too, but I hope you'd already worked that bit
out :)


-- 
Neil Bothwick

The trouble with doing something right the first time is that nobody
appreciates how difficult it was.


signature.asc
Description: PGP signature


[gentoo-user] Re: cupsd does not start at boot

2010-01-20 Thread walt

On 01/19/2010 09:04 AM, Joseph wrote:
> ...

When I open a firefox with one of the tab pointing to:
localhost:631 (cups)
the cups is being shut down by: "cupsdAcceptClient: 11"

D [19/Jan/2010:09:39:59 -0700] cupsdAcceptClient: 11 from localhost:631 (IPv4)
D [19/Jan/2010:09:39:59 -0700] cupsdReadClient: 11 GET /favicon.ico HTTP/1.1
D [19/Jan/2010:09:39:59 -0700] cupsdAuthorize: No authentication data provided.
D [19/Jan/2010:09:39:59 -0700] cupsdCloseClient: 11
D [19/Jan/2010:09:39:59 -0700] cupsdCloseClient: -607871304

Who is "cupsdAcceptClient: 11"???

If the firebox tab is not pointing cup interface: localhost:631
cups starts and runs just fine.

Can any of you try it: open a tab "localhost:631" (don't close the firefox) and 
restart your computer.
Is the cups still running after restarting?


Yes, same thing here. An strace of cupsd shows a coupld of bad file descriptor
errors, so I'm guessing that some socket connection is not cleaned up properly
when rebooting.  I know for sure that cupsd is running normally until I start
firefox -- which maybe(?) is still talking to the old socket even though the
URL looks correct.  Anyway, cups is unhappy that firefox is not providing
authentication data -- perhaps because it's talking to the wrong socket.

Just guessing, though.





Re: [gentoo-user] strange error when doing emerge @preserved-rebuild

2010-01-20 Thread Paul Hartman
On Wed, Jan 20, 2010 at 2:42 PM,   wrote:
> However, I do not have any kde packages that I know of -- I wonder what
> is pulling that in.  I certainly do not have arts.

emerge gentoolkit
equery d arts



Re: [gentoo-user] Re: {OT} Flashing BIOS with Windows utility

2010-01-20 Thread Alan McKinnon
On Wednesday 20 January 2010 22:19:13 Neil Bothwick wrote:
> On Wed, 20 Jan 2010 21:23:27 +0200, Alan McKinnon wrote:
> > > I wonder why we have BIOS flash programs at all.
> >
> > 
> > because without them we couldn't flash stuff?
> > 
> 
> Don't tell my motherboard that or it will refuse to update next time
> unless I run some program or other.

So without a program to do flash updates (or at least some code somewhere that 
might not be in .exe or ELF format) how does your motherboard do flash 
updates?
 

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] strange error when doing emerge @preserved-rebuild

2010-01-20 Thread Alan McKinnon
On Wednesday 20 January 2010 22:45:09 Zeerak Waseem wrote:
> On Wed, 20 Jan 2010 21:42:05 +0100,  wrote:
> > However, I do not have any kde packages that I know of -- I wonder what
> > is pulling that in.  I certainly do not have arts.

[snip]
 
> Perhaps equery belongs arts could help?

You mean "equery depends -a arts" 

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: A quick test of su [SOLVED]

2010-01-20 Thread walt

On 01/19/2010 10:26 AM, Nikos Chantziaras wrote:

On 01/19/2010 07:55 PM, walt wrote:

On 01/18/2010 04:41 PM, walt wrote:


Here is what I see on both machines:

$su
Password: <= I type Ctrl-d here
Segmentation fault

I've traced this problem to the pam_ssh package, which is supposed
to return a charstring containing the typed password, but it instead
returns a null pointer when I type Ctrl-d. Calamity ensues.


The key here is the pam_ssh package, which apparently the rest of you
don't use for authentication.


Just a quick question: what do you need PAM for? No it's not a rhetorical question. I 
always wondered what PAM is good for; to find out, I completely removed everything PAM 
related from my system ("-pam" in make.conf and then rebuild everything and then
depclean.) The system works exactly the same as before. So I'm left wondering 
what PAM was doing in the first place?


I'm no expert on PAM, but I've seen it used on every linux distribution
that I've tried over the years.  In the case I just described, I used it
so I can identify myself with my ssh key, which is much more secure than
a password.  So, in general, pam is used to set security policy for how
users can log in, change their passwords, etc.  I'm not sure how I would
have added ssh key authentication without pam.  It's a good question.




Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-20 Thread Paul Hartman
On Tue, Jan 19, 2010 at 10:26 AM, Grant  wrote:
> I need to update the BIOS on my Biostar motherboard, but the utility
> is said to be "Windows 2000 / XP / VISTA".  I've flashed the BIOS in
> other systems by booting a FreeDOS CD, but that won't work for a
> Windows (not DOS) flashing utility, will it?  I tried running the
> utility via wine with no luck.

Some Biostar motherboards have a flashing utility built-in. Try to
press F12 or something during POST, or check the manual to see what
the key might possibly be if your motherboard has such a function.



Re: [gentoo-user] strange error when doing emerge @preserved-rebuild

2010-01-20 Thread Zeerak Waseem

On Wed, 20 Jan 2010 21:42:05 +0100,  wrote:


However, I do not have any kde packages that I know of -- I wonder what
is pulling that in.  I certainly do not have arts.

Alan McKinnon  wrote:


On Wednesday 20 January 2010 21:41:54 cov...@ccs.covici.com wrote:
> Hi.  When I am trying to do an emerge @preserved-rebuild after an
> upgrade, I just get the following:
>
> These are the packages that would be merged, in reverse order:
>
> Calculating dependencies... done!
>
> emerge: there are no ebuilds to satisfy "kde-base/arts:3.5".
>
> I tried a -t, but it didn't give me anything.  How can I tell what is
> happening here?

This has been well documented and well discussed here there and  
everywhere.


Gentoo has dropped all kde-3.5 packages from portage. They are now in  
the kde-
sunset overlay, you need layman to access them. That error proves you  
do not

have the overlay enabled.

--
alan dot mckinnon at gmail dot com




Perhaps equery belongs arts could help?

--
Zeerak



Re: [gentoo-user] strange error when doing emerge @preserved-rebuild

2010-01-20 Thread covici
However, I do not have any kde packages that I know of -- I wonder what
is pulling that in.  I certainly do not have arts.

Alan McKinnon  wrote:

> On Wednesday 20 January 2010 21:41:54 cov...@ccs.covici.com wrote:
> > Hi.  When I am trying to do an emerge @preserved-rebuild after an
> > upgrade, I just get the following:
> > 
> > These are the packages that would be merged, in reverse order:
> > 
> > Calculating dependencies... done!
> > 
> > emerge: there are no ebuilds to satisfy "kde-base/arts:3.5".
> > 
> > I tried a -t, but it didn't give me anything.  How can I tell what is
> > happening here?
> 
> This has been well documented and well discussed here there and everywhere.
> 
> Gentoo has dropped all kde-3.5 packages from portage. They are now in the kde-
> sunset overlay, you need layman to access them. That error proves you do not 
> have the overlay enabled.
> 
> -- 
> alan dot mckinnon at gmail dot com

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] [CLOSED] Re: is ddrescue this slow?

2010-01-20 Thread Valmor de Almeida
Stroller wrote:
[snip]
> 
> I would try running fsck on a copy of the image.
> 

I did try and thought I would post here some final info just for the
record. I proceeeded with the command

  r...@sysresccd /root % ddrescue -r 1 /dev/sda /dev/sdc rescued.log

which took ~50 hours to finish with the message:

Press Ctrl-C to interrupt
Initial status (read from logfile)
rescued:58811 MB,  errsize:  48909 kB,  errors:  95
Current status
rescued:77815 MB,  errsize:   2210 MB,  current rate:0 B/s
   ipos:66589 MB,   errors: 598,average rate:56872 B/s
   opos:66589 MB, time from last successful read:18.5 m
Trimming failed blocks...
ddrescue: write error: Input/output error

Again the same error message. I did not care about it and moved forward
to mount the /dev/sdc drive. Enabled the LVM volume groups with vgchange
-a y (all this under the systemrescuecd boot), mounted the partition of
interest under LVM control and did a

  reiserfsck --check  /dev/myvg/mylv

It ended with

 1 found corruptions can be fixed only when running with --rebuild-tree
 ###
 reiserfsck finished at Fri Jan 15 11:46:23 2010
 ###

The next step was then

  reiserfsck --rebuild-tree --logfile rebuild.log /dev/myvg/mylv

I was then able to mount the partition and inspect the newly created
lost+found/ directory. Surprisingly I was able to find the file I was
looking for!!

It was the first time I tried this kind of HDD forensics and was
surprised with the time that it took to recover data from a relative low
storage drive: 80GB. The rebuild.log file had over 8000 lines.

Stroller, thanks for all your comments and suggestions. Yes having extra
disk space is a must to be able to recover data.

--
Valmor

> 
> I hope this makes sense. I'm by no means an expert, but I'm glad to  
> help in any way possible. Having lots of disk space helps a lot.
> 
> Stroller.
> 
> 
> 




Re: [gentoo-user] Re: {OT} Flashing BIOS with Windows utility

2010-01-20 Thread Neil Bothwick
On Wed, 20 Jan 2010 21:23:27 +0200, Alan McKinnon wrote:

> > I wonder why we have BIOS flash programs at all.  
> 
> 
> because without them we couldn't flash stuff?
> 

Don't tell my motherboard that or it will refuse to update next time
unless I run some program or other.


-- 
Neil Bothwick

teG I sdrawkcaB eroM ehT oG I sdrawroF eroM ehT


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: kde wont log in user

2010-01-20 Thread Neil Bothwick
On Wed, 20 Jan 2010 18:04:41 + (UTC), james wrote:

> If I use the old org.conf file, it boot but the kdm login manager
> app never starts and It does not allow login on console. It is
> a dell laptop. I think the xorg.conf file needs work, but,
> it's only a guess.

That sounds a good guess, what does the Xorg.log show?


-- 
Neil Bothwick

You shall know the truth, and you shall freak.


signature.asc
Description: PGP signature


Re: [gentoo-user] strange error when doing emerge @preserved-rebuild

2010-01-20 Thread Zeerak Waseem

On Wed, 20 Jan 2010 20:41:54 +0100,  wrote:


Hi.  When I am trying to do an emerge @preserved-rebuild after an
upgrade, I just get the following:

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "kde-base/arts:3.5".

I tried a -t, but it didn't give me anything.  How can I tell what is
happening here?

Thanks in advance for any ideas.



I'm guessing it has something to do with kde 3.5 being removed from  
portage. Do you have the sunset overlay added? If not then it would be  
necessary as all of kde 3.5 is going to disappear very soon (if it hasn't  
already as emerge seems to be telling you).


--
Zeerak



Re: [gentoo-user] strange error when doing emerge @preserved-rebuild

2010-01-20 Thread Alan McKinnon
On Wednesday 20 January 2010 21:41:54 cov...@ccs.covici.com wrote:
> Hi.  When I am trying to do an emerge @preserved-rebuild after an
> upgrade, I just get the following:
> 
> These are the packages that would be merged, in reverse order:
> 
> Calculating dependencies... done!
> 
> emerge: there are no ebuilds to satisfy "kde-base/arts:3.5".
> 
> I tried a -t, but it didn't give me anything.  How can I tell what is
> happening here?

This has been well documented and well discussed here there and everywhere.

Gentoo has dropped all kde-3.5 packages from portage. They are now in the kde-
sunset overlay, you need layman to access them. That error proves you do not 
have the overlay enabled.

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] strange error when doing emerge @preserved-rebuild

2010-01-20 Thread covici
Hi.  When I am trying to do an emerge @preserved-rebuild after an
upgrade, I just get the following:

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "kde-base/arts:3.5".

I tried a -t, but it didn't give me anything.  How can I tell what is
happening here?

Thanks in advance for any ideas.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Re: {OT} Flashing BIOS with Windows utility

2010-01-20 Thread Alan McKinnon
On Wednesday 20 January 2010 20:13:11 Neil Bothwick wrote:
> On Wed, 20 Jan 2010 19:53:23 +0800, Xi Shen wrote:
> > i just wonder why we do not have BIOS flash program on linux.
> 
> I wonder why we have BIOS flash programs at all.


because without them we couldn't flash stuff?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-20 Thread Alan McKinnon
On Wednesday 20 January 2010 21:01:47 pk wrote:
> BRM wrote:
> > The point of the UI is that you ought not care what goes where, unless
> > you are debugging the UI or the program itself.
> >
> > While a UI is important; a good UI is key.
> 
> And a plain text editor is, imo, a good UI; everybody knows how to use
> it. Why bring in another extra (translation) layer?

Another layer can be good, if properly abstracted. A good example is KDE's 
popups when you plug in a hotswap storage device. You get a context-sensitive 
popup asking you what you want to do and the choices are sane. You say what 
you want to do and don't worry about the implementation. This is good.

XML OTOH was designed for a very specific purpose, and what hal does is not 
it. Too many UIs for things like this take the exact same info in the file, 
shuffle it around a bit, display some bits in green and other bits in red, and 
then try and proclaim that this is a VeryGoodThing(tm).

But I've been around a long time and by now have a finely honed bullshit 
detector. It rings alarm bells when I look at the implementation of hal (but 
not the idea of hal).

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] kmail/kontact display anomaly [SOLVED]

2010-01-20 Thread Jim Cunning
On Wednesday 20 January 2010 02:57:30 Frank Steinmetzger wrote:
> Am Mittwoch, 20. Januar 2010 schrieb Neil Bothwick:
> > For Konqueror, you turn it of in the Web Browsing section of the
> > settings, the last item. I don't use KMail but I expect this will affect
> > KMail too, or KMail will have a similar setting.
> 
> I guess that’s because - similar to Outl**k using the IE engine - KMail
>  seems to use the KHTML engine to display messages. That’s why it also has
>  this feature.
> 
The control is indeed in konqueror settings. Kmail does honor it, but only 
after a restart of kontact or kmail.  Kmail does not appear to have its own 
setting for "Enable/disable Access Key activation with Ctrl key"

Thanks to all who provided answers and guidance on this prob^H^H^H^Hfeature.
-- 
Jim


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-20 Thread pk
BRM wrote:

> The point of the UI is that you ought not care what goes where, unless you 
> are debugging the UI or the program itself.
> 
> While a UI is important; a good UI is key.

And a plain text editor is, imo, a good UI; everybody knows how to use
it. Why bring in another extra (translation) layer?

Best regards

Peter K



Re: [gentoo-user] Re: {OT} Flashing BIOS with Windows utility

2010-01-20 Thread Neil Bothwick
On Wed, 20 Jan 2010 19:53:23 +0800, Xi Shen wrote:

> i just wonder why we do not have BIOS flash program on linux.

I wonder why we have BIOS flash programs at all.


-- 
Neil Bothwick

If man ruled the world:
Daisy Duke shorts would never go out of fashion.


signature.asc
Description: PGP signature


[gentoo-user] Re: kde wont log in user

2010-01-20 Thread james
ubiquitous1980  gmail.com> writes:


> I know I'm coming in half way here, but have you logged in using kdm or
> just straight in via the cli?

The kdm display manager will let me log in and start kde4.
I can ssh in or kill off xdm and log in on console just fine.


If I use the old org.conf file, it boot but the kdm login manager
app never starts and It does not allow login on console. It is
a dell laptop. I think the xorg.conf file needs work, but,
it's only a guess.


James








Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-20 Thread BRM
- Original Message 

> From: Alan McKinnon 
> On Tuesday 19 January 2010 22:36:45 BRM wrote:
> > > Or a pretty GUI with clicky boxes to change the settings while never
> > > letting the user see the contents of the XML.
> > Once the user interface is in place it doesn't matter whether it is XML or
> >  something else. The key is that is has a user interface, you can do a INI
> >  format and still be just as crappy.
> Classic examples are the windows registry editor and gconf. My god, I hate 
> both. It seems like the devs just chomped an XML file and rotated it 90 
> degrees to get an expandable tree view.

True - good examples of horrid interfaces. Needless to say...

> Which does absolutely nothing to aid my understanding of what goes where.

The point of the UI is that you ought not care what goes where, unless you are 
debugging the UI or the program itself.

While a UI is important; a good UI is key.

BRM





Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-20 Thread Dirk Heinrichs
Am Dienstag 19 Januar 2010 23:58:24 schrieb Grant:
> I should be able to use flashrom to flash my motherboard's BIOS?  Do I
> need to check compatibility, or do I just go for it?

This exercise is left to the interested reader ;)

Seriously, of course you should check compatibility before you use it. The 
devs also state on the project web site that you would get help quite fast via 
IRC, if you'd run into problems.

Bye...

Dirk



Re: [gentoo-user] Re: {OT} Flashing BIOS with Windows utility

2010-01-20 Thread Dirk Heinrichs
Am Mittwoch 20 Januar 2010 12:53:23 schrieb Xi Shen:

> i just wonder why we do not have BIOS flash program on linux.

Who says we don't?

Bye...

Dirk



Re: [gentoo-user] simple Q on portage utilities

2010-01-20 Thread Neil Bothwick
On Wed, 20 Jan 2010 11:51:22 +0100 (CET), Helmut Jarausch wrote:

> Because of that I have to replace 
> emerge @preserved-rebuild
> 
> by something which just updates all packages
> depending on media-libs/jpeg .
> Here,
> equery -qC depends  media-libs/jpeg
> 
> or probably
> 
> equery -qC depends --indirect media-libs/jpeg
> 
> comes to my mind.
> 
> But the output is not quite what I need.
> I'd like to use  parallel emerge (option -j4)
> since there are a lots of packages to re-emerge.
> I'd need a long line containing several items, e.g.
> '=dev-python/pygraphviz-0.99.1' 

equery is not reliable as it doesn't correctly account for USE flags.
Parsing the output from emerge --depclean -pv media-libs/jpeg is safer.


-- 
Neil Bothwick

There are only two tragedies in life: one is not getting what one wants;
and the other is getting it. - Oscar Wilde (1854-1900)


signature.asc
Description: PGP signature


Re: [gentoo-user] Sound in KDE-4

2010-01-20 Thread Peter Humphrey
This is weird.

On Wednesday 20 January 2010 04:40:04 Xi Shen wrote:

> did you compile your sound drivers into the kernel, or as a module. i
> had a similar issue before on my thinkpad t61. i compiled all the
> intel-hd related sound drivers into the kernel, but the sound system
> does not work. but after i compile them as modules, the sound works
> very well.

They're all modules:

$ lsmod | grep snd
snd_seq_oss23781  0
snd_seq_midi_event  4540  1 snd_seq_oss
snd_seq42949  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device  4405  2 snd_seq_oss,snd_seq
snd_pcm_oss30573  0
snd_mixer_oss  12406  1 snd_pcm_oss
snd_hda_codec_via  24586  0
snd_hda_intel  17746  5
snd_hda_codec  44688  2 snd_hda_codec_via,snd_hda_intel
snd_pcm55177  4 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer  15366  3 snd_seq,snd_pcm
snd43222  17 
snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore   4447  1 snd
snd_page_alloc  5937  2 snd_hda_intel,snd_pcm

The sound works fine except that KDE can't detect the hardware; it wants to 
forget about the Intel HDA device permanently. (I don't let it.)

But by the time I come to log off, it's working happily with sound - at any 
rate, I get the log-off tune.

Curiouser and curiouser.

-- 
Rgds
Peter.



Re: [gentoo-user] VirtualBox, Gentoo, and USB thumb drives

2010-01-20 Thread Mark Knecht
On Tue, Jan 19, 2010 at 8:10 PM, David Relson  wrote:
> I've been using VirtualBox recently with 32-bit Ubuntu for a work
> project. It seems that whenever my thumb drive is moved between host and
> guest operating system, Gentoo is mounts it as a new device (see
> below).  Can these extra device mounts be avoided?
>
> Regards,
>
> David
>
> osage relson # df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda1              99M   17M   78M  18% /boot
> /dev/sda4             437G  226G  189G  55% /
> /dev/sdb1             466G  259G  208G  56% /mnt/usbhd
> /dev/sdc              7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdd              7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sde              7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdf              7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdg              7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdh              7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdi              7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdj              7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdk              7.5G  2.7G  4.8G  36% /mnt/usbkey
>
>

1) Label the partition and then possibly put mount instructions in fstab?

2) Are you properly unmounting the thumb drive each time you remove
it? Seems like maybe the system thinks you're not...

HTH,
Mark



Re: [gentoo-user] squid - allowing only one domain

2010-01-20 Thread Joseph

On 01/20/10 21:24, Adam wrote:

On 01/20/10 16:53, Joseph wrote:

I'm testing squid and want to allow only one domain but it is not
working (using iptable + squid)
iptable:
ACCEPT tcp  --  anywhere anywheretcp
dpt:http owner UID match squid
ACCEPT tcp  --  anywhere anywheretcp
dpt:3128 owner UID match squid
REDIRECT   tcp  --  anywhere anywheretcp
dpt:http redir ports 3128


Using "owner" is incorrect, as the packets are not locally generated so
the OS has no user context for them.


In a squid log I get:

1263964263.464  0 192.168.1.5 NONE/400 1828 GET / - NONE/- text/html

All I have access is to localhost:361 anything else local is denied including 
www
What should I use instead of owner?
I was following this guide:
http://www.linux.com/archive/articles/113733

It worked with dansguardian in between but I was trying to by-pass the 
dansguardian as I only need to allow access to one or two web-pages.


--
Joseph



Re: [gentoo-user] VirtualBox, Gentoo, and USB thumb drives

2010-01-20 Thread ubiquitous1980
Fernando Antunes wrote:
>
>
> On Wed, Jan 20, 2010 at 2:10 AM, David Relson
> mailto:rel...@osagesoftware.com>> wrote:
>
> I've been using VirtualBox recently with 32-bit Ubuntu for a work
> project. It seems that whenever my thumb drive is moved between
> host and
> guest operating system, Gentoo is mounts it as a new device (see
> below).  Can these extra device mounts be avoided?
>
> Regards,
>
> David
>
>  
>
> osage relson # df -h
> FilesystemSize  Used Avail Use% Mounted on
> /dev/sda1  99M   17M   78M  18% /boot
> /dev/sda4 437G  226G  189G  55% /
> /dev/sdb1 466G  259G  208G  56% /mnt/usbhd
> /dev/sdc  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdd  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sde  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdf  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdg  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdh  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdi  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdj  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdk  7.5G  2.7G  4.8G  36% /mnt/usbkey
>
> This doesn't happen with me. I'm using the binary version of
> virtualbox. When I plug the pen drive on Gentoo, it mount it for my
> host usage. When I go to the virtualbox menu usb devices and mark the
> checkbox for my pen drive, the pen drive is unmounted on the host and
> mounted on the guest (btw, Windows XP). The inverse process occurs
> when a uncheck the usb on the virtualbox usb devices menu.
>
> Guess, are you using the open source of virtualboxes ? I think there
> are difference in the usb usability betweek binary and open source
> version.
>
There is no official support for USB within the OSE version of
virtualbox.  This is one of those pesky annoyances...I have heard that
soft links might be the trick to activate USB in the OSE version.



Re: [gentoo-user] VirtualBox, Gentoo, and USB thumb drives

2010-01-20 Thread Frank Steinmetzger
Am Mittwoch, 20. Januar 2010 schrieb Fernando Antunes:

> Guess, are you using the open source of virtualboxes ? I think there are
> difference in the usb usability betweek binary and open source version.

In that the OSS version does not support USB at all.
-- 
Gruß | Greetings | Qapla'
"Do not handicap your children by making their lives easy." (R. Heinlein)


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: {OT} Flashing BIOS with Windows utility

2010-01-20 Thread Nikos Chantziaras

On 01/20/2010 01:53 PM, Xi Shen wrote:

On Wed, Jan 20, 2010 at 6:39 PM, Nikos Chantziaras  wrote:

On 01/19/2010 06:26 PM, Grant wrote:


I need to update the BIOS on my Biostar motherboard, but the utility
is said to be "Windows 2000 / XP / VISTA".  I've flashed the BIOS in
other systems by booting a FreeDOS CD, but that won't work for a
Windows (not DOS) flashing utility, will it?  I tried running the
utility via wine with no luck.


Most motherboard vendors also offer a bootable ISO image that will flash the
BIOS automatically once booted from it.  Did you check whether Biostar
offers this?


i just wonder why we do not have BIOS flash program on linux.


Because most people use Windows so that vendors don't bother creating 
Linux versions? :P





Re: [gentoo-user] simple Q on portage utilities

2010-01-20 Thread Helmut Jarausch
On 20 Jan, Crístian Viana wrote:
> maybe this works:
> 
> equery -q d jpeg | sed -e "s/^/=/" | xargs emerge -j 4 -1
> 
> I don't know how do to that using only portage utilities, but sed and xargs
> are always allowed, I guess :)

Thanks this works! 
(One just cannot use the --ask option to emerge but has to do it twice
once with --pretend and then without)

Many thanks,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] simple Q on portage utilities

2010-01-20 Thread Crístian Viana
maybe this works:

equery -q d jpeg | sed -e "s/^/=/" | xargs emerge -j 4 -1

I don't know how do to that using only portage utilities, but sed and xargs
are always allowed, I guess :)

On Wed, Jan 20, 2010 at 8:51 AM, Helmut Jarausch <
jarau...@igpm.rwth-aachen.de> wrote:

> Hi,
> again, I have to work around a broken Gentoo system.
> (I cannot re-install kde-base/step)
>
> Because of that I have to replace
> emerge @preserved-rebuild
>
> by something which just updates all packages
> depending on media-libs/jpeg .
> Here,
> equery -qC depends  media-libs/jpeg
>
> or probably
>
> equery -qC depends --indirect media-libs/jpeg
>
> comes to my mind.
>
> But the output is not quite what I need.
> I'd like to use  parallel emerge (option -j4)
> since there are a lots of packages to re-emerge.
> I'd need a long line containing several items, e.g.
> '=dev-python/pygraphviz-0.99.1'
>
> I could send the output of equery to a file,
> edit it with an editor with good regexp support
> and hand it over to the shell.
>
> But I wonder, is there an easier way to use
> portage utilities for that?
>
> Many thanks for a hint,
> Helmut.
>
> --
> Helmut Jarausch
>
> Lehrstuhl fuer Numerische Mathematik
> RWTH - Aachen University
> D 52056 Aachen, Germany
>
>


-- 
Crístian Deives dos Santos Viana [aka CD1]


Re: [gentoo-user] Re: {OT} Flashing BIOS with Windows utility

2010-01-20 Thread Xi Shen
On Wed, Jan 20, 2010 at 6:39 PM, Nikos Chantziaras  wrote:
> On 01/19/2010 06:26 PM, Grant wrote:
>>
>> I need to update the BIOS on my Biostar motherboard, but the utility
>> is said to be "Windows 2000 / XP / VISTA".  I've flashed the BIOS in
>> other systems by booting a FreeDOS CD, but that won't work for a
>> Windows (not DOS) flashing utility, will it?  I tried running the
>> utility via wine with no luck.
>
> Most motherboard vendors also offer a bootable ISO image that will flash the
> BIOS automatically once booted from it.  Did you check whether Biostar
> offers this?
>
>
>


i just wonder why we do not have BIOS flash program on linux.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/



Re: [gentoo-user] kmail/kontact display anomaly

2010-01-20 Thread Frank Steinmetzger
Am Mittwoch, 20. Januar 2010 schrieb Neil Bothwick:

> For Konqueror, you turn it of in the Web Browsing section of the
> settings, the last item. I don't use KMail but I expect this will affect
> KMail too, or KMail will have a similar setting.

I guess that’s because - similar to Outl**k using the IE engine - KMail seems 
to use the KHTML engine to display messages. That’s why it also has this 
feature.

-- 
Gruß | Greetings | Qapla'
LOL, you said ROFL.


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] simple Q on portage utilities

2010-01-20 Thread Helmut Jarausch
Hi,
again, I have to work around a broken Gentoo system.
(I cannot re-install kde-base/step)

Because of that I have to replace 
emerge @preserved-rebuild

by something which just updates all packages
depending on media-libs/jpeg .
Here,
equery -qC depends  media-libs/jpeg

or probably

equery -qC depends --indirect media-libs/jpeg

comes to my mind.

But the output is not quite what I need.
I'd like to use  parallel emerge (option -j4)
since there are a lots of packages to re-emerge.
I'd need a long line containing several items, e.g.
'=dev-python/pygraphviz-0.99.1' 

I could send the output of equery to a file,
edit it with an editor with good regexp support
and hand it over to the shell.

But I wonder, is there an easier way to use
portage utilities for that?

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] VirtualBox, Gentoo, and USB thumb drives

2010-01-20 Thread Fernando Antunes
On Wed, Jan 20, 2010 at 2:10 AM, David Relson wrote:

> I've been using VirtualBox recently with 32-bit Ubuntu for a work
> project. It seems that whenever my thumb drive is moved between host and
> guest operating system, Gentoo is mounts it as a new device (see
> below).  Can these extra device mounts be avoided?
>
> Regards,
>
> David
>
>

> osage relson # df -h
> FilesystemSize  Used Avail Use% Mounted on
> /dev/sda1  99M   17M   78M  18% /boot
> /dev/sda4 437G  226G  189G  55% /
> /dev/sdb1 466G  259G  208G  56% /mnt/usbhd
> /dev/sdc  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdd  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sde  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdf  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdg  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdh  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdi  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdj  7.5G  2.7G  4.8G  36% /mnt/usbkey
> /dev/sdk  7.5G  2.7G  4.8G  36% /mnt/usbkey
>
> This doesn't happen with me. I'm using the binary version of virtualbox.
When I plug the pen drive on Gentoo, it mount it for my host usage. When I
go to the virtualbox menu usb devices and mark the checkbox for my pen
drive, the pen drive is unmounted on the host and mounted on the guest (btw,
Windows XP). The inverse process occurs when a uncheck the usb on the
virtualbox usb devices menu.

Guess, are you using the open source of virtualboxes ? I think there are
difference in the usb usability betweek binary and open source version.


[gentoo-user] Re: {OT} Flashing BIOS with Windows utility

2010-01-20 Thread Nikos Chantziaras

On 01/19/2010 06:26 PM, Grant wrote:

I need to update the BIOS on my Biostar motherboard, but the utility
is said to be "Windows 2000 / XP / VISTA".  I've flashed the BIOS in
other systems by booting a FreeDOS CD, but that won't work for a
Windows (not DOS) flashing utility, will it?  I tried running the
utility via wine with no luck.


Most motherboard vendors also offer a bootable ISO image that will flash 
the BIOS automatically once booted from it.  Did you check whether 
Biostar offers this?





Re: [gentoo-user] kmail/kontact display anomaly

2010-01-20 Thread Neil Bothwick
On Tue, 19 Jan 2010 21:48:33 -0800, Jim Cunning wrote:

> > I had the same problem turning it off on KDE3. It's a system setting,
> > Konqueror does the same. ISTR it's in the Accessibility section of
> > systemsettings.

> Firefox does not exhibit this behavior,

Of course not, it's not a KDE app.

>  but konqueror does in the same
> way as kmail.  I couldn't find any other kxxx utilities with the same
> behavior, though.
> 
> At least now I know how to use this feature, but unfortunately, I can
> find nothing in the KDE menu "System Settings" under the General or
> Advanced tab that appears to enable or even modify this behavior.  Any
> other suggested places to look?

For Konqueror, you turn it of in the Web Browsing section of the
settings, the last item. I don't use KMail but I expect this will affect
KMail too, or KMail will have a similar setting.


-- 
Neil Bothwick

Those who live by the sword get shot by those who don't.


signature.asc
Description: PGP signature


Re: [gentoo-user] squid - allowing only one domain

2010-01-20 Thread Adam
On 01/20/10 16:53, Joseph wrote:
> I'm testing squid and want to allow only one domain but it is not
> working (using iptable + squid)
> iptable:
> ACCEPT tcp  --  anywhere anywheretcp
> dpt:http owner UID match squid
> ACCEPT tcp  --  anywhere anywheretcp
> dpt:3128 owner UID match squid
> REDIRECT   tcp  --  anywhere anywheretcp
> dpt:http redir ports 3128

Using "owner" is incorrect, as the packets are not locally generated so
the OS has no user context for them.




Re: [gentoo-user] squid - allowing only one domain

2010-01-20 Thread Adam
On 01/20/10 16:53, Joseph wrote:
> I'm testing squid and want to allow only one domain but it is not
> working (using iptable + squid)
> iptable:
> ACCEPT tcp  --  anywhere anywheretcp
> dpt:http owner UID match squid
> ACCEPT tcp  --  anywhere anywheretcp
> dpt:3128 owner UID match squid
> REDIRECT   tcp  --  anywhere anywheretcp
> dpt:http redir ports 3128
> 
> squid:
> # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
> 
> acl GOOD dstdomain .google.ca
> http_access allow GOOD
> http_access deny all
> 
> Why it doesn't work?

You havent said how its failing; ie
1. Its not intercepting the traffic
2. It is intercepting but doesnt allow acces to google.ca
3. It is intercepting but allows access to everything




Re: [gentoo-user] kmail/kontact display anomaly

2010-01-20 Thread Alan McKinnon
On Wednesday 20 January 2010 07:48:33 Jim Cunning wrote:
> On Tuesday 19 January 2010 12:50:32 Neil Bothwick wrote:
> > On Tue, 19 Jan 2010 22:22:39 +0200, Alan McKinnon wrote:
> > > Those are quick-link thingys that highlight clickable text in the mail.
> > > IIRC the intent is so you can type Ctrl-D and the browser will take you
> > > to the link labelled D
> > >
> > > I used to have it, then I did something in System Settings or kmail's
> > > config and it went away. Go through both looking for options that
> > > mention "Ctrl". I forget what it was, but do remember it was distinctly
> > > not obvious at the time.
> >
> > I had the same problem turning it off on KDE3. It's a system setting,
> > Konqueror does the same. ISTR it's in the Accessibility section of
> > systemsettings.
> 
> OK, thanks for the guidance.
> 
> Alan, I was at first confused by your response, and as a test tried, for
> example, to enter Ctrl- for whatever lettered link I wanted to
>  follow. Didn't work--when I pressed Ctrl the first time to display the
>  letter boxes, then pressed Ctrl-H (when an "H" box was displayed), the
>  boxes disappeared as soon as I depressed Ctrl, and with that still
>  pressed, pressing "H" did nothing.  Butif I press and release Ctrl to
>  display the letter boxes, and then press one of the letters (upper/lower
>  case didn't matter), the nearby text link was activated.  In kmail I was
>  able to select mailto:, http:, and https: links to open a compose window
>  in kmail or a new web page my firefox browser.
> 
> Firefox does not exhibit this behavior, but konqueror does in the same way
>  as kmail.  I couldn't find any other kxxx utilities with the same
>  behavior, though.
> 
> At least now I know how to use this feature, but unfortunately, I can find
> nothing in the KDE menu "System Settings" under the General or Advanced tab
> that appears to enable or even modify this behavior.  Any other suggested
> places to look?
> 

Sorry, I have no more suggestions. I think Neil is on the right track with 
Accessibility. I have that completely disabled here so it doesn't show up in 
my settings.

 
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] run X.org inside VirtualBox

2010-01-20 Thread Xi Shen
On Wed, Jan 20, 2010 at 12:46 PM, Xi Shen  wrote:
> On Wed, Jan 20, 2010 at 1:10 AM, Crístian Viana
>  wrote:
>> so you set VIDEO_CARDS="vesa"? just that? and INPUT_DEVICES="keyboard
>> mouse"? I'm using "virtualbox" on both variables and it's not working. I'll
>> try that as you said.
>>
>> On Mon, Jan 18, 2010 at 3:01 AM, Xi Shen  wrote:
>>>
>>> On Mon, Jan 18, 2010 at 6:27 AM, Crístian Viana
>>>  wrote:
>>> > hi!
>>> > I'm running Gentoo inside VirtualBox (on a Windows host, if that
>>> > matters)
>>> > and I can't make X.org work. when I try "X -configure" it says it can't
>>> > load
>>> > the vboxvideo library. according to some Google searches, that library
>>> > really doesn't work with the newest X.org. if that's really true, is
>>> > there
>>> > currently any combination of VirtualBox/X.org/Gentoo libraries to run
>>> > X.org
>>> > inside VirtualBox?
>>> > I'm running ~x86, so now I have =x11-base/xorg-server-1.7.4,
>>> > =app-emulation/virtualbox-guest-additions-3.1.0 (running at boot),
>>> > =x11-drivers/xf86-input-virtualbox-3.1.0 and
>>> > =x11-drivers/xf86-video-virtualbox-3.1.0. when I run "X -configure", the
>>> > error log shows:
>>> > List of video drivers:
>>> >         vboxvideo
>>> > dlopen: /usr/lib/xorg/modules/drivers/vboxvideo_drv.so: undefined
>>> > symbol:
>>> > resVgaShared
>>> > (EE) Failed to load /usr/lib/xorg/modules/drivers/vboxvideo_drv.so
>>> > (EE) Failed to load module "vboxvideo" (loader failed, 7)
>>> > any hep would be appreciated.
>>> > thanks!
>>> >
>>> > --
>>> > Crístian Deives dos Santos Viana [aka CD1]
>>> >
>>>
>>>
>>> maybe you can start the X without using the vboxvideo driver. that is
>>> what i did. actually i did not know we have a vboxvideo driver, so i
>>> just used the vesa, and it works very well. i can even enable the 3d
>>> acceleration and play with compiz fusion ;)
>>>
>>>
>>> --
>>> Best Regards,
>>> David Shen
>>>
>>> http://twitter.com/davidshen84/
>>> http://meme.yahoo.com/davidshen84/
>>>
>>
>>
>>
>> --
>> Crístian Deives dos Santos Viana [aka CD1]
>>
>
> yes, just VIDEO_CARDS="vesa" and INPUT_DEVICES="keyboard mouse". and
> have you installed the vbox additions? i had trouble when emerge the
> vbox specific drivers from gentoo portage. so i just install the
> binary from the vbox iso. and the installation tool will install the
> vboxvideo for you. and the X -configure can find it. but i did not
> notice any advantage using the vboxvideo driver. the 'vesa' driver
> works very well even with compiz fusion.
>
>
> --
> Best Regards,
> David Shen
>
> http://twitter.com/davidshen84/
> http://meme.yahoo.com/davidshen84/
>


i double checked my xorg.conf, and you cannot have compiz with 'vesa'
driver. i made a mistake. i think the issue you have relates to the
vboxvideo driver from the portage tree. unemerge them, and remove the
vbox* flag from your make.conf, then use the vbox additions from the
ISO file the vbox system provided.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/