← Back to team overview

sslug-teknik team mailing list archive

Re: Problemer med eth1 under ny kerne

 

At 19:57 18-07-01 +0000, you wrote:
/sbin/lsmod ( eller cat /proc/modules) viser hvilke moduler er
loadet
Er det pci kort vil /sbin/lspci vise hvad du har.


Mine netkort er et 3Com 509 (fundet med /sbin/lsmod) og et 3Com 900B Combo (fundet med /sbin/lspci). Og de bliver begge fundet under begge kerner, men der er andre forskelle i deres output.

Her er output under den gamle kerne:

#/sbin/lsmod
Module                  Size  Used by
lockd                  41752   0  (autoclean) (unused)
sunrpc                 57808   0  (autoclean) [lockd]
3c509                   5964   1

#/sbin/lspci
00:00.0 Host bridge: Intel Corporation 430HX - 82439HX TXC [Triton II] (rev 03)
00:07.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] (rev 01)
00:07.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:0a.0 Ethernet controller: 3Com Corporation 3c900B-Combo [Etherlink XL Combo] (rev 04)
00:0b.0 VGA compatible controller: Rendition Verite V2000/V2100/V2200 (rev 06)
00:0c.0 SCSI storage controller: Adaptec AIC-7881U


Og her er output under den nye kerne:

#/sbin/lsmod
Module                  Size  Used by
3c509                   5964   1

#/sbin/lspci
00:00.0 Host bridge: Intel Corporation 430HX - 82439HX TXC [Triton II] (rev 03)
00:07.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] (rev 01)
00:07.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:0a.0 Ethernet controller: 3Com Corporation 3c900B-Combo [Etherlink XL Combo] (rev 04)
00:0b.0 VGA compatible controller: Rendition Verite V2000/V2100/V2200 (rev 06)
00:0c.0 SCSI storage controller: Adaptec AIC-7881U


Som du kan se, så er det kun output fra /sbin/lsmod der er forskelligt under de 2 kerner.


> >Mit ukvalificerede gæt er at det er et rtl8139 kort
> >fordi navnet på modulet er ændret til 8139too i 2.4 kerner
>
>  Nu er det ikke en 2.4 kerne jeg har compileret, men en 2.2.19, så det er
>  nok ikke der fejlen ligger.

Jeg er ikke sikker, men jeg mener at det også gælder de nyere 2.2
kerner (dem efter 2.4.0)
modprobe 8139too (det kan vel ikke skade noget)
Er det pnp kort? og har du så understøttelse for plug'n play?
Hvordan har du i hele taget konfigureret under kompileringen?


Her er mine noter om hvad jeg valgte under kørslen af 'make menuconfig':


Code maturity level options --->
        [ ] Prompt for development and/or incomplete code/drivers
Processor type and features --->
        (Pentium/K6/TSC/CyrixIII) Processor family
                ( )     386
                ( )     486/Cx486
                ( )     586/K5/5x86/6x86
                (X)     Pentium/K6/TSC/CyrixIII
                ( )     PPro/6x86MX
        < >     /dev/cpu/microcode – Intel IA32 CPU microcode support
        < >     /dev/cpu/*/msr – Model-specific register support
        < >     /dev/cpu/*/cpuid – CPU information support
        (1GB)   Maximum Physical Memory
        [ ]     Math emulation
        [ ]     MTRR (Memory Type Range Register) support
        [ ]     Symmetric multi-processing support
Loadable module support --->
        [*]     Enable loadable module support
        [*]     Set version information on all symbols for modules
        [*]     Kernel module loader
                        Documentation: Documentation/kmod.txt
General setup --->
        [*]     Networking support
        [*]     PCI support
        (Any)   PCI Access mode
                ( )     BIOS
                ( )     Direct
                (X)     Any
        [*]     PCI quirks
        [*]     Backward-compatible /proc/pci
        [ ]     MCA support
        [ ]     SGI Visual Workstation support
        [*]     System V IPC
        [*]     BSD Process Accounting
        [*]     Sysctl support
                        Documentation: Documentation/sysctl/*
        <*>     Kernel support for a.out binaries
        <*>     Kernel support for ELF binaries
        <*>     Kernel support for MISC binaries
        < >     Parallel port support
        [ ]     Advanced Power Management BIOS support
        < >     Toshiba laptop support
Plug and play support --->
        [*]     Plug and play support
Block devices --->
        <*>     Normal PC floppy disk support
        <*>     Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
        ---     Please see Documentation/ide.txt for help/info on IDE drives
        [ ]     Use old disk-only driver on primary interface
        <*>     Include IDE/ATA-2 DISK support
        <*>     Include IDE/ATAPI CDROM support
        <*>     Include IDE/ATAPI TAPE support
        <*>     Include IDE/ATAPI FLOPPY support
        < >     SCSI emulation support
        [*]     CMD640 chipset bugfix/support
        [ ]             CMD640 enhanced support
        [*]     R21000 chipset bugfix/support
        [*]     Generic PCI IDE chipset support
        [*]             Generic PCI bus-master DMA support
        [ ]             Boot off-board chipsets first support
        [*]             Use DMA by default when available
        [ ]     Other IDE chipset support
        ---     Additional block devices
        < >     Loopback device support
        < >     Network block devices support
                        Documentation: Documentation/nbd.txt
        [ ]     Multiple devices driver support
        < >     RAM disk support
        < >     XT hard disk support
        < >     Mylex DAC960/DAC1100 PCI RAID Controller support
        < >     Parallel port IDE device support
        < >     Compaq SMART2 support
        < >     Compaq CISS Array support
Networking options --->
        <*>     Packet socket
        [*]     Kernel/User netlink socket
        [ ]     Routing messages (NEW)
        < >     Netlink device emulation (NEW)
        [*]     Network firewalls
        [ ]     Socket filtering
        <*>     Unix domain socket
        [*]     TCP/IP networking
        [ ]     IP: multicasting
        [*]     IP: advanced router
                        Perform
                                echo "1" > /proc/sys/net/ipv4/ip_forward
at boot time after the /proc filesystem has been mounted
?       [ ]     IP: policy routing (NEW)
        [ ]     IP: equal cost multipath (NEW)
        [ ]     IP: Use TOS value as routing key (NEW)
        [*]     IP: verbose route monitoring (NEW)
        [ ]     IP: large routing tables (NEW)
        [ ]     IP: kernel-level configuration support
        [*]     IP: firewalling (NEW)
        [*]     IP: firewall packet netlink device (NEW)
        [*]     IP: transparent proxy support (NEW)
        [*]     IP: masquerading (NEW)
--- Protocol-specific masquerading support will be built as modules
        [*]     IP: ICMP masquerading (NEW)
--- Protocol-specific masquerading support will be built as modules
        [ ]     IP: optimize as router not host
        < >     IP: tunneling
        < >     IP: GRE tunnels over IP
        [*]     IP: aliasing support
        [ ]     IP: TCP syncookie support (not enabled per default)
                        Perform
                                echo "1" > /proc/sys/net/ipv4/ip_forward
at boot time after the /proc filesystem has been mounted
        ---     (it is safe to leave these untouched)
        < >     IP: Reverse ARP
        [*]     IP: Allow large windows (not recommended if <16Mb of memory)
        ---
        < >     The IPX protocol
        < >     Appletalk DDP
        QoS and/or fair queuing --->
                [ ]     QoS and/or fair queuing
Telephony support
        < >     Linux telephony support
SCSI support
        <*>     SCSI support
        ---     SCSI support type (disk, tape, CD-ROM)
        <*>     SCSI disk support
        <*>     SCSI tape support
        < >     OnStream SC-x0 SCSI tape support
        <*>     SCSI CD-ROM support
[ ] Enable vendor-specific extensions (for SCSI CDROM) (NEW)
        < >     SCSI generic support
        ---     Some SCSI devices (e.g. CD jukebox) support multiple LUNs
        [*]     Probe all LUNs on each SCSI device
        [*]     Verbose SCSI error reporting (kernel size +=12K)
        [ ]     SCSI logging facility
        SCSI low-level drivers --->
                ...
                <M>     Adaptec AHA152x/2825 support
                <M>     Adaptec AHA1542 support
                <*>     Adaptec AIC7xxx support
[ ] Enable Tagged Command Queuing (TCQ) by default (NEW) (24) Maximum number of TCQ commands per device (NEW)
                [ ]             Collect statistics to report in /proc (NEW)
                ...
I20 device support --->
        < >     I20 support
Network device support --->
        [*]     Network device support
        ARCnet devices --->
                < >     ARCnet support
        <M>     Dummy net driver support
        < >     Bonding driver support
        < >     EQL (serial line load balancing) support
        < >     General Instruments Surfboard 1000
        Ethernet (10 or 100Mbit) --->
                [*]     Ethernet (10 or 100Mbit)
                [*]     3COM cards
                <M>     3c501 support (NEW)
                <M>     3c503 support (NEW)
                <M>     3c505 support (NEW)
                <M>     3c509/3c579 support (NEW)
                <M>     3c515 ISA Fast Etherlink (NEW)
<M> 3c590/3c900 series (592/595/597) "Vortex/Boomerang" support (NEW)
                ...
                [*]     EISA, VLB, PCI and on board controllers
                ...
                <*>     EtherExpressPro/100 support
                ...
        Ethernet (1000 Mbit) --->
                < >     SysKonnect SK-98xx support
        [ ]     FDDI driver support
        < >     PPP (point-to-point) support
        < >     SLIP (serial line) support
        [ ]     Wireless LAN (non-hamradio)
        Token Ring devices --->
                [ ]     Token Ring driver support
        [ ]     Fibre Channel driver support
        WAN interfaces --->
                ...
        < >     SBNI12-xx support
Amateur Radio support --->
        [ ]     Amateur Radio support
IrDA (infrared) support --->
        < >     IrDA subsystem support
ISDN subsystem --->
        < >     ISDN support
Old CD-ROM drivers (not SCSI, not IDE) --->
        [ ]     Support non-SCSI/IDE/ATAPI CDROM drives
Character devices --->
        [*]     Virtual terminal
        [*]     Support for sonsole on virtual terminal
        <*>     Standard/generic (dumb) serial support
        [ ]             Support for sonsole on serial port
        [ ]     Extended dumb serial driver options
        [ ]     Non-standard serial port support
        [*]     Unix98 PTY support
        (256)   Maximum number of Unix98 PTYs in use (0-2048)
        [*]     Mouse support (not serial mice)
        Mice --->
                < >     ATIXL busmoude support
                < >     Logitech busmouse support
                < >     Microsoft busmouse support
                [*]     PS/2 mouse (aka "auxiliary device") support
                < >     C&T 82C710 mouse port support (as on TI TravelMate)
                < >     PC110 digitizer pas support
        Joysticks --->
                < >     Joystick support
        < >     QIC-02 tape support
        [ ]     Watchdog Timer Support
        < >     /dev/nvram support
        [ ]     Enhanced Real Time Clock Support
        < >     Intel i8x0 Random Number Generator support
        Video for Linux --->
                < >     Video for Linux
        < >     Double Talk PC internal speech card support
        Ftape, the floppy tape device driver --->
                < >     Ftape (QIC-80/Travan) support
USB support --->
        < >     Support for USB
Filesystems --->
        [*]     Quota support
        <*>     Kernel automounter support
        < >     Amiga FFS filesystem support
        < >     Apple Macintosh filesystem support (experimental)
        <M>     DOS FAT fs support
        <M>             MSDOS fs support
< > UMSDOS: Unix-like filesystem on top of standard MSDOS filesystem
        <M>             VFAT (Windows-95) fs support
        <*>     ISO 9660 CDROM filesystem support
        [*]     Microsoft Joliet CDROM extensions
        < >     Minix fs support
        <*>     NTFS filesystem support (read only)
        < >     OS/2 HPFS filesystem support (read only)
        [*]     /proc filesystem support
        [*]     /dev/pts filesystem for Unix98 PTYs
        < >     ROM filesystem support
        <*>     Second extended fs support
        < >     System V and Coherent filesystem support
        < >     UFS filesystem support
        Network File Systems --->
                < >     Code filesystem support (advanced network fs)
                <*>     NFS filesystem support
                [*]             NFS Version 3 filesystem support
                <M>     NFS server support
                [*]             NFS Version 3 server support (NEW)
                <M>     SMB filesystem support (to mount WfW shares etc.)
                [*]             Use a default NLS (NEW)
                                Default Remote NLS Option: "cp865" (NEW)
                < >     NCP filesystem support (to mount NetWare volumes)
        Partition Types --->
                [ ]     BSD disklabel (BSD partition tables) support
                [ ]     Macintosh partition map support
                [ ]     Minix subpartition support
                [ ]     SMD disklabel (Sun partition tables) support
                [ ]     Solaris (x86) partition table support
        Native Language Support --->
                Default NLS Option: "cp865" (NEW)
                <*>     Codepage 437 (United States, Canada) (NEW)
                ...
                <*>     Codepage 850 (Europe) (NEW)
                ...
                <*>     Codepage 865 (Norwegian, Danish) (NEW)
                ...
<*> NLS ISO 8859-1 (Latin 1; Western European Languages) (NEW)
                ...
<*> NLS ISO 8859-15 (Latin 9; Western European Languages with Euro) (NEW)
                ...
Console drivers --->
        [*]     VGA text console
        [*]     Video mode selection support
Sound --->
        < >     Sound card support
Kernel hacking --->
        [ ]     Magic SysRq key



---

Venlig hilsen / Kind regards

Jens Bang (jbang@xxxxxxxxxxxx)

Freja Data                    Tlf./phone : +45 - 3537 - 7003
Guldbergs Plads 12 1. th.     Fax        : +45 - 3537 - 7006
DK-2200 København N
Denmark                       Homepage   : www.frejadata.dk



References