* [gentoo-user] Capture dmesg output on boot?
@ 2009-05-12 0:16 Dan Cowsill
2009-05-12 0:20 ` James Ausmus
` (3 more replies)
0 siblings, 4 replies; 12+ messages in thread
From: Dan Cowsill @ 2009-05-12 0:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
Hello list,
I've been trying to get to the bottom of my recent troubles with my IDE
controller working with the 2.6.28 kernel. Now, linux never boots
without a kernel panic, so dmesg never gets logged... Is there any way
to have the kernel dump the boot log somewhere? I'd settle for
scrolling up, really.
Thanks,
Dan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 258 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Capture dmesg output on boot?
2009-05-12 0:16 [gentoo-user] Capture dmesg output on boot? Dan Cowsill
@ 2009-05-12 0:20 ` James Ausmus
2009-05-12 0:28 ` Dan Cowsill
2009-05-12 23:28 ` David Relson
2009-05-12 0:31 ` Adam Carter
` (2 subsequent siblings)
3 siblings, 2 replies; 12+ messages in thread
From: James Ausmus @ 2009-05-12 0:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 629 bytes --]
On Mon, May 11, 2009 at 5:16 PM, Dan Cowsill <danthehat@gmail.com> wrote:
> Hello list,
>
> I've been trying to get to the bottom of my recent troubles with my IDE
> controller working with the 2.6.28 kernel. Now, linux never boots
> without a kernel panic, so dmesg never gets logged... Is there any way
> to have the kernel dump the boot log somewhere? I'd settle for
> scrolling up, really.
>
If you have a serial port, you can enable serial console in the kernel
config, and boot with a "console=ttyS0" kernel parameter, to see all the
output on a serially attached (via null modem cable or adapter) computer...
-James
[-- Attachment #2: Type: text/html, Size: 983 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Capture dmesg output on boot?
2009-05-12 0:20 ` James Ausmus
@ 2009-05-12 0:28 ` Dan Cowsill
2009-05-12 8:09 ` Peter Humphrey
2009-05-12 23:28 ` David Relson
1 sibling, 1 reply; 12+ messages in thread
From: Dan Cowsill @ 2009-05-12 0:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 467 bytes --]
James Ausmus wrote:
> If you have a serial port, you can enable serial console in the kernel
> config, and boot with a "console=ttyS0" kernel parameter, to see all
> the output on a serially attached (via null modem cable or adapter)
> computer...
>
> -James
>
Hey, thanks for the advice.
Would that allow me to scroll the output? Seeing the output isn't the
problem, its just that the relevant error messages scroll away too quickly.
Thanks,
D
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 258 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [gentoo-user] Capture dmesg output on boot?
2009-05-12 0:16 [gentoo-user] Capture dmesg output on boot? Dan Cowsill
2009-05-12 0:20 ` James Ausmus
@ 2009-05-12 0:31 ` Adam Carter
2009-05-12 0:33 ` Dan Cowsill
2009-05-12 6:58 ` [gentoo-user] " ABCD
2009-05-12 7:17 ` [gentoo-user] " Daniel Iliev
3 siblings, 1 reply; 12+ messages in thread
From: Adam Carter @ 2009-05-12 0:31 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
> I've been trying to get to the bottom of my recent troubles
> with my IDE
> controller working with the 2.6.28 kernel. Now, linux never boots
> without a kernel panic, so dmesg never gets logged... Is
> there any way
> to have the kernel dump the boot log somewhere? I'd settle for
> scrolling up, really.
Have you tried <shift>+<PgUp> ? I have no idea if it will work in that circumtance...
Remember that depending how you setup the kernel the IDE devices could be hdX or sdX.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Capture dmesg output on boot?
2009-05-12 0:31 ` Adam Carter
@ 2009-05-12 0:33 ` Dan Cowsill
2009-05-12 1:42 ` Valmor de Almeida
0 siblings, 1 reply; 12+ messages in thread
From: Dan Cowsill @ 2009-05-12 0:33 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 360 bytes --]
Adam Carter wrote:
> Have you tried <shift>+<PgUp> ? I have no idea if it will work in that circumtance...
>
> Remember that depending how you setup the kernel the IDE devices could be hdX or sdX.
>
>
Thanks,
Yes, I've tried shift+pgUp and it doesn't appear to work. And yes, I've
verified that my root argument is the proper notation.
D
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 258 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Capture dmesg output on boot?
2009-05-12 0:33 ` Dan Cowsill
@ 2009-05-12 1:42 ` Valmor de Almeida
0 siblings, 0 replies; 12+ messages in thread
From: Valmor de Almeida @ 2009-05-12 1:42 UTC (permalink / raw
To: gentoo-user
Dan Cowsill wrote:
> Adam Carter wrote:
>> Have you tried <shift>+<PgUp> ? I have no idea if it will work in that circumtance...
>>
>> Remember that depending how you setup the kernel the IDE devices could be hdX or sdX.
>>
>>
>
> Thanks,
>
> Yes, I've tried shift+pgUp and it doesn't appear to work. And yes, I've
> verified that my root argument is the proper notation.
>
> D
>
I had similar problem in the past when the livecd would boot on hda but
once I booted into the new kernel I had to set fstab to sda.
As far as saving the messages during boot, there is a kernel parameter
that allows for scrolling the messages but only after the hd is mounted.
This is too late for checking kernel panic messages for example.
--
Valmor
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: Capture dmesg output on boot?
2009-05-12 0:16 [gentoo-user] Capture dmesg output on boot? Dan Cowsill
2009-05-12 0:20 ` James Ausmus
2009-05-12 0:31 ` Adam Carter
@ 2009-05-12 6:58 ` ABCD
2009-05-12 7:17 ` [gentoo-user] " Daniel Iliev
3 siblings, 0 replies; 12+ messages in thread
From: ABCD @ 2009-05-12 6:58 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dan Cowsill wrote:
> Hello list,
>
> I've been trying to get to the bottom of my recent troubles with my IDE
> controller working with the 2.6.28 kernel. Now, linux never boots
> without a kernel panic, so dmesg never gets logged... Is there any way
> to have the kernel dump the boot log somewhere? I'd settle for
> scrolling up, really.
>
> Thanks,
> Dan
>
If it panics on attempting to mount the root file system, then you
probably would be able to use the S-PgUp if you give the "rootwait" or
"rootdelay=<#>", where "<#>" is a number of seconds. "rootwait" would
tell the kernel to wait until it really thinks it can mount the root
filesystem before mounting it; "rootdelay=10" would tell the kernel to
wait 10 seconds before mounting. Either way, you may be able to scroll
up during the delay (I don't remember if it initializes the keyboard
driver before or after the root filesystem, it's been a while since I've
had to debug that part of startup).
- --
ABCD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkoJHiAACgkQOypDUo0oQOqqBwCcCuNMy1KMngiOCxqcbW+3rslG
W1sAnArIk3TOWHBjgjiIhszH3WKH/VV9
=qy9y
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Capture dmesg output on boot?
2009-05-12 0:16 [gentoo-user] Capture dmesg output on boot? Dan Cowsill
` (2 preceding siblings ...)
2009-05-12 6:58 ` [gentoo-user] " ABCD
@ 2009-05-12 7:17 ` Daniel Iliev
3 siblings, 0 replies; 12+ messages in thread
From: Daniel Iliev @ 2009-05-12 7:17 UTC (permalink / raw
To: gentoo-user
On Mon, 11 May 2009 20:16:55 -0400
Dan Cowsill <danthehat@gmail.com> wrote:
> Hello list,
>
> I've been trying to get to the bottom of my recent troubles with my
> IDE controller working with the 2.6.28 kernel. Now, linux never boots
> without a kernel panic, so dmesg never gets logged... Is there any
> way to have the kernel dump the boot log somewhere? I'd settle for
> scrolling up, really.
>
> Thanks,
> Dan
>
Add "panic=X" to your kernel parameters and after panic it will wait for
X seconds before rebooting.
--
Best regards,
Daniel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Capture dmesg output on boot?
2009-05-12 0:28 ` Dan Cowsill
@ 2009-05-12 8:09 ` Peter Humphrey
2009-05-12 8:29 ` Dale
0 siblings, 1 reply; 12+ messages in thread
From: Peter Humphrey @ 2009-05-12 8:09 UTC (permalink / raw
To: gentoo-user
On Tuesday 12 May 2009 01:28:17 Dan Cowsill wrote:
> Seeing the output isn't the problem, its just that the relevant error
> messages scroll away too quickly.
Have you tried CTRL-S to pause the output and CTRL-Q to resume?
--
Rgds
Peter
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Capture dmesg output on boot?
2009-05-12 8:09 ` Peter Humphrey
@ 2009-05-12 8:29 ` Dale
2009-05-12 15:20 ` Dan Cowsill
0 siblings, 1 reply; 12+ messages in thread
From: Dale @ 2009-05-12 8:29 UTC (permalink / raw
To: gentoo-user
Peter Humphrey wrote:
> On Tuesday 12 May 2009 01:28:17 Dan Cowsill wrote:
>
>
>> Seeing the output isn't the problem, its just that the relevant error
>> messages scroll away too quickly.
>>
>
> Have you tried CTRL-S to pause the output and CTRL-Q to resume?
>
>
Or maybe the scroll lock key? That works on mine.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Capture dmesg output on boot?
2009-05-12 8:29 ` Dale
@ 2009-05-12 15:20 ` Dan Cowsill
0 siblings, 0 replies; 12+ messages in thread
From: Dan Cowsill @ 2009-05-12 15:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 301 bytes --]
Hello again list,
After having tried every suggested method of scrolling or pausing kernel
output and failing, I decided to mess about with the kernel config a
little more and eventually came out ahead. I am happy to report no
kernel panics and I thank everyone for their contribution.
D
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 258 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Capture dmesg output on boot?
2009-05-12 0:20 ` James Ausmus
2009-05-12 0:28 ` Dan Cowsill
@ 2009-05-12 23:28 ` David Relson
1 sibling, 0 replies; 12+ messages in thread
From: David Relson @ 2009-05-12 23:28 UTC (permalink / raw
To: gentoo-user
On Mon, 11 May 2009 17:20:10 -0700
James Ausmus wrote:
> On Mon, May 11, 2009 at 5:16 PM, Dan Cowsill <danthehat@gmail.com>
> wrote:
>
> > Hello list,
> >
> > I've been trying to get to the bottom of my recent troubles with my
> > IDE controller working with the 2.6.28 kernel. Now, linux never
> > boots without a kernel panic, so dmesg never gets logged... Is
> > there any way to have the kernel dump the boot log somewhere? I'd
> > settle for scrolling up, really.
> >
>
> If you have a serial port, you can enable serial console in the kernel
> config, and boot with a "console=ttyS0" kernel parameter, to see all
> the output on a serially attached (via null modem cable or adapter)
> computer...
>
> -James
An alternative to the serial port is your ethernet connection. The
kernel can output to ethernet and you can capture the info using
netconsole.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2009-05-12 23:28 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-12 0:16 [gentoo-user] Capture dmesg output on boot? Dan Cowsill
2009-05-12 0:20 ` James Ausmus
2009-05-12 0:28 ` Dan Cowsill
2009-05-12 8:09 ` Peter Humphrey
2009-05-12 8:29 ` Dale
2009-05-12 15:20 ` Dan Cowsill
2009-05-12 23:28 ` David Relson
2009-05-12 0:31 ` Adam Carter
2009-05-12 0:33 ` Dan Cowsill
2009-05-12 1:42 ` Valmor de Almeida
2009-05-12 6:58 ` [gentoo-user] " ABCD
2009-05-12 7:17 ` [gentoo-user] " Daniel Iliev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox