LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-27-2013, 11:38 AM   #1
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Rep: Reputation: 2
Check boot process line by line


Is there a command I can put in /etc/lilo.conf or /boot/ somewhere so that I can check the boot sequence line by line?

thanks
 
Old 07-27-2013, 12:08 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
None that I know of. When I need to do something like that, I set the host up to use a serial console, then attach another computer running some serial terminal software such as C-Kermit or minicom (or on a Windows host, hyperterm). Then you can see all of the console output, scrolling back as necessary to see the earliest messages. Requires having a bootloader that can use a serial console for the most complete results.

--- rod.
 
Old 07-27-2013, 12:24 PM   #3
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Original Poster
Rep: Reputation: 2
>Nbomr;
thanks for your response; though that really surprises me: i'd have thought this was something that
would almost be de rigour for debugging purposes ...

but what do i know?

only been here 5 mins

thanks again
 
Old 07-27-2013, 12:38 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,550

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
some of them can be observed in /var/log/dmesg and /var/log/messages
 
1 members found this post helpful.
Old 07-27-2013, 03:06 PM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,184

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
You can see very early messages if you append kernel parameter "earlyprintk=vga" or "earlyprintk=serial[,ttySn[,baudrate]]", for instance, to the command line at boot time.

kernel and driver developpers can also use "ddebug_query= [KNL,DYNAMIC_DEBUG]"

See /usr/src/linux/Documentation/kernel-pameters.txt and /usr/src/linux/Documentation/dynamic-debug-howto.txt to know more.

Small tip: when a program displays data on the screen faster than you can read it, you can stop its execution with Ctrl+s and resume it with Ctrl+q

This is a reminiscence of controlling the flow of data on a communication line (e.g. RS232 serial) sending the "XOFF" (or "Transmit off) and XON (or Transmit on) signals, which was useful when the receiver couldn't process the data as fast as they were sent, see this page.

For the records this reminds me that this kind of software flow control have been used for connections between industrial terminals and a mini computer at the super high speed of 1200 bits per second in a project of which I was in charge 33 years ago...

Last edited by Didier Spaier; 07-27-2013 at 03:09 PM.
 
1 members found this post helpful.
Old 07-28-2013, 02:12 AM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
One thing you can do is increase the output buffer size for the console, and then scroll all the way up and go line by line.
 
Old 07-28-2013, 02:45 AM   #7
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 468

Rep: Reputation: 118Reputation: 118
textillis,

is there something specific you are looking for? may be you can extract it from dmesg?
 
1 members found this post helpful.
Old 07-28-2013, 07:34 AM   #8
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Original Poster
Rep: Reputation: 2
>Solarfields

Quote:
Originally Posted by solarfields View Post
textillis,

is there something specific you are looking for? may be you can extract it from dmesg?
I've not used dmesg yet, so I'll <man dmesg> ... cool, thanks.

In the meantime, I did manage to find what I was looking for by applying ctrl+s/ctrl+q, as per Didier's tip.

Edit: mention of LifeCam removed so as to disambiguate thread.
thanks for response!

Last edited by textillis; 07-29-2013 at 02:35 AM. Reason: Clarity and keep thread on topic
 
Old 07-28-2013, 04:35 PM   #9
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 468

Rep: Reputation: 118Reputation: 118
What is DeadCam 3000? A camera? Do you know if somebody has managed to get it working on another distro?
 
Old 07-28-2013, 05:05 PM   #10
octoberblu3
Member
 
Registered: Oct 2005
Distribution: Slackware64-current
Posts: 67

Rep: Reputation: 22
I'm guessing you mean a MS Lifecam 3000.

If you are trying to use it with something like skype and just getting a green screen, then you may need to make a small shell script to load a compatibility library to make it work right.

Try running:

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype


Also, in the future, you might want to mention your root problem in the original post so we can help you get down the right path sooner.
 
Old 07-29-2013, 02:31 AM   #11
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Original Poster
Rep: Reputation: 2
>Solarfields

That was me being flippant, sorry.
I thought the brand was known well enough for me to distort its name and still have people recognize it:

it is a LifeCam from microsoft and I can't get it working on slackware, and no-one else I've read here at LQ has either.
Yet it works fine on my Mint Linux system (?)
 
Old 07-29-2013, 02:34 AM   #12
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Original Poster
Rep: Reputation: 2
Quote:
Also, in the future, you might want to mention your root problem in the original post so we can help you get down the right path sooner.
By "root problem" i take it you meant "boot problem", which is clearly outlined in OP.
cheers
 
Old 07-29-2013, 04:24 AM   #13
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 468

Rep: Reputation: 118Reputation: 118
Quote:
it is a LifeCam from microsoft and I can't get it working on slackware, and no-one else I've read here at LQ has either
ye i finally got the pun
 
Old 07-29-2013, 01:37 PM   #14
octoberblu3
Member
 
Registered: Oct 2005
Distribution: Slackware64-current
Posts: 67

Rep: Reputation: 22
Quote:
Originally Posted by textillis View Post
By "root problem" i take it you meant "boot problem", which is clearly outlined in OP.
cheers
Ok, no problem. I was taking all of this as a means to diagnose the webcam not working. But of course, it never hurts to learn how to find things yourself.
 
Old 07-29-2013, 03:53 PM   #15
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Original Poster
Rep: Reputation: 2
>october
>solar

I've started a new thread on lifecam.
thanks to both for time taken
 
  


Reply

Tags
boot options, boot parameters, debugging, line


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
access a file line by line, and check the length of each line. ddebbie90 Programming 1 02-13-2011 02:31 PM
help with c program to read each line from text file, split line , process and output gkoumantaris Programming 12 07-01-2008 12:38 PM
script to check the last line in a file is blank line or not naveensankineni Programming 10 03-01-2008 11:13 PM
Boot process very slow at line dhcpcd theangler Linux - Laptop and Netbook 4 11-28-2006 10:33 PM


All times are GMT -5. The time now is 03:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration