Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do i log kernel messages? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nobody13
Apprentice
Apprentice


Joined: 21 Jan 2006
Posts: 190

PostPosted: Sat Jul 31, 2010 2:51 am    Post subject: how do i log kernel messages? [solved] Reply with quote

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
View user's profile Send private message
xibo
Apprentice
Apprentice


Joined: 21 Aug 2007
Posts: 152
Location: moving between kubuntu and ubuntu kde edition

PostPosted: Sat Jul 31, 2010 7:28 am    Post subject: Reply with quote

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
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Sat Jul 31, 2010 9:42 am    Post subject: Reply with quote

Sounds more like failing hardware (drive, or possibly memory)
than anything else.

Will
Back to top
View user's profile Send private message
nobody13
Apprentice
Apprentice


Joined: 21 Jan 2006
Posts: 190

PostPosted: Sat Jul 31, 2010 2:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
nobody13
Apprentice
Apprentice


Joined: 21 Jan 2006
Posts: 190

PostPosted: Sat Jul 31, 2010 2:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Sat Jul 31, 2010 2:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
nobody13
Apprentice
Apprentice


Joined: 21 Jan 2006
Posts: 190

PostPosted: Sat Jul 31, 2010 8:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Sat Jul 31, 2010 10:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
nobody13
Apprentice
Apprentice


Joined: 21 Jan 2006
Posts: 190

PostPosted: Sun Aug 01, 2010 12:08 am    Post subject: Reply with quote

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
View user's profile Send private message
nobody13
Apprentice
Apprentice


Joined: 21 Jan 2006
Posts: 190

PostPosted: Sun Aug 01, 2010 4:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum