Re: preadv() / pwritev()
And a man page link fix to top it off... Marc --- src/lib/libc/sys/Makefile.inc Wed Apr 7 11:07:47 2004 +++ src/lib/libc/sys/Makefile.inc Wed Apr 27 11:02:02 2005 @@ -127,7 +127,7 @@ MLINKS+=modnext.2 modfnext.2 MLINKS+=mount.2 nmount.2 mount.2 unmount.2 MLINKS+=pathconf.2 fpathconf.2 -MLINKS+=read.2 pread.2 read.2 readv.2 +MLINKS+=read.2 pread.2 read.2 readv.2 preadv.2 MLINKS+=recv.2 recvfrom.2 recv.2 recvmsg.2 MLINKS+=send.2 sendmsg.2 send.2 sendto.2 MLINKS+=setpgid.2 setpgrp.2 @@ -141,7 +141,7 @@ MLINKS+=truncate.2 ftruncate.2 MLINKS+=utimes.2 futimes.2 utimes.2 lutimes.2 MLINKS+=wait.2 wait3.2 wait.2 wait4.2 wait.2 waitpid.2 -MLINKS+=write.2 pwrite.2 write.2 writev.2 +MLINKS+=write.2 pwrite.2 write.2 writev.2 pwritev.2 .if !defined(NO_P1003_1B) MLINKS+=sched_get_priority_max.2 sched_get_priority_min.2 \ sched_get_priority_max.2 sched_rr_get_interval.2 pgpPvqd2ELntG.pgp Description: PGP signature
Problems with Display
Good day; I am having some difficulty with the installation of version 5.3 on a Ultra 60 system. It seems like everything goes fine but, the console display goes south. Everything else seems to be working ok but, the console isn't. Remote access to this box is working fine. Here's the last group of lines from dmesg: Apr 19 06:02:33 sun syslogd: kernel boot file is /boot/kernel/kernel ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib Starting local daemons: . Updating motd . Starting sshd. Initial sparc64 initialization: . Additional ABI support: . Starting cron. Local package initialization: NTP . Additional TCP options: . Starting inetd. Starting background file system checks in 60 seconds. Tue Apr 19 06:02:37 EDT 2005 Apr 19 06:02:37 sun getty[423]: open /dev/screen: No such file or directory There is no /dev/screen file but, there is a /dev/screen:r1280x1024x60 file I tried making a link to this file in hopes it would fix it but, after a reboot, my link was gone. Can someone point me in the right direction? Any help would be greatly appreciated. Thank you -- ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
viapm / vt8235 ?
Hi all! I've got a Via Epia PD6000E, which has a VT8235 onboard - I've seen a kernel patch for viapm.c at http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/62438 It helped as the device is found - BUT after a few seconds, I get a panic: viapropm: SMBus I/O Base at 0x6000 ... Mounting root from ufs:/dev/ad0s1a kernel trap 12 with interrupts disabled Page fault virtual addr = 0x6c instruction ptr = 0x8:0xc04c4d11 current process 58 (sysctl) Well, the DDB says: dbtrace turnstile_setowner turnstile_wait _mtx_load_step sysctl_kern_ttys sysctl_root userland_sysctl _sysctl syscall(2f,2f,2f,2f,2,bfbfe4ac) Xint0x80:syscakk --- syscall (202, , ) eip=0x280c2757 if started up without viapm.ko loaded, pciconf -l tells: [EMAIL PROTECTED]:17:0 class=0x060100 card=0xaa011106 chip=31771106 Has anyone seen similiar problems ? And additionally already solved ? I want to use this bus to access external devices via i2c; I think bitbanger via i2cbb / ppbus is not an option; as I need the printer port already George ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Multithreaded program crashes on SMP (HT enabled) machine
Hello, I have a multithreaded application ported on FreeBSD 5.3 which crashes in a minute or less if hyperthreading in enabled. Without HT there is no problem. How and where should I start to investigate the problem? The backtrace: (gdb) bt #0 0x2819631b in pthread_testcancel () from /usr/lib/libpthread.so.1 #1 0x2818e902 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 #2 0x in ?? () Thank you -- Adrian Pircalabu Public KeyID = 0x04329F5E -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://linux.bitdefender.com/ ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
EFI network boot loader for ia32?
This might better belong on -questions, this isn't the most technical question, but it is obscure... I've recently been loaned an eval server indirectly from intel. It is an SR-2400. We've been using SR-2300s for a while now and have been doing custom network installs via PXE. I note that these new servers have ia32 EFI support and that the only net-booting they support is via EFI. I can DHCP boot the box via the EFI boot manager menu that comes up, I get an address and it tftp's a file from the right server but of course the pxeboot bootfile doesn't work. I downloaded the indel EFI SDK and it has some sample EFI binaries (a test binary, one that draws some cute little boxes on the screen etc) and I can boot and run those just fine... I understand that EFI netbooting works fine on (was designed to work on?) ia64 boxes - is there support for netbooting via EFI on ia32? I see /usr/src/sys/boot/EFI - can I somehow build a loader.efi that would work via netboot for ia32? Thanks in advance for any help... Fred Clift ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with Display
Brian Rudy wrote: Good day; I am having some difficulty with the installation of version 5.3 on a Ultra 60 system. I am currenlty installing an Ultra-60 system, so I have a keen interest in what you say, but your complaint is (at least to me) totally non-descriptive. Can you do a better job of explaining just exactly what's wrong? It seems like everything goes fine but, the console display goes south. Everything else seems to be working ok but, the console isn't. Remote access to this box is working fine. Here's the last group of lines from dmesg: Apr 19 06:02:33 sun syslogd: kernel boot file is /boot/kernel/kernel ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib Starting local daemons: . Updating motd . Starting sshd. Initial sparc64 initialization: . Additional ABI support: . Starting cron. Local package initialization: NTP . Additional TCP options: . Starting inetd. Starting background file system checks in 60 seconds. Tue Apr 19 06:02:37 EDT 2005 Apr 19 06:02:37 sun getty[423]: open /dev/screen: No such file or directory There is no /dev/screen file but, there is a /dev/screen:r1280x1024x60 file I tried making a link to this file in hopes it would fix it but, after a reboot, my link was gone. Can someone point me in the right direction? Any help would be greatly appreciated. Thank you ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with Display
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 27 Apr 2005, Brian Rudy wrote: Good day; I am having some difficulty with the installation of version 5.3 on a Ultra 60 system. It seems like everything goes fine but, the console display goes south. Everything else seems to be working ok but, the console isn't. Remote access to this box is working fine. Here's the last group of lines from dmesg: Apr 19 06:02:33 sun syslogd: kernel boot file is /boot/kernel/kernel ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib Starting local daemons: .. Updating motd .. Starting sshd. Initial sparc64 initialization: .. Additional ABI support: .. Starting cron. Local package initialization: NTP .. Additional TCP options: .. Starting inetd. Starting background file system checks in 60 seconds. Tue Apr 19 06:02:37 EDT 2005 Apr 19 06:02:37 sun getty[423]: open /dev/screen: No such file or directory There is no /dev/screen file but, there is a /dev/screen:r1280x1024x60 file I tried making a link to this file in hopes it would fix it but, after a reboot, my link was gone. Can someone point me in the right direction? Any help would be greatly appreciated. Thank you What your going to be looking into is devd/devfs somewhere in /etc/* in order to make sure the correct file is loaded youll have to change some configurations with that daemon so it creates the device you need upon bootup. Now if I had a 5.4 system running I would beable to look into it further and supply you with more information. But thats a good start at least somewhere so your not left hanging. Good luck. - -- Msg-Id: 20050427 20:43 UTC ( When in doubt, use brute force. -- Ken Thompson 1998 ) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (FreeBSD) Comment: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xF7DF979F Comment: Fingerprint = D1DC 0AA4 1C4E EAD4 24EB 7E77 B261 50BA F7DF 979F iD8DBQFCb/ppsmFQuvffl58RAl01AJ9eejenQrkwraTp6+gteKStgXEXdgCZAZbN E/Yek/MU0J2xbPC1WbpJh2U= =WTo0 -END PGP SIGNATURE- ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Two password prompts with 'su'
All, Recently my machine (FreeBSD) started showing 2 password prompts when using su. The first password seems to suffice, then hitting 'enter' on the second one lets me in. Any ideas what is going on? While I was writing this, it occurred to me that it may have something to do with Winbindd and nsswitch.conf.(?) ### Contents of nsswitch.conf ### passwd: files winbind group: files winbind ### End ### Thanks, Justin ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Two password prompts with 'su'
On Wed, Apr 27, 2005 at 01:55:52PM -0700, Justin Bennett wrote: All, Recently my machine (FreeBSD) started showing 2 password prompts when using su. The first password seems to suffice, then hitting 'enter' on the second one lets me in. Any ideas what is going on? Check your pam config (/etc/pam.conf on 4.x or /etc/pam.d/* on 5.x) Kris pgpVnDdzsZM4v.pgp Description: PGP signature
kern.module_path missing kernel boot dir
I have a 5.3-RELEASE machine here which refuses to load things like nfsd erroring about kernel module doesnt exist. I've been tracking it down and it looks like: kern.module_path is at fault on the broken machine its: sysctl -a |grep modules kern.module_path: /boot/modules where as on a working machine its: sysctl -a |grep modules kern.module_path: /boot/kernel;/boot/modules Anyone got any ideas where I can look next to see why module_path is not been set correctly? Steve This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to [EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kern.module_path missing kernel boot dir
On Wed, Apr 27, 2005 at 10:02:28PM +0100, Steven Hartland wrote: I have a 5.3-RELEASE machine here which refuses to load things like nfsd erroring about kernel module doesnt exist. I've been tracking it down and it looks like: kern.module_path is at fault on the broken machine its: sysctl -a |grep modules kern.module_path: /boot/modules where as on a working machine its: sysctl -a |grep modules kern.module_path: /boot/kernel;/boot/modules Anyone got any ideas where I can look next to see why module_path is not been set correctly? You may want to check this out from UPDATING 20040806: Module loading has been fixed. Some older installations will drop proper module_path initialization and modules will fail to load properly. If you have a line in /boot/loader.rc that says: initialize drop, do (i386 only): cp /usr/src/sys/boot/i386/loader/loader.rc /boot/loader.rc chown root:wheel /boot/loader.rc chmod 444 /boot/loader.rc Andrew ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multithreaded program crashes on SMP (HT enabled) machine
On Wed, Apr 27, 2005 at 06:28:50PM +0300, Adi Pircalabu wrote: Hello, I have a multithreaded application ported on FreeBSD 5.3 which crashes in a minute or less if hyperthreading in enabled. Without HT there is no problem. How and where should I start to investigate the problem? If it's a small application, post the source to an appropriate mailing list (hackers; no need for the excessive cross-posting) If not, try to come up with a simple test case that exhibits the failure. Note that it's possibly a coding error in your application and not a bug in FreeBSD. Kris pgpQTF9m0BG0B.pgp Description: PGP signature
Re: kern.module_path missing kernel boot dir
Cheers andrew obviously be broken for quite a while then :) Good to know I asked in the write place searched for ages turned up nothing. Thanks again Steve - Original Message - From: Andrew Thompson [EMAIL PROTECTED] To: Steven Hartland [EMAIL PROTECTED] You may want to check this out from UPDATING 20040806: Module loading has been fixed. Some older installations will drop proper module_path initialization and modules will fail to load properly. If you have a line in /boot/loader.rc that says: initialize drop, do (i386 only): cp /usr/src/sys/boot/i386/loader/loader.rc /boot/loader.rc chown root:wheel /boot/loader.rc chmod 444 /boot/loader.rc This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to [EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multithreaded program crashes on SMP (HT enabled) machine
On Wed, Apr 27, 2005 at 03:05:38PM -0700, Kris Kennaway wrote: On Wed, Apr 27, 2005 at 06:28:50PM +0300, Adi Pircalabu wrote: Hello, I have a multithreaded application ported on FreeBSD 5.3 which crashes in a minute or less if hyperthreading in enabled. Without HT there is no problem. How and where should I start to investigate the problem? If it's a small application, post the source to an appropriate mailing list (hackers; no need for the excessive cross-posting) Rather, unless it's a very small application, post a URL to obtain the source so you don't spam the list with it. Thanks, Kris pgpY0Uq1wk3Zn.pgp Description: PGP signature
Re: Problems with Display
On 2005-04-27 20:47, c0ldbyte [EMAIL PROTECTED] wrote: On Wed, 27 Apr 2005, Brian Rudy wrote: Apr 19 06:02:37 sun getty[423]: open /dev/screen: No such file or directory There is no /dev/screen file but, there is a /dev/screen:r1280x1024x60 file I tried making a link to this file in hopes it would fix it but, after a reboot, my link was gone. What your going to be looking into is devd/devfs somewhere in /etc/* in order to make sure [...] Right. /etc/devfs.conf is the file you mean: linkscreen:r1280x1024x60screen own screen:r1280x1024x60root:wheel permscreen:r1280x1024x600600 ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]