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. ALTQ and tun (Wiktor Niesiobedzki)
   2. Sound issue on -current (Alecs King)
   3. Re: Sound issue on -current (Maxim Maximov)
   4. Re: ALTQ and tun (Max Laier)
   5. Re: laptop for -current (Philip Paeps)
   6. Re: nanosleep returning early (John Birrell)
   7. fixing out of order first fragment processing? (othermark)
   8. Re: fixing out of order first fragment processing? (Max Laier)
   9. Re: fixing out of order first fragment processing? (othermark)
  10. Re: radeon drm code in -current (Michael L. Squires)
  11. Re: LORs with PF (Max Laier)
  12. Re: if_ndis/5.2.1/smc2602w-r3 (Samuel Stringham)
  13. Re: radeon drm code in -current (George D. Gal)
  14. Re: Sound issue on -current (Conrad J. Sabatier)
  15. Re: Sound issue on -current (Alecs King)
  16. Re: radeon drm code in -current (Eric Anholt)
  17. Re: laptop for -current (Maxim Maximov)
  18. did gbde on swap destroy some boot sectors? (and cdrom did
      not boot and pppoe broken in xl-driver) (Eugene)
  19. Re: Sound issue on -current (Conrad J. Sabatier)
  20. Re: Excellent job on the firewire support! (John-Mark Gurney)
  21. RE: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
      (Daniel Eriksson)
  22. Re: laptop for -current (Philip Paeps)
  23. Re: NEW TAR (Andrey Chernov)


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

Message: 1
Date: Thu, 22 Jul 2004 22:04:36 +0200
From: Wiktor Niesiobedzki <bsd@w.evip.pl>
Subject: ALTQ and tun
To: current@freebsd.org
Message-ID: <20040722200436.GM8753@mail.evip.pl>
Content-Type: text/plain; charset=us-ascii

Hi,

Recently I configured my DSL link to use pf+ALTQ instead of
ipfw+DUMMYNET, but I encountered following problem:
- no single packet wents through the ALTQ

I guess, that I miss something very trival, but for checkout:
pf.conf:
iext_if="tun0
int_if="dc0"

altq on $ext_if priq queue {dc, ssh_interactive, ssh_bulk, other}
queue dc priority 0
queue ssh_interactive priority 15
queue ssh_bulk priority 3
queue other priority 7 priq(default)

pass out on $ext_if proto tcp from any to any port 22 tos 0x10 queue ssh_inter
active label ssh_inter
pass out log on $ext_if proto tcp from any to any port 22 tos 0x08 queue ssh_b
ulk label ssh_bulk
pass out log on $ext_if proto tcp from any to any port 22 queue ssh_interactiv
e label ssh_inter2
pass out log on $ext_if proto tcp from any to any user dctc queue dc label dc_
transfer
#pass out on $ext_if inet proto tcp from ($ext_if) port 61412 to any queue dc 
label dc_transfer_port
pass out on $ext_if proto tcp from krz.mine.nu port 61412 to any label dc_tran
sfer_port
pass in log on $ext_if proto tcp from any to ($ext_if) port {22,80,113,61412} 
label pass_in_tcp
pass in log on $ext_if proto udp from any to ($ext_if) port 61412 label pass_i
n_udp
pass in on $ext_if proto tcp from any to any port 4662 label pass_in_mule queu
e dc
pass in on $ext_if proto udp from any to any port 4672 label pass_in_kad queue
 dc
pass out log on $ext_if proto { tcp, udp } all keep state label pass_out_all q
ueue other
pass out on $ext_if inet proto icmp all icmp-type {0,1,3,4,8,11,12} keep state

pass in on $int_if all label pass_in_internal
pass out on $int_if all label pass_out_internal queue other

And for example:
# pfctl -v -s rule
[...]
pass out log on tun0 proto tcp all keep state label "pass_out_all" queue other

  [ Evaluations: 25193     Packets: 855303    Bytes: 645597787   States: 13   
 ]
pass out log on tun0 proto udp all keep state label "pass_out_all" queue other

  [ Evaluations: 3023      Packets: 10152     Bytes: 1222129     States: 2    
 ]
[...]

# pfctl -v -s queue
queue dc priority 0
  [ pkts:          0  bytes:          0  dropped pkts:      0 bytes:      0 ]

  [ qlength:   0/ 50 ]
queue ssh_interactive priority 15
  [ pkts:          0  bytes:          0  dropped pkts:      0 bytes:      0 ]

  [ qlength:   0/ 50 ]
queue ssh_bulk priority 3
  [ pkts:          0  bytes:          0  dropped pkts:      0 bytes:      0 ]

  [ qlength:   0/ 50 ]
queue other priority 7 priq( default )
  [ pkts:          0  bytes:          0  dropped pkts:      0 bytes:      0 ]

  [ qlength:   0/ 50 ]


Nothing. Just like ALTQ was not enabled, but then, how to enable it?
Can someone point me out, what I am missing in my configuration?

Cheers,

Wiktor Niesiobedzki


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

Message: 2
Date: Fri, 23 Jul 2004 04:06:00 +0800
From: Alecs King <alecs@swissinfo.org>
Subject: Sound issue on -current
To: freebsd-current@freebsd.org
Message-ID: <20040722200600.GA1158@localhost>
Content-Type: text/plain; charset=us-ascii

Onboard nForce2 audio (Realtek ALC650 AC97Codec). I used to use 'device
pcm' without problem. 

Just cvsup'ed the source and found that -current is now using a new
'sound/snd_*' scheme. I checked the NOTES but couldnt find any snd_*
for my case. So i tried just using 'device sound' without any
'device snd_*' but failed.

Is there anything i missed? Which snd_* should i use? Any suggestions?

TIA.

-- 
Alecs King


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

Message: 3
Date: Fri, 23 Jul 2004 00:16:20 +0400
From: Maxim Maximov <mcsi@mcsi.pp.ru>
Subject: Re: Sound issue on -current
To: Alecs King <alecs@swissinfo.org>
Cc: freebsd-current@freebsd.org
Message-ID: <41002094.8010108@mcsi.pp.ru>
Content-Type: text/plain; charset=us-ascii; format=flowed

Alecs King wrote:
> Onboard nForce2 audio (Realtek ALC650 AC97Codec). I used to use 'device
> pcm' without problem. 
> 
> Just cvsup'ed the source and found that -current is now using a new
> 'sound/snd_*' scheme. I checked the NOTES but couldnt find any snd_*
> for my case. So i tried just using 'device sound' without any
> 'device snd_*' but failed.
> 
> Is there anything i missed? Which snd_* should i use? Any suggestions?

In /boot/loader.conf:

sound_load="YES"
snd_driver_load="YES"

should help you. Second line will load all available drivers. When 
you'll find out which one is yours, change that string to load 
appropriate driver.

References:
sys/conf/NOTES
/boot/defaults/loader.conf


-- 
Maxim Maximov

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

Message: 4
Date: Thu, 22 Jul 2004 22:33:12 +0200
From: Max Laier <max@love2party.net>
Subject: Re: ALTQ and tun
To: freebsd-current@freebsd.org
Message-ID: <200407222233.18787.max@love2party.net>
Content-Type: text/plain; charset="iso-8859-1"

On Thursday 22 July 2004 22:04, Wiktor Niesiobedzki wrote:
> Hi,
>
> Recently I configured my DSL link to use pf+ALTQ instead of
> ipfw+DUMMYNET, but I encountered following problem:
> - no single packet wents through the ALTQ
>
> I guess, that I miss something very trival, but for checkout:
> pf.conf:
> iext_if="tun0
> int_if="dc0"
>
> altq on $ext_if priq queue {dc, ssh_interactive, ssh_bulk, other}
> queue dc priority 0
> queue ssh_interactive priority 15
> queue ssh_bulk priority 3
> queue other priority 7 priq(default)
>
> pass out on $ext_if proto tcp from any to any port 22 tos 0x10 queue
> ssh_interactive label ssh_inter pass out log on $ext_if proto tcp from any
> to any port 22 tos 0x08 queue ssh_bulk label ssh_bulk pass out log on
> $ext_if proto tcp from any to any port 22 queue ssh_interactive label
> ssh_inter2 pass out log on $ext_if proto tcp from any to any user dctc
> queue dc label dc_transfer #pass out on $ext_if inet proto tcp from
> ($ext_if) port 61412 to any queue dc label dc_transfer_port pass out on
> $ext_if proto tcp from krz.mine.nu port 61412 to any label dc_transfer_port

> pass in log on $ext_if proto tcp from any to ($ext_if) port
> {22,80,113,61412} label pass_in_tcp pass in log on $ext_if proto udp from
> any to ($ext_if) port 61412 label pass_in_udp pass in on $ext_if proto tcp
> from any to any port 4662 label pass_in_mule queue dc pass in on $ext_if
> proto udp from any to any port 4672 label pass_in_kad queue dc pass out log

> on $ext_if proto { tcp, udp } all keep state label pass_out_all queue other

> pass out on $ext_if inet proto icmp all icmp-type {0,1,3,4,8,11,12} keep
> state pass in on $int_if all label pass_in_internal
> pass out on $int_if all label pass_out_internal queue other
>
> And for example:
> # pfctl -v -s rule
> [...]
> pass out log on tun0 proto tcp all keep state label "pass_out_all" queue
> other [ Evaluations: 25193     Packets: 855303    Bytes: 645597787  
> States: 13    ] pass out log on tun0 proto udp all keep state label
> "pass_out_all" queue other [ Evaluations: 3023      Packets: 10152    
> Bytes: 1222129     States: 2     ] [...]
>
> # pfctl -v -s queue
> queue dc priority 0
>   [ pkts:          0  bytes:          0  dropped pkts:      0 bytes:      0

> ] [ qlength:   0/ 50 ]
> queue ssh_interactive priority 15
>   [ pkts:          0  bytes:          0  dropped pkts:      0 bytes:      0

> ] [ qlength:   0/ 50 ]
> queue ssh_bulk priority 3
>   [ pkts:          0  bytes:          0  dropped pkts:      0 bytes:      0

> ] [ qlength:   0/ 50 ]
> queue other priority 7 priq( default )
>   [ pkts:          0  bytes:          0  dropped pkts:      0 bytes:      0

> ] [ qlength:   0/ 50 ]
>
>
> Nothing. Just like ALTQ was not enabled, but then, how to enable it?
> Can someone point me out, what I am missing in my configuration?

Nothing. This is a problem in ALTQ activation. Please do the following:
1) # pfctl -d; pfctl -Fa; pfctl -ef /etc/pf.conf
Your queues should be working now.
2) Make sure to install the updated rc.d/pf script, which will "just do the 
right thing"[tm].
3) A revised ALTQ API (which I haven't found to time to do, yet) will solve 
this.

If the problem is persistent (which I don't think will be the case), please 
report back.

-- 
/"\  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/20040722/
3232fea7/attachment-0001.bin

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

Message: 5
Date: Thu, 22 Jul 2004 23:08:36 +0200
From: Philip Paeps <philip@FreeBSD.org>
Subject: Re: laptop for -current
To: Kim Culhan <w8hdkim@yahoo.com>
Cc: freebsd-current@FreeBSD.org
Message-ID: <20040722210836.GB46371@fasolt.home.paeps.cx>
Content-Type: text/plain; charset=us-ascii

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.

> With all the differences in hardware, trying to find one which is mostly
> compatible is not straightforward.
> 
> The manufacturers don't make it easier..

It's all a conspiracy.

 - Philip

-- 
Philip Paeps                                    Please don't CC me, I am
                                                 subscribed to the list.

  BOFH Excuse #171:
    NOTICE: alloc: /dev/null: filesystem full

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

Message: 6
Date: Fri, 23 Jul 2004 07:12:09 +1000
From: John Birrell <jb@cimlogic.com.au>
Subject: Re: nanosleep returning early
To: Bruce Evans <bde@zeta.org.au>
Cc: current@freebsd.org
Message-ID: <20040722211209.GB34260@freebsd3.cimlogic.com.au>
Content-Type: text/plain; charset=us-ascii

On Fri, Jul 23, 2004 at 02:25:16AM +1000, Bruce Evans wrote:
> Now I think I know the reason.  The interval between clock interrupts
> is supposed to be 1/HZ seconds = `tick' microseconds, but it cannot
> be set nearly that precisely, and the imprecision of inversely
> proportional to HZ.  The i8254 counter has a default nominal frequency
> of 1193182 Hz.  Suppose that this is perfectly accurate.  Then to
> implement clock interrupts at HZ hz, we want to program the i8254's
> maximum count to 1193182/HZ in infinite precision, but counts must be
> integers so we must round.  The loss of precision is quite large for
> HZ = 1000: 1193182 / 1000.0 = 1193.182; rounding this (to nearest)
> gives 1193 and an error of 182 in 1193182 = 152 ppm.  Also, the extra
> tick added by tvtohz() is only 1000 uS long, so it only has a chance
> of about 152/1000 to compensate for the rounding error.  Finally, the
> explicit check that the interval has elapsed cannot compensate for
> errors larger than tc_tick/HZ because getnanouptime() is fuzzy.
> 
> Rounding 1193.182 to nearest happens to round down; thus clock ticks
> are shorter than `tick' microseconds, tvtohz()'s value is too small,
> and nanosleep() may return too early.  The loop limits the error to
> about 1 tick in this case.  The i8254 frequency may be calibrated or
> set using sysctl to a more (or less) accurate value.  Then the rounding
> may go the other way so that tvtohz()'s value is too large and nanoleep()
> may return too late.  The loop cannot limit the error in this case.
> The absolute error may be large for long sleeps.  E.g., 152 ppm over
> 1 day is 13 seconds.
> 
> tvtohz()'s value  may also be too large because the i8254 frequency
> is not known accurately.  It's nominal value is wrong by 10-100 Hz
> on my systems.  I minimize errors from this by calibrating all
> timecounters using a common clock.

Thanks for taking the trouble to explain this. 8-)

-- 
John Birrell

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

Message: 7
Date: Thu, 22 Jul 2004 14:34:51 -0700
From: othermark <atkin901@yahoo.com>
Subject: fixing out of order first fragment processing?
To: freebsd-current@freebsd.org
Message-ID: <cdpbts$om0$1@sea.gmane.org>
Content-Type: text/plain; charset=us-ascii

Hi,

This is one of those obscure, yet well known issues in FreeBSD,
some network stacks, like Linux, send the udp/icmp fragment 
first (if multiple frags -- in reverse order), then the orginal
packet with the header.

In -current, we still cannot process this simple fragged icmp-echo
request from a Linux host.  For example, 'ping -c 1 -s 1500 <freebsd ip>'.

FreeBSD discards the frag(s) and when it sees the initial packet with
header waits for the frags.

So two questions:

1. is there a gnats pr?  I tried various searches with no success.
2. are there workarounds/patches?

-- 
othermark
atkin901 at nospam dot yahoo dot com
(!wired)?(coffee++):(wired);


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

Message: 8
Date: Thu, 22 Jul 2004 23:59:12 +0200
From: Max Laier <max@love2party.net>
Subject: Re: fixing out of order first fragment processing?
To: freebsd-current@freebsd.org
Cc: othermark <atkin901@yahoo.com>
Message-ID: <200407222359.23147.max@love2party.net>
Content-Type: text/plain; charset="iso-8859-1"

On Thursday 22 July 2004 23:34, othermark wrote:
> Hi,
>
> This is one of those obscure, yet well known issues in FreeBSD,
> some network stacks, like Linux, send the udp/icmp fragment
> first (if multiple frags -- in reverse order), then the orginal
> packet with the header.
>
> In -current, we still cannot process this simple fragged icmp-echo
> request from a Linux host.  For example, 'ping -c 1 -s 1500 <freebsd ip>'.
>
> FreeBSD discards the frag(s) and when it sees the initial packet with
> header waits for the frags.
>
> So two questions:
>
> 1. is there a gnats pr?  I tried various searches with no success.
> 2. are there workarounds/patches?

Activation of pf with a
	scrub in on <interface> fragment reassemble
rule works as workaround. 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).

-- 
/"\  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/20040722/
920442d8/attachment-0001.bin

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

Message: 9
Date: Thu, 22 Jul 2004 15:32:25 -0700
From: othermark <atkin901@yahoo.com>
Subject: Re: fixing out of order first fragment processing?
To: freebsd-current@freebsd.org
Message-ID: <cdpf9q$o0t$1@sea.gmane.org>
Content-Type: text/plain; charset=us-ascii

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

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


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

Message: 10
Date: Thu, 22 Jul 2004 17:47:40 -0500 (EST)
From: "Michael L. Squires" <mikes@siralan.org>
Subject: Re: radeon drm code in -current
To: John Merryweather Cooper <johnmary@adelphia.net>
Cc: freebsd-current@freebsd.org
Message-ID: <20040722174610.H31267@familysquires.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

I'm using an original ATI All-in-Wonder with 5.2-STABLE from July 14 with 
radeondrm in the kernel and haven't seen this.

Mike Squires



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

Message: 11
Date: Fri, 23 Jul 2004 00:51:44 +0200
From: Max Laier <max@love2party.net>
Subject: Re: LORs with PF
To: freebsd-current@freebsd.org
Cc: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Message-ID: <200407230051.51939.max@love2party.net>
Content-Type: text/plain; charset="iso-8859-1"

On Thursday 22 July 2004 14:36, Robert Watson wrote:
> On Thu, 22 Jul 2004, Bjoern A. Zeeb wrote:
> > > I don't think, it was reported yet, but here it goes:
> > >
> > > lock order reversal
> > >  1st 0xc0632c80 pf task mtx (pf task mtx) @
> > > /usr/src/sys/contrib/pf/net/pf.c:5822 2nd 0xc066638c tcp (tcp) @
> > > /usr/src/sys/contrib/pf/net/pf.c:2420
> >
> > for reference: added it to "LOR page" with LOR # 017:
> > http://sources.zabbadoz.net/freebsd/lor.html#017
>
> I have no immediate fix, but here's an explanation:
>
> This likely occurs because calls are made into pf in the outgoing packet
> path, which may hold protocol layer locks (inpcb and pcbinfo locks).  The
> pf mutex will therefore typically follow the protocol locks in the lock
> order.  However, when pf calls up to the pcb/socket code to find
> potentially matching pcbs or sockets for a packet, it can't/shouldn't hold
> the pf lock across that.  A similar bug exists in ipfw.
>
> FWIW, this is actually symptomatic of a race: technically, that pcb lookup
> could have a different result between when the firewall looks it up and
> when the TCP or UDP code looks it up.  It's a property of what is
> generally considered a layering violation, albeit a useful one.
>
> The solution I'm looking at for ipfw, but haven't had a chance to
> prototype yet, is to avoid holding the mutex for the duration of the call
> to ipfw, but instead use some rule set reference count such that ipfw
> consumers hold a reference on the rules to prevent them from changing out
> from under them.  Note that this has interesting semantic consideration
> such as starvation, which are usually remedied using copy-on-write, but
> that may be expensive for large rule sets.  Just something to think
> about...

This raises the question (at least for me) for a useable sx(9) implementation 

or a busycount of some sort. Somebody suggested atomic refcounts, but I don't 

remember what the outcome was. I know of at least two places where we have 
handrolled busycounts: pfil_hooks and MAC
Something general with tuneable starvation scheme might be worthwhile?

In any case, I must look into something of that kind for pf as well. At the 
moment we have a lot of: "drop lock - call back into the stack - reaquire 
lock".

-- 
/"\  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/
412817dd/attachment-0001.bin

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

Message: 12
Date: Thu, 22 Jul 2004 19:08:19 -0500
From: Samuel Stringham <me@samuelstringham.com>
Subject: Re: if_ndis/5.2.1/smc2602w-r3
To: current@freebsd.org
Message-ID: <20040723000819.GA17347@linux>
Content-Type: text/plain; charset=us-ascii

On Thu, Jul 22, 2004 at 02:15:07PM +0200, Svein Halvor Halvorsen wrote:
> 
> I tried asking on questions to no avail. So I'll try again here, since
> this is -current code I'm tinkering with here.
> 
> Copying
> 
> 	src/sys/modules/if_ndis
> 	src/sys/modules/ndis
> 	src/sys/compat/ndis
> 	src/sys/dev/if_ndis
> 
> ... from a current source-tree to my 5.2.1-box, and compiling using a
> ndis_driver_data.h made from the latest driver found on SMC's website
> using a ndisctl on my current system, seems to work fine.
> 
> kldload-ing ndis also seems to work. But when I kldload if_ndis, the
> system freezes. No error messages, no response. A cold boot is the only
> thing that seems to fix it.
> 

Though I am not sure, it seems that there have been some instabilities in the

if_ndis lately.  I reported a repeatable panic a couple days ago with -CURRENT

which I am unable to get rid of.  The author may be busy with real work as of

late.  Either way, I am hoping to get some of this ndis love so I can get my
card ( DWL 520+ ) working as well.

> Is this supposed to work, or am I trying to do the impossible here?
> Any hints would be appreciated.

It is supposed to work.  Be patient, and something magical may happen:)

> 
> 
> Svein Halvor
> 
> 
> Btw: ndisctl choked on the inf-file, because of a missing newline at the
> end. The fact that the syntax error occured on the last line, hinted on a
> missing newline, but I think ndisctl should either give a more precise
> error message, or preferable just cope with a missing newline.

Best regards,

Samuel Stringham

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

Message: 13
Date: Thu, 22 Jul 2004 23:07:17 -0400
From: "George D. Gal" <ggal@vsecurity.com>
Subject: Re: radeon drm code in -current
To: "Michael L. Squires" <mikes@siralan.org>,	"John Merryweather
	Cooper" <johnmary@adelphia.net>
Cc: freebsd-current@freebsd.org
Message-ID: <009101c47062$29afceb0$5001a8c0@CINDY>
Content-Type: text/plain;	charset="iso-8859-1"

You wouldn't see this in 5.2 stable only current

-george

----- Original Message ----- 
From: "Michael L. Squires" <mikes@siralan.org>
To: "John Merryweather Cooper" <johnmary@adelphia.net>
Cc: "George D. Gal" <ggal@vsecurity.com>; <freebsd-current@freebsd.org>
Sent: Thursday, July 22, 2004 6:47 PM
Subject: Re: radeon drm code in -current


> I'm using an original ATI All-in-Wonder with 5.2-STABLE from July 14 with 
> radeondrm in the kernel and haven't seen this.
> 
> Mike Squires
> 
> 
> 

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

Message: 14
Date: Sat, 22 Jul 2000 22:22:38 -0500 (CDT)
From: "Conrad J. Sabatier" <conrads@cox.net>
Subject: Re: Sound issue on -current
To: Alecs King <alecs@swissinfo.org>
Cc: freebsd-current@freebsd.org
Message-ID: <XFMail.20000722222238.conrads@cox.net>
Content-Type: text/plain; charset=us-ascii


On 22-Jul-2004 Alecs King wrote:
> Onboard nForce2 audio (Realtek ALC650 AC97Codec). I used to use
> 'device
> pcm' without problem. 
> 
> Just cvsup'ed the source and found that -current is now using a new
> 'sound/snd_*' scheme. I checked the NOTES but couldnt find any snd_*
> for my case. So i tried just using 'device sound' without any
> 'device snd_*' but failed.
> 
> Is there anything i missed? Which snd_* should i use? Any
> suggestions?

Try the snd_ich driver.  Works for me with my nForce3 chipset.

-- 
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"

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

Message: 15
Date: Fri, 23 Jul 2004 11:52:06 +0800
From: Alecs King <alecs@swissinfo.org>
Subject: Re: Sound issue on -current
To: freebsd-current@freebsd.org
Message-ID: <20040723035206.GA719@localhost>
Content-Type: text/plain; charset=us-ascii

On Sat, Jul 22, 2000 at 10:22:38PM -0500, Conrad J. Sabatier wrote:
> 
> On 22-Jul-2004 Alecs King wrote:
> > Onboard nForce2 audio (Realtek ALC650 AC97Codec). I used to use
> > 'device
> > pcm' without problem. 
> > 
> > Just cvsup'ed the source and found that -current is now using a new
> > 'sound/snd_*' scheme. I checked the NOTES but couldnt find any snd_*
> > for my case. So i tried just using 'device sound' without any
> > 'device snd_*' but failed.
> > 
> > Is there anything i missed? Which snd_* should i use? Any
> > suggestions?
> 
> 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?

TIA.

-- 
Alecs King


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

Message: 16
Date: Thu, 22 Jul 2004 21:01:57 -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: <1090555317.899.12.camel@leguin>
Content-Type: text/plain

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 whe
n
> 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: 17
Date: Fri, 23 Jul 2004 08:02:35 +0400
From: Maxim Maximov <mcsi@mcsi.pp.ru>
Subject: Re: laptop for -current
To: Philip Paeps <philip@freebsd.org>
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID: <41008DDB.6030609@mcsi.pp.ru>
Content-Type: text/plain; charset=us-ascii; format=flowed

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 thing
s
> 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 fr
om
> the L3H, that one's a bit of a pain.

My recent model L5Ga panics when suspending to S4 and can't wake up from 
S3. S1 and other ACPI features (screen brightness control from acpi_asus 
for example) are working fine though.


-- 
Maxim Maximov

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

Message: 18
Date: Fri, 23 Jul 2004 06:30:54 +0200
From: Eugene <eugene3@web.de>
Subject: did gbde on swap destroy some boot sectors? (and cdrom did
	not boot and pppoe broken in xl-driver)
To: freebsd-current@freebsd.org
Message-ID: <4100947E.30805@web.de>
Content-Type: text/plain; charset=us-ascii; format=flowed

stability is realy a problem at the moment... as in "Re: INSTABILITY all 
around (Was: Re: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c])"

but i knew and i know im running -current and what it means...

but now after i got used to the every day crashs and freezes without 
debugger comming to help, something even more evil happend...

what can be more evil than a crash?

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 
after it loaded some kernel it immidately crashed... and i only see some 
register output... AX=... BX=... the usual stuff... the same as with a 
-current cd from 10 day ago and 20 days ago... but nothing new im used 
to boot cds dont like my plextor scsi drive an adaptec controller... 
even some linux cds dont boot as i tried with knopix (2.4 and 2.6 kernel 
just to be sure...) seems not realy freebsd relates so...

so now i was surprised the boot floppy pack of -current worked fine... 
congratulations - because we had some trouble with fdc in the past...

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

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?

now when im finished reinstalling i will be more careful with gbde as 
long as i dont know if this was the reason...

btw: when will the xl-driver be fixed so that pppoe will work again with 
these 3com cards? i dont have replacement cards to workaround this 
issue... in another thread it was spotted out this is a xl-problem 
recently introduced (around 18-jun or so...)

sorry for that long bad mail... but of course i wanna use freebsd and 
help debug it... but what when no debugger omes up in situations like a 
crash? should i realy try that serial console feature or will it suffer 
from the same no-debug-issue in such a case?

Eugene

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

Message: 19
Date: Fri, 23 Jul 2004 00:33:55 -0400 (EDT)
From: "Conrad J. Sabatier" <conrads@cox.net>
Subject: Re: Sound issue on -current
To: Alecs King <alecs@swissinfo.org>
Cc: freebsd-current@freebsd.org
Message-ID: <XFMail.20040723003355.conrads@cox.net>
Content-Type: text/plain; charset=us-ascii


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"

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

Message: 20
Date: Thu, 22 Jul 2004 23:16:13 -0700
From: John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Subject: Re: Excellent job on the firewire support!
To: Doug Rabson <dfr@nlsystems.com>
Cc: simokawa@freebsd.org
Message-ID: <20040723061613.GH991@funkthat.com>
Content-Type: text/plain; charset=us-ascii

Doug Rabson wrote this message on Sun, Jul 18, 2004 at 21:04 +0100:
> > 4) Does the loader know about dcons?  Eg, can I do "unload <ret> boot
> >    kernel.test" using dcons?
> 
> 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.
> 
> I could imagine a dcons driver in the loader which just enabled physical 
> access and used some kind of loader trick to hand off the ring buffers 
> to the kernel dcons driver. It doesn't exist though - say nice things 
> to the author and he might find the time for it :-)

You guys might want to check out nextboot.. it's very nice utility
that I've been using in my recent kernel debugging... should do what
you need to do w/o loader knowing about dcons...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."

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

Message: 21
Date: Fri, 23 Jul 2004 10:31:49 +0200
From: "Daniel Eriksson" <daniel_k_eriksson@telia.com>
Subject: RE: STABILITY [Fwd: cvs commit: src/sys/kern kern_switch.c]
To: "'Scott Long'" <scottl@freebsd.org>, <current@freebsd.org>
Message-ID:
	<!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQA
AAA6fgl1/dSM0CnCUuF/euGkAEAAAAA@telia.com>
	
Content-Type: text/plain;	charset="us-ascii"

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



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

Message: 22
Date: Fri, 23 Jul 2004 12:34:33 +0200
From: Philip Paeps <philip@freebsd.org>
Subject: Re: laptop for -current
To: freebsd-current@freebsd.org
Message-ID: <20040723103432.GA48650@fasolt.home.paeps.cx>
Content-Type: text/plain; charset=us-ascii

On 2004-07-23 13:38:31 (+0400), Toxa <postfix@senmail.ru> wrote:
> 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

All patches welcome :-)

I've been meaning to sync the supported modules in acpi_asus with the Linux
acpi4asus list, but I never seem to get around to it.

 - Philip

-- 
Philip Paeps                                    Please don't CC me, I am
                                                 subscribed to the list.

  BOFH Excuse #148:
    Insert coin for new game

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

Message: 23
Date: Fri, 23 Jul 2004 15:09:31 +0400
From: Andrey Chernov <ache@nagual.pp.ru>
Subject: Re: NEW TAR
To: Ian FREISLICH <if@hetzner.co.za>
Cc: current@FreeBSD.ORG
Message-ID: <20040723110931.GB41806@nagual.pp.ru>
Content-Type: text/plain; charset=us-ascii

On Thu, Jul 22, 2004 at 02:37:00PM +0200, Ian FREISLICH wrote:
> Garrett Wollman wrote:
> > <<On Wed, 21 Jul 2004 17:14:27 +0200, Daniel Lang <dl@leo.org> said:
> > 
> > > I do not see, why it is important if the original file was sparse
> > > at all or maybe in different places.
> > 
> > You've never run out of disk space as a result of a sparse file
> > becoming non-sparse?
> 
> So, are you arguing for or against tar converting files into sparse
> files where it can as Daniel proposes?

There is no arguing on that, since tar conversion is non-default, by -S 
option.

> How does dump handle sparse files?

dump handle them as sparse by default, no disk overflow.

-- 
Andrey Chernov | http://ache.pp.ru/

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

_______________________________________________
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 14
***********************************************


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


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