RE: [leaf-user] Re: Trouble getting started
If I remember correctly, if you have more then one 3C509, you'll have to specify the io irq for both cards when you load the module. It only probs for one card automagically. Stefaan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Somerlot, Chris Sent: woensdag 25 juni 2003 17:22 To: '[EMAIL PROTECTED]' Subject: [leaf-user] Re: Trouble getting started Still can't get it going. I have loaded the module for the 3c509 driver, (I'm using 2 ISA 3c509B cards) but only get 1 showing up in ip addr: 1: lo: LOOPBACK,UP mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo 2: dummy0: BROADCAST,NOARP mtu 1500 qdisc noop link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 3: eth0: BROADCAST,MULTICAST mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:a0:24:12:bd:9c brd ff:ff:ff:ff:ff:ff nothing in ip route. The meassages log shows the driver is loaded: Jun 24 21:53:30 firewall syslogd 1.3-3#31.slink1: restart. Jun 24 21:53:30 firewall kernel: klogd 1.3-3#31.slink1, log source = /proc/kmsg started. Jun 24 21:53:30 firewall kernel: No module symbols loaded. Jun 24 21:53:30 firewall kernel: BIOS-provided physical RAM map: Jun 24 21:53:30 firewall kernel: 32MB LOWMEM available. Jun 24 21:53:30 firewall kernel: Initializing CPU#0 Jun 24 21:53:30 firewall kernel: Memory: 30128k/32768k available (948k kernel code, 2252k reserved, -1176k data, 64k init, 0k highmem) Jun 24 21:53:30 firewall kernel: Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) Jun 24 21:53:30 firewall kernel: Inode cache hash table entries: 2048 (order: 2, 16384 bytes) Jun 24 21:53:30 firewall kernel: Intel Pentium with F0 0F bug - workaround enabled. Jun 24 21:53:30 firewall kernel: Checking 'hlt' instruction... OK. Jun 24 21:53:30 firewall kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd9a1, last bus=0 Jun 24 21:53:30 firewall kernel: PCI: Using configuration type 1 Jun 24 21:53:30 firewall kernel: PCI: Probing PCI hardware Jun 24 21:53:30 firewall kernel: Limiting direct PCI/PCI transfers. Jun 24 21:53:30 firewall kernel: Linux NET4.0 for Linux 2.4 Jun 24 21:53:30 firewall kernel: Based upon Swansea University Computer Society NET3.039 Jun 24 21:53:30 firewall kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ DETECT_IRQ SERIAL_PCI enabled Jun 24 21:53:30 firewall kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A Jun 24 21:53:30 firewall kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A Jun 24 21:53:30 firewall kernel: Real Time Clock Driver v1.10e Jun 24 21:53:30 firewall kernel: Software Watchdog Timer: 0.05, timer margin: 60 sec Jun 24 21:53:30 firewall kernel: Floppy drive(s): fd0 is 1.44M Jun 24 21:53:30 firewall kernel: FDC 0 is a National Semiconductor PC87306 Jun 24 21:53:30 firewall kernel: NET4: Linux TCP/IP 1.0 for NET4.0 Jun 24 21:53:30 firewall kernel: IP Protocols: ICMP, UDP, TCP, IGMP Jun 24 21:53:30 firewall kernel: IP: routing cache hash table of 512 buckets, 4Kbytes Jun 24 21:53:30 firewall kernel: TCP: Hash tables configured (established 2048 bind 2048) Jun 24 21:53:30 firewall kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Jun 24 21:53:30 firewall kernel: RAMDISK: Compressed image found at block 0 Jun 24 21:53:30 firewall kernel: Freeing initrd memory: 401k freed Jun 24 21:53:30 firewall kernel: Freeing unused kernel memory: 64k freed Jun 24 21:53:30 firewall kernel: 3c509.c:1.19 16Oct2002 [EMAIL PROTECTED] Jun 24 21:53:30 firewall kernel: http://www.scyld.com/network/3c509.html the ip tables shows: Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain POSTROUTING (policy ACCEPT 1 packets, 60 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 1 packets, 60 bytes) pkts bytes target prot opt in out source destination and the shorewall status shows snip Chain eth0_fwd (0 references) pkts bytes target prot opt in out source destination 0 0 dynamicall -- * * 0.0.0.0/0 0.0.0.0/0 0 0 rfc1918all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW Chain eth0_in (0 references) pkts bytes target prot opt in out source destination 0 0 dynamicall -- * * 0.0.0.0/0 0.0.0.0/0 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpts:67:68 0 0 rfc1918all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW Chain eth1_fwd (0 references) pkts bytes target prot opt in out source destination 0 0 dynamicall -- * * 0.0.0.0/0 0.0.0.0/0 Chain eth1_in (0 references) pkts bytes target prot opt in out source destination 0
RE: [leaf-user] Re: Trouble getting started
Nope, I thought that too. I was mistaken. I confused that driver with another card's driver I was using (smc-ultra). The 509 driver will find all the cards inside the box. Here is an abbreviated copy of what my dmesg looks like: snipped PIIX3: not 100% native mode: will probe irqs later hda: MATSHITA CR-581, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: ATAPI 4X CD-ROM drive, 128kB Cache Uniform CD-ROM driver Revision: 3.12 VFS: Can't find a Minix or Minix V2 filesystem on device 03:00. FAT: bogus logical sector size 0 VFS: Can't find a valid FAT filesystem on dev 03:00. eth0: 3c5x9 at 0x200, 10baseT port, address 00 20 af 9e f4 2e, IRQ 5. 3c509.c:1.19 16Oct2002 [EMAIL PROTECTED] http://www.scyld.com/network/3c509.html eth1: 3c5x9 at 0x280, 10baseT port, address 00 20 af 9f 16 09, IRQ 7. 3c509.c:1.19 16Oct2002 [EMAIL PROTECTED] http://www.scyld.com/network/3c509.html klips_info:ipsec_init: KLIPS startup, FreeS/WAN IPSec version: 1.99 = Notice the two cards listed. Are you sure both cards are working? Have you used 3com's DOS config program to set them up, make sure there are no conflicts with the irq or the io addresses? Tony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stefaan Van Dooren Sent: Thursday, June 26, 2003 3:22 AM To: [EMAIL PROTECTED] Subject: RE: [leaf-user] Re: Trouble getting started If I remember correctly, if you have more then one 3C509, you'll have to specify the io irq for both cards when you load the module. It only probs for one card automagically. Stefaan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Somerlot, Chris Sent: woensdag 25 juni 2003 17:22 To: '[EMAIL PROTECTED]' Subject: [leaf-user] Re: Trouble getting started Still can't get it going. I have loaded the module for the 3c509 driver, (I'm using 2 ISA 3c509B cards) but only get 1 showing up in ip addr: 1: lo: LOOPBACK,UP mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo 2: dummy0: BROADCAST,NOARP mtu 1500 qdisc noop link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 3: eth0: BROADCAST,MULTICAST mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:a0:24:12:bd:9c brd ff:ff:ff:ff:ff:ff nothing in ip route. The meassages log shows the driver is loaded: Jun 24 21:53:30 firewall syslogd 1.3-3#31.slink1: restart. Jun 24 21:53:30 firewall kernel: klogd 1.3-3#31.slink1, log source = /proc/kmsg started. Jun 24 21:53:30 firewall kernel: No module symbols loaded. Jun 24 21:53:30 firewall kernel: BIOS-provided physical RAM map: Jun 24 21:53:30 firewall kernel: 32MB LOWMEM available. Jun 24 21:53:30 firewall kernel: Initializing CPU#0 Jun 24 21:53:30 firewall kernel: Memory: 30128k/32768k available (948k kernel code, 2252k reserved, -1176k data, 64k init, 0k highmem) Jun 24 21:53:30 firewall kernel: Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) Jun 24 21:53:30 firewall kernel: Inode cache hash table entries: 2048 (order: 2, 16384 bytes) Jun 24 21:53:30 firewall kernel: Intel Pentium with F0 0F bug - workaround enabled. Jun 24 21:53:30 firewall kernel: Checking 'hlt' instruction... OK. Jun 24 21:53:30 firewall kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd9a1, last bus=0 Jun 24 21:53:30 firewall kernel: PCI: Using configuration type 1 Jun 24 21:53:30 firewall kernel: PCI: Probing PCI hardware Jun 24 21:53:30 firewall kernel: Limiting direct PCI/PCI transfers. Jun 24 21:53:30 firewall kernel: Linux NET4.0 for Linux 2.4 Jun 24 21:53:30 firewall kernel: Based upon Swansea University Computer Society NET3.039 Jun 24 21:53:30 firewall kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ DETECT_IRQ SERIAL_PCI enabled Jun 24 21:53:30 firewall kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A Jun 24 21:53:30 firewall kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A Jun 24 21:53:30 firewall kernel: Real Time Clock Driver v1.10e Jun 24 21:53:30 firewall kernel: Software Watchdog Timer: 0.05, timer margin: 60 sec Jun 24 21:53:30 firewall kernel: Floppy drive(s): fd0 is 1.44M Jun 24 21:53:30 firewall kernel: FDC 0 is a National Semiconductor PC87306 Jun 24 21:53:30 firewall kernel: NET4: Linux TCP/IP 1.0 for NET4.0 Jun 24 21:53:30 firewall kernel: IP Protocols: ICMP, UDP, TCP, IGMP Jun 24 21:53:30 firewall kernel: IP: routing cache hash table of 512 buckets, 4Kbytes Jun 24 21:53:30 firewall kernel: TCP: Hash tables configured (established 2048 bind 2048) Jun 24 21:53:30 firewall kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Jun 24 21:53:30 firewall kernel: RAMDISK: Compressed image found at block 0 Jun 24 21:53:30 firewall kernel: Freeing initrd memory: 401k freed Jun 24 21:53:30 firewall kernel: Freeing unused kernel memory: 64k freed Jun 24 21:53:30 firewall kernel: 3c509.c:1.19
RE: [leaf-user] Re: Trouble getting started
Actually what I get is: Module PagesUsed by ip_nat_irc 2176 0 (unused) ip_nat_ftp 2784 0 (unused) ip_conntrack_irc2880 1 ip_conntrack_ftp3648 1 3c509 8484 0 -Original Message- From: Tony [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 12:18 PM To: Somerlot, Chris; [EMAIL PROTECTED] Subject: Re: [leaf-user] Re: Trouble getting started I don't remember what dist you're running, but I assume it's a recent one with Shorewall? Have you declared both interfaces? If you run lsmod, you should see something like: ip_nat_irc 2032 0 (unused) ip_nat_ftp 2672 0 (unused) ip_conntrack_irc2144 0 (unused) ip_conntrack_ftp2848 0 (unused) 3c509 6564 2 Do you? Thanks Tony - Original Message - From: Somerlot, Chris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:21 AM Subject: [leaf-user] Re: Trouble getting started Still can't get it going. I have loaded the module for the 3c509 driver, (I'm using 2 ISA 3c509B cards) but only get 1 showing up in ip addr: 1: lo: LOOPBACK,UP mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo 2: dummy0: BROADCAST,NOARP mtu 1500 qdisc noop link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 3: eth0: BROADCAST,MULTICAST mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:a0:24:12:bd:9c brd ff:ff:ff:ff:ff:ff nothing in ip route. The meassages log shows the driver is loaded: Jun 24 21:53:30 firewall syslogd 1.3-3#31.slink1: restart. Jun 24 21:53:30 firewall kernel: klogd 1.3-3#31.slink1, log source = /proc/kmsg started. Jun 24 21:53:30 firewall kernel: No module symbols loaded. Jun 24 21:53:30 firewall kernel: BIOS-provided physical RAM map: Jun 24 21:53:30 firewall kernel: 32MB LOWMEM available. Jun 24 21:53:30 firewall kernel: Initializing CPU#0 Jun 24 21:53:30 firewall kernel: Memory: 30128k/32768k available (948k kernel code, 2252k reserved, -1176k data, 64k init, 0k highmem) Jun 24 21:53:30 firewall kernel: Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) Jun 24 21:53:30 firewall kernel: Inode cache hash table entries: 2048 (order: 2, 16384 bytes) Jun 24 21:53:30 firewall kernel: Intel Pentium with F0 0F bug - workaround enabled. Jun 24 21:53:30 firewall kernel: Checking 'hlt' instruction... OK. Jun 24 21:53:30 firewall kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd9a1, last bus=0 Jun 24 21:53:30 firewall kernel: PCI: Using configuration type 1 Jun 24 21:53:30 firewall kernel: PCI: Probing PCI hardware Jun 24 21:53:30 firewall kernel: Limiting direct PCI/PCI transfers. Jun 24 21:53:30 firewall kernel: Linux NET4.0 for Linux 2.4 Jun 24 21:53:30 firewall kernel: Based upon Swansea University Computer Society NET3.039 Jun 24 21:53:30 firewall kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ DETECT_IRQ SERIAL_PCI enabled Jun 24 21:53:30 firewall kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A Jun 24 21:53:30 firewall kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A Jun 24 21:53:30 firewall kernel: Real Time Clock Driver v1.10e Jun 24 21:53:30 firewall kernel: Software Watchdog Timer: 0.05, timer margin: 60 sec Jun 24 21:53:30 firewall kernel: Floppy drive(s): fd0 is 1.44M Jun 24 21:53:30 firewall kernel: FDC 0 is a National Semiconductor PC87306 Jun 24 21:53:30 firewall kernel: NET4: Linux TCP/IP 1.0 for NET4.0 Jun 24 21:53:30 firewall kernel: IP Protocols: ICMP, UDP, TCP, IGMP Jun 24 21:53:30 firewall kernel: IP: routing cache hash table of 512 buckets, 4Kbytes Jun 24 21:53:30 firewall kernel: TCP: Hash tables configured (established 2048 bind 2048) Jun 24 21:53:30 firewall kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Jun 24 21:53:30 firewall kernel: RAMDISK: Compressed image found at block 0 Jun 24 21:53:30 firewall kernel: Freeing initrd memory: 401k freed Jun 24 21:53:30 firewall kernel: Freeing unused kernel memory: 64k freed Jun 24 21:53:30 firewall kernel: 3c509.c:1.19 16Oct2002 [EMAIL PROTECTED] Jun 24 21:53:30 firewall kernel: http://www.scyld.com/network/3c509.html the ip tables shows: Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain POSTROUTING (policy ACCEPT 1 packets, 60 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 1 packets, 60 bytes) pkts bytes target prot opt in out source destination and the shorewall status shows snip Chain eth0_fwd (0 references) pkts bytes target prot opt in out source destination 0 0 dynamicall
Re: [leaf-user] Re: Trouble getting started
Have you tried just having one 3c509 card in the machine? The cards may all be at same io port. Are the cards in plug and pray mode? I think linux may not like that! You may need to use the dos setup program to set cards up. HTH. On Thu, 26 Jun 2003, Somerlot, Chris wrote: Date: Thu, 26 Jun 2003 05:47:06 -0700 From: Somerlot, Chris [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: [leaf-user] Re: Trouble getting started I've tried 2 different sets of ISA 3C509 cards, get the same problems. I'm not sure the cards are setup right. My ioports shows this for the cards: 0300-030f : 3c509 My interrupts shows: CPU0 0: 128443 XT-PIC timer 1:881 XT-PIC keyboard 2: 0 XT-PIC cascade 6:227 XT-PIC floppy 8: 1 XT-PIC rtc NMI: 0 ERR: 0 How does everyone else use these cards? Boot into DOS to use the configuration utility to figure out io and irq? I wasn't able to get the information from the BIOS output during startup. How do I pass the io and irq to the 3C509 cards in the module configuration? ip link show does not show a line for eth1. My interface file shows: auto eth0 iface eth0 inet dhcp and auto eth1 iface eth1 inet static address 192.168.1.254 masklen 24 broadcast 192.168.1.255 Thanks everyone for all the help. --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html Larry Platzek [EMAIL PROTECTED] --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
RE: [leaf-user] Re: Trouble getting started
Hello, Have you tried just having one 3c509 card in the machine? The cards may all be at same io port. Are the cards in plug and pray mode? I think linux may not like that! You may need to use the dos setup program to set cards up. HTH. I agree. I have 2 3c509 cards. Nothing works until you boot into DOS, run the 3COM DOS configurator tool on both cards. Diable PnP and Set the IRQs and Addresses to something different from each other. I believe you can also disable the PnP and tell it to auto configure the cards too. James On Thu, 26 Jun 2003, Somerlot, Chris wrote: Date: Thu, 26 Jun 2003 05:47:06 -0700 From: Somerlot, Chris [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: [leaf-user] Re: Trouble getting started I've tried 2 different sets of ISA 3C509 cards, get the same problems. I'm not sure the cards are setup right. My ioports shows this for the cards: 0300-030f : 3c509 My interrupts shows: CPU0 0: 128443 XT-PIC timer 1:881 XT-PIC keyboard 2: 0 XT-PIC cascade 6:227 XT-PIC floppy 8: 1 XT-PIC rtc NMI: 0 ERR: 0 How does everyone else use these cards? Boot into DOS to use the configuration utility to figure out io and irq? I wasn't able to get the information from the BIOS output during startup. How do I pass the io and irq to the 3C509 cards in the module configuration? ip link show does not show a line for eth1. My interface file shows: auto eth0 iface eth0 inet dhcp and auto eth1 iface eth1 inet static address 192.168.1.254 masklen 24 broadcast 192.168.1.255 Thanks everyone for all the help. --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php -- -- leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html Larry Platzek [EMAIL PROTECTED] --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php -- -- leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/l eaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] Re: Trouble getting started
At 05:13 PM 6/26/2003 +0200, Patrick Benson wrote: Somerlot, Chris wrote: I've tried 2 different sets of ISA 3C509 cards, get the same problems. I'm not sure the cards are setup right. DId you try my suggestion of testing the cards one at a time, always in the same isa slot? Assuming eth0 always gets configured, this will let you use /proc/interrupts and /proc/ioports to find out the settings for each card. I really do not know any other way to get this information using Linux (I suggested yesterday the ways that use the BIOS and DOS). My ioports shows this for the cards: 0300-030f : 3c509 This is good. It is a fairly standard io location for an ISA NIC. If it is the only entry for a 3c509, and you checked it when both cards were in the system, it hints at the possibility that both NICs are set for the same ioport, a setting you will *have* to change with the DOS-based config utility Patrick references. (Other possibilities remain too. Did you check the shared slot problem I mentioned yesterday?) My interrupts shows: CPU0 0: 128443 XT-PIC timer 1:881 XT-PIC keyboard 2: 0 XT-PIC cascade 6:227 XT-PIC floppy 8: 1 XT-PIC rtc NMI: 0 ERR: 0 Chris -- I am confused by this report. Though you show an ioport for the NIC, you do not show an IRQ for it. If this report is from a system that has a configured eth0 -- as your messages from yesterday imply it should be -- I am at a loss to understand how this system is functioning at all. Please clarify. (Maybe you need to ping something as well, so the IRQ will be used.) Second, as I said yesterday, my memory of the 3c509 driver is a bit hazy. But I believe it autodetects (properly configured) NICs and does NOT use the io= argument Patrick suggests below. The ne module Patrick uses is different from 3c509 in this respect; it has poor (some would say nonexistant) autodetect capability, and it does make use of the io= argument. How does everyone else use these cards? Boot into DOS to use the configuration utility to figure out io and irq? Back when I used these cards, this is exactly what I did ... except it was to *set* the IRQ and IO values, not figure out what they were. (In those days, NICs commonly came factory-set for the same values as DOS's COM2 (irq 3, io 2f8) so had to be reset to work even 1 per system.) I wasn't able to get the information from the BIOS output during startup. Why not? How do I pass the io and irq to the 3C509 cards in the module configuration? You don't. Modules do NOT set card irq and io values; they detect them. The 3c509 module uses the values that the cards are set for, if they are valid values. If they are not valid values, it simply fails to find them. If you don't happen to have the 3c5x9cfg.exe utility you can find it here: http://support.3com.com/infodeli/tools/nic/3c509/3c5096.1.htm which is a 2 disk package. Extract the contents from disk 2 and you'll find it there. Boot into DOS and run the utility, choose an appropiate range somewhere between 0x200-0x3xx. In /etc/modules you should just have to insert io=0x200,0x300 next to 3c509 as I remember it. I don't know if Bering's kernel 2.4.x needs any extra parameters, that's how I did it with the ne module with a 2.2.x kernel. I have been using one 3c509 card since '97 without a hitch... --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] Re: Trouble getting started
On Thursday 26 June 2003 07:10 am, Somerlot, Chris wrote: Actually what I get is: Module PagesUsed by ip_nat_irc 2176 0 (unused) ip_nat_ftp 2784 0 (unused) ip_conntrack_irc2880 1 ip_conntrack_ftp3648 1 3c509 8484 0 This shows that the system is not seeing the 3c509's at all. The most likely culprit is that the PnP is still enabled on them. 9 out of 10 times you need to configure them with the DOS utility to make them work with Linux from how you got them stock. This is my experience with about 20 of them in use right now anyway. -- ~Lynn Avants Linux Embedded Appliance Firewall Developer http://leaf.sourceforge.net http://guitarlynn.homelinux.org:81 --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] Re: Trouble getting started
At 08:21 AM 6/25/2003 -0700, Somerlot, Chris wrote: Still can't get it going. I have loaded the module for the 3c509 driver, (I'm using 2 ISA 3c509B cards) but only get 1 showing up in ip addr: 1: lo: LOOPBACK,UP mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo 2: dummy0: BROADCAST,NOARP mtu 1500 qdisc noop link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 3: eth0: BROADCAST,MULTICAST mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:a0:24:12:bd:9c brd ff:ff:ff:ff:ff:ff Did you edit this output, or am I forgetting what ip addr show reports? I would expect the other interfaces each to have a line like the last line under lo: . I ask because we need to figure out whether the problem is with the *creation* of the interfaces or with the *configuration* of the interface? That is, does eth1 not exist at all, or does it exist but lack an IP address? Here's how to sort that part out. 1. Before Linux boots, look at the system's BIOS message display and see if it shows 2 or 1 NICs. If 2, note the IRQs it mentions. (This can be hard to do, as this info often is onscreen only for a second or two, so you may have to start the boot process several times to spot it.) If not, make sure your BIOS is set up to assign IRQs to both isa slots. You don't mention your hardware here, but if it is a mixed isa/pci mobo, you may be running into a problem caused by trying to use both the pci and the isa slot in a shared pair ( where the BIOS permits you to use ony one of the slots). 2. After Linux boots/inits, see if 2 NICs are associated with IRQs and IO base ports, by checking /pdoc/interrupts and /proc/ioports . 3. Try ip link show to see if there is an unconfigured eth1 present on the system. The later problems, with the routing table and the firewall ruleset, are derivative of whichever problem besets the second NIC. So there is no need to pursue that level of investigation further until we have figured out where the second NIC is hiding. If you find that no eth1 interface is being created, you may have one of these two problems: 1. The second NIC is defective. 2. Both NICs are assigned the same IRQ and/or IO base. To check these possibilities, try running the system with the NICs in one at a time. If it works (for eth0) with one but not the other, you have the first problem. If both work but turn up with the same IRQ /or IO bases, you have the second problem. (In the second case, you can check Becker's site to see if he has a config utility for the 3c509 -- I don't remember one, but I think he added some new ones after I stopped using 3Com NICs -- or you can get the DOS-based NIC-configuration utility 3Com provides (or once did; I assume it is still available on their Website) ... as I recall, the 3c509 never supported PnP, so you will have to fix this problem by hand. (BTW, it has been some years since I used 3c509 cards, or any isa NIC for that matter, but I do recall that the 3c509 module was perfectly able to handle multiple NICs. So don't go astray down that road.) If you find that eth1 is present but unconfigured, you need to tell us what IP address you are trying to assign to it, and how. nothing in ip route. The meassages log shows the driver is loaded: [remainder deleted] --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] Re: Trouble getting started
I don't remember what dist you're running, but I assume it's a recent one with Shorewall? Have you declared both interfaces? If you run lsmod, you should see something like: ip_nat_irc 2032 0 (unused) ip_nat_ftp 2672 0 (unused) ip_conntrack_irc2144 0 (unused) ip_conntrack_ftp2848 0 (unused) 3c509 6564 2 Do you? Thanks Tony - Original Message - From: Somerlot, Chris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:21 AM Subject: [leaf-user] Re: Trouble getting started Still can't get it going. I have loaded the module for the 3c509 driver, (I'm using 2 ISA 3c509B cards) but only get 1 showing up in ip addr: 1: lo: LOOPBACK,UP mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo 2: dummy0: BROADCAST,NOARP mtu 1500 qdisc noop link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 3: eth0: BROADCAST,MULTICAST mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:a0:24:12:bd:9c brd ff:ff:ff:ff:ff:ff nothing in ip route. The meassages log shows the driver is loaded: Jun 24 21:53:30 firewall syslogd 1.3-3#31.slink1: restart. Jun 24 21:53:30 firewall kernel: klogd 1.3-3#31.slink1, log source = /proc/kmsg started. Jun 24 21:53:30 firewall kernel: No module symbols loaded. Jun 24 21:53:30 firewall kernel: BIOS-provided physical RAM map: Jun 24 21:53:30 firewall kernel: 32MB LOWMEM available. Jun 24 21:53:30 firewall kernel: Initializing CPU#0 Jun 24 21:53:30 firewall kernel: Memory: 30128k/32768k available (948k kernel code, 2252k reserved, -1176k data, 64k init, 0k highmem) Jun 24 21:53:30 firewall kernel: Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) Jun 24 21:53:30 firewall kernel: Inode cache hash table entries: 2048 (order: 2, 16384 bytes) Jun 24 21:53:30 firewall kernel: Intel Pentium with F0 0F bug - workaround enabled. Jun 24 21:53:30 firewall kernel: Checking 'hlt' instruction... OK. Jun 24 21:53:30 firewall kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd9a1, last bus=0 Jun 24 21:53:30 firewall kernel: PCI: Using configuration type 1 Jun 24 21:53:30 firewall kernel: PCI: Probing PCI hardware Jun 24 21:53:30 firewall kernel: Limiting direct PCI/PCI transfers. Jun 24 21:53:30 firewall kernel: Linux NET4.0 for Linux 2.4 Jun 24 21:53:30 firewall kernel: Based upon Swansea University Computer Society NET3.039 Jun 24 21:53:30 firewall kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ DETECT_IRQ SERIAL_PCI enabled Jun 24 21:53:30 firewall kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A Jun 24 21:53:30 firewall kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A Jun 24 21:53:30 firewall kernel: Real Time Clock Driver v1.10e Jun 24 21:53:30 firewall kernel: Software Watchdog Timer: 0.05, timer margin: 60 sec Jun 24 21:53:30 firewall kernel: Floppy drive(s): fd0 is 1.44M Jun 24 21:53:30 firewall kernel: FDC 0 is a National Semiconductor PC87306 Jun 24 21:53:30 firewall kernel: NET4: Linux TCP/IP 1.0 for NET4.0 Jun 24 21:53:30 firewall kernel: IP Protocols: ICMP, UDP, TCP, IGMP Jun 24 21:53:30 firewall kernel: IP: routing cache hash table of 512 buckets, 4Kbytes Jun 24 21:53:30 firewall kernel: TCP: Hash tables configured (established 2048 bind 2048) Jun 24 21:53:30 firewall kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Jun 24 21:53:30 firewall kernel: RAMDISK: Compressed image found at block 0 Jun 24 21:53:30 firewall kernel: Freeing initrd memory: 401k freed Jun 24 21:53:30 firewall kernel: Freeing unused kernel memory: 64k freed Jun 24 21:53:30 firewall kernel: 3c509.c:1.19 16Oct2002 [EMAIL PROTECTED] Jun 24 21:53:30 firewall kernel: http://www.scyld.com/network/3c509.html the ip tables shows: Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain POSTROUTING (policy ACCEPT 1 packets, 60 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 1 packets, 60 bytes) pkts bytes target prot opt in out source destination and the shorewall status shows snip Chain eth0_fwd (0 references) pkts bytes target prot opt in out source destination 0 0 dynamicall -- * * 0.0.0.0/0 0.0.0.0/0 0 0 rfc1918all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW Chain eth0_in (0 references) pkts bytes target prot opt in out source destination 0 0 dynamicall -- * * 0.0.0.0/0 0.0.0.0/0 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpts:67:68 0 0 rfc1918all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW Chain eth1_fwd (0 references) pkts bytes target prot opt in out source destination 0 0 dynamic
Re: [leaf-user] Re: Trouble getting started
Chris Somerlot, Chris wrote the following at 17:21 25.06.2003: Still can't get it going. I have loaded the module for the 3c509 driver, (I'm using 2 ISA 3c509B cards) but only get 1 showing up in ip addr: 1: lo: LOOPBACK,UP mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo 2: dummy0: BROADCAST,NOARP mtu 1500 qdisc noop link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 3: eth0: BROADCAST,MULTICAST mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:a0:24:12:bd:9c brd ff:ff:ff:ff:ff:ff No surprise, no address set hence no route What does your /etc/network/interfaces file look like?` ... Jun 24 21:53:30 firewall kernel: 3c509.c:1.19 16Oct2002 [EMAIL PROTECTED] Jun 24 21:53:30 firewall kernel: http://www.scyld.com/network/3c509.html There should be more here? cheers Erich THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html