Date: Fri, 05 Nov 1999 02:19:08 -0500 From: Will Andrews <andrews@technologist.com> To: Bob Vaughan <techie@tantivy.stanford.edu> Cc: current@FreeBSD.ORG, mdodd@FreeBSD.ORG, imp@FreeBSD.ORG Subject: Re: boot problems with todays kernel Message-ID: <3.0.6.32.19991105021908.008c1de0@mail.psn.net> In-Reply-To: <199911050644.WAA40360@tantivy.stanford.edu> References: <3.0.6.32.19991104222248.008b3e10@mail.psn.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[ 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: <VLSI 82C146> at irq 10 on isa0 > roadwarrior /kernel: pccard0: <PC Card bus -- kludge version> on pcic0 > roadwarrior /kernel: pccard1: <PC Card bus -- kludge version> 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 <andrews@technologist.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.6.32.19991105021908.008c1de0>