Tulip driver and 2.4.20-8 Kernel ...

"Manish Kurup" <[email protected]> Mon, 16 Aug 2004 21:24:35 -0400
Newsgroups gmane.linux.drivers.tulip.general
Message-ID <001001c483f8$f4f8a340$6401a8c0@hyperspeed>
This is a multi-part message in MIME format.

--===============0588521499==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_000D_01C483D7.6D7E0840"

This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C483D7.6D7E0840
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Greetings,

    My Name is Manish and have upgraded my old Compaq machine (5690, =
PIII) to RH 9.0 with Kernel 2.4.20-8.

The machine came standard with a Tulip based NIC.

I got the old Driver working with my previous RH8.0 installation.

But following the same steps with my new kernel i.e. Compiling =
pci-scan.o and tulip.o and insmod'ing them to test them out, Hangs my =
machine ...

I simply get a segmentation fault and then nothing ever happens ... I =
have to hard reset my machine after that ...

The results from dmesg are attached below ... Does anyone have any idea =
wheter this version of the driver works with the 2.4.XX kernels ??

Thanks,

-Manish.

------------------------------------------dmesg =
results--------------------------------------------
PCI: Found IRQ 11 for device 00:04.2
PCI: Sharing IRQ 11 with 00:12.0
PCI: Sharing IRQ 11 with 00:14.2
ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=3D[11]  MMIO=3D[41600000-416007ff]  =
Max Packet=3D[2048]
PCI: Found IRQ 11 for device 00:13.0
PCI: Sharing IRQ 11 with 01:00.0
ieee1394: SelfID completion called outside of bus reset!
ohci1394_1: OHCI-1394 1.0 (PCI): IRQ=3D[11]  MMIO=3D[41400000-414007ff]  =
Max Packet=3D[2048]
ieee1394: SelfID completion called outside of bus reset!
ieee1394: Host added: Node[01:1023]  GUID[00023c002001f291]  [Linux =
OHCI-1394]
ieee1394: Host added: Node[00:1023]  GUID[128b500022ff9822]  [Linux =
OHCI-1394]
hdd: ATAPI DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: TDK       Model: CDRW121032        Rev: 1.02
  Type:   CD-ROM                             ANSI SCSI revision: 02
parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
ip_tables: (C) 2000-2002 Netfilter core team
pci-scan.c:v1.12 7/30/2003  Donald Becker <[email protected]> =
http://www.scyld.com/linux/drivers.html
pci-scan.c:v1.12 7/30/2003  Donald Becker <[email protected]> =
http://www.scyld.com/linux/drivers.html
tulip.c:v0.98 1/8/2004  Written by Donald Becker <[email protected]>
  http://www.scyld.com/network/tulip.html
divert: allocating divert_blk for eth0
eth0: Digital DS21143-xD Tulip rev 65 at 0xc88f6000,<1>Unable to handle =
kernel NULL pointer dereference at virtual address 00000048
 printing eip:
c88ec0ff
*pde =3D 00000000
Oops: 0002
tulip pci-scan ipt_REJECT iptable_filter ip_tables sg sr_mod ide-scsi =
scsi_mod ide-cd cdrom ohci1394 ieee1394 keybdev mousedev hid input =
usb-uhci usbcore ext3
CPU:    0
EIP:    0060:[<c88ec0ff>]    Not tainted
EFLAGS: 00010246
=20
EIP is at read_eeprom [tulip] 0x1b (2.4.20-8)
eax: 00000000   ebx: c29a3400   ecx: 00000008   edx: 00000001
esi: 00000000   edi: 000006ff   ebp: c38c3c28   esp: c38c3c1c
ds: 0068   es: 0068   ss: 0068
Process modprobe (pid: 515, stackpage=3Dc38c3000)
Stack: c29a3400 c38c3c5f 00000000 c38c3e98 c88eb5bb c29a3400 000000ff =
00000008
       00000003 00000286 40000be0 c38c2000 00000002 00000000 00000003 =
c372b000
       4155e000 00000000 00000014 c155e014 00000001 c1511000 c03ca074 =
00000000
Call Trace:   [<c88eb5bb>] tulip_probe1 [tulip] 0x55b (0xc38c3c2c))
[<c01d08a8>] __ide_dma_begin [kernel] 0x38 (0xc38c3c94))
[<c01d0a66>] __ide_dma_count [kernel] 0x16 (0xc38c3ca4))
[<c01d0855>] __ide_dma_write [kernel] 0x115 (0xc38c3cac))
[<c01cfc60>] ide_dma_intr [kernel] 0x0 (0xc38c3cb8))
[<c01d0370>] dma_timer_expiry [kernel] 0x0 (0xc38c3cc0))
[<c01c9af8>] do_rw_disk [kernel] 0x4a8 (0xc38c3cd4))
[<c881f418>] ext3_get_block_handle [ext3] 0x78 (0xc38c3d08))
[<c01c8451>] start_request [kernel] 0x1c1 (0xc38c3d20))
[<c013e985>] __alloc_pages [kernel] 0x95 (0xc38c3d70))
[<c013e985>] __alloc_pages [kernel] 0x95 (0xc38c3d9c))
[<c0143b5e>] __pte_chain_free [kernel] 0x1e (0xc38c3da0))
[<c01304e7>] do_anonymous_page [kernel] 0x107 (0xc38c3dac))
[<c015c790>] inode_init_once [kernel] 0x20 (0xc38c3db8))
[<c0110d7c>] pci_conf1_read_config_byte [kernel] 0x4c (0xc38c3df0))
[<c88f3680>] pci_id_tbl [tulip] 0x0 (0xc38c3e08))
[<c0110ddc>] pci_conf1_read_config_word [kernel] 0x4c (0xc38c3e10))
[<c88e547e>] acpi_wake [pci-scan] 0x3e (0xc38c3e4c))
[<c88f3680>] pci_id_tbl [tulip] 0x0 (0xc38c3e68))
[<c0110ddc>] pci_conf1_read_config_word [kernel] 0x4c (0xc38c3e70))
[<c88f3da0>] tulip_drv_id [tulip] 0x0 (0xc38c3e90))
[<c88f3680>] pci_id_tbl [tulip] 0x0 (0xc38c3e94))
[<c88e525c>] pci_drv_register [pci-scan] 0x1fc (0xc38c3e9c))
[<c88f0112>] init_module [tulip] 0x36 (0xc38c3efc))
[<c88f3da0>] tulip_drv_id [tulip] 0x0 (0xc38c3f00))
[<c88f06e0>] version2 [tulip] 0x0 (0xc38c3f08))
[<c011d3c1>] sys_init_module [kernel] 0x4e1 (0xc38c3f1c))
[<c88eb060>] tulip_probe1 [tulip] 0x0 (0xc38c3f20))
[<c88f2cb0>] .kmodtab [tulip] 0x0 (0xc38c3f2c))
[<c88eb060>] tulip_probe1 [tulip] 0x0 (0xc38c3f58))
[<c0109537>] system_call [kernel] 0x33 (0xc38c3fc0))
=20
=20
Code: c7 40 48 00 48 00 00 83 c1 04 c7 40 48 01 48 00 00 8d 58 48
 <6>parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
lp0: using parport0 (polling).
lp0: console ready
cdrom: This disc doesn't have any tracks I recognize!

------=_NextPart_000_000D_01C483D7.6D7E0840
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Greetings,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; My Name is Manish =
and have=20
upgraded my old Compaq machine (5690, PIII) to RH 9.0 with Kernel=20
2.4.20-8.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The machine came standard with a Tulip =
based=20
NIC.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I got the old Driver working with my =
previous RH8.0=20
installation.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>But following the same steps with my =
new kernel=20
i.e. Compiling pci-scan.o and tulip.o and insmod'ing them to test them =
out,=20
Hangs my machine ...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I simply get a segmentation fault and =
then nothing=20
ever happens ... I have to hard reset my machine after that =
...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The results from dmesg are attached =
below ... Does=20
anyone have any idea wheter this version of the driver works with the =
2.4.XX=20
kernels ??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-Manish.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>------------------------------------------dmesg=20
results--------------------------------------------</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>PCI: Found IRQ 11 for device =
00:04.2<BR>PCI:=20
Sharing IRQ 11 with 00:12.0<BR>PCI: Sharing IRQ 11 with =
00:14.2<BR>ohci1394_0:=20
OHCI-1394 1.1 (PCI): IRQ=3D[11]&nbsp; MMIO=3D[41600000-416007ff]&nbsp; =
Max=20
Packet=3D[2048]<BR>PCI: Found IRQ 11 for device 00:13.0<BR>PCI: Sharing =
IRQ 11=20
with 01:00.0<BR>ieee1394: SelfID completion called outside of bus=20
reset!<BR>ohci1394_1: OHCI-1394 1.0 (PCI): IRQ=3D[11]&nbsp;=20
MMIO=3D[41400000-414007ff]&nbsp; Max Packet=3D[2048]<BR>ieee1394: SelfID =
completion=20
called outside of bus reset!<BR>ieee1394: Host added: =
Node[01:1023]&nbsp;=20
GUID[00023c002001f291]&nbsp; [Linux OHCI-1394]<BR>ieee1394: Host added:=20
Node[00:1023]&nbsp; GUID[128b500022ff9822]&nbsp; [Linux =
OHCI-1394]<BR>hdd: ATAPI=20
DVD-ROM drive, 512kB Cache, UDMA(33)<BR>Uniform CD-ROM driver Revision:=20
3.12<BR>SCSI subsystem driver Revision: 1.00<BR>scsi0 : SCSI host =
adapter=20
emulation for IDE ATAPI devices<BR>&nbsp; Vendor:=20
TDK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Model:=20
CDRW121032&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rev: 1.02<BR>&nbsp; =

Type:&nbsp;&nbsp;=20
CD-ROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
ANSI SCSI revision: 02<BR>parport0: PC-style at 0x378=20
[PCSPP,TRISTATE,EPP]<BR>Attached scsi CD-ROM sr0 at scsi0, channel 0, id =
0, lun=20
0<BR>sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda =
tray<BR>ip_tables:=20
(C) 2000-2002 Netfilter core team<BR>pci-scan.c:v1.12 7/30/2003&nbsp; =
Donald=20
Becker &lt;<A href=3D"mailto:[email protected]">[email protected]</A>&gt; =
<A=20
href=3D"http://www.scyld.com/linux/drivers.html">http://www.scyld.com/lin=
ux/drivers.html</A><BR>pci-scan.c:v1.12=20
7/30/2003&nbsp; Donald Becker &lt;<A=20
href=3D"mailto:[email protected]">[email protected]</A>&gt; <A=20
href=3D"http://www.scyld.com/linux/drivers.html">http://www.scyld.com/lin=
ux/drivers.html</A><BR>tulip.c:v0.98=20
1/8/2004&nbsp; Written by Donald Becker &lt;<A=20
href=3D"mailto:[email protected]">[email protected]</A>&gt;<BR>&nbsp; <A=20
href=3D"http://www.scyld.com/network/tulip.html">http://www.scyld.com/net=
work/tulip.html</A><BR>divert:=20
allocating divert_blk for eth0<BR>eth0: Digital DS21143-xD Tulip rev 65 =
at=20
0xc88f6000,&lt;1&gt;Unable to handle kernel NULL pointer dereference at =
virtual=20
address 00000048<BR>&nbsp;printing eip:<BR>c88ec0ff<BR>*pde =3D =
00000000<BR>Oops:=20
0002<BR>tulip pci-scan ipt_REJECT iptable_filter ip_tables sg sr_mod =
ide-scsi=20
scsi_mod ide-cd cdrom ohci1394 ieee1394 keybdev mousedev hid input =
usb-uhci=20
usbcore ext3<BR>CPU:&nbsp;&nbsp;&nbsp; 0<BR>EIP:&nbsp;&nbsp;&nbsp;=20
0060:[&lt;c88ec0ff&gt;]&nbsp;&nbsp;&nbsp; Not tainted<BR>EFLAGS:=20
00010246<BR>&nbsp;<BR>EIP is at read_eeprom [tulip] 0x1b =
(2.4.20-8)<BR>eax:=20
00000000&nbsp;&nbsp; ebx: c29a3400&nbsp;&nbsp; ecx: 00000008&nbsp;&nbsp; =
edx:=20
00000001<BR>esi: 00000000&nbsp;&nbsp; edi: 000006ff&nbsp;&nbsp; ebp:=20
c38c3c28&nbsp;&nbsp; esp: c38c3c1c<BR>ds: 0068&nbsp;&nbsp; es: =
0068&nbsp;&nbsp;=20
ss: 0068<BR>Process modprobe (pid: 515, stackpage=3Dc38c3000)<BR>Stack: =
c29a3400=20
c38c3c5f 00000000 c38c3e98 c88eb5bb c29a3400 000000ff=20
00000008<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00000003 00000286 =
40000be0=20
c38c2000 00000002 00000000 00000003=20
c372b000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4155e000 00000000 =
00000014=20
c155e014 00000001 c1511000 c03ca074 00000000<BR>Call Trace:&nbsp;&nbsp;=20
[&lt;c88eb5bb&gt;] tulip_probe1 [tulip] 0x55b=20
(0xc38c3c2c))<BR>[&lt;c01d08a8&gt;] __ide_dma_begin [kernel] 0x38=20
(0xc38c3c94))<BR>[&lt;c01d0a66&gt;] __ide_dma_count [kernel] 0x16=20
(0xc38c3ca4))<BR>[&lt;c01d0855&gt;] __ide_dma_write [kernel] 0x115=20
(0xc38c3cac))<BR>[&lt;c01cfc60&gt;] ide_dma_intr [kernel] 0x0=20
(0xc38c3cb8))<BR>[&lt;c01d0370&gt;] dma_timer_expiry [kernel] 0x0=20
(0xc38c3cc0))<BR>[&lt;c01c9af8&gt;] do_rw_disk [kernel] 0x4a8=20
(0xc38c3cd4))<BR>[&lt;c881f418&gt;] ext3_get_block_handle [ext3] 0x78=20
(0xc38c3d08))<BR>[&lt;c01c8451&gt;] start_request [kernel] 0x1c1=20
(0xc38c3d20))<BR>[&lt;c013e985&gt;] __alloc_pages [kernel] 0x95=20
(0xc38c3d70))<BR>[&lt;c013e985&gt;] __alloc_pages [kernel] 0x95=20
(0xc38c3d9c))<BR>[&lt;c0143b5e&gt;] __pte_chain_free [kernel] 0x1e=20
(0xc38c3da0))<BR>[&lt;c01304e7&gt;] do_anonymous_page [kernel] 0x107=20
(0xc38c3dac))<BR>[&lt;c015c790&gt;] inode_init_once [kernel] 0x20=20
(0xc38c3db8))<BR>[&lt;c0110d7c&gt;] pci_conf1_read_config_byte [kernel] =
0x4c=20
(0xc38c3df0))<BR>[&lt;c88f3680&gt;] pci_id_tbl [tulip] 0x0=20
(0xc38c3e08))<BR>[&lt;c0110ddc&gt;] pci_conf1_read_config_word [kernel] =
0x4c=20
(0xc38c3e10))<BR>[&lt;c88e547e&gt;] acpi_wake [pci-scan] 0x3e=20
(0xc38c3e4c))<BR>[&lt;c88f3680&gt;] pci_id_tbl [tulip] 0x0=20
(0xc38c3e68))<BR>[&lt;c0110ddc&gt;] pci_conf1_read_config_word [kernel] =
0x4c=20
(0xc38c3e70))<BR>[&lt;c88f3da0&gt;] tulip_drv_id [tulip] 0x0=20
(0xc38c3e90))<BR>[&lt;c88f3680&gt;] pci_id_tbl [tulip] 0x0=20
(0xc38c3e94))<BR>[&lt;c88e525c&gt;] pci_drv_register [pci-scan] 0x1fc=20
(0xc38c3e9c))<BR>[&lt;c88f0112&gt;] init_module [tulip] 0x36=20
(0xc38c3efc))<BR>[&lt;c88f3da0&gt;] tulip_drv_id [tulip] 0x0=20
(0xc38c3f00))<BR>[&lt;c88f06e0&gt;] version2 [tulip] 0x0=20
(0xc38c3f08))<BR>[&lt;c011d3c1&gt;] sys_init_module [kernel] 0x4e1=20
(0xc38c3f1c))<BR>[&lt;c88eb060&gt;] tulip_probe1 [tulip] 0x0=20
(0xc38c3f20))<BR>[&lt;c88f2cb0&gt;] .kmodtab [tulip] 0x0=20
(0xc38c3f2c))<BR>[&lt;c88eb060&gt;] tulip_probe1 [tulip] 0x0=20
(0xc38c3f58))<BR>[&lt;c0109537&gt;] system_call [kernel] 0x33=20
(0xc38c3fc0))<BR>&nbsp;<BR>&nbsp;<BR>Code: c7 40 48 00 48 00 00 83 c1 04 =
c7 40=20
48 01 48 00 00 8d 58 48<BR>&nbsp;&lt;6&gt;parport0: PC-style at 0x378=20
[PCSPP,TRISTATE,EPP]<BR>lp0: using parport0 (polling).<BR>lp0: console=20
ready<BR>cdrom: This disc doesn't have any tracks I=20
recognize!<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_000D_01C483D7.6D7E0840--


--===============0588521499==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
tulip mailing list, [email protected]
To change to digest mode or unsubscribe visit
http://www.scyld.com/mailman/listinfo/tulip

--===============0588521499==--