2002-04-26 15:55:18

by Stephan Maciej

[permalink] [raw]
Subject: [BUG] 2.5.10 - kernel hangs after detecting CD/DVD ROM (was: Re: IDE problem: 2.5.10 compiles but hangs during boot)

On Wednesday 24 April 2002 21:53, Mark Orr wrote:
> Linux 2.5.10 compiles but doesnt complete boot due to some IDE
> errors. Previous working kernel was 2.5.8-pre3.

On my system, the bootup hangs completely after the kernel has detected my
CD/DVD ROM. Last working version was 2.5.9. When .9 it comes up, it displays
(dmesg dump, probably non-useful stuff stripped off):

Linux version 2.5.9 (root@maciej) (gcc version 2.95.3 20010315 (SuSE)) #3 Tue
Apr 23 21:54:54 CEST 2002
[...]
Sony Vaio laptop detected.
Kernel command line: auto BOOT_IMAGE=linux-2.5.9 ro root=301
[...]
CPU: AMD Duron(tm) Processor stepping 01
[...]
Applying VIA southbridge workaround.
PCI: Disabling Via external APIC routing
[...]
VIA Technologies, Inc. Bus Master IDE: IDE controller on PCI slot 00:07.1
VIA Technologies, Inc. Bus Master IDE: chipset revision 6
VIA Technologies, Inc. Bus Master IDE: not 100% native mode: will probe irqs
later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
ide0: BM-DMA at 0x1c40-0x1c47, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x1c48-0x1c4f, BIOS settings: hdc:DMA, hdd:pio
hda: HITACHI_DK23CA-20, ATA DISK drive
hdc: QSI DVD-ROM SDR-081, ATAPI CD/DVD-ROM drive

That's the last line I see from a 2.5.10 kernel booting up. 2.5.9 does go
farther:

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide: unexpected interrupt 1 15
ide1 at 0x170-0x177,0x376 on irq 15
ide: unexpected interrupt 0 14
[... and so on...]

No OOPS, no BUG, even not a blinking cursor anymore (vesafb).

Stephan


2002-04-26 16:17:31

by Rolf Eike Beer

[permalink] [raw]
Subject: Re: [BUG] 2.5.10 - kernel hangs after detecting CD/DVD ROM (was: Re: IDE problem: 2.5.10 compiles but hangs during boot)

Von Stephan Maciej:

> On Wednesday 24 April 2002 21:53, Mark Orr wrote:
>> Linux 2.5.10 compiles but doesnt complete boot due to some IDE
>> errors. Previous working kernel was 2.5.8-pre3.
> That's the last line I see from a 2.5.10 kernel booting up. 2.5.9 does
> go farther:
>
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide: unexpected interrupt 1 15
> ide1 at 0x170-0x177,0x376 on irq 15
> ide: unexpected interrupt 0 14
> [... and so on...]
>
> No OOPS, no BUG, even not a blinking cursor anymore (vesafb).

Do You mean something like this?

Mounting local file systems...
proc on /proc type proc (rw)
SCSI subsystem driver Revision: 1.00
ide: unexpected interrupt 1 15
Unable to handle kernel NULL pointer dereference at virtual address
00000004
printip eip:
c018c056
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010: [<c018c056>] Not tainted
EFLAGS: 00010002
eax: 00000004 ebx: c799de20 ecx: 00000061 edx: 00000000
esi: c799dd9c edi: c02842cc ebp: 00000292 esp: c0229ecc
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 0, threadinfo = c0228000
task=c0217140
stack: c799dd9c 00000001 c02842cc 00000003 00000001 c0187c7b c02842cc
00000001
00000000 c885d4c2 c02842cc 00000001 00000018 c799de20 c799dd9c
c885e1f3
c02842cc 00000001 c0228000 00000000 c02842cc c11be2c0 00000000
00000086
call trace: [<c018dv7b>] [<c88d4c2*>] [<c885e1f3>] [<c018dd75>]
[<c885e12c>] [<c01083cc>] [<c0180594>] [<c0105000>]
[<c0107152>] [<c01052e0>] [<c0105000>] [<c0105303>]
[<c0105374>] [<c010504d>]
Code> c7 04 02 00 00 00 00 8b 53 0c 8b 87 34 02 00 00 0f b3 10 8b
<0> Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing

It is written down by hand and has at least one error (*), there is one
char missing.

Eike
--
Wir vom FBI haben keinen Humor von dem wir w?ssten. - K

2002-04-26 19:08:19

by Andi Kleen

[permalink] [raw]
Subject: Re: [BUG] 2.5.10 - kernel hangs after detecting CD/DVD ROM (was: Re: IDE problem: 2.5.10 compiles but hangs during boot)

Stephan Maciej <[email protected]> writes:
> later
> VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
> ide0: BM-DMA at 0x1c40-0x1c47, BIOS settings: hda:DMA, hdb:pio
> ide1: BM-DMA at 0x1c48-0x1c4f, BIOS settings: hdc:DMA, hdd:pio
> hda: HITACHI_DK23CA-20, ATA DISK drive
> hdc: QSI DVD-ROM SDR-081, ATAPI CD/DVD-ROM drive
>
> That's the last line I see from a 2.5.10 kernel booting up. 2.5.9 does go
> farther:

I have a similar problem on the VirtuHammer simulator. On trying to access
the virtual disk using PIO mode the simular breaks with an error
in a rep ; outsb loop complaining about "writing data while in data in phase".
I guess your problem could be the same, as the DVD is likely accessed
using PIO. 2.5.10 fails, 2.5.9 works.

-Andi

2002-04-26 22:40:18

by Martin Dalecki

[permalink] [raw]
Subject: Re: [BUG] 2.5.10 - kernel hangs after detecting CD/DVD ROM (was: Re: IDE problem: 2.5.10 compiles but hangs during boot)

Uz.ytkownik Andi Kleen napisa?:
> Stephan Maciej <[email protected]> writes:
>
>>later
>>VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
>> ide0: BM-DMA at 0x1c40-0x1c47, BIOS settings: hda:DMA, hdb:pio
>> ide1: BM-DMA at 0x1c48-0x1c4f, BIOS settings: hdc:DMA, hdd:pio
>>hda: HITACHI_DK23CA-20, ATA DISK drive
>>hdc: QSI DVD-ROM SDR-081, ATAPI CD/DVD-ROM drive
>>
>>That's the last line I see from a 2.5.10 kernel booting up. 2.5.9 does go
>>farther:
>
>
> I have a similar problem on the VirtuHammer simulator. On trying to access
> the virtual disk using PIO mode the simular breaks with an error
> in a rep ; outsb loop complaining about "writing data while in data in phase".
> I guess your problem could be the same, as the DVD is likely accessed
> using PIO. 2.5.10 fails, 2.5.9 works.


please apply IDE 41. There are known errors there.