acd0 freeze with latest -CURRENT

2004-06-01 Thread Francis GUDIN
Hello,

I'm facing a problem which appeared between Apr 26 and today: when using
the DVD drive of my girlie'laptop, mplayer stands frozen after a few
seconds/minutes. I can 'atacontrol reinit 1' and things go on... until
next freeze :-/
Not so a specific mplayer issue: same thing when attempting to vob-copy
with dvdrip.

Laptop model is Compaq Presario 2120EU. You'll find at the end of this
email dmesg, ps when the problem arises, kernel config and pciconf -l.

I just included DDB in a fresh kernel, but couldn't play much with it,
cause IANAC, and especially not wrt the kernel. I'd appreciate if
someone could point me at valuable docs/debugging howto so that i can
provide anyone who'd care with it with useful input.

Last point: the commits from today back to end april on ATA deal with
autosense feature - could someone satisfy my curiosity and explain me
what is it ?

And now, the most useful content:

Script started on Wed Jun  2 01:24:01 2004
%ps ax
  PID  TT  STAT  TIME COMMAND
0  ??  DLs0:00,00  (swapper)
1  ??  SLs0:00,01 /sbin/init --
2  ??  DL 0:00,01  (g_event)
3  ??  DL 0:00,12  (g_up)
4  ??  DL 0:00,34  (g_down)
5  ??  DL 0:00,02  (taskqueue)
6  ??  SL 0:00,03  (acpi_task0)
7  ??  SL 0:00,01  (acpi_task1)
8  ??  SL 0:00,05  (acpi_task2)
9  ??  DL 0:00,00  (cbb0)
   10  ??  DL 0:00,00  (ktrace)
   11  ??  RL 2:45,23  (idle: cpu0)
   12  ??  WL 0:00,00  (irq0: clk)
   13  ??  WL 0:00,00  (irq1: atkbd0)
   14  ??  WL 0:00,00  (irq3:)
   15  ??  WL 0:00,00  (irq4: sio0)
   16  ??  WL 0:00,16  (irq5: pcm0)
   17  ??  WL 0:00,00  (irq6: fdc0)
   18  ??  WL 0:00,00  (irq7: ppc0)
   19  ??  WL 0:00,00  (irq8: rtc)
   20  ??  WL 0:00,00  (irq9: acpi0)
   21  ??  WL 0:00,00  (irq10: fwohci0+)
   22  ??  WL 0:00,69  (irq11: cbb0 sis0)
   23  ??  WL 0:00,01  (irq12: psm0)
   24  ??  WL 0:00,00  (irq13:)
   25  ??  WL 0:00,03  (irq14: ata0)
   26  ??  WL 0:01,00  (irq15: ata1)
   27  ??  WL 0:00,11  (swi8: tty:sio clock)
   28  ??  WL 0:00,00  (swi4: vm)
   29  ??  WL 0:00,29  (swi1: net)
   30  ??  DL 0:00,07  (yarrow)
   31  ??  WL 0:00,00  (swi6:+)
   32  ??  WL 0:00,00  (swi5:+)
   33  ??  WL 0:00,00  (swi7: acpitaskq)
   34  ??  WL 0:00,00  (swi2: camnet)
   35  ??  WL 0:00,00  (swi3: cambio)
   36  ??  WL 0:00,00  (swi7: task queue)
   37  ??  DL 0:00,03  (acpi_thermal)
   38  ??  DL 0:00,00  (usb0)
   39  ??  DL 0:00,00  (usbtask)
   40  ??  WL 0:00,00  (swi0: tty:sio)
   41  ??  DL 0:00,00  (pagedaemon)
   42  ??  DL 0:00,00  (vmdaemon)
   43  ??  DL 0:00,50  (pagezero)
   44  ??  DL 0:00,00  (bufdaemon)
   45  ??  DL 0:00,01  (syncer)
   46  ??  DL 0:00,00  (vnlru)
   47  ??  SL 0:00,00  (nfsiod 0)
   48  ??  SL 0:00,00  (nfsiod 1)
   49  ??  SL 0:00,00  (nfsiod 2)
   50  ??  SL 0:00,00  (nfsiod 3)
  315  ??  Ss 0:00,01 /usr/sbin/syslogd -s
  330  ??  Ss 0:00,01 /usr/sbin/rpcbind
  420  ??  Ss 0:00,00 /usr/sbin/mountd -r
  422  ??  Ss 0:00,03 nfsd: master (nfsd)
  425  ??  S  0:00,57 nfsd: server (nfsd)
  426  ??  S  0:00,02 nfsd: server (nfsd)
  427  ??  S  0:00,00 nfsd: server (nfsd)
  428  ??  S  0:00,00 nfsd: server (nfsd)
  452  ??  Ss 0:00,00 /usr/sbin/usbd
  502  ??  Ss 0:00,00 /usr/sbin/sshd
  508  ??  Ss 0:00,01 sendmail: accepting connections (sendmail)
  512  ??  Ss 0:00,00 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/mqueue
  515  ??  Ss 0:00,00 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/client
  529  ??  Ss 0:00,00 /usr/sbin/cron -s
  558  ??  Ss 0:00,03 /usr/local/sbin/cupsd
  586  ??  Ss 0:00,01 sudoscriptd: main (perl)
  588  ??  Ss 0:00,00 sudoscriptd: merger (perl)
  637  ??  S  0:00,02 /usr/X11R6/bin/wdm -nodaemon ttyv8
  638  ??  S  0:00,11 /usr/X11R6/bin/wdm -nodaemon ttyv8
  641  ??  Ss 0:05,08 /usr/X11R6/bin/XFree86 -auth /usr/X11R6/lib/X11/wdm/a
  642  ??  Ss 0:00,01 /usr/X11R6/bin/wdm -nodaemon ttyv8
  657  ??  Ss 0:00,19 /usr/X11R6/bin/wmaker
  675  ??  S  0:00,14 wmxmms
  676  ??  S  0:00,06 wmbsdbatt
  677  ??  S  0:00,04 wmtime
  678  ??  S  0:00,01 /usr/X11R6/bin/xconsole -geometry 480x130-0-0 -daemon
  682  ??  S  0:00,07 xterm -sl 1000
  703  ??  Ss 0:00,02 sshd: doudou [priv] (sshd)
  705  ??  R  0:00,01 sshd: [EMAIL PROTECTED] (sshd)
  683  p1  Ss 0:00,02 csh
  684  p1  S+ 0:01,21 mplayer -vo x11 -ao oss -double -cache 8192 -zoom -dv
  698  p1  DL+0:00,08 mplayer -vo x11 -ao oss -double -cache 8192 -zoom -dv
  706  p2  Ss 0:00,02 -csh (csh)
  721  p2  S+ 0:00,00 script debug_infos
  722  p3  Ss 0:00,01 /bin/csh -i
  723  p3  R+ 0:00,00 ps ax
  629  v0  Ss+0:00,00 /usr/libexec/getty Pc ttyv0
  630  v1  Ss+0:00,00 /usr/libexec/getty Pc ttyv1
  631  v2  

dummynet and adsl

2004-03-18 Thread Francis GUDIN
Hello everybody,

I'm in the process of setting up a bandwidth control with ipfw and
dummynet. My connection is done through pppoe on adsl.

In ipfw(8), i found the following:
 If a device name is specified instead of a numeric value, as in

   ipfw pipe 1 config bw tun0

  then the transmit clock is supplied by the specified device.  At
  the moment only the tun(4) device supports this functionality,
  for use in conjunction with ppp(8).

Having two different bandwidth available (up- and downstream), would
this option work ? Or, is only symetric bw case taken into account
when using this syntax ?


Any help greatly appreciated.
Please cc: in your replies as i'm not subscribed to these lists.

Tnx,
Francis.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dummynet and adsl

2004-03-18 Thread Francis GUDIN
On Thursday, 18 March 2004 at  8:08:49 -0800, Luigi Rizzo wrote :
 On Thu, Mar 18, 2004 at 11:57:28AM +0100, Francis GUDIN wrote:
  Hello everybody,
  
  I'm in the process of setting up a bandwidth control with ipfw and
  dummynet. My connection is done through pppoe on adsl.
  
  In ipfw(8), i found the following:
   If a device name is specified instead of a numeric value, as in
  
 ipfw pipe 1 config bw tun0
  
then the transmit clock is supplied by the specified device.  At
the moment only the tun(4) device supports this functionality,
for use in conjunction with ppp(8).
  
  Having two different bandwidth available (up- and downstream), would
  this option work ? Or, is only symetric bw case taken into account
 
 'bw tun0' means that the pipe will transmit a new packet when
 the device's (tun0 in this case) transmit queue becomes empty.
 
 In any case the question is irrelevant here because tun0's queue
 is drained by the userland process reading from /dev/tun0
 and writing onto the output link. With a serial line and no
 buffering you could hope that this matches the outbound
 bandwidth, but with pppoe on adsl you basically see the
 ethernet speed on transmission.
 
   cheers
   luigi
 

Thank you ! Things are much clearer to me, now. Back to work !

BR,
Francis.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]