From owner-freebsd-current Wed Nov 4 03:26:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA06064 for freebsd-current-outgoing; Wed, 4 Nov 1998 03:26:42 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from tantivy.stanford.edu (tantivy.Stanford.EDU [36.118.0.70]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA06059 for ; Wed, 4 Nov 1998 03:26:39 -0800 (PST) (envelope-from techie@tantivy.stanford.edu) Received: (from techie@localhost) by tantivy.stanford.edu (8.8.8/8.8.5) id DAA22772; Wed, 4 Nov 1998 03:26:14 -0800 (PST) From: Bob Vaughan Message-Id: <199811041126.DAA22772@tantivy.stanford.edu> Subject: Re: pccard ethernet breakage between 2.2-stable and 3.0-current In-Reply-To: <199811040831.AAA01159@dingo.cdrom.com> from Mike Smith at "Nov 4, 1998 0:31:15 am" To: mike@smith.net.au (Mike Smith) Date: Wed, 4 Nov 1998 03:26:13 -0800 (PST) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id DAA06060 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > cvs update as of saturday (both trees). > > my sthernet card (a SVEC ne2000 compatable) breaks under 3.0-current only, > > but 2.2-stable works fine. > > I noticed the same type of breakage in PAO when i tried it back in july/august. > > > > symptoms: my ethernet card returns a bogus hardware address the first couple > > of times it is probed, but the third time it returns the correct address. > > the 2.2-stable code properly deals with this, while the 3.0-current code > > accepts the bogus address.. > > > > hardware: chembook 3300 (p233mmx, 96mb ram, 4gb disk), SVEC ne2000 compatable > > ethernet card. > > Can you be more specific about "properly deals with this"? We had a > previous tester give up on the svec card in total disgust after being > unable to make it do anything useful, so any insight that would help us > to support them properly would be useful. > > In particular, are there any code changes between 2.2 and 3.0's 'ed' > driver that you think might account for the different behaviour? > sure.. now that I have that machine back to 2.2-stable, I can communicate with it again.. I should note that the pccard code in 2.2-stable works with my modem, while the PAO code, and 3.0 do not. here is a copy of my /etc/pccard.conf, and messages from both 3.0 and 2.2.7. # $Id: pccard.conf.sample,v 1.4 1996/06/19 01:28:07 nate Exp $ # Generally available IO ports io 0x240-0x2f7 0x300-0x360 0x3e0-0x3ef # Generally available IRQs (Built-in sound-card owners remove 5) irq 3 10 11 13 # Available memory slots memory 0xd4000 96k #SVEC NE2000 compatable card "Ethernet" "Adapter" config 0x1 "ed0" 11 ether 0xff0 insert echo SVEC PCMCIA Ethernet inserted insert /etc/pccard_ether ed0 insert /usr/local/bin/pc-ether remove echo SVEC PCMCIA Ethernet removed remove /sbin/umount -a -f -t nfs remove /sbin/ifconfig ed0 delete # generic 33.6K FAX/Data Modem card "RIPICAB" "RC336ACL" config 0x22 "sio2" 5 insert echo generic 33.6 FaxModem inserted remove echo generic 33.6 FaxModem removed 3.0-current Nov 2 05:13:35 roadwarrior /kernel: FreeBSD 3.0-CURRENT #2: Mon Nov 2 04:30:35 PST 1998 Nov 2 05:13:35 roadwarrior /kernel: techie@roadwarrior.stanford.edu:/c1/3.0-current.t/src/sys/compile/ROADWARRIOR Nov 2 05:13:35 roadwarrior /kernel: Timecounter "i8254" frequency 1193182 Hz Nov 2 05:13:35 roadwarrior /kernel: CPU: Pentium/P55C (233.88-MHz 586-class CPU) Nov 2 05:13:35 roadwarrior /kernel: Origin = "GenuineIntel" Id = 0x543 Stepping=3 Nov 2 05:13:35 roadwarrior /kernel: Features=0x8001bf Nov 2 05:13:35 roadwarrior /kernel: real memory = 100663296 (98304K bytes) Nov 2 05:13:35 roadwarrior /kernel: avail memory = 95182848 (92952K bytes) Nov 2 05:13:35 roadwarrior /kernel: Probing for devices on PCI bus 0: Nov 2 05:13:35 roadwarrior /kernel: chip0: rev 0x01 on pci0.0.0 Nov 2 05:13:36 roadwarrior /kernel: chip1: rev 0x01 on pci0.1.0 Nov 2 05:13:36 roadwarrior /kernel: ide_pci0: rev 0x01 on pci0.1.1 Nov 2 05:13:36 roadwarrior /kernel: chip2: rev 0x01 int d irq 0 on pci0.1.2 Nov 2 05:13:36 roadwarrior /kernel: chip3: rev 0x01 on pci0.1.3 Nov 2 05:13:36 roadwarrior /kernel: vga0: rev 0xd3 int a irq 255 on pci0.2.0 Nov 2 05:13:36 roadwarrior /kernel: chip4: rev 0x02 int a irq 10 on pci0.3.0 Nov 2 05:13:36 roadwarrior /kernel: chip5: rev 0x02 int b irq 10 on pci0.3.1 Nov 2 05:13:37 roadwarrior /kernel: apm0 flags 0x31 on isa Nov 2 05:13:37 roadwarrior /kernel: apm: found APM BIOS version 1.2 Nov 2 05:13:37 roadwarrior /kernel: PC-Card VLSI 82C146 (5 mem & 2 I/O windows) Nov 2 05:13:37 roadwarrior /kernel: pcic: controller irq 3 Nov 2 05:13:37 roadwarrior /kernel: Initializing PC-card drivers: ed sio Nov 2 05:13:37 roadwarrior /kernel: Card inserted, slot 0 Nov 2 05:13:37 roadwarrior /kernel: Card inserted, slot 1 Nov 2 05:13:38 roadwarrior pccardd[46]: Ether=18:08:00:00:00:00 Nov 2 05:13:44 roadwarrior /kernel: ed0: address 18:08:00:00:00:00, type NE2000 (16 bit) Nov 2 05:13:54 roadwarrior /kernel: sio2: type 16550A Nov 2 05:13:54 roadwarrior pccardd[46]: pccardd started (doesn't work. wrong hardware address.) 2.2-stable Nov 2 06:08:09 roadwarrior /kernel: FreeBSD 2.2.7-STABLE #0: Sun Nov 1 16:39:08 PST 1998 Nov 2 06:08:09 roadwarrior /kernel: techie@roadwarrior.stanford.edu:/usr/src/sys/compile/ROADWARRIOR Nov 2 06:08:10 roadwarrior /kernel: CPU: Pentium/P55C (233.89-MHz 586-class CPU) Nov 2 06:08:10 roadwarrior /kernel: Origin = "GenuineIntel" Id = 0x543 Stepping=3 Nov 2 06:08:10 roadwarrior /kernel: Features=0x8001bf Nov 2 06:08:10 roadwarrior /kernel: real memory = 100663296 (98304K bytes) Nov 2 06:08:10 roadwarrior /kernel: avail memory = 95899648 (93652K bytes) Nov 2 06:08:10 roadwarrior /kernel: Probing for devices on PCI bus 0: Nov 2 06:08:10 roadwarrior /kernel: chip0 rev 1 on pci0:0:0 Nov 2 06:08:10 roadwarrior /kernel: chip1 rev 1 on pci0:1:0 Nov 2 06:08:10 roadwarrior /kernel: chip2 rev 1 on pci0:1:1 Nov 2 06:08:10 roadwarrior /kernel: chip3 rev 1 int d irq ?? on pci0:1:2 Nov 2 06:08:10 roadwarrior /kernel: chip4 rev 1 on pci0:1:3 Nov 2 06:08:10 roadwarrior /kernel: vga0 rev 211 int a irq ?? on pci0:2:0 Nov 2 06:08:10 roadwarrior /kernel: chip5 rev 2 int a irq 10 on pci0:3:0 Nov 2 06:08:10 roadwarrior /kernel: chip6 rev 2 int b irq 10 on pci0:3:1 Nov 2 06:08:11 roadwarrior /kernel: apm0 on isa Nov 2 06:08:11 roadwarrior /kernel: apm: found APM BIOS version 1.1 Nov 2 06:08:11 roadwarrior /kernel: PC-Card VLSI 82C146 (5 mem & 2 I/O windows) Nov 2 06:08:11 roadwarrior /kernel: pcic: controller irq 3 Nov 2 06:08:11 roadwarrior /kernel: Initializing PC-card drivers: ed sio Nov 2 06:08:11 roadwarrior /kernel: Card inserted, slot 1 Nov 2 06:08:12 roadwarrior /kernel: Card inserted, slot 0 Nov 2 06:08:18 roadwarrior /kernel: Slot 0, unfielded interrupt (0) Nov 2 06:08:18 roadwarrior /kernel: sio2: type 16550A Nov 2 06:08:23 roadwarrior pccardd[46]: Ether=18:08:00:00:00:00 Nov 2 06:08:28 roadwarrior /kernel: Slot 1, unfielded interrupt (0) Nov 2 06:08:28 roadwarrior /kernel: ed0: address 00:e0:98:01:a0:6c, type NE2000 (16 bit) Nov 2 06:08:28 roadwarrior pccardd[46]: pccardd started (works fine.) -- -- Welcome My Son, Welcome To The Machine -- Bob Vaughan | techie@w6yx.stanford.edu | kc6sxc@w6yx.ampr.org | techie@t.stanford.edu | KC6SXC@W6YX.#NCA.CA.USA.NOAM | P.O. Box 9792, Stanford, Ca 94309-9792 -- I am Me, I am only Me, And no one else is Me, What could be simpler? -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message