Re: DHCPd Will Not Listen on the Correct Interface

2006-07-23 Thread Serban Giuroiu
On Saturday 22 July 2006 21:27, Mikhail Goriachev wrote:
 Instead of PF, you can control serving interfaces from /etc/rc.conf:

 dhcpd_ifaces=fxp0 rl0

Sure, the dhcpd_ifaces variable instructs the rc script to add those 
interfaces as arguments to dhcpd. However, as I mentioned in the first post, 
dhcpd ignores those arguments and listens on all interfaces.

Currently, I have this in /etc/rc.conf:

dhcpd_enable=YES
dhcpd_ifaces=fxp0 rl0

The rc script works correctly. ps shows:

/usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf -lf 
/var/db/dhcpd/dhcpd.leases -pf /var/run/dhcpd/dhcpd.pid -user 
dhcpd -group dhcpd fxp0 rl0

However, netstat shows that dhcpd is listening on all interfaces:

# netstat -nat | grep 67
udp4   0  0  *.67   *.*

For me, that's no big deal. PF will make sure that no DHCP traffic will go 
through on the third interface.

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


Re: I need a freebsd 5.3 desktop server; recommendations?

2006-07-23 Thread Dan Bikle

Yes,

this is good info.

I see this on my box:

bash moibsd root /usr/bin 15 # pciconf -l
[EMAIL PROTECTED]:0:0:class=0x06 card=0x2a31103c chip=0x5a331002
rev=0x01 hdr=0x00
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x00b0 chip=0x5a3f1002 rev=0x00
hdr=0x01
[EMAIL PROTECTED]:17:0:  class=0x01018f card=0x2a31103c chip=0x437a1002
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:18:0:  class=0x01018f card=0x2a31103c chip=0x43791002
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:19:0:class=0x0c0310 card=0x2a31103c chip=0x43741002
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:19:1:class=0x0c0310 card=0x2a31103c chip=0x43751002
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:19:2:class=0x0c0320 card=0x2a31103c chip=0x43731002
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:20:0:class=0x0c0500 card=0x2a31103c chip=0x43721002
rev=0x81 hdr=0x00
[EMAIL PROTECTED]:20:1:  class=0x01018a card=0x2a31103c chip=0x43761002
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:20:2:class=0x040300 card=0x2a31103c chip=0x437b1002
rev=0x01 hdr=0x00
[EMAIL PROTECTED]:20:3:class=0x060100 card=0x chip=0x43771002
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:20:4:class=0x060401 card=0x chip=0x43711002
rev=0x80 hdr=0x01
[EMAIL PROTECTED]:5:0: class=0x03 card=0x2a31103c chip=0x5a611002 rev=0x00
hdr=0x00
[EMAIL PROTECTED]:2:0: class=0x078000 card=0x062011c1 chip=0x062011c1 rev=0x00
hdr=0x00
[EMAIL PROTECTED]:5:0:   class=0x02 card=0x2a31103c chip=0x813910ec rev=0x10
hdr=0x00
[EMAIL PROTECTED]:6:0:   class=0x0c0010 card=0x2a31103c chip=0x30441106
rev=0x80 hdr=0x00
bash moibsd root /usr/bin 16 #


My graphics card is this:

[EMAIL PROTECTED]:5:0: class=0x03 card=0x2a31103c chip=0x5a611002 rev=0x00
hdr=0x00
   vendor   = 'ATI Technologies Inc'
   class= display
   subclass = VGA


According to man pciconf,
none3
means that there is no device configured in the kernel for the PCI device in
question.

This might explain why I can't get x-windows to work on my console.

Maybe FreeBSD 6.1 will know about this card.

I'd like to get x-windows working on the console [ it works good over the
net tho ].

Thanks for the tip on pciconf !

-Dan


On 7/22/06, Jonathan Horne [EMAIL PROTECTED] wrote:


On Saturday 22 July 2006 15:30, Dan Bikle wrote:
 I looked at dmesg output and saw nothing about the grapics card.

 How might I get info about my graphics card?

 Thanks,
 -Dan

you might try:


pciconf -vl

mine shows this about my ages-old ati card:

[EMAIL PROTECTED]:0:0: class=0x03 card=0x00081002 chip=0x52461002 rev=0x00
hdr=0x00
vendor   = 'ATI Technologies Inc'
device   = 'Rage 128 PRO II (AGP 4X/PCI) Rage 4MB'
class= display
subclass = VGA

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


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


Re: Slow Write Performance on 3ware controller

2006-07-23 Thread Nikolas Britton

On 7/22/06, Richard Collyer [EMAIL PROTECTED] wrote:

Completely ignore me. Write caching wasnt turned on.



Even with write caching off you should be able to hit 50MB/s... did I
missing something? Try running 'diskinfo -t /dev/diskname'. For
refrence here are the numbers from my single 400GB Seagate ST3400832AS
drive, if you can't bet it then something is wrong with your setup:


diskinfo -t /dev/ad4

/dev/ad4
   512 # sectorsize
   400088457216# mediasize in bytes (373G)
   781422768   # mediasize in sectors
   775221  # Cylinders according to firmware.
   16  # Heads according to firmware.
   63  # Sectors according to firmware.

Seek times:
   Full stroke:  250 iter in   5.844998 sec =   23.380 msec
   Half stroke:  250 iter in   4.558075 sec =   18.232 msec
   Quarter stroke:   500 iter in   7.147166 sec =   14.294 msec
   Short forward:400 iter in   2.253667 sec =5.634 msec
   Short backward:   400 iter in   2.013481 sec =5.034 msec
   Seq outer:   2048 iter in   0.332809 sec =0.163 msec
   Seq inner:   2048 iter in   0.349674 sec =0.171 msec
Transfer rates:
   outside:   102400 kbytes in   1.503943 sec =68088 kbytes/sec
   middle:102400 kbytes in   1.688924 sec =60630 kbytes/sec
   inside:102400 kbytes in   3.021035 sec =33896 kbytes/sec




Richard Collyer wrote:
 Hello,

 I recently installed a 3ware 9500S-12 along with 3 x 250GB Seagate
 7200.10 Drives.

 I am getting very poor read/write performance on this array that I have
 set up (RAID5 - 64K stripe)

 Reading to the 2 mirrored drives that I have on a 3ware 7006-2 I can get
  8MB/sec over samba which is what I expect. From the new array I am
 getting 4MB/sec. To rule out samba I did a file copy from one array to
 the other an averaged 3.8MB/sec which I assume is being limited by the
 new array.

 Any ideas where I can check to see if there are problems and what are
 the first steps / common things that people miss when adding drives.

 In short I...

 a) installed the drive
 b) disk partitioned using /stand/sysinstall
 c) labelled using the same
 d) edited /etc/drivetabthingy to mount the drive

 Anyone else have any other suggestions on what I can check?

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


 __ NOD32 1.1674 (20060722) Information __

 This message was checked by NOD32 antivirus system.
 http://www.eset.com




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




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


Re: Slow Write Performance on 3ware controller

2006-07-23 Thread Nikolas Britton

On 7/23/06, Nikolas Britton [EMAIL PROTECTED] wrote:

On 7/22/06, Richard Collyer [EMAIL PROTECTED] wrote:
 Completely ignore me. Write caching wasnt turned on.


Even with write caching off you should be able to hit 50MB/s... did I
missing something? Try running 'diskinfo -t /dev/diskname'. For
refrence here are the numbers from my single 400GB Seagate ST3400832AS
drive, if you can't bet it then something is wrong with your setup:

 diskinfo -t /dev/ad4
/dev/ad4
512 # sectorsize
400088457216# mediasize in bytes (373G)
781422768   # mediasize in sectors
775221  # Cylinders according to firmware.
16  # Heads according to firmware.
63  # Sectors according to firmware.

Seek times:
Full stroke:  250 iter in   5.844998 sec =   23.380 msec
Half stroke:  250 iter in   4.558075 sec =   18.232 msec
Quarter stroke:   500 iter in   7.147166 sec =   14.294 msec
Short forward:400 iter in   2.253667 sec =5.634 msec
Short backward:   400 iter in   2.013481 sec =5.034 msec
Seq outer:   2048 iter in   0.332809 sec =0.163 msec
Seq inner:   2048 iter in   0.349674 sec =0.171 msec
Transfer rates:
outside:   102400 kbytes in   1.503943 sec =68088 kbytes/sec
middle:102400 kbytes in   1.688924 sec =60630 kbytes/sec
inside:102400 kbytes in   3.021035 sec =33896 kbytes/sec



To test write speed use dd: 'dd if=/dev/zero of=testfile bs=4m'

^C128+0 records in
127+0 records out
532676608 bytes transferred in 10.840476 secs (49137752 bytes/sec) 46.87MB/s.


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


The FreeBSD Diary: 2006-07-02 - 2006-07-22

2006-07-23 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

17-Jul : TRENDnet Print Server
 A nifty little applicance can make everything easier 
 http://freebsddiary.org/trendnet-print-server.php?2

14-Jul : Feedcreator - make your newsfeeds the easy way!
 A simple and easy to use PHP class for creating news feeds in various 
formats. 
 http://freebsddiary.org/feedcreator.php?2

9-Jul : More dual opteron images
 More close ups, easier to find what you need 
 http://freebsddiary.org/dual-opteron-pictures.php?2

4-Jul : Sponsors wanted
 I'm looking for sponsors with 8 SATA II drives and AMD dual core chips
 http://freebsddiary.org/sponsors-wanted.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: How I setup a dual-boot PC?

2006-07-23 Thread Dan Bikle

ok,

I figured it out.

I just had to tinker a bit with the installation interface
provided by the installation cdrom.

The main thing I did was put the 6.1 root file system on
this device:

/dev/ad8s4a

and then mount that device as /

I now have my PC configured so that I can boot:

XP
FreeBSD 5.5
FreeBSD 6.1

Next, I need to figure out how to get X-windows to work on my console.

X-windows works fine if I use an X-server on my Mac or my Linux box
but when I type startx on the console, the console just goes dark
and does nothing.

Also, the virtual terminals [ alt f2,3,4... ] go dead.

This means I need to ssh in and then reboot to get my console back.

I suspect a hardware issue since pciconf -vl says this about my
graphics interface:

[EMAIL PROTECTED]:5:0:class=0x03 card=0x2a31103c chip=0x5a611002 
rev=0x00
hdr=0x00
   vendor   = 'ATI Technologies Inc'
   class= display
   subclass = VGA

According to man pciconf,
none3
means
'there is no device configured in the kernel for the PCI device in question'
which I is suspect is a problem [ but I'm not sure it's the root cause
behind
my x-windows problem ].

Anyone out there have any x-windows battle scars and possibly useful tips
and or advice ??

Thanks,

-Dan

On 7/22/06, Dan Bikle [EMAIL PROTECTED] wrote:


FreeBSD people,

I'm trying to figure out how to setup dual boot on my PC.

The PC has a 250G drive.

Currently, when I boot, I see this menu on the console:

F1  DOS
F2  DOS
F3  FreeBSD
F4  FreeBSD

F1 I avoid; The factory put an XP thingee there.
F2 works well, when I pick it, the box boots with XP.
F3 works well, when I pick it, the box boots with FreeBSD 5.5

F4 does not work; I want it to boot FreeBSD 6.1

So I did the obvious thing.

I got a 6.1 installation CD and walked through the install.

During the install, I asked that /dev/ad8s4d be mounted as /.

But when I am given the F1,2,3,4 boot menu,
and when I pick F4,
I see this error:

F4 Invalid partition
No /boot/loader
FreeBSD / i386 boot
Default: 0:ad(0,a)/boot/kernel/kernel

boot:

Can any of you give me any tips on how to make /dev/ad8s4d
bootable?

Or can you give me an understanding about how I can tell the
' boot: ' prompt that I want to boot off of /dev/ad8s4d


BTW..

After I boot 5.5,  I'm able to mount the partition
I want to boot from.

So, I mounted it as /root61

I see this:

df -k
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad8s3a  91913630 20140014 6442052624%/
/dev/ad8s4d  94132520  1077196 85524724 1%/root61
devfs   110   100%/dev
linprocfs   440   100%/usr/compat/linux/proc

When I look in /root61,
I see this:

moibsd# ls -la /root61/boot/kernel/kernel
-r-xr-xr-x  1 root  wheel  6687708 May  6 21:42 /root61/boot/kernel/kernel
moibsd# ls -la /root61
total 56
drwxr-xr-x  20 root  wheel  512 Jul 21 18:32 .
drwxr-xr-x  28 root  wheel 1024 Jul 22 13:55 ..
-rw-r--r--   2 root  wheel  801 May  6 21:00 .cshrc
-rw-r--r--   2 root  wheel  251 May  6 21:00 .profile
drwxrwxr-x   2 root  operator   512 Jul 21 18:29 .snap
-r--r--r--   1 root  wheel 6187 May  6 21:00 COPYRIGHT
drwxr-xr-x   2 root  wheel 1024 Jul 21 18:29 bin
drwxr-xr-x   5 root  wheel  512 Jul 21 18:32 boot
drwxr-xr-x   2 root  wheel  512 Jul 21 18:29 cdrom
drwxr-xr-x   2 root  wheel  512 Jul 21 18:29 cdrom1
lrwxr-xr-x   1 root  wheel   10 Jul 21 18:32 compat - usr/compat
drwxr-xr-x   2 root  wheel  512 Jul 21 18:29 dev
drwxr-xr-x   2 root  wheel  512 Jul 21 18:29 dist
drwxr-xr-x  18 root  wheel 2048 Jul 21 18:35 etc
drwxr-xr-x   3 root  wheel 1024 Jul 21 18:29 lib
drwxr-xr-x   2 root  wheel  512 Jul 21 18:29 libexec
drwxr-xr-x   2 root  wheel  512 May  6 20:54 mnt
dr-xr-xr-x   2 root  wheel  512 May  6 20:54 proc
drwxr-xr-x   2 root  wheel 2560 Jul 21 18:29 rescue
drwxr-xr-x   2 root  wheel  512 Jul 21 18:29 root
drwxr-xr-x   2 root  wheel 2560 Jul 21 18:29 sbin
lrwxrwxrwx   1 root  wheel   11 Jul 21 18:29 sys - usr/src/sys
drwxrwxrwt   2 root  wheel  512 May  6 20:54 tmp
drwxr-xr-x  16 root  wheel  512 Jul 21 18:32 usr
drwxr-xr-x  22 root  wheel  512 Jul 21 18:32 var
moibsd#


Thanks,
-Dan




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


Re: Problem upgrading mplayer

2006-07-23 Thread Filippo Moretti

Chuck Swiger wrote:

Filippo Moretti wrote:
I run 6.1_STABLE on i386 arch and when I tried to upgrade mplayer I 
get the following error

c++: Internal error: Killed: 9 (program cc1plus)


Mostly likely, you've got hardware problems like bad memory or an 
overheating CPU.  Either run some system diagonstics like memtest86, 
or retry the compile after the machine has been off for an hour, and 
see whether it fails in the same place.


After following your suggestion I get another error which repeted three 
times even after switching off the computer for the whole night:

===  Configuring for lirc-0.7.2
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g 
wheel

checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether gmake sets ${MAKE}... yes
checking for gcc... cc
checking whether the C compiler (cc -O2 -g -Wall ) works... yes
checking whether the C compiler (cc -O2 -g -Wall ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for style of include used by gmake... GNU
ng dependency style of cc... gcc3
checking for a BSD compatible install... /usr/bin/install -c -o root -g 
wheel

checking whether gmake sets ${MAKE}... (cached) yes
checking for mknod... /sbin//mknod
checking for mkfifo... /usr/bin/mkfifo
checking for depmod... /sbin/depmod
checking for libusb-config... no
checking whether ln -s works... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking host system type... i386-unknown-freebsd6.1
checking build system type... i386-portbld-freebsd6.1
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for vprintf... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkfifo... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strtoul... yes
checking for snprintf... yes
checking for strsep... yes
checking for vsyslog... yes
checking for daemon... yes
checking for forkpty... no
checking for forkpty in -lutil... yes
checking for vga.h... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for getopt_long... yes
checking for mktemp... yes
checking for Linux kernel sources... not running Linux
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... no
checking for ir_strerror in -lirman... no
checking for ir_strerror in -lirman_sw... no
checking for portaudio.h... no
checking for alsa/asoundlib.h... no
checking for scsi/sg.h... no
checking for linux/input.h... no
checking for sys/soundcard.h... yes
configure: error: *** it is not possible to install the specified driver
   on this system
===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach
the /usr/ports/comms/lirc/work/lirc-0.7.2/config.log including the output
of the failure of your make command. Also, it might be a good idea to 
provide

an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/comms/lirc.
*** Error code 1

Stop in /usr/ports/multimedia/mplayer.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade11994.17 env PORT_UPGRADE=yes make PORT_UPGRADE=yes

** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
   ! multimedia/mplayer (mplayer-esound-0.99.7_15) (configure error)
---  Packages processed: 0 done, 192 ignored, 0 skipped and 1 failed
Do you think this one to be an hardware failure as well
sincerely
Filippo
___
freebsd-questions@freebsd.org mailing list

Re: Slow Write Performance on 3ware controller

2006-07-23 Thread Richard Collyer

Nikolas Britton wrote:

On 7/22/06, Richard Collyer [EMAIL PROTECTED] wrote:

Completely ignore me. Write caching wasnt turned on.



Even with write caching off you should be able to hit 50MB/s... did I
missing something? Try running 'diskinfo -t /dev/diskname'. For
refrence here are the numbers from my single 400GB Seagate ST3400832AS
drive, if you can't bet it then something is wrong with your setup:


I get:

[EMAIL PROTECTED]:/home/richard] $ diskinfo -t /dev/da0
/dev/da0
512 # sectorsize
499977814016# mediasize in bytes (466G)
976519168   # mediasize in sectors
60785   # Cylinders according to firmware.
255 # Heads according to firmware.
63  # Sectors according to firmware.

Seek times:
Full stroke:  250 iter in   2.572859 sec =   10.291 msec
Half stroke:  250 iter in   2.957264 sec =   11.829 msec
Quarter stroke:   500 iter in   6.256571 sec =   12.513 msec
Short forward:400 iter in   2.555676 sec =6.389 msec
Short backward:   400 iter in   2.474576 sec =6.186 msec
Seq outer:   2048 iter in   0.556584 sec =0.272 msec
Seq inner:   2048 iter in   0.593798 sec =0.290 msec
Transfer rates:
outside:   102400 kbytes in   2.080951 sec =49208 
kbytes/sec
middle:102400 kbytes in   2.102060 sec =48714 
kbytes/sec
inside:102400 kbytes in   2.054728 sec =49836 
kbytes/sec


Not too bad, not too great.

Cheers
Richard

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


[6.1-RELEASE] Flash crashes; can't apply patch

2006-07-23 Thread Sean M.
about:plugins in Firefox shows that the linux-flashplugin7 port took:

Shockwave Flash

File name: libflashplayer.so
Shockwave Flash 7.0 r63

MIME Type   Description SuffixesEnabled
application/x-shockwave-flash   Shockwave Flash swf Yes
application/futuresplashFutureSplash Player spl Yes


But it shut down as soon as I tried to go to a flash site. OK, so,
apparently I'm supposed to apply a patch:

[/usr/src]# fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff

All right, now:

[/usr/src]# patch rtld_dlsym_hack.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|--- libexec/rtld-elf/rtld.c.orig   Fri Sep 24 08:04:52 2004
|+++ libexec/rtld-elf/rtld.cSun Oct 17 03:37:44 2004
--
File to patch:
No file found--skip this patch? [n] y
Skipping patch...
Hunk #1 ignored at 129.
Hunk #2 ignored at 178.
Hunk #3 ignored at 1738.
3 out of 3 hunks ignored--saving rejects to rtld.c.rej
done


Well, what am I supposed to do now?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem upgrading mplayer

2006-07-23 Thread Frank Staals

Filippo Moretti wrote:

Chuck Swiger wrote:

Filippo Moretti wrote:
I run 6.1_STABLE on i386 arch and when I tried to upgrade mplayer I 
get the following error

c++: Internal error: Killed: 9 (program cc1plus)


Mostly likely, you've got hardware problems like bad memory or an 
overheating CPU.  Either run some system diagonstics like memtest86, 
or retry the compile after the machine has been off for an hour, and 
see whether it fails in the same place.


After following your suggestion I get another error which repeted 
three times even after switching off the computer for the whole night:

===  Configuring for lirc-0.7.2
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root 
-g wheel

checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether gmake sets ${MAKE}... yes
checking for gcc... cc
checking whether the C compiler (cc -O2 -g -Wall ) works... yes
checking whether the C compiler (cc -O2 -g -Wall ) is a 
cross-compiler... no

checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for style of include used by gmake... GNU
ng dependency style of cc... gcc3
checking for a BSD compatible install... /usr/bin/install -c -o root 
-g wheel

checking whether gmake sets ${MAKE}... (cached) yes
checking for mknod... /sbin//mknod
checking for mkfifo... /usr/bin/mkfifo
checking for depmod... /sbin/depmod
checking for libusb-config... no
checking whether ln -s works... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking host system type... i386-unknown-freebsd6.1
checking build system type... i386-portbld-freebsd6.1
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for vprintf... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkfifo... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strtoul... yes
checking for snprintf... yes
checking for strsep... yes
checking for vsyslog... yes
checking for daemon... yes
checking for forkpty... no
checking for forkpty in -lutil... yes
checking for vga.h... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for getopt_long... yes
checking for mktemp... yes
checking for Linux kernel sources... not running Linux
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... no
checking for ir_strerror in -lirman... no
checking for ir_strerror in -lirman_sw... no
checking for portaudio.h... no
checking for alsa/asoundlib.h... no
checking for scsi/sg.h... no
checking for linux/input.h... no
checking for sys/soundcard.h... yes
configure: error: *** it is not possible to install the specified driver
   on this system
===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and 
attach
the /usr/ports/comms/lirc/work/lirc-0.7.2/config.log including the 
output
of the failure of your make command. Also, it might be a good idea to 
provide

an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/comms/lirc.
*** Error code 1

Stop in /usr/ports/multimedia/mplayer.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade11994.17 env PORT_UPGRADE=yes make PORT_UPGRADE=yes

** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
   ! multimedia/mplayer (mplayer-esound-0.99.7_15) (configure error)
---  Packages processed: 0 done, 192 ignored, 0 skipped and 1 failed
Do you think this one to be an hardware failure as well
sincerely
Filippo
___

Re: Problem upgrading mplayer

2006-07-23 Thread Filippo Moretti

Frank Staals wrote:

Filippo Moretti wrote:

Chuck Swiger wrote:

Filippo Moretti wrote:
I run 6.1_STABLE on i386 arch and when I tried to upgrade mplayer I 
get the following error

c++: Internal error: Killed: 9 (program cc1plus)


Mostly likely, you've got hardware problems like bad memory or an 
overheating CPU.  Either run some system diagonstics like memtest86, 
or retry the compile after the machine has been off for an hour, and 
see whether it fails in the same place.


After following your suggestion I get another error which repeted 
three times even after switching off the computer for the whole night:

===  Configuring for lirc-0.7.2
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root 
-g wheel

checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether gmake sets ${MAKE}... yes
checking for gcc... cc
checking whether the C compiler (cc -O2 -g -Wall ) works... yes
checking whether the C compiler (cc -O2 -g -Wall ) is a 
cross-compiler... no

checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for style of include used by gmake... GNU
ng dependency style of cc... gcc3
checking for a BSD compatible install... /usr/bin/install -c -o root 
-g wheel

checking whether gmake sets ${MAKE}... (cached) yes
checking for mknod... /sbin//mknod
checking for mkfifo... /usr/bin/mkfifo
checking for depmod... /sbin/depmod
checking for libusb-config... no
checking whether ln -s works... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking host system type... i386-unknown-freebsd6.1
checking build system type... i386-portbld-freebsd6.1
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for vprintf... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkfifo... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strtoul... yes
checking for snprintf... yes
checking for strsep... yes
checking for vsyslog... yes
checking for daemon... yes
checking for forkpty... no
checking for forkpty in -lutil... yes
checking for vga.h... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for getopt_long... yes
checking for mktemp... yes
checking for Linux kernel sources... not running Linux
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... no
checking for ir_strerror in -lirman... no
checking for ir_strerror in -lirman_sw... no
checking for portaudio.h... no
checking for alsa/asoundlib.h... no
checking for scsi/sg.h... no
checking for linux/input.h... no
checking for sys/soundcard.h... yes
configure: error: *** it is not possible to install the specified driver
   on this system
===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and 
attach
the /usr/ports/comms/lirc/work/lirc-0.7.2/config.log including the 
output
of the failure of your make command. Also, it might be a good idea to 
provide

an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/comms/lirc.
*** Error code 1

Stop in /usr/ports/multimedia/mplayer.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade11994.17 env PORT_UPGRADE=yes make PORT_UPGRADE=yes

** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
   ! multimedia/mplayer (mplayer-esound-0.99.7_15) (configure error)
---  Packages processed: 0 done, 192 ignored, 0 skipped and 1 failed
Do you think this one to be an hardware failure as well
sincerely
Filippo

applet viewer for FreeBSD

2006-07-23 Thread Only OpenSource

Hi:

Is there an appletviewer for FreeBSD which integrates with Firefox ?

I have installed diablo-jdk-freebsd6.1-i386.

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


Re: linux-firefox : cups printers not found

2006-07-23 Thread Beni
On Saturday 22 July 2006 01:08, Norberto Meijome wrote:
 On Fri, 21 Jul 2006 15:32:05 +0400

 Andrew Pantyukhin [EMAIL PROTECTED] wrote:
  On 7/20/06, Norberto Meijome [EMAIL PROTECTED] wrote:
   hi all,
   I recently changed www/firefox for www/linux-firefox . I now realised
   that my CUPS printers are not available from File - Print., only
   'Postcript/default' is available.
 

I have the same problem here :-)

  You should set Print command in printer properties of
  PostScript/default to /usr/local/bin/lp with arguments you
  need.

 Thanks for the reply, Andrew - but isn't that the command to use when
 printing? the cmd shown is :

 lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}


I changed this to kprinter --stdin and now I get the standard 
kprinter-window where I can chose a printer. 

Maybe it is not the easyest way but it works, I can print from whithin 
linux-firefox.

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


Re: Slow Write Performance on 3ware controller

2006-07-23 Thread Nikolas Britton

On 7/23/06, Richard Collyer [EMAIL PROTECTED] wrote:

Nikolas Britton wrote:
 On 7/22/06, Richard Collyer [EMAIL PROTECTED] wrote:
 Completely ignore me. Write caching wasnt turned on.


 Even with write caching off you should be able to hit 50MB/s... did I
 missing something? Try running 'diskinfo -t /dev/diskname'. For
 refrence here are the numbers from my single 400GB Seagate ST3400832AS
 drive, if you can't bet it then something is wrong with your setup:

I get:

[EMAIL PROTECTED]:/home/richard] $ diskinfo -t /dev/da0
/dev/da0
 512 # sectorsize
 499977814016# mediasize in bytes (466G)
 976519168   # mediasize in sectors
 60785   # Cylinders according to firmware.
 255 # Heads according to firmware.
 63  # Sectors according to firmware.

Seek times:
 Full stroke:  250 iter in   2.572859 sec =   10.291 msec
 Half stroke:  250 iter in   2.957264 sec =   11.829 msec
 Quarter stroke:   500 iter in   6.256571 sec =   12.513 msec
 Short forward:400 iter in   2.555676 sec =6.389 msec
 Short backward:   400 iter in   2.474576 sec =6.186 msec
 Seq outer:   2048 iter in   0.556584 sec =0.272 msec
 Seq inner:   2048 iter in   0.593798 sec =0.290 msec
Transfer rates:
 outside:   102400 kbytes in   2.080951 sec =49208
kbytes/sec
 middle:102400 kbytes in   2.102060 sec =48714
kbytes/sec
 inside:102400 kbytes in   2.054728 sec =49836
kbytes/sec

Not too bad, not too great.



That would be unacceptable in my book. Whats the load on the system?
Is the 3ware 9500S in a regular PCI 33MHz/32-bit slot?
Motherboard/CPU?


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


Re: linux-firefox : cups printers not found

2006-07-23 Thread Andrew Pantyukhin

On 7/23/06, Beni [EMAIL PROTECTED] wrote:

On Saturday 22 July 2006 01:08, Norberto Meijome wrote:
 On Fri, 21 Jul 2006 15:32:05 +0400

 Andrew Pantyukhin [EMAIL PROTECTED] wrote:
  On 7/20/06, Norberto Meijome [EMAIL PROTECTED] wrote:
   hi all,
   I recently changed www/firefox for www/linux-firefox . I now realised
   that my CUPS printers are not available from File - Print., only
   'Postcript/default' is available.
 

I have the same problem here :-)

  You should set Print command in printer properties of
  PostScript/default to /usr/local/bin/lp with arguments you
  need.

 Thanks for the reply, Andrew - but isn't that the command to use when
 printing? the cmd shown is :

 lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}


I changed this to kprinter --stdin and now I get the standard
kprinter-window where I can chose a printer.


Yes, it's a good way. I've used gtklp for this. Still investigation
is pending for this matter. You can file a PR if you like or poke
me in some time as I tend to forget such things.

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


How to not run xconsole with XDM

2006-07-23 Thread Lennon Cook

I have XDM set up, in the default way (by simply turning it to on in
/etc/ttys). It runs xconsole to catch errors - however, I have a
session manager set up, which catches output in a different way, so
this xconsole is basically dead weight for me. But how do I stop it
running every time? As it is, I simply close it after I log in, but
this is inideal. I assume this is in a config file somewhere, but I
can't find it - where should I be looking?

Please keep me CCd.
--
Lennon Victor Cook
He who receives an idea from me receives without lessening, as he who
lights his candle at mine receives light without darkening - Thomas
Jefferson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slow Write Performance on 3ware controller

2006-07-23 Thread Richard Collyer

Nikolas Britton wrote:

That would be unacceptable in my book. Whats the load on the system?
Is the 3ware 9500S in a regular PCI 33MHz/32-bit slot?
Motherboard/CPU?


The motherboard is an Intel N440BX running 2 PIII 600MHZ (feel the 
power). FreeBSD version is 5.4


32 bit PCI not sure if they are 33/66Mhz as I dont have the manual to 
hand. Now the card is in the bottom PCI slot which is the only place it 
would fit becuase of the 7006-2 above it and the way that the standard 
IDE connectors are mounted.


Would moving the top card to the bottom slot and putting the 9500S-12 in 
the top slot screw with FreeBSD in anyway or will it just accept the 
changes and keep on going? I know windows has an issue with this and 
wants you to reinstall drivers and such like if you move cards around.


Cheers
Richard


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


Re: mbox retrieval

2006-07-23 Thread Giorgos Keramidas
On 2006-07-22 10:06, Robert Davison [EMAIL PROTECTED] wrote:
 I've received some email and read it using the simple 'mail'
 command. I use qpopper to pick up the email remotely, but it seems
 becasue I read it on the main mail server then qpopper wont pass it
 through the system.

 I've found the mail in my 'mbox' folder. My question is...is there
 anyway of reinstating this email so that qpopper wil send it back
 through to my mail client ?

Apparently, what has happened is that you used mail(1), but forgot to
set the 'hold' option.  This means that any email messsages you marked
as read (either manually or by reading them) have now been moved from
your default `$MAIL' folder to `$HOME/mbox'.

Now you can use mail(1) to move these back to your `$MAIL' folder
wherever that is.

% [EMAIL PROTECTED]:/home/giorgos$ mail -f mbox
% Mail version 8.1 6/6/93.  Type ? for help.
% mbox: 1 message
%1 [EMAIL PROTECTED] Tue Jul  4 06:17  57/2658  Re: vmem and uma 
(was Re: DTrace for Free
%  s 1 $MAIL 
% /home/giorgos/Mailbox [Appended]
%  x
% [EMAIL PROTECTED]:/home/giorgos$ 

Ranges of messages can be moved to the $MAIL folder with:

s 1-100 $MAIL

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


multiple hardware problems on Sony VAIO

2006-07-23 Thread Erik Nørgaard
Hi:

I am trying to get things up working (FBSD 6.1-STABLE) on a VAIO FJ3S
notebook, but have trouble with some devices: cardbus, wireless network
and sound. And I haven't even tried looking at the built in camera,
memory card reader or firewire ...

It may be related, they are all on a ICH6 controler

Wireless: The NIC should be supported by the iwi driver after installing
net/iwi-firmware-kmod, but I keep getting the following errors:

iwi0: timeout waiting for iwi_bss firmware initialization to complete
iwi0: could not load boot firmware iwi_bss
firmware_get: failed to load firmware image iwi_bss
iwi0: could not load firmware

if_iwi and iwi_bss are loaded at boot.

No sound:

Intel High Definition Audio Controller is recognized but not supported.
Some googling suggested that OpenSound System drivers support this but
no luck:

hdaudio: RIRB timeout
hdaudio: Codec attach failed (-5)
oss: Probing the hardware for Intel High Definition Audio (Azalia)
controller failed.

Cardbus: Kernel is compiled with the usual cardbus devices, and I can't
seem to find others in NOTES, but while it is recognized it doesn't
work. If only it did I could use my old wireless nic :( The cardbus is a
Texas Instruments and combines cardbus and firewire in the same chipset
(*sigh*) so firewire probably doesn't work either, but currently I have
no such devices.

It may be related to the ICH6 pcibus, there are problems assigning
memory and irq's and an irq storm is detected. dmesg and pciconf output
follows below.

I have tried both GENERIC kernel an kernel built with ich*/smbus/smb
modules, sources CVSUP'ed two days ago.

Any suggestions on how to solve this?

Thanks, Erik

dmesg:

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.1-STABLE #1: Sat Jul 22 20:26:58 CEST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/VAIO
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1.73GHz (1729.01-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6d8  Stepping = 8

Features=0xafe9fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE
  Features2=0x180EST,TM2
  AMD Features=0x10NX
real memory  = 1063845888 (1014 MB)
avail memory = 1036296192 (988 MB)
kbd1 at kbdmux0
cpu0 on motherboard
pcib0: Host to PCI bridge pcibus 0 on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82915GM (915GM GMCH) SVGA controller port 0x1800-0x1807
mem 0xb008-0xb00f,0xc000-0xcfff,0xb004-0xb007
irq 10 at device 2.0 on pci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
pci0: display at device 2.1 (no driver attached)
pci0: multimedia at device 27.0 (no driver attached)
uhci0: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A port
0x1820-0x183f irq 5 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B port
0x1840-0x185f irq 10 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0: Intel 82801FB (ICH6) USB 2.0 controller mem
0xb0004000-0xb00043ff irq 5 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: wrong number of companions (4 != 2)
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: Intel 82801FB (ICH6) USB 2.0 controller on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 8 ports with 8 removable, self powered
ugen0: Vimicro Corp. USB2.0 Web Camera, rev 2.00/1.00, addr 2
pcib1: PCI-PCI bridge at device 30.0 on pci0
pci6: PCI bus on pcib1
rl0: RealTek 8139 10/100BaseTX port 0x2000-0x20ff mem
0xb0104000-0xb01040ff irq 10 at device 8.0 on pci6
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:13:a9:44:44:a8
cbb0: PCI-CardBus Bridge mem 0xb0105000-0xb0105fff irq 10 at device
9.0 on pci6
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
pci6: serial bus, FireWire at device 9.2 (no driver attached)
pci6: mass storage at device 9.3 (no driver attached)
iwi0: Intel(R) PRO/Wireless 2200BG mem 0xb0107000-0xb0107fff irq 10 at
device 10.0 on pci6
iwi0: Ethernet address: 00:16:6f:93:c9:75
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH6 SATA150 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1870-0x187f at device 31.2 on pci0
atapci0: failed to enable memory mapping!
ata0: ATA channel 0 on atapci0
ata1: 

Re: Slow Write Performance on 3ware controller

2006-07-23 Thread Nikolas Britton

On 7/23/06, Richard Collyer [EMAIL PROTECTED] wrote:

Nikolas Britton wrote:
 That would be unacceptable in my book. Whats the load on the system?
 Is the 3ware 9500S in a regular PCI 33MHz/32-bit slot?
 Motherboard/CPU?

The motherboard is an Intel N440BX running 2 PIII 600MHZ (feel the
power). FreeBSD version is 5.4

32 bit PCI not sure if they are 33/66Mhz as I dont have the manual to
hand. Now the card is in the bottom PCI slot which is the only place it
would fit becuase of the 7006-2 above it and the way that the standard
IDE connectors are mounted.


Ok... that might be the best you can get speed wise with the above
system. You should be able to milk alot more performance out of that
card if you put it in a newer system.



Would moving the top card to the bottom slot and putting the 9500S-12 in
the top slot screw with FreeBSD in anyway or will it just accept the
changes and keep on going?


I don't see any problem doing that... FreeBSD would only care if it
was the boot drive AND if it also changed the device name in /dev. So
yes... try it... if it changes the /dev name just edit /etc/fstab with
the new settings.



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


Re: Problem upgrading mplayer

2006-07-23 Thread Lars Kristiansen

Filippo Moretti skrev:

Frank Staals wrote:

Filippo Moretti wrote:

Chuck Swiger wrote:

Filippo Moretti wrote:
I run 6.1_STABLE on i386 arch and when I tried to upgrade mplayer I 
get the following error

c++: Internal error: Killed: 9 (program cc1plus)


Mostly likely, you've got hardware problems like bad memory or an 
overheating CPU.  Either run some system diagonstics like memtest86, 
or retry the compile after the machine has been off for an hour, and 
see whether it fails in the same place.


After following your suggestion I get another error which repeted 
three times even after switching off the computer for the whole night:

===  Configuring for lirc-0.7.2
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root 
-g wheel

checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether gmake sets ${MAKE}... yes
checking for gcc... cc
checking whether the C compiler (cc -O2 -g -Wall ) works... yes
checking whether the C compiler (cc -O2 -g -Wall ) is a 
cross-compiler... no

checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for style of include used by gmake... GNU
ng dependency style of cc... gcc3
checking for a BSD compatible install... /usr/bin/install -c -o root 
-g wheel

checking whether gmake sets ${MAKE}... (cached) yes
checking for mknod... /sbin//mknod
checking for mkfifo... /usr/bin/mkfifo
checking for depmod... /sbin/depmod
checking for libusb-config... no
checking whether ln -s works... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking host system type... i386-unknown-freebsd6.1
checking build system type... i386-portbld-freebsd6.1
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for vprintf... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkfifo... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strtoul... yes
checking for snprintf... yes
checking for strsep... yes
checking for vsyslog... yes
checking for daemon... yes
checking for forkpty... no
checking for forkpty in -lutil... yes
checking for vga.h... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for getopt_long... yes
checking for mktemp... yes
checking for Linux kernel sources... not running Linux
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... no
checking for ir_strerror in -lirman... no
checking for ir_strerror in -lirman_sw... no
checking for portaudio.h... no
checking for alsa/asoundlib.h... no
checking for scsi/sg.h... no
checking for linux/input.h... no
checking for sys/soundcard.h... yes
configure: error: *** it is not possible to install the specified driver
   on this system
===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and 
attach
the /usr/ports/comms/lirc/work/lirc-0.7.2/config.log including the 
output
of the failure of your make command. Also, it might be a good idea to 
provide

an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/comms/lirc.
*** Error code 1

Stop in /usr/ports/multimedia/mplayer.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade11994.17 env PORT_UPGRADE=yes make PORT_UPGRADE=yes

** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
   ! multimedia/mplayer (mplayer-esound-0.99.7_15) (configure error)
---  Packages processed: 0 done, 192 ignored, 0 skipped and 1 failed
Do you think this one to be an hardware failure as well
sincerely
Filippo

Re: Areca RAID Card.

2006-07-23 Thread Nikolas Britton

On 7/22/06, Nikolas Britton [EMAIL PROTECTED] wrote:

On 7/22/06, Nikolas Britton [EMAIL PROTECTED] wrote:
 On 7/22/06, Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote:
 
  On Jul 22, 2006, at 4:14 AM, Nikolas Britton wrote:
 
   The motherboard I just bought, SuperMicro X7DBE, has both PCI-X
   133MHz/64-bit and PCI-Express 8x slots, I can't decide what version of
   the Areca card to get... I'd like to see some benchmarks of the
   ARC-11xx (PCI-X) Vs. the ARC-12xx (PCI-Express).
  
   The PCIe device has a faster bus (PCIe 8x = 2000MB/s) but PCI-X is
   tried and true and not too shabby (PCI-X 133/64 = 850MB/s) ether.
  
   I have the option of ether a 1130ML (Infiniband connections) or a plan
   jane 1230. I've had troubles with SATA cables in the passed so the
   1130ML is very desirable from this stand point. Another thing I'm
   worried about is the 1230 will have to much weight on the PCIe 8x slot
   because of all the SATA cables. and routing them all is a pain. Does
   anyone have a source for an ARC-1230ML? On the other hand I've never
   tried the latching SATA cables yet... but the ARC-1130 is $40
   cheaper...
 
  I was just looking at the difference between the 1130 and the
  1130ML.  ML cables are EXPENSIVE and look heavier than 4 normal
  cables...

 But they latch on and you only need 1 ML cable for every 4 SATA
 cables. The PCI-X card/slot should be sturdy enough but I don't think
 PCIe is, I've played with PCIe 1x cards and their super small...
 picture a normal low profile PCI card, now take half that. Maybe they
 don't make them (ARC-12xxML) for this reason.

  I just ordered an 1120 from http://www.topmicrousa.com/controllers--
  tekram.html and they were the cheapest I've seen.
 
  Will be needing an 1130 myself soon I think.
 
  Can't help you with the 1130 vs 1230.  I would think the PCIe would
  be the way to go for future proofing your investment.
 

 Yes I think your right here. If you look at the ATTO STRs and cache
 transfer rates[1] the ARC-1120 (PCI-X) is up against the bus limit.
 theoretically the 1120/1220 could do up to 2400MB/s (8 drives *
 SATA-II transfer limit of 300MB/s).

 The results of the Areca ARC-1120 in the RAID 0 tests cleary show
 this adapter does not have any trouble with ATTO's tiny dataset.
 Floating high above the crowd, the ARC-1120 has a perfect view on the
 struggles of the other adapters. Exceeding 750MB/s, the transfer rates
 from the Areca ARC-1120 are almost equal to the effective bandwidth of
 the 133MHz PCI-X bus. [1]

 [1] http://tweakers.net/reviews/557/18


The only difference between the ARC-11xx and the ARC-12xx's Intel
XScale processor is the IOP333 on the ARC-12xx* has a PCI Express to
PCI-X Bridge... Both chips are otherwise identical and both chips use
PCI-X133 internally. Also it appears the IOP333's internal bus
operates at 333MHz while the IOP331 operates at 266MHz but I can't
confirm this, it's possible older IOP331's worked at 266MHz but new
ones are 333MHz now.

ftp://download.intel.com/design/iio/prodbref/25341301.pdf
ftp://download.intel.com/design/iio/prodbref/30658301.pdf

*The ARC-1210 uses a IOP332.




I decided to go PCI-Express. The deciding factor was that PCIe slots
on my motherboard have a direct connection to the Intel 5000p MCH
(north bridge) whereas PCI-X slot are connected to the Intel ESB2
(south bridge) using a PCI-X to PCIe 8x bridge... The choice was very
easy to make after I notice this.



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


Re: Slow Write Performance on 3ware controller

2006-07-23 Thread Richard Collyer

Nikolas Britton wrote:

Would moving the top card to the bottom slot and putting the 9500S-12 in
the top slot screw with FreeBSD in anyway or will it just accept the
changes and keep on going?


I don't see any problem doing that... FreeBSD would only care if it
was the boot drive AND if it also changed the device name in /dev. So
yes... try it... if it changes the /dev name just edit /etc/fstab with
the new settings.


Oh yes, had fun with fstab in single user mode yesterday ... I'd put a 
spelling mistake in /etc/fstab that was fun as it was my first venture 
into single user mode. Took me 20 mins to realise that only / was 
mounted and that /use wasn't hence no editors or shells.


As this is a production server (its only my home file server) and the 
card was an ebay special at sub $200 I'm happy with the performance.


I may play around with moving them when some more routine maintenance 
comes up but as I am only writing to it over the 100Mbit network 
50MB/sec is more than enough for what I am looking at.


Many thanks for the help.

Cheers
Richard

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


Re: strange reboot on FreeBSD 6.1

2006-07-23 Thread jan gestre

On 7/23/06, Tamouh H. [EMAIL PROTECTED] wrote:



Hello,

I have a machine that I've been monitoring for strange reboots. The
machine is hardly ever used, in fact it sits idle 99.9% of the time. When
a hardware failure occurs, does FreeBSD still records 'reboot' in the last
command ?

All the sudden at no specific intervals, the machine reboots. No user
logins, no access, nothing triggers it. Just a reboot. This is what
/var/log/all.log says:

Jul 20 17:35:00 freebsd /usr/sbin/cron[27682]: (root) CMD
(/usr/libexec/atrun)
Jul 20 17:35:00 freebsd /usr/sbin/cron[27683]: (root) CMD
(/usr/local/cpanel/bin/dcpumon /dev/null 21)
Jul 20 17:35:02 freebsd kernel: arplookup 66.249.129.65 failed: host is
not on local network
Jul 20 17:35:02 freebsd last message repeated 4 times
Jul 20 17:40:00 freebsd /usr/sbin/cron[27697]: (root) CMD
(/usr/libexec/atrun)
Jul 20 17:40:00 freebsd /usr/sbin/cron[27698]: (root) CMD
(/usr/local/cpanel/bin/dcpumon /dev/null 21)
Jul 20 17:45:19 freebsd syslogd: restart
Jul 20 17:45:19 freebsd syslogd: kernel boot file is /boot/kernel/kernel

[EMAIL PROTECTED] /usr/local/apache/logs]# last -n 42
mcuserttyp0ip.ip.ip.ipThu Jul 20 19:07   still logged in
reboot   ~ Thu Jul 20 17:45
mcuserttyp0ip.ip.ip.ip Sat Jul 15 18:27 - 19:22  (00:55)

Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 146 (1992.34-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0xf58  Stepping = 8

  
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow
real memory  = 1073676288 (1023 MB)
avail memory = 1041735680 (993 MB)
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 1.1 irqs 0-23 on motherboard
ioapic1 Version 1.1 irqs 24-27 on motherboard
ioapic2 Version 1.1 irqs 28-31 on motherboard
kbd1 at kbdmux0
acpi0: A M I OEMRSDT on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x5008-0x500b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 6.0 on pci0
pci3: ACPI PCI bus on pcib1
ohci0: OHCI (generic) USB controller mem 0xfeafc000-0xfeafcfff irq 19 at
device 0.0 on pci3
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered

i have experienced this thing myself in my old debian box, apparently bad

hardware(power supply, deteriorating motherboard and fluctuating electric
voltage) are causing one way or another this reboot with no user
intervention. this frequent reboot you're experiencing are indications that
your box will soon become a paperweight. as for what you can do, you can
transfer your drive to another box with the same bios configuration, it
should work and you should also backup the contents of that box.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail system Suggestions

2006-07-23 Thread Bill Moran
Mikhail Goriachev [EMAIL PROTECTED] wrote:

 jan gestre wrote:
  On 7/22/06, Dave [EMAIL PROTECTED] wrote:
  Hi,
  I would recommend dovecot. It's capable of both imap as well as pop if
  you later want to add that and can do encrypted versions of those
  protocols
  as well. Dovecot is also in my opinion much easier to configure and less
  resource intensive than other imap servers.
  If i can be of any assistance let me know.
  Thanks.
  Dave.
  
  i second it, dovecot works great, try it.
 
 I'm not into starting a flaming session, but dovecot's indexing/caching
 capabilities are the only things that make it fast. Am I right? Well, it
 is also written in C. I came across a few posts[1][2], though they're
 old, saying that everything depends on e-mail clients as well.
 
 I'm responsible for 2 courier-imap in production and about to start
 working on a new one. This and previous threads regarding dovecot caught
 my attention and it sounds interesting. However, what good is there
 having indexes on IMAP server and on local machine?
 
 I realised that my Thunderbird keeps record of all my folders and their
 contents. So roughly I've got ~800MB of e-mails on IMAP and 12MB of
 indexes in Thunderbird's profile. Also, apparently Outlook 2003 caches
 absolutely everything. I've seen accounts with 2.9GB worth of e-mails on
 IMAP and generated outlook.pst as big as 950MB. Maybe dovecot's indexing
 features would be great in webmail environments?
 
 Maybe I just got lost somewhere. Any input would be highly appreciated.

I don't know enought about Dovecot in particular to say whether or not
the speed is _purely_ the result of caching (and being written in C).

But I can state a couple of reasons why the server-side cache helps.
Keep in mind that IMAP is specifically designed as a clieng/server
protocol.  I generally have the same mailbox open from three computers:
my home, my work and my laptop.  When changes are made from one of these,
the other two need to get synchronized.  Like most people, I try to
keep my mails organized into folders that don't get too big, but I still
end up with 1000s of mails in each folder.

Dovecot keeping a cache/index on the server side allows Dovecot to quickly
provide information when the clients want to sync up.  When a mail client
is first started, it needs to do the equivalent of send me a list of all
the emails in this folder.  If Dovecot needs to scan each and every message,
it can be pretty slow, but if it has an index maintained that it can more
or less just ship as is, that's much faster.  How often these types of
overall sync operations occur under normal usage, I don't know.

While I'm not an expert, I believe that Courier maintains indexes as well.

-- 
Bill Moran

You will give me the Ring freely?  In place of the Dark Lord you will set
up a Queen.  And I shall not be dark, but beautiful and terrible as the
Morning and the Night!  Fair as the Sea and the Sun and the Snow upon the
Mountain!  Dreadful as the Storm and the Lightning!  Stronger than the
foundations of the earth.  All shall love me and despair!

Galadriel

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


How to not run xconsole with XDM

2006-07-23 Thread Robert Huff
Lennon Cook writes:

  I have XDM set up, in the default way (by simply turning it to on in
  /etc/ttys). It runs xconsole to catch errors - however, I have a
  session manager set up, which catches output in a different way, so
  this xconsole is basically dead weight for me. But how do I stop it
  running every time? As it is, I simply close it after I log in, but
  this is inideal. I assume this is in a config file somewhere, but I
  can't find it - where should I be looking?

For Xsetup_0 (in Xorg 6.9); it may be under /usr/X11R6 or
/etc/X11.  Or both.


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


jdk15

2006-07-23 Thread eoghan

Hi again
And thanks for the advice on installing jdk... but can you point me  
in the direction of where to get the installers if I dont go about  
using the port to install.
I had tried jdk14, but its not for amd64. I also read that OOo needs  
jdk14. Is this true?
Having said that I would still like to get jdk15 installed for use  
with some jinit apps.

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


RE: Temperature Monitor

2006-07-23 Thread Mike Tancsa

At 12:41 AM 23/07/2006, Tamouh H. wrote:

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

 I have an 865GCH.  You might be able to get it via acpi

 % sysctl -a hw.acpi.thermal.tz0.temperature
 hw.acpi.thermal.tz0.temperature: 40.0C
 %

 also, mbmon, might be able to work if you compile in smb support.

   ---Mike

thx, I've tried that but the thermal sysctl not available. mbmon 
compiled with smb didn't recognize a h/w monitor!


Hi, nothing special.  But for smb support, I mean compile it into the 
kernel.  Try adding


device  ichsmb
device  smb
device  smbus
device  intpm

to your kernel and then see if mbmon picks up the info.

---Mike 


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


IBM x440

2006-07-23 Thread Peter Czanik
Hello,

I'm trying to install 6.1-STABLE on an IBM x440 machine. It has four 1.5
Ghz Xeon CPUs, but only two of these are used by FreeBSD. The message I
get in dmesg is:


APIC: Ignoring local APIC with ID 16
APIC: Ignoring local APIC with ID 18
ACPI APIC Table: IBMSERVIGIL
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  2

The output of mptable includes four entries and has ID 16 and 18 on the
list. Any idea how I could the other two CPUs up and running? A half day
of googling did not help...

Thanks, bye,
CzP

Ps: output of 'mptable'

===

MPTable

---

MP Floating Pointer Structure:

  location: EBDA
  physical address: 0x0009c140
  signature:'_MP_'
  length:   16 bytes
  version:  1.4
  checksum: 0x69
  mode: Virtual Wire

---

MP Config Table Header:

  physical address: 0x0009ce60
  signature:'PCMP'
  base table length:556
  version:  1.4
  checksum: 0xb9
  OEM ID:   'IBM ENSW'
  Product ID:   'VIGIL SMP   '
  OEM table pointer:0x
  OEM table size:   0
  entry count:  58
  local APIC address:   0xfee0
  extended table length:348
  extended table checksum:  254

---

MP Config Base Table Entries:

--
Processors: APIC ID Version State   Family  Model   Step   
Flags
 0   0x14BSP, usable 15  2   2  
0x0301
 2   0x14AP, usable  15  2   2  
0x0301
16   0x14AP, usable  15  2   2  
0x0301
18   0x14AP, usable  15  2   2  
0x0301
--
Bus:Bus ID  Type
 0   PCI
 1   PCI
 2   PCI
 3   PCI
 4   PCI
 5   PCI
 6   PCI
 7   PCI
 8   PCI
 9   PCI
10   PCI
11   PCI
12   ISA
--
I/O APICs:  APIC ID Version State   Address
14   0x11usable  0xfec0
13   0x11usable  0xfec01000
--
I/O Ints:   TypePolarityTrigger Bus ID   IRQAPIC ID PIN#
INT  conformsconforms   12 0 140
INT  conformsconforms   12 1 141
INT  conformsconforms   12 4 144
INT  conformsconforms   12 6 146
INT active-loedge   12 8 148
INT  conformsconforms   1212 14   12
INT  conformsconforms   1213 14   13
INT active-hiconforms   1214 14   14
INT  conformsconforms0   3:A 14   39
INT  conformsconforms0   4:A 14   16
INT  conformsconforms0   5:D 14   18
INT  conformsconforms0   5:D 14   19
INT  conformsconforms1   4:A 14   42
INT  conformsconforms7   3:A 13   16
INT  conformsconforms2   1:A 130
INT  conformsconforms2   1:B 131
INT  conformsconforms2   1:C 132
INT  conformsconforms2   1:D 133
INT  conformsconforms2   2:A 134
INT  conformsconforms2   2:B 135
INT  conformsconforms2   2:C 136
INT  conformsconforms2   2:D 137
INT  conformsconforms9   1:A 138
INT  conformsconforms9   1:B 139
INT  conformsconforms9   1:C 13   10
INT  conformsconforms9   1:D 13   11
INT  conformsconforms9   2:A 13   12
INT  conforms

Re: [6.1-RELEASE] Flash crashes; can't apply patch

2006-07-23 Thread Lowell Gilbert
Sean M. [EMAIL PROTECTED] writes:

 about:plugins in Firefox shows that the linux-flashplugin7 port took:

 Shockwave Flash

 File name: libflashplayer.so
 Shockwave Flash 7.0 r63

 MIME Type Description SuffixesEnabled
 application/x-shockwave-flash Shockwave Flash swf Yes
 application/futuresplash  FutureSplash Player spl Yes


 But it shut down as soon as I tried to go to a flash site. OK, so,
 apparently I'm supposed to apply a patch:

 [/usr/src]# fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff

 All right, now:

 [/usr/src]# patch rtld_dlsym_hack.diff
 Hmm...  Looks like a unified diff to me...
 The text leading up to this was:
 --
 |--- libexec/rtld-elf/rtld.c.orig   Fri Sep 24 08:04:52 2004
 |+++ libexec/rtld-elf/rtld.cSun Oct 17 03:37:44 2004
 --
 File to patch:
 No file found--skip this patch? [n] y
 Skipping patch...
 Hunk #1 ignored at 129.
 Hunk #2 ignored at 178.
 Hunk #3 ignored at 1738.
 3 out of 3 hunks ignored--saving rejects to rtld.c.rej
 done


 Well, what am I supposed to do now?

What does ls -l  /usr/src/libexec/rtld-elf/rtld.c say?
[You do have sources installed, right?
And built your base system from them?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IBM x440

2006-07-23 Thread Jonathan Horne
On Sunday 23 July 2006 09:56, Peter Czanik wrote:
 Hello,

 I'm trying to install 6.1-STABLE on an IBM x440 machine. It has four 1.5
 Ghz Xeon CPUs, but only two of these are used by FreeBSD. 

when was the last time you saw them all running?  if you cant recall, it might 
be appropriate to step over to another OS just for a moment, just to verify 
they are operating properly.

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


[OT] gcc: maximum length of an array?

2006-07-23 Thread P.U.Kruppa

Hi,

sorry for posting an [OT], but usually people on this list know 
everything :-)


Since I don't know too much about programming I am frequently 
fascinated by simple things like Eratosthenes' sieve.
As you might remember, one has to create a boolean array for 
that. The longer the array the more primes can be found.


With malloc() I can create an array of length 1 (10^8)
and the first 5761455 primes are calculated in a few seconds.
So of course I would like to test length 10^9 but here my program 
crashes.


So my questions:
- is there some way to create a longer array?
- or what are the alternatives?
- do you know some kind of fine manual about this?

Regards and thanks for all answers,

Uli.


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


Re: Memory usage for MySQL

2006-07-23 Thread Vinicius Vianna
From what I read you should only change kern.maxdsiz, changing 
kern.dfldsiz makes every process allocating this amount of memory by 
default, thats bad.


Something like:

kern.maxdsiz=1395864371 # 1.3GB
#kern.dfldsiz=1395864371 # 1.3GB
#kern.maxssiz=134217728 # 128MB

would do the trick for you, check limits also and see what the init 
scripts may be limiting on this process.


HTH,
DS

Thaddeus Quintin wrote:
I'm working on a FreeBSD 6.1 machine and setting up MySQL 5.0 with 
some InnoDB tables.


The machine has 2GB of RAM and will primarily be used as a database 
machine and will also be serving files over NFS (not high volume).


The issue that I'm having is that when I start up MySQL I get a couple 
Out of Memory errors before it actually starts up.  Looks like this-


060719 11:55:35  InnoDB: Started; log sequence number 0 43656
/usr/local/libexec/mysqld: Out of memory (Needed 950109184 bytes)
/usr/local/libexec/mysqld: Out of memory (Needed 712581120 bytes)
060719 11:55:35 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '5.0.22-log'  socket: '/tmp/mysql.sock'  port: 3306

If I reduce or increase the innodb_buffer_pool_size variable for MySQL 
I can eliminate or increase the number of errors.  This set of errors 
was with innodb_buffer_pool_size set to 600M


This is what top currently shows for MySQL-
  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
  871 mysql   8  200  1196M   159M kserel 0   0:01  0.00% mysqld

I tweaked /boot/loader.conf to allow larger data size for processes 
already (rebooted after changes)-

kern.maxdsiz=1395864371 # 1.3GB
kern.dfldsiz=1395864371 # 1.3GB
kern.maxssiz=134217728 # 128MB

If there's an out of memory error, how come MySQL starts up?  Is this 
something to be concerned about?  What else should I be checking to 
figure this out?


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


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


Re: Slow Write Performance on 3ware controller

2006-07-23 Thread Jonathan Horne
On Sunday 23 July 2006 06:04, Richard Collyer wrote:
 Nikolas Britton wrote:
  Would moving the top card to the bottom slot and putting the 9500S-12 in
  the top slot screw with FreeBSD in anyway or will it just accept the
  changes and keep on going?
 
  I don't see any problem doing that... FreeBSD would only care if it
  was the boot drive AND if it also changed the device name in /dev. So
  yes... try it... if it changes the /dev name just edit /etc/fstab with
  the new settings.

 Oh yes, had fun with fstab in single user mode yesterday ... I'd put a
 spelling mistake in /etc/fstab that was fun as it was my first venture
 into single user mode. Took me 20 mins to realise that only / was
 mounted and that /use wasn't hence no editors or shells.

 As this is a production server (its only my home file server) and the
 card was an ebay special at sub $200 I'm happy with the performance.

 I may play around with moving them when some more routine maintenance
 comes up but as I am only writing to it over the 100Mbit network
 50MB/sec is more than enough for what I am looking at.

 Many thanks for the help.

 Cheers
 Richard


all this 3ware discussion inspired me to check out my 6.1-releng server and 
see how its 3ware card stacks up to the previously posted scores.

[EMAIL PROTECTED] ~]# diskinfo -t /dev/twed2
/dev/twed2
512 # sectorsize
360099151872# mediasize in bytes (335G)
703318656   # mediasize in sectors
43779   # Cylinders according to firmware.
255 # Heads according to firmware.
63  # Sectors according to firmware.

Seek times:
Full stroke:  250 iter in   5.702448 sec =   22.810 msec
Half stroke:  250 iter in   3.484361 sec =   13.937 msec
Quarter stroke:   500 iter in   5.728894 sec =   11.458 msec
Short forward:400 iter in   2.178793 sec =5.447 msec
Short backward:   400 iter in   3.040917 sec =7.602 msec
Seq outer:   2048 iter in   0.502034 sec =0.245 msec
Seq inner:   2048 iter in   0.521798 sec =0.255 msec
Transfer rates:
outside:   102400 kbytes in   2.872447 sec =35649 kbytes/sec
middle:102400 kbytes in   2.996709 sec =34171 kbytes/sec
inside:102400 kbytes in   2.341439 sec =43734 kbytes/sec

ive been a 3ware fan for many years now.  this pic was taken in 2001...
http://www.dfwlp.org/~jhorne/pics/computerroom/raid01.jpg
heh, you want to talk about pci placement based on fit of ide cables... lol 
try mine.  in the end, after 5 years, im impressed mine is still chugging 
away, at albeit the performance numbers of yesteryear.  oh, incase anyone 
would ask, my /dev/twed2 is a 4x120GB RRAID5 with seagate's (ST3120026A), in 
a dual 1ghz thats almost as old as the card.

i would love to go out and buy a new 3ware... but this one wont die!   :)

an btw to richard (and other 3ware users too), do you have the sysutils/tw_cli 
port installed?  very useful!

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


Re: Slow Write Performance on 3ware controller

2006-07-23 Thread Richard Collyer

Jonathan Horne wrote:

ive been a 3ware fan for many years now.  this pic was taken in 2001...
http://www.dfwlp.org/~jhorne/pics/computerroom/raid01.jpg
heh, you want to talk about pci placement based on fit of ide cables... lol 
try mine.  in the end, after 5 years, im impressed mine is still chugging 
away, at albeit the performance numbers of yesteryear.  oh, incase anyone 
would ask, my /dev/twed2 is a 4x120GB RRAID5 with seagate's (ST3120026A), in 
a dual 1ghz thats almost as old as the card.


i would love to go out and buy a new 3ware... but this one wont die!   :)

an btw to richard (and other 3ware users too), do you have the sysutils/tw_cli 
port installed?  very useful!


No dont have the tw_cli installed. I'm a big fan of the 3DM2 web based 
tool and havent found anything that it cant do for me yet. I'll check 
out that port and report back!


Cheers
Richard


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


Re: jdk15

2006-07-23 Thread Micah

eoghan wrote:

Hi again
And thanks for the advice on installing jdk... but can you point me in 
the direction of where to get the installers if I dont go about using 
the port to install.
I had tried jdk14, but its not for amd64. I also read that OOo needs 
jdk14. Is this true?
Having said that I would still like to get jdk15 installed for use with 
some jinit apps.

Thanks
Eoghan


trisha% pwd
/usr/ports/editors/openoffice.org-2.0
trisha% grep JAVA_VERSION Makefile
JAVA_VERSION=   1.4+
(OOo can use 1.4 or 1.5)

A quick google using freebsd java would've gotten you 
http://www.freebsdfoundation.org/downloads/java.shtml for JDK packages


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


Re: Slow Write Performance on 3ware controller

2006-07-23 Thread Jonathan Horne
On Sunday 23 July 2006 11:11, Richard Collyer wrote:
  an btw to richard (and other 3ware users too), do you have the
  sysutils/tw_cli port installed?  very useful!

 No dont have the tw_cli installed. I'm a big fan of the 3DM2 web based
 tool and havent found anything that it cant do for me yet. I'll check
 out that port and report back!

ah, see my 6800 is so ancient, that the original 3DM is all it can use, and it 
has not operated correctly since about (when ever fedora 2 or 3 was 
released... quite a while).  when i saw that command line util, i didnt even 
bother looking once i had switched to freebsd.  tw_cli does a million times 
better than the original 3DM could ever do!

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


Problem loading firmware, iwi driver

2006-07-23 Thread Erik Nørgaard
Hi:

I have a problem loading the driver for Intel 2200BG Wireless NIC,
loading modules if_iwi and iwi_bss I see the following in dmesg:

iwi0: Intel(R) PRO/Wireless 2200BG mem 0xb0107000-0xb0107fff irq 10 at
  device 10.0 on pci6
iwi0: Ethernet address: 00:16:6f:93:c9:75
firmware_get: failed to load firmware image iwi_bss
iwi0: could not load firmware

last two lines repeat. The firmware file in /boot/firmware ...

Kernel is 6.1-STABLE, source cvsup'ed three days ago. Problem occurs
with GENERIC as well as custom kernel config.

I have tried both installing iwi-firmware-kmod and building from this
source:

  http://people.freebsd.org/~mlaier/new_iwi/20060315.both.tgz

and

  http://people.freebsd.org/~mlaier/new_iwi/20060418.both_nofw.tgz

(iwiNG) But no difference.

Any help on how to solve this is appreciated.

Thanks, Erik

-- 
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Slow Write Performance on 3ware controller

2006-07-23 Thread Nikolas Britton

On 7/23/06, Jonathan Horne [EMAIL PROTECTED] wrote:

On Sunday 23 July 2006 06:04, Richard Collyer wrote:
 Nikolas Britton wrote:
  Would moving the top card to the bottom slot and putting the 9500S-12 in
  the top slot screw with FreeBSD in anyway or will it just accept the
  changes and keep on going?
 
  I don't see any problem doing that... FreeBSD would only care if it
  was the boot drive AND if it also changed the device name in /dev. So
  yes... try it... if it changes the /dev name just edit /etc/fstab with
  the new settings.

 Oh yes, had fun with fstab in single user mode yesterday ... I'd put a
 spelling mistake in /etc/fstab that was fun as it was my first venture
 into single user mode. Took me 20 mins to realise that only / was
 mounted and that /use wasn't hence no editors or shells.

 As this is a production server (its only my home file server) and the
 card was an ebay special at sub $200 I'm happy with the performance.

 I may play around with moving them when some more routine maintenance
 comes up but as I am only writing to it over the 100Mbit network
 50MB/sec is more than enough for what I am looking at.

 Many thanks for the help.

 Cheers
 Richard


all this 3ware discussion inspired me to check out my 6.1-releng server and
see how its 3ware card stacks up to the previously posted scores.

[EMAIL PROTECTED] ~]# diskinfo -t /dev/twed2
/dev/twed2
512 # sectorsize
360099151872# mediasize in bytes (335G)
703318656   # mediasize in sectors
43779   # Cylinders according to firmware.
255 # Heads according to firmware.
63  # Sectors according to firmware.

Seek times:
Full stroke:  250 iter in   5.702448 sec =   22.810 msec
Half stroke:  250 iter in   3.484361 sec =   13.937 msec
Quarter stroke:   500 iter in   5.728894 sec =   11.458 msec
Short forward:400 iter in   2.178793 sec =5.447 msec
Short backward:   400 iter in   3.040917 sec =7.602 msec
Seq outer:   2048 iter in   0.502034 sec =0.245 msec
Seq inner:   2048 iter in   0.521798 sec =0.255 msec
Transfer rates:
outside:   102400 kbytes in   2.872447 sec =35649 kbytes/sec
middle:102400 kbytes in   2.996709 sec =34171 kbytes/sec
inside:102400 kbytes in   2.341439 sec =43734 kbytes/sec

ive been a 3ware fan for many years now.  this pic was taken in 2001...
http://www.dfwlp.org/~jhorne/pics/computerroom/raid01.jpg
heh, you want to talk about pci placement based on fit of ide cables... lol
try mine.  in the end, after 5 years, im impressed mine is still chugging
away, at albeit the performance numbers of yesteryear.  oh, incase anyone
would ask, my /dev/twed2 is a 4x120GB RRAID5 with seagate's (ST3120026A), in
a dual 1ghz thats almost as old as the card.


IBM Deathstars, not so fond memories of those drives. Here's another
diskinfo from an 8 disk Maxtor 7L250S0 array connected to a HighPoint
2220, It's days away from being decommissioned and then rebuilt into a
backup array for the new one taking it's place (Areca ARC-1220 + 8
Maxtor 7V300F0s):


diskinfo -t /dev/da0

/dev/da0
   512 # sectorsize
   1756440297472   # mediasize in bytes (1.6T)
   3430547456  # mediasize in sectors
   213541  # Cylinders according to firmware.
   255 # Heads according to firmware.
   63  # Sectors according to firmware.

Seek times:
   Full stroke:  250 iter in   4.068691 sec =   16.275 msec
   Half stroke:  250 iter in   3.614864 sec =   14.459 msec
   Quarter stroke:   500 iter in   6.100577 sec =   12.201 msec
   Short forward:400 iter in   2.314725 sec =5.787 msec
   Short backward:   400 iter in   2.492332 sec =6.231 msec
   Seq outer:   2048 iter in   0.251374 sec =0.123 msec
   Seq inner:   2048 iter in   0.299685 sec =0.146 msec
Transfer rates:
   outside:   102400 kbytes in   0.712265 sec =   143767 kbytes/sec
   middle:102400 kbytes in   0.698637 sec =   146571 kbytes/sec
   inside:102400 kbytes in   0.690232 sec =   148356 kbytes/sec


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


Re: Slow Write Performance on 3ware controller

2006-07-23 Thread Jonathan Horne
On Sunday 23 July 2006 11:27, Nikolas Britton wrote:
 IBM Deathstars, not so fond memories of those drives.

indeed.  i was lucky to have bought mine several months before their quality 
dept took a nose dive.  2 of those drives are still in service.  after almost 
6 years, that might be considered impresseive considering the model-family 
these came from.

and wow.. those are pretty impressive performance numbers!  what 
connection/speed technology is your array, and how old is it that its about 
to be retired?

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


Re: Corrupt MBOX

2006-07-23 Thread Derek Ragona
The problem is caused by bad headers that trip up pop.  Pop reads the email 
file looking for the headers and the body of the message.  If the header is 
not complete, pop servers give an error and quit.  This usually causes 
users to get multiple copies of mail until the error is encountered or no 
pop email at all.


The only way I have found to fix this is to either use pine and delete the 
bad message.  Pine is better at handling mal-formed headers.  Or to use a 
webmail interface to delete the bad email.


-Derek

At 12:18 PM 7/22/2006, Gerard Seibert wrote:

Derek Ragona wrote:

 It may be corrupted by spam.  This happens when SPAM has bad 
headers.  This

 effects all POP clients/servers.

  -Derek

OK, is there any easy repair process that I can use to remedy the
situation? Second, why isn't the mail corrupted on the mail server that
I am getting this mail from? If it corrupts my mbox, then why not theirs?


--
Gerard Seibert
[EMAIL PROTECTED]

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


RE: Temperature Monitor

2006-07-23 Thread Tamouh H.
 
 Hi, nothing special.  But for smb support, I mean compile it 
 into the kernel.  Try adding
 
 device  ichsmb
 device  smb
 device  smbus
 device  intpm
 
 to your kernel and then see if mbmon picks up the info.
 
  ---Mike 

Thx Mike, no luck there either:

sonata# mbmon -d
ioctl(smb0:writebyte): Device not configured

sonata# mbmon -D
Probe Request: none
 Testing Reg's at SMBus 
 SMBus slave 0x0C(0x06) found...
 SMBus slave 0x2E(0x17) found...
 SMBus slave 0x44(0x22) found...
 SMBus slave 0x52(0x29) found...
 SMBus slave 0x8C(0x46) found...
 SMBus slave 0xAE(0x57) found...
 SMBus slave 0xC4(0x62) found...
Set SMBus slave address: 0x52
Probing Winbond/Asus/LM78/79 chip:
  CR40:0x7F,  CR41:0x98,  CR42:0x00,  CR43:0x00
  CR44:0x00,  CR45:0x00,  CR46:0x00,  CR47:0x00
  CR48:0x04,  CR49:0x4B,  CR4A:0x00,  CR4B:0x00
  CR4C:0x00,  CR4D:0x00,  CR4E:0x00,  CR4F:0x00
  CR56:0x00,  CR58:0x00,  CR59:0x00,  CR5D:0x01
  CR3E:0x10,  CR13:0x01,  CR17:0x60,  CRA1:0xFF
  CR20:0x60,  CR22:0x40,  CR23:0x40,  CR24:0x00
  CR27:0x00,  CR29:0x37,  CR2A:0x46,  CR2B:0x30
ioctl(smb0:writebyte): Device not configured

Thx,

Tamouh

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


Re: Slow Write Performance on 3ware controller

2006-07-23 Thread Nikolas Britton

On 7/23/06, Jonathan Horne [EMAIL PROTECTED] wrote:

On Sunday 23 July 2006 11:27, Nikolas Britton wrote:
 IBM Deathstars, not so fond memories of those drives.

indeed.  i was lucky to have bought mine several months before their quality
dept took a nose dive.  2 of those drives are still in service.  after almost
6 years, that might be considered impresseive considering the model-family
these came from.

and wow.. those are pretty impressive performance numbers!  what
connection/speed technology is your array, and how old is it that its about
to be retired?



The controller is SATA-II and the drives are SATA150, the controller
is sitting on a PCI-X66 bus... It's about a year old but we ran out of
space:


df -h

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/da0e  1.5T1.4T 36G98%/usr/data

This time around I convinced them to make the project budget bigger.
After I finish building this new primary system (dual xeon dual
cores). I'll start building the other (much cheaper / slower) systems
to offload most of that data to and then after that work on the even
cheaper systems to backup those arrays. Tiered storage etc. etc. I'd
estimate that we use around 1TB per year, it's a moving target that
seems to be growing exponentially!


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


Re: Searching a drive and copying files

2006-07-23 Thread Parv
in message [EMAIL PROTECTED],
wrote Joshua Lewis thusly...

 I need to search my drive for all pictures on my system and copy
 them  to a networked system using sftp or ssh or what not. There
 will be  duplicate names on the drive so I was hoping to have dups
 placed in a  separate folder.

Unison, net/unison port, should be able to handle the duplicates
based on file checksum.  (I personally have not used it much, so i
cannot answer any other queried about it; refer to its fine man
page.)


 Due to my for lack of a better term stupidity when I  first got
 my camera I will probably have instances when there will be  three
 or four duplicates.  can help me out with that it  would be great.
...
 My goal is to find all my pictures and compare them then delete
 the  dups that don't look that good. A daunting task as I have 20
 GB of  data. I bet 10 GB are dups.

A checksum-based management of duplicates will help with the files
with identical contents, but not with files that differ even a bit.

Perl program below -- a modified version of Randal Schwartz's
version[0] -- uses md5(1) to identify duplicates (as in identical
files), failing that, Image::Magick based on fuzz factor.  When it
finds duplicates, it asks to enter the item number from the file
list to be deleted.

  [0] Article Finding similar images,
  http://www.stonehenge.com/merlyn/LinuxMag/col50.html


To be able to run, it needs Image::Magick (graphics/ImageMagick
port), Cache::FileCache (devel/p5-Cache-Cache), List::Util
(lang/p5-Scalar-List-Utils), File::Copy  File::Path.

Mind that it, rather Image::Magick, may consume all of your memory
and/or temporary fs if you run it on all the files at once.

If you are good in Perl, you could modify the program to move the
duplicates in a directory (instead of deleting), and possibly not to
ask to take the particular action (if as you say you would have a
boat load of duplicates).

Without further interruptions, program follows ...

  #!perl

  #  This is a modified version of Randal Schwartz's ...
  #
  #http://www.stonehenge.com/merlyn/LinuxMag/col50.html
  #
  #  ... as it uses checksum (MD5 for now) to detect identical files, failing 
that
  #  uses Image::Magick.

  use warnings; use strict;

  $|++;

  use Image::Magick;
  use Cache::FileCache;
  use File::Copy qw( move );
  use File::Path qw( mkpath );
  use List::Util qw( reduce );

  use Carp qw(carp);

  use Getopt::Long qw( :config gnu_compat no_ignore_case no_debug );

  #  User option; permitted average deviation in the vector elements.
  my $fuzz = 15;

  #  User option; if defined, rename corrupt images into this dir.
  my $corrupt_dir = CORRUPT;
  {
my $usage;
GetOptions
(
  'h|usage|help' = \$usage
, 'f|fuzz=i' = \$fuzz
, 'c|corrupt=s' = \$corrupt_dir
, 'nc|nocorrupt' = sub { undef $corrupt_dir; }
)
or usage( 1 );

usage( 0 ) if $usage;

#  Check if any arguments remain which will be file names
usage( 1, No file(s) or directory(ies) given. ) unless scalar @ARGV;
  }

  sub warnif;

  my $cache = Cache::FileCache-new
( {
namespace = 'image.cache'
  , cache_root = ( glob( ~/log/misc ) )[ 0 ]
  }
);

  my @buckets;

  FILE: while ( @ARGV )
  {
my $file = shift;
next FILE if -l $file;
if ( -d $file )
{
  opendir DIR, $file or next FILE;
  unshift @ARGV, map { m/^\./ ? () : $file/$_; } sort readdir DIR;
  next FILE;
}

next FILE unless -f _ or -d _;

my ( @stat ) = stat _ or die should not happen: $!;

#  dev/ino/mtime
my $key = @stat[ 0, 1, 9 ];

my @vector;

#print $file ;
if ( my $data = $cache-get( $key ) )
{
  #print ... is cached\n;
  @vector = @$data;
}
else
{
  my $image = Image::Magick-new;
  if ( my $x = $image-Read( $file ) )
  {
if ( defined $corrupt_dir and $x =~ m/corrupt|unexpected end-of-file/i )
{
  print $file ;
  print ... renaming into $corrupt_dir\n;

  -d $corrupt_dir
or mkpath $corrupt_dir, 0, 0700
or die Cannot mkpath $corrupt_dir: $!;

  move $file, $corrupt_dir or warn Cannot rename: $!;
}
else
{
  print $file ;
  print ... skipping ( $x )\n;
}
next FILE;
  }

  #print is , join( x, $image-Get( 'width', 'height' ) ), \n;
  warnif $image-Normalize();
  warnif $image-Resize( geometry = '4x4!' );
  warnif $image-Set( magick = 'rgb' );
  @vector = unpack C*, $image-ImageToBlob();
  $cache-set( $key, [ @vector ] );
}
BUCKET: for my $bucket ( @buckets )
{
  my $error = 0;
  INDEX: for my $index ( 0 .. $#vector )
  {
$error += abs( $bucket-[ 0 ][ $index ] - $vector[ $index ] );
next BUCKET if $error  $fuzz * @vector;
  }
  push @$bucket, $file;

  #print linked , join( , , @$bucket[ 1 .. $#$bucket ] ), \n;
  next FILE;
}
push @buckets, 

Re: Problem loading firmware, iwi driver

2006-07-23 Thread Yousef Raffah
Erik Nørgaard wrote:
 Hi:

 I have a problem loading the driver for Intel 2200BG Wireless NIC,
 loading modules if_iwi and iwi_bss I see the following in dmesg:

 iwi0: Intel(R) PRO/Wireless 2200BG mem 0xb0107000-0xb0107fff irq 10 at
   device 10.0 on pci6
 iwi0: Ethernet address: 00:16:6f:93:c9:75
 firmware_get: failed to load firmware image iwi_bss
 iwi0: could not load firmware

 last two lines repeat. The firmware file in /boot/firmware ...

 Kernel is 6.1-STABLE, source cvsup'ed three days ago. Problem occurs
 with GENERIC as well as custom kernel config.

 I have tried both installing iwi-firmware-kmod and building from this
 source:

   http://people.freebsd.org/~mlaier/new_iwi/20060315.both.tgz

 and

   http://people.freebsd.org/~mlaier/new_iwi/20060418.both_nofw.tgz

 (iwiNG) But no difference.

 Any help on how to solve this is appreciated.

 Thanks, Erik

   
Did you try iwicontrol iwi0 -d /boot/firmware -m bss ?

-- 

Sincerely,

Yousef Adnan Raffah
Security Officer
The Savola Group

---
Aren't you using Firefox? Get it at http://www.getfirefox.com




signature.asc
Description: OpenPGP digital signature


Re: jdk15

2006-07-23 Thread eoghan

On 23 Jul 2006, at 17:13, Micah wrote:


eoghan wrote:

Hi again
And thanks for the advice on installing jdk... but can you point  
me in the direction of where to get the installers if I dont go  
about using the port to install.
I had tried jdk14, but its not for amd64. I also read that OOo  
needs jdk14. Is this true?
Having said that I would still like to get jdk15 installed for use  
with some jinit apps.

Thanks
Eoghan


trisha% pwd
/usr/ports/editors/openoffice.org-2.0
trisha% grep JAVA_VERSION Makefile
JAVA_VERSION=   1.4+
(OOo can use 1.4 or 1.5)

A quick google using freebsd java would've gotten you http:// 
www.freebsdfoundation.org/downloads/java.shtml for JDK packages


HTH,
Micah


Thanks for that Micah.
Installed amd64 package from that foundation.
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT] gcc: maximum length of an array?

2006-07-23 Thread Giorgos Keramidas
On 2006-07-24 20:49, P.U.Kruppa [EMAIL PROTECTED] wrote:
 Hi,

 sorry for posting an [OT], but usually people on this list know
 everything :-)

 Since I don't know too much about programming I am frequently
 fascinated by simple things like Eratosthenes' sieve.  As you might
 remember, one has to create a boolean array for that. The longer the
 array the more primes can be found.

 With malloc() I can create an array of length 1 (10^8) and the
 first 5761455 primes are calculated in a few seconds.  So of course I
 would like to test length 10^9 but here my program crashes.

If this is about integer values, which are probably 32-bit, you are
hitting the kern.maxdsiz limit of 512 MB.  An array of 100,000,000
32-bit values takes up 4 * 100,000,000 = 400,000,000 (close to 400 MiB
of memory to store).  Anything above 512 MB in size will make the data
size of your program so big that it will overflow the data seg size:

$ ulimit -a
core file size  (blocks, -c) unlimited
data seg size   (kbytes, -d) 524288
...

You can either increase kern.maxdsiz in your `/boot/loader.conf' file,
or redesign the algorithm to work with larger datasets by splitting them
in chunks that you can still process with 512 MB of data :)

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


problems connecting to cvsup servers

2006-07-23 Thread Dave

Hello,
   Is there anything up with the freebsd cvsup servers? I've been trying to 
update my ports collection for the past two days always getting the same 
error message: access limit exceeded. I have tried various servers all with 
the same result.

Thanks.
Dave.

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


Re: I need a freebsd 5.3 desktop server; recommendations?

2006-07-23 Thread snacktime

On 6/17/06, Dan Bikle [EMAIL PROTECTED] wrote:

Anish,

Thanks this is good info.

I'll be using this server for development of a Ruby on Rails.

Currently I do development on a Mac.

My production server is running freeBSD 5.3

I want a development environment which is closer to production
than my Mac is.


You really don't need to use 5.3 unless there are some apps you use on
5.3 and won't work on 6.1.  I have rails apps running on everything
from 4.11 up, and rails itself works the same on all of them.  You
might also try using something like vmware desktop instead of a whole
new server.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Corrupt MBOX

2006-07-23 Thread Gerard Seibert
Derek Ragona wrote:

 The problem is caused by bad headers that trip up pop.  Pop reads the email 
 file looking for the headers and the body of the message.  If the header is 
 not complete, pop servers give an error and quit.  This usually causes 
 users to get multiple copies of mail until the error is encountered or no 
 pop email at all.
 
 The only way I have found to fix this is to either use pine and delete the 
 bad message.  Pine is better at handling mal-formed headers.  Or to use a 
 webmail interface to delete the bad email.
 
  -Derek

Actually, I installed Dovecot and the problem seems to have dissipated.


-- 
Gerard Seibert
[EMAIL PROTECTED]


While I am looking at an object I can not imagine it.

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


RE: Temperature Monitor

2006-07-23 Thread Mike Tancsa

At 01:20 PM 23/07/2006, Tamouh H. wrote:


sonata# mbmon -d
ioctl(smb0:writebyte): Device not configured


Actually, try building mbmon from source and not from the ports.

---Mike 


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


Adding another hard drive

2006-07-23 Thread Rich Demanowski
I'm trying to add another hard drive into my system, a 250GB Western 
Digital 7200RPM SATA drive, and when I have it plugged into the 
motherboard the system hangs when it gets to:

   Timecounter TSC frequency 1803775604 Hz quality 800
   Timecounters tick every 1.000 msec
   acd0: CDRW LITE-ON COMBO SOHC-4836K/SPJ2 at ata1-master UDMA33
   ad4: 114473MB Seagate ST3120213AS 3.AHH at ata2-master SATA150

Normally, I see the following line right after that:
   Trying to mount root from ufs:/dev/ad4s1a

and then the mount messages, the daemon starting messages, and the login 
prompt.


When I have the new hard drive plugged into a free SATA port on the 
motherboard, it hangs the system hard, I have to unplug the box from the 
wall to shut it down.


The BIOS sees that drive just fine.

If I unplug it from the SATA port on the motherboard, the system starts 
up just fine again.

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


Tower with fBSD NOC.

2006-07-23 Thread Dead Line

hello everyone,

 There is one building (Tower) from 11 floors! each floor 3 appartments.
 the owner wants me to have a NOC room down and setup a fully wired network 
points to
 each appartment. each appartment will have an internet connection based on 
a monthly

 membership to be paid somehow.

 I will have a FreeBSD server assuimng 6.1R as a gateway internet server in 
the noc room,


 Well, as long as im a network admin, i dunt have any concern about 
switches, routers
 or internet connections setup or sharing, or even doing a NAT for this 
building..


 I have diffrent view of concern, and wish someone advice and tell HOWTO 
help,


 1- How to setup an open date and expiry date account for a user,
ofcourse i should do it webinterface for some managment reasons.
   and ofcourse i dunt want to set the expiry manual, well it should 
automatically

   the system do such stuff,
   any free packages that anyone knows about or advice me by?
   any freebsd builtin way?

2- If I will do NAT and consider it just like any other network,
then each appartment user will see his nighber user on his network 
nighberhood!!

which is not an option, no one should see anyone on this local lan,
how to do that with FreeBSD ?

3- Is there any advices or ideas I should take in Consideration?

Thank you so much,
Marwan,

So Proud to make FreeBSD the default server!

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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


Re: Adding another hard drive

2006-07-23 Thread John Nielsen

Quoting Rich Demanowski [EMAIL PROTECTED]:

I'm trying to add another hard drive into my system, a 250GB Western 
Digital 7200RPM SATA drive, and when I have it plugged into the 
motherboard the system hangs when it gets to:

   Timecounter TSC frequency 1803775604 Hz quality 800
   Timecounters tick every 1.000 msec
   acd0: CDRW LITE-ON COMBO SOHC-4836K/SPJ2 at ata1-master UDMA33
   ad4: 114473MB Seagate ST3120213AS 3.AHH at ata2-master SATA150


I had a similar problem using a new SATA-II drive with my SATA150 
controller. Once I closed the jumper to force the drive down to SATA150 
operation the problem went away. This isn't necessary on most 
drive/controller combinations (the fallback is supposed to happen 
automatically), but it was for me and sounds like it may be for you. I 
had to do a bit of searching around to confirm the jumper function 
since it's more or less undocumented for my drive (a Seagate).


Good luck,

JN

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


More on ICH8

2006-07-23 Thread Nick Sayer
I've gotten a little bit further in trying to get the ICH8 (P965)  
chipset on my new machine recognized.


This page is quite helpful: http://pci-ids.ucw.cz/iii/?i=8086

Using it, I added some code to ata-chipset.c to recognize the ICH8  
SATA controllers and ehci_pci.c and uhci_pci.c to recognize the USB  
controllers.


The USB stuff appears to work flawlessly. The ATA stuff has one minor  
glitch:


atapci2: Intel ICH8 SATA300 controller port  
0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f, 
0xc800-0xc80f irq 19 at device 31.5 on pci0

atapci2: failed to enable memory mapping!
ata7: ATA channel 0 on atapci2
ata8: ATA channel 1 on atapci2

I'm not sure what's up with the failure to memory-map, but since I  
only have one drive connected (and it's not connected to this  
particular instance), it's harmless at the moment.


I've moved my SATA drive from the JMicro RAID controller to one of  
the ICH8 ports, and it appears to work.


I tried to add the HD audio chip to /sys/sound/pci/ich.c, but  
unfortunately, all I get is an error that it cannot map its I/O space:


pcm0: Intel ICH8 (82801H) mem 0xfebf8000-0xfebfbfff irq 22 at  
device 27.0 on pci0

pcm0: unable to map IO port space
device_attach: pcm0 attach returned 6

The P5B motherboard has a Realtek Ethernet controller. Realtek has a  
FreeBSD driver for it: http://www.realtek.com.tw/downloads/ 
downloads1-3.aspx?Keyword=rtl8168


Perhaps their changes could be either rolled into -CURRENT or merged  
back to RELENG_6?


Getting the SMB controller recognized would be next, so I could get  
mbmon to work. I can't quite figure out which driver (if any) is  
close enough a match to try adding the PCI ID.


Last, but not least, since I have ATA_STATIC_ID turned on, I need to  
let the kernel know where the disk is every time I move it. The  
problem is that my AT keyboard doesn't work at the mountroot prompt  
for some odd reason. A USB keyboard plugged in early enough to be  
probed does work, however. But for some unknown reason, having a USB  
keyboard plugged in causes the system to boot in slow motion (this  
appears to be a BIOS bug - and yes, I did disable legacy USB support.  
No help). Anybody know what's up with that?


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


Re: Slow Write Performance on 3ware controller

2006-07-23 Thread Mike Tancsa
On Sun, 23 Jul 2006 10:53:58 -0500, in sentex.lists.freebsd.questions
you wrote:


all this 3ware discussion inspired me to check out my 6.1-releng server and 
see how its 3ware card stacks up to the previously posted scores.

[EMAIL PROTECTED] ~]# diskinfo -t /dev/twed2
/dev/twed2
512 # sectorsize
360099151872# mediasize in bytes (335G)
703318656   # mediasize in sectors
43779   # Cylinders according to firmware.
255 # Heads according to firmware.
63  # Sectors according to firmware.

Here is an areca 4 port PCIe in RAID 1+0

diskinfo -t da0
da0
512 # sectorsize
23647744# mediasize in bytes (224G)
468749312   # mediasize in sectors
29178   # Cylinders according to firmware.
255 # Heads according to firmware.
63  # Sectors according to firmware.

Seek times:
Full stroke:  250 iter in   1.328484 sec =5.314 msec
Half stroke:  250 iter in   1.342900 sec =5.372 msec
Quarter stroke:   500 iter in   2.021294 sec =4.043 msec
Short forward:400 iter in   0.817074 sec =2.043 msec
Short backward:   400 iter in   1.972321 sec =4.931 msec
Seq outer:   2048 iter in   0.237593 sec =0.116 msec
Seq inner:   2048 iter in   0.204264 sec =0.100 msec
Transfer rates:
outside:   102400 kbytes in   0.886375 sec =   115527
kbytes/sec
middle:102400 kbytes in   1.106318 sec =92559
kbytes/sec
inside:102400 kbytes in   1.806561 sec =56682
kbytes/sec

Seagate ST3120827AS

And an old 7810 in RAID5 with ST3500630As

 diskinfo -t twed1
twed1
512 # sectorsize
1500320366592   # mediasize in bytes (1.4T)
2930313216  # mediasize in sectors
182403  # Cylinders according to firmware.
255 # Heads according to firmware.
63  # Sectors according to firmware.

Seek times:
Full stroke:  250 iter in   4.408301 sec =   17.633 msec
Half stroke:  250 iter in   4.335265 sec =   17.341 msec
Quarter stroke:   500 iter in   6.919564 sec =   13.839 msec
Short forward:400 iter in   2.318452 sec =5.796 msec
Short backward:   400 iter in   2.268990 sec =5.672 msec
Seq outer:   2048 iter in   0.537223 sec =0.262 msec
Seq inner:   2048 iter in   0.557811 sec =0.272 msec
Transfer rates:
outside:   102400 kbytes in   1.708543 sec =59934
kbytes/sec
middle:102400 kbytes in   1.717575 sec =59619
kbytes/sec
inside:102400 kbytes in   1.615723 sec =63377
kbytes/sec

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bootonly iso for what

2006-07-23 Thread Romain Jalbert
Hello

 

I am new on FreeBSD, I just want to know what is the purpose of the bootonly
iso file.. (we may download iso cd1 and cd2 for the setup of 6.1, but what
is the use for  6.1-RELEASE-i386-bootonly.iso
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.1/6.1-RELEASE-
i386-bootonly.iso  cd ?)

 

please and thank you

 

Romain

 

 

 

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


Re: How to not run xconsole with XDM

2006-07-23 Thread Lennon Cook

Robert Huff [EMAIL PROTECTED] wrote:

For Xsetup_0 (in Xorg 6.9); it may be under /usr/X11R6 or
/etc/X11.  Or both.

That got it, thanks. :) (This'll teach me to read the handbook more closely...)

--
Lennon Victor Cook
He who receives an idea from me receives without lessening, as he who
lights his candle at mine receives light without darkening - Thomas
Jefferson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bootonly iso for what

2006-07-23 Thread Frank Steinborn
Romain Jalbert wrote:
 I am new on FreeBSD, I just want to know what is the purpose of the bootonly
 iso file.. (we may download iso cd1 and cd2 for the setup of 6.1, but what
 is the use for  6.1-RELEASE-i386-bootonly.iso
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.1/6.1-RELEASE-
 i386-bootonly.iso  cd ?)

It will boot you into the FreeBSD installer for an installation over
network.

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


Re: bootonly iso for what

2006-07-23 Thread Lorin Lund

Romain Jalbert wrote:

Hello

 


I am new on FreeBSD, I just want to know what is the purpose of the bootonly
iso file.. (we may download iso cd1 and cd2 for the setup of 6.1, but what
is the use for  6.1-RELEASE-i386-bootonly.iso
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.1/6.1-RELEASE-
i386-bootonly.iso  cd ?)

 


please and thank you

 


Romain
  
It's probably good for repair issues.  But I think you can install from 
it if you have a good Internet connection.  Years ago I did many FreeBSD 
installs with just the 2 floppies - then I would configure my modem and 
do the rest of the install on-line.

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


Re: Problem loading firmware, iwi driver

2006-07-23 Thread Erik Nørgaard
Yousef Raffah wrote:
 Did you try iwicontrol iwi0 -d /boot/firmware -m bss ?

Yes, as I understand it from the documentation this is depreciated,
anyway, I tried and I get:

photon# iwicontrol iwi0 -d /boot/firmware -m bss
iwicontrol: Can't load firmware to driver: Invalid argument
photon# iwicontrol -i iwi0 -d /boot/firmware -m bss
iwicontrol: Can't load firmware to driver: Invalid argument

Thanks, Erik
-- 
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9


smime.p7s
Description: S/MIME Cryptographic Signature


Re: linux-firefox : cups printers not found

2006-07-23 Thread Norberto Meijome
On Sun, 23 Jul 2006 13:17:15 +0400
Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 Yes, it's a good way. I've used gtklp for this. Still investigation
 is pending for this matter. You can file a PR if you like or poke
 me in some time as I tend to forget such things.

I'm using gtklp too now, and it works ok :) thanks for the hint.

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


Re: Adding another hard drive

2006-07-23 Thread Rich Demanowski

John Nielsen wrote:

Quoting Rich Demanowski [EMAIL PROTECTED]:

I'm trying to add another hard drive into my system, a 250GB Western 
Digital 7200RPM SATA drive, and when I have it plugged into the 
motherboard the system hangs when it gets to:

   Timecounter TSC frequency 1803775604 Hz quality 800
   Timecounters tick every 1.000 msec
   acd0: CDRW LITE-ON COMBO SOHC-4836K/SPJ2 at ata1-master UDMA33
   ad4: 114473MB Seagate ST3120213AS 3.AHH at ata2-master SATA150


I had a similar problem using a new SATA-II drive with my SATA150 
controller. Once I closed the jumper to force the drive down to 
SATA150 operation the problem went away. This isn't necessary on most 
drive/controller combinations (the fallback is supposed to happen 
automatically), but it was for me and sounds like it may be for you. I 
had to do a bit of searching around to confirm the jumper function 
since it's more or less undocumented for my drive (a Seagate).


Good luck,

JN
Oddly enough, the answer is even more simplistic than that ... I simply 
tried plugging it into a different open SATA connector on the 
motherboard.  If I plug it into number 2 (number 1 is connected to the 
original SATA hard drive that came with the system, a 120GB Seagate), it 
locks the system up like I described earlier.  If I plug it into number 
3 ... everything works fine.


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


RE: Temperature Monitor

2006-07-23 Thread Tamouh H.
 At 01:20 PM 23/07/2006, Tamouh H. wrote:
 
 sonata# mbmon -d
 ioctl(smb0:writebyte): Device not configured
 
 Actually, try building mbmon from source and not from the ports.
 
  ---Mike 
 

Beautiful! That did the trick.

adding to the kernel:

device  ichsmb
device  smb
device  smbus
device  intpm

and then installing mbmon from source fixed it! 

sonata# mbmon

Temp.= 36.5, 50.5,  0.0; Rot.=0, 1582,0
Vcore = 1.34, 1.51; Volt. = 3.36, 5.20, 12.59,   0.00,  0.00

Thanks again Mike, ur a champion!

Best,

Tamouh

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


Re: Temperature Monitor

2006-07-23 Thread Jonathan Horne
On Sunday 23 July 2006 18:10, Tamouh H. wrote:
 Beautiful! That did the trick.

 adding to the kernel:

 device          ichsmb
 device          smb
 device          smbus
 device          intpm

 and then installing mbmon from source fixed it!

out of curiosity and for the sake of scientific method, did you happen to do 
the kernel adds and the try the port again to check failure, or did you do 
both and then check?

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


Adaptec 2410SA Raid and Hot swapping

2006-07-23 Thread Jahilliya

Hey,

I have a couple Adaptec 2410SA Raid cards (aac driver) and I was wondering
if anyone has had any luck with being able to hotswap drives in FreeBSD 6?
If the Adaptec card is no good for hot swapping under FreeBSD, what's the
recommended brand?

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