Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What happened to my boot messages?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Elsipkitch9809
Apprentice
Apprentice


Joined: 21 Jul 2002
Posts: 186

PostPosted: Tue Oct 19, 2004 2:17 am    Post subject: What happened to my boot messages? Reply with quote

Hi,

I'm hoping someone knows what's going on or why this is happening because I really would like some help. When I installed gentoo a couple weeks ago, the first boot had the usual:

Some service starting up... [ok]
Another service starting up.. [!!]

Now, all my boot messages are gone! All I get to is the "adding Number swap on /dev/hda3". That used to be the message before the [ok] messages started up, but now its the last thing I see before the long wait while those messages go on in the background, and the next thing I see is my login prompt. I would really like these messages back, so I can (at boot time) properly know what's going on in my system. For instance, I know this last boot I did had some kind of ext fs fsckup because it went from "adding swap" to "restarting system". I know that the fstools were running because my ibook light was going nonstop, so it must have been trying to repair something, but either failed or succeeded (I have no idea, I have to ask about ext3 ins/outs in another post) and it restarted.

Or, for another example, I know esound and my internet connection sometimes fail, and I would like to know when and if they do at boot time.

The converse is that when I'm "shutdown -h now"ing my machine, I get all the [ok] messages for turning the machine off, turning internet off, etc.. What the heck is causing this? I didn't do anything radically different in my kernel. It's almost as if some default was added and I never found out about it. How do I turn this back on? Somebody pleease help. :cry:

P.S. I dunno if this is appropriate for the ppc forums, but my post to response ratio is rather low (probably because of the high traffic for the other forums of course). But I do have an ibook, if it does happen to be ppc specific (which would be weird).
Oh yeah, stats:
2.6.8-gentoo-r7
ibook G4


Last edited by Elsipkitch9809 on Sun Mar 27, 2016 8:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
hecatomb
Guru
Guru


Joined: 02 Sep 2004
Posts: 525

PostPosted: Tue Oct 19, 2004 6:11 am    Post subject: Reply with quote

I searched the forums and found this:
https://forums.gentoo.org/viewtopic.php?t=239010&highlight=boot+messages

Hope you can get rid of this problem! :-)
Back to top
View user's profile Send private message
Elsipkitch9809
Apprentice
Apprentice


Joined: 21 Jul 2002
Posts: 186

PostPosted: Tue Nov 02, 2004 3:00 am    Post subject: Reply with quote

Sorry it took a bit to reply, been busy with school non stop :(

Unfortunately, I can't use that solution since it relates to grub, and I have a ppc machine. Also, I think that problem relates more to gdm booting into the prompt than with the boot messages, but I'd have to see what that problem looks like.

So no one has had this difficulty at all? I feel alone here :( I had another heavy period of fs fixing (without seeing a darn thing of what it was doing), and then a forced reboot. I have no idea what's what on boot after the swap is set. Whether its hanging on net access or fsck, or anything. I find it hard to believe that I'm the only person with this problem... maybe its some feature that got switched on in the kernel. I've been scouring the kernel looking for possibilities, but none appear to be relevant. Any leads, please?


Last edited by Elsipkitch9809 on Tue Mar 01, 2016 5:39 am; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Nov 02, 2004 3:38 am    Post subject: Reply with quote

Please make sure that you aren't passing /quiet to your kernel on boot. Also, do you have bootsplash enabled?
Back to top
View user's profile Send private message
hecatomb
Guru
Guru


Joined: 02 Sep 2004
Posts: 525

PostPosted: Tue Nov 02, 2004 8:21 am    Post subject: Reply with quote

Quote:
Adding xxxk swap on ...


This is one of the last messages before the init scripts on my system. So I guess you can see all kernel messages on your screen?

What bootloader do you use? IMO all bootloaders are able to pass extra boot options to the kernel! What options do you have?

http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=1&chap=10 wrote:
...
image=/boot/kernel-2.6.7
label=Linux
root=/dev/hda3
sysmap=/boot/System.map-2.6.7
read-only
...



Quote:
Now, all my boot messages are gone!


What have you done before? Compiled a new kernel?
Back to top
View user's profile Send private message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Tue Nov 02, 2004 2:42 pm    Post subject: Reply with quote

alaterale,
this won't help you any, but I have the exact same problem on one of my boxes. My G4 runs 2.6.9-gentoo-r1n, and everything is more or less working the way it should. However, I don't see my boot messages either. After
Code:
Adding 524280k swap on /dev/hda3.  Priority:-1 extents:1

the system seems to hang, it takes several seconds, and then I get a login prompt. Like you, i get the normal routine "service blah stopped [ok]" at shutdown, but nothing at booting the system. Would be grateful for any suggestion.
Cheers
Thomas
Back to top
View user's profile Send private message
zeekec
n00b
n00b


Joined: 24 Feb 2004
Posts: 56
Location: Athens, GA, USA

PostPosted: Tue Nov 02, 2004 3:31 pm    Post subject: Reply with quote

Thomas,

Do you have a message before that stating something about not being able to open an initial console. (Sorry I don't have the exact message. I'm at work now.) I'm setting up a clean install (new hardrive) and I'm getting a similar results.

Erik
Back to top
View user's profile Send private message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Tue Nov 02, 2004 4:56 pm    Post subject: Reply with quote

zeekec wrote:
Do you have a message before that stating something about not being able to open an initial console.

Yes I do, here's the bit in dmesg:
Code:
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 156k init 4k chrp 8k prep
Warning: unable to open an initial console.
usb 1-2: new full speed USB device using address 2

Though I'm too much of a noob to say whether it is related to the problem, two observations make me think it isn't: 1) I get the same warning on my G5 where the messages work flawlessly. 2) It's not the entire console which is not working; I get all the kernel stuff etc. It's only the init services that are not displayed.
Back to top
View user's profile Send private message
zeekec
n00b
n00b


Joined: 24 Feb 2004
Posts: 56
Location: Athens, GA, USA

PostPosted: Tue Nov 02, 2004 5:02 pm    Post subject: Reply with quote

pindar wrote:
Though I'm too much of a noob to say whether it is related to the problem, two observations make me think it isn't: 1) I get the same warning on my G5 where the messages work flawlessly. 2) It's not the entire console which is not working; I get all the kernel stuff etc. It's only the init services that are not displayed.


That's good to know. I was trying to get rid of the initial console warning to get the messages back. Back to the drawing board.
Back to top
View user's profile Send private message
hecatomb
Guru
Guru


Joined: 02 Sep 2004
Posts: 525

PostPosted: Tue Nov 02, 2004 5:59 pm    Post subject: Reply with quote

This is the part in kernel source generating the warning:

init/main.c wrote:
Code:
...
   if (open("/dev/console", O_RDWR, 0) < 0)
      printk("Warning: unable to open an initial console.\n");
...


What's wrong with your /dev/console device file? ls -al /dev/concole

https://forums.gentoo.org/viewtopic.php?t=223466
Back to top
View user's profile Send private message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Tue Nov 02, 2004 8:51 pm    Post subject: Reply with quote

Great, thanks a million, that fixed it. I thought the explanation in the thread you linked to was a bit on the short side, so here comes again, in a somewhat fuller version for everybody who is as inexperienced as I am: it was the "missing console" after all. There was a longer technical explanation at this site, but I can't claim I understood it fully. Here's hwat you have to do:
Code:
cd /tmp
mkdir dir
mount --bind / dir
cd dir/dev
mknod -m 660 console c 5 1
mknod -m 660 null c 1 3
cd ../..
umount dir

That fixed it for me' after rebooting, everything is perfect again! Thanks so much!
Back to top
View user's profile Send private message
zeekec
n00b
n00b


Joined: 24 Feb 2004
Posts: 56
Location: Athens, GA, USA

PostPosted: Wed Nov 03, 2004 2:10 pm    Post subject: Worked for me too. Reply with quote

That worked for me too.

Thanks.

Erik
Back to top
View user's profile Send private message
Elsipkitch9809
Apprentice
Apprentice


Joined: 21 Jul 2002
Posts: 186

PostPosted: Fri Nov 05, 2004 1:38 pm    Post subject: Reply with quote

Boot messages!! :D Finally!

Thanks a lot pindar and the rest, that code fixed it for sure. I can see all my init services starting up now (and there was much rejoicing).

My next question is: how to get this fixed so that future installers won't have this problem. I'll look into posting a bugzilla bug about this, maybe its something with baselayout or something.

But thanks everyone, seriously :)


Last edited by Elsipkitch9809 on Tue Mar 01, 2016 5:39 am; edited 1 time in total
Back to top
View user's profile Send private message
hecatomb
Guru
Guru


Joined: 02 Sep 2004
Posts: 525

PostPosted: Fri Nov 05, 2004 1:51 pm    Post subject: Reply with quote

I think you do not have to open a bug report for this.
This is a known thing when changing to udev...

http://www.gentoo.org/doc/en/udev-guide.xml#doc_chap3
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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