tip and USB-RS232 cable

2003-02-24 Thread Luca Pizzinato
Hi All.

I have here a couple of FreeBSD boxes with a USB to serial RS232 cable
going from USB0 on hostA to COM1 on hostB.

On hostA I recompiled the kernel incuding the following 2 lines:
# USB com devices
device  ucom
device  uplcom

Unplugging and plugging back in on hostA the USB end, this is what I get
on the messages file:

... hostA /kernel: uplcom0: at uhub0 port 2 (addr 2) disconnected
... hostA /kernel: uplcom0: detached
... hostA /kernel: uhub0: port error, restarting port 2
... hostA /kernel: uplcom0: Prolific Technology PL2303 Serial adapter
(ATEN/IOGEAR UC232A), rev 1.10/2.02, addr 2

On hostA:/etc/remote I created the following line:
usb0:dv=/dev/usb0:br#9600:pa=none:

However, I can't have tip working. It tries to connect and immediately
disconnect!
hostA:~ # tip usb0
connected

Hangup.
[EOT]

On hostB everything is fine, since if I use a nullmodem serial cable
between the 2 boxes, I get the login: prompt from COM1 at hostA straight
away.

What am I missing?!?

Thanks  regards.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Panic under load? 3 volumes in mirroring

2003-02-23 Thread Luca Pizzinato
Hi Gurus.

I was setting up this box with FreeBSD 4.8 PRERELEASE. I cvsup'd and
recompiled everything, no problems, then I was configuring volumes with
vinum. The goal was to have 3 volumes mirrored 0+1.

Well, I attached the mirrors on all the 3 volumes all at once, and after 5
or 6 minutes (1 volume was already in sync) the box panic'd. I haven't
seen the messages on console though.
I tried again to attach the mirrors to the 2 remaning volumes, 10 minutes
later panic again.

So when the machine came up, I attached 1 mirror at the time :) no problems.

I wonder if there could be an issue with the load. On the
/var/log/messages I found quite a few of the following:

Feb 23 23:00:54 cabomba /kernel: ad2d: UDMA ICRC error writing fsbn
58256191 of 28079488-28079615 (ad2 bn 58256191; cn 3626 tn 71 sn 28)
retrying


I read a mail where a guy blamed the 40 ribbon IDE cable when used with
ATA/66 IDE disks, can anyone confirm?

Regs





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


dd problem

2003-02-22 Thread Luca Pizzinato
Hi Guys.

Ok, I admit, most of my experience is on Solaris, but hey, I'd never
expect such a command to fail on FreeBSD:

# df -k
Filesystem  1K-blocksUsedAvail Capacity  Mounted on
/dev/ad0s1a   2064302   74140  1825018 4%/
/dev/ad0s1f   9247246 1895878  661159022%/usr
/dev/ad0s1e  15483630  380750 13864190 3%/var
procfs  4   40   100%/proc
#
# dd if=/dev/ad01sa of=/dev/ad2s1a bs=4096k
dd: /dev/ad01sa: No such file or directory
#

What am I doing wrong? Feel like in the newbies time  :/

Regs



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


PLS ignore - dd problem

2003-02-22 Thread Luca Pizzinato
it's if=/dev/ad0s1a  and NOT /dev/ad01sa

:/

PS: Thanks Miguel


 Hi Guys.

 Ok, I admit, most of my experience is on Solaris, but hey, I'd never
 expect such a command to fail on FreeBSD:

 # df -k
 Filesystem  1K-blocksUsedAvail Capacity  Mounted on
 /dev/ad0s1a   2064302   74140  1825018 4%/
 /dev/ad0s1f   9247246 1895878  661159022%/usr
 /dev/ad0s1e  15483630  380750 13864190 3%/var
 procfs  4   40   100%/proc
 #
 # dd if=/dev/ad01sa of=/dev/ad2s1a bs=4096k
 dd: /dev/ad01sa: No such file or directory
 #

 What am I doing wrong? Feel like in the newbies time  :/

 Regs



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


SUMMARY: processes swap allocation

2003-02-20 Thread Luca Pizzinato
Hi again.
I recently asked:

| Hi All.
|
| Anyone of you out there knows a simple way to calculate
| the swap space allocated by each process?
|
| I've got a 450 here, running an oracle database, that
| for some reason is eating up little by little all available
| swap space, until it crashes.
| I'm currently trying to track down the responsible process(es).
|
| Any help is highly appreciated.
|
| Regs


Ok, most of the people pointed me to
-  top
-  output of ps command with various options like
  ps -efly   or
  ps -e -o user,pid,vsz | sort -n
-  get into more per-process detail with the tools under /usr/proc/bin,
typically pmem -x or the like.

Unfortunately I already used all of them, the problem is that there must
be some proces that wakes up, eat up the memory and quits leaving the
memory allocated. Quite tricky to track down I guess.

I'll post a follow up eventually.

Regs









To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



gbde and encryption of filesystems

2003-02-20 Thread Luca Pizzinato
Hi FreeBSD Gurus,

Anyone out there who's using this new FreeBSD 5.0 filesystem encryption
feature, gbde?
If yes, may I ask to drop few lines with an example about hot to
create/mount/umount an encrypted fs? The examples in the man don't work
for me...

Thanks  Regards



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message