ed0 broken
It seems that ed0 is broken. At least two days kernel compilation bombs with following messages: linking kernel if_ed_isa.o: In function `ed_isa_probe': if_ed_isa.o(.text+0x45): undefined reference to `ed_probe_WD80x3' if_ed_isa.o(.text+0x54): undefined reference to `ed_release_resources' if_ed_isa.o(.text+0x5a): undefined reference to `ed_probe_3Com' if_ed_isa.o(.text+0x69): undefined reference to `ed_release_resources' if_ed_isa.o(.text+0x6f): undefined reference to `ed_probe_Novell' if_ed_isa.o(.text+0x7e): undefined reference to `ed_release_resources' if_ed_isa.o(.text+0x84): undefined reference to `ed_probe_HP_pclanp' if_ed_isa.o(.text+0x93): undefined reference to `ed_release_resources' if_ed_isa.o(.text+0xa4): undefined reference to `ed_alloc_irq' if_ed_isa.o(.text+0xaf): undefined reference to `ed_release_resources' if_ed_isa.o: In function `ed_isa_attach': if_ed_isa.o(.text+0xf4): undefined reference to `ed_alloc_port' if_ed_isa.o(.text+0x10f): undefined reference to `ed_alloc_memory' if_ed_isa.o(.text+0x121): undefined reference to `ed_alloc_irq' if_ed_isa.o(.text+0x12e): undefined reference to `edintr' if_ed_isa.o(.text+0x15a): undefined reference to `ed_attach' if_ed_isa.o(.text+0x162): undefined reference to `ed_release_resources' *** Error code 1 1 error machine i386 cpu I586_CPU ident GENERIC maxusers 10 options FFS options FFS_ROOT options NFS options NFS_NOSERVER#Disable the NFS-server code. options MSDOSFS options CD9660 options INET #InterNETworking options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options NSWAPDEV=1 options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L options CLK_USE_I8254_CALIBRATION options CLK_USE_TSC_CALIBRATION controller isa0 controller pci0 device pcm0 at isa? port ? irq 5 drq 1 flags 0x10 controller fdc0 at isa? port IO_FD1 irq 6 drq 2 disk fd0 at fdc0 drive 0 controller ata0 at isa0 port IO_WD1 irq 14 controller ata1at isa? port IO_WD2 irq 15 device atadisk0 device atapicd0 controller atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0at atkbdc? irq 12 options PSM_HOOKAPM device vga0at isa? port ? conflicts options VESA options SC_PIXEL_MODE device sc0 at isa? device npx0 at nexus? port IO_NPX irq 13 device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device apm0 at nexus? controller card0 controller pcic0 at isa? controller pcic1 at isa? device ed0 options PCIC_RESUME_RESET options POWERFAIL_NMI device ppc0 at isa? port ? irq 7 controller ppbus0 controller plip0 at ppbus? # Various Pseudo-Devices pseudo-device loop pseudo-device ether pseudo-device pty 8 pseudo-device gzip pseudo-device splash options SYSVSHM options SYSVSEM options SYSVMSG To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: ed0 broken
On Sat, 16 Oct 1999, Maxim Sobolev wrote: It seems that ed0 is broken. At least two days kernel compilation bombs with following messages: Comment out sys/dev/ed/if_ed_isa.c in sys/i386/conf/files.i386 if you're going to make a kernel that uses PCCARD. Hopefully the recent changes to the PCCARD system will allow us to start using the newbus front end instead of the current hack that is in place. If people using laptops with -current aren't going to read their email then they should run -current. I suppose I could wrap if_ed_isa.c in the same nonesense that if_ed.c uses but I'd rather not as I suspect a fix is in the near term future. linking kernel if_ed_isa.o: In function `ed_isa_probe': if_ed_isa.o(.text+0x45): undefined reference to `ed_probe_WD80x3' if_ed_isa.o(.text+0x54): undefined reference to `ed_release_resources' if_ed_isa.o(.text+0x5a): undefined reference to `ed_probe_3Com' if_ed_isa.o(.text+0x69): undefined reference to `ed_release_resources' if_ed_isa.o(.text+0x6f): undefined reference to `ed_probe_Novell' if_ed_isa.o(.text+0x7e): undefined reference to `ed_release_resources' if_ed_isa.o(.text+0x84): undefined reference to `ed_probe_HP_pclanp' if_ed_isa.o(.text+0x93): undefined reference to `ed_release_resources' if_ed_isa.o(.text+0xa4): undefined reference to `ed_alloc_irq' if_ed_isa.o(.text+0xaf): undefined reference to `ed_release_resources' if_ed_isa.o: In function `ed_isa_attach': if_ed_isa.o(.text+0xf4): undefined reference to `ed_alloc_port' if_ed_isa.o(.text+0x10f): undefined reference to `ed_alloc_memory' if_ed_isa.o(.text+0x121): undefined reference to `ed_alloc_irq' if_ed_isa.o(.text+0x12e): undefined reference to `edintr' if_ed_isa.o(.text+0x15a): undefined reference to `ed_attach' if_ed_isa.o(.text+0x162): undefined reference to `ed_release_resources' *** Error code 1 1 error machine i386 cpu I586_CPU ident GENERIC maxusers 10 options FFS options FFS_ROOT options NFS options NFS_NOSERVER#Disable the NFS-server code. options MSDOSFS options CD9660 options INET #InterNETworking options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options NSWAPDEV=1 options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L options CLK_USE_I8254_CALIBRATION options CLK_USE_TSC_CALIBRATION controller isa0 controller pci0 device pcm0 at isa? port ? irq 5 drq 1 flags 0x10 controller fdc0 at isa? port IO_FD1 irq 6 drq 2 disk fd0 at fdc0 drive 0 controller ata0 at isa0 port IO_WD1 irq 14 controller ata1at isa? port IO_WD2 irq 15 device atadisk0 device atapicd0 controller atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0at atkbdc? irq 12 options PSM_HOOKAPM device vga0at isa? port ? conflicts options VESA options SC_PIXEL_MODE device sc0 at isa? device npx0 at nexus? port IO_NPX irq 13 device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device apm0 at nexus? controller card0 controller pcic0 at isa? controller pcic1 at isa? device ed0 options PCIC_RESUME_RESET options POWERFAIL_NMI device ppc0 at isa? port ? irq 7 controller ppbus0 controller plip0 at ppbus? # Various Pseudo-Devices pseudo-device loop pseudo-device ether pseudo-device pty 8 pseudo-device gzip pseudo-device splash options SYSVSHM options SYSVSEM options SYSVMSG To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | [EMAIL PROTECTED] | 2 x '84 Volvo 245DL| ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: ed0 broken
If people using laptops with -current aren't going to read their email then they should run -current. I suppose I could wrap if_ed_isa.c in the same nonesense that if_ed.c uses but I'd rather not as I suspect a fix is in the near term future. NO! Committers shouldn't commit code that is known not to compile. -- -- David([EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: ed0 broken
On Sat, 16 Oct 1999, Edwin Culp wrote: I had the same problem yesterday and Matthew Dodd sent me the following fix that worked fine. I recompiled the kernel and am now using it with ed0. Ok, if someone could test the following patch: ftp://ftp.jurai.net/users/winter/patches/if_ed_pccard.diff I'd appriciate it. download the patch, apply it in sys/dev/ed, edit files.i386 and uncomment sys/dev/ed/if_ed_pccard.c. Re-config make. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | [EMAIL PROTECTED] | 2 x '84 Volvo 245DL| ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: ed0 broken
At 2:19 PM -0400 10/16/99, Matthew N. Dodd wrote: On Sat, 16 Oct 1999, Edwin Culp wrote: I had the same problem yesterday and Matthew Dodd sent me the following fix that worked fine. I recompiled the kernel and am now using it with ed0. Ok, if someone could test the following patch: ftp://ftp.jurai.net/users/winter/patches/if_ed_pccard.diff I'd appriciate it. download the patch, apply it in sys/dev/ed, edit files.i386 and uncomment sys/dev/ed/if_ed_pccard.c. Re-config make. I've tried it, and if_ed_pccard.c compiles now (Warner, that addresses the error messages that I recently sent you mail about). ==Leonard Sitongia [EMAIL PROTECTED] http://www.users.uswest.net/~sitongia/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: ed0 broken
On Sat, 16 Oct 1999, Leonard Sitongia wrote: download the patch, apply it in sys/dev/ed, edit files.i386 and uncomment sys/dev/ed/if_ed_pccard.c. Re-config make. I've tried it, and if_ed_pccard.c compiles now (Warner, that addresses the error messages that I recently sent you mail about). But does it work? -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | [EMAIL PROTECTED] | 2 x '84 Volvo 245DL| ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: ed0 broken
At 2:47 PM -0400 10/16/99, Matthew N. Dodd wrote: On Sat, 16 Oct 1999, Leonard Sitongia wrote: download the patch, apply it in sys/dev/ed, edit files.i386 and uncomment sys/dev/ed/if_ed_pccard.c. Re-config make. I've tried it, and if_ed_pccard.c compiles now (Warner, that addresses the error messages that I recently sent you mail about). But does it work? No, but then I haven't ever gotten it working in the month or so that I've been running current on this Toshiba Portege 3110. Here's what happens: Oct 16 14:56:48 becker /kernel: pcic0: Intel i82365 at irq 15 on isa0 Oct 16 14:56:48 becker /kernel: pccard1: PC Card bus -- kludge version on pcic 0 ... Oct 16 14:56:48 becker /kernel: pccard: initalizing drivers: ep fe ... (plug a Linksys Ethernet card in:) Oct 16 14:58:37 becker /kernel: pccard: card inserted, slot 0 Oct 16 14:58:48 becker pccardd[42]: driver allocation failed for LINKSYS(E-CARD) : Device not configured This is the PCCARD kernel with no changes. All pccard stuff is enabled in rc.conf. ==Leonard Sitongia [EMAIL PROTECTED] http://www.users.uswest.net/~sitongia/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: ed0 broken
Leonard Sitongia wrote: At 2:47 PM -0400 10/16/99, Matthew N. Dodd wrote: On Sat, 16 Oct 1999, Leonard Sitongia wrote: download the patch, apply it in sys/dev/ed, edit files.i386 and uncomment sys/dev/ed/if_ed_pccard.c. Re-config make. I've tried it, and if_ed_pccard.c compiles now (Warner, that addresses the error messages that I recently sent you mail about). But does it work? No, but then I haven't ever gotten it working in the month or so that I've been running current on this Toshiba Portege 3110. Here's what happens: Oct 16 14:56:48 becker /kernel: pcic0: Intel i82365 at irq 15 on isa0 Oct 16 14:56:48 becker /kernel: pccard1: PC Card bus -- kludge version on pcic 0 ... Oct 16 14:56:48 becker /kernel: pccard: initalizing drivers: ep fe I don't see your ed driver. Is it in your kernel configuration file? You don't really need ep IMHO and I don't know what fe is :-) Mine says: pcic: pccard bridge VLSI 82C146 (5 mem 2 I/O windows) pcic: controller irq 9 pccard: initalizing drivers: ed Kernel config es deviceed0 no more ... (plug a Linksys Ethernet card in:) I always bring it up with the card in, cowards way out. Oct 16 14:58:37 becker /kernel: pccard: card inserted, slot 0 Oct 16 14:58:48 becker pccardd[42]: driver allocation failed for LINKSYS(E-CARD) : Device not configured This is the PCCARD kernel with no changes. All pccard stuff is enabled I've always had a problem with that and have resorted to configuring it in rc.local. sleep 10 ifconfig ed0 inet 192.168.1.27 netmask 255.255.255.0 route add default 192.168.1.1 Again cowards way out but works fine:-) Hope that helps, ed pccard.conf is io 0x240-0x360 irq 9 11 memory 0xd4000 96k # D-Link DE-660 NE2000 clone card "D-Link" "DE-660" config 0x20 "ed0" 11 # ether 0x81 insert /etc/pccard_ether ed0 remove /sbin/ifconfig ed0 delete in rc.conf. ==Leonard Sitongia [EMAIL PROTECTED] http://www.users.uswest.net/~sitongia/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: ed0 broken
"Matthew N. Dodd" wrote: On Sat, 16 Oct 1999, Edwin Culp wrote: I had the same problem yesterday and Matthew Dodd sent me the following fix that worked fine. I recompiled the kernel and am now using it with ed0. Ok, if someone could test the following patch: ftp://ftp.jurai.net/users/winter/patches/if_ed_pccard.diff I'd appriciate it. download the patch, apply it in sys/dev/ed, edit files.i386 and uncomment sys/dev/ed/if_ed_pccard.c. Re-config make. I tested it and it didn't quite work. It compiled clean and looked as if it were going to work, but a cut of the message when booting starting local daemons:Oct 16 19:02:28 local-27 pccardd[56]: driver allocation f ailed for D-Link(DE-660): Device not configured Oct 16 19:02:28 local-27 pccardd[56]: pccardd started ifconfig: interface ed0 does not exist route: writing to routing socket: Network is unreachable add net default: gateway 192.168.1.1: Network is unreachable This is a difference between the two dmesg's that I don't understand. This is from todays world and kernel. Oct 16 19:12:12 local-27 /kernel: pcic: polling, can't alloc 0 Oct 16 19:12:12 local-27 /kernel: pcic: polling, can't alloc 0 Oct 16 19:12:12 local-27 /kernel: pcic0: VLSI 82C146 on isa0 Oct 16 19:12:12 local-27 /kernel: pccard1: PC Card bus -- kludge version on pc ic0 Oct 16 19:12:12 local-27 /kernel: pccard2: PC Card bus -- kludge version on pc ic0 This is the kernel that works from yesterday. Oct 16 19:42:19 local-27 /kernel.old.safe: pcic: pccard bridge VLSI 82C146 (5 me m 2 I/O windows) Oct 16 19:42:19 local-27 /kernel.old.safe: pcic: controller irq 9 Oct 16 19:42:19 local-27 /kernel.old.safe: pccard: initalizing drivers: ed Hope that helps. I don't understand but will try to look it tomorrow morning when I'm fresh. I'll build a new world and two kernels and test them. Thanks, ed To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message