[oops] cmd640 support broken in 1.3.100, 1.99.1

Robert R. Collier (rob@lspace.org)
Sun, 12 May 1996 13:29:56 +0100 (BST)


Hi,

I have happily been using a VLB cmd640 controller for the last 30 or
so patch-levels, however this support appears to have broken in kernel
1.3.100+

With these latest kernels the kernel doesn't even finish booting,
although they work correctly (albeit more slowly) if I remove the
ide0=cmd640_vlb boot option.

I'm including the boot messages for a normal (1.3.99) boot, and then
the oops messages for 1.3.100 and 1.99.1 (which were taken down by
hand) and information from the respective System.maps.

hardware: i486dx4/100, 16M ram, 2xIDE HD, 1xIDE CDROM.

------------------------------------------------------------------------------

1.3.99 (no problems)

ide_setup: ide0=cmd640_vlb
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
Calibrating delay loop.. ok - 49.77 BogoMIPS
Memory: 15020k/16384k available (540k kernel code, 384k reserved, 440k data)
This processor honours the WP bit even when in supervisor mode. Good.
Swansea University Computer Society NET3.034 for Linux 1.3.77
NET3: Unix domain sockets 0.12 for Linux NET3.033.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 1.3.99 (root@tanstafl) (gcc version 2.7.2) #42 Tue May 7 18:40:42 BST 1996
Serial driver version 4.12 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16450
tty01 at 0x02f8 (irq = 3) is a 16550A
ide: buggy CMD640B interface on vlb (0x70); serialized, secondary port untouched
hda: Conner Peripherals 1275MB - CFS1275A, 1219MB w/64kB Cache, LBA, CHS=619/64/63
Mode and Timing set to PIO4, Readahead is enabled
hdb: QUANTUM LIGHTNING 540A, 516MB w/96kB Cache, LBA, CHS=560/32/59
Mode and Timing set to PIO3, Readahead is disabled
hdc: CD220E, ATAPI CDROM drive
Mode and Timing set to PIO1, Readahead is enabled
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15 (serialized with ide0)
Partition check:
hda:Started kswapd v 1.4.2.2
hda1 hda2
hdb: hdb1 hdb2 hdb3 hdb4
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 31116k swap-space
SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256) (6 bit encapsulation enabled).
loading device 'eth0'...
ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
NE*000 ethercard probe at 0x300: 00 00 1a 01 31 bc
eth0: NE2000 found at 0x300, using IRQ 5.

------------------------------------------------------------------------------

1.3.100

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Unable to handle kernel NULL pointer dereference at virtual address c00000d6
Current->tss.cr3 = 00101000, %cr3 = 00101000
*pde = 00102067
*pte = 00000027
Ooops: 0000
CPU: 0
EIP: 0010: [<001680b1>]
EFLAGS: 00010046
eax: 0000000f ebx: 00000000 ecx: 00000002 edx: 001b47fc
esi: 001b47fc edi: 001b4930 ebp: 001fbf60 esp 001fbf2c
ds: 0018 es: 0018 fs: 002b gs: 0018 ss: 0018
process swapper (pid: 1, processnr: 1, stackpage = 001fb000)
Stack: 001b47fc 00000000 001b4930 001fbf60 0016817e 001b4930 001b47fc 001fbf60
001b4930 001b4a08 00165eb0 00009000 00000216 00000000 00168476 001b4930
00000001 001fbfdc 001a7f3c 0016853a 00000001 001a6b0c 001638b0 001fc018
Call trace: [<0016817e>] [<00165eb0>] [<00168476>] [<0016853a>] [<001638b0>] [<001640ab>] [<00130798>]
[<0010a5e9>] [<0011fa80>] [<0010941a>] [<0010922e>] [<00109235>] [<001093d0>]
Code: 38 83 d6 00 00 00 74 03 89 75 00 5b 5e 5f 5d c3 eb 0d 90 90
Started kswapd v 1.4.2.2

EIP: 1680b1 <save_match+51>

Call Trace: 0016817e <init_irq+ae>
00165eb0 <do_ide1_request>
00168476 <hwif_init+146>
0016853a <ide_init+3a>
001638b0 <blk_dev_init+80>
001640ab <device_setup+b>
00130798 <sys_setup+18>
0010a5e9 <system_call+59>
0011fa80 <kswapd>
0010941a <init+4a>
0010922e <start_kernel+14e>
00109235 <start_kernel+155>
001093d0 <init>

------------------------------------------------------------------------------

1.99.1

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Unable to handle kernel NULL pointer dereference at virtual address c00000d6
Current->tss.cr3 = 00101000, %cr3 = 00101000
*pde = 00102067
*pte = 00000027
Ooops: 0000
CPU: 0
EIP: 0010: [<001680b1>]
EFLAGS: 00010046
eax: 0000000f ebx: 00000000 ecx: 00000002 edx: 001b47fc
esi: 001b47fc edi: 001b4920 ebp: 001fbf60 esp 001fbf2c
ds: 0018 es: 0018 fs: 002b gs: 0018 ss: 0018
process swapper (pid: 1, processnr: 1, stackpage = 001fb000)
Stack: 001b47ec 00000000 001b4920 001fbf60 0016816e 001b4920 001b47ec 001fbf60
001b4920 001b49f8 00165ea0 00009000 00000216 00000000 00168466 001b4920
00000001 001fbfdc 001a7f2c 0016852a 00000001 001a6afc 001638a0 001fc018
Call trace: [<0016816e>] [<00165ea0>] [<00168466>] [<0016852a>] [<001638a0>] [<0016409b>] [<00130798>]
[<0010a5e9>] [<0011fa80>] [<0010941a>] [<0010922e>] [<00109235>] [<001093d0>]
Code: 38 83 d6 00 00 00 74 03 89 75 00 5b 5e 5f 5d c3 eb 0d 90 90
Started kswapd v 1.4.2.2

EIP: 001680b1 <save_match+51>

Call Trace: 0016816e <init_irq+ae>
00165ea0 <do_ide1_request>
00168466 <hwif_init+146>
0016852a <ide_init+3a>
001638a0 <blk_dev_init+80>
0016409b <device_setup+b>
00130798 <sys_setup+18>
0010a5e9 <system_call+59>
0011fa80 <kswapd>
0010941a <init+4a>
0010922e <start_kernel+14e>
00109235 <start_kernel+155>
001093d0 <init>

------------------------------------------------------------------------------

-- 
Robert R. Collier | The Terry Pratchett Homepage |   \\\\\    send subject
rob@lspace.org    |    http://www.lspace.org/    |  \\\\\\\__o | "get pgp"
Save the Hedgehog |          <holyhorns>         |__\\\\\\\'/__|  for keys