oops in init_gendisk() (2.3.48)

From: V Ganesh (ganesh@veritas.com)
Date: Mon Feb 28 2000 - 02:10:02 EST


hi,
        I have a dell optiplex gx1 which used to work fine with 2.3.35
but oopsed at startup when I switched to 2.3.47. 48 also has the same trouble.
this is a serial console dump, followed by ksymoops:

Linux version 2.3.48 (ganesh@janus.vxindia.veritas.com) (gcc version egcs-2.91.6
6 19990314/Linux (egcs-1.1.2 release)) #45 SMP Mon Feb 28 14:18:46 IST 2000
e820: 000a0000 @ 00000000 (usable)
e820: 00010000 @ 000f0000 (reserved)
e820: 07f00000 @ 00100000 (usable)
e820: 00200000 @ ffe00000 (reserved)
Scan SMP from c0000000 for 1024 bytes.
Scan SMP from c009fc00 for 1024 bytes.
Scan SMP from c00f0000 for 65536 bytes.
Scan SMP from c009fc00 for 4096 bytes.
On node 0 totalpages: 32768
zone(0): 4096 pages.
zone(1): 28672 pages.
zone(2): 0 pages.
mapped APIC to ffffe000 (01263000)
Initializing CPU#0
Detected 448628397 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 447.28 BogoMIPS
Memory: 125664k/131072k available (1665k kernel code, 5024k reserved, 130k data,
 168k init, 0k highmem)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.36 (20000221) Richard Gooch (rgooch@atnf.csiro.au)
CPU0: Intel Pentium II (Deschutes) stepping 02
per-CPU timeslice cutoff: 1427.74 usecs.
SMP motherboard not detected. Using dummy APIC emulation.
calibrating APIC timer ...
..... CPU clock speed is 448.6182 MHz.
..... host bus clock speed is 0.0000 MHz.
cpu: 0, clocks: 0, slice: 0
CPU0<C0:0,C:0,D:0,S:0,C:0>
Setting commenced=1, go go go
PCI: PCI BIOS revision 2.10 entry at 0xfcaee
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Interrupt Routing Table found at 0xc00fc680 [router type 8086/7110]
Limiting direct PCI/PCI transfers.
isapnp: Scanning for Pnp cards...
isapnp: Card 'CS4236B'
isapnp: 1 Plug & Play card detected total
Linux NET4.0 for Linux 2.3
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 8Kbytes
TCP: Hash tables configured (established 4096 bind 5461)
Starting kswapd v1.6
Serial driver version 4.92 (2000-1-27) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAP
NP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
Uniform Multi-Platform E-IDE driver Revision: 6.30
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hdc: TOSHIBA CD-ROM XM-6402B, ATAPI CDROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Unable to handle kernel NULL pointer dereference at virtual address 00000273
 printing eip:
c0197758
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c0197758>]
EFLAGS: 00010202
eax: c1269f0c ebx: 00000000 ecx: 00000000 edx: 00000000
esi: c036f6f0 edi: c036f694 ebp: c036f624 esp: c1269ec8
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 1, stackpage=c1269000)
Stack: 00000001 00000000 00000000 c036f624 c036f5e4 c018b44c c036f851 c1269f80
       c1269f0c 00000000 c02f6d44 00000001 00000000 00000400 c12d4480 00000040
       00000001 c036f851 c1269f80 a1000005 c0196e97 c0370128 00000246 00000009
Call Trace: [<c018b44c>] [<c0196e97>] [<c0197a4b>] [<c0197b2d>] [<c0107104>] [<c
010908b>]
Code: 0f b6 82 73 02 00 00 89 44 24 28 eb 12 8b 84 24 88 00 00 00

ksymoops gives:
>>EIP; c0197758 <init_gendisk+2b8/320> <=====
Trace; c018b44c <do_ide1_request+0/14>
Trace; c0196e97 <probe_hwif+15f/3b4>
Trace; c0197a4b <hwif_init+28b/2f4>
Trace; c0197b2d <ideprobe_init+79/ac>
Trace; c0107104 <init+6c/238>
Trace; c010908b <kernel_thread+23/30>
Code; c0197758 <init_gendisk+2b8/320>
00000000 <_EIP>:
Code; c0197758 <init_gendisk+2b8/320> <=====
   0: 0f b6 82 73 02 00 00 movzbl 0x273(%edx),%eax <=====
Code; c019775f <init_gendisk+2bf/320>
   7: 89 44 24 28 movl %eax,0x28(%esp,1)
Code; c0197763 <init_gendisk+2c3/320>
   b: eb 12 jmp 1f <_EIP+0x1f> c0197777 <init_gendisk+2d7/320>
Code; c0197765 <init_gendisk+2c5/320>
   d: 8b 84 24 88 00 00 00 movl 0x88(%esp,1),%eax

which works out (I think) to line 745 in ide-probe.c
                        sprintf (name, "ide/host%d/bus%d/target%d/lun%d",
                                 hwif->channel ? hwif->mate->index : hwif->index,
                                 hwif->channel, unit, 0);

probably hwif->mate == NULL.

I'd be happy to provide any further information.
thanks,

ganesh

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:19 EST