3C905B-TX Wake on lan + ethtool problem
fritz <[email protected]> Sun, 4 Apr 2004 02:33:17 +0200
| Newsgroups | gmane.linux.drivers.vortex.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, after 1 week of trying to get my 3C905B-TX to do wake on lan on a debian 2.6.4 kernel, I have to ask for help. The board is a P2LB (WOL ist enabled in bios, power cable from nic to board is plugged). I use a 2.6.4 kernel with the standard 3c59x driver. It's compiled with module support. The NIC works fine except for wake-on-lan. There is no way to get the debian wake up with my magic packets. I tried to compile the 3c59x.c from the scyld.com site, but I got 100 of warnings and errors. I also find it very strange, that "ethtool eth0" returns: "Settings for eth0: No data available" I have no problem with 100FD speed or whatsoever. My question is just: how do I get debian 2.6.4 to wake on lan with the 3com 3C905B-TX. here follows the informations, that could help: Thank you a lot for your precious time ! Julien (from Munich, germany) mii-diag -vv mii-diag.c:v2.07 11/15/2002 Donald Becker ([email protected]) http://www.scyld.com/diag/index.html Using the default interface 'eth0'. Using the new SIOCGMIIPHY value on PHY 24 (BMCR 0x3000). The autonegotiated capability is 0100. The autonegotiated media type is 100baseTx-FD. Basic mode control register 0x3000: Auto-negotiation enabled. You have link beat, and everything is working OK. This transceiver is capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT. Able to perform Auto-negotiation, negotiation complete. Your link partner advertised 4101: 100baseTx-FD. End of basic transceiver information. libmii.c:v2.10 4/22/2003 Donald Becker ([email protected]) http://www.scyld.com/diag/index.html MII PHY #24 transceiver registers: 3000 786d 0000 0000 01e1 4101 0005 2801 0000 0000 0000 0000 0000 0000 0000 0000 8000 0008 0090 0000 0000 0005 2001 0000 0000 204d 0086 1c11 000a 1000 0000 0000. Basic mode control register 0x3000: Auto-negotiation enabled. Basic mode status register 0x786d ... 786d. Link status: established. Capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT. Able to perform Auto-negotiation, negotiation complete. This transceiver has no vendor identification. I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT Advertising no additional info pages. IEEE 802.3 CSMA/CD protocol. Link partner capability is 4101: 100baseTx-FD. Negotiation completed. lspci -v -v: 0000:00:0a.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24) Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 32 (2500ns min, 2500ns max), Cache Line Size: 0x08 (32 bytes) Interrupt: pin A routed to IRQ 11 Region 0: I/O ports at b000 Region 1: Memory at e1800000 (32-bit, non-prefetchable) [size=128] Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- ethtool eth0 Settings for eth0: No data available extract from dmesg: Linux version 2.6.4 (root@hulud) (gcc-Version 3.3.3 (Debian 20040401)) #3 Sat Apr 3 13:53:05 CEST 2004 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 0000000007ffd000 (usable) BIOS-e820: 0000000007ffd000 - 0000000007fff000 (ACPI data) BIOS-e820: 0000000007fff000 - 0000000008000000 (ACPI NVS) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 127MB LOWMEM available. On node 0 totalpages: 32765 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 28669 pages, LIFO batch:6 HighMem zone: 0 pages, LIFO batch:1 DMI 2.0 present. ACPI: RSDP (v000 ASUS ) @ 0x000f7d70 ACPI: RSDT (v001 ASUS P2L-B 0x00000000 0x00000000) @ 0x07ffd000 ACPI: FADT (v001 ASUS P2L-B 0x00000000 0x00000000) @ 0x07ffd080 ACPI: BOOT (v001 ASUS P2L-B 0x00000000 0x00000000) @ 0x07ffd040 ACPI: DSDT (v001 ASUS P2L-B 0x00001000 MSFT 0x01000001) @ 0x00000000 Built 1 zonelists Kernel command line: BOOT_IMAGE=264 ro root=305 acpi=force Initializing CPU#0 PID hash table entries: 512 (order 9: 4096 bytes) Detected 300.738 MHz processor. Using tsc for high-res timesource Console: colour VGA+ 80x25 Memory: 126044k/131060k available (1946k kernel code, 4472k reserved, 645k data, 408k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 591.87 BogoMIPS Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: After generic identify, caps: 0183f9ff 00000000 00000000 00000000 CPU: After generic identify, caps: 0183f9ff 00000000 00000000 00000000 CPU: After vendor identify, caps: 0183f9ff 00000000 00000000 00000000 CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 512K CPU: After all inits, caps: 0183f9ff 00000000 00000000 00000040 CPU: Intel Pentium II (Deschutes) stepping 02 Enabling fast FPU save and restore... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX NET: Registered protocol family 16 EISA bus registered PCI: PCI BIOS revision 2.10 entry at 0xf0750, last bus=1 PCI: Using configuration type 1 mtrr: v2.0 (20020519) ACPI: Subsystem revision 20040220 ACPI: IRQ9 SCI: Level Trigger. ACPI: Interpreter enabled ACPI: Using PIC for interrupt routing ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9 10 11 12 14 15) ACPI: PCI Root Bridge [PCI0] (00:00) PCI: Probing PCI hardware (bus 00) ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] Linux Plug and Play Support v0.97 (c) Adam Belay pnp: the driver 'system' has been registered PnPBIOS: Scanning system for PnP BIOS support... PnPBIOS: Found PnP BIOS installation structure at 0xc00fd110 PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xd140, dseg 0xf0000 pnp: match found with the PnP device '00:06' and the driver 'system' pnp: match found with the PnP device '00:0f' and the driver 'system' pnp: 00:0f: ioport range 0x290-0x297 has been reserved pnp: 00:0f: ioport range 0xe400-0xe43f has been reserved pnp: 00:0f: ioport range 0xe800-0xe83f could not be reserved pnp: 00:0f: ioport range 0xe800-0xe83f could not be reserved PnPBIOS: 15 nodes reported by PnP BIOS; 15 recorded by driver ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 PCI: Using ACPI for IRQ routing PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off' spurious 8259A interrupt: IRQ7. vga16fb: initializing vga16fb: mapped to 0xc00a0000 fb0: VGA16 VGA frame buffer device Simple Boot Flag 0x1 apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac) apm: overridden by ACPI. NTFS driver 2.1.6 [Flags: R/O]. udf: registering filesystem Limiting direct PCI/PCI transfers. ACPI: Power Button (FF) [PWRF] ACPI: Processor [CPU0] (supports C1 C2) isapnp: Scanning for PnP cards... isapnp: Card 'OPTI 931AD Audio 16' isapnp: 1 Plug & Play card detected total Using anticipatory io scheduler FDC 0 is a post-1991 82077 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) PPP generic driver version 2.4.2 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PIIX4: IDE controller at PCI slot 0000:00:04.1 PIIX4: chipset revision 1 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:pio, hdd:DMA hda: ST34321A, ATA DISK drive hdb: ST3120022A, ATA DISK drive hdb: ST3120022A, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hdd: 40X CD-ROM, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 hda: max request size: 128KiB hda: 8404830 sectors (4303 MB) w/128KiB Cache, CHS=8894/15/63, UDMA(33) hda: hda1 hda2 < hda5 > hdb: max request size: 1024KiB hdb: 234441648 sectors (120034 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(33) hdb: hdb1 hdd: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 mice: PS/2 mouse device common for all mice serio: i8042 AUX port at 0x60,0x64 irq 12 input: ImPS/2 Logitech Wheel Mouse on isa0060/serio1 serio: i8042 KBD port at 0x60,0x64 irq 1 input: AT Translated Set 2 keyboard on isa0060/serio0 EISA: Probing bus 0 at eisa0 Advanced Linux Sound Architecture Driver Version 1.0.2c (Thu Feb 05 15:41:49 2004 UTC). pnp: the driver 'opti9xx' has been registered pnp: match found with the PnP device '01:01.01' and the driver 'opti9xx' pnp: match found with the PnP device '01:01.03' and the driver 'opti9xx' pnp: Device 01:01.01 activated. pnp: Device 01:01.03 activated. ALSA sound/isa/opti9xx/opti92x-ad1848.c:643: MPU-401 irq # -1 not valid ALSA sound/isa/opti9xx/opti92x-ad1848.c:706: chip still busy. pnp: Device 01:01.01 disabled. pnp: Device 01:01.03 disabled. ALSA sound/isa/opti9xx/opti92x-ad1848.c:643: MPU-401 irq # -1 not valid ALSA sound/isa/opti9xx/opti92x-ad1848.c:2154: no OPL device at 0x380-0x383 ALSA device list: #0: OPTi 82C931, 82C931 at 0x534, irq 5, dma 1&0 NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 8192 bind 16384) NET: Registered protocol family 1 NET: Registered protocol family 17 PM: Reading pmdisk image. PM: Resume from disk failed. ACPI: (supports S0 S1 S5) VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 408k freed Adding 289128k swap on /dev/hda1. Priority:-1 extents:1 3c59x: Donald Becker and others. www.scyld.com/network/vortex.html 0000:00:0a.0: 3Com PCI 3c905B Cyclone 100baseTx at 0xb000. Vers LK1.1.19 EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended _______________________________________________ vortex mailing list [email protected] http://www.scyld.com/mailman/listinfo/vortex