Re: 5.5 and SMP

2006-08-28 Thread Noah



Hi,

You have to activate hyperthreading:

http://docs.freebsd.org/cgi/mid.cgi?20060730235206.7A7B743D45

  



ah ha  - thanks!

cheers,

Noah


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


Mounting Sony PSP

2006-08-28 Thread Tim Holmes
I would really like to mount my PSP in FreeBSD so I can on and off load
files on my workstation, instead of having to use another, else where.
Has anybody been able to mount it?  Or have a How-To some place I could
use?  Thus far all my searches have come up with anything but what I'm
looking for.

Any help would be greatly appreciated!  Thank you!

tdh

-- 
 +-
   \./   | Tim Holmes  --  [EMAIL PROTECTED]: [EMAIL PROTECTED]
  (0Y0)  | UIN: 17021091  -- AIM: tdh004
 -ooO--(_)--Ooo--+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting Sony PSP

2006-08-28 Thread Dominique Goncalves

Hi,

On 8/28/06, Tim Holmes [EMAIL PROTECTED] wrote:

I would really like to mount my PSP in FreeBSD so I can on and off load
files on my workstation, instead of having to use another, else where.
Has anybody been able to mount it?  Or have a How-To some place I could
use?  Thus far all my searches have come up with anything but what I'm
looking for.

Any help would be greatly appreciated!  Thank you!


First check if with the dmesg command you can see your PSP, you should
read something like this:

umass0: USB Solid state disk, rev 1.10/1.00, addr 2
GEOM: create disk da0 dp=0xc2d74850
da0 at umass-sim0 bus 0 target 0 lun 0
da0: Generic Traveling Disk 1.11 Removable Direct Access SCSI-2 device
da0: 1.000MB/s transfers
da0: 126MB (258048 512 byte sectors: 64H 32S/T 126C)

Then, you need to mount your PSP with:

mount_msdos /dev/da0s1 /mnt/PSP

There is a chapter in the handbook about USB device
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html

HTH


tdh

--
 +-
   \./   | Tim Holmes  --  [EMAIL PROTECTED]: [EMAIL PROTECTED]
  (0Y0)  | UIN: 17021091  -- AIM: tdh004
 -ooO--(_)--Ooo--+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Regards.

--
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Building ports with sorces on a local mirror?

2006-08-28 Thread Jonathan McKeown
On Saturday 26 August 2006 22:15, stan wrote:
 I'm in the process of seting up to build a fair number of machines behind a
 very restrictive firewall (and besides that the outbound link is very
 slow).

 What I have in mind is setting up a machine using mirror software to create
 a local mirror of the FreeBSD site, including the distfiles for the ports
 tree.

 Is thee a way to get the ports build system to look for distfiles on this
 local mirror?

I'm doing something similar, but I'm keeping the ports tree on one machine and 
NFS-mounting /usr/ports from there on all my other hosts. Each host other 
than the master has

WRKDIRPREFIX=/usr/local/ports

in /etc/make.conf.

Each time I build a port on any of the machines, it downloads the distfile if 
it doesn't already exist - but because /usr/ports is on the master server, 
that's where all the distfiles end up (in /usr/ports/distfiles), so I 
download each source tarball once, the first time it needs to be installed. 
This saves bandwidth as I'm not trying to mirror all the distfiles whether I 
need them or not.

You can also make packages which will be stored on the master server so you 
don't even have to compile more than once unless you need to. Word of 
warning: take steps to avoid downloading prebuilt packages if you don't have 
a locally-built package. For example, with portupgrade, edit
/usr/local/etc/pkgtools.conf and add

ENV['PKG_FETCH']='false'

which prevents ever fetching a package from the Internet: if there isn't a 
local package it will build from source in the ports tree.

Jonathan

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


Fullscreen crashes

2006-08-28 Thread Sean M.
Everytime* I use a program, usually a game, that switches into
full-screen mode, I get dumped to a tty screen and everything is hung;
I have to power cycle to fix it. Yesterday, everything worked
perfectly.

The only thing I did in the interim that influenced the system was to
install gcc42 from ports, and then immediately after deinstall it.

OS is 6.1-REL. I'm using the NVIDIA binary driver. It doesn't matter
whether I start the programs in KDE or twm.

*I didn't test every program--that would take too much time. Also
recompiling the games did nothing.

__
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: Intel 64bit / AMD 64 bit advantage

2006-08-28 Thread Martin Miedema

ke han wrote:


On Aug 28, 2006, at 4:03 AM, Wojciech Puchar wrote:

32 vs 64 bits does not give you any raw performance boost for most 
apps.  The


yes it will. FreeBSD/amd64 works at least 10% faster than 
FreeBSD/i386 on athlon64 machine, when i386 version were recompiled 
for P4. With default FreeBSD/i386 - it will be at least 30%.


just because it's not just 64-bit addresses, but twice the registers 
(r8-r15) allowing C compiler to generate more efficient code.


For now AMD64 is the fastest and cheapest architecture - at least 
with AMD processors, not intel clones. (YES now intel makes clones of 
AMD processors)


I stand corrected ;-)...This is good info, thanks.

However, to the original post, you will not see 10-30 % performance 
difference on your email or file sharing between an Intel Celeron and 
AMD Opteron.   These types of  apps are Disk and Network IO bound.  
Spend your money on redundancy/fail-over of hard drive and power 
supply.  Also choosing a well regarded NIC is important.


ke han


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





Thanks a million for this info, this saved he good bunch of money, which
I can use better some were else :)

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


Re: ports/net-p2p/ktorrent - can't compile

2006-08-28 Thread Alexey Mikhailov

Laurence Sanford wrote:
Just looking for pointers, as I've seen them here from time to time 
when a port won't build. I'm using the following command line:


portupgrade -NR ktorrent

All dependencies build successfully. The ktorrent build fails like this:

./../mse/bigint.h:26:17: gmp.h: No such file or directory
In file included from ./../mse/encryptedauthenticate.h:25,
from peermanager.cpp:34:
./../mse/bigint.h:93: error: `mpz_t' does not name a type


Try to install/reinstall/update devel/libgmp4 port.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports/net-p2p/ktorrent - can't compile

2006-08-28 Thread Alexey Mikhailov

Alexey Mikhailov wrote:

Laurence Sanford wrote:
Just looking for pointers, as I've seen them here from time to time 
when a port won't build. I'm using the following command line:


portupgrade -NR ktorrent

All dependencies build successfully. The ktorrent build fails like this:

./../mse/bigint.h:26:17: gmp.h: No such file or directory
In file included from ./../mse/encryptedauthenticate.h:25,
from peermanager.cpp:34:
./../mse/bigint.h:93: error: `mpz_t' does not name a type


Try to install/reinstall/update devel/libgmp4 port.

Sorry, it's math/libgmp4.

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


Re: BSDstats: Just added - Vendor Stats

2006-08-28 Thread Matthias Fechner
Hello Marc,

* Marc G. Fournier [EMAIL PROTECTED] [26-08-06 22:43]:
 Figuring that for the purposes of these stats, driver stats might be too 
 fine, I've just added a page breaking down hardware use by Vendor, 
 eliminating the driver ... (ie. 161 3com devices in use, etc) ... there is 
 a bug in the stats query used for this one, where I'm showing some 'blank 
 lines' for devices ... not sure if its a missing device in pci_dev.txt or 
 not, will investigate further ...

is it possible to see what the program transmit?
I can only see that it transfers anything but not what.

Best regards,
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MySQL package loop

2006-08-28 Thread Nazar

Was trying to set up a quick web server on my old box, so I was using
packages and run into a loopback. Whenever I try installing MySQL
5.1server, the package is also installing MySQL
5.1 client with it, but php5-mysql-5.1.2_1 is installing MySQL 4 client. I
cant get MySQL v5 without getting rid of php5_mysql. Is there any other ways
to go around it with packages? Maybe some pointers I appreciate it. Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MySQL package loop

2006-08-28 Thread Matthew Seaman
Nazar wrote:
 Was trying to set up a quick web server on my old box, so I was using
 packages and run into a loopback. Whenever I try installing MySQL
 5.1server, the package is also installing MySQL
 5.1 client with it, but php5-mysql-5.1.2_1 is installing MySQL 4 client. I
 cant get MySQL v5 without getting rid of php5_mysql. Is there any other
 ways
 to go around it with packages? Maybe some pointers I appreciate it. Thanks.

Add:

  WITH_MYSQL_VER= 51

to /etc/make.conf and then do a 'make clean' in databases/php5-mysql
before you try installing php5-mysql again.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: BSDstats: Just added - Vendor Stats

2006-08-28 Thread Matthew Seaman
Matthias Fechner wrote:

 * Marc G. Fournier [EMAIL PROTECTED] [26-08-06 22:43]:
 Figuring that for the purposes of these stats, driver stats might be too 
 fine, I've just added a page breaking down hardware use by Vendor, 
 eliminating the driver ... (ie. 161 3com devices in use, etc) ... there is 
 a bug in the stats query used for this one, where I'm showing some 'blank 
 lines' for devices ... not sure if its a missing device in pci_dev.txt or 
 not, will investigate further ...
 
 is it possible to see what the program transmit?
 I can only see that it transfers anything but not what.

You can run:

   sh -x /usr/local/etc/periodic/300.bsdstats

to get a trace of what happens while the script is running.  It's not
exactly the clearest, but amongst that output you can see the calls to
/usr/bin/fetch that upload the information -- this sort of thing:

+ /usr/bin/fetch -qo /dev/null 
http://bsdstats.org/scripts/report_devices.php?key=Xdev[]=agp0:30991106:06dev[]=pcib1:b0991106:060400dev[]=pcm0:03f6:040100dev[]=de0:00091011:02dev[]=sym0:00201000:01dev[]=sym1:00201000:01dev[]=isab0:30741106:060100dev[]=atapci0:05711106:01018adev[]=uhci0:30381106:0c0300dev[]=uhci1:30381106:0c0300dev[]=uhci2:30381106:0c0300dev[]=nvidia0:032210de:03

Or you can change the 'do_fetch' subroutine to just echo what it would
send:

happy-idiot-talk:~:% diff -u /usr/local/etc/periodic/monthly/300.statistics 
/tmp/300.statistics 
--- /usr/local/etc/periodic/monthly/300.statistics  Mon Aug 28 09:27:25 2006
+++ /tmp/300.statistics Mon Aug 28 09:29:53 2006
@@ -93,7 +93,7 @@
 }
 
 do_fetch () {
-/usr/bin/fetch -qo /dev/null http://$checkin_server/scripts/$1;
+echo /usr/bin/fetch -qo /dev/null http://$checkin_server/scripts/$1;
 }
 
 
Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD's minimum memory requirements.

2006-08-28 Thread Simon L. Nielsen
On 2006.08.28 00:19:40 -0500, Nikolas Britton wrote:
 I just tested the minimum memory requirements for FreeBSD 6.1-RELEASE 
 through
 2.2.9-RELEASE using VMware 5 Workstation:

I been thinking of doing these tests myself but never gotten around to
it.  I think you should file this information as a docs PR so it
doesn't get lost.  I'm not exactly sure where to put this information
(probably in the FAQ somewhere), but it's certainly useful to have
around.

Thanks for doing these tests!

(Note: I don't know when I will find time to get this into some docs,
so if anybody else is interested in this please just go forward :-) ).

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


strange files

2006-08-28 Thread dick hoogendijk
Recently I see a lot of these file in thje root directory.
Probably by a newer version of FAM

Is there an option to get tem be put elsewhere. fam.conf and man fam learn
me nothing ;-)

 the listing ===

drwxr-xr-x  22 root  wheel -1024 Aug 28 10:23 ./
drwxr-xr-x  22 root  wheel -1024 Aug 28 10:23 ../
-rw-r--r--   2 root  wheel -1033 May 27 15:18 .cshrc
srw---   1 dick  wheel -   0 Aug 24 22:47 .fam0sHITy=
srw---   1 erna  wheel -   0 Aug 24 09:57 .fam9ldOUw=
srw---   1 erna  wheel -   0 Aug 26 13:19 .famAGmZkb=
srw---   1 erna  wheel -   0 Aug 21 09:49 .famDbOdlm=
srw---   1 erna  wheel -   0 Aug 22 08:08 .famEqtTTx=
srw---   1 erna  wheel -   0 Aug 27 16:19 .famG7PtCO=
srw---   1 dick  wheel -   0 Aug 27 23:30 .famNIsuCb=
srw---   1 erna  wheel -   0 Aug 27 22:43 .famP69yeI=
srw---   1 erna  wheel -   0 Aug 20 20:50 .famPYPOV1=
srw---   1 erna  wheel -   0 Aug 27 16:31 .famXdOxzP=
srw---   1 dick  wheel -   0 Aug 27 16:24 .famY9CU4o=
srw---   1 dick  wheel -   0 Aug 28 09:53 .famcWI2NE=
srw---   1 erna  wheel -   0 Aug 28 10:23 .famdA51A1=
srw---   1 erna  wheel -   0 Aug 25 08:02 .famffdbSt=
srw---   1 dick  wheel -   0 Aug 24 09:38 .famftds6q=
srw---   1 erna  wheel -   0 Aug 23 08:49 .famjto10o=
srw---   1 dick  wheel -   0 Aug 27 22:36 .fammZZNWN=
srw---   1 erna  wheel -   0 Aug 27 10:47 .famnBvJDr=
srw---   1 erna  wheel -   0 Aug 26 08:46 .famoK2o90=
srw---   1 erna  wheel -   0 Aug 26 23:56 .famsZ2kpH=
srw---   1 dick  wheel -   0 Aug 26 12:02 .famtGFfxz=
srw---   1 erna  wheel -   0 Aug 24 17:11 .famuJk0gd=
srw---   1 erna  wheel -   0 Aug 25 13:48 .famw0pW7x=
-rw-r--r--   2 root  wheel - 251 Nov  3  2005 .profile

 /the listing =

-- 
dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


having hard time with mounting floppies

2006-08-28 Thread Tuomas
Hi, all!

I run DesktopBSD 1.0 and I cannot mount floppies. I had the same problem
with FreeBSD 5.5. Here it goes:

localhost# mount -t msdos /dev/fd0 /media/floppy
 msdosfs: /dev/fd0: Input/output error

localhost# fdformat /dev/fd0
 Format 1440K floppy `/dev/fd0'? (y/n): y
 Processing fdformat: ioctl(FD_FORM): Input/output error

This is what dmesg says:

Copyright (c) 1992-2005 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 5.5-PRERELEASE #1: Sun Feb  5 17:26:01 CET 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DESKTOPBSD
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel Pentium III (734.63-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x686  Stepping = 6
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 267264000 (254 MB)
avail memory = 251109376 (239 MB)
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: IBM CDTPWSPU on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0xf808-0xf80b on acpi0
cpu0: ACPI CPU port 0x530-0x537 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
agp0: Intel 82810E (i810E GMCH) SVGA controller mem
0xfea8-0xfeaf,0xf800-0xfbff irq 11 at device 1.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib1
rl0: RealTek 8139 10/100BaseTX port 0x7800-0x78ff mem
0xfebfff00-0xfebf irq 9 at device 1.0 on pci1
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0e:2e:85:56:e1
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH UDMA66 controller port
0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: Intel 82801AA (ICH) USB controller port 0xff00-0xff1f irq 10 at
device 31.2 on pci0
usb0: Intel 82801AA (ICH) USB controller 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
pci0: serial bus, SMBus at device 31.3 (no driver attached)
pcm0: Intel ICH (82801AA) port 0xf400-0xf43f,0xf000-0xf0ff irq 9 at
device 31.5 on pci0
pcm0: Analog Devices AD1881A AC97 Codec
acpi_button0: Power Button on acpi0
fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: ECP parallel printer port port 0x778-0x77f,0x378-0x37f irq 7 drq 3
on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
orm0: ISA Option ROM at iomem 0xc-0xc7fff on isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 734633835 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 19470MB Maxtor 32049H2/YAH814Y0 [39560/16/63] at ata0-master UDMA66
acd0: DVDROM LG DVD-ROM DRD-8120B/1.03 at ata1-master PIO4
cd0 at ata1 bus 0 target 0 lun 0
cd0: LG DVD-ROM DRD8120B 1.03 Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad0s2a

(End of dmesg.)

I can mount floppies with other OSes, Kubuntu LiveCD for instance. I
googled and found other people having similar problems. One solution that
was put forward was using a non-ACPI kernel. With FreeBSD 5.5 I recompiled
the kernel with ACPI disabled, but the problem still persisted. I don't
know what to do now.

(As a matter of fact, I might be having the same problem with cdrom!)

Could someone help me? Much oblige!

Tuomas



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


Re: got a new monitor, trying to reconfig xorg

2006-08-28 Thread newsmaster
Jonathan Horne wrote in msgid:
[EMAIL PROTECTED]


 
 well, i finally got it to render at 1680x1050, but the size of my desktop
 is fixed at about 1.5 outside the physical size of the lcd (and about
 3/8 top
 and bottom).  ive dont quite a bit of googling, and i am now trying to
 figure out if there is a way to constain or shrink the desktop down, so
 that i will be at the edges of my screen?
 

Did you try xvidtune ? It is disigned for that purpose.

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


Re: taking many 198k mp3 files and converting them to 16k mp3

2006-08-28 Thread Howard Jones
Gary Kline wrote:
   Well, if/when you *do* try, please clue me in.  --I'm too new to
   DVD's and tooo che--er, thrifty to buy a ten pack of blanks.  I'm
   not sure that I have three hours of favorites; probably, but no
   more.  Most of my favorite tunes are on tape--pre-recorded and
   hi-fidelity, but the problem is turnning analogue to digital. 

Thrift isn't really an issue nowadays - you can get 50 DVD-Rs for about
$10-15 online. Cheap enough to use a few to experiement, in my opinion.

I did some experimenting last night, and got what seems to be a working
solution. I don't have a DVD burner where I am, so I haven't *actually*
burned one, but 2 software players (Apple's and Media Player Classic)
are both happy with the VIDEO_TS files. From my brief research, the
minimum bitrate for DVD audio is 32Khz, and there isn't a minimum for
the video, only a maximum. There is also a video-CD-like frame size of
352x480 for NTSC so you can reduced the video size further.

For my test audio file (2:12 song), I got:
2.2MB Original MP3 file - 192Kbit/sec 44.1Khz sample-rate joint stereo
3.3MB MP2 file - no changes apart from 44.1-48 resampling
0.5MB MP2 file - resampled to 48Khz, forced to mono and 32Kbit/sec
output stream

the 0.5MB file doesn't actually sound *that* bad for music - it's AM
radio quality. It would be fine for speech.

A 64Kbps video file to go with it is about 2.6MB, so the final 'DVD
file' is either 6.7M ('music' quality) or 4M ('voice' quality). DVD
authoring adds around 800K, but I don't believe this is per-chapter.

Assuming that it isn't, that's around 2400 minutes on a DVD-R (voice) or
1500 minutes (music), and it should be playable on any DVD player, since
it should be a full-spec DVD still.

Here's my notes on producing a disc. This is for an NTSC disc. For PAL,
you need to change 480 to 576 wherever it appears, add 'pal' instead of
'ntsc' to the dvdauthor line, and -f 25 instead of -f 30 in the
transcode line.

I'm no video expert, so I'm sure there are better ways to do this, but
this one worked for me!

Howie

##
# Take the MP3 file, play it into toolame as 48Khz PCM data
# toolame reencodes as MP2 (for DVD) at 32khz (the minimum?) in mono
madplay -R48000 -b16 -o wave:- mytestfile.mp3 | toolame -s 48 -b 32 -a
-m m - mytestfile.mp2
# (take out the -b 32 and -a -m m if you want music quality)

# next, we'll produce a VERY low bitrate MPEG2 movie of the same length as
# the audio  since we have to do *some* encoding here, we might as well make
# the static image be the title of the audio track.

# this is ALL ONE pipeline
ppmmake blue 352 480 | \
ppmlabel -x 50 -y 100 -text This is the track name | \
ppmtoy4m -S 420mpeg2 -r -v2 | \
transcode -x yuv4mpeg,mp3 -y mpeg2enc,null -o mytestfile -p
mytestfile.mp3 \
-Z 352x480 -F 8,-b 64 -i /dev/stdin -g 352x480 --import_asr 2 -f
30 -m /dev/null

# So that's: make a blank blue image of the correct size for NTSC video
at the smallest size
# add a caption over it
# take that PPM file use it to stream frames into the video transcoder.
#  (We only have one frame, so just repeat it)
# transcode takes that frame and encodes it as DVD-compatible 64kbps MPEG-2
# (normally for a DVD movie it would be more like 5000kpbs)
# we import an audio stream even though we aren't using it, so as to get
the
# right length. Otherwise we get a never-ending video stream :-)

# So now, there's a .m2v video stream, and a .mp2 audio stream, and we
need to
# multiplex them.
mplex -f 8  -o mytestfile.mpg  mytestfile.m2v mytestfile.mp2

# *** repeat the above for each of your audio files. ***

# finally, we can make a simple DVD
dvdauthor -v ntsc+4:3+352x480 -a mp2+en+1ch+16bps -t -o testdvd
mytestfile.mpg
dvdauthor -T -o testdvd

# if you used 'music' quality encoding in toolame, then use 2ch instead
of 1ch here

# You should find a DVD structure (VIDEO_TS, AUDIO_TS) waiting in the
'testdvd' directory.
# you can specify multiple .mpg files on the command line, and each one
will
#become a chapter on the DVD

# FINALLY, to get a burnable ISO image:
mkisofs -dvd-video -o testdvd.iso testdvd
# and burn it to /dev/acd0:
growisofs -dvd-compat -Z /dev/acd0=testdvd.iso

# Ports used:
#  sysutils/dvd+rw-tools  (growisofs)
#  sysutils/cdrtools (mkisofs - installed as a dependency of dvd+rw-tools)
#  mjpegtools  (mplex, y4m stuff)
#  netpbm(ppmfile, ppmlabel)
#  toolame   (MPEG Layer II encoding)
#  madplay   (MP3 decoding)
#  dvdauthor (final authoring)
#  transcode (install this last, so it gets the mpeg2encode from mjpegtools)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD's minimum memory requirements.

2006-08-28 Thread Robert Huff
Simon L. Nielsen writes:

   I just tested the minimum memory requirements for FreeBSD 6.1-RELEASE 
   through
   2.2.9-RELEASE using VMware 5 Workstation:
  
  I been thinking of doing these tests myself but never gotten around to
  it.  I think you should file this information as a docs PR so it
  doesn't get lost.

Seconded.



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


Re: got a new monitor, trying to reconfig xorg

2006-08-28 Thread Jonathan Horne
On Monday 28 August 2006 07:44, newsmaster wrote:
 Jonathan Horne wrote in msgid:
 [EMAIL PROTECTED]

  well, i finally got it to render at 1680x1050, but the size of my desktop
  is fixed at about 1.5 outside the physical size of the lcd (and about
  3/8 top
  and bottom).  ive dont quite a bit of googling, and i am now trying to
  figure out if there is a way to constain or shrink the desktop down, so
  that i will be at the edges of my screen?

 Did you try xvidtune ? It is disigned for that purpose.


i did, but i couldnt outwardly figure out what i was looking at.  when i go 
tot he xvidtune page tho, it says its for XFree86... will it till work 
properly for xorg?

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


Re: got a new monitor, trying to reconfig xorg

2006-08-28 Thread newsmaster
Jonathan Horne wrote in msgid:
[EMAIL PROTECTED]

 On Monday 28 August 2006 07:44, newsmaster wrote:
 Jonathan Horne wrote in msgid:
 [EMAIL PROTECTED]

  well, i finally got it to render at 1680x1050, but the size of my
  desktop is fixed at about 1.5 outside the physical size of the lcd
  (and about 3/8 top
  and bottom).  ive dont quite a bit of googling, and i am now trying to
  figure out if there is a way to constain or shrink the desktop down, so
  that i will be at the edges of my screen?

 Did you try xvidtune ? It is disigned for that purpose.

 
 i did, but i couldnt outwardly figure out what i was looking at.  when i
 go tot he xvidtune page tho, it says its for XFree86... will it till work
 properly for xorg?
 
Yes, for me its works very well with Xorg.
I bought me a new IIyama lcd screen and I had to add manually
some new mode-lines. You can extrapolate from the existing ones.
Then xvidtune makes the finishing touch. Press on show and replace
the mode-line with the output of xvidtune.

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


FreeBSD 6-STABLE as guest in VMWare Player on Winxp host

2006-08-28 Thread Niek Bouman
I'm running FreeBSD 6-STABLE as guest in the free VMWare Player on a 
WinXP host.

How can I switch between virtual terminals? Ctrl-Alt-F[n] doesn't work...

By the way, is this the right mailing list to place this question?


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


Re: FreeBSD 6-STABLE as guest in VMWare Player on Winxp host

2006-08-28 Thread Bill Moran
In response to Niek Bouman [EMAIL PROTECTED]:

 I'm running FreeBSD 6-STABLE as guest in the free VMWare Player on a 
 WinXP host.
 How can I switch between virtual terminals? Ctrl-Alt-F[n] doesn't work...
 
 By the way, is this the right mailing list to place this question?

This is more of a VMWare question than a FreeBSD question.

But I suspect you'll have to reconfigure VMWare not to intercept CTRL+ALT.
I seem to remember a configuration option for this somewhere.

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


Re: Booting gvinum fails: missing /dev/gvinum/* device entries

2006-08-28 Thread Aaron Gifford

On 8/26/06, Aaron Gifford [EMAIL PROTECTED] wrote (or in other words, I
wrote):


No matter what I tried, booting always failed at the point of mounting the
root filesystem.  I would be kicked to a mountroot prompt.  Any attempts
at mounting root from ufs:/dev/gvinum/root failed.  Even if I loaded
geom_vinum.ko by hand during boot to be absolutely sure gvinum was loaded,
this failed.  At mountroot, the gvinum devices did not show up at all.

So I fell back and mounted /dev/ad0a (my old non-gvinum drive) as root.
That worked.  kldstat showed that indeed geom_vinum.ko WAS successfully
loaded.  But when I looked in /dev nothing for gvinum showed up there.  It
was empty.

The gvinum list command showed all my gvinum volumes working, but there
were NO entries in /dev.

No wonder I was unable to mount /dev/gvinum/root -- There was no device
entry.

So what's the deal?   Any suggestions?   Is there something I need to
compile in my kernel?



I managed to fix my own problem.

Before I posted, I did some searching and found previous posts of people who
were missing /dev/gvinum device entries.  They mentioned that it was corrupt
GEOM vinum metadata.

I did not believe that this applied to my situation, as while booted of my
older working i386 kernel running on a non-GEOM-vinum drive, the GEOM vinum
volumes appeared and worked normally.  Therefore, I concluded, the metadata
must be in working order.

However, no matter how I tried to boot off the amd64 kernel on the gvinum
root volume, it failed.  Closer examination made it look like perhaps under
the amd64 kernel and geom_vinum.ko module, perhaps the metadata stored in
the first 265 sectors (512-byte sectors) of the vinum partitions was being
interpreted differently than it was by the i386 kernel and geom_vinum.ko
module.

This leads me to believe that the problem was one of the following:

1) Due to my changing the BIOS boot order of my drives (so as to boot from
the gvinum drive running amd64 instead of the non-vinum i386 kernel drive),
perhaps GEOM vinum got confused about the configuration since the BIOS
device boot order was different; or

2) because of differences between the i386 and amd64 architectures, GEOM
vinum volumes created under one architecture do not correctly appear under
another architecture.

If #1, then I need to remember this and be careful about changing BIOS boot
order while running GEOM vinu.

If #2, then I believe this is a bug in GEOM vinum.  Volume metadata should
be cross-architecture independent.

So, FreeBSD gurus wiser in the innards of GEOM vinum than this user (pretty
much everyone who knows how GEOM vinum actually works), which is the cause
of my woes?  Is it #1?  Or is it #2?  Or am I missing a third possibility
entirely?

Thanks for any future enlightenment!

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


Re: got a new monitor, trying to reconfig xorg

2006-08-28 Thread Jonathan Horne
On Monday 28 August 2006 08:40, newsmaster wrote:
 Jonathan Horne wrote in msgid:
 [EMAIL PROTECTED]

  On Monday 28 August 2006 07:44, newsmaster wrote:
  Jonathan Horne wrote in msgid:
  [EMAIL PROTECTED]
 
   well, i finally got it to render at 1680x1050, but the size of my
   desktop is fixed at about 1.5 outside the physical size of the lcd
   (and about 3/8 top
   and bottom).  ive dont quite a bit of googling, and i am now trying to
   figure out if there is a way to constain or shrink the desktop down,
   so that i will be at the edges of my screen?
 
  Did you try xvidtune ? It is disigned for that purpose.
 
  i did, but i couldnt outwardly figure out what i was looking at.  when i
  go tot he xvidtune page tho, it says its for XFree86... will it till work
  properly for xorg?

 Yes, for me its works very well with Xorg.
 I bought me a new IIyama lcd screen and I had to add manually
 some new mode-lines. You can extrapolate from the existing ones.
 Then xvidtune makes the finishing touch. Press on show and replace
 the mode-line with the output of xvidtune.


when you click the narrower and shorters (etc) buttons, shouldnt the display 
be obeying these buttons?  if so, im at a loss, as when i click them back and 
forth, nothing happens.

ill try again,

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


Re: mail to root

2006-08-28 Thread Lowell Gilbert
jekillen [EMAIL PROTECTED] writes:

 Unfortunately, there is not to my knowledge a comprehensive
 text that will offer an analysis of every possible mail message to
 root and what it means.

Well, no, any more than there is a comprehensive text that will list
every single noise your car might make and what it means.

 rc.conf to set the aliases and rebooted the machine. The new aliases
 didn't
 show up with ifconfig so I added them with ifconfig ( I must have made
 a mistake
 in the rc.conf lines).

Right.  Sounds like you put inappropriate lines in rc.conf, which is
only supposed to contain variable settings, not actual commands.

Since you didn't show the lines you'd added, we can't suggest the
right way to do it, but look at the if settings in rc.conf(5) and the
Handbook description of configuring networking.

Good luck.
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fw: lothlorien.nagual.nl security run output

2006-08-28 Thread David Robillard

I'm a little worried after reading the security output this morning.
It seems some files [ping, ping6, shutdown, at, atq and atrm] have
setuid diffs. I really don't know why this could have happened.
I updated some ports yesterday, but I don't think any port writes
in /sbin (?)

Could someboddy advice me on what can have happened?


What ports have you updated? You can check if any of them has
installed new files in /sbin by running `pkg_info -L
your_updated_port-version`. See the -L option of pkg_info(1) in the
man page 
http://www.freebsd.org/cgi/man.cgi?query=pkg_infoapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html

You can also consider installing a Host Based Integrity Monitoring
software. I use Osiris which is quite simple to setup and administer.
It's already in the ports as security/osiris which you can get there:
http://www.freebsd.org/cgi/url.cgi?ports/security/osiris/pkg-descr.

Of course, don't install osiris on a machine which you're not sure if
it has been tampered with, it would defeat the purpose... You can also
take a look at other integrity checking software such as Samhain,
Tripwire or aide.

Regards,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hostile vs. Friendly instances of Sendmail

2006-08-28 Thread David Robillard

On Aug 25, 2006, at 12:57 PM, Brett Glass wrote:

A company for whom I do consulting has a FreeBSD mail server.
Because they're being deluged with connections from spammers (who
have responded to the increasing use of graylisting by ordering
their armies of bots to try again and again even when spam is
rejected), they've subscribed to some DNS blacklists and set
Sendmail to limit the number of processes it can spawn at any one
time. This reduces the load on the system due to spamming, but also
prevents internal users from getting the mail server's attention
when they want to send legitimate outgoing mail.



What's the best way to set things up so that more trusted, internal
users can access their own instance of Sendmail (with less
restrictive process limits, no blacklist checks, etc.) while the
outside world sees an instance of Sendmail with blacklisting,
process limits, connection limits, load limits, etc.? Will there be
problems with file locking, queues, etc. if a third instance of
Sendmail is started on a standard FreeBSD install (which normally
runs two)?


I totally agree with what Chuck Swiger has suggested here:


You could also configure an external and an internal mailservers,
have the internal mailserver be entirely firewalled from outside so
that internal users and internal email are handled there without
issues, and just worry about tuning the external mailserver which
will then only need to do SMTP relaying and anti-spam stuff for the
external mail traffic rather than serve dual-duty as a reader box.


To help you with sendmail architecture, take a look at page 547 of the
UNIX system administration handbook, 3rd edition by Nemeth, Snyder,
Seebass and Hein. Don't be fooled by the funny images on this book,
it's very clear and quite possibly the best UNIX administration book
around with real world examples. You can find it at
http://www.admin.com/Pages/USAH.html.

Aside from the huge bat book, O'Reilly also publishes sendmail
Cookbook which is great when it comes to configure sendmail. Check it
out at http://www.oreilly.com/catalog/sendmailckbk/.

Have fun,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6-STABLE as guest in VMWare Player on Winxp host

2006-08-28 Thread Micah

Niek Bouman wrote:
I'm running FreeBSD 6-STABLE as guest in the free VMWare Player on a 
WinXP host.

How can I switch between virtual terminals? Ctrl-Alt-F[n] doesn't work...

By the way, is this the right mailing list to place this question?


Thank you,
Niek Bouman


As long as you're not in an X11 session, plain old Alt+Fn works to 
switch terminals. If you are in X11, I think there's a way to change the 
key combination to something else. Check with Google.


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


Dhclient crashes my laptop

2006-08-28 Thread Stremcha, Matthew

If I run dhclient wi0 the lights on the card go out, dhclient reports
failure, and usually locks and reboots the machine.  

I am not sure what information you need, but here is what I have and
what I have learned so far.  I will gladly collect and post any info
that may help.  

PCMCIA NIC card is a 3com airconnect, came with the access point.
Laptop is an IBM ThinkPad 380xd (machine was free, rescued from trash at
work to be a FreeBSD project)
It is always plugged in when in use because the battery has about 5-10
minutes of life.
Installed FreeBSD 6.1.
dmesg shows that the wireless card is found and looks like it configures
ok.
If I enter IP  gateway manually it works.
Tried using the other card slot, same problem.
Tried to start pccardd per the web site, command not found.

I found a post that says to run OLDCARD on this machine, but that's not
in 6.1 and the card is fine until dhclient tries to help.  It's a
project and has no significant documents (I think), so wiping it and
going to a version with OLDCARD can be done if necessary.

After I get this working I may tackle APM so the thing will shut off
when I tell it to.

Thanks,

Matthew Stremcha
Technical Applications Analyst
Sisu Medical Solutions
218.529.7972

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


Re: BSDstats: Error message

2006-08-28 Thread Garrett Cooper

Marc G. Fournier wrote:

On Sun, 27 Aug 2006, Garrett Cooper wrote:

Just wondering if this is a usual response to my accidentally 
hammering the bsdstats server:


bash-2.05b# /usr/local/etc/periodic/monthly/300.statistics 
[1] 5437
bash-2.05b# Posting monthly OS statistics to bsdstats.org
Posting monthly device/CPU statistics disabled
  set monthly_statistics_report_devices=YES in /etc/periodic.conf
bash-2.05b# cat /etc/periodic.conf
monthly_statistics_enable=YES

Got a 'new' machine (Pentium Pro 166 MHz, turning lightweight 
router/MTA :-).) and wanted to post it to the site.


The above looks okay ... you reported your OS, as you listed in 
periodic.conf, but unless you add 
'monthly_statistics_report_devices=YES' to /etc/periodic.conf, it 
won't report CPUs or devices ... if you add that line and re-run teh 
script, it won't report a second server, but will update to show the 
CPUs/Devices ...



   I know. I figured that out after I read the message. Silly me .
   I love being #3 in the pentium pro class and #10 in the 1.2GHz 
Celeron category :D.

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


atm in freebsd 6.1

2006-08-28 Thread Thiago Esteves de Oliveira

Hi,

Can I enable atm in FreeBSD 6.1 ???


--


Thiago Esteves de Oliveira  


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


Re: got a new monitor, trying to reconfig xorg

2006-08-28 Thread Jonathan Horne
On Monday 28 August 2006 10:05, Jonathan Horne wrote:
 On Monday 28 August 2006 08:40, newsmaster wrote:
  Jonathan Horne wrote in msgid:
  [EMAIL PROTECTED]
 
   On Monday 28 August 2006 07:44, newsmaster wrote:
   Jonathan Horne wrote in msgid:
   [EMAIL PROTECTED]
  
well, i finally got it to render at 1680x1050, but the size of my
desktop is fixed at about 1.5 outside the physical size of the lcd
(and about 3/8 top
and bottom).  ive dont quite a bit of googling, and i am now trying
to figure out if there is a way to constain or shrink the desktop
down, so that i will be at the edges of my screen?
  
   Did you try xvidtune ? It is disigned for that purpose.
  
   i did, but i couldnt outwardly figure out what i was looking at.  when
   i go tot he xvidtune page tho, it says its for XFree86... will it till
   work properly for xorg?
 
  Yes, for me its works very well with Xorg.
  I bought me a new IIyama lcd screen and I had to add manually
  some new mode-lines. You can extrapolate from the existing ones.
  Then xvidtune makes the finishing touch. Press on show and replace
  the mode-line with the output of xvidtune.

 when you click the narrower and shorters (etc) buttons, shouldnt the
 display be obeying these buttons?  if so, im at a loss, as when i click
 them back and forth, nothing happens.

 ill try again,


problem solved.  got an nvidia 7300GS.  as little changing the driver and 
vendor name, and the next startx i was at the proper resolution and refresh 
rate.

sorry intel!

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: got a new monitor, trying to reconfig xorg

2006-08-28 Thread Kees Plonsz (newsmaster)
Jonathan Horne wrote in msgid:
[EMAIL PROTECTED]


 when you click the narrower and shorters (etc) buttons, shouldnt the
 display
 be obeying these buttons?  if so, im at a loss, as when i click them back
 and forth, nothing happens.
 
 ill try again,
 
You should press apply after any change. Or set it to auto, it will
apply automatically. There is a manual page, you know ?

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


VTOBUS FAILED

2006-08-28 Thread stan
I'm trying to troubleshoot a problem on a Sun Ultra40 with 6.1 STABLE
AMD64 on it, that looks like a hardware problem (Signal 10 aborts while
compiling a kernel for instance). I have taken the root SATA disk out of
this machine, and put it in another similar (but not identical U40). I
thought that I would be able to confirm that it is a hardware problem on
the first machine by booting off this disk, and repeating the things that
failed on the suspect machine.

However, with the disk in the 2nd machine, I get the boot menu, and during
the kernel's hardware detection phase, it panics with a VTOBUS FAIL
message.

What's a VTOBUS, and why would this disk not be bootable in the 2nd
machine? he 2nd machine has 2 dual core CPU's vs 2 single core in the
problematic ones, and it also has a SCSI card in it. The kernel on the disk
is most likely a custom one. Is thee a way to try booting from the GENERIC
kernel on the disk?

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD 6-STABLE as guest in VMWare Player on Winxp host

2006-08-28 Thread Bouman, N.J. \(Niek, Student EE,EL\)
 I'm running FreeBSD 6-STABLE as guest in the free VMWare Player on a 
 WinXP host.
 How can I switch between virtual terminals? Ctrl-Alt-F[n] doesn't work...
 
 By the way, is this the right mailing list to place this question?

I have found it somewhere with google.
One has to press Ctrl-Alt-Space and subsequently (while still holding Ctrl and 
Alt) the desired F-key.

Thanks for the reactions,
Niek

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


Re: got a new monitor, trying to reconfig xorg

2006-08-28 Thread Kees Plonsz (newsmaster)
Jonathan Horne wrote in msgid:
[EMAIL PROTECTED]

 On Monday 28 August 2006 10:05, Jonathan Horne wrote:
 On Monday 28 August 2006 08:40, newsmaster wrote:
  Jonathan Horne wrote in msgid:
  [EMAIL PROTECTED]
 
   On Monday 28 August 2006 07:44, newsmaster wrote:
   Jonathan Horne wrote in msgid:
   [EMAIL PROTECTED]
  
well, i finally got it to render at 1680x1050, but the size of my
desktop is fixed at about 1.5 outside the physical size of the
lcd (and about 3/8 top
and bottom).  ive dont quite a bit of googling, and i am now
trying to figure out if there is a way to constain or shrink the
desktop down, so that i will be at the edges of my screen?
  
   Did you try xvidtune ? It is disigned for that purpose.
  
   i did, but i couldnt outwardly figure out what i was looking at. 
   when i go tot he xvidtune page tho, it says its for XFree86... will
   it till work properly for xorg?
 
  Yes, for me its works very well with Xorg.
  I bought me a new IIyama lcd screen and I had to add manually
  some new mode-lines. You can extrapolate from the existing ones.
  Then xvidtune makes the finishing touch. Press on show and replace
  the mode-line with the output of xvidtune.

 when you click the narrower and shorters (etc) buttons, shouldnt the
 display be obeying these buttons?  if so, im at a loss, as when i click
 them back and forth, nothing happens.

 ill try again,

 
 problem solved.  got an nvidia 7300GS.  as little changing the driver and
 vendor name, and the next startx i was at the proper resolution and
 refresh rate.
 
You know that Nvidia has a driver for FreeBSD if you want those
special things your card can do, like twin display, 
brialliance adjust, tv-out etc...

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


ng_fec headaches

2006-08-28 Thread Michael W. Lucas

Hi,

I'm using a recent -current on amd64, and trying to use ng_fec to
hopefully provide a wide-bandwidth connection with cable-level
redundancy, and instead I get get errors and sporadic connectivity.

I configured fec0 as such:

#!/bin/sh

ngctl mkpeer fec dummy fec
ngctl msg fec0: add_iface 'em3'
ngctl msg fec0: add_iface 'em7'
ngctl msg fec0: set_mode_inet
ifconfig fec0 up
ifconfig fec0 inet 10.184.1.19 netmask 255.255.0.0

The Cisco 6509 I was attached to had ports configured with:

 switchport trunk encapsulation dot1q
 switchport mode trunk

When I tried to ping various hosts, however, I got sporadic and
intermittent connectivity to other hosts on the network.

Dmesg follows after log entries.

Any suggestions?

Thanks,
==ml

Aug 25 11:43:13 aubsr019 kernel: WARNING: attempt to net_add_domain(netgraph) 
after domainfinalize()
Aug 25 11:48:40 aubsr019 kernel: em3: link state changed to DOWN
Aug 25 11:48:42 aubsr019 kernel: em3: link state changed to UP
Aug 25 11:49:48 aubsr019 kernel: em3: link state changed to DOWN
Aug 25 11:49:48 aubsr019 kernel: em7: link state changed to DOWN
Aug 25 11:49:49 aubsr019 kernel: fec0: port em3 in bundle is down
Aug 25 11:49:49 aubsr019 kernel: fec0: port em7 in bundle is down
Aug 25 11:49:50 aubsr019 kernel: em7: link state changed to UP
Aug 25 11:49:50 aubsr019 kernel: em3: link state changed to UP
Aug 25 11:49:50 aubsr019 kernel: fec0: port em3 in bundle is up
Aug 25 11:49:50 aubsr019 kernel: fec0: port em7 in bundle is up
Aug 25 11:50:40 aubsr019 kernel: em3: link state changed to DOWN
Aug 25 11:50:40 aubsr019 kernel: em7: link state changed to DOWN
Aug 25 11:50:41 aubsr019 kernel: fec0: port em3 in bundle is down
Aug 25 11:50:41 aubsr019 kernel: fec0: port em7 in bundle is down
Aug 25 11:50:42 aubsr019 kernel: em7: link state changed to UP
Aug 25 11:50:42 aubsr019 kernel: em3: link state changed to UP
Aug 25 11:50:42 aubsr019 kernel: fec0: port em3 in bundle is up
Aug 25 11:50:42 aubsr019 kernel: fec0: port em7 in bundle is up
Aug 25 11:51:12 aubsr019 kernel: arp: 10.184.0.9 is on em3 but got reply from 
00:11:bb:c2:34:40 on fec0
Aug 25 11:51:15 aubsr019 last message repeated 3 times
Aug 25 11:51:15 aubsr019 kernel: arp: 10.184.1.11 is on em3 but got reply from 
00:04:23:c2:91:38 on fec0
Aug 25 11:51:15 aubsr019 kernel: arp: 10.184.1.11 is on em3 but got reply from 
00:04:23:c2:91:38 on fec0
Aug 25 11:51:16 aubsr019 kernel: arp: 10.184.0.9 is on em3 but got reply from 
00:11:bb:c2:34:40 on fec0
Aug 25 11:51:19 aubsr019 last message repeated 3 times
Aug 25 11:51:30 aubsr019 kernel: arp: 10.184.1.8 is on em3 but got reply from 
00:50:04:1c:be:06 on fec0
Aug 25 11:51:54 aubsr019 last message repeated 12 times
Aug 25 11:52:20 aubsr019 last message repeated 2 times
Aug 25 11:52:22 aubsr019 kernel: arp: 10.184.202.99 is on em3 but got reply 
from 00:90:f5:48:aa:65 on fec0
Aug 25 11:52:25 aubsr019 last message repeated 5 times
Aug 25 11:52:29 aubsr019 kernel: arp: 10.184.1.6 is on em3 but got reply from 
aa:00:04:00:10:08 on fec0
Aug 25 11:52:34 aubsr019 last message repeated 5 times

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 7.0-CURRENT #1: Wed Aug 23 12:14:08 EDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LOGHOST
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz K8-class CPU)
  Origin = GenuineIntel  Id = 0xf43  Stepping = 3
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,XTPR
  AMD Features=0x20100800SYSCALL,NX,LM
  Logical CPUs per core: 2
usable memory  = 2139070464 (2039 MB)
avail memory = 2064818176 (1969 MB)
ACPI APIC Table: DELL   PE BKC  
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic1: Changing APIC ID to 3
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 4
ioapic2: WARNING: intbase 64 != expected base 56
ioapic3: Changing APIC ID to 5
ioapic3: WARNING: intbase 96 != expected base 88
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 32-55 on motherboard
ioapic2 Version 2.0 irqs 64-87 on motherboard
ioapic3 Version 2.0 irqs 96-119 on motherboard
kbd1 at kbdmux0
acpi0: DELL PE BKC on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 0.0 on pci1
pci2: ACPI PCI 

FreeBSD 5.4: 'cp -p' does not behave as documented

2006-08-28 Thread Gabriel O'Brien

Hi folks,

FreeBSD 5.4-RELEASE-p6 i386

We have a script in our environment that is used to back up our mail 
logs.  In essence it does:


cp -p /var/log/maillog.0.bz2 /stats/maillogs/maillog-testcopy.bz2

According to the cp man page:

snip

-p  Cause cp to preserve the following attributes of each source file
in the copy: modification time, access time, file flags, file mode,
user ID, and group ID, as allowed by permissions.

If the user ID and group ID cannot be preserved, no error message
is displayed and the exit value is not altered.

snip

However, when I run this script or when I do a cp -p manually I am seeing:

cp: chown: /stats/maillogs/maillog-copy-test.bz2: Permission denied

For the record the user does not actually have permissions to do the 
chown, however we would still like to use 'cp -p' in order to preserve 
the remainder of the attributes and according to the docs this should be 
possible.  Does anybody have any insight?


I note this issue does not appear to exist on our FreeBSD 6.1 boxes.

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


Re: Problems booting HP Proliant DL-320 G4 6.1-RELEASE

2006-08-28 Thread BHarris
Ok,  it does appear to the be BGE driver, as you suggested.   Reinstalled,
after resetting the bios, and as long as I don't configure the network 
interface,
it boots and seems happy.

I need a little help, I setup a sup file, and downloaded the sys hiearchy, 
but I'm
not sure which files to copy over to the stock 6.1-RELEASE?In the 
sys/dev/bge
directory there where two files that looked promising, if_bge.c and 
ifbgereg.h
and I copied them over and tried to build a kernel, and it complained 
about VLAN
needing 4 arguements, and only getting 3.

I can copy whatever I need to a flash drive and read it on the DL320, so 
getting 
the files there is no problem.  I've tried pulling the 6.1-CURRENT 
hiearchy down,
and it won't build at all.

Can you point me to the updated driver files?

Bill





Ted Mittelstaedt [EMAIL PROTECTED] 
08/26/06 04:21 AM

To
freebsd-questions@freebsd.org, [EMAIL PROTECTED]
cc

Subject
Re: Problems booting HP Proliant DL-320 G4  6.1-RELEASE






I have one of these running mail right now.  Here's what I found:

1) The onboard ethernet chip driver in 6.1-release is buggy and
will panic the system.  Install and don't enable ethernet.  Download
the current bge driver from CVS, copy to a floppy, copy from
floppy to server, recompile kernel.

2) Turn off the onboard SATA raid in BIOS, it uses adaptec
microcode that isn't supported.  If you want mirrored raid, there's a
procedure that you can do to get it.

3) for some weird reason the system will hang during boot for up
to TWO MINUTES.  After it gets done doing whatever it's doing,
it will continue booting.

Install normally, don't do anything special.  BIOS settings should
be normal.

Ted

- Original Message - 
From: [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Friday, August 25, 2006 6:14 PM
Subject: Problems booting HP Proliant DL-320 G4  6.1-RELEASE


 Having problems booting my new 320 G4 after successfully
 installing from CD.   The CD install went fine, the first boot was
 normal, but the second and all subsequent boots hang right
 after the  WARNING setting entropy source to blocking mode.

 Keyboard is dead and the machine appears locked up.  Right
 now it's on the screen wanting to enter the seed for SSHD, but
 it hangs on even when you don't enable SSHD during install.

 any suggestions?

 I've tried to disable ILo by turning off the Legacy USB support.
 FYI,  VGA console and regular PS2 keyboard hooked up.

 Any help would be most appreciated.  Just bought 4 of these
 guys for a project.

 Bill
 ___
 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: FreeBSD 5.4: 'cp -p' does not behave as documented

2006-08-28 Thread Derek Ragona
You need to run this as root so the permissions and ownership all can be 
set.


-Derek


On Mon, 28 Aug 2006, Gabriel O'Brien wrote:


Hi folks,

FreeBSD 5.4-RELEASE-p6 i386

We have a script in our environment that is used to back up our mail logs. 
In essence it does:


cp -p /var/log/maillog.0.bz2 /stats/maillogs/maillog-testcopy.bz2

According to the cp man page:

snip

-p  Cause cp to preserve the following attributes of each source file
   in the copy: modification time, access time, file flags, file mode,
   user ID, and group ID, as allowed by permissions.

   If the user ID and group ID cannot be preserved, no error message
   is displayed and the exit value is not altered.

snip

However, when I run this script or when I do a cp -p manually I am seeing:

cp: chown: /stats/maillogs/maillog-copy-test.bz2: Permission denied

For the record the user does not actually have permissions to do the chown, 
however we would still like to use 'cp -p' in order to preserve the remainder 
of the attributes and according to the docs this should be possible.  Does 
anybody have any insight?


I note this issue does not appear to exist on our FreeBSD 6.1 boxes.

cheers,
Gabriel O'Brien
___
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: taking many 198k mp3 files and converting them to 16k mp3

2006-08-28 Thread Gary Kline
On Mon, Aug 28, 2006 at 01:56:31PM +0100, Howard Jones wrote:
 Gary Kline wrote:
  Well, if/when you *do* try, please clue me in.  --I'm too new to
  DVD's and tooo che--er, thrifty to buy a ten pack of blanks.  I'm
  not sure that I have three hours of favorites; probably, but no
  more.  Most of my favorite tunes are on tape--pre-recorded and
  hi-fidelity, but the problem is turnning analogue to digital. 
 
 Thrift isn't really an issue nowadays - you can get 50 DVD-Rs for about
 $10-15 online. Cheap enough to use a few to experiement, in my opinion.

Wow! that really *is* a deal.  About where the floppies were
years back.   I was guessing $2.50+ per blank.

 
 I did some experimenting last night, and got what seems to be a working
 solution. I don't have a DVD burner where I am, so I haven't *actually*
 burned one, but 2 software players (Apple's and Media Player Classic)
 are both happy with the VIDEO_TS files. From my brief research, the
 minimum bitrate for DVD audio is 32Khz, and there isn't a minimum for
 the video, only a maximum. There is also a video-CD-like frame size of
 352x480 for NTSC so you can reduced the video size further.
 
 For my test audio file (2:12 song), I got:
 2.2MB Original MP3 file - 192Kbit/sec 44.1Khz sample-rate joint stereo
 3.3MB MP2 file - no changes apart from 44.1-48 resampling
 0.5MB MP2 file - resampled to 48Khz, forced to mono and 32Kbit/sec
 output stream
 
 the 0.5MB file doesn't actually sound *that* bad for music - it's AM
 radio quality. It would be fine for speech.
 
 A 64Kbps video file to go with it is about 2.6MB, so the final 'DVD
 file' is either 6.7M ('music' quality) or 4M ('voice' quality). DVD
 authoring adds around 800K, but I don't believe this is per-chapter.
 
 Assuming that it isn't, that's around 2400 minutes on a DVD-R (voice) or
 1500 minutes (music), and it should be playable on any DVD player, since
 it should be a full-spec DVD still.


Video is a just-say-no in my case; I've got around 26 hours of
very high quality (192K) mp3 files (voice) that ought to be just
fine at 32K/48KHz monaural.   This for the stuff that's taking up
hundreds of megs on-disk.

As for collecting my favorite, I don't have anywhere near 25
hours (1500 minutes) of them, so maybe I'll  wait until mp4
or AACplus  [[[ these are the same, right? ]]] is more widely
available, then stuff my few hours onto a regular CD-R.  

 
 Here's my notes on producing a disc. This is for an NTSC disc. For PAL,
 you need to change 480 to 576 wherever it appears, add 'pal' instead of
 'ntsc' to the dvdauthor line, and -f 25 instead of -f 30 in the
 transcode line.
 
 I'm no video expert, so I'm sure there are better ways to do this, but
 this one worked for me!


Well sir, you are lightyears beyond me!!  During my hackery years
I worked mostly in the supercomputer realm.   Sound? video? on
a *computer*???   Faugh!  

I'm finally learning what I was missing :-)

thanks much for your help.  same for everybody else who
offered help, clues, and code!

gary

 
 Howie
 
 ##
 # Take the MP3 file, play it into toolame as 48Khz PCM data
 # toolame reencodes as MP2 (for DVD) at 32khz (the minimum?) in mono
 madplay -R48000 -b16 -o wave:- mytestfile.mp3 | toolame -s 48 -b 32 -a
 -m m - mytestfile.mp2
 # (take out the -b 32 and -a -m m if you want music quality)
 
 # next, we'll produce a VERY low bitrate MPEG2 movie of the same length as
 # the audio  since we have to do *some* encoding here, we might as well make
 # the static image be the title of the audio track.
 
 # this is ALL ONE pipeline
 ppmmake blue 352 480 | \
 ppmlabel -x 50 -y 100 -text This is the track name | \
 ppmtoy4m -S 420mpeg2 -r -v2 | \
 transcode -x yuv4mpeg,mp3 -y mpeg2enc,null -o mytestfile -p
 mytestfile.mp3 \
 -Z 352x480 -F 8,-b 64 -i /dev/stdin -g 352x480 --import_asr 2 -f
 30 -m /dev/null
 
 # So that's: make a blank blue image of the correct size for NTSC video
 at the smallest size
 # add a caption over it
 # take that PPM file use it to stream frames into the video transcoder.
 #  (We only have one frame, so just repeat it)
 # transcode takes that frame and encodes it as DVD-compatible 64kbps MPEG-2
 # (normally for a DVD movie it would be more like 5000kpbs)
 # we import an audio stream even though we aren't using it, so as to get
 the
 # right length. Otherwise we get a never-ending video stream :-)
 
 # So now, there's a .m2v video stream, and a .mp2 audio stream, and we
 need to
 # multiplex them.
 mplex -f 8  -o mytestfile.mpg  mytestfile.m2v mytestfile.mp2
 
 # *** repeat the above for each of your audio files. ***
 
 # finally, we can make a simple DVD
 dvdauthor -v ntsc+4:3+352x480 -a mp2+en+1ch+16bps -t -o testdvd
 mytestfile.mpg
 dvdauthor -T -o testdvd
 
 # 

Forceig a resolution in xorg server

2006-08-28 Thread stan

I'm (huridelly) building a new machine to replaced my (just failed) main
workstation at work. I have Xorg installed, and when I type X it starts up
OK. KDE, and kdm work also. But, at way too high a resolution. I tried doing
X -configure to generate a config file, but the resultant file contains no
resolution settings.

How can I force X to run in 1280x1024 x 24 bit color mode?

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

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


Re: mail to root

2006-08-28 Thread jekillen


On Aug 28, 2006, at 8:06 AM, Lowell Gilbert wrote:


jekillen [EMAIL PROTECTED] writes:


Unfortunately, there is not to my knowledge a comprehensive
text that will offer an analysis of every possible mail message to
root and what it means.


Well, no, any more than there is a comprehensive text that will list
every single noise your car might make and what it means.


rc.conf to set the aliases and rebooted the machine. The new aliases
didn't
show up with ifconfig so I added them with ifconfig ( I must have made
a mistake
in the rc.conf lines).


Right.  Sounds like you put inappropriate lines in rc.conf, which is
only supposed to contain variable settings, not actual commands.

Since you didn't show the lines you'd added, we can't suggest the
right way to do it, but look at the if settings in rc.conf(5) and the
Handbook description of configuring networking.

Good luck.
I did add the ifconfig commands to rc.conf, but the problem started 
before
I did that, I did find a line in rc.conf setting ifconfig to something 
already
having to do with configuration of an interface. I'll have to go back 
and

get the actual line, and remove the others as well. I hope no one has
cracked the machine, I get failed login attempts over ftp all the time. 
I have

ftp blocked on the public addresses.
Thanks for the info,:
JK

--
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/



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


Fine tuning conditional compilation of 'make buildworld'

2006-08-28 Thread Garrett Cooper

Hi,
   Just wondering if there was a more comprehensive list of variables 
that can be used when specifying what should and shouldn't be built 
other than what is specified in man make.conf for make buildworld. I 
am configuring two 6.1 systems and want to trim down the junk as much as 
possible.

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


Re: Forceig a resolution in xorg server

2006-08-28 Thread Andy Greenwood

I haven't used X in a lng time, but IIRC you should be able to
just remove all the other modes from the .conf file. If there's only
one availilbe mode, X will have to use it :-)

On 8/28/06, stan [EMAIL PROTECTED] wrote:


I'm (huridelly) building a new machine to replaced my (just failed) main
workstation at work. I have Xorg installed, and when I type X it starts up
OK. KDE, and kdm work also. But, at way too high a resolution. I tried doing
X -configure to generate a config file, but the resultant file contains no
resolution settings.

How can I force X to run in 1280x1024 x 24 bit color mode?

--
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

___
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: panic: driver error: busdma dflt_lock called

2006-08-28 Thread Corey Brune

From what I can tell, the function dflt_lock is only called if the dma

driver doesn't have a lock. This causes a panic (see busdma_machdep.c line
190). Can you provide the call stack?

Thanks,
Corey



On 8/25/06, Karim Nogas [EMAIL PROTECTED] wrote:


Hello,

I was wondering if someone could explain this error message, and where I
should look for a resolution.

I installed FreeBSD 6.1, configured my NIC, and was using it for a
couple days without problems.  Now, even after a fresh install, I keep
getting this error.  The only resolution I've found is to login in
Single-User Mode, run fsck, and mount -a.  Unfortunately, this 'fix' is
temporary as the problem occurs again with a reboot.

Any ideas would be greatly appreciated.  Thank-you.
___
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]


Various package/ports problems

2006-08-28 Thread Dr. Jennifer Nussbaum
Hi,

I inherited a FreeBSD 4.8 box that had a lot of out of date ports on it. in
trying to fix some of this, i seem to have screwed up the package or 
ports system in a way i cant manage to fix.

For example if i try to run portversion i get:

  undefined method `each' for nil:NilClass
  /usr/local/sbin/portversion:239: [BUG] Bus Error

from Ruby (ruby 1.8.5 is up to date on the system).

If i try to run pkg_info I quickly get:

  pkg_info: read_plist: bad command '@conflicts apache+ipv6-1.*'

(i googled for similar problems and there were a few other reports
of this, with other packages, but no suggestion of how to fix them.)

If i try to rebuild my ports index, I get

  gnopernicus-0.12.0: /usr/ports/accessibility/gnome-speech non-existent -- 
  dependency list incomplete

and nothing will go further.

How can i get all of this sorted? i was really hoping to be able to update
most of this sytem but now i cant even get started to find out what needs it :-(

Jen


-
 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


localhost = ::1

2006-08-28 Thread patrick

I upgraded BIND on one of our DNS servers (running FreeBSD 4.x) to
version 9, and now all of our other machines that use this server for
DNS resolution is experiencing a problem where localhost seems to be
resolving to ::1. For example, if I previously typed:

telnet localhost 25

I would get:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
...

But now, I get:

Trying ::1...

Which takes forever to timeout.

In my /etc/hosts file, I have

::1 localhost
127.0.0.1   localhost


We don't use IPV6 at all, and I do have the localhost.rev and
localhost-v6.rev added into the new BIND 9 server. Does anyone have an
idea of how I can get this to work the way it used to?

Thanks,

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


Re: Various package/ports problems

2006-08-28 Thread Gerard Seibert

On Mon, 28 Aug 2006, Dr. Jennifer Nussbaum wrote:


Hi,

I inherited a FreeBSD 4.8 box that had a lot of out of date ports on it. in
trying to fix some of this, i seem to have screwed up the package or
ports system in a way i cant manage to fix.

For example if i try to run portversion i get:

 undefined method `each' for nil:NilClass
 /usr/local/sbin/portversion:239: [BUG] Bus Error

from Ruby (ruby 1.8.5 is up to date on the system).

If i try to run pkg_info I quickly get:

 pkg_info: read_plist: bad command '@conflicts apache+ipv6-1.*'

(i googled for similar problems and there were a few other reports
of this, with other packages, but no suggestion of how to fix them.)

If i try to rebuild my ports index, I get

 gnopernicus-0.12.0: /usr/ports/accessibility/gnome-speech non-existent --
 dependency list incomplete

and nothing will go further.

How can i get all of this sorted? i was really hoping to be able to update
most of this sytem but now i cant even get started to find out what needs it :-(

Jen


That is really quite an old version of FSBD. If possible, I think you 
would be well served by updating to the latest version - 6.1 - if 
possible.


I may be wrong, but I do not believe that there is a lot of support for 
that version anymore.


--
Gerard Seibert
[EMAIL PROTECTED]

Has anyone ever tasted an end?  Are they really bitter?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Various package/ports problems

2006-08-28 Thread Garrett Cooper

On Aug 28, 2006, at 1:21 PM, Gerard Seibert wrote:


On Mon, 28 Aug 2006, Dr. Jennifer Nussbaum wrote:


Hi,

I inherited a FreeBSD 4.8 box that had a lot of out of date ports  
on it. in

trying to fix some of this, i seem to have screwed up the package or
ports system in a way i cant manage to fix.

For example if i try to run portversion i get:

 undefined method `each' for nil:NilClass
 /usr/local/sbin/portversion:239: [BUG] Bus Error

from Ruby (ruby 1.8.5 is up to date on the system).

If i try to run pkg_info I quickly get:

 pkg_info: read_plist: bad command '@conflicts apache+ipv6-1.*'

(i googled for similar problems and there were a few other reports
of this, with other packages, but no suggestion of how to fix them.)

If i try to rebuild my ports index, I get

 gnopernicus-0.12.0: /usr/ports/accessibility/gnome-speech non- 
existent --

 dependency list incomplete

and nothing will go further.

How can i get all of this sorted? i was really hoping to be able  
to update
most of this sytem but now i cant even get started to find out  
what needs it :-(


Jen


That is really quite an old version of FSBD. If possible, I think  
you would be well served by updating to the latest version - 6.1 -  
if possible.


I may be wrong, but I do not believe that there is a lot of support  
for that version anymore.


--
Gerard Seibert
[EMAIL PROTECTED]

Has anyone ever tasted an end?  Are they really bitter?


Version 4.x is no longer supported by FreeBSD at all. I suggest  
either reinstalling FreeBSD 5.4 or just install 6.1.

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


Re: localhost = ::1

2006-08-28 Thread Derek Ragona
You are seeing it match the first match.  Comment out the IPV6 line and 
restart bind.


-Derek


On Mon, 28 Aug 2006, patrick wrote:


I upgraded BIND on one of our DNS servers (running FreeBSD 4.x) to
version 9, and now all of our other machines that use this server for
DNS resolution is experiencing a problem where localhost seems to be
resolving to ::1. For example, if I previously typed:

telnet localhost 25

I would get:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
...

But now, I get:

Trying ::1...

Which takes forever to timeout.

In my /etc/hosts file, I have

::1 localhost
127.0.0.1   localhost


We don't use IPV6 at all, and I do have the localhost.rev and
localhost-v6.rev added into the new BIND 9 server. Does anyone have an
idea of how I can get this to work the way it used to?

Thanks,

Patrick
___
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: Various package/ports problems

2006-08-28 Thread Dr. Jennifer Nussbaum


Gerard Seibert [EMAIL PROTECTED] wrote: On Mon, 28 Aug 2006, Dr. Jennifer 
Nussbaum wrote:

 Hi,

 I inherited a FreeBSD 4.8 box that had a lot of out of date ports on it. in
 trying to fix some of this, i seem to have screwed up the package or
 ports system in a way i cant manage to fix.


That is really quite an old version of FSBD. If possible, I think you 
would be well served by updating to the latest version - 6.1 - if 
possible.

I may be wrong, but I do not believe that there is a lot of support for 
that version anymore.

I wish i could, but i dont have physical access to the machine - its
in a remote location with no serial console. So if anything gets 
messed up during an upgrade, im in a hell of a lot of trouble.

I dont know when i'll be able to fix this problem so until i can upgrade
the OS i at least want to keep the rest of it up to date.

Jen.


-
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Various package/ports problems

2006-08-28 Thread Bill Moran
In response to Garrett Cooper [EMAIL PROTECTED]:
 
 Version 4.x is no longer supported by FreeBSD at all. I suggest  
 either reinstalling FreeBSD 5.4 or just install 6.1.

That's a bit of an exaggeration.
http://security.freebsd.org/#adv

FreeBSD 4.11 and 4-STABLE are officially supported until Jan 2007.

although 4.8 hasn't been supported in quite a while.

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


Re: Problems booting HP Proliant DL-320 G4 6.1-RELEASE

2006-08-28 Thread BHarris
FYI,  setup stable-sup and let it update the kernal on another 6.1
box, then tar'ed the who sys source directory onto a flash drive
and onto my DL320.   Rebuilt kernel, network up and running.

Did find out in the process that the DL320 will try and boot off
a flash drive..   didn't expect that..   Anyway, thanks much for the
pointers, and I'm off to the races now.

Bill





Ted Mittelstaedt [EMAIL PROTECTED] 
08/26/06 04:21 AM

To
freebsd-questions@freebsd.org, [EMAIL PROTECTED]
cc

Subject
Re: Problems booting HP Proliant DL-320 G4  6.1-RELEASE






I have one of these running mail right now.  Here's what I found:

1) The onboard ethernet chip driver in 6.1-release is buggy and
will panic the system.  Install and don't enable ethernet.  Download
the current bge driver from CVS, copy to a floppy, copy from
floppy to server, recompile kernel.

2) Turn off the onboard SATA raid in BIOS, it uses adaptec
microcode that isn't supported.  If you want mirrored raid, there's a
procedure that you can do to get it.

3) for some weird reason the system will hang during boot for up
to TWO MINUTES.  After it gets done doing whatever it's doing,
it will continue booting.

Install normally, don't do anything special.  BIOS settings should
be normal.

Ted

- Original Message - 
From: [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Friday, August 25, 2006 6:14 PM
Subject: Problems booting HP Proliant DL-320 G4  6.1-RELEASE


 Having problems booting my new 320 G4 after successfully
 installing from CD.   The CD install went fine, the first boot was
 normal, but the second and all subsequent boots hang right
 after the  WARNING setting entropy source to blocking mode.

 Keyboard is dead and the machine appears locked up.  Right
 now it's on the screen wanting to enter the seed for SSHD, but
 it hangs on even when you don't enable SSHD during install.

 any suggestions?

 I've tried to disable ILo by turning off the Legacy USB support.
 FYI,  VGA console and regular PS2 keyboard hooked up.

 Any help would be most appreciated.  Just bought 4 of these
 guys for a project.

 Bill
 ___
 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: Forceig a resolution in xorg server

2006-08-28 Thread doug

This is in the handbook but:

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 1
EndSubSection
   :
SubSection Display
Viewport   0 0
Depth 24
Modes 1280x1024
EndSubSection


On Mon, 28 Aug 2006, Andy Greenwood wrote:


I haven't used X in a lng time, but IIRC you should be able to
just remove all the other modes from the .conf file. If there's only
one availilbe mode, X will have to use it :-)

On 8/28/06, stan [EMAIL PROTECTED] wrote:


I'm (huridelly) building a new machine to replaced my (just failed) main
workstation at work. I have Xorg installed, and when I type X it starts up
OK. KDE, and kdm work also. But, at way too high a resolution. I tried 
doing

X -configure to generate a config file, but the resultant file contains no
resolution settings.

How can I force X to run in 1280x1024 x 24 bit color mode?

--
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

___
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]


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


Re: FreeBSD 5.4: 'cp -p' does not behave as documented

2006-08-28 Thread David King

According to the cp man page:
-p  Cause cp to preserve the following attributes of each source file
   in the copy: modification time, access time, file flags, file  
mode,

   user ID, and group ID, as allowed by permissions.

   If the user ID and group ID cannot be preserved, no error message
   is displayed and the exit value is not altered.
However, when I run this script or when I do a cp -p manually I am  
seeing:

cp: chown: /stats/maillogs/maillog-copy-test.bz2: Permission denied
You need to run this as root so the permissions and ownership all  
can be set.

-Derek


I think you misunderstand the poster's complaint. It's not that the  
permissions aren't being set, it's that the documentation is  
incorrect. This part:

If the user ID and group ID cannot be preserved, no error message
is displayed and the exit value is not altered.
is not in accordance to the behaviour that they are seeing. The owner  
and/or group could not be set, but cp(1) fails, and displays a  
message, but the documentation says that it should not display an  
error message or fail. 
___

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


Re: Mounting Sony PSP

2006-08-28 Thread Tim Holmes
 
| Hi,
| 
| First check if with the dmesg command you can see your PSP, you should
| read something like this:
| 
| umass0: USB Solid state disk, rev 1.10/1.00, addr 2
| GEOM: create disk da0 dp=0xc2d74850
| da0 at umass-sim0 bus 0 target 0 lun 0
| da0: Generic Traveling Disk 1.11 Removable Direct Access SCSI-2 device
| da0: 1.000MB/s transfers
| da0: 126MB (258048 512 byte sectors: 64H 32S/T 126C)
| 
| Then, you need to mount your PSP with:
| 
| mount_msdos /dev/da0s1 /mnt/PSP
| 
| There is a chapter in the handbook about USB device
| http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html
| 
| HTH
| 
| Regards.
| 
| -- 
| There's this old saying: Give a man a fish, feed him for a day. Teach
| a man to fish, feed him for life.
`--- 

Thank you!  This did the trick.  As long as I have it mounted Amarok
sees it, and once I handle the permissions, I will be able to send
files back and forth to it.

I was looking at /dev/usb1 and wasn't getting anywhere.  Now I can toy
with this.  Thanks a lot!

tdh

-- 
 +-
   \./   | Tim Holmes  --  [EMAIL PROTECTED]: [EMAIL PROTECTED]
  (0Y0)  | UIN: 17021091  -- AIM: tdh004
 -ooO--(_)--Ooo--+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


UFS2 fsck Question (semantics of -p)

2006-08-28 Thread Can Sar

Hi,

I work on a project to automatically (by dynamically running the  
system) find crash recovery errors in storage systems and we are  
beginning to do some preliminary checking of FreeBSD. We found an  
error where on power failure the disk can get corrupted even after  
an operation has returned successfully on a synchronous mount. Fsck  
running with the -p option cannot fix this error, while running it  
without, does happen to fix it (in this particular test case).  
However, the fsck manfile says the following:


The kernel takes care that only a restricted class of innocuous file  
sys-
 tem inconsistencies can happen unless hardware or software  
failures

 intervene.  These are limited to the following:

   Unreferenced inodes
   Link counts in inodes too large
   Missing blocks in the free map
   Blocks in the free map also in files
   Counts in the super-block wrong

 These are the only inconsistencies that fsck_ffs with the -p  
option will
 correct; if it encounters other inconsistencies, it exits with  
an abnor-
 mal return status and an automatic reboot will then fail.  For  
each cor-
 rected inconsistency one or more lines will be printed  
identifying the
 file system on which the correction will take place, and the  
nature of
 the correction.  After successfully correcting a file system,  
fsck_ffs
 will print the number of files on that file system, the number  
of used

 and free blocks, and the percentage of fragmentation.

Would you consider it an error if the -p option does not fix  
inconsistencies caused by a simple power failure, without any  
hardware or software corruption?


I have two example ufs2 images of such errors that you can download.

http://keeda.stanford.edu/ufs-umount-image
http://keeda.stanford.edu/ufs-mount-sync-image

Thank you very much for your help,
Can Sar
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pxe bootrom

2006-08-28 Thread Raymond Gibson
Hello, I'm trying to build a FreeBSD diskless server. I have a D-link DFE 
530TX+ nic. I need to purchase a pxe bootrom. Does anyone know where i can 
buy one?   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Forceig a resolution in xorg server

2006-08-28 Thread stan
On Mon, Aug 28, 2006 at 03:29:41PM -0400, Andy Greenwood wrote:
 I haven't used X in a lng time, but IIRC you should be able to
 just remove all the other modes from the .conf file. If there's only
 one availilbe mode, X will have to use it :-)

Problem is, the generate file doesn't have -any_ modelines, yet it wrks.

 
 On 8/28/06, stan [EMAIL PROTECTED] wrote:
 
 I'm (huridelly) building a new machine to replaced my (just failed) main
 workstation at work. I have Xorg installed, and when I type X it starts up
 OK. KDE, and kdm work also. But, at way too high a resolution. I tried 
 doing
 X -configure to generate a config file, but the resultant file contains no
 resolution settings.
 
 How can I force X to run in 1280x1024 x 24 bit color mode?
 
 --
 Unix is very simple, but it takes a genius to understand the simplicity.
 (Dennis Ritchie)
 
 ___
 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]

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Einladung von myPIX.ch

2006-08-28 Thread www-data
howdyy! =) gesell dich doch auch zu mypix is echt kuuuhl hier.. voll 
die netten menschen *fg*

Diese Einladung wurde von li (User-ID: 1139) versandt. Sie ist wahrnehmbar 
unter:

http://www.mypix.ch/register/1139

Sollte es sich hierbei um unzulässigen Inhalt handeln, wird gebeten, diese Mail 
an [EMAIL PROTECTED] weiterzuleiten um Abhilfe zu schaffen.

Wir danken für jegliche Bemühungen.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pxe bootrom

2006-08-28 Thread Chris Hill

On Mon, 28 Aug 2006, Raymond Gibson wrote:

Hello, I'm trying to build a FreeBSD diskless server. I have a D-link 
DFE 530TX+ nic. I need to purchase a pxe bootrom. Does anyone know 
where i can buy one?


Google does. It showed me this:
http://www.argontechnology.com/products.aspx?id=28
...and this:
http://www.emboot.com/products_pxe.htm

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


Re: ports/net-p2p/ktorrent - can't compile

2006-08-28 Thread Laurence Sanford

Alexey Mikhailov wrote:

Laurence Sanford wrote:
Just looking for pointers, as I've seen them here from time to time 
when a port won't build. I'm using the following command line:


portupgrade -NR ktorrent

All dependencies build successfully. The ktorrent build fails like this:

./../mse/bigint.h:26:17: gmp.h: No such file or directory
In file included from ./../mse/encryptedauthenticate.h:25,
from peermanager.cpp:34:
./../mse/bigint.h:93: error: `mpz_t' does not name a type


Try to install/reinstall/update devel/libgmp4 port.


That did the trick. Thank you very much.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: having hard time with mounting floppies

2006-08-28 Thread ajm
On Mon, Aug 28, 2006 at 02:37:55PM +0300, Tuomas wrote:
 Hi, all!
 
 I run DesktopBSD 1.0 and I cannot mount floppies. I had the same problem
 with FreeBSD 5.5. Here it goes:
 
 localhost# mount -t msdos /dev/fd0 /media/floppy
  msdosfs: /dev/fd0: Input/output error
 
 localhost# fdformat /dev/fd0
  Format 1440K floppy `/dev/fd0'? (y/n): y
  Processing fdformat: ioctl(FD_FORM): Input/output error
 
 This is what dmesg says:
 
 Copyright (c) 1992-2005 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 5.5-PRERELEASE #1: Sun Feb  5 17:26:01 CET 2006
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DESKTOPBSD
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel Pentium III (734.63-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0x686  Stepping = 6
   
 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
 real memory  = 267264000 (254 MB)
 avail memory = 251109376 (239 MB)
 npx0: math processor on motherboard
 npx0: INT 16 interface
 acpi0: IBM CDTPWSPU on motherboard
 acpi0: Power Button (fixed)
 Timecounter ACPI-fast frequency 3579545 Hz quality 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port 0xf808-0xf80b on acpi0
 cpu0: ACPI CPU port 0x530-0x537 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
 agp0: Intel 82810E (i810E GMCH) SVGA controller mem
 0xfea8-0xfeaf,0xf800-0xfbff irq 11 at device 1.0 on pci0
 pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0
 pci1: ACPI PCI bus on pcib1
 rl0: RealTek 8139 10/100BaseTX port 0x7800-0x78ff mem
 0xfebfff00-0xfebf irq 9 at device 1.0 on pci1
 miibus0: MII bus on rl0
 rlphy0: RealTek internal media interface on miibus0
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 rl0: Ethernet address: 00:0e:2e:85:56:e1
 isab0: PCI-ISA bridge at device 31.0 on pci0
 isa0: ISA bus on isab0
 atapci0: Intel ICH UDMA66 controller port
 0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
 ata0: channel #0 on atapci0
 ata1: channel #1 on atapci0
 uhci0: Intel 82801AA (ICH) USB controller port 0xff00-0xff1f irq 10 at
 device 31.2 on pci0
 usb0: Intel 82801AA (ICH) USB controller 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
 pci0: serial bus, SMBus at device 31.3 (no driver attached)
 pcm0: Intel ICH (82801AA) port 0xf400-0xf43f,0xf000-0xf0ff irq 9 at
 device 31.5 on pci0
 pcm0: Analog Devices AD1881A AC97 Codec
 acpi_button0: Power Button on acpi0
 fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
 fd0: 1440-KB 3.5 drive on fdc0 drive 0
 ppc0: ECP parallel printer port port 0x778-0x77f,0x378-0x37f irq 7 drq 3
 on acpi0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 ppbus0: Parallel port bus on ppc0
 plip0: PLIP network interface on ppbus0
 lpt0: Printer on ppbus0
 lpt0: Interrupt-driven port
 ppi0: Parallel I/O on ppbus0
 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
 atkbd0: AT Keyboard irq 1 on atkbdc0
 kbd0 at atkbd0
 psm0: PS/2 Mouse irq 12 on atkbdc0
 psm0: model IntelliMouse, device ID 3
 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 orm0: ISA Option ROM at iomem 0xc-0xc7fff on isa0
 pmtimer0 on isa0
 sc0: System console at flags 0x100 on isa0
 sc0: VGA 16 virtual consoles, flags=0x300
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
 Timecounter TSC frequency 734633835 Hz quality 800
 Timecounters tick every 1.000 msec
 ad0: 19470MB Maxtor 32049H2/YAH814Y0 [39560/16/63] at ata0-master UDMA66
 acd0: DVDROM LG DVD-ROM DRD-8120B/1.03 at ata1-master PIO4
 cd0 at ata1 bus 0 target 0 lun 0
 cd0: LG DVD-ROM DRD8120B 1.03 Removable CD-ROM SCSI-0 device
 cd0: 16.000MB/s transfers
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 Mounting root from ufs:/dev/ad0s2a
 
 (End of dmesg.)
 
 I can mount floppies with other OSes, Kubuntu LiveCD for instance. I
 googled and found other people having similar problems. One solution that
 was put forward was using a non-ACPI kernel. With FreeBSD 5.5 I recompiled
 the kernel with ACPI disabled, but the problem still persisted. I don't
 know what to do now.
 
 (As a matter of fact, I might be having the same problem with cdrom!)
 
 Could someone help me? Much oblige!
 
 Tuomas
 
 
 

As root...
these are the following things I do for a FreeBSD Floppy:

fdformat -y -f 1440 /dev/fd0
bsdlabel -w /dev/fd0 fd1440
newfs -L FreeBSD /dev/fd0

For a Dos floppy:

fdformat -y -f 1440 /dev/fd0
newfs_msdos -f 1440 -L MSDOS /dev/fd0

Perferably I would use  sudo  to 

Re: Various package/ports problems

2006-08-28 Thread Ahmad Arafat Abdullah
Gosh..
I'm still enjoying my 4.11 prod box ( most of it ).. well time to think abt 
migration?



 - Original Message -
 From: Bill Moran [EMAIL PROTECTED]
 To: Garrett Cooper [EMAIL PROTECTED]
 Subject: Re: Various package/ports problems
 Date: Mon, 28 Aug 2006 17:01:33 -0400
 
 
 In response to Garrett Cooper [EMAIL PROTECTED]:
 
  Version 4.x is no longer supported by FreeBSD at all. I suggest  
  either reinstalling FreeBSD 5.4 or just install 6.1.
 
 That's a bit of an exaggeration.
 http://security.freebsd.org/#adv
 
 FreeBSD 4.11 and 4-STABLE are officially supported until Jan 2007.
 
 although 4.8 hasn't been supported in quite a while.
 
 --
 Bill Moran
 Collaborative Fusion Inc.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]




-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


freebsd-specific postfix antispam howto

2006-08-28 Thread Dave

Hello,
   Does anyone have any information on this? I've googled and have found a 
lot of information for Linux and even an OpenBSD howto, but i am looking for 
something freebsd-specific, preferably fbsd6. I'm having issues getting all 
the services, amavisd-new configured/starting up properly and would like to 
read someone's all-integrated freebsd-specific solution if any, to get an 
idea as to what i'm doing wrong?

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: Fine tuning conditional compilation of 'make buildworld'

2006-08-28 Thread Ahmad Arafat Abdullah
freebsd# less /usr/share/examples/etc/make.conf  

mine just make it simple:

PERL_VER=5.8.8
PERL_VERSION=5.8.8
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe
NO_PROFILE=true
CPUTYPE?=pentium4

other thing, i'm set it up on my kernel config :)

freebsd# uname -a
FreeBSD freebsd.avp.org 6.1-RELEASE-p4 FreeBSD 6.1-RELEASE-p4 #2: Mon Aug 28 
12:26:03 MYT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/AVP  i386
freebsd# 



 - Original Message -
 From: Garrett Cooper [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Subject: Fine tuning conditional compilation of 'make buildworld'
 Date: Mon, 28 Aug 2006 12:28:03 -0700
 
 
 Hi,
 Just wondering if there was a more comprehensive list of 
 variables that can be used when specifying what should and 
 shouldn't be built other than what is specified in man make.conf 
 for make buildworld. I am configuring two 6.1 systems and want to 
 trim down the junk as much as possible.
 Thanks,
 -Garrett
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]




-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


Re: User permissions to mount CDROM

2006-08-28 Thread Viswas Nair

didn't help :(

On 8/28/06, ajm [EMAIL PROTECTED] wrote:


On Sun, Aug 27, 2006 at 08:11:16PM +0530, Viswas Nair wrote:
 I have been trying to figure out how to give users to mount CD rom and
have
 been largely unsuccessful. Here are a few things I tried:
 1) Added user to the 4th field (options) in /etc/fstab
 2) Added vfs.usermount=1 to  sysctl.conf
 3) Created a group called optical and added the root and alpha to it
 4) Added following lines to devfs,conf :
 own /dev/acd0 root:optical
 perm /dev/acd0 0770
 own /dev/acd1 root:optical
 perm /dev/acd1 0770
 5) Rebooted machine and tried to mount /dev/acd0 into /cdrom and it
failed
 with the message:
 got the error message: /dev/acd0

Try the following:  create a subdirectory in the users home directory.
example:  /home/steven/cdrom

mount_cd9660 /dev/acd0 /home/steven/cdrom

also, you can change the permission to 550
(read/execute by owner and group) no need for write permission.
make sure that your users are part of the optical group.
One more thing...users will not be able to mount anything to /cdrom
since it will belong to root/wheel.  Hope this helped you.

--
FreeBSD 6.0-RELEASE i386 GENERIC
___
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]


Adesklets issue - cleaning up the installation

2006-08-28 Thread Viswas Nair

I had installed adesklets and everything was working fine until adesklets
crashed with a TK_GUI related error. I couln't find out where the problem
was so I make deinstalled it and tried to build it again. It simply wouldnt
work. The build completes but when I run the installation program (-i
option) i get a window which is fully black. Uninstalling and doing a
pkg_add doesnt seem to help either.

I think the uninstallation didnt clear all the contents and is causing
trouble. How can i be sure that everything was removed? Should i be
uninstalling and reinstalling all dependencies to be sure?

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


Re: User permissions to mount CDROM

2006-08-28 Thread Girish Venkatachalam

On 8/27/06, Viswas Nair [EMAIL PROTECTED] wrote:

I have been trying to figure out how to give users to mount CD rom and have
been largely unsuccessful. Here are a few things I tried:
1) Added user to the 4th field (options) in /etc/fstab
2) Added vfs.usermount=1 to  sysctl.conf
3) Created a group called optical and added the root and alpha to it
4) Added following lines to devfs,conf :
own /dev/acd0 root:optical
perm /dev/acd0 0770
own /dev/acd1 root:optical
perm /dev/acd1 0770
5) Rebooted machine and tried to mount /dev/acd0 into /cdrom and it failed
with the message:
got the error message: /dev/acd0


Did u try adding the uid to the mount options in fstab?

For instance, -o uid=1000. In fstab, u have to say,
ro,uid=1000 or something.

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


Re: freebsd-specific postfix antispam howto

2006-08-28 Thread Philip Hallstrom

Hello,
  Does anyone have any information on this? I've googled and have found a 
lot of information for Linux and even an OpenBSD howto, but i am looking for 
something freebsd-specific, preferably fbsd6. I'm having issues getting all 
the services, amavisd-new configured/starting up properly and would like to 
read someone's all-integrated freebsd-specific solution if any, to get an 
idea as to what i'm doing wrong?


Not the best writeup, but these are my notes from when I did that awhile 
back...


http://www.pjkh.com/wiki/postfix_amavis_spamassassin_clamav

Note - I no longer use amavis or spamassassin, but instead use clamsmtp 
and postfix-policyd-weight.  But that aside, maybe it will help.


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


Re: User permissions to mount CDROM

2006-08-28 Thread Malcolm Fitzgerald

On Sun, Aug 27, 2006 at 08:11:16PM +0530, Viswas Nair wrote:
 I have been trying to figure out how to give users to mount CD rom 
and

have
 been largely unsuccessful. Here are a few things I tried:
 1) Added user to the 4th field (options) in /etc/fstab
 2) Added vfs.usermount=1 to  sysctl.conf
 3) Created a group called optical and added the root and alpha to it
 4) Added following lines to devfs,conf :
 own /dev/acd0 root:optical
 perm /dev/acd0 0770
 own /dev/acd1 root:optical
 perm /dev/acd1 0770
 5) Rebooted machine and tried to mount /dev/acd0 into /cdrom and it
failed
 with the message:
 got the error message: /dev/acd0


This tutorial helped me: User mounting of removable devices on FreeBSD

http://caia.swin.edu.au/reports/041130A/

Malcolm Fitzgerald

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


Does QUOTA work for users not in /etc/password (ie. by UID?)

2006-08-28 Thread Philip Hallstrom

Hi all -

I was looking at implementing QUOTA for a server, but all of our users are 
stored in a database (ftp/pop/imap authenticates against the db).  They 
each have their own uid's though so the files are owned individually.


I would think file system quotas would work for this, but from the docs 
I've read so far it doesn't say and all the various commands take a 
username as an argument, not a uid...


So without actually trying it out, anyone know if quotas will work without 
matching /etc/passwd entries?


Thanks!

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


Re: User permissions to mount CDROM

2006-08-28 Thread Svein Halvor Halvorsen
Viswas Nair wrote:
 I have been trying to figure out how to give users to mount CD rom and have
 been largely unsuccessful. Here are a few things I tried:
 1) Added user to the 4th field (options) in /etc/fstab
 2) Added vfs.usermount=1 to  sysctl.conf
 3) Created a group called optical and added the root and alpha to it
 4) Added following lines to devfs,conf :
 own /dev/acd0 root:optical
 perm /dev/acd0 0770
 own /dev/acd1 root:optical
 perm /dev/acd1 0770

User must have access to the mount point as well, eg. /cdrom.


Svein Halvor



signature.asc
Description: OpenPGP digital signature