MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3, 4  Next
Really slow boot up 
Author Message
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 5:54 am
Posts: 10792
Location: Tulsa, Oklahoma U.S.A.
Has thanked: 3574 times
Have thanks: 857 times
Post # 298173
Post Re: Really slow boot up
I'd suggest running TestDisk. It's on the Mepis DVD. Boot it and run it from there. I'm beginning to think you might have a partitioning error. A leftover mount or end point can hang things quite badly. The test only takes a minute or two.

_________________
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain


Tue Apr 03, 2012 4:41 am
Profile
Forum Novice
Forum  Novice

Joined: Fri Oct 15, 2010 12:15 pm
Posts: 44
Location: Washington State
Has thanked: 10 times
Have thanks: 2 times
Post # 298339
Post Re: Really slow boot up
Been busy trying some things. Since there is nothing on the laptop that I do not have else where I could clear everything and start all over. One of the things I found was that the Memory test with any Mepis 11 DVD does Not work on this laptop, it causes the machine to reboot. I have memory tests on other cds and both of them will run and show no errors, even after running for over 20 hours. The version on the Mepis DVD is 4.10, the versions that do run are 4.0a and 4.20.

Another, is that for some reason Debian base disco's are slow to boot on this machine, both 32 or 64 based. Windows XP boots fine and so does Fuduntu-2012-2-x86-64 (RedHat based).

So here is how the laptop is setup right now, after running hardware test again with no errors.
Started with a blank hard drive.
Used XP to make 1st partition and installed there, boots fine. 4.4 GiB sda1 vfat
Then used SimplyMepis DVD 11.0.12_64 to make the root, home and swap partitions.
sda2 ext4 root 10.2 GiB
sda3 ext4 home 56.7 GiB
sda4 swap 2.19 GiB
Install with Check for badblocks and ext4

Still boots as explained in my first post. I hope that the reason can be found why and corrected. I am planning on installing and updating the machine, for now I will have to live with the slow boot. I did not like Fuduntu even though it is for laptops. About April 20th I will be leaving a trip with the laptop.


Fri Apr 06, 2012 7:14 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Wed Jul 12, 2006 4:05 pm
Posts: 2749
Location: Pinellas Park, FL
Has thanked: 99 times
Have thanks: 1679 times
Post # 298342
Post Re: Really slow boot up
You should be able to find out where the delay is by looking at /var/log/kern.log which you will have to do as root (right click -> actions -> edit file as su).
The kernel log isn't wiped between boots. It gets archived when it gets too large but continues from where it was, so you'll need scroll down to find the spot where you powered on. Wait a minute or two between shutting down and restarting so you have a clear break in the timestamps to look for.

The timestamps should show where the delay happens. If there's no significant delay showing in the kernel log then I would guess something is seriously wrong with the /boot/initrd.img ramdisk which starts things up.

In fact, if you can't find the delay in the kernel log, I'd try removing the initrd line from the /boot/grub/message.lst file to see if that helps.
Good Luck!

_________________
XFX Nforce 750 (built in GeForce 8300), Athlon X2 5000
Lenovo G550 , Intel T4400 , Intel Mobile 4 graphics


Fri Apr 06, 2012 7:42 pm

timkb4cq thanked by: lucky9, towwire
Profile
Forum Novice
Forum  Novice

Joined: Fri Oct 15, 2010 12:15 pm
Posts: 44
Location: Washington State
Has thanked: 10 times
Have thanks: 2 times
Post # 298349
Post Re: Really slow boot up
I could see anything with the kern.log, timestamps were all within a second or two . So I removed the initrd line from the /boot/grub/message.lst file and no changes to boot up time.

Here what the screen shows:
[ 0.612681] EXT-fs (sda2): error: couldn't mount because of unsupported optional features (240)
[ 0.612681] EXT-fs (sda2): error: couldn't mount because of unsupported optional features (240)
INT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
Starting the hotplug events dispatcher: undevd.
Synthesizing the initial hotplug events...done.
Waiting for/dev to be fully populated..._
takes 63 seconds for curser to start blinking again _ and then 8 seconds to start showing what going on.

So what is it about this machine that Mepis does not like?


Fri Apr 06, 2012 11:05 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Sat Nov 11, 2006 10:42 pm
Posts: 4332
Has thanked: 114 times
Have thanks: 868 times
Post # 298350
Post Re: Really slow boot up
towwire wrote:
Waiting for/dev to be fully populated..._
takes 63 seconds for curser to start blinking again _ and then 8 seconds to start showing what going on.

So what is it about this machine that Mepis does not like?


WAG> do you have printer connected that reads USB thumb drives or SD cards?

_________________
Desktop: Custom build Asus/AMD/nVidia -- MEPIS 11
Netbook: Fujitsu Lifebook Pentium M -- MX-14
Laptop: Acer Aspire 5250 AMD Dual -- SolydK 64


Fri Apr 06, 2012 11:19 pm

uncle mark thanked by: towwire
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 5:54 am
Posts: 10792
Location: Tulsa, Oklahoma U.S.A.
Has thanked: 3574 times
Have thanks: 857 times
Post # 298351
Post Re: Really slow boot up
It does look like it's hunting for USB devices and that it's taking too long to find them.

_________________
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain


Fri Apr 06, 2012 11:24 pm

lucky9 thanked by: towwire
Profile
Forum Novice
Forum  Novice

Joined: Fri Oct 15, 2010 12:15 pm
Posts: 44
Location: Washington State
Has thanked: 10 times
Have thanks: 2 times
Post # 298352
Post Re: Really slow boot up
uncle mark wrote:
towwire wrote:
Waiting for/dev to be fully populated..._
takes 63 seconds for curser to start blinking again _ and then 8 seconds to start showing what going on.

So what is it about this machine that Mepis does not like?


WAG> do you have printer connected that reads USB thumb drives or SD cards?

The only things connected are my EVO cooler which has 3 usb ports on it and a logitich usb mouse.

EDIT: It does the same with out anything connected to the laptop.


Fri Apr 06, 2012 11:27 pm
Profile
Forum Novice
Forum  Novice

Joined: Fri Oct 15, 2010 12:15 pm
Posts: 44
Location: Washington State
Has thanked: 10 times
Have thanks: 2 times
Post # 298355
Post Re: Really slow boot up  [Solved]
Thanks everyone for all you help!!!! Extra thanks to:

timkb4cq As removing the initrd line is what worked.

lucky9 Saying It looks like it's hunting for USB devices and that it's taking too long to find them. Was what had me try disconnecting every thing again.

I started with nothing hook up and later hook up the laptop cooler which gets it's power from the laptop and provides 3 usb connections. If I put the initrd line back in then it is the long boot time with nothing connected. Removed it and it boot's like my desktop. So now I just have to remember to leave the cooler unhook on the laptop or have a slow boot.

I do wonder what the trouble is the initrd line and the memory test program??

THANKS ALL you deserved the shout out.


Sat Apr 07, 2012 2:04 am
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 5:54 am
Posts: 10792
Location: Tulsa, Oklahoma U.S.A.
Has thanked: 3574 times
Have thanks: 857 times
Post # 298358
Post Re: Really slow boot up
Perhaps timkb4cq will give an explanation to us. But at the very least we'll know what to try next time!

_________________
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain


Sat Apr 07, 2012 4:36 am
Profile
Forum Guide
Forum Guide
User avatar

Joined: Wed Jul 12, 2006 4:05 pm
Posts: 2749
Location: Pinellas Park, FL
Has thanked: 99 times
Have thanks: 1679 times
Post # 298362
Post Re: Really slow boot up
lucky9 wrote:
Perhaps timkb4cq will give an explanation to us. But at the very least we'll know what to try next time!

It's just a logical presumption.
Since the delay didn't show in the kernel log it had to occur before kernel logging started - and that starts very early in the process. The only big thing between grub and the run time kernel is the initrd so the problem almost had to be there.

Initrd is an initial ramdisk that allows drivers for devices not rolled into the kernel to load. A lot of linux drivers are built by default as modules including a lot of networking drivers. Without an initrd a network boot wouldn't work. But if there's a module set to load in the initrd that won't load for some reason you can have a problem and I think that's what has happened here. A driver is trying to load, not finding the expected hardware and finally timing out. It's almost certainly related to your usb cooler/hub which is being recognized as something it's not.

I would try running dmeg in a Konsole terminal immediately before & immediately after plugging the cooler in to see how it's being recognized and what's trying to load. If you can isolate a driver and rebuild the initrd without that module the problem will go away.

Alternatively, it could be an IRQ collision with your usb controller and another device preventing devices from being properly recognized while building /dev
If your usb driver is in a kernel module, this would always happen with an initrd line present but without it the kernel wouldn't see the usb until later in the boot process.

Without more testing I couldn't say exactly what the issue is - but you can see the logic that led me to initrd.

_________________
XFX Nforce 750 (built in GeForce 8300), Athlon X2 5000
Lenovo G550 , Intel T4400 , Intel Mobile 4 graphics


Sat Apr 07, 2012 8:58 am

timkb4cq thanked by: GoManutd, lucky9, Utopia
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 31 posts ]  Go to page Previous  1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.