3c59x new version, help me please with the new kernels

3c59x new version, help me please with the new kernels

Post by Mario Vanon » Thu, 01 Mar 2001 06:30:05



PCI 3COM 3C905B COMBO Etherlink XL 10/100Mbit BNC+RJ-45
running a LAN with 3 machines 10MB with BNC/RG-58U cable.

2.2.12 ... 2.2.19pre7aa1 no problems,

kernel with modules, /etc/modules.conf:
alias eth0 3c59x
options 3x59x options=0

kernel _without_ modules, my usual and preferred mode,
with the following little patch from Andrea
in /usr/src/linux/drivers/net/3c59x.c, original:
static int options[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1,};
always manually changed to:
static int options[MAX_UNITS];

booting message without modules:

eth0: 3Com 3c905B Cyclone 10/100/BNC at 0xa000,  00:50:04:9b:f0:b8 IRQ11
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
  Media override to transceiver type 0 (10baseT)
  Enabling bus-master transmits and whole-frame receives.
(the 1st line after 00:50 ... is different on all 3 machines!)

Works since over an year perfectly.
-----------------------------------

2.2.19pre15aa1 (same effect with 2.4.2pre?):

neither telnet nor mount -t nfs work,
rebooting to 2.2.19pre7aa1, _all_ works always perfectly.

Checked with 3c59x as module, without modules,
with/without Andrea's change, rien ne va plus.

gcc-2.95.3.test3, all kernels since test1 compiled with in
/usr/src/linux/arch/i386/Makefile:
ifdef CONFIG_M686
CFLAGS := ... -march=i686 ... in place of -m486
(stolen from 2.4.2pre?)

All machines PIII550, 2 UP's 512MB mem, 1 SMP Dual 1024MB.
glib-2.1.3
base old SuSE 6.4 with many updgrades via sources
*.tar.gz/*tar.bz2, never with rpm!

Not in lkml, CC if necessary.

I will do every test is needed/requested !!!

Regards and many thanks
Mario

PS Why _all_ machines swap copying 545MB, 5 files ~115MB,
   from a mounted /cdrom to /tmp?  With the newest kernels!
   AT&T SVR2...3.2 in over 12 years newer swapped with cp(1).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

3c59x new version, help me please with the new kernels

Post by Andrew Morto » Thu, 01 Mar 2001 08:30:04



> PCI 3COM 3C905B COMBO Etherlink XL 10/100Mbit BNC+RJ-45
> running a LAN with 3 machines 10MB with BNC/RG-58U cable.

Which interface do you actually want to use?  BNC?

Try `options=3'.

If that doesn't work, please send me (off-list) the log
output from the driver when it is loaded an opened
with the `debug=4' module parm.

I suspect what has happened is this:  in older kernels,
the interface selection code would try different interfaces
even if the user has selected, say, 10baseT.  This was causing
the driver to select 10base2 when the RJ45 is unplugged. It
gets stuck there, necessitating a reboot or driver reload.
So I changed the driver so that if the user says 10baseT,
we unconditionally _use_ 10baseT, dammit.

The module option (and patch) which you've been using
were relying on the old behaviour - they select the
10baseT interface.  This interface doesn't have link beat,
so the driver tries 10base2 and all is happy.

Using `options=3' will select 10base2 immediately. For the
non-modular case you'll need to use the `ether=' LILO option.

hmm..  In fact, you shouldn't need any option for 10base2 - perhaps
your EEPROM doesn't have the correct "available media" info.  Please
send me the output of `vortex-diag -aaee' - http://www.scyld.com/diag/#pci-diags

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. New kernels and new commercial versions?

I've been drifting in and out of the world of linux for several years
now, and haven't always been paying attention!  What I am wondering is
this: with kernel version 2.4 due soon (or maybe out already?), about
how long will it be before the commercial packages (RH, SUSE, etc)
release a version incorporating the new kernel?  Just looking for a
guess here, weeks/months?  Got RH6.0 more or less happily installed now.

Thanks,
Scott

PS The "less" is that some programs keep complaining about file dates
set in the future though everything looks ok when I check...

2. Getting smail to work with SLS 1.01

3. Help to boot new kernel with grub -delited the old kernel before tried the new one

4. Custom kernel crashing whilst compiling

5. SLIP/PPP -->new kernel-->new compiler-->new make

6. vi editor FAQ (Frequently Asked Question List), Part 1/2

7. New linux user needs help with new kernel

8. Apple Laserwriter on serial port

9. Problems Compiling New Kernel w/ Slackware's version of 1.2 kernel

10. New linux/UNIX programs collection - new version of RXVT and more

11. New to kernel, please help

12. problems with the new compiled kernel? Please help!!!!

13. filesystem problem with new kernel, help please