View previous topic :: View next topic |
Author |
Message |
nobody13 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/18382312234a8deb7237020.gif)
Joined: 21 Jan 2006 Posts: 190
|
Posted: Sat Jul 31, 2010 2:51 am Post subject: how do i log kernel messages? [solved] |
|
|
I can't seem to get a kernel to work properly if it's anything newer than 2.6.29-r5. over the last 6 months or so if I build a new kernel it will work for maybe 2 or 3 boots then stops working ending in errors. I can recopy it and it will work fro 2 or 3 more and it happens again. 2.6.34-r1 won't run at all. 2.6.29-r5 keeps working great but eventually I'll have to upgrade. How can I log the kernel messages up to the point where it freezes so I can post them or at least look back where the problem starts?
Last edited by nobody13 on Sun Aug 01, 2010 4:49 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xibo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/554603452488238ad95948.jpg)
Joined: 21 Aug 2007 Posts: 152 Location: moving between kubuntu and ubuntu kde edition
|
Posted: Sat Jul 31, 2010 7:28 am Post subject: |
|
|
if it's crashing after you have fully init-ed everything, it might be stored in the syslog. otherwise, you can enable rs-232 console which should cause the kernel to write all it's output to a serial interface, so you can use a different computer for logging the output. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cwr Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Sat Jul 31, 2010 9:42 am Post subject: |
|
|
Sounds more like failing hardware (drive, or possibly memory)
than anything else.
Will |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nobody13 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/18382312234a8deb7237020.gif)
Joined: 21 Jan 2006 Posts: 190
|
Posted: Sat Jul 31, 2010 2:03 pm Post subject: |
|
|
xibo wrote: | if it's crashing after you have fully init-ed everything, it might be stored in the syslog. otherwise, you can enable rs-232 console which should cause the kernel to write all it's output to a serial interface, so you can use a different computer for logging the output. |
It does not fully start. It locks up somewhere around half way through boot. I do have another pc and some serial cables around so I'll try that.
Thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nobody13 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/18382312234a8deb7237020.gif)
Joined: 21 Jan 2006 Posts: 190
|
Posted: Sat Jul 31, 2010 2:18 pm Post subject: |
|
|
cwr wrote: | Sounds more like failing hardware (drive, or possibly memory)
than anything else.
Will |
I'll try a memory test but I don't Think it's failing hardware. It runs fine for day to day use with both Windows 7 and Gentoo with kernel 2.6.29-r5. I just can't seem to build one that is newer. It kinda looks like it may not be recognizing some hardware, but i can't tell for sure. I've tried starting with the config from 2.6.29 and running make old config like I allways had done in the past and it fails. i.ve started from scratch wit a new config and gone through every option and just can't seem to get it to boot. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Sat Jul 31, 2010 2:47 pm Post subject: |
|
|
nobody13,
My money is on failing hardware, probably RAM, that Win7 and 2.6.29 haven't hit.
Memtest errors do not always indicate RAM errors, the CPU and motherboard are also involved in the test.
If you want a second opinion on yur kernel, try kernel-seeds.org. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nobody13 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/18382312234a8deb7237020.gif)
Joined: 21 Jan 2006 Posts: 190
|
Posted: Sat Jul 31, 2010 8:26 pm Post subject: |
|
|
NeddySeagoon wrote: | nobody13,
My money is on failing hardware, probably RAM, that Win7 and 2.6.29 haven't hit.
Memtest errors do not always indicate RAM errors, the CPU and motherboard are also involved in the test.
If you want a second opinion on yur kernel, try kernel-seeds.org. |
Thank you,
I finally caught part of the message as it passed by that said hd(0,2) didn't exist. It's seems like some kind of driver conflict that didn't exist before 2.6.30. I removed "ATA ACPI Support" and left "AHCI SATA support". It works now but I'm confused. Kernel-seeds.org and a post of yours that's linked there seem to say to use "ATA ACPI Support" alone but it doesn't detect my drives that way. Am I maybe missing some ACPI options or is this correct for my hardware? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Sat Jul 31, 2010 10:09 pm Post subject: |
|
|
nobody13,
AHCI SATA support, is one of the more widely used SATA chip set drivers.
ATA ACPI Support is Advanced Control and Power Interface, which helps with power savings.
Its not strictly needed. Its not a hard drive chipset driver itself.
IF you can find that link again, I'll fix my post. Let Pappy know too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nobody13 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/18382312234a8deb7237020.gif)
Joined: 21 Jan 2006 Posts: 190
|
Posted: Sun Aug 01, 2010 12:08 am Post subject: |
|
|
NeddySeagoon wrote: | nobody13,
AHCI SATA support, is one of the more widely used SATA chip set drivers.
ATA ACPI Support is Advanced Control and Power Interface, which helps with power savings.
Its not strictly needed. Its not a hard drive chipset driver itself.
IF you can find that link again, I'll fix my post. Let Pappy know too. |
Do you have any ideas why ATA ACPI Support would prevent my drives from being discovered?
Your post is correct. I went back and read at it again. It was this one https://forums.gentoo.org/viewtopic-p-4570091.html#4570091
I think I was basing it on what I was reading at kernel-seed.org but it's probably because he didn't have any drivers selected in the example. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nobody13 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/18382312234a8deb7237020.gif)
Joined: 21 Jan 2006 Posts: 190
|
Posted: Sun Aug 01, 2010 4:49 am Post subject: |
|
|
I followed his settings there and got that working now too. Must have been an option somewhere i missed.
thanks for the help |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|