Re: question regarding geom labels

2012-04-06 Thread Alexander Best
On Fri Mar 30 12, Warren Block wrote:
> On Fri, 30 Mar 2012, Alexander Best wrote:
> 
> >i have a question regarding a label for a swap partition. when should i do 
> >the
> >labeling? after or before creating the partition scheme?
> >
> >when i label before creating the partition scheme, likes this:
> >
> >glabel label -v swap /dev/da0
> >gpart create -s GPT /dev/da0
> >
> >i get the following warning:
> >
> >GEOM: da1: the secondary GPT header is not in the last LBA.
> >
> >which is obvious, because the label is being written into the last LBA and 
> >thus
> >the backup GPT header gets written into the last-1 LBA.
> 
> Right.  Don't do that, the GPT backup header needs to be at the end of 
> the physical device.  If you're using that whole disk for swap, there's 
> no need for a partition anyway.
> 
> >if i create the partitioning scheme before labeling the device, like this:
> >
> >gpart create -s GPT /dev/da0
> >glabel label -v swap /dev/da0
> >
> >or
> >
> >gpart create -s GPT /dev/da0
> >gpart add -t freebsd-swap /dev/da0
> >glabel label -v swap /dev/da0p1
> >
> >the label gets written into da0 or da0p1 and is at constant risk of being
> >overwritten by userdata.
> 
> No.  The swap device entered in /etc/fstab would be /dev/label/swap, 
> which is one block smaller than da0p1.  That's the last-block metadata, 
> it's safe.

thanks for the info. :)

> 
> But if the whole disk is for swap, skip the partitioning entirely.
___
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"


EXCLUSIVE & RARE HOT PICS

2012-04-06 Thread sri devi

TOP DATING TIPS TO ENCOURAGE WOMEN FOR DATING
   http://datingsitesdatingtips.blogspot.in/

  FOR ONLY HOT GUYS SEE THIS
 VIMALA RAMAN LATEST HOT STILLS
http://hotactress-kalyani.blogspot.com/2012/03/vimalaraman-hot.html
  PRIYAMANI HOT PHOTOS
http://hotactress-kalyani.blogspot.in/2011/09/priyamani-hot.html
ANUSHKA HOT ROMANTIC PHOTOS
http://hotactress-kalyani.blogspot.in/2011/08/anushka-hot.html
 KAJAL AGARWAL LATEST HOT WITHOUT TOP
http://hotactress-kalyani.blogspot.in/2011/08/kajal-agarwal-hot-photos.html
AMISHA PATEL LATEST HOT STILLS
http://hotactress-kalyani.blogspot.in/2011/08/amisha-patel-hot.html
 KATRINA KAIF HOT SPICY STILLS
http://hotactress-kalyani.blogspot.in/2011/08/katrina-kaif-hot.html
  NEERU BAJWA LATEST SPICY STILLS
http://hotactress-kalyani.blogspot.in/2011/12/neeru-bajwa-hot.html
  PRIYANKA TIWARI HOT PHOTOS
http://hotactress-kalyani.blogspot.in/2011/12/priyanka-tiwari-hot.html
SAMANTHA LATEST HOT STILLS
http://hotactress-kalyani.blogspot.in/2011/09/samantha-hot.html
  DEEKSHASETH LATEST ROMANTIC STILLS
http://hotactress-kalyani.blogspot.in/2011/09/deeksha-seth-hot.html
   PAYAL GHOSH HOT PHOTOS
http://hotactress-kalyani.blogspot.in/2011/11/payal-ghosh-hot.html
  SIDDI MAMRE HOT ROMANTIC STILLS
http://hotactress-kalyani.blogspot.in/2012/02/siddhi-mamre-hot.html
   SHEENA SHAHABADI LATEST HOT PHOTOS
http://hotactress-kalyani.blogspot.com/2012/02/sheena-shahabadi-hot.html
   LATEST HOT KATRINA KAIF PHOTOS
http://hotactress-kalyani.blogspot.in/2011/08/katrina-kaif-hot.html
  ANUSHKA LATEST HOT PHOTOS
http://hotactress-kalyani.blogspot.in/2011/08/anushka-hot.html
  KAJAL AGARWAL HOT SAREE STILLS
http://hotactress-kalyani.blogspot.in/2011/11/kajal-agarwal-hot-in-saree.html
 RAGINI DWIVEDI HOT PHOTOS
http://hotactress-kalyani.blogspot.in/2011/12/ragini-dwivedi.html
  PARVATHI MELTON LATEST HOT PHOTOS
http://hotactress-kalyani.blogspot.in/2011/11/parvathi-melton-hot.html
 SARAH JANE DIAS HOT PHOTOS
http://hotactress-kalyani.blogspot.in/2011/11/sarah-jane-dias-hot.html
TAMANNA LATEST  HOT PHOTOS
http://hotactress-kalyani.blogspot.in/2011/08/tamanna-hot.html
   PARUL HOT PHOTO STILLS
http://hotactress-kalyani.blogspot.in/2011/12/parul-hot.html
  ADITI AGARWAL NEW ROMANTIC STILLS
http://hotactress-kalyani.blogspot.in/2011/12/aditi-agarwal-hot.html
   POONAM KAUR HOT ROMANTIC STILLS
http://hotactress-kalyani.blogspot.in/2011/11/poonam-kaur-hot.html
 AMISHA PATEL LATEST HOT BIKINI STILLS
http://hotactress-kalyani.blogspot.in/2011/08/amisha-patel-hot.html

   { ALL LATEST MOVIE STILLS}
   KAJAL BUSINESSMAN MOVIE STILLS
http://actressgallery-kalyani.blogspot.in/2012/01/kajal-agarwal-in-business-man.html
   SONAM KAPOOR LATEST HOT STILLS
http://actressgallery-kalyani.blogspot.in/2012/01/sonam-kapoor-maxim-photoshoot-stills.html
   RITU KAUR LATEST PHOTO STILLS
http://actressgallery-kalyani.blogspot.in/2012/01/ritu-kaur-stills.html
  SWAPNA SUNDARI MOVIE STILLS
http://actressgallery-kalyani.blogspot.in/2012/01/swapna-sundari-movie-stills.html
 SEVAKUDU MOVIE STILLS
http://actressgallery-kalyani.blogspot.in/2012/01/sevakudu-movie-stills.html.
   SRIKANTH DEVARA MOVIE GALLERY
http://actressgallery-kalyani.blogspot.in/2011/12/devaraya-movie-stills.html
KULLUMANALI MOVIE STILLS
http://actressgallery-kalyani.blogspot.in/2011/12/kullu-manali-movie-stills.html
   BUSINESSMAN MOVIE STILLS
http://actressgallery-kalyani.blogspot.in/2011/12/businessman-movie-stills.html
 HOT ACTRESS BIKINI STILLS IN 2012 CALENDAR
http://actressgallery-kalyani.blogspot.in/2011/12/2012-actress-calendar-wallpapers.html
  KSHETHRAM MOVIE STILLS
http://actressgallery-kalyani.blogspot.in/2011/12/kshethram-movie-stills.html
 SAMANTHA SOUTHSCOPE HOT PHOTOS
http://actressgallery-kalyani.blogspot.in/2011/12/samantha-at-south-scope-magazine.html
BODYGAURD LATEST MOVIE STILLS
http://actressgallery-kalyani.blogspot.in/2011/12/bodyguard-telugu-movie-stills_14.html
DEEPIKA PADUKONE SPICY WALLPAPERS
http://actressgallery-kalyani.blogspot.in/2011/12/deepika-padukone.html
  KATRINA KAIF LATEST HOT WALLPAPERS
http://actressgallery-kalyani.blogspot.in/2011/12/katrina-kaif-wallpapers.html
 NIPPU MOVIE  STILLS
http://actressgallery-kalyani.blogspot.in/2011/11/nippu-movie-stills.html
LOVE FAILURE MOVIE STILLS
http://actressgallery-kalyani.blogspot.in/2011/12/love-failure-movie-stills.html
VIKRAM VEEDINTHE MOVIE STILLS
http://actressgallery-kalyani.blogspot.in/2011/12/veedinthe-movie-stills.html
 4FRIENDS MOVIE STILLS
http://actressgallery-kalyani.blogspot.in/2011/12/4-friend

Token Ring (really)

2012-04-06 Thread Jay West
I used to use the Token Ring driver in previous versions of FreeBSD (I think
it was the oli one I was using). I know that Token Ring support was removed
several releases ago. I again now have a somewhat pressing need for Token
Ring support on FreeBSD 9. The FreeBSD Token Ring Project seems to be
inactive from a look at the website.

 

Would anyone know of a PCI token ring card that perhaps the manufacturer
provides their own drivers for FreeBSD 9? All my google searches have come
up dry. Or, if any of the FreeBSD Token Ring Driver Project developers are
lurking around still, perhaps one of them would consider taking a donation
to make the old FreeBSD olicom drivers work on FreeBSD 9?

 

 

Jay West

EZwind.net

PO Box 460474

Saint Louis, MO 63146

Voice: (314) 262-4143 ext 1000

Toll Free: (866) 343-2589

Fax: (314) 558-9284

  jw...@ezwind.net

 



This e-mail transmission may contain information that is proprietary,
privileged and/or confidential

and is intended exclusively for the person(s) to whom it is addressed. Any
use, copying, retention

or disclosure by any person other than the intended recipient or the
intended recipient's designees

is strictly prohibited. If you are not the intended recipient or their
designee, please notify the

sender immediately by return e-mail and delete all copies.

 

___
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: Token Ring (really)

2012-04-06 Thread Jay West
Well over 20 years experience with FreeBSD, and I was not aware of "Project
Evil" ;)

I don't know if my olicom card has NDIS versions of their driver for token
ring, but if so, that just might work! Still, getting the deprecated oltr
driver on FreeBSD9 would be awesome

Jay West
EZwind.net
PO Box 460474
Saint Louis, MO 63146
Voice: (314) 262-4143 ext 1000
Toll Free: (866) 343-2589
Fax: (314) 558-9284
jw...@ezwind.net


This e-mail transmission may contain information that is proprietary,
privileged and/or confidential
and is intended exclusively for the person(s) to whom it is addressed. Any
use, copying, retention
or disclosure by any person other than the intended recipient or the
intended recipient's designees
is strictly prohibited. If you are not the intended recipient or their
designee, please notify the
sender immediately by return e-mail and delete all copies.

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jay West
Sent: Friday, April 06, 2012 11:31 AM
To: freebsd-questions@freebsd.org
Subject: Token Ring (really)

I used to use the Token Ring driver in previous versions of FreeBSD (I think
it was the oli one I was using). I know that Token Ring support was removed
several releases ago. I again now have a somewhat pressing need for Token
Ring support on FreeBSD 9. The FreeBSD Token Ring Project seems to be
inactive from a look at the website.

 

Would anyone know of a PCI token ring card that perhaps the manufacturer
provides their own drivers for FreeBSD 9? All my google searches have come
up dry. Or, if any of the FreeBSD Token Ring Driver Project developers are
lurking around still, perhaps one of them would consider taking a donation
to make the old FreeBSD olicom drivers work on FreeBSD 9?

 

 

Jay West

EZwind.net

PO Box 460474

Saint Louis, MO 63146

Voice: (314) 262-4143 ext 1000

Toll Free: (866) 343-2589

Fax: (314) 558-9284

  jw...@ezwind.net

 



This e-mail transmission may contain information that is proprietary,
privileged and/or confidential

and is intended exclusively for the person(s) to whom it is addressed. Any
use, copying, retention

or disclosure by any person other than the intended recipient or the
intended recipient's designees

is strictly prohibited. If you are not the intended recipient or their
designee, please notify the

sender immediately by return e-mail and delete all copies.

 

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


Xorg bug

2012-04-06 Thread doug
This is 9.0-RELEASE with all else installed via pkg_add. Xorg is 7.5.1; xdm is 
1.1.11. When logging out or terminating Xorg the screen flashes a line that is 
the login pattern at the top of the screen. The rest of the screen is black. 
ctrl-alt-F1 switches to the console but the monitor is disconnected (e.g., I 
eventually get 'no signal' as if the system is powered down). ctrl-alt-F9 
returns to the xdm login which then works normally. I am using xfce and see no 
problems after logging. There are no errors logged in .xsession-errors, 
Xorg.0.log or xdm.log.


I get the same symptoms with and without hal  and when Xorg is started with 
startx or startxfce4. xorg.conf is unmodified from a 'Xorg -configure'. The 
monitor driver select is radeon. The radeonhd driver crashes.


The system is not down, as I can ssh into it,the only real bug is that the 
consoles are not available. I think this is a bug handling the monitor rather 
than the keyboard because of the 'no signal' indication and the ctrl-alt keys 
work, I just can not see whats on the console.


Is additional logging available? Anybody seen one like this?



_
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
  Fax: 301-217-9277
___
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"


learning freebsd kernel

2012-04-06 Thread gahn
hi gurus:

how could i create the core dumps on freebsd kernel? i am trying to create a 
kernel core dump on 8.1 but it didn't happen:

# sysctl -w debug.kdb.panic=1

well the system went panic, entered the mode db>. i did "reboot' but there was 
no core/kernel dumps under /var/crash.

the customized kernel has those information enabled:

# Debugging for use in -current
options KDB # Enable kernel debugger support.
options DDB # Support DDB.
options GDB # Support remote GDB.

user@host:~:$ sysctl -a | grep debug.kdb
debug.kdb.stop_cpus: 1
debug.kdb.trap_code: 0
debug.kdb.trap: 0
debug.kdb.panic: 0
debug.kdb.enter: 0
debug.kdb.current: ddb
debug.kdb.available: ddb 



by the way, where is my gdb? on one of my company's machisne, it looks like 
this:

debug.kdb.available: ddb gdb

thank you all

/gahn
___
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: Xorg bug

2012-04-06 Thread Waitman Gobble
On Apr 6, 2012 10:40 AM,  wrote:
>
> This is 9.0-RELEASE with all else installed via pkg_add. Xorg is 7.5.1;
xdm is 1.1.11. When logging out or terminating Xorg the screen flashes a
line that is the login pattern at the top of the screen. The rest of the
screen is black. ctrl-alt-F1 switches to the console but the monitor is
disconnected (e.g., I eventually get 'no signal' as if the system is
powered down). ctrl-alt-F9 returns to the xdm login which then works
normally. I am using xfce and see no problems after logging. There are no
errors logged in .xsession-errors, Xorg.0.log or xdm.log.
>
> I get the same symptoms with and without hal  and when Xorg is started
with startx or startxfce4. xorg.conf is unmodified from a 'Xorg
-configure'. The monitor driver select is radeon. The radeonhd driver
crashes.
>
> The system is not down, as I can ssh into it,the only real bug is that
the consoles are not available. I think this is a bug handling the monitor
rather than the keyboard because of the 'no signal' indication and the
ctrl-alt keys work, I just can not see whats on the console.
>
> Is additional logging available? Anybody seen one like this?
>
>
>
> _
> Douglas Denault
> http://www.safeport.com
> d...@safeport.com
> Voice: 301-217-9220
>  Fax: 301-217-9277
> ___
> 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"

Hi,

On my amd64 machine running 10.0-CURRENT with xfce4 the screen turns white
when i logout or use the shutdown button. i'm running the latest in
packages, will have to check the version.

ssh into machine still works except that within 40 seconds or so the
machine freezes. my work-around is to do shutdown -r now from terminal,
which shuts down before 40 seconds  :) shutdown without r does not stop it
from freezing.

i have not yet taken the time to troubleshoot but maybe this weekend ill
get the details together and try to see what the problem is.

Waitman Gobble
San Jose California USA
___
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: learning freebsd kernel

2012-04-06 Thread Devin Teske


> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of gahn
> Sent: Friday, April 06, 2012 11:05 AM
> To: freebsd general questions
> Subject: learning freebsd kernel
> 
> hi gurus:
> 
> how could i create the core dumps on freebsd kernel? i am trying to create a
> kernel core dump on 8.1 but it didn't happen:
> 
> # sysctl -w debug.kdb.panic=1
> 
> well the system went panic, entered the mode db>. i did "reboot' but there was
> no core/kernel dumps under /var/crash.
> 

Did you set the "dumpdev" directive in /etc/rc.conf?

% grep dumpdev /etc/defaults/rc.conf
dumpdev="NO"# Device name to crashdump to (or NO).
savecore_flags=""   # Used if dumpdev is enabled above, and present.

You should set the value of dumpdev to your swap device.

You can get this value by executing the following:

awk '$3~/swap/{print $1}' /etc/fstab

Should produce something like "/dev/mfid0s1b" or "da0s1b" or "ada0s1b" or
"ad0s1b" etc. depending on your RELEASE and hardware.

If the output is, for example, "/dev/mfid0s1b", you should add the following to
/etc/rc.conf:

dumpdev="/dev/mfid0s1b"

-- 
Devin


> the customized kernel has those information enabled:
> 
> # Debugging for use in -current
> options KDB # Enable kernel debugger support.
> options DDB # Support DDB.
> options GDB # Support remote GDB.
> 
> user@host:~:$ sysctl -a | grep debug.kdb
> debug.kdb.stop_cpus: 1
> debug.kdb.trap_code: 0
> debug.kdb.trap: 0
> debug.kdb.panic: 0
> debug.kdb.enter: 0
> debug.kdb.current: ddb
> debug.kdb.available: ddb
> 
> 
> 
> by the way, where is my gdb? on one of my company's machisne, it looks like
> this:
> 
> debug.kdb.available: ddb gdb
> 
> thank you all
> 
> /gahn
> ___
> 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"

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
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: Xorg bug

2012-04-06 Thread doug

On Fri, 6 Apr 2012, Waitman Gobble wrote:


On Apr 6, 2012 10:40 AM,  wrote:
>
> This is 9.0-RELEASE with all else installed via pkg_add. Xorg is 7.5.1; xdm is
1.1.11. When logging out or terminating Xorg the screen flashes a line that is 
the
login pattern at the top of the screen. The rest of the screen is black.
ctrl-alt-F1 switches to the console but the monitor is disconnected (e.g., I
eventually get 'no signal' as if the system is powered down). ctrl-alt-F9 
returns
to the xdm login which then works normally. I am using xfce and see no problems
after logging. There are no errors logged in .xsession-errors, Xorg.0.log or
xdm.log.
>
> I get the same symptoms with and without hal  and when Xorg is started with
startx or startxfce4. xorg.conf is unmodified from a 'Xorg -configure'. The
monitor driver select is radeon. The radeonhd driver crashes.
>
> The system is not down, as I can ssh into it,the only real bug is that the
consoles are not available. I think this is a bug handling the monitor rather 
than
the keyboard because of the 'no signal' indication and the ctrl-alt keys work, I
just can not see whats on the console.
>
> Is additional logging available? Anybody seen one like this?

Hi,

On my amd64 machine running 10.0-CURRENT with xfce4 the screen turns white when 
i
logout or use the shutdown button. i'm running the latest in packages, will have
to check the version.

ssh into machine still works except that within 40 seconds or so the machine
freezes. my work-around is to do shutdown -r now from terminal, which shuts down
before 40 seconds  :) shutdown without r does not stop it from freezing.

i have not yet taken the time to troubleshoot but maybe this weekend ill get the
details together and try to see what the problem is.


Thanks. AFAIK my system does not freeze but I do not know that I have waited it 
out either. I will let you know with a list-only post.


_
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
  Fax: 301-217-9277___
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: Can't install WindowMaker

2012-04-06 Thread Sabine Baer
On Mon, Mar 19, 2012 at 08:35:53AM +0100, Polytropon wrote:
 
 [...]

Sorry for not having answered long time, but I t'was a little
difficult to understand 'portdowngrade'. I had to search for the right
server. But now it did the Job.

> Im Zweifelsfall installier Dir mal "portdowngrade" und zieh
> eine ältere Version von WindowMaker, vielleicht compiliert
> die ja?

Yes, I have a running WindowMaker :-)))

 [...]

> At least the port is not maked _not_ to build on v7, so it
> basically _should_ work.
 
Now it is. I cvsupped the ports this morning and there is a changed
Makefile whis has the hint, that version 0.95.2 will not compile under
7.n.
:-|

Sabine

-- 
"Wissenschaftlich betrachtet wird das Häuschen kaputt sein."
(Th. Waschke in dswc auf die Frage eines wissenschftlich
Interessierten, was mit einem Holzhaus, in dem eine Atombombe
gezuendet wird, passiere.)
___
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: learning freebsd kernel

2012-04-06 Thread gahn
thanks devin for the great tip. yeah, now i got core dumps...:)

but where is my "gdb" under that "debug.kdb.available"?

best

/gahn



- Original Message -
From: Devin Teske 
To: 'gahn' ; 'freebsd general questions' 

Cc: 
Sent: Friday, April 6, 2012 2:13 PM
Subject: RE: learning freebsd kernel



> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of gahn
> Sent: Friday, April 06, 2012 11:05 AM
> To: freebsd general questions
> Subject: learning freebsd kernel
> 
> hi gurus:
> 
> how could i create the core dumps on freebsd kernel? i am trying to create a
> kernel core dump on 8.1 but it didn't happen:
> 
> # sysctl -w debug.kdb.panic=1
> 
> well the system went panic, entered the mode db>. i did "reboot' but there was
> no core/kernel dumps under /var/crash.
> 

Did you set the "dumpdev" directive in /etc/rc.conf?

% grep dumpdev /etc/defaults/rc.conf
dumpdev="NO"            # Device name to crashdump to (or NO).
savecore_flags=""       # Used if dumpdev is enabled above, and present.

You should set the value of dumpdev to your swap device.

You can get this value by executing the following:

awk '$3~/swap/{print $1}' /etc/fstab

Should produce something like "/dev/mfid0s1b" or "da0s1b" or "ada0s1b" or
"ad0s1b" etc. depending on your RELEASE and hardware.

If the output is, for example, "/dev/mfid0s1b", you should add the following to
/etc/rc.conf:

dumpdev="/dev/mfid0s1b"

-- 
Devin


> the customized kernel has those information enabled:
> 
> # Debugging for use in -current
> options KDB # Enable kernel debugger support.
> options DDB # Support DDB.
> options GDB # Support remote GDB.
> 
> user@host:~:$ sysctl -a | grep debug.kdb
> debug.kdb.stop_cpus: 1
> debug.kdb.trap_code: 0
> debug.kdb.trap: 0
> debug.kdb.panic: 0
> debug.kdb.enter: 0
> debug.kdb.current: ddb
> debug.kdb.available: ddb
> 
> 
> 
> by the way, where is my gdb? on one of my company's machisne, it looks like
> this:
> 
> debug.kdb.available: ddb gdb
> 
> thank you all
> 
> /gahn
> ___
> 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"

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.

___
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: learning freebsd kernel

2012-04-06 Thread Devin Teske
> -Original Message-
> From: gahn [mailto:ipfr...@yahoo.com]
> Sent: Friday, April 06, 2012 1:02 PM
> To: Devin Teske; 'freebsd general questions'
> Subject: Re: learning freebsd kernel
> 
> thanks devin for the great tip. yeah, now i got core dumps...:)
> 
> but where is my "gdb" under that "debug.kdb.available"?
> 

I'm not sure I understand the question.

debug.kdb.available shows "ddb" for me

I usually use kgdb(1) for examining kernel core files.
-- 
Devin


> best
> 
> /gahn
> 
> 
> 
> - Original Message -
> From: Devin Teske 
> To: 'gahn' ; 'freebsd general questions'  questi...@freebsd.org>
> Cc:
> Sent: Friday, April 6, 2012 2:13 PM
> Subject: RE: learning freebsd kernel
> 
> 
> 
> > -Original Message-
> > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> > questi...@freebsd.org] On Behalf Of gahn
> > Sent: Friday, April 06, 2012 11:05 AM
> > To: freebsd general questions
> > Subject: learning freebsd kernel
> >
> > hi gurus:
> >
> > how could i create the core dumps on freebsd kernel? i am trying to create a
> > kernel core dump on 8.1 but it didn't happen:
> >
> > # sysctl -w debug.kdb.panic=1
> >
> > well the system went panic, entered the mode db>. i did "reboot' but there
> was
> > no core/kernel dumps under /var/crash.
> >
> 
> Did you set the "dumpdev" directive in /etc/rc.conf?
> 
> % grep dumpdev /etc/defaults/rc.conf
> dumpdev="NO"            # Device name to crashdump to (or NO).
> savecore_flags=""       # Used if dumpdev is enabled above, and present.
> 
> You should set the value of dumpdev to your swap device.
> 
> You can get this value by executing the following:
> 
> awk '$3~/swap/{print $1}' /etc/fstab
> 
> Should produce something like "/dev/mfid0s1b" or "da0s1b" or "ada0s1b" or
> "ad0s1b" etc. depending on your RELEASE and hardware.
> 
> If the output is, for example, "/dev/mfid0s1b", you should add the following
to
> /etc/rc.conf:
> 
> dumpdev="/dev/mfid0s1b"
> 
> --
> Devin
> 
> 
> > the customized kernel has those information enabled:
> >
> > # Debugging for use in -current
> > options KDB # Enable kernel debugger support.
> > options DDB # Support DDB.
> > options GDB # Support remote GDB.
> >
> > user@host:~:$ sysctl -a | grep debug.kdb
> > debug.kdb.stop_cpus: 1
> > debug.kdb.trap_code: 0
> > debug.kdb.trap: 0
> > debug.kdb.panic: 0
> > debug.kdb.enter: 0
> > debug.kdb.current: ddb
> > debug.kdb.available: ddb
> >
> >
> >
> > by the way, where is my gdb? on one of my company's machisne, it looks like
> > this:
> >
> > debug.kdb.available: ddb gdb
> >
> > thank you all
> >
> > /gahn
> > ___
> > 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"
> 
> _
> The information contained in this message is proprietary and/or confidential.
If
> you are not the intended recipient, please: (i) delete the message and all
copies;
> (ii) do not disclose, distribute or use the message in any manner; and (iii)
notify
> the sender immediately. In addition, please be aware that any message
> addressed to our domain is subject to archiving and review by persons other
than
> the intended recipient. Thank you.


_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
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: Token Ring (really)

2012-04-06 Thread mikel king

On Apr 6, 2012, at 1:30 PM, Jay West wrote:

> Well over 20 years experience with FreeBSD, and I was not aware of "Project
> Evil" ;)
> 
> I don't know if my olicom card has NDIS versions of their driver for token
> ring, but if so, that just might work! Still, getting the deprecated oltr
> driver on FreeBSD9 would be awesome
> 
> Jay West
> EZwind.net
> PO Box 460474
> Saint Louis, MO 63146
> Voice: (314) 262-4143 ext 1000
> Toll Free: (866) 343-2589
> Fax: (314) 558-9284
> jw...@ezwind.net
> 

Jay,

What is the last version of FreeBSD that your card was supported on? 
Perhaps it would be worth firing up that older version. I know it's a long shot 
but at least you would have access to the driver code that may actually still 
work in the current version. 

It would certainly make an interesting story if you sort it all out.

Regards,
Mikel King
BSD News Network
http://bsdnews.net
skype: mikel.king
http://twitter.com/mikelking



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


ipfilter mystery

2012-04-06 Thread Fbsd8

Running 9.0 and connecting to Time Warner for the first time.
I have private lan behind my 9.0 box.
I have made a real simple rule set and nat rule just to get log
of what is happing.

ipfilter rules.  dc0 faces lan, fxp0 faces public internet

pass in  log quick on dc0 all
pass out log quick on dc0 all

#pass in quick on fxp0 from 10.2.0.1
pass in  log quick on fxp0 all
pass out log quick on fxp0 all

pass in  quick on lo0 all
pass out quick on lo0 all

nat rule
map fxp0 10.0.10.0/29 -> 0/32

Ipmon log
fxp0 @0:2 p 10.2.0.1,67 -> 255.255.255.255,68 PR udp len 20 328 IN bad 
broadcast
fxp0 @0:2 p 10.2.0.1,67 -> 255.255.255.255,68 PR udp len 20 328 IN bad 
broadcast
fxp0 @0:2 p 10.2.0.1,67 -> 255.255.255.255,68 PR udp len 20 328 IN bad 
broadcast
fxp0 @0:2 p 10.2.0.1,67 -> 255.255.255.255,68 PR udp len 20 328 IN bad 
broadcast
fxp0 @0:2 p 10.2.0.1,67 -> 255.255.255.255,68 PR udp len 20 384 IN bad 
broadcast
fxp0 @0:2 p 10.2.0.1,67 -> 255.255.255.255,68 PR udp len 20 384 IN bad 
broadcast
fxp0 @0:2 p 10.2.0.1,67 -> 255.255.255.255,68 PR udp len 20 328 IN bad 
broadcast

dc0  @0:1 p 10.0.10.1,55884 -> 209.18.47.61,53 PR udp len 20 61 IN
fxp0 @0:2 p 177.99.209.140,55884 -> 209.18.47.61,53 PR udp len 20 61 OUT NAT
fxp0 @0:2 p 209.18.47.61,53 -> 10.0.10.1,55884 PR udp len 20 95 IN bad NAT
dc0  @0:1 p 209.18.47.61,53 -> 10.0.10.1,55884 PR udp len 20 95 OUT bad
dc0  @0:1 p 10.0.10.1,55660 -> 209.18.47.61,53 PR udp len 20 64 IN
fxp0 @0:2 p 177.99.209.140,55660 -> 209.18.47.61,53 PR udp len 20 64 OUT NAT
dc0  @0:1 p 10.0.10.1,51926 -> 209.18.47.61,53 PR udp len 20 62 IN
fxp0 @0:2 p 177.99.209.140,51926 -> 209.18.47.61,53 PR udp len 20 62 OUT NAT
dc0  @0:1 p 10.0.10.1,58697 -> 209.18.47.61,53 PR udp len 20 61 IN
fxp0 @0:2 p 177.99.209.140,58697 -> 209.18.47.61,53 PR udp len 20 61 OUT NAT
fxp0 @0:2 p 209.18.47.61,53 -> 10.0.10.1,55660 PR udp len 20 80 IN bad NAT
dc0  @0:1 p 209.18.47.61,53 -> 10.0.10.1,55660 PR udp len 20 80 OUT bad
dc0  @0:1 p 10.0.10.1,49947 -> 209.18.47.61,53 PR udp len 20 64 IN
fxp0 @0:2 p 177.99.209.140,49947 -> 209.18.47.61,53 PR udp len 20 64 OUT NAT
fxp0 @0:2 p 209.18.47.61,53 -> 10.0.10.1,58697 PR udp len 20 77 IN bad NAT
dc0  @0:1 p 209.18.47.61,53 -> 10.0.10.1,58697 PR udp len 20 77 OUT bad
fxp0 @0:2 p 209.18.47.61,53 -> 10.0.10.1,51926 PR udp len 20 100 IN bad NAT
dc0  @0:1 p 209.18.47.61,53 -> 10.0.10.1,51926 PR udp len 20 100 OUT bad
dc0  @0:1 p 10.0.10.1,49901 -> 209.18.47.61,53 PR udp len 20 63 IN
fxp0 @0:2 p 177.99.209.140,49901 -> 209.18.47.61,53 PR udp len 20 63 OUT NAT
dc0  @0:1 p 10.0.10.1,59865 -> 209.18.47.61,53 PR udp len 20 66 IN
fxp0 @0:2 p 177.99.209.140,59865 -> 209.18.47.61,53 PR udp len 20 66 OUT NAT
fxp0 @0:2 p 209.18.47.61,53 -> 10.0.10.1,59865 PR udp len 20 82 IN bad NAT
dc0  @0:1 p 209.18.47.61,53 -> 10.0.10.1,59865 PR udp len 20 82 OUT bad
dc0  @0:1 p 10.0.10.1,53742 -> 209.18.47.61,53 PR udp len 20 71 IN
fxp0 @0:2 p 177.99.209.140,53742 -> 209.18.47.61,53 PR udp len 20 71 OUT NAT
fxp0 @0:2 p 209.18.47.61,53 -> 10.0.10.1,49947 PR udp len 20 116 IN bad NAT
dc0  @0:1 p 209.18.47.61,53 -> 10.0.10.1,49947 PR udp len 20 116 OUT bad
fxp0 @0:2 p 209.18.47.61,53 -> 10.0.10.1,49901 PR udp len 20 99 IN bad NAT
dc0  @0:1 p 209.18.47.61,53 -> 10.0.10.1,49901 PR udp len 20 99 OUT bad
fxp0 @0:2 p 209.18.47.61,53 -> 10.0.10.1,53742 PR udp len 20 120 IN bad NAT
dc0  @0:1 p 209.18.47.61,53 -> 10.0.10.1,53742 PR udp len 20 120 OUT bad
fxp0 @0:2 p 10.2.0.1,67 -> 255.255.255.255,68 PR udp len 20 328 IN bad 
broadcast

dc0  @0:1 p 10.0.10.1,1320 -> 69.147.83.34,80 PR tcp len 20 48 -S IN
fxp0 @0:2 p 177.99.209.140,1320 -> 69.147.83.34,80 PR tcp len 20 48 -S 
OUT NAT


10.0.10.1 is the laptop in the lan.
10.2.0.1 is being sent by time warner
I can not understand why I am getting the "IN bad NAT"

The webpage loaded ok on the lan laptop.

I have been using ipfilter since release 3.2 and this is the first isp
i ever got this kind of problem with.


___
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: learning freebsd kernel

2012-04-06 Thread gahn
thanks devin:

what i meant was that one of my company's servers looks like this:

debug.kdb.available: ddb gdb


i am just wondering why that is...

best

/gahn



- Original Message -
From: Devin Teske 
To: 'gahn' ; 'freebsd general questions' 

Cc: 
Sent: Friday, April 6, 2012 4:13 PM
Subject: RE: learning freebsd kernel

> -Original Message-
> From: gahn [mailto:ipfr...@yahoo.com]
> Sent: Friday, April 06, 2012 1:02 PM
> To: Devin Teske; 'freebsd general questions'
> Subject: Re: learning freebsd kernel
> 
> thanks devin for the great tip. yeah, now i got core dumps...:)
> 
> but where is my "gdb" under that "debug.kdb.available"?
> 

I'm not sure I understand the question.

debug.kdb.available shows "ddb" for me

I usually use kgdb(1) for examining kernel core files.
-- 
Devin


> best
> 
> /gahn
> 
> 
> 
> - Original Message -
> From: Devin Teske 
> To: 'gahn' ; 'freebsd general questions'  questi...@freebsd.org>
> Cc:
> Sent: Friday, April 6, 2012 2:13 PM
> Subject: RE: learning freebsd kernel
> 
> 
> 
> > -Original Message-
> > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> > questi...@freebsd.org] On Behalf Of gahn
> > Sent: Friday, April 06, 2012 11:05 AM
> > To: freebsd general questions
> > Subject: learning freebsd kernel
> >
> > hi gurus:
> >
> > how could i create the core dumps on freebsd kernel? i am trying to create a
> > kernel core dump on 8.1 but it didn't happen:
> >
> > # sysctl -w debug.kdb.panic=1
> >
> > well the system went panic, entered the mode db>. i did "reboot' but there
> was
> > no core/kernel dumps under /var/crash.
> >
> 
> Did you set the "dumpdev" directive in /etc/rc.conf?
> 
> % grep dumpdev /etc/defaults/rc.conf
> dumpdev="NO"            # Device name to crashdump to (or NO).
> savecore_flags=""       # Used if dumpdev is enabled above, and present.
> 
> You should set the value of dumpdev to your swap device.
> 
> You can get this value by executing the following:
> 
> awk '$3~/swap/{print $1}' /etc/fstab
> 
> Should produce something like "/dev/mfid0s1b" or "da0s1b" or "ada0s1b" or
> "ad0s1b" etc. depending on your RELEASE and hardware.
> 
> If the output is, for example, "/dev/mfid0s1b", you should add the following
to
> /etc/rc.conf:
> 
> dumpdev="/dev/mfid0s1b"
> 
> --
> Devin
> 
> 
> > the customized kernel has those information enabled:
> >
> > # Debugging for use in -current
> > options KDB # Enable kernel debugger support.
> > options DDB # Support DDB.
> > options GDB # Support remote GDB.
> >
> > user@host:~:$ sysctl -a | grep debug.kdb
> > debug.kdb.stop_cpus: 1
> > debug.kdb.trap_code: 0
> > debug.kdb.trap: 0
> > debug.kdb.panic: 0
> > debug.kdb.enter: 0
> > debug.kdb.current: ddb
> > debug.kdb.available: ddb
> >
> >
> >
> > by the way, where is my gdb? on one of my company's machisne, it looks like
> > this:
> >
> > debug.kdb.available: ddb gdb
> >
> > thank you all
> >
> > /gahn
> > ___
> > 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"
> 
> _
> The information contained in this message is proprietary and/or confidential.
If
> you are not the intended recipient, please: (i) delete the message and all
copies;
> (ii) do not disclose, distribute or use the message in any manner; and (iii)
notify
> the sender immediately. In addition, please be aware that any message
> addressed to our domain is subject to archiving and review by persons other
than
> the intended recipient. Thank you.


_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.

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


Problems with openjdk6 in Freebsd 9.0.. solved

2012-04-06 Thread Scott Ballantyne
Another little problem in 9.0 is building openjdk6. Should anyone else
get this message while compiling:

Unable to load ZIP library: /usr/local/diablo-jrel.6.0/lib/amd64/libzip.so

or something similar, adding

libz.so.4 libz.so.5

to /etc/libmap.conf seems to solve it.

Have a nice day :)
Scott
-- 
s...@ssr.com

___
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: how often to update ports?

2012-04-06 Thread Daniel Staal
--As of March 30, 2012 4:31:49 PM -0400, Aleksandr Miroslav is alleged to 
have said:



So I'm curious, how often do you keep your ports update, and what are
the reasons for doing so?


--As for the rest, it is mine.

I do my home server on a monthly schedule, unless I see something come up 
in portaudit.  I find it easier to keep roughly up to date, and that's a 
convient timeframe.  It's also how often I go on call at work, so I have a 
reminder.  ;)


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
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: Token Ring (really)

2012-04-06 Thread Jay West
Well, found the XP drivers for the card (it's a Madge Smart MK4 PCI adapter,
not olicom as I thought).

Ndisgen seemed to work fine

After kldloading the resulting module, ifconfig shows:
ndis0: flags=8843 metric 0 mtu 1500
ether 00:00:00:ee:ed:c6
media: Ethernet autoselect (100baseTX)
status: no carrier

It is connected though (via DB9, not RJ45). I don't see how you can specify
4mbps or 16mbps, attempting the oltr media types for example "UTP/4mbps"
says no such media type.

I am wondering if the ndisgen utility is only designed for ndis Ethernet
cards instead of my case - ndis token ring. :(


Jay West
EZwind.net
PO Box 460474
Saint Louis, MO 63146
Voice: (314) 262-4143 ext 1000
Toll Free: (866) 343-2589
Fax: (314) 558-9284
jw...@ezwind.net


This e-mail transmission may contain information that is proprietary,
privileged and/or confidential
and is intended exclusively for the person(s) to whom it is addressed. Any
use, copying, retention
or disclosure by any person other than the intended recipient or the
intended recipient's designees
is strictly prohibited. If you are not the intended recipient or their
designee, please notify the
sender immediately by return e-mail and delete all copies.

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of mikel king
Sent: Friday, April 06, 2012 2:46 PM
To: Jay West
Cc: freebsd-questions@freebsd.org
Subject: Re: Token Ring (really)


On Apr 6, 2012, at 1:30 PM, Jay West wrote:

> Well over 20 years experience with FreeBSD, and I was not aware of 
> "Project Evil" ;)
> 
> I don't know if my olicom card has NDIS versions of their driver for 
> token ring, but if so, that just might work! Still, getting the 
> deprecated oltr driver on FreeBSD9 would be awesome
> 
> Jay West
> EZwind.net
> PO Box 460474
> Saint Louis, MO 63146
> Voice: (314) 262-4143 ext 1000
> Toll Free: (866) 343-2589
> Fax: (314) 558-9284
> jw...@ezwind.net
> 

Jay,

What is the last version of FreeBSD that your card was supported on?
Perhaps it would be worth firing up that older version. I know it's a long
shot but at least you would have access to the driver code that may actually
still work in the current version. 

It would certainly make an interesting story if you sort it all out.

Regards,
Mikel King
BSD News Network
http://bsdnews.net
skype: mikel.king
http://twitter.com/mikelking



___
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: Token Ring (really)

2012-04-06 Thread Adam Vande More
On Fri, Apr 6, 2012 at 9:27 PM, Jay West  wrote:

> Well, found the XP drivers for the card (it's a Madge Smart MK4 PCI
> adapter,
> not olicom as I thought).
>
> Ndisgen seemed to work fine
>
> After kldloading the resulting module, ifconfig shows:
> ndis0: flags=8843 metric 0 mtu 1500
>ether 00:00:00:ee:ed:c6
>media: Ethernet autoselect (100baseTX)
>status: no carrier
>
> It is connected though (via DB9, not RJ45). I don't see how you can specify
> 4mbps or 16mbps, attempting the oltr media types for example "UTP/4mbps"
> says no such media type.
>
> I am wondering if the ndisgen utility is only designed for ndis Ethernet
> cards instead of my case - ndis token ring. :(
>

It is still in the 7.x branch:
http://svnweb.freebsd.org/base/stable/7/sys/contrib/dev/oltr/

Otherwise, it's time to abandon steamships for airplanes.  Sounds like you
have a primed business opportunity just waiting to be exploited.

-- 
Adam Vande More
___
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"


xfburn and k3b on FreeBSD9.0-RELEASE can't find LITE-ON DVDRW

2012-04-06 Thread Jeff Tipton

Hi,

I can't get any GUI tool working with my LITE-ON DVDRW SHW-160P6S (IDE) 
on 9.0-RELEASE (packages and ports tree are in sync from the release date).


atapicam is compiled in GENERIC kernel now, so no need for this module.

I recompiled cdrtools, dvd+rw-tools, and hal.

cdrecord works after that (tried to blank some CDs and burn some ISOs).

But xfburn crashes:
(process:6957): GLib-WARNING **: goption.c:2132: ignoring no-arg, 
optional-arg or filename flags (8) on option of type 0


(process:6957): GLib-WARNING **: goption.c:2132: ignoring no-arg, 
optional-arg or filename flags (8) on option of type 0

** Message: Using Thunar-VFS 1.2.0
** Message: Using HAL
xfburn: error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device
xfburn: error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device
xfburn: error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device

** ERROR **: Device address does not lead to a burner '/dev/cd0' (ret=0).
aborting...

[1]Abort xfburn (core dumped)

Exactly the same result when run as root.

k3b starts but shows a warning message in a popup window:
No optical drive found.
K3b did not find any optical device in your system.
Solution: Make sure HAL daemon is running, it is used by K3b for finding 
devices.


Of course, HAL is running.

brasero starts ok and doesn't complain at all; it just doesn't show any 
devices.


camcontrol devlist output:

 at scbus0 target 0 lun 0 (pass0,ada0)
 at scbus0 target 1 lun 0 (pass1,ada1)
at scbus1 target 0 lun 0 (cd0,pass2)

This is what I tried to set to make it work:

/etc/devfs.conf:
# CDROM
own cd0 root:operator
perm cd0 0660

own pass2  root:operator
permpass2  0666

own xpt0   root:operator
permxpt0   0666

/etc/devfs.rules:
[system=5]
#CD/DVD
add path 'cd*' mode 0666 group operator
add path 'pass*' mode 0666 group operator
add path 'xpt*' mode 0666 group operator

/etc/rc.conf:
devfs_system_ruleset="system"

No CD-related entries in /etc/fstab.
Added myself to the operator group.
SUID flags:
ll /usr/local/bin | grep cdr
-rws--x---   1 root  operator578088 Dec  3 02:30 cdrdao
-rws--x---   1 root  operator402768 Feb 22 15:33 cdrecord
-rws--x---   1 root  operator136428 Dec  3 10:08 cdrskin

Permissions on /dev files:
#ll /dev |grep cd
crw-rw  1 rootoperator 0,  91 Apr  6 15:18 cd0
# ll /dev | grep pass
crw-rw  1 rootoperator 0,  83 Apr  6 15:18 pass0
crw-rw  1 rootoperator 0,  84 Apr  6 15:18 pass1
crw-rw  1 rootoperator 0,  85 Apr  6 15:18 pass2
# ll /dev | grep xpt
crw-rw  1 rootoperator 0,  68 Apr  6 15:18 xpt0

# sysctl hw.ata.atapi_dma
hw.ata.atapi_dma: 1

What could be wrong?
___
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"