Skip to contentSkip to conversation

ide-convert-9 oops on boot

DISCUSSION J.A. Magallon 2 participants 3 messages May 4, 2002 – May 5, 2002

lore
Share & tools
lore
#0 lore raw

Hi.

Just patched pre8 with ide-convert-9, and system hangs on boot:

PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later

    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio

hda: Conner Peripherals 1080MB - CFS1081A, ATA DISK drive
hdb: CREATIVE CD5230E, ATAPI CD/DVD-ROM drive
hdc: YAMAHA CRW8424E, ATAPI CD/DVD-ROM drive
hdd: IOMEGA ZIP 250 ATAPI, ATAPI FLOPPY drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15

<=======0 OOPS here, just got hung...
<usual output follows >
hda: 2114180 sectors (1082 MB), CHS=524/64/63, DMA
ide-cd: passing drive hdb to ide-scsi emulation.
ide-cd: passing drive hdc to ide-scsi emulation. ide-floppy driver 0.99.newide

If it is not a known problem, and anyone needs more info I can write down the hex and decode it.

TIA

werewolf:/proc/ide# lspci
00:00.0 Host bridge: Intel Corp. 440GX - 82443GX Host bridge
00:01.0 PCI bridge: Intel Corp. 440GX - 82443GX AGP bridge
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:0d.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:0d.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
00:0e.0 SCSI storage controller: Adaptec AHA-2940U2/U2W / 7890/7891 (rev 01)
00:0f.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06)
00:0f.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 06)
00:10.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
00:12.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 10)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX] (rev b2)
werewolf:/proc/ide# cat piix

Intel PIIX4 Ultra 33 Chipset.
--------------- Primary Channel ---------------- Secondary Channel -------------
enabled enabled
--------------- drive0 --------- drive1 -------- drive0 ---------- drive1 ------

DMA enabled:    yes              yes             yes               no 
UDMA enabled:   no               no              no                no 
UDMA enabled:   X                X               X                 X

UDMA
DMA
PIO

Signature · 4 lines
J.A. Magallon                           #  Let the source be with you...        
mailto:[email protected]
Mandrake Linux release 8.3 (Cooker) for i586
Linux werewolf 2.4.19-pre7-jam9 #2 SMP mié may 1 12:09:38 CEST 2002 i686
#1 lore raw
Quoted 1 line · J.A. Magallon

Just patched pre8 with ide-convert-9, and system hangs on boot:

Exactly the same thing here. You're not alone ;)

[....]
Journalled Block Device driver loaded
Real Time Clock Driver v1.10e
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c586b (rev 41) IDE UDMA33 controller on pci00:07.1
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA
hda: IBM-DHEA-36481, ATA DISK drive
hdb: Conner Peripherals 1275MB - CFS1275A, ATA DISK drive
hdc: CD-540E, ATAPI CD/DVD-ROM drive
hdd: CD-W54E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 12692736 sectors (6499 MB) w/472KiB Cache, CHS=790/255/63, UDMA(33)
hdb: 2496876 sectors (1278 MB) w/64KiB Cache, CHS=619/64/63, DMA [....]

chiara:~ # lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3] (rev 04) 00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3 AGP] 00:07.0 ISA bridge: VIA Technologies, Inc. VT82C586/A/B PCI-to-ISA [Apollo VP] (rev 41)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 06) 00:07.3 Host bridge: VIA Technologies, Inc. VT82C586B ACPI (rev 10) 00:11.0 VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 01)

chiara:~ cat /proc/ide/via

----------VIA BusMastering IDE Configuration----------------

Driver Version:                     3.34
South Bridge:                       VIA vt82c586b
Revision:                           ISA 0x41 IDE 0x6
Highest DMA rate:                   UDMA33
BM-DMA base:                        0xe000
PCI clock:                          33.3MHz
Master Read  Cycle IRDY:            1ws
Master Write Cycle IRDY:            1ws
BM IDE Status Register Read Retry:  yes
Max DRDY Pulse Width:               No limit
-----------------------Primary IDE-------Secondary IDE------
Read DMA FIFO flush:          yes                 yes
End Sector FIFO flush:         no                  no
Prefetch Buffer:              yes                 yes
Post Write Buffer:            yes                  no
Enabled:                      yes                 yes
Simplex only:                  no                  no
Cable Type:                   40w                 40w
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode:       UDMA       DMA      UDMA       DMA
Address Setup:       30ns      30ns      30ns      30ns
Cmd Active:          90ns      90ns      90ns      90ns
Cmd Recovery:        30ns      30ns      30ns      30ns
Data Active:         90ns      90ns      90ns      90ns
Data Recovery:       30ns      30ns      30ns      30ns
Cycle Time:          60ns     120ns      60ns     120ns
Transfer Rate:   33.3MB/s  16.6MB/s  33.3MB/s  16.6MB/s
Signature · 1 line
# Heinz Diehl, 68259 Mannheim, Germany
#2 lore raw

ide-convert-[89] oops (decoded) on boot

In reply to J.A. Magallon
Quoted 16 lines · On 2002.05.04 J.A. Magallon wrote:

Hi.

Just patched pre8 with ide-convert-9, and system hangs on boot:

PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: Conner Peripherals 1080MB - CFS1081A, ATA DISK drive
hdb: CREATIVE CD5230E, ATAPI CD/DVD-ROM drive
hdc: YAMAHA CRW8424E, ATAPI CD/DVD-ROM drive
hdd: IOMEGA ZIP 250 ATAPI, ATAPI FLOPPY drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15

Quoted 6 lines

<=======0 OOPS here, just got hung... <usual output follows >
hda: 2114180 sectors (1082 MB), CHS=524/64/63, DMA
ide-cd: passing drive hdb to ide-scsi emulation.
ide-cd: passing drive hdc to ide-scsi emulation. ide-floppy driver 0.99.newide

convert.8 also hangs. convert.6 worked in my latest 2.4.19-pre7-jam6. Now I'm building -pre8-jam1, and the jump from convert.6 to convert.9 does not work. Bott is fine without the patch, with included ide. Only option yet to be tested is convert.7...

Decoded oops:

ksymoops 2.4.5 on i686 2.4.19-pre7-jam9. Options used
-V (default)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.4.19-pre8-jam1/ (specified) -m /boot/System.map-2.4.19-pre8-jam1 (specified)

[ton of warnings about ksyms mismatchs...]

Unable to handle kernel NULL pointer derefernce at virtual address 00000040
c01cd2d7
*pde = 000000000
Oops: 0000
CPU: 1

EIP: 0010:[<c01cd2d7>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010292
eax: 00000000 ebx: c0376f40 ecx: c01d4010 edx: 00000020
esi: c0376f84 edi: 00000007 ebp: 0008e000 esp: c15b5f38
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 1, stackpage=c15b5000)
c0288031 c0165de1 dfe549a0 00000000 0000004c c02ad1f0 00000001 c01cd2b0 c0376f84 c02ad2a0 0008e000 c01cc19f 00000007 c0376f84 c0376f40 c0376f84 00000001 c0105000 c01d4064 c0376f84 c02ad2a0 00000001 00000000 c0376f40 [<c0165de1>]
[<c01cd2b0>]
[<c01cc19f>]
[<c0105000>]
[<c01d4064>]
[<c010508b>]
[<c0105000>]
[<c010758d>]

Code: 8b 40 40 89 44 24 18 8b ab 2c 03 00 0f b6 86 c4 00 00 00
Quoted 7 lines
Quoted 7 lines

EIP; c01cd2d7 <ide_dmaproc+27/370> <=====

ebx; c0376f40 <ide_hwifs+0/2238>
ecx; c01d4010 <idedisk_init+0/130>
esi; c0376f84 <ide_hwifs+44/2238>
ebp; 0008e000 Before first symbol
esp; c15b5f38 <_end+12305e4/204a86ac>

Code; c01cd2d7 <ide_dmaproc+27/370>
00000000 <_EIP>:
Code; c01cd2d7 <ide_dmaproc+27/370> <=====
0: 8b 40 40 mov 0x40(%eax),%eax <=====
Code; c01cd2da <ide_dmaproc+2a/370>
3: 89 44 24 18 mov %eax,0x18(%esp,1)
Code; c01cd2de <ide_dmaproc+2e/370>
7: 8b ab 2c 03 00 0f mov 0xf00032c(%ebx),%ebp
Code; c01cd2e4 <ide_dmaproc+34/370>
d: b6 86 mov $0x86,%dh
Code; c01cd2e6 <ide_dmaproc+36/370>
f: c4 00 les (%eax),%eax

<0> Kernel panic: Attempted to kill init !

1211 warnings issued. Results may not be reliable.

Hope this helps...

Signature · 4 lines
J.A. Magallon                           #  Let the source be with you...        
mailto:[email protected]
Mandrake Linux release 8.3 (Cooker) for i586
Linux werewolf 2.4.19-pre8-jam1 #3 SMP dom may 5 02:28:08 CEST 2002 i686