Re: ATA patches for PC98 - Please test!

2002-11-30 Thread Soeren Schmidt
It seems Takahashi Yoshihiro wrote: In article [EMAIL PROTECTED] Soeren Schmidt [EMAIL PROTECTED] writes: I'm trying to get this into 5.0 (I know its late, but life's tough) This brings ATA support to the PC98 arch will all bells and whistles. --- sys/conf/files 28 Nov 2002

Re: Update to UFS2 Superblock Format

2002-11-30 Thread Terry Lambert
Kirk McKusick wrote: Ah No wonder, I tried editing the /sys/boot/i386/boot2/Makefile to enable UFS2 bootblock but then disklabel complained that boot2 was too big. I will have to revert to UFS1 Thanks Manfred You have hit upon the exact

Re: usb modem problem

2002-11-30 Thread Bernd Walter
On Thu, Nov 28, 2002 at 11:44:10PM -0700, [EMAIL PROTECTED] wrote: Hello, I am trying to use an usb modem under freebsd. It is detected during boot. My system is current as of yesterday sources. Dmesg output is attached. Modem is recognized as /dev/ugen0 and there is another node

Re: Update to UFS2 Superblock Format

2002-11-30 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Kirk McKusick wr ites: You will have to ask Puol-Henning Kamp, but I do not believe that he has yet put together a bootstrap for the i386 platform that can boot from a UFS2 filesystem. As such, I believe that you are required to have a UFS1 root on the i386 at this

X11, KDE, WM, Gnome and current

2002-11-30 Thread Cliff Sarginson
I rebuilt the whole of KDE on DP2 (upto date as of a couple of days ago). Apart from me growing older in the process nothing worked well, despite using the same configuration as on 4.7. - It starts but no sound arises - The mouse moves, responds to clicks sometimes, but when I bring up the menu

Re: X11, KDE, WM, Gnome and current

2002-11-30 Thread Thierry Herbelot
FWIW, I recently build KDE3 on a 5.0-DP2 notebook. I just copied the /etc/X11/XF86Config from the working 4.7-Stable partition, kld-loaded the pcm sound, and voilĂ , everything works fine. do you know if your XF86Config is correct ? have you loaded the sound driver ? Cheers,

Re: [acpi-jp 2004] ACPI errors w/ latest ACPI code on GA BX2000 based system

2002-11-30 Thread Thomas Seck
* Mitsuru IWASAKI ([EMAIL PROTECTED]): Iwasaki-san, list members, ACPI-0438: *** Error: Looking up [FAN_] in namespace, AE_NOT_FOUND ACPI-1287: *** Error: Method execution failed, AE_NOT_FOUND I think that this was caused by the following spec changes. From CHANGES.txt:

system locks with vnode backed md(4)

2002-11-30 Thread Michal Mertl
Recently there was a discussion about jails on some freebsd list. Someone recommended vnconfig(8)ed file-backed disk for jail file systems. Terry wrote there are problems with it. I liked the idea and played with mdconfig(8)ed devices on current. Terry was right - I can easily make the system

Re: dump(8) + UFS2

2002-11-30 Thread Daniel C. Sobral
Matthias Schuendehuette wrote: Hello, it seems to me that 'dump' (8) is not able to dump UFS2 Filesystems. First it shows an extraordirarily large number of estimated tape blocks for my tiny /var-partition and after that it dumps core while trying to dump my not so tiny /usr partition.

Re: Problem with ntpdate

2002-11-30 Thread Daniel C. Sobral
Giorgos Keramidas wrote: On 2002-11-28 17:00, Daniel C. Sobral [EMAIL PROTECTED] wrote: I found out that ntpdate just doesn't seem to be working at all during boot. Ntpd dies because of the time differential (windows changes the time two hours because of the TZ). No message from ntpdate

Re: Problem with ntpdate

2002-11-30 Thread Terry Lambert
Daniel C. Sobral wrote: Giorgos Keramidas wrote: On 2002-11-28 17:00, Daniel C. Sobral [EMAIL PROTECTED] wrote: I found out that ntpdate just doesn't seem to be working at all during boot. Ntpd dies because of the time differential (windows changes the time two hours because of the

Re: Are SysV semaphores thread-safe on CURRENT?

2002-11-30 Thread Brian Smith
On Mon, 18 Nov 2002 22:05:34 -0800, Terry Lambert wrote: Use mmap of a backing-store file, and then use file locking to do record locking in the shared memory segment. Ok, I did this, and it actually works considerably better than the SysV shared memory. However flock() has the same problem as

Re: X11, KDE, WM, Gnome and current

2002-11-30 Thread Arjan van Leeuwen
I have no problems at all running KDE on DP2. Did you load a sound driver? The complaints about /dev/dsp not existing seem to indicate that you didn't load a sound driver. You might want to check your XF86Config file again, because I'm sure you can find an explanation for the default

Re: Problem with ntpdate

2002-11-30 Thread Bruce Evans
On Sat, 30 Nov 2002, Daniel C. Sobral wrote: Giorgos Keramidas wrote: On 2002-11-28 17:00, Daniel C. Sobral [EMAIL PROTECTED] wrote: I found out that ntpdate just doesn't seem to be working at all during boot. Ntpd dies because of the time differential (windows changes the time two

Re: Are SysV semaphores thread-safe on CURRENT?

2002-11-30 Thread Daniel Eischen
On Sat, 30 Nov 2002, Brian Smith wrote: On Mon, 18 Nov 2002 22:05:34 -0800, Terry Lambert wrote: Use mmap of a backing-store file, and then use file locking to do record locking in the shared memory segment. Ok, I did this, and it actually works considerably better than the SysV shared

Re: Are SysV semaphores thread-safe on CURRENT?

2002-11-30 Thread Daniel Eischen
On Sat, 30 Nov 2002, Daniel Eischen wrote: On Sat, 30 Nov 2002, Brian Smith wrote: On Mon, 18 Nov 2002 22:05:34 -0800, Terry Lambert wrote: Use mmap of a backing-store file, and then use file locking to do record locking in the shared memory segment. Ok, I did this, and it

unkillable process - 'mdconfig -t vnode' on small file

2002-11-30 Thread Michal Mertl
Subject says it all. I wanted to make vnode-backed md(4) and forgot to specify size, thas it after 'touch mdfile;mdconfig -a -t vnode -f mdfile' mdconfig process can't be killed. It's wchan ('ps axO wchan|grep mdconf') is mddest. -- Michal Mertl [EMAIL PROTECTED] To Unsubscribe: send mail to

Re: system locks with vnode backed md(4)

2002-11-30 Thread Michal Mertl
On Sat, 30 Nov 2002, Michal Mertl wrote: Including rwatson because of the thread on hackers@. Sorry for follow-up to myself. Recently there was a discussion about jails on some freebsd list. Someone recommended vnconfig(8)ed file-backed disk for jail file systems. Terry wrote there are

Re: system locks with vnode backed md(4)

2002-11-30 Thread Robert Watson
On Sat, 30 Nov 2002, Michal Mertl wrote: I'm now unable to make it dead-lock again. Yet it happened quite easily. I had more md backing files in the same directory at the beginning (to test Terry's suspicion mentioned in thread 'jail' on hackers@). I've noticed that chroot() environments

Re: dump(8) + UFS2

2002-11-30 Thread Manfred Antar
At 10:56 AM 11/30/2002 -0200, Daniel C. Sobral wrote: Matthias Schuendehuette wrote: Hello, it seems to me that 'dump' (8) is not able to dump UFS2 Filesystems. First it shows an extraordirarily large number of estimated tape blocks for my tiny /var-partition and after that it dumps core

newfs chokes, cores, dies if inode density too high; patch attached

2002-11-30 Thread Kirk McKusick
Date: Fri, 1 Nov 2002 00:43:38 + From: Ceri Davies [EMAIL PROTECTED] To: David Wolfskill [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: newfs chokes, cores, dies if inode density too high; patch attached

Re: system locks with vnode backed md(4)

2002-11-30 Thread Michal Mertl
Ok, I got another one. DDB output attached. I did all kinds of operations to trigger it - had 3 md mounted from the same dir, in 2 of them doing my ports.tgz torture test and in root file system I had 'find . -inum 1231231' running. One find finished succesfully but then it finally locked-up.

Re: dump(8) + UFS2

2002-11-30 Thread Manfred Antar
At 10:56 AM 11/30/2002 -0200, Daniel C. Sobral wrote: Matthias Schuendehuette wrote: Hello, it seems to me that 'dump' (8) is not able to dump UFS2 Filesystems. First it shows an extraordirarily large number of estimated tape blocks for my tiny /var-partition and after that it dumps core

Re: UFS Snapshot deadlock

2002-11-30 Thread Kirk McKusick
Your deadlock should now be fixed. Kirk McKusick =-=-=-=-= From: Kirk McKusick [EMAIL PROTECTED] Date: Fri, 29 Nov 2002 23:27:12 -0800 (PST) To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: cvs commit: src/sys/ufs/ffs ffs_snapshot.c X-FreeBSD-CVS-Branch: HEAD mckusick2002/11/29

Re: corrupted UFS2 label after ffs_vfsops.c,v 1.198

2002-11-30 Thread Kirk McKusick
Date: Sat, 30 Nov 2002 00:44:10 +0100 (CET) From: Michael Reifenberger [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: FreeBSD-Current [EMAIL PROTECTED] Subject: corrupted UFS2 label after ffs_vfsops.c,v 1.198 Hi, after cvsupping a kernel with

Re: Update to UFS2 Superblock Format

2002-11-30 Thread Julian Elischer
isn't it about time we got away from puting the bootblocks in a filesystem partition? Here, all these planets^H^H^H^H^H^Hblocks are yours, to do as you please, except the first 16 blocks.. attempt no landing there (or however it went).. (Appologies to Mr. Clark). On Fri, 29 Nov 2002, Kirk

Re: Update to UFS2 Superblock Format

2002-11-30 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Ju lian Elischer writes: isn't it about time we got away from puting the bootblocks in a filesystem partition? I actually reached that conclusion back when we realized that the UFS2 bootblocks did not fit the 8k magic zone. From the next branch on -current, it is

Re: corrupted UFS2 label after ffs_vfsops.c,v 1.198

2002-11-30 Thread Michael Reifenberger
On Sat, 30 Nov 2002, Kirk McKusick wrote: Date: Sat, 30 Nov 2002 11:36:21 -0800 From: Kirk McKusick [EMAIL PROTECTED] To: Michael Reifenberger [EMAIL PROTECTED] Cc: FreeBSD-Current [EMAIL PROTECTED] Subject: Re: corrupted UFS2 label after ffs_vfsops.c,v 1.198 ... Once you have upgraded

Re: Polled mode with device.hints

2002-11-30 Thread Nicolas Souchu
On Sun, Nov 24, 2002 at 01:08:51PM +0100, Marc Fonvieille wrote: Hello, I'm currently updating some part of the Handbook for 5.X, and I need to know how to put some ports like sio0 or ppc0 in polled mode. I did a search and tried some syntax like 0 for the irq etc. but no way to put

Re: unkillable process - 'mdconfig -t vnode' on small file

2002-11-30 Thread Ian Dowse
In message [EMAIL PROTECTED], Michal Mertl writes: Subject says it all. Fixed in md.c revision 1.74 - this was discussed here a few days ago, but I was just waiting for approval to commit the fix. Ian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body

Re: dump(8) + UFS2

2002-11-30 Thread Jan Srzednicki
On Sat, 30 Nov 2002, Manfred Antar wrote: I guess dump is not ready for UFS2 I just have made dump and restore of my 3GB UFS2 /usr partition and did not experience any problems with that. Working on -CURRENT from Nov 24th. -- -- wrzask --= v =-- Winfried --=-- GG# 3838383 --=-- JS500-RIPE

weird panic on alpha

2002-11-30 Thread Kris Kennaway
I'm getting this on several of my alphas. Any ideas? The traceback and panic message is weird. Kris axp4# gdb -k kernel.debug vmcore.0 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to

installworld of 5.0 broken on 4.x?

2002-11-30 Thread Kris Kennaway
I get this when building 5.0 under 4.x, for the purposes of installing into a temporary directory. Any ideas? Kris === etc/sendmail rm -f freefall.cf (cd /local0/src-5.x/etc/sendmail m4 -D_CF_DIR_=/local0/src-5.x/etc/sendmail/../../contrib/sendmail/cf/

Re: Update to UFS2 Superblock Format

2002-11-30 Thread walt
Poul-Henning Kamp wrote: From the next branch on -current, it is my intent to not install BSD labels anymore, but switch to GPT instead, (possibly encapsulated in an BSD MBR slice for legacy systems). Do you mean this GPT: http://www.microsoft.com/hwdev/tech/storage/GPT_FAQ.asp or are you

Re: installworld of 5.0 broken on 4.x?

2002-11-30 Thread Craig Rodrigues
On Sat, Nov 30, 2002 at 02:35:32PM -0800, Kris Kennaway wrote: I get this when building 5.0 under 4.x, for the purposes of installing into a temporary directory. Any ideas? Kris === etc/sendmail rm -f freefall.cf (cd /local0/src-5.x/etc/sendmail m4

Re: installworld of 5.0 broken on 4.x?

2002-11-30 Thread Kris Kennaway
On Sat, Nov 30, 2002 at 05:40:59PM -0500, Craig Rodrigues wrote: === etc/sendmail rm -f freefall.cf (cd /local0/src-5.x/etc/sendmail m4 -D_CF_DIR_=/local0/src-5.x/etc/sendmail/../../contrib/sendmail/cf/ /local0/src-5.x/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 freefall.mc)

Re: Are SysV semaphores thread-safe on CURRENT?

2002-11-30 Thread Terry Lambert
Brian Smith wrote: On Mon, 18 Nov 2002 22:05:34 -0800, Terry Lambert wrote: Use mmap of a backing-store file, and then use file locking to do record locking in the shared memory segment. Ok, I did this, and it actually works considerably better than the SysV shared memory. However flock()

FYI - 4.3-stable to 5.0 upgrade success

2002-11-30 Thread Daniel Eischen
I recently upgraded a Dell Lattitude C600 from some version of -stable after 4.3 to 5.0-current. I first upgraded it to 4.7-stable, then to 5.0-current. I followed the instructions at the end of src/UPDATING pretty much to the letter. I haven't recompiled any applications for 5.0, so they're

Re: Are SysV semaphores thread-safe on CURRENT?

2002-11-30 Thread Terry Lambert
Daniel Eischen wrote: No, libc_r doesn't properly handle flock. Usually, all syscalls that take file descriptors as arguments honor the non-blocking mode of the file if set. I guess flock(2) doesn't and has its own option to the operation argument (LOCK_NB). I hacked libc_r to

Re: dump(8) + UFS2

2002-11-30 Thread Matthias Schuendehuette
On Saturday 30 November 2002 23:24, you wrote: On Sat, 30 Nov 2002, Manfred Antar wrote: I guess dump is not ready for UFS2 I just have made dump and restore of my 3GB UFS2 /usr partition and did not experience any problems with that. Working on -CURRENT from Nov 24th. Sure you dumped an

Hell notebook (Vaio R505TL)

2002-11-30 Thread Barkley Vowk
I've got a notebook running current, and I've got a horde of problems I need some help fixing... 1) ACPI lets me control fans and cpu speed nicely, and the notebook will suspend nicely, and it almost resumes properly. When the notebook wakes up it comes back on the network and the keyboard works

Re: system locks with vnode backed md(4)

2002-11-30 Thread Terry Lambert
Michal Mertl wrote: I'm now unable to make it dead-lock again. Yet it happened quite easily. I had more md backing files in the same directory at the beginning (to test Terry's suspicion mentioned in thread 'jail' on hackers@). After the first lock-up I tried 'while(1);tar xzf ports.tgz; rm

Re: dump(8) + UFS2

2002-11-30 Thread Jan Srzednicki
On Sat, 30 Nov 2002, Matthias Schuendehuette wrote: I just have made dump and restore of my 3GB UFS2 /usr partition and did not experience any problems with that. Working on -CURRENT from Nov 24th. Sure you dumped an UFS2 filesystem? Here's my try: root@current - /root 104 # uname -a

Re: system locks with vnode backed md(4)

2002-11-30 Thread Terry Lambert
Robert Watson wrote: On Sat, 30 Nov 2002, Michal Mertl wrote: I'm now unable to make it dead-lock again. Yet it happened quite easily. I had more md backing files in the same directory at the beginning (to test Terry's suspicion mentioned in thread 'jail' on hackers@). I've noticed that

Re: dump(8) + UFS2

2002-11-30 Thread Jan Srzednicki
On Sun, 1 Dec 2002, Jan Srzednicki wrote: Hm, this is weird. I'm sure I have dumped an UFS2 filesystem earlier and it worked. Now I get similar error messages as you. Yes, I'm absolutely sure that the filesystem was UFS2 - played with extattrctl on it, checked it with dumpfs and was not able

Re: missing: usr.bin/rdist - used: ports/net/rdist6

2002-11-30 Thread Julian Stacey
M. Warner Losh wrote: : - Please consider restoring rdist to FreeBSD. Thanks. And the number of security problems with rdist are legion. A large component of the decision to remove it from the base was the high incidence of security problems with the original code. That, coupled with the

C++ Issue On -CURRENT

2002-11-30 Thread Cy Schubert - CITS Open Systems Group
I've been working on getting the tripwire port to build on -CURRENT. Through this process I've stumbled across an issue. Searching through the mailing lists, I haven't found a solution to this. The following program builds and runs under 4.7-STABLE: #include iostream int main() {

Re: C++ Issue On -CURRENT

2002-11-30 Thread Garrett Rooney
The following program builds and runs under 4.7-STABLE: #include iostream int main() { coutHello World\n; } ... but under 5.0-CURRENT it gives me the following errors: cwtest$ g++ -o foo foo.cc foo.cc: In function `int main()': foo.cc:5: `cout' undeclared (first use this function)

Re: C++ Issue On -CURRENT

2002-11-30 Thread Craig Rodrigues
On Sat, Nov 30, 2002 at 03:48:00PM -0800, Cy Schubert - CITS Open Systems Group wrote: I've been working on getting the tripwire port to build on -CURRENT. Through this process I've stumbled across an issue. Searching through the mailing lists, I haven't found a solution to this. The

Re: C++ Issue On -CURRENT

2002-11-30 Thread Cy Schubert - CITS Open Systems Group
In message [EMAIL PROTECTED], Craig Rodrigues writes: On Sat, Nov 30, 2002 at 03:48:00PM -0800, Cy Schubert - CITS Open Systems Gro up wrote: I've been working on getting the tripwire port to build on -CURRENT. Through this process I've stumbled across an issue. Searching through the

Re: C++ Issue On -CURRENT

2002-11-30 Thread Cy Schubert - CITS Open Systems Group
In message [EMAIL PROTECTED] , Garret t Rooney writes: The following program builds and runs under 4.7-STABLE: #include iostream int main() { coutHello World\n; } ... but under 5.0-CURRENT it gives me the following errors: cwtest$ g++ -o foo foo.cc foo.cc: In

Re: Hell notebook (Vaio R505TL)

2002-11-30 Thread Marcin Dalecki
Barkley Vowk wrote: I've got a notebook running current, and I've got a horde of problems I need some help fixing... 1) ACPI lets me control fans and cpu speed nicely, and the notebook will suspend nicely, and it almost resumes properly. When the notebook wakes up it comes back on the network

Re: C++ Issue On -CURRENT

2002-11-30 Thread Matthew Emmerton
In message [EMAIL PROTECTED] , Garret t Rooney writes: The following program builds and runs under 4.7-STABLE: #include iostream int main() { coutHello World\n; } ... but under 5.0-CURRENT it gives me the following errors: cwtest$ g++ -o foo foo.cc

Where is APM0 ???

2002-11-30 Thread Sergey V Golitzyn
Hello, i have a little problem with APM (Adv. Power Managment) I migrate from 4.7-STABLE to 5.0-CURRENT version. But in process i have lost apm0 device in dmesg. Device /dev/apm is in, but apmd daemon does not start cozz /dev/apmctl device not exist. Tell me please how to modify this strings

Re: C++ Issue On -CURRENT

2002-11-30 Thread Cy Schubert - CITS Open Systems Group
In message 002501c298d3$63c3c150$[EMAIL PROTECTED], Matthew Emmerton w rites: In message [EMAIL PROTECTED] , Garret t Rooney writes: The following program builds and runs under 4.7-STABLE: #include iostream int main() { coutHello World\n; }

Re: Where is APM0 ???

2002-11-30 Thread Marcin Dalecki
Sergey V Golitzyn wrote: Hello, i have a little problem with APM (Adv. Power Managment) I migrate from 4.7-STABLE to 5.0-CURRENT version. But in process i have lost apm0 device in dmesg. Device /dev/apm is in, but apmd daemon does not start cozz /dev/apmctl device not exist. kozaczek# kldload

Re: pw_user.c change for samba

2002-11-30 Thread Garance A Drosihn
At 7:06 PM -0800 11/27/02, Terry Lambert wrote: NAKAJI Hiroyuki wrote: My /usr/sbin/adduser, updated on Nov/23/2002 21:58 JST, does not call pw command. It adds account to /etc/master.passwd and invokes 'pwd_mkdb'. See 'sub new_users' function in /usr/sbin/adduser. There are two

Re: The great perl script rewrite - progress report

2002-11-30 Thread Garance A Drosihn
[to follow-up on what I said in a different thread...] On my 5.0-dp2 system, if I ignore /usr/local and /usr/ports, it looks like the following files installed by -dp2 are perl scripts: /usr/bin/mmroff /usr/bin/afmtodit /usr/sbin/adduser /usr/sbin/rmuser

DP2 + Thinkpad 660X = PC Card card activation failed

2002-11-30 Thread Bob Van Valzah
My Thinkpad 600X doesn't recognize any PC cards since I installed 5.0-DP2. PC cards worked fine on it under -CURRENT back in February (before the NEWCARD merge and rc_ng) and they worked fine under -STABLE since then. I haven't been tracking -CURRENT since February, so maybe I missed something

Re: DP2 + Thinkpad 660X = PC Card card activation failed

2002-11-30 Thread M. Warner Losh
Try adding hw.pccard.cis_debug=1 to /boot/loader.conf and let me know the results. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

ksetest program cause the system crash!

2002-11-30 Thread kai ouyang
Hi, everybody, Have somebody use the /usr/src/tools/KSE/ksetest/ksetest? I want to test about KSE. I cvsuped my box a few days ago. my kern_thread.c version is 1.66. When I use the ksetest, the box is crashed. the information as follow: Current# ./ksetest main() : 0x804c000 eip - 0x280ae973

Re: C++ Issue On -CURRENT

2002-11-30 Thread Terry Lambert
Cy Schubert - CITS Open Systems Group wrote: does the problem still occur if you add in 'using namespace std'? Thanks. That also fixed it. Yeah. Just remember that the standard namespace isn't. -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in

Re: ext2fs and NFS exporting wackyness

2002-11-30 Thread Bruce Evans
On Thu, 28 Nov 2002, Maxime Henrion wrote: Maxime Henrion wrote: Emiel Kollof wrote: Can this be patched by doing some subtitutions in the files that use the old mount syscall? Or is it more hairy than that? Can you try the attached patch and tell me if it works ? There were stupid

Re: ext2fs and NFS exporting wackyness

2002-11-30 Thread Bruce Evans
On Thu, 28 Nov 2002, Maxime Henrion wrote: Emiel Kollof wrote: * Emiel Kollof ([EMAIL PROTECTED]) wrote: There were stupid mistakes in this patch. Can you try this one instead ? Yes, this one seems to work. Hold on.. now remote hosts _see_ the ext2fs share, but mounting will not