Skip to contentSkip to conversation

Oops in 2.4.20-rc2

DISCUSSION Michał Piotrowski 2 participants 2 messages Nov 20, 2002

lore
Share & tools
lore
#0 lore raw

[1.] - Kernel panic when I mount cdrom (linux 2.4.20-rc2).
[2.] - I make kernel with opt.
SCSI Support --->
<M> SCSI Support
<M> SCSI CD-ROM Support
(2) Maximum number of CDROM devices that can be loaded as modules <M> SCSI generic support
ATA/IDE/MFM/RLL support --->
<*> ATA/IDE/MFM/RLL support
IDE, ATA and ATAPI Block devices --->
<M> Include IDE/ATAPI CDROM support
<M> SCSI emulation support
In lilo.conf I wrote append="hdd=ide-scsi"
In /etc/fstab
/dev/scd0 /mnt/cdrom iso9660 noauto, owner, ro 00
And when I try to mount cdrom system crash.
[3.] - IDE SCSI emulation
[4.] - Linux version 2.4.20-rc2 ([email protected]) (gcc version 3.2 20020903

	(Red Hat Linux 8.0 3.2-7)) #9 wto lis 19 20:06:22 CET 2002

[5.] - Output of Oops

Unable to handle kernel NULL pointer dereference at virtual addres 00000188
*pde = 00000000
Oops: 0002
CPU: 0

EIP: 0010:[<c20913a1>] Not tained
EFLAGS: 00010246
eax: 00000000 ebx: 00000000 ecx: c10e1100 edx: c083c440
esi: c10d7ca0 edi: c083c440 ebp: c04f8000 esp: c0203efc
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 0, stackpage=c0203000)

Stack:	c083c440 c025c4c4 c083c440 c025c344 c0183038 c025c4c4 c083c440 c10d7ca0
	00000000 c04f8000 c025c4c4 c10d7ca0 c2091579 00000001 c10f2160 00000000
	c10f2160 c025c4c4 00000202 c025c344 c01834e6 c025c4c4 c2091510 c1059820
Call Trace: [<c0183038>] [<c2091579>] [<c01834e6>] [<c2091510>] [<c010822d>]
	[<c01083a8>] [<c0105310>] [<c010a818>] [<c0105310>] [<c0105334>]
	[<c01053a2>] [<c0105000>]
Code: c7 80 88 01 00 00 02 00 00 00 74 81 8b 45 2c 8b 40 24 50 8b

<0> Kernel panic: Aiee killing interupt handler! Interupt handler - not syncing

[7.1.] ver_linux

Linux one.pl 2.4.20-rc2 #9 wto lis 19 20:06:22 CET 2002 i586 i586 i386 GNU/Linux

Gnu C                  3.2
Gnu make               3.79.1
util-linux             2.11r
mount                  2.11r
modutils               2.4.18
e2fsprogs              1.27
jfsutils               1.0.17
reiserfsprogs          3.6.2
pcmcia-cs              3.1.31
PPP                    2.4.1
isdn4k-utils           3.1pre4
Linux C Library        2.2.93
Dynamic linker (ldd)   2.2.93
Procps                 2.0.7
Net-tools              1.60
Kbd                    1.06
Sh-utils               2.0.12
Modules Loaded         serial ne2k-pci 8390 af_packet ide-scsi scsi_mod ide-cd cdrom nls_iso8859-1 nls_cp437 vfat fat sb isa-pnp sb_lib uart401 sound soundcore

rtc unix

[7.2.] /proc/cpuinfo

processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 2
model name : Pentium 75 - 200
stepping : 12
cpu MHz : 132.632
fdiv_bug : no
hlt_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8
bogomips : 264.60

[7.3.] /proc/modules

serial                 48932   1 (autoclean)
ne2k-pci                6752   1
8390                    7788   0 [ne2k-pci]
af_packet              10728   0 (autoclean)
ide-scsi                9616   0
scsi_mod               65204   1 [ide-scsi]
ide-cd                 31588   0
cdrom                  31328   0 [ide-cd]
nls_iso8859-1           3484   1 (autoclean)
nls_cp437               5116   1 (autoclean)
vfat                   11916   1 (autoclean)
fat                    36920   0 (autoclean) [vfat]
sb                      9012   0
isa-pnp                38308   0 [serial sb]
sb_lib                 41006   0 [sb]
uart401                 8068   0 [sb_lib]
sound                  70292   0 [sb_lib uart401]
soundcore               6244   5 [sb_lib sound]
rtc                     7964   0 (autoclean)
unix                   16936   6 (autoclean)

[7.4.] /proc/ioports

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0220-022f : soundblaster
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0cf8-0cff : PCI conf1
3000-300f : Intel Corp. 82371FB PIIX IDE [Triton I]
3000-3007 : ide0
3008-300f : ide1
6000-601f : Realtek Semiconductor Co., Ltd. RTL-8029(AS)
6000-601f : ne2k-pci

/proc/iomem

00000000-0009ffff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-017fffff : System RAM
00100000-001d0774 : Kernel code
001d0775-00201c1f : Kernel data
f0000000-f3ffffff : S3 Inc. 86c775/86c785 [Trio 64V2/DX or /GX] ffff0000-ffffffff : reserved

[7.5.] lspci -vvv

00:00.0 Host bridge: Intel Corp. 430FX - 82437FX TSC [Triton I] (rev 02)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium

Quoted 1 line

TAbort- <TAbort- <MAbort+ >SERR- <PERR-

        Latency: 32

00:07.0 ISA bridge: Intel Corp. 82371FB PIIX ISA [Triton I] (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium

Quoted 1 line

TAbort- <TAbort- <MAbort- >SERR- <PERR-

Latency: 0

00:07.1 IDE interface: Intel Corp. 82371FB PIIX IDE [Triton I] (rev 02) (prog-if 80 [Master])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium

Quoted 1 line

TAbort- <TAbort- <MAbort- >SERR- <PERR-

        Latency: 32
        Region 4: I/O ports at 3000 [size=16]

00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium

Quoted 1 line

TAbort- <TAbort- <MAbort- >SERR- <PERR-

Interrupt: pin A routed to IRQ 10 Region 0: I/O ports at 6000 [size=32]

00:0a.0 VGA compatible controller: S3 Inc. 86c775/86c785 [Trio 64V2/DX or /GX] (rev 16) (prog-if 00 [VGA])
Subsystem: S3 Inc. 86C775 Trio64V2/DX, 86C785 Trio64V2/GX
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium

Quoted 1 line

TAbort- <TAbort- <MAbort- >SERR- <PERR-

Interrupt: pin A routed to IRQ 11
Region 0: Memory at f0000000 (32-bit, non-prefetchable) [size=64M] Expansion ROM at <unassigned> [disabled] [size=64K]

[7.7.] /proc/ide/drivers

ide-scsi version 0.9
ide-cdrom version 4.59
ide-disk version 1.12

-------------------------------------------------------------------------------
/proc/scsi/scsi

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: E-IDE Model: CD-ROM Max 50X Rev: 6.30
Type: CD-ROM

-------------------------------------------------------------------------------
/proc/ide/hdd/capacity

2147483647

-------------------------------------------------------------------------------
/proc/ide/hdd/driver

ide-scsi version 0.9

-------------------------------------------------------------------------------
/proc/ide/hdd/identify

85c0 0000 0000 0000 0000 0000 0000 0000 0000 0000 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 0000 0000 0000 5665 7236 2e33 304f 452d 4944 4520 4344 2d52 4f4d 204d 6178 2035 3058 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 0000 0000 0b00 0000 0400 0200 0006 0000 0000 0000 0000 0000 0000 0000 0000 0000 0407 0003 0078 0096 00e3 0078 0000 0000 0000 0000 0004 0009 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0007 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000

-------------------------------------------------------------------------------
/proc/ide/hdd/settings

name                    value           min             max             mode
----                    -----           ---             ---             ----
bios_cyl                0               0               1023            rw
bios_head               0               0               255             rw
bios_sect               0               0               63              rw
current_speed           34              0               69              rw
ide_scsi                0               0               1               rw
init_speed              34              0               69              rw
io_32bit                0               0               3               rw
keepsettings            0               0               1               rw
log                     0               0               1               rw
nice1                   1               0               1               rw
number                  3               0               3               rw
pio_mode                write-only      0               255             w
slow                    0               0               1               rw
transform               1               0               3               rw
unmaskirq               0               0               1               rw
using_dma               1               0               1               rw
#1 lore raw
Quoted 21 lines · Micha? Piotrowski
Unable to handle kernel NULL pointer dereference at virtual addres 00000188
*pde = 00000000
Oops: 0002
CPU: 0

EIP: 0010:[<c20913a1>] Not tained
EFLAGS: 00010246
eax: 00000000 ebx: 00000000 ecx: c10e1100 edx: c083c440
esi: c10d7ca0 edi: c083c440 ebp: c04f8000 esp: c0203efc
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 0, stackpage=c0203000)

Stack:	c083c440 c025c4c4 c083c440 c025c344 c0183038 c025c4c4 c083c440 
c10d7ca0
	00000000 c04f8000 c025c4c4 c10d7ca0 c2091579 00000001 c10f2160 
	00000000
	c10f2160 c025c4c4 00000202 c025c344 c01834e6 c025c4c4 c2091510 
	c1059820
Call Trace: [<c0183038>] [<c2091579>] [<c01834e6>] [<c2091510>] [<c010822d>]
	[<c01083a8>] [<c0105310>] [<c010a818>] [<c0105310>] [<c0105334>]
	[<c01053a2>] [<c0105000>]
Code: c7 80 88 01 00 00 02 00 00 00 74 81 8b 45 2c 8b 40 24 50 8b
Quoted 2 lines

<0> Kernel panic: Aiee killing interupt handler!
Interupt handler - not syncing

Please read Documentation/oops-tracing.txt
This needs to be fed through ksymoops

Dave

Signature · 2 lines
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs