Search the web
Sign In
New User? Sign Up
freebsd-questions
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 455883 - 455912 of 455912   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#455912 From: Kevin Kinsey <kdk@...>
Date: Sat Oct 8, 2005 7:11 pm
Subject: Re: changing boot splash screen
kdk@...
Send Email Send Email
 
FreeBsdBeni wrote:

>Hi list,
>
>System : 5.4-RELEASE-p7
>
>I'm trying to change the default boot splash screen from beastie to bmp-file.
>
>Here's my /boot/loader.rc :
>\ Loader.rc
>\ $FreeBSD: src/sys/boot/i386/loader/loader.rc,v 1.2 2003/11/21 19:01:02 dcs
>Exp $
>\
>\ Includes additional commands
>include /boot/loader.4th
>\ Reads and processes loader.rc
>start
>\ Tests for password -- executes autoboot first if a password was defined
>check-password
>\ Load in the boot menu
>include /boot/beastie.4th
>\ Start the boot menu
>beastie-start
>
>And my /boot/loader.conf :
># snd_driver_load="YES"
>snd_inch_load="YES"
># ndis_load="YES"
>if_ndis_load="YES"
># if_pff_load="YES"
>hw.ata.atapi_dma="1"
>loader_color="YES"
>splash_bmp_load="YES"
>bitmap_load="YES"
>bitmap_name="splash.bmp"
>
>In my kernel I have an "options    VESA".
>
>I have a /boot/splash.bmp which is a 8 bpp 640x480 bitmap (from
>http://www.baldwin.cx/splash/saturn_1_640.bmp) where I read the instructions
>on how to change the splash screen too (and I did a "man splash"...).
>
>But when I boot my pc, I dont get a nice bitmap splash screen ! I tried whith
>commenting out in loader.rc the "include /boot/beastie.4th" and
>"beastie-start" lines, but then I get no bootmenu at all.
>
>How do I get a nice splash screen ? Hints and/or tips are welcome :-)
>
>


Well, you don't, but you do.  The splash module won't load the bitmap
until after the "beastie menu", anyway.  And your bitmap is the right
depth, but it's too large, I think.  I believe I answered this question
about a week ago ... check the archives.  I think it was 320xnnn ....

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

#455911 From: Gerard Seibert <gerard@...>
Date: Sat Oct 8, 2005 6:48 pm
Subject: Re[2]: sendmail/postfix ports question
gerard@...
Send Email Send Email
 
On Fri, 07 Oct 2005 07:46:54 -0700, Greg Maruszeczka <greg@...>
Subject: Re: sendmail/postfix ports question
Wrote these words of wisdom:

> Matt Singerman wrote:
> > Hello all,
> >
> > I have a server running FreeBSD 5.2.1 that provides (amongst other
> > things) MTA services to our office via sendmail.  For a variety of a
> > reasons, I would like to move away from sendmail to postfix.  However,
> > the postfix package cannot, as I am sure you know, simply install with
> > sendmail on the system, since they install files to the same places.  I
> > am assuming that I have to delete the sendmail package off the system
> > before I can install postfix (someone please correct me if this
> > assumption is wrong).  My question is, is there a way to safely and
> > accurately save my sendmail configuration in the event that postfix
> > simply does not work out?  I would really prefer not to have to face a
> > situation where I am left high and dry with no MTA working :)
> >
>
>
> The ports version of postfix by default installs all its configuration
> files under /usr/local/ports/postfix so it leaves your /etc/mail alone
> (with the exception of mailer.conf) so your sendmail config should be
> safe -- though it never hurts to tar it up and cp someplace else just in
> case. You DO NOT need to remove sendmail from the system, though, if you
> desire, you can exclude it from the `make world` process by adding
> "NO_SENDMAIL=yes" to /etc/make.conf.
>
> A couple of things to watch for:
>
> 1. You will have another aliases file under the new postfix directory so
> you'll want to remember this if you use the aliases file much. You can
> just ignore the new one and continue to use the one in /etc/mail or you
> can do what I did and instruct postfix through its main.cfg to take the
> postfix-directory version as gospel since this seemed convenient for me
> to keep the bulk of my config stuff in the postfix directory.
>
> 2. Like David said in his reply to you, make sure you read the
> post-install messages once you build/install postfix so that you can
> modify your mailer.conf appropriately to use postfix instead of the core
> sendmail. The /etc/mail/mailer.conf file is the key to the "seamless"
> transition here. Also, be careful with mergemaster when you do the next
> `make world` so that you don't inadvertently overwrite your
> postfix-modified one with the base sendmail one (done that myself once
> or twice :) )
>
>
> Hope that helps,
> G
>

***** REPLY SEPARATOR *****
On 10/8/2005 2:41:20 PM, Gerard Seibert Replied:

I have always thought that it might be a nice option to have FreeBSD
only install the MTA that the user prefers, when the OS is first
installed. If a user wanted PostFix, or Qmail or whatever, that MTA
would be installed and initialized in a similar fashion to what is
currently done with SendMail. However, SendMail would not be installed,
unless it was the users preference. Further, buildworld would by default
update the users MTA of choice, and not default to SendMail.

Of course, I want to win the lottery next week, but that is probably
not going to happen either.

Just my 2¢.

--
"There are two ways to slide easily through life; to believe everything
or to doubt everything. Both ways save us from thinking."

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

#455910 From: Kris Kennaway <kris@...>
Date: Sat Oct 8, 2005 6:16 pm
Subject: Re: SMP using cpu2 only
kris@...
Send Email Send Email
 
On Sat, Oct 08, 2005 at 01:19:43PM -0400, Tamouh H. wrote:
>
> Hello,
>
> After cvsup to 5.4-P7 and compiling the Kernel with SMP, PAE, acpi options,
> I noticed when getting back in that only CPU2 is being used.

> However, I can feel the server is running sluggish and doing TOP confirms
> that only one CPU is being used:

No, it says 2 are in use.

> Any pointers if there is a patch or something I need to do for this ?
>
> The server has 2 physical CPUs with HT enabled (Xeon 2.8GHz EM64T 800MHz
> 1MB)

You do not seem to have HT enabled.  You have to turn it on via sysctl
as well because of the security implications.

Kris

#455909 From: Hentai Pantsu <sugoi.sama@...>
Date: Sat Oct 8, 2005 5:58 pm
Subject: pvm port refuses to work
sugoi.sama@...
Send Email Send Email
 
I was able to install the pvm port, but when i try to run it, it always
fails saying:
libpvm [pid42244] /tmp/pvmd.0.kungfoo: No such file or directory
libpvm [pid42244]: Console: Can't start pvmd

i am running this on my machine (ie, i'm not trying to connect to any remote
host) and i have ipfw enabled
(so i'm guessing it has nothing to do with ipfw, due to loopback address)

i've set the shell variables:
PVM_ARCH=FREEBSD
PVM_ROOT=/usr/local
PVM_DPATH=/usr/local/lib:/usr/local/lib/pvm/lib:/usr/local/lib/pvm/lib/FREEBSD
PVM_PATH=/usr/local/bin:/usr/local/lib



a find showed relevant files here:
/usr/local/lib/pvm
/usr/local/lib/pvm/lib/FREEBSD/pvmd3
/usr/local/lib/pvm/lib/FREEBSD/pvm
/usr/local/lib/pvm/lib/pvm
/usr/local/lib/pvm/lib/pvmd
/usr/local/lib/pvm/lib/pvmgetarch
/usr/local/lib/pvm/bin/FREEBSD/pvm_gstat
/usr/local/lib/pvm/bin/FREEBSD/pvmgroups
/usr/local/lib/pvm/bin/FREEBSD/pvmgs
/usr/local/lib/libpvm3.a
/usr/local/lib/libfpvm3.a
/usr/local/lib/libgpvm3.a
/usr/local/lib/libpvmtrc.a
/usr/local/bin/pvmd
/usr/local/bin/pvm
/usr/local/include/fpvm3.h
/usr/local/include/fpvm3_watcom.h
/usr/local/include/pvm3.h
/usr/local/include/pvmproto.h
/usr/local/include/pvmtev.h



i already was able to compile some basic programs with the make variables:
PVM_ARCH = FREEBSD
CFLAGS = -I$(PVM_ROOT)/include
LDFLAGS = -L$(PVM_ROOT)/lib
LIBS = -lpvm3
$(CC) -o hello hello.o $(LDFLAGS) $(LIBS)



i am able to start the pvmd daemon manually by: pvmd &
but when i try pvm, i get the same error


arghhhh.... how do i solve this??!!

thanks in advance for any help
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

#455908 From: Tijl Coosemans <tijl@...>
Date: Sat Oct 8, 2005 5:51 pm
Subject: i386_set_ldt differences between 4.x and 5.x?
tijl@...
Send Email Send Email
 
i386_set_ldt(int start_sel, union descriptor *descs, int num_sels);

The man page for this function in FreeBSD 5.x mentions the following:

"If num_descs is 1, start_sels is valid, and descs is NULL, then
i386_set_ldt() will free that descriptor (making it available to be
reallocated again later)."

Am I right when I say this is only because 5.x allows dynamic allocation
of descriptors and that freeing a descriptor isn't necessary for
pre-5.0 versions of FreeBSD (and current versions of Net/OpenBSD)?
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

#455907 From: "Tamouh H." <hakmi@...>
Date: Sat Oct 8, 2005 5:19 pm
Subject: SMP using cpu2 only
hakmi@...
Send Email Send Email
 
Hello,

After cvsup to 5.4-P7 and compiling the Kernel with SMP, PAE, acpi options,
I noticed when getting back in that only CPU2 is being used.

I checked dmesg:

impala# dmesg |grep CPU
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.01-MHz 686-class CPU)
   Hyperthreading: 2 logical CPUs
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!

However, I can feel the server is running sluggish and doing TOP confirms
that only one CPU is being used:

last pid: 90384;  load averages:  1.39,  1.35,  1.19
up 0+05:58:52  13:19:40
143 processes: 1 running, 141 sleeping, 1 zombie
CPU states:  0.9% user,  2.6% nice,  2.1% system,  0.2% interrupt, 94.2%
idle
Mem: 486M Active, 3092M Inact, 223M Wired, 129M Cache, 112M Buf, 46M Free
Swap: 8762M Total, 1388K Used, 8760M Free

   PID USERNAME PRI NICE   SIZE    RES STATE  C   TIME   WCPU    CPU COMMAND
90045 root      -8   20  1840K  1376K biord  0   0:35 12.65% 12.65% bsdtar
62646 root      96    0 29868K 27888K select 0   0:21  0.29%  0.29% perl
90367 mailnull   4    0  7120K  4168K sbwait 2   0:00  0.94%  0.24%
exim-4.53-0
  1957 mysql     20    0 87640K 50412K kserel 2   9:40  0.00%  0.00% mysqld
   899 clamav    20    0 25176K 24176K kserel 2   1:18  0.00%  0.00% clamd
   698 root       8   20  9712K  8836K nanslp 0   0:53  0.00%  0.00%
perl5.8.6
   776 root     104    0  9212K  5676K select 2   0:52  0.00%  0.00% cppop
  2755 root       8    0  2744K  2052K nanslp 2   0:42  0.00%  0.00%
perl5.8.6
   434 bind      20    0 11092K  9472K kserel 2   0:40  0.00%  0.00% named
   871 root      96    0 10920K  6676K select 2   0:09  0.00%  0.00% cpsrvd
   772 mailman    8    0  9116K  7260K nanslp 2   0:07  0.00%  0.00% python
   770 mailman    8    0  9060K  7244K nanslp 0   0:06  0.00%  0.00% python
   768 mailman    8    0  8716K  7032K nanslp 2   0:06  0.00%  0.00% python
81489 nobody     4    0 47324K 39128K sbwait 2   0:06  0.00%  0.00% httpd
   773 mailman    8    0  9016K  7116K nanslp 0   0:06  0.00%  0.00% python
  2729 mailnull 102    0  6112K  2464K select 0   0:06  0.00%  0.00%
exim-4.53-0
   771 mailman    8    0  7976K  6096K nanslp 2   0:06  0.00%  0.00% python

Any pointers if there is a patch or something I need to do for this ?

The server has 2 physical CPUs with HT enabled (Xeon 2.8GHz EM64T 800MHz
1MB)

This is running on FreeBSD 5.4-i386


Thank you,

Tamouh Hakmi


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

#455906 From: Sasa Stupar <sasa@...>
Date: Sat Oct 8, 2005 4:42 pm
Subject: Re: tunefs problem
sasa@...
Send Email Send Email
 
--On 8. oktober 2005 9:02 -0500 Gunter Wambaugh <unixgeek@...>
wrote:

> Look at the output from fsck.  It very clearly tells you that it  found
> problems, but didn't fix them (probably because the partition  is
> mounted).  Notice the following lines:
> ** /dev/ad2s1a (NO WRITE)
> and
> CLEAR? no
>
> Boot to single user mode and try it again.
>
> Also, if you add fsck_y_enable="YES" to rc.conf these should be fixed
> automatically at boot (IIRC).
>
> HTH
>


Thanx for the tip.

Sasa

#455905 From: Chuck Swiger <cswiger@...>
Date: Sat Oct 8, 2005 4:32 pm
Subject: Re: FreeBSD Minimum System Requirements
cswiger@...
Send Email Send Email
 
Stephen Gary Wozniak wrote:
> Can you tell me the minimum system requirements for FreeBSD 5.4? 4.1? 4.4?

5.4 requires 24MB of RAM and a 486-class CPU.  4.1, 4.4, and the rest of the
4.x releases require 16MB of RAM and a 386-class CPU.

Both will fit in 1GB of disk, or less if you don't install big things like X11
or the src and devtools.  5-10 GB is comfortable for a complete install with
room to rebuild the system and install a few hundred ports.

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

#455904 From: Björn König <bkoenig@...>
Date: Sat Oct 8, 2005 4:17 pm
Subject: Re: FreeBSD Minimum System Requirements
bkoenig@...
Send Email Send Email
 
Stephen Gary Wozniak wrote:

> Can you tell me the minimum system requirements for FreeBSD 5.4? 4.1? 4.4?

The minimum system requirements depend on the software that you want to
use with FreeBSD. In theory FreeBSD 4.x and 5.x should run on a 80386
CPU with a small amount of RAM. I use FreeBSD 5.4 with a Pentium 166
Laptop and 32 MB RAM successfully.

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

#455903 From: Björn König <bkoenig@...>
Date: Sat Oct 8, 2005 4:11 pm
Subject: Re: Mount the stick
bkoenig@...
Send Email Send Email
 
Carstea Catalin wrote:

> What is the simple way to know my memory stick name?
> ....
> With dmesg i know if my memory stick is mount but i want to know the
> complete name.
> Ex.: da0s1
> ...

You'll get all information about your memory stick after you have
connected it in /var/log/messages, e.g. its manufacturer, model and the
device name (da0): "tail /var/log/messages".

The nodes of the partitions will be created dynamically in /dev too.
Just type "ls -l /dev/da0*" to see them.

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

#455902 From: FreeBsdBeni <freebsdbeni@...>
Date: Sat Oct 8, 2005 2:58 pm
Subject: changing boot splash screen
freebsdbeni@...
Send Email Send Email
 
Hi list,

System : 5.4-RELEASE-p7

I'm trying to change the default boot splash screen from beastie to bmp-file.

Here's my /boot/loader.rc :
\ Loader.rc
\ $FreeBSD: src/sys/boot/i386/loader/loader.rc,v 1.2 2003/11/21 19:01:02 dcs
Exp $
\
\ Includes additional commands
include /boot/loader.4th
\ Reads and processes loader.rc
start
\ Tests for password -- executes autoboot first if a password was defined
check-password
\ Load in the boot menu
include /boot/beastie.4th
\ Start the boot menu
beastie-start

And my /boot/loader.conf :
# snd_driver_load="YES"
snd_inch_load="YES"
# ndis_load="YES"
if_ndis_load="YES"
# if_pff_load="YES"
hw.ata.atapi_dma="1"
loader_color="YES"
splash_bmp_load="YES"
bitmap_load="YES"
bitmap_name="splash.bmp"

In my kernel I have an "options    VESA".

I have a /boot/splash.bmp which is a 8 bpp 640x480 bitmap (from
http://www.baldwin.cx/splash/saturn_1_640.bmp) where I read the instructions
on how to change the splash screen too (and I did a "man splash"...).

But when I boot my pc, I dont get a nice bitmap splash screen ! I tried whith
commenting out in loader.rc the "include /boot/beastie.4th" and
"beastie-start" lines, but then I get no bootmenu at all.

How do I get a nice splash screen ? Hints and/or tips are welcome :-)

--
FreeBsdBeni.

#455901 From: Kees Plonsz <kees@...>
Date: Sat Oct 8, 2005 2:44 pm
Subject: Re: tunefs problem
kees@...
Send Email Send Email
 
On Saturday 08 October 2005 16:02, Gunter Wambaugh wrote:
> Look at the output from fsck.  It very clearly tells you that it
> found problems, but didn't fix them (probably because the partition
> is mounted).  Notice the following lines:
> ** /dev/ad2s1a (NO WRITE)
> and
> CLEAR? no
>
> Boot to single user mode and try it again.
>
> Also, if you add fsck_y_enable="YES" to rc.conf these should be fixed
> automatically at boot (IIRC).
>
> HTH
>
> On Oct 8, 2005, at 2:32 AM, Sasa Stupar wrote:
>

It is not fsck that is cousing the trouble but tunefs itself.

From the man-page you can read:

   The tunefs utility cannot be run on an active file system.
   To change an active file system, it must
   be downgraded to read-only or unmounted.

So to change the / partition with tunefs, you have to run
another system wich is not using that / partition.
( for instance with the fix-it cdrom )
Or you can, as the manual says, mount it read-only.
I never tried that, but maybe it will work.


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

#455900 From: Gunter Wambaugh <unixgeek@...>
Date: Sat Oct 8, 2005 2:02 pm
Subject: Re: tunefs problem
unixgeek@...
Send Email Send Email
 
Look at the output from fsck.  It very clearly tells you that it
found problems, but didn't fix them (probably because the partition
is mounted).  Notice the following lines:
** /dev/ad2s1a (NO WRITE)
and
CLEAR? no

Boot to single user mode and try it again.

Also, if you add fsck_y_enable="YES" to rc.conf these should be fixed
automatically at boot (IIRC).

HTH

On Oct 8, 2005, at 2:32 AM, Sasa Stupar wrote:

>
>
> --On 8. oktober 2005 0:20 -0700 David Kirchner <dpk@...> wrote:
>
>
>> On 10/8/05, Sasa Stupar <sasa@...> wrote:
>>
>>> I am trying to enable tunefs for my filesystem but I get the
>>> following:
>>> -------------
>>> # tunefs -n enable /
>>> tunefs: soft updates cannot be enabled until fsck is run
>>> tunefs: /dev/ad2s1a: failed to write superblock
>>> -------------
>>>
>>> But AFAIK fsck is not running.
>>>
>>> What am I missing here?
>>>
>>> Regards,
>>> Sasa
>>>
>>
>> It means that you need to run fsck on the partition before you can
>> enable softupdates. Something like "fsck -y /" will do it.
>>
>
> I have done it but:
> -----------
> # fsck -y /
> ** /dev/ad2s1a (NO WRITE)
> ** Last Mounted on /
> ** Root file system
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> UNREF FILE I=1719827  OWNER=mysql MODE=100600
> SIZE=0 MTIME=Oct  6 12:19 2005
> CLEAR? no
>
> UNREF FILE I=1719847  OWNER=mysql MODE=100600
> SIZE=0 MTIME=Oct  6 12:19 2005
> CLEAR? no
>
> UNREF FILE I=1719855  OWNER=mysql MODE=100600
> SIZE=0 MTIME=Oct  6 12:19 2005
> CLEAR? no
>
> ** Phase 5 - Check Cyl groups
> 405241 files, 14013004 used, 4821771 free (72987 frags, 593598
> blocks, 0.4% fragmentation)
> mig29# tunefs -n enable /
> tunefs: soft updates cannot be enabled until fsck is run
> tunefs: /dev/ad2s1a: failed to write superblock
> ------------
>
> Still the same issue.
> Anything else should I do?
>
> Regards,
> Sasa
>
>

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

#455899 From: Stephen Gary Wozniak <mattrajca@...>
Date: Sat Oct 8, 2005 1:47 pm
Subject: FreeBSD Minimum System Requirements
mattrajca@...
Send Email Send Email
 
Hello!

Can you tell me the minimum system requirements for FreeBSD 5.4? 4.1? 4.4?

Thanks

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

#455898 From: "Jamie Ann P. Zamodio" <japz20@...>
Date: Sat Oct 8, 2005 11:41 am
Subject: Throughput computation given cwnd and transmission time values?
japz20@...
Send Email Send Email
 
Hey guys. :)

Anybody have any idea how to compute for the
throughput of a connection given the congestion window
size of each segment, but not given the RTT? (I'm
using TCP Reno as my protocol flavor.) My log file
doesn't provide the individual RTT values, but I have
the total transmission time though.
When I sum the total congestion window size of the
connection and divide it by the transmission time, I
get unbelievably high throughput values like 20MB for
my 802.11b connection, which I think has a ceiling of
11MB.

Any form of reply will be extremely appreciated.

Thanks in advance,
Jamie



__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

#455897 From: Carstea Catalin <carstea.catalin@...>
Date: Sat Oct 8, 2005 11:27 am
Subject: Mount the stick
carstea.catalin@...
Send Email Send Email
 
What is the simple way to know my memory stick name?
....
With dmesg i know if my memory stick is mount but i want to know the
complete name.
Ex.: da0s1
...
--
--
Any help would be greatly appreciated.
regards,
Carstea Catalin
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

#455896 From: Massimiliano Stucchi <stucchi@...>
Date: Sat Oct 8, 2005 8:56 am
Subject: Re: What's a good MySQL utitlity?
stucchi@...
Send Email Send Email
 
On 081005, 10:52, Kiffin Gish wrote:
> On Fri, 2005-10-07 at 15:21 -0500, Kevin Kinsey wrote:
> > Kiffin Gish wrote:
> >
> > >What;s a good client utility for MySQL.
> > >
> > >
> >
> > You mean, other than this?
> >
> >     mysql>
> >
> > :-D
>
> Actually I was referring to something more graphical.

cd /usr/ports/database/mysqlcc

Graphical, and officially from MySQL AB.

Cheers
--

Massimiliano Stucchi
WillyStudios.com
stucchi@...
Http://www.willystudios.com/

#455895 From: Kiffin Gish <kiffin@...>
Date: Sat Oct 8, 2005 8:52 am
Subject: Re: What's a good MySQL utitlity?
kiffin@...
Send Email Send Email
 
On Fri, 2005-10-07 at 15:21 -0500, Kevin Kinsey wrote:
> Kiffin Gish wrote:
>
> >What;s a good client utility for MySQL.
> >
> >
>
> You mean, other than this?
>
>     mysql>
>
> :-D

Actually I was referring to something more graphical.

>
> >Under Windows I have always used MySQL-front (www.mysqlfront.de/) and
> >was just wondering if there was a similar tool available under FreeBSD.
> >
> >Thanks alot in advance.
> >
> >
>
> You might take a look at PHPMyAdmin.  Web based, though;
> I dunno about rich client apps (but I figure that's what MySQL
> front is, eh?)
>
> Kevin Kinsey
>
--
Kiffin Gish
Gouda, The Netherlands

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

#455894 From: "Andrew P." <infofarmer@...>
Date: Sat Oct 8, 2005 7:36 am
Subject: Re: Problem installing linuxpluginwrapper
infofarmer@...
Send Email Send Email
 
On 10/8/05, edward <kouye@...> wrote:
> Hi all,
> I'm trying to set up Firefox to use a flash plug-in (video playback went
> great with mplayerplug-in, thanks Ian, Andrew and Adi...). I installed
> linux-flashplugin-7.0r25_2 via portinstall. Then tried to install
> linuxpluginwrapper but installation failed. Seems like it needs
> glib2-2.2.1-1.i386.rpm but this doesn't install. I get the following :
>
> ===>   linux-gtk2-2.2.1_5 depends on file:
> /compat/linux/usr/lib/libglib-2.0.so.0 - not found
> ===>    Verifying reinstall for /compat/linux/usr/lib/libglib-2.0.so.0
> in /usr/ports/devel/linux-glib2
> ===>  Vulnerability check disabled, database not found
> => glib2-2.2.1-1.i386.rpm doesn't seem to exist in /usr/ports/distfiles/rpm.
> => Attempting to fetch from
> ftp://ftp.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS/.
> glib2-2.2.1-1.i386.rpm                        100% of  374 kB   57 kBps
> ===>  Extracting for linux-glib2-2.2.1_3
> => Checksum OK for rpm/glib2-2.2.1-1.i386.rpm.
> ===>  Patching for linux-glib2-2.2.1_3
> ===>   linux-glib2-2.2.1_3 depends on executable: rpm - found
> ===>  Configuring for linux-glib2-2.2.1_3
> ===>  Installing for linux-glib2-2.2.1_3
> ===>   linux-glib2-2.2.1_3 depends on file:
> /compat/linux/usr/X11R6/lib/libX11.so.6 - found
> ===>   linux-glib2-2.2.1_3 depends on file:
> /compat/linux/etc/redhat-release - found
> ===>   Generating temporary packing list
> glib2-2.2.1-1.i386.rpm
> ELF binary type "3" not known.
> execution of glib2-2.2.1-1 script failed, exit status 255
> ELF binary type "3" not known.
> /compat/linux/sbin/ldconfig: 1: Syntax error: "(" unexpected
> *** Error code 2
>
> Stop in /usr/ports/devel/linux-glib2.
> *** Error code 1
>
> Stop in /usr/ports/devel/linux-glib2.
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/linux-gtk2.
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/linux-gtk2.
> *** Error code 1
>
> Stop in /usr/ports/multimedia/linux-realplayer.
> *** Error code 1
>
> Stop in /usr/ports/multimedia/linux-realplayer.
> *** Error code 1
>
> Stop in /usr/ports/www/linuxpluginwrapper.
> *** Error code 1
>
> Stop in /usr/ports/www/linuxpluginwrapper.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portinstall2894.0 make reinstall
> ** Fix the installation problem and try again.
> ** Listing the failed packages (*:skipped / !:failed)
>          ! www/linuxpluginwrapper        (install error)
> --->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
>
>
>   I then tried to portinstall linux-glib2 but it didn't work either.
> Haven't found much in /usr/ports/UPDATING, except the following
> paragraph which I'm not sure applies to me as I'm using KDE. Besides I
> was installing, not upgrading.
>
> 20050312:
>    AFFECTS: all users who have glib/gtk/gnome libraries installed
>    AUTHOR: ahze@... and the FreeBSD gnome team
>
>    Gnome has been upgraded to 2.10 and gtk/glib to 2.6.
>    DO NOT USE portupgrade(1) to update any gnome or gtk
>    or any port that depends on them. Using portupgrade
>    will cause problems and you will have to manually
>    upgrade ports.  Please use the gnome_upgrade.sh
>    script from
>      http://www.FreeBSD.org/gnome/gnome_upgrade.sh
>
>
>
> Any suggestions ?
> Thanks guys,
> Edward
>
>
> _______________________________________________
> freebsd-questions@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."
>

Obviously, you forgot to kldload linux
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

#455893 From: Carstea Catalin <carstea.catalin@...>
Date: Sat Oct 8, 2005 6:37 am
Subject: Incremental backup!
carstea.catalin@...
Send Email Send Email
 
i want to back-up  on cd my www -directory. i want to use for this, cd -media.
At some intervals i want to make incremental backup and put the result on cd.
.................
i use kde and i want a grafical tool for write cd.
.....................................
if u have one solution for my problem pls. send me a reply!

--
Any help would be greatly appreciated.
regards,
Carstea Catalin
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

#455892 From: Sasa Stupar <sasa@...>
Date: Sat Oct 8, 2005 7:32 am
Subject: Re: tunefs problem
sasa@...
Send Email Send Email
 
--On 8. oktober 2005 0:20 -0700 David Kirchner <dpk@...> wrote:

> On 10/8/05, Sasa Stupar <sasa@...> wrote:
>> I am trying to enable tunefs for my filesystem but I get the following:
>> -------------
>> # tunefs -n enable /
>> tunefs: soft updates cannot be enabled until fsck is run
>> tunefs: /dev/ad2s1a: failed to write superblock
>> -------------
>>
>> But AFAIK fsck is not running.
>>
>> What am I missing here?
>>
>> Regards,
>> Sasa
>
> It means that you need to run fsck on the partition before you can
> enable softupdates. Something like "fsck -y /" will do it.

I have done it but:
-----------
# fsck -y /
** /dev/ad2s1a (NO WRITE)
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=1719827  OWNER=mysql MODE=100600
SIZE=0 MTIME=Oct  6 12:19 2005
CLEAR? no

UNREF FILE I=1719847  OWNER=mysql MODE=100600
SIZE=0 MTIME=Oct  6 12:19 2005
CLEAR? no

UNREF FILE I=1719855  OWNER=mysql MODE=100600
SIZE=0 MTIME=Oct  6 12:19 2005
CLEAR? no

** Phase 5 - Check Cyl groups
405241 files, 14013004 used, 4821771 free (72987 frags, 593598 blocks, 0.4%
fragmentation)
mig29# tunefs -n enable /
tunefs: soft updates cannot be enabled until fsck is run
tunefs: /dev/ad2s1a: failed to write superblock
------------

Still the same issue.
Anything else should I do?

Regards,
Sasa

#455891 From: David Kirchner <dpk@...>
Date: Sat Oct 8, 2005 7:20 am
Subject: Re: tunefs problem
dpk@...
Send Email Send Email
 
On 10/8/05, Sasa Stupar <sasa@...> wrote:
> I am trying to enable tunefs for my filesystem but I get the following:
> -------------
> # tunefs -n enable /
> tunefs: soft updates cannot be enabled until fsck is run
> tunefs: /dev/ad2s1a: failed to write superblock
> -------------
>
> But AFAIK fsck is not running.
>
> What am I missing here?
>
> Regards,
> Sasa

It means that you need to run fsck on the partition before you can
enable softupdates. Something like "fsck -y /" will do it.
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

#455890 From: Sasa Stupar <sasa@...>
Date: Sat Oct 8, 2005 7:17 am
Subject: tunefs problem
sasa@...
Send Email Send Email
 
I am trying to enable tunefs for my filesystem but I get the following:
-------------
# tunefs -n enable /
tunefs: soft updates cannot be enabled until fsck is run
tunefs: /dev/ad2s1a: failed to write superblock
-------------

But AFAIK fsck is not running.

What am I missing here?

Regards,
Sasa

#455889 From: Sasa Stupar <sasa@...>
Date: Sat Oct 8, 2005 7:14 am
Subject: Dsk status question
sasa@...
Send Email Send Email
 
Hi!

On my FBSD 5.4 I have added second disk via sysinstall and with label
/disk2. I can access it normally but what bothers me that on daily Disk
status it shows me only the status for the first disk and not that second
one:
------------
Disk status:
Filesystem  1K-blocks     Used   Avail Capacity  Mounted on
/dev/ad2s1a  37669550 28025600 6630386    81%    /
devfs               1        1       0   100%    /dev
------------

In my fstab I have:
----------------
# cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump
Pass#
/dev/ad2s1b             none            swap    sw              0       0
/dev/ad2s1a             /               ufs     rw              1       1
/dev/acd0               /cdrom          cd9660  ro,noauto       0       0
/dev/acd1               /cdrom1         cd9660  ro,noauto       0       0
----------------

So my second drive isn't listed here but I can still access it without
needing to mount it manually.

Some other info:
First disk:
--------------
# fdisk /dev/ad2
******* Working on device /dev/ad2 *******
parameters extracted from in-core disklabel are:
cylinders=79656 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=79656 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
     start 63, size 80292807 (39205 Meg), flag 80 (active)
         beg: cyl 0/ head 1/ sector 1;
         end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
-------------

Second disk:
--------------
# fdisk /dev/ad3
******* Working on device /dev/ad3 *******
parameters extracted from in-core disklabel are:
cylinders=77536 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=77536 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
     start 63, size 78156162 (38162 Meg), flag 80 (active)
         beg: cyl 0/ head 1/ sector 1;
         end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
-------------

How is it possible to mount second disk automatically if it is not listed
in  /etc/fstab?

Regards,
Sasa

#455888 From: Danny Pansters <danny@...>
Date: Sat Oct 8, 2005 4:28 am
Subject: Re: disk errors help!!
danny@...
Send Email Send Email
 
On Friday 7 October 2005 01:55, RYAN vAN GINNEKEN wrote:
> My freebsd 4.11 system has been subjected to a power failure and seems
> to have many disk errors something about soft updates and not being able
> to read certain sectors it comes up with the standard single user pick
> your shell command and tells me to run fsck manually.  I have run it
> several times but the system keeps comming with ad0s4 marked dirty which
> is my /usr partition.

Doesn't it go all through the list (everyting should be - if recoverable - in
lost+found after you answered "Y" to everything that you think would be
important). If you have to reboot all the time at this stage already uhm
you're doing bad.

> Sometimes i get a resetting device ata0 timeout
> error.

Most important info. Your drive is dying. Might be fast or slow but it is
going. Switch to mayhem mode.

> What should i do of course i have no current backups for this
> system and the most important thing is retrieving my users data it would
> be great if i could get the system to boot up but if i have to reinstall
> no biggy as long as i can get most of my data back.

Stop rebooting, save the drive or what's left of it, put it into another box
and try to salvage your data from there. Get it out of that box. You never
know if its solely a disk issue or perhaps a south bridge that cracked or
what have you. Stop booting it.

> ps  i promise to do remote backups nightly for the rest of my life.

Oh well. Real men and all that :)

Just my NSHO,

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

#455887 From: makisupa <bsd.makisupa@...>
Date: Sat Oct 8, 2005 1:51 am
Subject: Re: Newbie Questions
bsd.makisupa@...
Send Email Send Email
 
Added inetd_enable="YES" to rc.conf and made sure the rest of the steps
from the pkg-message where followed.  'killall -HUP inetd' does not give
an error.  the output of 'ps -aux | grep inetd' (as user, no output as
root):
makisupa  3330  0.0  0.1   512   392  p0  R+    8:45PM   0:00.00 grep
inetd

So i missed something real obvious, inetd not running, but its still not
working...same behavior as before (after a reboot).

Thanks for your help (it is truly appreciated),
Mak


On Fri, 2005-10-07 at 20:00 -0500, Kevin Kinsey wrote:
> makisupa wrote:
>
> >Been using Linux awhile...recently migrated a laptop to FreeBSD.  Its a
> >bit old and BSD runs nicely on the deprecated hardware.  I am using
> >6.0-BETA 5 despite warning to the contrary because my atheros based wifi
> >card works well -- i had all kinds of trouble in 5.4.  Running gnome
> >2.12.
> >My newbie questions:
> >
> >1.  I am pretty sure that FAM is not running.  The newest version of the
> >package is installed. I followed the directions from the gnome FAQ and
> >the pkg_message. 'killall -HUP inetd' gives me 'no matching processes
> >were found.'
> >
> >
> >
>
> What does `ps -aux | grep inetd` tell you?  Inetd doesn't run
> unless enabled in /etc/rc.conf... and IIRC (I've switched to
> xfce4 from Gnome2), fam runs from inetd, so that could be
> a root (no pun intended) cause of these issues, perhaps?
> IANAE....
>
>
> >When i launch something like gnome-menu-editor i get a
> >'failed to connect to the FAM server' message in the terminal.
> >Similiarly, whenever i gedit a file su'd as root i get a
> >'gnomeUI-WARNING **: While connecting to the session manage:
> >authentication rejected, reason:  None of the authentication protocols
> >specified are supported and host based authentication failed.'  Please
> >help...its very annoying as the gnome does not update worth a damn as
> >you move, add, and delete files.  I realize the instructions were for
> >gnome 2.10 and i probably missed something obvious.
> >
> >2.  Is there a way to turn DMA on for a certain device or devices and
> >not every ATAPI drive?  I got permissions and whatnot straight to allow
> >a users to mount CD/DVD drives -- my CD drive does not work correctly in
> >DMA mode. BUT, i will need DMA in order to play DVDs correctly (see
> >below). I passed the hw.ata.atapi_dma="1" option in my /boot/loader.conf
> >file. is there a option i can pass that only enables DMA on my acd1
> >(dvd) and ad0 (hd) but NOT acd0 (CD)?
> >
> >
> >
>
> Hrm, I'm not much good from here out.  I note that there are two
> sysctl's "hw.ata.ata.dma" and "hw.ata.atapi.dma", dunno if that'd
> help.  Maybe see ata(4) for a little more detail.  Being as the DVD
> and CD are on the same bus, I'd say it's not too likely, but, again,
> IANAE....
>
> >3.  DVD playback.  Just trying to use the totem default in my gnome
> >install.  I get a 'failed to retrieve capabilities of device /dev/acd1:
> >inappropriate ioctl for device'.  I've googled the hell out of this and
> >came up with little helpful info.  Any ideas?
> >
> >Thanks for your help.  I think i'm doing fairly well for only running
> >BSD for a couple of days...but if i could get these minor things
> >straightened out i'd be set (and have a rockin' little laptop).  FreeBSD
> >definately seems more intuitive than most of the linux distros i've
> >used...
> >
> >Thanks,
> >
> >Mak.
> >
> >
>
>
> Best o' luck,
>
> Kevin Kinsey
> _______________________________________________
> freebsd-questions@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

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

#455886 From: "Z.C.B." <vvelox@...>
Date: Sat Oct 8, 2005 1:43 am
Subject: Re: Hidden spot on hard drives?
vvelox@...
Send Email Send Email
 
On Thu, 06 Oct 2005 09:26:08 -0700
garys@... (Gary W. Swearingen) wrote:

> Norberto Meijome <freebsd@...> writes:
>
> > Where does HPA(Host protected Area) sit in all this? is this the
> > 'boot sector' trick?
>
> I don't know.  I just heard that some computer makers are somehow
> reserving as much as half the HDD for a full copy of the OS to
> recover from when the normal one trips over itself.  I'm guessing
> that this has more to do with MSFT licensing terms than with saving
> a buck from not including a CDROM.  I wonder if there's some
> low-level way to tell a modern disk drive where you want "sector 0"
> to start.

As a tech, I have seen this before. Let me assure you this has
everything thing to do with saving a bit of money. BTW those
partitions are rather easy to access... just take it out and put it
in another machine. The installation of windows on drives like that
are set up not to see it, for the most part. IIRC it is visible from
the MMC. If you take the drive out and put in another machine, it is
perfectly visible.
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

#455885 From: Benjamin Lutz <benlutz@...>
Date: Sat Oct 8, 2005 1:27 am
Subject: device numbering / glabel
benlutz@...
Send Email Send Email
 
Hello,

I've run into a little problem with device numbering. My boot device is
a SATA RAID5 array, which normally shows up at /dev/da0. Now I've
connected an external USB HD, which showed up at /dev/da1. So far so good.

The next time I booted, I was surprised to see the USB disk now having
/dev/da0, and the RAID array having /dev/da1. The machine dropped me
into single user mode because /etc/fstab was now wrong.

Now, it's clearly not a good thing to have one's boot device name change
depending on whether an USB HD is connected or not. I figured I could
use glabel(8) to set a label, and then use that. Setting the label for
both RAID array and USB disk worked. For the RAID array, dmesg does say:

   GEOM_LABEL: Label for provider da0 is label/raid5.

However, the label doesn't show up in /dev/label, there's only the label
for the USB disk.

Any idea how I can solve this? Connecting the USB disk after booting is
not an option, since this system's supposed to be headless, and I'd like
to be able to remote reboot it.

Cheers
Benjamin

#455884 From: Kevin Kinsey <kdk@...>
Date: Sat Oct 8, 2005 1:00 am
Subject: Re: Newbie Questions
kdk@...
Send Email Send Email
 
makisupa wrote:

>Been using Linux awhile...recently migrated a laptop to FreeBSD.  Its a
>bit old and BSD runs nicely on the deprecated hardware.  I am using
>6.0-BETA 5 despite warning to the contrary because my atheros based wifi
>card works well -- i had all kinds of trouble in 5.4.  Running gnome
>2.12.
>My newbie questions:
>
>1.  I am pretty sure that FAM is not running.  The newest version of the
>package is installed. I followed the directions from the gnome FAQ and
>the pkg_message. 'killall -HUP inetd' gives me 'no matching processes
>were found.'
>
>
>

What does `ps -aux | grep inetd` tell you?  Inetd doesn't run
unless enabled in /etc/rc.conf... and IIRC (I've switched to
xfce4 from Gnome2), fam runs from inetd, so that could be
a root (no pun intended) cause of these issues, perhaps?
IANAE....


>When i launch something like gnome-menu-editor i get a
>'failed to connect to the FAM server' message in the terminal.
>Similiarly, whenever i gedit a file su'd as root i get a
>'gnomeUI-WARNING **: While connecting to the session manage:
>authentication rejected, reason:  None of the authentication protocols
>specified are supported and host based authentication failed.'  Please
>help...its very annoying as the gnome does not update worth a damn as
>you move, add, and delete files.  I realize the instructions were for
>gnome 2.10 and i probably missed something obvious.
>
>2.  Is there a way to turn DMA on for a certain device or devices and
>not every ATAPI drive?  I got permissions and whatnot straight to allow
>a users to mount CD/DVD drives -- my CD drive does not work correctly in
>DMA mode. BUT, i will need DMA in order to play DVDs correctly (see
>below). I passed the hw.ata.atapi_dma="1" option in my /boot/loader.conf
>file. is there a option i can pass that only enables DMA on my acd1
>(dvd) and ad0 (hd) but NOT acd0 (CD)?
>
>
>

Hrm, I'm not much good from here out.  I note that there are two
sysctl's "hw.ata.ata.dma" and "hw.ata.atapi.dma", dunno if that'd
help.  Maybe see ata(4) for a little more detail.  Being as the DVD
and CD are on the same bus, I'd say it's not too likely, but, again,
IANAE....

>3.  DVD playback.  Just trying to use the totem default in my gnome
>install.  I get a 'failed to retrieve capabilities of device /dev/acd1:
>inappropriate ioctl for device'.  I've googled the hell out of this and
>came up with little helpful info.  Any ideas?
>
>Thanks for your help.  I think i'm doing fairly well for only running
>BSD for a couple of days...but if i could get these minor things
>straightened out i'd be set (and have a rockin' little laptop).  FreeBSD
>definately seems more intuitive than most of the linux distros i've
>used...
>
>Thanks,
>
>Mak.
>
>


Best o' luck,

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

#455883 From: edward <kouye@...>
Date: Sat Oct 8, 2005 12:57 am
Subject: Problem installing linuxpluginwrapper
kouye@...
Send Email Send Email
 
Hi all,
I'm trying to set up Firefox to use a flash plug-in (video playback went
great with mplayerplug-in, thanks Ian, Andrew and Adi...). I installed
linux-flashplugin-7.0r25_2 via portinstall. Then tried to install
linuxpluginwrapper but installation failed. Seems like it needs
glib2-2.2.1-1.i386.rpm but this doesn't install. I get the following :

===>   linux-gtk2-2.2.1_5 depends on file:
/compat/linux/usr/lib/libglib-2.0.so.0 - not found
===>    Verifying reinstall for /compat/linux/usr/lib/libglib-2.0.so.0
in /usr/ports/devel/linux-glib2
===>  Vulnerability check disabled, database not found
=> glib2-2.2.1-1.i386.rpm doesn't seem to exist in /usr/ports/distfiles/rpm.
=> Attempting to fetch from
ftp://ftp.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS/.
glib2-2.2.1-1.i386.rpm                        100% of  374 kB   57 kBps
===>  Extracting for linux-glib2-2.2.1_3
=> Checksum OK for rpm/glib2-2.2.1-1.i386.rpm.
===>  Patching for linux-glib2-2.2.1_3
===>   linux-glib2-2.2.1_3 depends on executable: rpm - found
===>  Configuring for linux-glib2-2.2.1_3
===>  Installing for linux-glib2-2.2.1_3
===>   linux-glib2-2.2.1_3 depends on file:
/compat/linux/usr/X11R6/lib/libX11.so.6 - found
===>   linux-glib2-2.2.1_3 depends on file:
/compat/linux/etc/redhat-release - found
===>   Generating temporary packing list
glib2-2.2.1-1.i386.rpm
ELF binary type "3" not known.
execution of glib2-2.2.1-1 script failed, exit status 255
ELF binary type "3" not known.
/compat/linux/sbin/ldconfig: 1: Syntax error: "(" unexpected
*** Error code 2

Stop in /usr/ports/devel/linux-glib2.
*** Error code 1

Stop in /usr/ports/devel/linux-glib2.
*** Error code 1

Stop in /usr/ports/x11-toolkits/linux-gtk2.
*** Error code 1

Stop in /usr/ports/x11-toolkits/linux-gtk2.
*** Error code 1

Stop in /usr/ports/multimedia/linux-realplayer.
*** Error code 1

Stop in /usr/ports/multimedia/linux-realplayer.
*** Error code 1

Stop in /usr/ports/www/linuxpluginwrapper.
*** Error code 1

Stop in /usr/ports/www/linuxpluginwrapper.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall2894.0 make reinstall
** Fix the installation problem and try again.
** Listing the failed packages (*:skipped / !:failed)
          ! www/linuxpluginwrapper        (install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed


   I then tried to portinstall linux-glib2 but it didn't work either.
Haven't found much in /usr/ports/UPDATING, except the following
paragraph which I'm not sure applies to me as I'm using KDE. Besides I
was installing, not upgrading.

20050312:
    AFFECTS: all users who have glib/gtk/gnome libraries installed
    AUTHOR: ahze@... and the FreeBSD gnome team

    Gnome has been upgraded to 2.10 and gtk/glib to 2.6.
    DO NOT USE portupgrade(1) to update any gnome or gtk
    or any port that depends on them. Using portupgrade
    will cause problems and you will have to manually
    upgrade ports.  Please use the gnome_upgrade.sh
    script from
      http://www.FreeBSD.org/gnome/gnome_upgrade.sh



Any suggestions ?
Thanks guys,
Edward


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

Messages 455883 - 455912 of 455912   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help