Re: [gentoo-user] How do I determine the processor type? -- grub2 comments

2012-09-14 Thread felix
On Sat, Sep 15, 2012 at 01:05:41AM -0400, G.Wolfe Woodbury wrote:
> On 09/15/2012 12:28 AM, Dale wrote:
> > Put your kernel and such on /boot and run update-grub if I recall
> > correctly. I installed Kubuntu for my brother and it has grub2 which
> > has some magic sprinkled on it. I'm not sure how to tell it where to
> > point for the root partition tho. That may require a thread here if
> > google doesn't help. I might add, you may get better Ubuntu answers
> > here than from the Ubuntu folks. I'll forgive you if everyone else
> > will. ROFL Dale :-) :-) 
> grub2 is a completely rewritten animal, so it is *different*
> 
> grub2-install /dev/sd??
> 
> is the incantation to put grub2 onto the selected boot partition. Then
> 
>  /etc/default/grub
> grub2-mkconfig -o /boot/grub2/grub.cfg

I figure I have to keep the existing Ubuntu install happy for a couple
of weeks.  This is a work laptop and the Ubuntu side is productive
right now, so gentoo is my spare time conversion, and only after I
have it doing everything the Ubuntu install does, can I muck up
Ubuntu.  It also is a handy reference if I get in a gentoo corner,
like setting up X or KVM.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] UPS and serial or USB connections

2012-09-14 Thread Dale
J. Roeleveld wrote:
>
>
> Software is MS Windows only according to that site.
> What are you using on Linux?
>
> Sometimes the software on the UPS gets changed. This might mean it is
> not compatible anymore.
> -- 
> Sent from my Android phone with K-9 Mail. Please excuse my brevity. 


I haven't connected the UPS yet so I'm still using my old UPS and nut
software.  It has a Linux version on the CD but no mention of Gentoo,
just rpm and deb.  I tried to install this once before and I never got
the software to work right.  I think it was the init scripts that caused
trouble. 

I looked at the nut website and it says the new UPS uses usbhid-ups
which appears to need to be connected to the UPS by USB.  I'll try the
serial cable first, see what if anything it reports, then try USB and
see if it reports the same thing.  The old UPS uses powerpanel drivers
within nut.  That is sort of confusing since they call the Linux drivers
the same as the windows software. 

Looks like I'm going to have to test this to see if it works or not.  If
it does, may need to report it to the people on the nut website.  I
would prefer serial if it works the same myself. 

Thanks much. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!



Re: [gentoo-user] UPS and serial or USB connections

2012-09-14 Thread J. Roeleveld
Dale  wrote:

>J. Roeleveld wrote:
>> Dale  wrote:
>>
>> Howdy,
>>
>> Newegg just had a sale on a really nice UPS.  I got one.  Anyway,
>it has
>> both serial and USB connections.  I have a question about these. 
>I
>> could use either one but not sure if it matters.  Does the USB
>> connection offer any additional features over the serial
>connection?  I
>> could use USB but would rather use serial since nothing else I
>have is
>> serial but I have a bit of USB devices.  Also, I never disconnect
>the
>> serial cable from either the system or the UPS when either is in
>use. 
>> Sort of defeats the purpose I guess.  Since it also has screws to
>make
>> sure the serial cable doesn't come undone, the serial has one
>> advantage.  I'm not sure what would happen if it looses the
>connection
>> all of a sudden.  Does it do like NORAD and assume power is out? 
>lol 
>>
>> So, since I already have everything set up for se
>>  rial
>> connections,
>> should I just keep using it or does the USB have more goodies? 
>>
>> Thanks.
>>
>> Dale
>>
>> :-)  :-) 
>>
>>
>> P. S.  Crap, there goes my uptime again.  :-@ 
>>
>>
>> Dale.
>>
>> It depends on the UPS wether or not you get different functionality
>> between serial or USB. You would need to check the manual and support
>> for the UPS by NUT (or whichever tool you use)
>>
>> How UPS software responds to a connection failure depends on how you
>> configure it.
>>
>> In other words. You haven't provided enough information on the UPS to
>> give any meaningfull answers :)
>>
>> Which UPS and which UPS software are you using?
>>
>> --
>> Joost
>> -- 
>> Sent from my Android phone with K-9 Mail. Please excuse my brevity. 
>
>
>Ooops.  I thought I put the model.  It's a CyberPower 1350AVR.  My old
>UPS is a CyberPower 1250AVR but it is about 10 years old.  I have one
>working plug left on the back of it.  I literally wore the plugs out. 
>lol
>
>According to the book, and the box, the new one uses powerpanel which
>is
>the same as I use on the old UPS.  Since it uses the same
>drivers/software, I figure it will work like my old one does.  Then
>again, this is newer so that's why I ask.  My old one has LEDs on it
>where this one has a display with more info than my old one. 
>
>http://www.newegg.com/Product/Product.aspx?Item=N82E16842102070
>
>I don't yet have the UPS hooked up to the puter.  I'm letting the
>battery charge overnight first.  It says it is fully charged but still.
>
>Also, if it is going to blow up or something, I'd rather it do all that
>before I plug my rig up to it.  o_O
>
>Thanks.
>
>Dale
>
>:-)  :-) 
>
>-- 
>I am only responsible for what I said ... Not for what you understood
>or how you interpreted my words!

Software is MS Windows only according to that site.
What are you using on Linux?

Sometimes the software on the UPS gets changed. This might mean it is not 
compatible anymore.
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Re: [gentoo-user] How do I determine the processor type? -- grub2 comments

2012-09-14 Thread G.Wolfe Woodbury
On 09/15/2012 12:28 AM, Dale wrote:
> Put your kernel and such on /boot and run update-grub if I recall
> correctly. I installed Kubuntu for my brother and it has grub2 which
> has some magic sprinkled on it. I'm not sure how to tell it where to
> point for the root partition tho. That may require a thread here if
> google doesn't help. I might add, you may get better Ubuntu answers
> here than from the Ubuntu folks. I'll forgive you if everyone else
> will. ROFL Dale :-) :-) 
grub2 is a completely rewritten animal, so it is *different*

grub2-install /dev/sd??

is the incantation to put grub2 onto the selected boot partition. Then

 /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg

is the incantation for making the basic configuration.  If you have
multiple installations
on disk, emerge "os-prober" to bring in the detection of "foreign"
operating systems.
This creates the grub.cfg file, which prominently features a "DO NOT
EDIT" warning at the
top of the file; rank beginners are advised to edit /etc/defaut/grub if
that can make the changes
you want, but more advanced users can edit the grub.cfg to achieve
desired results.

For example, my grub.cfg has the default entry for my preferred OS to
boot, and then has
entries that bing in other configuration files for various other
situations.  I've got two
Gentoo collections, the Fedora collection and the Windows7 config.  the
grub2 "info"
pages are complete but a little dense and not as well organized as they
might be.

Good Luck.

-- 
G.Wolfe Woodbury






Re: [gentoo-user] How do I determine the processor type?

2012-09-14 Thread Dale
fe...@crowfix.com wrote:
> On Fri, Sep 14, 2012 at 09:42:42PM -0500, Dale wrote:
>
>> From my understanding, someone correct me if I am off here, AMD sort of
>> beat Intel to the 64 bit thing.  So, it sort of got named amd64 even tho
>> Intel came along later on and the name just stuck.  That's a very short
>> version of the story and I think that is how it went but someone may
>> come along and correct something. 
> I sort of knew that, but I haven't kept up with all the processor
> names, and linux the kernel merged x86 and amd64 in some fashion, or
> was it x86 and x86_64?  /usr/src/linux/arch/x86_64/boot/bzImage is a
> symlink to the x86.  It's all very confusing, and one of the gentoo
> docs says iCore2 is Xeon, so what do I know about iCore7?
>
> Kernel compile finished, 16 minutes (SSD sure speeds it up).  I'll
> finish the setup tomorrow.  At some point I have to figure out where
> Ubuntu hides the boot config so I can add an entry for the gentoo install.
>


I didn't say it wasn't confusing.  ;-)  Heck, I think I asked questions
here when I built my new rig which is sort of the reason why I
remember.  From some discussions I have seen, I think some CPUs need a
rocket scientist to figure out what to use.  I'm sure there is a rule
book somewhere.  lol 

Put your kernel and such on /boot and run update-grub if I recall
correctly.  I installed Kubuntu for my brother and it has grub2 which
has some magic sprinkled on it.  I'm not sure how to tell it where to
point for the root partition tho.  That may require a thread here if
google doesn't help.  I might add, you may get better Ubuntu answers
here than from the Ubuntu folks.  I'll forgive you if everyone else
will.  ROFL

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] UPS and serial or USB connections

2012-09-14 Thread Dale
J. Roeleveld wrote:
> Dale  wrote:
>
> Howdy,
>
> Newegg just had a sale on a really nice UPS.  I got one.  Anyway, it has
> both serial and USB connections.  I have a question about these.  I
> could use either one but not sure if it matters.  Does the USB
> connection offer any additional features over the serial connection?  I
> could use USB but would rather use serial since nothing else I have is
> serial but I have a bit of USB devices.  Also, I never disconnect the
> serial cable from either the system or the UPS when either is in use. 
> Sort of defeats the purpose I guess.  Since it also has screws to make
> sure the serial cable doesn't come undone, the serial has one
> advantage.  I'm not sure what would happen if it looses the connection
> all of a sudden.  Does it do like NORAD and assume power is out?  lol 
>
> So, since I already have everything set up for se
>  rial
> connections,
> should I just keep using it or does the USB have more goodies? 
>
> Thanks.
>
> Dale
>
> :-)  :-) 
>
>
> P. S.  Crap, there goes my uptime again.  :-@ 
>
>
> Dale.
>
> It depends on the UPS wether or not you get different functionality
> between serial or USB. You would need to check the manual and support
> for the UPS by NUT (or whichever tool you use)
>
> How UPS software responds to a connection failure depends on how you
> configure it.
>
> In other words. You haven't provided enough information on the UPS to
> give any meaningfull answers :)
>
> Which UPS and which UPS software are you using?
>
> --
> Joost
> -- 
> Sent from my Android phone with K-9 Mail. Please excuse my brevity. 


Ooops.  I thought I put the model.  It's a CyberPower 1350AVR.  My old
UPS is a CyberPower 1250AVR but it is about 10 years old.  I have one
working plug left on the back of it.  I literally wore the plugs out.  lol

According to the book, and the box, the new one uses powerpanel which is
the same as I use on the old UPS.  Since it uses the same
drivers/software, I figure it will work like my old one does.  Then
again, this is newer so that's why I ask.  My old one has LEDs on it
where this one has a display with more info than my old one. 

http://www.newegg.com/Product/Product.aspx?Item=N82E16842102070

I don't yet have the UPS hooked up to the puter.  I'm letting the
battery charge overnight first.  It says it is fully charged but still. 
Also, if it is going to blow up or something, I'd rather it do all that
before I plug my rig up to it.  o_O

Thanks.

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!



Re: [gentoo-user] UPS and serial or USB connections

2012-09-14 Thread J. Roeleveld
Dale  wrote:

>Howdy,
>
>Newegg just had a sale on a really nice UPS.  I got one.  Anyway, it
>has
>both serial and USB connections.  I have a question about these.  I
>could use either one but not sure if it matters.  Does the USB
>connection offer any additional features over the serial connection?  I
>could use USB but would rather use serial since nothing else I have is
>serial but I have a bit of USB devices.  Also, I never disconnect the
>serial cable from either the system or the UPS when either is in use. 
>Sort of defeats the purpose I guess.  Since it also has screws to make
>sure the serial cable doesn't come undone, the serial has one
>advantage.  I'm not sure what would happen if it looses the connection
>all of a sudden.  Does it do like NORAD and assume power is out?  lol 
>
>So, since I already have everything set up for serial connections,
>should I just keep using it or does the USB have more goodies? 
>
>Thanks.
>
>Dale
>
>:-)  :-) 
>
>
>P. S.  Crap, there goes my uptime again.  :-@ 
>
>-- 
>I am only responsible for what I said ... Not for what you understood
>or how you interpreted my words!

Dale.

It depends on the UPS wether or not you get different functionality between 
serial or USB. You would need to check the manual and support for the UPS by 
NUT (or whichever tool you use)

How UPS software responds to a connection failure depends on how you configure 
it.

In other words. You haven't provided enough information on the UPS to give any 
meaningfull answers :)

Which UPS and which UPS software are you using?

--
Joost
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

[gentoo-user] UPS and serial or USB connections

2012-09-14 Thread Dale
Howdy,

Newegg just had a sale on a really nice UPS.  I got one.  Anyway, it has
both serial and USB connections.  I have a question about these.  I
could use either one but not sure if it matters.  Does the USB
connection offer any additional features over the serial connection?  I
could use USB but would rather use serial since nothing else I have is
serial but I have a bit of USB devices.  Also, I never disconnect the
serial cable from either the system or the UPS when either is in use. 
Sort of defeats the purpose I guess.  Since it also has screws to make
sure the serial cable doesn't come undone, the serial has one
advantage.  I'm not sure what would happen if it looses the connection
all of a sudden.  Does it do like NORAD and assume power is out?  lol 

So, since I already have everything set up for serial connections,
should I just keep using it or does the USB have more goodies? 

Thanks.

Dale

:-)  :-) 


P. S.  Crap, there goes my uptime again.  :-@ 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] How do I determine the processor type?

2012-09-14 Thread felix
On Fri, Sep 14, 2012 at 09:42:42PM -0500, Dale wrote:

> From my understanding, someone correct me if I am off here, AMD sort of
> beat Intel to the 64 bit thing.  So, it sort of got named amd64 even tho
> Intel came along later on and the name just stuck.  That's a very short
> version of the story and I think that is how it went but someone may
> come along and correct something. 

I sort of knew that, but I haven't kept up with all the processor
names, and linux the kernel merged x86 and amd64 in some fashion, or
was it x86 and x86_64?  /usr/src/linux/arch/x86_64/boot/bzImage is a
symlink to the x86.  It's all very confusing, and one of the gentoo
docs says iCore2 is Xeon, so what do I know about iCore7?

Kernel compile finished, 16 minutes (SSD sure speeds it up).  I'll
finish the setup tomorrow.  At some point I have to figure out where
Ubuntu hides the boot config so I can add an entry for the gentoo install.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] How do I determine the processor type?

2012-09-14 Thread Dale
fe...@crowfix.com wrote:
> On Sat, Sep 15, 2012 at 01:26:41AM +0100, Kerin Millar wrote:
>> fe...@crowfix.com wrote:
>>> On Sat, Sep 15, 2012 at 12:45:51AM +0100, Kerin Millar wrote:
 fe...@crowfix.com wrote:
> I have a shiny new System76 laptop with a "3rd Generation Intel Core 
> i7-3720QM Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading)".
>
> It comes with Ubuntu, so naturally my first move was to split the Ubuntu 
> partition in half and install gentoo.  I will say no more about my first 
> experiences with Unity.
>
> The Ubunto uname -a says "3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 
> 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux".
 Take note - it's a x86_64 host environment.

> I installed the latest stage3 tarball and set up make.conf as
 Which stage3 tarball exactly?
>>> Maybe that's part of my confusion -- I was following the x86 handbook, not 
>>> amd64, because it's not amd.  But if amd64 should be used for all 64 bit 
>>> installs, that's probably my problem.
>>>
>>> As for the exact stage3 tarball, the ftp choice was 
>>> "gentoo/releases/x86/current-stage3".  This was about Sep 10.
>>>
>> It will work if you chroot as described in my previous message. linux32 
>> is a symlink to setarch so you can read the setarch manpage if you're 
>> curious as to why it is necessary. Still, unless you have a particular 
>> reason not to avoid using an amd64 stage tarball, I'd suggest starting 
>> over with one.
> Nope, just ignorance, thinking that amd64 shouldn't be used with an intel 
> processor.
>

>From my understanding, someone correct me if I am off here, AMD sort of
beat Intel to the 64 bit thing.  So, it sort of got named amd64 even tho
Intel came along later on and the name just stuck.  That's a very short
version of the story and I think that is how it went but someone may
come along and correct something. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] How do I determine the processor type?

2012-09-14 Thread felix
On Sat, Sep 15, 2012 at 01:26:41AM +0100, Kerin Millar wrote:
> fe...@crowfix.com wrote:
> > On Sat, Sep 15, 2012 at 12:45:51AM +0100, Kerin Millar wrote:
> >> fe...@crowfix.com wrote:
> >>> I have a shiny new System76 laptop with a "3rd Generation Intel Core 
> >>> i7-3720QM Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading)".
> >>>
> >>> It comes with Ubuntu, so naturally my first move was to split the Ubuntu 
> >>> partition in half and install gentoo.  I will say no more about my first 
> >>> experiences with Unity.
> >>>
> >>> The Ubunto uname -a says "3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 
> >>> 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux".
> >> Take note - it's a x86_64 host environment.
> >>
> >>> I installed the latest stage3 tarball and set up make.conf as
> >> Which stage3 tarball exactly?
> >
> > Maybe that's part of my confusion -- I was following the x86 handbook, not 
> > amd64, because it's not amd.  But if amd64 should be used for all 64 bit 
> > installs, that's probably my problem.
> >
> > As for the exact stage3 tarball, the ftp choice was 
> > "gentoo/releases/x86/current-stage3".  This was about Sep 10.
> >
> 
> It will work if you chroot as described in my previous message. linux32 
> is a symlink to setarch so you can read the setarch manpage if you're 
> curious as to why it is necessary. Still, unless you have a particular 
> reason not to avoid using an amd64 stage tarball, I'd suggest starting 
> over with one.

Nope, just ignorance, thinking that amd64 shouldn't be used with an intel 
processor.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] new machine : a few small queries

2012-09-14 Thread Philip Webb
I've got my new machine basically habitable with a few small problems.

(1) In Fluxbox, Gkrellm insists on starting on Desktop 1 ;
on my existing machine with the same config files, it starts on Desktop 8 .
There must be some setting somewhere which has got changed.

(2) Luxi Mono is not coming out cleanly in Gvim or (Xfce) Terminal :
IIRC there's a pkg or a setting somewhere to fix it,
but I can't find it in my extensive notes from the past.

(3) I have  4  heat sensors in Gkrellm : 'k10temp' + 3 * 'it87'.
Can anyone suggest which bit of which device each is measuring ?

The AMD Bulldozer X4 FX-4170 4-Core 4,2 GHz is taking  c 3/8  as long
to compile eg Firefox or GCC as this machine's Intel Core2 Duo ;
they also seem to be using less Portage tempspace on disk.
The variable-rate fan is very impressive, ranging  2200 - 6800 rpm .

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] How do I determine the processor type?

2012-09-14 Thread Kerin Millar

fe...@crowfix.com wrote:

On Sat, Sep 15, 2012 at 12:45:51AM +0100, Kerin Millar wrote:

fe...@crowfix.com wrote:

I have a shiny new System76 laptop with a "3rd Generation Intel Core i7-3720QM 
Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading)".

It comes with Ubuntu, so naturally my first move was to split the Ubuntu 
partition in half and install gentoo.  I will say no more about my first 
experiences with Unity.

The Ubunto uname -a says "3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 
2012 x86_64 x86_64 x86_64 GNU/Linux".

Take note - it's a x86_64 host environment.


I installed the latest stage3 tarball and set up make.conf as

Which stage3 tarball exactly?


Maybe that's part of my confusion -- I was following the x86 handbook, not 
amd64, because it's not amd.  But if amd64 should be used for all 64 bit 
installs, that's probably my problem.

As for the exact stage3 tarball, the ftp choice was 
"gentoo/releases/x86/current-stage3".  This was about Sep 10.



It will work if you chroot as described in my previous message. linux32 
is a symlink to setarch so you can read the setarch manpage if you're 
curious as to why it is necessary. Still, unless you have a particular 
reason not to avoid using an amd64 stage tarball, I'd suggest starting 
over with one.


--Kerin



Re: [gentoo-user] new machine : mouse trouble : finally explained

2012-09-14 Thread Philip Webb
120914 Volker Armin Hemmann wrote:
> On Thu, Sep 13, 2012 at 10:06:01PM -0400, Philip Webb wrote
>> Both Mageia -- installed from USB stick in a partition on the
>> HDD -- & System Rescue show  /dev/input/mouse0  after booting ;
>> in the case of SR it does it before I enter the GUI via 'wizard'.
>> They have no problem with the 2.0/1.1 port, but the Gentoo system as
>> I've installed it don't show  /dev/input/mouse0 from that port, but
>> only if I plug the mouse into the 3.0/2.0 port.  Someone suggested
>> it is caused by a Kernel .config setting, which if enabled seems to
>> force the system to look in the 3.0 port.  Why it should do that
>> doesn't make much sense : such upgrades are usually permissive,
>> not restrictive.  BTW there's no difference between 3.4.9 & 3.5.3 .
> All AMD southbridges need the OHCI controller driver.

Indeed, you seem to be correct.  The cause was an omitted driver,
which was a side-effect of switching from an Intel to an AMD mobo.
This machine has a Core2 Duo CPU & my .config for Kernel 3.4.0 has

  # USB Host Controller Drivers
  ...
  CONFIG_USB_EHCI_HCD=y
  ...
  # CONFIG_USB_OHCI_HCD is not set
  ...
  CONFIG_USB_UHCI_HCD=y
  ...

If you look at the helps which are available during 'make menuconfig',
they state (in brief) that OHCI is for 1.1 + AMD, UHCI is for Intel,
EHCI is for faster mice using 2.0 & XHCI (new) is for USB 3.0 .
So with a Core2 Duo & a mobo with only USB 2.0 , UHCI is enough ;
for my new AMD Bulldozer X4 FX-4170 4-Core 4,2 GHz , UHCI doesn't work,
but EHCI or XHCI take care of the 2.0/3.0 port, where the mouse works :
to be able to use the mouse in the 1.1/2.0 port, OHCI is needed.

All rather obscure & I can only thank the gods again for jolting my arm
so that I inserted the mouse into the wrong-but-right port.

HTH a few others, who can now find this msg via Google.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] How do I determine the processor type?

2012-09-14 Thread felix
On Sat, Sep 15, 2012 at 12:45:51AM +0100, Kerin Millar wrote:
> fe...@crowfix.com wrote:
> > I have a shiny new System76 laptop with a "3rd Generation Intel Core 
> > i7-3720QM Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading)".
> >
> > It comes with Ubuntu, so naturally my first move was to split the Ubuntu 
> > partition in half and install gentoo.  I will say no more about my first 
> > experiences with Unity.
> >
> > The Ubunto uname -a says "3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 
> > 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux".
> 
> Take note - it's a x86_64 host environment.
> 
> >
> > I installed the latest stage3 tarball and set up make.conf as
> 
> Which stage3 tarball exactly?

Maybe that's part of my confusion -- I was following the x86 handbook, not 
amd64, because it's not amd.  But if amd64 should be used for all 64 bit 
installs, that's probably my problem.

As for the exact stage3 tarball, the ftp choice was 
"gentoo/releases/x86/current-stage3".  This was about Sep 10.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc

2012-09-14 Thread Alex Schuster
Nikos Chantziaras writes:

> What the other posters said, except that you shouldn't add "splitdebug" 
> in your make.conf.  If you do that, it will affect all packages.
> 
> What you do instead is put this text into 
> /etc/portage/env/sys-libs/glibc (yes, it must be a text file, not a 
> directory):
> 
> CFLAGS="${CFLAGS} -g"
> CXXFLAGS="${CXXFLAGS} -g"
> FEATURES="${FEATURES} splitdebug"

Or put "sys-libs/glibc splitdebug.conf" in /etc/portage/package.env, and
"FEATURES=splitdebug" in /etc/portage/env/splitdebug.conf. The CFLAGS
change should not be necessary. And I also think that you can simply use
FEATURES=... instead of FEATURES="$FEATURES ..." and hope someone will
correct me if not.

Wonko



Re: [gentoo-user] How do I determine the processor type?

2012-09-14 Thread Kerin Millar

fe...@crowfix.com wrote:

I have a shiny new System76 laptop with a "3rd Generation Intel Core i7-3720QM 
Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading)".

It comes with Ubuntu, so naturally my first move was to split the Ubuntu 
partition in half and install gentoo.  I will say no more about my first 
experiences with Unity.

The Ubunto uname -a says "3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 
2012 x86_64 x86_64 x86_64 GNU/Linux".


Take note - it's a x86_64 host environment.



I installed the latest stage3 tarball and set up make.conf as


Which stage3 tarball exactly?



 ACCEPT_KEYWORDS=~x86
 CFLAGS="-O2 -march=i686 -pipe"
 CHOST="i686-pc-linux-gnu"



This suggests that you unpacked an 32-bit stage tarball. If that is 
indeed the case, you should execute the chroot in a different fashion:-


# linux32 chroot /mnt/gentoo/bin/bash

Alternatively, use an amd64 stage tarball. As a side note, you do not 
need to set CHOST at all in make.conf.



When I try to compile gentoo-sources-3.5.3, it tells me

 scripts/mod/empty.c:1:0: error: CPU you selected does not support x86-64 
instruction set

My home system is dual Athlon, ancient, and ~amd64..  I haven't kept track of 
all the Intel processors, but the kernel config doesn't have many choices.




[gentoo-user] How do I determine the processor type?

2012-09-14 Thread felix
I have a shiny new System76 laptop with a "3rd Generation Intel Core i7-3720QM 
Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading)".

It comes with Ubuntu, so naturally my first move was to split the Ubuntu 
partition in half and install gentoo.  I will say no more about my first 
experiences with Unity.

The Ubunto uname -a says "3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 
UTC 2012 x86_64 x86_64 x86_64 GNU/Linux".

I installed the latest stage3 tarball and set up make.conf as

ACCEPT_KEYWORDS=~x86
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"

When I try to compile gentoo-sources-3.5.3, it tells me

scripts/mod/empty.c:1:0: error: CPU you selected does not support x86-64 
instruction set

My home system is dual Athlon, ancient, and ~amd64..  I haven't kept track of 
all the Intel processors, but the kernel config doesn't have many choices.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc

2012-09-14 Thread Nikos Chantziaras

On 14/09/12 23:44, Michael Mol wrote:

On Fri, Sep 14, 2012 at 4:19 PM, Nikos Chantziaras  wrote:

On 14/09/12 22:48, Mick wrote:


I got this message in elog:

* Messages for package dev-util/valgrind-3.7.0-r4:

   * Valgrind will not work if glibc does not have debug symbols.
   * To fix this you can add splitdebug to FEATURES in make.conf
   * and remerge glibc.  See:
   * https://bugs.gentoo.org/show_bug.cgi?id=214065
   * https://bugs.gentoo.org/show_bug.cgi?id=274771
   * https://bugs.gentoo.org/show_bug.cgi?id=388703

but my glibc has no splitdebug USE flags



What the other posters said, except that you shouldn't add "splitdebug" in
your make.conf.  If you do that, it will affect all packages.

What you do instead is put this text into /etc/portage/env/sys-libs/glibc
(yes, it must be a text file, not a directory):

CFLAGS="${CFLAGS} -g"
CXXFLAGS="${CXXFLAGS} -g"
FEATURES="${FEATURES} splitdebug"


I'm fairly sure (I could be wrong) that splitdebug doesn't cause -g or
a derivative to be added to CFLAGS. Hence why I have "-ggdb" in my
CFLAGS.


That's why added "-g" above.  Having it in CFLAGS by default slows down 
compilation (with some packages dramatically, like webkit.)  I only 
enable it for splitdebug.





Re: [gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc

2012-09-14 Thread Mick
On Friday 14 Sep 2012 21:44:43 Michael Mol wrote:
> On Fri, Sep 14, 2012 at 4:19 PM, Nikos Chantziaras  wrote:
> > On 14/09/12 22:48, Mick wrote:
> >> I got this message in elog:
> >> 
> >> * Messages for package dev-util/valgrind-3.7.0-r4:
> >>   * Valgrind will not work if glibc does not have debug symbols.
> >>   * To fix this you can add splitdebug to FEATURES in make.conf
> >>   * and remerge glibc.  See:
> >>   * https://bugs.gentoo.org/show_bug.cgi?id=214065
> >>   * https://bugs.gentoo.org/show_bug.cgi?id=274771
> >>   * https://bugs.gentoo.org/show_bug.cgi?id=388703
> >> 
> >> but my glibc has no splitdebug USE flags
> > 
> > What the other posters said, except that you shouldn't add "splitdebug"
> > in your make.conf.  If you do that, it will affect all packages.
> > 
> > What you do instead is put this text into /etc/portage/env/sys-libs/glibc
> > (yes, it must be a text file, not a directory):
> > 
> > CFLAGS="${CFLAGS} -g"
> > CXXFLAGS="${CXXFLAGS} -g"
> > FEATURES="${FEATURES} splitdebug"
> 
> I'm fairly sure (I could be wrong) that splitdebug doesn't cause -g or
> a derivative to be added to CFLAGS. Hence why I have "-ggdb" in my
> CFLAGS.
> 
> (All in make.conf. Given splitdebug, I haven't heard a solid reason not
> to.)

Thank you all for your answers.  I should have slowed down to read the elog 
more carefully!
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc

2012-09-14 Thread Michael Mol
On Fri, Sep 14, 2012 at 4:19 PM, Nikos Chantziaras  wrote:
> On 14/09/12 22:48, Mick wrote:
>>
>> I got this message in elog:
>>
>> * Messages for package dev-util/valgrind-3.7.0-r4:
>>
>>   * Valgrind will not work if glibc does not have debug symbols.
>>   * To fix this you can add splitdebug to FEATURES in make.conf
>>   * and remerge glibc.  See:
>>   * https://bugs.gentoo.org/show_bug.cgi?id=214065
>>   * https://bugs.gentoo.org/show_bug.cgi?id=274771
>>   * https://bugs.gentoo.org/show_bug.cgi?id=388703
>>
>> but my glibc has no splitdebug USE flags
>
>
> What the other posters said, except that you shouldn't add "splitdebug" in
> your make.conf.  If you do that, it will affect all packages.
>
> What you do instead is put this text into /etc/portage/env/sys-libs/glibc
> (yes, it must be a text file, not a directory):
>
> CFLAGS="${CFLAGS} -g"
> CXXFLAGS="${CXXFLAGS} -g"
> FEATURES="${FEATURES} splitdebug"

I'm fairly sure (I could be wrong) that splitdebug doesn't cause -g or
a derivative to be added to CFLAGS. Hence why I have "-ggdb" in my
CFLAGS.

(All in make.conf. Given splitdebug, I haven't heard a solid reason not to.)

-- 
:wq



[gentoo-user] Re: dev-util/valgrind-3.7.0-r4 and glibc

2012-09-14 Thread Nikos Chantziaras

On 14/09/12 22:48, Mick wrote:

I got this message in elog:

* Messages for package dev-util/valgrind-3.7.0-r4:

  * Valgrind will not work if glibc does not have debug symbols.
  * To fix this you can add splitdebug to FEATURES in make.conf
  * and remerge glibc.  See:
  * https://bugs.gentoo.org/show_bug.cgi?id=214065
  * https://bugs.gentoo.org/show_bug.cgi?id=274771
  * https://bugs.gentoo.org/show_bug.cgi?id=388703

but my glibc has no splitdebug USE flags


What the other posters said, except that you shouldn't add "splitdebug" 
in your make.conf.  If you do that, it will affect all packages.


What you do instead is put this text into 
/etc/portage/env/sys-libs/glibc (yes, it must be a text file, not a 
directory):


CFLAGS="${CFLAGS} -g"
CXXFLAGS="${CXXFLAGS} -g"
FEATURES="${FEATURES} splitdebug"




Re: [gentoo-user] dev-util/valgrind-3.7.0-r4 and glibc

2012-09-14 Thread Marc Joliet
Am Fri, 14 Sep 2012 20:48:23 +0100
schrieb Mick :

> I got this message in elog:
> 
> * Messages for package dev-util/valgrind-3.7.0-r4:
> 
>  * Valgrind will not work if glibc does not have debug symbols.
>  * To fix this you can add splitdebug to FEATURES in make.conf
>  * and remerge glibc.  See:
>  * https://bugs.gentoo.org/show_bug.cgi?id=214065
>  * https://bugs.gentoo.org/show_bug.cgi?id=274771
>  * https://bugs.gentoo.org/show_bug.cgi?id=388703
> 
> but my glibc has no splitdebug USE flags:
[...]
> Is this a typo?

No, it's a FEATURE ;) . It even says as much in the emerge output. It's
explained in the mentioned bugs and of course in the man pages portage(5) and
make.conf(5).

But to summarize: as a valgrind user myself I have FEATURES="${FEATURES}
splitdebug" in /etc/portage/env/sys-libs/glibc.

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


signature.asc
Description: PGP signature


Re: [gentoo-user] dev-util/valgrind-3.7.0-r4 and glibc

2012-09-14 Thread covici
Mick  wrote:

> I got this message in elog:
> 
> * Messages for package dev-util/valgrind-3.7.0-r4:
> 
>  * Valgrind will not work if glibc does not have debug symbols.
>  * To fix this you can add splitdebug to FEATURES in make.conf
>  * and remerge glibc.  See:
>  * https://bugs.gentoo.org/show_bug.cgi?id=214065
>  * https://bugs.gentoo.org/show_bug.cgi?id=274771
>  * https://bugs.gentoo.org/show_bug.cgi?id=388703
> 
> but my glibc has no splitdebug USE flags:
> 
> [I] sys-libs/glibc
> 
>  Installed versions:  2.15-r2(2.2)^s(08:44:11 08/10/12)(multilib -
> crosscompile_opts_headers-only -debug -gd -hardened -profile -selinux -
> vanilla)
> 
> 
> As a matter of fact nothing has:
> 
> $ euse -i splitdebug
> global use flags (searching: splitdebug)
> 
> no matching entries found
> 
> local use flags (searching: splitdebug)
> 
> no matching entries found
> 
> 
> Is this a typo?

Nope, it goes in make.conf as a feature -- see the man page for more
details.  Mine is 
FEATURES="${FEATURES} -stricter -distcc -ccache  splitdebug"

Hope this helps.


-- 
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] dev-util/valgrind-3.7.0-r4 and glibc

2012-09-14 Thread Sascha Cunz
Am Freitag, 14. September 2012, 20:48:23 schrieb Mick:
> I got this message in elog:
> 
> * Messages for package dev-util/valgrind-3.7.0-r4:
> 
>  * Valgrind will not work if glibc does not have debug symbols.
>  * To fix this you can add splitdebug to FEATURES in make.conf
>  * and remerge glibc.  See:
>  * https://bugs.gentoo.org/show_bug.cgi?id=214065
>  * https://bugs.gentoo.org/show_bug.cgi?id=274771
>  * https://bugs.gentoo.org/show_bug.cgi?id=388703
> 
> but my glibc has no splitdebug USE flags:
> 
> [I] sys-libs/glibc
> 
>  Installed versions:  2.15-r2(2.2)^s(08:44:11 08/10/12)(multilib -
> crosscompile_opts_headers-only -debug -gd -hardened -profile -selinux -
> vanilla)
> 
> 
> As a matter of fact nothing has:
> 
> $ euse -i splitdebug
> global use flags (searching: splitdebug)
> 
> no matching entries found
> 
> local use flags (searching: splitdebug)
> 
> no matching entries found
> 
> 
> Is this a typo?

Actually not, splitdebug is not a USE-Flag but rather a FEATURE of
the package manager.

See [1] and [2] for explanations. [2] actually show how to enable
splitdebug _just_ for valgrind.

Cheers
Sascha

[1]http://www.baptiste-wicht.com/2012/04/install-valgrind-on-gentoo-linux/
[2] 
http://us.generation-nt.com/answer/gentoo-user-per-package-splitdebug-feature-help-204537341.html

Re: [gentoo-user] dev-util/valgrind-3.7.0-r4 and glibc

2012-09-14 Thread Mariusz Ceier
No, it's not a typo - you have to add splitdebug to FEATURES variable
in /etc/make.conf (or /etc/portage/make.conf). Splitdebug is not a USE
flag.

On 14 September 2012 21:48, Mick  wrote:
> I got this message in elog:
>
> * Messages for package dev-util/valgrind-3.7.0-r4:
>
>  * Valgrind will not work if glibc does not have debug symbols.
>  * To fix this you can add splitdebug to FEATURES in make.conf
>  * and remerge glibc.  See:
>  * https://bugs.gentoo.org/show_bug.cgi?id=214065
>  * https://bugs.gentoo.org/show_bug.cgi?id=274771
>  * https://bugs.gentoo.org/show_bug.cgi?id=388703
>
> but my glibc has no splitdebug USE flags:
>
> [I] sys-libs/glibc
>
>  Installed versions:  2.15-r2(2.2)^s(08:44:11 08/10/12)(multilib -
> crosscompile_opts_headers-only -debug -gd -hardened -profile -selinux -
> vanilla)
>
>
> As a matter of fact nothing has:
>
> $ euse -i splitdebug
> global use flags (searching: splitdebug)
> 
> no matching entries found
>
> local use flags (searching: splitdebug)
> 
> no matching entries found
>
>
> Is this a typo?
> --
> Regards,
> Mick



Re: [gentoo-user] dev-util/valgrind-3.7.0-r4 and glibc

2012-09-14 Thread Ellen Taylor
Mick  writes:

> I got this message in elog:
>
> * Messages for package dev-util/valgrind-3.7.0-r4:
>
>  * Valgrind will not work if glibc does not have debug symbols.
>  * To fix this you can add splitdebug to FEATURES in make.conf
>  * and remerge glibc.  See:
>  * https://bugs.gentoo.org/show_bug.cgi?id=214065
>  * https://bugs.gentoo.org/show_bug.cgi?id=274771
>  * https://bugs.gentoo.org/show_bug.cgi?id=388703
>
> but my glibc has no splitdebug USE flags:
>
> [I] sys-libs/glibc
>
>  Installed versions:  2.15-r2(2.2)^s(08:44:11 08/10/12)(multilib -
> crosscompile_opts_headers-only -debug -gd -hardened -profile -selinux -
> vanilla)
>
>
> As a matter of fact nothing has:
>
> $ euse -i splitdebug
> global use flags (searching: splitdebug)
> 
> no matching entries found
>
> local use flags (searching: splitdebug)
> 
> no matching entries found
>
>
> Is this a typo?

It's not a use flag. It's a portage feature that's added in
make.conf. Just add 'FEATURES=splitdebug' to your make.conf.



Re: [gentoo-user] dev-util/valgrind-3.7.0-r4 and glibc

2012-09-14 Thread Paul Hartman
On Fri, Sep 14, 2012 at 2:48 PM, Mick  wrote:
> I got this message in elog:
>
> * Messages for package dev-util/valgrind-3.7.0-r4:
>
>  * Valgrind will not work if glibc does not have debug symbols.
>  * To fix this you can add splitdebug to FEATURES in make.conf
>  * and remerge glibc.  See:
>  * https://bugs.gentoo.org/show_bug.cgi?id=214065
>  * https://bugs.gentoo.org/show_bug.cgi?id=274771
>  * https://bugs.gentoo.org/show_bug.cgi?id=388703
>
> but my glibc has no splitdebug USE flags:
>
> [I] sys-libs/glibc
>
>  Installed versions:  2.15-r2(2.2)^s(08:44:11 08/10/12)(multilib -
> crosscompile_opts_headers-only -debug -gd -hardened -profile -selinux -
> vanilla)
>
>
> As a matter of fact nothing has:
>
> $ euse -i splitdebug
> global use flags (searching: splitdebug)
> 
> no matching entries found
>
> local use flags (searching: splitdebug)
> 
> no matching entries found
>
>
> Is this a typo?

Please read it again, it says add it to FEATURES in make.conf, not a
USE flag. :)



[gentoo-user] dev-util/valgrind-3.7.0-r4 and glibc

2012-09-14 Thread Mick
I got this message in elog:

* Messages for package dev-util/valgrind-3.7.0-r4:

 * Valgrind will not work if glibc does not have debug symbols.
 * To fix this you can add splitdebug to FEATURES in make.conf
 * and remerge glibc.  See:
 * https://bugs.gentoo.org/show_bug.cgi?id=214065
 * https://bugs.gentoo.org/show_bug.cgi?id=274771
 * https://bugs.gentoo.org/show_bug.cgi?id=388703

but my glibc has no splitdebug USE flags:

[I] sys-libs/glibc

 Installed versions:  2.15-r2(2.2)^s(08:44:11 08/10/12)(multilib -
crosscompile_opts_headers-only -debug -gd -hardened -profile -selinux -
vanilla)


As a matter of fact nothing has:

$ euse -i splitdebug
global use flags (searching: splitdebug)

no matching entries found

local use flags (searching: splitdebug)

no matching entries found


Is this a typo?
-- 
Regards,
Mick


smime.p7s
Description: S/MIME cryptographic signature


Re: [gentoo-user] new machine : mouse trouble : solved by accident

2012-09-14 Thread Michael Mol
On Fri, Sep 14, 2012 at 10:22 AM, Paul Hartman
 wrote:
> On Fri, Sep 14, 2012 at 6:21 AM, Michael Mol  wrote:
>> On Fri, Sep 14, 2012 at 12:24 AM, Walter Dnes  wrote:
>>>
>>> On Thu, Sep 13, 2012 at 10:06:01PM -0400, Philip Webb wrote
>>>
>>> > The effect is quite bizarre & it was the gods who saved me :
>>> > if I hadn't happened to plug the mouse into the neighbouring port,
>>> > I could have spent days struggling to find out what was wrong
>>> > & even taken the mobo back to the store as defective.
>>> >
>>> > Both Mageia -- installed from USB stick in a partition on the
>>> > HDD -- & System Rescue show  /dev/input/mouse0  after booting ;
>>> > in the case of SR it does it before I enter the GUI via 'wizard'.
>>> > They have no problem with the 2.0/1.1 port, but the Gentoo system as
>>> > I've installed it don't show  /dev/input/mouse0 from that port, but
>>> > only if I plug the mouse into the 3.0/2.0 port.  Someone suggested
>>> > it is caused by a Kernel .config setting, which if enabled seems to
>>> > force the system to look in the 3.0 port.  Why it should do that
>>> > doesn't make much sense : such upgrades are usually permissive,
>>> > not restrictive.  BTW there's no difference between 3.4.9 & 3.5.3 .
>>>
>>>   Is the cpu AMD?  Intel machines require UHCI (USB 1.1) and AMD
>>> machines require OHCI (USB 1.0) for lowspeed USB devices like keyboards
>>> and mice.  There's a root hub translator selection in .config that's
>>> *SUPPOSED* to work with keyboards+mice, using only the EHCI kernel
>>> driver, but I never could get it to work.
>>
>>
>> UHCI vs OHCI has nothing to do with the CPU, but with the chipset on the
>> system. I haven't seen an OHCI-supporting chip in over a decade, either, and
>> most of my systems have been AMD.
>>
>> Either way, there's no harm in enabling both.
>
> On my laptop (circa 2004) I have to load the USB modules (?HCI) in a
> specific order otherwise things don't work properly. I don't remember
> what that order is, exactly, as I'm not using it at the moment, but
> thought I'd mention it FWIW...

That may be true. I always kept them as built-ins, as having a USB
keyboard be unavailable during a failed boot sequence would be a PITA.

>



-- 
:wq



Re: [gentoo-user] new machine : mouse trouble : solved by accident

2012-09-14 Thread Volker Armin Hemmann
Am Freitag, 14. September 2012, 07:21:17 schrieb Michael Mol:
> On Fri, Sep 14, 2012 at 12:24 AM, Walter Dnes  wrote:
> > On Thu, Sep 13, 2012 at 10:06:01PM -0400, Philip Webb wrote
> > 
> > > The effect is quite bizarre & it was the gods who saved me :
> > > if I hadn't happened to plug the mouse into the neighbouring port,
> > > I could have spent days struggling to find out what was wrong
> > > & even taken the mobo back to the store as defective.
> > > 
> > > Both Mageia -- installed from USB stick in a partition on the
> > > HDD -- & System Rescue show  /dev/input/mouse0  after booting ;
> > > in the case of SR it does it before I enter the GUI via 'wizard'.
> > > They have no problem with the 2.0/1.1 port, but the Gentoo system as
> > > I've installed it don't show  /dev/input/mouse0 from that port, but
> > > only if I plug the mouse into the 3.0/2.0 port.  Someone suggested
> > > it is caused by a Kernel .config setting, which if enabled seems to
> > > force the system to look in the 3.0 port.  Why it should do that
> > > doesn't make much sense : such upgrades are usually permissive,
> > > not restrictive.  BTW there's no difference between 3.4.9 & 3.5.3 .
> > > 
> >   Is the cpu AMD?  Intel machines require UHCI (USB 1.1) and AMD
> > 
> > machines require OHCI (USB 1.0) for lowspeed USB devices like keyboards
> > and mice.  There's a root hub translator selection in .config that's
> > *SUPPOSED* to work with keyboards+mice, using only the EHCI kernel
> > driver, but I never could get it to work.
> 
> UHCI vs OHCI has nothing to do with the CPU, but with the chipset on the
> system. I haven't seen an OHCI-supporting chip in over a decade, either,
> and most of my systems have been AMD.

and now you are talking crap.

All amd southbridges need the ohci controller driver.

#163933



Re: [gentoo-user] new machine : mouse trouble : solved by accident

2012-09-14 Thread Paul Hartman
On Fri, Sep 14, 2012 at 6:21 AM, Michael Mol  wrote:
> On Fri, Sep 14, 2012 at 12:24 AM, Walter Dnes  wrote:
>>
>> On Thu, Sep 13, 2012 at 10:06:01PM -0400, Philip Webb wrote
>>
>> > The effect is quite bizarre & it was the gods who saved me :
>> > if I hadn't happened to plug the mouse into the neighbouring port,
>> > I could have spent days struggling to find out what was wrong
>> > & even taken the mobo back to the store as defective.
>> >
>> > Both Mageia -- installed from USB stick in a partition on the
>> > HDD -- & System Rescue show  /dev/input/mouse0  after booting ;
>> > in the case of SR it does it before I enter the GUI via 'wizard'.
>> > They have no problem with the 2.0/1.1 port, but the Gentoo system as
>> > I've installed it don't show  /dev/input/mouse0 from that port, but
>> > only if I plug the mouse into the 3.0/2.0 port.  Someone suggested
>> > it is caused by a Kernel .config setting, which if enabled seems to
>> > force the system to look in the 3.0 port.  Why it should do that
>> > doesn't make much sense : such upgrades are usually permissive,
>> > not restrictive.  BTW there's no difference between 3.4.9 & 3.5.3 .
>>
>>   Is the cpu AMD?  Intel machines require UHCI (USB 1.1) and AMD
>> machines require OHCI (USB 1.0) for lowspeed USB devices like keyboards
>> and mice.  There's a root hub translator selection in .config that's
>> *SUPPOSED* to work with keyboards+mice, using only the EHCI kernel
>> driver, but I never could get it to work.
>
>
> UHCI vs OHCI has nothing to do with the CPU, but with the chipset on the
> system. I haven't seen an OHCI-supporting chip in over a decade, either, and
> most of my systems have been AMD.
>
> Either way, there's no harm in enabling both.

On my laptop (circa 2004) I have to load the USB modules (?HCI) in a
specific order otherwise things don't work properly. I don't remember
what that order is, exactly, as I'm not using it at the moment, but
thought I'd mention it FWIW...



Re: [gentoo-user] Generate an ebuild for mldonkey-3.1.3

2012-09-14 Thread Michael Orlitzky
On 09/14/2012 04:58 AM, Alexandre Paz Mena wrote:
> Hi, I'm trying to generate an ebuild for mldonkey-3.1.3 from version
> 3.1.0 in a "x86_64" machine.
> 
> To manually compile de project I have to export LDFLAGS="-png15" before
> running ./configure
> 
> the problem is that I don't know how to export it inside the ebuild,
> I've tried with "append-ldflags -lpng15" in different places but, that
> doesn't seem to work.
> 
> Does anybody have an idea?

The *real* way is to tell upstream to fix their build system. But this
works too:


--- /usr/portage/net-p2p/mldonkey/mldonkey-3.1.0.ebuild 2012-02-24
16:01:22.0 -0500
+++ ./mldonkey-3.1.3.ebuild 2012-09-14 09:47:39.613742734 -0400
@@ -92,7 +92,13 @@

 src_compile() {
export OCAMLRUNPARAM="l=256M"
-   emake || die "emake failed"
+
+   local my_extra_libs
+   if use gd; then
+   my_extra_libs="-lpng15"
+   fi
+
+   emake LIBS="${my_extra_libs}" || die "emake failed"

if ! use guionly; then
emake utils || die "emake utils failed"



Re: [gentoo-user] new machine : mouse trouble : solved by accident

2012-09-14 Thread Michael Mol
On Fri, Sep 14, 2012 at 12:24 AM, Walter Dnes  wrote:

> On Thu, Sep 13, 2012 at 10:06:01PM -0400, Philip Webb wrote
>
> > The effect is quite bizarre & it was the gods who saved me :
> > if I hadn't happened to plug the mouse into the neighbouring port,
> > I could have spent days struggling to find out what was wrong
> > & even taken the mobo back to the store as defective.
> >
> > Both Mageia -- installed from USB stick in a partition on the
> > HDD -- & System Rescue show  /dev/input/mouse0  after booting ;
> > in the case of SR it does it before I enter the GUI via 'wizard'.
> > They have no problem with the 2.0/1.1 port, but the Gentoo system as
> > I've installed it don't show  /dev/input/mouse0 from that port, but
> > only if I plug the mouse into the 3.0/2.0 port.  Someone suggested
> > it is caused by a Kernel .config setting, which if enabled seems to
> > force the system to look in the 3.0 port.  Why it should do that
> > doesn't make much sense : such upgrades are usually permissive,
> > not restrictive.  BTW there's no difference between 3.4.9 & 3.5.3 .
>
>   Is the cpu AMD?  Intel machines require UHCI (USB 1.1) and AMD
> machines require OHCI (USB 1.0) for lowspeed USB devices like keyboards
> and mice.  There's a root hub translator selection in .config that's
> *SUPPOSED* to work with keyboards+mice, using only the EHCI kernel
> driver, but I never could get it to work.
>

UHCI vs OHCI has nothing to do with the CPU, but with the chipset on the
system. I haven't seen an OHCI-supporting chip in over a decade, either,
and most of my systems have been AMD.

Either way, there's no harm in enabling both.

-- 
:wq


[gentoo-user] Generate an ebuild for mldonkey-3.1.3

2012-09-14 Thread Alexandre Paz Mena
Hi, I'm trying to generate an ebuild for mldonkey-3.1.3 from version 3.1.0
in a "x86_64" machine.

To manually compile de project I have to export LDFLAGS="-png15" before
running ./configure

the problem is that I don't know how to export it inside the ebuild, I've
tried with "append-ldflags -lpng15" in different places but, that doesn't
seem to work.

Does anybody have an idea?

Regards.

-- 
Alexandre Paz Mena


Re: [gentoo-user] sshfs - cannot unmount as normal user

2012-09-14 Thread Helmut Jarausch

On 09/13/2012 04:23:15 PM, Canek Peláez Valdés wrote:

On Thu, Sep 13, 2012 at 6:37 AM, Helmut Jarausch
 wrote:
> Hi,
>
>
> Since a short time I have a critical problem with sshfs.
> I cannot unmount it !
>
> Doing, e.g.,
>
> sshfs  -o transform_symlinks -o Cipher="blowfish" numa-sv:/Save  
/numa-sv

>
> works just fine.
>
> df shows
> numa-sv:/Save  148976776 102070872  40882408  72% /numa-sv
>
> grep /numa-sv /etc/mtab  shows
>
> numa-sv:/Save /numa-sv fuse.sshfs rw,nosuid,nodev 0 0
>
>
> BUT trying to do (which has been working for a long time)
>
> fusermount -u /numa-sv
>
> now gives
>
> fusermount: entry for /numa-sv not found in /etc/mtab
>
> sudo umount /numa-sv
> and
> sudo fusermount -u /numa-sv
>
> do work, but then I'd have to generate a general rule in  
/etc/sudoers and

> add everybody to the group 'wheel' which I'd like to avoid.
>
>
> I'm using
>
> kernel 3.5.3
>
> openssh  6.1_p1
>
> sshfs-fuse  (GIT version 2012/09/13)
>
> fuse  2.9.1-r1
>
> I can't use  fuse from GIT since it breaks many packages on my  
machine.

>
> Many thanks for a hint,
> Helmut.

It works here with sshfs-fuse-2.4. Maybe it is because the directory
lives directly under /? Try mounting it in a directory inside $HOME,
and see if it works that way.



Unfortunately, this doesn't work either.
It seems to be related to a recent kernel as others have similar  
problems with fuse reported elsewhere.


Thanks,
Helmut.