Send freebsd-current mailing list submissions to
	freebsd-current@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freebsd.org/mailman/listinfo/freebsd-current
or, via email, send a message with subject or body 'help' to
	freebsd-current-request@freebsd.org

You can reach the person managing the list at
	freebsd-current-owner@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-current digest..."


Today's Topics:

   1. Re: acpi and touchpad under 5.2-current (Andreas Heinze)
   2. Re: acpi and touchpad under 5.2-current (Andreas Heinze)
   3. Re: acpi and touchpad under 5.2-current (Andreas Heinze)
   4. Re: laptop for -current (Robert Klein)
   5. Re: Vinum status (Lukas Ertl)
   6. suspend/resume problems (APM) on Thinkpad T40 (Anders Odberg)
   7. Re: suspend/resume problems (APM) on Thinkpad T40 (Gleb Smirnoff)
   8. kernel crash in kdb_enter (Johan Karlsson)
   9. Re: SOUND (Chris)
  10. Re: vmnet.ko missing - but it's there! - vmware and crashes
      (Ben Paley)
  11. Xorg built fails on CURRENT: can't find Xauth.h (Chris Shenton)
  12. port of rssadapt which could solve hostap tx problems with
      802.11 (Divacky Roman)
  13. ath driver and wg311t (Geoff Roberts)
  14. Re: rtld problem with /usr partition (Scott Long)
  15. Re: [amd64] Instability worse than ever
      (Brian Fundakowski Feldman)
  16. Re: magic sysrq keys functionality (Brian Fundakowski Feldman)
  17. Re: rtld problem with /usr partition (Florent Thoumie)
  18. Re: ath driver and wg311t (Sam Leffler)
  19. Re: HEADSUP gconcat(8) and gstripe(8) users! (Pawel Jakub Dawidek)
  20. Re: Floppy disk drive no longer detected (Nate Lawson)
  21. Re: magic sysrq keys functionality (Scott Long)
  22. Re: magic sysrq keys functionality (Brian Fundakowski Feldman)
  23. ATAPICAM FreeBSD 5.2.1 (Derrick Edwards)
  24. Re: Xorg built fails on CURRENT: can't find Xauth.h
      (Chris Shenton)
  25. Re: magic sysrq keys functionality (Scott Long)
  26. ATAPICAM FreeBSD 5.2.1 (Derrick Edwards)
  27. ATAPICAM FreeBSD 5.2.1 (Derrick Edwards)
  28. Re: magic sysrq keys functionality (Brian Fundakowski Feldman)
  29. Re: radeon drm code in -current (Patrick Hurrelmann)
  30. Re: Xorg built fails on CURRENT: can't find Xauth.h (Eric Anholt)
  31. Re: radeon drm code in -current (Eric Anholt)
  32. Re: magic sysrq keys functionality (Scott Long)
  33. Assertion td->td_turnstile (Randy Bush)
  34. Re: magic sysrq keys functionality (bugghy)
  35. Re: magic sysrq keys functionality  (Kevin Oberman)
  36. rc.d/localpkg (Robin P. Blanchard)
  37. Re: magic sysrq keys functionality (Brian Fundakowski Feldman)


----------------------------------------------------------------------

Message: 1
Date: Mon, 26 Jul 2004 14:07:09 +0200
From: "Andreas Heinze" <andreasheinze@gmx.de>
Subject: Re: acpi and touchpad under 5.2-current
To: freebsd-current@freebsd.org
Message-ID: <opsbqul7hrwd3nx0@andi.arcor.de>
Content-Type: text/plain; format=flowed; delsp=yes;
	charset=iso-8859-15


> Try booting verbosely with ACPI enabled and then disabled and compare the
> differences in dmesg..
Ok, i will try it...

------------------------------

Message: 2
Date: Mon, 26 Jul 2004 14:08:05 +0200
From: "Andreas Heinze" <andreasheinze@gmx.de>
Subject: Re: acpi and touchpad under 5.2-current
To: freebsd-current@freebsd.org
Message-ID: <opsbqunrhswd3nx0@andi.arcor.de>
Content-Type: text/plain; format=flowed; delsp=yes;
	charset=iso-8859-15


> Try booting verbosely with ACPI enabled and then disabled and compare the
> differences in dmesg..
Ok, i will try it...

------------------------------

Message: 3
Date: Mon, 26 Jul 2004 14:08:47 +0200
From: "Andreas Heinze" <andreasheinze@gmx.de>
Subject: Re: acpi and touchpad under 5.2-current
To: freebsd-current@freebsd.org
Message-ID: <opsbquoxicwd3nx0@andi.arcor.de>
Content-Type: text/plain; charset=iso-8859-15; format=flowed;
	delsp=yes


> Try booting verbosely with ACPI enabled and then disabled and compare the
> differences in dmesg..
Ok, i will try it...

------------------------------

Message: 4
Date: Mon, 26 Jul 2004 14:26:39 +0200
From: Robert Klein <RoKlein@roklein.de>
Subject: Re: laptop for -current
To: freebsd-current@freebsd.org
Cc: Joseph Peterson <joseph.peterson@gmail.com>
Message-ID: <200407261426.39773.RoKlein@roklein.de>
Content-Type: text/plain;  charset="iso-8859-1"

Thanks, Joe. I tried it, but, unfortunately, it does not help. 
Well, I guess there's an incentive to try NetBSD...  (it does 
boot; I already had it installed once.)

Thanks again,
Robert

On Donnerstag, 22. Juli 2004 17:23, Joseph Peterson wrote:
> Robert, I'm not sure if this is related to the problem that I
> had/have (and forgot about) with my Toshiba, but I've found
> that if Windows was run and I go to boot FreeBSD, I need to go
> into the BIOS and save it, no changes have to be made, just go
> into BIOS and save it.  This is true of booting from the
> install CD for the first time, or (as is my case) dual booting
> back and forth, when I shut down Windows I have to go save the
> BIOS before FreeBSD will boot.
>
> -joe
>
> On Thu, 22 Jul 2004 07:46:55 +0200, Robert Klein 
<roklein@roklein.de> wrote:
> > On Mittwoch, 21. Juli 2004 22:36, Kim Culhan wrote:
> > > Anyone know a laptop they think is good for
> > > FreeBSd-current?
> >
> > I have an Acer Travelmate 291LCI which doesn't boot.
> > Stable doesn't find the CD-ROM, all currents I tried had
> > some kinda panic during boot.. :(
> >
> > Robert
> >
> >
> >
> > _______________________________________________
> > freebsd-current@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to
> > "freebsd-current-unsubscribe@freebsd.org"
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe@freebsd.org"

------------------------------

Message: 5
Date: Mon, 26 Jul 2004 14:30:04 +0200 (CEST)
From: Lukas Ertl <le@FreeBSD.org>
Subject: Re: Vinum status
To: Matthias Schuendehuette <msch@snafu.de>
Cc: freebsd-current@FreeBSD.org
Message-ID: <20040726142810.A772@korben.in.tern>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Sun, 25 Jul 2004, Matthias Schuendehuette wrote:

> Jul 22 21:27:13 current kernel:
> swap_pager: I/O error - pageout failed; blkno 66119,size 4096, error 12
> Jul 22 21:27:13 current kernel:
> swap_pager: I/O error - pageout failed; blkno 612,size 4096, error 12
> Jul 22 21:27:13 current kernel:
> swap_pager: I/O error - pageout failed; blkno 66120,size 12288, error 12
> Jul 22 21:27:13 current kernel:
> swap_pager: I/O error - pageout failed; blkno 613,size 8192, error 12
> [... repeatedly]

I cannot really repeat that.  I put /usr/obj on a geom_vinum RAID5 and 
that worked fine.  Maybe you're low on memory?  Is swap also on a 
geom_vinum volume?

> I noticed that geom_vinum RAID5 is about twice as fast as 'classic'
> vinum RAID5 concerning sequential write and has therefor a higher
> CPU-usage as before - but that should not prevent the swap_pager from
> working...

I'm really astonished that you experience that performance. :-)  My tests 
showed that vinum is faster as geom_vinum in the RAID5 case (yet).

> Another problem occurs if geom_vinum.ko is loaded via loader.conf - it
> does not panic any more (as it does about two weeks ago), but it does
> not collect all subdisks of a RAID5-plex *at boottime*. If I start
> gvinum if the system is up (multiuser), there are no problems any more
> collecting *all* subdisks available...

That should be fixed by now.

> But, OK, that's alpha-software... I try to find out where the problems
> are and report them to Lukas. I'm sure he will working on that if he
> has overcome the more private nuisances he has in the moment...

Thanks. :-)

cheers,
le

-- 
Lukas Ertl                         http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org                     http://people.freebsd.org/~le/

------------------------------

Message: 6
Date: Mon, 26 Jul 2004 15:06:16 +0200
From: Anders Odberg <anders.odberg@usit.uio.no>
Subject: suspend/resume problems (APM) on Thinkpad T40
To: freebsd-current@freebsd.org
Message-ID: <rfawu0qex4n.fsf@fangorn.uio.no>
Content-Type: text/plain; charset=us-ascii


Hi,

I have a Thinkpad T40 (model 2373-94G) running FreeBSD-5-CURRENT. Until the
beginning of June, using APM to suspend/resume worked great on this
machine. On every cvsup I've tried after the beginning of June, suspend
seems to work fine, but when resuming, the machine will simply freeze.
I get my prompt back on the display, but no input is accepted, the machine
is completely dead, and needs to be power-cycled.

Have anybody else seen this problem and found a solution? Since I really
need suspend/resume, I'm still running on kernel-source from 2004-05-27,
but it would be great to be able to upgrade to later source.

I've tried ACPI instead of APM, suspend/resume with S3 works fine using the
latest cvsup, but this drains the battery *much* faster than with APM, so
this is not an option for now (the battery only lasts ~10hours with suspend
using ACPI, while suspend using APM lasts a week or so).

(On my Thinkpad A21e, on the other hand, suspend/resume using APM works fine
 even with the most recent cvsup, so something must be special with the T40.)


Thanks,
        -Anders.

------------------------------

Message: 7
Date: Mon, 26 Jul 2004 17:28:42 +0400
From: Gleb Smirnoff <glebius@freebsd.org>
Subject: Re: suspend/resume problems (APM) on Thinkpad T40
To: Anders Odberg <anders.odberg@usit.uio.no>
Cc: freebsd-current@freebsd.org
Message-ID: <20040726132842.GA98330@cell.sick.ru>
Content-Type: text/plain; charset=koi8-r

On Mon, Jul 26, 2004 at 03:06:16PM +0200, Anders Odberg wrote:
A> I have a Thinkpad T40 (model 2373-94G) running FreeBSD-5-CURRENT. Until the

A> beginning of June, using APM to suspend/resume worked great on this
A> machine. On every cvsup I've tried after the beginning of June, suspend
A> seems to work fine, but when resuming, the machine will simply freeze.
A> I get my prompt back on the display, but no input is accepted, the machine

A> is completely dead, and needs to be power-cycled.

I can confirm that I see the same problems in T20. The break definitely
occured somewhat between July 9 and July 15. July 9 kernel works
fine for me.

If noone replies until weekend, I'll try to find the commit which broke it.

A> I've tried ACPI instead of APM, suspend/resume with S3 works fine using the

A> latest cvsup, but this drains the battery *much* faster than with APM, so
A> this is not an option for now (the battery only lasts ~10hours with suspend

A> using ACPI, while suspend using APM lasts a week or so).

Same with my T20. Also ACPI introduces random hangs of a working notebook
and random powerups of switched off notebook. :(

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE

------------------------------

Message: 8
Date: Mon, 26 Jul 2004 15:34:07 +0200
From: Johan Karlsson <johan@freebsd.org>
Subject: kernel crash in kdb_enter
To: current@freebsd.org
Message-ID: <20040726133407.GA1944@numeri.campus.luth.se>
Content-Type: text/plain; charset=us-ascii

Hi 

I got the following in my /var/log/messsage:

Jul 26 14:04:41 numeri kernel: Fatal trap 3: breakpoint instruction fault whil
e in kernel mode
Jul 26 14:04:41 numeri kernel: instruction pointer      = 0x8:0xc04de1c4
Jul 26 14:04:41 numeri kernel: stack pointer            = 0x10:0xde3c9304
Jul 26 14:04:41 numeri kernel: frame pointer            = 0x10:0xde3c9304
Jul 26 14:04:41 numeri kernel: code segment             = base 0x0, limit 0xff
fff, type 0x1b
Jul 26 14:04:41 numeri kernel: = DPL 0, pres 1, def32 1, gran 1
Jul 26 14:04:41 numeri kernel: processor eflags = IOPL = 0
Jul 26 14:04:41 numeri kernel: current process          = 676 (mozilla-bin)
Jul 26 14:04:41 numeri kernel: trap number              = 3
Jul 26 14:04:41 numeri kernel: panic: breakpoint instruction fault
Jul 26 14:04:41 numeri kernel: KDB: enter: panic


I got a gassilion of them with different stack/frame pointers but all with the
 
same instruction pointer. According to nm this instruction pointer is in 
kdb_enter:

k@numeri ~ >nm -n /boot/kernel/kernel | grep c04de1
c04de114 T kdb_backtrace
c04de144 T kdb_dbbe_select
c04de198 T kdb_enter
c04de1c8 T kdb_init

It seems likt the trap was repeated until it finally rebooted itself. 
Unfortunatly I did not get a kernel dump since it just reboot without
trying to dump.

This is with a kernel built from source from 20040719. I'm rebuilding with 
current source from now and hopefully its fixed. 

The kernel includes the following options:
options         KDB                     # Enable kernel debugger support.
options         KDB_TRACE
options         DDB                     # Support DDB.
options         DDB_NUMSYM
options         GDB                     # Support remote GDB.
options         INVARIANTS              # Enable calls of extra sanity checkin
g
options         INVARIANT_SUPPORT       # Extra sanity checks of internal stru
ctures, required by INVARIANTS
options         WITNESS                 # Enable checks to detect deadlocks an
d cycles
options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for s
peed
options         ACPI_DEBUG

but I do not have it set up for remote debugging at the moment.

Also of interest, this is with ULE as scheduler and I did NOT comment out 
PREEMPTION since I was hoping to get a dump if it crashed and analys it 
after the fact :-(

I do not know if there is any more info I can provide but feel free to ask. 


/Johan K

-- 
Johan Karlsson		mailto:johan@FreeBSD.org

------------------------------

Message: 9
Date: Mon, 26 Jul 2004 10:07:07 -0400
From: Chris <chris@tellme3times.com>
Subject: Re: SOUND
To: K Chapman <tech2187@yahoo.com>
Cc: freebsd-current@freebsd.org
Message-ID: <4105100B.9030904@tellme3times.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

Is their a reason why some work with and some work without?

We should have STABLE and CURRENT handbooks where current only talkes 
about changes.

Thanks

Chris


K Chapman wrote:

>do you get an error building a kernel or on boot after
>installing the new kernel with that device?
>
>i have in my kernel conf file:
>device          sound
>device          "snd_via8233"
>
>note the quotes...
>
>=====
>aaarrrggghhh!!!!
>FreeBSD rocks
>
>
>		
>__________________________________
>Do you Yahoo!?
>Take Yahoo! Mail with you! Get it on your mobile phone.
>http://mobile.yahoo.com/maildemo 
>_______________________________________________
>freebsd-current@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>  
>


------------------------------

Message: 10
Date: Mon, 26 Jul 2004 15:02:04 +0100
From: Ben Paley <ben@spooty.net>
Subject: Re: vmnet.ko missing - but it's there! - vmware and crashes
To: "freebsd -current@" <freebsd-current@freebsd.org>
Message-ID: <200407261502.05176.ben@spooty.net>
Content-Type: text/plain;  charset="iso-8859-1"

Hello,

Just to let those of you who helped me know what's going on:

I cvsupped, rebuilt my world and kernel, uninstalled vmware and linux_base, 
re-installed latest versions... crash. Then I recompiled rtc and now 
everything's fine. Oh well. I should have thought of it before, as I've had a 

lot of trouble before with rtc needing to be recompiled after every new 
kernel.

Thanks for your help,
Ben

------------------------------

Message: 11
Date: Mon, 26 Jul 2004 10:21:25 -0400
From: Chris Shenton <chris@shenton.org>
Subject: Xorg built fails on CURRENT: can't find Xauth.h
To: current@freebsd.org
Message-ID: <86smben922.fsf@PECTOPAH.shenton.org>
Content-Type: text/plain; charset=us-ascii

Running CURRENT from CVSup about aa week ago. Trying to follow the
recommended way to swap out XFree86 for Xorg, which a poster said was:

  pkg_delete -f /var/db/pkg/XFree86-*
  cd /usr/ports/x11/xorg && make install

It bombs out looking for an Xauth.h file; there are no *.h files,
there (just directories), and there's no Xauth.h file in those
subtrees.  I'm I doing something wrong?  

Thanks.

  
cd /usr/ports/x11/xorg/
nice make install
===>  Installing for xorg-6.7.0_1
===>   xorg-6.7.0_1 depends on executable: xvinfo - found
===>   xorg-6.7.0_1 depends on file: /usr/X11R6/share/doc/X11/ddx.txt - not fo
un\
d
===>    Verifying install for /usr/X11R6/share/doc/X11/ddx.txt in /usr/ports/x
11\
/xorg-documents
===>  Vulnerability check disabled, database not found
>> X11R6.7.0-src6.tar.gz doesn't seem to exist in /usr/ports/distfiles/xorg.
>> Attempting to fetch from http://freedesktop.org/~xorg/X11R6.7.0/src/.
[time passes]
cc -c -O -pipe -ansi -pedantic -Wno-system-headers -Dasm=__asm  -Wall -Wpointe
r-\
arith -Wundef    -fno-merge-constants -I../include -I/usr/local/ports/x11-serv
er\
s/xorg-server/work/xc/exports/include/X11 -I/usr/local/ports/x11-servers/xorg-
se\
rver/work/xc/include/fonts -I/usr/local/ports/x11-servers/xorg-server/work/xc/
in\
clude/extensions               -I/usr/local/ports/x11-servers/xorg-server/work
/x\
c/programs/Xserver/Xext -I/usr/local/ports/x11-servers/xorg-server/work/xc/pro
gr\
ams/Xserver/lbx  -I/usr/local/ports/x11-servers/xorg-server/work/xc -I/usr/loc
al\
/ports/x11-servers/xorg-server/work/xc/exports/include  -I/usr/X11R6/include -
DC\
SRG_BASED -DSHAPE -DXINPUT -DXKB  -DXAPPGROUP   -DXCSECURITY -DTOGCUP   -DXF86
BI\
GFONT -DDPMSExtension     -DPANORAMIX    -DRENDER -DRANDR -DGCCUSESGAS -DAVOID
_G\
LYPHBLT -DPIXPRIV -DSINGLEDEPTH                                 -DXFreeXDGA -D
Xv\
Extension                               -DXFree86LOADER  -DXFree86Server      
  \
                        -DXF86VIDMODE                           -DXvMCExtensio
n \
                                -DSMART_SCHEDULE                              
  \
-DBUILDDEBUG -DXResExtension                            -DX_BYTE_ORDER=X_LITTL
E_\
ENDIAN                          -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((
7)\
 * 100000) + ((0) * 1000) + 0)" -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO     -D
VE\
NDOR_STRING=\""The X.Org Foundation"\" -DVENDOR_RELEASE="(((6) * 10000000) + (
(7\
) * 100000) + ((0) * 1000) + 0)"   cursor.c
make: don't know how to make /usr/X11R6/include/X11/Xauth.h. Stop
*** Error code 2

Stop in /usr/local/ports/x11-servers/xorg-server/work/xc/programs/Xserver.
*** Error code 1

Stop in /usr/local/ports/x11-servers/xorg-server.
*** Error code 1

Stop in /usr/local/ports/x11/xorg.

Compilation exited abnormally with code 1 at Mon Jul 26 09:50:23

------------------------------

Message: 12
Date: Mon, 26 Jul 2004 16:23:12 +0200
From: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Subject: port of rssadapt which could solve hostap tx problems with
	802.11
To: current@freebsd.org
Message-ID: <20040726142312.GA88633@stud.fit.vutbr.cz>
Content-Type: text/plain; charset=us-ascii

Hi,

I tried to port rssadapt from NetBSD to FreeBSD, the patch solves (at least I

think it might solve it) the problem with hostap tx... described by few people

here on current@

I dont have any wifi hw so I cannot test it... so pls try it and tell me.
the patch is at: hysteria.sk/~neologism/wifi.patch

thnx

roman

------------------------------

Message: 13
Date: Tue, 27 Jul 2004 00:35:34 +1000
From: Geoff Roberts <robertsg@westnet.com.au>
Subject: ath driver and wg311t
To: freebsd-current@freebsd.org
Message-ID: <200407270035.34991.robertsg@westnet.com.au>
Content-Type: text/plain;  charset="us-ascii"

Hi,

I've got a Netgear WG311T (Atheros chip) card in my FreeBSD current machine. 

I'm trying to set it up as an access point.

The card at the other end is a netgear WG111 (USB) on windows XP.

It is very, very hard to get the two to connect (takes hours). Most of the 
time they don't. Once connected though they stay connected pretty well.

I've turned on debug.ieee80211 and get the error message:
unsupported auth 1.

Looking through the code this means the WG111 on XP is trying to access the 
WG311T on FreeBSD via a shared key - yet I've told XP to use open mode.

Unfortunately I don't have another wireless card to see whether it is just the
 
WG111 on XP that is the problem (it could be the driver on XP ignoring the 
open mode selection).

Could it also be the FreeBSD ath driver telling the XP machine to connect with
 
a shared key?

Thanks,

Geoff

I've set the WG311T up as follows:
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.10.1 netmask 0xffffff00 broadcast 192.168.10.255
        ether xx:xx:xx:xx:xx:xx
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
        status: associated
        ssid testnet 1:testnet
        channel 7 authmode OPEN powersavemode OFF powersavesleep 100
        rtsthreshold 2312 protmode CTS
        wepmode MIXED weptxkey 1
        wepkey 1:40-bit

On windows XP I've set the connection up as:
Data encryption: WEP
Network Authentication: open
Key is not provided automatically

------------------------------

Message: 14
Date: Mon, 26 Jul 2004 08:54:12 -0600 (MDT)
From: Scott Long <scottl@freebsd.org>
Subject: Re: rtld problem with /usr partition
To: Florent Thoumie <flz@xbsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040726084747.D32601@pooker.samsco.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Sun, 25 Jul 2004, Florent Thoumie wrote:
> 	Hi,
>
> 	I have a problem since the beginning of the week, my -CURRENT
> 	system can't boot since I have a /usr partition and dynamically
> 	linked programs are looking for /usr/libexec/ld-elf.so.1.
>
> 	Some programs are called before /usr partition has been mounted
> 	(sh, even mount, ...).
>
> 	I have found a workaround for that, launching a /rescue/sh,
> 	mounting /usr and replacing /usr/libexec/ld-elf.so.1 symlink
> 	with a real copy of ld-elf.so.1, but this is boring to type each
> 	time I have to shutdown my computer.
>
> 	CURRENT is dated 07/19/2004.
>
> 	If anyone can help.
>
> 	Best Regards.
>

Hi,

You seem to have a pretty messed up system.  Most dynamically linked
programs in /bin and /sbin should be looking in /libexec, not
/usr/libexec.  Also, /bin/sh should be statically compiled, not
dynamically compiled.  Do you have local customizations to the src
tree or /etc/make.conf that might be affecting this?

Scott

------------------------------

Message: 15
Date: Mon, 26 Jul 2004 11:10:35 -0400
From: Brian Fundakowski Feldman <green@freebsd.org>
Subject: Re: [amd64] Instability worse than ever
To: "Conrad J. Sabatier" <conrads@cox.net>
Cc: freebsd-current@freebsd.org
Message-ID: <20040726151035.GB1473@green.homeunix.org>
Content-Type: text/plain; charset=us-ascii

On Mon, Jul 26, 2004 at 06:58:23AM -0500, Conrad J. Sabatier wrote:
> 
> On 25-Jul-2004 Brian Fundakowski Feldman wrote:
> > On Sat, Jul 24, 2004 at 08:33:57PM -0500, Conrad J. Sabatier wrote:
> >> 
> >> On 25-Jul-2004 Scott Long wrote:
> >> > Conrad J. Sabatier wrote:
> >> > 
> >> >> For the last couple of days, my amd64 box has taken to
> >> >> spontaneously rebooting.  No panic, no coredump, nothing in
> >> >> logs, just reboots.
> >> >> 
> >> >> These always seem to occur just as I'm clicking on something
> >> >> under GNOME.
> >> >> 
> >> >> Very mysterious!
> 
> Happened again this morning.  Waking the machine up from DPMS sleep
> mode, it went straight into a reboot.  :-(
> 
> >> > Do you have INVARIANTS turned on?
> >> 
> >> No, I really should do that.  Don't know why I hadn't already.  Duh.
> >> :-)
> >> 
> >> > If you do, would you be able to hook up a serial console and see
> >> > what the kernel is saying?
> >> 
> >> Been meaning to ask about that.  Would a null modem connection from
> >> my other machine be useable as the serial console?  I have all the
> >> kernel config options and the sio flags set to enable the serial
> >> console, but wasn't sure if that would work or not.  If so, I could
> >> try that.
> > 
> > Absolutely; I just set this up a few days ago, so I know this works
> > with -CURRENT.
> > First, set the sio.0.flags hint in /boot/device.hints to
> > "0x90" so it is a vailable for use as a serial console.  Then, set up
> > the kernel with DDB and KDB and set /etc/sysctl.conf to turn the
> > debug.debugger_on_panic switch to 1.  You should probably be running
> > with at least WITNESS and INVARIANTS, but not necessarily DIAGNOSTIC.
> 
> OK, I've built a new kernel (after cvsup) with INVARIANTS and WITNESS
> enabled, and double-checked my serial debugging setup, however, it's
> just occurred to me that this probably isn't going to help very much in
> this particular situation, as I already had debug.debugger_on_panic
> enabled, and the system still just went directly to a reboot, bypassing
> the debugger altogether.
> 
> Still, perhaps WITNESS may at least provide a clue.  Let's hope so.  :-)

Were you running X?  It is recognized that the console is "unavailable"
when running X, and if no consoles are available, debug.debugger_on_panic
has no effect.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green@FreeBSD.org                               \  The Power to Serve! \

 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


------------------------------

Message: 16
Date: Mon, 26 Jul 2004 11:21:51 -0400
From: Brian Fundakowski Feldman <green@freebsd.org>
Subject: Re: magic sysrq keys functionality
To: bugghy <bugghy@home.ro>
Cc: current@freebsd.org
Message-ID: <20040726152151.GC1473@green.homeunix.org>
Content-Type: text/plain; charset=us-ascii

On Sun, Jul 25, 2004 at 09:23:36PM +0000, bugghy wrote:
> Yeah but it sometimes "freezes" (no reboot) ... and I'd rather umount my
> filesystems before rebooting.

SoftUpdates guarantess that your file systems will not get corrupt.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green@FreeBSD.org                               \  The Power to Serve! \

 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


------------------------------

Message: 17
Date: Mon, 26 Jul 2004 18:09:34 +0200
From: Florent Thoumie <flz@xbsd.org>
Subject: Re: rtld problem with /usr partition
To: Scott Long <scottl@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040726160934.GA10531@gw.xbsd.org>
Content-Type: text/plain; charset=us-ascii

On Mon, Jul 26, 2004 at 08:54:12AM -0600,
Scott Long <scottl@freebsd.org> wrote:

> Hi,
> 
> You seem to have a pretty messed up system.  Most dynamically linked
> programs in /bin and /sbin should be looking in /libexec, not
> /usr/libexec.  Also, /bin/sh should be statically compiled, not
> dynamically compiled.  Do you have local customizations to the src
> tree or /etc/make.conf that might be affecting this?

	Nothing to report for make.conf.

	Everything went fine until I upgraded on 09/07 IIRC.

	Thanks for looking.

-- 
Florent Thoumie                        Epita SRS Promo 2005
web  : http://xbsd.org/~flz            work : (33 1) xxxxxxxx
mail : flz@xbsd.org                    home : (33 1) 34162095
gpg  : 1024D/ADF908C1                  cell : (33 6) 76088660

------------------------------

Message: 18
Date: Mon, 26 Jul 2004 09:17:58 -0700
From: Sam Leffler <sam@errno.com>
Subject: Re: ath driver and wg311t
To: freebsd-current@freebsd.org, robertsg@westnet.com.au
Message-ID: <200407260917.58578.sam@errno.com>
Content-Type: text/plain;  charset="iso-8859-1"

On Monday 26 July 2004 07:35 am, Geoff Roberts wrote:
> Hi,
>
> I've got a Netgear WG311T (Atheros chip) card in my FreeBSD current
> machine. I'm trying to set it up as an access point.
>
> The card at the other end is a netgear WG111 (USB) on windows XP.
>
> It is very, very hard to get the two to connect (takes hours). Most of the
> time they don't. Once connected though they stay connected pretty well.
>
> I've turned on debug.ieee80211 and get the error message:
> unsupported auth 1.
>
> Looking through the code this means the WG111 on XP is trying to access the

> WG311T on FreeBSD via a shared key - yet I've told XP to use open mode.
>
> Unfortunately I don't have another wireless card to see whether it is just
> the WG111 on XP that is the problem (it could be the driver on XP ignoring
> the open mode selection).
>
> Could it also be the FreeBSD ath driver telling the XP machine to connect
> with a shared key?

Your problem is likely due to use of 11g.  The existing net80211 code in 
FreeBSD is missing proper 11g support.  Try forcing the ap to use only 11b 
and see if things work.

	Sam

------------------------------

Message: 19
Date: Mon, 26 Jul 2004 18:25:24 +0200
From: Pawel Jakub Dawidek <pjd@FreeBSD.org>
Subject: Re: HEADSUP gconcat(8) and gstripe(8) users!
To: freebsd-current@freebsd.org
Message-ID: <20040726162524.GB57678@darkness.comp.waw.pl>
Content-Type: text/plain; charset="iso-8859-2"

On Sun, Jul 25, 2004 at 06:51:28PM +0200, Pawel Jakub Dawidek wrote:
+> Hello.
+> 
+> I'm going to change provider's naming tomorrow.
+> The old (current) naming is: /dev/<name>.concat and /dev/<name>.stripe.
+> The new one is going to be: /dev/concat/<name> and /dev/stripe/<name>.
+> 
+> So, dear user, if your are using gconcat(8) or gstripe(8) don't forget
+> to change your /etc/fstab after upgreading the system.

Change committed!

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040726/
cf7230d8/attachment-0001.bin

------------------------------

Message: 20
Date: Mon, 26 Jul 2004 10:00:15 -0700
From: Nate Lawson <nate@root.org>
Subject: Re: Floppy disk drive no longer detected
To: Tim Robbins <tjr@freebsd.org>
Cc: njl@freebsd.org
Message-ID: <4105389F.9000204@root.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

Tim Robbins wrote:

> On Mon, Jul 26, 2004 at 12:13:26PM +1000, Tim Robbins wrote:
>>My floppy disk drive is no longer probed correctly by -CURRENT. I get the
>>following message, but none about fd0 (and /dev/fd0 does not exist):
>>
>>fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on 
acpi0
>>
>>Previously it probed as:
>>
>>fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3
f0-0x3f5 irq 6 drq 2 on acpi0
>>fdc0: FIFO enabled, 8 bytes threshold
>>fd0: <1440-KB 3.5" drive> on fdc0 drive 0
>>
>>The ACPI DSDT for this system is available at:
>>http://people.freebsd.org/~tjr/k8v.txt.bz2
> 
> Ok, it looks like the FDC device should have a child device for each drive,

> but my system's DSDT has none. Could we work around this in the driver by
> not using _FDE/_FDI to probe unless the FDC device has at least 1 child with

> an _FDI object, or should we add an entry to the quirks table for this
> particular BIOS instead?

Thanks for the info.  I'm working on a fix for this, as well as the case 
where a child device exists but has no _FDI method.

-- 
-Nate

------------------------------

Message: 21
Date: Mon, 26 Jul 2004 11:49:55 -0600 (MDT)
From: Scott Long <scottl@freebsd.org>
Subject: Re: magic sysrq keys functionality
To: Brian Fundakowski Feldman <green@freebsd.org>
Cc: current@freebsd.org
Message-ID: <20040726114142.E32601@pooker.samsco.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Mon, 26 Jul 2004, Brian Fundakowski Feldman wrote:
B> On Sun, Jul 25, 2004 at 09:23:36PM +0000, bugghy wrote:
> > Yeah but it sometimes "freezes" (no reboot) ... and I'd rather umount my
> > filesystems before rebooting.
>
> SoftUpdates guarantess that your file systems will not get corrupt.
>

This isn't entirely correct.  Softupdates guarantees that you won't get
corruption due to metadata pointing to invalid or stale data blocks.
That's not the same as guaranteeing that there won't be any corruption.
Write caching on the drive combined with an in-opportune power loss or
other failure can easily leave you with corrupt or incomplete metadata
and/or data blocks.  A panic while metadata is being committed to disk can
also leave the metadata highly inconsistent and prone to corruption.
This isn't to say the SU is bad or that other strategies are necessarily
better, just that there are definite risks.

Scott

------------------------------

Message: 22
Date: Mon, 26 Jul 2004 13:52:19 -0400
From: Brian Fundakowski Feldman <green@freebsd.org>
Subject: Re: magic sysrq keys functionality
To: Scott Long <scottl@freebsd.org>
Cc: current@freebsd.org
Message-ID: <20040726175219.GA96815@green.homeunix.org>
Content-Type: text/plain; charset=us-ascii

On Mon, Jul 26, 2004 at 11:49:55AM -0600, Scott Long wrote:
> On Mon, 26 Jul 2004, Brian Fundakowski Feldman wrote:
> B> On Sun, Jul 25, 2004 at 09:23:36PM +0000, bugghy wrote:
> > > Yeah but it sometimes "freezes" (no reboot) ... and I'd rather umount my

> > > filesystems before rebooting.
> >
> > SoftUpdates guarantess that your file systems will not get corrupt.
> >
> 
> This isn't entirely correct.  Softupdates guarantees that you won't get
> corruption due to metadata pointing to invalid or stale data blocks.
> That's not the same as guaranteeing that there won't be any corruption.
> Write caching on the drive combined with an in-opportune power loss or
> other failure can easily leave you with corrupt or incomplete metadata
> and/or data blocks.  A panic while metadata is being committed to disk can
> also leave the metadata highly inconsistent and prone to corruption.
> This isn't to say the SU is bad or that other strategies are necessarily
> better, just that there are definite risks.

If you just want to generalize it, you can say that "SoftUpdates
guarantees that your file systems will not get corrupt due to just
software errors."  I don't particularly think not having UPS is a
good idea, but those can fail, and even so the ordering is such
that a truncated inode won't result in a truly corrupt filesystem,
and the inode doesn't get written until its contents are written
out.

Also, hw.ata.wc really shouldn't default to 1.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green@FreeBSD.org                               \  The Power to Serve! \

 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


------------------------------

Message: 23
Date: Mon, 26 Jul 2004 14:01:10 -0400
From: Derrick Edwards <dantavious@comcast.net>
Subject: ATAPICAM FreeBSD 5.2.1
To: freebsd-current@freebsd.org
Message-ID: <200407261401.10527.dantavious@comcast.net>
Content-Type: text/plain;  charset="iso-8859-1"

     Good day to all. I have been going crazy trying to get K3b to work. 
Everytime I attempt to burn a cd, the system freezes and reboots. I have been 

on the formus for a month now trying to find a soulution. Seems a lot of 
other people are having the same issue, and all theses guys are pointing to 
atapicam.  I reinstalled 4.10 for testing  and k3b works perfectly. Is 
atapicam really the problem as I suspect? If so, will this be fixed prior to 

5.3 release. Apologize in advance if this is a silly question. 
Thanks for your assistance, please let me know if you need additional info.
Derrick


------------------------------

Message: 24
Date: Mon, 26 Jul 2004 14:01:30 -0400
From: Chris Shenton <chris@shenton.org>
Subject: Re: Xorg built fails on CURRENT: can't find Xauth.h
To: current@freebsd.org
Message-ID: <86n01mmyv9.fsf@PECTOPAH.shenton.org>
Content-Type: text/plain; charset=us-ascii

Fixed, but I don't know if what I did really helped.

I had already removed imake-4 and replaced it with imake-6.  For
yucks, I did

  cd /usr/ports/devel/imake-6
  make deinstall reinstall clean

Then re-did the Xorg build:

  cd /usr/ports/x11/xorg
  make clean
  make         [it seemed to do some new stuff now it didn't do before]
  make install [built then installed lots of stuff]

Finished cleanly. I hate it when "It fixed itself".
Sorry I don't know what really helped.

Now to rebuild all my X11-based ports I guess.  

------------------------------

Message: 25
Date: Mon, 26 Jul 2004 12:15:02 -0600 (MDT)
From: Scott Long <scottl@freebsd.org>
Subject: Re: magic sysrq keys functionality
To: Brian Fundakowski Feldman <green@freebsd.org>
Cc: current@freebsd.org
Message-ID: <20040726121005.D32601@pooker.samsco.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Mon, 26 Jul 2004, Brian Fundakowski Feldman wrote:
> On Mon, Jul 26, 2004 at 11:49:55AM -0600, Scott Long wrote:
> > On Mon, 26 Jul 2004, Brian Fundakowski Feldman wrote:
> > B> On Sun, Jul 25, 2004 at 09:23:36PM +0000, bugghy wrote:
> > > > Yeah but it sometimes "freezes" (no reboot) ... and I'd rather umount 
my
> > > > filesystems before rebooting.
> > >
> > > SoftUpdates guarantess that your file systems will not get corrupt.
> > >
> >
> > This isn't entirely correct.  Softupdates guarantees that you won't get
> > corruption due to metadata pointing to invalid or stale data blocks.
> > That's not the same as guaranteeing that there won't be any corruption.
> > Write caching on the drive combined with an in-opportune power loss or
> > other failure can easily leave you with corrupt or incomplete metadata
> > and/or data blocks.  A panic while metadata is being committed to disk can

> > also leave the metadata highly inconsistent and prone to corruption.
> > This isn't to say the SU is bad or that other strategies are necessarily
> > better, just that there are definite risks.
>
> If you just want to generalize it, you can say that "SoftUpdates
> guarantees that your file systems will not get corrupt due to just
> software errors."  I don't particularly think not having UPS is a
> good idea, but those can fail, and even so the ordering is such
> that a truncated inode won't result in a truly corrupt filesystem,
> and the inode doesn't get written until its contents are written
> out.
>
> Also, hw.ata.wc really shouldn't default to 1.
>

GAH!  No, please don't start this war again!  The last time that we tried
turning this off in a release (4.1 IIRC), were were plagqued by months of
earthquakes, plagues, and deaths of first-born youngsters.  I 100% agree
that write caching in ATA is not compatible with data integrety, but the
ATA marketting machine has convinced us that cached+untagged speed is
better than uncached+tagged safety.  C'est la vie, or so they say here.

Scott

------------------------------

Message: 26
Date: Mon, 26 Jul 2004 14:18:35 -0400
From: Derrick Edwards <dantavious@comcast.net>
Subject: ATAPICAM FreeBSD 5.2.1
To: freebsd-current@freebsd.org
Message-ID: <200407261418.35243.dantavious@comcast.net>
Content-Type: text/plain;  charset="iso-8859-1"

     Good day to all. I have been going crazy trying to get K3b to work. 
Everytime I attempt to burn a cd, the system freezes and reboots. I have been 

on the formus for a month now trying to find a soulution. Seems a lot of 
other people are having the same issue, and all theses guys are pointing to 
atapicam.  I reinstalled 4.10 for testing  and k3b works perfectly. Is 
atapicam really the problem as I suspect? If so, will this be fixed prior to 

5.3 release. Apologize in advance if this is a silly question. 
Thanks for your assistance, please let me know if you need additional info.
Derrick


------------------------------

Message: 27
Date: Mon, 26 Jul 2004 14:20:18 -0400
From: Derrick Edwards <dantavious@comcast.net>
Subject: ATAPICAM FreeBSD 5.2.1
To: freebsd-current@freebsd.org
Message-ID: <200407261420.18884.dantavious@comcast.net>
Content-Type: text/plain;  charset="iso-8859-1"

     Good day to all. I have been going crazy trying to get K3b to work. 
Everytime I attempt to burn a cd, the system freezes and reboots. I have been 

on the formus for a month now trying to find a soulution. Seems a lot of 
other people are having the same issue, and all theses guys are pointing to 
atapicam.  I reinstalled 4.10 for testing  and k3b works perfectly. Is 
atapicam really the problem as I suspect? If so, will this be fixed prior to 

5.3 release. Apologize in advance if this is a silly question. 
Thanks for your assistance, please let me know if you need additional info.
Derrick


------------------------------

Message: 28
Date: Mon, 26 Jul 2004 14:18:21 -0400
From: Brian Fundakowski Feldman <green@freebsd.org>
Subject: Re: magic sysrq keys functionality
To: Scott Long <scottl@freebsd.org>
Cc: current@freebsd.org
Message-ID: <20040726181821.GB96815@green.homeunix.org>
Content-Type: text/plain; charset=us-ascii

On Mon, Jul 26, 2004 at 12:15:02PM -0600, Scott Long wrote:
> On Mon, 26 Jul 2004, Brian Fundakowski Feldman wrote:
> > On Mon, Jul 26, 2004 at 11:49:55AM -0600, Scott Long wrote:
> > > On Mon, 26 Jul 2004, Brian Fundakowski Feldman wrote:
> > > B> On Sun, Jul 25, 2004 at 09:23:36PM +0000, bugghy wrote:
> > > > > Yeah but it sometimes "freezes" (no reboot) ... and I'd rather umoun
t my
> > > > > filesystems before rebooting.
> > > >
> > > > SoftUpdates guarantess that your file systems will not get corrupt.
> > > >
> > >
> > > This isn't entirely correct.  Softupdates guarantees that you won't get

> > > corruption due to metadata pointing to invalid or stale data blocks.
> > > That's not the same as guaranteeing that there won't be any corruption.

> > > Write caching on the drive combined with an in-opportune power loss or
> > > other failure can easily leave you with corrupt or incomplete metadata
> > > and/or data blocks.  A panic while metadata is being committed to disk c
an
> > > also leave the metadata highly inconsistent and prone to corruption.
> > > This isn't to say the SU is bad or that other strategies are necessarily

> > > better, just that there are definite risks.
> >
> > If you just want to generalize it, you can say that "SoftUpdates
> > guarantees that your file systems will not get corrupt due to just
> > software errors."  I don't particularly think not having UPS is a
> > good idea, but those can fail, and even so the ordering is such
> > that a truncated inode won't result in a truly corrupt filesystem,
> > and the inode doesn't get written until its contents are written
> > out.
> >
> > Also, hw.ata.wc really shouldn't default to 1.
> >
> 
> GAH!  No, please don't start this war again!  The last time that we tried
> turning this off in a release (4.1 IIRC), were were plagqued by months of
> earthquakes, plagues, and deaths of first-born youngsters.  I 100% agree
> that write caching in ATA is not compatible with data integrety, but the
> ATA marketting machine has convinced us that cached+untagged speed is
> better than uncached+tagged safety.  C'est la vie, or so they say here.

I think it would be prudent to add a nice fat "WARNING:" printf to the
boot process.  It's really not obvious that FreeBSD defaults to having
your hard drives run "unsafely," even though it is usually faster.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green@FreeBSD.org                               \  The Power to Serve! \

 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


------------------------------

Message: 29
Date: Mon, 26 Jul 2004 20:30:06 +0200
From: Patrick Hurrelmann <outi@bytephobia.de>
Subject: Re: radeon drm code in -current
To: "George D. Gal" <ggal@vsecurity.com>
Cc: Eric Anholt <eta@lclark.edu>
Message-ID: <20040726203006.269bb1e6@duality.bytephobia.de>
Content-Type: text/plain; charset=US-ASCII

On Fri, 23 Jul 2004 13:01:40 -0400
"George D. Gal" <ggal@vsecurity.com> wrote:

> Well the agp.ko and radeon.ko are both loaded, unfortunately radeon doesn't

> display any error messages, and reverting back to another -current kernel
> fixes the issue. I guess I'll have to diff the source that someone modified 
in
> the last month or so...
> 
> AGP is successfully loaded.
> 
> -george
> 
> ----- Original Message ----- 
> From: "Eric Anholt" <eta@lclark.edu>
> To: "George D. Gal" <ggal@vsecurity.com>
> Cc: <freebsd-current@freebsd.org>
> Sent: Friday, July 23, 2004 12:45 PM
> Subject: Re: radeon drm code in -current
> 
> 
> > On Fri, 2004-07-23 at 05:13, George D. Gal wrote:
> > > >From what I can tell no entry is created in /dev/dri/ for the card.
> Attached
> > > is relevant portion from the XFree86.log
> > >
> > > -george
> > >
> > >
> > > (II) Primary Device is: PCI 01:00:0
> > > (--) Assigning device section with no busID to primary device
> > > (--) Chipset ATI Radeon Mobility 9000 (M9) Lf (AGP) found
> > > (II) resource ranges after xf86ClaimFixedResources() call:
> > >         [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
> > >         [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
> > >         [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
> > >         [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
> > > ...skipping...
> > >         [31] -1 0       0x0000bf40 - 0x0000bf7f (0x40) IX[B]E
> > >         [32] -1 0       0x0000bf80 - 0x0000bf9f (0x20) IX[B]E
> > >         [33] -1 0       0x0000c000 - 0x0000c0ff (0x100) IX[B](B)
> > >         [34] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
> > >         [35] 0  0       0x000003c0 - 0x000003df (0x20) IS[B](OprU)
> > > (==) RADEON(0): Write-combining range (0xfcff0000,0x80000) was already
> clear
> > > (==) RADEON(0): Write-combining range (0xe8000000,0x2000000)
> > > (==) RADEON(0): Write-combining range (0xa0000,0x10000) was already clea
r
> > > drmOpenDevice: minor is 0
> > > drmOpenDevice: node name is /dev/dri/card0
> > > drmOpenDevice: open result is -1, (No such file or directory)
> > > drmOpenDevice: open result is -1, (No such file or directory)
> > > drmOpenDevice: Open failed
> > > drmOpenDevice: minor is 0
> > > drmOpenDevice: node name is /dev/dri/card0
> > > drmOpenDevice: open result is -1, (No such file or directory)
> > > drmOpenDevice: open result is -1, (No such file or directory)
> > > drmOpenDevice: Open failed
> > > [drm] failed to load kernel module "radeon"
> > > (II) RADEON(0): [drm] drmOpen failed
> > > (EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
> > > (II) RADEON(0): Memory manager initialized to (0,0) (1408,5957)
> > > (II) RADEON(0): Reserved area from (0,1050) to (1408,1052)
> >
> > So, the question is why you couldn't load the radeon module.  Does it
> > exist in /boot/kernel/radeon.ko?  It should, it's built by default.  If
> > it is, do you get any errors in your dmesg about missing symbols, or do
> > you not have AGP successfully loaded?
> >
> > -- 
> > Eric Anholt                                eta@lclark.edu
> > http://people.freebsd.org/~anholt/         anholt@FreeBSD.org
> >


I experience excactly the same problem. I have Dell Latitude D600 with a Radeo
n Mobility 9000, too.

I have radeondrm and agp compiled into my kernel running CURRENT of yesterday 
and XFree86-4.3.

Does anybody have a hint, how to fix this or has this issue been fixed?

Thx,

Patrick

-- 
===========================================================================
Patrick Hurrelmann         | "Programming today is a race between software
Mannheim, Germany          |  engineers striving to build bigger and better 
                           |  idiot-proof programs, and the Universe trying
outi at bytephobia.de      |  to produce bigger and better idiots. So far,
www.bytephobia.de          |  the Universe is winning."         - Rich Cook

------------------------------

Message: 30
Date: Mon, 26 Jul 2004 11:23:54 -0700
From: Eric Anholt <eta@lclark.edu>
Subject: Re: Xorg built fails on CURRENT: can't find Xauth.h
To: Chris Shenton <chris@shenton.org>
Cc: current@freebsd.org
Message-ID: <1090866234.64841.40.camel@leguin>
Content-Type: text/plain

On Mon, 2004-07-26 at 11:01, Chris Shenton wrote:
> Fixed, but I don't know if what I did really helped.
> 
> I had already removed imake-4 and replaced it with imake-6.  For
> yucks, I did
> 
>   cd /usr/ports/devel/imake-6
>   make deinstall reinstall clean

Yeah, something got botched with your ports -- I suspect you had
xorg-libraries and XFree86 libraries installed at the same time and
pkg_deleting messed things up.

> Then re-did the Xorg build:
> 
>   cd /usr/ports/x11/xorg
>   make clean
>   make         [it seemed to do some new stuff now it didn't do before]
>   make install [built then installed lots of stuff]
> 
> Finished cleanly. I hate it when "It fixed itself".
> Sorry I don't know what really helped.
> 
> Now to rebuild all my X11-based ports I guess.  

No need to do that.  It's all binary compatible.

-- 
Eric Anholt                                eta@lclark.edu          
http://people.freebsd.org/~anholt/         anholt@FreeBSD.org



------------------------------

Message: 31
Date: Mon, 26 Jul 2004 11:28:52 -0700
From: Eric Anholt <eta@lclark.edu>
Subject: Re: radeon drm code in -current
To: outi@bytephobia.de
Cc: freebsd-current@freebsd.org
Message-ID: <1090866532.64841.43.camel@leguin>
Content-Type: text/plain


> > > > (==) RADEON(0): Write-combining range (0xfcff0000,0x80000) was already

> > clear
> > > > (==) RADEON(0): Write-combining range (0xe8000000,0x2000000)
> > > > (==) RADEON(0): Write-combining range (0xa0000,0x10000) was already cl
ear
> > > > drmOpenDevice: minor is 0
> > > > drmOpenDevice: node name is /dev/dri/card0
> > > > drmOpenDevice: open result is -1, (No such file or directory)
> > > > drmOpenDevice: open result is -1, (No such file or directory)
> > > > drmOpenDevice: Open failed
> > > > drmOpenDevice: minor is 0
> > > > drmOpenDevice: node name is /dev/dri/card0
> > > > drmOpenDevice: open result is -1, (No such file or directory)
> > > > drmOpenDevice: open result is -1, (No such file or directory)
> > > > drmOpenDevice: Open failed
> > > > [drm] failed to load kernel module "radeon"
> > > > (II) RADEON(0): [drm] drmOpen failed
> > > > (EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
> > > > (II) RADEON(0): Memory manager initialized to (0,0) (1408,5957)
> > > > (II) RADEON(0): Reserved area from (0,1050) to (1408,1052)
> > >
> > > So, the question is why you couldn't load the radeon module.  Does it
> > > exist in /boot/kernel/radeon.ko?  It should, it's built by default.  If

> > > it is, do you get any errors in your dmesg about missing symbols, or do

> > > you not have AGP successfully loaded?
> > >
> > > -- 
> > > Eric Anholt                                eta@lclark.edu
> > > http://people.freebsd.org/~anholt/         anholt@FreeBSD.org
> > >
> 
> 
> I experience excactly the same problem. I have Dell Latitude D600 with a Rad
eon Mobility 9000, too.
> 
> I have radeondrm and agp compiled into my kernel running CURRENT of yesterda
y and XFree86-4.3.
> 
> Does anybody have a hint, how to fix this or has this issue been fixed?

Apparently acpi_video now attaches to the radeon, preventing the DRM
from attaching.  jhb has some WIP to fix this issue, but it's not done.

-- 
Eric Anholt                                eta@lclark.edu          
http://people.freebsd.org/~anholt/         anholt@FreeBSD.org



------------------------------

Message: 32
Date: Mon, 26 Jul 2004 12:54:39 -0600 (MDT)
From: Scott Long <scottl@freebsd.org>
Subject: Re: magic sysrq keys functionality
To: Brian Fundakowski Feldman <green@freebsd.org>
Cc: current@freebsd.org
Message-ID: <20040726125328.L32601@pooker.samsco.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Mon, 26 Jul 2004, Brian Fundakowski Feldman wrote:
> On Mon, Jul 26, 2004 at 12:15:02PM -0600, Scott Long wrote:
> > On Mon, 26 Jul 2004, Brian Fundakowski Feldman wrote:
> > > On Mon, Jul 26, 2004 at 11:49:55AM -0600, Scott Long wrote:
> > > > On Mon, 26 Jul 2004, Brian Fundakowski Feldman wrote:
> > > > B> On Sun, Jul 25, 2004 at 09:23:36PM +0000, bugghy wrote:
> > > > > > Yeah but it sometimes "freezes" (no reboot) ... and I'd rather umo
unt my
> > > > > > filesystems before rebooting.
> > > > >
> > > > > SoftUpdates guarantess that your file systems will not get corrupt.

> > > > >
> > > >
> > > > This isn't entirely correct.  Softupdates guarantees that you won't ge
t
> > > > corruption due to metadata pointing to invalid or stale data blocks.
> > > > That's not the same as guaranteeing that there won't be any corruption
..
> > > > Write caching on the drive combined with an in-opportune power loss or

> > > > other failure can easily leave you with corrupt or incomplete metadata

> > > > and/or data blocks.  A panic while metadata is being committed to disk
 can
> > > > also leave the metadata highly inconsistent and prone to corruption.
> > > > This isn't to say the SU is bad or that other strategies are necessari
ly
> > > > better, just that there are definite risks.
> > >
> > > If you just want to generalize it, you can say that "SoftUpdates
> > > guarantees that your file systems will not get corrupt due to just
> > > software errors."  I don't particularly think not having UPS is a
> > > good idea, but those can fail, and even so the ordering is such
> > > that a truncated inode won't result in a truly corrupt filesystem,
> > > and the inode doesn't get written until its contents are written
> > > out.
> > >
> > > Also, hw.ata.wc really shouldn't default to 1.
> > >
> >
> > GAH!  No, please don't start this war again!  The last time that we tried

> > turning this off in a release (4.1 IIRC), were were plagqued by months of

> > earthquakes, plagues, and deaths of first-born youngsters.  I 100% agree
> > that write caching in ATA is not compatible with data integrety, but the
> > ATA marketting machine has convinced us that cached+untagged speed is
> > better than uncached+tagged safety.  C'est la vie, or so they say here.
>
> I think it would be prudent to add a nice fat "WARNING:" printf to the
> boot process.  It's really not obvious that FreeBSD defaults to having
> your hard drives run "unsafely," even though it is usually faster.
>

I think that this was discussed too.  The problem is that Linux and
Windows also silently default to having it on, and breaking from that
status quo causes too much haertburn.

Scott

------------------------------

Message: 33
Date: Mon, 26 Jul 2004 08:47:55 -1000
From: Randy Bush <randy@psg.com>
Subject: Assertion td->td_turnstile
To: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <16645.20955.594465.563275@roam.psg.com>
Content-Type: text/plain; charset=us-ascii

current as of an hour ago
smp


panic: Assertion td->td_turnstile != NULL failed at /usr/src/sys/kern/subr_tur
nstile.c:478
cpuid = 0; 
KDB: enter: panic
[thread 100340]
Stopped at      kdb_enter+0x30: movl    %ebp,%esp
db> trace
kdb_enter(c05f8022,0,c05f4cb4,df14faa8,100) at kdb_enter+0x30
panic(c05f4cb4,c05fb006,c05fadea,1de,c064d588) at panic+0x156
turnstile_wait(c2142a00,c0642980,c27b89a0,20e,c26d4dc0) at turnstile_wait+0x2a
c
_mtx_lock_sleep(c0642980,0,c05f4d75,cc,c26d4dc0) at _mtx_lock_sleep+0x195
_mtx_lock_flags(c0642980,0,c05f4d75,cc,1) at _mtx_lock_flags+0xb2
cv_wait_sig(c0672e24,c0672e00,c05fbc70,2ee,4) at cv_wait_sig+0x2f4
kern_select(c26d4dc0,4,bfbfed10,0,0) at kern_select+0x516
select(c26d4dc0,df14fd14,14,431,5) at select+0x66
syscall(835002f,2f,a7f002f,835b000,0) at syscall+0x2a0
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (93, FreeBSD ELF32, select), eip = 0x284e3fbf, esp = 0xbfbfe8bc, e
bp = 0xbfbfe8f8 ---
db> 

i can not make a happy kernel

randy


------------------------------

Message: 34
Date: Mon, 26 Jul 2004 21:53:02 +0000
From: bugghy <bugghy@home.ro>
Subject: Re: magic sysrq keys functionality
To: freebsd-current@freebsd.org
Message-ID: <1090878779.715.18.camel@illusion.com>
Content-Type: text/plain



	So, what would be a convenient way to protect a 5.x release against
data loss / corruption in case of frequent powerfaillures. (a software
method)

On Mon, 2004-07-26 at 18:18, Brian Fundakowski Feldman wrote:
> On Mon, Jul 26, 2004 at 12:15:02PM -0600, Scott Long wrote:
> > On Mon, 26 Jul 2004, Brian Fundakowski Feldman wrote:
> > > On Mon, Jul 26, 2004 at 11:49:55AM -0600, Scott Long wrote:
> > > > On Mon, 26 Jul 2004, Brian Fundakowski Feldman wrote:
> > > > B> On Sun, Jul 25, 2004 at 09:23:36PM +0000, bugghy wrote:
> > > > > > Yeah but it sometimes "freezes" (no reboot) ... and I'd rather umo
unt my
> > > > > > filesystems before rebooting.
> > > > >
> > > > > SoftUpdates guarantess that your file systems will not get corrupt.

> > > > >
> > > >
> > > > This isn't entirely correct.  Softupdates guarantees that you won't ge
t
> > > > corruption due to metadata pointing to invalid or stale data blocks.
> > > > That's not the same as guaranteeing that there won't be any corruption
..
> > > > Write caching on the drive combined with an in-opportune power loss or

> > > > other failure can easily leave you with corrupt or incomplete metadata

> > > > and/or data blocks.  A panic while metadata is being committed to disk
 can
> > > > also leave the metadata highly inconsistent and prone to corruption.
> > > > This isn't to say the SU is bad or that other strategies are necessari
ly
> > > > better, just that there are definite risks.
> > >
> > > If you just want to generalize it, you can say that "SoftUpdates
> > > guarantees that your file systems will not get corrupt due to just
> > > software errors."  I don't particularly think not having UPS is a
> > > good idea, but those can fail, and even so the ordering is such
> > > that a truncated inode won't result in a truly corrupt filesystem,
> > > and the inode doesn't get written until its contents are written
> > > out.
> > >
> > > Also, hw.ata.wc really shouldn't default to 1.
> > >
> > 
> > GAH!  No, please don't start this war again!  The last time that we tried

> > turning this off in a release (4.1 IIRC), were were plagqued by months of

> > earthquakes, plagues, and deaths of first-born youngsters.  I 100% agree
> > that write caching in ATA is not compatible with data integrety, but the
> > ATA marketting machine has convinced us that cached+untagged speed is
> > better than uncached+tagged safety.  C'est la vie, or so they say here.
> 
> I think it would be prudent to add a nice fat "WARNING:" printf to the
> boot process.  It's really not obvious that FreeBSD defaults to having
> your hard drives run "unsafely," even though it is usually faster.
-- 
------------------------
- Software is like sex -
-     it's better when -
-          it's free   -
-     Linus Torvalds   -
------------------------


------------------------------

Message: 35
Date: Mon, 26 Jul 2004 12:00:39 -0700
From: "Kevin Oberman" <oberman@es.net>
Subject: Re: magic sysrq keys functionality 
To: bugghy <bugghy@home.ro>
Cc: freebsd-current@freebsd.org
Message-ID: <20040726190039.9A9935D08@ptavv.es.net>

> From: bugghy <bugghy@home.ro>
> Date: Mon, 26 Jul 2004 21:53:02 +0000
> Sender: owner-freebsd-current@freebsd.org
> 
> 
> 
> 	So, what would be a convenient way to protect a 5.x release against
> data loss / corruption in case of frequent powerfaillures. (a software
> method)

Turn off write-cache on the disks. hw.ata.wc="0" in /boot/loader.conf
(But be prepared to suffer the consequences to disk performance.)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

------------------------------

Message: 36
Date: Mon, 26 Jul 2004 15:00:53 -0400
From: "Robin P. Blanchard" <robin.blanchard@gactr.uga.edu>
Subject: rc.d/localpkg
To: <current@FreeBSD.org>
Message-ID: <9B5C1FCAFB35084787C21EFFFA78DD9EE48B@EBE1.gc.nat>
Content-Type: text/plain;	charset="us-ascii"

How does this apply to beasts such as postfix which recommends:

cd /usr/local/etc/rc.d
ln -s /usr/local/sbin/postfix postfix.sh



---------------------------------------
Robin P. Blanchard
Systems Integration Specialist
Georgia Center for Continuing Education
fon: 706.542.2404 < > fax: 706.542.6546
---------------------------------------

------------------------------

Message: 37
Date: Mon, 26 Jul 2004 15:10:04 -0400
From: Brian Fundakowski Feldman <green@freebsd.org>
Subject: Re: magic sysrq keys functionality
To: Scott Long <scottl@freebsd.org>
Cc: current@freebsd.org
Message-ID: <20040726191004.GC96815@green.homeunix.org>
Content-Type: text/plain; charset=us-ascii

On Mon, Jul 26, 2004 at 12:54:39PM -0600, Scott Long wrote:
> On Mon, 26 Jul 2004, Brian Fundakowski Feldman wrote:
> > I think it would be prudent to add a nice fat "WARNING:" printf to the
> > boot process.  It's really not obvious that FreeBSD defaults to having
> > your hard drives run "unsafely," even though it is usually faster.
> >
> 
> I think that this was discussed too.  The problem is that Linux and
> Windows also silently default to having it on, and breaking from that
> status quo causes too much haertburn.

The status quo of FreeBSD and Linux shouldn't really apply to FreeBSD...
we're supposed to be about stability and correctness.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green@FreeBSD.org                               \  The Power to Serve! \

 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\


------------------------------

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

End of freebsd-current Digest, Vol 70, Issue 2
**********************************************


--
Evariste Galois:
    �����呛��樱������蔷������,����直前......


�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234]