Re: Secure file transfers

2005-02-10 Thread Gregor Mosheh

I had a similar, perhaps related question. I'm making
backups via tar to a SMB server, but I would rather
use sftp/scp for it (the NAS supports both SMB and
scp/sftp).

I don't have enough disk space to make the backup to a
tarchive and then scp that tarchive. Is there a way to
make scp/sftp read from a pipe or stdin, rather than
specific filenames? The docs haven't mentioned it, but
since the subject came up I thought it worth asking...


--- Anthony Atkielski [EMAIL PROTECTED]
wrote:

 Danie Du Toit writes:
 
  Which packages are available to upload /download
 large dumpfiles in a
  secure fashion (e.g. using SSL). The customer
 should not need any
  secure client installed on his PC.
 
 Anything that is secure will require appropriate
 software at both ends
 of the transfer, and thus will require some sort of
 security-aware
 client on the customer's PC.
 
 SFTP provides secure file transfers.  I use SecureFX
 on my client
 machine, and the standard SFTP server on the FreeBSD
 server.
 
 -- 
 Anthony
 
 
 ___
 freebsd-questions@freebsd.org mailing list

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




__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


umass stability 5.3 versus 4.10

2005-02-02 Thread Gregor Mosheh
I've written to the list several times in regards to
my USB external hard drive. In summary: Under 4.10 it
worked fine for 5 months and then mysteriously it quit
working.

The documentation I found for ehci+umass (albeit
3-year-old docs) implied that ehci was not completely
stable, and its omission until 4.10 (and my own
experience with it) makes me believe that.

My question, though, is: Is ehci+umass considered
production quality under 5.3?




__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


4.10, USB hard drive, weird problems

2005-02-01 Thread Gregor Mosheh
I have a problem with my external USB 2.0 hard drive.
This drive had been working for several months, and
then it quit. By quit I mean that the device can be
detected, but will not be assigned to a device node
and therefore cannot be used.


This is FreeBSD 4.10. I cvsup'd the source today and
found no changes since I built this kernel.

The kernel has uhci, ehci, and ohci drivers. The dmesg
output inidicates that our hardware uses UHCI ports,
finds 4 of them, and attaches EHCI to them:

uhci0: Intel 82801EB (ICH5) USB controller USB-A
port 0xff80-0xff9f irq 11 at device 29.0 on pci0
usb0: Intel 82801EB (ICH5) USB controller USB-A on
uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801EB (ICH5) USB controller USB-B
port 0xff60-0xff7f irq 10 at device 29.1 on pci0
usb1: Intel 82801EB (ICH5) USB controller USB-B on
uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub1: 2 ports with 2 removable, self powered
ukbd0: Logitech Logitech USB Keyboard, rev 1.10/15.00,
addr 2, iclass 3/1
kbd1 at ukbd0
uhid0: Logitech Logitech USB Keyboard, rev 1.10/15.00,
addr 2, iclass 3/0
uhci2: Intel 82801EB (ICH5) USB controller USB-C
port 0xff40-0xff5f irq 9 at device 29.2 on pci0
usb2: Intel 82801EB (ICH5) USB controller USB-C on
uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801EB (ICH5) USB controller USB-D
port 0xff20-0xff3f irq 11 at device 29.3 on pci0
usb3: Intel 82801EB (ICH5) USB controller USB-D on
uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: EHCI (generic) USB 2.0 controller mem
0xffa80800-0xffa80bff irq 5 at device 29.7 on pci0
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
ehci_pci_attach: companion usb3
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1
usb2 usb3
usb4: EHCI (generic) USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: (0x8086) EHCI root hub, class 9/0, rev
2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered



When I plug in the drive, dmesg shows the following:

umass0: Cypress Semiconductor USB2.0 Storage Device,
rev 2.00/0.01, addr 2
umass0: Get Max Lun not supported (STALLED)

Eventually, this appears:

umass0: BBB reset failed, TIMEOUT

It does not show the usual da0: line which would
indicate that the device has been attached and made
ready.


usbdevs -d -v shows exactly what I expect:
(snip)
Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root
hub(0x), (0x8086)(0x), rev 1.00
  uhub4
(snip)

Those BBB timeout lines keep appearing any time I do a
USB operation, e.g. running usbdevs



Any ideas on how I can continue troubleshooting this?





__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


4.10, USB hard drive, weird problems

2005-01-28 Thread Gregor Mosheh
I have a problem with my external USB 2.0 hard drive.
This drive had been working for several months, and
then it quit. By quit I mean that the device can be
detected, but will not be assigned to a device node
and therefore cannot be used.


This is FreeBSD 4.10. I cvsup'd the source today and
found no changes since I built this kernel.

The kernel has uhci, ehci, and ohci drivers. The dmesg
output inidicates that our hardware uses UHCI ports,
finds 4 of them, and attaches EHCI to them:

uhci0: Intel 82801EB (ICH5) USB controller USB-A
port 0xff80-0xff9f irq 11 at device 29.0 on pci0
usb0: Intel 82801EB (ICH5) USB controller USB-A on
uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801EB (ICH5) USB controller USB-B
port 0xff60-0xff7f irq 10 at device 29.1 on pci0
usb1: Intel 82801EB (ICH5) USB controller USB-B on
uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub1: 2 ports with 2 removable, self powered
ukbd0: Logitech Logitech USB Keyboard, rev 1.10/15.00,
addr 2, iclass 3/1
kbd1 at ukbd0
uhid0: Logitech Logitech USB Keyboard, rev 1.10/15.00,
addr 2, iclass 3/0
uhci2: Intel 82801EB (ICH5) USB controller USB-C
port 0xff40-0xff5f irq 9 at device 29.2 on pci0
usb2: Intel 82801EB (ICH5) USB controller USB-C on
uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801EB (ICH5) USB controller USB-D
port 0xff20-0xff3f irq 11 at device 29.3 on pci0
usb3: Intel 82801EB (ICH5) USB controller USB-D on
uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: EHCI (generic) USB 2.0 controller mem
0xffa80800-0xffa80bff irq 5 at device 29.7 on pci0
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
ehci_pci_attach: companion usb3
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1
usb2 usb3
usb4: EHCI (generic) USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: (0x8086) EHCI root hub, class 9/0, rev
2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered



When I plug in the drive, dmesg shows the following:

umass0: Cypress Semiconductor USB2.0 Storage Device,
rev 2.00/0.01, addr 2
umass0: Get Max Lun not supported (STALLED)

Eventually, this appears:

umass0: BBB reset failed, TIMEOUT

It does not show the usual da0: line which would
indicate that the device has been attached and made
ready.


usbdevs -d -v shows exactly what I expect:
(snip)
Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root
hub(0x), (0x8086)(0x), rev 1.00
  uhub4
(snip)

Those BBB timeout lines keep appearing any time I do a
USB operation, e.g. running usbdevs



Any ideas on how I can continue troubleshooting this?




__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/local/etc/rc.d vs /etc/rc.conf question

2005-01-20 Thread Gregor Mosheh

  On my 4.10 box, there is a mysql-server script in
 /usr/local/etc/rc.d 
  and nothing
  in /etc/rc.conf, yet mysql-server starts up a
 boot time. 
  Why?   

(the following is true for 4.x)

Check the /etc/defaults/rc.conf file
You'll see in there that the default setting for
local_startup is /usr/local/etc/rc.d
/usr/X11R6/etc/rc.d

So (as someone else pointed out) if you don't want
MySQL to start up, and its script is in one of those
default directories, then you'll need to disable that
script somehow. Either rename it to not have a .sh
extension, or chmod it so it's not executable.




__ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Web Email

2005-01-16 Thread Gregor Mosheh
This same thread came up only a week or two ago. Check
the archive for early January to see it all.




--- [EMAIL PROTECTED] wrote:

 Hi,
 
 I'd like to have access to my spool via web browser.
  What kind of
 applications can I use?
 ___
 freebsd-questions@freebsd.org mailing list

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


server replication?

2005-01-14 Thread Gregor Mosheh
After looking into the matter a bit more, my employer
has decided that we don't need a true zero-downtime
situation, that simply a warm spare server would be
sufficient.

Does anyone know of any packages, or have any scripts
or other references, for doing this sort of thing? I
guess the basic components would be: a network backup
(scp as root?), and a script to ping the real server
and change the rc.conf over to a second copy and
reboot with the new one if the pings fail. I could
write these myself, but I'm guessing someone wiser
than myself has already done it...


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Memory Question

2005-01-13 Thread Gregor Mosheh
 Is there something I can do in order to optimize -
 which in this case 
 paradoxically would seem to mean reduce the amount
 of free memory?

The simple answer is: Use it! Exactly how depends on
what you're running. Basically, check the docs for all
the stuff your server is running and see what you can
do to throw more memory at it. A lot of software has
docs about performance tuning, and its memory usage
(and performance) can usually be cranked up.

If you're using a database server, check the DB's
config file (postgresql.conf or my.cnf) and allocate a
bunch of memory to buffers. If you're running Apache,
you can increase the spare servers; if your Apache
runs Perl CGI programs, you could consider using
mod_perl.




__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


server replication?

2005-01-12 Thread Gregor Mosheh
My employer is looking for solutions to achieve
zero-downtime in the event of a hardware failure. I've
been doing sysadmin for some time, but this is out of
my league, and I wanted to ask the list for any
advice, hints, etc.

For starters, how does such a solution work
conceptually? The possibility of load-balancing
appliances has been suggested; how does this work with
user databases and uploaded files? Our services are
primarily web-based and do involve a significant
amount of users uploading files, and database
(postgres) work.




__ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


EHCI without UHCI?

2005-01-08 Thread Gregor Mosheh
Under 4.10, if I want USB2 but don't need USB1, can
the ehci driver be used in the kernel without the uhci
driver? What are uhci's dependencies?

On a similar note, if I commented out some kernel
option that was required by another kernel option,
would the build process fail, or would it build a
broken kernel?

The reason I ask: I hafta run usbd with -f /dev/usb4
because my USB external harddrive insists on being
detected on usb4 instead of usb0-3. The dmesg
indicates that usb0-3 are uhci and usb4 is ehci, and
it'd be nice to force then all ehci, since they are
all USB2 ports.




__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Webmail Frontend to mailboxes.

2005-01-06 Thread Gregor Mosheh
Three companies I know of use Squirrel: my work, my
friend's colo, and the last ISP where I worked.
They're all very fond of it, as am I. It does require
IMAP, but so does IMP.

At my friend's colo he also tried IMP but decided
against it because installation was more complicated
than Squirrel. I wasn't part of that project, so I
can't say what his issues were.


--- Rene C. Mendoza
[EMAIL PROTECTED] wrote:

 I'm in the process of looking for a webmail frontend
 to my Postfix mail 
 server setup installed on FreeBSD 5.3.  I use
 cyrus-imap as well.  What 
 would you recommend?  I've heard of Squirrel Mail
 and IMP, but I don't 
 know what to choose.




__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


4.10 USB problems

2005-01-05 Thread Gregor Mosheh
I've been using 4.10 and the EHCI driver, for an
external hard drive, for several months and just
recently a USB-related problem has started.

When the drive is plugged in it is properly recognized
by umass, etc. However, attempting to mount the drive
results in /kernel: umass0: BBB reset failed,
TIMEOUT being logged to dmesg, and mount:
/dev/da0s1e: Device not configured


Someone suggested that perhaps the problem is having
both ehci and uhci in the kernel. This seemed
unlikely, since they've both been there all along and
it worked. But I was wondering about the need for both
the UHCI driver and the EHCI driver.

(see dmesg output below) On my system, the startup
shows usb0 through usb3 as being uhci, and usb4 as
uhci. I think it also shows usb0-3 being grabbed be
EHCI, am I reading that right? Still, I have had to
run usbd with -f /dev/usb4 for it to notice the hard
drives when they're attached.

FWIW, The usbd.conf is the standard-issue one.

Is it possible that some USB ports are being grabbed
by UHCI and some are being grabbed by EHCI? Would
rebuilding the kernel without UHCI cause all of the
ports to be EHCI? The ports and harddrives are all
USB2 anyway, so USB1 compatibility is not necessary.


uhci0: Intel 82801EB (ICH5) USB controller USB-A
port 0xff80-0xff9f irq 11 at device 29.0 on pci0
usb0: Intel 82801EB (ICH5) USB controller USB-A on
uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801EB (ICH5) USB controller USB-B
port 0xff60-0xff7f irq 10 at device 29.1 on pci0
usb1: Intel 82801EB (ICH5) USB controller USB-B on
uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801EB (ICH5) USB controller USB-C
port 0xff40-0xff5f irq 9 at device 29.2 on pci0
usb2: Intel 82801EB (ICH5) USB controller USB-C on
uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801EB (ICH5) USB controller USB-D
port 0xff20-0xff3f irq 11 at device 29.3 on pci0
usb3: Intel 82801EB (ICH5) USB controller USB-D on
uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: EHCI (generic) USB 2.0 controller mem
0xffa80800-0xffa80bff irq 5 at device 29.7 on pci0
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
ehci_pci_attach: companion usb3
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1
usb2 usb3
usb4: EHCI (generic) USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: (0x8086) EHCI root hub, class 9/0, rev
2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered




__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 

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


Re: 4.8 - / out of space

2005-01-03 Thread Gregor Mosheh
--- David Kelly [EMAIL PROTECTED] wrote:

 Another goof is for root to write to an unmounted
 filesystem. Later 
 when the filesystem is mounted the written files are
 hidden yet still 
 consume space on the fs containing the mount point
 (usually /).


Could you explain how this happens (or point me to a
doc)? Do you mean something like tar cvf
/dev/ad0s1a?

Does that cause fs corruption? Would fsck reclaim that
space?




__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


4.10, USB problems

2005-01-02 Thread Gregor Mosheh
For several months I've been using an external USB
hard drive, under 4.10 and the EHCI driver. It's
worked perfectly for months.

As of a month ago, when I swapped the drive for
another one, the drive has not worked properly. A few
days ago, my employer went on-site (the server is
colocated) to swap the drive. The new drive had the
same problem, and rebooting the server did not correct
the problem.

It was also reported that the last time he unplugged
the drive (the fs on the drive was not mounted) the
system crashed; he has since not plugged in the drive.

Now the details...

dmesg shows that it found a mass storage device and
properly identifies it, and usbdevs also reports the
drive; however, attempting to mount the drive causes
mount: /dev/da0s1e: Device not configured and the
message umass0: BBB reset failed, TIMEOUT appears in
the dmesg.

The external drive uses device usb4, since usb0
through usb3 are reported as USB1.

It was suggested that having both the USB1 (uhci) and
USB2 (ehci) driver may be causing confusion in the
kernel. I find this unlikely, though, since it's been
working for months.

Any thoughts or troubleshooting tips?





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


smbfs module + securelevel

2005-01-02 Thread Gregor Mosheh
I am trying to mount a SMB share in the usual fashion:
mount -t smbfs //[EMAIL PROTECTED]/share /mnt

And in response I get this:
smbfs: vfsload(smbfs): Operation not permitted

I am running at securelevel 1, so it would make sense
if that were why I'm not allowed to load the module.
My question is: How do I have this module loaded
during the boot process, before the securelevel is
set? Is there a rc.conf variable to set? Or is
mentioning this smbfs share in the fstab sufficient?




__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: smbfs module + securelevel

2005-01-02 Thread Gregor Mosheh
Viel danke, Stefan!


--- Stefan Bethke [EMAIL PROTECTED] wrote:

 Am 02.01.2005 um 20:04 schrieb Gregor Mosheh:
 
  I am trying to mount a SMB share in the usual
 fashion:
  mount -t smbfs //[EMAIL PROTECTED]/share /mnt
 
  And in response I get this:
  smbfs: vfsload(smbfs): Operation not permitted
 
  I am running at securelevel 1, so it would make
 sense
  if that were why I'm not allowed to load the
 module.
  My question is: How do I have this module loaded
  during the boot process, before the securelevel is
  set? Is there a rc.conf variable to set? Or is
  mentioning this smbfs share in the fstab
 sufficient?
 
 To make sure a module is loaded, add a line to
 /boot/loader.conf:
 
  smbfs_load=YES
 
 I believe that you also might need to load
 libiconf.ko, if it isn't 
 pulled in automatically when loading smbfs:
 
  libiconf_load=YES
 
 
 HTH,
 Stefan
 
 -- 
 Stefan Bethke [EMAIL PROTECTED]   Fon +49 170 346
 0140
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


4.10, USB driver problems

2005-01-01 Thread Gregor Mosheh
For several months I've been using an external USB
hard drive, under 4.10 and the EHCI driver. It's
worked perfectly for months.

As of a month ago, when I swapped the drive for
another one, the drive has not worked properly. A few
days ago, my employer went on-site (the server is
colocated) to swap the drive. The new drive had the
same problem, and rebooting the server did not correct
the problem.

It was also reported that the last time he unplugged
the drive (the fs on the drive was not mounted) the
system crashed; he has since not plugged in the drive.

Now the details...

dmesg shows that it found a mass storage device and
properly identifies it, and usbdevs also reports the
drive; however, attempting to mount the drive causes
mount: /dev/da0s1e: Device not configured and the
message umass0: BBB reset failed, TIMEOUT appears in
the dmesg.

The external drive uses device usb4, since usb0
through usb3 are reported as USB1.

It was suggested that having both the USB1 (uhci) and
USB2 (ehci) driver may be causing confusion in the
kernel. I find this unlikely, though, since it's been
working for months.

Any thoughts or troubleshooting tips?





__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


4.10, USB driver problems

2004-12-29 Thread Gregor Mosheh
For several months I've been using an external USB
hard drive, under 4.10 and the EHCI driver. It's
worked perfectly for months.

As of a month ago, when I swapped the drive for
another one, the drive has not worked properly. A few
days ago, my employer went on-site (the server is
colocated) to swap the drive. The new drive had the
same problem, and rebooting the server did not correct
the problem.

It was also reported that the last time he unplugged
the drive (the fs on the drive was not mounted) the
system crashed; he has since not plugged in the drive.

Now the details...

dmesg shows that it found a mass storage device and
properly identifies it, and usbdevs also reports the
drive; however, attempting to mount the drive causes
mount: /dev/da0s1e: Device not configured and the
message umass0: BBB reset failed, TIMEOUT appears in
the dmesg.

The external drive uses device usb4, since usb0
through usb3 are reported as USB1.

It was suggested that having both the USB1 (uhci) and
USB2 (ehci) driver may be causing confusion in the
kernel. I find this unlikely, though, since it's been
working for months.

Any thoughts or troubleshooting tips?


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cannot find libs in /usr//local/lib

2004-12-16 Thread Gregor Mosheh
Try using the LDFLAGS environment variable to specify
-L options, e.g.:
LDFLAGS=-L/usr/local/lib make

FYI, a similiar trick can be done for missing include
files with CFLAGS:
CFLAGS=-I/usr/local/include make




__ 
Do you Yahoo!? 
Jazz up your holiday email with celebrity designs. Learn more. 
http://celebrity.mail.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ATAng for BSD 4.10?

2004-10-21 Thread Gregor Mosheh
Are there any plans for backporting the ATAng code to
FreeBSD 4.10? I'd really like SMART monitoring, but
not enough to make the jump to 5 yet.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


please educate me on memory usage

2004-09-24 Thread Gregor Mosheh
I was looking at my top output and was surprised to
see that the bulk of my 512 MB of memory was in use,
since the server really has fairly little running.
It's not a problem, but I was wanting some
clarification on where this memory was being used, for
my own education.

The original goal was that I had figured that a lot of
memory would be unused since so little is running, and
perhaps I could allocate some more to Postgres.
Apparently nowt, but I don't quite understand all the
intricacies of what *is* using my memory.

35 processes:  1 running, 34 sleeping
CPU states:  0.0% user,  0.0% nice,  0.0% system, 
0.0% interrupt,  100% idle
Mem: 158M Active, 207M Inact, 80M Wired, 20M Cache,
60M Buf, 33M Free
Swap: 2000M Total, 6848K Used, 1994M Free

So, 158 MB of memory in use. Does that include
anything other than process' memory, e.g. shared
memory, kernel memory, some of the fs buffer? If I add
up the VSZ column from 'ps aux' I get 110 MB.

The server's only processes of interest are MySQL,
Postgres, and Apache httpd. There are cron, sendmail,
etc. but these are all 1M usage according to both top
and ps.

MySQL has VSZ 38 MB and RSS 4 MB.

Postgres (incl stats collectors) has VSZ 25 MB and RSS
1 MB. There's also the shared memory: ipcs agrees
with my postgresql.conf settings: 2 MB of shared
memory buffers.

Apache 1.3 has 15 processes, each using 3.6 MB VSZ and
1.5 MB RSS. I was of the impression that the bulk of
this memory was shared with the parent process, no?

So where's the rest of the memory going?

The 80M Wired is interesting, since I don't know where
it's going. I presume that PG's 2 MB of shared buffers
are wired (though I saw an email today that implied
otherwise), but how could I track down the rest of it?





__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]