6.2 rc2, VMWARE, seeing USB disks

2006-12-31 Thread Christoph P. Kukulies
Hi,

I installed FreeBSD 6.2 rc2 in a VMWARE VM machine. So far so good.
It boots and works fine. Just I cannot see a hard disk that I have connected
to a USB port.

--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: could not determine fs type - fsck

2006-05-09 Thread Christoph P. Kukulies
On Mon, May 08, 2006 at 07:30:54PM +0200, Victor Lundwall wrote:
 Christoph Kukulies wrote:
  I replaced a disk that had trouble with fsck in a 5.3 system and connected 
  it
  to a 5.2.1 system for further examinaton.
  
  starting fsck /dev/ad3 gave me an error: could not determine file system 
  type.
  
  Had there been some change in FS right between FreeBSD 5.2 and 5.3 such that
  either systems couldn't recognize each others FSs?
 
 Don't you haft to have a specific partition and slice? So it should be
 something like fsck_ufs /dev/ad3s1a? Else way try
 fsck_ufs /dev/ad3.

I think I tried fsck -t UFS /dev/ad3 already (not sure though, will be in
the office later in the afternoon and try then). I believe you can also do a 

newfs /dev/ad1

instead of 

newfs /dev/ad1s1

which may result in a different disk layout. I'm also not sure about that.


--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org

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


Re: natd, ipfw and MS netmeeting

2004-06-04 Thread Christoph P. Kukulies
On Fri, Jun 04, 2004 at 07:37:15AM +0800, Khairil Yusof wrote:
 On Thu, 2004-06-03 at 11:26 +0200, Christoph Kukulies wrote:
 
  Anyway, the prsent (simple) natd rules don't seem to suffice.
 
 If I'm not wrong, ms netmeeting and msn messenger (audio,video) do not
 work over nat. There are some third party windows utilities available to
 enable this to work. I have not experience in them, but google for nat
 messenger or nat netmeeting should turn up some links.

Wasn't there something like 'proxy arp' that could give the connecting
computer in the LAN the same IP as the gateway? (not really but something
that way).


--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tr A-Z a-z

2004-05-09 Thread Christoph P. Kukulies
On Sat, May 08, 2004 at 04:20:21PM -0500, Jose Lima wrote:
 I use:
 
 echo $Z | tr '[a-z' '[A-Z]'

This would be a lower case to upper case and would expose the same
problem. And a closing bracket is missing also. Don't know what the 
$Z should mean in your example.

In my example echo Z served as feeding a 'Z'  to the tr pipe.
But the problem is solved. As Kris suspected and someone else explained
it is a locale issue.

One should indeed use :lower: :upper: keywords. Or set the locale
accordingly for old shell scripts to work correctly.


--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tr A-Z a-z

2004-05-07 Thread Christoph P. Kukulies
On Fri, May 07, 2004 at 03:57:25AM -0500, [EMAIL PROTECTED] wrote:
 On Fri, 2004-05-07 at 10:53:01 +0200, Christoph Kukulies proclaimed...
 
  Strange: I was used to do upper case lower case conversion always like this
  and it suddenly doesn't work anymore:
  
  $ echo Z | tr [A-Z] [a-z]
 
 Works fine for me. However, maybe this would help?
 
 echo Z | tr [:upper:] [:lower:]

Yes, that's how I also worked around it but it is dissatisfying :-)

$LANG=en_US.ISO_8859-1
$LOCALE=
$SHELL=/bin/sh


stty -a

speed 9600 baud; 36 rows; 80 columns;
lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
brkint -inpck -ignpar -parmrk
oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret
cflags: cread cs7 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
-dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef;
eol2 = undef; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U;
lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;

FreeBSD-5.2.1 as well a half year old 5.2-current

--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tr A-Z a-z

2004-05-07 Thread Christoph P. Kukulies
On Fri, May 07, 2004 at 01:59:01AM -0700, Kris Kennaway wrote:
 On Fri, May 07, 2004 at 10:53:01AM +0200, Christoph Kukulies wrote:
  Strange: I was used to do upper case lower case conversion always like this
  and it suddenly doesn't work anymore:
  
  $ echo Z | tr [A-Z] [a-z]
  ΓΏ
 
 Something locale-related?

locale
LANG=en_US.ISO_8859-1
LC_CTYPE=en_US.ISO_8859-1
LC_COLLATE=en_US.ISO_8859-1
LC_TIME=en_US.ISO_8859-1
LC_NUMERIC=en_US.ISO_8859-1
LC_MONETARY=en_US.ISO_8859-1
LC_MESSAGES=en_US.ISO_8859-1
LC_ALL=

echo Z | tr A-Z a-z | od -x
000  0aff
002

set

USER=kuku
SSH_CLIENT='137.226.9.123 53261 22'
MAIL=/var/mail/kuku
HOME=/home/kuku
SSH_TTY=/dev/ttyp1
PAGER=more
PS1='$ '
OPTIND=1
PS2=' '
LOGNAME=kuku
TERM=vt100
BLOCKSIZE=K
PPID=49204
PATH=.:/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/bin:/home/kuku/bin:/usr/local/jdk1.1.5/bin:/usr/local/jsdk/bin:/usr/X11R6/bin
LANG=en_US.ISO_8859-1
SHELL=/bin/sh
IFS='   
'
CLASSPATH=.:/home/kuku/classes:/usr/local/jdk1.1.5/lib/classes.zip:/usr/local/jdk1.1.5/classes:/usr/local/jserv0.9.11/servclasses.zip:/usr/local/jsdk/lib/classes.zip
SSH_CONNECTION='137.226.9.123 53261 213.146.122.181 22'
FTP_PASSIVE_MODE=YES
EDITOR=vi

It must be something too obvious but I don't see it at the moment.

I found that it depends on my special environment settings.
A different user doesn't have this problem.


--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: majordomo question

2004-04-23 Thread Christoph P. Kukulies
On Fri, Apr 23, 2004 at 09:10:22AM +0100, Matthew Seaman wrote:
 FreeBSD mailing lists are no longer managed with majordomo.
 Everything runs through MailMan now, and has done for over a year --
 see
 
 http://lists.freebsd.org/mailman/listinfo
 
 Use the web interface to verify your subscription status -- the text
 field by the 'Unsubscribe or edit options' button is usually where you

Thanks. Sorry, missed that.
--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org

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


Re: USB stick

2003-09-10 Thread Christoph P. Kukulies
On Tue, Sep 09, 2003 at 07:59:01PM +0200, Hendrik Hasenbein wrote:
 Christoph P. Kukulies wrote:
 Only drawback, which probably cannot be solved, to automatically unmount 
 :-)
 when the user is about to pull the stick.
 
 Is there a detach line?
 
 Yes, there is. But it is too late. If you pull the stick the system gets 
 noticed, but can't unmount it because the device is physically no longer 
 available. Same problem on every system.

I had meant it as a joke (note the smiley) :-)


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

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


Re: USB stick

2003-09-09 Thread Christoph P. Kukulies
On Mon, Sep 08, 2003 at 11:57:53PM -0400, Michael W. Oliver wrote:
Content-Description: signed data
 
 Here is an entry from my custom /etc/usbd.conf:
 
 
 device Memorex ThumbDrive
   product 0x9988
   vendor 0x0a16
   release 0x0100
   class 0x
   subclass 0x
   protocol 0x
   devname umass0
   attach /sbin/mount_msdosfs -u michael -g users /dev/da0 /mnt/ThumbDrive
 
 
 and as soon as I plug it in, it is automatically mounted.  Do you have these 
 options in your kernel config file?

Will take care that I will have it in my kernel config :-). This seems to
me the best solution of all suggestions I got so far.

Only drawback, which probably cannot be solved, to automatically unmount :-)
when the user is about to pull the stick.

Is there a detach line?

Or can the writing to the msdosfs be flushed everytime (if not adjusted that
way per se)?


 devicescbus
 deviceda
 devicepass
 
 I am successfully running this under -current, btw.
 
 Also, be sure to umount the stick manually before removing it or it could be 
 fatal (to the kernel, not you)!

Ah, so my considerations above seem to be hopeless, aren't they?




--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: your mail

2003-09-08 Thread Christoph P. Kukulies
On Mon, Sep 08, 2003 at 11:27:51AM -0400, Brian J. McGovern wrote:
   
   
   Hi,
   
   I inserted an USB stick into a 5.1 FreeBSD box and
   was pleasantly surprised to see it being autodetected:
   
   umass0: UrDisk USB FLASH DISK, rev 1.10/1.00, addr 2
   da0 at umass-sim0 bus 0 target 0 lun 0
   da0: UrDisk USB FLASH DISK 1.00 Removable Direct Access SCSI-2 device 
   da0: 1.000MB/s transfers
   da0: 15MB (32000 512 byte sectors: 64H 32S/T 15C)
 
 ... and I've been sending patches as I get my hands on more brands/types.
 Unfortunately, this isn't one of mine, so I can't claim credit ;)
 
   But when I try to mount it, I'm getting 
   
   # mount -t msdos /dev/da0 /mnt
   msdosfs: /dev/da0: Invalid argument
   
 
 See if there is a slice for the device, e.g. /dev/da0s1. Also, you can try
 a fdisk on the device, in case it doesn't use the first slice (I've yet
 to see this on USB devices, but ZIP drives used to use slice 4 for their
 DOS partition).

Thanks, it was the slice, as I later detected.

 
 If you still can't get it to work, drop me a line, and I can try to provide
 some other pointers. On most devices, its a matter of tweaking the protocol
 settings in umass.c.
 
   
   Assumed I will get it working soon, how can I achieve that
   it is automatically mounted?
   Is there a user wrapper to mount/unmount the USB stick?
 
 
 You should be able to set something up in /etc/usbd.conf for attach. Detach
 may be a bit tricker, as you should unmount the filesystem before pulling the
 stick.
   -Brian

Thanks. Will try that.

So at least I was able now to mount it under root.
--
Christoph
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup tag for 4.8-STABLE?

2003-07-10 Thread Christoph P. Kukulies
In-Reply-Tor [EMAIL PROTECTED]

On Sat, Jun 28, 2003 at 10:41:38AM -0400, Lowell Gilbert wrote:
 Christoph Kukulies [EMAIL PROTECTED] writes:
 
  I wanted to cvsup src-all from 4.8-STABLE and tried with
  *default release=cvs  tag=RELENG_4
  
  Is this correct?
 
 Either that or RELENG_4_8, where the latter only gets absolutely
 critical fixes.
 
  The cvsup went fine but building the src tree resulted in
  errors.
  
  First I got some from some multiply defined typedef (first make world).
 
 You mean make buildworld?  If not, please try the recommended
 procedure before asking for help.
 
  Then I did a 'make includes' FWIW, and the subsequent make world then gave
  a different error:
  
  In file included from 
  /usr/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/terminal.c:35:
  /usr/include/termcap.h:42: ncurses_dll.h: No such file or directory
  mkdep: compile failed
  *** Error code 1
  

The actual problem has not gone away:

I removed the whole /usr/src tree and re-cvssupped.
make world or buildworld fails again at this point:
/usr/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/terminal.c

Either it doesn't find ncurses_dll.h or, if I remove
/usr/include/termcap.h (in case it prefers this over some other)
it insists of finding /usr/include/termcap.h (which is a common
file, I believe). Seems it is being generated by some mechanism
since I can't locate the file in the src tree.


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]