Re: 4x Kernel

2006-09-12 Thread Mark Cullen

Keith Phipps wrote:

Good Day,

We've got a FreeBSD box that's running 4.10 (that may not be correct, but
it's 4.x for certain) and it's not seeing our ATA driver on the appliance
it's been installed on. It's just a small 1u device, 1 hard drive, no RAID.
The same version installs on the 2u with the RAID controller no problem.
Best I can tell, 6.1 has the proper ATA driver. ICH7 is what I'm looking
for.

The build of our boxes are ISO'd on a CD, so I'm wondering the best way to
get this done - as I've never had to recompile anything and the more and
more I'm reading, the more and more it looks like I'm going to have to

a) figure out where/how to pull the ICH7 ATA driver from the 6.1 build
b) how I can recompile the kernel that goes with the ISO

It'd be easy (so google says) if it were anything other than the drive
controller - but since I can get to the drive, I can't load the OS 
properly,

can't just replace the kernel that way.

Any and all ideas, resources, etc.. would be helpful, as this was just sort
of dropped on my plate.

Thanks!

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


Is there any particular reason why you can't just use 6.1? I know it's 
probably not what you want to hear, but it's highly likely it's going to 
be said if I don't anyway :-)


If it's because of stability, you *could* give NetBSD or OpenBSD a try 
perhaps? I had even 4.x panic'ing and locking up on my machine, where 
NetBSD 3 is totally stable. I *think* NetBSD 3 supports ICH7 at least.


--
Mark Cullen [EMAIL PROTECTED]
BSc (Hons), Computer Science
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Booting more than 4 OSes from a hard disk?

2006-08-08 Thread Mark Cullen

Girish Venkatachalam wrote:

Dear all,

I was wondering if the 4 primary parition booting
limit still exists. Is it possible to have 


Windoze
Linux
FreeBSD
OpenBSD
NetBSD

on the same box in such a way that we can boot into
any of them?

I am particularly interested in the x86 arch with IDE
disks. I think this is possible on other archs with
SCSI.

What boot manager am I supposed to use? Does it
require setting something on the BIOS? Does FreeBSD
support booting from a point way off the first sector?

Thanks.

regards,
Girish

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___

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



I *think* GAG can do this, though I have never actually personally tried 
it. If I ever use a boot loader though, GAG is my first choice. It's 
incredibly simple to install and configure.


http://gag.sourceforge.net/

--
Mark Cullen [EMAIL PROTECTED]
BSc (Hons), Computer Science
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Temperature Monitor

2006-07-21 Thread Mark Cullen

Tamouh H. wrote:

Hi,

I've an Intel board D865GVHZ running on FBSD 5.4 that I'd like to monitor its 
temperature. I've tried using lmmon , but the data are way off:

 Motherboard Temp   Voltages

 255C / 491F / 528KVcore1:   +3.984V
   Vcore2:   +3.984V
Fan Speeds + 3.3V:   +3.984V
   + 5.0V:   +6.654V
1:0 rpm+12.0V:  +15.938V
2:0 rpm-12.0V:  -15.938V
3:0 rpm- 5.0V:   -6.654V

All the other apps I'm finding are either too old, or only work with laptops / 
specific boards.

Any suggestions ?

Thx,

Tamouh Hakmi


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



I've always had good luck with 'mbmon'. I think you can find it in 
ports, possibly under 'xmbmon' -- in which case I think you'll need to 
specify the option to build the console version, not the X version.


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


Re: 4.11 Server Locks Up

2006-03-28 Thread Mark Cullen

Tom Grove wrote:
Over the past few months I have noticed that our mail server is flat out 
locking up.  I monitor it via Nagios and about once every two months I 
get emails saying it is down and when I go over to the console the 
server is totally unresponsive.  I've gone through logs every time and 
find nothing at all wrong.
This is a Dell PowerEdge 2850 with Dual Xeon cpu's and 2GB of memory.  
Uname replies with:


FreeBSD colossus 4.11-RELEASE-p13 FreeBSD 4.11-RELEASE-p13 #0: Fri Oct 
14 13:34:01 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/COLOSSUS  i386


One, has anyone else had similar problems with boxes just becoming 
unresponsive under high load?  Two, is there any reason this would occur?


-Tom Grove


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




I have very recently (a couple of weeks a go) had my small home server 
start randomly deciding to lock up, not even under heavy load. It would 
just decide to freeze up for no reason. It would happen usually at least 
once a week, and it was fairly common for it to lock up during the O/S 
boot. It would never lock up in BIOS though.


After replacing every single piece of hardware in the machine, aside 
from the motherboard, nothing seemed to help. Upon further inspection of 
the motherboard, just before looking to buy a new one, I noticed bulging 
/ leaking capacitors around the CPU socket. It looked like *all* of the 
most important caps were knackered. I am suprised it managed to turn on 
and stay up (for a while) at all.


Just the other day I ordered some good brand name caps (Rubycon MCZ's) 
and replaced all but 3 of the original capacitors on the board. It's 
been up for 11 days with no signs of locking up. Before leaving it on 
again I tested it out, just by restarting a fair few times, to see if it 
continued to lock up during O/S boot. Not *once* did it lock up after 
the capacitor replacement jobby I did. It appears to have solved all my 
instability problems!


It may be a long shot, but it's perhaps worth perhaps checking the 
capacitors and making sure they're in good condition. Even a slight 
bulge is the sign of a failing capacitor, as far as I am aware. The tops 
should be *perfectly* flat, and nice and shiny :-) Of course, you may 
not be comfortable taking a soldering iron to your board. If you do 
discover bad caps and would like to have them replaced by someone with 
experience, take a look at www.badcaps.net. They offer a paid service 
for capacitor replacement. Not exactly certified by any motherboard 
manufacturers or anything, but appears to have a lot of experience.

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


vinum RAID 1, FreeBSD 4-STABLE two different size drives

2006-01-18 Thread Mark Cullen

Hello :-)

I've come across a deal where by I can either buy two identical 20GB 
drives, or a 20GB drive and a 40GB drive for the same price as the two 
20GB's. I was intending to use the drives for a RAID 1 array and have 
read that ideally the drives should be identical, but it is do-able with 
different size drives.


Obviously as both options are the same price I would like to get more 
for my money and get the 40GB and 20GB drive, rather than two 20GB's. 
This should also give me the option of buying only a single 40GB drive 
later on for cheap if I need to bump the space up a bit, rather than 
buying two drives.


Simple questions really I suppose. Is having two different size drives 
going to work? Is it going to make configuration trickier in any way? 
Are there any disadvantages (other than I will be losing out on 20GB on 
the 40GB drive, and that it's only going to be as fast as the slowest 
drive I imagine)? I've never ever touched vinum before!


Thanks in advance for any advice / comments,
Mark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help With 'for' Loop

2005-10-14 Thread Mark Cullen

Drew Tomlinson wrote:
Sorry to be such a pest today.  I'm working on a sh script that uses a 
for loop.  To test, I've written the following:


for i in `/usr/bin/find /multimedia/Pictures -iname *.jpg -or -iname 
*.gif -print`

   do
   echo -e \n$i
done

The first line 'find' returns is /multimedia/Pictures/1998 
Christmas/April01.JPG


Yet 'echo $i' only returns /multimedia/Pictures/1998, stopping at the 
first space.  Is it possible to get 'i' to represent the whole string 
that 'find' returns?  If so, how?


Thanks,

Drew



Actually, ignore that one. Wouldn't work like I thought it would :-(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help With 'for' Loop

2005-10-14 Thread Mark Cullen

Drew Tomlinson wrote:
Sorry to be such a pest today.  I'm working on a sh script that uses a 
for loop.  To test, I've written the following:


for i in `/usr/bin/find /multimedia/Pictures -iname *.jpg -or -iname 
*.gif -print`

   do
   echo -e \n$i
done

The first line 'find' returns is /multimedia/Pictures/1998 
Christmas/April01.JPG


Yet 'echo $i' only returns /multimedia/Pictures/1998, stopping at the 
first space.  Is it possible to get 'i' to represent the whole string 
that 'find' returns?  If so, how?


Thanks,

Drew



Wild guess.. I would say try something like this...

for i in `/usr/bin/find /home/mrboo -iname \*.jpg\ -or -iname 
\*.gif\ -print

`
do
   echo -e \n$i
done


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


Re: booting original kernel

2005-10-09 Thread Mark Cullen

Micah wrote:

Siriphan Brigder wrote:


This page from the handbook will hopefully help you:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-troub 


le.html

Good luck!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sudheer Gupta
Sent: 09 October 2005 22:51
To: freebsd-questions@freebsd.org
Subject: booting original kernel


Hi

I am using 4.1 BSD.
Made few changes to the kernel and compiled it. When trying to reboot 
using

the modified kernel, it throwed some page faults.
So, i booted using the older config namely kernel.old.
I again made few changes and recompiled the kernel with a new config.
Now, trying to boot the kernel, it neither boots with the latest nor the
older one.

How do I boot with original configuration ??

Regards
Sudheer



 From the sounds of it, when you compiled your second kernel your 
kernel.old (the original generic kernel) was overwritten by your broken 
kernel leaving you with two broken kernels and no working kernels to 
boot from.  If that's what happened you either need to reinstall FreeBSD 
or boot the install/rescue cd and try to copy the generic kernel from it.


That handbook page has a lot of good information, but most of it is 
preventative.  The best suggestion is to always keep a working copy of 
the kernel seperate from the kernel.old that FreeBSD makes for you.


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




Isn't there also /kernel.GENERIC that gets installed?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Converting from IPFW to IPFILTER

2005-10-07 Thread Mark Cullen

Charles Swiger wrote:

On Oct 6, 2005, at 5:44 PM, Brian E. Conklin wrote:


I am getting ready to switch a FreeBSD 4.11 machine from IPFW to
IPFILTER for better FTP and NAT support.



Hmm.  Is there something natd doesn't handle for your case...?


I currently have IPFW compiled into the kernel.
Do I need to recompile a kernel without IPFW before I can  enable 
IPF?

Can I just set IPFW to allow everything by default?
Thanks in advance for your advice.




You can have IPFW and IPF active at the same time, yes.



If you're going to switch to using IPF, you might want to consider  
upgrading or reinstalling the OS  to 5.4 instead of 4.11.




Are there any particular reasons why you suggest switching from 4.11 to 
5.4 if going from IPFW to IPF? Because I have just converted from IPFW2 
to IPF on 4.11-STABLE...


I did notice that IPF appears to be a rather old version. 3.something, 
where the latest version of IPF is 4.something. Is this the reason?

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


Re: Complete hangs while extracting source

2005-10-01 Thread Mark Cullen

Lowell Gilbert wrote:

Jakob Breivik Grimstveit [EMAIL PROTECTED] writes:



My entire system stops completely while unpacking large tar files, like when
building OpenOffice2.0-devel. Sound goes into a loop with a timeframe of
0.001 seconds, mouse pointer stops responding, everything goes to a halt.
This lasts about 0.5 seconds, then it starts working again, and then halts
again and so on, until the tarfile is completely uncompressed.

Is this expected behaviour? Is it a broken scheduler? Am I incuding something
in the kernel which I shouldn't have?



Sounds more like an interrupt issue.  



[EMAIL PROTECTED] conf]$ grep -i sched /usr/src/sys/i386/conf/NUSSE 
options SCHED_4BSD  # 4BSD scheduler

options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
[EMAIL PROTECTED] conf]$ uname -a
FreeBSD nusse.starshipping.com 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #17: Tue 
Sep 13 19:31:11 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NUSSE  i386



Are you seeing interrupt storms?
What kind of controller are you using on that hard disk, and is
anything else sharing the same interrupt?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



I've always had this problem (it sounds like the same thing at least) 
with FreeBSD, on every system I have tried it on, be it 4.x or 5.x.

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


Re: Bye-bye beastie ...

2005-09-27 Thread Mark Cullen

Mike Jeays wrote:

On Tue, 2005-09-27 at 11:34, Kevin Kinsey wrote:


Kirk Strauser wrote:



On Monday 26 September 2005 22:54, Ted Mittelstaedt wrote:




Here you are, I'm sure this sort of thing is what you are really
dying to have on there;
  



You owe me a new keyboard, preferably a spewed-coffee-proof one.

Sincerely,
A sincere Christian who doesn't understand what all the fuss is about.




Fortunately I'd finished my drink at the time, but I did wonder
if he could send out a Protestant version ;-D

KDK

P.S.  Of course, if it was worth the fuss, I could hack that
myself...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



As well as turning off the beastie, is there a way to suppress all the
dmesg and other output, so that the first thing to appear is the KDM or
GDM login screen?  When I show FreeBSD to people who have only seen
Windows before, their first reaction is how geeky all that text looks as
it rolls by.  They are turned off before I even get to the login
screen.  Most current Linuxes are 'better' in this respect.

I realise it may make it harder to debug failed startups...




Probably not the best solution in the world but you could try...

echo -h  /boot.config

Works for 4.11 atleast :-)


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



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


dhclient + DHCPNAK = release ip?

2005-09-24 Thread Mark Cullen

Good morning  :-)

I've recently switched ISP and got a static IP. However, my ADSL modem 
is a bit dense it seems. With a dynamic IP things worked reasonably 
well. With my new static IP, however, whenever the connection drops - I 
don't have the worlds highest quality phone line or something - either 
dhclient or the modem gets a bit confused because the IP is the same.


Here's what happens when I catch it disconnecting and do a `ifconfig 
fxp1 delete` just after the DHCPNAK:


Sep 23 10:36:19 bone dhclient: DHCPREQUEST on fxp1 to 255.255.255.255 
port 67

Sep 23 10:36:19 bone dhclient: DHCPNAK from 192.168.0.1
Sep 23 10:36:19 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 5

Sep 23 10:36:19 bone dhclient: DHCPOFFER from 192.168.0.1
Sep 23 10:36:19 bone dhclient: DHCPREQUEST on fxp1 to 255.255.255.255 
port 67

Sep 23 10:36:19 bone dhclient: DHCPACK from 192.168.0.1
Sep 23 10:36:19 bone dhclient: New Network Number: x
Sep 23 10:36:19 bone dhclient: New Broadcast Address: 255.255.255.255
Sep 23 10:36:19 bone dhclient: Reason: BOUND
Sep 23 10:36:19 bone dhclient: Old IP Address (fxp1):
Sep 23 10:36:19 bone dhclient: New IP Address (fxp1): xx
Sep 23 10:36:19 bone dhclient: New Subnet Mask (fxp1): 255.255.255.0
Sep 23 10:36:19 bone dhclient: New Broadcast Address (fxp1): 255.255.255.255
Sep 23 10:36:19 bone dhclient: New Routers: x
Sep 23 10:36:19 bone dhclient: bound to x -- renewal in 57 
seconds.


With this, all is good and my connection works again. Here's what is 
actually happening if I don't either 1) restart dhclient or 2) ifconfig 
fxp1 delete after the DHCPNAK


Sep 23 12:08:08 bone dhclient: DHCPREQUEST on fxp1 to 192.168.0.1 port 67
Sep 23 12:08:08 bone dhclient: DHCPNAK from 192.168.0.1
Sep 23 12:08:08 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 7
Sep 23 12:08:15 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 10
Sep 23 12:08:25 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 4

Sep 23 12:08:29 bone dhclient: No DHCPOFFERS received.
Sep 23 12:08:29 bone dhclient: No working leases in persistent database 
- sleeping.

Sep 23 12:08:29 bone dhclient: DEBUG: FAIL
Sep 23 12:08:30 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 5
Sep 23 12:08:35 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 6
Sep 23 12:08:41 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 10

Sep 23 12:08:51 bone dhclient: No DHCPOFFERS received.
Sep 23 12:08:51 bone dhclient: No working leases in persistent database 
- sleeping.


and it just does this forever and as a result I lost my connection.

So, my question, is there a way to make dhclient release the IP address 
on the interface whenever it gets this DHCPNAK message?


Apologies for my probably rather bad attempt at explaining my problem.

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


dhclient + DHCPNAK = release ip?

2005-09-23 Thread Mark Cullen

Good morning :-)

I've recently switched ISP and got a static IP. However, my ADSL modem 
is a bit dense it seems. With a dynamic IP things worked reasonably 
well. With my new static IP, however, whenever the connection drops - I 
don't have the worlds highest quality phone line or something - either 
dhclient or the modem gets a bit confused because the IP is the same.


Here's what happens when I catch it disconnecting and do a `ifconfig 
fxp1 delete` just after the DHCPNAK:


Sep 23 10:36:19 bone dhclient: DHCPREQUEST on fxp1 to 255.255.255.255 
port 67

Sep 23 10:36:19 bone dhclient: DHCPNAK from 192.168.0.1
Sep 23 10:36:19 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 5

Sep 23 10:36:19 bone dhclient: DHCPOFFER from 192.168.0.1
Sep 23 10:36:19 bone dhclient: DHCPREQUEST on fxp1 to 255.255.255.255 
port 67

Sep 23 10:36:19 bone dhclient: DHCPACK from 192.168.0.1
Sep 23 10:36:19 bone dhclient: New Network Number: x
Sep 23 10:36:19 bone dhclient: New Broadcast Address: 255.255.255.255
Sep 23 10:36:19 bone dhclient: Reason: BOUND
Sep 23 10:36:19 bone dhclient: Old IP Address (fxp1):
Sep 23 10:36:19 bone dhclient: New IP Address (fxp1): xx
Sep 23 10:36:19 bone dhclient: New Subnet Mask (fxp1): 255.255.255.0
Sep 23 10:36:19 bone dhclient: New Broadcast Address (fxp1): 255.255.255.255
Sep 23 10:36:19 bone dhclient: New Routers: x
Sep 23 10:36:19 bone dhclient: bound to x -- renewal in 57 
seconds.


With this, all is good and my connection works again. Here's what is 
actually happening if I don't either 1) restart dhclient or 2) ifconfig 
fxp1 delete after the DHCPNAK


Sep 23 12:08:08 bone dhclient: DHCPREQUEST on fxp1 to 192.168.0.1 port 67
Sep 23 12:08:08 bone dhclient: DHCPNAK from 192.168.0.1
Sep 23 12:08:08 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 7
Sep 23 12:08:15 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 10
Sep 23 12:08:25 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 4

Sep 23 12:08:29 bone dhclient: No DHCPOFFERS received.
Sep 23 12:08:29 bone dhclient: No working leases in persistent database 
- sleeping.

Sep 23 12:08:29 bone dhclient: DEBUG: FAIL
Sep 23 12:08:30 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 5
Sep 23 12:08:35 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 6
Sep 23 12:08:41 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 10

Sep 23 12:08:51 bone dhclient: No DHCPOFFERS received.
Sep 23 12:08:51 bone dhclient: No working leases in persistent database 
- sleeping.


and it just does this forever and as a result I lost my connection.

So, my question, is there a way to make dhclient release the IP address 
on the interface whenever it gets this DHCPNAK message?


Apologies for my probably rather bad attempt at explaining my problem.

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


tightvnc compile errors

2005-06-28 Thread Mark Cullen

Hi, I decided to install tightvnc and during the X stuff I got this error..

-

[...snip...]

rm -f xdpyinfo
cc -o xdpyinfo -O -pipe -march=pentium -ansi  -Dasm=__asm -Wall 
-Wpointer-arith -Wundef 
-L/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib   xdpyinfo.o 
-lXtst  -lXi  -lXrender -lXinerama   
-ldmx-lXxf86vm -lXxf86dga -lXxf86misc -lXext -lX11 
-L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib 
-Wl,-rpath-link,/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib

/usr/libexec/elf/ld: cannot find -ldmx
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/xdpyinfo.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients.
*** Error code 1

Stop in /usr/ports/x11-fonts/XFree86-4-fontDefaultBitmaps.
*** Error code 1

Stop in /usr/ports/x11-fonts/XFree86-4-fontDefaultBitmaps.
*** Error code 1

Stop in /usr/ports/net/tightvnc.
*** Error code 1

Stop in /usr/ports/net/tightvnc.

---

This is on FreeBSD 4.11-STABLE if it matters, ports tree updated as 
of... about 10 minutes ago. Any ideas what's going wrong? Need more info??


Thanks,
Mark

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


Re: any way to tell memory config of a machine?

2005-05-21 Thread Mark Cullen

Chad Leigh -- Shire.Net LLC wrote:

On May 21, 2005, at 8:52 AM, Lowell Gilbert wrote:



Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] writes:




I was wondering if there was any way to tell the memory configuration
of a server running FBSD 5 (while running).  By this I mean:  can I
tell if 2GB is 2x1GB or 4x512MB etc?  Obviously I can shut it down
and either look at the BIOS or physically look inside, but I would
rather not do that.



With most systems, there is no way to do this.  On many, there isn't
even a way for the BIOS to tell...




Assuming the BIOS knows (it lists the memory config on boot by slot),  
is there a FreeBSD utility that will get the info from the BIOS for me?


Thanks
Chad

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



Try 'dmidecode' in ports. /usr/ports/sysutils/dmidecode :)

Works for me...

*snip snip*
Handle 0x0006
DMI type 6, 12 bytes.
Memory Module Information
Socket Designation: BANK_0
Bank Connections: 0 1
Current Speed: 70 ns
Type: DIMM SDRAM
Installed Size: 64 MB (Single-bank Connection)
Enabled Size: 64 MB (Single-bank Connection)
Error Status: OK
Handle 0x0007
DMI type 6, 12 bytes.
Memory Module Information
Socket Designation: BANK_1
Bank Connections: 2 3
Current Speed: 70 ns
Type: DIMM SDRAM
Installed Size: 64 MB (Single-bank Connection)
Enabled Size: 64 MB (Single-bank Connection)
Error Status: OK
Handle 0x0008
DMI type 6, 12 bytes.
Memory Module Information
Socket Designation: BANK_2
Bank Connections: 4 5
Current Speed: 70 ns
Type: Unknown
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK
Handle 0x0009
DMI type 6, 12 bytes.
Memory Module Information
Socket Designation: BANK_3
Bank Connections: 6 7
Current Speed: 70 ns
Type: Unknown
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK

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


Re: dhclient oddness?

2005-04-08 Thread Mark Cullen
Lowell Gilbert wrote:
Mark Cullen [EMAIL PROTECTED] writes:

Right, I have this weird annoying issue with my modem which I have
finally got around to looking in to. Basically, it's all good and
works fine (obviously, otherwise I wouldn't be here!), except when I
reboot the internet computer the IP will change, the connection
DOESN'T drop, but the IP does change. I have just now narrowed this
down to some sort of problem with dhcp I think.
The modem has a dhcpd server built in, which sends out the internet IP
address to the computers network card. It seems, whenever the dhcp
client, dhclient in this case, gets restarted it'll get the old ip
address (the first chunk of the quote below, before the freeze),
natd will update itself, but then the connection will just stall until
dhclient does the next DHCPREQUEST thing (47 seconds in this case?)
.. then the modem sends back a DHCPNAK and I get a different IP
address. Any ideas why this might be happening?

Your modem is clearly the source of the problem, and it seems
unlikely that anything on the FreeBSD side could help, aside from
maybe forcing a lease free before starting dhclient on startup.
I'd try looking at the configuration for that modem device, or
possibly for a firmware upgrade for it.
Hi,
Could you explain what's going on to me? I mean, in simplified terms, 
what exactly is causing the modem to get a new IP address when dhclient 
restarts?  I have contacted them about the issue and they seem to think 
it's an O/S problem (well, it's *obviously* not an issue with their 
modem now, is it? :-P).

How would I go about forcing a 'lease free'? Delete dhclient.leases, or 
some option somewhere that I missed?

As for configuration, there's no config for the DHCP server and there's 
never been a firmware upgrade for it (this is the only issue I have EVER 
had with it and I expect most users don't notice it).

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


Re: dhclient oddness?

2005-04-08 Thread Mark Cullen
Lowell Gilbert wrote:
Mark Cullen [EMAIL PROTECTED] writes:

Lowell Gilbert wrote:
Mark Cullen [EMAIL PROTECTED] writes:

Right, I have this weird annoying issue with my modem which I have
finally got around to looking in to. Basically, it's all good and
works fine (obviously, otherwise I wouldn't be here!), except when I
reboot the internet computer the IP will change, the connection
DOESN'T drop, but the IP does change. I have just now narrowed this
down to some sort of problem with dhcp I think.
The modem has a dhcpd server built in, which sends out the internet IP
address to the computers network card. It seems, whenever the dhcp
client, dhclient in this case, gets restarted it'll get the old ip
address (the first chunk of the quote below, before the freeze),
natd will update itself, but then the connection will just stall until
dhclient does the next DHCPREQUEST thing (47 seconds in this case?)
.. then the modem sends back a DHCPNAK and I get a different IP
address. Any ideas why this might be happening?
Your modem is clearly the source of the problem, and it seems
unlikely that anything on the FreeBSD side could help, aside from
maybe forcing a lease free before starting dhclient on startup.
I'd try looking at the configuration for that modem device, or
possibly for a firmware upgrade for it.
Could you explain what's going on to me? I mean, in simplified terms,
what exactly is causing the modem to get a new IP address when
dhclient restarts?  I have contacted them about the issue and they
seem to think it's an O/S problem (well, it's *obviously* not an issue
with their modem now, is it? :-P).

Okay, now I'm confused.  I thought your FreeBSD machine was the one
being issued a new address, not the modem.  [And that since the
address was being issued *by* the modem, it was making the decision
about which address to choose.  I guess that means I was assuming your
modem was doing NAT.  Does the modem have an address at all?

Ooops, sorry. The FreeBSD machine does have the IP address assigned to 
it's network card. I don't quite know how it works, but they seem to 
call it 'Live IP technology'. I think maybe most people know it as 'PPP 
Half-Bridge', maybe??

The address is issued, to the FreeBSD network card, by the modem via 
DHCP. The FreeBSD machine does the NAT and everything. As far as I am 
aware the modem actually holds the IP, so it's kind of annoying that, 
just because dhclient gets restarted, the modem decides that the IP 
address has to change. Surely, since the modem's actually doing all the 
work and holding the connection, it should be able to give me back my 
old IP address?? Shouldn't it?

How would I go about forcing a 'lease free'? Delete dhclient.leases,
or some option somewhere that I missed?

I'm pretty sure that dhclient(8) has an command-line option to do it.
Ok, I will have a look and give it a try!

As for configuration, there's no config for the DHCP server and
there's never been a firmware upgrade for it (this is the only issue I
have EVER had with it and I expect most users don't notice it).

Since you've rebooted your computer anyway, why do you care?  You've
just lost all of your connections already.  

Because I would like to try and keep the same IP as long as possible :P 
I've been given admin on a game server that goes by IP address and 
cannot afford my ISPs 'static IP' options. Furthermore, they stopped 
with the 'sticky IP addresses' apparently :-(

--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dhclient oddness?

2005-04-05 Thread Mark Cullen
Right, I have this weird annoying issue with my modem which I have 
finally got around to looking in to. Basically, it's all good and works 
fine (obviously, otherwise I wouldn't be here!), except when I reboot 
the internet computer the IP will change, the connection DOESN'T drop, 
but the IP does change. I have just now narrowed this down to some sort 
of problem with dhcp I think.

The modem has a dhcpd server built in, which sends out the internet IP 
address to the computers network card. It seems, whenever the dhcp 
client, dhclient in this case, gets restarted it'll get the old ip 
address (the first chunk of the quote below, before the freeze), natd 
will update itself, but then the connection will just stall until 
dhclient does the next DHCPREQUEST thing (47 seconds in this case?) .. 
then the modem sends back a DHCPNAK and I get a different IP address. 
Any ideas why this might be happening?

-
Apr  5 17:45:01 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 6
Apr  5 17:45:01 bone dhclient: DHCPOFFER from 192.168.0.1
Apr  5 17:45:01 bone dhclient: DHCPREQUEST on fxp1 to 255.255.255.255 
port 67
Apr  5 17:45:01 bone dhclient: DHCPACK from 192.168.0.1
Apr  5 17:45:01 bone dhclient: Old IP Address (fxp1): 81.179.214.216
Apr  5 17:45:01 bone dhclient: New IP Address (fxp1): 81.179.214.216
Apr  5 17:45:01 bone dhclient: New Subnet Mask (fxp1): 255.255.255.0
Apr  5 17:45:01 bone dhclient: New Broadcast Address (fxp1): 255.255.255.255
Apr  5 17:45:01 bone dhclient: New Routers: 81.179.214.216
Apr  5 17:45:01 bone dhclient: bound to 81.179.214.216 -- renewal in 47 
seconds.
Apr  5 17:45:08 bone natd[432]: Aliasing to 81.179.214.216, mtu 1500 bytes

big pause here
Apr  5 17:45:48 bone dhclient: DHCPREQUEST on fxp1 to 192.168.0.1 port 67
Apr  5 17:45:48 bone dhclient: DHCPNAK from 192.168.0.1
Apr  5 17:45:48 bone dhclient: DHCPDISCOVER on fxp1 to 255.255.255.255 
port 67 interval 7
Apr  5 17:45:48 bone dhclient: DHCPOFFER from 192.168.0.1
Apr  5 17:45:48 bone dhclient: DHCPREQUEST on fxp1 to 255.255.255.255 
port 67
Apr  5 17:45:48 bone dhclient: DHCPACK from 192.168.0.1
Apr  5 17:45:48 bone dhclient: Old IP Address (fxp1):
Apr  5 17:45:48 bone dhclient: New IP Address (fxp1): 81.178.94.190
Apr  5 17:45:48 bone dhclient: New Subnet Mask (fxp1): 255.255.255.0
Apr  5 17:45:48 bone dhclient: New Broadcast Address (fxp1): 255.255.255.255
Apr  5 17:45:48 bone dhclient: New Routers: 81.178.94.190
Apr  5 17:45:48 bone dhclient: bound to 81.178.94.190 -- renewal in 53 
seconds.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Something wrong in stable 5.3?

2004-12-30 Thread Mark Cullen
Eugene M. Minkovskii wrote:
Hi!
I'm confusing now: about a month ago I have upgrated from FreeBSD
5.2.1 to stable 5.3. Since this moment strange things have been
happens on my PC. Usually system works Ok, and can be run as long
as I need without errors. But sometime, (after a little time
after the boot) all begin crashed (core dump --- signal 11).
Crashed base utility, like `cat', `sh' etc.
Today I have cvsup'ed to stable 5.3 again, and build world again,
but problem don't go away.
I don't understand what I should do to detect source of problem...
Have you any idea?
Sounds like possible overheating? I had base utils core dump randomly 
after a while when I tried running an old .. Celeron 400(?) with a big 
chunk AMD heatsink on and without a fan. After I noticed I plugged the 
fan back in and all was well again.

--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 4.8

2004-12-12 Thread Mark Cullen
Kevin D. Kinsey, DaleCo, S.P. wrote:
Chuck Swiger wrote:

Jerry Hoover wrote:

I would like to learn FreeBSD 4.8  (I think I have a copy)
What I need to know,  what does it require?
CPU?
RAM?
Hard Drive Space?

A 486-grade CPU or later, 16MB of RAM, and 1 GB of disk space is 
something resembling a minimum configuration.  If you want to run a 
GUI environment involving X11, make that a Pentium-2 grade system and 
64+ MB of RAM, and 4+ GB of disk space.


Rather long list of techie details (for the PC-compat architecture):
http://www.freebsd.org/releases/5.3R/hardware-i386.html
Or for 4.8...
http://www.freebsd.org/releases/4.8R/hardware-i386.html
I've got 4.10 running on an old 133MHz P1, without the external cache 
plugged in as it was faulty, and 64MB of RAM.. chugs along quite nicely :)

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

--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Increase 'routetbl' maximum size?

2004-12-11 Thread Mark Cullen
Nothing bad has happened.. yet. But the high memory usage column for 
routetbl on vmstat -m looks like it got close to limits.

high  limit
routetbl 29192  3953K   8681K 10210K 160873650 0  16,32,64,128,256
Suppose it did reach the limit, what would happen? Would it straight out 
panic or try and free some ... routetbl memory, I guess it would be? 
Should I be concerned?

--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linux kernel on FreeBSD

2004-12-10 Thread Mark Cullen
Jeff Lawlor wrote:
On Fri, 2004-12-10 at 09:07, Ruben de Groot wrote:
On Fri, Dec 10, 2004 at 08:49:50AM -0600, Jeff Lawlor typed:
For programs that require linux kernel source code what about copying
the linux kernel source files from a linux box on to the FreeBSD
machine?  Has anyone tried this?   
Please name 1 program that requires linux kernel source code to run.

Cisco VPN.
Port:   vpnc-0.3.2
Path:   /usr/ports/security/vpnc
Info:   Client for Cisco 3000 VPN Concentrator
Maint:  [EMAIL PROTECTED]
B-deps: expat-1.95.8 gettext-0.13.1_1 gmake-3.80_2 libgcrypt-1.2.0_1 
libgpg-error-1.0_1 libiconv-1.9.2_1 perl-5.8.5
R-deps: expat-1.95.8 gettext-0.13.1_1 libgcrypt-1.2.0_1 
libgpg-error-1.0_1 libiconv-1.9.2_1 perl-5.8.5

This one? I have no idea what this thread is about, but that's in ports. 
Wouldn't Linux emulation work anyway?

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

--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linux kernel on FreeBSD

2004-12-10 Thread Mark Cullen
Jerry McAllister wrote:
Jeff Lawlor wrote:
On Fri, 2004-12-10 at 09:07, Ruben de Groot wrote:

On Fri, Dec 10, 2004 at 08:49:50AM -0600, Jeff Lawlor typed:

For programs that require linux kernel source code what about copying
the linux kernel source files from a linux box on to the FreeBSD
machine?  Has anyone tried this?   
Please name 1 program that requires linux kernel source code to run.

Cisco VPN.
Port:   vpnc-0.3.2
Path:   /usr/ports/security/vpnc
Info:   Client for Cisco 3000 VPN Concentrator
Maint:  [EMAIL PROTECTED]
B-deps: expat-1.95.8 gettext-0.13.1_1 gmake-3.80_2 libgcrypt-1.2.0_1 
libgpg-error-1.0_1 libiconv-1.9.2_1 perl-5.8.5
R-deps: expat-1.95.8 gettext-0.13.1_1 libgcrypt-1.2.0_1 
libgpg-error-1.0_1 libiconv-1.9.2_1 perl-5.8.5

This one? I have no idea what this thread is about, but that's in ports. 
Wouldn't Linux emulation work anyway?

I think it was sort of a newbie question from someone who has yet to
learn about ports and also the Linux emulation available in FreeBSD.
Oh right :-) I read something earlier in this thread about the lack of 
features in the *BSD firewalls. Dunno about that because I haven't used 
Linux for years, but I think the BSD firewalls are fab! The syntax is 
understandable and a dummy like me can get a vague idea of what's going 
on anyhow.

First they seemed to think they would have to somehow import the Linux 
kernel in to FreeBSD somehow to run a Lunix driver, showing unfamiliarity 
with the Linux emulation already there that allows Lunix stuff to be run.   

Then they did not seem to know about the vpnc (or other stuff) already in 
ports to perform the function[s] they want.   I have to admit, searching
/usr/ports can be a bit time consuming and tedius if you get started on
a wrong track.
Yeah, sometimes! http://www.freshports.org/ was nice last time I looked 
:-) Has someone perhaps pointed him/her towards the handbook?

Anyway, hopefully, you have enlightened them.
I think you did all the enlightening needed in your last post!
jerry


--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


lcdproc port

2004-11-28 Thread Mark Cullen
Just to tell you I got the newest version of lcdproc to compile (0.4.5). 
I don't have an LCD ready yet, so I don't know if it works.. but it 
compiles now.

Attached is a tar of the patches in the 'files' directory. It seems 
there was no need for patch-port anymore, so I removed that and fixed 
the configure patch.

Perhaps someone can test it out and update the port?
--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/


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


Realtek 8100B

2004-11-03 Thread Mark Cullen
Just wondering if anyone knows if this has the same 'bad design' as the 
8139 cards. I'm looking at an embedded board computer which can either 
have 3xRealtek 8100B's or 3xIntel 82559's.

The Realtek version is £170 and the Intel version says to contact them 
for a price, I think it's going to be in the £200 mark somewhere, as I 
have seen a board similar somewhere else with 3xIntels (maybe 2) and it 
was £212 ish.. so, if the 8100B's are improved, I'll look into getting 
that and saving me some money.
--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Serial console weirdness

2004-10-26 Thread Mark Cullen
Ok, I am having a bit of trouble setting up a serial console login. The 
cable is attached to com1, heres my /etc/ttys

# If console is marked insecure, then init will ask for the root password
# when going to single-user mode.
console noneunknown off secure
#
ttyv0   /usr/libexec/getty Pc cons25  on  secure
# Virtual terminals
ttyv1   /usr/libexec/getty Pc cons25  on  secure
ttyv2   /usr/libexec/getty Pc cons25  on  secure
ttyv3   /usr/libexec/getty Pc cons25  on  secure
ttyv4   /usr/libexec/getty Pc cons25  on  secure
ttyv5   /usr/libexec/getty Pc cons25  on  secure
ttyv6   /usr/libexec/getty Pc cons25  on  secure
ttyv7   /usr/libexec/getty Pc cons25  on  secure
ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0   /usr/libexec/getty std.115200 dialup  on  secure
ttyd1   /usr/libexec/getty std.9600   dialup  off secure
ttyd2   /usr/libexec/getty std.9600   dialup  off secure
ttyd3   /usr/libexec/getty std.9600   dialup  off secure
# Dumb console
dcons   /usr/libexec/getty std.9600   vt100   off secure
As you can see I have set ttyd0 to on (and adjusted the speed, but it 
was the same on 9600 to0)

Now, my problem is that when I do a kill -HUP 1 nothing happens; Well, I 
am sure something happens, it certainly doesn't start getty on that 
serial port though! However(!) when I start getty manually on that port:

/usr/libexec/getty std.9600 ttyd0
It promptly goes into the background and on my other machine I get the 
login prompt and all is well (until I logout as getty isn't being 
respawned). I didn't see anything logged as to why it's not working.

I will mention that I yanked the (very very broken) graphics card out of 
that machine, so there's no ttyv's. Do I need to make the serial console 
my ... console/display for getty to start working again perhaps?

Any help would be much appreciated.
--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Serial console weirdness

2004-10-26 Thread Mark Cullen
Artem Kazakov wrote:
Mark Cullen wrote:
Ok, I am having a bit of trouble setting up a serial console login. The 
cable is attached to com1, heres my /etc/ttys

# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0   /usr/libexec/getty std.115200 dialup  on  secure
Now, my problem is that when I do a kill -HUP 1 nothing happens; Well, I 
am sure something happens, it certainly doesn't start getty on that 
serial port though! However(!) when I start getty manually on that port:

/usr/libexec/getty std.9600 ttyd0
It promptly goes into the background and on my other machine I get the 
login prompt and all is well (until I logout as getty isn't being 
respawned). I didn't see anything logged as to why it's not working.

I will mention that I yanked the (very very broken) graphics card out of 
that machine, so there's no ttyv's. Do I need to make the serial console 
my ... console/display for getty to start working again perhaps?

Any help would be much appreciated.
probably you need to change dialup with something (like vt100) sutable 
your enviroment

I have tried cons25, xterm and (now) vt100. It's not that...
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0   /usr/libexec/getty std.115200 cons25  on  secure
ttyd1   /usr/libexec/getty std.9600   dialup  off secure
ttyd2   /usr/libexec/getty std.9600   dialup  off secure
ttyd3   /usr/libexec/getty std.9600   dialup  off secure
# Dumb console
dcons   /usr/libexec/getty std.9600   vt100   off secure
# Pseudo terminals
ttyp0   nonenetwork
/etc/ttys: 307 lines, 7539 characters
(root|bone)/home/mrboo# kill -HUP 1
(root|bone)/home/mrboo# ps ax | grep getty
21134  p0  R+ 0:00.02 grep getty
(root|bone)/home/mrboo#
Note: I have no getty processes as there's no graphics card, so I am 
guessing if it was working right I would start to see a:

/usr/libexec/getty std.115200 ttyd0
It appears in the process list (and works) when I run the above manually!
--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Serial console weirdness

2004-10-26 Thread Mark Cullen
Mark Cullen wrote:
Artem Kazakov wrote:
Mark Cullen wrote:

Ok, I am having a bit of trouble setting up a serial console login. The 
cable is attached to com1, heres my /etc/ttys

# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0   /usr/libexec/getty std.115200 dialup  on  secure
Now, my problem is that when I do a kill -HUP 1 nothing happens; Well, I 
am sure something happens, it certainly doesn't start getty on that 
serial port though! However(!) when I start getty manually on that port:

/usr/libexec/getty std.9600 ttyd0
It promptly goes into the background and on my other machine I get the 
login prompt and all is well (until I logout as getty isn't being 
respawned). I didn't see anything logged as to why it's not working.

I will mention that I yanked the (very very broken) graphics card out of 
that machine, so there's no ttyv's. Do I need to make the serial console 
my ... console/display for getty to start working again perhaps?

Any help would be much appreciated.
probably you need to change dialup with something (like vt100) sutable 
your enviroment


I have tried cons25, xterm and (now) vt100. It's not that...
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0   /usr/libexec/getty std.115200 cons25  on  secure
ttyd1   /usr/libexec/getty std.9600   dialup  off secure
ttyd2   /usr/libexec/getty std.9600   dialup  off secure
ttyd3   /usr/libexec/getty std.9600   dialup  off secure
# Dumb console
dcons   /usr/libexec/getty std.9600   vt100   off secure
# Pseudo terminals
ttyp0   nonenetwork
/etc/ttys: 307 lines, 7539 characters
(root|bone)/home/mrboo# kill -HUP 1
(root|bone)/home/mrboo# ps ax | grep getty
21134  p0  R+ 0:00.02 grep getty
(root|bone)/home/mrboo#
Note: I have no getty processes as there's no graphics card, so I am 
guessing if it was working right I would start to see a:

/usr/libexec/getty std.115200 ttyd0
It appears in the process list (and works) when I run the above manually!
I'll reply to myself here.
I just now created /boot.config with -h, rebooted, and all is well. With 
the added bonus of it being a serial console at the boot loader part. I 
am impressed :)

Can't seem to get it to work with anything other than 9600 (even though 
the process list shows std.115200), but it gives me some sort of of 
display to work with during the boot process atleast :)

--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: First impressions of FreeBSD 5.3

2004-10-26 Thread Mark Cullen
Gordon Freeman wrote:
Well, After upgrading a very vanilla 5.2.1 to 5.3 a lot of things are
just broken.
ipfstat doesn't run. The error:
openkmem:open:no such file or directory
My RAID card (Adaptec 2150 using asr driver) is inaccessible because
the rasr control device no longer exists. Making raidutil useless.
And the server runs incredibly slow. (No I didn't leave in the testing options)
The upgrade was far from smooth for me. Which was mostly my fault
(/usr/src/UPDATING is a must read) but that doesn't really explain why
things are running so badly on this box.
ACPI is disabled, and aside from including IPF and SMP options into
the kernel, it is a very generic kernel as well.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Not an answer to your question but on my (old 133MHz) box 5.x is alot 
lot slower than 4.x. But I think the general response there will be... 
you shouldn't run 5.x on such a slow box :)

--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How is 4-STABLE doing these days?

2004-10-24 Thread Mark Cullen
Hi there,
I was just wondering what the state of 4-STABLE is these days? I have 
just installed 4.10-R on a machine and was going to update it to STABLE.

What sort of changes have there been in STABLE since 4.10-R was 
released? UPDATING just stops at 4.10 released.
--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How is 4-STABLE doing these days?

2004-10-24 Thread Mark Cullen
Mike Hauber wrote:
On Sunday 24 October 2004 12:04 pm, Mark Cullen proclaimed:
Hi there,
I was just wondering what the state of 4-STABLE is these
days? I have just installed 4.10-R on a machine and was
going to update it to STABLE.
What sort of changes have there been in STABLE since
4.10-R was released? UPDATING just stops at 4.10
released.

First off thanks to both the people who replied so far!
That's interesting, now that you mention it.  I've kept up 
to date with the changes by subscribing to the 
freebsd-stable list.  As far as I know (and hopefully I'm 
wrong on this...), it's is the only way to read up on the 
actual changes as they take place.  
Whoops, sorry. Forgot about the other lists :)
The only problem is that you'll have to put on your waders 
to find anything specific.  See the following link for more 
info on the mailing list (link may have wrapped):

http://lists.freebsd.org/mailman/listinfo/freebsd-stable
I'll look there now :)
If you don't want to subscribe to the list, the archives are 
available from the link above as well.

I've cvsup'd just a few days ago and I'm running the latest 
4.10-STABLE on two machines (one is setup as a desktop and 
the other provides various services to the LAN).  If it's 
any help, it runs like a dream.  :)
I'm switching back from 5.x due to instability. I should probably go 
RELEASE and install the patches, but I can't help thinking STABLE would 
be a better choice :)

HTH,
It does, thank you very much!
Mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: WDMA mode won't enable? Old machine...

2004-10-20 Thread Mark Cullen
Nathan Kinkade wrote:
On Tue, Oct 19, 2004 at 10:18:18PM +0100, Mark Cullen wrote:
I have a rather old machine acting as a home server. According to dmesg 
it has a:

--
atapci0: Intel PIIX WDMA2 controller port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
--

However, both hard disks attached are running in PIO mode.
--
ad0: 4103MB ST34321A [8894/15/63] at ata0-master BIOSPIO
ad2: 6194MB IBM-DADA-26480 [13424/15/63] at ata1-master BIOSPIO
--
I tried running the following, but as you can see the end result is that 
they are still running BIOSPIO.

--
(root|bone)/home/mrboo# atacontrol mode 0 WDMA2 WDMA2
Master = BIOSPIO
Slave  = BIOSPIO
--
Any suggestions as to how I might enable some sort of DMA on these 
drives? Since the machine is rather slow (133MHz) and it's currently 
using polled IO I am sure it will likely benefit me, even if it isn't 
quite UDMA :)

You should check out the following sysctl variables:
Good call!
hw.ata.ata_dma
hw.ata.atapi_dma
These are readonly at runtime, so need to be set at boot in the file
/boot/loader.conf.  You can add the them like so:
Unfortuantly...
(mrboo|bone)/home/mrboo$ sysctl hw.ata.
hw.ata.ata_dma: 1
hw.ata.wc: 0
hw.ata.atapi_dma: 0
ATAPI is just CD drives isn't it? Mainly? If that's the case 0 is ok for 
that one, as it doesn't have a CD drive anymore.

hw.ata.ata_dma=1
hw.ata.atapi_dma=1
Also, as I understand it, 80 conductor ribbon cables were only
recommended at UDMA modes =2, but perhaps you might consider using one
just to be safe.
Well I can't use a newer cable on one of the drives as it is a laptop 
drive, using one of those 'special' laptop cable things :-)

Thanks, but any other ideas as to why it won't enable? I don't seem to 
get any messages out of it, just doesn't want to do anything by the 
looks of it!

Nathan

--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


WDMA mode won't enable? Old machine...

2004-10-19 Thread Mark Cullen
I have a rather old machine acting as a home server. According to dmesg 
it has a:

--
atapci0: Intel PIIX WDMA2 controller port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
--

However, both hard disks attached are running in PIO mode.
--
ad0: 4103MB ST34321A [8894/15/63] at ata0-master BIOSPIO
ad2: 6194MB IBM-DADA-26480 [13424/15/63] at ata1-master BIOSPIO
--
I tried running the following, but as you can see the end result is that 
they are still running BIOSPIO.

--
(root|bone)/home/mrboo# atacontrol mode 0 WDMA2 WDMA2
Master = BIOSPIO
Slave  = BIOSPIO
--
Any suggestions as to how I might enable some sort of DMA on these 
drives? Since the machine is rather slow (133MHz) and it's currently 
using polled IO I am sure it will likely benefit me, even if it isn't 
quite UDMA :)

--
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]