LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 09-27-2012, 06:44 AM   #1
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 750

Rep: Reputation: 29
Loading, please wait


there is a long delay on my computer (Debian, amd64, testing) after "Loading, please wait" message. On the other, older computer, delay is much shorter. could it be because of software raid or scsi card? is there way to speed it up?
 
Old 09-27-2012, 11:08 AM   #2
suttiwit
Member
 
Registered: Aug 2012
Location: Chiang Mai, Thailand
Distribution: Kubuntu 12.10 x86_64
Posts: 192
Blog Entries: 2

Rep: Reputation: 22
I guess it is unsupported hardware...
 
Old 09-28-2012, 07:40 AM   #3
el chapulín
Member
 
Registered: Sep 2012
Posts: 75

Rep: Reputation: 19
It could be due to the size of the /boot or / partition.

Without knowing all of the details of the software raid setup or the scsi card and configuration of the drives, number of drives, partitioning scheme, bootloader, etc... it's not going to be easy for anyone to help you.
 
Old 09-28-2012, 10:38 AM   #4
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 750

Original Poster
Rep: Reputation: 29
boot and / are on same partition, its size is 25Gb on SSD drive. raid0 is on 3 hdds. bootloader is grub2.
looking at dmesg, biggest delay seems to be here:
..
[ 4.004172] usbhid: USB HID core driver
[ 16.148458] scsi2 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
..


edit: I think I've found the solution, nut sure how to use it:



> This sounds like a user configuration error. The adaptec has a bus
> settle time in its initialisation path. Originally it was 20s, hence
> for a D card (twin channel) it would take about 50s to come online
> (extra 5s to scan per channel). There was a lot of argument about this,
> and the value was finally made configurable as
>
> CONFIG_AIC79XX_RESET_DELAY_MS
>
> I suspect you have this set to around 15000. You can make the boot
> sequence shorter by reducing this value. I believe Red Hat configures
> it down to the default 5000.

Last edited by qrange; 09-30-2012 at 05:23 PM.
 
Old 10-03-2012, 08:45 AM   #5
VDP76
Member
 
Registered: Apr 2010
Location: Bayreuth, Germany
Distribution: CrunchBang Linux (#!)
Posts: 111

Rep: Reputation: 19
it looks like a grub parameter, imo...
where did you find that piece of information?
 
Old 10-03-2012, 09:19 AM   #6
el chapulín
Member
 
Registered: Sep 2012
Posts: 75

Rep: Reputation: 19
It's in the kernel configuration, so to change that you would need to rebuild the kernel.

Apparently this was fixed upstream quite some time ago - but it is a only a configuration option, so it could have been configured to the old value in Debian's kernels. You should first check if this is a possible cause:
Code:
$ grep CONFIG_AIC79XX_RESET_DELAY_MS /boot/config-`uname -r`
I have squeeze running here in a virtual machine and the result is:
Code:
CONFIG_AIC79XX_RESET_DELAY_MS=15000
As you're running testing with a 3.2 kernel, I would imagine this would have been fixed...

Last edited by el chapulín; 10-03-2012 at 09:21 AM.
 
1 members found this post helpful.
Old 10-03-2012, 05:10 PM   #7
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 750

Original Poster
Rep: Reputation: 29
nope, after running that command its the same here, on 3.2.0-3-amd64 (Debian 3.2.23-1):

CONFIG_AIC79XX_RESET_DELAY_MS=15000

I only seldom use scsi for old scanner, is there an option to disable it temporary?
thanks.

Last edited by qrange; 10-03-2012 at 05:11 PM.
 
Old 10-03-2012, 05:11 PM   #8
el chapulín
Member
 
Registered: Sep 2012
Posts: 75

Rep: Reputation: 19
apt-get the debianised source change the value to 5000 and rebuild the kernel.
 
Old 10-04-2012, 02:08 AM   #9
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 750

Original Poster
Rep: Reputation: 29
thanks, but that is beyond my linux knowledge. besides, I'd have to do it after every kernel update.
I'll just live with it.
 
Old 10-04-2012, 08:08 AM   #10
el chapulín
Member
 
Registered: Sep 2012
Posts: 75

Rep: Reputation: 19
I doubt it's beyond your linux knowledge, but you're right in that rebuilding the kernel whenever there's an update can be a pain - but for many users a necessary one. I tend to just choose a kernel from kernel.org and stick with it, patching and rebuilding only when something relevant (and/or security related) turns up.
 
1 members found this post helpful.
Old 10-18-2014, 04:49 PM   #11
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian
Posts: 750

Original Poster
Rep: Reputation: 29
sorry to reply to this old thread. I (finally) recompiled kernel into new .deb and installed it, like 'el chapulín' said, so boot time is 15 sec faster now.
 
  


Reply


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
Help - deleted partition: GRUB loading stage l.5, Grub loading, please wait Error 17 rokkoschik Linux - General 1 01-07-2011 06:24 AM
Stuck at loading, please wait... j.todd Linux - Hardware 1 09-04-2008 06:21 AM
GRUB Loading starge 1.5... GRUB Loading please wait ERROR 21 davidjames Linux - Newbie 2 03-03-2008 11:01 AM
GRUB loading, please wait.... eagleB Linux - Software 1 02-05-2007 06:52 PM
Grub Loading, Please Wait Error 18 peterfc Linux - Desktop 1 09-17-2006 11:01 AM


All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
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