Asking the experts. . .

2005-08-13 Thread Bryan Maynard
I'm setting up a web/mail/source coude server for my open source project 
and am using FreeBSD.

My first concern is security. I read through the appropriate area of the 
Handbook and really enjoyed it. However, I do not know what suid, guid, 
and the like are. I've look up the man pages, but am still confused. It 
seems like the suid bit means that only the file owner can execute the 
file. Is this true? Also, does anyone have any security tips? I am new 
to all this and so am looking for as much info as possible. I would 
like to get a (few) book(s) on FreeBSD and security - any 
recommendations?

My second concern is performance. I read the tuning man page and was a 
little confused. Could anyone help me with this? Reasources and/or 
advice would be great.

I am using Apache/PHP/MySQL, eGroupWare, and SubVersion so far. I also 
need an email server. I will need mailing lists. I would like to 
support IMAP, but am unfamiliar with it. I understand POP3 as I have 
dealt with it for a while. What are the tradeoffs and/or advantages of 
IMAP? I know IMAP is supposed to be newer and better, but how? In 
addition to mailing lists, contributors will also get e-mail addresses 
for the project. I'd like to use ClamAV for e-mail virus protection - 
but need some pointers for installation and configuration.

Right now I am running FreeBSD 5.4, Apache 2.0.54, MySQL 4.1, and 
eGroupWare 1.0.0.008.

Thanks is advance :-)

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4-release install problem

2005-08-04 Thread Bryan Maynard
On Thursday 04 August 2005 02:33 pm, Darryl Hoar wrote:
Greetings,
I downloaded the 5.4-release iso images from the freebsd website.
I used my windows machine and Nero to burn the iso images to
cd's.

I have an old machine that I am trying to install 5.4-release on.
It is a PII 333, SCSI with 30GB scsi hard drive.

I place cd 1 in the drive (disk 1 iso) and reboot the machine.
When it boots, it looks to the cdrom drive as the first boot device.
When it does, my screen is full of scrolling text which looks like
dump info.  It scrolls on and on.

If the text starts grey, then switches to white, then turns grey again 
that's FreeBSD booting. After a little bit sysinstall should load. 
sysinstall is the utility used to install FreeBSD.

Any ideas on the problem ?

So far it doesn't sound like anything is wrong. Have you read the 
handbook at: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html ?

thanks,
Darryl

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4-release install problem

2005-08-04 Thread Bryan Maynard
[Deleted]

Well,
I went and tried to look at the scrolling text.  It had several
 columsn with in err ef1 cip.  Their is a line that says:
BTX Halted.
ss:esp=

I'm pretty sure this is not the normal boot process.  I'll look at the
handbook as suggested.

-Darryl

I found this when I Googled BTX Halted. ss:esp= :
 
| BTX Loader 1.00 BTX version is 1.01
 
| int=0006  err=  efl=00010246  eip=1934
| eax=00021d60  ebx=  ecx=  edx=
| esi=  edi=00020c34  ebp=00094bec  esp=00094bdc
| cs=0026  db=0033  es=0033  fs=0033  gs=0033  ss=0033
| cs:eip=0f 44 d6 89 55 fc 46 83-2c b7 00 74 05 83 fa ff
| ss:esp=00 00 00 00 00 00 00 00-00 00 00 00 ff ff ff ff
| BTX halted
 

|did you try a hard power reset after this message?  I have an old 
|IBM intellistation that does the same thing with 5.x.  After I install 
|I get the BTX halted, but if I cold boot it after the message it
|will boot.

It sounds like you get the BTX Halted error before you install, is that 
correct? If I remember correctly, the ISO image from the web site 
should have an MD5 hash. Have you compared the hash on the web site 
with the hash of the ISOs you downloaded?

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Apache problems

2005-08-04 Thread Bryan Maynard
I know this isn't directly freebsd related, but this list has been good 
to me before.

I am running 5-STABLE. I installed Apache 2.1.4 using make install clean 
after updating my ports collection. Everything seemed to go fine. I 
then installed mod_php5 via make install clean. I added 192.168.1.102 
thereallm.org to my /etc/hosts file (I am testing this box before I 
send it out for co-located hosting). When I run apachectl start I get 
no errors - even with -e, but there's no pid for apache or httpd in top 
(via top | grep httpd or top | grep apache).

Thanks,

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: package database corruption

2005-08-02 Thread Bryan Maynard
On Tuesday 02 August 2005 07:36 pm, Kris Kennaway wrote:
On Tue, Aug 02, 2005 at 12:44:05PM -0400, dave wrote:
 Hello,
 I've got a 5.4 box, that was working fine until it somehow lost
 it's correct date. A port upgrade was atempted while in this state
 then when it failed, it was handed off to me to fix. THe problem is
 in the f-prot-sig package, it's not updating it's either wanting v
 20050705 or 20050730 it says 20050730 is install but a portversion
 -l  shows f-prot-sig still needing updating. I tried just
 updating that package with portupgrade f-prot-sig and it said the
 package wasn't updated because it was already marked as ignored. I'm
 hoping i don't have to uninstall and reinstall the packages on this
 box, any help appreciated.

Make sure you updated your index (e.g. make fetchindex) before
updating ports, or portupgrade won't know which need to be updated.

You could also give portsnap a go. It's under the ports collection.

Kris
Thanks,

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hard drive not properly dismounted

2005-08-02 Thread Bryan Maynard
On Tuesday 02 August 2005 08:08 pm, [EMAIL PROTECTED] wrote:
Hello,

I have a second hard drive in my docking station that gets mounted at
 each boot as /hd2.

For the  past few weeks, everytime I boot, I get the message

/hd2 not properly dismounted

I have a script in /usr/local/etc/rc.d that automatically mounts and
 unmounts /hd2 at boot and shutdown.

Also, if I just unmount /hd2 manually, I still get that message.

I've run fsck on it, can still access when booted, and don't see
 anything wrong.

Why am I getting that message?

If the laptop (or docking station) lost power or was forcably powered 
off the drive will be left in an inconsistant state - causing the error 
message you're seeing.

I have had this happen to me a few times. I booted into single-user mode 
by entering boot -s at the boot countdown (after pressing space). 
Once the system is up (and before I mount any drives) I run fsck -y. 
This runs fsck and answers yes to all questions. Check the man-page 
for all availible options. If you want to run fsck interactively, leave 
-y off.

Any ideas?

Hope that helps :-D

Thanks,
DW

Thanks,

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backup kernel - confirmation

2005-07-28 Thread Bryan Maynard
On Thursday 28 July 2005 02:10 pm, Norberto Meijome wrote:
 quick question - I have a remote box with SMP/HTT disabled, but I'd
 like to see how it works with it. If I make a copy of my current
 kernel to /kernel_orig, I should be able to install the SMP one as
 /kernel, and if hell breaks lose, I should be able to point it to
 /kernel_orig ... right?

Yes, you can do that. Also of note is that when FreeBSD compiles a 
kernel it takes the old kernel and renames it kernel.old. When FreeBSD 
is booting you can select which kernel to use simpy by entering 
boot /boot/kernel.old/kernel or boot /boot/kernel_orig/kernel. I 
did this when I was tweak the kernel in my laptop. Check the boot man 
page for more info.

 any caveats for this? ( I do off-band access to the server)

Booting using boot /boot/kernel.old/kernel runs as if you were booting 
using your current kernel. I ran my laptop all day on my old kernel and 
did't see any problems.

 thanks in advance,
 Beto

Thanks,

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: huh?

2005-07-28 Thread Bryan Maynard
On Thursday 28 July 2005 06:55 pm, Kirk Strauser wrote:
 On Wednesday 27 July 2005 10:39, Chris wrote:
   Do you have curses like cisco rhce msce CCNA , maybe
   for free ?

  YOU - are an idiot... Read the list name... FreeBSD Questions...

 I think he meant to ask, are there FreeBSD certifications similar to
 RHCE, MSCE, etc.?, which is a perfectly legitimate question.  Don't
 be so quick to anger.

Thank you for saying that. I'd actually be interested in FreeBSD 
certification. I've learned a lot, but there's still so much I don't 
know :-)

Thanks,

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help

2005-07-19 Thread Bryan Maynard
On Tuesday 19 July 2005 10:14 am, Rommi Alvian (MTHK/EDP) wrote:
  I am deeply interested with freeBSD. currently, i am a windows expert
 then i am trying to move into freeBSD. The problem is no one can teach
 me. i have read xxxguide but it can't help me. does freeBSD support
 GUI interface?

How far have you gotten with your FreeBSD install? What version are you 
trying to install? What books/guides have you read?

 please help step by step..

The more information we have, the better we can help you :-)

 thanks

Thank you for trying FreeBSD!

 alvian

Bryan

P.S. I had a lot of trouble in the beginning too. I got a lot of good 
help from this mailing list. Now I have two fully-functioning installs 
- a desktop (Dell Dimesion 2400) and a laptop (Dell Latitude C600). It 
can be done and is well worth the effort :-)
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cdrom mount question

2005-07-08 Thread Bryan Maynard
I am not sure which list to post this to, I'll start here. :-) I am trying to 
play a CD through amaroK in KDE, but when I try to mount the disc I get the 
following error:

cd9660: /dev/acdo: Operation not permitted

I am not running as root when trying to access the device and I'm sure this is 
the problem. . . I just don't know how to fix it :-).

Thanks for all your help!

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel question

2005-07-08 Thread Bryan Maynard
On Friday 01 July 2005 11:02 pm, Nikolas Britton wrote:
 On 7/1/05, Bryan Maynard [EMAIL PROTECTED] wrote:
  I read through your kernel - very nice comments, thanks a lot!
 
  I compiled the kernel and boot-up is noticably faster, thanks again!

  I would like to investigate transfering all the device info from boot -v
  to LATITUDE_C600.hints. I don't really know what most of the info from
  boot -v means, I'd like to work on figuring it out. Maybe you could help
  me learn and we could figure it out together?

  Any help you could give you be greatly appreciated!

  One thing of note: I don't have any sound. I've never had sound, but after
  booting with the new kernel I went into KDE's control panel and tested the
  sound system, but nothing came out. I didn't get any errors when it
  restarted the sound system so I'm not sure what's up.

 Your using the wrong driver. the one you want is snd_maestro3. Add
 this to your loader.conf file:

 #sound_load=YES#PCM Sound Support
 #snd_driver_load=YES  # Loads every sound drivers it can find
 snd_maestro3=YES # Your driver
 hw.snd.maxautovchans=4 #sets up up to 4 virtual audio channels on demand
 #hw.snd.targetirqrate=36# read the sound man page
 #hint.pcm.0.buffersize=16384 #read the sound man page

 After you do that reboot and retest it. first thing is to check dmesg.
 dmesg|grep -i pcm and do the same for ess and maestro, you should see
 that it was detected. also you should try
 'cat /dev/sndstat'. fire up X and well, anyways if everything is
 working put the driver in the kernel config file and comment it out in
 loader.conf. I'll see what I can do about your other questions later,
 right now I need a smoke and have work to do.

My sound is working now, thanks :-)
My battery doesn't seem to be charging though. . . Everytime I boot dmesg 
tells me that my battery has a critically low charge. I do not know how to 
correct this. I just need my battery to work and I'll have a fully functional 
laptop!

  I've incuded the dmesg output from the new kernel boot in case you need to
  look at it along with my current CUSTOM.hints file (maybe it'll help. . .
  :-?)

  Anyway, thanks a lot for the new kernel, it works like a charm!

  Bryan

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

Thanks for all your help!

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple question

2005-07-06 Thread Bryan Maynard
I just want to note: it tokk all of five minutes to get an answer to this 
question. I know not all questions are, or can be, answered this quickly. I 
just think it's worth noting that Open Source Software does have excellent 
user support. . .

Just my .02 :-)

On Wednesday 06 July 2005 07:45 pm, Efren Bravo wrote:
 Hi again,

 I'm reading a Pdf book downloaded from freeBSD.org called FreeBSD
 Handbook and there I always find this references:

 sendmail(8)
 sshd(8)
 /etc/inetd.conf(5)  -Which is the meaning of those numbers

 Thanks


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

Thanks,

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.4 ndis support

2005-07-05 Thread Bryan Maynard
On Tuesday 05 July 2005 08:25 am, Tobias Tom wrote:
 Anyway, there is a utility in 5.4 (I think that's that's where it showed 
up)
 called ndisgen. Running ndisgen steps you through a wonderful little 
script
 that asks for for the location of your INF and SYS files, generates you .h
 file and kernel module.
I did that ... thank you very much ... it generated a rt2500_sys.ko ..
and that could be loaded by hand.
 
No problem, glad I could help! :-D

Now I have just the Problem left that it does not work when i try to
load it on boot. Is there anything I have to do except copy that file
to /boot/kernel and enter load_rt200_sys=yes to loader.conf?
 
As long as you're not using DHCP that should work fine. I'm actually trying to 
get my Linksys WPC11 ver.4 to load at boot and grap an IP through DHCP, but I 
don't think it's possible (if anyone has any ideas on this I'd love to hear 
them :-)). If you can assign a static IP to your wireless card through your 
router you should be fine. 

Just bind your wireless car's MAC address (found using ifconfig -a and 
looking for the ether property of the ndis0 device) to your chosen IP 
address using your router (if your router can hand out static IPs it should 
be able to map those static Ips to a MAC address).

If you have any problems, or questions, please provide your router's model 
number and we'll do some research. . .

You could also try putting your chosen static IP address in your kernel's 
kernel.hints file (if you're using the GENERIC kernel it'll be 
GENERIC.hints). I'm not sure what the syntax for that would be though. . . 
might be something fun to experiment with :-D

 I was getting the same No such file or directory error until I ran 
ndisgen.
Maybe you could try kldload ./your .ko file. That worked here.
 
And after all, I saw that inside the manual is written down that only
prism chipset cards are supported to run as an access point. Is that
still correct? Or is there any change to get it run. The Interface
seems to work now. When I try to use wicontrol it tells me wicontrol:
SIOCGWAVELAN: Device not configured. Please tell me that my card will
work, too ;o)

Thanks for your Help

Regards

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


If you have any more questions please feel free to ask.

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.4 ndis support

2005-07-03 Thread Bryan Maynard
I've been having issues with ndis myself. However, I got some help and things 
are going good for me, except that i haven't gotten DHCP to work for the 
card. . .

Anyway, there is a utility in 5.4 (I think that's that's where it showed up) 
called ndisgen. Running ndisgen steps you through a wonderful little script 
that asks for for the location of your INF and SYS files, generates you .h 
file and kernel module.

I was getting the same No such file or directory error until I ran ndisgen.

Give it a try. :-D

Bryan

On Sunday 03 July 2005 10:10 am, Tobias Tom wrote:
 Hello everyone,
 
 I'm using FreeBSD for some years now. I've read the german Mailinglist
 for nearly the same time. But I've got a Problem which no one can
 reproduce, or no one know any solution.
 
 I want to use my Level One wnc 0301 WLAN PCI Card in my FreeBSD box
 with acts as a Router in my small Home Network.
 I've found no drivers or buildin support for that Card. Google, and
 the Manufactor told me that it is using the raltech rt2500 chip. I
 found a page where someone builds a driver for FreeBSD CURRENT, but it
 is not portable for the 5.x branch.
 
 Someone told me that I could use the ndis Feature which occured in
 FreeBSD 5.3. I'm not sure how happy I am with Windows Drivers on my
 FreeBSD Box, but for now i don't see any alternative.
 
 So I tried to get ndis Support up like it is described inside the
 Manual, and inside the first commit Message of the Files. Building
 seems to work really fine. I've created the ndis_driver_data.h from my
 driver INF and Driver SYS. Ran make  make install and everything was
 finished without any error.
 
 Then I tried to load the ndis support with kldload ndis. It results
 into the following Error Message: kldload: can't load ndis: No such
 file or directory So I looked it the file is really not existing. But
 it exists, ls output is:
 -rwxr-xr-x  1 root  wheel  91686 Jul  3 15:37
 /usr/src/sys/modules/ndis/ndis.ko
 So I looked into dmesg and saw the following Error:
 
 link_elf: symbol VOP_GETATTR_APV undefined
 KLD if_ndis.ko: depends on ndisapi - not available
 
 After I could not get something usefull out for me (others might be
 more successfull ;o) I looked again into the man page of ndis. Under
 Synopsis the following lines are written down:
 options NDISAPI
 device ndis
 device wlan
 
 So I though when i cannot build ndis as module, or maybe the ndisapi
 come directly from the kernel, i could build my custom kernel with
 these options. It stoped with these Lines:
 
 cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
 -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I.
 -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
 -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
 -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath
 -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm
 -I/usr/src/sys/dev/twa -D_KERNEL -include opt_global.h -fno-common
 -finline-limit=8000 --param inline-unit-growth=100 --param
 large-function-growth=1000  -mno-align-long-strings
 -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
 -ffreestanding -Werror  /usr/src/sys/compat/ndis/subr_ntoskrnl.c
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c: In function `KeRemoveQueueDpc':
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3115: warning: dereferencing
 `void *' pointer
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3115: error: request for
 member `mtx_lock' in something not a structure or union
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3115: warning: dereferencing
 `void *' pointer
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3115: error: request for
 member `mtx_recurse' in something not a structure or union
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3115: warning: dereferencing
 `void *' pointer
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3115: error: request for
 member `mtx_lock' in something not a structure or union
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3117: warning: dereferencing
 `void *' pointer
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3117: error: request for
 member `mtx_recurse' in something not a structure or union
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3117: warning: dereferencing
 `void *' pointer
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3117: error: request for
 member `mtx_recurse' in something not a structure or union
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3117: warning: dereferencing
 `void *' pointer
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3117: error: request for
 member `mtx_lock' in something not a structure or union
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3123: warning: dereferencing
 `void *' pointer
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3123: error: request for
 member `mtx_recurse' in something not a structure or union
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3123: warning: dereferencing
 `void *' pointer
 /usr/src/sys/compat/ndis/subr_ntoskrnl.c:3123: error: 

Re: Test messages to -questions

2005-07-01 Thread Bryan Maynard
Pardon my newness, but what is top posting?

Thanks,

Bryan

On Friday 01 July 2005 06:56 pm, Lane wrote:
 On Friday 01 July 2005 13:30, Robert Marella wrote:
  Jerry McAllister wrote:
  I say burn 'em on the cross.  Why do you need to test to see if you can
   post before you actually post a question?  If your first
   question/comment doesn't go through, you know it's not working.  And
   subsequent tests can be the same question/comment with a datestamp.
  
  Just my 2 cents.
  
   Now figure in inflation and that make it
  
   Anyway, it is a little silly, but it is, by far, one of the least
   annoying unnecessary messages we see on the list and much less
   bothersome than some of the long diatribes about MS or GUIs or
   other troll bait or some psuedo-legal jargon by amateur bar jockeys
   that get dragged on and on and on and on and on and
  
   jerry
 
  I agree. I am much more annoyed by top posters.
 
  Robert
 The only thing about email that annoys me is spam.  While I'm a subscriber to 
 freebsd-questions, top posting, incomplete questions, inflammatory 
 commentary, etc. is just the price I pay for getting a steady stream of 
 Aha's, and hardly seems worth the effort to develop an emotional viewpoint.
 
 Although thought police who say do this and don't do that wear me out 
 sometimes with their email.
 
 lane
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: Kernel question

2005-07-01 Thread Bryan Maynard
I read through your kernel - very nice comments, thanks a lot!

I compiled the kernel and boot-up is noticably faster, thanks again!

I would like to investigate transfering all the device info from boot -v to 
LATITUDE_C600.hints. I don't really know what most of the info from boot -v
means, I'd like to work on figuring it out. Maybe you could help me learn and 
we could
figure it out together?

Any help you could give you be greatly appreciated!

One thing of note: I don't have any sound. I've never had sound, but after 
booting
with the new kernel I went into KDE's control panel and tested the sound 
system, but
nothing came out. I didn't get any errors when it restarted the sound system so 
I'm
not sure what's up.

I've incuded the dmesg output from the new kernel boot in case you need to look 
at it
along with my current CUSTOM.hints file (maybe it'll help. . . :-?)

Anyway, thanks a lot for the new kernel, it works like a charm!

Bryan

On Friday 01 July 2005 05:58 pm, Nikolas Britton wrote:
 On 6/30/05, Bryan Maynard [EMAIL PROTECTED] wrote:
  I checked out the man pages you listed, thanks for the help!
  I didn't understand everything in all of them, but they did help me firgure
  out some more questions to ask.
  
  Is it possible to identify all hardware component in my system in the 
  device.hints
  file and if so, what would that accomplish? I am running a Dell Latitude 
  C600.
 
 Do this with the kernel .hints file. it will be statically compile
 into the kernel then.
 kernel.hints = statically compiled = faster boot.
 device.hints = dynamic-ish = slower, but still faster then random probing.
 
  
  Also, I have a custom kernel I am trying to tweak. However, when I boot from 
  it I
  get the following messages:
  
  ata0-master: FAILURE - ATA_IDENTIFY timed out
  ata0-master: FAILURE - ATA_IDENTIFY timed out
  ata0-master: FAILURE - ATA_IDENTIFY timed out
  ata1-master: FAILURE - ATAPI_IDENTIFY timed out
  ata1-master: timeout sending command=a1
  ata1-master: error issueing ATAPI_IDENTIFY command
  ata1-master: FAILURE - ATAPI_IDENTIFY timed out
  
  Mounting root from ufs:/dev/ad0s1a
  setrootbyname failed
  ffs_mountroot: can't find rootvp
  Root mount failed: 6
  
  It then asks me to manually enter a root filesystem.
  
  I've attached my CUSTOM kernel config. Along with my CUSTOM.hints file. I 
  don't use
  CUSTOM.hints, but it has hints about the nexus device. this device shows 
  up when I
  use boot-v. I'm not sure If I have it's info entered properly, maybe you 
  could help me
  with that.
 
 I've attached a kernel for you to use. Compare it to yours (and
 GENERIC) and read the comments I made in it. It should address most of
 your questions.
 
  
  Could I use the info from a boot -v in the device.hints file? If so, how do 
  I translate
  the syntax. I've looked at the boot -v output before and it seems like 
  there's enough info
  for the device.hints file, I just don't know what it all means or how to 
  extract it.
 
 You can put the boot -v info into the kernel .hints file, I think. I
 never tried to do anything like that and I'm not sure how to go about
 doing it. Or maybe thats what kenv is for... hmmm
 


-- 
Open Source: by the people, for the people.
# $FreeBSD: src/sys/i386/conf/CUSTOM.hints,v 1.13 2005/04/14 14:50:31 maynard 
Exp $
hint.npx.0.at=nexus
hint.npx.0.port=0x0F0
hint.npx.0.flags=0x0
hint.npx.0.irq=13
hint.acpi_timer.0.port=0x808-0x80b
hint.acpi_timer.0.at=acpi
hint.ata.0.at=isa
hint.ata.0.port=0x1F0
hint.ata.0.irq=14
hint.ata.1.at=isa
hint.ata.1.port=0x170
hint.ata.1.irq=15
hint.atkbdc.0.at=isa
hint.atkbdc.0.port=0x060
hint.atkbd.0.at=atkbdc
hint.atkbd.0.irq=1
hint.psm.0.at=atkbdc
hint.psm.0.irq=12
hint.vga.0.at=isa
hint.sc.0.at=isa
hint.sc.0.flags=0x100
hint.apm.0.disabled=0
hint.apm.0.flags=0x20
hint.pcic.0.at=isa
#hint.pcic.0.irq=10
hint.pcic.0.port=0x3e0
hint.pcic.0.maddr=0xd
hint.pcic.1.at=isa
hint.pcic.1.irq=11
hint.pcic.1.port=0x3e2
hint.pcic.1.maddr=0xd4000
hint.pcic.1.disabled=0
hint.ppc.0.at=isa
hint.ppc.0.irq=7
hint.ed.0.at=isa
hint.ed.0.port=0x280
hint.ed.0.irq=5
hint.ed.0.maddr=0xd8000
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Kernel question

2005-06-30 Thread Bryan Maynard
I checked out the man pages you listed, thanks for the help!
I didn't understand everything in all of them, but they did help me firgure
out some more questions to ask.

Is it possible to identify all hardware component in my system in the 
device.hints
file and if so, what would that accomplish? I am running a Dell Latitude C600.

Also, I have a custom kernel I am trying to tweak. However, when I boot from it 
I 
get the following messages:

ata0-master: FAILURE - ATA_IDENTIFY timed out
ata0-master: FAILURE - ATA_IDENTIFY timed out
ata0-master: FAILURE - ATA_IDENTIFY timed out
ata1-master: FAILURE - ATAPI_IDENTIFY timed out
ata1-master: timeout sending command=a1
ata1-master: error issueing ATAPI_IDENTIFY command
ata1-master: FAILURE - ATAPI_IDENTIFY timed out

Mounting root from ufs:/dev/ad0s1a
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6

It then asks me to manually enter a root filesystem.

I've attached my CUSTOM kernel config. Along with my CUSTOM.hints file. I don't 
use 
CUSTOM.hints, but it has hints about the nexus device. this device shows up 
when I
use boot-v. I'm not sure If I have it's info entered properly, maybe you could 
help me
with that.

Could I use the info from a boot -v in the device.hints file? If so, how do I 
translate
the syntax. I've looked at the boot -v output before and it seems like there's 
enough info
for the device.hints file, I just don't know what it all means or how to 
extract it.

I've also included the output from kenv and dmesg if that will help. It says 
the kernel is 
kernel.old, but that's because I had to boot from that after writing down the 
messages 
I got when booting from my CUSTOM kernel. kernel.old is my GENERIC kernel 
though.

Anyway, thanks for your help!

Bryan

On Thursday 30 June 2005 06:47 am, Nikolas Britton wrote:
 On 6/29/05, Bryan Maynard [EMAIL PROTECTED] wrote:
  Hey helpful friends! :-D
  
  I would like to conduct an experiment: down the road (a couple years maybe)
  I'd like to start building and selling PCs. I'd like these PCs to run FreeBSD
  - because it's the best ;-). These machines will be a slightly different from
  the current crop in that they will be laptops that will not have PCMCIA slots
  or CD/DVD drives (these items will be held in a separate breakout box). The
  machines wil lbe completely sealed with the exception of the various memory
  card (SD, CompactFlash, Memory stick, etc.) embeded in the monitor casing.
  
  There's much more to these machines, but I'll save those details for the
  appropriate place - my question for here is this:
  
  I'd like to minimize boot time as much as possible. Since these machines will
  not ever have hardware added or changed I would like to statically build as
  much device information as early in the boot process as possible.
  
  I understand that FreeBSD has a three stage boot process. I'm a bit fuzzy as
  to what happens when, but was wondering how, or if, I could cut out any of
  these stages - and shorten the remaining stages as much as possible.
  
  I've looked around loader.conf, device.hints, KERNEL.hints, and such and
  this is what got me wondering.
  
  If you all need anymore info please let me know.
  
  Thanks a lot!
  
  Bryan
  --
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/boot.html
 
 Man pages:
 loader.conf
 loader
 loader.4th
 boot
 btxld
 boot0cfg
 device.hints
 kenv
 
 The majority of the boot process time is the BIOS testing and
 initializing hardware and there is no simple way around this.
 
 The best place to start is to rip everything out of the kernel config file.
 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
Open Source: by the people, for the people.
#
# CUSTOM -- Custom kernel configuration file for FreeBSD/i386 created by Bryan 
Maynard
#   Last updated: 2005-06-29
# $FreeBSD: src/sys/i386/conf/CUSTOM,v 1.413.2.9 2005/06/29 12:00:10 maynard 
Exp $

machine i386
cpu I686_CPU
ident   CUSTOM

options SCHED_4BSD  # 4BSD scheduler
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options CD9660  # ISO 9660 Filesystem 
options PSEUDOFS# Pseudo-filesystem framework
options PROCFS

Kernel question

2005-06-29 Thread Bryan Maynard
Hey helpful friends! :-D

I would like to conduct an experiment: down the road (a couple years maybe) 
I'd like to start building and selling PCs. I'd like these PCs to run FreeBSD 
- because it's the best ;-). These machines will be a slightly different from 
the current crop in that they will be laptops that will not have PCMCIA slots 
or CD/DVD drives (these items will be held in a separate breakout box). The 
machines wil lbe completely sealed with the exception of the various memory 
card (SD, CompactFlash, Memory stick, etc.) embeded in the monitor casing.

There's much more to these machines, but I'll save those details for the 
appropriate place - my question for here is this:

I'd like to minimize boot time as much as possible. Since these machines will 
not ever have hardware added or changed I would like to statically build as 
much device information as early in the boot process as possible.

I understand that FreeBSD has a three stage boot process. I'm a bit fuzzy as 
to what happens when, but was wondering how, or if, I could cut out any of 
these stages - and shorten the remaining stages as much as possible.

I've looked around loader.conf, device.hints, KERNEL.hints, and such and 
this is what got me wondering.

If you all need anymore info please let me know.

Thanks a lot!

Bryan
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Possibly silly question. . .

2005-06-28 Thread Bryan Maynard
Hey all, I was just looking through the ports collection to portinstall 
Kopete, but I couldn't find it! I checked the spelling and capitalization to 
make sure I was entering my search correct, and I was.

I know Kopete is availible - I've used it in a previous install. It's just 
been a while since I tried to install it. My current install had to be very 
minimal, so I've been adding things as I need them.

I know this is silly and I'm sorry. I'd really appreciate a little help 
jogging my memory, thanks! :-D

Bryan

P.S. I tried running kopete and Kopete from the Run Command dialog to see 
if I already had it installed but to no avail. I am running FreeBSD 
5.4-STABLE #3: Fri Jun 17 12:58:02 UTC 2005 (according to uname) and KDE 3.4.
-- 
Open Source: by the people, for the people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Possibly silly question. . .

2005-06-28 Thread Bryan Maynard
I'm portinstalling kdenetwork-3.4.0 right now, thanks a lot!

Bryan

On Tuesday 28 June 2005 04:56 pm, Peter A. Giessel wrote:
 On 6/28/2005 03:49, Bryan Maynard seems to have typed:
  I know Kopete is availible - I've used it in a previous install.
 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/kopete/Attic/pkg-descr
 
 Try installing the kdenetwork3 port.
 

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


ndis0 dhcp question

2005-06-25 Thread Bryan Maynard
Hello all! :-D

I have a Linksys WPC11 ver.4 wireless NIC. I got it setup using ndisgen (very
cool tool by the way). Now when kldload /root/rtl8180_sys.ko (the location of
my wireless kernel object) dmesg shows this:

ndis0: Realtek RTL8180 Wireless LAN (Mini-)PCI NIC port 0x1000-0x10ff mem 0x88
00-0x880001ff irq 11 at device 0.0 on cardbus1
ndis0: NDIS API version: 5.1
ndis0: Ethernet address: 00:0f:66:cf:10:7e
ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

and when I run ifconfig -a I get this:

::My onboard ethernet NIC
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=9RXCSUM,VLAN_MTU
inet6 fe80::204:76ff:fe48:9301%xl0 prefixlen 64 scopeid 0x1
inet 192.168.1.101 netmask 0xff00 broadcast 192.168.1.255
ether 00:04:76:48:93:01
media: Ethernet autoselect (100baseTX full-duplex)
status: active

::I don't know what this is. . .
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500

::Loopback device
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3

::My Linksys WPC11 ver.4
ndis0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
ether 00:0f:66:cf:10:7e
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid 
channel -1 authmode OPEN powersavemode OFF powersavesleep 100
rtsthreshold 2312 protmode CTS
wepmode OFF weptxkey 1

I have several questions, but I'll ask them one at a time. . .

I have a Linksys WRT54G Wireless Router. Currently my onboard NIC is what I use
to access the net and stuff. How do I assign an IP address - and any other
needed parameters - to my wireless NIC, activate it, and use it instead of (or
along with) my onboard ethernet NIC?

I know about using ifconfig interface name blah blah blah, but what paramaters
do I pass and where do I get them?

Thanks,

Bryan
-- 
Open Source: by the people, for the people.




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