Re: Top, vmstat, systat, etc. Broken
/dev/null was not the problem. I removed and remade it. I am using the latest MAKEDEV. # ls -l /dev/null crw-rw-rw- 1 root wheel2, 2 Apr 3 13:40 /dev/null tomdean To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Top, vmstat, systat, etc. Broken
Aha! I am loading the kernel directly. 2:da(2,a)/kernel I looked in the archives, but, did not see anything. I am munging with a disk, da1. -current is on da2. 3.4 from the CD on da0. Next week I will have a boot manager again! tomdean To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: breakage in make release
There were some posts on -current in the past few days about binutils. I believe they were related. Look at the archive on FreeBSD, search current for binutils. tomdean To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Problems with Recent PPP Changes
A very careful reading of the man page shows: Note that two parsers will examine these escape sequences, so in order to have the `chat parser' see the escape character, it is necessary to escape it from the `command parser'. This means that in practice you should use two escapes, for example: So, I changed my set login to set login "TIMEOUT 5 ogin:-\\r-ogin: \\#xxx word: xx" ^^ and, it worked. I previously tried one escape for the '#'. But, two parsers see the login string. So, two escapes are needed. Thanks for the reply. tomdean To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: **HEADS UP** probable switch to Gcc 2.95.2 THIS weekend
I missed something, I think. # gcc --version egcs-2.91.66 What is the relationship? tomdean To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Make World Broken?
cvsup this evening. make world failed. /usr/src/crypto does not exist. tomdean = make world output == cd /usr/src/gnu/lib/libdialog; /usr/obj/usr/src/tmp/usr/bin/make beforeinstall install -C -o root -g wheel -m 444 /usr/src/gnu/lib/libdialog/dialog.h /usr/obj/usr/src/tmp/usr/include cd /usr/src/gnu/lib/libgmp; /usr/obj/usr/src/tmp/usr/bin/make beforeinstall install -C -o root -g wheel -m 444 /usr/src/gnu/lib/libgmp/../../../contrib/libgmp/gmp.h /usr/obj/usr/src/tmp/usr/include cd /usr/src/gnu/usr.bin/cc/cc1plus; /usr/obj/usr/src/tmp/usr/bin/make beforeinstall install -C -o root -g wheel -m 444 /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/egcs/gcc/cp/inc/exception /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/egcs/gcc/cp/inc/new /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/egcs/gcc/cp/inc/new.h /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/egcs/gcc/cp/inc/typeinfo /usr/obj/usr/src/tmp/usr/include/g++ cd /usr/src/secure/lib/libdes; /usr/obj/usr/src/tmp/usr/bin/make beforeinstall install -C -o root -g wheel -m 444 /usr/src/secure/lib/libdes/../../../crypto/libdes/des.h /usr/obj/usr/src/tmp/usr/include install: /usr/src/secure/lib/libdes/../../../crypto/libdes/des.h: No such file or directory *** Error code 71 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Is freebsd.org Down?
I attempted to reach the archives to search for a 3.1 boot floppy problem and cannot. Is www.freebsd.org down? tomdean To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Is freebsd.org Down?
I can get there, now. tomdean To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Boot Manager says F1 ?? for WINNT
I installed -current on a notebook with WINNT on the disk. The notebook has the ide disk limitation. So, I chopped the disk do get around it. Maybe I should buy a new notebook, but, this one works. Everything worked OK, except the boot manager. I get: F1 ?? F2 FreeBSD F3 ?? F4 FreeBSD Pressing F1 boots WINNT, F2 boots FreeBSD. The other partitions are not bootable. The disk slices are: 1. 400MB WINNT NTFS 2. 120 FreeBSD /, swap, and /var 3. 600MB WINNT NTFS 4. 960MB FreeBSD /usr FDISK recognizes the partition as NTFS, etc. How do I get something other than ?? for F1 and lose F3 and F4? tomdean To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
egcs, libstdc++, libg++, Class Library
I think I missed something, again. What is the current and near-future status of Class Libraries? libg++ is not updated. libstdc++ has some classes 'if 0'-ed out. I have a project that uses the string class and iostream. I cannot build it with -current as of Apr 11. Is the solution to get and install libg++? Or, is there a near-term fix for the egcs package? tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Make World Fails - minor and major conflict
I am running -current SMP as of last week. I cvsup'ed last night and started a 'Make -j12 world'. tomdean === usr.sbin/i4b/isdnmonitor cc -O2 -m486 -pipe -DDEBUG -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/usr.sbin/i4b/isdnmonitor/main.c gzip -cn /usr/src/usr.sbin/i4b/isdnmonitor/isdnmonitor.8 isdnmonitor.8.gz /usr/src/usr.sbin/i4b/isdnmonitor/main.c:103: `major' redeclared as different kind of symbol /usr/obj/usr/src/tmp/usr/include/sys/types.h:114: previous declaration of `major' /usr/src/usr.sbin/i4b/isdnmonitor/main.c:104: `minor' redeclared as different kind of symbol /usr/obj/usr/src/tmp/usr/include/sys/types.h:108: previous declaration of `minor' {standard input}: Assembler messages: {standard input}:1519: Fatal error: Symbol minor already defined. *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Make -j12 world Failed
I am running 4.0-current SMP as of Apr 29. I cvsup'ed this morning and at about 0950, started 'make -j12 world log.file'. I returned to find the machine frozen and the console blank. Pressing a key resulted in a high-pitched squeal and no other response. Could not ping the machine. Power-cycled to clear. I extracted some error messages from /var/log/messages and have attached dmesg. Make world stopped in the midst of making man pages. There were no errors reported in the log file. At 1020 this morning, there was an object inconsistant state: RPC: 1, RC: 0 message that repeated many times. The machine had been up for a week. I restarted make -j12 world and will build a new kernel, if make world is successful. tomdean = from /var/log/messages == ... May 9 22:56:54 celebris /kernel: da1 at ncr0 bus 0 target 1 lun 0 May 9 22:56:54 celebris /kernel: da1: QUANTUM FIREBALL ST3.2S 0F0C Fixed Direct Access SCSI-2 device May 9 22:56:54 celebris /kernel: da1: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled May 9 22:56:54 celebris /kernel: da1: 3090MB (6328861 512 byte sectors: 255H 63S/T 393C) May 9 22:56:54 celebris /kernel: changing root device to da1s1a May 9 22:56:57 celebris lpd[169]: restarted May 10 09:39:22 celebris su: tomdean to root on /dev/ttyp0 May 10 10:20:28 celebris /kernel: object inconsistant state: RPC: 1, RC: 0 May 10 10:21:03 celebris last message repeated 57 times May 10 10:23:04 celebris last message repeated 82 times May 10 10:23:11 celebris last message repeated 3 times May 10 15:49:41 celebris /kernel: Copyright (c) 1992-1999 The FreeBSD Project. May 10 15:49:41 celebris /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993 May 10 15:49:41 celebris /kernel: The Regents of the University of California. All rights reserved. May 10 15:49:41 celebris /kernel: FreeBSD 4.0-CURRENT #0: Thu Apr 29 16:25:13 PDT 1999 May 10 15:49:41 celebris /kernel: tomd...@celebris:/usr/src/sys/compile/CELEBRIS-SMP May 10 15:49:41 celebris /kernel: Timecounter i8254 frequency 1193182 Hz May 10 15:49:41 celebris /kernel: CPU: Pentium/P54C (586-class CPU) May 10 15:49:41 celebris /kernel: Origin = GenuineIntel Id = 0x525 Stepping=5 May 10 15:49:41 celebris /kernel: Features=0x3bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC May 10 15:49:41 celebris /kernel: real memory = 100663296 (98304K bytes) ... = dmesg 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: Thu Apr 29 16:25:13 PDT 1999 tomd...@celebris:/usr/src/sys/compile/CELEBRIS-SMP Timecounter i8254 frequency 1193182 Hz CPU: Pentium/P54C (586-class CPU) Origin = GenuineIntel Id = 0x525 Stepping=5 Features=0x3bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC real memory = 100663296 (98304K bytes) avail memory = 94916608 (92692K bytes) Programming 16 pins in IOAPIC #0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00030010, at 0xfee0 cpu1 (AP): apic id: 1, version: 0x00030010, at 0xfee0 io0 (APIC): apic id: 2, version: 0x000f0011, at 0xfec0 Preloaded elf kernel kernel at 0xc02c. npx0: math processor on motherboard npx0: INT 16 interface pcib0: PCI host bus adapter on motherboard pci0: PCI bus on pcib0 chip0: Intel 82434NX (Neptune) PCI cache memory controller at device 0.0 on pci0 ncr0: ncr 53c810 fast10 scsi at device 1.0 on pci0 ncr0: interrupting at irq 11 isab0: Intel 82378IB PCI to ISA bridge at device 2.0 on pci0 de0: Digital 21041 Ethernet at device 8.0 on pci0 de0: interrupting at irq 10 de0: DEC DE450-CA 21041 [10Mb/s] pass 1.1 de0: address 00:00:f8:02:76:db isa0: ISA bus on motherboard fdc0: interrupting at irq 6 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 at fdc0 drive 0 atkbdc0: keyboard controller (i8042) at port 0x60 on isa0 atkbd0: AT Keyboard on atkbdc0 atkbd0: interrupting at irq 1 psm0: PS/2 Mouse on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 psm0: interrupting at irq 12 vga0: Generic ISA VGA on isa0 sc0: System console on isa0 sc0: VGA color 16 virtual consoles, flags=0x0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio0: interrupting at irq 4 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio1: interrupting at irq 3 ppc0 at port 0x378-0x37f irq 7 on isa0 ppc0: PC87334 chipset (PS2/NIBBLE) in COMPATIBLE mode lpt0: generic printer on ppbus 0 lpt0: Interrupt-driven port ppc0: interrupting at irq 7 Intel Pentium detected, installing workaround for F00F bug APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 Waiting 10 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! (probe6:ncr0:0:6:0): COMMAND FAILED (6 ff) @0xc09ebe00. (probe5:ncr0:0:5:0): COMMAND FAILED (6 ff) @0xc09e9400. (probe4:ncr0:0:4:0): COMMAND FAILED (6 ff)
libstdc++
I lost the thread for this problem and it is not in the archives. I am running 4.0-current SMP, as of a couple hours ago, cvsup this morning. What was the solution to: /usr/lib/libstdc++.so.3: Undefined symbol __vt_7filebuf /usr/lib/libstdc++.so: undefined reference to `filebuf virtual table' /usr/lib/libstdc++.so: undefined reference to `stdiobuf virtual table' etc. tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: libstdc++
Some more information. c++ worked on Apr 12 and Apr 20. I did cvsup/make world/make kernel on: Apr 12 Apr 21 Apr 28 Apr 29 I believe the Apr 29 make world broke it. I used xpdf last night, after the make world. today, it complains of 'undefined symbol __vt_7filebuf' tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Time Driftine Really Fast
I am running 4.0-current SMP of Apr 21 16:51:36 1999. Time appears to be drifting very fast, ~300 sec in 8 hours. dmesg and config attached at the end. I am using CLK_USE_I8254_CALIBRATION. On 27 Apr at about 2000, the system appeared to freeze for several seconds, while lightly loaded, one user, using emacs to edit a small (10k?) text file. 27 Apr 08:02:47 ntpdate: adjust time server 192.5.41.40 offset 0.268785 27 Apr 23:54:17 ntpdate: step time server 192.5.41.40 offset 564.832098 27 Apr 23:54:24 ntpdate: adjust time server 192.5.41.40 offset 0.092320 27 Apr 23:54:46 ntpdate: adjust time server 192.5.41.40 offset 0.269666 27 Apr 23:55:41 ntpdate: step time server 192.5.41.40 offset 0.807377 28 Apr 08:39:52 ntpdate: step time server 192.5.41.40 offset 310.876164 28 Apr 08:40:25 ntpdate: adjust time server 192.5.41.40 offset 0.327690 28 Apr 08:48:28 ntpdate: step time server 192.5.41.40 offset 4.873418
Re: Time Driftine Really Fast
We had this discussion last September, along with Mike Smith. We discussed using the calibration stuff in config, and not to use CLK_CALIBRATION_LOOP. It was noted the 8254 was unstable and TSC could not be used to improve it. As a result of the conversation, I wound up with CLK_USE_I8254_CALIBRATION. The drift of the clock started lately, within the past month. My config entry dates to last September. I will stop using the 8254. Thanks, tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
LINT Question
I think I mis-directed this earlier. I am running 4.0-current SMP as of Apr 21. LINT has two versions of values for ports. One is in quotes and the other is not. For example, device npx0at nexus? port IO_NPX iosiz 0x0 flags 0x0 irq 13 device sio0at isa? port IO_COM1 tty flags 0x10 irq 4 The definition of IO_NPX and IO_COM1 have the same form in sys/isa/isareg.h, sys/i386/isa/isa.h, etc. Some time back, someone posted guidance like if it contains letters and numbers, quote it, otherwise don't. Which form should be used for these values? LINT shows ppc0 as a device and 'man ppc' says it is a controller. I believe earlier versions of LINT had ppc as a controller. Which is correct? sio1 is not in LINT, but it is in GENERIC. Some devices like fd have both fd0 and fd1. Since two serial ports is common should LINT have sio1? Newer machines are more likely to have two serial ports than two floppy drives. tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
new-bus Success
I am running 4.0-current SMP, cvsup today and built an hour ago. Everything seems OK. Great work. tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: Newbus in UPDATING
From: Jose Gabriel Marcelino gabr...@maquina.com vga0 at 0x3b0-0x3df maddr 0xa msize 131072 on isa fb0: vga0, vga, type:VGA (5), flags:0x700ff vga0: Generic ISA VGA on isa0 known problem. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
/etc/rc.conf or /etc/rc.conf.local
I see the latest /etc/defaults/rc.conf will include either or both of /etc/rc.conf or /etc/rc.conf.local. I only want to have one. Which is going to stay with us the longest? tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Updating ports after change to egcs
I am running 4.0-current of April 12. 1999. I just finished updating my ports after the change to egcs-2.91.66. I know they were OK as they were, but, I wanted to eliminate all the gcc compiled things. And, this was a good time. I had to fix a couple of applications with bad code. Everything else, all the FreeBSD-supplied parts, worked as intended. Looks like major changes can be made to FreeBSD and things settle down in a matter of a week, or so. This took a lot of work and cooperation on the part of many people. Thanks, tomdean The following ports built and installed flawlessly. XFree86-3.3.3.1/ghostscript-5.50/ modula-3-3.6/ unzip-5.40/ arc-5.21e/ ghostview-1.5/ modula-3-lib-3.6/ xco-1.3/ autoconf-2.13/ gmake-3.77/png-1.0.3/ xpdf-0.80/ automake-1.4/ jbigkit-1.0/ postgresql-6.4.2/ xpm-3.4k/ bzip2-0.9.0c/ jpeg-6b/ samba-2.0.3/xscreensaver-3.08/ cvsup-16.0/ lesstif-0.87.1/tcl-8.1.b1/ xv-3.10a/ dvi2xx-0.51a9/ lha-1.14d/ tcsh-6.08.00/ zip-2.2/ emacs-19.34b/ libtool-1.2/ tiff-3.4a/ fetchmail-5.0.0/m4-1.4/tk-8.1.b1/ tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
CVSUP, Make World, Patch mp_machdep.c, Make Kernel Works
I am running 4.0-current SMP, as of an hour ago, cvsup about noon, today. I have been holding off, watching the egcs development. It all works. egcs all appears to work, I rebuilt some applications. I did a cvsup, make world, and, after applying the patch to delay starting cpu#1, built a kernel and it all works. I tried building a kernel before I applied the patch and the hang problem was there. Great job in getting it all together. Now, to rebuild 37 ports! Thanks, core team tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: fd broken [!!!]
I submitted a PR. This is not a show-stopper. I have a system running 2.2.7. fd works on that one. So, I read/write floppies there. It is a pain, though. tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: fd broken
I have the same problem on 4.0-current SMP of Mon Feb 15 03:34:29 PST 1999. tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: Printing is vvveeerrryyy slow
My machine is a DEC Celebris 5133DP. The only device added since purchase was de0. This is a recent problem, within the past few months. Or, was I running polled before that? I used the default. From an old config, I see: device lpt0at isa? port? tty irq 7 vector lptintr dmesg: ncr0: ncr 53c810 fast10 scsi rev 0x02 int a irq 11 on pci0.1.0 vga0: Matrox MGA 2064W graphics accelerator rev 0x01 int a irq 9 on pci0.6.0 de0: Digital 21041 Ethernet rev 0x11 int a irq 10 on pci0.8.0 atkbd0 irq 1 on isa psm0 irq 12 on isa sio0 at 0x3f8-0x3ff irq 4 on isa sio1 at 0x2f8-0x2ff irq 3 on isa ppc0 at 0x378 irq 7 on isa fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa config: controller fdc0at isa? port IO_FD1 bio irq 6 drq 2 vector fdintr device atkbd0 at isa? tty irq 1 device psm0at isa? tty irq 12 device npx0at isa? port IO_NPX irq 13 vector npxintr device sio0at isa? port IO_COM1 tty irq 4 vector siointr device sio1at isa? port IO_COM2 tty irq 3 vector siointr controller ppc0at isa? port ? tty irq 7 I think this accounts for everything. tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: Printing is vvveeerrryyy slow
Changing to polled improved things, somewhat. Printing a 30k postscript file takes 2 minutes. Sending an 9368 byte binary, printer control and setup file takes approximately 1 minute. This is very slow. I will try to setup a DOS or WINNT machine to duplicate this. tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: Printing is vvveeerrryyy slow
Just to be clear, when I said the values from dmesg and config covered everything, I mean all the physical and/or BIOS devices are included in the list. There are TWO cards plugged into the MB, other than the CPU's. These are de0 and the vga. The on-mother-board devices are all in dmesg. There are no irq's in BIOS, other than some of those in dmesg, parallel, serial, and, PS/2. There are no other devices. tomdean === all of dmesg Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #4: Mon Feb 15 03:34:29 PST 1999 tomd...@celebris:/usr/src/sys/compile/CELEBRIS-SMP Timecounter-tdd i8254 frequency 1193026 Hz cost 2540 ns CPU: Pentium/P54C (586-class CPU) Origin = GenuineIntel Id = 0x525 Stepping=5 Features=0x3bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC real memory = 100663296 (98304K bytes) avail memory = 95055872 (92828K bytes) Programming 16 pins in IOAPIC #0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00030010, at 0xfee0 cpu1 (AP): apic id: 1, version: 0x00030010, at 0xfee0 io0 (APIC): apic id: 2, version: 0x000f0011, at 0xfec0 Preloaded elf kernel kernel at 0xf02b. Probing for devices on PCI bus 0: chip0: Intel 82434NX (Neptune) PCI cache memory controller \ rev 0x11 on pci0.0.0 ncr0: ncr 53c810 fast10 scsi rev 0x02 int a irq 11 on pci0.1.0 chip1: Intel 82378IB PCI to ISA bridge rev 0x88 on pci0.2.0 vga0: Matrox MGA 2064W graphics accelerator rev 0x01 int a irq 9 on pci0.6.0 de0: Digital 21041 Ethernet rev 0x11 int a irq 10 on pci0.8.0 de0: DEC DE450-CA 21041 [10Mb/s] pass 1.1 de0: address 00:00:f8:02:76:db Probing for devices on the ISA bus: sc0 on isa sc0: VGA color 16 virtual consoles, flags=0x0 atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A ppc0 at 0x378 irq 7 on isa ppc0: PC87334 chipset (PS2/NIBBLE) in COMPATIBLE mode lpt0: generic printer on ppbus 0 lpt0: Interrupt-driven port fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in fd0: 1.44MB 3.5in vga0 at 0x3b0-0x3df maddr 0xa msize 131072 on isa npx0 on motherboard npx0: INT 16 interface Intel Pentium detected, installing workaround for F00F bug APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 de0 XXX: driver didn't set ifq_maxlen lo0 XXX: driver didn't set ifq_maxlen Waiting 5 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! da0 at ncr0 bus 0 target 0 lun 0 da0: QUANTUM FIREBALL1080S 1Q09 Fixed Direct Access SCSI-2 device da0: 10.0MB/s transfers (10.0MHz, offset 8) da0: 1042MB (2134305 512 byte sectors: 255H 63S/T 132C) da2 at ncr0 bus 0 target 2 lun 0 da2: QUANTUM EMPIRE_1080S 1240 Fixed Direct Access SCSI-2 device da2: 10.0MB/s transfers (10.0MHz, offset 8), Tagged Queueing Enabled da2: 1029MB (2109376 512 byte sectors: 255H 63S/T 131C) da1 at ncr0 bus 0 target 1 lun 0 da1: QUANTUM FIREBALL ST3.2S 0F0C Fixed Direct Access SCSI-2 device da1: 10.0MB/s transfers (10.0MHz, offset 8), Tagged Queueing Enabled da1: 3090MB (6328861 512 byte sectors: 255H 63S/T 393C) changing root device to da1s1a cd0 at ncr0 bus 0 target 5 lun 0 cd0: TOSHIBA CD-ROM XM-5401TA 3605 Removable CD-ROM SCSI-2 device cd0: 4.237MB/s transfers (4.237MHz, offset 8) cd0: Attempt to query device size failed: NOT READY, Medium not present (da1:ncr0:0:1:0): tagged openings now 8 To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Printing is vvveeerrryyy slow
I am running smp, 4.0-current, as of Mon Feb 15 03:34:29 PST 1999. Printing is very slow. I have a HP LaserJet III attached to lpt0. Printing in the pcl, text, mode is slower than I expect. Printing in the postscipt mode is extremely slow. A 30K postscript file has been OVER 5 minutes and is not finished!
egcs and gcc
I installed egcs from the port. eg++ produces larger binaries than g++. From this trivial example, I would expect these files to be very similar in size. obj_size exe_size strip_exe_size -- g++ 972 7150 5464 eg++ 118829954776792 eg++ seems to produce faster executables. tomdean == the code == #! /bin/sh doit() { echo # $1 $1 } == the output == # g++ --version 2.7.2.1 # g++ -m486 -O2 -c hello.cc # ls -l hello.o -rw-r--r-- 1 tomdean users 972 Mar 1 09:33 hello.o # g++ -m486 -O2 hello.cc -o hello # ls -l hello -rwxr-xr-x 1 tomdean users 7150 Mar 1 09:33 hello # file hello hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), \ dynamically linked, not stripped # strip hello # ls -l hello -rwxr-xr-x 1 tomdean users 5464 Mar 1 10:02 hello # file hello hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), \ dynamically linked, stripped # time hello Hello, world. 0.07 real 0.05 user 0.02 sys # eg++ --version egcs-2.91.60 # eg++ -m486 -O2 -c hello.cc # ls -l hello.o -rw-r--r-- 1 tomdean users 1188 Mar 1 09:33 hello.o # eg++ -m486 -O2 hello.cc -o hello # ls -l hello -rwxr-xr-x 1 tomdean users 299547 Mar 1 09:33 hello # file hello hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), \ dynamically linked, not stripped # strip hello # ls -l hello -rwxr-xr-x 1 tomdean users 76792 Mar 1 10:02 hello # file hello hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), \ dynamically linked, stripped # time hello Hello, world. 0.02 real 0.00 user 0.02 sys To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: egcs and gcc
As suspected, eg++ is using libstdc++.a, not libstdc++.so.2, as it should. How does this get fixed? tomdean == # g++ -m486 -O2 hello.cc -o hello # ldd hello hello: libg++.so.4 = /usr/lib/libg++.so.4 (0x28051000) libstdc++.so.2 = /usr/lib/libstdc++.so.2 (0x28093000) libm.so.2 = /usr/lib/libm.so.2 (0x280ce000) libc.so.3 = /usr/lib/libc.so.3 (0x280e9000) # eg++ -m486 -O2 hello.cc -o hello # ldd hello hello: libm.so.2 = /usr/lib/libm.so.2 (0x2805e000) libc.so.3 = /usr/lib/libc.so.3 (0x28079000) To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: egcs and gcc
# pwd; ls /usr/local/lib/gcc-lib/i386-unknown-freebsd4.0/egcs-2.91.60 SYSCALLS.c.Xcollect2* crtend.olibg2c.alibstdc++.a cc1*cpp*crtendS.o libgcc.aspecs cc1obj* crtbegin.o f771* libiberty.a cc1plus*crtbeginS.o include/libobjc.a No shared libs! My Makefile has 'enable_shared = no'
Re: egcs and gcc
... eg++ is totally incompatable with g++ 2.7.x. ... -- David(obr...@nuxi.com -or- obr...@freebsd.org) Aha! Thanks, tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
lpt0 Not Found
I changed to the new nlpt. No luck. It appears that the parallel port is not found. I am running SMP-current, as of this afternoon. From uname -a: ... FreeBSD 4.0-CURRENT #0: Sat Feb 13 16:11:56 PST 1999 In my config, I changed to include ppbus0, nlpt0, and ppc0, exactly as in LINT: snip # Parallel-Port Bus # nlpt Parallel Printer controller ppbus0 # devicelpt0at isa? port? tty irq 7 vector lptintr controller ppc0at isa? disable port ? tty irq 7 device nlpt0 at ppbus? snip tomdean == dmesg == Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Sat Feb 13 16:11:56 PST 1999 tomd...@celebris:/usr/src/sys/compile/CELEBRIS-SMP Timecounter i8254 frequency 1193025 Hz CPU: Pentium/P54C (586-class CPU) Origin = GenuineIntel Id = 0x525 Stepping=5 Features=0x3bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC real memory = 100663296 (98304K bytes) avail memory = 95055872 (92828K bytes) Programming 16 pins in IOAPIC #0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00030010, at 0xfee0 cpu1 (AP): apic id: 1, version: 0x00030010, at 0xfee0 io0 (APIC): apic id: 2, version: 0x000f0011, at 0xfec0 Preloaded elf kernel kernel at 0xf02b. Probing for devices on PCI bus 0: chip0: Intel 82434NX (Neptune) PCI cache memory controller rev 0x11 on pci0.0.0 ncr0: ncr 53c810 fast10 scsi rev 0x02 int a irq 11 on pci0.1.0 chip1: Intel 82378IB PCI to ISA bridge rev 0x88 on pci0.2.0 vga0: Matrox MGA 2064W graphics accelerator rev 0x01 int a irq 9 on pci0.6.0 de0: Digital 21041 Ethernet rev 0x11 int a irq 10 on pci0.8.0 de0: DEC DE450-CA 21041 [10Mb/s] pass 1.1 de0: address 00:00:f8:02:76:db Probing for devices on the ISA bus: sc0 on isa sc0: VGA color 16 virtual consoles, flags=0x0 atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in fd0: 1.44MB 3.5in vga0 at 0x3b0-0x3df maddr 0xa msize 131072 on isa npx0 on motherboard npx0: INT 16 interface stray irq 7 Intel Pentium detected, installing workaround for F00F bug APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 de0 XXX: driver didn't set ifq_maxlen lo0 XXX: driver didn't set ifq_maxlen Waiting 5 seconds for SCSI devices to settle (probe3:ncr0:0:3:0): COMMAND FAILED (6 ff) @0xf09dc000. (probe2:ncr0:0:2:0): COMMAND FAILED (6 ff) @0xf09dc600. (probe1:ncr0:0:1:0): COMMAND FAILED (6 ff) @0xf09dcc00. (probe0:ncr0:0:0:0): COMMAND FAILED (6 ff) @0xf09ba200. SMP: AP CPU #1 Launched! da0 at ncr0 bus 0 target 0 lun 0 da0: QUANTUM FIREBALL1080S 1Q09 Fixed Direct Access SCSI-2 device da0: 10.0MB/s transfers (10.0MHz, offset 8) da0: 1042MB (2134305 512 byte sectors: 255H 63S/T 132C) da2 at ncr0 bus 0 target 2 lun 0 da2: QUANTUM EMPIRE_1080S 1240 Fixed Direct Access SCSI-2 device da2: 10.0MB/s transfers (10.0MHz, offset 8), Tagged Queueing Enabled da2: 1029MB (2109376 512 byte sectors: 255H 63S/T 131C) da1 at ncr0 bus 0 target 1 lun 0 da1: QUANTUM FIREBALL ST3.2S 0F0C Fixed Direct Access SCSI-2 device da1: 10.0MB/s transfers (10.0MHz, offset 8), Tagged Queueing Enabled da1: 3090MB (6328861 512 byte sectors: 255H 63S/T 393C) changing root device to da1s1a cd0 at ncr0 bus 0 target 5 lun 0 cd0: TOSHIBA CD-ROM XM-5401TA 3605 Removable CD-ROM SCSI-2 device cd0: 4.237MB/s transfers (4.237MHz, offset 8) cd0: Attempt to query device size failed: NOT READY, Medium not present (da1:ncr0:0:1:0): tagged openings now 8 To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: lpt0 Not Found -- FOUND IT
I found my problem. I did a cut-paste from LINT. # Parallel-Port Bus # nlpt Parallel Printer controller ppbus0 # devicelpt0at isa? port? tty irq 7 vector lptintr device nlpt0 at ppbus? controller ppc0at isa? disable port ? tty irq 7 ^^^ | Should LINT be changed? Most machines using this will have printers. tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: some woes about rc.conf.site (solution)
I agree with this approach. However, I believe this is OBE. Jkh just committed the changes to cvs. Having the default values at the head of rc makes more sense. To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
was: some woes about rc.conf.site
This looks like a good addition to rc.conf(5). A description of what the inventor(s) intended when adding rc.conf.site and rc.conf.local to the system. Typically I use 'sysinstall' exactly once in one machine's lifetime. My old method of dealing with 'rc.conf' and 'rc.conf.local' was: = sysinstall generates a modified rc.conf mv rc.conf.site rc.conf.local = cp /usr/src/etc/rc.conf rc.conf = vi rc.conf.local delete all the lines not suitable for rc.conf.local after making a new world: diff /etc/rc.conf /usr/src/etc/rc.conf = have a close look at the 'diffs' and check if any of the changes conflict with my current rc.conf.local. or, if there are any additions needed to my rc.conf.local. If there are diffs, cp /usr/src/etc/rc.conf /etc Now, with 'rc.conf.site' I just don't have to bother with rc.conf after a fresh installation. I would just move rc.conf.site to rc.conf.local and then procede as earlier mentioned. tomdean To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Reboot and Message Logging Problems
Sorry for the long lines, I want to show garbled/split messages. I am running an SMP kernel, -current as of last night. I can look through logs back to early April, 1998, if necessary. If I use reboot or shutdown -r, the top part of dmesg does not appear in /var/log/messages. The amount of dmesg that gets into the log file seems to vary. If I use shutdown -h, all of dmesg gets into the log file. Some messages get garbled. All su's do not get logged. All of these, except the su problem, are minor. I will supply the entire message file, if anyone wants it. Refer to the list attached: su not logged Feb 5 17:15:07 I used reboot Feb 5 17:06:08 I used shutdown -h Feb 5 17:08:41 I used shutdown -r Feb 5 17:15:07 Garbled messages: Feb 5 17:07:12 only the last part of the chip 0 message Feb 5 17:10:01 the chip 1 message split Start point in dmesg varies Feb 5 17:07:12 started at memory controller Feb 5 17:10:01 started at the top Feb 5 17:16:10 started with kernel address tomdean from /var/log/messages == Feb 5 17:00:00 celebris newsyslog[293]: logfile turned over Feb 5 17:01:38 celebris su: tomdean to root on /dev/ttyp0 Feb 5 17:06:08 celebris reboot: rebooted by tomdean Feb 5 17:06:08 celebris syslogd: exiting on signal 15 Feb 5 17:07:12 celebris /kernel: e memory controller rev 0x11 on pci0.0.0 Feb 5 17:07:12 celebris /kernel: ncr0: ncr 53c810 fast10 scsi rev 0x02 int a irq 11 on pci0.1.0 Feb 5 17:07:12 celebris /kernel: chip1: Intel 82378IB PCI to ISA bridge rev 0x88 on pci0.2.0 Feb 5 17:07:12 celebris /kernel: vga0: Matrox MGA 2064W graphics accelerator rev 0x01 int a irq 9 on pci0.6.0 Feb 5 17:07:12 celebris /kernel: de0: Digital 21041 Ethernet rev 0x11 int a irq 10 on pci0.8.0 Feb 5 17:07:12 celebris /kernel: de0: DEC DE450-CA 21041 [10Mb/s] pass 1.1 Feb 5 17:07:12 celebris /kernel: de0: address 00:00:f8:02:76:db Feb 5 17:07:12 celebris /kernel: Probing for devices on the ISA bus: Feb 5 17:07:12 celebris /kernel: sc0 on isa Feb 5 17:07:12 celebris /kernel: sc0: VGA color 16 virtual consoles, flags=0x0 Feb 5 17:07:12 celebris /kernel: atkbdc0 at 0x60-0x6f on motherboard Feb 5 17:07:12 celebris /kernel: atkbd0 irq 1 on isa Feb 5 17:07:12 celebris /kernel: psm0 irq 12 on isa Feb 5 17:07:12 celebris /kernel: psm0: model Generic PS/2 mouse, device ID 0 Feb 5 17:07:12 celebris /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa Feb 5 17:07:12 celebris /kernel: sio0: type 16550A snip Feb 5 17:08:27 celebris su: tomdean to root on /dev/ttyp0 Feb 5 17:08:41 celebris shutdown: halt by tomdean: Feb 5 17:08:43 celebris syslogd: exiting on signal 15 Feb 5 17:10:01 celebris /kernel: Copyright (c) 1992-1999 FreeBSD Inc. Feb 5 17:10:01 celebris /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993 Feb 5 17:10:01 celebris /kernel: The Regents of the University of California. All rights reserved. Feb 5 17:10:01 celebris /kernel: FreeBSD 4.0-CURRENT #6: Fri Feb 5 17:05:47 PST 1999 Feb 5 17:10:01 celebris /kernel: tomd...@celebris:/usr/src/sys/compile/CELEBRIS-SMP Feb 5 17:10:01 celebris /kernel: Timecounter-tdd i8254 frequency 1193182 Hz cost 2540 ns Feb 5 17:10:01 celebris /kernel: CPU: Pentium/P54C (586-class CPU) Feb 5 17:10:01 celebris /kernel: Origin = GenuineIntel Id = 0x525 Stepping=5 Feb 5 17:10:01 celebris /kernel: Features=0x3bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC Feb 5 17:10:01 celebris /kernel: real memory = 100663296 (98304K bytes) Feb 5 17:10:01 celebris /kernel: avail memory = 95076352 (92848K bytes) Feb 5 17:10:01 celebris /kernel: Programming 16 pins in IOAPIC #0 Feb 5 17:10:01 celebris /kernel: FreeBSD/SMP: Multiprocessor motherboard Feb 5 17:10:01 celebris /kernel: cpu0 (BSP): apic id: 0, version: 0x00030010, at 0xfee0 Feb 5 17:10:01 celebris /kernel: cpu1 (AP): apic id: 1, version: 0x00030010, at 0xfee0 Feb 5 17:10:01 celebris /kernel: io0 (APIC): apic id: 2, version: 0x000f0011, at 0xfec0 Feb 5 17:10:01 celebris /kernel: Preloaded elf kernel kernel at 0xf02ab000. Feb 5 17:10:01 celebris /kernel: Probing for devices on PCI bus 0: Feb 5 17:10:01 celebris /kernel: chip0: Intel 82434NX (Neptune) PCI cache memory controller rev 0x11 on pci0.0.0 Feb 5 17:10:01 celebris /kernel: ncr0: ncr 53c810 fast10 scsi rev 0x02 int a irq 11 on pci0.1.0 Feb 5 17:10:01 celebris /kernel: chip1: I Feb 5 17:10:01 celebris /kernel: ntel 82378IB PCI to ISA bridge rev 0x88 on pci0.2.0 Feb 5 17:10:01 celebris /kernel: vga0: Matrox MGA 2064W graphics accelerator rev 0x01 int a irq 9 on pci0.6.0 Feb 5 17:10:01 celebris /kernel: de0: Digital 21041 Ethernet rev 0x11 int a irq 10 on pci0.8.0 Feb 5 17:10:01 celebris /kernel: de0: DEC DE450-CA 21041 [10Mb/s] pass 1.1 Feb 5 17:10:01 celebris /kernel: de0: address 00:00:f8:02:76:db Feb 5 17:10:01 celebris /kernel: Probing for devices on the ISA bus: Feb 5 17:10:01 celebris /kernel: sc0 on isa Feb 5 17:10:01 celebris /kernel: