Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

freebsd-questions Digest, Vol 14, Issue 2

3 views
Skip to first unread message

freebsd-ques...@freebsd.org

unread,
Jun 23, 2003, 3:02:03 PM6/23/03
to
Send freebsd-questions mailing list submissions to
freebsd-...@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
freebsd-ques...@freebsd.org

You can reach the person managing the list at
freebsd-que...@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-questions digest..."


Today's Topics:

1. Re: creating ftp users! (Rob Lahaye)
2. Re: creating ftp users! (Raymond Sundland)
3. Re: creating ftp users! (Rob Lahaye)
4. Re: BTX halted when installing on a HP Proliant DL360 G3
(David Landgren)
5. changing setup (pi...@bellnet.ca)
6. Eliminating "noise" from secondary MX (Brett Glass)
7. Re: LTmodem port (Dr. Richard E. Hawkins)
8. fatal trap 12 (SMP related) (Asenchi)
9. Re: Problem recreating Virtual Hosts settings from Windows to
BSD (Charlie Schluting)
10. Re: error in buildworld. (Charlie Schluting)
11. SB AWE 64 on 5.1 (Martin Vana)
12. Re: Eliminating "noise" from secondary MX (Dan Nelson)
13. Re: how to view and open file.db & file.mdb? (peter lageotakes)
14. Re: changing setup (Han Hwei Woo)
15. Re: creating ftp users! (Raymond Sundland)
16. Re: Updating FBSD on one slice from another slice (Matthew Seaman)
17. Re: Eliminating "noise" from secondary MX (Karl Pielorz)
18. bsd video streaming (Matthew Bettinger)
19. Re: bsd video streaming (Adam Maas)
20. ATA Modes & Kernel Config (imac...@citlink.net)
21. newbie: weekly tape backup advice (admin)
22. Compiling Linuxthreads (Mark Hennessy)
23. Re: newbie: weekly tape backup advice (Chris)
24. Re: fatal trap 12 (SMP related) (Joshua Oreman)
25. using bind() call on FreeBSD (Gagan Grewal)
26. Re: bsd video streaming (Aaron Sloan)
27. bus error (David S. Jackson)
28. Re: bus error (Joshua Oreman)
29. swap_pager_getswapspace: failed (Alfonso Romero)
30. Re: swap_pager_getswapspace: failed (Charlie Schluting)
31. Re: Updating FBSD on one slice from another slice (D J Hawkey Jr)
32. Re: changing setup (pi...@bellnet.ca)


----------------------------------------------------------------------

Message: 1
Date: Mon, 23 Jun 2003 22:57:00 +0900
From: Rob Lahaye <lah...@users.sourceforge.net>
Subject: Re: creating ftp users!
To: freebsd-...@freebsd.org
Message-ID: <3EF7072C...@users.sourceforge.net>
Content-Type: text/plain; charset=us-ascii

I have not inetd running, but instead only allow secure
connections with ssh and sftp.
However, the hints given here seem to only apply to ftpd
server and not the sftp connection. /sbin/nologin disables
both, ssh and sftp.

Is there a way to disable ssh, but allow sftp access only?
Can I do the /etc/ftpchroot for sftp as well?

Thanks,
Rob.

Jonathan Arnold wrote:
>> How to create users for Ftp server(inetd)?
>
> You just use the 'adduser' command normally, to add a "normal"
> user. If they are just going to be doing ftp, you can use the
> /sbin/nologin for their shell, so they can't login.

Doron Shmaryahu wrote:
>
> I would also suggest limiting ftp users to their respective home dir. You
> can do this simply by creating a file /etc/ftpchroot and putting all the
> usernames in there.


------------------------------

Message: 2
Date: Mon, 23 Jun 2003 10:00:11 -0400
From: Raymond Sundland <ray...@sundland.com>
Subject: Re: creating ftp users!
To: Rob Lahaye <lah...@users.sourceforge.net>
Cc: freebsd-...@freebsd.org
Message-ID: <3EF707EB...@sundland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

Rob,

You can try setting the user's shell to /usr/libexec/sftp-server (or
wherever the sftp-server binary exists under FreeBSD).

This will give the user ability to SFTP into the box, but without a
normal shell. /usr/lib/exec/sftp-server should be added to /etc/shells,
too.


Rob Lahaye wrote:
>
> I have not inetd running, but instead only allow secure
> connections with ssh and sftp.
> However, the hints given here seem to only apply to ftpd
> server and not the sftp connection. /sbin/nologin disables
> both, ssh and sftp.
>
> Is there a way to disable ssh, but allow sftp access only?
> Can I do the /etc/ftpchroot for sftp as well?
>
> Thanks,
> Rob.
>
> Jonathan Arnold wrote:
>
>>>How to create users for Ftp server(inetd)?
>>
>>You just use the 'adduser' command normally, to add a "normal"
>>user. If they are just going to be doing ftp, you can use the
>>/sbin/nologin for their shell, so they can't login.
>
>
> Doron Shmaryahu wrote:
>
>>I would also suggest limiting ftp users to their respective home dir. You
>>can do this simply by creating a file /etc/ftpchroot and putting all the
>>usernames in there.
>
>
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"


------------------------------

Message: 3
Date: Mon, 23 Jun 2003 23:14:51 +0900
From: Rob Lahaye <lah...@users.sourceforge.net>
Subject: Re: creating ftp users!
To: freebsd-...@FreeBSD.ORG
Message-ID: <3EF70B5B...@users.sourceforge.net>
Content-Type: text/plain; charset=us-ascii


Raymond Sundland wrote:
> Rob,
>
> You can try setting the user's shell to /usr/libexec/sftp-server (or
> wherever the sftp-server binary exists under FreeBSD).
>
> This will give the user ability to SFTP into the box, but without a
> normal shell. /usr/lib/exec/sftp-server should be added to /etc/shells,
> too.

Almost works ;).
Doing what you suggest, I can sftp to the account, but when I do ssh to
that account, I get the regular login message but no prompt. Something
seems to hang. When I type something and hit return, I get:


bad message
Connection to foo.bar.com closed.
$

It somehow blocks ssh login indeed, but it's not very nice!


BTW will sftp also work with the /etc/chroot file?

Thanks,
Rob.


------------------------------

Message: 4
Date: Mon, 23 Jun 2003 16:29:26 +0200
From: David Landgren <da...@landgren.net>
Subject: Re: BTX halted when installing on a HP Proliant DL360 G3
To: freebsd-...@freebsd.org
Message-ID: <3EF70EC6...@landgren.net>
Content-Type: text/plain; charset=us-ascii; format=flowed

David Landgren wrote:

Replying to myself, for the sake of the archives.

> List,
>
> I just received a new batch of servers to deploy. Among the lot I have 3
> HP Proliant DL360 G3 servers that refuse to run the installation CD. I
> think this is because HP have switched to Ultra 320 drives and I don't
> think FreeBSD has caught up with that. I have two 18Gb 15000rpm drives
> mounted in RAID-1.
>
> The BIOS says "Proliant System BIOS - P31 (03/01/2003)".
>
> I've tried various BIOS options, but the boot always goes like this:
>
> Miniboot 4.1
> Attempting Boot From CD-ROM
> CD Loader 1.01
>
> Building the boot loader arguments
> Lookup up /BOOT/LOADER... Found
> Relocating the loader and the BTX
> Starting the BTX loader
>
> BTX Loader 1.00 BTX version is 1.01
> Console: internal video/keyboard
> BIOS CD is cd0
> BIOS drive A: is disk0
>
> inf=0000000d err=00000000 efl=00030006
> ...
> BTX halted
>
> I.e.: it looks like it's when it hunts for hard disks.
>
> I trawled the archives and learnt that people had similar problems on
> Compaq hardware, although with Adaptec controllers. The solution there
> was to create a DOS partition on the disk beforehand. I tried this, with
> no success.
>
> I've tried booting from 4.8-RELEASE, 5.1-RELEASE and the 5.1 miniloader,
> all with similar results. I also tried booting of an OpenBSD 3.3 CD. It
> gets a bit further, but when it comes to choosing I for Install, it
> reports that there are no hard disks available.
>
> It seems like FreeBSD simply hasn't caught up yet. I had a look at the
> Testdrive machines offered by HP, but they're still running 4.8 on a
> DL360 G2.
>
> If anyone has some idea as to how to proceed, I'd be really grateful.
> The only alternative would be to try and install Linux. But I've been
> unhappy with Linux performance under load in the past (and it's these
> servers I'm replacing) so it would be sad to continue in that vein.
>
> Thanks for the clues,

Daisuke Koike got me onto the right track by pointing me to
http://www.freebsd.org/cgi/getmsg.cgi?fetch=61247+63991+/usr/local/www/db/text/2003/freebsd-stable/20030525.freebsd-stable

The thread there talks about disabling a BIOS setting named "Virtual
boot device". Unfortunately my BIOS doesn't have that option. I had
another look, and found a different option named "Virtual install
disk" and this one was enabled. I set it to disabled, rebooted, and
FreeBSD booted successfully from the CD-ROM. Hope this helps someone
in the future.

Thanks again Daisuke-san.

David

------------------------------

Message: 5
Date: Mon, 23 Jun 2003 10:39:29 -0400
From: pi...@bellnet.ca
Subject: changing setup
To: freebsd-...@FreeBSD.ORG
Message-ID: <5.1.0.14.2.200306...@mail.host45.com>
Content-Type: text/plain; charset="us-ascii"; format=flowed

I have just changed my motherboard and consequently drive assignments and
peripherals as well. The old board or processor crashed. :((
So the new board is an MSI 875-FISR - top of the line with a 3ghz pentium
IV and Intel Gigabit lan card and kGEforce FX5200 video card.
The previous system was a dual pentium II with 450mhz processors.
The problem is the following: how do I boot and reconfigure the system?
What is installed is FBSD 4.8 stable.
When I boot up using the kernel.GENERIC, I get version 4.5 with limited
functions... so, I don't really know what todo with it.
Whe I boot up with the 4.8 SMP kernel, kit freezes just after the network
card is not recognized.
I am hoping I don't have to reinstall everything as that tends to be a PITA.
Also, I don't know if FBSD supports the built-in Intel Gigabit network
adapter; the hardware.txt does not show it.
And what about serial ATA and Promise Fasttrack 378?
Any help would be appreciated...
Thanks in advance,
Pippo

------------------------------

Message: 6
Date: Mon, 23 Jun 2003 08:48:31 -0600
From: Brett Glass <br...@lariat.org>
Subject: Eliminating "noise" from secondary MX
To: ques...@freebsd.org
Message-ID: <4.3.2.7.2.20030623083909.02be3c50@localhost>
Content-Type: text/plain; charset="us-ascii"; format=flowed

We have a FreeBSD machine, running Sendmail, that's set up as a secondary
MX for several domains.

Lately, as the tide of spam continues to increase, this machine is
sending large volumes of messages to "Postmaster", and this is
interfering with normal monitoring of the server.

Here's more detail. A spammer sends to a nonexistent address in a domain
for which the host is a secondary mail exchanger. Many spammers' software
is actually set up to use secondary mail exchangers rather than
primaries, because they're less likely to have effective antispam
software running. (Even if they use public blacklists, they rarely use a
blacklist or whitelist provided by the domain for which they're a secondary.)

The secondary mail exchanger tries to send the message on to its
destination, but the mail is bounced by the primary mail host (either as
spam or because it has been sent to an invalid address). So, the
secondary dutifully tries to notify the sender that the message didn't
get through.

Of course, the "From:" and "Reply-to:" headers of the spam contain either
a completely bogus address or one that has quickly been shut down due to
spamming. So, the host, not knowing what else to do, sends a notice to
Postmaster, saying that the notice to the sender could not be delivered.

What's the easiest way to suppress this resource-consuming, mailbox
clogging chain reaction?

--Brett Glass


------------------------------

Message: 7
Date: Mon, 23 Jun 2003 10:56:27 -0400
From: "Dr. Richard E. Hawkins" <ha...@slytherin.ds.psu.edu>
Subject: Re: LTmodem port
To: "John A. Johnson" <j...@PSU.EDU>
Cc: freebsd-...@freebsd.org
Message-ID: <20030623145...@slytherin.ds.psu.edu>
Content-Type: text/plain; charset=us-ascii

On Sat, Jun 21, 2003 at 09:25:40AM +0200, Gianmarco Giovannelli wrote:
> At 16.55 20/06/2003 -0400, Dr. Richard E. Hawkins wrote:
> >On Fri, Jun 20, 2003 at 01:27:13PM -0700, anonymous wrote:
> >> I recently installed FreeBSD 4.8 and I have a Lucent
> >> WinModem.

> >> Are there any detailed instructions on installing the
> >> LTModem port for FreeBSD?

> >They aren't needed; it should just work.

> Mine doesn't work even if the port. Even I kldload a freshly build port it
> doesn't see it.
> It is a minipci combo card (wifi + modem) from Fujitsu.
> The modem part is seen by windows like Lucent Tecnologies soft modem AMR.

> If someone want to give a try on it I can send the pciconf output.

I hacked my way through with someone's instructions about two years ago
(before the port existed, or before it used a reasonably current
version.

You may need some kernel options to use that card. For that matter,
does freebsd even handle that type of card.

What you probably want to offer those who would understand such things
(which doesn't include me :) is the typescript (use the script command)
of make *after* a "make clean" and your dmesg output (to see if freebsd
even sees the card).

hawk
--
Richard E. Hawkins, Asst. Prof. of Economics /"\ ASCII ribbon campaign
doc...@psu.edu Smeal 178 (814) 375-4700 \ / against HTML mail
These opinions will not be those of X and postings.
Penn State until it pays my retainer. / \

------------------------------

Message: 8
Date: Mon, 23 Jun 2003 10:55:20 -0400
From: Asenchi <ase...@asenchi.com>
Subject: fatal trap 12 (SMP related)
To: freebsd-...@freebsd.org
Message-ID: <20030623105520....@asenchi.com>
Content-Type: text/plain; charset=US-ASCII

Hello,

I have installed 4.8-stable on my dual processor HP system. I reconfigured the kernel, and everything worked fine. Except now after a period of time (even Idle time, see below) my system has this error:

Fatal trap 12: page fault while in kernel mode
mp_lock = 01000003; cpuid = 1; lapic.id = 00000000
fault virtual address = 0x30
fault code = supervisor read, page not present
instruction number = 0x8:0xc0205661
stack pointer = 0x10:0xff80fcd0
frame pointer = 0x10:0xff80fcd0
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = Idle
interrupt mask = tty bio <- SMP: XXX
trap number = 12
panic: page fault
mp_lock = 01000003; cpuid = 1; lapic.id = 00000000
boot() called on cpu#1
Uptime: 36m17s

I can see that this is a problem with the SMP config. What I don't know is what to do with it, is it hardware, software. I am not sure. This is the first time I have ever been presented with this.

I do prefer maybe a point in the right direction rather than the answer as I learn a lot more reading up on it. I just haven't been able to find anything, especially not knowing what I am looking for.

Can anyone point me in the right direction?

--
//curt

------------------------------

Message: 9
Date: Mon, 23 Jun 2003 07:57:18 -0700
From: Charlie Schluting <cha...@schluting.com>
Subject: Re: Problem recreating Virtual Hosts settings from Windows to
BSD
To: william nova <willia...@hotmail.com>
Cc: freebsd-...@freebsd.org
Message-ID: <3EF7154E...@schluting.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

william nova wrote:
> I was using Apache 2 on Windows 2003 server.
>
> I had 2 virtual hosts running, using no-ip for DNS resolution along with a
> NO-IP referral entry for each (since my ISP blocks port 80)
>
> The virtual hosts config portion of httpd.conf looked like:
>
> NameVirtualHost *
>
> <VirtualHost *>
> DocumentRoot "C:\Program Files\Apache Group\Apache2\htdocs\site1"
> ServerName site1.no-ip.com
> </VirtualHost>
>
> <VirtualHost *>
> DocumentRoot "C:\Program Files\Apache Group\Apache2\htdocs\site2"
> ServerName site2no-ip.com
> </VirtualHost>
>
> Very simple. And it worked.
>
> Now I'm using Apache 1.3.27_4 on FreeBSD 4.8
>
> I am trying to recreate the
> same exact configuration on my new box. It just won't work, even though
> the config is identical, barring the path to the files.
>
> NameVirtualHost *
>
> <VirtualHost *>
> DocumentRoot /usr/local/www/data/site1
> ServerName site1.no-ip.com
> </VirtualHost>
>
> <VirtualHost *>
> DocumentRoot /usr/local/www/data/site2
> ServerName site2.no-ip.com
> </VirtualHost>

This looks fine to me. Exactly what mine looks like.. only a few more
domains. Take a look at the httpd* logs in /var/log as you try to
navigate to the pages. Make sure the permissions are correct. Make sure
that you aren't getting any warnings when you start httpd.
Sorry, that's probably not very helpful ;)

--Charlie

------------------------------

Message: 10
Date: Mon, 23 Jun 2003 08:03:29 -0700
From: Charlie Schluting <cha...@schluting.com>
Subject: Re: error in buildworld.
To: michael Corleone <lib...@yahoo.com>
Cc: freebsd-...@freebsd.org
Message-ID: <3EF716C1...@schluting.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

michael Corleone wrote:
> hi i received this error when im about to do a buildworld after upgrading my src and ports collection.
> im running 4.8-RELEASE, heres the logs of the errors:
> i hope anyone can explain what and where is the the line that causes the error, thanks all.
>
>
> ===> bin/ln
> ===> bin/ls
> cc -O -pipe -DCOLORLS -Wall -Wformat -static -o ls cmp.o ls.o print.o util.o -lm -ltermcap
> /usr/obj/usr/src/i386/usr/lib/libtermcap.a: could not read symbols: Malformed archive

The line that you pasted is the one causing the error. With the limited
information you provided, I would say that you need to either run make
cleandir (two times) in /usr/src and delete /usr/src/obj, or to be safe,
cd /usr/src && mrm -rf *
After that, you'll have to run cvsup again, then attempt the make
buildworld again.

If that doesn't work, please include the following info:
Hardware, the lines in your cvsup file that say tag=

--Charlie


------------------------------

Message: 11
Date: Mon, 23 Jun 2003 17:14:35 +0200
From: Martin Vana <marti...@vslib.cz>
Subject: SB AWE 64 on 5.1
To: freebsd-...@freebsd.org
Message-ID: <20030623171435.6f...@vslib.cz>
Content-Type: text/plain; charset=US-ASCII

hi,
I'm trying to install sb awe64 isa pnp on freebsd 5.1
I've added device pcm and device sbc to my kernel
and config, make depend, make, make install it.
rebooted.
dmesg output on pcm and sbc:
pcm0: <SB16 DSP 4.16> on sbc 1
sbc1: <Creative SB AWE 64> at port .(some ports). irq 5 drq 5,1 on isa0

it seem everyting is corect but xamp aint playing nothing.
suggestions welcome
thank you

martin


------------------------------

Message: 12
Date: Mon, 23 Jun 2003 10:14:34 -0500
From: Dan Nelson <dne...@allantgroup.com>
Subject: Re: Eliminating "noise" from secondary MX
To: Brett Glass <br...@lariat.org>
Cc: ques...@freebsd.org
Message-ID: <20030623151...@dan.emsphone.com>
Content-Type: text/plain; charset=us-ascii

In the last episode (Jun 23), Brett Glass said:
> Here's more detail. A spammer sends to a nonexistent address in a
> domain for which the host is a secondary mail exchanger. Many
> spammers' software is actually set up to use secondary mail
> exchangers rather than primaries, because they're less likely to have
> effective antispam software running. (Even if they use public
> blacklists, they rarely use a blacklist or whitelist provided by the
> domain for which they're a secondary.)
>
> The secondary mail exchanger tries to send the message on to its
> destination, but the mail is bounced by the primary mail host (either
> as spam or because it has been sent to an invalid address). So, the
> secondary dutifully tries to notify the sender that the message
> didn't get through.
>
> Of course, the "From:" and "Reply-to:" headers of the spam contain
> either a completely bogus address or one that has quickly been shut
> down due to spamming. So, the host, not knowing what else to do,
> sends a notice to Postmaster, saying that the notice to the sender
> could not be delivered.
>
> What's the easiest way to suppress this resource-consuming, mailbox
> clogging chain reaction?

I make sure my secondary MX has the same filtering setup as the
primary, and set it up so email from one MX to the other isn't checked
again. You can set spamassassin up so it uses a SQL backend for its
user rules which makes it easy for multiple machines to filter mail the
same way. I've never done this, though, so I don't know how easy it is
to make it work when you're secondarying for multiple domains.

You could always make the secondary run with much tighter spam checks
than the primaries, as a penalty for spammers that try it first :)

--
Dan Nelson
dne...@allantgroup.com

------------------------------

Message: 13
Date: Mon, 23 Jun 2003 08:15:25 -0700 (PDT)
From: peter lageotakes <plage...@yahoo.com>
Subject: Re: how to view and open file.db & file.mdb?
To: Matt Heath <ma...@thebigchoice.com>, Marlon Corleone
<chkro...@yahoo.com>
Cc: freebsd-...@freebsd.org
Message-ID: <2003062315152...@web14608.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii

Sorry if this question has been answered. You can use
the file command to figure out what type of file it
is.

" file filename " or you can use the ls command. If
its a text file, use your fav text editor like VI.

Pete
--- Matt Heath <ma...@thebigchoice.com> wrote:
> Marlon Corleone wrote:
>
> >hi, im running 4.8 do do i open this type of file
> >extension, file.db and file.mdb is there in ports
> >collection that can manage to view and open this
> type
> >of file?
> >
> >
> >
>
> looks to me like Microsoft DataBase - afaik you'll
> need Microsoft Access
> for that
>
> Open Office lays claim to opening them :
>
> http://dba.openoffice.org/FAQ/index.html#msaccess
>
> _______________________________________________
> freebsd-...@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questi...@freebsd.org"


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

------------------------------

Message: 14
Date: Mon, 23 Jun 2003 12:22:14 -0300
From: "Han Hwei Woo" <hh...@argosy.ca>
Subject: Re: changing setup
To: <freebsd-...@freebsd.org>, <pi...@bellnet.ca>
Message-ID: <001101c3399b$39870550$0200a8c0@a7n8x>
Content-Type: text/plain; charset="iso-8859-1"

man em for Intel Gigabit adapters:
"The em driver provides support for PCI gigabit Ethernet adapters based on
the Intel 82540, 82542, 82543, 82544 and 82546 Ethernet controller chips."
I believe there is Serial ATA support for some chipsets in 5.1. No idea on
the Fasttrack 378.

Problems are likely to occur when your kernel doesn't match your userland.
I'm guessing your initial install was 4.5, and you updated directly to 4.8?
I would recommend that you try to boot with a 4.8 GENERIC kernel, off a 4.8
CD or floppy. Then try mounting your partitions manually from single user
mode, and editing /etc/fstab to match your drive configuration.

Han Hwei Woo
http://www.argosy.ca/~hhw

----- Original Message -----
From: <pi...@bellnet.ca>
To: <freebsd-...@freebsd.org>
Sent: Monday, June 23, 2003 11:39 AM
Subject: changing setup


> I have just changed my motherboard and consequently drive assignments and
> peripherals as well. The old board or processor crashed. :((
> So the new board is an MSI 875-FISR - top of the line with a 3ghz pentium
> IV and Intel Gigabit lan card and kGEforce FX5200 video card.
> The previous system was a dual pentium II with 450mhz processors.
> The problem is the following: how do I boot and reconfigure the system?
> What is installed is FBSD 4.8 stable.
> When I boot up using the kernel.GENERIC, I get version 4.5 with limited
> functions... so, I don't really know what todo with it.
> Whe I boot up with the 4.8 SMP kernel, kit freezes just after the network
> card is not recognized.
> I am hoping I don't have to reinstall everything as that tends to be a
PITA.
> Also, I don't know if FBSD supports the built-in Intel Gigabit network
> adapter; the hardware.txt does not show it.
> And what about serial ATA and Promise Fasttrack 378?
> Any help would be appreciated...
> Thanks in advance,
> Pippo
>
>
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questi...@freebsd.org"
>


------------------------------

Message: 15
Date: Mon, 23 Jun 2003 11:27:02 -0400
From: Raymond Sundland <ray...@sundland.com>
Subject: Re: creating ftp users!
To: Rob Lahaye <lah...@users.sourceforge.net>
Cc: freebsd-...@FreeBSD.ORG
Message-ID: <3EF71C46...@sundland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

Rob,

If you want a nice message, I suggest creating a class in
/etc/logins.conf which point to a /etc/issues.sftponly file where the
user gets a nice message, which you deem appropriate.

Secondly, as far as chroot, I don't believe OpenSSH supports chroot
natively, however I know there is a patch floating around (I believe in
the contrib/ directory of the openssh portable tarball) which will patch
openssh to support chroot'd environments. You will need to recompile
the openssh portable distribution, however.

Rob Lahaye wrote:
> Raymond Sundland wrote:
>
>>Rob,
>>
>>You can try setting the user's shell to /usr/libexec/sftp-server (or
>>wherever the sftp-server binary exists under FreeBSD).
>>
>>This will give the user ability to SFTP into the box, but without a
>>normal shell. /usr/lib/exec/sftp-server should be added to /etc/shells,
>>too.
>
>
> Almost works ;).
> Doing what you suggest, I can sftp to the account, but when I do ssh to
> that account, I get the regular login message but no prompt. Something
> seems to hang. When I type something and hit return, I get:
>
>
> bad message
> Connection to foo.bar.com closed.
> $
>
> It somehow blocks ssh login indeed, but it's not very nice!
>
>
> BTW will sftp also work with the /etc/chroot file?
>
> Thanks,
> Rob.
>
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

------------------------------

Message: 16
Date: Mon, 23 Jun 2003 16:29:19 +0100
From: Matthew Seaman <m.se...@infracaninophile.co.uk>
Subject: Re: Updating FBSD on one slice from another slice
To: D J Hawkey Jr <haw...@visi.com>
Cc: questions at FreeBSD <freebsd-...@freebsd.org>
Message-ID:
<20030623152...@happy-idiot-talk.infracaninophile.co.uk>
Content-Type: text/plain; charset="us-ascii"

On Mon, Jun 23, 2003 at 08:43:07AM -0500, D J Hawkey Jr wrote:

> What I'm stumped with is how to tell 'make [build|install][world|kernel]'
> to do their thing from the OS in the slice I'm running (the newer), but
> do the reads and writes on the other, older slice. Same conundrum with
> 'mergemaster'; how do I tell it to do it's thing on that older slice?
> A mountpoint on the newer slice I'm running, "/mnt/s2", is the older
> slice's "/", so the entire other, older slice is visible.

You'll have to copy /mnt/s2/etc/make.conf temporarily in place of
/etc/make.conf, if there's any significant difference between the two
systems. Then you can just do:

# cd /mnt/s2/usr/src
# make installkernel installworld KERNCONF=FOO DESTDIR=/mnt/s2
# mergemaster -m /mnt/s2/usr/src -D /mnt/s2

Alternatively, take a look at the chroot(8) or jail(8) man pages...

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030623/a82ec64d/attachment-0001.bin

------------------------------

Message: 17
Date: Mon, 23 Jun 2003 16:41:02 +0100
From: Karl Pielorz <kpie...@tdx.co.uk>
Subject: Re: Eliminating "noise" from secondary MX
To: Brett Glass <br...@lariat.org>, ques...@freebsd.org
Message-ID: <770984.1056386462@raptor>
Content-Type: text/plain; charset=us-ascii; format=flowed

--On 23 June 2003 08:48 -0600 Brett Glass <br...@lariat.org> wrote:

> [snip]
>
> The secondary mail exchanger tries to send the message on to its
> destination, but the mail is bounced by the primary mail host (either as
> spam or because it has been sent to an invalid address). So, the
> secondary dutifully tries to notify the sender that the message didn't
> get through.
>
> Of course, the "From:" and "Reply-to:" headers of the spam contain either
> a completely bogus address or one that has quickly been shut down due to
> spamming. So, the host, not knowing what else to do, sends a notice to
> Postmaster, saying that the notice to the sender could not be delivered.
>
> What's the easiest way to suppress this resource-consuming, mailbox
> clogging chain reaction?

Carefully check out the sendmail "Double Bounce Address" option, with a
view to piping it to /dev/null [Like I said, 'carefully' check this out :)]

Or, secondly - as was cleverly suggested to me a while ago - setup a 3rd MX
that has a IN A PTR to your primary MX, and make it the highest priority...

e.g.

mx0.mydomain.com PRI 20
mx1.mydomain.com PRI 30
mx2.mydomain.com PRI 40 (Which is really just a different name for mx0)

That way, you'll probably find most the spam hits the highest priority MX
(which is, in reality your primary MX).

-Kp

------------------------------

Message: 18
Date: Mon, 23 Jun 2003 11:24:29 -0500
From: Matthew Bettinger <mbett...@championelevators.com>
Subject: bsd video streaming
To: freebsd-...@freebsd.org
Message-ID: <200306231124.2...@championelevators.com>
Content-Type: text/plain; charset="iso-8859-1"

Hello,

Does anyone know off hand if there is a port that can assist in
streaming mpeg or asf files from a web page (apache) ?

bsd version 4.7.

regards,

--
Matthew Bettinger
System Administrator
Champion Elevators, Inc.
Houston, Texas 77061
713.640.8500

------------------------------

Message: 19
Date: Mon, 23 Jun 2003 12:44:45 -0400
From: "Adam Maas" <myk...@explosive.mail.net>
Subject: Re: bsd video streaming
To: <mbett...@championelevators.com>,
<freebsd-...@freebsd.org>
Message-ID: <0dd401c339a6$c0acf2a0$7419...@mykroft.com>
Content-Type: text/plain; charset="iso-8859-1"


----- Original Message -----
From: "Matthew Bettinger" <mbett...@championelevators.com>
To: <freebsd-...@freebsd.org>
Sent: Monday, June 23, 2003 12:24 PM
Subject: bsd video streaming


> Hello,
>
> Does anyone know off hand if there is a port that can assist in
> streaming mpeg or asf files from a web page (apache) ?
>
> bsd version 4.7.
>
> regards,
>
> --
>

Quicktime Streaming Server should work if you have Linux Compatability
installed. It's a free download from Apple, if you register.

Adam


------------------------------

Message: 20
Date: Mon, 23 Jun 2003 16:54:54 +0000
From: imac...@citlink.net
Subject: ATA Modes & Kernel Config
To: ques...@freebsd.org
Message-ID: <2003062316545...@webmail03.roc.frontiernet.net>
Content-Type: text/plain; format=flowed; charset="iso-8859-1"

I have a pentium 133 running FBSD 4.8. In this system I have three ide
disks, ad0, ad1, & ad2. ad0 is a 850 mb drive and contains the root. ad2
is a 4 GB drive and contains the usr. ad1 is unused. ad0 and ad1 are on
the primary ide and are master and slave, respectively. ad2 is the master
on the secondary ide.

Recently, the power supply failed so I replaced it. While I had the box
open, I pulled the 10 mb Linksys network cards that used the ed driver and
replaced them with NetGear 10/100 cards that use the dc driver.

Because my kernel was only compiled with the ed driver, the netgear cards
were not recognized. So I booted with a 4.4 GENERIC kernel I had on the
system and then edited my kernel conf and rebuilt my kernel.

Before, ad0, ad1, and ad2 were all seen as BIOSPIO during boot. Now when
the system boots, ad0 and ad1 are seen as PIO3 and are OK. However, when
it's probing ad2 the bus resets then ad2 is seen as WDMA2. Then the bus
resets two more times and the kernel panics with a trap '12'.

I have since updated my source and rebuilt world and kernel by booting from
both the 4.4 GENERIC kernel and my original 4.8 kernel. I have even tried
building the GENERIC 4.8 kernel. However any kernel except the 4.4 GENERIC
or my original 4.8 with ed support has the problem described above.

Any ideas on how I can get my system running again would be greatly
appreciated. Please cc me at this address as I am not receiving the list
due to this problem.

Thanks for your help!!!

Drew

------------------------------

Message: 21
Date: Mon, 23 Jun 2003 09:27:55 -0800
From: "admin" <adm...@enabled.com>
Subject: newbie: weekly tape backup advice
To: freebsd-...@freebsd.org
Message-ID: <2003062317...@enabled.com>
Content-Type: text/plain; charset=iso-8859-1

Hi,

I need some help setting up a tape backup system. I have two FreeBSD machines
and on external SCSI Onstream ADR50. Got any clues how I can start a weekly
back up plan here?

Thanks in advance,

Noah


------------------------------

Message: 22
Date: Mon, 23 Jun 2003 13:34:43 -0400 (EDT)
From: Mark Hennessy <ma...@cloud9.net>
Subject: Compiling Linuxthreads
To: freebsd...@freebsd.org, freebs...@freebsd.org,
freebsd-...@freebsd.org
Message-ID: <Pine.BSF.4.53.03...@earl-grey.cloud9.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII


I'm trying to compile Linuxthreads from ports on my FreeBSD 4.8 system
here, and for some reason I keep getting this:

You can use an experimental patch to reduce the number of
condition variable triggered context switches by defining
WITH_CONDWAIT_PATCH


Some unsafe calls to exit() can be detected by defining
LINUXTHREADS_DETECT_UNSAFE_EXIT, see files/README.FreeBSD
for more info.

===> Extracting for linuxthreads-2.2.3_10
>> Checksum OK for glibc-linuxthreads-2.2.3.tar.gz.
===> Patching for linuxthreads-2.2.3_10
===> Applying FreeBSD patches for linuxthreads-2.2.3_10
===> Configuring for linuxthreads-2.2.3_10
===> Building for linuxthreads-2.2.3_10
Warning: Object directory not changed from original
/usr/ports/devel/linuxthreads/work/linuxthreads-2.2.3_10/libgcc_r
echo '#include <i386/xm-i386.h>' > config.h
echo '#include <xm-freebsd.h>' >> config.h
echo '#include "gansidecl.h"' > tconfig.h
echo '#include "i386/xm-i386.h"' >> tconfig.h
echo '#include "i386/i386.h"' > tm.h
echo '#include "i386/att.h"' >> tm.h
echo '#include <freebsd.h>' >> tm.h
echo '#include "i386/freebsd.h"' >> tm.h
echo '#include "i386/perform.h"' >> tm.h
make: don't know how to make libgcc1.c. Stop
*** Error code 2

Stop in /usr/ports/devel/linuxthreads.

I know that Linux binary compatibility is installed, as well as
/usr/src/gnu (installed that today, machine was upgraded to 4.8
a couple of months ago)

Any ideas on where I should look next?

--
Mark P. Hennessy ma...@cloud9.net

------------------------------

Message: 23
Date: Mon, 23 Jun 2003 12:35:15 -0500
From: Chris <rac...@makeworld.com>
Subject: Re: newbie: weekly tape backup advice
Cc: freebsd-...@freebsd.org
Message-ID: <3EF73A53...@makeworld.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

admin wrote:

>Hi,
>
>I need some help setting up a tape backup system. I have two FreeBSD machines
>and on external SCSI Onstream ADR50. Got any clues how I can start a weekly
>back up plan here?
>
>Thanks in advance,
>
>Noah
>
>_______________________________________________
>freebsd-...@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"
>
>
>
>
The key would be, a tape a day? Just kidding. If you ca fit it all on
one tape, and it's not a long backup - why not do a full backup apposed
to some sort of incremental one.

A cron once a day should do the trick (man cron and man crontab) and I
would think using dump (man dump) would also do the archiving.

--


Best regards,
Chris
______________________________________________________________________

PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
______________________________________________________________________
01010010011000010110001101100101011100100101100000000000

------------------------------

Message: 24
Date: Mon, 23 Jun 2003 10:44:53 -0700
From: Joshua Oreman <ore...@webserver.get-linux.org>
Subject: Re: fatal trap 12 (SMP related)
To: Asenchi <ase...@asenchi.com>
Cc: ques...@freebsd.org
Message-ID: <2003062317...@webserver.get-linux.org>
Content-Type: text/plain; charset=us-ascii

On Mon, Jun 23, 2003 at 10:55:20AM -0400 or thereabouts, Asenchi seemed to write:
> Hello,
>
> I have installed 4.8-stable on my dual processor HP system. I reconfigured the kernel, and everything worked fine. Except now after a period of time (even Idle time, see below) my system has this error:
>
> Fatal trap 12: page fault while in kernel mode
> mp_lock = 01000003; cpuid = 1; lapic.id = 00000000
> fault virtual address = 0x30
> fault code = supervisor read, page not present
> instruction number = 0x8:0xc0205661
> stack pointer = 0x10:0xff80fcd0
> frame pointer = 0x10:0xff80fcd0
> code segment = base 0x0, limit 0xfffff, type 0x1b
> = DPL 0, pres 1, def32 1, gran 1
> processor eflags = interrupt enabled, resume, IOPL = 0
> current process = Idle
> interrupt mask = tty bio <- SMP: XXX
> trap number = 12
> panic: page fault
> mp_lock = 01000003; cpuid = 1; lapic.id = 00000000
> boot() called on cpu#1
> Uptime: 36m17s
>
> I can see that this is a problem with the SMP config. What I don't know is what to do with it, is it hardware, software. I am not sure. This is the first time I have ever been presented with this.

You need to resolve the 'instruction pointer' value and preferably
give us a coredump. Here are your options, in order of best for us
to worst for us:
1) Compile a new kernel with 'options DDB' and try to reproduce the
panic. When the kernel panics, you'll get thrown into DDB; enter 'trace'
(w/o quotes) and you will get a backtrace. Send this to us. Then type
'continue' whenever the prompt appears so it'll keep panicking :-)
-- You should use this with #2
2) First, you need to compile a debug kernel. Check your kernel config
file for the line 'makeoptions -g' or similar. If that exists, skip this
part. Otherwise, add that line, recompile your kernel and reboot.

Put dumpdev="/dev/myswapdev" (with the quotes) in /etc/rc.conf,
replacing myswapdev with your swap device (e.g. ad0s2b). Also run:
# dumpon /dev/myswapdev
When you get the panic next, you should see something like "dumping 256 MB"
in the output. When you reboot, savecore(1) will be run and you'll get the
coredump in /var/crash. Do this to get the backtrace:
# cd /var/crash
# cp /usr/src/sys/compile/GENERIC/kernel.debug . # <-- replace GENERIC with your kernel
# script gdb.out gdb -k vmcore.0 kernel.debug # <-- replace 0 with the highest numbered vmcore
(gdb) bt
[snip]
(gdb) quit

Now send us the file gdb.out.
3) If neither of the above is feasible, then you can resolve the symbols listed
above. This is easiest because you don't have to reproduce the panic.
Taking the "instruction pointer" above
> instruction number = 0x8:0xc0205661
you do this:
# nm /kernel | grep c0205661
If that doesn't produce any output (and it probably won't), then chop off the
last digit and try again, e.g.
# nm /kernel | grep c020566
Continue until you get some output; send it to us.


>
> I do prefer maybe a point in the right direction rather than the answer as I learn a lot more reading up on it. I just haven't been able to find anything, especially not knowing what I am looking for.
>
> Can anyone point me in the right direction?

Sure, see above.

-- Josh

>
> --
> //curt
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

------------------------------

Message: 25
Date: Mon, 23 Jun 2003 00:33:45 +0530
From: Gagan Grewal <gagan_...@vsnl.net>
Subject: using bind() call on FreeBSD
To: freebsd-...@freebsd.org
Message-ID: <2003062300...@vsnl.net>
Content-Type: text/plain; charset=us-ascii

Hi Folks :)

I am trying to write a simple a server process which follows this sequence...
socket()
bind()
listen()
accept()
.
.
.
close( descriptor from accept() )
close( descriptor from socket() )

But I am getting error 99 (Cannot assign requested address) from bind().

I am trying to bind the socket on 127.0.0.1:3333
(This works on Linux though)

Are there any special/extra things I need to do in /etc or elsewhere to make
this program run on FreeBSD ?

I am running FreeBSD 4.7-RELEASE

Any help/pointers from you folks would be great :)

Thanks in advance :)

Regards,
Gagan.

------------------------------

Message: 26
Date: Mon, 23 Jun 2003 13:00:06 -0500
From: "Aaron Sloan" <secu...@adtu.org>
Subject: Re: bsd video streaming
To: <mbett...@championelevators.com>,
<freebsd-...@freebsd.org>
Message-ID: <006a01c339b1$484cc050$d3a8a8c0@barney>
Content-Type: text/plain; charset="iso-8859-1"


----- Original Message -----
From: "Matthew Bettinger" <mbett...@championelevators.com>
To: <freebsd-...@freebsd.org>
Sent: Monday, June 23, 2003 11:24 AM
Subject: bsd video streaming


> Hello,
>
> Does anyone know off hand if there is a port that can assist in
> streaming mpeg or asf files from a web page (apache) ?
>
> bsd version 4.7.
>
> regards,
>
> --
> Matthew Bettinger
> System Administrator
> Champion Elevators, Inc.
> Houston, Texas 77061
> 713.640.8500
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questi...@freebsd.org"
>

http://www.freebsd.org/cgi/url.cgi?ports/multimedia/ffmpeg045/pkg-descr


------------------------------

Message: 27
Date: Mon, 23 Jun 2003 13:24:39 -0400
From: "David S. Jackson" <dee...@earthlink.net>
Subject: bus error
To: freebsd-...@freebsd.org
Message-ID: <20030623172...@sylvester.dsj.net>
Content-Type: text/plain; charset=us-ascii


I'm afraid I'm getting a nasty error when I try to do some very
fundamental things. Not sure what's back of all the problems.

For example when I try to start vim or even xinit, I get:

Jun 23 12:00:12 juno /kernel: pid 2700 (vim), uid 0: exited on signal 10


(I happened to be root at the time, but same applies to any user.)


When I try to startx, I get:

Bus error

uname -a shows: FreeBSD juno.dsj.net 4.5-STABLE FreeBSD
4.5-STABLE #7: Sun Apr 28 15:23:53 EDT 2002:
ro...@juno.dsj.net:/usr/src/sys/compile/JUNO i386

I do find .core files for proggies I cannot start, though. I went gdb vim vim.core and got the following:

***snip***
(no debugging symbols found)
Core was generated by 'vim'.
Program terminated with signal 10, Bus error.
Reading symbo9ls from /usr/X11R6/lib/libgtk12.so.2...
(no debugging symbols found)...done
Reading symbols from /usr/X11R6/lib/libgdk12.so.2...
(no debugging symbols found)...done
Reading symbols from /usr/X11R6/lib/libgmodule12.so.3...
(no debugging symbols found)...done
Reading symbols from /usr/X11R6/lib/libglib12.so.3...
(no debugging symbols found)...done
Reading symbols from /usr/local/lib/compat/pkg/libintl.so.2...
(no debugging symbols found)...done
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done
#0 0x2815a26b in memset () from /usr/libexec/ld-elf.so.1
(gdb)

***snip***

Here's the same thing for xinit.core

***snip***
This GDB was configured as &quot;i386-unknown-freebsd&quot;...
(no debugging symbols found)...
Core was generated by 'xinit'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/X11R6/lib/libXmu.so.6...
(no debugging symbols found)...
Reading symbols from /usr/X11R6/lib/libXt.so.6...
(no debugging symbols found)...
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done
#0 0x2805826b in memset () from /usr/libexec/ld-elf.so.1
(gdb)

***snip***


Mind you, I typed this while looking at the screen of the other
box. Hope I got it correctly.

Any idea what is back of this?

Does it look like some file corruption to ld-elf.so.1? How the
heck do I fix that if so? I tried to remake a kernel a while back
and couldn't even complete that process. (sniff, sniff)

What type of stuff uses ld-elf.so.1 anyway? Everything?

TIA.

--
David S. Jackson d...@dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I never forget a face, but in your case I'll make
an exception.
-- Groucho Marx

------------------------------

Message: 28
Date: Mon, 23 Jun 2003 11:13:05 -0700
From: Joshua Oreman <ore...@webserver.get-linux.org>
Subject: Re: bus error
To: "David S. Jackson" <dee...@earthlink.net>
Cc: ques...@freebsd.org
Message-ID: <2003062318...@webserver.get-linux.org>
Content-Type: text/plain; charset=us-ascii

On Mon, Jun 23, 2003 at 01:24:39PM -0400 or thereabouts, David S. Jackson seemed to write:
>
> I'm afraid I'm getting a nasty error when I try to do some very
> fundamental things. Not sure what's back of all the problems.
>
> For example when I try to start vim or even xinit, I get:
>
> Jun 23 12:00:12 juno /kernel: pid 2700 (vim), uid 0: exited on signal 10
>
>
> (I happened to be root at the time, but same applies to any user.)
>
>
> When I try to startx, I get:
>
> Bus error
>
> uname -a shows: FreeBSD juno.dsj.net 4.5-STABLE FreeBSD
> 4.5-STABLE #7: Sun Apr 28 15:23:53 EDT 2002:
> ro...@juno.dsj.net:/usr/src/sys/compile/JUNO i386
>
> I do find .core files for proggies I cannot start, though. I went gdb vim vim.core and got the following:
>
> ***snip***
> (no debugging symbols found)
> Core was generated by 'vim'.
> Program terminated with signal 10, Bus error.
> Reading symbo9ls from /usr/X11R6/lib/libgtk12.so.2...
> (no debugging symbols found)...done
> Reading symbols from /usr/X11R6/lib/libgdk12.so.2...
> (no debugging symbols found)...done
> Reading symbols from /usr/X11R6/lib/libgmodule12.so.3...
> (no debugging symbols found)...done
> Reading symbols from /usr/X11R6/lib/libglib12.so.3...
> (no debugging symbols found)...done
> Reading symbols from /usr/local/lib/compat/pkg/libintl.so.2...
> (no debugging symbols found)...done
> Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done
> #0 0x2815a26b in memset () from /usr/libexec/ld-elf.so.1
> (gdb)

Type 'bt', press enter.

>
> ***snip***
>
> Here's the same thing for xinit.core
>
> ***snip***
> This GDB was configured as &quot;i386-unknown-freebsd&quot;...
> (no debugging symbols found)...
> Core was generated by 'xinit'.
> Program terminated with signal 10, Bus error.
> Reading symbols from /usr/X11R6/lib/libXmu.so.6...
> (no debugging symbols found)...
> Reading symbols from /usr/X11R6/lib/libXt.so.6...
> (no debugging symbols found)...
> Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done
> #0 0x2805826b in memset () from /usr/libexec/ld-elf.so.1
> (gdb)

Type 'bt', press enter.

>
> ***snip***
>
>
> Mind you, I typed this while looking at the screen of the other
> box. Hope I got it correctly.
>
> Any idea what is back of this?

Just clutching at straws here... What does ls -l /etc/malloc.conf say?

>
> Does it look like some file corruption to ld-elf.so.1? How the
> heck do I fix that if so? I tried to remake a kernel a while back
> and couldn't even complete that process. (sniff, sniff)
>
> What type of stuff uses ld-elf.so.1 anyway? Everything?

Everything in /usr/local/[s]bin, most things in /usr/bin.

-- Josh

>
> TIA.
>
> --
> David S. Jackson d...@dsj.net
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> I never forget a face, but in your case I'll make
> an exception.
> -- Groucho Marx
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

------------------------------

Message: 29
Date: Mon, 23 Jun 2003 13:17:25 -0500
From: Alfonso Romero <ib...@prodigy.net.mx>
Subject: swap_pager_getswapspace: failed
To: freebsd-questions <freebsd-...@freebsd.org>
Message-ID: <006601c339b3$b2f5faa0$0100...@ibacsoft.dynu.com>
Content-Type: text/plain; charset="iso-8859-1"

I keep getting the following in /var/log/messages every time I run mysqld:


Jun 23 03:04:14 franky /kernel: swap_pager_getswapspace: failed
Jun 23 03:04:14 franky last message repeated 26 times
Jun 23 03:04:15 franky /kernel: pid 189 (mysqld), uid 88, was killed: out of swap space
Jun 23 11:19:39 franky /kernel: swap_pager_getswapspace: failed
Jun 23 11:19:41 franky last message repeated 48 times


Is this a problem with mysql, or do I need to get more swap space?

The machine has 32MB RAM and a swap space of 128M, I am running apache 1.3.27, mysql 4, postfix and courier-imap. The problem appeared when I began using a mysql database with postfix for virtual domains. BTW, courier-imap doesn´t work with mysql yet.


Thanks in advance,

Alfonso

------------------------------

Message: 30
Date: Mon, 23 Jun 2003 11:20:27 -0700
From: Charlie Schluting <cha...@schluting.com>
Subject: Re: swap_pager_getswapspace: failed
To: Alfonso Romero <ib...@prodigy.net.mx>
Cc: freebsd-questions <freebsd-...@freebsd.org>
Message-ID: <3EF744EB...@schluting.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Alfonso Romero wrote:
> I keep getting the following in /var/log/messages every time I run mysqld:
>
>
> Jun 23 03:04:14 franky /kernel: swap_pager_getswapspace: failed
> Jun 23 03:04:14 franky last message repeated 26 times
> Jun 23 03:04:15 franky /kernel: pid 189 (mysqld), uid 88, was killed: out of swap space
> Jun 23 11:19:39 franky /kernel: swap_pager_getswapspace: failed
> Jun 23 11:19:41 franky last message repeated 48 times
>
>
> Is this a problem with mysql, or do I need to get more swap space?
>
> The machine has 32MB RAM and a swap space of 128M, I am running apache 1.3.27, mysql 4, postfix and courier-imap. The problem appeared when I began using a mysql database with postfix for virtual domains. BTW, courier-imap doesn´t work with mysql yet.
>

run: swapinfo
Most likely out of swap.

------------------------------

Message: 31
Date: Mon, 23 Jun 2003 13:22:24 -0500
From: D J Hawkey Jr <haw...@visi.com>
Subject: Re: Updating FBSD on one slice from another slice
To: Matthew Seaman <m.se...@infracaninophile.co.uk>, questions at
FreeBSD <freebsd-...@freebsd.org>
Message-ID: <20030623182...@sheol.localdomain>
Content-Type: text/plain; charset=us-ascii

On Jun 23, at 04:29 PM, Matthew Seaman wrote:
>
> On Mon, Jun 23, 2003 at 08:43:07AM -0500, D J Hawkey Jr wrote:
> >
> > What I'm stumped with is how to tell 'make [build|install][world|kernel]'
> > to do their thing from the OS in the slice I'm running (the newer), but
> > do the reads and writes on the other, older slice. Same conundrum with
> > 'mergemaster'; how do I tell it to do it's thing on that older slice?
>
> You'll have to copy /mnt/s2/etc/make.conf temporarily in place of
> /etc/make.conf, if there's any significant difference between the two
> systems. Then you can just do:
>
> # cd /mnt/s2/usr/src
> # make installkernel installworld KERNCONF=FOO DESTDIR=/mnt/s2
> # mergemaster -m /mnt/s2/usr/src -D /mnt/s2

All righty, then! You just gotta love these developers.

Many thanks, Matthew.
Dave

--
______________________ ______________________
\__________________ \ D. J. HAWKEY JR. / __________________/
\________________/\ haw...@visi.com /\________________/
http://www.visi.com/~hawkeyd/


------------------------------

Message: 32
Date: Mon, 23 Jun 2003 14:37:05 -0400
From: pi...@bellnet.ca
Subject: Re: changing setup
To: "Han Hwei Woo" <hh...@argosy.ca>
Cc: freebsd-...@FreeBSD.ORG
Message-ID: <5.1.0.14.2.200306...@pop51.bellnet.ca>
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 12:22 PM 6/23/2003 -0300, you wrote:
>man em for Intel Gigabit adapters:
>"The em driver provides support for PCI gigabit Ethernet adapters based on
>the Intel 82540, 82542, 82543, 82544 and 82546 Ethernet controller chips."
>I believe there is Serial ATA support for some chipsets in 5.1. No idea on
>the Fasttrack 378.


I did check the harware compatibility list, but did not find the exact
references for the data given by the manufacturer. :((


My user's guide says the LAN is Intel 82547EI (CSA interface)/Intel
8256EZDual layout (Integrated Fast Ethernet MAC and PHY in one chip. :))

The Fasttrack is 20378.

There is also an Intel ICH5/ICH5R chipset - I don't know if this needs some
special configuration?

Pippo

------------------------------

_______________________________________________
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

End of freebsd-questions Digest, Vol 14, Issue 2
************************************************

0 new messages