* Trouble shooting a ten minute boot delay (SiI3112)
@ 2005-08-09 23:31 Shaun Jackman
2005-08-12 2:47 ` Tejun Heo
0 siblings, 1 reply; 12+ messages in thread
From: Shaun Jackman @ 2005-08-09 23:31 UTC (permalink / raw)
To: lkml
I added a PCI SATA controller to my computer. Immediately after grub
loads the kernel there is a consistent ten minute delay before the
kernel displays its first message. I tested Linux 2.6.8 and 2.6.11
both from Debian, and 2.6.11 from Knoppix, all of which experience the
same delay.
The SATA controller is connected to two 200 GB Seagate SATA
ST3200826AS drives. I managed to install Debian on the system, though
the install was perilous, and once booted the system runs wonderfully!
Any suggestions on how I can trouble shoot the ten minute boot delay?
I don't reboot frequently, but it is irksome.
What's the appropriate mailing list for SATA questions, perhaps
linux-ide or linux-scsi?
Please cc me in your reply. Thanks!
Shaun
$ uname -a
Linux quince 2.6.11-1-k7 #1 Mon Jun 20 21:26:23 MDT 2005 i686 GNU/Linux
# lspci
0000:00:00.0 Host bridge: nVidia Corporation nForce CPU bridge (rev b2)
0000:00:00.1 RAM memory: nVidia Corporation nForce 220/420 Memory
Controller (rev b2)
0000:00:00.2 RAM memory: nVidia Corporation nForce 220/420 Memory
Controller (rev b2)
0000:00:00.3 RAM memory: nVidia Corporation: Unknown device 01aa (rev b2)
0000:00:01.0 ISA bridge: nVidia Corporation nForce ISA Bridge (rev c3)
0000:00:01.1 SMBus: nVidia Corporation nForce PCI System Management (rev c1)
0000:00:02.0 USB Controller: nVidia Corporation nForce USB Controller (rev c3)
0000:00:03.0 USB Controller: nVidia Corporation nForce USB Controller (rev c3)
0000:00:04.0 Ethernet controller: nVidia Corporation nForce Ethernet
Controller(rev c2)
0000:00:05.0 Multimedia audio controller: nVidia Corporation: Unknown
device 01b0 (rev c2)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce
Audio (rev c2)
0000:00:08.0 PCI bridge: nVidia Corporation nForce PCI-to-PCI bridge (rev c2)
0000:00:09.0 IDE interface: nVidia Corporation nForce IDE (rev c3)
0000:00:1e.0 PCI bridge: nVidia Corporation nForce AGP to PCI Bridge (rev b2)
0000:01:06.0 Ethernet controller: Accton Technology Corporation
SMC2-1211TX (rev 10)
0000:01:07.0 Multimedia video controller: Internext Compression Inc
iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
0000:01:08.0 Unknown mass storage controller: Silicon Image, Inc.
(formerly CMDTechnology Inc) SiI 3112 [SATALink/SATARaid] Serial ATA
Controller (rev 02)
0000:02:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G550
AGP (rev01)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble shooting a ten minute boot delay (SiI3112)
2005-08-09 23:31 Trouble shooting a ten minute boot delay (SiI3112) Shaun Jackman
@ 2005-08-12 2:47 ` Tejun Heo
2005-08-12 8:00 ` Shaun Jackman
0 siblings, 1 reply; 12+ messages in thread
From: Tejun Heo @ 2005-08-12 2:47 UTC (permalink / raw)
To: Shaun Jackman; +Cc: lkml
Shaun Jackman wrote:
> I added a PCI SATA controller to my computer. Immediately after grub
> loads the kernel there is a consistent ten minute delay before the
> kernel displays its first message. I tested Linux 2.6.8 and 2.6.11
> both from Debian, and 2.6.11 from Knoppix, all of which experience the
> same delay.
>
> The SATA controller is connected to two 200 GB Seagate SATA
> ST3200826AS drives. I managed to install Debian on the system, though
> the install was perilous, and once booted the system runs wonderfully!
> Any suggestions on how I can trouble shoot the ten minute boot delay?
> I don't reboot frequently, but it is irksome.
>
> What's the appropriate mailing list for SATA questions, perhaps
> linux-ide or linux-scsi?
>
> Please cc me in your reply. Thanks!
> Shaun
>
Hi, Shaun Jackman.
The list would be linux-ide but it doesn't really seem like a SATA
problem.
* What do you mean by the `first' message? ie. What's the first line
you read?
* Is it really ten minutes?
--
tejun
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble shooting a ten minute boot delay (SiI3112)
2005-08-12 2:47 ` Tejun Heo
@ 2005-08-12 8:00 ` Shaun Jackman
2005-08-12 8:03 ` Jeff Garzik
0 siblings, 1 reply; 12+ messages in thread
From: Shaun Jackman @ 2005-08-12 8:00 UTC (permalink / raw)
To: Tejun Heo; +Cc: lkml
2005/8/11, Tejun Heo <htejun@gmail.com>:
> Shaun Jackman wrote:
> > I added a PCI SATA controller to my computer. Immediately after grub
> > loads the kernel there is a consistent ten minute delay before the
> > kernel displays its first message. I tested Linux 2.6.8 and 2.6.11
> > both from Debian, and 2.6.11 from Knoppix, all of which experience the
> > same delay.
>
> * What do you mean by the `first' message? ie. What's the first line
> you read?
> * Is it really ten minutes?
Hello, Tejun. Thanks for the reply.
The message displayed by the bootloader, grub, is...
root (hd2,2)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz-2.6.11-1-k7 root=/dev/md0 ro nodma
[Linux-bzImage, setup=0x1600, size=0x122a667]
initrd /boot/initrd.img-2.6.11-1-1-k7
[Linux-initrd @ 0x1fb29000, 0x4c6000 bytes]
boot
At this point there is a nine minute, fifteen second delay. As soon as
the kernel starts printing messages it goes by quite fast, so I can't
be certain what it's printing, but the first message according to
dmesg is...
Linux version 2.6.11-1-k7 (dannf@firetheft) (gcc version 3.3.6 (Debian 1:3.3.6-6
)) #1 Mon Jun 20 21:26:23 MDT 2005
BIOS-provided physical RAM map:
...
Cheers,
Shaun
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble shooting a ten minute boot delay (SiI3112)
2005-08-12 8:00 ` Shaun Jackman
@ 2005-08-12 8:03 ` Jeff Garzik
2005-08-12 17:44 ` Shaun Jackman
0 siblings, 1 reply; 12+ messages in thread
From: Jeff Garzik @ 2005-08-12 8:03 UTC (permalink / raw)
To: Shaun Jackman; +Cc: Tejun Heo, lkml
Shaun Jackman wrote:
> 2005/8/11, Tejun Heo <htejun@gmail.com>:
>
>>Shaun Jackman wrote:
>>
>>>I added a PCI SATA controller to my computer. Immediately after grub
>>>loads the kernel there is a consistent ten minute delay before the
>>>kernel displays its first message. I tested Linux 2.6.8 and 2.6.11
>>>both from Debian, and 2.6.11 from Knoppix, all of which experience the
>>>same delay.
>>
>> * What do you mean by the `first' message? ie. What's the first line
>>you read?
>> * Is it really ten minutes?
>
>
> Hello, Tejun. Thanks for the reply.
>
> The message displayed by the bootloader, grub, is...
> root (hd2,2)
> Filesystem type is ext2fs, partition type 0x83
> kernel /boot/vmlinuz-2.6.11-1-k7 root=/dev/md0 ro nodma
> [Linux-bzImage, setup=0x1600, size=0x122a667]
> initrd /boot/initrd.img-2.6.11-1-1-k7
> [Linux-initrd @ 0x1fb29000, 0x4c6000 bytes]
> boot
>
> At this point there is a nine minute, fifteen second delay. As soon as
> the kernel starts printing messages it goes by quite fast, so I can't
> be certain what it's printing, but the first message according to
> dmesg is...
> Linux version 2.6.11-1-k7 (dannf@firetheft) (gcc version 3.3.6 (Debian 1:3.3.6-6
> )) #1 Mon Jun 20 21:26:23 MDT 2005
> BIOS-provided physical RAM map:
It's doing something BIOS-related at that point.
Try booting with 'edd=off' or disabling CONFIG_EDD.
Jeff
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble shooting a ten minute boot delay (SiI3112)
2005-08-12 8:03 ` Jeff Garzik
@ 2005-08-12 17:44 ` Shaun Jackman
2005-08-12 18:39 ` Jan Engelhardt
0 siblings, 1 reply; 12+ messages in thread
From: Shaun Jackman @ 2005-08-12 17:44 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Tejun Heo, lkml
2005/8/12, Jeff Garzik <jgarzik@pobox.com>:
> > At this point there is a nine minute, fifteen second delay. As soon as
> > the kernel starts printing messages it goes by quite fast, so I can't
> > be certain what it's printing, but the first message according to
> > dmesg is...
> > Linux version 2.6.11-1-k7 (dannf@firetheft) (gcc version 3.3.6 (Debian 1:3.3.6-6
> > )) #1 Mon Jun 20 21:26:23 MDT 2005
> > BIOS-provided physical RAM map:
>
> It's doing something BIOS-related at that point.
>
> Try booting with 'edd=off' or disabling CONFIG_EDD.
Thanks for the hint. I tried edd=off but sadly the boot delay
persists. It looks as though edd was already disabled, as my .config
contains CONFIG_EDD=m and the edd module is not loaded. If it helps
troubleshooting I can post my .config here.
Cheers,
Shaun
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble shooting a ten minute boot delay (SiI3112)
2005-08-12 17:44 ` Shaun Jackman
@ 2005-08-12 18:39 ` Jan Engelhardt
2005-08-12 19:08 ` Shaun Jackman
0 siblings, 1 reply; 12+ messages in thread
From: Jan Engelhardt @ 2005-08-12 18:39 UTC (permalink / raw)
To: Shaun Jackman; +Cc: Jeff Garzik, Tejun Heo, lkml
>Thanks for the hint. I tried edd=off but sadly the boot delay
>persists. It looks as though edd was already disabled, as my .config
>contains CONFIG_EDD=m and the edd module is not loaded. If it helps
>troubleshooting I can post my .config here.
Maybe you can get something using EARLY_PRINTK and/or Sysrq+T?
Jan Engelhardt
--
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble shooting a ten minute boot delay (SiI3112)
2005-08-12 18:39 ` Jan Engelhardt
@ 2005-08-12 19:08 ` Shaun Jackman
2005-08-12 19:14 ` Jan Engelhardt
0 siblings, 1 reply; 12+ messages in thread
From: Shaun Jackman @ 2005-08-12 19:08 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: Jeff Garzik, Tejun Heo, lkml
2005/8/12, Jan Engelhardt <jengelh@linux01.gwdg.de>:
> >Thanks for the hint. I tried edd=off but sadly the boot delay
> >persists. It looks as though edd was already disabled, as my .config
> >contains CONFIG_EDD=m and the edd module is not loaded. If it helps
> >troubleshooting I can post my .config here.
>
> Maybe you can get something using EARLY_PRINTK and/or Sysrq+T?
I tried earlyprintk=vga, but it didn't provide any extra information.
Although, CONFIG_EARLY_PRINTK is disabled in my .config. Does it need
to be set to CONFIG_EARLY_PRINTK=y for earlyprintk=vga to work?
I haven't tried Sysrq+T yet. I'll report back.
Cheers,
Shaun
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble shooting a ten minute boot delay (SiI3112)
2005-08-12 19:08 ` Shaun Jackman
@ 2005-08-12 19:14 ` Jan Engelhardt
2005-08-13 1:39 ` Shaun Jackman
0 siblings, 1 reply; 12+ messages in thread
From: Jan Engelhardt @ 2005-08-12 19:14 UTC (permalink / raw)
To: Shaun Jackman; +Cc: Jeff Garzik, Tejun Heo, lkml
>I tried earlyprintk=vga, but it didn't provide any extra information.
>Although, CONFIG_EARLY_PRINTK is disabled in my .config. Does it need
>to be set to CONFIG_EARLY_PRINTK=y for earlyprintk=vga to work?
I think yes, otherwise there would not be a .config entry at all.
>I haven't tried Sysrq+T yet. I'll report back.
Mind that it is unlikely to get a good trace at this stage, but it's worth the
try.
Jan Engelhardt
--
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble shooting a ten minute boot delay (SiI3112)
2005-08-12 19:14 ` Jan Engelhardt
@ 2005-08-13 1:39 ` Shaun Jackman
2005-08-13 2:55 ` Steven Rostedt
0 siblings, 1 reply; 12+ messages in thread
From: Shaun Jackman @ 2005-08-13 1:39 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: Jeff Garzik, Tejun Heo, lkml
2005/8/12, Jan Engelhardt <jengelh@linux01.gwdg.de>:
> >I tried earlyprintk=vga, but it didn't provide any extra information.
> >Although, CONFIG_EARLY_PRINTK is disabled in my .config. Does it need
> >to be set to CONFIG_EARLY_PRINTK=y for earlyprintk=vga to work?
>
> I think yes, otherwise there would not be a .config entry at all.
>
> >I haven't tried Sysrq+T yet. I'll report back.
>
> Mind that it is unlikely to get a good trace at this stage, but it's worth the
> try.
I compiled a vanilla 2.6.12.4 kernel, enabled EARLY_PRINTK and
rebooted with earlyprintk=vga. The kernel didn't display any extra
information before the delay.
$ uname -a
Linux quince 2.6.12.4 #1 Fri Aug 12 13:02:40 PDT 2005 i686 GNU/Linux
$ cat /proc/cmdline
root=/dev/md0 ro nodma earlyprintk=vga
$ grep EARLY_PRINTK /boot/config-2.6.12.4
CONFIG_EARLY_PRINTK=y
I tried Alt-SysRq-T but there was no response. SYSRQ is enabled.
$ grep SYSRQ /boot/config-2.6.12.4
CONFIG_MAGIC_SYSRQ=y
Cheers,
Shaun
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble shooting a ten minute boot delay (SiI3112)
2005-08-13 1:39 ` Shaun Jackman
@ 2005-08-13 2:55 ` Steven Rostedt
2005-08-15 22:34 ` Shaun Jackman
0 siblings, 1 reply; 12+ messages in thread
From: Steven Rostedt @ 2005-08-13 2:55 UTC (permalink / raw)
To: Shaun Jackman; +Cc: lkml, Tejun Heo, Jeff Garzik, Jan Engelhardt
On Fri, 2005-08-12 at 18:39 -0700, Shaun Jackman wrote:
> 2005/8/12, Jan Engelhardt <jengelh@linux01.gwdg.de>:
> > >I tried earlyprintk=vga, but it didn't provide any extra information.
> > >Although, CONFIG_EARLY_PRINTK is disabled in my .config. Does it need
> > >to be set to CONFIG_EARLY_PRINTK=y for earlyprintk=vga to work?
> >
> > I think yes, otherwise there would not be a .config entry at all.
> >
> > >I haven't tried Sysrq+T yet. I'll report back.
> >
> > Mind that it is unlikely to get a good trace at this stage, but it's worth the
> > try.
Is the keyboard ever set up then? This is all happening before
console_init (since that's when the prints start) and the early printk
won't show anything before it parses the options. For other
architectures, I use to write out to the serial really early, just an
'x'. If you know how to do that, you could give it a try. Start at
start_kernel in main hopefully you see the 'x'. If you do, keep moving
it until you find where it's delaying. Of course, this could be before
start_kernel, then you're really screwed, unless you're good at doing
the same in assembly (which I've done for MIPS, PPC and ARM, but never
for x86).
>
> I compiled a vanilla 2.6.12.4 kernel, enabled EARLY_PRINTK and
> rebooted with earlyprintk=vga. The kernel didn't display any extra
> information before the delay.
Do you see grub saying "uncompressing kernel..." or whatever that says?
-- Steve
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble shooting a ten minute boot delay (SiI3112)
2005-08-13 2:55 ` Steven Rostedt
@ 2005-08-15 22:34 ` Shaun Jackman
0 siblings, 0 replies; 12+ messages in thread
From: Shaun Jackman @ 2005-08-15 22:34 UTC (permalink / raw)
To: Steven Rostedt; +Cc: lkml, Tejun Heo, Jeff Garzik, Jan Engelhardt
2005/8/12, Steven Rostedt <rostedt@goodmis.org>:
> Is the keyboard ever set up then? This is all happening before
> console_init (since that's when the prints start) and the early printk
> won't show anything before it parses the options. For other
> architectures, I use to write out to the serial really early, just an
> 'x'. If you know how to do that, you could give it a try. Start at
> start_kernel in main hopefully you see the 'x'. If you do, keep moving
> it until you find where it's delaying. Of course, this could be before
> start_kernel, then you're really screwed, unless you're good at doing
> the same in assembly (which I've done for MIPS, PPC and ARM, but never
> for x86).
Since each reboot takes ten minutes, this would be a tedious process.
Thanks for the suggestion though.
> > I compiled a vanilla 2.6.12.4 kernel, enabled EARLY_PRINTK and
> > rebooted with earlyprintk=vga. The kernel didn't display any extra
> > information before the delay.
>
> Do you see grub saying "uncompressing kernel..." or whatever that says?
Grub says...
root (hd2,2)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz-2.6.12.4 root=/dev/md0 ro nodma
[Linux-bzImage, setup=0x1e00, size=0x1302ff]
I suspect this second message is where grub decompresses the kernel.
The last message grub displays is simply...
boot
Cheers,
Shaun
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Trouble shooting a ten minute boot delay (SiI3112)
@ 2005-08-16 12:37 Etienne Lorrain
0 siblings, 0 replies; 12+ messages in thread
From: Etienne Lorrain @ 2005-08-16 12:37 UTC (permalink / raw)
To: linux-kernel, Shaun Jackman
> > Do you see grub saying "uncompressing kernel..." or whatever that says?
>
> Grub says...
>
> root (hd2,2)
> Filesystem type is ext2fs, partition type 0x83
> kernel /boot/vmlinuz-2.6.12.4 root=/dev/md0 ro nodma
> [Linux-bzImage, setup=0x1e00, size=0x1302ff]
May I suggest to try a boot with Gujin bootloader, i.e. put
http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/g/gu/gujin/install-1.2.tar.gz/install/boot.144?extract=true
on a floppy, or:
http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/g/gu/gujin/install-1.2.tar.gz/install/boot.bcd?extract=true
on a bootable CDROM and try it?
If it is a BIOS probing problem, or early decompression, you can get more
information by making a DOS bootable floppy and run this executable:
http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/g/gu/gujin/standard-1.2.tar.gz/dbgload.exe?extract=true
It will act as the previous bootloader but also save a file named DBG
on the floppy where it will write the value of all BIOS parameters given
to Linux.
If even Gujin misbehaves on accessing the disks, try dbgdisk.exe instead
of dbgload.exe to see what is unusual in your BIOS - if it is a BIOS
problem at all.
Cheers,
Etienne.
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2005-08-16 12:37 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-09 23:31 Trouble shooting a ten minute boot delay (SiI3112) Shaun Jackman
2005-08-12 2:47 ` Tejun Heo
2005-08-12 8:00 ` Shaun Jackman
2005-08-12 8:03 ` Jeff Garzik
2005-08-12 17:44 ` Shaun Jackman
2005-08-12 18:39 ` Jan Engelhardt
2005-08-12 19:08 ` Shaun Jackman
2005-08-12 19:14 ` Jan Engelhardt
2005-08-13 1:39 ` Shaun Jackman
2005-08-13 2:55 ` Steven Rostedt
2005-08-15 22:34 ` Shaun Jackman
-- strict thread matches above, loose matches on Subject: below --
2005-08-16 12:37 Etienne Lorrain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox