All of lore.kernel.org
 help / color / mirror / Atom feed
From: Danny ter Haar <dth@lin-gen.com>
To: Hans Grobler <grobh@sun.ac.za>
Cc: linux-kernel@vger.kernel.org
Subject: PRoblem with pcnet32 under 2.4.0 , was :Drivers under 2.4
Date: Fri, 12 Jan 2001 12:50:10 +0100	[thread overview]
Message-ID: <20010112125010.A6371@lin-gen.com> (raw)
In-Reply-To: <93kn8a$itt$1@voyager.cistron.net> <Pine.LNX.4.30.0101111836460.30013-100000@prime.sun.ac.za>
In-Reply-To: <Pine.LNX.4.30.0101111836460.30013-100000@prime.sun.ac.za>; from grobh@sun.ac.za on Thu, Jan 11, 2001 at 06:44:48PM +0200

According to Hans Grobler:
> If you're willing, would you please follow "REPORTING-BUGS" and send some
> more info. Also cat /proc/interrupts. This one's intriging...


In short:

Cyrix Multimedia box
Everything onboard, including ethernet.
Works as supposed to under 2.2.x (including 2.2.19pre7)
installing 2.4.0 kernel recognises the driver but
no byte is passed over the ethernet.

Kernel:
Linux version 2.4.0-ac7 (root@multimedia) (gcc version 2.95.3 20001229 (prerelea
se)) #2 Fri Jan 12 11:17:47 CET 2001 

Distribution: 
Debian unstable (sid)


Output of loading the pcnet32 module:

pcnet32_probe_pci: found device 0x001022.0x002000                               
    ioaddr=0x00fce0  resource_flags=0x000101                                    
PCI: Found IRQ 9 for device 00:0f.0                                             
eth0: PCnet/FAST III 79C973 at 0xfce0, 00 00 e2 24 41 1d                        
pcnet32: pcnet32_private lp=c3c42000 lp_dma_addr=0x3c42000 assigned IRQ 9.      
pcnet32.c:v1.25kf 26.9.1999 tsbogend@alpha.franken.de             

lspci -vx output:

00:0f.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet LANCE] (
rev 42)                                                                         
        Subsystem: Advanced Micro Devices [AMD]: Unknown device 2000            
        Flags: bus master, medium devsel, latency 64, IRQ 9                     
        I/O ports at fce0 [size=32]                                             
        Memory at fedffc00 (32-bit, non-prefetchable) [size=32]                 
        Expansion ROM at <unassigned> [disabled] [size=1M]                      
        Capabilities: [40] Power Management version 1                           
00: 22 10 00 20 07 00 90 02 42 00 00 02 00 40 00 00                             
10: e1 fc 00 00 00 fc df fe 00 00 00 00 00 00 00 00                             
20: 00 00 00 00 00 00 00 00 00 00 00 00 22 10 00 20                             
30: 00 00 00 00 40 00 00 00 00 00 00 00 09 01 18 18         

The machine is connected to a 3com 8ports 100Mbit hub 

no additional parameters when the module is loaded, except i tried
debug=7 which gave verbose output 

After bootup this is the situation:

multimedia:~# ifconfig                                                          
eth0      Link encap:Ethernet  HWaddr 00:00:E2:24:41:1D                         
          inet addr:192.168.1.51  Bcast:192.168.1.255  Mask:255.255.255.0       
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1                    
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0                    
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                  
          collisions:0 txqueuelen:100                                           
          Interrupt:9 Base address:0xfce0          

procinfo:

multimedia:~# procinfo                                                          
Linux 2.4.0-ac7 (root@multimedia) (gcc 2.95.3 20001229 ) #2 Fri Jan 12 11:17:47 
CET 2001 1CPU [multimedia.(none)]                                               
                                                                                
Memory:      Total        Used        Free      Shared     Buffers      Cached  
Mem:         62308       12596       49712           0         636        6636  
Swap:       184708           0      184708                                      
                                                                                
Bootup: Fri Jan 12 12:30:22 2001    Load average: 0.02 0.03 0.01 1/28 229       
                                                                                
user  :       0:00:05.32   3.2%  page in :     5744                             
nice  :       0:00:00.00   0.0%  page out:      354                             
system:       0:00:09.31   5.5%  swap in :        1                             
idle  :       0:02:33.77  91.3%  swap out:        0                             
uptime:       0:02:48.38         context :     2940                             
                                                                                
irq  0:     16840 timer                 irq  9:         0 acpi, PCnet/FAST III  
irq  1:         3 keyboard              irq 12:         0 PS/2 Mouse            
irq  2:         0 cascade [4]           irq 14:      1640 ide0                  
irq  4:       127 serial                irq 15:         3 ide1                  
irq  8:         1 rtc                                               


after trying to ping -c10 a host in it's own range (default gw in fact):

Jan 12 12:30:36 multimedia kernel: eth0: pcnet32_open() irq 9 tx/rx rings 0x3c41
200/0x3c41000 init 0x3c41300.                                                   
Jan 12 12:30:36 multimedia kernel: eth0: pcnet32 open after 5 ticks, init block 
0x3c41300 csr0 01f3.                                                            
Jan 12 12:30:38 multimedia kernel: eth0: pcnet32_start_xmit() called, csr0 01f3.
Jan 12 12:33:38 multimedia kernel: eth0: pcnet32_start_xmit() called, csr0 07f3.
Jan 12 12:33:50 multimedia last message repeated 12 times                       
Jan 12 12:36:38 multimedia kernel: eth0: pcnet32_start_xmit() called, csr0 07f3.
Jan 12 12:39:38 multimedia kernel: eth0: pcnet32_start_xmit() called, csr0 07f3.
Jan 12 12:39:38 multimedia kernel: NETDEV WATCHDOG: eth0: transmit timed out    
Jan 12 12:39:38 multimedia kernel: eth0: transmit timed out, status 07f3, resett
ing.                                                                            
Jan 12 12:39:38 multimedia kernel:  Ring data dump: dirty_tx 0 cur_tx 16 (full) 
cur_rx 0.                                                                       
Jan 12 12:39:38 multimedia kernel:   03b1b012 0608 00000040 0310 03b1b812 0608 0
0000040 0310                                                                    
Jan 12 12:39:38 multimedia kernel:   03b1a012 0608 00000040 0310 03b1a812 0608 0
0000040 0310                                                                    
Jan 12 12:39:38 multimedia kernel:   03b19012 0608 00000040 0310 03b19812 0608 0
0000040 0310                                                                    
Jan 12 12:39:38 multimedia kernel:   03b18012 0608 00000040 0310 03b18812 0608 0
0000040 0310                                                                    
Jan 12 12:39:38 multimedia kernel:   03b03012 0608 00000040 0310 03b03812 0608 0
0000040 0310                                                                    
Jan 12 12:39:38 multimedia kernel:   03b02012 0608 00000040 0310 03b02812 0608 0
0000040 0310                                                                    
Jan 12 12:39:38 multimedia kernel:   03b01012 0608 00000040 0310 03b01812 0608 0
0000040 0310                                                                    
Jan 12 12:39:38 multimedia kernel:   03b00012 0608 00000040 0310 03b00812 0608 0
0000092 0310                                                                    
Jan 12 12:39:38 multimedia kernel:   03b0f012 0608 00000040 0310 03b0f812 0608 0
0000040 0310                                                                    
Jan 12 12:39:38 multimedia kernel:   03b0e012 0608 00000040 0310 03b0e812 0608 0
0000040 0310                                                           

I send an email to the author, no response yet.

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

  reply	other threads:[~2001-01-12 11:50 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-09  9:12 Failure building 2.4 while running 2.4. Success in building 2.4 while running 2.2 Silviu Marin-Caea
2001-01-09 10:17 ` Alessandro Suardi
2001-01-09 10:33   ` Failure building 2.4 while running 2.4. Success in building 2.4 Alan Cox
2001-01-09 18:20     ` Failure building 2.4 while running 2.4. There is no such thing Silviu Marin-Caea
2001-01-09 18:43       ` Alan Cox
2001-01-09 19:57       ` Drivers under 2.4 Dennis
2001-01-09 20:13         ` suser checks in 2.2.x Bosko Radivojevic
2001-01-09 18:39           ` Arnaldo Carvalho de Melo
2001-01-10 18:22       ` Drivers under 2.4 Dennis
2001-01-10 20:01         ` Hans Grobler
2001-01-10 21:37         ` Dennis
2001-01-10 21:38           ` Andi Kleen
2001-01-10 22:08             ` Hans Grobler
2001-01-11 10:24               ` Danny ter Haar
2001-01-11 10:31                 ` Andi Kleen
2001-01-11 10:58                   ` Danny ter Haar
2001-01-11 11:36                     ` Andrew Morton
2001-01-11 11:58                       ` Danny ter Haar
2001-01-11 14:00                         ` Danny ter Haar
2001-01-11 14:32                           ` Jeff Garzik
2001-01-11 16:33                             ` Danny ter Haar
2001-01-11 16:44                               ` Hans Grobler
2001-01-12 11:50                                 ` Danny ter Haar [this message]
2001-01-12 12:01                                   ` PRoblem with pcnet32 under 2.4.0 , was :Drivers " Hans Grobler
2001-01-12 12:16                                     ` Danny ter Haar
2001-01-12 22:33                                   ` Thomas Bogendoerfer
2001-01-15 16:29                                     ` Danny ter Haar
2001-01-11 12:56                 ` Drivers " Alan Cox
2001-01-09 10:28 ` Failure building 2.4 while running 2.4. Success in building 2.4 while running 2.2 Alan Cox
2001-01-09 16:10 ` [rlug] " Eugen
2001-01-09 19:01 ` J Sloan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010112125010.A6371@lin-gen.com \
    --to=dth@lin-gen.com \
    --cc=grobh@sun.ac.za \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.