Re: USB flash drive oddity

2007-04-05 Thread Steve O'Hara-Smith
On Thu, 5 Apr 2007 09:21:46 +0100
Steve O'Hara-Smith [EMAIL PROTECTED] wrote:

   Ah thanks for the hint - it turns out the quirk for no cache sync
 is elsewhere in /usr/src/sys/bus/cam/scsi/scsi_da.c - the attached patch
 shuts up the complaints nicely and makes mount and unmount work.
 Unfortunately it's not enough to make the device work properly I still get
 corrupted files (only some of them) and directories turn into empty files
 after an unmount/mount cycle.

Added data point - mtools works perfectly with this device (now
that I have the quirk in) so it looks like a problem with the msdos file
system support.

-- 
C:WIN  |   Directable Mirror Arrays
The computer obeys and wins.| A better way to focus the sun
You lose and Bill collects. |licences available see
|http://www.sohara.org/


Re: USB flash drive oddity

2007-04-05 Thread Steve O'Hara-Smith
On Wed, 4 Apr 2007 11:36:20 -0700 (PDT)
Matthew Dillon [EMAIL PROTECTED] wrote:

 : One thing surprised me - it mounts on /mnt automatically on
 :insertion but I cannot find where this is being controlled from (I didn't
 :put anything in usbd.conf for it). It's neat but I sort of wonder what
 :happens in /mnt is in use.

What is causing this automatic mounting 

 : I'm also having some problems - unmounting it produces error
 :messages (below) and files written to it are sometimes corrupt (I suspect
 :that data is not always flushed).
...
 The simple addition of a quirk table entry to disable the use of the
 cache synchronization command should solve the problem.  You need the
 usb vendor and device id's to enter the information into the quirk
 table in /usr/src/sys/dev/usbmisc/umass/umass.c (see around lines
 257 and the quirk table is declared around line 314). 

Ah thanks for the hint - it turns out the quirk for no cache sync
is elsewhere in /usr/src/sys/bus/cam/scsi/scsi_da.c - the attached patch
shuts up the complaints nicely and makes mount and unmount work.
Unfortunately it's not enough to make the device work properly I still get
corrupted files (only some of them) and directories turn into empty files
after an unmount/mount cycle.

-- 
C:WIN  |   Directable Mirror Arrays
The computer obeys and wins.| A better way to focus the sun
You lose and Bill collects. |licences available see
|http://www.sohara.org/


quirk.patch
Description: Binary data


[HEADS UP] Binary package changes

2007-04-05 Thread Joerg Sonnenberger
Hi all,
due to the dead of my old server I've moved the pkgsrc build system to
colocation. A few other things apply as well, so the following changes
should be of general interest:
(1) Binary packages for pkgsrc-current are available from
http://www.pkgsrc-box.org/packages/current/DragonFly-1.8/
and FTP respectively. This is built with X11_TYPE=modular.
(2) Binary packages for pkgsrc-2007Q1 will follow after Easter when the
branch is cut.
(3) rsync is available as well, if you want to mirror the packages
please contact me first. Due to bandwidth contraints (which might get
sorted out soon), I'd like to keep the list short.

I'm also looking for a donation of another KVR667D2D4F5K2/4G, as the
virtual machine configuration is running at the memory limit of the box.

Joerg


Re: [HEADS UP] Binary package changes

2007-04-05 Thread Simon 'corecode' Schubert

Joerg Sonnenberger wrote:

(1) Binary packages for pkgsrc-current are available from
http://www.pkgsrc-box.org/packages/current/DragonFly-1.8/
and FTP respectively. This is built with X11_TYPE=modular.
(2) Binary packages for pkgsrc-2007Q1 will follow after Easter when the
branch is cut.


thanks joerg!  your effort is very much appreciated!


(3) rsync is available as well, if you want to mirror the packages
please contact me first. Due to bandwidth contraints (which might get
sorted out soon), I'd like to keep the list short.


i'd like to mirror, and people can then pull the stuff from me.

cheers
 simon

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /\
Work - Mac  +++  space for low €€€ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



signature.asc
Description: OpenPGP digital signature


Re: [HEADS UP] Binary package changes

2007-04-05 Thread Grzegorz Błach
On Thu, 2007-04-05 at 12:48 +0200, Joerg Sonnenberger wrote:
 Hi all,
 due to the dead of my old server I've moved the pkgsrc build system to
 colocation. A few other things apply as well, so the following changes
 should be of general interest:
 (1) Binary packages for pkgsrc-current are available from
 http://www.pkgsrc-box.org/packages/current/DragonFly-1.8/
 and FTP respectively. This is built with X11_TYPE=modular.
 (2) Binary packages for pkgsrc-2007Q1 will follow after Easter when the
 branch is cut.
 (3) rsync is available as well, if you want to mirror the packages
 please contact me first. Due to bandwidth contraints (which might get
 sorted out soon), I'd like to keep the list short.
 
 I'm also looking for a donation of another KVR667D2D4F5K2/4G, as the
 virtual machine configuration is running at the memory limit of the box.
 
 Joerg

I can't install any packages from pkgsrc-box.org, but from
pkgsrc.dragonflybsd.org it works OK.

I have set PKG_PATH to
ftp://pkgsrc-box.org/packages/current/DragonFly-1.8/All;
and exec pkg_add -v bcrypt, after that I get this messages:

ftp -detv ftp://pkgsrc-box.org/packages/current/DragonFly-1.8/All/
ftp prompt off
parsing: ftp://pkgsrc-box.org/packages/current/DragonFly-1.8/All
path: ftp://pkgsrc-box.org/packages/current/DragonFly-1.8/All
increasing RLIMIT_NOFILE to max. 1764 open files
trying PKG_PATH ftp://pkgsrc-box.org/packages/current/DragonFly-1.8/All
Spawning FTP coprocess
ftp nlist bcrypt /var/tmp/pkg.MmzRc2
ftp cd .
pkg_add: nothing appropriate found
ftp nlist bcrypt.tbz /var/tmp/pkg.pypubU
Reusing FDs 4/5 for communication to FTP coprocess
ftp cd .
pkg_add: nothing appropriate found
ftp nlist bcrypt.tgz /var/tmp/pkg.Ez18HT
Reusing FDs 4/5 for communication to FTP coprocess
ftp cd .
pkg_add: nothing appropriate found
ftp nlist bcrypt-*.t[bg]z /var/tmp/pkg.guJMhY
Reusing FDs 4/5 for communication to FTP coprocess
ftp cd .
pkg_add: nothing appropriate found
pkg_add: no pkg found for 'bcrypt', sorry.
ftp close

When I set PKG_PATH to
ftp://pkgsrc.dragonflybsd.org/pkgsrc-modular/All;, everything goes OK.

This is for every package I try to install (not only for bcrypt).




Re: [HEADS UP] Binary package changes

2007-04-05 Thread Peter Avalos
On Thu, Apr 05, 2007 at 01:56:46PM +0200, Simon 'corecode' Schubert wrote:
 
 thanks joerg!  your effort is very much appreciated!
 
 (3) rsync is available as well, if you want to mirror the packages
 please contact me first. Due to bandwidth contraints (which might get
 sorted out soon), I'd like to keep the list short.
 
 i'd like to mirror, and people can then pull the stuff from me.
 

Ditto!  I've turned off my rsync cron for the old box.  I'll wait to
hear from you regarding mirroring off the new box.

--Peter


pgpOSyf7FPY8f.pgp
Description: PGP signature


Re: [HEADS UP] Binary package changes

2007-04-05 Thread Hasso Tepper
Grzegorz Błach wrote:
 I can't install any packages from pkgsrc-box.org, but from
 pkgsrc.dragonflybsd.org it works OK.

It's probably because Joerg is using vsftpd. I don't remember exact
details, but the point is that pkg_add is using glob pattern format
vsftpd doesn't support. It was in my TODO list some time ago, but
then I lost interest. It's probably time to put it back again ;).


regards,

-- 
Hasso Tepper