From owner-freebsd-current Thu Nov 4 23:20:30 1999 Delivered-To: freebsd-current@freebsd.org Received: from neptune.psn.net (neptune.psn.net [207.211.58.16]) by hub.freebsd.org (Postfix) with ESMTP id 9BF46158A2; Thu, 4 Nov 1999 23:20:22 -0800 (PST) (envelope-from andrews@technologist.com) Received: from 5042-243.008.popsite.net ([209.224.140.243] helo=argon) by neptune.psn.net with smtp (PSN Internet Service 2.12 #3) id 11jdef-0003JL-00; Fri, 5 Nov 1999 00:19:26 -0700 Message-Id: <3.0.6.32.19991105021908.008c1de0@mail.psn.net> X-Sender: andrews@mail.psn.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Fri, 05 Nov 1999 02:19:08 -0500 To: Bob Vaughan From: Will Andrews Subject: Re: boot problems with todays kernel Cc: current@FreeBSD.ORG, mdodd@FreeBSD.ORG, imp@FreeBSD.ORG In-Reply-To: <199911050644.WAA40360@tantivy.stanford.edu> References: <3.0.6.32.19991104222248.008b3e10@mail.psn.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ CC:'d to mdodd, imp as it relates to their current work ] At 10:44 PM 11/4/99 -0800, you wrote: >I'm now running into issues with pccard and the ep driver, where ep0 (3c574B) >is seen at boot time, at a familiar port/irq, but with a bogus mac address.. >(4b:57:4b:57:4b:57). ifconfig -a will immediately lock up the system, with a >reboot following a minute or two later.. >this only happens when there is a card inserted.. I have EXACTLY the same problems! Exactly the same PC-Card, exactly the same MAC address problem.. I even get that exact same MAC address - 4b:57:4b:57:4b:57! I've been looking over Matt Dodd's commit (-r1.91) to if_ep.c, and I think I may have figured out this problem. I'll need to do some testing first to see. I'll send a patch on Saturday if/when my fixes get the MAC address right. I suspect that if the fix gets the MAC address right, connectivity / kernel stability with if_ep will return. > roadwarrior /kernel: pcic0: at irq 10 on isa0 > roadwarrior /kernel: pccard0: on pcic0 > roadwarrior /kernel: pccard1: on pcic0 I believe I have the same PCIC controller. > roadwarrior /kernel: pccard: card inserted, slot 0 > roadwarrior pccardd[62]: Using I/O addr 0x240, size 32 > roadwarrior pccardd[62]: Setting config reg at offs 0x10000 to 0x41, Reset time = 50 ms > roadwarrior lpd[144]: restarted > roadwarrior pccardd[62]: Assigning I/O window 0, start 0x240, size 0x20 flags 0x7 > roadwarrior pccardd[62]: Assign ep0, io 0x240-0x25f, mem 0x0, 0 bytes, irq 3, flags 0 > roadwarrior /kernel: ep0: <3Com 3C574B, Megahertz 3CCFE574BT or Fast Etherlink 3C574-TX> at port 0x240-0x25f irq 3 slot 0 on pccard0 > roadwarrior /kernel: ep0: Ethernet address 4b:57:4b:57:4b:57 Hmm.. ep0 on IRQ 3? It should be on IRQ 10. At least, that's what has always worked for me on previous -CURRENT code. Otherwise I get the same last 2 messages. I note though that your PCIC is using IRQ 10. Normally, mine would use IRQ 11, and ep0 would use IRQ 10. > roadwarrior /kernel: Fatal trap 12: page fault while in kernel mode > roadwarrior /kernel: fault virtual address = 0x0 > roadwarrior /kernel: fault code = supervisor read, page not present > roadwarrior /kernel: instruction pointer = 0x8:0x0 > roadwarrior /kernel: stack pointer = 0x10:0xc7523de4 > roadwarrior /kernel: frame pointer = 0x10:0xc7523e08 > roadwarrior /kernel: code segment = base 0x0, limit 0xfffff, type 0x1b > roadwarrior /kernel: = DPL 0, pres 1, def32 1, gran 1 > roadwarrior /kernel: processor eflags = interrupt enabled, resume, IOPL = 0 > roadwarrior /kernel: current process = 310 (ifconfig) > roadwarrior /kernel: interrupt mask = net tty > roadwarrior /kernel: trap number = 12 > roadwarrior /kernel: panic: page fault > roadwarrior /kernel: > roadwarrior /kernel: syncing disks... 24 24 20 12 done > roadwarrior /kernel: Automatic reboot in 15 seconds - press a key on the console to abort Yep - this happens to me when i do a `ifconfig ep0`. Ka-boom. >roadwarrior /kernel: Mounting root from ufs:/dev/wd0s1a >roadwarrior /kernel: pccard: card inserted, slot 0 >roadwarrior pccardd[60]: Using I/O addr 0x240, size 32 >roadwarrior pccardd[60]: Setting config reg at offs 0x10000 to 0x41, Reset time = 50 ms >roadwarrior lpd[144]: restarted >roadwarrior pccardd[60]: Assigning I/O window 0, start 0x240, size 0x20 flags 0x7 >roadwarrior pccardd[60]: Assign ep0, io 0x240-0x25f, mem 0x0, 0 bytes, irq 3, flags 0 Again, I don't like that IRQ. I'll get back to y'all on the MAC address issue. Good night. -- Will Andrews GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w--- ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ G++>+++ e->++++ h! r-->+++ y? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message