Re: [gentoo-user] Re: udev downgrade

2013-01-04 Thread Matthias Hanft
Bruce Hill wrote:
 
 Too late, too tired, but do you have:
 =sys-fs/udev-181
 in /etc/portage/package.mask ?

Ehm... according to http://packages.gentoo.org/category/sys-fs?full_cat
udev-171-r9 is the only stable x86 version, and udev-181 doesn't exist
at all?!

-Matt (still using 171 because at emerge -u world, an update never appeared)





Re: [gentoo-user] Issues emerging Calligra

2013-01-04 Thread Rafa Griman
Hi Michael :)

On Thu, Jan 3, 2013 at 5:11 PM, Michael Orlitzky mich...@orlitzky.com wrote:
 On 01/03/2013 06:33 AM, Rafa Griman wrote:
 Hi all :)

 First off: Happy New Year ;)

 I'm trying to emerge Calligra but I get stuck on the following error
 when glew gets emerged:


 Make sure your 'eselect opengl' looks like it should, and then if that
 doesn't help, file a bug. The cannot find -lGLU usually indicates a
 missing dependency, but everything in the ebuilds looks OK to me at
 first glance.


Thanks for your answer :)

I don't have my computer here with me but will check the eselect opengl option.


 You've got media-libs/glu installed?


I checked it yesterday and IIRC, yes I do ... but I'd have to double
check when I get back home.

Thanks !!!

   Rafa



Re: [gentoo-user] Re: udev downgrade

2013-01-04 Thread Bruce Hill
On Fri, Jan 04, 2013 at 12:19:09AM -0600, Dustin C. Hatch wrote:
 
 The problem is you are trying to downgrade sys-fs/udev but not 
 virtual/udev. If you want to force using udev-171, you need to mask both 
 the real and virtual atoms. Try this in /etc/portage/package.mask/udev:
 
  =sys-fs/udev-181
  =virtual/udev-181
 
 Then emerge -avuD1 udev and see if that fixes it.

Maybe this is true for a downgrade, but not normally:

mingdao@workstation ~ $ eshowkw udev
Keywords for sys-fs/udev:
   |   | u   |  
   | a a p s   | n   |  
   | l m   h i m m   p s   p   | u s | r
   | p d a p a 6 i p c 3   a x | s l | e
   | h 6 r p 6 8 p p 6 9 s r 8 | e o | p
   | a 4 m a 4 k s c 4 0 h c 6 | d t | o
---+---+-+---
   141-r1  | ~ ~ ~ + ~ ~ ~ ~ ~ ~ ~ ~ ~ | # 0 | gentoo
   146-r1  | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | #   | gentoo
   149 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | #   | gentoo
   151-r4  | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | #   | gentoo
   164-r2  | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | #   | gentoo
[I]171-r9  | + + + + + + ~ + + + + + + | o   | gentoo
   171-r10 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | o   | gentoo
   195 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | #   | gentoo
   196-r1  | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | o   | gentoo
   | o o o o o o o o o o o o o | o   | gentoo
mingdao@workstation ~ $ cat /etc/portage/package.mask 
=sys-fs/udev-181
=dev-lang/python-3

And, yes, this udev mask is used on 8 Gentoo boxen on this LAN.
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



[gentoo-user] Firefox and ssl

2013-01-04 Thread Robert David
Hi all,

anyone have problem with firefox and selfsigned ssl? I tryed firefox and
firefox-bin. 

Firefox:
Problem loading page: Secure connection failed.

Firefox-bin:
No problem loading page.


I tryed with/without system-sqlite. Rebuild nss. Nothing helped. 



Robert David



Re: [gentoo-user] Old ATI Radeon RV350 driver broken after system update

2013-01-04 Thread Peter Weilbacher

On 2013-01-03 13:59, Bruce Hill wrote:


xorg-server-1.13.1 (25 Dec 2012)

Your mirror must be *really* lagging.  :(


Not so much:
  30 Dec 2012; Agostino Sarubbo a...@gentoo.org 
xorg-server-1.13.1.ebuild:

  Stable for amd64, wrt bug #448562

This was the second update since then, maybe the first time (around Jan 
1st)

the mirror was lagging a bit. (Since I didn't know for sure that it was
xorg-server's fault or if it was fixed there I didn't keyword that 
package.)

   Peter.



[gentoo-user] Systemd and lvm

2013-01-04 Thread Robin Atwood
Having observed all the ranting, I thought I would try systemd on a laptop. It 
actually seems to work quite well and it is a lot faster. However I am having 
trouble getting my LVM partitions mounted. I installed the LVM service unit 
from the Gentoo Wiki but it never completes, timing-out on a job that mounts 
/var. The VG is actually created by an initramfs and when systemd dumps you 
out to the emergency shell you can use lvs to see the volumes, /dev/mapper has 
all the correct devices and dmsetup ls shows the LVs. In fact, everything 
appears as it should, the partitions just don't get mounted. I circumvented 
this by putting mount -a in the lvm.service unit, which then completes and 
the mount jobs time-out. Everything seems to be OK but it is a bit of a 
kludge. One thing I notice is:

# udevadm info -p /dev/mapper/vg00-rootfs -q all
syspath not found

Udev seems not to know about the LVs. Any ideas?

TIA
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--










[gentoo-user] Re: udev downgrade

2013-01-04 Thread James
Dustin C. Hatch admiralnemo at gmail.com writes:


 The problem is you are trying to downgrade sys-fs/udev but not 
 virtual/udev. If you want to force using udev-171, you need to mask both 
 the real and virtual atoms. Try this in /etc/portage/package.mask/udev:

  =sys-fs/udev-181
  =virtual/udev-181

 Then emerge -avuD1 udev and see if that fixes it.

I get the downgrades you would expect:



 UD ] virtual/udev-171 [196]
UD ] sys-fs/udev-171-r9

I also get some weird companion downgrades:

blocks B  ] x11-libs/qt-script-4.8.2-r:4
(x11-libs/qt-script-4.8.2-r:4 is blocking x11-libs/qt-declarative-4.8.2,
x11-libs/qt-webkit-4.8.2, x11-libs/qt-svg-4.8.2, x11-libs/qt-test-4.8.2,
x11-libs/qt-xmlpatterns-4.8.2, x11-libs/qt-multimedia-4.8.2,
x11-libs/qt-opengl-4.8.2)
[blocks B  ] x11-libs/qt-gui-4.8.4:4 
snip

and these:

Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

virtual/udev:0

  (virtual/udev-171::gentoo,ebuild scheduled for merge) pulled in by
virtual/udev-196 required by (sys-fs/lvm2-2.02.88::gentoo, installed)
=virtual/udev-171 required by (kde-base/kdelibs-4.9.3::gentoo, installed)
(and 17 more with the same problems)

  (virtual/udev-196::gentoo, installed) pulled in by
=virtual/udev-180 required by (sys-fs/udev-196-r1::gentoo, installed)
(and 1 more with the same problem)

sys-fs/udev:0

  (sys-fs/udev-196-r1::gentoo, installed) pulled in by
   
=sys-fs/udev-196-r1[gudev?,hwdb?,introspection?,keymap?,selinux?,static-libs?]
required by (virtual/udev-196::gentoo, installed)

  (sys-fs/udev-171-r9::gentoo, ebuild scheduled for merge) pulled in by
~sys-fs/udev-171[gudev?,hwdb?,introspection?,keymap?,selinux?] required by
(virtual/udev-171::gentoo, ebuild scheduled for merge)

snip

Does this look normal?


James





Re: [gentoo-user] Systemd and lvm

2013-01-04 Thread Canek Peláez Valdés
On Fri, Jan 4, 2013 at 10:11 AM, Robin Atwood
robin.atw...@attglobal.net wrote:
 Having observed all the ranting, I thought I would try systemd on a laptop.
 It actually seems to work quite well and it is a lot faster. However I am
 having trouble getting my LVM partitions mounted. I installed the LVM
 service unit from the Gentoo Wiki but it never completes, timing-out on a
 job that mounts /var. The VG is actually created by an initramfs and when
 systemd dumps you out to the emergency shell you can use lvs to see the
 volumes, /dev/mapper has all the correct devices and dmsetup ls shows the
 LVs. In fact, everything appears as it should, the partitions just don't get
 mounted. I circumvented this by putting mount -a in the lvm.service unit,
 which then completes and the mount jobs time-out. Everything seems to be OK
 but it is a bit of a kludge. One thing I notice is:



 # udevadm info -p /dev/mapper/vg00-rootfs -q all

 syspath not found



 Udev seems not to know about the LVs. Any ideas?

How did you create your initramfs? Have you tried dracut, with
DRACUT_MODULES=lvm?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



[gentoo-user] graphite2 won't emerge | powerpc mac | Undefined symbols for architecture ppc

2013-01-04 Thread Daniel Ibn Zayd
I recently renewed a friend's old Quicksilver G4 power PC, and forced an 
install of system 10.5.8 on it. I started installing from scratch a Gentoo 
Prefix, and built up to GD and ImageMagick (and their requirements) since I use 
them in graphics programming.

I'm running ~arch (testing mode) and things have been working fine with all 
of the testing packages so farI updated system and then world for some 
changes in use flags, and noticed that graphite2 was installing as new. This is 
listed as a stable package for the powerpc 
(http://packages.gentoo.org/package/media-gfx/graphite2), yet it chokes at the 
very end of the install. Any insight is appreciated.

The problem seems to come here (info log follows):

Undefined symbols for architecture ppc:
  saveFP, referenced from:
  graphite2::Segment::justify(graphite2::Slot*, graphite2::Font const*, 
float, graphite2::justFlags, graphite2::Slot*, graphite2::Slot*)in 
Justifier.cpp.o
  graphite2::Pass::dumpRuleEventOutput(graphite2::FiniteStateMachine 
const, graphite2::Rule const, graphite2::Slot*) constin Pass.cpp.o
  graphite2::Segment::append(graphite2::Segment const)in Segment.cpp.o
  graphite2::Slot::finalise(graphite2::Segment const*, graphite2::Font 
const*, graphite2::Position, graphite2::Rect, unsigned char, float)in 
Slot.cpp.o
  restFP, referenced from:
  graphite2::Segment::justify(graphite2::Slot*, graphite2::Font const*, 
float, graphite2::justFlags, graphite2::Slot*, graphite2::Slot*)in 
Justifier.cpp.o
  graphite2::Pass::dumpRuleEventOutput(graphite2::FiniteStateMachine 
const, graphite2::Rule const, graphite2::Slot*) constin Pass.cpp.o
  graphite2::Segment::append(graphite2::Segment const)in Segment.cpp.o
  graphite2::Slot::finalise(graphite2::Segment const*, graphite2::Font 
const*, graphite2::Position, graphite2::Rect, unsigned char, float)in 
Slot.cpp.o
  ___floatundisf, referenced from:
  graphite2::SegCache::purge(graphite2::SegCacheStore*)in SegCache.cpp.o
  ___fixunssfdi, referenced from:
  graphite2::SegCache::purge(graphite2::SegCacheStore*)in SegCache.cpp.o
ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
make[2]: *** [src/libgraphite2.3.0.1.dylib] Error 1
make[2]: Leaving directory 
`/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.0/work/graphite2-1.2.0_build'
make[1]: *** [src/CMakeFiles/graphite2.dir/all] Error 2
make[1]: Leaving directory 
`/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.0/work/graphite2-1.2.0_build'
make: *** [all] Error 2
 * ERROR: media-gfx/graphite2-1.2.0 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info 
'=media-gfx/graphite2-1.2.0'`,
 * the complete build log and the output of `emerge -pqv 
'=media-gfx/graphite2-1.2.0'`.
 * The complete build log is located at 
'/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.0/temp/build.log'.
 * The ebuild environment file is located at 
'/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.0/temp/environment'.
 * Working directory: 
'/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.0/work/graphite2-1.2.0_build'
 * S: 
'/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.0/work/graphite2-1.2.0'

 Failed to emerge media-gfx/graphite2-1.2.0, Log file:

  
 '/Volumes/SNARK/gentoo/var/tmp/portage/media-gfx/graphite2-1.2.0/temp/build.log'

 * Messages for package media-gfx/graphite2-1.2.0:

 * ERROR: media-gfx/graphite2-1.2.0 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info 
'=media-gfx/graphite2-1.2.0'`,




emerge --info =media-gfx/graphite2-1.2.0
Portage 2.2.01.21476-prefix (prefix/darwin/macos/10.5/ppc, gcc-4.2.1, 
unavailable, 9.8.0 Power Macintosh)
=
System Settings
=
System uname: Darwin-9.8.0-Power_Macintosh-powerpc-32bit
Timestamp of tree: Fri, 04 Jan 2013 13:37:46 +
distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 
3632) [disabled]
app-shells/bash:  4.2_p39-r1::gentoo_prefix
dev-lang/python:  2.7.3-r2::gentoo_prefix, 3.3.0::gentoo_prefix
dev-util/cmake:   2.8.9::gentoo_prefix
dev-util/pkgconfig:   0.27.1::gentoo_prefix
sys-devel/autoconf:   2.69::gentoo_prefix
sys-devel/automake:   1.12.4::gentoo_prefix
sys-devel/gcc-config: 1.8-r00.1::gentoo_prefix
sys-devel/libtool:2.4.2::gentoo_prefix
sys-devel/make:   3.82-r4::gentoo_prefix
Repositories: gentoo_prefix
ACCEPT_KEYWORDS=~ppc-macos
ACCEPT_LICENSE=* -@EULA
CBUILD=powerpc-apple-darwin9
CFLAGS= -O2 -pipe-mcpu=G4 -mtune=G4
CHOST=powerpc-apple-darwin9
CONFIG_PROTECT=/etc /usr/share/gnupg/qualified.txt
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf 
/etc/gconf /etc/revdep-rebuild /etc/terminfo
CXXFLAGS= -O2 -pipe-mcpu=G4 -mtune=G4

[gentoo-user] [OT] Resetting USB flash

2013-01-04 Thread Mick
I was trying to zero out a USB stick and at some point it seems to have locked 
itself up.  By that I mean that for all intends and purposes I cannot write to 
it in any conceivable way.

I tried to delete /dev/sdb1 with c/fdisk, the dd zeros into /dev/sdb1, 
/dev/sdb and also the first 512B to delete the partition table, but nothing 
seems to work.

/dev/sdb1 is still there no matter how I try to delete/format/overwrite it.

Is there a way of resetting whatever needs resetting in the USB flash chip to 
make it work again?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] [OT] Resetting USB flash

2013-01-04 Thread Michael Mol
On Fri, Jan 4, 2013 at 11:32 AM, Mick michaelkintz...@gmail.com wrote:
 I was trying to zero out a USB stick and at some point it seems to have locked
 itself up.  By that I mean that for all intends and purposes I cannot write to
 it in any conceivable way.

 I tried to delete /dev/sdb1 with c/fdisk, the dd zeros into /dev/sdb1,
 /dev/sdb and also the first 512B to delete the partition table, but nothing
 seems to work.

 /dev/sdb1 is still there no matter how I try to delete/format/overwrite it.

 Is there a way of resetting whatever needs resetting in the USB flash chip to
 make it work again?
 --
 Regards,
 Mick

Was it a drive with U3 on it? If so, there are tools you might use,
but I can't remember their name.

https://en.wikipedia.org/wiki/U3

--
:wq



Re: [gentoo-user] Anyone succeeded with kmail2?

2013-01-04 Thread Mick
On Friday 04 Jan 2013 04:13:21 Randy Barlow wrote:
 On 01/03/2013 12:09 PM, Peter Humphrey wrote:
  Does anyone recommend a mail client that doesn't rely too heavily on the
  mouse? I much prefer to navigate, reply etc with the keyboard. I've
  seen Evolution recommended; is that OK?
 
 Thunderbird is my favorite mail client. You can do a lot with the KB.
 For example, go to next read mail is just 'n' for next. CTRL-R for
 reply. It's not bad to learn the shortcuts. Plus it has a lot of great
 features and extensions.
 
 For CLI clients, I sometimes use Mutt. It's a little bit of a pain to
 configure for IMAP, but once you get it going it's pretty cool.

Can mutt be made to use autocompletion for email addresses and to 
automatically select encryption keys (gpg and/or s/mime)?

Last time I tried it briefly this became a sticking point for me ...
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Firefox and ssl

2013-01-04 Thread Mick

On Friday 04 Jan 2013 12:45:01 Robert David wrote:
 Hi all,
 
 anyone have problem with firefox and selfsigned ssl? I tryed firefox and
 firefox-bin.
 
 Firefox:
 Problem loading page: Secure connection failed.
 
 Firefox-bin:
 No problem loading page.
 
 
 I tryed with/without system-sqlite. Rebuild nss. Nothing helped.
 
 
 
 Robert David

Hmm  it should flag up a warning and once you accept it there shouldn't be 
a problem connecting.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Firefox and ssl

2013-01-04 Thread Michael Mol
On Fri, Jan 4, 2013 at 12:13 PM, Mick michaelkintz...@gmail.com wrote:

 On Friday 04 Jan 2013 12:45:01 Robert David wrote:
 Hi all,

 anyone have problem with firefox and selfsigned ssl? I tryed firefox and
 firefox-bin.

 Firefox:
 Problem loading page: Secure connection failed.

 Firefox-bin:
 No problem loading page.


 I tryed with/without system-sqlite. Rebuild nss. Nothing helped.



 Robert David

 Hmm  it should flag up a warning and once you accept it there shouldn't be
 a problem connecting.

Some browsers (I don't know if FF is one of them) won't allow bypass
depending on the cert details. I've seen the server has requested
strict validation before.


--
:wq



Re: [gentoo-user] [OT] Resetting USB flash

2013-01-04 Thread Mick
On Friday 04 Jan 2013 16:48:41 Michael Mol wrote:
 On Fri, Jan 4, 2013 at 11:32 AM, Mick michaelkintz...@gmail.com wrote:
  I was trying to zero out a USB stick and at some point it seems to have
  locked itself up.  By that I mean that for all intends and purposes I
  cannot write to it in any conceivable way.
  
  I tried to delete /dev/sdb1 with c/fdisk, the dd zeros into /dev/sdb1,
  /dev/sdb and also the first 512B to delete the partition table, but
  nothing seems to work.
  
  /dev/sdb1 is still there no matter how I try to delete/format/overwrite
  it.
  
  Is there a way of resetting whatever needs resetting in the USB flash
  chip to make it work again?
  --
  Regards,
  Mick
 
 Was it a drive with U3 on it? If so, there are tools you might use,
 but I can't remember their name.
 
 https://en.wikipedia.org/wiki/U3

No, it's a normal USB flash stick:

Bus 002 Device 006: ID 1307:0163 Transcend Information, Inc. 256MB/512MB/1GB 
Flash Drive
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize064
  idVendor   0x1307 Transcend Information, Inc.
  idProduct  0x0163 256MB/512MB/1GB Flash Drive
  bcdDevice1.00
  iManufacturer   1 USBest Technology
  iProduct2 USB Mass Storage Device
  iSerial 3 08032204c2f5fd
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   39
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0 
bmAttributes 0x80
  (Bus Powered)
MaxPower   80mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   3
  bInterfaceClass 8 Mass Storage
  bInterfaceSubClass  6 SCSI
  bInterfaceProtocol 80 Bulk-Only
  iInterface  0 
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01  EP 1 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   1
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82  EP 2 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   1
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83  EP 3 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval   8
Device Qualifier (for other device speed):
  bLength10
  bDescriptorType 6
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize064
  bNumConfigurations  1
Device Status: 0x000a
  (Bus Powered)
  Remote Wakeup Enabled

Is there some cryptic hdparm command I could run on it to reset it?  I mean, 
it's bricked as is anyway, so it can't get *much* worse.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: udev downgrade

2013-01-04 Thread Mark Knecht
On Fri, Jan 4, 2013 at 8:23 AM, James wirel...@tampabay.rr.com wrote:
 snip

 Does this look normal?


 James


Does anything when you are running unstable (~amd64) and then trying
to push it toward stable? That's always been difficult and dare I say
unsupported.

OK, I only run stable so I have no experience in this area however I
am wondering whether you tried to temporize to something like mdev
stable, and went from mdev stable to udev stable if the results might
be more predictable/less obscure?

Just a thought,
Mark



Re: [gentoo-user] [OT] Resetting USB flash

2013-01-04 Thread Paul Hartman
On Fri, Jan 4, 2013 at 11:18 AM, Mick michaelkintz...@gmail.com wrote:
 Is there some cryptic hdparm command I could run on it to reset it?  I mean,
 it's bricked as is anyway, so it can't get *much* worse.

hdparm -z /dev/sdX will force kernel to re-read the partition table,
which should be the same that happens when you plug it in, but maybe
it'll help... I had a SD card that I had to issue that command every
time I plugged it in, the first read always failed.

Otherwise, Transcend have a recovery utility (for Windows) that claims
it can recover some dead flash drives. Might be worth a try if you
have access to Windows box or a virtual machine:

http://www.transcend-info.com/Products/online_recovery_2.asp

Good luck.



Re: [gentoo-user] Firefox and ssl

2013-01-04 Thread Robert David
This is not the problem. With firefox-bin I can normaly accept the
certificate, compiled firefox does not give me the option.

Robert.



On Fri, 4 Jan 2013 17:13:20 +
Mick michaelkintz...@gmail.com wrote:

 
 On Friday 04 Jan 2013 12:45:01 Robert David wrote:
  Hi all,
  
  anyone have problem with firefox and selfsigned ssl? I tryed
  firefox and firefox-bin.
  
  Firefox:
  Problem loading page: Secure connection failed.
  
  Firefox-bin:
  No problem loading page.
  
  
  I tryed with/without system-sqlite. Rebuild nss. Nothing helped.
  
  
  
  Robert David
 
 Hmm  it should flag up a warning and once you accept it there
 shouldn't be a problem connecting.




[gentoo-user] Re: [OT] Resetting USB flash

2013-01-04 Thread James
Mick michaelkintzios at gmail.com writes:

 Is there some cryptic hdparm command I could run on it to reset it?  I mean, 
 it's bricked as is anyway, so it can't get *much* worse.


Try putting it on a windows system and delete what you can.
Then try various tools to mount or reformat the usb stick.

I've had a few and I just had to hack at them for a while.

It helps if you can remember/determine, how the drive was set up.
Fat? Fat32? NTFS? ext3?

then test with appropriate tools

parted may work, or tell you something about the stick.

hth,
James




[gentoo-user] Re: [OT] Resetting USB flash

2013-01-04 Thread Nikos Chantziaras

On 04/01/13 18:32, Mick wrote:

I was trying to zero out a USB stick and at some point it seems to have locked
itself up.  By that I mean that for all intends and purposes I cannot write to
it in any conceivable way.


Can you elaborate on that?  Do you get any error messages from dd or in 
dmesg?






Re: [gentoo-user] [OT] Resetting USB flash

2013-01-04 Thread Mick
On Friday 04 Jan 2013 17:32:14 Paul Hartman wrote:
 On Fri, Jan 4, 2013 at 11:18 AM, Mick michaelkintz...@gmail.com wrote:
  Is there some cryptic hdparm command I could run on it to reset it?  I
  mean, it's bricked as is anyway, so it can't get *much* worse.
 
 hdparm -z /dev/sdX will force kernel to re-read the partition table,
 which should be the same that happens when you plug it in, but maybe
 it'll help... I had a SD card that I had to issue that command every
 time I plugged it in, the first read always failed.
 
 Otherwise, Transcend have a recovery utility (for Windows) that claims
 it can recover some dead flash drives. Might be worth a try if you
 have access to Windows box or a virtual machine:
 
 http://www.transcend-info.com/Products/online_recovery_2.asp
 
 Good luck.

Thank you Paul!  It seems that I'm running out of luck.

I tried the transcend tool, which failed to detect the drive, as well as any 
hdparm command I could think of to reset/restore the darn thing.  I think its 
condition is terminal.  :-(

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: [OT] Resetting USB flash

2013-01-04 Thread Mick
On Friday 04 Jan 2013 18:43:48 James wrote:
 Mick michaelkintzios at gmail.com writes:
  Is there some cryptic hdparm command I could run on it to reset it?  I
  mean, it's bricked as is anyway, so it can't get *much* worse.
 
 Try putting it on a windows system and delete what you can.
 Then try various tools to mount or reformat the usb stick.
 
 I've had a few and I just had to hack at them for a while.
 
 It helps if you can remember/determine, how the drive was set up.
 Fat? Fat32? NTFS? ext3?
 
 then test with appropriate tools
 
 parted may work, or tell you something about the stick.
 
 hth,
 James

Thanks James, no luck with parted either.  It'll see the old vfat partition in 
there, but it will not delete it, reformat it on in any way change it.

Different MSWindows tools also fail to operate on it.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Firefox and ssl

2013-01-04 Thread Kevin Chadwick
On Fri, 4 Jan 2013 12:18:45 -0500
Michael Mol mike...@gmail.com wrote:

 On Fri, Jan 4, 2013 at 12:13 PM, Mick michaelkintz...@gmail.com
 wrote:
 
  On Friday 04 Jan 2013 12:45:01 Robert David wrote:
  Hi all,
 
  anyone have problem with firefox and selfsigned ssl? I tryed
  firefox and firefox-bin.
 
  Firefox:
  Problem loading page: Secure connection failed.
 
  Firefox-bin:
  No problem loading page.
 
 
  I tryed with/without system-sqlite. Rebuild nss. Nothing helped.
 
 
 
  Robert David
 
  Hmm  it should flag up a warning and once you accept it there
  shouldn't be a problem connecting.
 
 Some browsers (I don't know if FF is one of them) won't allow bypass
 depending on the cert details. I've seen the server has requested
 strict validation before.
 
 
 --
 :wq
 

Not seen certs that do that but HSTS http headers can prevent override.
Unfortunately even though an incorrect clock is perfectly acceptable to
SSL it is not to HSTS. I expect to hear user complaints getting
play.com to disable HSTS due to flat bios batteries (and no NTP is
seemingly no answer to this problem). My preference is a
compulsory header redirect to ssl. I've suggested a disable HSTS option
enabled by setting the mozilla master password. In any case he said it
worked in one copy of firefox so It's unlikely to be the culprit. I
assume you tested with the same url?



Re: [gentoo-user] Re: [OT] Resetting USB flash

2013-01-04 Thread Mick
On Friday 04 Jan 2013 19:12:18 Nikos Chantziaras wrote:
 On 04/01/13 18:32, Mick wrote:
  I was trying to zero out a USB stick and at some point it seems to have
  locked itself up.  By that I mean that for all intends and purposes I
  cannot write to it in any conceivable way.
 
 Can you elaborate on that?  Do you get any error messages from dd or in
 dmesg?

dd if=/dev/zero of=/mnt/iso/bigfile.txt bs=512
dd: writing ‘/mnt/iso/bigfile.txt’: Input/output error
376705+0 records in
376704+0 records out
192872448 bytes (193 MB) copied, 1.01944 s, 189 MB/s

rm /mnt/iso/bigfile.txt
rm: cannot remove ‘/mnt/iso/bigfile.txt’: Read-only file system


The output of mount:

/dev/sdb1 on /mnt/iso type vfat (rw)

(was mounted rw as root just in case).


This is what dmesg shows:

hub 2-1:1.0: state 7 ports 8 chg  evt 0002
hub 2-1:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 2-1:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 2-1:1.0: port 1 not reset yet, waiting 10ms
usb 2-1.1: new high-speed USB device number 8 using ehci_hcd
hub 2-1:1.0: port 1 not reset yet, waiting 10ms
usb 2-1.1: default language 0x0409
usb 2-1.1: udev 8, busnum 2, minor = 135
usb 2-1.1: New USB device found, idVendor=1307, idProduct=0163
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1.1: Product: USB Mass Storage Device
usb 2-1.1: Manufacturer: USBest Technology
usb 2-1.1: SerialNumber: 08032204c2f5fd
usb 2-1.1: usb_probe_device
usb 2-1.1: configuration #1 chosen from 1 choice
usb 2-1.1: adding 2-1.1:1.0 (config #1, interface 0)
usb-storage 2-1.1:1.0: usb_probe_interface
usb-storage 2-1.1:1.0: usb_probe_interface - got id
scsi10 : usb-storage 2-1.1:1.0
scsi 10:0:0:0: Direct-Access Ut163USB2FlashStorage 0.00 PQ: 0 ANSI: 2
sd 10:0:0:0: Attached scsi generic sg2 type 0
sd 10:0:0:0: [sdb] 1974271 512-byte logical blocks: (1.01 GB/963 MiB)
sd 10:0:0:0: [sdb] Write Protect is off
sd 10:0:0:0: [sdb] Mode Sense: 00 00 00 00
sd 10:0:0:0: [sdb] Asking for cache data failed
sd 10:0:0:0: [sdb] Assuming drive cache: write through
sd 10:0:0:0: [sdb] Asking for cache data failed
sd 10:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 10:0:0:0: [sdb] Asking for cache data failed
sd 10:0:0:0: [sdb] Assuming drive cache: write through
sd 10:0:0:0: [sdb] Attached SCSI removable disk


I can't recall the hdparm errors (run it on a different box) but if important 
I can get these for you.

Thanks.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Firefox and ssl

2013-01-04 Thread Dustin C. Hatch

On 1/4/2013 06:45, Robert David wrote:

Hi all,

anyone have problem with firefox and selfsigned ssl? I tryed firefox and
firefox-bin.

Firefox:
Problem loading page: Secure connection failed.

Firefox-bin:
No problem loading page.


I tryed with/without system-sqlite. Rebuild nss. Nothing helped.



Robert David

The only time I've ever seen that error/situation in Firefox was due to 
multiple certificates using the same serial number. Although that may 
not be exactly the problem you are encountering, it may be similar in 
how Firefox deals with what it considers a woefully invalid certificate. 
Have you tried with a fresh profile? You could also try 
renaming/removing the cert8.db and key3.db files in your profile directory.


--
♫Dustin



Re: [gentoo-user] Re: udev downgrade

2013-01-04 Thread Dustin C. Hatch

On 1/4/2013 10:23, James wrote:

Dustin C. Hatch admiralnemo at gmail.com writes:



The problem is you are trying to downgrade sys-fs/udev but not
virtual/udev. If you want to force using udev-171, you need to mask both
the real and virtual atoms. Try this in /etc/portage/package.mask/udev:



  =sys-fs/udev-181
  =virtual/udev-181



Then emerge -avuD1 udev and see if that fixes it.


I get the downgrades you would expect:



  UD ] virtual/udev-171 [196]
UD ] sys-fs/udev-171-r9

I also get some weird companion downgrades:

blocks B  ] x11-libs/qt-script-4.8.2-r:4
(x11-libs/qt-script-4.8.2-r:4 is blocking x11-libs/qt-declarative-4.8.2,
x11-libs/qt-webkit-4.8.2, x11-libs/qt-svg-4.8.2, x11-libs/qt-test-4.8.2,
x11-libs/qt-xmlpatterns-4.8.2, x11-libs/qt-multimedia-4.8.2,
x11-libs/qt-opengl-4.8.2)
[blocks B  ] x11-libs/qt-gui-4.8.4:4
snip

I don't have Qt installed anywhere, so I can't reproduce that problem. I 
also don't see that particular version of qt-script in the tree, so I 
can't be sure, but my guess is some Qt dep that you already have 
installed depends on a newer version of udev than you will be getting 
after the downgrade, thus requiring it to downgrade as well.



and these:

Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

virtual/udev:0

   (virtual/udev-171::gentoo,ebuild scheduled for merge) pulled in by
 virtual/udev-196 required by (sys-fs/lvm2-2.02.88::gentoo, installed)
 =virtual/udev-171 required by (kde-base/kdelibs-4.9.3::gentoo, installed)
 (and 17 more with the same problems)

   (virtual/udev-196::gentoo, installed) pulled in by
 =virtual/udev-180 required by (sys-fs/udev-196-r1::gentoo, installed)
 (and 1 more with the same problem)

sys-fs/udev:0

   (sys-fs/udev-196-r1::gentoo, installed) pulled in by


=sys-fs/udev-196-r1[gudev?,hwdb?,introspection?,keymap?,selinux?,static-libs?]

required by (virtual/udev-196::gentoo, installed)

   (sys-fs/udev-171-r9::gentoo, ebuild scheduled for merge) pulled in by
 ~sys-fs/udev-171[gudev?,hwdb?,introspection?,keymap?,selinux?] required by
(virtual/udev-171::gentoo, ebuild scheduled for merge)

snip

Does this look normal?

Yes, I expected something like that. In all likelihood, you'll need to 
completely remove sys-fs/udev and virtual/udev and then reinstall the 
older version. You'll probably want to do this in single user mode (i.e. 
`rc single`), so running programs don't crash suddenly. A reboot 
afterward is probably a good idea as well.

--
♫Dustin



Re: [gentoo-user] Re: udev downgrade

2013-01-04 Thread Kevin Chadwick
On Fri, 04 Jan 2013 13:52:29 -0600
Dustin C. Hatch admiraln...@gmail.com wrote:

 You'll probably want to do this in single user mode (i.e. 
 `rc single`), so running programs don't crash suddenly. A reboot 
 afterward is probably a good idea as well.

I'm interested in what may crash, do you mean after logging out and in
again etc.. I have started and stopped udev in the past during testing
without any apparent problems.



Re: [gentoo-user] Re: udev downgrade

2013-01-04 Thread Dustin C. Hatch

On 1/4/2013 14:31, Kevin Chadwick wrote:

On Fri, 04 Jan 2013 13:52:29 -0600
Dustin C. Hatch admiraln...@gmail.com wrote:


You'll probably want to do this in single user mode (i.e.
`rc single`), so running programs don't crash suddenly. A reboot
afterward is probably a good idea as well.


I'm interested in what may crash, do you mean after logging out and in
again etc.. I have started and stopped udev in the past during testing
without any apparent problems.

I'm not sure what would crash, if anything. It may very well be fine; I 
was just offering the suggestion just in case. If it were me doing it, 
I'd at least do it on a virtual console and not in an X11 terminal, in 
case your keyboard stops working (which seems unlikely, but I've learned 
that nothing is too crazy to expect when dealing with udev)


--
♫Dustin



Re: [gentoo-user] IPTABLES syntax change?

2013-01-04 Thread Walter Dnes
On Wed, Jan 02, 2013 at 11:32:58PM -0500, Michael Orlitzky wrote
 On 12/30/2012 10:21 PM, Walter Dnes wrote:
  [0:0] -A FECESBOOK -j LOG --log-prefix FECESBOOK: --log-level 6
  [0:0] -A FECESBOOK -j DROP
  [0:0] -A INPUT -s 192.168.123.248/29 -i eth0 -j ACCEPT
  [0:0] -A INPUT -s 169.254.0.0/16 -i eth0 -j ACCEPT
  [0:0] -A INPUT -i lo -j ACCEPT
  [0:0] -A INPUT -m conntrack --ctstate INVALID,NEW -j UNSOLICITED
 
 In fact, since you're blocking all outgoing packets to facebook, the
 only state that a packet from facebook can have here is INVALID or NEW.
 So traffic from facebook will be sent to the UNSOLICITED chain and DROPped.
 
 
  [0:0] -A INPUT -s 69.63.176.0/20 -j FECESBOOK
  [0:0] -A INPUT -s 69.220.144.0/20 -j FECESBOOK
  [0:0] -A INPUT -s 69.63.176.0/20 -j FECESBOOK
  [0:0] -A INPUT -s 69.171.224.0/19 -j FECESBOOK
  [0:0] -A INPUT -s 200.58.112.0/20 -j FECESBOOK
  [0:0] -A INPUT -s 213.155.64.0/19 -j FECESBOOK
 
 ...making these pointless =)


  I've run into at least one newspaper website (I forget which,
it's occasionally used for links on Slashdot) which ends up trying to
redirect me to a Facebook site even though the URL does not mention
Facebook at all.  There is other integration as well.  See the first
post in
http://www.dslreports.com/forum/r26618459-Increasing-integration-of-facebook-into-many-web-sites
I believe this may have been straightened out since then, but 13 months
ago that post was correct.  And then there's the LIKE button which
shows up all over the web.

  The mere fact that you haven't manually typed in...
http://www.facebook.com/blah_blah_blah does not mean you're not
connecting to it.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] IPTABLES syntax change?

2013-01-04 Thread Michael Mol
On Fri, Jan 4, 2013 at 3:17 PM, Walter Dnes waltd...@waltdnes.org wrote:
 On Wed, Jan 02, 2013 at 11:32:58PM -0500, Michael Orlitzky wrote
 On 12/30/2012 10:21 PM, Walter Dnes wrote:
  [0:0] -A FECESBOOK -j LOG --log-prefix FECESBOOK: --log-level 6
  [0:0] -A FECESBOOK -j DROP
  [0:0] -A INPUT -s 192.168.123.248/29 -i eth0 -j ACCEPT
  [0:0] -A INPUT -s 169.254.0.0/16 -i eth0 -j ACCEPT
  [0:0] -A INPUT -i lo -j ACCEPT
  [0:0] -A INPUT -m conntrack --ctstate INVALID,NEW -j UNSOLICITED

 In fact, since you're blocking all outgoing packets to facebook, the
 only state that a packet from facebook can have here is INVALID or NEW.
 So traffic from facebook will be sent to the UNSOLICITED chain and DROPped.


  [0:0] -A INPUT -s 69.63.176.0/20 -j FECESBOOK
  [0:0] -A INPUT -s 69.220.144.0/20 -j FECESBOOK
  [0:0] -A INPUT -s 69.63.176.0/20 -j FECESBOOK
  [0:0] -A INPUT -s 69.171.224.0/19 -j FECESBOOK
  [0:0] -A INPUT -s 200.58.112.0/20 -j FECESBOOK
  [0:0] -A INPUT -s 213.155.64.0/19 -j FECESBOOK

 ...making these pointless =)


   I've run into at least one newspaper website (I forget which,
 it's occasionally used for links on Slashdot) which ends up trying to
 redirect me to a Facebook site even though the URL does not mention
 Facebook at all.  There is other integration as well.  See the first
 post in
 http://www.dslreports.com/forum/r26618459-Increasing-integration-of-facebook-into-many-web-sites
 I believe this may have been straightened out since then, but 13 months
 ago that post was correct.  And then there's the LIKE button which
 shows up all over the web.

   The mere fact that you haven't manually typed in...
 http://www.facebook.com/blah_blah_blah does not mean you're not
 connecting to it.

But all that's above layer 3, since it's an HTTP redirect, or a page
transclusion which necessitates a new GET request. Michael's point
stands.

--
:wq



Re: [gentoo-user] Re: [OT] Resetting USB flash

2013-01-04 Thread Walter Dnes
On Fri, Jan 04, 2013 at 07:16:51PM +, Mick wrote

 Thanks James, no luck with parted either.  It'll see the old vfat
 partition in there, but it will not delete it, reformat it on in
 any way change it.
 
 Different MSWindows tools also fail to operate on it.

  Under the heading of grasping-for-straws... does it have a physical
write-protect switch?  If such a switch was engaged, that would explain
things.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] Anyone succeeded with kmail2?

2013-01-04 Thread Peter Humphrey

On 4/1/2013, Randy Barlow ra...@electronsweatshop.com wrote:

On 01/03/2013 12:09 PM, Peter Humphrey wrote:
 Does anyone recommend a mail client that doesn't rely too heavily on the
 mouse? I much prefer to navigate, reply etc with the keyboard. I've
 seen Evolution recommended; is that OK?

Thunderbird is my favorite mail client. You can do a lot with the KB.
For example, go to next read mail is just 'n' for next. CTRL-R for
reply. It's not bad to learn the shortcuts. Plus it has a lot of great
features and extensions.

I'm trying to set Thunderbird up, but I'm not telling it the right
values to connect to my ISP's POP server. I suppose I should have a
rest and try again tomorrow. Thanks for the recommendation.

For CLI clients, I sometimes use Mutt. It's a little bit of a pain to
configure for IMAP, but once you get it going it's pretty cool.

I may even have to resort to Mutt if I can't get anything else running.
What a state to be in in 2013! (I don't imply that Mutt's not good,
just that Kmail should never have been released in its present state.
Doesn't anyone ever learn?)



Re: [gentoo-user] [OT] Resetting USB flash

2013-01-04 Thread Alan McKinnon
On Fri, 4 Jan 2013 16:32:14 +
Mick michaelkintz...@gmail.com wrote:

 I was trying to zero out a USB stick and at some point it seems to
 have locked itself up.  By that I mean that for all intends and
 purposes I cannot write to it in any conceivable way.
 
 I tried to delete /dev/sdb1 with c/fdisk, the dd zeros
 into /dev/sdb1, /dev/sdb and also the first 512B to delete the
 partition table, but nothing seems to work.
 
 /dev/sdb1 is still there no matter how I try to
 delete/format/overwrite it.
 
 Is there a way of resetting whatever needs resetting in the USB flash
 chip to make it work again?


USB sticks don't last long. When they do that, they are nuked.

They cost about as much as a packet of smokes. Chuck it in the bin, buy
a new one, move on. It's not worth the time to even attempt to fix it. 

-- 
Alan McKinnon
alan.mckin...@gmail.com




RE: [gentoo-user] Re: Anyone switched to eudev yet?

2013-01-04 Thread Mike Edenfield
 From: Alan McKinnon [mailto:alan.mckin...@gmail.com]
 Sent: Thursday, December 27, 2012 6:08 PM
 
 On Tue, 25 Dec 2012 10:56:52 +0700
 Pandu Poluan pa...@poluan.info wrote:
 
  In case you haven't noticed, since Windows 7 (or Vista, forget which)
  Microsoft has even went the distance of splitting between C:
  (analogous to /usr) and 'System Partition' (analogous to /). The boot
  process is actually handled by the 100ish MB 'System Partition'
  before being handed to C:. This will at least give SysAdmins a
  fighting chance of recovering a botched maintenance. (Note: Said
  behavior will only be visible if installing onto a clean hard disk.
  If there are partitions left over from previous Windows installs,
  Win7 will not create a separate 'System Partition') So, if Microsoft
  saw the light, why does Red Hat sunk into darkness instead?


 I'm not sure about Microsoft's motivations in what you describe. My first
 reaction is that the Great Circle of IT Life is turning and MS are trying
 something new for them. Whether it's applicable to us here as an
illustration
 remains to be seen - I know very little about Windows so can't even begin
to
 draw sensible parallels.

I know little about the history of UNIX before 1993, and the sum of my
experience with Linux is that I have never personally run into any case
where I had a single /+/usr and regretted it, but I *have* encountered
situations where I could not get /usr mounted and ended up merging it with
/. FWIW, YMMV, etc.

I can tell you that Pandu's analogy vis a vis Windows is a bit flawed. What
Windows has done recently is (by default for clean installs) to split the
boot loader and related bootstrap code into a separate partition from the
actual operating system. Claiming that this is analogous to / and /usr is
quite a stretch. It is much more accurate to make it analogous to / and
/boot. The System Partition has no Windows files on it, just the
equivalent to grub (and it's also used if you have BitLocker, to decrypt
your boot partition).

Which, to me, means it has absolutely nothing to do with the current
discussion one way or the other :)

--Mike




Re: [gentoo-user] Re: [OT] Resetting USB flash

2013-01-04 Thread Mick
On Friday 04 Jan 2013 20:27:38 Walter Dnes wrote:
 On Fri, Jan 04, 2013 at 07:16:51PM +, Mick wrote
 
  Thanks James, no luck with parted either.  It'll see the old vfat
  partition in there, but it will not delete it, reformat it on in
  any way change it.
  
  Different MSWindows tools also fail to operate on it.
 
   Under the heading of grasping-for-straws... does it have a physical
 write-protect switch?  If such a switch was engaged, that would explain
 things.

Hi Walter,

No, it doesn't, but just in case it had some virtual lock I tried 
(successfully) to run 'hdparm -L 0 /dev/sdb'.  It did not make a difference.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] [OT] Resetting USB flash

2013-01-04 Thread Mick
On Friday 04 Jan 2013 22:31:53 Alan McKinnon wrote:
 On Fri, 4 Jan 2013 16:32:14 +
 
 Mick michaelkintz...@gmail.com wrote:
  I was trying to zero out a USB stick and at some point it seems to
  have locked itself up.  By that I mean that for all intends and
  purposes I cannot write to it in any conceivable way.
  
  I tried to delete /dev/sdb1 with c/fdisk, the dd zeros
  into /dev/sdb1, /dev/sdb and also the first 512B to delete the
  partition table, but nothing seems to work.
  
  /dev/sdb1 is still there no matter how I try to
  delete/format/overwrite it.
  
  Is there a way of resetting whatever needs resetting in the USB flash
  chip to make it work again?
 
 USB sticks don't last long. When they do that, they are nuked.
 
 They cost about as much as a packet of smokes. Chuck it in the bin, buy
 a new one, move on. It's not worth the time to even attempt to fix it.

Yep, you're right.  I have come to the conclusion that it is terminal.  Out of 
sheer good luck I ran a backup just a day before it croaked!  :-)
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] IPTABLES syntax change?

2013-01-04 Thread Walter Dnes
On Fri, Jan 04, 2013 at 03:27:59PM -0500, Michael Mol wrote
 On Fri, Jan 4, 2013 at 3:17 PM, Walter Dnes waltd...@waltdnes.org wrote:
 
The mere fact that you haven't manually typed in...
  http://www.facebook.com/blah_blah_blah does not mean you're not
  connecting to it.
 
 But all that's above layer 3, since it's an HTTP redirect, or a page
 transclusion which necessitates a new GET request. Michael's point
 stands.

  And I want to make sure that new GET request is blocked coming and
going.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [Bulk] RE: [gentoo-user] Re: Anyone switched to eudev yet?

2013-01-04 Thread Kevin Chadwick
On Fri, 4 Jan 2013 18:22:37 -0500
Mike Edenfield kut...@kutulu.org wrote:

  I have never personally run into any case
 where I had a single /+/usr and regretted it, but I *have* encountered
 situations where I could not get /usr mounted and ended up merging it
 with /. FWIW, YMMV, etc.

And why was that, not udev? What is your point, others have avoided
regretting it by having a seperate /usr.

 
 I can tell you that Pandu's analogy vis a vis Windows is a bit
 flawed. What Windows has done recently is (by default for clean
 installs) to split the boot loader and related bootstrap code into a
 separate partition from the actual operating system. Claiming that
 this is analogous to / and /usr is quite a stretch. It is much more
 accurate to make it analogous to / and /boot. The System Partition
 has no Windows files on it, just the equivalent to grub (and it's
 also used if you have BitLocker, to decrypt your boot partition).
 
 Which, to me, means it has absolutely nothing to do with the current
 discussion one way or the other :)

He did define the fact that he mentioned it because he claimed the
repair tools are stored in a small seperate partition like / or root is
defined in the FHS which means he brought more to the discussion than
you just have. 

In any case there are major benefits to having Windows with program
files on a seperate partition and you shouldn't be stopped from having a
seperate /usr without good reason and which there is not or if there is
good reason in a hidden agenda/future plan it has not been brought to
any discussion, note though that lies and mystery have. Broken
for years indeed, more like tiny issues that few care about and so
haven't been fixed by default.

I re-assert that eudevs mentioning of moving potentially less
stable/audited or even arbitrary code to later in the boot process is
also welcomed by me.



Re: [gentoo-user] Re: [OT] Resetting USB flash

2013-01-04 Thread Walter Dnes
On Fri, Jan 04, 2013 at 11:56:44PM +, Mick wrote
 On Friday 04 Jan 2013 20:27:38 Walter Dnes wrote:
  
Under the heading of grasping-for-straws... does it have a physical
  write-protect switch?  If such a switch was engaged, that would explain
  things.
 
 Hi Walter,
 
 No, it doesn't, but just in case it had some virtual lock I tried 
 (successfully) to run 'hdparm -L 0 /dev/sdb'.  It did not make a difference.

  One last gasp... were you doing this as root?  Regular users cannot dd
directly to a device, for obvious reasons.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



[gentoo-user] Re: Firefox and ssl

2013-01-04 Thread walt

On 01/04/2013 09:59 AM, Robert David wrote:

This is not the problem. With firefox-bin I can normally accept the
certificate, compiled firefox does not give me the option.


You might try entering 'about:buildconfig' as the URL in both versions
of firefox to see what differences there may be.  Are the two packages
supplying the same version of firefox?



Re: [gentoo-user] IPTABLES syntax change?

2013-01-04 Thread Michael Mol
On Jan 4, 2013 8:33 PM, Walter Dnes waltd...@waltdnes.org wrote:

 On Fri, Jan 04, 2013 at 03:27:59PM -0500, Michael Mol wrote
  On Fri, Jan 4, 2013 at 3:17 PM, Walter Dnes waltd...@waltdnes.org
wrote:
  
 The mere fact that you haven't manually typed in...
   http://www.facebook.com/blah_blah_blah does not mean you're not
   connecting to it.
 
  But all that's above layer 3, since it's an HTTP redirect, or a page
  transclusion which necessitates a new GET request. Michael's point
  stands.

   And I want to make sure that new GET request is blocked coming and
 going.

 --
 Walter Dnes waltd...@waltdnes.org
 I don't run desktop environments; I run useful applications


And it will, for the simple reason that outbound psckets are dropped, so
inbound packets are nevrr valid. That was Michael's point.


Re: [gentoo-user] E17 lock screen

2013-01-04 Thread Kevin Brandstatter
Sure, ive attached one to this email.

-Kevin


On 01/03/2013 03:08 PM, Robert David wrote:
 This is wired, can you post screenshot?

 There does not seem to be some condition in code.

 Robert.

 On Thu, 03 Jan 2013 12:27:41 -0600
 Kevin Brandstatter kjbrandstat...@gmail.com wrote:

 i cleared out the  configs when i installed the release. Suspend
 works, it even locks now, but i still cant change the settings. no
 dbus problems that i can see

 -Kevin

 On 01/03/2013 04:26 AM, Robert David wrote:
 Did you try e with new config with e-17 release? Or you had some
 previous configs and was replaced with release. Because there was
 some config upgrade and old configs did not work and some was not
 replaced correctly (mixer gadget).

 And suspendig with E works ok? You use pm-suspend? Dont you have
 some dbus problems? As the events are send through dbus I think,
 for me it works even with running pm-suspend from console (E locks
 screen).

 Robert.


 On Thu, 03 Jan 2013 03:51:34 -0600
 Kevin Brandstatter kjbrandstat...@gmail.com wrote:

 The problem is the option to lock screen on suspend is greyed out
 and uncheckable.
 Did try building with all modules

 -Kevin

 On 12/28/2012 04:16 AM, Robert David wrote:
 Hi Kevin,

 what exactly you missing on screen lock in E17? I use E17 and
 screen lock is ok when suspending. It does not need some
 xscreenlock stuff, it is just part of e. Just check
 settings-sceen-screen_lock and checkin lock_on_suspend. Thats
 all:)

 If you missing something, just make sure you build with all the
 modules flags.

 x11-wm/enlightenment-0.17.0 was built with the following:
 USE=nls pam spell udev ukit -doc -emotion -static-libs
 ENLIGHTENMENT_MODULES=access backlight battery clock comp
 conf-applications conf-dialogs conf-display conf-edgebindings
 conf-interaction conf-intl conf-keybindings conf-menus conf-paths
 conf-performance conf-randr conf-shelves conf-theme
 conf-window-manipulation conf-window-remembers connman cpufreq
 dropshadow everything fileman fileman-opinfo gadman ibar ibox
 illume2 mixer msgbus notification pager quickaccess shot start
 syscon systray tasks temperature tiling winlist wizard xkbswitch


 Robert.


 On Thu, 27 Dec 2012 18:51:26 -0600
 Kevin Brandstatter kjbrandstat...@gmail.com wrote:

 On 12/27/2012 05:16 PM, Mick wrote:
 On Saturday 22 Dec 2012 01:29:57 Kevin Brandstatter wrote:
 So e17 just came out and ive been using for a bit. The only
 problem ive had with it is that i cant check the option to lock
 the screen on suspend. I don't think this is a problem on some
 of the other distributions so thought it could be a policy
 problem on gentoo.

 Curious if anyone else uses e17/has this problem and maybe a
 fix. or just for suggestions of where to look
 I can't select it here either, but I suspect that this may be
 because I do not use xscreenlock or equivalent.

 Have you tried posting either at the e17 or the
 enlightenm...@gentoo.org mailing lists?
 yes I first posted to the e17-users list. It was working for
 other people so i thought it might be distro specific, I emerged
 xscreensaver to see if that would fix it at all but no luck. I
 had this problem a while ago and i think it had something to do
 with polkit settings

 -Kevin




attachment: Screenshot - lockscreen.png

signature.asc
Description: OpenPGP digital signature