Re: boot2 problem
Alexey Zelkin wrote: It's pretty consistant with other OS's boot prompt. Ok, I see that I'll not get answer to my question except "do it otherwise". Actually, you got an answer, though you might have missed it. Boot2 does not have "/kernel" as default, but "/boot/loader". Thus, even if we did identify -v as a "parameter" and passed it to what is being loaded, it would be the loader that receives it. Alas, we just don't have a lot of space for boot2, and we'd rather not spend it on things like that. Rather, we decided to keep boot2 simple, and transfer all niceties to a new stage, the loader. Loader is fully featured, has an extended help, and includes a complete structured programming language. We can't fit all of this into boot2, obviously. And if we decided to add "just this feature" to boot2, where would we draw the line? As the requirements for the boot stage increase, so will boot2. It happened before, and that's why we now have a three stage loader. -- Daniel C. Sobral(8-DCS) [EMAIL PROTECTED] [EMAIL PROTECTED] "I always feel generous when I'm in the inner circle of a conspiracy to subvert the world order and, with a small group of allies, just defeated an alien invasion. Maybe I should value myself a little more?" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: jumping from 3.1 to 4.0
I'm using freebsd 3.1 release at one of my PCs. Today i tried to upgrade it to current. I read mail-archives and knew, that i had to compile kernel first. So i made new config and configured and build kernel. While booting loader prints the next error message and boot fails: /kernel text=0x202b9d elf_loadexec:archsw.readin failed can't load kernel What hould i do to upgrade to current? PS. answer to email please. I ran into a similar problem going from 3.1 to 3.3 -- don't remember the exact problem, and my notes are 40 miles away, but I ended up fixing it by cd'ing into the boot code section of the source tree and doing a "make ; make install".. The archive probably describes this in detail. mike To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
negative offset for bus_space_read ?
Hi. I'm in the processing of converting i4b to use newbus calls. The Teles S0/16.3 card has strange way to spread it's io adresses. For example if it is configured for 0xd80 it will use adresses at 0x960, 0x160 and 0x560. So using for example bus_space_read_1 to read from adress 0x160 will not work because the offset parameter is unsigned. Is there a more elegant way than to get the real adress and use inb ? -- German Tischler [EMAIL PROTECTED] [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: QIC ft0 driver support in 4.0-CURRENT gone?
On [19991016 04:00], jack ([EMAIL PROTECTED]) wrote: Today Julian Elischer wrote: hey If someone did adopt it then it wouldn't be a problem.. if no-on edoes then it can remain 'unsupported' unsupported != tucked away in the attic, out of reach of many/most users. Current != platform for users. Anyone tracking CURRENT should know how to use Attic. -- Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl The BSD Programmer's Documentation Project http://home.wxs.nl/~asmodai Network/Security SpecialistBSD: Technical excellence at its best Millions for defence but not one cent for tribute. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
ftp client
Anyone know what this is all about ? I'm using ``ftp -pV'' as my fetch command. Is ftpd on *all* these systems really stupid enough to time out the control channel when the data channels busy ? Should ftp be changed so that it does the occasional NOOP ? Attempting to fetch from ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/. Retrieving pub/comp/tex/teTeX/1.0/distrib/sources/teTeX-texmf-1.0.tar.gz 100% |**| 31442 KB00:00 ETA ftp: No control connection for command. Attempting to fetch from ftp://ftp.cdrom.com/pub/tex/ctan/systems/unix/teTeX/1.0/distrib/sources//. Retrieving pub/tex/ctan/systems/unix/teTeX/1.0/distrib/sources//teTeX-texmf-1.0.tar.gz 100% |**| 31442 KB00:00 ETA ftp: No control connection for command. Attempting to fetch from ftp://wuarchive.wustl.edu/packages/TeX/systems/unix/teTeX/1.0/distrib/sources//. Retrieving packages/TeX/systems/unix/teTeX/1.0/distrib/sources//teTeX-texmf-1.0.tar.gz 100% |**| 31442 KB00:00 ETA ftp: No control connection for command. Attempting to fetch from ftp://ftp.funet.fi/pub/TeX/CTAN/systems/unix/teTeX/1.0/distrib/sources//. Retrieving pub/TeX/CTAN/systems/unix/teTeX/1.0/distrib/sources//teTeX-texmf-1.0.tar.gz -- Brian [EMAIL PROTECTED][EMAIL PROTECTED] http://www.Awfulhak.org [EMAIL PROTECTED] Don't _EVER_ lose your sense of humour ! [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
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: temperature monitor for windowmaker
I got 63 bytes also. ed Maxim Sobolev wrote: Kenneth Culver wrote: For all those who mailed this list about the temperature monitor apps saying that the device wasn't configured, I have a preliminary version of an app that should work for you. I just finished writing it about 10 minutes ago, and it only shows temperatures, and only shows them in degrees C right now. In about 20 mins from now (9:00 PM EDT) you will be able to get this app from www.wam.umd.edu/~culverk/ Hm, is it only mine problem or that archive is really only 63 bytes long? wget -Y off http://www.wam.umd.edu/~culverk/wmtempmon-0.1.tar.gz --18:31:42-- http://www.wam.umd.edu:80/%7Eculverk/wmtempmon-0.1.tar.gz = `wmtempmon-0.1.tar.gz' Connecting to www.wam.umd.edu:80... connected! HTTP request sent, awaiting response... 200 OK Length: 63 [application/x-gzip] 0K -[100%] 18:32:17 (5.59 KB/s) - `wmtempmon-0.1.tar.gz' saved [63/63] -Maxim 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: QIC ft0 driver support in 4.0-CURRENT gone?
Today Jeroen Ruigrok/Asmodai wrote: On [19991016 04:00], jack ([EMAIL PROTECTED]) wrote: Today Julian Elischer wrote: hey If someone did adopt it then it wouldn't be a problem.. if no-on edoes then it can remain 'unsupported' unsupported != tucked away in the attic, out of reach of many/most users. Current != platform for users. Anyone tracking CURRENT should know how to use Attic. Agreed, but my original statement was: It might help if HARDWARE.TXT (both -current and -stable) didn't list floppy tapes. It refers to the driver as "stale" rather than gone. The driver has been listed that way through all of the 3.x releases, which is the platform for users, and will probably still be listed the same way when 4.0 is released. -- Jack O'NeillSystems Administrator / Systems Analyst [EMAIL PROTECTED] Crystal Wind Communications, Inc. Finger [EMAIL PROTECTED] for my PGP key. PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67 FD 09 E9 3C 5F CC EB CD enriched, vcard, HTML messages /dev/null -- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: jumping from 3.1 to 4.0
On Sat, 16 Oct 1999, Daniel C. Sobral wrote: What hould i do to upgrade to current? You need to install a new loader. cd /sys/boot; make depend make all install. I tried to so, but making new boot loader failedwith an error like 'use of undefined type in line 46' in ucontext.h. I do not remember the exact error message. It is far away from me right now. Maybe i should take already compiled loader? And would it boot freebsd 3.x kernel, if my upgrade fails again? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
current unable to attach USB, Power Mgmt, sound
Current as of 8. october attached USB, Power Mgmt, sound just fine. Current as of today no longer does. Here are the relevant bits of a dmesg diff: usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered --- uhci0: could not map ports device_probe_and_attach: uhci0 attach returned 6 intpm0: I/O mapped 5000 intpm0: intr IRQ 9 enabled revision 0 smbus0: System Management Bus on intsmb0 smb0: SMBus general purpose I/O on smbus0 intpm0: PM I/O mapped 4000 --- intpm0: Could not allocate Bus space device_probe_and_attach: intpm0 attach returned 6 pcm0: unable to map register space device_probe_and_attach: pcm0 attach returned 6 This is an Abit BP6 board with two Celeron 366, 256 MByte memory, one Soundblaster PCI 128 (pcm0) and one Hoontech (pcm1) sound card. Below is the complete dmesg from today's current, and the kernel config. (The "pci0: unknown card" is the HPT ATA-66 controller on the BP6 board.) It may be relevant that fxp0, pcm0 and uhci0 all use IRQ 19. However, fxp0 works just fine - I can login the machine across the net. Any ideas? Steinar Haug, Nethelp consulting, [EMAIL PROTECTED] -- Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Sat Oct 16 13:57:17 CEST 1999 [EMAIL PROTECTED]:/local/freebsd-current/src/sys/compile/BP6_MP Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Celeron (367.50-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real memory = 268435456 (262144K bytes) avail memory = 257048576 (251024K bytes) Programming 24 pins in IOAPIC #0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee0 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee0 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec0 Pentium Pro MTRR support enabled npx0: math processor on motherboard npx0: INT 16 interface pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard pci0: PCI bus on pcib0 pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 vga-pci0: ATI model 4742 graphics accelerator irq 16 at device 0.0 on pci1 isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 ide_pci0: Intel PIIX4 Bus-master IDE controller at device 7.1 on pci0 uhci0: Intel 82371AB/EB (PIIX4) USB controller irq 19 at device 7.2 on pci0 uhci0: could not map ports device_probe_and_attach: uhci0 attach returned 6 Timecounter "PIIX" frequency 3579545 Hz intpm0: Intel 82371AB Power management controller at device 7.3 on pci0 intpm0: Could not allocate Bus space device_probe_and_attach: intpm0 attach returned 6 pcm0: AudioPCI ES1370 irq 19 at device 9.0 on pci0 pcm0: unable to map register space device_probe_and_attach: pcm0 attach returned 6 ti0: Netgear GA620 Gigabit Ethernet irq 18 at device 11.0 on pci0 ti0: Ethernet address: 00:a0:cc:73:32:dd ncr0: ncr 53c875 fast20 wide scsi irq 17 at device 13.0 on pci0 pcm1: Trident 4DWave NX irq 16 at device 15.0 on pci0 fxp0: Intel EtherExpress Pro 10/100B Ethernet irq 19 at device 17.0 on pci0 fxp0: Ethernet address 00:a0:c9:b6:df:4b pci0: unknown card (vendor=0x1103, dev=0x0004) at 19.0 irq 18 pci0: unknown card (vendor=0x1103, dev=0x0004) at 19.1 irq 18 fdc0: NEC 72065B or clone at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5" drive on fdc0 drive 0 wdc0 at port 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa0 wdc0: unit 0 (wd0): IBM-DTTA-351010, DMA, 32-bit, multi-block-16 wd0: 9671MB (19807200 sectors), 19650 cyls, 16 heads, 63 S/T, 512 B/S atkbdc0: keyboard controller (i8042) at port 0x60-0x6f on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 vga0: Generic ISA VGA at port 0x3b0-0x3df iomem 0xa-0xb on isa0 sc0: System console on isa0 sc0: VGA 16 virtual consoles, flags=0x200 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0 at port 0x378-0x37f irq 7 flags 0x40 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: PLIP network interface on ppbus 0 lpt0: generic printer on ppbus 0 lpt0: Interrupt-driven port ppi0: generic parallel i/o on ppbus 0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 Waiting 3 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! Creating DISK cd0 changing root device to wd0s1d cd0 at ncr0 bus 0 target 3 lun 0 cd0: PLEXTOR CD-ROM PX-32TS 1.03 Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present
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: current unable to attach USB, Power Mgmt, sound
On Sat, 16 Oct 1999 [EMAIL PROTECTED] wrote: Current as of 8. october attached USB, Power Mgmt, sound just fine. Current as of today no longer does. Here are the relevant bits of a dmesg diff: I think I broke something with my last change to pci. Could you send me a verbose dmesg. -- Doug Rabson Mail: [EMAIL PROTECTED] Nonlinear Systems Ltd. Phone: +44 181 442 9037 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
wmtempmon temperature monitor app
Sorry for the inconvenience, it must have gotten corrupted somehow. It is fixed now, I just fixed it. Kenneth Culver To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
negative offset for bus_space_read ?
On Sat, 16 Oct 1999 11:55:11 +0200, German Tischler [EMAIL PROTECTED] said: Is there a more elegant way than to get the real adress and use inb ? You need to allocate resources for each distinct, non-contiguous range of ports separately. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same [EMAIL PROTECTED] | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick 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
-current problem: Network cards doesn't run
See ed0 When running a current kernel of some days ago, no problems. Were there perhaps changes in the last days that introduce this, that some NICs doesn't run ? Even the xl0 interface didn't run (DMZ). Ping to hosts in internet didn't succeed. Copyright (c) 1992-1999 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Sun Oct 17 00:40:49 CEST 1999 [EMAIL PROTECTED]:/usr/src/sys/compile/TITAN Timecounter "i8254" frequency 1193182 Hz CPU: Pentium Pro (199.43-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping = 9 Features=0xfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV real memory = 159383552 (155648K bytes) avail memory = 151044096 (147504K bytes) Programming 24 pins in IOAPIC #0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee0 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee0 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec0 Preloaded elf kernel "kernel" at 0xc030c000. Pentium Pro MTRR support enabled ccd0-3: Concatenated disk drivers npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 isab0: Intel 82371SB PCI to ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 chip1: Intel PIIX3 IDE controller at device 7.1 on pci0 vga-pci0: Matrox MGA 2064W graphics accelerator at device 10.0 on pci0 xl0: 3Com 3c900-COMBO Etherlink XL irq 19 at device 11.0 on pci0 xl0: Ethernet address: 00:60:97:aa:3a:db xl0: selecting 10baseT transceiver, half duplex pci0: unknown card (vendor=0x1102, dev=0x0002) at 12.0 irq 18 pci0: unknown card (vendor=0x1102, dev=0x7002) at 12.1 ahc0: Adaptec 2940 Ultra SCSI adapter irq 17 at device 13.0 on pci0 ahc0: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs ahc1: Adaptec 2940 Ultra SCSI adapter irq 16 at device 14.0 on pci0 ahc1: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs fdc0: NEC 72065B or clone at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5" drive on fdc0 drive 0 atkbdc0: keyboard controller (i8042) at port 0x60-0x6f on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: System console on isa0 sc0: VGA 4 virtual consoles, flags=0x200 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0 at port 0x378-0x37f irq 7 flags 0x40 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/15 bytes threshold plip0: PLIP network interface on ppbus 0 lpt0: generic printer on ppbus 0 lpt0: Interrupt-driven port ppi0: generic parallel i/o on ppbus 0 ed0 at port 0x280-0x29f iomem 0xd8000-0xdbfff irq 10 on isa0 ed0: address 00:00:c0:5a:98:2a, type WD8013EPC (16 bit) APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 IP packet filtering initialized, divert enabled, rule-based forwarding enabled, logging limited to 100 packets/entry by default DUMMYNET initialized (990811) Waiting 8 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! Creating DISK da0 Creating DISK da1 Creating DISK da2 Creating DISK da3 sa0 at ahc1 bus 0 target 4 lun 0 sa0: TANDBERG TDC 4222 =07: Removable Sequential Access SCSI-2 device sa0: 4.807MB/s transfers (4.807MHz, offset 8) Creating DISK cd0 Creating DISK cd1 changing root device to da0s2a cd1 at ahc1 bus 0 target 5 lun 0 cd1: TOSHIBA CD-ROM XM-5701TA 3136 Removable CD-ROM SCSI-2 device cd1: 10.000MB/s transfers (10.000MHz, offset 8) cd1: Attempt to query device size failed: NOT READY, Medium not present cd0 at ahc0 bus 0 target 6 lun 0 cd0: TEAC CD-R55S 1.0K Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present da3 at ahc0 bus 0 target 3 lun 0 da3: IBM DORS-32160 WA6A Fixed Direct Access SCSI-2 device da3: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da3: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C) da1 at ahc0 bus 0 target 1 lun 0 da1: IBM DORS-32160 WA6A Fixed Direct Access SCSI-2 device da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da1: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C) da0 at ahc0 bus 0 target 0 lun 0 da0: IBM DORS-32160 WA6A Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da0: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C) da2 at ahc0 bus 0 target 2 lun 0 da2: IBM DORS-32160 WA6A Fixed Direct Access SCSI-2 device da2: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da2: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C) ed0: remote transmit DMA failed to complete
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
Re: jumping from 3.1 to 4.0
"Ilmar S. Habibulin" wrote: On Sat, 16 Oct 1999, Daniel C. Sobral wrote: What hould i do to upgrade to current? You need to install a new loader. cd /sys/boot; make depend make all install. I tried to so, but making new boot loader failedwith an error like 'use of undefined type in line 46' in ucontext.h. I do not remember the exact error message. It is far away from me right now. Maybe i should take already compiled loader? And would it boot freebsd 3.x kernel, if my upgrade fails again? You could do that, and it would load your kernel. Your best option, though, it's to jump first to 3.3-stable. But before you do that, could you please give me the error log? Loader should have *not* been affected by the signal changes! -- Daniel C. Sobral(8-DCS) [EMAIL PROTECTED] [EMAIL PROTECTED] "I always feel generous when I'm in the inner circle of a conspiracy to subvert the world order and, with a small group of allies, just defeated an alien invasion. Maybe I should value myself a little more?" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make.conf options (was Re: package-like feature for the base distrib (was Re: FreeSSH))
In message 011801bf159c$f80630e0$[EMAIL PROTECTED], "Patrick Bihan- Faou" writes: Hi, From: Pierre Beyssac [EMAIL PROTECTED] There are a _lot_ of pitfalls to this kind of approach, as I have discovered using Linux Debian. This would probably open a can of worms you have no idea of. IMHO, the single biggest mistake in Debian is the all-encompassing package system which can make your life miserable in no time. [...] I was not talking about things that constitute the "real" core of the distribution (kernel, basic libraries etc.). I was more thinking about "userland" stuff that is included in the distribution but might not be required by everybody. Sendmail for example is something I don't want since I user qmail. However I have to remove it by hand... Other examples are bind or perl. You don't need to install them. Just put these in make.conf. NO_SENDMAIL= true NOPERL=true NOGAMES= true It might be a good idea to support NONAMED, NOUUCP, and NONFS, defines in make.conf. Since some like to use Qmail, Postfix, SSH, and Kerberos V, like BUILD_PORTS='postfix ssh krb5 XFree86' in make.conf would fetch new copies of distfiles (if you don't have them), de-install old versions, build and install the listed ports each time a make world is performed. We could so far as having a INSTALL_SUID_root='su passwd ...', INSTALL_SUID_man='man', INSTALL_SUID_uucp='uuname uustat uux ...' options, just to name three, which would list all of the setuid binaries in FreeBSD. You would remove the ones you don't need from the list when you secure your system. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Sun/DEC Team, UNIX GroupInternet: [EMAIL PROTECTED] ITSD [EMAIL PROTECTED] Province of BC "e**(i*pi)+1=0" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message