Re: access to hard drives is "blocked" by writes to a flash drive

2013-03-05 Thread Poul-Henning Kamp
Content-Type: text/plain; charset=ISO-8859-1 In message <1362500313.1291.20.ca...@revolution.hippie.lan>, Ian Lepore writes: >I don't think so, in our case. Have you seriously considered using msdosfs ? The cards flash-adaption-layer may work a LOT better if you do... -- Poul-Henning

Re: access to hard drives is "blocked" by writes to a flash drive

2013-03-05 Thread Alfred Perlstein
On 3/5/13 9:37 PM, Don Lewis wrote: On 5 Mar, Ian Lepore wrote: I've debated playing with the bio work loop in mmcsd to see if moving reads ahead of writes was helpful, but that seems like a dangerous path to go down without some mitigation strategy to ensure that writes go through eventually.

Re: access to hard drives is "blocked" by writes to a flash drive

2013-03-05 Thread Don Lewis
On 5 Mar, Ian Lepore wrote: > I've debated playing with the bio work loop in mmcsd to see if moving > reads ahead of writes was helpful, but that seems like a dangerous path > to go down without some mitigation strategy to ensure that writes go > through eventually. That seems especially importa

Re: Kernel panic on FreeBSD 10.0-CURRENT amd64

2013-03-05 Thread Ryan Stone
On Tue, Mar 5, 2013 at 8:03 PM, Adam Kirchhoff wrote: > I have recently installed 9.1 and attempted to upgrade to 10.0-CURRENT > yesterday (largely in an effort to test the new radeon DRM code). > Unfortunately, upon rebooting, I am left at kernel debugger prompt: > > cd0 at ata0 bus 0 scbus0 targ

Kernel panic on FreeBSD 10.0-CURRENT amd64

2013-03-05 Thread Adam Kirchhoff
I have recently installed 9.1 and attempted to upgrade to 10.0-CURRENT yesterday (largely in an effort to test the new radeon DRM code). Unfortunately, upon rebooting, I am left at kernel debugger prompt: cd0 at ata0 bus 0 scbus0 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.300MB/s

Re: Airport card is not recognized on i386

2013-03-05 Thread Adrian Chadd
You need to provide much more information than that. Like, starting with what kind of airport card it is, what the PCI ID is, etc. Adrian ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubsc

Re: r247839: broken pipe - for top, sudo and ports

2013-03-05 Thread Hartmann, O.
On 03/05/13 20:35, Hartmann, O. wrote: > On recent FreeBSD 10.0-CURRENT/amd64 (CLANG buildworld, serveral systems > (3) the same symptoms)), many services drop a sporadic > > broken pipe > > This happesn to system's top (I have to type it several times to get > finally a top), it happens to "sudo

r247839: broken pipe - for top, sudo and ports

2013-03-05 Thread Hartmann, O.
On recent FreeBSD 10.0-CURRENT/amd64 (CLANG buildworld, serveral systems (3) the same symptoms)), many services drop a sporadic broken pipe This happesn to system's top (I have to type it several times to get finally a top), it happens to "sudo su -", it happens to SSH (drops connection with brok

Re: r247835: drm2 code breaks buildkernel

2013-03-05 Thread Konstantin Belousov
On Tue, Mar 05, 2013 at 05:40:34PM +0100, Jean-S?bastien P?dron wrote: > On 05.03.2013 16:37, Konstantin Belousov wrote: > > The patch below is supposed to fix double declaration (it is pathetic that > > clang silently accepts this, while issuing countless useless warnings). > > Also there is a usu

Re: r247835: drm2 code breaks buildkernel

2013-03-05 Thread Jean-Sébastien Pédron
On 05.03.2013 16:37, Konstantin Belousov wrote: > The patch below is supposed to fix double declaration (it is pathetic that > clang silently accepts this, while issuing countless useless warnings). > Also there is a usual workaround for the anonimous union/struct issue. What do you think about "-

Re: access to hard drives is "blocked" by writes to a flash drive

2013-03-05 Thread Ian Lepore
On Mon, 2013-03-04 at 21:33 -0800, Don Lewis wrote: > On 4 Mar, Ian Lepore wrote: > > On Sun, 2013-03-03 at 20:28 +, Steven Hartland wrote: > >> - Original Message - > >> From: "Ian Lepore" > >> To: "Poul-Henning Kamp" > >> Cc: "deeptech71" ; ; > >> "Peter Jeremy" > >> Sent: Sunda

Re: r247835: drm2 code breaks buildkernel

2013-03-05 Thread Konstantin Belousov
On Tue, Mar 05, 2013 at 10:54:29AM -0500, Glen Barber wrote: > On Tue, Mar 05, 2013 at 10:48:31AM -0500, Glen Barber wrote: > > On Tue, Mar 05, 2013 at 05:37:36PM +0200, Konstantin Belousov wrote: > > > Glen neglected to even mention that he used gcc (is it true ?), as well > > > as to show the com

Re: access to hard drives is "blocked" by writes to a flash drive

2013-03-05 Thread Ian Lepore
On Mon, 2013-03-04 at 21:27 -0800, Don Lewis wrote: > On 4 Mar, Ian Lepore wrote: > > On Sun, 2013-03-03 at 19:01 -0800, Don Lewis wrote: > >> On 3 Mar, Poul-Henning Kamp wrote: > >> > >> > For various reasons (see: Lemming-syncer) FreeBSD will block all I/O > >> > traffic to other disks too, wh

Re: r247835: drm2 code breaks buildkernel

2013-03-05 Thread Glen Barber
On Tue, Mar 05, 2013 at 10:48:31AM -0500, Glen Barber wrote: > On Tue, Mar 05, 2013 at 05:37:36PM +0200, Konstantin Belousov wrote: > > Glen neglected to even mention that he used gcc (is it true ?), as well > > as to show the command line invocation of the compiler. Hopefully the > > patch helps.

Re: r247835: drm2 code breaks buildkernel

2013-03-05 Thread Glen Barber
On Tue, Mar 05, 2013 at 05:37:36PM +0200, Konstantin Belousov wrote: > Glen neglected to even mention that he used gcc (is it true ?), as well > as to show the command line invocation of the compiler. Hopefully the > patch helps. Yes, I am using gcc. I'll try your patch and report back. Glen

Re: r247835: drm2 code breaks buildkernel

2013-03-05 Thread Konstantin Belousov
On Tue, Mar 05, 2013 at 03:13:12PM +0100, Jean-S?bastien P?dron wrote: > On 05.03.2013 13:30, Glen Barber wrote: > > dev/drm2/ttm/ttm_lock.h:208: warning: redundant redeclaration of > > 'ttm_write_unlock' [-Wredundant-decls] > > dev/drm2/ttm/ttm_lock.h:134: warning: previous declaration of > > 't

Re: drm GPU hung, resume no longer working

2013-03-05 Thread Jean-Sébastien Pédron
On 05.03.2013 16:07, Glen Barber wrote: > error: [drm:pid12:i915_hangcheck_elapsed] *ERROR* Hangcheck timer > elapsed... GPU hung > info: [drm] capturing error event; look for more information in sysctl > hw.dri.0.info.i915_error_state > > hw.dri.0.info.i915_error_state output is at: > >

Re: r247835: drm2 code breaks buildkernel

2013-03-05 Thread Jean-Sébastien Pédron
On 05.03.2013 15:54, J.R. Oldroyd wrote: > A fix for these is in my big "get it to compile" patch that I emailed > you both the other day. Sorry, I didn't take the time to read it yet :-/ >>> dev/drm2/ttm/ttm_page_alloc.c:122: warning: declaration does not declare >>> anything >>> dev/drm2/ttm/t

drm GPU hung, resume no longer working

2013-03-05 Thread Glen Barber
Hi, I am running: FreeBSD nucleus 10.0-CURRENT FreeBSD 10.0-CURRENT #87 r247546: Fri Mar 1 13:15:42 EST 2013 root@nucleus:/usr/obj/usr/src/sys/NUCLEUS amd64 Sometime very recently, resume has stopped working. I can ssh to the machine when it resumes, and I do see my background image on

Re: r247835: drm2 code breaks buildkernel

2013-03-05 Thread J.R. Oldroyd
On Tue, 05 Mar 2013 15:13:12 +0100 Jean-Sébastien Pédron wrote: > > On 05.03.2013 13:30, Glen Barber wrote: > > dev/drm2/ttm/ttm_lock.h:208: warning: redundant redeclaration of > > 'ttm_write_unlock' [-Wredundant-decls] > > dev/drm2/ttm/ttm_lock.h:134: warning: previous declaration of > > 'ttm_

Re: r247835: drm2 code breaks buildkernel

2013-03-05 Thread Jean-Sébastien Pédron
On 05.03.2013 13:30, Glen Barber wrote: > dev/drm2/ttm/ttm_lock.h:208: warning: redundant redeclaration of > 'ttm_write_unlock' [-Wredundant-decls] > dev/drm2/ttm/ttm_lock.h:134: warning: previous declaration of > 'ttm_write_unlock' was here > dev/drm2/ttm/ttm_lock.h:220: warning: redundant redec

Re: r247835: drm2 code breaks buildkernel

2013-03-05 Thread Glen Barber
On Tue, Mar 05, 2013 at 12:59:50PM +0100, Hartmann, O. wrote: > > Could you try the patch below? > > > > http://people.freebsd.org/~dumbbell/radeonkms/drm_global-unused-variable.a.patch > > > > Got new sources, I'm at FreeBSD 10.0-CURRENT #1 r247839: Tue Mar 5 > 12:28:12 CET 2013/amd64 and the

Re: r247835: drm2 code breaks buildkernel

2013-03-05 Thread Hartmann, O.
On 03/05/13 11:46, Jean-Sébastien Pédron wrote: > On 05.03.2013 11:20, Hartmann, O. wrote: >> On r247835 build kernel fails: >> >> (...) >> /usr/src/sys/modules/drm2/drm2/../../../dev/drm2/drm_global.c:63:27: >> error: unused variable 'item' [-Werror,-Wunused-variable] >> struct drm

Re: r247835: drm2 code breaks buildkernel

2013-03-05 Thread Jean-Sébastien Pédron
On 05.03.2013 11:20, Hartmann, O. wrote: > On r247835 build kernel fails: > > (...) > /usr/src/sys/modules/drm2/drm2/../../../dev/drm2/drm_global.c:63:27: > error: unused variable 'item' [-Werror,-Wunused-variable] > struct drm_global_item *item = &glob[i]; Could you try the patch

r247835: drm2 code breaks buildkernel

2013-03-05 Thread Hartmann, O.
On r247835 build kernel fails: cc -O2 -pipe -O3 -pipe -march=native -O3 -march=native -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GATE/opt_global.h -I. -I@ -I@/contrib/altq -fno-common -fno-omit-frame-pointer -I/us

Re: r247829: dbus fails to start. portmaster SIGNAL 13 when doing extraction

2013-03-05 Thread Hartmann, O.
On 03/05/13 10:33, Dimitry Andric wrote: > On 2013-03-05 10:16, Hartmann, O. wrote: >> On FreeBSD 10.0-CURRENT #3 r247829: Tue Mar 5 08:12:19 CET 2013/amd64 I >> run into a mess and can not figure out what happens. >> >> Suddenly, after upgrading, buildworld etc., dbus fails to start so X11 >> is

Re: r247829: dbus fails to start. portmaster SIGNAL 13 when doing extraction

2013-03-05 Thread Hartmann, O.
On 03/05/13 10:33, Dimitry Andric wrote: > On 2013-03-05 10:16, Hartmann, O. wrote: >> On FreeBSD 10.0-CURRENT #3 r247829: Tue Mar 5 08:12:19 CET 2013/amd64 I >> run into a mess and can not figure out what happens. >> >> Suddenly, after upgrading, buildworld etc., dbus fails to start so X11 >> is

Re: r247829: dbus fails to start. portmaster SIGNAL 13 when doing extraction

2013-03-05 Thread Dimitry Andric
On 2013-03-05 10:16, Hartmann, O. wrote: On FreeBSD 10.0-CURRENT #3 r247829: Tue Mar 5 08:12:19 CET 2013/amd64 I run into a mess and can not figure out what happens. Suddenly, after upgrading, buildworld etc., dbus fails to start so X11 is without mouse. Trying to rebuild the port dbus fails i

Re: access to hard drives is "blocked" by writes to a flash drive

2013-03-05 Thread Don Lewis
On 5 Mar, Poul-Henning Kamp wrote: > In message <201303050840.r258egag012...@gw.catspoiler.org>, Don Lewis writes: > >>For composite devices such as mirrors, using the first underlying device >>is probably a reasonable choice. For more complicated cases, or to >>override the default, the syncer

r247829: dbus fails to start. portmaster SIGNAL 13 when doing extraction

2013-03-05 Thread Hartmann, O.
On FreeBSD 10.0-CURRENT #3 r247829: Tue Mar 5 08:12:19 CET 2013/amd64 I run into a mess and can not figure out what happens. Suddenly, after upgrading, buildworld etc., dbus fails to start so X11 is without mouse. Trying to rebuild the port dbus fails in a SIGNAL 13 while [do-extract]. This is

Re: ale(4) cannot negotiate as GigE

2013-03-05 Thread Alexey Dokuchaev
On Tue, Mar 05, 2013 at 05:57:03PM +0900, YongHyeon PYUN wrote: > Hmm, Does the switch support EEE feature? If yes, would you try > disabling it? I do not think it [1] does; plus I cannot do much about this switch, as I'm pretty far away from it right now. ./danfe [1] http://netgear.com/home/pr

Re: ale(4) cannot negotiate as GigE

2013-03-05 Thread YongHyeon PYUN
On Tue, Mar 05, 2013 at 08:06:20AM +, Alexey Dokuchaev wrote: > On Tue, Mar 05, 2013 at 04:43:15PM +0900, YongHyeon PYUN wrote: > > > > Could you disable WOL before rebooting your box? > > > > > > # ifconfig ale0 -wol > > > # reboot > > > > > > It came up as 100baseTX. :( > > > > You don't u

Re: serial console not accepting input?

2013-03-05 Thread Eggert, Lars
On Mar 4, 2013, at 20:59, Doug Ambrisko wrote: > Try to do a {Ctrl}D to see if works. We've seen that the TX on reset > hangs but input works fine. I'm not sure if we ran into this with > uart(4) but had a problem with sio(4). No change. Lars ___ fre

Re: access to hard drives is "blocked" by writes to a flash drive

2013-03-05 Thread Poul-Henning Kamp
In message <201303050840.r258egag012...@gw.catspoiler.org>, Don Lewis writes: >For composite devices such as mirrors, using the first underlying device >is probably a reasonable choice. For more complicated cases, or to >override the default, the syncer thread could be specified as a mount >optio

Re: access to hard drives is "blocked" by writes to a flash drive

2013-03-05 Thread Don Lewis
On 5 Mar, Poul-Henning Kamp wrote: > Content-Type: text/plain; charset=ISO-8859-1 > > In message <201303050519.r255jbau012...@gw.catspoiler.org>, Don Lewis writes: > >>That's been my opinion for a long time as well, though I think it would >>be better to have one thread per device to avo

Re: ale(4) cannot negotiate as GigE

2013-03-05 Thread Alexey Dokuchaev
On Tue, Mar 05, 2013 at 04:43:15PM +0900, YongHyeon PYUN wrote: > > > Could you disable WOL before rebooting your box? > > > > # ifconfig ale0 -wol > > # reboot > > > > It came up as 100baseTX. :( > > You don't use any manual link configuration, right? Right, everything is auto (that is, the de