Re: reboot after panic: ufs_dirbad: /var...

2009-08-14 Thread Roland Smith
On Thu, Aug 13, 2009 at 09:26:56PM -0400, B. Cook wrote:

 [/etc/defaults]# 2  grep dumpdev *
 rc.conf:dumpdev=AUTO # Device to crashdump to (device name, AUTO, 
 or NO).
 rc.conf:savecore_flags= # Used if dumpdev is enabled above, and present.

Those are the defaults. Do you have anything in /etc/rc.conf? NB: don't edit
/etc/defaults/rc.conf!
 
 I will set it to NO and try rebooting it.
 
 Would AUTO cause it to write to the same fs that has the crash?

It is supposed to use a swap partition.

 What does this mean? Other than the obvious.. is there something useful
 that I could glean from vmcore.15 ?

Run the core files through kgdb(1), and see where the crash ocurred. Does it
always occur in the same spot?

 [/var/crash]# 22  cat info.15
 Dump header from device /dev/mirror/gm0s1b
   Architecture: i386
   Architecture Version: 2
   Dump Length: 177184768B (168 MB)
   Blocksize: 512
   Dumptime: Thu Aug 13 09:14:44 2009
   Hostname: gameface
   Magic: FreeBSD Kernel Dump
   Version String: FreeBSD 7.2-RELEASE #0: Wed May 20 16:56:48 EDT 2009
 r...@gameface:/usr/obj/usr/src/sys/GENERICplus
   Panic String: ufs_dirbad: /var: bad dir ino 3485849 at offset 3584:
 mangled entry
   Dump Parity: 2197692492
   Bounds: 15
   Dump Status: good

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpTy7Gl6NS55.pgp
Description: PGP signature


Re: boot sector f*ed

2009-08-14 Thread Ian Smith
On Thu, 13 Aug 2009, PJ wrote:
  Subject: Re: boot sector f*ed
  
  Roland Smith wrote:
   On Wed, Aug 12, 2009 at 03:54:31PM -0400, PJ wrote:
 
   Well, I've been looking at the disk(s) and I have found some interesting
   shei**e that doesn't make sense.
   1. The fbsd minimal installation that I had set up for recovery of the
   previous crash does not boot... Now, why in Hades is that? I hadn't
   touched the disk since last using it to look at the corrupted disk
   through an usb connection. The current crashed installetion was done
   afterwards and the only change was in the bios to set the boot disk to
   the new installation. The installation was finally completed with all
   the programs working fine... and then BOOM!
   2. I tried booting from all the disks on the machine (4 disks) and only
   the current crashed one booted!... so, it's not the boot sector at
   all... something is screwy on this machine; either the motherboard is
   buggered (which I doubt, but not entirely), the disks are finished or
   theres some kind of gremlin lurking in the confines of the box.
   
  
   This sounds more and more like hardware troubles. 

Indeed it does, more and more since.

   A few things to check (in order of decreasing likelyness IMHO):
   - Cables to the harddisks: Make sure they are properly connected. A 
   machine of
 mine suddenly started getting disk read errors after I put in another
 graphics card. It turned out that the SATA connector to that drive had 
   come
 partially loose.
   - Powersupply: check the voltages (preferably under load) with a monitoring
 app like mbmon. If that's not possible, check in the BIOS. A failing
 powersupply can give weird unreproducable errors. If you have ever heard 
   a
 popping noise from the machine it could be a short in the powersupply 
   caused
 by dust. I've seen that fry motherboards.
   - PCI cards: check that they are seated properly. Although in this case I'd
 say this seems the least likely.

I usually bet first on the power supply .. but it's not my money :)

  I apologize for the lengthy explanation below, but perhaps it will give
  some insight on what is see from this end:

Chomping heavily; some useful background but a bit much, no disrespect.

  machine. The troubles began when I tried to install flashplayer on the
  7.1 machine.

Or could be a hardware issue that became evident around the same time?

  bash4 and fluxbox for X. Everything seemed to work fine. I ran all the
  programs and saw that all the files I had recovered from the crash were
  recovered and working. Man, was I ever happy!
  I shut down for the night and looked forward to getting bask to normal
  development of my current projects.
  In the morning, I boot up and WHAM!... the system is f**cked. And so am I.

Have you tried swapping the power supply?  I assume you've swapped the
cables, removed cleaned and replaced cards, checked CPU temperature etc?

  Now, the problem is that it is imperative to be able to figure out what
  exactly is going on.  Well, the problem with that is that I do not seem
  to be in a position to do what is required. For one thing, I do not know
  how I can save testing output to an external file when I am working on a
  temporary shell on the problem machine. Perhaps you could indicate what
  I should be doing or where to look for information.

Steve Bertrand has most recently addressed those issues, good advice, 
especially don't panic :)

  Another problem is rather a strange quirk or I don't know what - The
  problems I am having are on two very similar machines: 1 is a MSI 6758
  875P NeoFisr motherboard running on a Pentium 3.0ghz CPU; the other is
  the identical board with a Pentium 2.4ghz CPU. The strange thing is that
  even with identical bios, the bios does not act the same on both
  machines. The final install that was so promising was on the 2.4 ghz
  machine. Except for being somewhat slower (I find it rather slow
  compared to the the 3ghz, but maybe that's normal) it always worked
  without problems.

Have you tried putting the HD from the problem 2.4GHz machine in the 
3GHz box, to see if it behaves properly there?  Have you tried running 
various hardware diagnostic programs over the flakey box?  Overnight 
memtesting can reveal other problems even if memory is fine.  There are 
quite a few diagnostic CDs around; some boot some Linux, some DOS even, 
it doesn't really matter if they can prove/disprove the hardware.

  anyway - I tried booting a minimal installation on the 2.4ghz machine
  from a disk that was set up before the crashed disk was installed and
  that boot did not work... there was no reason for it to not work... all

Smells like flakey hardware .. intermittent, inexplicable glitches.  It 
might survive hours on one workload, minutes on another, no sense to it?

  All that I am seeing is that there is either a problem with the bios
  (which I even reinstalled and that changed 

Re: boot sector f*ed

2009-08-14 Thread Polytropon
On Fri, 14 Aug 2009 13:41:48 +1000 (EST), Ian Smith smi...@nimnet.asn.au 
wrote:
 Smells like flakey hardware .. intermittent, inexplicable glitches.  It 
 might survive hours on one workload, minutes on another, no sense to it?

I could guess defective RAM here... I suggest running memtest for some
hours, just to be sure.

It's really a bad situation when you're searching for a software
problem when there's none, instead it is explainable by a hardware
problem.



 Sometimes, quite often in fact, I've found just disassembling, thorough 
 cleaning, fresh heatsink paste maybe, and reassembly solves many issues, 
 without ever knowing what exactly did the trick.  Life's like that .. 

This is called doing nothing. :-) From my own experience, if sometimes
really works.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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[2]: Kernel panic

2009-08-14 Thread Коньков Евгений
Здравствуйте, Mel.

Вы писали 12 августа 2009 г., 19:59:39:

MF On Wednesday 12 August 2009 08:01:07 Коньков Евгений wrote:
 Aug 12 15:59:08 host savecore: reboot after panic: integer divide fault
 Aug 12 15:59:08 host savecore: writing core to vmcore.4

 How to obtain which process cause system to reboot?

MF kgdb /boot/kernel/kernel /var/crash/vmcore.4

kes# kgdb /boot/kernel/kernel /var/crash/vmcore.4
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...
Cannot access memory at address 0x0
(kgdb)


-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

___
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 slow on Toshiba A305 SP6926A

2009-08-14 Thread George Liaskos
Try the following options in your Device section:

Option  AccelMethod   EXA
Option  MigrationHeuristicgreedy

On Fri, Aug 14, 2009 at 3:51 AM, Leonardo M. Ramé martinr...@yahoo.com wrote:

 Hi, I installed 7.2 amd64 on a Toshiba Satellite A305 SP6926A and it looks 
 like Xorg is too slow on this machine. Does anyone have this notebook, can 
 share its xorg.conf?

 uname -a
 FreeBSD toshiba-leo.localhost.localdomain 7.2-STABLE-200906 FreeBSD 
 7.2-STABLE-200906 #0: Sun Jun  7 10:23:49 UTC 2009     
 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

 /etc/rc.conf
 keymap=spanish.iso.acc
 sshd_enable=YES
 # -- sysinstall generated deltas -- # Thu Aug 13 12:05:46 2009
 ifconfig_re0=DHCP
 hostname=toshiba-leo.localhost.localdomain
 hald_enable=YES
 dbus_enable=YES


 xorg.conf

 Section ServerLayout
        Identifier     X.org Configured
        Screen      0  Screen0 0 0
        InputDevice    Mouse0 CorePointer
        InputDevice    Keyboard0 CoreKeyboard
 EndSection

 Section Files
        ModulePath   /usr/local/lib/xorg/modules
        FontPath     /usr/local/lib/X11/fonts/misc/
        FontPath     /usr/local/lib/X11/fonts/TTF/
        FontPath     /usr/local/lib/X11/fonts/OTF
        FontPath     /usr/local/lib/X11/fonts/Type1/
        FontPath     /usr/local/lib/X11/fonts/100dpi/
        FontPath     /usr/local/lib/X11/fonts/75dpi/
 EndSection

 Section Module
        Load  dbe
        Load  dri
        Load  dri2
        Load  extmod
        Load  glx
        Load  record
 EndSection

 Section InputDevice
        Identifier  Keyboard0
        Driver      kbd
 EndSection

 Section InputDevice
        Identifier  Mouse0
        Driver      mouse
        Option      Protocol auto
        Option      Device /dev/sysmouse
        Option      ZAxisMapping 4 5 6 7
 EndSection

 Section Monitor
        Identifier   Monitor0
        VendorName   Monitor Vendor
        ModelName    Monitor Model
 EndSection

 Section Device
        ### Available Driver options are:-
        ### Values: i: integer, f: float, bool: True/False,
        ### string: String, freq: f Hz/kHz/MHz
        ### [arg]: arg optional
        #Option     NoAccel                   # [bool]
        #Option     SWcursor                  # [bool]
        #Option     ColorKey                  # i
        #Option     CacheLines                # i
        #Option     Dac6Bit                   # [bool]
        Option     DRI                        # [bool]
        #Option     NoDDC                     # [bool]
        #Option     ShowCache                 # [bool]
        #Option     XvMCSurfaces              # i
        #Option     PageFlip                  # [bool]
        Identifier  Card0
        Driver      intel
        VendorName  Intel Corporation
        BoardName   Mobile 4 Series Chipset Integrated Graphics Controller
        BusID       PCI:0:2:0
 EndSection

 Section Screen
        Identifier Screen0
        Device     Card0
        Monitor    Monitor0
        SubSection Display
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection Display
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection Display
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection Display
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection Display
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection Display
                Viewport   0 0
                Depth     24
        EndSubSection
 EndSection




 Leonardo M. Ramé
 http://leonardorame.blogspot.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
___
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


Userland PPP fails to load via rc.conf (7.2/amd64)

2009-08-14 Thread Alex R

Hi Guys,

I ran into the same problem as this person did (see the link below):

http://www.mail-archive.com/freebsd-...@freebsd.org/msg24337.html

ppp starts fine if invoked from shell prompt, however the problem above 
occurs for me when I attempt to start it automatically at boot via 
/etc/rc.conf


Funnily enough, the solution presented in that article seems to fix the 
issue.. But why? This problem is very easy to reproduce, how could it 
have been overlooked? I just happened to find the article in the link 
above, out of desperation, it's not good that I had to Google for a 
solution.


Is the solution given safe? Should I open a PR?

Alex

___
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: Managing encrypted disks

2009-08-14 Thread Modulok
[snip]
 What I'd like to know, is if it's possible to somehow check to see if
 there are any GELI 'attach'ed disks on a given system that have not yet
 been mounted (or, iow, were umount'd, but were left attached).

 #dmesg doesn't say much in this regard, and I couldn't find out by
 listing /dev either.

 Any tricks to find out what GELI knows? I want to automate everything
 except the insertion of the keys, which will always be manual. Knowing
 how to identify what is attached but not mounted would be a good start.
[/snip]

Steve,

If there are no /dev/*.eli devices listed, then there are no geli
providers attached. You can also check the output of the 'geli list'
and 'geli status' commands. If they return nothing, no providers are
attached, otherwise they'll list the providers and algorithms/key
sizes used and so forth.

-Modulok-
___
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: boot sector f*ed

2009-08-14 Thread Michael Powell
Ian Smith wrote:
[snip]
 
 Smells like flakey hardware .. intermittent, inexplicable glitches.  It
 might survive hours on one workload, minutes on another, no sense to it?
 
   All that I am seeing is that there is either a problem with the bios
   (which I even reinstalled and that changed nothing in the functioning)
   or something is going on with the OS.
 
 After you've thoroughly proven the hardware is AOK under sustained and
 varied pressure, then you can suspect software issues - which tend to be
 far more consistent and repeatable - but if the hardware's acting flakey
 then you likely won't see any consistency in software issues, which does
 seem to concur with your descriptions to date.


In my experience, hardware problems can quite possibly show little pattern 
to where and when in the usage of said machine they cause the box to flake. 
One that is malfunctioning all the time is relatively easy to find. 

The intermittent is the bane of all troubleshooting. I hate the intermittent 
more than I hate anything. One pattern an intermittent will show is 
eventually as the bad part gets worse the period between flakes will get 
shorter, and ultimately at some point die completely. Initially the period 
can be quite large so proper troubleshooting is difficult as you can't 
troubleshoot during the 'in between' when it's not malfunctioning.

I also have an 80/20 rule about hardware as to whether it is a hot or cold 
failure. The 80% part is that most hardware problems occur when very dense 
VLSI chips heat up. So a machine may not show any problem until it's been 
powered up for a while. The other 20% is the cold start. Turn the box on and 
there is immediately some kind of problem early on in the course of booting. 
Leave it powered on, walk away for 20 minutes to get a coffee, and reset it 
after it's had a chance to warm up and now it works fine the rest of the 
day. These patterns are indicative of a typical pattern in hardware trouble 
behavior.

A software error, on the other hand, most of the time shows itself as a well 
defined repeatable sequence of steps that cause the problem every time the 
sequence is executed. This can also usually be easily reproduced by others 
running the same, or similar enough, platform(s) by executing said sequence. 
This can get quite sticky as even the BIOS code is software! Bad buggy BIOS 
code having a bad reaction to the compiled boot loader binary, even though 
probably quite rare, is not totally outside the realm of possibility.   

Somewhere very near the root of the geometric logic tree of troubleshooting 
you need to be able to drive a wedge between hardware and software in a 
divide and conquer kind of way. Making any arbitrary assumptions as to which 
side is the problem early on will blind the troubleshooter to avenues of 
hypothesis this and test that. Assume that the hardware is 100% OK so it 
must be a software problem without proof is a mistake, and vice versa.

And it might be as simple as installing another OS such as a Linux distro or 
Windows to the box. If it is truly a hardware problem it may continue to 
malfunction and cause trouble no matter what the choice of OS. Or it may 
not, as sometimes buggy hardware design failures are compensated for with 
workarounds in drivers, thus hiding the flaw. It's the old 'have a insert 
brand name box with xyz hardware' with a known problem and the fix is to 
download and install insert brand name driver revision such and such from 
the OEM.

Since these kinds of things are not generally propagated far and wide an OS 
such as FreeBSD may not be privy to such bad hardware details. Sometimes the 
developers do incorporate hacks for hardware. If you can accurately identify 
such a situation the most likely way to get it fixed for the long run is to 
file a proper PR. If done well enough and it catches the eye of a dev who 
may be interested and actually possess the piece of hardware a workaround 
may get coded and become a part of FreeBSD.

Just a lot of generalizations here. As always, there is the YMMV clause. :-)
 
[snip]

-Mike


___
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: Partions per slice limitation removed?

2009-08-14 Thread Vincent Hoffman
Mak Kolybabi wrote:
 On 2009-08-13 13:41, Doug Poland wrote:
   
 I thought I recalled reading, within the last few months, that there is no
 longer a 8 partition/slice limitation in FreeBSD. I've been googling and
 reading man pages to verify that but cannot find any documentation to support
 it. Was I dreaming?
 

 (Forgot to send this reply to the list the first time, not just the OP.)

 No, you were not dreaming. When in doubt, check the source. From
 head/sbin/bsdlabel/bsdlabel.c [1]:

 Allow bsdlabel to operate on labels that have at most 26 partitions by virtue
 of there not being any (lower-case) letters avaliable for more partitions.

 [1] http://svn.freebsd.org/viewvc/base?view=revisionrevision=174501

   
Indeed and from http://ivoras.sharanet.org/freebsd/freebsd8.html (a
reasonably complete list of whats comming in 8.0) it says

bsdlabel gets extended to 26 partitions

Status: Committed to -CURRENT
Will appear in 8.0: sure
Author: Marcel Moolenaar
web: http://lists.freebsd.org/pipermail/cvs-src/2007-December/084949.html

bsdlabel is (finally!) extended to support more than 8 partitions. The
new limit of 26 partitions comes from the number of lower-case letters.

To make use of this change, GEOM_PART needs to be used instead of
GEOM_BSD (this requires custom kernel configurations).


Vince
 --
 Matthew Anthony Kolybabi (Mak)
 m...@kolybabi.com

 () ASCII Ribbon Campaign | Against HTML e-mail
 /\  www.asciiribbon.org  | Against proprietary extensions

 ___
 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: Userland PPP fails to load via rc.conf (7.2/amd64)

2009-08-14 Thread Ruben de Groot
On Fri, Aug 14, 2009 at 06:20:00PM +1000, Alex R typed:
 Hi Guys,
 
 I ran into the same problem as this person did (see the link below):
 
 http://www.mail-archive.com/freebsd-...@freebsd.org/msg24337.html
 
 ppp starts fine if invoked from shell prompt, however the problem above 
 occurs for me when I attempt to start it automatically at boot via 
 /etc/rc.conf
 
 Funnily enough, the solution presented in that article seems to fix the 
 issue.. But why? This problem is very easy to reproduce, how could it 
 have been overlooked? I just happened to find the article in the link 
 above, out of desperation, it's not good that I had to Google for a 
 solution.

What's the output of the command

ldd `which su`

?

 Is the solution given safe? Should I open a PR?
 
 Alex
 
 ___
 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: Xorg slow on Toshiba A305 SP6926A

2009-08-14 Thread Leonardo M . Ramé
Thanks George, that worked!.

Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Fri, 8/14/09, George Liaskos geo.lias...@gmail.com wrote:

 From: George Liaskos geo.lias...@gmail.com
 Subject: Re: Xorg slow on Toshiba A305 SP6926A
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Friday, August 14, 2009, 4:13 AM
 Try the following options in your
 Device section:
 
 Option       
 AccelMethod        EXA
 Option       
 MigrationHeuristic    greedy
 
 On Fri, Aug 14, 2009 at 3:51 AM, Leonardo M. Ramé martinr...@yahoo.com
 wrote:
 
  Hi, I installed 7.2 amd64 on a Toshiba Satellite A305
 SP6926A and it looks like Xorg is too slow on this machine.
 Does anyone have this notebook, can share its xorg.conf?
 
  uname -a
  FreeBSD toshiba-leo.localhost.localdomain
 7.2-STABLE-200906 FreeBSD 7.2-STABLE-200906 #0: Sun Jun  7
 10:23:49 UTC 2009     
 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
  amd64
 
  /etc/rc.conf
  keymap=spanish.iso.acc
  sshd_enable=YES
  # -- sysinstall generated deltas -- # Thu Aug 13
 12:05:46 2009
  ifconfig_re0=DHCP
  hostname=toshiba-leo.localhost.localdomain
  hald_enable=YES
  dbus_enable=YES
 
 
  xorg.conf
 
  Section ServerLayout
         Identifier     X.org Configured
         Screen      0  Screen0 0 0
         InputDevice    Mouse0 CorePointer
         InputDevice    Keyboard0
 CoreKeyboard
  EndSection
 
  Section Files
         ModulePath  
 /usr/local/lib/xorg/modules
         FontPath    
 /usr/local/lib/X11/fonts/misc/
         FontPath    
 /usr/local/lib/X11/fonts/TTF/
         FontPath    
 /usr/local/lib/X11/fonts/OTF
         FontPath    
 /usr/local/lib/X11/fonts/Type1/
         FontPath    
 /usr/local/lib/X11/fonts/100dpi/
         FontPath    
 /usr/local/lib/X11/fonts/75dpi/
  EndSection
 
  Section Module
         Load  dbe
         Load  dri
         Load  dri2
         Load  extmod
         Load  glx
         Load  record
  EndSection
 
  Section InputDevice
         Identifier  Keyboard0
         Driver      kbd
  EndSection
 
  Section InputDevice
         Identifier  Mouse0
         Driver      mouse
         Option      Protocol auto
         Option      Device /dev/sysmouse
         Option      ZAxisMapping 4 5 6 7
  EndSection
 
  Section Monitor
         Identifier   Monitor0
         VendorName   Monitor Vendor
         ModelName    Monitor Model
  EndSection
 
  Section Device
         ### Available Driver options are:-
         ### Values: i: integer, f:
 float, bool: True/False,
         ### string: String, freq:
 f Hz/kHz/MHz
         ### [arg]: arg optional
         #Option     NoAccel            
       # [bool]
         #Option     SWcursor            
      # [bool]
         #Option     ColorKey            
      # i
         #Option     CacheLines          
      # i
         #Option     Dac6Bit            
       # [bool]
         Option     DRI                
        # [bool]
         #Option     NoDDC              
       # [bool]
         #Option     ShowCache            
     # [bool]
         #Option     XvMCSurfaces          
    # i
         #Option     PageFlip            
      # [bool]
         Identifier  Card0
         Driver      intel
         VendorName  Intel Corporation
         BoardName   Mobile 4 Series Chipset
 Integrated Graphics Controller
         BusID       PCI:0:2:0
  EndSection
 
  Section Screen
         Identifier Screen0
         Device     Card0
         Monitor    Monitor0
         SubSection Display
                 Viewport   0 0
                 Depth     1
         EndSubSection
         SubSection Display
                 Viewport   0 0
                 Depth     4
         EndSubSection
         SubSection Display
                 Viewport   0 0
                 Depth     8
         EndSubSection
         SubSection Display
                 Viewport   0 0
                 Depth     15
         EndSubSection
         SubSection Display
                 Viewport   0 0
                 Depth     16
         EndSubSection
         SubSection Display
                 Viewport   0 0
                 Depth     24
         EndSubSection
  EndSection
 
 
 
 
  Leonardo M. Ramé
  http://leonardorame.blogspot.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
 



___
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: Userland PPP fails to load via rc.conf (7.2/amd64)

2009-08-14 Thread Alex R

Hi Ruben,

Output is as follows:

/usr/bin/su:
   libutil.so.7 = /lib/libutil.so.7 (0x800635000)
   libpam.so.4 = /usr/lib/libpam.so.4 (0x800744000)
   libbsm.so.2 = /usr/lib/libbsm.so.2 (0x80084c000)
   libc.so.7 = /lib/libc.so.7 (0x800962000)


Ruben de Groot wrote:

On Fri, Aug 14, 2009 at 06:20:00PM +1000, Alex R typed:
  

Hi Guys,

I ran into the same problem as this person did (see the link below):

http://www.mail-archive.com/freebsd-...@freebsd.org/msg24337.html

ppp starts fine if invoked from shell prompt, however the problem above 
occurs for me when I attempt to start it automatically at boot via 
/etc/rc.conf


Funnily enough, the solution presented in that article seems to fix the 
issue.. But why? This problem is very easy to reproduce, how could it 
have been overlooked? I just happened to find the article in the link 
above, out of desperation, it's not good that I had to Google for a 
solution.



What's the output of the command

ldd `which su`

?

  

Is the solution given safe? Should I open a PR?

Alex

___
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: Userland PPP fails to load via rc.conf (7.2/amd64)

2009-08-14 Thread Alex R
There are also some interesting responses in comp.unix.bsd.freebsd.misc 
about this (I opened a thread there too).


___
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: Userland PPP fails to load via rc.conf (7.2/amd64)

2009-08-14 Thread Ruben de Groot
On Fri, Aug 14, 2009 at 09:49:48PM +1000, Alex R typed:
 Hi Ruben,
 
 Output is as follows:
 
 /usr/bin/su:
libutil.so.7 = /lib/libutil.so.7 (0x800635000)
libpam.so.4 = /usr/lib/libpam.so.4 (0x800744000)
libbsm.so.2 = /usr/lib/libbsm.so.2 (0x80084c000)
libc.so.7 = /lib/libc.so.7 (0x800962000)

That's normal. Shall I take a guess?

You changed root's shell to bash!
bash uses libintl, and will be invoked by the su -m $ppp_user in
/etc/rc.d/ppp

Yet another good reason not to change root's default shell :D

cheers,
Ruben

 Ruben de Groot wrote:
 On Fri, Aug 14, 2009 at 06:20:00PM +1000, Alex R typed:
   
 Hi Guys,
 
 I ran into the same problem as this person did (see the link below):
 
 http://www.mail-archive.com/freebsd-...@freebsd.org/msg24337.html
 
 ppp starts fine if invoked from shell prompt, however the problem above 
 occurs for me when I attempt to start it automatically at boot via 
 /etc/rc.conf
 
 Funnily enough, the solution presented in that article seems to fix the 
 issue.. But why? This problem is very easy to reproduce, how could it 
 have been overlooked? I just happened to find the article in the link 
 above, out of desperation, it's not good that I had to Google for a 
 solution.
 
 
 What's the output of the command
 
 ldd `which su`
 
 ?
 
   
 Is the solution given safe? Should I open a PR?
 
 Alex
 
 ___
 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
___
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: Userland PPP fails to load via rc.conf (7.2/amd64)

2009-08-14 Thread Alex R

Actually I did change the root shell to bash. U think that might cause it?

Ruben de Groot wrote:

On Fri, Aug 14, 2009 at 09:49:48PM +1000, Alex R typed:
  

Hi Ruben,

Output is as follows:

/usr/bin/su:
   libutil.so.7 = /lib/libutil.so.7 (0x800635000)
   libpam.so.4 = /usr/lib/libpam.so.4 (0x800744000)
   libbsm.so.2 = /usr/lib/libbsm.so.2 (0x80084c000)
   libc.so.7 = /lib/libc.so.7 (0x800962000)



That's normal. Shall I take a guess?

You changed root's shell to bash!
bash uses libintl, and will be invoked by the su -m $ppp_user in
/etc/rc.d/ppp

Yet another good reason not to change root's default shell :D

cheers,
Ruben

  

Ruben de Groot wrote:


On Fri, Aug 14, 2009 at 06:20:00PM +1000, Alex R typed:
 
  

Hi Guys,

I ran into the same problem as this person did (see the link below):

http://www.mail-archive.com/freebsd-...@freebsd.org/msg24337.html

ppp starts fine if invoked from shell prompt, however the problem above 
occurs for me when I attempt to start it automatically at boot via 
/etc/rc.conf


Funnily enough, the solution presented in that article seems to fix the 
issue.. But why? This problem is very easy to reproduce, how could it 
have been overlooked? I just happened to find the article in the link 
above, out of desperation, it's not good that I had to Google for a 
solution.
   


What's the output of the command

ldd `which su`

?

 
  

Is the solution given safe? Should I open a PR?

Alex

___
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



  


___
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


More on Toshiba A305 SP6926A

2009-08-14 Thread Leonardo M . Ramé
A new issue I found is I can't control screen brightness  contrast. This 
machine has this control in Windows by clicking the [FN Key]+F6/F7.

Does anyone knows how to enable this in FreeBsd?

Thanks in advance,
Leonardo.



___
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: Userland PPP fails to load via rc.conf (7.2/amd64)

2009-08-14 Thread Ruben de Groot
On Fri, Aug 14, 2009 at 10:08:48PM +1000, Alex R typed:
 Actually I did change the root shell to bash. U think that might cause it?
 
Definately. before ldconfig is run, only the system libraries in /lib and 
/usr/lib
are known. Doing a su -m root at that time, as /etc/rc.d/ppp is doing, will
result in the error message you got, as bash wants to load libintl.so.8, which
lives in /usr/local/lib.

Ruben

 Ruben de Groot wrote:
 On Fri, Aug 14, 2009 at 09:49:48PM +1000, Alex R typed:
   
 Hi Ruben,
 
 Output is as follows:
 
 /usr/bin/su:
libutil.so.7 = /lib/libutil.so.7 (0x800635000)
libpam.so.4 = /usr/lib/libpam.so.4 (0x800744000)
libbsm.so.2 = /usr/lib/libbsm.so.2 (0x80084c000)
libc.so.7 = /lib/libc.so.7 (0x800962000)
 
 
 That's normal. Shall I take a guess?
 
 You changed root's shell to bash!
 bash uses libintl, and will be invoked by the su -m $ppp_user in
 /etc/rc.d/ppp
 
 Yet another good reason not to change root's default shell :D
 
 cheers,
 Ruben
 
   
 Ruben de Groot wrote:
 
 On Fri, Aug 14, 2009 at 06:20:00PM +1000, Alex R typed:
  
   
 Hi Guys,
 
 I ran into the same problem as this person did (see the link below):
 
 http://www.mail-archive.com/freebsd-...@freebsd.org/msg24337.html
 
 ppp starts fine if invoked from shell prompt, however the problem above 
 occurs for me when I attempt to start it automatically at boot via 
 /etc/rc.conf
 
 Funnily enough, the solution presented in that article seems to fix the 
 issue.. But why? This problem is very easy to reproduce, how could it 
 have been overlooked? I just happened to find the article in the link 
 above, out of desperation, it's not good that I had to Google for a 
 solution.

 
 What's the output of the command
 
 ldd `which su`
 
 ?
 
  
   
 Is the solution given safe? Should I open a PR?
 
 Alex
 
 ___
 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
 
 
   
 
 ___
 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: Partions per slice limitation removed?

2009-08-14 Thread Doug Poland

On Fri, August 14, 2009 05:47, Vincent Hoffman wrote:
 Mak Kolybabi wrote:
 On 2009-08-13 13:41, Doug Poland wrote:

 I thought I recalled reading, within the last few months, that
 there is no longer a 8 partition/slice limitation in FreeBSD.
 I've been googling and reading man pages to verify that but
 cannot find any documentation to support it. Was I dreaming?


 No, you were not dreaming. When in doubt, check the source. From
 head/sbin/bsdlabel/bsdlabel.c [1]:

 Allow bsdlabel to operate on labels that have at most 26
 partitions by virtue of there not being any (lower-case) letters
 avaliable for more partitions.

 [1]
 http://svn.freebsd.org/viewvc/base?view=revisionrevision=174501


 Indeed and from http://ivoras.sharanet.org/freebsd/freebsd8.html (a
 reasonably complete list of whats comming in 8.0) it says

 bsdlabel gets extended to 26 partitions

 Status: Committed to -CURRENT Will appear in 8.0: sure Author: Marcel
 Moolenaar web:
 http://lists.freebsd.org/pipermail/cvs-src/2007-December/084949.html

 bsdlabel is (finally!) extended to support more than 8 partitions.
 The new limit of 26 partitions comes from the number of lower-case
 letters.

 To make use of this change, GEOM_PART needs to be used instead of
 GEOM_BSD (this requires custom kernel configurations).

Ah, Ivan's site, that's where I saw it.  Thank you.  Kinda surprised
it didn't turn up on a google search.


-- 
Regards,
Doug

___
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: Userland PPP fails to load via rc.conf (7.2/amd64)

2009-08-14 Thread Alex R

Thank you Ruben :-) :-)

I wouldn't have thought in a million years that could be the issue, but 
what you have said makes perfect sense. Looks like its back to /bin/sh 
for root.


Cheers, Alex.

Ruben de Groot wrote:

On Fri, Aug 14, 2009 at 10:08:48PM +1000, Alex R typed:
  

Actually I did change the root shell to bash. U think that might cause it?

 
Definately. before ldconfig is run, only the system libraries in /lib and /usr/lib

are known. Doing a su -m root at that time, as /etc/rc.d/ppp is doing, will
result in the error message you got, as bash wants to load libintl.so.8, which
lives in /usr/local/lib.

Ruben

  

Ruben de Groot wrote:


On Fri, Aug 14, 2009 at 09:49:48PM +1000, Alex R typed:
 
  

Hi Ruben,

Output is as follows:

/usr/bin/su:
  libutil.so.7 = /lib/libutil.so.7 (0x800635000)
  libpam.so.4 = /usr/lib/libpam.so.4 (0x800744000)
  libbsm.so.2 = /usr/lib/libbsm.so.2 (0x80084c000)
  libc.so.7 = /lib/libc.so.7 (0x800962000)
   


That's normal. Shall I take a guess?

You changed root's shell to bash!
bash uses libintl, and will be invoked by the su -m $ppp_user in
/etc/rc.d/ppp

Yet another good reason not to change root's default shell :D

cheers,
Ruben

 
  

Ruben de Groot wrote:
   


On Fri, Aug 14, 2009 at 06:20:00PM +1000, Alex R typed:

 
  

Hi Guys,

I ran into the same problem as this person did (see the link below):

http://www.mail-archive.com/freebsd-...@freebsd.org/msg24337.html

ppp starts fine if invoked from shell prompt, however the problem above 
occurs for me when I attempt to start it automatically at boot via 
/etc/rc.conf


Funnily enough, the solution presented in that article seems to fix the 
issue.. But why? This problem is very easy to reproduce, how could it 
have been overlooked? I just happened to find the article in the link 
above, out of desperation, it's not good that I had to Google for a 
solution.
  
   


What's the output of the command

ldd `which su`

?


 
  

Is the solution given safe? Should I open a PR?

Alex

___
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
   

 
  

___
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: ZFS Boot Support from Installer

2009-08-14 Thread Brian A. Seklecki
On Mon, 2009-08-03 at 09:48 -0700, Tim Gustafson wrote:
 Hi,
 
 I was wondering if there was a plan or time line in place to support
 ZFS boot partitions in the installer.


No one has gone near that stuff in years.  We don't even have gmirror(8)
creation support in there.

Best not to use sysinst.  The livefs image has all of the tools that you
need to bootstrap a system.

 ~BAS


___
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: ZFS Boot Support from Installer

2009-08-14 Thread Tim Gustafson
 No one has gone near that stuff in years.  We don't even
 have gmirror(8) creation support in there. Best not to use
 sysinst.  The livefs image has all of the tools that you
 need to bootstrap a system.

That's a silly answer.  The way to get more people to use FreeBSD is to make 
the installation process as easy and complete as possible.  If bootstrapping a 
system using the livefs file system is possible, then there's no reason that 
the functionality couldn't or shouldn't be built into the installer.

Yes, a higher-level sysadmin can do it...but the vast majority of people who 
administer servers for a living are not higher-level sysadmins.

Tim Gustafson
Baskin School of Engineering
UC Santa Cruz
t...@soe.ucsc.edu
831-459-5354
___
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: ZFS Boot Support from Installer

2009-08-14 Thread Tim Judd
On 8/14/09, Tim Gustafson t...@soe.ucsc.edu wrote:
 No one has gone near that stuff in years.  We don't even
 have gmirror(8) creation support in there. Best not to use
 sysinst.  The livefs image has all of the tools that you
 need to bootstrap a system.

 That's a silly answer.  The way to get more people to use FreeBSD is to make
 the installation process as easy and complete as possible.  If bootstrapping
 a system using the livefs file system is possible, then there's no reason
 that the functionality couldn't or shouldn't be built into the installer.

 Yes, a higher-level sysadmin can do it...but the vast majority of people who
 administer servers for a living are not higher-level sysadmins.

And those who are unfamiliar with a system will likely use the default
filesystem an OS provides.  That's UFS2 for most people.

Especially since ZFS is still considered experimental, I find it
unreasonable to have the installer support something that isn't
considered permanent.

Also, since ZFS is a hog when it comes to system resources, works best
on amd64, and many other factors/tuning, you expect this all to be
available if someone wants to install to an embedded firewall?  Or to
some little special purpose system?

I don't use ZFS, UFS2 works fine for me.  I would find it ridiculous
to see ZFS support in the installer, but all GEOM should be supported.
 Especially the raid3 and mirror.

I think you're expecting the world...  Maybe a check is in order.


 Tim Gustafson
 Baskin School of Engineering
 UC Santa Cruz
 t...@soe.ucsc.edu
 831-459-5354
___
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: ZFS Boot Support from Installer

2009-08-14 Thread Brian A. Seklecki
On Fri, 2009-08-14 at 08:58 -0700, Tim Gustafson wrote:
 then there's no reason that the functionality couldn't or shouldn't be
 built into the installer.

With a few machines, yes.  Once you get to 5 or 6, start building your
own custom internal ISOs, and maintain your configuration templates in
SVN or use Puppet.

I make the suggestions because you're asking about an advanced topic, so
I gave you an honest answer.

~BAS


___
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: ZFS Boot Support from Installer

2009-08-14 Thread Tim Gustafson
I'm responding to two people's comments here in one response.  :)

 From: Brian A. Seklecki sekle...@noc.cfi.pgh.pa.us
 I make the suggestions because you're asking about an
 advanced topic, so I gave you an honest answer.

Honest answers are appreciated.  :)  I'm not saying that the way you suggested 
was invalid, just that there ought to be an easier way.

 From: Tim Judd taj...@gmail.com
 And those who are unfamiliar with a system will likely use
 the default filesystem an OS provides.  That's UFS2 for most
 people.

For most people, yes.  Most people don't need to be able to install FreeBSD 
over a serial cable or parallel cable, but those options are included in the 
installer.

 From: Tim Judd taj...@gmail.com
 Also, since ZFS is a hog when it comes to system resources,
 works best on amd64, and many other factors/tuning, you expect
 this all to be available if someone wants to install to an
 embedded firewall? Or to some little special purpose system?

It already is available to everyone...it's just harder to install than it ought 
to be.  A firewall probably doesn't need X11, but that's included in the 
installer.

 From: Tim Judd taj...@gmail.com
 I don't use ZFS, UFS2 works fine for me.  I would find it
 ridiculous to see ZFS support in the installer, but all GEOM
 should be supported. Especially the raid3 and mirror.

So, you like the idea of including RAID3 and mirror because that suits your 
needs, but my desire to see ZFS support is unreasonable because you don't have 
a need for ZFS?

Tim Gustafson
Baskin School of Engineering
UC Santa Cruz
t...@soe.ucsc.edu
831-459-5354
___
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: A question for developers

2009-08-14 Thread Manish Jain

Hi Steve,


Vim also does colours/syntax highlighting I found, but quickly disabled
the colours, as I didn't like them as much as I thought I would.


I wouldn't blame you for not liking Vim's default syntax 
highlighting. However, you can try the my set instead which took me 
 days to fine-tune to my liking.


(But first, put the following line into your .vimrc :
map F12 :syntax on CR :so ~/syntax.vim CR

Then after starting gvim, press F12. That's the wat I do it.)


~/syntax.vim contents :
hi Cursor guifg=white guibg=black
hi Identifier guifg=black gui=bold
hi NonText guibg=grey72

black
hi Normal guifg=black
hi Statement guifg=black
hi shFunction guifg=black gui=bold

grey30
hi Comment guifg=grey30
hi shCommandSub guifg=grey30 gui=bold

red
hi Constant guifg=red
hi Directory guifg=red
hi cFormat guifg=red gui=bold

light-brown
hi shSpecial guifg=#b07030
hi SpecialKey guifg=#b07030
hi shOption guifg=#b07030
hi shCase guifg=#b07030

green
hi Special guifg=#007700 gui=bold
hi shExprRegion guifg=#007700 gui=bold
hi PreProc guifg=#007700 gui=bold
hi Statement guifg=#007700 gui=bold
hi Repeat guifg=#007700 gui=bold
hi shRepeat guifg=#007700 gui=bold
hi shConditional guifg=#007700 gui=bold
hi shStatement guifg=#007700 gui=bold

deep-blue
hi Type guifg=#99 gui=bold
hi shShellVariables guifg=#99
hi shVariable guifg=#99

muddy brown
hi String guifg=#dd4400
hi shString guifg=#dd4400

black on yellow
hi IncSearch guibg=yellow guifg=black
hi Search guibg=yellow guifg=black
hi Question guibg=yellow guifg=black

other
hi Operator guifg=#0088ee gui=bold  blue
hi shOperator guifg=#0088ee gui=bold
hi StorageClass guifg=#bb0099 gui=bold  purplish
hi SpecialChar guifg=#00aa88 gui=bold   greenish cyan

--
Regards
Manish Jain
invalid.poin...@gmail.com
+91-96500-10329

Laast year I kudn't spell Software Engineer. Now I are won.
___
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: ZFS Boot Support from Installer

2009-08-14 Thread Steve Bertrand
Jason Garrett wrote:
 On Mon, Aug 3, 2009 at 11:48, Tim Gustafson t...@soe.ucsc.edu wrote:
 
 Hi,

 I was wondering if there was a plan or time line in place to support ZFS
 boot partitions in the installer.  I Googled around a bit and found some
 how-to documents for setting it up in a hacky kind of way, but the
 impression I got is that support for ZFS partitions is coming to the
 installer in perhaps 7.3 or 8.0, and I wanted to confirm or dispel that myth
 before I go forward using the hacky method.
 
 
 I wouldn't recommend using zfs at all right now, unless you want random
 crashes and lots of missing data.. ESPECIALLY in 8.0,1,2 versions.

Do you have significant, long-term experience with random crashes and
lots of missing data?

I have nothing but good things to say about ZFS. I've been using it
since 7.0, and one box in particular is put under extreme duress doing
network backups daily. Since originally tuned, it has been just as
stable as any other box we own.

This particular box is configured as Tim's is in another post he wrote
(7.2, RAIDZ, boot from UFS flash), and writes at ~160MBps for 6-8
consecutive hours per day.

What I would recommend is if you go with -CURRENT and boot from ZFS on a
box going into production, ensure that you have very up-to-date backups,
stored in a method in which you could very quickly replicate onto
another box in case of emergency.

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


bwi driver

2009-08-14 Thread Eitan Adler
I have a Lenovo G530 laptop with a broadcom wireless card.
I downloaded the drivers referenced here:
http://forums.freebsd.org/showthread.php?t=170
I installed them and loaded them.

However pciconf -lv|grep bwi produces no output and ifconfig does not
mention any wireless cards.

What should I try now?


-- 
Eitan Adler
Security is increased by designing for the way humans actually behave.
-Jakob Nielsen
___
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: ZFS Boot Support from Installer

2009-08-14 Thread Tim Judd
On 8/14/09, Tim Gustafson t...@soe.ucsc.edu wrote:

 From: Tim Judd taj...@gmail.com
 I don't use ZFS, UFS2 works fine for me.  I would find it
 ridiculous to see ZFS support in the installer, but all GEOM
 should be supported. Especially the raid3 and mirror.

 So, you like the idea of including RAID3 and mirror because that suits your
 needs, but my desire to see ZFS support is unreasonable because you don't
 have a need for ZFS?

Valid point.  I didn't make the clarification that I should have.
graid3 and gmirror have reached the maturity and dedicated to the
system, whereas ZFS is still experimental.  When ZFS is no longer
considered experimental, I would expect ZFS support in the installer
in the same expectation I am expecting graid3 and gmirror to be.

It's all about the status of ZFS itself, rather than the fact that it works.


Does this paint a better picture to you of what I forgot to clarify in
my original posting?


 Tim Gustafson
 Baskin School of Engineering
 UC Santa Cruz
 t...@soe.ucsc.edu
 831-459-5354
___
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: bwi driver

2009-08-14 Thread Brian A. Seklecki
On Fri, 2009-08-14 at 12:41 +, Eitan Adler wrote:
 I have a Lenovo G530 laptop with a broadcom wireless card.
 I downloaded the drivers referenced here:

If the driver didn't attach because IBM chose some exotic OEM PCI ID,
then the grep wont find it.

You really should post the full pciconf(8) and dmesg(8) for us, as well
as kldstat(8) -v.

uname(1) -a would also be helpful.

~BAS

 However pciconf -lv|grep bwi produces no output and ifconfig does not
 mention any wireless cards.
 
 What should I try now?
 
 


___
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: bwi driver

2009-08-14 Thread Neal Hogan
On Fri, Aug 14, 2009 at 7:41 AM, Eitan Adlereitanadlerl...@gmail.com wrote:
 I have a Lenovo G530 laptop with a broadcom wireless card.
 I downloaded the drivers referenced here:
 http://forums.freebsd.org/showthread.php?t=170
 I installed them and loaded them.

 However pciconf -lv|grep bwi produces no output and ifconfig does not
 mention any wireless cards.

 What should I try now?

man iwconfig
man lspci


 --
 Eitan Adler
 Security is increased by designing for the way humans actually behave.
 -Jakob Nielsen
 ___
 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: ZFS Boot Support from Installer

2009-08-14 Thread Tim Gustafson
 Valid point.  I didn't make the clarification that I should
 have. graid3 and gmirror have reached the maturity and
 dedicated to the system, whereas ZFS is still experimental.
 When ZFS is no longer considered experimental, I would expect
 ZFS support in the installer in the same expectation I am
 expecting graid3 and gmirror to be.
 
 It's all about the status of ZFS itself, rather than the fact
 that it works.

Your point is also valid.  However, our experience with ZFS on the boxes that 
we have installed it has been nothing but positive since about 7.2, and Steve 
Bertrand has also posted that his experiences have been nothing but positive.  
I know that ZFS on FreeBSD hasn't gotten a stable rating yet, but it appears 
to be approaching that level and I don't think putting it in the installer (and 
perhaps marking it as beta) so that more people could test it and give 
feedback about bugs and their experiences would be a bad thing.

To be clear, ZFS itself is indeed stable - our Solaris file servers are running 
it in multi-terabyte configurations on servers that get pounded to the order of 
nearly saturating a 1GB LAN link.  ZFS is the only file system in our 
experience that has suffered no data losses in arrays with more than one 
terabyte (knock on wood).  All other file systems have failed disastrously for 
us in multi-terabyte configurations.  So what you're talking about is not the 
stability of ZFS itself, but the port of ZFS on FreeBSD.

 Does this paint a better picture to you of what I forgot to
 clarify in my original posting?

Yes, clarity is key.  Thanks!  :)

Tim Gustafson
Baskin School of Engineering
UC Santa Cruz
t...@soe.ucsc.edu
831-459-5354
___
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: ZFS Boot Support from Installer

2009-08-14 Thread Tim Judd
On 8/14/09, Tim Gustafson t...@soe.ucsc.edu wrote:
 Valid point.  I didn't make the clarification that I should
 have. graid3 and gmirror have reached the maturity and
 dedicated to the system, whereas ZFS is still experimental.
 When ZFS is no longer considered experimental, I would expect
 ZFS support in the installer in the same expectation I am
 expecting graid3 and gmirror to be.

 It's all about the status of ZFS itself, rather than the fact
 that it works.

 Your point is also valid.  However, our experience with ZFS on the boxes
 that we have installed it has been nothing but positive since about 7.2, and
 Steve Bertrand has also posted that his experiences have been nothing but
 positive.  I know that ZFS on FreeBSD hasn't gotten a stable rating yet,
 but it appears to be approaching that level and I don't think putting it in
 the installer (and perhaps marking it as beta) so that more people could
 test it and give feedback about bugs and their experiences would be a bad
 thing.

 To be clear, ZFS itself is indeed stable - our Solaris file servers are
 running it in multi-terabyte configurations on servers that get pounded to
 the order of nearly saturating a 1GB LAN link.  ZFS is the only file system
 in our experience that has suffered no data losses in arrays with more than
 one terabyte (knock on wood).  All other file systems have failed
 disastrously for us in multi-terabyte configurations.  So what you're
 talking about is not the stability of ZFS itself, but the port of ZFS on
 FreeBSD.

Exactly.  I've used ZFS once, on the box that could benefit from it
most.  It's a Dell PowerVault 715n NAS, which runs BSD very solid.
i386 Pentium 3 @1GHZ, and 1GB RAM.  This is back on 7.0 days, and I
haven't run it since.  I didn't loose any data, because the data on
the ZFS was unimportant data that could be lost.  It did freak out and
panic when I was copying an ISO to/from it.

I know that somewhere in 7.2 there was some tuning recommendations on
i386, and that 8.0 has an updated version of ZFS that I will run again
to try it out.  I don't have any amd64 (none!) systems, so this box
has to be tortured to be able to even experiment with ZFS.


 Does this paint a better picture to you of what I forgot to
 clarify in my original posting?

 Yes, clarity is key.  Thanks!  :)

 Tim Gustafson
 Baskin School of Engineering
 UC Santa Cruz
 t...@soe.ucsc.edu
 831-459-5354

___
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: A question for developers

2009-08-14 Thread Steve Bertrand
Manish Jain wrote:
 Hi Steve,
 
 Vim also does colours/syntax highlighting I found, but quickly disabled
 the colours, as I didn't like them as much as I thought I would.
 
 I wouldn't blame you for not liking Vim's default syntax highlighting.
 However, you can try the my set instead which took me  days to fine-tune
 to my liking.

Thanks much for the info Manish!

The best I can tell, your colour scheme file is for GUI. Is this
correct? (it doesn't change my console to your colour scheme... it
remains default when I enable syntax).

With that said, I can tell that what you provided me with is much better
than the default. I'll play around this afternoon and see what I can
come up with.

Cheers!

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: bwi driver

2009-08-14 Thread Mel Flynn
On Friday 14 August 2009 08:49:07 Neal Hogan wrote:

 man lspci

?? wrong distribution. Try pciconf.
-- 
Mel
___
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: bwi driver

2009-08-14 Thread Neal Hogan
On Fri, Aug 14, 2009 at 12:19 PM, Mel
Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
 On Friday 14 August 2009 08:49:07 Neal Hogan wrote:

 man lspci


 ?? wrong distribution. Try pciconf.

Ah . . . sorry, got mixed up with mailing lists. Thanks for correcting me!


 --
 Mel

___
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: bwi driver

2009-08-14 Thread Neal Hogan
On Fri, Aug 14, 2009 at 12:22 PM, Neal Hogannealho...@gmail.com wrote:
 On Fri, Aug 14, 2009 at 12:19 PM, Mel
 Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
 On Friday 14 August 2009 08:49:07 Neal Hogan wrote:

 man lspci


 ?? wrong distribution. Try pciconf.

 Ah . . . sorry, got mixed up with mailing lists. Thanks for correcting me!

BTW - The same goes for iwconfig



 --
 Mel


___
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: bwi driver

2009-08-14 Thread Eitan Adler

 You really should post the full pciconf(8) and dmesg(8) for us, as well
 as kldstat(8) -v.
http://pastebin.com/f368e0550
http://pastebin.com/f7d5f883d
http://pastebin.com/f7500570e
http://pastebin.com/f606e2c81

-- 
Eitan Adler
Security is increased by designing for the way humans actually behave.
-Jakob Nielsen
___
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


7.2 burncd and cdrecord problem

2009-08-14 Thread Fernando Apesteguía
Hi all,

I'm trying to get my CD drive to work without so much success.
Reading is fine, but when I try to burn a CD I get errors in dmesg.

Using cdrecord -blank=fast dev=3,0,0 I get:

[...]
Using generic SCSI-3/mmc   CD-ROM driver (mmc_cd).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Starting to write CD/DVD at speed 18 in real BLANK mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
This drive or media does not support the 'BLANK media' command
cdrecord: Cannot blank disk, aborting.
cdrecord: Some drives do not support all blank types.
cdrecord: Try again with cdrecord blank=all.

And dmesg shows:
acd0: FAILURE - READ_BUFFER ILLEGAL REQUEST asc=0x24 ascq=0x00
acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x26 ascq=0x00

Using burncd blank I get:

burncd: ioctl(CDRIOCBLANK): Input/output error

and in dmesg:

acd0: FAILURE - BLANK_CMD ILLEGAL REQUEST asc=0x30 ascq=0x05

The drive works perfectly with other OS, so I don't think the hardware
is the problem.

The device is identified as:
acd0: DVDR TSSTcorp CDDVDW TS-H653N/0208 at ata3-master SATA150

I have scbus, atapicd and atapicam in my kernel configuration.

Any ideas?

Thanks in advance.
___
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


ATI Radeon HD3450 on FreeBSD 7.2

2009-08-14 Thread Ricky Tompu Breaky
Dear my friends,

I just installed FreeBSD 7.2. But its xserver always hung-up (suddenly
stop working), only the GUI which suddenly stops working once I execute:

startx
.
I can see the GUI but I can not do anything on it. I can not click
anything and I can not type nothing on it.

My computer use ATI Radeon HD3450.

But the kernel still works as the xserver stops working because if I do
CTRL-Alt-F1/F2/F3/F? then I can see the login prompt console.

What should I do to solve this problem?

Thank you very much in advance.
___
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: ATI Radeon HD3450 on FreeBSD 7.2

2009-08-14 Thread Glen Barber
Hi,

On Fri, Aug 14, 2009 at 6:39 AM, Ricky Tompu Breakyricky.bre...@uni.de wrote:
 Dear my friends,

 I just installed FreeBSD 7.2. But its xserver always hung-up (suddenly
 stop working), only the GUI which suddenly stops working once I execute:
 
 startx
 .
 I can see the GUI but I can not do anything on it. I can not click
 anything and I can not type nothing on it.

 My computer use ATI Radeon HD3450.

 But the kernel still works as the xserver stops working because if I do
 CTRL-Alt-F1/F2/F3/F? then I can see the login prompt console.

 What should I do to solve this problem?


I added the following to xorg.conf to fix the problems I had:

Section ServerFlags
option  AutoAddDevicesoff
option  AllowEmptyInput   off
EndSection


Have a look at /usr/ports/UPDATING regarding the Xorg update.


HTH


-- 
Glen Barber
___
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: More on Toshiba A305 SP6926A

2009-08-14 Thread Polytropon
On Fri, 14 Aug 2009 05:12:24 -0700 (PDT), Leonardo M. Ramé 
martinr...@yahoo.com wrote:
 A new issue I found is I can't control screen brightness  
 contrast. This machine has this control in Windows by clicking
 the [FN Key]+F6/F7.

Erm, you are *clicking* the keys on the keyboard? With
the mouse? Would you explain how you do this? :-)

Polite / almost technical answer follows:


 Does anyone knows how to enable this in FreeBsd?

Traditionally, those functionalities - Fn + PFx in order to
change some hardware setting like brightness, contrast,
volume, CRT / LCD and others - are not the subject to the
OS, they are much more lower level.

It's completely possible that those functionalities
require an OS specific driver (ugh) in order to work
correctly. I mean, even a simple switch isn't part of
the earphone socket anymore: If you want to use the
earphones, there needs to be software (double-ugh) that
switches off the internal speakers... by the way, we're
talking about a little piece of metal here.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: 7.2 burncd and cdrecord problem

2009-08-14 Thread Tim Judd
First thing I'd suspect is that your drive is a read-only, write-only,
but no rewrite, so that means it's unable to blank RW medium.

The 'DVDR' and CDDVDW both indicate a write once kind of mindset.


does the bezel on the drive itself say rewrite anywhere?


--TJ

On 8/14/09, Fernando Apesteguía fernando.apesteg...@gmail.com wrote:
 Hi all,

 I'm trying to get my CD drive to work without so much success.
 Reading is fine, but when I try to burn a CD I get errors in dmesg.

 Using cdrecord -blank=fast dev=3,0,0 I get:

 [...]
 Using generic SCSI-3/mmc   CD-ROM driver (mmc_cd).
 Driver flags   : MMC-3 SWABAUDIO BURNFREE
 Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
 Starting to write CD/DVD at speed 18 in real BLANK mode for single session.
 Last chance to quit, starting real write0 seconds. Operation starts.
 This drive or media does not support the 'BLANK media' command
 cdrecord: Cannot blank disk, aborting.
 cdrecord: Some drives do not support all blank types.
 cdrecord: Try again with cdrecord blank=all.

 And dmesg shows:
 acd0: FAILURE - READ_BUFFER ILLEGAL REQUEST asc=0x24 ascq=0x00
 acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x26 ascq=0x00

 Using burncd blank I get:

 burncd: ioctl(CDRIOCBLANK): Input/output error

 and in dmesg:

 acd0: FAILURE - BLANK_CMD ILLEGAL REQUEST asc=0x30 ascq=0x05

 The drive works perfectly with other OS, so I don't think the hardware
 is the problem.

 The device is identified as:
 acd0: DVDR TSSTcorp CDDVDW TS-H653N/0208 at ata3-master SATA150

 I have scbus, atapicd and atapicam in my kernel configuration.

 Any ideas?

 Thanks in advance.
 ___
 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: 7.2 burncd and cdrecord problem

2009-08-14 Thread Polytropon
On Fri, 14 Aug 2009 18:47:48 -0600, Tim Judd taj...@gmail.com wrote:
 First thing I'd suspect is that your drive is a read-only, write-only,
 but no rewrite, so that means it's unable to blank RW medium.
 
 The 'DVDR' and CDDVDW both indicate a write once kind of mindset.
 
 
 does the bezel on the drive itself say rewrite anywhere?


Check the output of

% cdrecord -prcap dev=3,0,0

which will list what the drive does support.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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:firefox 2.0.0.20_9,1

2009-08-14 Thread ajtiM
firefox 2.0.0.20_9,1
Paul Schmehl pschmehl_lists at tx.rr.com 
 Thu Aug 13 02:16:24 UTC 2009 
Previous message: firefox 2.0.0.20_9,1 
Next message: firefox 2.0.0.20_9,1 
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] 
--On August 12, 2009 8:18:55 PM -0500 ajtiM lumiwa at gmail.com wrote:


 Hi!
 When I run


 ;
 portaudit -a
 Affected package: firefox-2.0.0.20_9,1
 Type of problem: mozilla -- multiple vulnerabilities.
 Reference:
 http://portaudit.FreeBSD.org/49e8f2ee-8147-11de-a994-0030843d3802.html

 but when I check above site I found:
 Affects:
 firefox 3.*,1
 firefox 3.*,1 3.0.13,1
 firefox 3.5.*,1 3.5.2,1
 linux-firefox 3.*,1
 linux-firefox 3.*,1 3.0.13,1
 linux-firefox 3.5.*,1 3.5.2,1
 linux-firefox-devel 3.5.2
 seamonkey 0
 linux-seamonkey 0
 linux-seamonkey-devel 0
 thunderbird 0
 linux-thunderbird 0

 Are problem with  firefox-2.0.0.20_9,1 or not, please.

That port should probably be removed.  It's ancient.

Use /usr/ports/www/firefox3 or /usr/ports/www/firefox3.5

Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying

I agree but for example if you want to install mplayer-plugin there are 
dependencies for firefox and you will have 2.0 again your disk.

-- 
Mitja
-
http://starikarp.redbubble.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