The FreeBSD Diary: 2003-09-07 - 2003-09-27

2003-09-28 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives  
and/or The FreeBSD Diary . 


-- 
Dan Langille - DVL Software Limited
The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples
FreshPorts- http://www.FreshPorts.org/   - the place for ports
FreshSource   - http://www.FreshSource.org/  - the place for source

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


Re: MBR problem

2003-09-28 Thread Vitalis
On Sun, 2003-09-28 at 04:17, Dan Strick wrote:
> On Sat, 27 Sep 2003, [EMAIL PROTECTED] wrote:
> > There are 2 partitions on my hard drive, one for FreeBSD and the other
> > one for XP. I had to reinstall Windows and of course it blew the MBR up.
> > I've reinstalled FreeBSD's boot manager with:
> > boot0cfg -B ad0
> >
> > Now when I boot, the manager lists the 2 OS, but when I choose to boot
> > FreeBSD, nothing happens.
> >
> > Any idea?
> >
> > #FreeBSD 5.1-CURRENT
> >
> > bash-2.05b# fdisk ad0
> > *** Working on device /dev/ad0 ***
> > parameters extracted from in-core disklabel are:
> > cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)
> >
> > Figures below won't work with BIOS for partitions not in cyl 1
> > parameters to be used for BIOS calculations are:
> > cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)
> >
> > Media sector size is 512
> > Warning: BIOS sector numbering starts with sector 1
> > Information from DOS bootblock is:
> > The data for partition 1 is:
> > sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
> > start 63, size 117210177 (57231 Meg), flag 0
> > beg: cyl 0/ head 1/ sector 1;
> > end: cyl 1023/ head 254/ sector 63
> > The data for partition 2 is:
> > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> > start 117210240, size 117226305 (57239 Meg), flag 80 (active)
> > beg: cyl 1023/ head 0/ sector 1;
> > end: cyl 1023/ head 254/ sector 63
> 
> I don't see any smoking guns.  I know the basic concept, booting via
> an MBR installed with boot0cfg on a FreeBSD 5.1 system with XP in the
> first slice works, works.  I did it just a couple of days ago.
> 
> I do see a potential problem.  The boot0 MBR will by default use the
> legacy CHS int-13 BIOS services, even if the "extended" services are
> available.  (At least this is how I read the source code.  This is
> contrary to at least some of the boot0/boot0cfg documentation.)
> 
> Your XP slice is just a teensy bit larger than 1024*255*63 sectors long,
> pushing the bootstrap program in your FreeBSD slice just beyond the point
> at which it could be successfully loaded with a legacy int-13 disk read.
> 
> If possible, do "boot0cfg -v ad0" and see if the "packet" option is set.
> If not, see if setting it with "boot0cfg -v -o packet ad0" fixes your
> problem.  I expect that you are using a modern motherboard whose BIOS
> implements the modern "EDDS" int-13 disk functions, perhaps the Asus
> P4P800 you just mentioned in a previous posting to freebsd-questions.
> 
> Caveat: I have not yet tried the boot0cfg packet option and don't
> know for sure that it works.  I also wonder how the boot0 program worked
> for you before you installed XP.  I gather that it did and that suggests
> your problem is something else.  Still, it is worth a try.
> 
> Dan Strick
> [EMAIL PROTECTED]
> 

Hi Dan!

You were right, it works now with the 'packet' option.
Thanks a lot!

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


Re: [Fwd: Support for default passive ftp mode in fetch]

2003-09-28 Thread Matthew Seaman
On Sun, Sep 28, 2003 at 09:47:07AM +0300, Jukka A. Ukkonen wrote:

> To be really efficient I tried to send the following message to "core-team"
> which obviously failed. So, here is the same minor change proposal sent
> to freebsd-questions. I hope some of the people who can take appropriate
> action are on this list.

That's not efficiency, that's bothering 3 extremely busy people with
something that is very unlikely to be anything close to their
particular interests within the FreeBSD sources.  Please don't do that.

The approved method of putting forward such enhancements is to file a
problem report using send-pr(1), and maybe a follow up e-mail to one
of the FreeBSD mailing lists.  If you have problems getting your
system to send e-mail via send-pr(1), then feel free to ask here or
search the archives of this mailing list (http://freebsd.rambler.ru/
is probably the best place).

In any case, fetch(1) already obeys the FTP_PASSIVE_MODE environment
variable.  See in the fetch(1) man page where it says:

 All environment variables mentioned in the documentation for the fetch(3)
 library are supported.

Then look at fetch(3) [ie. type 'man 3 fetch' as just saying 'man
fetch' will get you the fetch(1) man page again] and you'll see:

ENVIRONMENT
 FETCH_BIND_ADDRESS  Specifies a hostname or IP address to which sockets
 used for outgoing connections will be bound.

 FTP_LOGIN   Default FTP login if none was provided in the URL.

 FTP_PASSIVE_MODEIf set to anything but `no', forces the FTP code to
 use passive mode.

FreeBSD is like that: whenever you think of a really neat little
enhancement, it always pays to double check, as chances are it already
works that way...

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: [Fwd: Support for default passive ftp mode in fetch]

2003-09-28 Thread Matthew Seaman
On Sun, Sep 28, 2003 at 09:52:19AM +0100, Matthew Seaman wrote:

> That's not efficiency, that's bothering 3 extremely busy people with
> something that is very unlikely to be anything close to their
> particular interests within the FreeBSD sources.  Please don't do that.

Uh -- make that 9 people.
(http://www.freebsd.org/doc/en/articles/contributors/staff-core.html).
But my point still stands.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


VNC & ssh tunneling problem: getsockopt TCP_NODELAY error

2003-09-28 Thread aaaaa
Dear,

I met the same problem and manage to solve it (thanks for your help) by replacing 
Connection/SSH/Tunnels/Destination/localhost:59XX by 
Connection/SSH/Tunnels/Destination/127.0.0.1:59XX.

regards,

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


how to get system information

2003-09-28 Thread Per olof Ljungmark
Hi all,

I am wondering how to find out system hardware information from a 
running system, I know for instance pciconf(8) but what are the 
corresponding ones for memory, cpu etc?

Many thanks,

Per olof

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


Re: how to get system information

2003-09-28 Thread Micheal Patterson


- Original Message - 
From: "Per olof Ljungmark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 28, 2003 5:36 AM
Subject: how to get system information


> Hi all,
>
> I am wondering how to find out system hardware information from a
> running system, I know for instance pciconf(8) but what are the
> corresponding ones for memory, cpu etc?
>
> Many thanks,
>
> Per olof
>

more /var/run/dmesg.boot  to get the info at boot time.
vmstat 5 5 will give you 5 items 5 sconds apart to show you procs, memory,
page, disks, faults and cpu info.

--

Micheal Patterson
Network Administration
Cancer Care Network

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


Re: how to get system information

2003-09-28 Thread Per olof Ljungmark
I am wondering how to find out system hardware information from a
running system, I know for instance pciconf(8) but what are the
corresponding ones for memory, cpu etc?


more /var/run/dmesg.boot  to get the info at boot time.
vmstat 5 5 will give you 5 items 5 sconds apart to show you procs, memory,
page, disks, faults and cpu info.
Thanks, that was a good start. Now, if I wanted to see more detailed 
info on the processor than the dmesg.boot output:

Origin = "GenuineIntel"  Id = 0x673  Stepping = 3

Like cache size etc.?

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


FreeBSD 4.8-P10 --Mouse doesn't move in the console or XFree86--

2003-09-28 Thread nw1
Neither mouse will work in the console or in XFree86.

Gigabyte GA-6BXDS = main board
BIOS= AWARD (2A69KG01) ver. 4.51PG

In the PCI/ISA section of the BIOS, a USB setting of: "Assign IRQ For USB: Enabled" (is
set)
There is also a "USB Keyboard Support" setting within the BIOS's  "INTERGRATED
PEROPHERALS" section; I have tried this setting to both "Enabled and Disabled".

There aren't any other USB settings in this BIOS.

We are using these devices that are known working devices.
Mouse-1 is: Logitech | model: M-BD58 | optical corded wheel
Mouse-2 is: Logitech | model: M-RM67A | Optical cordless wheel

Our Kernel:
# USB support
device  uhci# UHCI PCI->USB interface
device  usb # USB Bus (required)
device  ums # Mouse
pseudo-device   ether   # Ethernet support

Our /etc/rc.conf:
# grep -i mouse /etc/rc.conf
moused_enable="YES"
moused_port="/dev/ums0"
# grep -i usb /etc/rc.conf
usbd_enable="YES"

Our /dev:
ls -l /dev | grep -i ums
crw-rw   1 root   operator  111,   0 Sep 27 13:16 ums0

dmesg reports:
# dmesg | grep -i usb
uhci0:  port 0xa000-0xa01f irq 10 at device 
7.2
on pci0
usb0:  on uhci0
usb0: USB revision 1.0
ums0: Logitech USB Mouse, rev 1.10/6.10, addr 2, iclass 3/1

Upon booting into the OS, using the above BIOS, and other settings --with either of the
above devices; the mouse is seen on screen, but it refuse to respond while moving the
hand-held device.  Should we unplug one mouse (from either usb port) to test the other
mouse, we receive the following on-screen message(s), respectively of the motherboards 
USB
port we were using:

uhub0: device problem, disabling port 2
uhub0: device problem, disabling port 1

When we plug the devices back in to either of the motherboards mouse ports, there's no
indication at all, from the OS, that a USB device was attached.

Reminder: these devices are in perfect working order.


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


R: Free BSD

2003-09-28 Thread Prashant Boricha
Hello,

I would like to know more about FreeBSD, I m very much interested in it. But 
from what I infer it does'nt seem to be used at home. I would like to use it 
at home for connecting to the net, watching movies, playing songs, doing 
work in Office software.

Please tell me if I can do so using BSD.

Looking forward to your reply.

Prashant

Disclaimer:

1. The contents of this email and its attachments are confidential and 
privileged. Any unauthorised use, or passing on, of the information to 
others who are not authorised is expressly prohibited. If you receive this 
email in error, please advise us and then delete the email with any 
attachments.

2. Before opening or using attachments, check them for viruses and defects. 
The contents of this email and its attachments may become scrambled, 
truncated or altered in transmission. Please advise us of any anomalies.

_
Share your photos without swamping your Inbox.  Get Hotmail Extra Storage 
today! http://join.msn.com/?PAGE=features/es

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


Re: Free BSD

2003-09-28 Thread Andreas Kohn
On Sun, 2003-09-28 at 14:16, Prashant Boricha wrote:
> Hello,
> 
> I would like to know more about FreeBSD, I m very much interested in it. But 
> from what I infer it does'nt seem to be used at home. I would like to use it 
> at home for connecting to the net, watching movies, playing songs, doing 
> work in Office software.
> 
> Please tell me if I can do so using BSD.
Hi,

you can do everything you named with FreeBSD.
Internet: Many browsers like FireBird, Mozilla, Konqueror 
Watching movies: mplayer, xine
Playing songs: XMMS
Office: AbiWord, OpenOffice, KOffice, ...

These and more programs are available through the FreeBSD ports
collection, which is installed during the setup.

More information can be found in the handbook 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
for example sections 15 and 16.

Regards, 
-- 
Andreas Kohn <[EMAIL PROTECTED]>

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


Re: Newbie need help on configuring mouse and X windows

2003-09-28 Thread Alex de Kruijff
On Sat, Sep 13, 2003 at 12:51:10PM -0400, Lowell Gilbert wrote:
> "Lei Luo" <[EMAIL PROTECTED]> writes:
> 
> > I am new to FreeBSD and just trying to learning something. I installed
> > FreeBSD without X system on my computer and it works fine. But when I
> > tried to configure mouse and X windows, I had big problem.

I think that it would be more robused to install the mouse for you
console first with /stand/sysinstall. If this worked you could move to
getting your mouse work under X.

> > As instructed in the handbook, I configured the type and port of the
> > mouse (PS2, so I used the default). But after I enabled it, I would be
> > in one of two situations.

What have done (exactly; aka commands given out) so far?

> What were you using for this configuration? xf86cfg?
> 
> > If I skipped this step and tried to configure X windows directly, of
> > course, the system warned me that I hadn't configured the mouse and
> > asked me to go back to configure it.
> > 
> > My computer is a Gateway 2000 desktop with 200 Intel Pentium II
> > processor. Very old so I used to run Linux on it.
> 
> Maybe the same X configuration will work.
> 
> > P.S., I didn't see the kernel configuration menu. Is it removed from
> > FreeBSD 5.x?

Consider using 4.x as a newbie. You have enove to lean as it is.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cvsup + portupgrade Now no Gnome login

2003-09-28 Thread stan
On Sat, Sep 27, 2003 at 10:48:44PM -0500, Frank Knobbe wrote:
> On Sat, 2003-09-27 at 14:17, stan wrote:
> > I cvsup'd today (main and ports), then did a portupgrade -aRR, and now I
> > can't get loged intot a session using gdm.
> > 
> > I've rebooted the machine, and blown awa ~/.g[cn]* in my user home
> > directory. Still no luck. I tried the "Gnome failsafe" session, still no
> > luck. Looks like it doesn't even _try_ to start Gnome, and I get a console
> > message about 
> > 
> >  gdm_slave_session_start: Execution of PostLogin script returned > 0. Aborting.
> 
> 
> Heh... same thing happened to me. Here is what you need to do:
> 
> cd into /usr/X11R6/etc/gdm. There you find your gdm.conf. After the
> cvsup, you have (or have a newer version of) factory-gdm.conf. A
> comparison showed wha'ts missing. Go ahead and edit gdm.conf. Search for
> "PostSessionScriptDir". You should see a path assigned to it. You should
> also see a definition of "PreSessionScriptDir". What you don't see is
> "PostLoginScriptDir". Go ahead and add to that section following line:
>  
>   PostLoginScriptDir=/usr/X11R6/etc/gdm/PostLogin/
> 
> Then restart gdm ("/usr/X11R6/etc/rc.d/gdm.sh stop" and 
> "/usr/X11R6/etc/rc.d/gdm.sh start") and you should be good to go.
> 
> Hope this helps,

Indeed it did!


Thanks for the help on this.

BTW, out of curoisity, Did I need to delete the ~/.g[nc]*
filles/directories? If I had  not would they have been auto upgraded?

Looking foward to playing with Gnome 2.4, hope it's a step back twoard 1.4
from 2.2, which I loathe.


-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Ethernet Drivers with 5.1 not happening

2003-09-28 Thread Anthony Carmody
Hiya,

I posted a question about this last week. I have done a little homework and
I am resubmitting my question with more information and i hope someone can
help this time around.

I am building a FreeBSD 5.1 box for a client using a fairly new ASUS
Mainboard, that SHOULD according to the HARDWARE.TXT file on my installer
CDROM, work with all the hardware chip-sets concerned. precisely, an "Intel
82562EZ LAN PHY".

These are the relevant lines i get from "pciconf -lv" :

[EMAIL PROTECTED]:8:0: class=0x202 card=0x80f81043 chip=0x10508086 rev=0x02
hdr=0x00
vendor = 'Intel Corporation'
class = network
subclass = ethernet

AND this is what i get from "dmesg | more" :

pci1:  on pcib1
pci1:  at device 8.0 (no driver attached)

is there a way i might just install some drivers without reinstalling the
whole system? I think someone has made some recently, although i am not
familiar with the procedure of obtaining and installing them. I have
experience installing from ISO images and adding the odd port but not much
beyond that. Here is the link to the mailing.freebsd.cvs-current thread im
not sure about:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&th=c2cc18e7fd2e3621&rnum=
1

any info is greatly appreciated always.

Regards,

Carmoda
[EMAIL PROTECTED]











Regards,
Anthony John Carmody
Anthony Carmody Consulting Pty Ltd
Business Computing Solutions
M: 0 414 417 457
I: +61 414 417 457
F: 07 38708040
[EMAIL PROTECTED] 
http://www.faqs.org/rfcs/rfc1855.html

01100011011101110010011011010110011001000111


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


RE: My jail can not ssh..

2003-09-28 Thread maillist bsd
Hi all,
 
What will be the possible problem..
 
As i make the jail environment with jail script.
jail.sh file
 
D=/home/jail/192.168.1.1   
cd /usr/src
mkdir -p $D
make world DESTDIR=$D
cd etc
make distribution DESTDIR=$D -DNO_MAKEDEV_RUN
cd $D/dev
sh MAKEDEV jail
cd $D
ln -sf dev/null kernel
 
#mkdir -p /home/192.168.1.1/stand
#cp /stand/sysinstall /home/192.168.1.1/stand
# jail /home/jail/192.168.1.1 web 192.168.1.1 /bin/sh
#touch /etc/fstab
#vi rc.conf
sendmail_enable="NONE"
sshd_enable="YES"
inetd_enable="YES"
inetd_flags="-wW -a 192.168.1.1"
syslogd_enable="YES"
syslogd_flags="-ss" 
portmap_enable="NO"
 
#vi /etc/resolv.conf
nameserver 1.2.3.4
 
#passwd root
#pw useradd kinux -g wheel -d /home/kinux -s /bin/csh -m
#/stand/sysinstall -->config -->timezone and configure it is HKT.
#
 
# jail /home/jail/192.168.1.1 web 192.168.1.1 /bin/sh /etc/rc
Skipping disk checks ...
adjkerntz[38464]: sysctl(put_wallclock): Operation not permitted
Doing initial network setup:.
ifconfig: ioctl (SIOCDIFADDR): permission denied
lo0: flags=8049 mtu 16384
Additional routing options: TCP keepalive=YESsysctl: net.inet.tcp.always_keepalive: 
Operation not
 permitted
.
Routing daemons:.
Additional daemons: syslogd.
Doing additional network setup:.
Starting final network daemons: creating ssh1 RSA host key
Generating public/private rsa1 key pair.
Your identification has been saved in /etc/ssh/ssh_host_key.
Your public key has been saved in /etc/ssh/ssh_host_key.pub.
The key fingerprint is:
a4:91:9a:b7:92:fe:8b:34:fa:6d:d7:42:a6:d5:77:57 [EMAIL PROTECTED]
 creating ssh2 RSA host key
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
e2:26:5b:c8:f8:ee:c0:06:12:30:5e:fb:d0:f6:c2:05 [EMAIL PROTECTED]
 creating ssh2 DSA host key
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
ee:b8:65:eb:e0:6f:0f:6d:dd:e9:3c:52:e0:d4:5d:d6 [EMAIL PROTECTED]
.
ELF ldconfig path: /usr/lib /usr/lib/compat
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Starting standard daemons: inetd cron sshd.
Initial rc.i386 initialization:.
Additional ABI support:.
Local package initialization:.
Additional TCP options:.
Sun Sep 28 21:00:24 HKT 2003
# ssh -l kinux 192.168.1.1
The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established.
DSA key fingerprint is ee:b8:65:eb:e0:6f:0f:6d:dd:e9:3c:52:e0:d4:5d:d6.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.1' (DSA) to the list of known hosts.
Connection closed by 192.168.1.1

%ps -aux | grep J
kinux  38557  0.0  0.4  1064  540  p1  S+9:14PM   0:00.00 grep J
root38498  0.0  0.5   948  632  ??  IsJ   9:00PM   0:00.01 /usr/sbin/syslog
root38508  0.0  0.5  1044  672  ??  IsJ   9:00PM   0:00.00 /usr/sbin/inetd
root38510  0.0  0.6  1024  776  ??  IsJ   9:00PM   0:00.01 /usr/sbin/cron
root38512  0.0  1.6  2592 2016  ??  IsJ   9:00PM   0:00.37 /usr/sbin/sshd

Thanks


Yonatan Bokovza <[EMAIL PROTECTED]> wrote:
> -Original Message-
> From: Pat Lashley [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 16, 2003 11:18
> To: [EMAIL PROTECTED]; maillist bsd
> Cc: [EMAIL PROTECTED]
> Subject: Re: My jail can not ssh..
> 
> 
> --On Tuesday, September 16, 2003 09:07:15 +0100 Matthew Seaman 
> wrote:
> 
> > On Tue, Sep 16, 2003 at 04:16:31AM +0800, maillist bsd wrote:
> >
> >> I am just testing jail on my FreeBSD4.8-stable box, i 
> found i can not
> >> ssh to the jail environment, but i can telnet to jail 
> environment, the
> >> sshd is running both inside and outside jail. What's the problem.
> >
> > I suspect that your problem is that the sshd(8) in your 
> host and jail
> > environments are both binding to IN_ADDR_ANY. That means 
> both daemons
> > are fighting over the loopback interface (at least).
> 
> Another subtle thing that can cause problem is if the jailed SSH
> can't do DNS resolution. Telnet in and run your favorite DNS
> query app (host, dnsip, dig, nslookup, etc.). If it fails, check
> resolv.conf in the jail; and check the access controls on your
> name server

And yet another problem is that ssh needs /dev/[u]random.
Try mounting devfs in the jail's /dev and see if it works for you.
The error message is something along the line of "PRNG not
initialized".
「向左走 向右走」趣怪 VoiceMail 歡迎詞
http://voicemail.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sophos on freebsd

2003-09-28 Thread Martin Schweizer

I run Sophos also as a cron job. It also updates the ide's and the software 
over scripts.

Am Wed, Sep 17, 2003 at 09:26:03AM -0400 synrat schrieb:
> Has anyone setup virus scanning for e-mail and/or files shared via Samba ?
> I'm wondering if I need to buy sophos antivirus only, or both antivirus
> and "mail monitor" from sophos. Suggestions, feedback and links are
> appreciated.

-- 

Regards

Martin Schweizer
<[EMAIL PROTECTED]>

PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgp0.pgp
Description: PGP signature


Sendmail redirect problem

2003-09-28 Thread Alex Zivenko
Hi people.
I have some problem here. I need a mail account on the another server, which runs on 
freebsd. I have a mail account, for example [EMAIL PROTECTED] I need a mail account 
like
[EMAIL PROTECTED] But the  acces is restricted to prevent security vulnerabilities. 
The mail server is closed for ip addresses not from their subnets. So I decided not to 
login there, but when the mail will come to [EMAIL PROTECTED] t will automatically 
redirects to [EMAIL PROTECTED]
How can I do that? What I need to do in Sendmail?
-
Best regards,
Alex Zivenko
ICQ# 298887381
e-mail: [EMAIL PROTECTED]
http://www.netgen.com.ua
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can FreeBSD run dos

2003-09-28 Thread Paul Everlund
On Sat, 27 Sep 2003, Jud wrote:

> On Sat, 27 Sep 2003 09:51:50 -0500, fred <[EMAIL PROTECTED]> wrote:
>
> > I am new to different OS's .
> > Can this Os run Wordperfect 5.1 for dos???
>
> It might be possible with Wine, but you would need a FAT partition, so
> that would definitely be the long way round - you might as well install
> Win9x in the FAT partition and run WordPerfect on DOS directly.  FreeBSD
> has several good free word processing programs of its own that you may
> want to look at - see http://www.freebsd.org/ports/editors.html>.
>
> Jud

There's also doscmd(1), but I doubt that it will be able to run
WordPerfect.

I recommend Jud's suggestion, to look at the FreeBSD ports.

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


Sendmail: Do I need it running?

2003-09-28 Thread Ekrem
Hi people,

I'm using FreeBSD on my standalone desktop PC. I use dialup for the
internet and use Evolution as the email client, but the following 2
processes always running;

sendmail: accepting connections (sendmail)
sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail)

Do they need to be running for things like daily/weekly cron jobs that
send emails to root, or for any other purpose?

Thanks.



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


Update to earlier post (corrections)

2003-09-28 Thread nw1
There were errors in an earlier post with a subject: FreeBSD 4.8-P10 --Mouse doesn't 
move
in the console or XFree86--

The udated particulars are posted at: 69.3.136.141/freebsd/usb_mouse.txt

Cheese

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


Re: Update to earlier post (corrections)

2003-09-28 Thread Kent Stewart
On Sunday 28 September 2003 08:22 am, nw1 wrote:
> There were errors in an earlier post with a subject: FreeBSD 4.8-P10
> --Mouse doesn't move in the console or XFree86--
>
> The udated particulars are posted at:
> 69.3.136.141/freebsd/usb_mouse.txt

BTW, if you had added http://69.. we could click and browse your text 
file.

>

I was always under the impression that you enabled moused or usbd but 
not both. 

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


gtk-font-name (default) for gtk-2.0

2003-09-28 Thread Dick Hoogendijk
Does anybody know where the default "gtk-font-name" for FreeBSD-4.8 is
defined?

Programs like gaim use it and I like to experiment w/ some other fonts.
I cannot find the default file however. Anybody?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Update to earlier post (corrections)

2003-09-28 Thread nw1
It will work with both moused and usbd specified in /etc/rc.conf.

There is one thing i forgot to mention on that page:  This install was created using
another motherboard.  The hdd's were transfered to this gigabyte motherboard.  We have
also tried doing a fresh install with the gigabyte board and enabling the same entries 
as
posted on http://69.3.136.141/freebsd/usb_mouse.txt.  In doing so the mouse works, 
which
proves both usbd and moused can be enabled.

My issue is it doesn't work at all now and I really can't do a fresh install.  
Recently i
tried rm /dev/ums0 and recreating it, that still hasn't worked.

- Original Message - 
From: "Kent Stewart" <[EMAIL PROTECTED]>
To: "nw1" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, September 28, 2003 11:33 AM
Subject: Re: Update to earlier post (corrections)


> On Sunday 28 September 2003 08:22 am, nw1 wrote:
> > There were errors in an earlier post with a subject: FreeBSD 4.8-P10
> > --Mouse doesn't move in the console or XFree86--
> >
> > The udated particulars are posted at:
> > 69.3.136.141/freebsd/usb_mouse.txt
>
> BTW, if you had added http://69.. we could click and browse your text
> file.
>
> >
>
> I was always under the impression that you enabled moused or usbd but
> not both.
>
> Kent
>
> -- 
> Kent Stewart
> Richland, WA
>
> http://users.owt.com/kstewart/index.html
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

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


Re: Sendmail: Do I need it running?

2003-09-28 Thread Rus Foster
On Mon, 29 Sep 2003, Ekrem wrote:

> Hi people,
>
> I'm using FreeBSD on my standalone desktop PC. I use dialup for the
> internet and use Evolution as the email client, but the following 2
> processes always running;
>
> sendmail: accepting connections (sendmail)
> sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail)
>
> Do they need to be running for things like daily/weekly cron jobs that
> send emails to root, or for any other purpose?

No if you aren't using SMTP to receive email from outside your can disable
these by putting sendmail_enable="no" in /etc/rc.conf then just kill of
the processes

Rus
-- 
w: http://www.jvds.com  | Free Debian UNIX Shell Accounts
e: [EMAIL PROTECTED]| http://www.jvds.com/freeshells
t: +44 7919 373537  |
t: 1-888-327-6330   | email: [EMAIL PROTECTED]


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


Re: how to get system information

2003-09-28 Thread Mikko Työläjärvi
On Sun, 28 Sep 2003, Per olof Ljungmark wrote:

> >>
> >>I am wondering how to find out system hardware information from a
> >>running system, I know for instance pciconf(8) but what are the
> >>corresponding ones for memory, cpu etc?
> >>
> >
> >
> > more /var/run/dmesg.boot  to get the info at boot time.
> > vmstat 5 5 will give you 5 items 5 sconds apart to show you procs, memory,
> > page, disks, faults and cpu info.
> >
>
> Thanks, that was a good start. Now, if I wanted to see more detailed
> info on the processor than the dmesg.boot output:
>
> Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
>
> Like cache size etc.?

You should be able to get some cpu info with ports/sysutils/x86info.
Dunno about memory (its physical configuration, that is). USB devices
can be listed with "usbdevs", pci ones with "pciconf", ATA devices
with "atacontrol", SCSI ones with "camcontrol", XFree prints lots of
info on your graphics card into /var/run/XFree86.0.log. Also, some of
the values detected at boot end up as sysctls (usually under "hw").

I know of no simple way to get complete hardware information on a
silver platter, though.  Nor do I really care :-)

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


Re: Gaim

2003-09-28 Thread Nathan Kinkade
On Sun, Sep 28, 2003 at 01:43:11AM -0500, Bryan Cassidy wrote:
> Has anyone had problems connecting to Yahoo on Gaim for the last couple days?
> 
> Gaim v0.68

As soon as my Gaim client quit connecting to the Yahoo! Messenger
service I read up on the issue, promptly dumped the Yahoo! account
and went straight to jabber.org.  Problem is, it's not much use if none
of the people I know are using jabber.  Time will tell if I'm able to
convice friends, co-workers and family to quit using the proprietary
services and move to jabber.

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Problems with audio recording

2003-09-28 Thread Daniela
Probably a stupid question:

I need to record sound and it just won't work. I set the recording level to 
75:75 and the recording source to "Line" (I'm not sure this is correct), and 
I tried sox, cat /dev/dsp > file, aurecord and numerous graphical recording 
utilities. I don't get any error messages, I just get silence.

I have already searched the mailing list archives and documentation, but 
nothing helped.

Best regards,
Daniela

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


Re: Update to earlier post (corrections)

2003-09-28 Thread Kent Stewart
On Sunday 28 September 2003 08:52 am, nw1 wrote:
> It will work with both moused and usbd specified in /etc/rc.conf.
>
> There is one thing i forgot to mention on that page:  This install
> was created using another motherboard.  The hdd's were transfered to
> this gigabyte motherboard.  We have also tried doing a fresh install
> with the gigabyte board and enabling the same entries as posted on
> http://69.3.136.141/freebsd/usb_mouse.txt.  In doing so the mouse
> works, which proves both usbd and moused can be enabled.
>
> My issue is it doesn't work at all now and I really can't do a fresh
> install.  Recently i tried rm /dev/ums0 and recreating it, that still
> hasn't worked.

What do you have setup in XF86Config for the protocol and mouse.

Kent

>
> - Original Message -
> From: "Kent Stewart" <[EMAIL PROTECTED]>
> To: "nw1" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Sunday, September 28, 2003 11:33 AM
> Subject: Re: Update to earlier post (corrections)
>
> > On Sunday 28 September 2003 08:22 am, nw1 wrote:
> > > There were errors in an earlier post with a subject: FreeBSD
> > > 4.8-P10 --Mouse doesn't move in the console or XFree86--
> > >
> > > The udated particulars are posted at:
> > > 69.3.136.141/freebsd/usb_mouse.txt
> >
> > BTW, if you had added http://69.. we could click and browse your
> > text file.
> >
> >
> >
> > I was always under the impression that you enabled moused or usbd
> > but not both.
> >
> > Kent
> >
> > --
> > Kent Stewart
> > Richland, WA
> >
> > http://users.owt.com/kstewart/index.html
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: audio problem - /dev/dsp: op. not supported by device

2003-09-28 Thread Nathan Kinkade
On Sat, Sep 27, 2003 at 12:57:40AM -0400, Nick Holley wrote:
> Nathan Kinkade wrote:
> 
> >I recently upgraded my system from 4.8-STABLE to 5.1-RELEASE.  I haven't
> >had any problems except with XMMS.  Randomly XMMS will fail after it
> >finishes playing a song and before it has started the next - the error
> >dialog says "Couldn't open audio" in the title bar.  The message that
> >shows up on the console is:
> >
> >** WARNING **: oss_open(): Failed to open audio device (/dev/dsp):
> >Operation not supported by device
> >
> >If I repeatedly hit the play button it will eventually play the next
> >song.  Sometimes it will play 4 or 5 songs consecutively without a
> >problem, and other times the problem arises after each song.  I have
> >tried deinstalling XMMS and then recompiling, but still nothing.  I have
> >also tried `fstat | grep dsp', but nothing appears to be using the
> >/dev/dsp.  Does anyone have any ideas what might be wrong?
> >
> >Thanks,
> >Nathan
> > 
> >
> As bad as I feel for you, I am so glad someone else is having this 
> problems with 5.1. Every time I see a sound error (quite often), I want 
> to stomp the shit out of my computer.
> 
> Ok, frustration aside, I am getting the exact same error as you with 
> xmms at the same times (after the completion of a song). I don't know 
> what hardware you are running, but I have an Asus A7N8X with onboard 
> sound using the pcm sound driver. The sound problems also crop up with 
> mplayer, sometimes at the beginning of a movie, but also when I pause 
> and unpause. Snes9x has issues as well with the sound stopping and being 
> unable to restart as such:
> 
> GSnes9x-WARNING **: A error has ocurred when tried to resume Esound.
> 
> Note that the gui is just redisplaying the error the snes9x core gives.
> 
> I'm sure this is a bug in 5.1, but I haven't collected enough 
> information to approach a developer even if I knew who to approach. 
> Actually, I don't really have a method for collecting information 
> either; I was just hoping to send someone all the error messages I 
> receive and then do what they need to solve the problem.
> 
> This is a serious issue for me so if you need, I will be more than 
> willing to help out in any way I can.
> 
> Nick

Ok, it may be to soon to mark my problem as resolved, but after
deinstalling and recompiling XMMS and all of it's dependencies the
problem appears to be fixed.  Well, I have now played about 10 or 12
songs in a row without problem, which would have never been the case
before.  While I was at it I went ahead and totally rebuilt X also.  One
strange occurence was when I first launched XMMS after the rebuild
immediately the "Couldn't open audio" dialog popped up, but since that
one incident it hasn't happed again.  Keeping my fingers crossed ...

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: Port installation methods

2003-09-28 Thread Alex de Kruijff
On Sat, Sep 27, 2003 at 09:04:47PM -0400, Todd Stephens wrote:
> On Saturday 27 September 2003 07:43 pm, Alex de Kruijff wrote:
> >
> >  If you've just installed a fresh FreeBSD system then there isn't
> > much difference. I offten use the make method in this case. But I
> > switch to portinstall and portupgrade if I a) have updated /usr/ports
> > and b) have installed any port or package. The reason for this is
> > that portinstall and portupgrade have a better port management
> > system. This package/port detects for you changes. With out the
> > portupgrade package you will find that multiple version of the same
> > packages will be registered and only one is installed. (There is only
> > one installed because each override the other fysicaly in /usr/local
> > and /usr/X11R6 but not in the regerstry.)
> 
> I see.  I have already run into that (having 2 versions of a package 
> registered but only one installed).  I have recently started using 
> portinstall for installing ports.  I have been using portupgrade for a 
> while now.  It seems to me that portinstall (as you indicated) is 
> better at finding and fixing dependency issues as well.
> 

There port also include special tools to rebuild your regerstry. I have
this running by default after updating my cvs sources. The tool is
called portsdb (options -uU). I run portsclean (options -DLP) to remove
distfiles, libiaries and packages that are no longer needed.


-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Q: Compiles for wrong processor and it still worked

2003-09-28 Thread Alex de Kruijff
I have compiles my world sources for the PIII processors. I have
recently discoverd that i have a number of PII processors. The compiled
code for PIII still works on them. I'm ammazed. :o Can anybody explain why?

I include this in to /etc/make.conf

CPUTYPE=p3

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can FreeBSD run dos

2003-09-28 Thread christian serb
i've coincidentally found that:

Xdos is available at 1. sunsite.unc.edu /pub/Linux/Incoming (will probably be moved to 
/pub/Linux/ALPHA/dosemu ) 

source:
http://groups.google.de/groups?q=xdos&hl=de&lr=&ie=UTF-8&oe=UTF-
8&newwindow=1&selm=2ji219%24qkv%40klaava.Helsinki.FI&rnum=1


> On Sat, Sep 27, 2003 at 09:51:50AM -0500, fred wrote:
> > I am new to different OS's .
> > Can this Os run Wordperfect 5.1 for dos??? 
> 
> You can use vmware2 (version 3 works only for FreeBSD 5.x) to run a
> vertual machine. This way you could run your old programs.
> 
> -- 
> Alex
> 
> Articles based on solutions that I use:
> http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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


Re: FreeBSD 4.8-P10 --Mouse doesn't move in the console or XFree86--

2003-09-28 Thread Alex de Kruijff
On Sun, Sep 28, 2003 at 07:41:04AM -0400, nw1 wrote:
> Neither mouse will work in the console or in XFree86.
> 
> Gigabyte GA-6BXDS = main board
> BIOS= AWARD (2A69KG01) ver. 4.51PG
> 
> In the PCI/ISA section of the BIOS, a USB setting of: "Assign IRQ For USB: Enabled" 
> (is
> set)
> There is also a "USB Keyboard Support" setting within the BIOS's  "INTERGRATED
> PEROPHERALS" section; I have tried this setting to both "Enabled and Disabled".
> 
> There aren't any other USB settings in this BIOS.
> 
> We are using these devices that are known working devices.
> Mouse-1 is: Logitech | model: M-BD58 | optical corded wheel
> Mouse-2 is: Logitech | model: M-RM67A | Optical cordless wheel
> 
> Our Kernel:
> # USB support
> device  uhci# UHCI PCI->USB interface
> device  usb # USB Bus (required)
> device  ums # Mouse
> pseudo-device   ether   # Ethernet support
> 
> Our /etc/rc.conf:
> # grep -i mouse /etc/rc.conf
> moused_enable="YES"
> moused_port="/dev/ums0"
> # grep -i usb /etc/rc.conf
> usbd_enable="YES"
> 
> Our /dev:
> ls -l /dev | grep -i ums
> crw-rw   1 root   operator  111,   0 Sep 27 13:16 ums0
> 
> dmesg reports:
> # dmesg | grep -i usb
> uhci0:  port 0xa000-0xa01f irq 10 at device 
> 7.2
> on pci0
> usb0:  on uhci0
> usb0: USB revision 1.0
> ums0: Logitech USB Mouse, rev 1.10/6.10, addr 2, iclass 3/1
> 
> Upon booting into the OS, using the above BIOS, and other settings --with either of 
> the
> above devices; the mouse is seen on screen, but it refuse to respond while moving the
> hand-held device.  Should we unplug one mouse (from either usb port) to test the 
> other
> mouse, we receive the following on-screen message(s), respectively of the 
> motherboards USB
> port we were using:
> 
> uhub0: device problem, disabling port 2
> uhub0: device problem, disabling port 1
> 
> When we plug the devices back in to either of the motherboards mouse ports, there's 
> no
> indication at all, from the OS, that a USB device was attached.
> 
> Reminder: these devices are in perfect working order.

It seems to be in order. As i see it thare are two posibilties. 1) Your
mouse isn't supported or 2) There is a (new) bug in the system.

Did it work on previous version of FreeBSD?

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 4.8-P10 --Mouse doesn't move in the console or XFree86--

2003-09-28 Thread nw1
Alex: please see the update/corrections to this post at
http://69.3.136.141/freebsd/usb_mouse.txt

- Original Message - 
From: "Alex de Kruijff" <[EMAIL PROTECTED]>
To: "nw1" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, September 28, 2003 1:44 PM
Subject: Re: FreeBSD 4.8-P10 --Mouse doesn't move in the console or XFree86--


> On Sun, Sep 28, 2003 at 07:41:04AM -0400, nw1 wrote:
> > Neither mouse will work in the console or in XFree86.
> >
> > Gigabyte GA-6BXDS = main board
> > BIOS= AWARD (2A69KG01) ver. 4.51PG
> >
> > In the PCI/ISA section of the BIOS, a USB setting of: "Assign IRQ For USB: Enabled"
(is
> > set)
> > There is also a "USB Keyboard Support" setting within the BIOS's  "INTERGRATED
> > PEROPHERALS" section; I have tried this setting to both "Enabled and Disabled".
> >
> > There aren't any other USB settings in this BIOS.
> >
> > We are using these devices that are known working devices.
> > Mouse-1 is: Logitech | model: M-BD58 | optical corded wheel
> > Mouse-2 is: Logitech | model: M-RM67A | Optical cordless wheel
> >
> > Our Kernel:
> > # USB support
> > device  uhci# UHCI PCI->USB interface
> > device  usb # USB Bus (required)
> > device  ums # Mouse
> > pseudo-device   ether   # Ethernet support
> >
> > Our /etc/rc.conf:
> > # grep -i mouse /etc/rc.conf
> > moused_enable="YES"
> > moused_port="/dev/ums0"
> > # grep -i usb /etc/rc.conf
> > usbd_enable="YES"
> >
> > Our /dev:
> > ls -l /dev | grep -i ums
> > crw-rw   1 root   operator  111,   0 Sep 27 13:16 ums0
> >
> > dmesg reports:
> > # dmesg | grep -i usb
> > uhci0:  port 0xa000-0xa01f irq 10 at 
> > device
7.2
> > on pci0
> > usb0:  on uhci0
> > usb0: USB revision 1.0
> > ums0: Logitech USB Mouse, rev 1.10/6.10, addr 2, iclass 3/1
> >
> > Upon booting into the OS, using the above BIOS, and other settings --with either of
the
> > above devices; the mouse is seen on screen, but it refuse to respond while moving 
> > the
> > hand-held device.  Should we unplug one mouse (from either usb port) to test the 
> > other
> > mouse, we receive the following on-screen message(s), respectively of the 
> > motherboards
USB
> > port we were using:
> >
> > uhub0: device problem, disabling port 2
> > uhub0: device problem, disabling port 1
> >
> > When we plug the devices back in to either of the motherboards mouse ports, 
> > there's no
> > indication at all, from the OS, that a USB device was attached.
> >
> > Reminder: these devices are in perfect working order.
>
> It seems to be in order. As i see it thare are two posibilties. 1) Your
> mouse isn't supported or 2) There is a (new) bug in the system.
>
> Did it work on previous version of FreeBSD?
>
> -- 
> Alex
>
> Articles based on solutions that I use:
> http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

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


Re: Q: Compiles for wrong processor and it still worked

2003-09-28 Thread Erik Trulsson
On Sun, Sep 28, 2003 at 07:37:59PM +0200, Alex de Kruijff wrote:
> I have compiles my world sources for the PIII processors. I have
> recently discoverd that i have a number of PII processors. The compiled
> code for PIII still works on them. I'm ammazed. :o Can anybody explain why?

The reason why it worked is obviously that the compiler didn't generate
any PIII-only instructions in the code.

The only real difference between PII and PIII is that the PIII has
support for SSE, which most compilers don't use anyway, so it is not
very amazing that code compiled for a PIII worked on a PII.

If you are running -stable it is even less amazing since the compiler
included in 4.x is too old to know how to optimize for the PIII, so it
will generate identical code for all the processors based on the P6
micro-architecture (i.e the Pentium Pro, Pentium II and Pentium III) as
well as for the newer Pentium 4.


-- 

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


Re: Burn an ISO image

2003-09-28 Thread Olaf Hoyer
On Sat, 27 Sep 2003, Darryl Hoar wrote:

> Well,
> after the bug of the day drill, I'm replacing windows with Freebsd.
> I want to install the most recent stable version of 4.8.
>
> I downloaded the mini.iso (as per the instructions), but I am
> still on windows (with the Roxio burner software - yeah crap).
> How do I burn the iso image to CD such that I can boot up
> the install ?

Hi!

Roxio (i Think thats the adaptec supplied software) has IIRC the option
to burn "raw" CD images.

There shall be an option to specify that you want to burn a raw data
image, usually a .raw or whatever data type, simply fit in your .iso and
fire the program up.

HTH
Olaf


-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Q: Compiles for wrong processor and it still worked

2003-09-28 Thread Dan Nelson
In the last episode (Sep 28), Alex de Kruijff said:
> I have compiles my world sources for the PIII processors. I have
> recently discoverd that i have a number of PII processors. The compiled
> code for PIII still works on them. I'm ammazed. :o Can anybody explain why?
> 
> I include this in to /etc/make.conf

686, pII, p3, and p4 are all basically the same instruction set.  the
later versions add more MMX and SEE operations, and I don't believe gcc
generates code that uses them.  The different arch flags probably just
change the instruction timing tables.

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


Re: audio problem - /dev/dsp: op. not supported by device

2003-09-28 Thread Nathan Kinkade


> Ok, it may be to soon to mark my problem as resolved, but after
> deinstalling and recompiling XMMS and all of it's dependencies the
> problem appears to be fixed.  Well, I have now played about 10 or 12
> songs in a row without problem, which would have never been the case
> before.  While I was at it I went ahead and totally rebuilt X also.  One
> strange occurence was when I first launched XMMS after the rebuild
> immediately the "Couldn't open audio" dialog popped up, but since that
> one incident it hasn't happed again.  Keeping my fingers crossed ...
> 
> Nathan

Ok, I spoke too soon.  The problem still exists.

Thanks,
Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Problems Bootstrapping FreeBSD Java while Making OpenOffice

2003-09-28 Thread RexFelis
Hello all,

I am attempting to build OpenOffice from ports.
(Running FreeBSD 5.1-p5) So far I've been able to
figure out how to fix everything else that
stopped the build, but this just leaves me lost. 
I don't have a clue what this refers to.  The
script capture of the error message is:

---
Script started on Sun Sep 28 14:17:54 2003
primus# make WITH_BSD_JDK=TRUE install clean

===>   openoffice-1.0.3_2 depends on executable:
gcc32 - found
===>   openoffice-1.0.3_2 depends on file:
/usr/local/jdk1.3.1/bin/java - not found
===>Verifying install for
/usr/local/jdk1.3.1/bin/java in
/usr/ports/java/jdk13
===>  Building for jdk-1.3.1p8_2
# Start of jdk build
i386 Build started:  
1.3.1-p8-shannon-030928-14:18
ERROR: Your BOOTDIR environment variable does not
point
   to a valid Java 2 SDK for bootstrapping
this build.
   A Java 2 SDK 1.3.1 build must be
bootstrapped against any
   1.3 build. Please update your ALT_BOOTDIR
setting, or
   just unset it, and start your build again.

Exiting because of the above error(s).
gmake: *** [sanity] Error 1
*** Error code 2

Stop in /usr/ports/java/jdk13.
*** Error code 1

Stop in /usr/ports/editors/openoffice.
primus# exit

exit

Script done on Sun Sep 28 14:18:08 2003
---

I read in the archives that someone suggested
using 'make WITH_LINUX_BOOTSTRAP=yes install
clean', but would that work if I am already using
 'make WITH_BSD_JDK=TRUE install clean'?  Should
I use make WITH_BSD_JDK=TRUE
WITH_LINUX_BOOTSTRAP=yes install clean' or am I
missing something entirely?  Please help.  Thanks
in advance.

Very confused,
Shannon

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Installing Apache from ports

2003-09-28 Thread Damien Hull
I need Apache installed with php. I see mod_php or something in the
ports. I plan on jumping in and running make install. That should give
me Apache with php ready to go. 

What should I do if I need to add another something else to Apache? 

Can I just go back to the ports and select something?

NOTE
I'm running 4.9 which I got while upgrading to the stable 4.x branch. 



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


Re: Installing Apache from ports

2003-09-28 Thread Rus Foster
On Sun, 28 Sep 2003, Damien Hull wrote:

> I need Apache installed with php. I see mod_php or something in the
> ports. I plan on jumping in and running make install. That should give
> me Apache with php ready to go.
>
> What should I do if I need to add another something else to Apache?
>
> Can I just go back to the ports and select something?
>
> NOTE
> I'm running 4.9 which I got while upgrading to the stable 4.x branch.
>

If you install mod_php4 it will install Apache as a dependancy so you will
get everything installed

Rgds

Rus
-- 
w: http://www.jvds.com  | Virtual Dedicated Servers from $15/mo
e: [EMAIL PROTECTED]| Dontations made to Debian, FreeBSD
t: +44 7919 373537  | and Slackware
t: 1-888-327-6330   | email: [EMAIL PROTECTED]


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


multiple ISP, one default gw

2003-09-28 Thread Peter J. Blok
Hi,

I have two ISP, one gives my a dynamic IP and has the default route thru DHCP. 
The other has a fixed IP and obviously no default route.

I would like to place a webserver behind the fixed IP address, but it is not 
able to answer because there is no route defined to the webclient. The 
default route is somewhere else and the request on port 80 can come from 
anywhere.

On Solaris this works because it learns the route and creates a host route 
back. Can you do this on FreeBSD as well?

Peter


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


How to mount USB drive in FreeBSD 5.0?

2003-09-28 Thread Frank Lee
Hi all. My first FreeBSD post. :-)

I have a USB drive (Win95 formatted) that I'm trying to dd data off of.

- FreeBSD 5.0-Release
- USB 2.0/1.1 drive.
- laptop is 1.1

How do I mount this USB drive? I done it on 4.7 with MAKEDEV and all, but 
can't find any info on getting it to mount in 5.0 (no MAKEDEV and all).

Thank you,
Frank Lee

P.S. Normally, I've been able to find answers for all my FreeBSD questions 
documented or in mailling lists somewhere, but can't find info on this for 
some reason. If you could provide the syntax and/or link, it would be much 
appreciated.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Comparing buildworld times on twin machines

2003-09-28 Thread Charles Howse
Hi,
I have 2 machines on my home network with (almost) identical hardware.
They both have Celeron 300, same motherboards, same BIOS, same options
set in BIOS, etc.
Same make.conf, same kernel config.  
I kill [EMAIL PROTECTED] before starting on each machine.
The only difference is that curly has 128 MB ram where larry has only
64.

They *do not*, however have identical hard drives, even though each
machine has 2 drives, with /usr/obj on the second drive of each machine.

When I buildworld, I use the following command, and write the output to
'$blog'.

[portion of script omitted, entire script is attached as update1.sh]

\time -aho $$blog make buildworld

[snip]

Larry can buildworld in 1 hr 57 mins.
It takes curly 3 hrs 16 mins, even though curly has twice the ram.

If I watch the compile, with one eye on the disk activity light, it
seems to me that the process is largely CPU intensive, therefore I would
expect that the buildworld times should be roughly equal.

1) How can I determine what might be causing curly to take so long
compared to larry?

2) Since curly runs httpd, and vsftpd, is it acceptable to run the
entire build/install process in single-user mode in order to prevent
other processes from eating CPU cycles?



Thanks,
Charles

Got a computer with idle CPU time?
Join [EMAIL PROTECTED] and help make history!
http://setiathome.ssl.berkeley.edu/


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


Re: cvsup + portupgrade Now no Gnome login

2003-09-28 Thread Frank Knobbe
On Sun, 2003-09-28 at 08:05, stan wrote:
> BTW, out of curoisity, Did I need to delete the ~/.g[nc]*
> filles/directories? If I had  not would they have been auto upgraded?

Your Gnome config files? No. Not unless you want to start with default
settings :)

> Looking foward to playing with Gnome 2.4, hope it's a step back twoard 1.4
> from 2.2, which I loathe.

I'm not too thrilled with this upgrade. While it's nice to lock icons on
panels (I also appreciate various bug fixes), I'm a bit miffled since it
broke my pager. When I click in a workspace window in the pager, it
switches to that workspace, but moves all windows around kinda funky. :(

Oh well, still, I don't mind taking 3 steps forward and 1 back :)

Regards,
Frank



signature.asc
Description: This is a digitally signed message part


Re: How to mount USB drive in FreeBSD 5.0?

2003-09-28 Thread Andreas Kohn
On Mon, 2003-09-29 at 06:27, Frank Lee wrote:
> Hi all. My first FreeBSD post. :-)
> 
> I have a USB drive (Win95 formatted) that I'm trying to dd data off of.
> 
> - FreeBSD 5.0-Release
> - USB 2.0/1.1 drive.
> - laptop is 1.1
> 
> How do I mount this USB drive? I done it on 4.7 with MAKEDEV and all, but 
> can't find any info on getting it to mount in 5.0 (no MAKEDEV and all).
> 
> Thank you,
> Frank Lee
> 
Hello,

add umass (and scbus + da) to your kernel configuration (if not there
already), and it should be autodetected. Mounting should work like in
4.7. 

In FreeBSD 5, devfs makes MAKEDEV unneccessary.

If that still doesn't work, please post relevant messages to the list.

HTH, 
-- 
Andreas Kohn <[EMAIL PROTECTED]>


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


Slow network connection in -current

2003-09-28 Thread Kai Grossjohann
I've noticed a certain slowness in doing network connections with
-current.  Can't explain this.  While /usr/src/UPDATING does speak of
slowness that I need to expect, this smells of another problem.

I type "host mail.gmx.net" and it immediately comes back with an
answer.

I type "telnet mail.gmx.net pop3" and it takes many seconds before a
connection is established.  Once the connection is established,
I see the greeting from the remote server quickly enough.  I can't
explain why it takes such a long time to establish the connection.

I tried to investigate using "truss -f telnet mail.gmx.net pop3", but
that produces an error message:

[EMAIL PROTECTED] truss -f -d -o truss.out telnet mail.gmx.net pop3 
truss: get_struct 0x0: Bad address
[EMAIL PROTECTED] 

As you can see, I get a new prompt.  However, after some seconds
(sufficient for me to write this paragraph), I get more output which
shows the greeting from the remote server.  Hm.  Indeed, a telnet
process is running, says ps.  Hmmm...  Ah!  Here is the additional
output:

[EMAIL PROTECTED] truss -f -d -o truss.out telnet mail.gmx.net pop3 
truss: get_struct 0x0: Bad address
[EMAIL PROTECTED] psg telnet
kai   977  0.0  0.4  3500 2208  p0  S10:00PM   0:00.04 telnet mail.gmx.net pop3
[EMAIL PROTECTED] Trying 213.165.64.20...
Connected to mail.gmx.net.
Escape character is '^]'.
psg telnet+OK GMX POP3 StreamProxy ready <[EMAIL PROTECTED]>

Looks weird, doesn't it?  The "psg telnet" in the last line comes
from me hitting Ctrl-P in bash at just the time the output arrived.

In case you're interested in truss.out, I'm appending it to this
message.

Any ideas what might be wrong?

tia,
Kai

  977: 0.002124013 mmap(0x0,3480,0x3,0x1000,-1,0x0) = 671633408 (0x28085000)
  977: 0.003305728 munmap(0x28085000,0xd98)  = 0 (0x0)
  977: 0.004165334 __sysctl(0xbfbff5ac,0x2,0x28082e2c,0xbfbff5a8,0x0,0x0) = 0 (0x0)
  977: 0.005117410 mmap(0x0,32768,0x3,0x1002,-1,0x0) = 671633408 (0x28085000)
  977: 0.005854934 issetugid()   = 0 (0x0)
  977: 0.007448433 open("/etc/libmap.conf",0x0,0666) ERR#2 'No such file or directory'
  977: 0.008945830 open("/var/run/ld-elf.so.hints",0x0,00) = 4 (0x4)
  977: 0.009809347 read(0x4,0xbfbff644,0x80) = 128 (0x80)
  977: 0.010828471 lseek(4,0x80,0)   = 128 (0x80)
  977: 0.011622986 read(0x4,0x28089000,0x56) = 86 (0x56)
  977: 0.012491253 close(4)  = 0 (0x0)
  977: 0.013809576 access("/lib/libncurses.so.5",0) = 0 (0x0)
  977: 0.015083761 open("/lib/libncurses.so.5",0x0,027757773234) = 4 (0x4)
  977: 0.015894479 fstat(4,0xbfbff684)   = 0 (0x0)
  977: 0.016713577 read(0x4,0x28081d80,0x1000)   = 4096 (0x1000)
  977: 0.018038326 mmap(0x0,262144,0x5,0x20002,4,0x0) = 671666176 (0x2808d000)
  977: 0.018868041 mprotect(0x280c3000,0x1000,0x7) = 0 (0x0)
  977: 0.019754187 mprotect(0x280c3000,0x1000,0x5) = 0 (0x0)
  977: 0.020808790 mmap(0x280c4000,32768,0x3,0x12,4,0x37000) = 671891456 (0x280c4000)
  977: 0.021858924 mmap(0x280cc000,4096,0x3,0x1012,-1,0x0) = 671924224 (0x280cc000)
  977: 0.022688917 close(4)  = 0 (0x0)
  977: 0.023943825 access("/lib/libipsec.so.1",0) = 0 (0x0)
  977: 0.025212702 open("/lib/libipsec.so.1",0x0,027757773234) = 4 (0x4)
  977: 0.026015038 fstat(4,0xbfbff684)   = 0 (0x0)
  977: 0.026833578 read(0x4,0x28081d80,0x1000)   = 4096 (0x1000)
  977: 0.027847115 mmap(0x0,28672,0x5,0x20002,4,0x0) = 671928320 (0x280cd000)
  977: 0.028638277 mprotect(0x280d2000,0x1000,0x7) = 0 (0x0)
  977: 0.029568004 mprotect(0x280d2000,0x1000,0x5) = 0 (0x0)
  977: 0.030571204 mmap(0x280d3000,4096,0x3,0x12,4,0x5000) = 671952896 (0x280d3000)
  977: 0.031491153 close(4)  = 0 (0x0)
  977: 0.032812550 access("/lib/libmp.so.4",0)   ERR#2 'No such file or directory'
  977: 0.034070811 access("/usr/lib/libmp.so.4",0) = 0 (0x0)
  977: 0.035338011 open("/usr/lib/libmp.so.4",0x0,027757773234) = 4 (0x4)
  977: 0.036142303 fstat(4,0xbfbff684)   = 0 (0x0)
  977: 0.036962240 read(0x4,0x28081d80,0x1000)   = 4096 (0x1000)
  977: 0.037973821 mmap(0x0,16384,0x5,0x20002,4,0x0) = 671956992 (0x280d4000)
  977: 0.038798227 mprotect(0x280d6000,0x1000,0x7) = 0 (0x0)
  977: 0.039680183 mprotect(0x280d6000,0x1000,0x5) = 0 (0x0)
  977: 0.040688412 mmap(0x280d7000,4096,0x3,0x12,4,0x2000) = 671969280 (0x280d7000)
  977: 0.041609758 close(4)  = 0 (0x0)
  977: 0.042859079 access("/lib/libcrypto.so.3",0) = 0 (0x0)
  977: 0.044106444 open("/lib/libcrypto.so.3",0x0,027757773234) = 4 (0x4)
  977: 0.044904590 fstat(4,0xbfbff684)   = 0 (0x0)
  977: 0.045713911 read(0x4,0x28081d80,0x1000)   = 4096 (0x1000)
  977: 0.046692247 mmap(0x0,1110016,0x5,0x20002,4,0x0) = 671973376 (0x280d8000)
  977: 0.047481174 mprotect(0x281d,0x1000,0x7) = 0 (0x0)
  977: 0.048350559 mprotect(0x281d,0x1000,0x5) = 0 (0x0)
  977: 0.049602114 mmap(0x281d1000,81920,0x3,0x12,4,0xf8000) = 672993280 (0x281d1000)
  977: 0.050668172 mmap(0x281e5000,8192,0x3

Re: Comparing buildworld times on twin machines

2003-09-28 Thread Kent Stewart
On Sunday 28 September 2003 12:37 pm, Charles Howse wrote:
> Hi,
> I have 2 machines on my home network with (almost) identical
> hardware. They both have Celeron 300, same motherboards, same BIOS,
> same options set in BIOS, etc.
> Same make.conf, same kernel config.
> I kill [EMAIL PROTECTED] before starting on each machine.
> The only difference is that curly has 128 MB ram where larry has only
> 64.
>
> They *do not*, however have identical hard drives, even though each
> machine has 2 drives, with /usr/obj on the second drive of each
> machine.
>
> When I buildworld, I use the following command, and write the output
> to '$blog'.
>
> [portion of script omitted, entire script is attached as update1.sh]
>
> \time -aho $$blog make buildworld
>
> [snip]
>
> Larry can buildworld in 1 hr 57 mins.
> It takes curly 3 hrs 16 mins, even though curly has twice the ram.
>
> If I watch the compile, with one eye on the disk activity light, it
> seems to me that the process is largely CPU intensive, therefore I
> would expect that the buildworld times should be roughly equal.
>
> 1) How can I determine what might be causing curly to take so long
> compared to larry?
>
> 2) Since curly runs httpd, and vsftpd, is it acceptable to run the
> entire build/install process in single-user mode in order to prevent
> other processes from eating CPU cycles?
>
>

On my systems, which all run setiathome, I only see a few percent 
variation in buildworld time with seti running. I start setiathome with 
a -nice 19 so that it doesn't interfere.

You might be able to see some of the processes running using top. You 
could always stop apache.

My setup has /usr/src and /usr/obj on a 2nd and 3rd hd and I log 
everything to the 1st HD.. All of the HDs are on their own controller 
and they are ata-133's on the main system. A system with ata-66s is not 
50% slower.

I kind of wonder if you have cache turned on in the cpu. That much 
difference is pretty hard to come up with unless your 2 daemons are 
interfering. You might see that running top. Watch the swap to see if 
anything is happening.

FWIW, I had one system with everything identical but the mobos and one 
ran 15% slower than the other. I never did figure out what was causing 
the difference. It is my only 400MHz machine and only use it for some 
special programs.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: How to mount USB drive in FreeBSD 5.0?

2003-09-28 Thread Frank Lee
On Sunday 28 September 2003 19:46, Andreas Kohn wrote:
> On Mon, 2003-09-29 at 06:27, Frank Lee wrote:
> > Hi all. My first FreeBSD post. :-)
> >
> > I have a USB drive (Win95 formatted) that I'm trying to dd data off of.
> >
> > - FreeBSD 5.0-Release
> > - USB 2.0/1.1 drive.
> > - laptop is 1.1
> >
> > How do I mount this USB drive? I done it on 4.7 with MAKEDEV and all, but
> > can't find any info on getting it to mount in 5.0 (no MAKEDEV and all).
> >
> > Thank you,
> > Frank Lee
>
> Hello,
>
> add umass (and scbus + da) to your kernel configuration (if not there
> already), and it should be autodetected. Mounting should work like in
> 4.7.
>
> In FreeBSD 5, devfs makes MAKEDEV unneccessary.
>
> If that still doesn't work, please post relevant messages to the list.

Thank you for your quick reply!

- The kernel is generic. So umass, scbus, and da are already in there.
- "usbd" is running.
  # ps auxw | grep usbd
  root330  0.0  0.2  1144  680  ??  Ss3:40AM   0:00.01/usr/sbin/usbd
- I noticed that the "USB modules" section in /boot/loader.conf was set to 
"NO". So I copied that over to /boot and set them to "YES":
  usb_load="YES"  # USB subsystem
  udbp_load="YES" # USB double bulk pipe host 2 host cables
  ugen_load="YES" # USB generic device, if all else fails ...
  umass_load="YES"# Mass Storage Devices
- rebooted and got (from dmesg):

Preloaded elf kernel "/boot/kernel/kernel" at 0xc0689000.
Preloaded elf module "/boot/kernel/udbp.ko" at 0xc06890a8.
Preloaded elf module "/boot/kernel/ugen.ko" at 0xc0689154.
Preloaded elf module "/boot/kernel/umass.ko" at 0xc0689200.
Preloaded elf module "/boot/kernel/uscanner.ko" at 0xc06892ac.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc068935c.
link_elf: symbol ng_newtype undefined
KLD file udbp.ko - could not finalize loading
module_register: module uhub/ugen already exists!
Module uhub/ugen failed to register: 17
module_register: module uhub/umass already exists!
Module uhub/umass failed to register: 17
module_register: module uhub/uscanner already exists!
Module uhub/uscanner failed to register: 17
Timecounter "i8254"  frequency 1193182 Hz
 

So i guess I didn't need to set them to "YES"... :-\  And later in dmesg:

uhci0:  port 0xfce0-0xfcff irq 10 at 
de
vice 7.2 on pci0
usb0:  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


It may have detected that there's a drive...
# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x), rev 1.00
 port 1 powered
 port 2 powered
# usbdevs -d
addr 1: UHCI root hub, Intel
  uhub0
#

but if FreeBSD autodetected it, I, myself, am not detecting it. :( I guess I 
forgot I how did it in 4.7 :(

But how do I mount it? I've tried:

# mkdir /mnt/usb
# mount -t msdos /dev/usb /mnt/usb
msdosfs: /dev/usb: Block device required
# mount -t msdos /dev/usb0 /mnt/usb
msdosfs: /dev/usb0: Block device required
# mount -t msdos /dev/ad0s1a /mnt/usb
msdosfs: /dev/ad0s1a: Device busy
# mount -t msdos /dev/ad0s1b /mnt/usb
msdosfs: /dev/ad0s1b: Device busy
# mount -t msdos /dev/ad0s1c /mnt/usb
msdosfs: /dev/ad0s1c: Invalid argument
# mount_msdosfs /dev/ad0s1b /mnt/usb
mount_msdosfs: /dev/ad0s1b: Device busy
#

# cat /etc/fstab
# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0
#

Thanks for your help. The winning command itself would be nice :)

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


RE: Comparing buildworld times on twin machines

2003-09-28 Thread Charles Howse
> On Sunday 28 September 2003 12:37 pm, Charles Howse wrote:
> > Hi,
> > I have 2 machines on my home network with (almost) identical
> > hardware. They both have Celeron 300, same motherboards, same BIOS,
> > same options set in BIOS, etc.
> > Same make.conf, same kernel config.
> > I kill [EMAIL PROTECTED] before starting on each machine.
> > The only difference is that curly has 128 MB ram where 
> larry has only
> > 64.
> >
> > They *do not*, however have identical hard drives, even though each
> > machine has 2 drives, with /usr/obj on the second drive of each
> > machine.
> >
> > When I buildworld, I use the following command, and write the output
> > to '$blog'.
> >
> > [portion of script omitted, entire script is attached as update1.sh]
> >
> > \time -aho $$blog make buildworld
> >
> > [snip]
> >
> > Larry can buildworld in 1 hr 57 mins.
> > It takes curly 3 hrs 16 mins, even though curly has twice the ram.
> >
> > If I watch the compile, with one eye on the disk activity light, it
> > seems to me that the process is largely CPU intensive, therefore I
> > would expect that the buildworld times should be roughly equal.
> >
> > 1) How can I determine what might be causing curly to take so long
> > compared to larry?
> >
> > 2) Since curly runs httpd, and vsftpd, is it acceptable to run the
> > entire build/install process in single-user mode in order to prevent
> > other processes from eating CPU cycles?
> >
> >
> 
> On my systems, which all run setiathome, I only see a few percent 
> variation in buildworld time with seti running. I start 
> setiathome with 
> a -nice 19 so that it doesn't interfere.

Me, too.

> You might be able to see some of the processes running using top. You 
> could always stop apache.

True, I could do that, but what is your opinion on running the entire
build/install process from single-user mode? (my original question)

> I kind of wonder if you have cache turned on in the cpu. That much 
> difference is pretty hard to come up with unless your 2 daemons are 
> interfering. You might see that running top. Watch the swap to see if 
> anything is happening.

Oh, gz, technical stuff!  ;-)  I'm a real dumbass in the BIOS.  I
just select "Load High Performance Settings" on each machine, and then
change the boot order to my liking.
I did notice that 'internal cache' is set to 'write-back'.
Am I on the right track?  
*Exactly* how do I watch the swap...in top?



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


Re: Sendmail redirect problem

2003-09-28 Thread Matthew Seaman
On Sun, Sep 28, 2003 at 09:25:22AM +0300, Alex Zivenko wrote:

> I have some problem here. I need a mail account on the another server, which runs on 
> freebsd. I have a mail account, for example [EMAIL PROTECTED] I need a mail account 
> like
> [EMAIL PROTECTED] But the  acces is restricted to prevent security vulnerabilities. 
> The mail server is closed for ip addresses not from their subnets. So I decided not 
> to login there, but when the mail will come to [EMAIL PROTECTED] t will 
> automatically redirects to [EMAIL PROTECTED]
> How can I do that? What I need to do in Sendmail?

Sounds like you need to read the aliases(5) man page.  If you haven't
got access to /etc/mail/aliases on the machine in question, then you
can probably just set up a .forward file in your home dir on that
machine (See forward(5)). That just overrides the local delivery
agent, instead forwarding the e-mail to the address in the .forward
file.  Don't set up two machines to forward to each other or they will
spend a lot of time playing ping-pong with your e-mail, which will
eventually be bounced back to sender as undeliverable.

Cheers,

Matthew

PS You can set up that sort of either-way forwarding using
procmail(1), but it relies on using formail(1) to insert special
headers so that you can avoid forarding loops.  See the procmailex(1)
man page for an example.

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Comparing buildworld times on twin machines

2003-09-28 Thread Kent Stewart
On Sunday 28 September 2003 01:28 pm, Charles Howse wrote:
> > On Sunday 28 September 2003 12:37 pm, Charles Howse wrote:
> > > Hi,
> > > I have 2 machines on my home network with (almost) identical
> > > hardware. They both have Celeron 300, same motherboards, same
> > > BIOS, same options set in BIOS, etc.
> > > Same make.conf, same kernel config.
> > > I kill [EMAIL PROTECTED] before starting on each machine.
> > > The only difference is that curly has 128 MB ram where
> >
> > larry has only
> >
> > > 64.
> > >
> > > They *do not*, however have identical hard drives, even though
> > > each machine has 2 drives, with /usr/obj on the second drive of
> > > each machine.
> > >
> > > When I buildworld, I use the following command, and write the
> > > output to '$blog'.
> > >
> > > [portion of script omitted, entire script is attached as
> > > update1.sh]
> > >
> > > \time -aho $$blog make buildworld
> > >
> > > [snip]
> > >
> > > Larry can buildworld in 1 hr 57 mins.
> > > It takes curly 3 hrs 16 mins, even though curly has twice the
> > > ram.
> > >
> > > If I watch the compile, with one eye on the disk activity light,
> > > it seems to me that the process is largely CPU intensive,
> > > therefore I would expect that the buildworld times should be
> > > roughly equal.
> > >
> > > 1) How can I determine what might be causing curly to take so
> > > long compared to larry?
> > >
> > > 2) Since curly runs httpd, and vsftpd, is it acceptable to run
> > > the entire build/install process in single-user mode in order to
> > > prevent other processes from eating CPU cycles?
> >
> > On my systems, which all run setiathome, I only see a few percent
> > variation in buildworld time with seti running. I start
> > setiathome with
> > a -nice 19 so that it doesn't interfere.
>
> Me, too.
>
> > You might be able to see some of the processes running using top.
> > You could always stop apache.
>
> True, I could do that, but what is your opinion on running the entire
> build/install process from single-user mode? (my original question)

That would work but I run my buildworlds from a consol in KDE and I 
don't see that much difference and running it with KDE stopped. Running 
it single user mode may be faster than shutting apache down. But then 
you won't know what caused it to begin with. 

I have scripts in /root/bin to start and stop it and start it. They are

# cat startapache
#! /bin/sh
/usr/local/sbin/apachectl start

# cat stopapache
#! /bin/sh
/usr/local/sbin/apachectl stop

>
> > I kind of wonder if you have cache turned on in the cpu. That much
> > difference is pretty hard to come up with unless your 2 daemons are
> > interfering. You might see that running top. Watch the swap to see
> > if anything is happening.
>
> Oh, gz, technical stuff!  ;-)  I'm a real dumbass in the BIOS.  I
> just select "Load High Performance Settings" on each machine, and
> then change the boot order to my liking.
> I did notice that 'internal cache' is set to 'write-back'.
> Am I on the right track?

I think that performance would turn things on. You may have a bad cache 
but that isn't what I would look at first. Not all Celerons have the 
same kind of cache. I gave a Celeron 433a, which had the on board 
cache, to some friends that needed a computer. I had swapped it out and 
all the needed to do was buy a montior.

Using PC-100 memory is about 15% faster than PC-66 memory. This was the 
difference in accumulated wu processing time for seti on 2xx wus with 
the different speed memory. Jumping up to PC-133 didn't change 
anything. That is like getting a cpu upgrade for just a few $s. A 128MB 
pc-100 sdimm runs around $35 at Best Buy and you know you can do better 
than that off of the Internet.

> *Exactly* how do I watch the swap...in top?
>

Watch top and see if something is forcing processes to swap by watching 
the swap line of information. 

You can also see if apache is accruing time while you do the build. It 
shows you the processes as they accrue time and which one is getting a 
lot of time is what you are looking for. You can't do this in single 
user mode because you only have the console.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: How to mount USB drive in FreeBSD 5.0?

2003-09-28 Thread Andreas Kohn
On Mon, 2003-09-29 at 07:26, Frank Lee wrote:
> On Sunday 28 September 2003 19:46, Andreas Kohn wrote:
> > On Mon, 2003-09-29 at 06:27, Frank Lee wrote:
> > > Hi all. My first FreeBSD post. :-)
> > >
> > > I have a USB drive (Win95 formatted) that I'm trying to dd data off of.
> > >
> > > - FreeBSD 5.0-Release
> > > - USB 2.0/1.1 drive.
> > > - laptop is 1.1
> > >
> > > How do I mount this USB drive? I done it on 4.7 with MAKEDEV and all, but
> > > can't find any info on getting it to mount in 5.0 (no MAKEDEV and all).
> > >
> > > Thank you,
> > > Frank Lee
> >
> > Hello,
> >
> > add umass (and scbus + da) to your kernel configuration (if not there
> > already), and it should be autodetected. Mounting should work like in
> > 4.7.
> >
> > In FreeBSD 5, devfs makes MAKEDEV unneccessary.
> >
> > If that still doesn't work, please post relevant messages to the list.
> 
> Thank you for your quick reply!
> 
> - The kernel is generic. So umass, scbus, and da are already in there.
> - "usbd" is running.
>   # ps auxw | grep usbd
>   root330  0.0  0.2  1144  680  ??  Ss3:40AM   0:00.01/usr/sbin/usbd
> - I noticed that the "USB modules" section in /boot/loader.conf was set to 
> "NO". So I copied that over to /boot and set them to "YES":
>   usb_load="YES"  # USB subsystem
>   udbp_load="YES" # USB double bulk pipe host 2 host cables
>   ugen_load="YES" # USB generic device, if all else fails ...
>   umass_load="YES"# Mass Storage Devices
> - rebooted and got (from dmesg):
> 
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0689000.
> Preloaded elf module "/boot/kernel/udbp.ko" at 0xc06890a8.
> Preloaded elf module "/boot/kernel/ugen.ko" at 0xc0689154.
> Preloaded elf module "/boot/kernel/umass.ko" at 0xc0689200.
> Preloaded elf module "/boot/kernel/uscanner.ko" at 0xc06892ac.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc068935c.
> link_elf: symbol ng_newtype undefined
> KLD file udbp.ko - could not finalize loading
> module_register: module uhub/ugen already exists!
> Module uhub/ugen failed to register: 17
> module_register: module uhub/umass already exists!
> Module uhub/umass failed to register: 17
> module_register: module uhub/uscanner already exists!
> Module uhub/uscanner failed to register: 17
> Timecounter "i8254"  frequency 1193182 Hz
>  
> 
> So i guess I didn't need to set them to "YES"... :-\ 
Setting those to "YES" instructs the loader to load the respectively
named modules. So this would only be necessary if you hadn't compiled
them into your kernel. (Which is the reason for those "already exists"
messages)

>  And later in dmesg:
> 
> uhci0:  port 0xfce0-0xfcff irq 10 at 
> de
> vice 7.2 on pci0
> usb0:  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
> 
> 
> It may have detected that there's a drive...
> # usbdevs -v
> Controller /dev/usb0:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
> Intel(0x), rev 1.00
>  port 1 powered
>  port 2 powered
> # usbdevs -d
> addr 1: UHCI root hub, Intel
>   uhub0
> #
> but if FreeBSD autodetected it, I, myself, am not detecting it. :( I guess I 
> forgot I how did it in 4.7 :(

It doesn't even look like your usb drive is plugged in? Even if umass
hadn't accepted it, ugen should have had attached (outputting some
messages)
> 
> But how do I mount it? I've tried:
> 
> # mkdir /mnt/usb
> # mount -t msdos /dev/usb /mnt/usb
> msdosfs: /dev/usb: Block device required
> # mount -t msdos /dev/usb0 /mnt/usb
> msdosfs: /dev/usb0: Block device required
> # mount -t msdos /dev/ad0s1a /mnt/usb
> msdosfs: /dev/ad0s1a: Device busy
> # mount -t msdos /dev/ad0s1b /mnt/usb
> msdosfs: /dev/ad0s1b: Device busy
> # mount -t msdos /dev/ad0s1c /mnt/usb
> msdosfs: /dev/ad0s1c: Invalid argument
> # mount_msdosfs /dev/ad0s1b /mnt/usb
> mount_msdosfs: /dev/ad0s1b: Device busy
> #
> 
[assuming that umass hat attached to the usb drive]
There should be a new device node daX[sY] in /dev, which you should
mount.
mount -t msdos /dev/da0* /mnt/usb

* Can't remember whether one needed to specify a slice

> Thanks for your help. The winning command itself would be nice :)
First thing before issueing a winning command is to have it detected =)

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

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


Re: How to mount USB drive in FreeBSD 5.0?

2003-09-28 Thread Frank Lee
On Sunday 28 September 2003 20:57, Andreas Kohn wrote:
> It doesn't even look like your usb drive is plugged in? Even if umass
> hadn't accepted it, ugen should have had attached (outputting some
> messages)

ughh. well, it helps to plug it *all the way* in. :-( It's new and I 
didn't want break it...

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

The system just halts there...

If I turn it (usb drive) off or unplug it, a bunch of other messages scroll up 
and it tells me that it's going to reboot...


> [assuming that umass hat attached to the usb drive]
> There should be a new device node daX[sY] in /dev, which you should
> mount.
> mount -t msdos /dev/da0* /mnt/usb
>
> * Can't remember whether one needed to specify a slice

Since it stops at the "umass0: Get Max Lun not supported (STALLED)" message, 
there's no /dev/da0* :

# ls -l /dev/d*
crw---  1 root  wheel  173,   0 Sep 29 05:41 /dev/devctl
#

Is there a way to have FreeBSD dumb it (usb drive) down to 1.1? The box says 
it (usb drive) supports 1.1 and 2.0). My laptop is only 1.1.

Thank you for the help!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Comparing buildworld times on twin machines

2003-09-28 Thread Charles Howse
> On Sunday 28 September 2003 01:28 pm, Charles Howse wrote:
> > > On Sunday 28 September 2003 12:37 pm, Charles Howse wrote:
> > > > Hi,
> > > > I have 2 machines on my home network with (almost) identical
> > > > hardware. They both have Celeron 300, same motherboards, same
> > > > BIOS, same options set in BIOS, etc.
> > > > Same make.conf, same kernel config.
> > > > I kill [EMAIL PROTECTED] before starting on each machine.
> > > > The only difference is that curly has 128 MB ram where
> > >
> > > larry has only
> > >
> > > > 64.
> > > >
> > > > They *do not*, however have identical hard drives, even though
> > > > each machine has 2 drives, with /usr/obj on the second drive of
> > > > each machine.
> > > >
> > > > When I buildworld, I use the following command, and write the
> > > > output to '$blog'.
> > > >
> > > > [portion of script omitted, entire script is attached as
> > > > update1.sh]
> > > >
> > > > \time -aho $$blog make buildworld
> > > >
> > > > [snip]
> > > >
> > > > Larry can buildworld in 1 hr 57 mins.
> > > > It takes curly 3 hrs 16 mins, even though curly has twice the
> > > > ram.
> > > >
> > > > If I watch the compile, with one eye on the disk activity light,
> > > > it seems to me that the process is largely CPU intensive,
> > > > therefore I would expect that the buildworld times should be
> > > > roughly equal.
> > > >
> > > > 1) How can I determine what might be causing curly to take so
> > > > long compared to larry?
> > > >
> > > > 2) Since curly runs httpd, and vsftpd, is it acceptable to run
> > > > the entire build/install process in single-user mode in order to
> > > > prevent other processes from eating CPU cycles?
> > >
> > > On my systems, which all run setiathome, I only see a few percent
> > > variation in buildworld time with seti running. I start
> > > setiathome with
> > > a -nice 19 so that it doesn't interfere.
> >
> > Me, too.
> >
> > > You might be able to see some of the processes running using top.
> > > You could always stop apache.
> >
> > True, I could do that, but what is your opinion on running 
> the entire
> > build/install process from single-user mode? (my original question)
> 
> That would work but I run my buildworlds from a consol in KDE and I 
> don't see that much difference and running it with KDE 
> stopped. Running 
> it single user mode may be faster than shutting apache down. But then 
> you won't know what caused it to begin with. 
> 
> I have scripts in /root/bin to start and stop it and start 
> it. They are
> 
> # cat startapache
> #! /bin/sh
> /usr/local/sbin/apachectl start
> 
> # cat stopapache
> #! /bin/sh
> /usr/local/sbin/apachectl stop
> 
> >
> > > I kind of wonder if you have cache turned on in the cpu. That much
> > > difference is pretty hard to come up with unless your 2 
> daemons are
> > > interfering. You might see that running top. Watch the swap to see
> > > if anything is happening.
> >
> > Oh, gz, technical stuff!  ;-)  I'm a real dumbass in 
> the BIOS.  I
> > just select "Load High Performance Settings" on each machine, and
> > then change the boot order to my liking.
> > I did notice that 'internal cache' is set to 'write-back'.
> > Am I on the right track?
> 
> I think that performance would turn things on. You may have a 
> bad cache 
> but that isn't what I would look at first. Not all Celerons have the 
> same kind of cache. I gave a Celeron 433a, which had the on board 
> cache, to some friends that needed a computer. I had swapped 
> it out and 
> all the needed to do was buy a montior.
> 
> Using PC-100 memory is about 15% faster than PC-66 memory. 
> This was the 
> difference in accumulated wu processing time for seti on 2xx wus with 
> the different speed memory. Jumping up to PC-133 didn't change 
> anything. That is like getting a cpu upgrade for just a few 
> $s. A 128MB 
> pc-100 sdimm runs around $35 at Best Buy and you know you can 
> do better 
> than that off of the Internet.
> 
> > *Exactly* how do I watch the swap...in top?
> >
> 
> Watch top and see if something is forcing processes to swap 
> by watching 
> the swap line of information. 
> 
> You can also see if apache is accruing time while you do the 
> build. It 
> shows you the processes as they accrue time and which one is 
> getting a 
> lot of time is what you are looking for. You can't do this in single 
> user mode because you only have the console.

Very good, thanks for your input!



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


Bad Super Block Count

2003-09-28 Thread Grant Peel
Hello all,

One of my Dell servers has rebooted itself twice in the past week. No panics
or anything showing in any log. No overheating noted in mbmon. I don't know
if the diskstuff below is related.

Dell called me and told me I had to do a PERC III ROM flash, so I went to
the POP and did that. At that time I ran an fsck. I am seeing what look to
be (I hope) none critical disk errors. I cant find anything specific in the
FreeBSD archives and was hoping some here might have some knowledge.

Here is the complete list from fsck, also I will post disklabel -r output at
the bottom.

As a side note, I could not get fsck to be interactive. Not even at the
console, but I was never in single user mode either...should it matter?

Dell 1400SC, 933Mhz, 512 MB, RAID5 PERC 3/DC.

BTW, I ran a consistency check before booting back into FReeBSD and
according to the PERC software the stripes etc are perfect.

-

enterprise# fsck
** /dev/amrd0s1a (NO WRITE)
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
3461 files, 111997 used, 384114 free (450 frags, 47958 blocks, 0.1%
fragmentation)
** /dev/amrd0s1d (NO WRITE)
** Last Mounted on /backup
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
14 files, 2345699 used, 1599707 free (3 frags, 199963 blocks, 0.0%
fragmentation)
** /dev/amrd0s1h (NO WRITE)
** Last Mounted on /home
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
1022 files, 5694732 used, 2298363 free (939 frags, 287178 blocks, 0.0%
fragmentation)
** /dev/amrd0s1g (NO WRITE)
** Last Mounted on /mail
** Phase 1 - Check Blocks and Sizes
INCORRECT BLOCK COUNT I=11 (12 should be 0)
CORRECT? no

INCORRECT BLOCK COUNT I=46 (11808 should be 208)
CORRECT? no

INCORRECT BLOCK COUNT I=113 (304 should be 208)
CORRECT? no

INCORRECT BLOCK COUNT I=162 (12 should be 0)
CORRECT? no

INCORRECT BLOCK COUNT I=284 (2 should be 0)
CORRECT? no

** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=284  OWNER=epearson MODE=100600
SIZE=0 MTIME=Sep 28 16:59 2003
CLEAR? no

** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? no

SUMMARY INFORMATION BAD
SALVAGE? no

BLK(S) MISSING IN BIT MAPS
SALVAGE? no

512 files, 272012 used, 734121 free (161 frags, 91745 blocks, 0.0%
fragmentation)
** /dev/amrd0s1e (NO WRITE)
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
224635 files, 2166168 used, 2795557 free (128629 frags, 66 blocks, 2.6%
fragmentation)
** /dev/amrd0s1f (NO WRITE)
** Last Mounted on /var
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
UNALLOCATED  I=166980  OWNER=root MODE=100600
SIZE=4812 MTIME=Sep 28 17:00 2003
FILE=/spool/mqueue/dfh8SL0VL12004

REMOVE? no

UNALLOCATED  I=166986  OWNER=root MODE=100600
SIZE=953 MTIME=Sep 28 17:00 2003
FILE=/spool/mqueue/qfh8SL0VL12004

REMOVE? no

** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=1992070  OWNER=root MODE=100644
SIZE=227 MTIME=Sep 26 10:34 2003
CLEAR? no

** Phase 5 - Check Cyl groups
SUMMARY INFORMATION BAD
SALVAGE? no

BLK(S) MISSING IN BIT MAPS
SALVAGE? no

FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? no

150923 files, 1780430 used, 13106796 free (45716 frags, 1632635 blocks, 0.3%
fragmentation)

<>

DISKLABEL

Should I have to specify a slice etc or should it se just amrd0 ?

enterprise# disklabel -r amrd0
disklabel: bad pack magic number (label is damaged, or pack is unlabeled)

enterprise# disklabel -r amrd0s1
# /dev/amrd0s1c:
type: ESDI
disk: amrd0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 4404
sectors/unit: 70766262
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  102400004.2BSD0 0 0   # (Cyl.0 - 63*)
  b:  2048000  1024000  swap# (Cyl.   63*- 191*)
  c: 707662620unused0 0 # (Cyl.0 -
4404*)
  d:  8142848 461291524.2BSD 1024  819216   # (Cyl. 2871*-
3378*)
  e: 1024  30720004.2BSD0 0 0   # (Cyl.  191*- 828*)
  f: 3072 133120004.2BSD0 0 0   # (Cyl.  828*-
2740*)
  g:  2097152 440320004.2BSD0 0 0   # (Cyl. 2740*-
2871*)
  h: 16494262 54272000   

Re: How to mount USB drive in FreeBSD 5.0?

2003-09-28 Thread Kent Stewart
On Sunday 28 September 2003 11:13 pm, Frank Lee wrote:
> On Sunday 28 September 2003 20:57, Andreas Kohn wrote:
> > It doesn't even look like your usb drive is plugged in? Even if
> > umass hadn't accepted it, ugen should have had attached (outputting
> > some messages)
>
> ughh. well, it helps to plug it *all the way* in. :-( It's new
> and I didn't want break it...
>
> The message I get is:
> umass0: Cypress Semiconductor USB2.0 Storage Device, rev 2.00/0.01,
> addr 2 umass0: Get Max Lun not supported (STALLED)
>
> The system just halts there...

I find that FreeBSD gets really confused if you have a msdos formatted 
zip in the zip drive when you boot.

Kent

>
> If I turn it (usb drive) off or unplug it, a bunch of other messages
> scroll up and it tells me that it's going to reboot...
>
> > [assuming that umass hat attached to the usb drive]
> > There should be a new device node daX[sY] in /dev, which you should
> > mount.
> > mount -t msdos /dev/da0* /mnt/usb
> >
> > * Can't remember whether one needed to specify a slice
>
> Since it stops at the "umass0: Get Max Lun not supported (STALLED)"
> message, there's no /dev/da0* :
>
> # ls -l /dev/d*
> crw---  1 root  wheel  173,   0 Sep 29 05:41 /dev/devctl
> #
>
> Is there a way to have FreeBSD dumb it (usb drive) down to 1.1? The
> box says it (usb drive) supports 1.1 and 2.0). My laptop is only 1.1.

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: Ports woes.

2003-09-28 Thread cuddlesomebunny

>
> I'm obviously getting into this very late, but I'll hazard a couple of
> suggestions.  Apologies if they've already been discussed/discarded.
>
> 1. If you haven't already, run portsdb -uU and pkgdb -F.
>
> 2. If it isn't among the "portupgrade stuff" you've already tried, the
> -fRN options in combination may work.
>
> Jud

Thanks to all who offered assistance and guidance. I'll give these offerings
a try and if all else fails, uninstal and try again. :)

TTFN

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


Re: How to mount USB drive in FreeBSD 5.0?

2003-09-28 Thread frank
On Sunday 28 September 2003 2:36 pm, Kent Stewart wrote:
> On Sunday 28 September 2003 11:13 pm, Frank Lee wrote:
>> On Sunday 28 September 2003 20:57, Andreas Kohn wrote:
>> > It doesn't even look like your usb drive is plugged in? Even if
>> > umass hadn't accepted it, ugen should have had attached (outputting
>> > some messages)
>>
>> ughh. well, it helps to plug it *all the way* in. :-( It's new
>> and I didn't want break it...
>>
>> The message I get is:
>> umass0: Cypress Semiconductor USB2.0 Storage Device, rev 2.00/0.01,
>> addr 2 umass0: Get Max Lun not supported (STALLED)
>>
>> The system just halts there...

Let me clarify this statement. There's a On/Off switch on the drive.
It's when I turn it (usb drive) off, the messages scroll (which I'd
post if I could get them) and systems reboots. Happened twice. The
third time, it says it got disconnected and the system continues to
run fine.


> I find that FreeBSD gets really confused if you have a msdos formatted
> zip in the zip drive when you boot.

It is a msdos formatted usb drive (2.5" laptop type drive in a
IDE-to-USB2.0 case). Not a zip drive, but thank you for sharing that
piece of info.

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


Re: how to get system information

2003-09-28 Thread paul beard
Per olof Ljungmark wrote:
I am wondering how to find out system hardware information from a
running system, I know for instance pciconf(8) but what are the
corresponding ones for memory, cpu etc?


more /var/run/dmesg.boot  to get the info at boot time.
vmstat 5 5 will give you 5 items 5 sconds apart to show you procs, 
memory,
page, disks, faults and cpu info.

Thanks, that was a good start. Now, if I wanted to see more detailed 
info on the processor than the dmesg.boot output:

Origin = "GenuineIntel"  Id = 0x673  Stepping = 3

Like cache size etc.?
You could try seeing what values are available through SNMP, if 
you're interested in dynamic values like memory usage, CPU usage, 
disk usage, etc. Manufacturing details on the CPU won't change 
between reboots, but there should be other ways to find that out.

dmesg.boot gives me all this data, some of which might be useful 
for what you're after.

CPU: Pentium II/Pentium II Xeon/Celeron (233.29-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping = 4
Features=0x80f9ff

--
Paul Beard

whois -h whois.networksolutions.com ha=pb202
A university is what a college becomes when the faculty loses interest
in students.
-- John Ciardi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how to get system information

2003-09-28 Thread paul beard
Per olof Ljungmark wrote:
I am wondering how to find out system hardware information from a
running system, I know for instance pciconf(8) but what are the
corresponding ones for memory, cpu etc?


more /var/run/dmesg.boot  to get the info at boot time.
vmstat 5 5 will give you 5 items 5 sconds apart to show you procs, 
memory,
page, disks, faults and cpu info.

Thanks, that was a good start. Now, if I wanted to see more detailed 
info on the processor than the dmesg.boot output:

Origin = "GenuineIntel"  Id = 0x673  Stepping = 3

Like cache size etc.?
You could try seeing what values are available through SNMP, if 
you're interested in dynamic values like memory usage, CPU usage, 
disk usage, etc. Manufacturing details on the CPU won't change 
between reboots, but there should be other ways to find that out.

dmesg.boot gives me all this data, some of which might be useful 
for what you're after.

CPU: Pentium II/Pentium II Xeon/Celeron (233.29-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping = 4
Features=0x80f9ff

--
Paul Beard

whois -h whois.networksolutions.com ha=pb202
A university is what a college becomes when the faculty loses interest
in students.
-- John Ciardi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


INSTALLATIONM ON A HP PAVILION 8670C

2003-09-28 Thread Andrew Hilliard
Hi,

I am haviing the worst time trying to install FreeBSD
on a HP Pavilion 8670C.It has ATAPI CD-ROMS
and when I attempted to do an installation
of FreeBSD with version 4.7 of the software
it failed. I attempted to do an installation from a 
MS-DOS partition and thatb also failed.
The softwae error message was that it couldnot swap
to the swap space I created for it through Partition magic.

Please if there is any help you van offer me I will
sinserly appreciae it. I am almost at the end
with FreeBSD. I have been trying for  nearly a
month. I had no troble with my Dell but the Hewlett
Packard has been giving me trouble..

Thank you

Andrew Hillard

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


Re: How to mount USB drive in FreeBSD 5.0?

2003-09-28 Thread Andreas Kohn
On Mon, 2003-09-29 at 00:44, [EMAIL PROTECTED] wrote:
> On Sunday 28 September 2003 2:36 pm, Kent Stewart wrote:
> > On Sunday 28 September 2003 11:13 pm, Frank Lee wrote:
> >> On Sunday 28 September 2003 20:57, Andreas Kohn wrote:
> >> > It doesn't even look like your usb drive is plugged in? Even if
> >> > umass hadn't accepted it, ugen should have had attached (outputting
> >> > some messages)
> >>
> >> ughh. well, it helps to plug it *all the way* in. :-( It's new
> >> and I didn't want break it...
> >>
> >> The message I get is:
> >> umass0: Cypress Semiconductor USB2.0 Storage Device, rev 2.00/0.01,
> >> addr 2 umass0: Get Max Lun not supported (STALLED)
> >>
> >> The system just halts there...
> 
> Let me clarify this statement. There's a On/Off switch on the drive.
> It's when I turn it (usb drive) off, the messages scroll (which I'd
> post if I could get them) and systems reboots. Happened twice. The
> third time, it says it got disconnected and the system continues to
> run fine.

You could try two things:
1) If that is a kernel panic (which I assume), it should tell you that
is going to reboot IFF you do not press a key on your keyboard. Pressing
a key should stop the reboot timer and give you time to copy the message
by hand.
2) What happens if you plug the drive in _after_ the system has started?

Dumbing down the drive should not be needed, as it can't (normally) do
any USB 2.x stuff over a USB 1.1 link (ie. it should dumb down itself)

> 
> 
> > I find that FreeBSD gets really confused if you have a msdos formatted
> > zip in the zip drive when you boot.
> 
> It is a msdos formatted usb drive (2.5" laptop type drive in a
> IDE-to-USB2.0 case). Not a zip drive, but thank you for sharing that
> piece of info.
> 
> Frank Lee
-- 
Andreas Kohn <[EMAIL PROTECTED]>

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


Re: how to get system information

2003-09-28 Thread Greg 'groggy' Lehey
On Sunday, 28 September 2003 at  9:02:05 -0700, Mikko Tyljrvi wrote:
> On Sun, 28 Sep 2003, Per olof Ljungmark wrote:
>

 I am wondering how to find out system hardware information from a
 running system, I know for instance pciconf(8) but what are the
 corresponding ones for memory, cpu etc?

>>>
>>>
>>> more /var/run/dmesg.boot  to get the info at boot time.
>>> vmstat 5 5 will give you 5 items 5 sconds apart to show you procs, memory,
>>> page, disks, faults and cpu info.
>>>
>>
>> Thanks, that was a good start. Now, if I wanted to see more detailed
>> info on the processor than the dmesg.boot output:
>>
>> Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
>>
>> Like cache size etc.?
>
> You should be able to get some cpu info with ports/sysutils/x86info.

This gives some information; ports/misc/cpuid gives you more.  Here's
an example:

x86info:

   x86info v1.11.  Dave Jones 2001, 2002
   Feedback to <[EMAIL PROTECTED]>.
   
   Found 1 CPU
   Family: 6 Model: 10 Stepping: 0
   CPU Model : Unknown CPU
   Processor name string: AMD Athlon(tm) XP 3200+
   
   PowerNOW! Technology information
   Available features:
   Temperature sensing diode present.
   
cpuid:
   
eax ineax  ebx  ecx  edx
    0001 68747541 444d4163 69746e65
   0001 06a0   0383fbff
   8000 8008 68747541 444d4163 69746e65
   8001 07a0   c1c3fbff
   8002 20444d41 6c687441 74286e6f 5820296d
   8003 32332050 002b3030  
   8004    
   8005 0408ff08 ff20ff10 40020140 40020140
   8006  41004100 02008140 
   8007    0001
   8008 2022   
   
   Vendor ID: "AuthenticAMD"; CPUID level 1
   
   AMD-specific functions
   Version 06a0:
   Family: 6 Model: 10 [Duron/Athlon model 10]
   
   Standard feature flags 0383fbff:
   Floating Point Unit
   Virtual Mode Extensions
   Debugging Extensions
   Page Size Extensions
   Time Stamp Counter (with RDTSC and CR4 disable bit)
   Model Specific Registers with RDMSR & WRMSR
   PAE - Page Address Extensions
   Machine Check Exception
   COMPXCHG8B Instruction
   APIC
   SYSCALL/SYSRET or SYSENTER/SYSEXIT instructions
   MTRR - Memory Type Range Registers
   Global paging extension
   Machine Check Architecture
   Conditional Move Instruction
   PAT - Page Attribute Table
   PSE-36 - Page Size Extensions
   MMX instructions
   FXSAVE/FXRSTOR
   25 - reserved
   Generation: 7 Model: 10
   Extended feature flags c1c3fbff:
   Floating Point Unit
   Virtual Mode Extensions
   Debugging Extensions
   Page Size Extensions
   Time Stamp Counter (with RDTSC and CR4 disable bit)
   Model Specific Registers with RDMSR & WRMSR
   PAE - Page Address Extensions
   Machine Check Exception
   COMPXCHG8B Instruction
   APIC
   SYSCALL/SYSRET or SYSENTER/SYSEXIT instructions
   MTRR - Memory Type Range Registers
   Global paging extension
   Machine Check Architecture
   Conditional Move Instruction
   PAT - Page Attribute Table
   PSE-36 - Page Size Extensions
   AMD MMX Instruction Extensions
   MMX instructions
   FXSAVE/FXRSTOR
   3DNow! Instruction Extensions
   3DNow instructions
   
   Processor name string: AMD Athlon(tm) XP 3200+
   L1 Cache Information:
   2/4-MB Pages:
  Data TLB: associativity 4-way #entries 8
  Instruction TLB: associativity 255-way #entries 8
   4-KB Pages:
  Data TLB: associativity 255-way #entries 32
  Instruction TLB: associativity 255-way #entries 16
   L1 Data cache:
  size 64 KB associativity 2-way lines per tag 1 line size 64
   L1 Instruction cache:
  size 64 KB associativity 2-way lines per tag 1 line size 64
   
   L2 Cache Information:
   2/4-MB Pages:
  Data TLB: associativity L2 off #entries 0
  Instruction TLB: associativity L2 off #entries 0
   4-KB Pages:
  Data TLB: associativity Direct mapped #entries 0
  Instruction TLB: associativity Direct mapped #entries 0
  size 2 KB associativity L2 off lines per tag 129 line size 64
   
   Advanced Power Management Feature Flags
   Has temperature sensing diode
   Maximum linear address: 32; maximum phys address 34

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
NOTE: Due to the currently active Microsoft-based worms, I am limiting
all incoming mail to 131,072 bytes.  This is enough for normal mail,
but not for large attachments.  Please send these as URLs.


pgp0.pgp
Description: PGP signature


Re: Bad Super Block Count

2003-09-28 Thread Andreas Kohn
On Sun, 2003-09-28 at 23:20, Grant Peel wrote:
> Hello all,
> 
> One of my Dell servers has rebooted itself twice in the past week. No panics
> or anything showing in any log. No overheating noted in mbmon. I don't know
> if the diskstuff below is related.
> 
> Dell called me and told me I had to do a PERC III ROM flash, so I went to
> the POP and did that. At that time I ran an fsck. I am seeing what look to
> be (I hope) none critical disk errors. I cant find anything specific in the
> FreeBSD archives and was hoping some here might have some knowledge.
> 
> Here is the complete list from fsck, also I will post disklabel -r output at
> the bottom.
> 
> As a side note, I could not get fsck to be interactive. Not even at the
> console, but I was never in single user mode either...should it matter?

As you can see, fsck is unable to write to your partitions (which is why
it answers "no" to all questions). You should try to run fsck from
single user mode.

> 
> Dell 1400SC, 933Mhz, 512 MB, RAID5 PERC 3/DC.
> 
> BTW, I ran a consistency check before booting back into FReeBSD and
> according to the PERC software the stripes etc are perfect.
> 
> -
> 
> enterprise# fsck
> ** /dev/amrd0s1a (NO WRITE)
...
> ** /dev/amrd0s1d (NO WRITE)
...
> ** /dev/amrd0s1h (NO WRITE)
...

-- 
Andreas Kohn <[EMAIL PROTECTED]>

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


Re: Bad Super Block Count

2003-09-28 Thread Andreas Kohn
[redirected mail to list, remember to use reply-to-all]

On Mon, 2003-09-29 at 00:51, Grant Peel wrote:
> I am now 120 miles from the server. Since it seems that the root filesystem
> has no errors, can I simply umount the other filesystems and run fsck, (it
> will be able to write then?) and then reboot?
> 
> TIA,
> 
> 
> -Grant

You could try it at least. But then you wouldn't even need to reboot,
just remounting the drives with mount -a should bring them back.

But I'm not completely sure about this.

> Andreas Kohn wrote
> > On Sun, 2003-09-28 at 23:20, Grant Peel wrote:
> > > Hello all,
> > >
> > > One of my Dell servers has rebooted itself twice in the past week. No
> panics
> > > or anything showing in any log. No overheating noted in mbmon. I don't
> know
> > > if the diskstuff below is related.
> > >
> > > Dell called me and told me I had to do a PERC III ROM flash, so I went
> to
> > > the POP and did that. At that time I ran an fsck. I am seeing what look
> to
> > > be (I hope) none critical disk errors. I cant find anything specific in
> the
> > > FreeBSD archives and was hoping some here might have some knowledge.
> > >
> > > Here is the complete list from fsck, also I will post disklabel -r
> output at
> > > the bottom.
> > >
> > > As a side note, I could not get fsck to be interactive. Not even at the
> > > console, but I was never in single user mode either...should it matter?
> >
> > As you can see, fsck is unable to write to your partitions (which is why
> > it answers "no" to all questions). You should try to run fsck from
> > single user mode.
> >
> > >
> > > Dell 1400SC, 933Mhz, 512 MB, RAID5 PERC 3/DC.
> > >
> > > BTW, I ran a consistency check before booting back into FReeBSD and
> > > according to the PERC software the stripes etc are perfect.
> >
> > --
> --
> > > -
> > >
> > > enterprise# fsck
> > > ** /dev/amrd0s1a (NO WRITE)
> > ...
> > > ** /dev/amrd0s1d (NO WRITE)
> > ...
> > > ** /dev/amrd0s1h (NO WRITE)
> > ...
> >
> > -- 
> > Andreas Kohn <[EMAIL PROTECTED]>
> >
-- 
Andreas Kohn <[EMAIL PROTECTED]>

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


Re: Sendmail: Do I need it running?

2003-09-28 Thread Ekrem
On Mon, 2003-09-29 at 02:00, Rus Foster wrote:
> On Mon, 29 Sep 2003, Ekrem wrote:
> 
> > Hi people,
> >
> > I'm using FreeBSD on my standalone desktop PC. I use dialup for the
> > internet and use Evolution as the email client, but the following 2
> > processes always running;
> >
> > sendmail: accepting connections (sendmail)
> > sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail)
> >
> > Do they need to be running for things like daily/weekly cron jobs that
> > send emails to root, or for any other purpose?
> 
> No if you aren't using SMTP to receive email from outside your can disable
> these by putting sendmail_enable="no" in /etc/rc.conf then just kill of
> the processes
> 
> Rus

Thanks for your reply.

Actually, I am retrieving my emails from my ISP's SMTP server but I know
I don't need to run sendmail to retrieve them. I did kill those 2
processes. I'm just too sure if it will have some impact on email
notifications.

Interestingly, I do have sendmail_enable="NO" in my /etc/rc.conf file,
yet sendmail continues to automatically start whenever I reboot.

I might have to go learn more about auto-start processes.


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


Re: Sendmail: Do I need it running?

2003-09-28 Thread Chris Pressey
On Mon, 29 Sep 2003 09:27:14 +1000
Ekrem <[EMAIL PROTECTED]> wrote:

> Interestingly, I do have sendmail_enable="NO" in my /etc/rc.conf file,
> yet sendmail continues to automatically start whenever I reboot.

You need sendmail_enable="NONE" if you want to disable it completely.

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


Re: Sendmail: Do I need it running?

2003-09-28 Thread Rob
With the default configuration, this may disable sending mail from the
command line (eg cron jobs).

Have a look at /etc/defaults/rc.conf for the different sendmail_*
variables, and read /etc/mail/README for more information on mail
submission.

- Original Message -
From: "Chris Pressey" <[EMAIL PROTECTED]>
Subject: Re: Sendmail: Do I need it running?


> On Mon, 29 Sep 2003 09:27:14 +1000
> Ekrem <[EMAIL PROTECTED]> wrote:
>
> > Interestingly, I do have sendmail_enable="NO" in my /etc/rc.conf
file,
> > yet sendmail continues to automatically start whenever I reboot.
>
> You need sendmail_enable="NONE" if you want to disable it completely.
>
> -Chris
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


Ethernet Drivers with 5.1 not happening

2003-09-28 Thread Anthony Carmody
Hiya,

I posted a question about this last week. I have done a little homework and
I am resubmitting my question with more information and i hope someone can
help this time around.

I am building a FreeBSD 5.1 box for a client using a fairly new ASUS
Mainboard, that SHOULD according to the HARDWARE.TXT file on my installer
CDROM, work with all the hardware chip-sets concerned. precisely, an "Intel
82562EZ LAN PHY".

These are the relevant lines i get from "pciconf -lv" :

[EMAIL PROTECTED]:8:0: class=0x202 card=0x80f81043 chip=0x10508086 rev=0x02
hdr=0x00
vendor = 'Intel Corporation'
class = network
subclass = ethernet

AND this is what i get from "dmesg | more" :

pci1:  on pcib1
pci1:  at device 8.0 (no driver attached)

is there a way i might just install some drivers without reinstalling the
whole system? I think someone has made some recently, although i am not
familiar with the procedure of obtaining and installing them. I have
experience installing from ISO images and adding the odd port but not much
beyond that. Here is the link to the mailing.freebsd.cvs-current thread im
not sure about:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&th=c2cc18e7fd2e3621&rnum=
1

any info is greatly appreciated always.

Regards,

Carmoda
[EMAIL PROTECTED]





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


Re: can FreeBSD run dos

2003-09-28 Thread Jud
On Sun, 28 Sep 2003 19:40:45 +0200, christian serb <[EMAIL PROTECTED]> 
wrote:

On Sat, Sep 27, 2003 at 09:51:50AM -0500, fred wrote:
> I am new to different OS's .
> Can this Os run Wordperfect 5.1 for dos???
You can use vmware2 (version 3 works only for FreeBSD 5.x) to run a
vertual machine. This way you could run your old programs.

i've coincidentally found that:

Xdos is available at 1. sunsite.unc.edu /pub/Linux/Incoming (will 
probably be moved to
/pub/Linux/ALPHA/dosemu )

source:
http://groups.google.de/groups?q=xdos&hl=de&lr=&ie=UTF-8&oe=UTF-
8&newwindow=1&selm=2ji219%24qkv%40klaava.Helsinki.FI&rnum=1
I believe xdos/dosemu requires an actual DOS partition on the machine 
(someone please let me know if that's incorrect).  So again, the point 
would be, if you are going to install DOS, why not just run WordPerfect 
from it?

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


Re: Sendmail: Do I need it running?

2003-09-28 Thread Ryan Merrick
Ekrem wrote:
On Mon, 2003-09-29 at 02:00, Rus Foster wrote:

On Mon, 29 Sep 2003, Ekrem wrote:


Hi people,

I'm using FreeBSD on my standalone desktop PC. I use dialup for the
internet and use Evolution as the email client, but the following 2
processes always running;
sendmail: accepting connections (sendmail)
sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail)
Do they need to be running for things like daily/weekly cron jobs that
send emails to root, or for any other purpose?
No if you aren't using SMTP to receive email from outside your can disable
these by putting sendmail_enable="no" in /etc/rc.conf then just kill of
the processes
Rus


Thanks for your reply.

Actually, I am retrieving my emails from my ISP's SMTP server but I know
I don't need to run sendmail to retrieve them. I did kill those 2
processes. I'm just too sure if it will have some impact on email
notifications.
Interestingly, I do have sendmail_enable="NO" in my /etc/rc.conf file,
yet sendmail continues to automatically start whenever I reboot.
I might have to go learn more about auto-start processes.

To completely disable sendmail in #/etc/rc.conf use sendmail_enable="none"

Sendmail is used as the default mailer for cron. This only works if an 
email address is mapped to root in #/etc/aliases.

-Ryan



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


Re: can FreeBSD run dos - whoops

2003-09-28 Thread Jud
On Sun, 28 Sep 2003 19:44:31 -0400, Jud <[EMAIL PROTECTED]> wrote:

On Sun, 28 Sep 2003 19:40:45 +0200, christian serb 
<[EMAIL PROTECTED]> wrote:

On Sat, Sep 27, 2003 at 09:51:50AM -0500, fred wrote:
> I am new to different OS's .
> Can this Os run Wordperfect 5.1 for dos???
You can use vmware2 (version 3 works only for FreeBSD 5.x) to run a
vertual machine. This way you could run your old programs.

i've coincidentally found that:

Xdos is available at 1. sunsite.unc.edu /pub/Linux/Incoming (will 
probably be moved to
/pub/Linux/ALPHA/dosemu )

source:
http://groups.google.de/groups?q=xdos&hl=de&lr=&ie=UTF-8&oe=UTF-
8&newwindow=1&selm=2ji219%24qkv%40klaava.Helsinki.FI&rnum=1
I believe xdos/dosemu requires an actual DOS partition on the machine 
(someone please let me know if that's incorrect).  So again, the point 
would be, if you are going to install DOS, why not just run WordPerfect 
 from it?
[Sound of palm contacting forehead, remind self once again to be more 
careful in future.]

Sorry, xdos/dosemu uses DOS installed to a disk image that lives in a 
directory, by default /usr/local/lib/dosemu.

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


module_register: module miibus/ukphy already exists!

2003-09-28 Thread Edy Lie
Greetings,

module_register: module miibus/ukphy already exists!
linker_file_sysinit "miibus.ko" failed to register! 17

Anyone seen that before during intial bootup ?
I was watching on console and somehow something was trying to init
ifconfig rl0 (realtek). This box only has fxp0 and xl0 nic cards.

Cheers,
Ed
-- 

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


Questions about mkisofs

2003-09-28 Thread Dragoncrest
Hi all.  Just curious of something.  I'm probably doing something 
wrong and totally not paying attention, but for some reason when I run 
mkisofs, all my files get truncated at 12 charecters and some weird 001 is 
appended to the rest of the name.  I use the following command when 
building an iso file for burning:  mkisofs -R -U -o mycd.iso 
/path.to.files/to.be.burned/

I'm obviously missing something because I've gotten files with 
names up to 128 charecters long to be included in an iso when burning them 
in windows, but not in freebsd using mkisofs.  I've also been able to make 
the disk name 16 charecters long in windows but only 12 with mkisofs.  Can 
someone tell me what I'm doing wrong with the options on mkisofs and help 
me fix it?  Like I said, I've read the man file and I thought I had it all 
correct, but apparently that's not true.  Much apreciated on the help.  Thanks.

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


Re: Upgrading HD difficulties

2003-09-28 Thread Lowell Gilbert
Jesse Sheidlower <[EMAIL PROTECTED]> writes:

> Originally I tried with dump, but I kept getting loads of
> errors, so I switched to tar. I made one tarfile of /usr
> (which is relatively large), and one of everything else.

There might have been a hint in the errors you were getting with
dump.  

Note that you can't make a copy of a whole system with tar, because
there are several kinds of special files it won't handle well.  

> (I actually had to install mount and tar onto the NFS 
> filesystem and run them from there; I'm not showing that
> here.)

They should've been on the fixit disk you booted from.

> I then rebooted, from the new HD this time, rather than
> the CD, and things started to work OK. But eventually I
> ran into filesystem problems--sync problems, or other 
> things, and I had to run fsck -y manually to fix them. But
> though this did clean the filesystem, the stuff that was
> there wasn't what I had untar'd into place--it seemed to
> be a bare minimun copy of the OS. This has repeated more
> than once.

You didn't mention ever doing a minimum install.  However, you *must*
have done at some point.

> I obviously don't know what I'm doing, but would be very
> grateful for any suggestions for how to get this new HD
> in. I want it to be exactly the same as the existing one,
> but with more room; I'm not trying to do anything fancy
> or switch anything around. Especially by this point I'm
> willing to do anything to get things working again, as
> I really need my computer back!

I recommend doing a clean install, and then restoring the original
disk's contents to a separate subdirectory tree, to move the user data
in from.  I would even do a new install of your ports/packages, using
the restored data to rebuild the configuration information.

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


Re: ARP Question - Maybe?

2003-09-28 Thread Drew Tomlinson
On Sat, 27 Sep 2003 16:55:35 +, Nathan Kinkade <[EMAIL PROTECTED]> 
wrote:

On Sat, Sep 27, 2003 at 03:31:16PM -0700, Drew Tomlinson wrote:
I'm trying to get a Linksys WET11 Wireless Ethernet Bridge working with 
a
D-Link 530 NIC that uses the rl driver.  I have configured the bridge 
and
gotten it to work with a Windows XP box if I tell the bridge to use "MAC
address cloning".  However I can not get it working on my 4.8 FBSD box.

I'm not really sure but I suspect my problem might be with ARP?  The rl0
interface is configured as 192.168.100.2 and the bridge is connected to 
this
interface.  The bridge is configured with an IP address of 
192.168.100.225
but as I understand it, this is only the address to use when connecting 
to
the web based configuration utility. I have a Linksys access point with 
IP
of 192.168.100.1.

Anyway, after attempting connections to these three addresses, my arp 
table
looks like this:

? (192.168.100.1) at (incomplete) on rl0 [ethernet]
? (192.168.100.2) at 00:05:5d:d0:ba:67 on rl0 permanent [ethernet]
? (192.168.100.225) at (incomplete) on rl0 [ethernet]
I can not get any response from any device beyond the rl0 interface.  I
setup ipfw to log all traffic to that interface and can see the traffic
going out:
Sep 27 15:18:04 blacksheep /kernel: ipfw: 50 Accept ICMP:8.0 
192.168.100.2
192.168.100.1 out via rl0

Sep 27 15:24:00 blacksheep /kernel: ipfw: 50 Accept ICMP:8.0 
192.168.100.2
192.168.100.225 out via rl0

Can anyone educate me on arp and if it's my problem, tell me what I 
might
need to add to my arp table to get things going?

Thanks,

Drew
Thank you for your response.

I had this problem recently.  Turns out that ipfw when used in
conjunction with bridging (net.link.ether.bridge_ipfw=1) that your
I don't seem to have this.  I'm running 4.8.  Here's all of my net.link 
sysctls:

net.link.generic.system.ifcount: 8
net.link.ether.inet.prune_intvl: 300
net.link.ether.inet.max_age: 1200
net.link.ether.inet.host_down_time: 20
net.link.ether.inet.maxtries: 5
net.link.ether.inet.useloopback: 1
net.link.ether.inet.proxyall: 0
net.link.ether.inet.log_arp_wrong_iface: 1
net.link.ether.ipfw: 0
net.link.gif.max_nesting: 1
net.link.gif.parallel_tunnels: 0
default rule must be to allow all.  You can mitigate this by making your
last rule something like:
deny { tcp or udp } from any to any
I am already set up like this.

This should basically block pretty much any traffic that you are
probably worried about.  To test that this is the problem, disable the
firewall temporarily, maybe with something like:
# sysctl net.link.ether.bridge_ipfw=0

then try your network.  if it works, the re-enable ipfw by setting the
above parameter back to 1.  then take a look at your arp cache expiry
with `arp -an' and make note as to wether the net breaks again as soon
as the arp entry expires.
you can set ipfw to use a default rule of accepting by adding this
option to you kernel config:
options 	IPFIREWALL_DEFAULT_TO_ACCEPT
As I understand it, I don't need to configure my FBSD box as a bridge.  
Please let me know if I am incorrect.  Basically, I want to use my 
neighbor's connection as a backup link to the Internet.  He has a Linksys 
Wireless Access Point/Router in his home.  Instead of installing a 
wireless card in my FBSD box, I bought a Linksys Wireless Bridge so I 
could install it by a window to get a better signal.  The Linksys bridge 
connects via ethernet cable to the D-Link NIC in my FBSD box.  Here's a 
diagram of the setup:

Internet
|
Public IP
|
  ADSL Modem/Router
   192.168.10.1
|
   dc0
   192.168.10.2
|
FBSD 4.8 - rl0
| 192.168.100.2
   dc1  |
   192.168.1.2   192.168.100.225
| Wireless Bridge
   Internal LAN |
  192.168.100.1
  Neighbor's AP
I can get to the wireless bridge from my neighbor's network and I can get 
to the rl0 from my internal LAN.  The breakage is between the rl0 
interface and the linksys wireless bridge.  Do you have any idea what I 
need to configure to make things work?

Thanks again for your time!!!

Drew

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


Make world but not make kernel?

2003-09-28 Thread Dragoncrest
	Just curious.  If I wanted to upgrade all my sources, could I do a "Make 
World" without having to do a "Make Kernel" or are the two intertwined 
where if I do the one I have to do the other?  Just curious.

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


Re: Make world but not make kernel?

2003-09-28 Thread Daniel Hawton
It's better to go:
make buildworld
make buildkernel KERNCONF=(Kernel Config name)
make installkernel KERNCONF=(Kernel Config name)
make installworld
Basically, if you're upgrading from 4.6 to 4.7 for example, you need to 
upgrade your kernel to match your userland.

-Daniel

Dragoncrest wrote:
Just curious.  If I wanted to upgrade all my sources, could I do a 
"Make World" without having to do a "Make Kernel" or are the two 
intertwined where if I do the one I have to do the other?  Just curious.

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

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


Re: Questions about mkisofs

2003-09-28 Thread Bill Campbell
On Sun, Sep 28, 2003, Dragoncrest wrote:
>Hi all.  Just curious of something.  I'm probably doing something 
>wrong and totally not paying attention, but for some reason when I run 
>mkisofs, all my files get truncated at 12 charecters and some weird 001 is 
>appended to the rest of the name.  I use the following command when 
>building an iso file for burning:  mkisofs -R -U -o mycd.iso 
>/path.to.files/to.be.burned/

I usually use ``mkisof -l -r -L ...'' where:
-L  Allow more than one ``.'' in names.
-l  Allow full 31 character filenames
-r  File ownership set to something ``useful''.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Rights'' is a fictional abstraction.  No one has ``Rights'', neither
machines nor flesh-and-blood.  Persons... have opportunities, not rights,
which they use or do not use.
-- Lazarus Long
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Questions about mkisofs

2003-09-28 Thread Andreas Kohn
On Mon, 2003-09-29 at 02:30, Dragoncrest wrote:
>  Hi all.  Just curious of something.  I'm probably doing something 
> wrong and totally not paying attention, but for some reason when I run 
> mkisofs, all my files get truncated at 12 charecters and some weird 001 is 
> appended to the rest of the name.  I use the following command when 
> building an iso file for burning:  mkisofs -R -U -o mycd.iso 
> /path.to.files/to.be.burned/
> 
>  I'm obviously missing something because I've gotten files with 
> names up to 128 charecters long to be included in an iso when burning them 
> in windows, but not in freebsd using mkisofs.  I've also been able to make 
> the disk name 16 charecters long in windows but only 12 with mkisofs.  Can 
> someone tell me what I'm doing wrong with the options on mkisofs and help 
> me fix it?  Like I said, I've read the man file and I thought I had it all 
> correct, but apparently that's not true.  Much apreciated on the help.  Thanks.
> 
> 

Hi, 

Read the man page again, and pay attention to the -J option and any
occurences of RockRidge and Joliet =)

HTH
-- 
Andreas Kohn <[EMAIL PROTECTED]>

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


Re: Make world but not make kernel?

2003-09-28 Thread Drew Tomlinson
- Original Message - 
From: "Dragoncrest" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 28, 2003 6:00 PM
Subject: Make world but not make kernel?


> Just curious.  If I wanted to upgrade all my sources, could I do a
"Make
> World" without having to do a "Make Kernel" or are the two intertwined
> where if I do the one I have to do the other?  Just curious.

Sources are updated using cvsup.

make world builds the userland, i.e. all of the programs that are part
of the OS but not in the kernel.

make kernel builds the actual kernel.

World and kernel should be in sync or you will have strange problems and
some stuff won't work.

Read about this in the handbook.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

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


Re: Comparing buildworld times on twin machines

2003-09-28 Thread Mark Terribile

Charles Howse writes:

> I have 2 machines on my home network with (almost)
> identical hardware.  ... The only difference is
> that curly has 128 MB ram where larry has only 64.

Memory available for caching certainly can make a
difference.  Remember that FreeBSD uses ALL otherwise
uncommitted memory for caching, and so a machine with
more memory may do less disk I/O.

> They *do not*, however have identical hard drives,
> even though each machine has 2 drives, with
> /usr/obj on the second drive of each machine.

And building things can do a lot of disk I/O, and
a lot of directory lookups, especially if you have
recursive make(1) operations.

> Larry can buildworld in 1 hr 57 mins.  It takes
> curly 3 hrs 16 mins, even though curly has twice
> the ram.

> If I watch the compile, with one eye on the disk
> activity light, it seems to me that the process is
> largely CPU intensive, therefore I would expect
> that the buildworld times should be roughly equal.

Instead of watching just the disk lights, start up
 systat 1 -vmstat  in a free window or console.
Learn what the various indicators mean.  You'll
probably be able to find your answers there.
systat(8) is really an incredible tool for
understanding where the system is spending its time,
and how.


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Comparing buildworld times on twin machines

2003-09-28 Thread Kirk Strauser
At 2003-09-28T19:37:37Z, "Charles Howse" <[EMAIL PROTECTED]> writes:

> The only difference is that curly has 128 MB ram where larry has only 64.

Is the RAM of the exact same type on both machines, i.e. 133MHz non-ECC
vs. 100MHz ECC?
-- 
Kirk Strauser

"94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box."


pgp0.pgp
Description: PGP signature


upgrading 4.0 to stable

2003-09-28 Thread F. Even
I would like to upgrade a 4.0 machine to STABLE, or at least to the 
RELENG security level.  How difficult will this be?  Is there anything 
special that I need to be concerned about, so I don't get bit?  This 
is kind of an important boxand I don't want it to take a nose-dive 
after I reboot it remotely.

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


Ambit Cable Modem (Model 60194A-004)

2003-09-28 Thread Derek J Witt
Good evening, everyone.

I have the above modem (Which is actually cable modem router; it allows
two simultaneous connections through the ethernet and USB ports on
separate computers). I have found out that I was getting carrier
droppage through my ethernet card (I'll mess with a new cable later ;-).
Anyway, I decided to try the USB interface.  I have the usb kernel
modules installed right now. Both of my devices (a Compaq IJ650 InkJet,
and the modem) are detected by the UHCI kernel modules. When I try
inserting the aue module, it doesn't activate my modem.

When I do insert the modem, the ugen module receives the USB connection.
Ok, seemed fine thus far. But when I try to setup my DHCP connection
using ugen0 as my network interface, no go.

In linux, I get the following class/vendor ID (output from lsusb):
Bus 001 Device 003: ID 0bb2:6098 Ambit Microsystems Corp.

Also, in Linux, I'm using the acm and CDCEther kernel modules. So,  I
know it's a CDCE-type device.

So, my question is this: Is this modem's USB interface supported in
FreeBSD 4.8 and/or 5.1?  If so, which kernel module(s) can be used. If
not, oh well. Time to buy the replacement Ethernet cable.


-- 
Derek J Witt <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part


RE: Comparing buildworld times on twin machines

2003-09-28 Thread Charles Howse
> At 2003-09-28T19:37:37Z, "Charles Howse" <[EMAIL PROTECTED]> writes:
> 
> > The only difference is that curly has 128 MB ram where 
> larry has only 64.
> 
> Is the RAM of the exact same type on both machines, i.e. 
> 133MHz non-ECC
> vs. 100MHz ECC?

The first 64 MB on each machine is identical.
The additional 64 MB on curly is a spare stick I had laying around.
I said to myself, "I wonder if this ram will work in curly?"
 


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


Re: upgrading 4.0 to stable

2003-09-28 Thread Adam McLaurin
On Sun, 28 Sep 2003 21:57:04 -0500 (CDT)
"F. Even" <[EMAIL PROTECTED]> wrote:

> I would like to upgrade a 4.0 machine to STABLE, or at least to the 
> RELENG security level.  How difficult will this be?  Is there anything
> 
> special that I need to be concerned about, so I don't get bit?  This 
> is kind of an important boxand I don't want it to take a nose-dive
> 
> after I reboot it remotely.

The most common advice is to upgrade incrementally. Upgrading directly
from 4.0 to 4.8 is likely to encounter problems. 

I personally would recommend 4.0 to 4.3, then 4.3 to 4.6.2, then 4.6.2
to 4.8. Check the handbook for the appropriate CVS tags.

In any case, it is *very* important that you read /usr/src/UPDATING each
time you update your source. This will inform you of any special steps
you need to take before upgrading to that respective version.

If you're especially paranoid and have plenty of time, you could even do
the upgraded in more increments than I recommended. Just be sure to read
the UPDATING file each time.

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


Re: Problems with audio recording

2003-09-28 Thread DoubleF
On Sun, 28 Sep 2003 18:45:39 + Daniela <[EMAIL PROTECTED]> probably wrote:

> Probably a stupid question:
> 
> I need to record sound and it just won't work. I set the recording level to 
> 75:75 and the recording source to "Line" (I'm not sure this is correct)

This depends on what you are actually tring to record. If you are
recording from a microphone, it should be "mic",if you are recording
from line input - "line".

-- 
DoubleF
When outrageous expenditures are divided finely enough
the public will not have enough stake in any one
expenditure to squelch it.


pgp0.pgp
Description: PGP signature


utf8locale is being removed from system after "make installworld"

2003-09-28 Thread Ilia Chipitsine
Dear Sirs,

I noticed that utf8locale is not found by PostgreSQL, for instance, after
"make installworld".

How should I fix that ? (I don't want to reinstall misc/utf8locale every
time I "make installworld", it is not any clever)

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