Re: APCI vs APM

2003-02-18 Thread Pierrick Brossin
Quoting myself [EMAIL PROTECTED]: How should I proceed to make my laptop sleep ? :) acpiconf -s n (where n is number between 1 and 5) Questions are so nice when you can answer 'em by yourself ;P -- Pierrick Brossin IT Swiss - QUARK Media House 6a Puits Godet, 2000 Neuchatel, Switzerland Mail

IRDA - ACPI (Battery)

2003-02-18 Thread Pierrick Brossin
Hi! Since APCI is now used instead of APM, I'm wondering if we have to wait/program softwares to control the battery status ? Is IRDA now supported by 5.0 ? Can't find any docs. Thanx again! -- Pierrick Brossin IT Swiss - QUARK Media House 6a Puits Godet, 2000 Neuchatel, Switzerland Mail

Re: IPFW/socheckuid() patch

2003-02-18 Thread Maxim Konovalov
On 03:18+0200, Feb 18, 2003, Giorgos Keramidas wrote: On 2003-02-18 00:02, Wiktor Niesiobedzki [EMAIL PROTECTED] wrote: On Mon, Feb 17, 2003 at 11:47:32PM +0100, Wiktor Niesiobedzki wrote: There is an obvious mistake in patch (or change in ip_fw2.c should be considered). [...] ---

Re: IRDA - ACPI (Battery)

2003-02-18 Thread Mark Santcroos
On Tue, Feb 18, 2003 at 09:15:43AM +0100, Pierrick Brossin wrote: Is IRDA now supported by 5.0 ? Can't find any docs. If your IrDA device can emulate a UART you can use ports/comms/birda. What kind of IrDA device do you have in your laptop? Mark -- Mark SantcroosRIPE

Re: cvs commit: src/sys/kern kern_intr.c src/sys/dev/ata ata-all.c

2003-02-18 Thread Ruslan Ermilov
On Fri, Feb 14, 2003 at 05:10:40AM -0800, Alfred Perlstein wrote: alfred 2003/02/14 05:10:40 PST Modified files: sys/kern kern_intr.c sys/dev/ata ata-all.c Log: Fix crash dumps on ata and scsi. [...] To fix ata, use what appears to be a

RE: NFS server vs YO (very long message)

2003-02-18 Thread Rob B
At 01:43 AM 18/02/03, Erik Torres Serrano sent this up the stick: OK, after the weekend I'm here again. Those are the contents of my configuration files: 1) /etc/exports /localhome -maproot=0beta seems OK, maybe try adding the -alldirs switch /localhome -maproot=0 -alldirs beta

memset prototype changed?

2003-02-18 Thread Kris Kennaway
A number of ports have started failing due to an incompatible memset prototype. Did someone recently change this? e.g. http://bento.freebsd.org/errorlogs/i386-5-latest/netatalk-1.6.0_1,1.log Kris msg52652/pgp0.pgp Description: PGP signature

Re: IRDA - ACPI (Battery)

2003-02-18 Thread Pierrick Brossin
Quoting Mark Santcroos [EMAIL PROTECTED]: If your IrDA device can emulate a UART you can use ports/comms/birda. What kind of IrDA device do you have in your laptop? I have no idea. Where can I check this ? Thx -- Pierrick Brossin IT Swiss - QUARK Media House 6a Puits Godet, 2000 Neuchatel,

Shell programming 101: Is this an expr(1) bug ?

2003-02-18 Thread Poul-Henning Kamp
Running: #!/bin/sh set -ex for p in ad2 ad0 ad1 do a0=`expr $p : '^ad\([0-9]\)$'` done I get: syv# sh _ + expr ad2 : ^ad\([0-9]\)$ + a0=2 + expr ad0 : ^ad\([0-9]\)$ + a0=0 syv# echo $?

New ad*s* devices not automatically appearing in devfs

2003-02-18 Thread Darren Pilgrim
When I add a new slice or partition to a disk, the device files don't automatically appear in /dev. If I reboot, it shows up, but having to reboot twice just to add a filesystem to a running disk is absurd. How do I make /dev automatically add these devices upon creation? Failing that, how do I

Re: New ad*s* devices not automatically appearing in devfs

2003-02-18 Thread phk
In message [EMAIL PROTECTED], Darren Pilgrim writes: When I add a new slice or partition to a disk, the device files don't automatically appear in /dev. If I reboot, it shows up, but having to reboot twice just to add a filesystem to a running disk is absurd. How do I make /dev automatically add

Re: IRDA - ACPI (Battery)

2003-02-18 Thread Dag-Erling Smorgrav
Pierrick Brossin [EMAIL PROTECTED] writes: Is IRDA now supported by 5.0? No. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

Re: memset prototype changed?

2003-02-18 Thread Dag-Erling Smorgrav
Kris Kennaway [EMAIL PROTECTED] writes: http://bento.freebsd.org/errorlogs/i386-5-latest/netatalk-1.6.0_1,1.log The code that fails to compile is blatantly wrong: memset(schedule, 0, sizeof(schedule)); DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL

Re: memset prototype changed?

2003-02-18 Thread Richard Nyberg
On Tue, Feb 18, 2003 at 12:01:29PM +0100, Dag-Erling Smorgrav wrote: Kris Kennaway [EMAIL PROTECTED] writes: http://bento.freebsd.org/errorlogs/i386-5-latest/netatalk-1.6.0_1,1.log The code that fails to compile is blatantly wrong: memset(schedule, 0, sizeof(schedule)); I think

Re: IRDA - ACPI (Battery)

2003-02-18 Thread M. Warner Losh
: Since APCI is now used instead of APM, I'm wondering if we have to wait/program : softwares to control the battery status ? I use the apm command :-). The acpi code provides enough of the apm API to allow apm and apmd to work. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: Shell programming 101: Is this an expr(1) bug ?

2003-02-18 Thread Brandon S. Allbery
On Tue, 2003-02-18 at 06:39, Poul-Henning Kamp wrote: + expr ad0 : ^ad\([0-9]\)$ + a0=0 syv# echo $? 1 syv# That looks like a bug to me... hilfy:202 Z$ /bin/expr ad0 : '^ad\([0-9]\)$' 0 zsh: exit 1 /bin/expr ad0 : '^ad\([0-9]\)$' (Solaris 8 box) The

Re: Shell programming 101: Is this an expr(1) bug ?

2003-02-18 Thread Enache Adrian
On Tue, Feb 18, 2003 at 12:39:22PM +0100, Poul-Henning Kamp wrote: Running: #!/bin/sh set -ex for p in ad2 ad0 ad1 do a0=`expr $p : '^ad\([0-9]\)$'` done I get: syv# sh _ + expr ad2 : ^ad\([0-9]\)$ + a0=2 +

Re: memset prototype changed?

2003-02-18 Thread Jacques A. Vidrine
On Tue, Feb 18, 2003 at 12:01:29PM +0100, Dag-Erling Smorgrav wrote: Kris Kennaway [EMAIL PROTECTED] writes: http://bento.freebsd.org/errorlogs/i386-5-latest/netatalk-1.6.0_1,1.log The code that fails to compile is blatantly wrong: memset(schedule, 0, sizeof(schedule)); I wouldn't

Re: /dev/smb where are you?

2003-02-18 Thread Christian Gusenbauer
Hi! This doesn't change anything here :-(! Thanks, Christian. On Tuesday, 18. February 2003 00:33, David Vidal Rodríguez wrote: Christian Gusenbauer wrote: Hello! Using a kernel from last friday, I'm not able to get /dev/smb working. I've added these options to my kernel config:

Re: Shell programming 101: Is this an expr(1) bug ?

2003-02-18 Thread Chet Ramey
Running: #!/bin/sh set -ex for p in ad2 ad0 ad1 do a0=`expr $p : '^ad\([0-9]\)$'` done I get: syv# sh _ + expr ad2 : ^ad\([0-9]\)$ + a0=2 + expr ad0 : ^ad\([0-9]\)$ + a0=0 syv# echo $? 1

Re: ACPI thermal panics ThinkPad 600X

2003-02-18 Thread Darryl Okahata
Tom Rhodes [EMAIL PROTECTED] wrote: ACPI gives me hell on my IBM Thinkpad A31, also. Yet since it does not crash anything I just leave it be waiting for the day when the ACPI hackers have time to fix it :) It may not necessarily be a FreeBSD problem (or, not only). While there may be

multithreaded binaries dump core in linux emulation

2003-02-18 Thread Enache Adrian
I'm using a very recent FreeBSD-current ( ~ 4 days ago ). Since I upgraded my linux installation to RH 8.0 ( ~ 2 months ), I'm not able to run multithreaded binaries under linux emulation any more. ( I hope you understand me - I don't want to install another set of native mozilla, ooffice and

Re: kern/48381: using mv(1) on smbfs crashes 5.0 kernel

2003-02-18 Thread Sergey A. Osokin
On Mon, Feb 17, 2003 at 10:45:32PM +0800, Thomas E. Zander wrote: I can reproduce it on my system. FreeBSD 5.0-CURRENT #0: Tue Feb 18 18:43:57 MSK 2003 Description: On a mounted network-filesystem using mount_smbfs, using of the command mv /file/on/the/smbfs /file/on/a/local/fs freezes the

WaveLAN problems

2003-02-18 Thread Michael Bretterklieber
Hi, I have a Netgear MA401 PCCard. The system recognizes the card, but after typeing ... bash-2.05a# wicontrol NIC serial number: [ ] Station name: [ FreeBSD WaveL ] SSID for IBSS creation: [ ] Current netname (SSID):

Re: memset prototype changed?

2003-02-18 Thread Jacques A. Vidrine
On Tue, Feb 18, 2003 at 10:10:41AM -0800, Kris Kennaway wrote: On Tue, Feb 18, 2003 at 12:47:35PM +0100, Richard Nyberg wrote: On Tue, Feb 18, 2003 at 12:01:29PM +0100, Dag-Erling Smorgrav wrote: Kris Kennaway [EMAIL PROTECTED] writes:

Re: memset prototype changed?

2003-02-18 Thread Kris Kennaway
On Tue, Feb 18, 2003 at 12:47:35PM +0100, Richard Nyberg wrote: On Tue, Feb 18, 2003 at 12:01:29PM +0100, Dag-Erling Smorgrav wrote: Kris Kennaway [EMAIL PROTECTED] writes: http://bento.freebsd.org/errorlogs/i386-5-latest/netatalk-1.6.0_1,1.log The code that fails to compile is

Re: memset prototype changed?

2003-02-18 Thread Dag-Erling Smorgrav
Jacques A. Vidrine [EMAIL PROTECTED] writes: On Tue, Feb 18, 2003 at 12:01:29PM +0100, Dag-Erling Smorgrav wrote: The code that fails to compile is blatantly wrong: memset(schedule, 0, sizeof(schedule)); I wouldn't say `blantantly'. The expressions `schedule' and `schedule' are

Re: New ad*s* devices not automatically appearing in devfs

2003-02-18 Thread Darren Pilgrim
[EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Darren Pilgrim writes: When I add a new slice or partition to a disk, the device files don't automatically appear in /dev. If I reboot, it shows up, but having to reboot twice just to add a filesystem to a running disk is absurd. How do I

Re: New ad*s* devices not automatically appearing in devfs

2003-02-18 Thread phk
In message [EMAIL PROTECTED], Darren Pilgrim writes: [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Darren Pilgrim writes: When I add a new slice or partition to a disk, the device files don't automatically appear in /dev. If I reboot, it shows up, but having to reboot twice just to

Re: New ad*s* devices not automatically appearing in devfs

2003-02-18 Thread Darren Pilgrim
[EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Darren Pilgrim writes: [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Darren Pilgrim writes: When I add a new slice or partition to a disk, the device files don't automatically appear in /dev. If I reboot, it shows up, but

Drive Resetting

2003-02-18 Thread Beech Rintoul
I just installed a new maxtor drive on a 200Mhz Compaq Deskpro running 5.0 setup went normally (no errors) fsck showed no errors. However, I am now getting the following under heavy disk activity: Feb 18 12:32:46 stargate kernel: ad2: WRITE command timeout tag=0 serv=0 - reset ting Feb 18

Re: ACPI thermal panics ThinkPad 600X

2003-02-18 Thread Terry Lambert
Darryl Okahata wrote: Tom Rhodes [EMAIL PROTECTED] wrote: ACPI gives me hell on my IBM Thinkpad A31, also. Yet since it does not crash anything I just leave it be waiting for the day when the ACPI hackers have time to fix it :) It may not necessarily be a FreeBSD problem (or, not

RE: Drive Resetting

2003-02-18 Thread Cagle, John (ISS-Houston)
What kind of IDE cable are you using (40 or 80-conductor)? You might try a new cable. Do you know which UDMA mode the ata driver is running in? Have you tried turning off DMA and/or write-caching? (I think you can use sysctl to do this.) -Original Message- From: Beech Rintoul

panic starting gnome

2003-02-18 Thread Lars Eggert
Hi, on today's -current, I get the following panic when starting gnome from xdm; a kernel from 2/10 works with today's world, so it must be something in the kernel that changed over the last week: Fatal trap 12: page fault while in kernel mode cpuid = 0; lapic.id = fault virtual

Re: ACPI thermal panics ThinkPad 600X

2003-02-18 Thread Darryl Okahata
Terry Lambert [EMAIL PROTECTED] wrote: A more useful reference, I think, is: http://sourceforge.net/mailarchive/message.php?msg_id=3597172 If you add similar code to FreeBSD to detect and patch the BIOS table, this fixes the problem in FreeBSD, as well (though adding the code is

Re: panic starting gnome

2003-02-18 Thread Craig Boston
FWIW, this looks nearly identical to the panic I reported last night in the thread VFS panic (possibly NFS locking related?). I didn't manage to catch the ddb trace and had to work postmortem with a crash dump and gdb. But it looked just like here. Lars: Do you by any chance have your home

Re: cvs commit: src/sys/kern kern_intr.c src/sys/dev/ata ata-all.c

2003-02-18 Thread Bruce Evans
On Tue, 18 Feb 2003, Ruslan Ermilov wrote: On Fri, Feb 14, 2003 at 05:10:40AM -0800, Alfred Perlstein wrote: alfred 2003/02/14 05:10:40 PST Modified files: sys/kern kern_intr.c sys/dev/ata ata-all.c Log: Fix crash dumps on ata and scsi.

Re: panic starting gnome

2003-02-18 Thread Lars Eggert
Craig Boston wrote: FWIW, this looks nearly identical to the panic I reported last night in the thread VFS panic (possibly NFS locking related?). I missed your message, just read it: yes, that sounds similar. I didn't manage to catch the ddb trace and had to work postmortem with a crash dump

background fsck deadlocks with ufs2 and big disk

2003-02-18 Thread Martin Blapp
Hi all, I just wanted to tell that I can deadlock one of my current boxes with a ufs2 filesystem on a 120GB ATA disk. I can reproduce the problem. The background fsck process hangs some time at the same place always at the same place, sometimes the box freezes after some time. The same box

Re: cvs commit: src/lib/libc/stdlib rand.c

2003-02-18 Thread Andrey A. Chernov
On Sun, Feb 16, 2003 at 22:08:10 -0800, Kris Kennaway wrote: when they should not. I've given examples of two of them, and there are probably lots of others I haven't noticed. For example, I just checked, and libICE appears to use rand() for cookie generation. This is completely bogus, and

Diskless: 5.0R scripts, boot, NFS mount problems I didn't have in 4.7S

2003-02-18 Thread Chris Shenton
I was running a VIA Mini-ITX diskless box off a 4.7-STABLE box for a while using a root fs created by the clone_root discussed in the handbook, then some tweaks. I'm having a heck of a time trying to get this running under 5.0-RELEASE, now sync'd to 5.0-CURRENT as of yesterday, then

Re: multithreaded binaries dump core in linux emulation

2003-02-18 Thread Julian Elischer
Linux has changed their threading ans is adding some threading 'support' into the kernel. It is unlikely that our emulation supports that support yet. it would certainly be nice to know what they are doing.. On Tue, 18 Feb 2003, Enache Adrian wrote: I'm using a very recent FreeBSD-current ( ~

Re: Diskless: 5.0R scripts, boot, NFS mount problems I didn't have in 4.7S

2003-02-18 Thread Chris Shenton
Chris Shenton [EMAIL PROTECTED] writes: I've moved the mount -a near the top of rc.d/diskless since it runs commands which are and not available until /usr is mounted (e.g., mtree). The NFS mount fails with a message I don't understand: [udp] pectopah.shenton.org:/usr: RPCPROG_NFS: RPC:

Re: memset prototype changed?

2003-02-18 Thread Jacques A. Vidrine
On Tue, Feb 18, 2003 at 08:55:02PM +0100, Dag-Erling Smorgrav wrote: Jacques A. Vidrine [EMAIL PROTECTED] writes: On Tue, Feb 18, 2003 at 12:01:29PM +0100, Dag-Erling Smorgrav wrote: The code that fails to compile is blatantly wrong: memset(schedule, 0, sizeof(schedule)); I

Re: memset prototype changed?

2003-02-18 Thread Terry Lambert
Dag-Erling Smorgrav wrote: Jacques A. Vidrine [EMAIL PROTECTED] writes: On Tue, Feb 18, 2003 at 12:01:29PM +0100, Dag-Erling Smorgrav wrote: The code that fails to compile is blatantly wrong: memset(schedule, 0, sizeof(schedule)); I wouldn't say `blantantly'. The expressions

Re: background fsck deadlocks with ufs2 and big disk

2003-02-18 Thread David Schultz
Thus spake Martin Blapp [EMAIL PROTECTED]: I just wanted to tell that I can deadlock one of my current boxes with a ufs2 filesystem on a 120GB ATA disk. I can reproduce the problem. The background fsck process hangs some time at the same place always at the same place, sometimes the box

Re: call for testers: cd(4) changes

2003-02-18 Thread Kenneth D. Merry
On Sun, Feb 16, 2003 at 22:45:14 -0700, Kenneth D. Merry wrote: On Sat, Feb 15, 2003 at 12:20:46 +0100, Thomas Quinot wrote: Le 2003-02-15, Kenneth D. Merry écrivait : - Automatically detect CDROM drives that can't handle 6 byte mode sense and mode select, and adjust our command

The excellent partner for your business! (030219)

2003-02-18 Thread iampanfine
We would like to apologize as soon as this email is caused you any inconvenience. If it is, should you delete it directly, or send it back to [EMAIL PROTECTED] Many thanks! Dear Sir/Madam: PANFINE GROUP, since 1982 The Reliable Partner: Stable Cooperation, Truly Support With Coordination

Re: panic starting gnome

2003-02-18 Thread Terry Lambert
Lars Eggert wrote: Fatal trap 12: page fault while in kernel mode cpuid = 0; lapic.id = fault virtual address = 0x34 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01b28a6 [ ... ] kernel: type 12