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: 3Ware 9500 and disklabel (Vinod Kashyap)
   2. Re: fixing out of order first fragment processing? (Max Laier)
   3. Re: laptop for -current (Toxa)
   4. Re: radeon drm code in -current (George D. Gal)
   5. Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
      (Scott Long)
   6. Re: Excellent job on the firewire support! (Maxim Sobolev)
   7. Re: radeon drm code in -current (Michael L. Squires)
   8. Re: Sound issue on -current (Evan Dower)
   9. Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
      (Evan Dower)
  10. xl(4) autonegotiation trouble - ng_pppoe related?
      (Matthias Andree)
  11. Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
      (Scott Long)
  12. Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
      (Evan Dower)
  13. Re: xl(4) autonegotiation trouble - ng_pppoe related? (Max Laier)
  14. Re: did gbde on swap destroy some boot sectors? (and cdrom
      did not	boot and pppoe broken in xl-driver) (Allan Fields)
  15. Re: radeon drm code in -current (Michael L. Squires)
  16. Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
      (Karel J. Bosschaart)
  17. Can't check large FS (Andris)
  18. Re: radeon drm code in -current (Eric Anholt)
  19. Re: Excellent job on the firewire support! (Brooks Davis)
  20. Re: Can't check large FS (Doug White)
  21. Re: radeon drm code in -current (George D. Gal)
  22. Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
      (Johan Pettersson)
  23. Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
      (Evan Dower)
  24. Problems with interrupts on -CURRENT? (Martin)
  25. Re: Excellent job on the firewire support! (Maxim Sobolev)
  26. HEADSUP: X.Org conversion (Eric Anholt)
  27. Re: Excellent job on the firewire support! (Julian Elischer)
  28. Re: Problems with interrupts on -CURRENT? (Markie)
  29. ntpd cores (Randy Bush)
  30. Re: Problems with interrupts on -CURRENT? (Martin)
  31. Please report DRI instability (Eric Anholt)
  32. Re: Can't check large FS (Julian Elischer)
  33. Re: Can't check large FS (Scott Long)
  34. Re: Can't check large FS (Julian Elischer)
  35. Re: HEADSUP: X.Org conversion (Adam Weinberger)


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

Message: 1
Date: Thu, 22 Jul 2004 10:50:12 -0700
From: "Vinod Kashyap" <vkashyap@amcc.com>
Subject: RE: 3Ware 9500 and disklabel
To: Philip Murray <pmurray@nevada.net.nz>,	freebsd-current@freebsd.org
Cc: Harald Schmalzbauer <h@schmalzbauer.de>
Message-ID: <I19LJQ02.K4X@hadar.amcc.com>
Content-Type: text/plain; charset=iso-8859-1


Can you try booting off the installation CD/floppies and running
sysinstall from there?

> -----Original Message-----
> From: owner-freebsd-current@freebsd.org
> [mailto:owner-freebsd-current@freebsd.org]On Behalf Of Philip Murray
> Sent: Thursday, July 22, 2004 3:06 AM
> To: freebsd-current@freebsd.org
> Cc: Harald Schmalzbauer
> Subject: Re: 3Ware 9500 and disklabel
> 
> 
> Harald Schmalzbauer wrote:
> 
> >Am Donnerstag, 22. Juli 2004 11:01 schrieb Philip Murray:
> >  
> >
> >>Hi,
> >>
> >>I'm trying to test out -CURRENT (22/7/2004) on a dual Opteron (Tyan
> >>board) with a 3Ware 9500-8 raid controller and I'm having 
> problems with
> >>disklabel.
> >>
> >>At the moment I have a RAID0 array totalling 600GB. I 
> fdisk'd them to
> >>create a single partition using the entire volume, fdisk (from
> >>sysinstall) complained about the geometry, I wasn't sure what the
> >>correct geometry was, so I forged ahead anyway.
> >>
> >>Then I went to try and disklabel it. It seemed to work from 
> sysinstall
> >>until I went to write the changes out and it complained 
> "ERROR: Unable
> >>to write data to disk da0!'. So I tried disklabel on the 
> command line, as
> >>so
> >>    
> >>
> >
> >AFAIK geom only prevents you from direct access to disks 
> where your kernel 
> >booted from. In your case it is ad4 and I think da1 
> shouldn't be affected but 
> >perhaps you want to set the sysctl kern.geom.debugflags to 16.
> >
> >  
> >
> Trying to use disklabel from sysinstall with those geom flags 
> resulted 
> in a panic, I got the following trace from the debugger:
> 
> panic: spoiling cp->ace = 1
> cpuid = 1;
> KDB: enter: panic
> [thread 100081]
> Stopped at      kdb_enter+0x2f: nop
> db> trace
> kdb_enter() at kdb_enter+0x2f
> panic() at panic+0x210
> g_spoil() at g_spoil+0x7a
> g_access() at g_access+0x1fb
> g_dev_open() at g_dev_open+0x11b
> spec_open() at spec_open+0x330
> spec_vnoperate() at spec_vnoperate+0x14
> vn_open_cred() at vn_open_cred+0x364
> kern_open() at kern_open+0x109
> syscall() at syscall+0x40e
> Xfast_syscall() at Xfast_syscall+0xa8
> --- syscall (5, FreeBSD ELF64, open), rip = 0x50ebc0, rsp = 
> 0x7fffffffd838, rbp = 0x7dd780 ---
> db>
> 
> I don't know anything more useful I can do than that, so if there is 
> something tell me. However, I have managed to somehow lockup 
> the serial 
> console so I can't do anymore until tomorrow.
> 
> Cheers
> 
> Philip
> _______________________________________________
> 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: 2
Date: Fri, 23 Jul 2004 00:55:56 +0200
From: Max Laier <max@love2party.net>
Subject: Re: fixing out of order first fragment processing?
To: pf4freebsd@freelists.org
Cc: othermark <atkin901@yahoo.com>
Message-ID: <200407230055.57014.max@love2party.net>
Content-Type: text/plain; charset="iso-8859-1"

On Friday 23 July 2004 00:32, othermark wrote:
> Max Laier wrote:
> > On Thursday 22 July 2004 23:34, othermark wrote:
> > Activation of pf with a
> > scrub in on <interface> fragment reassemble
> > rule works as workaround.
>
> Thanks for this suggestion,
>
> I have a 'scrub in all fragments reassemble' that I just added and loaded
> to my /etc/pf.conf, which does not seem to solve the problem.  Do I have to

> specify a scrub for each interface in this case (maybe a better question
> for the pf list)?

Moved. It actually should. Can you please try to # pfctl -x misc and check the
 
console? I might well have something wrong, need to cross check.

> > In every case you have to decide if you want to
> > invest the required memory to store fragments, which might make you
> > easy/easier prey for DoS-attacks. Usually, for an average gateway the
> > cost is worth the gain (= increased security).
>
> Most of the current systems today are able to handle both types of
> sequences.   It really is a small processing hit, FreeBSD already does
> some bufferring with proper safeguards/maximums for various
> traffic patterns.
>
> I would suspect some NFS/udp interoperability problems with the way it
> handles fragments right now.
>
> --
> othermark
> atkin901 at nospam dot yahoo dot com
> (!wired)?(coffee++):(wired);
>
> _______________________________________________
> 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"

-- 
/"\  Best regards,			| mlaier@freebsd.org
\ /  Max Laier				| ICQ #67774661
 X   http://pf4freebsd.love2party.net/	| mlaier@EFnet
/ \  ASCII Ribbon Campaign		| Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040723/
4e1b8dac/attachment-0001.bin

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

Message: 3
Date: Fri, 23 Jul 2004 13:38:31 +0400
From: Toxa <postfix@senmail.ru>
Subject: Re: laptop for -current
To: Philip Paeps <philip@freebsd.org>, freebsd-current@freebsd.org
Message-ID: <20040723093831.GA1239@laptoxa.toxa.lan>
Content-Type: text/plain; charset=koi8-r

On Fri, Jul 23, 2004 at 08:02:35AM +0400, Maxim Maximov wrote:
> Philip Paeps wrote:
> >On 2004-07-21 13:36:20 (-0700), Kim Culhan <w8hdkim@yahoo.com> wrote:
> >
> >>Anyone know a laptop they think is good for FreeBSd-current?
> >
> >
> >I've been fairly happy with all kinds of Asus laptops.  About the only 
> >things
> >not working for me are the winmodems (grmbl) and (only on some models) 
> >irda.
> >ACPI is fairly decent, particularly on the more recent models.  Stay away 

> >from
> >the L3H, that one's a bit of a pain.

not all asus models are supported
asus s2n is unsupported, i've to hack acpi_asus a little bit to make it work
very nice laptop btw

-- 
Anton A. Karpov

icq:      845923
jabber:   toxa@jabber.ru || toxa@toxahost.org
email(s): toxa@cterra.ru || postfix@sendmail.ru
www:      http://www.toxahost.org
pgp key:  http://www.toxahost.org/pgp/pubkey.asc

You can finger me @toxahost.org for my current status

#--------------------------------------------------
Contrary to popular belief, Unix is user friendly.
It just happens to be very selective
about who it decides to make friends with.
				 /* no comment */
#--------------------------------------------------


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

Message: 4
Date: Fri, 23 Jul 2004 08:13:48 -0400
From: "George D. Gal" <ggal@vsecurity.com>
Subject: Re: radeon drm code in -current
To: "Eric Anholt" <eta@lclark.edu>
Cc: freebsd-current@freebsd.org
Message-ID: <00f401c470ae$84d812b0$5001a8c0@CINDY>
Content-Type: text/plain;	charset="iso-8859-1"

>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 clear
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)

----- 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:01 AM
Subject: Re: radeon drm code in -current


> On Thu, 2004-07-22 at 10:08, George D. Gal wrote:
> > Hello I'm wondering if anyone else has experienced problems with the
radeon
> > drm driver in -current. It seems that sometime between Jun 22 and the
> > latest -current, I have problems with the radeon drm/dri drivers loading
when
> > XFree starts up.
> >
> > The error I get when starting XFree now is:
> >
> >  [drm] failed to load kernel module "radeon" (II) RADEON(0): [drm] drmOpen

> > failed
> > (EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI.
>
> I'd need your whole XFree86.0.log to tell why the drmOpen failed.  You
> might want to also include your dmesg.
>
> -- 
> Eric Anholt                                eta@lclark.edu
> http://people.freebsd.org/~anholt/         anholt@FreeBSD.org
>
>
>


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

Message: 5
Date: Fri, 23 Jul 2004 08:24:16 -0600
From: Scott Long <scottl@freebsd.org>
Subject: Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
To: Daniel Eriksson <daniel_k_eriksson@telia.com>
Cc: current@freebsd.org
Message-ID: <41011F90.2060203@freebsd.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

Daniel Eriksson wrote:
> Scott Long wrote:
> 
> 
>>This commit is another hack to try to improve stability some
>>more.  Please let me know if it helps or hurts.  If it helps
>>then I think that we are getting closer to at least one of the
>>real culprits.
> 
> 
> This commit did not help with my SATA issues unfortunately.
> 
> /Daniel Eriksson
> 
> 

Does it still exist if you roll back to July 1 sources?

Scott

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

Message: 6
Date: Fri, 23 Jul 2004 17:52:41 +0300
From: Maxim Sobolev <sobomax@portaone.com>
Subject: Re: Excellent job on the firewire support!
To: Doug Rabson <dfr@nlsystems.com>
Cc: simokawa@FreeBSD.ORG
Message-ID: <41012639.3020102@portaone.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

Doug Rabson wrote:

> On Wed, 2004-07-21 at 15:41, Andrew Gallatin wrote:
> 
>>Doug Rabson writes:
>> > Actually thats the only downside of dcons. It doesn't cut in until the 
>> > firewire controller attaches. It relies on the fact that the fwohci 
>> > driver allows access to physical memory from any node on the bus 
>> > (implemeted in hardware so you can examine the memory of a hung 
>> > machine). The dconschat program uses this feature to access the dcons 
>> > ring buffers in the target machine.
>>
>>Does remote access to physical memory require dcons to be loaded
>>on the target?
> 
> 
> No. The remote access to physical memory is a hardware-implemented
> feature of the firewire ohci hardware. Its enabled in fwohci_attach().
> In the long term, I would like to restrict this a bit but right now all
> you have to have is fwohci loaded on the target machine.

It would be nice to have some sysctl which to disable such access, since 
it is BAD THING[tm] from the security POV.

-Maxim

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

Message: 7
Date: Fri, 23 Jul 2004 10:19:13 -0500 (EST)
From: "Michael L. Squires" <mikes@siralan.org>
Subject: Re: radeon drm code in -current
To: "George D. Gal" <ggal@vsecurity.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040723101843.F33942@familysquires.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

My mistake - I'm running 5.2-CURRENT.  I'm recompiling today so if the 
problem is post July 12 I'll run into it.

Mike Squires



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

Message: 8
Date: Fri, 23 Jul 2004 08:22:00 -0700
From: "Evan Dower" <evantd@hotmail.com>
Subject: Re: Sound issue on -current
To: conrads@cox.net, alecs@swissinfo.org
Cc: freebsd-current@freebsd.org
Message-ID: <BAY8-F101GENx7yu7Ox0000eb70@hotmail.com>
Content-Type: text/plain; format=flowed

I have a SoundBlaster Live, and while I haven't literally "recorded" 
anything. Sound input does work. I used it to tune my guitar with gstring 
until I got a Real guitar tuner. It was a little bit confusing, but I just 
had to play with the mixer until I figured out which things should be at 
what levels. I think it works as follows:
make sure your recording input is set to mic (or whatever you want to record 

from)
turn up the level on mic
turn up the level on record _if_ you want your input played back to you
I _think_ that's how it was, but I no longer have it set that way so I'm not 

really sure.
I hope this will be helpful,
--
Evan Dower
Undergraduate, Computer Science
University of Washington
Public key: http://students.washington.edu/evantd/pgp-pub-key.txt
Key fingerprint = D321 FA24 4BDA F82D 53A9  5B27 7D15 5A4F 033F 887D




>From: "Conrad J. Sabatier" <conrads@cox.net>
>Reply-To: conrads@cox.net
>To: Alecs King <alecs@swissinfo.org>
>CC: freebsd-current@freebsd.org
>Subject: Re: Sound issue on -current
>Date: Fri, 23 Jul 2004 00:33:55 -0400 (EDT)
>
>
>On 23-Jul-2004 Alecs King wrote:
> > On Sat, Jul 22, 2000 at 10:22:38PM -0500, Conrad J. Sabatier wrote:
> >>
> >> Try the snd_ich driver.  Works for me with my nForce3 chipset.
> >>
> >
> > Thanks. Works for me. =)
> >
> > Just another question: Can you record sound on your box? Even Back in
> > the 'device pcm' days, i cant record any sound (playing is fine).
> >
> > More light to shed on this?
>
>Mmm, no, sorry, I've never tried recording sound here.  Try the
>multimedia list; they can probably offer some advice.
>
>--
>Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"
>_______________________________________________
>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"

_________________________________________________________________
Don�t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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

Message: 9
Date: Fri, 23 Jul 2004 08:29:55 -0700
From: "Evan Dower" <evantd@hotmail.com>
Subject: Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
To: scottl@freebsd.org
Cc: current@freebsd.org
Message-ID: <BAY8-F106TvfVFJ5BRw00035d14@hotmail.com>
Content-Type: text/plain; format=flowed

I run -CURRENT on an asus a7m266-d with dual athlon mp 1900s, and the recent 

stability hacks have not helped me. I do NOT run with full preemption, but 
if I run "too much stuff" I get a crash within hours. I am usually running X 

so I don't even see the panic messages unfortunately :-(.
Thanks very much for working on tracking them down,
--
Evan Dower
Undergraduate, Computer Science
University of Washington
Public key: http://students.washington.edu/evantd/pgp-pub-key.txt
Key fingerprint = D321 FA24 4BDA F82D 53A9  5B27 7D15 5A4F 033F 887D

_________________________________________________________________
Don�t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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

Message: 10
Date: Fri, 23 Jul 2004 17:30:01 +0200
From: Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
Subject: xl(4) autonegotiation trouble - ng_pppoe related?
To: freebsd-current@freebsd.org
Message-ID: <m3y8lan3ly.fsf@merlin.emma.line.org>
Content-Type: text/plain; charset=us-ascii

Hi,

as of a few weeks ago, there are troubles connecting to T-DSL, the
largest ADSL provider in Germany, at least with xl(4) and first "T-DSL"
generation Siemens ADSL modems.

I've chased this and found some results that I've added to kern/69133.

The problem is that outgoing PPPoE packets (user-space ppp) don't seem
to appear on the wire whenever the peer does not offer auto-negotiation
but the xl interface is set to "media auto" (default). Switching off
autonegotiation (ifconfig xl1 media 10baseT/UTP) makes the packets go
out to the wire.

This may be some incompatibility between xl and ng_pppoe, as xl with
rp-pppoe (from ports) works, and vr with ng_pppoe works, too.

More details are given in:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/69133

Any insight?

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)

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

Message: 11
Date: Fri, 23 Jul 2004 09:32:51 -0600
From: Scott Long <scottl@freebsd.org>
Subject: Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
To: Evan Dower <evantd@hotmail.com>
Cc: current@freebsd.org
Message-ID: <41012FA3.4020509@freebsd.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

Evan Dower wrote:

> I run -CURRENT on an asus a7m266-d with dual athlon mp 1900s, and the 
> recent stability hacks have not helped me. I do NOT run with full 
> preemption,

What do you mean by this?  Do you mean that you have PREEMPTION
undefined in /sys/i386/include/param.h, or that you don't have
FULL_PREEMPTION defined?

Scott


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

Message: 12
Date: Fri, 23 Jul 2004 08:50:35 -0700
From: "Evan Dower" <evantd@hotmail.com>
Subject: Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
To: scottl@freebsd.org
Cc: current@freebsd.org
Message-ID: <BAY8-F120JXsNQptgFr00035c07@hotmail.com>
Content-Type: text/plain; format=flowed

Only that I don't have FULL_PREEMPTION defined in my kernel config. I'm no 
kernel hacker yet ;-)

--
Evan Dower
Undergraduate, Computer Science
University of Washington
Public key: http://students.washington.edu/evantd/pgp-pub-key.txt
Key fingerprint = D321 FA24 4BDA F82D 53A9  5B27 7D15 5A4F 033F 887D




>From: Scott Long <scottl@freebsd.org>
>To: Evan Dower <evantd@hotmail.com>
>CC: current@freebsd.org
>Subject: Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
>Date: Fri, 23 Jul 2004 09:32:51 -0600
>
>Evan Dower wrote:
>
>>I run -CURRENT on an asus a7m266-d with dual athlon mp 1900s, and the 
>>recent stability hacks have not helped me. I do NOT run with full 
>>preemption,
>
>What do you mean by this?  Do you mean that you have PREEMPTION
>undefined in /sys/i386/include/param.h, or that you don't have
>FULL_PREEMPTION defined?
>
>Scott
>

_________________________________________________________________
Don�t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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

Message: 13
Date: Fri, 23 Jul 2004 17:50:24 +0200
From: Max Laier <max@love2party.net>
Subject: Re: xl(4) autonegotiation trouble - ng_pppoe related?
To: freebsd-current@freebsd.org
Message-ID: <200407231750.32302.max@love2party.net>
Content-Type: text/plain; charset="iso-8859-1"

On Friday 23 July 2004 17:30, Matthias Andree wrote:
> Hi,
>
> as of a few weeks ago, there are troubles connecting to T-DSL, the
> largest ADSL provider in Germany, at least with xl(4) and first "T-DSL"
> generation Siemens ADSL modems.
>
> I've chased this and found some results that I've added to kern/69133.
>
> The problem is that outgoing PPPoE packets (user-space ppp) don't seem
> to appear on the wire whenever the peer does not offer auto-negotiation
> but the xl interface is set to "media auto" (default). Switching off
> autonegotiation (ifconfig xl1 media 10baseT/UTP) makes the packets go
> out to the wire.

Well, if your DSL-modem does not do autonegotiation you have to set the media 

type manually. It's quite obvious that you can't do pppoEthernet w/o a 
working ethernet link. Anyhow, from reading the (long) PR audit trail it 
seems that some of the newer xl(4) changes broke autonegotiation. Would be 
very helpful if you could narrow it down somemore i.e. give a last working 
version.

> This may be some incompatibility between xl and ng_pppoe, as xl with
> rp-pppoe (from ports) works, and vr with ng_pppoe works, too.
>
> More details are given in:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/69133
>
> Any insight?

-- 
/"\  Best regards,			| mlaier@freebsd.org
\ /  Max Laier				| ICQ #67774661
 X   http://pf4freebsd.love2party.net/	| mlaier@EFnet
/ \  ASCII Ribbon Campaign		| Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040723/
5582aa03/attachment-0001.bin

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

Message: 14
Date: Fri, 23 Jul 2004 12:01:37 -0400
From: Allan Fields <bsd@afields.ca>
Subject: Re: did gbde on swap destroy some boot sectors? (and cdrom
	did not	boot and pppoe broken in xl-driver)
To: Eugene <eugene3@web.de>
Cc: freebsd-current@freebsd.org
Message-ID: <20040723160136.GC31615@afields.ca>
Content-Type: text/plain; charset="us-ascii"

On Fri, Jul 23, 2004 at 06:30:54AM +0200, Eugene wrote:
> what can be more evil than a crash?

I agree.

> the system didnt came up again... what i saw was "F1 FreeBSD"... and 
> that it was... at first i guessed my keyboard is ugly, changed it, 
> booted and such actions... nothing...
>
> ok... so lets try to fix and boot from cd... -current cd in drive... but 
> [..] 
> so now i was surprised the boot floppy pack of -current worked fine... 
> 
> ok... im in with a fixit floppy and tried to boot the /-partition... 
> doesnt work... to mount /usr works fine... ok... lets try mount -f on 
> /... works fine... ok...
> 
> but i dint find a way to fix the bootloader or whatever was trashed... 
> so i endet up reinstalling it, lost my disklabels...a nd because it was 

Easier done directly with disklabel and/or boot0cfg.

> 6 am and i was tired i did newfs when readding the disklabels *g*... 
> last but not least... the gbde lock file was lost that way, so my other 
> partitions are useless now too... and i have much free hard drive space 
> now :-))

Unfortunately, you're not alone in having this occur.. :(

If anything is currently very important on disk and you haven't
newfs'ed the gbde partition, dd to another drive or pull this drive;
with faint hope someday you will be able to get it back (but not
holding your breath).  The more likely case is the lock file still
intact, but that may not be so.

Read back in lists for similar situation w/ lost lock-file.


[Obligatory post-mortem analysis:]

The first thing to remember in situations like this is: optimally,
don't write to the disk until you spend time dding/dumping specific
areas in interest or carefully consider all possible cases.  (Probably
biggest data loss is the cascading of problems due to being
rushed/tired, which has happened to many of us..)

It can't be stressed enough how important it is to keep lock-selector
file backup on another disk.  When one file lost is the whole file
system, it makes the case for extra prudence.  The other idea is store
this on a removable media such as flash, not in root partition.

>From the Handbook (-- people have fair warning for this):
	The gbde init command creates a lock file for your gbde
	partition that in this example is stored as /etc/gbde/ad4s1c.

	Caution: gbde lock files must be backed up together with
	the contents of any encrypted partitions. While deleting a
	lock file alone cannot prevent a determined attacker from
	decrypting a gbde partition, without the lock file, the
	legitimate owner will be unable to access the data on the
	encrypted partition without a significant amount of work
	that is totally unsupported by gbde(8) and its designer.

Perhaps the handbook should now explicitly list making a lock-selector
file backup to floppy in procedure for gbde init?


> but now what happened? why couldnt it boot again?! the last thing i did 
> was enabling gbde encryption on my swaps... and swap are the first label 
> on each of the 3 drives...
> 
> i suspect gbde on swap broke something...
>
> im i wrong or can someone check this please?

It's definitely something to look at.. I can't imagine why this
should happen, except disklabel issue: where was the swap located
and what letter?  Did it happen the same on 3 drives?  If no, were
the disklabels the same?


> Eugene

-- 
 Allan Fields, AFRSL - http://afields.ca
 2D4F 6806 D307 0889 6125  C31D F745 0D72 39B4 5541
-------------- 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/20040723/
5ad89005/attachment-0001.bin

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

Message: 15
Date: Fri, 23 Jul 2004 11:07:14 -0500 (EST)
From: "Michael L. Squires" <mikes@siralan.org>
Subject: Re: radeon drm code in -current
To: "George D. Gal" <ggal@vsecurity.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040723110006.G33942@familysquires.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

With 5.2-CURRENT of 5/22 I'm not having problems with radeondrm:

drm0: <ATI Radeon QD R100> port 0xc800-0xc8ff mem 
0xff480000-0xff4fffff,0xe8000000-0xefffffff irq 17 at device 0.0 on pci0
info: [drm] AGP at 0xf8000000 64MB
info: [drm] Initialized radeon 1.11.0 20020828 on minor 0

Motherboard is Supermicro P6DGH, dual PII/300, ATI All-in_Wonder 
(original), motherboard supports only AGP1X or 2X.

Kernel config file has

options	SMP
options apic

options	radeondrm

plus others in it, debugging is turned off.

Mike Squires


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

Message: 16
Date: Fri, 23 Jul 2004 18:20:44 +0200
From: "Karel J. Bosschaart" <karelj@kayjay.xs4all.nl>
Subject: Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
To: Scott Long <scottl@freebsd.org>
Cc: "'current@freebsd.org'" <current@freebsd.org>
Message-ID: <20040723162044.GA55078@kayjay.xs4all.nl>
Content-Type: text/plain; charset=us-ascii

On Thu, Jul 22, 2004 at 09:13:55AM -0600, Scott Long wrote:
> All,
> 
> This commit is another hack to try to improve stability some
> more.  Please let me know if it helps or hurts.  If it helps
> then I think that we are getting closer to at least one of the
> real culprits.

Difficult to say after running one day. I have the impression stability
is improved somewhat, but nevertheless had some crashes. I got a crash
dump that looks very similar to the one I obtained earlier this week. 
Please let me know what I can do to provide some useful information.

Karel.




phys9911# gdb53 -k kernel.debug /usr/crash/vmcore.9
GNU gdb 5.3 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.

Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-portbld-freebsd5.2"...
panic: sched_rem: KSE not on run queue
panic messages:
---
panic: sched_rem: KSE not on run queue
cpuid = 0;
KDB: enter: panic
panic: from debugger
cpuid = 0;
Uptime: 3h28m6s
Dumping 247 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---
#0  doadump () at pcpu.h:159
159             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
Ready to go.  Enter 'tr' to connect to the remote target
with /dev/cuaa0, 'tr /dev/cuaa1' to connect to a different port
or 'trf portno' to connect to the remote target with the firewire
interface.  portno defaults to 5556.

Type 'getsyms' after connection to load kld symbols.

If you're debugging a local system, you can use 'kldsyms' instead
to load the kld symbols.  That's a less obnoxious interface.
(kgdb) kldsyms
add symbol table from file "/usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/m
odules/sound/driver/ich/snd_ich.ko.debug" at
        .text_addr = 0xc09b6800
        .data_addr = 0xc09b9040
        .bss_addr = 0xc09b92bc
add symbol table from file "/usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/m
odules/sound/sound/sound.ko.debug" at
        .text_addr = 0xc09c33b4
        .data_addr = 0xc09d05a0
        .bss_addr = 0xc09d2d40
add symbol table from file "/usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/m
odules/acpi/acpi/acpi.ko.debug" at
        .text_addr = 0xc09e8d80
        .data_addr = 0xc0a18000
        .bss_addr = 0xc0a19aa0
add symbol table from file "/usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/m
odules/linprocfs/linprocfs.ko.debug" at
        .text_addr = 0xc1740ff0
        .data_addr = 0xc1744020
        .bss_addr = 0xc1744280
add symbol table from file "/usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/m
odules/linux/linux.ko.debug" at
        .text_addr = 0xc174b660
        .data_addr = 0xc1759ae0
        .bss_addr = 0xc175ad40
(kgdb) bt
#0  doadump () at pcpu.h:159
#1  0xc05f0208 in boot (howto=0x104) at /usr/src/sys/kern/kern_shutdown.c:392

#2  0xc05f051f in panic (fmt=0xc079f247 "from debugger") at /usr/src/sys/kern/
kern_shutdown.c:554
#3  0xc045eb71 in db_panic (addr=0xc0606c93, have_addr=0x0, count=0xffffffff, 
modif=0xd4ee2a78 "")
    at /usr/src/sys/ddb/db_command.c:435
#4  0xc045eb08 in db_command (last_cmdp=0xc0875a44, cmd_table=0x0, aux_cmd_tab
lep=0xc07f6f48,
    aux_cmd_tablep_end=0xc07f6f60) at /usr/src/sys/ddb/db_command.c:349
#5  0xc045ebd0 in db_command_loop () at /usr/src/sys/ddb/db_command.c:455
#6  0xc0460559 in db_trap (type=0x3, code=0x0) at /usr/src/sys/ddb/db_main.c:2
19
#7  0xc0606f1d in kdb_trap (type=0x3, code=0x0, tf=0xd4ee2bbc) at /usr/src/sys
/kern/subr_kdb.c:401
#8  0xc076aed4 in trap (frame=
      {tf_fs = 0xd4ee0018, tf_es = 0xc0600010, tf_ds = 0xc07d0010, tf_edi = 0x
c07d3e6a, tf_esi = 0x1, tf_ebp = 0xd4ee2bfc, tf_isp = 0xd4ee2be8, tf_ebx = 0xd
4ee2c28, tf_edx = 0x0, tf_ecx = 0xc1014000, tf_eax = 0x12, tf_trapno = 0x3, tf
_err = 0x0, tf_eip = 0xc0606c93, tf_cs = 0x8, tf_eflags = 0x86, tf_esp = 0xd4e
e2c1c, tf_ss = 0xc05f04d1})
    at /usr/src/sys/i386/i386/trap.c:576
#9  0xc0606c93 in kdb_enter (msg=0x0) at cpufunc.h:56
#10 0xc05f04d1 in panic (fmt=0xc07d3e6a "sched_rem: KSE not on run queue") at 
/usr/src/sys/kern/kern_shutdown.c:538
#11 0xc06004ae in sched_rem (td=0x0) at /usr/src/sys/kern/sched_ule.c:1668
#12 0xc05f5725 in setrunqueue (td=0xc1f36420) at /usr/src/sys/kern/kern_switch
.c:362
#13 0xc05ffb72 in sched_wakeup (td=0xc1f36420) at /usr/src/sys/kern/sched_ule.
c:1251
#14 0xc05f690c in setrunnable (td=0xc1f36420) at /usr/src/sys/kern/kern_synch.
c:408
#15 0xc060c4de in sleepq_resume_thread (td=0xc1f36420, pri=0xffffffff) at /usr
/src/sys/kern/subr_sleepqueue.c:632
#16 0xc060c578 in sleepq_signal (wchan=0xc190d3dc, flags=0xc1f36420, pri=0xfff
fffff)
    at /usr/src/sys/kern/subr_sleepqueue.c:662
#17 0xc05f65fb in wakeup_one (ident=0xc190d3dc) at /usr/src/sys/kern/kern_sync
h.c:278
#18 0xc05e172f in thread_userret (td=0xc18be160, frame=0xd4ee2d48) at /usr/src
/sys/kern/kern_kse.c:1191
#19 0xc060d494 in userret (td=0xc18be160, frame=0xd4ee2d48, oticks=0x0) at /us
r/src/sys/kern/subr_trap.c:118
#20 0xc076af6c in trap (frame=
      {tf_fs = 0xbfbf002f, tf_es = 0x280c002f, tf_ds = 0xbfbf002f, tf_edi = 0x
82469b4, tf_esi = 0x8246800, tf_ebp = 0xbfbfcd48, tf_isp = 0xd4ee2d74, tf_ebx 
= 0x2a7bd9f8, tf_edx = 0x80a3090, tf_ecx = 0x0, tf_eax = 0x82cf000, tf_trapno 
= 0xc, tf_err = 0x4, tf_eip = 0x2a7a9e8b, tf_cs = 0x1f, tf_eflags = 0x10246, t
f_esp = 0xbfbfcd1c, tf_ss = 0x2f})
    at /usr/src/sys/i386/i386/trap.c:635
(kgdb)

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

Message: 17
Date: Fri, 23 Jul 2004 19:32:51 +0300
From: "Andris" <andris@multicom.lv>
Subject: Can't check large FS
To: <freebsd-current@freebsd.org>
Message-ID: <200407231632.i6NGWoeO084976@gate.multicom.lv>
Content-Type: text/plain;	charset="koi8-r"

Hi,

I have a PC running 5.2.1-p9 with Promise SX6000 RAID and six�300Gb Maxtor
HDD's configured as RAID 0+1 so the total FS size is about 850 Gb.

After hardware failure and rebuilding array I can't check my FS, fsck always
dump core with the message:

cannot alloc 775104816 bytes for inoinfo
fsck: /dev/pst0s1d: Segmentation fault


Andris



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

Message: 18
Date: Fri, 23 Jul 2004 09:45:59 -0700
From: Eric Anholt <eta@lclark.edu>
Subject: Re: radeon drm code in -current
To: "George D. Gal" <ggal@vsecurity.com>
Cc: freebsd-current@freebsd.org
Message-ID: <1090601159.924.16.camel@leguin>
Content-Type: text/plain

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. Attache
d
> 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 clear
> 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



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

Message: 19
Date: Fri, 23 Jul 2004 09:48:09 -0700
From: Brooks Davis <brooks@one-eyed-alien.net>
Subject: Re: Excellent job on the firewire support!
To: Maxim Sobolev <sobomax@portaone.com>
Cc: simokawa@freebsd.org
Message-ID: <20040723164809.GA12747@Odin.AC.HMC.Edu>
Content-Type: text/plain; charset="us-ascii"

On Fri, Jul 23, 2004 at 05:52:41PM +0300, Maxim Sobolev wrote:
> Doug Rabson wrote:
> 
> >On Wed, 2004-07-21 at 15:41, Andrew Gallatin wrote:
> >
> >>Doug Rabson writes:
> >>> Actually thats the only downside of dcons. It doesn't cut in until the 

> >>> firewire controller attaches. It relies on the fact that the fwohci 
> >>> driver allows access to physical memory from any node on the bus 
> >>> (implemeted in hardware so you can examine the memory of a hung 
> >>> machine). The dconschat program uses this feature to access the dcons 
> >>> ring buffers in the target machine.
> >>
> >>Does remote access to physical memory require dcons to be loaded
> >>on the target?
> >
> >
> >No. The remote access to physical memory is a hardware-implemented
> >feature of the firewire ohci hardware. Its enabled in fwohci_attach().
> >In the long term, I would like to restrict this a bit but right now all
> >you have to have is fwohci loaded on the target machine.
> 
> It would be nice to have some sysctl which to disable such access, since 
> it is BAD THING[tm] from the security POV.

In high security environments, they use a tube of epoxy. ;-)

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040723/
478714cd/attachment-0001.bin

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

Message: 20
Date: Fri, 23 Jul 2004 09:51:44 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: Can't check large FS
To: Andris <andris@multicom.lv>
Cc: freebsd-current@freebsd.org
Message-ID: <20040723095116.K1636@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=koi8-r

On Fri, 23 Jul 2004, Andris wrote:

> Hi,
>
> I have a PC running 5.2.1-p9 with Promise SX6000 RAID and six�300Gb Maxtor
> HDD's configured as RAID 0+1 so the total FS size is about 850 Gb.
>
> After hardware failure and rebuilding array I can't check my FS, fsck always

> dump core with the message:
>
> cannot alloc 775104816 bytes for inoinfo
> fsck: /dev/pst0s1d: Segmentation fault

Have you tried checking an alternate superblock? It looks like the primary
one may be corrupted.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org

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

Message: 21
Date: Fri, 23 Jul 2004 13:01:40 -0400
From: "George D. Gal" <ggal@vsecurity.com>
Subject: Re: radeon drm code in -current
To: "Eric Anholt" <eta@lclark.edu>
Cc: freebsd-current@freebsd.org
Message-ID: <029f01c470d6$bb69ec90$5001a8c0@CINDY>
Content-Type: text/plain;	charset="iso-8859-1"

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 clear

> > 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
>
>
>


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

Message: 22
Date: Fri, 23 Jul 2004 19:05:10 +0200
From: Johan Pettersson <manlix@demonized.net>
Subject: Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
To: "Evan Dower" <evantd@hotmail.com>
Cc: scottl@freebsd.org
Message-ID: <20040723190510.0f996c7f.manlix@demonized.net>
Content-Type: text/plain; charset=US-ASCII

On Fri, 23 Jul 2004 08:50:35 -0700
"Evan Dower" <evantd@hotmail.com> wrote:

> Only that I don't have FULL_PREEMPTION defined in my kernel config.
> I'm no kernel hacker yet ;-)
> 

You don't need to be a kernel hacker. Just change 'define' to 'undef'.
:)

#define PREEMPTION -> #undef PREEMPTION

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

Message: 23
Date: Fri, 23 Jul 2004 10:36:54 -0700
From: "Evan Dower" <evantd@hotmail.com>
Subject: Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
To: manlix@demonized.net
Cc: scottl@freebsd.org
Message-ID: <BAY8-F42Hv13KMgYGS400008e6a@hotmail.com>
Content-Type: text/plain; format=flowed

I know I don't have to be a kernel hacker to _do_ it, just to know about it 
in the first place. Of course, now I know about it, but that's just because 
y'all told me. And I still don't really know what it does. ;-)

Anyway, is there any debugging information that would be useful for these 
stability issues we're currently facing. I plan on switching to a debugging 
kernel. What information should I send? A backtrace perhaps?

Thanks again,
--
Evan Dower
Undergraduate, Computer Science
University of Washington
Public key: http://students.washington.edu/evantd/pgp-pub-key.txt
Key fingerprint = D321 FA24 4BDA F82D 53A9  5B27 7D15 5A4F 033F 887D




>From: Johan Pettersson <manlix@demonized.net>
>To: "Evan Dower" <evantd@hotmail.com>
>CC: scottl@freebsd.org, current@freebsd.org
>Subject: Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
>Date: Fri, 23 Jul 2004 19:05:10 +0200
>
>On Fri, 23 Jul 2004 08:50:35 -0700
>"Evan Dower" <evantd@hotmail.com> wrote:
>
> > Only that I don't have FULL_PREEMPTION defined in my kernel config.
> > I'm no kernel hacker yet ;-)
> >
>
>You don't need to be a kernel hacker. Just change 'define' to 'undef'.
>:)
>
>#define PREEMPTION -> #undef PREEMPTION

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar � get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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

Message: 24
Date: Fri, 23 Jul 2004 20:16:13 +0200
From: Martin <nakal@web.de>
Subject: Problems with interrupts on -CURRENT?
To: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <1090606572.2670.15.camel@klotz.local>
Content-Type: text/plain


Hi,

I have a kernel from Mon Jul 19 01:06:15 CEST 2004 and it's
terribly slow, especially while executing applications in
parallel.

Following symptoms:
- mouse cursor is non-responsive for 3-5 seconds
- hard-disk is slow and is unusually active
  (portupgrade needs about 15 minutes till
  it arrives compiling first port)
- printing is slowed down a single line needs about
  10 seconds
- syncer is slowly counting vnodes down and needs
  a few seconds till it arrives at 0

I have also discovered this, after starting the print job:
Jul 23 19:35:32 Interrupt storm detected on "irq7: lpt0"; throttling
interrupt source

Remarks about my -CURRENT kernel:
I have played with some kernel settings earlier:
- SCHED_4BSD, because UPDATING said so
- DEVICE_POLLING is now off in this kernel

I'm just reporting it, because it might be related
with the instability issues, which you mention here.

Any ideas what I should do now?

Martin



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

Message: 25
Date: Fri, 23 Jul 2004 21:26:45 +0300
From: Maxim Sobolev <sobomax@portaone.com>
Subject: Re: Excellent job on the firewire support!
To: Brooks Davis <brooks@one-eyed-alien.net>, phk@freebsd.org
Cc: simokawa@freebsd.org
Message-ID: <41015865.7010807@portaone.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

Brooks Davis wrote:

> On Fri, Jul 23, 2004 at 05:52:41PM +0300, Maxim Sobolev wrote:
> 
>>Doug Rabson wrote:
>>
>>
>>>On Wed, 2004-07-21 at 15:41, Andrew Gallatin wrote:
>>>
>>>
>>>>Doug Rabson writes:
>>>>
>>>>>Actually thats the only downside of dcons. It doesn't cut in until the 
>>>>>firewire controller attaches. It relies on the fact that the fwohci 
>>>>>driver allows access to physical memory from any node on the bus 
>>>>>(implemeted in hardware so you can examine the memory of a hung 
>>>>>machine). The dconschat program uses this feature to access the dcons 
>>>>>ring buffers in the target machine.
>>>>
>>>>Does remote access to physical memory require dcons to be loaded
>>>>on the target?
>>>
>>>
>>>No. The remote access to physical memory is a hardware-implemented
>>>feature of the firewire ohci hardware. Its enabled in fwohci_attach().
>>>In the long term, I would like to restrict this a bit but right now all
>>>you have to have is fwohci loaded on the target machine.
>>
>>It would be nice to have some sysctl which to disable such access, since 
>>it is BAD THING[tm] from the security POV.
> 
> 
> In high security environments, they use a tube of epoxy. ;-)

Heh, I know, Poul in his GBDE talk mentioned that something like that 
makes a perfect pair for each firewire connector. ;)

Actually he painted even more black picture - he way saying that such 
direct memory access is mandatory for all firewire controllers and that 
there is no way to turn it off. It is nice to hear that it is off after 
cold boot and is possible to turn off from the device driver.

-Maxim

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

Message: 26
Date: Fri, 23 Jul 2004 12:11:09 -0700
From: Eric Anholt <eta@lclark.edu>
Subject: HEADSUP: X.Org conversion
To: current@FreeBSD.org
Cc: ports@FreeBSD.org
Message-ID: <1090609869.2748.23.camel@leguin>
Content-Type: text/plain

OK, the final version of the X.Org conversion patch has hit the tree. 
No ports appear to be broken by the upgrade at this time.  X.Org has
been made the default X distribution on -current.  Other versions of
FreeBSD retain the same default X distribution (XFree86) but can upgrade
by setting X_WINDOW_SYSTEM=xorg in /etc/make.conf.

To upgrade, you must remove your XFree86 ports and install the xorg
ports.  It couldn't be done with portupgrade, unfortunately, because we
are keeping the XFree86 ports around.  To upgrade:

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

If you want to keep the old XFree86 on -current, simply set
X_WINDOW_SYSTEM=xfree86-4 in make.conf

I am currently working on updating -current's sysinstall for X.Org. 
Until then it will be broken.

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



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

Message: 27
Date: Fri, 23 Jul 2004 12:14:07 -0700
From: Julian Elischer <julian@elischer.org>
Subject: Re: Excellent job on the firewire support!
To: Maxim Sobolev <sobomax@portaone.com>
Cc: simokawa@freebsd.org
Message-ID: <4101637F.5020906@elischer.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

How about setting it up to read the screen buffer during boot..


Maxim Sobolev wrote:

> Doug Rabson wrote:
>
>> On Wed, 2004-07-21 at 15:41, Andrew Gallatin wrote:
>>
>>> Doug Rabson writes:
>>> > Actually thats the only downside of dcons. It doesn't cut in until 
>>> the > firewire controller attaches. It relies on the fact that the 
>>> fwohci > driver allows access to physical memory from any node on 
>>> the bus > (implemeted in hardware so you can examine the memory of a 
>>> hung > machine). The dconschat program uses this feature to access 
>>> the dcons > ring buffers in the target machine.
>>>
>>> Does remote access to physical memory require dcons to be loaded
>>> on the target?
>>
>>
>>
>> No. The remote access to physical memory is a hardware-implemented
>> feature of the firewire ohci hardware. Its enabled in fwohci_attach().
>> In the long term, I would like to restrict this a bit but right now all
>> you have to have is fwohci loaded on the target machine.
>
>
> It would be nice to have some sysctl which to disable such access, 
> since it is BAD THING[tm] from the security POV.
>
> -Maxim
> _______________________________________________
> 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: 28
Date: Fri, 23 Jul 2004 20:32:46 +0100
From: "Markie" <mark.cullen@dsl.pipex.com>
Subject: Re: Problems with interrupts on -CURRENT?
To: "Martin" <nakal@web.de>,	"FreeBSD Current"
	<freebsd-current@freebsd.org>
Message-ID: <000e01c470eb$d5b215e0$f800000a@laptop>
Content-Type: text/plain;	charset="Windows-1252"


----- Original Message -----
From: "Martin" <nakal@web.de>
To: "FreeBSD Current" <freebsd-current@freebsd.org>
Sent: Friday, July 23, 2004 7:16 PM
Subject: Problems with interrupts on -CURRENT?


|
| Hi,
|
| I have a kernel from Mon Jul 19 01:06:15 CEST 2004 and it's
| terribly slow, especially while executing applications in
| parallel.
|
| Following symptoms:
| - mouse cursor is non-responsive for 3-5 seconds
| - hard-disk is slow and is unusually active
|   (portupgrade needs about 15 minutes till
|   it arrives compiling first port)
| - printing is slowed down a single line needs about
|   10 seconds
| - syncer is slowly counting vnodes down and needs
|   a few seconds till it arrives at 0

I think I have roughly the same sort of problems...

|
| I have also discovered this, after starting the print job:
| Jul 23 19:35:32 Interrupt storm detected on "irq7: lpt0"; throttling
| interrupt source
|
| Remarks about my -CURRENT kernel:
| I have played with some kernel settings earlier:
| - SCHED_4BSD, because UPDATING said so
| - DEVICE_POLLING is now off in this kernel
|
| I'm just reporting it, because it might be related
| with the instability issues, which you mention here.
|
| Any ideas what I should do now?
|

To get over the printer thing, which has done that interrupt storm thing for
rather a long time with me but never this bad, I used polling mode instead wit
h
lptcontrol. Something like lptcontrol -p ...

| Martin
|
|
| _______________________________________________
| 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: 29
Date: Fri, 23 Jul 2004 09:32:41 -1000
From: Randy Bush <randy@psg.com>
Subject: ntpd cores
To: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <16641.26585.367434.326919@roam.psg.com>
Content-Type: text/plain; charset=us-ascii

i manually run

roam.psg.com# netstat -nf inet | grep 123
roam.psg.com# ntpd -g -p /var/run/ntpd.pid

Jul 23 09:29:34 roam ntpd[35055]: mlockall(): Resource temporarily unavailable

Jul 23 09:29:34 roam ntpd[35055]: no IPv6 interfaces found
Jul 23 09:29:34 roam ntpd[35055]: bind() fd 5, family 2, port 123, addr 0.0.0.
0, in_classd=0 flags=8 fails: Address already in use
Jul 23 09:29:37 roam kernel: pid 35055 (ntpd), uid 0: exited on signal 11 (cor
e dumped)

clues?

randy


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

Message: 30
Date: Fri, 23 Jul 2004 21:47:15 +0200
From: Martin <nakal@web.de>
Subject: Re: Problems with interrupts on -CURRENT?
To: Markie <mark.cullen@dsl.pipex.com>
Cc: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <1090612034.3387.5.camel@klotz.local>
Content-Type: text/plain

Am Fr, den 23.07.2004 schrieb Markie um 21:32:

> To get over the printer thing, which has done that interrupt storm thing for

> rather a long time with me but never this bad, I used polling mode instead w
ith
> lptcontrol. Something like lptcontrol -p ...

Earlier, when the kernel was more responsive, i've had interrupt
storms (lpt irq) when shutting down (only after printer has been used).
But printing worked in normal speed (printing a page took a few
seconds), but now it takes minutes (10-20 or so).

I will try to update now, but I think it can take until tomorrow.

Martin



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

Message: 31
Date: Fri, 23 Jul 2004 12:49:38 -0700
From: Eric Anholt <eta@lclark.edu>
Subject: Please report DRI instability
To: current@FreeBSD.org
Message-ID: <1090612178.2748.39.camel@leguin>
Content-Type: text/plain

If have been having any issues with the DRI causing your machine to
hang, please report to me what date your checkout is from, when you get
the hang, and attach the following information (don't gzip, just attach
the whole output if you can):

dmesg
your X config file (/etc/X11/xorg.conf, /etc/X11/XF86Config*)
your X log file (/var/log/Xorg.0.log, /var/log/XFree86.0.log)

X logs are ideally from when you had enabled the DRI, but that's not
100% necessary.

Please send it as a private reply to me with Re: this subject so I can
keep track.  Thanks!

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



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

Message: 32
Date: Fri, 23 Jul 2004 12:50:20 -0700
From: Julian Elischer <julian@elischer.org>
Subject: Re: Can't check large FS
To: andris@multicom.lv
Cc: freebsd-current@freebsd.org
Message-ID: <41016BFC.5000708@elischer.org>
Content-Type: text/plain; charset=KOI8-R; format=flowed

the process needs to be able to allocate more RAM.
probably you need to increase its data limit.


Andris wrote:

>Hi,
>
>I have a PC running 5.2.1-p9 with Promise SX6000 RAID and six 300Gb Maxtor
>HDD's configured as RAID 0+1 so the total FS size is about 850 Gb.
>
>After hardware failure and rebuilding array I can't check my FS, fsck always

>dump core with the message:
>
>cannot alloc 775104816 bytes for inoinfo
>fsck: /dev/pst0s1d: Segmentation fault
>
>
>Andris
>
>
>_______________________________________________
>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: 33
Date: Fri, 23 Jul 2004 13:54:22 -0600
From: Scott Long <scottl@freebsd.org>
Subject: Re: Can't check large FS
To: Julian Elischer <julian@elischer.org>
Cc: freebsd-current@freebsd.org
Message-ID: <41016CEE.6060806@freebsd.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

I don't know if I agree with that.  I've fsck'd 1.9TB filesystems with 
no problem.
770MB is quite a bit to be allocating.

Doug might be right about checking an alternate superblock.

Scott

Julian Elischer wrote:

> the process needs to be able to allocate more RAM.
> probably you need to increase its data limit.
> 
> 
> Andris wrote:
> 
>> Hi,
>>
>> I have a PC running 5.2.1-p9 with Promise SX6000 RAID and six 300Gb 
>> Maxtor
>> HDD's configured as RAID 0+1 so the total FS size is about 850 Gb.
>>
>> After hardware failure and rebuilding array I can't check my FS, fsck 
>> always
>> dump core with the message:
>>
>> cannot alloc 775104816 bytes for inoinfo
>> fsck: /dev/pst0s1d: Segmentation fault
>>
>>
>> Andris
>>
>>
>> _______________________________________________
>> 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: 34
Date: Fri, 23 Jul 2004 12:59:13 -0700
From: Julian Elischer <julian@elischer.org>
Subject: Re: Can't check large FS
To: Scott Long <scottl@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <41016E11.90809@elischer.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed



Scott Long wrote:

> I don't know if I agree with that.  I've fsck'd 1.9TB filesystems with 
> no problem.
> 770MB is quite a bit to be allocating. 

it's about right.. I've fsck'd 1TB filesystems and I think it depends on 
what
blocksize you use etc. but I think it's about 700MB per TB for 16KB 
blocksize.

it'd be good to set the result of a ulimit command


>
>
> Doug might be right about checking an alternate superblock.
>
> Scott
>
> Julian Elischer wrote:
>
>> the process needs to be able to allocate more RAM.
>> probably you need to increase its data limit.
>>
>>
>> Andris wrote:
>>
>>> Hi,
>>>
>>> I have a PC running 5.2.1-p9 with Promise SX6000 RAID and six 300Gb 
>>> Maxtor
>>> HDD's configured as RAID 0+1 so the total FS size is about 850 Gb.
>>>
>>> After hardware failure and rebuilding array I can't check my FS, 
>>> fsck always
>>> dump core with the message:
>>>
>>> cannot alloc 775104816 bytes for inoinfo
>>> fsck: /dev/pst0s1d: Segmentation fault
>>>
>>>
>>> Andris
>>>
>>>
>>> _______________________________________________
>>> 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: 35
Date: Fri, 23 Jul 2004 16:10:19 -0400
From: Adam Weinberger <adamw@FreeBSD.org>
Subject: Re: HEADSUP: X.Org conversion
To: Eric Anholt <eta@lclark.edu>
Cc: ports@FreeBSD.org
Message-ID: <20040723201019.GV14233@toxic.magnesium.net>
Content-Type: text/plain; charset=us-ascii

>> (07.23.2004 @ 1511 PST): Eric Anholt said, in 1.2K: <<
> OK, the final version of the X.Org conversion patch has hit the tree. 
>> end of "HEADSUP: X.Org conversion" from Eric Anholt <<

Yay!! Thanks for all your work on this, Eric!

# Adam


--
Adam Weinberger
adamw@magnesium.net || adamw@FreeBSD.org
adamw@vectors.cx    ||   adamw@gnome.org
http://www.vectors.cx

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

_______________________________________________
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 69, Issue 15
***********************************************


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


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