Re: ata controller problem

2012-10-27 Thread Gerhard Schmidt
Am 26.10.2012 18:33, schrieb Jeremy Chadwick:
> Regarding this:
> 
> http://lists.freebsd.org/pipermail/freebsd-questions/2012-October/245862.html
> 
> No no NO *NO*!
> 
> I wish people would stop recommending this utter garbage.  There is
> absolutely no justification behind using the highly convoluted labelling
> mechanisms at multiple layers within FreeBSD.  There are 3 (possibly 4)
> different "label" mechanisms which do nothing but confuse the user, or
> cause other oddities/complexities.  Good grief, there is so much hard
> evidence on the mailing lists over the past 5 (maybe even 7?) years
> talking about the utter mess that is filesystem/device/geom/blahblah
> labels that to recommend this is borderline insane.
> 
> The proper way to solve this problem is to user /boot/loader.conf
> tie-downs to assign each disk to each individual controllers' device
> number (e.g. ada0 --> scbus0 --> ahcich0, or whatever you want).  Please
> note I said ahcichX, not ahciX.  Different things.
> 
> I have helped others in the past do this; Randy Bush is one such person.
> 
> Taken directly from my /boot/loader.conf with a single SATA controller,
> but obviously this can be adjusted to whatever you want.
> 
> # "Wire down" device names (ada[0-5]) to each individual port
> # on the SATA/AHCI controller.  This ensures that if we reboot
> # with a disk missing, the device names stay the same, and stay
> # attached to the same SATA/AHCI controller.
> # http://lists.freebsd.org/pipermail/freebsd-fs/2011-March/011036.html
> #
> hint.scbus.0.at="ahcich0"
> hint.scbus.1.at="ahcich1"
> hint.scbus.2.at="ahcich2"
> hint.scbus.3.at="ahcich3"
> hint.scbus.4.at="ahcich4"
> hint.scbus.5.at="ahcich5"
> hint.ada.0.at="scbus0"
> hint.ada.1.at="scbus1"
> hint.ada.2.at="scbus2"
> hint.ada.3.at="scbus3"
> hint.ada.4.at="scbus4"
> hint.ada.5.at="scbus5"
> 
> See CAM(4) man page (read it, don't skim!) for full details.  Just
> please for the love of god do not use labels to solve this.
> 
Sorry this doesn't work because the numbering of the ahci change with
the occupancy of the Hot-Swap Bays.

And that is my Problem. This i have tried first.

Any idea how i can fix which controller gets which number.

Regard
   Estartu

-- 
-
Gerhard Schmidt   | E-Mail und JabberID:
TU-München| schm...@ze.tum.de
WWW & Online Services |
Tel: 089/289-25270|
Fax: 089/289-25257| PGP-Publickey auf Anfrage

___
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: ata controller problem

2012-10-27 Thread Gerhard Schmidt
On 26.10.2012 18:00, Polytropon wrote:
> On Fri, 26 Oct 2012 14:18:16 +0200, Gerhard Schmidt wrote:
>> The Problem is that, if there is a Drive in one of the HotSwap Bays the
>> PCI-Express controller is detected as ahci0 and the onboard is detected
>> as ahci1. Therefore any drives in the HotSwap Bays become ada0-3 and the
>> drives on the mainboard controller are the upper numbers which causes
>> the boot to fail as the Root Partition isn't there where it's expected.
>> The BIOS has the PCI-Express Card as second Card only so the Kernel is
>> Booted but the RootFS is not Found.
> 
> You can use labels (GPT or UFS labels) or UFSIDs to become
> independent of the actual device name where things are stored
> on. You could also use this to make disks easier to identify
> (e. g. "/dev/label/red1root" = the disk with a red "1" on it,
> carrying the root file system).
> 
> I suggest those pages for more detailed information:
> 
> http://www.wonkity.com/~wblock/docs/html/disksetup.html
> 
> http://www.freebsd.org/doc/handbook/geom-glabel.html
> 
> Maybe as well (specific and general notes and inspiration):
> 
> http://www.daemonforums.org/showthread.php?t=2666
> 
> http://www.freebsdonline.com/content/view/731/506/
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html
> 
> I assume that you are using UFS.
> 
> 
> 
>> Is there a way to ensure that the onboard SATA Controller is always
>> probed first.
> 
> I'm not sure if this can be done, but using labels should
> make the question go away, and the problem causing it. :-)

Labels are good for naming Drives but how does it help me if the root
filesystem changing device ids. I don't think the boot loader is able to
use the label for the root Filesystem.

Regards
   Estartu


-- 
-
Gerhard Schmidt   | E-Mail und JabberID:
TU-München| schm...@ze.tum.de
WWW & Online Services |
Tel: 089/289-25270|
Fax: 089/289-25257| PGP-Publickey auf Anfrage

___
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: ata controller problem

2012-10-27 Thread Erich Dollansky
Hi,

On Sat, 27 Oct 2012 10:22:01 +0200
Gerhard Schmidt  wrote:

> > hint.ada.3.at="scbus3"
> > hint.ada.4.at="scbus4"
> > hint.ada.5.at="scbus5"
> > 
> > See CAM(4) man page (read it, don't skim!) for full details.  Just
> > please for the love of god do not use labels to solve this.
> > 
> Sorry this doesn't work because the numbering of the ahci change with
> the occupancy of the Hot-Swap Bays.
> 
> And that is my Problem. This i have tried first.
> 
> Any idea how i can fix which controller gets which number.
> 
just you labels. Chose the labelling method which fits best your file
system. gpt seems to fit most scenarios.

Labels came up to solve your problem.

Erich
___
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: Problem with libpng + Mozilla applications on FreeBSD 8.3

2012-10-27 Thread Alexandr Alexeev
Sometimes placing symlink to the newer version of library instead of
older version helps.

On Fri, Oct 26, 2012 at 11:06 PM, Polytropon  wrote:
> On Sat, 27 Oct 2012 00:06:44 +0530, Manish Jain wrote:
>>
>> Hello Polytropon,
>>
>> Thanks for replying.
>>
>>  > Maybe an update of FF and TB would be sufficient, so it can link
>>  > to the present (or at least expected) libraries accordingly.
>>
>> Maybe I did not make it clear enough in the original message. The only
>> thing I installed from the installation DVD was the OS and the GNOME2
>> metaport. Everything else including FF and TB was installed from ports,
>> the tarball of which I downloaded just a couple of days back. I hope you
>> are not suggesting that I build the GNOME2 metaport too from the ports
>> directory : with my internet connection, that really would take me into
>> the next century.
>
> Exactly that would have been the preferred solution. :-)
>
>
>
>> > You should not manually copy things. At some point, something will
>> > crash, and the ports infrastructure cannot take care of it. It's
>> > easier to use a port management tool (like portmaster) to deal
>> > with installing and updating of ports.
>>
>> For the present issue, it seems logical that I would need 2 versions of
>> libpng : one for GNOME and one for the ports being installed. Having the
>> two versions reside independently in /usr/lib and /usr/local/lib seems
>> to be the only way out. I still must admit that it defeats the purpose
>> of having port management tools.
>
> It also blurs the line between OS (/usr/lib) and additional
> software (/usr/local/lib) directories. However, both directories
> are used by the linker, so it looks possible (and probably better
> than messing with symlinks in /usr/local/lib). Problems _might_
> occur when updating world.
>
>
>
>
>
> --
> 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"



-- 
Best regards,
Alex Alexeev
http://twitter.com/afiskon
___
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: ata controller problem

2012-10-27 Thread Erich Dollansky
Hi,

On Sat, 27 Oct 2012 10:25:41 +0200
Gerhard Schmidt  wrote:

> On 26.10.2012 18:00, Polytropon wrote:
=> > I'm not sure if this can be done, but using labels should
> > make the question go away, and the problem causing it. :-)
> 
> Labels are good for naming Drives but how does it help me if the root
> filesystem changing device ids. I don't think the boot loader is able
> to use the label for the root Filesystem.
>
put a root file system on all drives and make it bootable. I use this
trick also. You do not need that much space there to get the system up
compared to the size of current media.

Erich
___
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: Problem with libpng + Mozilla applications on FreeBSD 8.3

2012-10-27 Thread Mike Clarke
On Saturday 27 October 2012 09:42:10 Alexandr Alexeev wrote:

> Sometimes placing symlink to the newer version of library instead of
> older version helps.

Specifying the alternative version in /etc/libmap.conf (5) is a neater way of 
doing this.

The man page also shows you how to restrict the mapping to apply for only 
specified executables.

-- 
Mike Clarke
___
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: py-bittornado gone

2012-10-27 Thread Artifex Maximus
On Fri, Oct 26, 2012 at 6:41 PM, lokada...@gmx.de  wrote:
> On 26.10.2012 19:50, Damien Fleuriot wrote:
>>
>> On 26 Oct 2012, at 19:05, Artifex Maximus  wrote:
>>
>>> py-bittornado gone and I accidentally delete with portmanager at
>>> upgrade. cfv uses and I use cfv for testing torrent so I need
>>> py-bittornado (or py-bittorrent). How can I restore that package?
>>>
>>> Bye,
>>> a
>>>
>> How about getting the original source and building from there, or a
>> package for pkg_add ?
>>
> Portdowngrade?
> http://www.freebsd.org/cgi/ports.cgi?query=portdown&stype=all
>
> It works fine in the past, but since Release 8.0 i hadn't use it.

Thanks both of you. I do not know about portdowngrade but sounds good.
I will go that way first and if that fail then I will try to find the
package and use pkg_add.

Bye,
a
___
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-update IDS

2012-10-27 Thread Mike Clarke

I've installed 9.1-RC2 after using svn to download /usr/src. Shortly after 
rebooting into the new system, and just out of curiosity, I 
ran "freebsd-update IDS" and was surprised to see that it reported 735 hash 
mismatches. Some of these were for files modified locally like /etc/hosts but 
the majority were for files that I've not changed, e.g.

/usr/bin/clang-cpp has SHA256 hash 
8937eebfc2bd2d18d05b786a568fbff980cf1b5a7333b8133cb197e7cd48ffcc, but should 
have SHA256 hash 
36b39d8f00b1c5aab193d594ff67bfdb7a382b2bdb5b30c824254e9d658fbf8c.

Are svn and freebsd-update looking at different versions of the system or do I 
have a problem? Considering the very short time interval between installing 
the system and checking IDS I'm quite confident my system hasn't been hacked 
from outside.

-- 
Mike Clarke
___
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: Problem with libpng + Mozilla applications on FreeBSD 8.3

2012-10-27 Thread Manish Jain

On Fri, Oct 26, 2012 at 11:06 PM, Polytropon  wrote:

On Sat, 27 Oct 2012 00:06:44 +0530, Manish Jain wrote:


Hello Polytropon,

Thanks for replying.

  > Maybe an update of FF and TB would be sufficient, so it can link
  > to the present (or at least expected) libraries accordingly.

Maybe I did not make it clear enough in the original message. The only
thing I installed from the installation DVD was the OS and the GNOME2
metaport. Everything else including FF and TB was installed from ports,
the tarball of which I downloaded just a couple of days back. I hope you
are not suggesting that I build the GNOME2 metaport too from the ports
directory : with my internet connection, that really would take me into
the next century.


Exactly that would have been the preferred solution. :-)




You should not manually copy things. At some point, something will
crash, and the ports infrastructure cannot take care of it. It's
easier to use a port management tool (like portmaster) to deal
with installing and updating of ports.


For the present issue, it seems logical that I would need 2 versions of
libpng : one for GNOME and one for the ports being installed. Having the
two versions reside independently in /usr/lib and /usr/local/lib seems
to be the only way out. I still must admit that it defeats the purpose
of having port management tools.


It also blurs the line between OS (/usr/lib) and additional
software (/usr/local/lib) directories. However, both directories
are used by the linker, so it looks possible (and probably better
than messing with symlinks in /usr/local/lib). Problems _might_
occur when updating world.





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







> Sometimes placing symlink to the newer version of library instead of
> older version helps.
>


There is only one symlink (/usr/local/bin/libpng.so) and it points to 
the newer version.



Regards,

Manish Jain
bourne.ident...@hotmail.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: ata controller problem

2012-10-27 Thread Gerhard Schmidt
Am 27.10.2012 10:39, schrieb Erich Dollansky:
> Hi,
> 
> On Sat, 27 Oct 2012 10:22:01 +0200
> Gerhard Schmidt  wrote:
> 
>>> hint.ada.3.at="scbus3"
>>> hint.ada.4.at="scbus4"
>>> hint.ada.5.at="scbus5"
>>>
>>> See CAM(4) man page (read it, don't skim!) for full details.  Just
>>> please for the love of god do not use labels to solve this.
>>>
>> Sorry this doesn't work because the numbering of the ahci change with
>> the occupancy of the Hot-Swap Bays.
>>
>> And that is my Problem. This i have tried first.
>>
>> Any idea how i can fix which controller gets which number.
>>
> just you labels. Chose the labelling method which fits best your file
> system. gpt seems to fit most scenarios.
> 
> Labels came up to solve your problem.

Can I mount the root filesystem via label. That's the problem here.

Regard
  Estartu


-- 
-
Gerhard Schmidt   | E-Mail und JabberID:
TU-München| schm...@ze.tum.de
WWW & Online Services |
Tel: 089/289-25270|
Fax: 089/289-25257| PGP-Publickey auf Anfrage



signature.asc
Description: OpenPGP digital signature


nvidia driver on amd64 (for asus nvidia gt 610)

2012-10-27 Thread Gary Aitken
running 9.0 release

Being frustrated with my radeon hd-5550 video card which occasionally
(once a week or so) goes into some kind of reset loop, filling up
Xorg.0.log and crashing the system because /var is full...

I picked up an asus nvidia gt 610.
Downloaded the nvidia driver and tried to build it.

make ominously reports:
  ld: Relocatable linking with relocations from format elf32-i386-freebsd
  (nv-kernel.o) to format elf64-x86-64-freebsd (nvidia.ko) is not
supported.

Where is the elf32-i386-freebsd stuff coming from?
I unpacked the driver in a tmp directory and did a make install there.

I found the following which implied it is a make problem in 9.0:

http://lists.freebsd.org/pipermail/freebsd-toolchain/2011-August/000265.html

I'm guessing it can be made to work but I need to define appropriate make
architecture variables, and I'm not sure how to do dat.
Hints?

BTW, can anyone explain why Xorg.*.log doesn't get closed and a new file
opened when it gets rather large and then rotate the way syslogs normally do?
It seems to rotate only when the server is restarted, or at least that's all
I've observed.

Thanks,

Gary



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


nvidia driver on amd64 (for asus nvidia gt 610)

2012-10-27 Thread Gary Aitken
running 9.0 release

Being frustrated with my radeon hd-5550 video card which occasionally
(once a week or so) goes into some kind of reset loop, filling up
Xorg.0.log and crashing the system because /var is full...

I picked up an asus nvidia gt 610.
Downloaded the nvidia driver and tried to build it.

make ominously reports:
  ld: Relocatable linking with relocations from format elf32-i386-freebsd 
  (nv-kernel.o) to format elf64-x86-64-freebsd (nvidia.ko) is not supported.

Where is the elf32-i386-freebsd stuff coming from?
I just unpacked the driver in a tmp directory and did a make install there.

I found the following which implied it is a make problem in 9.0:

http://lists.freebsd.org/pipermail/freebsd-toolchain/2011-August/000265.html

I'm guessing it can be made to work but I need to define appropriate make
architecture variables, and I'm not sure how to do dat.
Hints?

BTW, can anyone explain why Xorg.*.log doesn't get closed and a new file 
opened when it gets rather large and then rotate the way syslogs normally do?
It seems to rotate only when the server is restarted, or at least that's all
I've observed.

Thanks,

Gary
___
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: ata controller problem / AHCI numbering

2012-10-27 Thread Lucas B. Cohen
On 2012.10.26 14:18, Gerhard Schmidt wrote:
>> if there is a Drive in one of the HotSwap Bays the
>> PCI-Express controller is detected as ahci0 and the onboard is detected
>> as ahci1.

>> So Far i could have set some devices.hints entries to sort the scsi
>> busses. But the problem is that if there are no drives in the Bays the
>> PCI-Expresscard is detected as ahci1


On 2012.10.27 10:22, Gerhard Schmidt wrote:
> Am 26.10.2012 18:33, schrieb Jeremy Chadwick:

>> The proper way to solve this problem is to user /boot/loader.conf
>> tie-downs to assign each disk to each individual controllers' device
>> number (e.g. ada0 --> scbus0 --> ahcich0, or whatever you want).  Please
>> note I said ahcichX, not ahciX.  Different things.

> Sorry this doesn't work because the numbering of the ahci change with
> the occupancy of the Hot-Swap Bays.

I'm surprised and curious about this...

Don't all devices, including SATA/AHCI controllers, get probed and
numbered in the order they are presented to a kernel ?

What can cause that presentation order to vary when physical connections
don't change ?

How could even an intrusive x86 BIOS "feature" change that presentation
order based on whether or not a disk is connected to a peripheral device
? Doesn't a BIOS stay ignorant of what is plugged into external
controllers, which have their own boot ROM ?

Certainly FreeBSD's kernel would not bother to reorder device numbers
based on what is connected to them lower down the chain after it's
discovered these "children", right ? (I'd be curious to take a look at
your dmesg, Gerhard)

I wish I could test this and figure it out on my own, but I don't have
the right hardware available to replicate it and VirtualBox only
supports a single virtual SATA controller. Using two identical (crappy)
ASMedia AHCI 6Gbps PCIe adapters, I wasn't able to get their ahci
numbering reversed by plugging or unplugging disks from them before
booting. But the mainboard's SATA controllers are driven by atapci
instead of ahci, so it's not quite the same...


___
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: ata controller problem

2012-10-27 Thread Carl Johnson
Gerhard Schmidt  writes:

> Labels are good for naming Drives but how does it help me if the root
> filesystem changing device ids. I don't think the boot loader is able to
> use the label for the root Filesystem.

>From my fstab:
/dev/ufs/Oak /  ufs rw,noatime 1 1
/dev/label/OakSwap   none   swapsw 0 0

I think any of the other label schemes will also work.  If you don't
remember which label is which device id, then 'glabel status' will show
that, but you shouldn't need to.

-- 
Carl Johnsonca...@peak.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"


Warezweza added you as a contact on Twoo and wants to connect

2012-10-27 Thread Warezweza via Twoo
Warezweza added you as a contact on Twoo and wants to connect.

Connect on Twoo Copy/paste the following link into your web browser:
http://mail.twoo.com/m/39VxDx_C

Twoo is the most fun way to meet new people in your area

Join over 10 million people
Twoo is the fastest growing network for meeting new people. Find out why over 
10 million people have already joined Twoo.

Chat now
The first thing you want to do when you see a nice profile is start a 
conversation, right? On Twoo we promise you lots of people who are eager to 
have a chat. The best bit: it's free!

Mobile
Check out what is happening around you with the iPhone and Android apps. Take 
Twoo with you wherever you go.


Don't want to receive these mails? Follow this link:
http://mail.twoo.com/m/00TWyB_i
TWOO NV/SA, Grainsborough House, 81 Oxford Street, W1D 2EU London, United 
Kingdom info-e...@twoo.com BE0834322338.
___
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: 9.1 and gmirror with GPT?

2012-10-27 Thread freebsd
On 2012-10-23 17:46, Warren Block wrote:
> On Tue, 23 Oct 2012, free...@johnea.net wrote:
 
>> To create a swap and then a root that fills the rest of the disk, must the 
>> swap be created first, like this:
>>
>> gpart add -t freebsd-swap -a 4k -s 4g mirror/gm0s1
>> gpart add -t freebsd-ufs  -a 4k   mirror/gm0s1
>>
>> Is there any other way to tell gpart to create the / partition using all 
>> space except 4G?
> 
> I'm afraid it requires one to Use Math(tm).  gpart show will at least show 
> the real capacity of a drive, instead of the diagonally-measured inflated 
> units used by drive vendors.

Thanks for your guidance Warren! I've also been reading a number of threads on 
the forums on this subject, to which you contributed.

Rather than face the scary prospect of using actual Math(tm) 8-) I was just 
going to create swap first at 8G, and let the freebsd partition fill the rest 
of the disk, however as I try to destroy previous non-aligned MBR and gmirror 
metadata, I'm running into issues:

"mirror/gm0s1 added, but partition is not aligned on 4096 bytes"

Below is a short screen shot of the commands used to destroy and then recreate 
gmirror. I'm currently running with non-geom ada0 as root, and am attempting to 
create the aligned partitions of gm0 on ada1. 

I'm not sure what to do to cause the MBR scheme to be aligned. Thanks for any 
feedback!

johnea

orsbackup# mount
/dev/ada0s1a on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
orsbackup# gmirror status
  NameStatus  Components
mirror/gm0  COMPLETE  ada1 (ACTIVE)
orsbackup# gpart destroy -F mirror/gm0
mirror/gm0 destroyed
orsbackup# gpart create -s MBR mirror/gm0
mirror/gm0 created
orsbackup# ls /dev/mirror/
gm0
orsbackup# gpart add -t freebsd -a 4k mirror/gm0
mirror/gm0s1 added, but partition is not aligned on 4096 bytes
orsbackup# gpart show
=>63  3907029105  ada0  MBR  (1.8T)
  63  63- free -  (31k)
 126  3906994077 1  freebsd  [active]  (1.8T)
  3906994203   34965- free -  (17M)

=> 0  3906994077  ada0s1  BSD  (1.8T)
   0  3890216960   1  freebsd-ufs  (1.8T)
  389021696016777116   2  freebsd-swap  (8G)
  3906994076   1  - free -  (512B)

=>63  3907029104  mirror/gm0  MBR  (1.8T)
  63  63  - free -  (31k)
 126  3907028979   1  freebsd  (1.8T)
  3907029105  62  - free -  (31k)

=> 0  3907028979  mirror/gm0s1  BSD  (1.8T)
   0  3890216960 1  freebsd-ufs  (1.8T)
  389021696016777116 2  freebsd-swap  (8G)
  3906994076   34903- free -  (17M)

___
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: nvidia driver on amd64 (for asus nvidia gt 610)

2012-10-27 Thread Gary Aitken
On 10/27/12 07:50, Gary Aitken wrote:
> running 9.0 release
> 
> Being frustrated with my radeon hd-5550 video card which occasionally
> (once a week or so) goes into some kind of reset loop, filling up
> Xorg.0.log and crashing the system because /var is full...
> 
> I picked up an asus nvidia gt 610.
> Downloaded the nvidia driver and tried to build it.
> 
> make ominously reports:
>ld: Relocatable linking with relocations from format elf32-i386-freebsd
>(nv-kernel.o) to format elf64-x86-64-freebsd (nvidia.ko) is not 
> supported.
> 
> Where is the elf32-i386-freebsd stuff coming from?
> I just unpacked the driver in a tmp directory and did a make install there.
> 
> I found the following which implied it is a make problem in 9.0:
> 
> http://lists.freebsd.org/pipermail/freebsd-toolchain/2011-August/000265.html
> 
> I'm guessing it can be made to work but I need to define appropriate make
> architecture variables, and I'm not sure how to do dat.
> Hints?
> 
> BTW, can anyone explain why Xorg.*.log doesn't get closed and a new file
> opened when it gets rather large and then rotate the way syslogs normally do?
> It seems to rotate only when the server is restarted, or at least that's all
> I've observed.

My apologies for the original double posting; 
saw a temporary reject in my maillog and thought it would turn into a real
one due to a past problem.

I found the following patch and applied it, 

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

Also discovered I had downloaded the x86 version instead of the 64bit version.
"make CC=clang CXX=clang++ install" seemed to work; now on to testing it.

Sorry for the mixup.

Gary
___
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: Portupgrade now supports pkgng [/usr/ports/UPDATING]

2012-10-27 Thread Alexander Kapshuk

Quick question about portupgrade's support for pkgng.

The /usr/ports/UPDATING says:
20121015:
  AFFECTS: users of ports-mgmt/portupgrade
  AUTHOR: bdrew...@freebsd.org

  Portupgrade now supports pkgng. To use pkgng, enable it in your 
make.conf,

  and convert your databases.

  This is optional and not currently required.

  # make -C /usr/ports/ports-mgmt/pkg install clean
  # echo 'WITH_PKGNG=yes' >> /etc/make.conf
  # pkg2ng
  # pkgdb -fu

Having done all of the above, I ran portupgrade to update all the pkgs 
that needed upgrading on my system, and got the message below:

root@box0:/root/tmp # portupgrade -varRP --batch -L '%s_%s'
USING PKGNG
Packages are not yet suported. Use pkg(8) directly.

That doesn't sound like portupgrade supports pkgng, or did I misread the 
message in the UPDATING file?


box0=; uname -a
FreeBSD box0.my.domain 9.1-RC2 FreeBSD 9.1-RC2 #0 r241133: Tue Oct 2 
17:11:45 UTC 2012 
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


Thanks.

Alexander Kapshuk.

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


How to install FreeBSD on CX-01 Mini Android TV

2012-10-27 Thread Андріан

Доброго дня.

Hi, I'm so impressed freebsd system that try to use it anywhere and in 
anything. How to install freebsd on
CX-01 Mini Android TV USB Stick Android 4.0 Cortex A5 detailed a description 
for link:

http://www.androidgadgets.co.uk/#/shop/4562780474/CX-01-Mini-Android-TV-USB-Stick-Android-4.0-Cortex-A5-UK/2779475

Please excuse me for my english, I'm from Ukraine ...



З повагою Андріан
IT-послуги
[cid:image001.jpg@01CDAFED.970F6190]
моб.: (067) 713 78 01
моб.: (063) 704 22 44
веб.: http://freebsd.zapto.org
e-mail: andr...@freebsd.zapto.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"

How to install FreeBSD on CX-01 Mini Android TV

2012-10-27 Thread Андріан
Доброго дня.

Hi, I'm so impressed freebsd system that try to use it anywhere and in 
anything. How to install freebsd on
CX-01 Mini Android TV USB Stick Android 4.0 Cortex A5 detailed a description 
for link:

http://www.androidgadgets.co.uk/#/shop/4562780474/CX-01-Mini-Android-TV-USB-Stick-Android-4.0-Cortex-A5-UK/2779475

Please excuse me for my english, I'm from Ukraine ...



З повагою Андріан
IT-послуги
[cid:image001.jpg@01CDAFED.970F6190]
моб.: (067) 713 78 01
моб.: (063) 704 22 44
веб.: http://freebsd.zapto.org
e-mail: andr...@freebsd.zapto.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"

How to install FreeBSD on CX-01 Mini Android TV

2012-10-27 Thread Андріан


Доброго дня.

Hi, I'm so impressed freebsd system that try to use it anywhere and in 
anything. How to install freebsd on
CX-01 Mini Android TV USB Stick Android 4.0 Cortex A5 detailed a description 
for link:

http://www.androidgadgets.co.uk/#/shop/4562780474/CX-01-Mini-Android-TV-USB-Stick-Android-4.0-Cortex-A5-UK/2779475

Please excuse me for my english, I'm from Ukraine ...



З повагою Андріан
IT-послуги
[cid:image001.jpg@01CDAFED.970F6190]
моб.: (067) 713 78 01
моб.: (063) 704 22 44
веб.: http://freebsd.zapto.org
e-mail: andr...@freebsd.zapto.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"

How to install FreeBSD on CX-01 Mini Android TV

2012-10-27 Thread Андріан

Доброго дня.

Hi, I'm so impressed freebsd system that try to use it anywhere and in 
anything. How to install freebsd on
CX-01 Mini Android TV USB Stick Android 4.0 Cortex A5 detailed a description 
for link:

http://www.androidgadgets.co.uk/#/shop/4562780474/CX-01-Mini-Android-TV-USB-Stick-Android-4.0-Cortex-A5-UK/2779475

Please excuse me for my english, I'm from Ukraine ...



З повагою Андріан
IT-послуги
[cid:image001.jpg@01CDAFED.970F6190]
моб.: (067) 713 78 01
моб.: (063) 704 22 44
веб.: http://freebsd.zapto.org
e-mail: andr...@freebsd.zapto.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"

How to install FreeBSD on CX-01 Mini Android TV

2012-10-27 Thread Андріан


Доброго дня.

Hi, I'm so impressed freebsd system that try to use it anywhere and in 
anything. How to install freebsd on
CX-01 Mini Android TV USB Stick Android 4.0 Cortex A5 detailed a description 
for link:

http://www.androidgadgets.co.uk/#/shop/4562780474/CX-01-Mini-Android-TV-USB-Stick-Android-4.0-Cortex-A5-UK/2779475

Please excuse me for my english, I'm from Ukraine ...



З повагою Андріан
IT-послуги
[cid:image001.jpg@01CDAFED.970F6190]
моб.: (067) 713 78 01
моб.: (063) 704 22 44
веб.: http://freebsd.zapto.org
e-mail: andr...@freebsd.zapto.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"

Fwd: re: Portupgrade now supports pkgng [/usr/ports/UPDATING]

2012-10-27 Thread Alexander Kapshuk
If my reading the code snippet below is right, portupgrade-2.4.10.2 does 
not support pkgng yet if pkgdb has been converted for use with pkgng 
using pkg2ng.


/usr/ports/ports-mgmt/portupgrade/work/pkgtools-2.4.10.2/bin/portupgrade:561,565
# FIXME: pkgng
  if $use_packages && $pkgdb.with_pkgng?
STDERR.puts "Packages are not yet suported. Use pkg(8) directly."
return 0
  end


 Original Message 
Subject:re: Portupgrade now supports pkgng [/usr/ports/UPDATING]
Date:   Sat, 27 Oct 2012 21:22:32 +0300
From:   Alexander Kapshuk 
To: freebsd-questions@freebsd.org



Quick question about portupgrade's support for pkgng.

The /usr/ports/UPDATING says:
20121015:
  AFFECTS: users of ports-mgmt/portupgrade
  AUTHOR: bdrew...@freebsd.org

  Portupgrade now supports pkgng. To use pkgng, enable it in your
make.conf,
  and convert your databases.

  This is optional and not currently required.

  # make -C /usr/ports/ports-mgmt/pkg install clean
  # echo 'WITH_PKGNG=yes' >> /etc/make.conf
  # pkg2ng
  # pkgdb -fu

Having done all of the above, I ran portupgrade to update all the pkgs
that needed upgrading on my system, and got the message below:
root@box0:/root/tmp # portupgrade -varRP --batch -L '%s_%s'
USING PKGNG
Packages are not yet suported. Use pkg(8) directly.

That doesn't sound like portupgrade supports pkgng, or did I misread the
message in the UPDATING file?

box0=; uname -a
FreeBSD box0.my.domain 9.1-RC2 FreeBSD 9.1-RC2 #0 r241133: Tue Oct 2
17:11:45 UTC 2012
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Thanks.

Alexander Kapshuk.




___
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: Problem with libpng + Mozilla applications on FreeBSD 8.3

2012-10-27 Thread Manish Jain

But Mozilla applications like Firefox and Thunderbird present
a peculiar problem - the buttons on the Tool bar/Menu bar do not
have any image on them.



The problem is not Mozilla-specific. I built Opera web browser from 
ports, and that too has images missing from its buttons.


Looks like I am going to have to contend with being less "image-inative" 
in the coming days.



Regards,

Manish Jain
bourne.ident...@hotmail.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: Problem with libpng + Mozilla applications on FreeBSD 8.3

2012-10-27 Thread Polytropon
On Sun, 28 Oct 2012 01:43:11 +0530, Manish Jain wrote:
> > But Mozilla applications like Firefox and Thunderbird present
> > a peculiar problem - the buttons on the Tool bar/Menu bar do not
> > have any image on them.
> 
> 
> The problem is not Mozilla-specific. I built Opera web browser from 
> ports, and that too has images missing from its buttons.

It seems that the problem is in some dependency, not the "top port"
itself. This usually indicates that something in /usr/local is
dangerously out of sync, and in most cases, "wide re-installs"
solve such kind of problem.



> Looks like I am going to have to contend with being less "image-inative" 
> in the coming days.

You just need to imagine the images. :-)



-- 
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: Problem with libpng + Mozilla applications on FreeBSD 8.3

2012-10-27 Thread Robert Bonomi

> Date: Sat, 27 Oct 2012 22:19:16 +0200
> From: Polytropon 
> Subject: Re: Problem with libpng + Mozilla applications on FreeBSD 8.3
>
> On Sun, 28 Oct 2012 01:43:11 +0530, Manish Jain wrote:
> > Looks like I am going to have to contend with being less "image-inative" 
> > in the coming days.
>
> You just need to imagine the images. :-)
>

It's a complex issue.  a purely imagine-ary solution is inadequate.

*SNICKER*  (or *ALMOND*JOY* if you prefer nuts)


___
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: 9.1 and gmirror with GPT?

2012-10-27 Thread Warren Block

On Sat, 27 Oct 2012, free...@johnea.net wrote:


On 2012-10-23 17:46, Warren Block wrote:

On Tue, 23 Oct 2012, free...@johnea.net wrote:



To create a swap and then a root that fills the rest of the disk, must the swap 
be created first, like this:

gpart add -t freebsd-swap -a 4k -s 4g mirror/gm0s1
gpart add -t freebsd-ufs  -a 4k   mirror/gm0s1

Is there any other way to tell gpart to create the / partition using all space 
except 4G?


I'm afraid it requires one to Use Math(tm).  gpart show will at least show the 
real capacity of a drive, instead of the diagonally-measured inflated units 
used by drive vendors.


Thanks for your guidance Warren! I've also been reading a number of threads on 
the forums on this subject, to which you contributed.

Rather than face the scary prospect of using actual Math(tm) 8-) I was just 
going to create swap first at 8G, and let the freebsd partition fill the rest 
of the disk, however as I try to destroy previous non-aligned MBR and gmirror 
metadata, I'm running into issues:

"mirror/gm0s1 added, but partition is not aligned on 4096 bytes"

Below is a short screen shot of the commands used to destroy and then recreate 
gmirror. I'm currently running with non-geom ada0 as root, and am attempting to 
create the aligned partitions of gm0 on ada1.

I'm not sure what to do to cause the MBR scheme to be aligned. Thanks for any 
feedback!

johnea

orsbackup# mount
/dev/ada0s1a on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
orsbackup# gmirror status
 NameStatus  Components
mirror/gm0  COMPLETE  ada1 (ACTIVE)
orsbackup# gpart destroy -F mirror/gm0
mirror/gm0 destroyed
orsbackup# gpart create -s MBR mirror/gm0
mirror/gm0 created
orsbackup# ls /dev/mirror/
gm0
orsbackup# gpart add -t freebsd -a 4k mirror/gm0
mirror/gm0s1 added, but partition is not aligned on 4096 bytes


This is new to me, I have not seen it before.  I had the impression that 
gpart put the bsdlabel partition table at a misaligned offset so that 
the actual filesystems in those partitions would land on an aligned 
block, but it never gave that message.  That comes from 
sys/geom/part/g_part.c, function g_part_ctl_add which starts at line 
645:


743 /* Provide feedback if so requested. */
744 if (gpp->gpp_parms & G_PART_PARM_OUTPUT) {
745 sb = sbuf_new_auto();
746 G_PART_FULLNAME(table, entry, sb, gp->name);
747 if (pp->stripesize > 0 && entry->gpe_pp->stripeoffset != 0)
748 sbuf_printf(sb, " added, but partition is not "
749 "aligned on %u bytes\n", pp->stripesize);
750 else
751 sbuf_cat(sb, " added\n");
752 sbuf_finish(sb);
753 gctl_set_param(req, "output", sbuf_data(sb), sbuf_len(sb) + 
1);
754 sbuf_delete(sb);
755 }
756 return (0);


orsbackup# gpart show
=>63  3907029105  ada0  MBR  (1.8T)
 63  63- free -  (31k)
126  3906994077 1  freebsd  [active]  (1.8T)
 3906994203   34965- free -  (17M)

=> 0  3906994077  ada0s1  BSD  (1.8T)
  0  3890216960   1  freebsd-ufs  (1.8T)
 389021696016777116   2  freebsd-swap  (8G)
 3906994076   1  - free -  (512B)

=>63  3907029104  mirror/gm0  MBR  (1.8T)
 63  63  - free -  (31k)
126  3907028979   1  freebsd  (1.8T)
 3907029105  62  - free -  (31k)

=> 0  3907028979  mirror/gm0s1  BSD  (1.8T)
  0  3890216960 1  freebsd-ufs  (1.8T)
 389021696016777116 2  freebsd-swap  (8G)
 3906994076   34903- free -  (17M)

___
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: 9.1 and gmirror with GPT?

2012-10-27 Thread freebsd
On 2012-10-27 14:41, Warren Block wrote:
> On Sat, 27 Oct 2012, free...@johnea.net wrote:
> 
>> On 2012-10-23 17:46, Warren Block wrote:
>>> On Tue, 23 Oct 2012, free...@johnea.net wrote:

>> orsbackup# gpart add -t freebsd -a 4k mirror/gm0
>> mirror/gm0s1 added, but partition is not aligned on 4096 bytes
> 
> This is new to me, I have not seen it before.  I had the impression that 
> gpart put the bsdlabel partition table at a misaligned offset so that the 
> actual filesystems in those partitions would land on an aligned block, but it 
> never gave that message.  That comes from sys/geom/part/g_part.c, function 
> g_part_ctl_add which starts at line 645:
> 
> 743 /* Provide feedback if so requested. */
> 744 if (gpp->gpp_parms & G_PART_PARM_OUTPUT) {
> 745 sb = sbuf_new_auto();
> 746 G_PART_FULLNAME(table, entry, sb, gp->name);
> 747 if (pp->stripesize > 0 && entry->gpe_pp->stripeoffset != 
> 0)
> 748 sbuf_printf(sb, " added, but partition is not "
> 749 "aligned on %u bytes\n", pp->stripesize);
> 750 else
> 751 sbuf_cat(sb, " added\n");
> 752 sbuf_finish(sb);
> 753 gctl_set_param(req, "output", sbuf_data(sb), sbuf_len(sb) 
> + 1);
> 754 sbuf_delete(sb);
> 755 }
> 756 return (0);
> 

Thanks Warren!

I ended up just ignoring the not aligned warning from the "gpart add -t 
freebsd" and went on to add the freebsd-swap and freebsd-ufs partitions with 
"-a 4k" option.

Do you think I'm aligned?

Thanks!

johnea

orsbackup# gpart create -s BSD mirror/gm0s1
mirror/gm0s1 created
orsbackup# gpart add -t freebsd-swap -a 4k -s 8g mirror/gm0s1
mirror/gm0s1a added
orsbackup# gpart add -t freebsd-ufs  -a 4k   mirror/gm0s1
mirror/gm0s1b added

orsbackup# gpart bootcode -b /boot/mbr mirror/gm0
bootcode written to mirror/gm0
orsbackup# gpart set -a active -i 1 mirror/gm0
active set on mirror/gm0s1
orsbackup# gpart bootcode -b /boot/boot mirror/gm0s1
bootcode written to mirror/gm0s1

orsbackup# 
orsbackup# gpart show
=>63  3907029105  ada0  MBR  (1.8T)
  63  63- free -  (31k)
 126  3906994077 1  freebsd  [active]  (1.8T)
  3906994203   34965- free -  (17M)

=> 0  3906994077  ada0s1  BSD  (1.8T)
   0  3890216960   1  freebsd-ufs  (1.8T)
  389021696016777116   2  freebsd-swap  (8G)
  3906994076   1  - free -  (512B)

=>63  3907029104  mirror/gm0  MBR  (1.8T)
  63  63  - free -  (31k)
 126  3907028979   1  freebsd  (1.8T)
  3907029105  62  - free -  (31k)

=> 0  3907028979  mirror/gm0s1  BSD  (1.8T)
   0   2- free -  (1.0k)
   216777216 1  freebsd-swap  (8.0G)
16777218  3890251760 2  freebsd-ufs  (1.8T)
  3907028978   1- free -  (512B)
___
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: 9.1 and gmirror with GPT?

2012-10-27 Thread Warren Block

On Sat, 27 Oct 2012, free...@johnea.net wrote:


I ended up just ignoring the not aligned warning from the "gpart add -t freebsd" and went 
on to add the freebsd-swap and freebsd-ufs partitions with "-a 4k" option.

Do you think I'm aligned?

...

=>63  3907029104  mirror/gm0  MBR  (1.8T)
 63  63  - free -  (31k)
126  3907028979   1  freebsd  (1.8T)
 3907029105  62  - free -  (31k)

=> 0  3907028979  mirror/gm0s1  BSD  (1.8T)
  0   2- free -  (1.0k)
  216777216 1  freebsd-swap  (8.0G)
   16777218  3890251760 2  freebsd-ufs  (1.8T)
 3907028978   1- free -  (512B)


The slice starts at block 126, and then the swap partition starts an 
additional two blocks into the slice, which is block 128, evenly 
divisible by 8 (4096 = 512 * 8).


The freebsd-ufs partition starts at 126+16777218, which is also evenly 
divisible by 8.


So yes, that looks aligned to me.
___
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"


Why RELENG_9 branch is labeled as PRERELEASE and freebsd.org says FreeBSD is currently at 9.1-RC2 ?

2012-10-27 Thread Yuri
RELENG_9 is supposed to represent the latest branch of 9.1. De facto, 
code says it is PRERELEASE (sys/conf/newvers.sh).

But freebsd.org on its front page says 9.1 is at RC-2.
So how can I get RC-2 through cvsup except through RELENG_9 which gives 
PRERELEASE ?


Yuri
___
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: Problem with libpng + Mozilla applications on FreeBSD 8.3

2012-10-27 Thread Manish Jain


On 28-Oct-12 01:49, Polytropon wrote:

On Sun, 28 Oct 2012 01:43:11 +0530, Manish Jain wrote:

But Mozilla applications like Firefox and Thunderbird present
a peculiar problem - the buttons on the Tool bar/Menu bar do not
have any image on them.



The problem is not Mozilla-specific. I built Opera web browser from
ports, and that too has images missing from its buttons.


It seems that the problem is in some dependency, not the "top port"
itself. This usually indicates that something in /usr/local is
dangerously out of sync, and in most cases, "wide re-installs"
solve such kind of problem.




Looks like I am going to have to contend with being less "image-inative"
in the coming days.


You just need to imagine the images. :-)



Hello Poly,


"wide re-installs"


Consider me a newbie here. How do I do wide-reinstall ? I don't mind 
pulling in and building a few more ports as long as it is not the whole 
GNOME2 metaport.



Thank you &
Regards,

Manish Jain
bourne.ident...@hotmail.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: Problem with libpng + Mozilla applications on FreeBSD 8.3

2012-10-27 Thread Polytropon
On Sun, 28 Oct 2012 05:47:46 +0530, Manish Jain wrote:
> 
> On 28-Oct-12 01:49, Polytropon wrote:
> > On Sun, 28 Oct 2012 01:43:11 +0530, Manish Jain wrote:
> >>> But Mozilla applications like Firefox and Thunderbird present
> >>> a peculiar problem - the buttons on the Tool bar/Menu bar do not
> >>> have any image on them.
> >>
> >>
> >> The problem is not Mozilla-specific. I built Opera web browser from
> >> ports, and that too has images missing from its buttons.
> >
> > It seems that the problem is in some dependency, not the "top port"
> > itself. This usually indicates that something in /usr/local is
> > dangerously out of sync, and in most cases, "wide re-installs"
> > solve such kind of problem.
> >
> >
> >
> >> Looks like I am going to have to contend with being less "image-inative"
> >> in the coming days.
> >
> > You just need to imagine the images. :-)
> 
> 
> Hello Poly,
> 
> > "wide re-installs"
> 
> Consider me a newbie here. How do I do wide-reinstall ?

That's nowhere a correct terminus technicus or established word.
It just means that, for example, if you update one small library
that is incorporated by a dependency of a dependency of a library
part of Gtk, you need to recompile everything in relation to Gtk,
all Gtk programs, libraries and dependencies.

Manually tracing down the dependency could be possible, and maybe
"manual overrides" with symlinks and libmap.conf can work, but
if you update something here, in conclusion something there, it
could lead to even more trouble, forcing you to do much more
updates than you are willing to perform.



> I don't mind 
> pulling in and building a few more ports as long as it is not the whole 
> GNOME2 metaport.

It could very well be the whole Gnome 2 metaport. :-(




-- 
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: Portupgrade now supports pkgng [/usr/ports/UPDATING]

2012-10-27 Thread Bryan Drewery
On 10/27/2012 1:22 PM, Alexander Kapshuk wrote:
> Quick question about portupgrade's support for pkgng.
> 
> The /usr/ports/UPDATING says:
> 20121015:
>   AFFECTS: users of ports-mgmt/portupgrade
>   AUTHOR: bdrew...@freebsd.org
> 
>   Portupgrade now supports pkgng. To use pkgng, enable it in your
> make.conf,
>   and convert your databases.
> 
>   This is optional and not currently required.
> 
>   # make -C /usr/ports/ports-mgmt/pkg install clean
>   # echo 'WITH_PKGNG=yes' >> /etc/make.conf
>   # pkg2ng
>   # pkgdb -fu
> 
> Having done all of the above, I ran portupgrade to update all the pkgs
> that needed upgrading on my system, and got the message below:
> root@box0:/root/tmp # portupgrade -varRP --batch -L '%s_%s'
> USING PKGNG
> Packages are not yet suported. Use pkg(8) directly.
> 
> That doesn't sound like portupgrade supports pkgng, or did I misread the
> message in the UPDATING file?


PKGNG is a replacement for the pkg_* tools that record package data in
/var/db/pkg.

It also allows for binary package upgrades.

If you are wanting to use pkgng for binary packages, there's no need to
use portupgrade anymore. Just 'pkg install name', 'pkg upgrade', etc.

> 
> box0=; uname -a
> FreeBSD box0.my.domain 9.1-RC2 FreeBSD 9.1-RC2 #0 r241133: Tue Oct 2
> 17:11:45 UTC 2012
> r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> 
> Thanks.
> 
> Alexander Kapshuk.

-- 
Regards,
Bryan Drewery
bdrewery@freenode/EFNet
___
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"


panic: double fault

2012-10-27 Thread Eugen Konkov
uname -a
FreeBSD newflux 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #4 r239949: Fri Aug 31 
16:57:42 EEST 2012 root@newflux:/usr/obj/usr/src/sys/KES_KERN_v9  i386

Fatal double fault:
eip = 0xc0e538e8
esp = 0xc7945004
ebp = 0xc7945c64
cpuid = 3; apic id = 03
panic: double fault
cpuid = 3
KDB: stack backtrace:
#0 0xc0af724f at kdb_backtrace+0x4f
#1 0xc0ac3c4f at panic+0x16f
#2 0xc0e68aab at dblfault_handler+0x9b
Uptime: 17h57m50s
Physical memory: 3534 MB
Dumping 452 MB: 437 421 405 389 373 357 341 325 309 293 277 261 245 229 213 197 
181 165 149 133 117 101 85 69 53 37 21 5

Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from 
/boot/kernel/accf_http.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_http.ko
Reading symbols from /boot/kernel/accf_data.ko...Reading symbols from 
/boot/kernel/accf_data.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_data.ko
#0  doadump (textdump=1) at pcpu.h:244
244 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) #0  doadump (textdump=1) at pcpu.h:244
#1  0xc0ac399f in kern_reboot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:448
#2  0xc0ac3c92 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:636
#3  0xc0e68aab in dblfault_handler () at /usr/src/sys/i386/i386/trap.c:1051
#4  0xc0e538e8 in Xprot () at /usr/src/sys/i386/i386/exception.s:133
#5  0x00010046 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)

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