Date: Fri, 18 Jun 1999 16:45:34 -0400 (EDT) From: Chuck Bacon <crtb@capecod.net> To: questions@freebsd.org Subject: 3c900 NIC driver question Message-ID: <199906182045.QAA01320@capecod.net>
next in thread | raw e-mail | index | archive | help
FreeBSD 2.2.7 - Problem with 3Com 3C900B NIC. HARDWARE.TXT says that 3C900 is handled by vx. Config file has controller pci0 and options vx0. Yet vx0 is nowhere to be found at boot time! Comment in LINT says "early support", but disappearing completely ?! Booted with -cv, dmesg output shown; kernel config follows. Thanks for help :-) Chuck Bacon - crtb@capecod.net ABHOR SECRECY -- DEFEND PRIVACY ============ start of dmesg.log ============= Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.7-RELEASE #0: Fri Jun 18 09:58:26 EDT 1999 root@tomato.crtb.net:/usr/src/sys/compile/TOMATO Calibrating clock(s) ... i8254 clock: 1193228 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency CPU: Cyrix 6x86 (486-class CPU) Origin = "CyrixInstead" DIR=0x2231 Stepping=2 Revision=2 real memory = 67108864 (65536K bytes) Physical memory chunk(s): 0x00001000 - 0x0009ffff, 651264 bytes (159 pages) 0x00273000 - 0x03ff5fff, 64499712 bytes (15747 pages) FreeBSD Kernel Configuration Utility - Version 1.1 Type "help" for help. config> ls Device port irq drq iomem iosize unit flags enabled aha0 0x330 -1 5 0x0 0 0 0x0 Yes aic0 0x340 11 -1 0x0 0 0 0x0 Yes wdc0 0x1f0 14 -1 0x0 0 0 0x0 Yes fdc0 0x3f0 6 2 0x0 0 0 0x0 Yes sc0 0x60 1 -1 0x0 0 0 0x0 Yes lpt0 0xffffffff 7 -1 0x0 0 0 0x0 Yes sio0 0x3f8 4 -1 0x0 0 0 0x0 Yes sio1 0x2f8 3 -1 0x0 0 1 0x0 Yes pca0 0x40 -1 -1 0x0 0 0 0x0 Yes npx0 0xf0 13 -1 0x0 0 0 0x0 Yes Number of EISA slots to probe: 10 config> q avail memory = 63041536 (61564K bytes) pcibus_setup(1): mode 1 addr port (0x0cf8) is 0x80000074 pcibus_setup(1a): mode1res=0x80000000 (0x80000000) pcibus_check: device 0 is there (id=55711039) Probing for devices on PCI bus 0: configuration mode 1 allows 32 devices. chip0 <generic PCI bridge (vendor=1039 device=5571 subclass=0)> rev 0 on pci0:0:0 chip1 <SiS 85c503> rev 1 on pci0:1:0 pci0:1:1: Silicon Integrated Systems, device=0x5513, class=storage (ide) int a irq 14 [no driver assigned] map(10): io(01f0) map(14): io(03f4) map(18): io(0170) map(1c): io(0374) map(20): io(4000) vga0 <VGA-compatible display device> rev 0 int a irq 11 on pci0:13:0 mapreg[10] type=0 addr=e0000000 size=1000000. mapreg[14] type=0 addr=e1800000 size=4000. mapreg[18] type=0 addr=e1000000 size=800000. ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 10 on pci0:15:0 mapreg[10] type=1 addr=00006000 size=0100. mapreg[14] type=0 addr=e1804000 size=1000. reg20: virtual=0xf4cac000 physical=0xe1804000 size=0x1000 ahc0: Reading SEEPROM...done. internal50 cable is present internal68 cable not present brdctl == 0xac external cable not present eprom is present brdctl == 0xec low byte termination enabled, high byte termination disabled ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs ahc0: Resetting Channel A ahc0: Downloading Sequencer Program...ahc0: 374 instructions downloaded Done ahc0: Probing channel A ahc0 waiting for scsi devices to settle ahc0: target 2 synchronous at 20.0MHz, offset = 0xf ahc0: target 2 Tagged Queuing Device (ahc0:2:0): "QUANTUM FIREBALL ST2.1S 0F04" type 0 fixed SCSI 2 sd0(ahc0:2:0): Direct-Access 2068MB (4235629 512 byte sectors) sd0(ahc0:2:0): with 7068 cyls, 3 heads, and an average 199 sectors/track pci0: uses 25186304 bytes of memory from e0000000 upto e1804fff. pci0: uses 256 bytes of I/O space from 6000 upto 60ff. Probing for PnP devices: Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 No Plug-n-Play devices were found Probing for devices on the ISA bus: sc0: the current keyboard controller command byte 0047 kbdio: DIAGNOSE status:0055 kbdio: TEST_KBD_PORT status:0000 kbdio: RESET_KBD return code:00fa kbdio: RESET_KBD status:00aa sc0 at 0x60-0x6f irq 1 on motherboard sc0: BIOS video mode:3 sc0: VGA registers upon power-up 50 18 10 00 10 00 03 00 02 67 60 4f 50 83 55 81 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: video mode:24 sc0: VGA registers in BIOS for mode:24 50 18 10 00 10 00 03 00 02 67 60 4f 50 83 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: VGA registers to be used for mode:24 50 18 10 00 10 00 03 00 02 67 60 4f 50 83 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: rows_offset:1 sc0: VGA color <16 virtual consoles, flags=0x0> lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface bpf: lp0 attached sio0: irq maps: 0x1 0x11 0x1 0x1 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1: irq maps: 0x1 0x9 0x1 0x1 sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A pca0 on motherboard pca0: PC speaker audio driver aha0: Rev 44 (AHA-1542CF) V0.1, enabling mailbox, enabling residuals aha0: reading board settings, dma=5 int=12 id=7 100 nSEC ok, using 150 nSEC aha0 at 0x330-0x333 irq 12 drq 5 on isa aha0 waiting for scsi devices to settle (aha0:0:0): "MAXTOR 7213-SCSI 7442" type 0 fixed SCSI 1 sd1(aha0:0:0): Direct-Access 202MB (415600 512 byte sectors) sd1(aha0:0:0): with 1690 cyls, 4 heads, and an average 61 sectors/track (aha0:4:0): "CONNER CTT8000-S 1.17" type 1 removable SCSI 2 st0(aha0:4:0): Sequential-Access density code 0x45, drive empty aic0 not found at 0x340 wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (atapi): <CD-ROM TW 160D/V1.00>, removable, dma, iordy wcd0: 2062Kb/sec, 240Kb cache, audio play, 255 volume levels, ejectable tray wcd0: door open, unlocked fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fd0: 1.44MB 3.5in npx0 on motherboard npx0: INT 16 interface imasks: bio c0085440, tty c003009a, net c0060000 BIOS Geometries: 0:0106fe3f 0..262=263 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: ppp0 attached bpf: ppp1 attached new masks: bio c0085440, tty c003009a, net c007009a bpf: lo0 attached ccd0-3: Concatenated disk drivers IP packet filtering initialized, divert disabled, default to accept, logging limited to 100 packets/entry Considering FFS root f/s. sd0s1: type 0x6, start 63, end = 401624, size 401562 : OK sd0s2: type 0xa5, start 401625, end = 4225094, size 3823470 : OK sd0s1: type 0x6, start 63, end = 401624, size 401562 : OK sd0s2: type 0xa5, start 401625, end = 4225094, size 3823470 : OK sd1s1: type 0xa5, start 0, end = 412359, size 412360 sd1s1: C/H/S start 0/0/0 (4294967295) != start 0: invalid sd1s1: type 0xa5, start 0, end = 412359, size 412360 sd1s1: C/H/S start 0/0/0 (4294967295) != start 0: invalid sd1s1: type 0xa5, start 0, end = 412359, size 412360 sd1s1: C/H/S start 0/0/0 (4294967295) != start 0: invalid ============ end of dmesg.log ============= ============ start of TOMATO (kernel config) ============= # TOMATO first crack at 2.2.7 # Generic was crashing, don't know why, but perhaps a more custom kernel # will serve me better. Besides, I want /dev/audio and stuff like that. # Rev. 0: Copy from LINT in LINT order; generous. # Rev.0a: Add options MFS and MFS_ROOT=10. Omit MFS_AUTOLOAD # 1999June8: Lose MFS. Causes immediate panic # 1999June14: CLB centennial. Restore to a good TOMATO but unknown e-net. # 1999June18: Change ed0 to vx0: Our 3C900B-TPO is apparently a vx! # (see cdrom#1: /HARDWARE.TXT) machine "i386" ident TOMATO maxusers 10 options CHILD_MAX=128 options OPEN_MAX=128 options "MAXDSIZ=(256*1024*1024)" options "DFLDSIZ=(256*1024*1024)" options FAILSAFE # options INCLUDE_CONFIG_FILE # Include this file in kernel config kernel root on sd0 dumps on sd0 cpu "I486_CPU" cpu "I586_CPU" # aka Pentium(tm) # cpu "I686_CPU" # aka Pentium Pro(tm) options "NO_F00F_HACK" options "COMPAT_43" options USER_LDT #allow user-level control of i386 ldt options SYSVSHM options SYSVSEM options SYSVMSG options "MD5" options DDB options DDB_UNATTENDED options KTRACE #kernel tracing options UCONSOLE options USERCONFIG #boot -c editor # options USERCONFIG_BOOT #imply -c and parse info area options INET #Internet communications protocols options NETATALK #Appletalk communications protocols pseudo-device ether #Generic Ethernet pseudo-device sppp #Generic Synchronous PPP pseudo-device loop #Network loopback device pseudo-device ppp 2 #Point-to-point protocol pseudo-device bpfilter 4 #Berkeley packet filter options PPP_BSDCOMP #PPP BSD-compress support options PPP_DEFLATE #PPP zlib/deflate/gzip support options PPP_FILTER #enable bpf filtering (needs bpfilter) options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #print information about # dropped packets options "IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default options FFS #Fast filesystem options NFS #Network File System ## options "CD9660" #ISO 9660 filesystem options FDESC #File descriptor filesystem options KERNFS #Kernel filesystem ## options MFS #Memory filesystem options MSDOSFS #MS DOS filesystem options PROCFS #Process filesystem ## options MFS_ROOT=10 options NSWAPDEV=20 controller scbus0 #base SCSI code device sd0 #SCSI disks device st0 #SCSI tapes device cd0 #SCSI CD-ROMs options SCSIDEBUG options SCSI_REPORT_GEOMETRY pseudo-device pty 16 #Pseudo ttys - can go as high as 256 pseudo-device speaker #Play IBM BASIC-style noises out your speaker pseudo-device log #Kernel syslog interface (/dev/klog) pseudo-device gzip #Exec gzipped a.out's pseudo-device vn #Vnode driver (turns a file into a device) pseudo-device ccd 4 #Concatenated disk driver options "MSGBUF_SIZE=40960" controller isa0 options "AUTO_EOI_1" options BOUNCE_BUFFERS options "MAXMEM=(128*1024)" options "TUNE_1542" controller pnp0 ## device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint options XSERVER # support for running an X server. device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr options MAXCONS=16 # number of virtual consoles options SC_HISTORY_SIZE=200 # number of history buffer lines device npx0 at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr controller aic0 at isa? port 0x340 bio irq 11 vector aicintr controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device wcd0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 ## disk fd1 at fdc0 drive 1 device lpt0 at isa? port? tty irq 7 vector lptintr ## device lpt1 at isa? port "IO_LPT3" tty irq 5 vector lptintr device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr # This ed0 shouldn't be here unless the new board is also an ed. ## device ed0 at isa? port 0x280 net irq 9 iomem 0xd8000 vector edintr # It's not. It's a vx (placed after pci0) ## controller snd0 ## device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr ## device sbxvi0 at isa? drq 5 ## device sbmidi0 at isa? port 0x330 device pca0 at isa? port IO_TIMER1 tty ## device qcam0 at isa? port "IO_LPT3" tty controller eisa0 controller ahc0 options AHC_TAGENABLE options AHC_ALLOW_MEMIO options DPT_MEASURE_PERFORMANCE controller pci0 device vx0 # The 3C900B-TPO options COMPAT_LINUX options SCSI_DELAY=8 # Be (not)pessimistic about Joe SCSI device ============ end of TOMATO ============= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906182045.QAA01320>