Re: [gentoo-user] Problem on Hardware Update

2014-06-26 Thread Neil Bothwick
On Thu, 26 Jun 2014 09:05:55 -0300, João Matos wrote:

> I upgrade my mobo/CPU/mems. They're completely different (Intel to AMD).
> 
> I built the kernel myself, and, as soon as I intended to use the new
> hardware, I compilled it changing "Processor type" and enable the SATA
> driver. The sistem seemed to boot properly (all boot messagens ok, all
> services started - except X), but it freezes after boot.
> 
> I'm not sure, but It seems my usb keyboard is not recognized. I tried to
> solve it using "make localmodconfig", but it didn't work.

Do you have both OHCI and UHCI drivers built in your kernel? I can never
remember which one Intel uses, but AMD chipsets generally use the other
one.


-- 
Neil Bothwick

Top Oxymorons Number 47: Act naturally


signature.asc
Description: PGP signature


Re: [gentoo-user] Problem on Hardware Update

2014-06-26 Thread Neil Bothwick
On Thu, 26 Jun 2014 13:32:28 +0100, Neil Bothwick wrote:

> > I upgrade my mobo/CPU/mems. They're completely different (Intel to
> > AMD).
> > 
> > I built the kernel myself, and, as soon as I intended to use the new
> > hardware, I compilled it changing "Processor type" and enable the SATA
> > driver. The sistem seemed to boot properly (all boot messagens ok, all
> > services started - except X), but it freezes after boot.
> > 
> > I'm not sure, but It seems my usb keyboard is not recognized. I tried
> > to solve it using "make localmodconfig", but it didn't work.  
> 
> Do you have both OHCI and UHCI drivers built in your kernel? I can never
> remember which one Intel uses, but AMD chipsets generally use the other
> one.

Is networking working? If so, can you SSH in to fix the kernel? If not,
you'll need to boot from a live CD to do it.


-- 
Neil Bothwick

Memory Map - A sheet of paper showing location of computer store.


signature.asc
Description: PGP signature


Re: [gentoo-user] Problem on Hardware Update

2014-06-26 Thread Mick
On Thursday 26 Jun 2014 13:05:55 João Matos wrote:
> Dear list,
> 
> I upgrade my mobo/CPU/mems. They're completely different (Intel to AMD).
> 
> I built the kernel myself, and, as soon as I intended to use the new
> hardware, I compilled it changing "Processor type" and enable the SATA
> driver. The sistem seemed to boot properly (all boot messagens ok, all
> services started - except X), but it freezes after boot.
> 
> I'm not sure, but It seems my usb keyboard is not recognized. I tried to
> solve it using "make localmodconfig", but it didn't work.
> 
> any suggestions?
> 
> I was think on rebuild my system changing the -march to the new processor.
> But I'm not sure is it will solve my problems.

In either case check the logs to find out if it has recorded an error or 
warning.  Also look at dmesg if you can ssh into it.
-- 
Regards,
Mick


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


Re: [gentoo-user] Problem on Hardware Update

2014-06-26 Thread João Matos
On Thu, 26 Jun 2014 09:05:55 -0300, João Matos wrote:

> I upgrade my mobo/CPU/mems. They're completely different (Intel to AMD).
>
> I built the kernel myself, and, as soon as I intended to use the new
> hardware, I compilled it changing "Processor type" and enable the SATA
> driver. The sistem seemed to boot properly (all boot messagens ok, all
> services started - except X), but it freezes after boot.
>
> I'm not sure, but It seems my usb keyboard is not recognized. I tried to
> solve it using "make localmodconfig", but it didn't work.

Do you have both OHCI and UHCI drivers built in your kernel? I can never
remember which one Intel uses, but AMD chipsets generally use the other
one.


--
Neil Bothwick

Top Oxymorons Number 47: Act naturally


Re: [gentoo-user] Problem on Hardware Update

2014-06-26 Thread João Matos
2014-06-26 9:32 GMT-03:00 Neil Bothwick :

> On Thu, 26 Jun 2014 09:05:55 -0300, João Matos wrote:
>
> > I upgrade my mobo/CPU/mems. They're completely different (Intel to AMD).
> >
> > I built the kernel myself, and, as soon as I intended to use the new
> > hardware, I compilled it changing "Processor type" and enable the SATA
> > driver. The sistem seemed to boot properly (all boot messagens ok, all
> > services started - except X), but it freezes after boot.
> >
> > I'm not sure, but It seems my usb keyboard is not recognized. I tried to
> > solve it using "make localmodconfig", but it didn't work.
>
> Do you have both OHCI and UHCI drivers built in your kernel? I can never
> remember which one Intel uses, but AMD chipsets generally use the other
> one.
>
>
It didn't work. But I have a new erro message:

device descriptor read/64 error 110
hub 1-1:1.0: unable to enumerate USB device on port 6

The only distro I could boot was systemrescueCD, using alternative kernel.
Can't boot Ubuntu. It also doesn't recognize the keyboard.


>  --
> Neil Bothwick
>
> Top Oxymorons Number 47: Act naturally
>



-- 
João Neto
Linux User #461527
http://br.linkedin.com/pub/jo%C3%A3o-de-matos/7/316/552


Re: [gentoo-user] Problem on Hardware Update

2014-06-26 Thread Mick
On Thursday 26 Jun 2014 21:00:04 João Matos wrote:
> 2014-06-26 9:32 GMT-03:00 Neil Bothwick :
> > On Thu, 26 Jun 2014 09:05:55 -0300, João Matos wrote:
> > > I upgrade my mobo/CPU/mems. They're completely different (Intel to
> > > AMD).
> > > 
> > > I built the kernel myself, and, as soon as I intended to use the new
> > > hardware, I compilled it changing "Processor type" and enable the SATA
> > > driver. The sistem seemed to boot properly (all boot messagens ok, all
> > > services started - except X), but it freezes after boot.
> > > 
> > > I'm not sure, but It seems my usb keyboard is not recognized. I tried
> > > to solve it using "make localmodconfig", but it didn't work.
> > 
> > Do you have both OHCI and UHCI drivers built in your kernel? I can never
> > remember which one Intel uses, but AMD chipsets generally use the other
> > one.
> 
> It didn't work. But I have a new erro message:
> 
> device descriptor read/64 error 110
> hub 1-1:1.0: unable to enumerate USB device on port 6
> 
> The only distro I could boot was systemrescueCD, using alternative kernel.
> Can't boot Ubuntu. It also doesn't recognize the keyboard.

OK, look at the sysrescuecd kernel driver and enable the same in your gentoo 
kernel.

-- 
Regards,
Mick


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


Re: [gentoo-user] Problem on Hardware Update

2014-06-26 Thread Neil Bothwick
On Thu, 26 Jun 2014 17:00:04 -0300, João Matos wrote:

> > > I'm not sure, but It seems my usb keyboard is not recognized. I
> > > tried to solve it using "make localmodconfig", but it didn't work.  
> >
> > Do you have both OHCI and UHCI drivers built in your kernel? I can
> > never remember which one Intel uses, but AMD chipsets generally use
> > the other one.

> It didn't work. But I have a new erro message:
> 
> device descriptor read/64 error 110
> hub 1-1:1.0: unable to enumerate USB device on port 6

A new error message implies a new error.
 
> The only distro I could boot was systemrescueCD, using alternative
> kernel. Can't boot Ubuntu. It also doesn't recognize the keyboard.

Have you compared the output from lsusb and lspci -k with System Rescue
Cd and Gentoo?


-- 
Neil Bothwick

RAM = Rarely Adequate Memory


signature.asc
Description: PGP signature


Re: [gentoo-user] Problem on Hardware Update

2014-06-26 Thread João Matos
2014-06-26 18:58 GMT-03:00 Neil Bothwick :

> On Thu, 26 Jun 2014 17:00:04 -0300, João Matos wrote:
>
> > > > I'm not sure, but It seems my usb keyboard is not recognized. I
> > > > tried to solve it using "make localmodconfig", but it didn't work.
> > >
> > > Do you have both OHCI and UHCI drivers built in your kernel? I can
> > > never remember which one Intel uses, but AMD chipsets generally use
> > > the other one.
>
> > It didn't work. But I have a new erro message:
> >
> > device descriptor read/64 error 110
> > hub 1-1:1.0: unable to enumerate USB device on port 6
>
> A new error message implies a new error.
>

I've updated the kernel (3.7.4 to 3.14.4), and the USB problem was solved,
I don't know why. :)

Now I'm having some other issues, but I've decide recompile the whole
system before solving them. At least I'm already using my gentoo.

>
> > The only distro I could boot was systemrescueCD, using alternative
> > kernel. Can't boot Ubuntu. It also doesn't recognize the keyboard.
>
> Have you compared the output from lsusb and lspci -k with System Rescue
> Cd and Gentoo?
>
>
> --
> Neil Bothwick
>
> RAM = Rarely Adequate Memory
>



-- 
João Neto
Linux User #461527
http://br.linkedin.com/pub/jo%C3%A3o-de-matos/7/316/552


Re: [gentoo-user] Problem on Hardware Update

2014-06-26 Thread João Matos
> OK, look at the sysrescuecd kernel driver and enable the same in your
> gentoo
> kernel.
>
> "make localmodconfig" did it for me. It didn't work on 3.7 but it was
pretty fine on 3.14.


>  --
> Regards,
> Mick
>



-- 
João Neto
Linux User #461527
http://br.linkedin.com/pub/jo%C3%A3o-de-matos/7/316/552


Re: [gentoo-user] Problem on Hardware Update

2014-06-27 Thread Walter Dnes
On Thu, Jun 26, 2014 at 07:50:10PM -0300, João Matos wrote

> I've updated the kernel (3.7.4 to 3.14.4), and the USB problem was solved,
> I don't know why. :)
> 
> Now I'm having some other issues, but I've decide recompile the whole
> system before solving them. At least I'm already using my gentoo.

  I would boot with install ISO or rescueCD, chroot, make the necessary
changes and then "emerge system" and "emerge world".  The necessary
changes are...

1) CFLAGS.  I use...
CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe 
-fno-unwind-tables -fno-asynchronous-unwind-tables"
CXXFLAGS="${CFLAGS}"

2) Check your USE flags (in both make.conf and package.use).  I have an
older Dell with an Intel.  I have "mmx mmxext sse sse2 sse3 ssse3" USE
flags.  AMD cpus benefit from "3dnow 3dnowext" and possibly other AMD-
specific flags.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Problem on Hardware Update

2014-06-27 Thread João Matos
2014-06-27 5:54 GMT-03:00 Walter Dnes :

> On Thu, Jun 26, 2014 at 07:50:10PM -0300, João Matos wrote
>
> > I've updated the kernel (3.7.4 to 3.14.4), and the USB problem was
> solved,
> > I don't know why. :)
> >
> > Now I'm having some other issues, but I've decide recompile the whole
> > system before solving them. At least I'm already using my gentoo.
>
>   I would boot with install ISO or rescueCD, chroot, make the necessary
> changes and then "emerge system" and "emerge world".  The necessary
> changes are...
>

I'm already doing it... I hope I can access my GUI after it.

>
> 1) CFLAGS.  I use...
> CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe
> -fno-unwind-tables -fno-asynchronous-unwind-tables"
> CXXFLAGS="${CFLAGS}"
>

I'm using

CFLAGS="-O2 -march=native -mprefer-avx128 -mvzeroupper -pipe"

that I took from http://wiki.gentoo.org/wiki/Safe_CFLAGS#FX- . But
I'll take a look on these ones.


> 2) Check your USE flags (in both make.conf and package.use).  I have an
> older Dell with an Intel.  I have "mmx mmxext sse sse2 sse3 ssse3" USE
> flags.  AMD cpus benefit from "3dnow 3dnowext" and possibly other AMD-
> specific flags.
>
> --
> Walter Dnes 
> I don't run "desktop environments"; I run useful applications
>
>


-- 
João Neto
Linux User #461527
http://br.linkedin.com/pub/jo%C3%A3o-de-matos/7/316/552