System bootup has decided to take forever...
During the section of text-only on the screen as it scrolls by, it's normally really fast (using 14.1). Then last week things started to get a little strange and now at bootup at a particular section it slows to a literal crawl.
When it gets to: Code:
gtk.immodules 2 and 3 Anyone know if there's a way to fix this, and why it suddenly has decided to slow at those spots? |
Pull up dmesg after it finishes and see if you get any disk errors reported.
|
Quote:
|
The modules, fonts, and database resync/rebuild commands always slow the boot process down for a few seconds, but it shouldn't slow down by huge time frames.
Can you post your system specs? |
Did you add any X11-related packages recently?
FWIW, I roll all of those X11-related boot items from the rc scripts into a single script called "rc.xjunk". The script is never run on boot but is there in case I need to re-enable it or run it manually. If there's no reason to run the script--i.e., if nothing has changed in the configuration or installation of the X11 programs--the script doesn't get run. |
Quote:
Here's my system specs: MOBO: ASUS M5A97LE R2.0 Video card: Nvidia GeForce GT520 1GB DDR3 CPU: AMD FX-6300 Sound card: Creative Labs SB Live! 4GB DDR3-1866 RAM 150GB HDD (sda with /boot and /home, WD1600AAJS sata 3Gb/s) 150GB HDD (sdb with / and swap, WD1600JS sata) 32 bit Slackware 14.1 |
Quote:
|
not sure if it'll help with your implementation
I asked about gtk.immodules gdk.pixbuf.loaders pango-query modules in rc.M last year and was told Just comment it out, I always do and there's no problem. see post here |
Quote:
Thanks, I'll let you know what happens. |
Well, commenting those out didn't seem to help and though I'm not sure it was because of commenting those out, but the syetme boot got even slower, so I put rc.M back to original and it's back to booting slowly but not as slowly as when those were commented out. Back to square one <sigh>
|
Do you have a failing hard drive? Can you put some "echo"s in rc.M to track down the progress?
|
Quote:
Now that the SBo Slack packages is up (Thanks to you guys for all your hard work for that too!!), I think I'll reinstall next week and try this again (has to be next week as I'm on satellite internet and I accidentally ran over my limit this past week and until the next 'period' I'm stuck on only slightly-better-than-dialup speed). It's not just the slow boot now, but other things are happening that I'm not happy with at all, for example - When scrolling up or down on webpages, there's a 'line' of sorts that goes all the way across my screen but isn't there when not scrolling (I've tried all my NVIDIA's from 304 to 331...all the same, no difference). The problem with watching mkv files with vlc. kipi installs but doesn't show up on my right-click menu. Pacpl installs but also doesn't show up on my right-click menu. Maybe one or two other small things I can't think of at the moment but hopefully will be corrected with a better installation etc. Thanks for the suggestion though, it's appreciated |
Well, I do see one thing it might or might not be.
The fact that you're using a 64-bit CPU with a 32-bit OS might not be the case, but honestly, you aren't able to fully access your complete system resources so it might be limiting things to what 32-bit software can only access hardware-wise, so then it's kinda difficult to say it's a hardware accessibility resource issue, a hard drive issue, or even a software issue. Let me ask these five questions, and please answer thoroughly and as much detail as possible: 1. What bus speed and data access rate is your hard disk? 2. What filing system are you using, and are you using multiple disk partitions? 3. Have you tried a 64-bit OS with 32-bit multilib in comparison against your current one? 4. Did you ever disable any service daemons in your previous install? 5. What is your exact boot time to Login: clock at with Runlevel 3? It seems like a lot to ask, but this will help us work backwards through things and see if there is one minor or major issue, problem, or change you, or a software package presented into the system that changed something dramatically. |
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
More than likely it's a combination of a setting in the EFI/BIOS combined with ReiserFS. Probably, and more than likely you should reset the hard drive controller to AHCI and then install using JFS as such for example: sda1 - /boot - ext4 sda3 - /(root) - jfs sda5 - swap - swap |
Been quite a while since I fiddled with Slack, but it looks like there's a package for bootchart. Maybe try that to get some idea of where the time is going.
systemd offers some tools, but I'm guessing not too many have taken up bartgymnast on his offer. |
systemd is not a part of Slackware officially, and Bart is far from having his SlackBuilds completed. There are still many problems with resource and dependency loading with systemd that have yet to be officially addressed, and currently the only solution is a rather complicated one.
Bootchart should work well enough if needed, but in all honesty, he did say his drive was acting as a UDMA ATA-100/133 drive, and he's using ReiserFS on an AMD FX series CPU. That alone should answer some questions and point to a problem at hand, as well as a solution. |
Doesn't answer in any why why it used to work, and now apparently doesn't. Need some hard data.
|
@ReaperX7 - I appreciate the help, but syg00 is right...in 14.0 things were fine *and* fast, and at first with 14.1 they were the same. It was almost like a sudden, overnight thing that happened and now my boot time has gone through the roof and *mainly* with those three things at/near the end of the boot process - gtk.immodules, gdk.pixbuf.loaders, pango-query modules.
@syg00 - I looked at that 'bootchart' thing, and since I use the huge.smp where in lilo do/how I "append" it like it says to do (it just doesn't say *where* or how to do it in lilo, heh)? |
Try touching the file /etc/forcefsck and rebooting.
|
@Richard - The system had actually done that just the other day since it had been 31 reboots in about a week, and it was clean.
|
Quote:
|
Actually as software changes, so do the requirements. Sometimes subtley, and sometimes dramatically.
To be honest, yes the cache refreshers do slow down the boot times, and you can move them into cron jobs to ease up things if you are on long up times, but you honestly should take a review of your system overall and start with the most common sense checks. Those cache refreshers work off access times for your disk and the speed of the CPU. This is why I said you need to research ReiserFS against modern hardware, and check your motherboard UEFI's SATA mode setup. Just because in 14.0 it worked doesn't mean the same software is at work in 14.1 in the same way. Changes have happened since 14.0's software packages are out, and those same packages may not work exactly the same way. |
Quote:
As for the fs thing, it still doesn't explain why it (14.1) worked fine for about a week and then of a sudden decided to take its time on those cache update parts at boot. Is there a way to check what speed my system is using on these hdd's? They're sata 3's, but I always see 'udma' settings during boot, but I can't be sure if that's just something that's seen but not used and they're getting sata speed. |
Quote:
|
These other folks may be on the right track, but you might try something like (as root) `strace -r -o ./output update-gtk-immodules`, then open the file ./output to see where things are hanging up.
|
Quote:
Try using Stress here: http://slackbuilds.org/repository/14.1/system/stress/ If it's set to AHCI then that's saying that there are other system issues possibly. I have other questions now: 1. How old is your hard drive? 2. What brand and model is it? 3. When you installed 14.1 in place of 14.0, did you perform a complete full clean installation with a reformat of the ReiserFS partition, or did you simply install over the existing software in an upgrade method of installation without repartitioning? The problems with the ReiserFS are addressed here in this article: http://lwn.net/Articles/202780/ Be warned it can get a bit technical, but in a nutshell it says that there are issues with it scaling effectively on multi-core CPUs due to a kernel locking feature that prevents certain multi-core CPU functions during read-write phases which can actually make access and read times on modern systems slower than filesystems like EXT3, EXT4, and JFS. |
Quote:
|
Quote:
Both Western Digitals. (which since ~'95 have worked well for me whereas I've always had bad luck with Seagate's). The installation was a fresh install, formatting of both drives etc. I've never done an 'upgrade' installation as IMO it's just 'better' (and far easier) to do a clean, fresh install. |
Quote:
Start with `strace -r sleep 1` or `strace -r true` to see the output from a short command. |
Okay, I did the first command you mentioned and read it with 'less'...unfortunately I haven't a clue about what I'm looking at. It turned out to be only 276 lines, but it might as well be written in mandarin Chinese :(
Anyway, I've decided to go back to 14.0 as one more problem reared its ugly head this evening and that was just one more than I needed (my printer, and all-in-one, prints fantastically, but this evening I needed to scan something and skanlite and xsane both, kept segfaulting on me), so I'm going to go back to what works for me well and maybe try 14.1 a little later if I can afford another hdd to try it on as a separate 'test' hdd on my system. Thank you very much to everyone who has been trying to help. I honestly and truly do appreciate what you've all done and I'm sorry if I've wasted your time, but I just don't need this aggravation at this period in my life at the moment. You're all good people and I hope this doesn't stop you from helping me ever again if I happen to need it. Oh, and, just because - I hope everyone had a great Thanksgiving (those who celebrate it, heh) and didn't gain too much weight yet, lol. Me, I've already had to let the belt out one notch and we still have half a turkey left and lots of trimmings. |
No problem. I was hoping that one big number on the left was going to jump out, like this (from `strace -r sleep 30`):
Code:
0.000194 brk(0) = 0x8ee9000 |
All times are GMT -5. The time now is 10:01 AM. |