Re: Backup and FreeBSD/ZFS

2010-02-03 Thread LoH
If my memory serves, you're looking at something similar to taking a 
snapshot and then sending it to the tape device, so zfs send  
| (tape device access). This, IIRC, is functionally identical to 
dump/restore.


The Solaris ZFS Admin guide is generally helpful (even as we live in the 
FreeBSD world).

(http://docs.sun.com/app/docs/doc/819-5461/6n7ht6qsc?a=view)

On 2/3/2010 4:05 AM, Svein Skogen (Listmail Account) wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm currently considering switching my Backend (Running WSS2008
Enterprise) to FreeBSD RELENG_8+zfs, however my last melee with ZFS and
backups to Autoloader (HP 1/8 G2 LTO-3 job) didn't quite turn out in my
favour.

Seems FreeBSD has a decent backup solution for UFS/2 (dump/restore) but
such luxuries where nowhere to be found for ZFS (but the performance was
quite good!).

So, my question is this: Can someone point me to the proper place to
start reading on getting RELENG_8+zfs backed up to "tape robotics" (or
more specifically: LTO-3 with a HP autoloader)? Will going the
Opensolaris route be easier? (I had hoped to be able to use net/istgt/
from ports, but I guess I could find a different solution to that
problem in Solaris).

Any pointers would really help me here. The storage backend will be on
MFI arrays (set up with redundant striping + automagic weekly
consistency checks of the arrays).

//Svein

- -- 
- +---+---

   /"\   |Svein Skogen   | sv...@d80.iso100.no
   \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
X|2020 Skedsmokorset | sv...@jernhuset.no
   / \   |Norway | PGP Key:  0xCE96CE13
 |   | sv...@stillbilde.net
  ascii  |   | PGP Key:  0x58CD33B6
  ribbon |System Admin   | svein-listm...@stillbilde.net
Campaign|stillbilde.net | PGP Key:  0x22D494A4
 +---+---
 |msn messenger: | Mobile Phone: +47 907 03 575
 |sv...@jernhuset.no | RIPE handle:SS16503-RIPE
- +---+---
  If you really are in a hurry, mail me at
svein-mob...@stillbilde.net
  This mailbox goes directly to my cellphone and is checked
 even when I'm not in front of my computer.
- 
  Picture Gallery:
   https://gallery.stillbilde.net/v/svein/
- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktpSlIACgkQODUnwSLUlKRvRQCcCKgCzTSCr9PVfyQ9cveGkuUd
xTIAn2IWherBzlLTu/02CBLJMo34Ky2m
=ruSv
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

   


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


Upgrade from i386-8.0 to amd64-8.0 possible?

2010-01-22 Thread LoH
I've got a system currently running FreeBSD-i386-8.0, and was wondering 
whether or not it's possible to move the system to FreeBSD-amd64-8.0 
without bringing it down for more than a reboot or two (and avoid 
reinstalling all of the client software on the box itself).


The box itself will be undergoing a hardware change from a dual xeon 
(P4, not 64bit) to a dual opteron. I think I can boot i386, set up a 
amd64 cross-compile, then compile a new kernel with it, or do a binary 
change to the new arch and then reboot.


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


Re: New installation of FreeBSD with Debian dual boot

2009-12-13 Thread LoH
1) The partition editor is a fdisk variant and very flexible. You 
shouldn't have any problems.


2) I believe that FreeBSD will support NTFS read, but write support is 
(as always) flaky. The last time I had a FreeAgent drive (1TB) attached 
to my box, I was running ntfs-3g through FUSE (google both of those). 
That seemed to work, but I ran into data corruption later--the drive was 
being used as storage for a small-scale file server. After rescuing all 
the data I could, I reformatted the drive as UFS and just left it 
attached with no problems. Later, when I rebuilt the machine, I broke 
the casing apart and made the drive internal and started using ZFS instead.


Otherwise, the drive should just show up and you can mount it.

3) According to 
(http://www.linuxquestions.org/questions/debian-26/mount-debian-partition-from-freebsd-386801/), 
installing *e2fsprogs* from ports should let you just mount the 
partitions from the other OS.


Good luck.
--Joe


AG wrote:

Hello all

I'm looking to install FreeBSD 8.0 on my system today, where it would 
dual boot with Debian.  I have the *.iso all ready to go, so just 
wanted to check a couple of points before I log out of Debian and boot 
into the DVD to install.  Perhaps some veterans can advise me on the 
following:



(1) The Debian is the only OS on my system, so I will have to resize 
the partitions (I currently have /,  swap, and /home).  I am assuming 
that (after backing up) there shouldn't be any problems in doing so, 
but is the partition editor (i.e. the tools that one uses to allocate 
partition space) reasonably sane and plays nicely with a GNU/Linux 
distro?


(2) I use a Seagate FreeAgent USB drive to hold media files and back 
ups.  With Debian I had to edit some rules and install a driver for 
this.  What's the situation like under FreeBSD for supporting these 
kinds of external (NTFS) drives?


(3) If I wanted to share files between Debian and FreeBSD, aside from 
using a data stick are there any ways that I can access my Debian 
drive from FreeBSD and vice versa?


(4) I do intend to use the installation handbook, accessed via a 
different computer, while I install.  Are there any gotchas in FreeBSD 
8.0 (for i386 architectures) that aren't covered in the handbook?


Many thanks.  I hope that next time I contact this list it will be 
from my FreeBSD desktop.


Cheers

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




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


Re: 8.0RC custom kernel not installing?

2009-11-08 Thread LoH
Problem solved, I didn't use the proper casing on the command line. I 
needed KERNCONF=ZFS, not kernconf=ZFS.


LoH wrote:
I compiled a custom kernel with ZFS enabled and installed it. 
Everything appeared to work fine, then I realized that I needed to 
make some more modifications (ALTQ, disabling ulpt). I made those 
configuration changes to the existing ZFS kernel config.


After running
make buildkernel kernconf=ZFS
and
make installkernel kernconf=ZFS

(ZFS is the name of the kernel config file)
I rebooted the machine but didn't see any change in the system config. 
I've also made sure I did the build/install as root.


I doubled-checked the config in the kernel directory, the config is 
properly done.


Any ideas?

--Joseph



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


8.0RC custom kernel not installing?

2009-11-03 Thread LoH
I compiled a custom kernel with ZFS enabled and installed it. Everything 
appeared to work fine, then I realized that I needed to make some more 
modifications (ALTQ, disabling ulpt). I made those configuration changes 
to the existing ZFS kernel config.


After running
make buildkernel kernconf=ZFS
and
make installkernel kernconf=ZFS

(ZFS is the name of the kernel config file)
I rebooted the machine but didn't see any change in the system config. 
I've also made sure I did the build/install as root.


I doubled-checked the config in the kernel directory, the config is 
properly done.


Any ideas?

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


Re: Fwd: upgrading remote server

2009-10-18 Thread LoH

John Almberg wrote:

My build-world is finally done, so going to see if it works, now...


H'mmm... I have a question about the kernel configuration file...

I am currently using a customer kernel. Unfortunately, this machine 
was installed by someone before my time, so I don't know the details.


Can I make a 7.2 kernel using this 6.3 custom kernel configuration 
file? Or should I start with the 7.2 generic, and somehow customize it 
correctly?


I've been looking at the custom  configuration file... so far, I can 
see that it:


1. adds PF to the kernel
2. deletes unneeded drivers, like unused RAID cards and unused serial 
interfaces.


Or should I just try the GENERIC kernel, and maybe just add PF to it?

The 7.2 GENERIC kernel includes PF, but not ALTQ.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Best procedure for full backup of live system

2009-10-14 Thread LoH
Take a UFS2 snapshot and then backup the snapshot. A similar approach 
using ZFS  snapshots would also work.


See the handbook for more details.

http://www.freebsd.org/doc/en/books/handbook/backup-strategies.html

Nerius Landys wrote:

My server is increasingly having important work stored on it, and I
need to start taking backups of a lot of directories, especially
/home, /opt, /etc, /usr/local/etc, and maybe others.  The ideal backup
(and what I've done in the past) is to take a full low-level dd image
of the disk while the system is down (this is easy to do in a
situation where you have dual boot).  Or, since the output of dd would
take up tons of space and would only be usable on an identical hard
drive, use "dump" to take the backup while the machine is turned off
(again easy to do on a dual boot).  But now, I cannot bring down the
machine.  My plan is to do a tar gzip of / on the fly, and pipe that
to ssh (remote machine).  However, the system is live, and files will
be in the progress of changing.

My question is, what is the recommended procedure of taking a full
backup on a live system?  Ideally, if my hard drive were to crash, I
would like to have such a backup so as to make it possible to copy
over the entire backup to a new identical harddrive without doing any
reinstall or configuration.  Should I use tar/gzip?  dump?  What exact
command should I use?  I guess I'll back up all of / including system
files, because there is not too much data.  I will be piping the
output to ssh.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

  


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


Re: is this Intel CPU ok for 7.2 AMD64?

2009-10-14 Thread LoH
Get cpuid from /usr/ports/misc/cpuid and run it, that should give you a 
better idea of what your processor is. Although, from the string you 
gave, looks like a 'yes'. I think that's a nocona xeon (I have a pair of 
gallatins).


jhell wrote:


On Wed, 14 Oct 2009 17:10, rsmith@ wrote:

Yes.

On Wed, Oct 14, 2009 at 10:48:26PM +0200, Len Conrad wrote:

the FreeBSD 6.2 i386 dmesg.boot shows:

CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
  
Features=0xbfebfbff 


  Features2=0x659d>


You should be looking at the following line. LM means Long Mode, 
meaning it can

run 64-bit instructions: [http://en.wikipedia.org/wiki/Long_mode];


  AMD Features=0x2010


Roland



My apologies to the original poster. I tend to usually mix up these 
two arch's for some reason or another. Thanks to the second poster for 
clearing that up.


 -- 

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


Re: why no Oracle on FreeBSD ?

2009-09-30 Thread LoH


The reality is that Oracle is meant to be a very expensive solution 
for companies that don't know what to do. This makes Red Hat etc an 
ideal contender for this situation as it promises full enterprise 
support.
Whether it is the truth or if its even a good solution is completely 
irreverent to these 2 tech companies because at the end of the day 
they are just trying to make money and please the stock holders.





Huh? Last I remember reading, Oracle hasn't put a native version 
together for FreeBSD because running it through the linuxlator works 
well enough to justify not spending engineering resources on it.

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


Re: Microsoft "Dynamic DNS"

2009-09-19 Thread LoH

stan wrote:

On Sat, Sep 19, 2009 at 04:06:03PM -0400, stan wrote:
  

I have a situation at work, where I need  a FreeBSD machine to be in the
corporate DNS. We have been bought out, and the new owner says "no static
DNS entries". They use some Microsoft technogly where the client machiens
register thier names with the corprate DNS.

My Windows laptop for instance, may get different IP addresses using DHCP
depending on what physical location I connect it in. but it's always the
same DNS name.

Can anyone sugest where to look for information as to how this works, and
how I cna make my FreeBSD machine participate in this?




Following up to my own post. I have managed to get a wireshark capture of
my Windows laptop doing a DHCP operation, including registering it's name
with this DNS system. Can anyone tell me what I need to look for in this to
better narow down how this is ebing done?

  

Have you looked at dhclient.conf?
There should be an option to send your client's host name available.


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


Unsolicited NFS notification causing panic?

2009-09-17 Thread LoH
I've been trying to debug a server running FreeBSD 7.2-RELEASE/amd64 
that's hanging intermittently or rebooting without much luck.


The machine hosts the home directories for the users over NFS. The 
workstations that use it are pretty much all Solaris 10 boxes (mostly 
sparc with five x86 installs), with between two and five Solaris 8 
machines. The same machine is also a CUPS print server, which merely 
takes print requests and forwards them to networked printers. The 
machine had been running for about three weeks before exhibiting these 
problems (I had tinkered with using the RARP daemon, but have since 
reloaded the OS in an attempt to make sure my tinkering hadn't left any 
lasting damage).


The only messages I'm getting from /var/log/messages are like the ones 
below (the last message sent before the machine went down and rebooted).
Sep 17 13:54:32  rpc.statd: Unsolicited notification from host 



The machine itself is a Dell PowerEdge 2900, and the HDDs are three 1TB 
drives in RAID5 (two virtual HDDs).


Any ideas as to what could be causing this? Our next test is to do a 
complete backup of the NFS partition onto a separate machine (different 
hardware) and test that one with a near-identical setup to screen for 
hardware problems.


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


Re: FreeBSD & IBM Thinkpad - What Model to Choose?

2009-08-02 Thread LoH
For now, I'd suggest avoiding the T500 series as well. They're good 
machines, but you're basically stuck (for now) with either the 
integrated graphics or the radeon driver (which still is spotty on X).


Randy Booth wrote:

Avoid T42 (2374-K5U).  Everything works fine, but it's an oddball version 
apparently and there is next to no documentation regarding it on many of the 
wiki sites.  There are many decent models of T42.  I'd just avoid this 
particular model to avoid confusion.

Thanks,

Randy

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Daniel Underwood
Sent: Sunday, August 02, 2009 5:06 PM
To: herbert langhans
Cc: freebsd-questions@freebsd.org
Subject: Re: FreeBSD & IBM Thinkpad - What Model to Choose?

I've had great success with my my T43.  I strongly recommend it

  



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


Re: Windows 2008 + AD + PF + bridge = problems?

2009-08-02 Thread LoH



Another idea could be giving 7.x a shot as it has newer version of PF IIRC.
  


That's on the list of things to try, but upgrading will probably be painful,
so I'm hoping to find something else first.

  


Something else you might want to try is to find/install the new PF from 
source, if you don't want to try a general upgrade.

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


Re: PDF inventory software

2009-06-09 Thread LoH

Daniel Underwood wrote:

Yes, it works fine on most PDFs.  There are a couple that give me:

$ pdftotext Sanda-JAMA-2009\ \(Prostate\ Cancer\ Treatment\).pdf
Error: Document has not the mandatory ending %EOF

  


It's probably an issue with the PDF itself, not with the program.

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


Re: PDF inventory software

2009-06-09 Thread LoH

Daniel Underwood wrote:

$ find *.pdf -exec pdftotext {} \;
Error: Document has not the mandatory ending %EOF
  

Have you run pdftotext on a single file in your archive as a test?

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


Re: PDF inventory software

2009-06-09 Thread LoH

ill...@gmail.com wrote:

2009/6/9 Daniel Underwood :
  

I'm trying to convert all PDF files in a directory to text using
"pdftotext".  I tried the following command:

$ find *.pdf | xargs -0 pdftotext
Error: Couldn't open file 'Ross-JAMA-2007 (Prostate Screening Strategies).pdf
Sanda-JAMA-2009 (Prostate Cancer Treatment).pdf
'

Why is this not working?


What about:
$ find *.pdf -exec pdftotext {} \; ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PDF inventory software

2009-06-08 Thread LoH

Daniel Underwood wrote:

A partial solution would also to do a search on someone else's index (google
scholar, IEEEXplore, etc) to get the title of what you're looking for.



True, but in this situation, I want to find something within a local
collection of literature. E.g., find a table of data I recall seeing
in my literature review.

  
Which is why I initially suggested collecting the BibTeX (or your 
preferred citation management software of choice) entries for your 
articles and adding them. I know that when I start collecting articles 
for literature reviews, I get a BibTeX copy of the citation, so I can 
easily drop it into my papers.


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


Re: Reproduce previous stdout output without running previous command

2009-06-08 Thread LoH

Daniel Underwood wrote:

I read up on tee, but I'm not sure it does the trick.  From what I
understand, tee simply enters a mode where what you type gets put into
a text file.
  
What actually happens is when you pipe it to tee, it shows up in a text 
file and on the screen. That lets you make the quick decision of whether 
or not to keep the file you just made.


--Joseph Lenox

PS: Please remember to CC to the mailing list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PDF inventory software

2009-06-08 Thread LoH

Daniel Underwood wrote:

I'm looking for a way to manage my personal collection of research
articles.  Ideally I'd like some way to keep records on authors,
keywords, journals, and publication years of articles (PDF files)
downloaded onto my local drive.

 In the course of reading literature for research, it often happens
that I find myself wanted to return to something I have previously
read, but I only recall a few "things" about the article, often the
author and a keyword.  Is there some inventory/database software (for
local use only) that can be easily used for this purpose?  (The
closest things that comes to mind (conceptually) is "image collection"
software.)

What are some of my options here?

Thanks,
Daniel

  


First thing that comes to mind is abusing BibTeX/LaTeX. Keep a BibTeX 
file (under version control for safety) or other LaTeX-based citation 
solution as a file on your desktop. If you're using articles from 
journals, you should be able to get the BibTeX versions of the citation 
information from general research portals like IEEEXplore or ACM's 
library (and many other places). For each one, add another field and add 
your local path (of the file referencing the article) to it.


If you need to find something after that, grep the keyword or author's 
name with the option to display a couple lines up or down. A useful side 
effect is that if you know LaTeX (and it's a good skill to have), you 
have the citation information handy for easy inclusion in your own papers.


With some work, that approach could probably be expanded to an GUI app.

Like most things, it's a bit of up-front work and requires maintenance 
(mostly remembering to grab the cite info from documents as you add them 
to your collection). If you're going to be using any of them for 
citations, however, it's work you're already having to do.


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


Re: Which nVidea driver to install

2009-06-08 Thread LoH

Michael Powell wrote:

Section "Device"
#Driver "nv"
Driver "nvidia"

Just change "nv" to "nvidia", and perhaps in Section "Module"
Load   "glx" if you need to.


Also notice what RW said; I am behind the times wrt to how things have 
changed.


-Mike
What I have found to work is to make the nvidia-driver port, but not 
install it (to get the dependencies). Then I would download the recent 
driver from nVidia's website (as of this email, 185.18.14), untar it and 
install that instead. If nvidia-xconfig doesn't work immediately, you 
can install it from ports w/o a problem (or do the configuration by hand).


It's a little involved, but it gets the job done.

nVidia's README for FreeBSD drivers:
http://us.download.nvidia.com/freebsd/185.18.14/README/index.html

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


Re: [FreeBSD 7.2-RELEASE] Audio going silent after wakeup.

2009-05-31 Thread LoH
Unloading the module, letting it suspend on its own, then waking it up 
and reloading the module does not cause the symptoms to appear.


Wish I knew offhand what was being called to let it suspend, and which 
state it was.


Paul B. Mahol wrote:

On 5/31/09, LoH  wrote:
  

After setting up an Audigy2ZS with the emu10kx kernel driver, I found
that after the machine goes into a suspend mode and wakes up, the sound
stops playing. Unloading and reloading the kernel drivers (sound.ko and
snd_emu10kx.ko) doesn't appear to do anything. I tested with an external
line device and mplayer.

A reboot clears up the symptoms.

Has anyone else noticed this before? Is there a way to get the problem
to sit up and bark without doing a complete reboot?



WHat happens if you unload module before suspending?


  


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


[FreeBSD 7.2-RELEASE] Audio going silent after wakeup.

2009-05-30 Thread LoH
After setting up an Audigy2ZS with the emu10kx kernel driver, I found 
that after the machine goes into a suspend mode and wakes up, the sound 
stops playing. Unloading and reloading the kernel drivers (sound.ko and 
snd_emu10kx.ko) doesn't appear to do anything. I tested with an external 
line device and mplayer.


A reboot clears up the symptoms.

Has anyone else noticed this before? Is there a way to get the problem 
to sit up and bark without doing a complete reboot?


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


console redirection to serial in Freebsd 5.1

2003-11-18 Thread Loh John Wu
So I have a fresh install of FreeBSD 5.1 from a CD (ISO).

Now I'm trying to turn on console redirection in my image, but I can't seem
to get it to work properly.

I read the article on turning on console redirection at

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setu
p.html

but I think that doc was geared towards a 4.X release as it says that
specific sio options
need to be set in the kernel config file.

However, reading the man page on the sio driver in 5.1-release man pages at

http://www.freebsd.org/cgi/man.cgi?query=sio&apropos=0&sektion=0&manpath=Fre
eBSD+5.1-RELEASE&format=html

it seems that we just need to set those configs that used to be in the
kernel conf file in 4.7 in the
/boot/devices.hints file.

So I've set these options in the hints file to turn on the serial
redirection with the flag 0x90

hint.sio.0.at="isa"
hint.sio.0.port="0x3F8"
hint.sio.0.flags="0x90"
hint.sio.0.irq="4"
hint.sio.1.at="isa"
hint.sio.1.port="0x2F8"
hint.sio.1.irq="3"
hint.sio.2.at="isa"
hint.sio.2.disabled="1"
hint.sio.2.port="0x3E8"
hint.sio.2.irq="5"
hint.sio.3.at="isa"
hint.sio.3.disabled="1"
hint.sio.3.port="0x2E8"
hint.sio.3.irq="9"

I've also set in the /boot.config file the -P flag to
set the console to the serial console in the presence of a keyboard.

and I've changed /etc/ttys to allow for the ttyd0 as well.

I am using the generic FreeBSD 5.1 kernel with the generic 5.1 kernel config
options,
but from what I read, I think I can still enable serial console redirection
with the generic kernel.
Any ideas as to what I might be missing to have the redirection to teh
serial console.

Thanks,
John

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


undefined reference to `_getopt_internal' when doing 'make buildw orld'

2003-11-11 Thread Loh John Wu
Hello,

I'm getitng this error when I try to a make buildworld on a 4.7-RELEASE
tree.
It's very strange because both getopt.c and getopt1.c have the same
reference to _getopt_internal
but only getopt1.c has an undefined reference to it, see below:

/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/src/gnu/usr.bin/gperf
-static -o gperf b
ool-array.o gen-perf.o hash-table.o iterator.o key-list.o list-node.o main.o
new
.o options.o read-line.o trace.o vectors.o version.o hash.o getopt.o
getopt1.o
getopt1.o: In function `getopt_long':
/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib/getopt1.c(.text+0x22):
undefined reference to `_getopt_internal'
getopt1.o: In function `getopt_long_only':
/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib/getopt1.c(.text+0x52):
undefined reference to `_getopt_internal'
*** Error code 1

Stop in /src/gnu/usr.bin/gperf.

*** Error code 1

Stop in /src.
*** Error code 1

any help would be greatly appreciated.
Thanks,
John
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"