Re: [gentoo-user] mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread Maxim Wexler
Do the files repose on a on a big(terabytes!) outboard drive? This
could cause a delay on account of the OS having to read the thing
first.

On 3/18/17, tu...@posteo.de  wrote:
> Hi,
>
> very often I use mpv to watch videos.
>
> On my old root, the start of that tool
> was nearly instantly.
>
> With my new root, it seems, that mpv
> is waiting for something. For example:
>
> Playing: 
> [ffmpeg/demuxer] flv: video stream discovered after head already parsed
> [ffmpeg/demuxer] flv: audio stream discovered after head already parsed
>  (+) Video --vid=1 (h264)
>  (+) Audio --aid=1 (aac)
> AO: [alsa] 48000Hz stereo 2ch float
> VO: [opengl] 480x360 yuv420p
>
> The above is printed instantly onto the console...than it waits
> ~5 seconds, then the video is started and this is printed
> and updated:
>
> AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000
>
>
> . This happens with flv, mp4 but it happens to pure audio
> files like ogg and wav also.
>
> I have no idea, for what mpv is waiting for --  but it annoys me.
>
>
> Is it fixable...and
> if( true )
> then
> how( "?" )
> fi
>
> :)
>
> Cheers
> Meino
>
>
>
>
>
>
>



Re: [gentoo-user] The future of linux, and Gentoo specifically now

2014-11-25 Thread Maxim Wexler

 No. It is not possible in Unity or, at least, it was not possible
 in Unity at the time when Ubuntu 12.04 was released. They really
 *forced* their users to accept the new place of the closing window
 frame button and have argued that it is more ergonomic.

 There was not any possibility to change the place of the closing
 window frame button in Unity via configuration options. Quite a
 lot of Ubuntu users complained about it yet in Ubuntu 10.04,
 where the new place of that button was a new default though
 it was possible to change it back via configuration options.
 In Unity, it was absolutely impossible.


Try Lubuntu, with LXDE.



Re: [gentoo-user] Re: no x-mouse or console mouse bud gpm started and mouse found. BUMP

2012-11-07 Thread Maxim Wexler


 What does your dmesg say when starting Gentoo and Ubuntu?
 Can you provide the kernel-config for Gentoo and Ubuntu?

 --
 Joost


 ubuntu, dmesg:
http://paste.ubuntu.com/1340272/

gentoo, kernel config:
http://paste.ubuntu.com/1340280/

gentoo, dmesg:
http://paste.ubuntu.com/1340301/

ubuntu, kernel config:
http://paste.ubuntu.com/1340310/

Max


[gentoo-user] Re: no x-mouse or console mouse bud gpm started and mouse found. BUMP

2012-11-05 Thread Maxim Wexler
On Sat, Oct 27, 2012 at 4:34 PM, Maxim Wexler maxim.wex...@gmail.comwrote:

 Hi group,

 after a world update including 3.5.7 sources and nvidia-drivers-304.60 I
 have no mouse. In the console or desktop. The kernel recognizes the mouse
 and it appears in lsusb. I carried over the kernel from last time w/make
 oldconfig. All the relevant services are started: gpm, udev, dbus.

 My xorg.conf(written by nvidia-xconfig) is here:

 http://bpaste.net/show/54023

 Xorg.0.log:

 http://bpaste.net/show/54024

 FWIW I uncommented this line in rc.conf

 rc_hotplug=!net.*

 Can't think of what else to add.

 Max.


 This is still a problem. Have to use Ubuntu, ugh! I booted a new kernel,
no help. Have all necessary config options. /dev/input/mice. Mouse/s work
in Ubuntu. Not in Gentoo, not a different mouse, not a different usb slot.
It's not hardware, but $cat /proc/bus/input/devices mentions keyboard but
no mouse.  That's the only screwup. Oh, and when you enter #cat
/dev/input/mice while moving the mouse, nothing happens. Otherwise
everything seems normal dmesg, lsusb all see the mouse. gpm started
successfully etc.

Took this to irc #gentoo. crickets


Re: [gentoo-user] no x-mouse or console mouse bud gpm started and mouse found.

2012-10-28 Thread Maxim Wexler
On Sun, Oct 28, 2012 at 4:57 AM, Neil Bothwick n...@digimed.co.uk wrote:

 On Sat, 27 Oct 2012 16:34:39 -0600, Maxim Wexler wrote:

  after a world update including 3.5.7 sources and nvidia-drivers-304.60 I
  have no mouse. In the console or desktop. The kernel recognizes the
  mouse and it appears in lsusb. I carried over the kernel from last time
  w/make oldconfig. All the relevant services are started: gpm, udev,
  dbus.

 Does it still work with the old kernel? If so, it is probably one of the
 new HID options like CONFIG_HID or CONFIG_USB_HID.


Here's a 'grep' for those terms from my present .config.  Is there
something missing? BTW, I'm reporting from the Ubuntu side of my box
because of the difficulty of operating the desktop w/o a mouse.

Meanwhile, I'll boot to grub and try the former kernel.

  cordyceps@gnubu:~$ grep CONFIG_HID
/media/0bd17520-483d-4915-a47b-76074c499b61/usr/src/linux/.config
CONFIG_HID=y
CONFIG_HIDRAW=y
# CONFIG_HID_GENERIC is not set
CONFIG_HID_A4TECH=y
# CONFIG_HID_ACRUX is not set
CONFIG_HID_APPLE=y
# CONFIG_HID_AUREAL is not set
CONFIG_HID_BELKIN=y
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
# CONFIG_HID_PRODIKEYS is not set
CONFIG_HID_CYPRESS=y
CONFIG_HID_DRAGONRISE=y
# CONFIG_HID_EMS_FF is not set
CONFIG_HID_EZKEY=y
# CONFIG_HID_HOLTEK is not set
# CONFIG_HID_KEYTOUCH is not set
CONFIG_HID_KYE=y
# CONFIG_HID_UCLOGIC is not set
# CONFIG_HID_WALTOP is not set
CONFIG_HID_GYRATION=y
CONFIG_HID_TWINHAN=y
CONFIG_HID_KENSINGTON=y
# CONFIG_HID_LCPOWER is not set
CONFIG_HID_LOGITECH=y
# CONFIG_HID_LOGITECH_DJ is not set
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
# CONFIG_HID_MULTITOUCH is not set
# CONFIG_HID_NTRIG is not set
CONFIG_HID_ORTEK=y
CONFIG_HID_PANTHERLORD=y
CONFIG_HID_PETALYNX=y
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_SAITEK is not set
CONFIG_HID_SAMSUNG=y
CONFIG_HID_SONY=y
# CONFIG_HID_SPEEDLINK is not set
CONFIG_HID_SUNPLUS=y
CONFIG_HID_GREENASIA=y
CONFIG_HID_SMARTJOYPLUS=y
# CONFIG_HID_TIVO is not set
CONFIG_HID_TOPSEED=y
CONFIG_HID_THRUSTMASTER=y
CONFIG_HID_ZEROPLUS=y
# CONFIG_HID_ZYDACRON is not set
# CONFIG_HID_PID is not set
cordyceps@gnubu:~$ grep CONFIG_USB_HID
/media/0bd17520-483d-4915-a47b-76074c499b61/usr/src/linux/.config
CONFIG_USB_HID=y
CONFIG_USB_HIDDEV=y
cordyceps@gnubu:~$


 --
 Neil Bothwick

 Press every key to continue.



Re: [gentoo-user] no x-mouse or console mouse bud gpm started and mouse found.

2012-10-28 Thread Maxim Wexler
well, looks like I have a problem w/grub2 too.  Using the 'c' option, the
old kernel panics AND so does the new one.

TIL set root=(hd1, msdos6). msdos6? No idea where that comes from ;(


Re: [gentoo-user] no x-mouse or console mouse bud gpm started and mouse found.

2012-10-27 Thread Maxim Wexler
On Sat, Oct 27, 2012 at 4:56 PM, William Kenworthy bi...@iinet.net.auwrote:

 Did you update xorg-server? - you need to rebuild the drivers (see
 ebuild messages)

 BillK


 didn't help


[gentoo-user] [ot]flashing netbook bios

2012-09-17 Thread Maxim Wexler
Hi group,

I want to upgrade an old 900A netbook, but I have to flash the bios
first. This has proven difficult despite using all the tips I found on
the web. The recommendations call for a small partition on a usb key
formatted fat 16. You copy over the bios file, making sure its called
900A.ROM. You boot and hit alt+f2 as soon as you see the boot
screen. Then, supposedly, the bios gets updated with little fuss, and
you're good to go.

But all that happens in my case is the constant reiteration of
reading rom file...file not found, or words to that effect.

I would appreciate any insight. Even if you don't know the fix.

MW



[gentoo-user] unstoppable, undeciperable kernel call trace in log

2012-06-30 Thread Maxim Wexler
Hi group,

Please take a look at this  clip from /var/log/messages:

https://paste.lugons.org/show/2679/

Can somebody tell me what it means? It never changes, char by char. It
goes on forever, over and over again. At one time I wanted kernel
debugging, but I've returned to menuconfig and turned it off(I thought
).

How do I stop this pointless verbosity?

Max



Re: [gentoo-user] unstoppable, undeciperable kernel call trace in log

2012-06-30 Thread Maxim Wexler
 Hi,

 I don't have an answer, but if you google the phrase rcu_bh detected
 stall on CPU you can find many reports similar to yours and maybe
 some information.

This might be usefu
lhttp://www.kernel.org/doc/Documentation/RCU/stallwarn.txt

RCU bugs can often be debugged with the help of CONFIG_RCU_TRACE

from help in menuconfig.

  │ This option provides tracing in RCU which presents stats│
  │ in debugfs for debugging RCU implementation.

Ok, so I've  set the RCU_TRACE=y. Next question: How do I use debugfs,
never used it before?


 Do you have RCU_CPU_STALL_INFO=y in your kernel config?

no.

syzygy@lumby ~ $ grep RCU /usr/src/linux/.config
# RCU Subsystem
CONFIG_TREE_RCU=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_RCU_TRACE is not set
CONFIG_RCU_FANOUT=32
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_RCU_FAST_NO_HZ is not set
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_SPARSE_RCU_POINTER is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=60



Re: [gentoo-user] unstoppable, undeciperable kernel call trace in log

2012-06-30 Thread Maxim Wexler
This is weird

syzygy@lumby ~ $ grep DEBUG_FS /usr/src/linux/.config
# CONFIG_DEBUG_FS is not set

But the entry in menuconfig -kernel hacking looks like this:' -*-
Debug Filesystem', and can't be changed.  Not '[*]' which is
changeable with the spacebar, but '-*-' which is not.

According to help it depends on TREE_RCU_TRACE=y OR a whole bunch
of other stuff.

But I have TREE_RCU_TRACE=y. So I should be good right? But then why
doesn't it select DEBUG_FS?

googling lead me to http://en.wikipedia.org/wiki/Debugfs,  which says
do: 'mount -t debugfs none /sys/kernel/debug'. Ok, but there's no
debug file or dir under /sys/kernel. Do I make one? And will it make a
difference since according to grep DEBUG_FS is not set in the kernel
config?

I'll go and make the new kernel and see what happens.


On 6/30/12, Maxim Wexler maxim.wex...@gmail.com wrote:
 Hi,

 I don't have an answer, but if you google the phrase rcu_bh detected
 stall on CPU you can find many reports similar to yours and maybe
 some information.

 This might be usefu
 lhttp://www.kernel.org/doc/Documentation/RCU/stallwarn.txt

 RCU bugs can often be debugged with the help of CONFIG_RCU_TRACE

 from help in menuconfig.

   │ This option provides tracing in RCU which presents stats
 │
   │ in debugfs for debugging RCU implementation.

 Ok, so I've  set the RCU_TRACE=y. Next question: How do I use debugfs,
 never used it before?


 Do you have RCU_CPU_STALL_INFO=y in your kernel config?

 no.

 syzygy@lumby ~ $ grep RCU /usr/src/linux/.config
 # RCU Subsystem
 CONFIG_TREE_RCU=y
 # CONFIG_PREEMPT_RCU is not set
 # CONFIG_RCU_TRACE is not set
 CONFIG_RCU_FANOUT=32
 # CONFIG_RCU_FANOUT_EXACT is not set
 # CONFIG_RCU_FAST_NO_HZ is not set
 # CONFIG_TREE_RCU_TRACE is not set
 # CONFIG_SPARSE_RCU_POINTER is not set
 CONFIG_RCU_CPU_STALL_TIMEOUT=60




Re: [gentoo-user] Re: Grub2 and is the upgrade a tooth puller.

2012-06-25 Thread Maxim Wexler
I mostly gentoo, but ubuntu has this marvellous tool 'boot-repair'
based on grub2 in the yannbuntu repo. With one click it finds all the
bootable partitions on your box, writes and installs the grub.cfg.
Next time you boot viola! there's all your OSes ready to be started.

On 6/25/12, walt w41...@gmail.com wrote:
 On 06/24/2012 10:05 PM, Dale wrote:
 I only run Gentoo here, no windoze at all and no other distro
 either.

 I agree with Canek.  The only reason I switched to grub2 is that
 I have an outboard docking station that I don't always power on.

 That causes the BIOS to change the order of the drives when I
 reboot with the docking station powered up, and then the kernel
 can't find the boot drive.  Very silly problem, really, and
 maybe this particular BIOS is dumber than most, dunno.

 But grub2 can search for the boot drive based on the disk label
 or UUID, so that particular problem is gone now.







Re: [gentoo-user] Anyone Else Ping-Ponging with fltk?

2012-04-06 Thread Maxim Wexler

 emerge --ask --deep --update world
 unmerge =x11-libs/fltk-2.0_pre6970-r1
 revdep-rebuild

Done, but before that I ran -a --depclean and, whatdya know, it wanted
to delete 1.3.0 and keep 2.0!

running emerge -C against 2.0 and then revdep-rebuild seemed to have
fixed things. Next  world update should prove completely. Thanks
gentoo!



Re: [gentoo-user] Anyone Else Ping-Ponging with fltk?

2012-04-03 Thread Maxim Wexler

   fltk-1.3 will handle what fltk-2.0 handled, unless you have some very
 hard-coded software.

 --
 Walter Dnes waltd...@waltdnes.org

 Thanks Walter for the description of what the real problem is here.


from update -p world console o/p:

...
[ebuild  NS] x11-libs/fltk-1.3.0 [2.0_pre6970-r1] USE=threads
-cairo -debug -doc -examples -games -opengl -pdf -xft -xinerama 0 kB
...

Now portage is repeating itself. This is what I saw last update last
week. Getting big yawns on irc #gentoo. Does this mean nobody knows or
nobody cares what's going on? Or is there a third alternative I
haven't considered?

MW



Re: [gentoo-user] ppp-gentoo woes cont'd [SOLVED-sorta]

2012-03-28 Thread Maxim Wexler

 with ppp connections you are not using a dhcp client, pppd gets the
 nameserver ip addressess as part of the connection negotiation (if
 peerdns is set) and the aforemetioned script in
 /etc/ppp/ip-up.d/40-dns.sh writes those to /etc/resolv.conf

This is at the top of /etc/resolv.conf
# Generated by dhcpcd
# /etc/resolv.conf.head can replace this line
# /etc/resolv.conf.tail can replace this line

But according to /var/log/messages:

Mar 28 13:24:01 lumby pppd[16825]: primary   DNS address 75.153.176.1
Mar 28 13:24:01 lumby pppd[16825]: secondary DNS address 75.153.176.9

But whatever is in resolv.conf is overwritten with blanks AFTER I
connect. Which creates this odd situation where I can ping numbers,
ie, 8.8.8.8 but not com, net, org etc.

Once I connect I have to echo the DNS addresses into resolv.conf
before I can reach anything.

Also, I notice whenever I set up a route to my router those numbers
get wiped. Is that the default behavio(u)r?. NB, I have nothing in the
way of services other than ppp configured at all. Maybe later after I
sort it all out I'll rig up something automatic.

Thanks for everybody's hlp

MW

ps:  according to /etc/ppp/ip-up.d/40-dns.sh:

---

#!/bin/sh

# Handle resolv.conf generation when usepeerdns pppd option is being used.
# Used parameters and environment variables:
# $1 - interface name (e.g. ppp0)
# $USEPEERDNS - set if user specified usepeerdns
# $DNS1 and $DNS2 - DNS servers reported by peer

if [ $USEPEERDNS ]; then

if [ -x /sbin/resolvconf ]; then
{
echo # Generated by ppp for $1
[ -n $DNS1 ]  echo nameserver $DNS1
[ -n $DNS2 ]  echo nameserver $DNS2
} | /sbin/resolvconf -a $1
else
# add the server supplied DNS entries to /etc/resolv.conf
# (taken from debian's usepeerdns)

# follow any symlink to find the real file
REALRESOLVCONF=$(readlink -f /etc/resolv.conf)

if [ $REALRESOLVCONF != /etc/ppp/resolv.conf ]; then

# merge the new nameservers with the other options from 
the old configuration
{
grep --invert-match '^nameserver[[:space:]]' 
$REALRESOLVCONF
cat /etc/ppp/resolv.conf
}  $REALRESOLVCONF.tmp

# backup the old configuration and install the new one
cp -dpP $REALRESOLVCONF $REALRESOLVCONF.pppd-backup
mv $REALRESOLVCONF.tmp $REALRESOLVCONF

# correct permissions
chmod 0644 /etc/resolv.conf
chown root:root /etc/resolv.conf
fi
fi

fi



the software is aware of two resolv.confs, one under /etc/, one under
/etc/ppp. /etc/ppp/resolv.conf is correctly filled in, but the other
is wiped. Can anyone see why?

MW



Re: [gentoo-user] Anyone Else Ping-Ponging with fltk?

2012-03-28 Thread Maxim Wexler
On 3/28/12, Todd Goodman t...@bonedaddy.net wrote:
 I've been getting the following Ping-ponging of fltk for maybe a
 couple weeks now.

 What I mean is that I have x11-libs/fltk-2.0_pre6970-r1:2 installed and
 slotted.

 When I emerge -avD --changed-use world it wants to slot install
 x11-libs/fltk-1.3.0-r1

 x11-libs/fltk is in world.

 However after having both slots installed and emerge --depclean wants to
 remove x11-libs/fltk-1.3.0-r1.

 Then the next time I emerge world it wants to put it back, etc etc etc

 Is there something screwy with the slotting?

 Or have I broken my system?

 Thanks,

 Todd


Same here. I asked in #gentoo but got no reply.



Re: [gentoo-user] Anyone Else Ping-Ponging with fltk?

2012-03-28 Thread Maxim Wexler

 Because the other slot satisfies the requirements of world, which
 contains an unslotted version. But then --update always tries to
 installed the newest suitable version. In other words, his system is
 broken.


 --
 Neil Bothwick


Then my system must be broken too. emerge -uND world made a new slot
for 130. Then just deleted it with depcllean. But I did run
revdep-rebuild twice and everything is  consistent.

MW



Re: [gentoo-user] Grub2 can't find any commands

2012-03-22 Thread Maxim Wexler
Here's a marvelous program crying out for an ebuild;

https://launchpad.net/boot-repair

It's part of my Ubuntu setup. With one click it goes out and finds all
the boot partitions on your hd(s) and automatically writes the proper
grub2 configuration for them. It even pastebins a copy of grub.cfg
for troubleshooting purposes,  though I have never needed it, sof far.
When you boot  all your OSes  are there in the menu ready to be
selected. In my case Ubuntu, Gentoo and Sabayon. .

On 3/21/12, Julian Simioni julian.simi...@gmail.com wrote:
 Hi all,
 I'm working on the exciting and challenging task of installing Gentoo
 on a new Macbook Pro with grub2 and EFI. I've got things booting, but
 every time grub complains of many missing commands including search,
 echo,  and most surprisingly '['. It also can't find any modules, and
 in order to get everything to work I had to specify about 10 modules
 to be built in using grub2-mkimage. This feels a little suboptimal to
 me, but I can't figure out where various things need to be for grub to
 find them happily.

 My partition layout at least is simple since I don't plan on dual booting:
 /dev/sda1: big root partition using ext4
 /dev/sda2: 200MB vfat EFI partition, set to bootable (yes this should
 be sda1: I didn't know you needed an EFI partition until after I had
 already made the root partition and started installing things. I was
 able to add this partition later with gparted)

 Of course I'm using GPT, not MBR.

 On /dev/sda2 I've got the grub2 image at /EFI/BOOT/BOOTX64.EFI as is
 standard, and I have been mounting /dev/sda2 at /boot/efi. I can put
 either a grub2 image or a 3.3 kernel with EFI stub support at
 /EFI/BOOT/BOOTX64.EFI and it gets detected just fine, so I'm on the
 right track.

 I've tried messing with various permutations of the -p parameter to
 grub2-mkimage, but haven't gotten anywhere. Right now the *.mod and
 *.lst files from /usr/lib/grub/x86_64-efi/ can be found at both
 /boot/grub2/x86_64-efi and /boot/efi/EFI/BOOT/. Where is it that they
 actually should be?

 Thanks,
 Julian





Re: [gentoo-user] ppp-gentoo woes cont'd

2012-03-21 Thread Maxim Wexler

 Since route and other things *are* getting set, I have the same strong
 suspicion Bill and YoYo have... DNS is likely not getting set properly
 in /etc/resolv.conf

I always assumed that DHCP was writing this file automatically, so I
never checked, but this time I made sure to check and viola! there
they were.

 saved a bunch of likely files across the partition from ubuntu ...
 did that include dropping them into place on the Gentoo side

naturlich

MW



Re: [gentoo-user] ppp-gentoo woes cont'd

2012-03-21 Thread Maxim Wexler
Doesn't 40-dns apply only if the 'usepeerdns' option is set. As far as
I can tell that option is not set. Maybe it should be.




On 3/21/12, YoYo Siska y...@gl.ksp.sk wrote:
 On Tue, Mar 20, 2012 at 09:09:06PM -0600, Maxim Wexler wrote:
 
  Since route and other things *are* getting set, I have the same strong
  suspicion Bill and YoYo have... DNS is likely not getting set properly
  in /etc/resolv.conf

 I always assumed that DHCP was writing this file automatically, so I
 never checked, but this time I made sure to check and viola! there
 they were.

 with ppp connections you are not using a dhcp client, pppd gets the
 nameserver ip addressess as part of the connection negotiation (if
 peerdns is set) and the aforemetioned script in
 /etc/ppp/ip-up.d/40-dns.sh writes those to /etc/resolv.conf


  saved a bunch of likely files across the partition from ubuntu ...
  did that include dropping them into place on the Gentoo side

 naturlich

 MW


 yoyo





Re: [gentoo-user] ppp-gentoo woes cont'd

2012-03-21 Thread Maxim Wexler
oh wait...it's set in /etc/ppp/peers/provider

On 3/21/12, Maxim Wexler maxim.wex...@gmail.com wrote:
 Doesn't 40-dns apply only if the 'usepeerdns' option is set. As far as
 I can tell that option is not set. Maybe it should be.




 On 3/21/12, YoYo Siska y...@gl.ksp.sk wrote:
 On Tue, Mar 20, 2012 at 09:09:06PM -0600, Maxim Wexler wrote:
 
  Since route and other things *are* getting set, I have the same strong
  suspicion Bill and YoYo have... DNS is likely not getting set properly
  in /etc/resolv.conf

 I always assumed that DHCP was writing this file automatically, so I
 never checked, but this time I made sure to check and viola! there
 they were.

 with ppp connections you are not using a dhcp client, pppd gets the
 nameserver ip addressess as part of the connection negotiation (if
 peerdns is set) and the aforemetioned script in
 /etc/ppp/ip-up.d/40-dns.sh writes those to /etc/resolv.conf


  saved a bunch of likely files across the partition from ubuntu ...
  did that include dropping them into place on the Gentoo side

 naturlich

 MW


 yoyo






Re: [gentoo-user] ppp-gentoo woes cont'd

2012-03-20 Thread Maxim Wexler

 yoyo

Thanks for your response. I did some research(ppp documentation is
OLD!) and saved a bunch of likely files across the partition from
ubuntu, and rebooted into gentoo.

Just for the heck of it I made myself root right from the boot console
and ran pon isp without touching anything else, and boom! I was
connected. The only difference from last time was that I ran pon right
from the boot console instead of what I usually do, namely running
startx, opening a terminal making myself root etc. I cannot fathom how
that would make a difference. Can anybody out there in gentoo-world?
Didn't even have to rmmod the wifi and ethx drivers.

MW









Re: [gentoo-user] Goodbye to gentoo?

2012-03-19 Thread Maxim Wexler

 cat files-to-fetch.lst | cut -d   -f1 | wget -c -i -


I know how to generate a fetch list and wget the files. The problem is
syncing portage on another machine, my netbook, ubuntu-based. Or
maybe, I could boot sysresc on the netbook. It's gentoo based IIRC and
do a re-sync back home as per C P Valdes.



Re: [gentoo-user] Goodbye to gentoo?

2012-03-19 Thread Maxim Wexler
 Why show us what it was when it worked? What does route -n show from
 your broken Gentoo now?


 --
 Neil Bothwick

Good question. Heading over there now. So if I can't get it working
there's gonna have to be some awkward shuttling back and forth.



[gentoo-user] ppp-gentoo woes cont'd

2012-03-19 Thread Maxim Wexler
Just got back from gentoo land.

Arrrgh, gmail won't let me attach files, just sits there spinning.

So I'll have to make do with pastebin.

http://paste.ubuntu.com/890854/

Is a chronicle of the commands entered. First having booted and not
changing anything, I do #ifconifg, then I do #route -n, then #pon
isp to connect. Then there is the running tail of the messages log,
ifconfig, route -n

Next, rmmod the drivers. I do #poff isp to bring down ppp0, tail the
messages,  And so on...

NB: the crash of the time daemon doesn't matter. Like everything else
I need to work around the problem; in this case via a script in
/etc/ppp/ip-up.d and /ip-down.d. The problem persists if I don't start
the daemon at all.

At the bottom of the file I've included the /etc/ppp/ip-up script.

The scripts it refers to are here:

30-wins.sh
http://paste.ubuntu.com/890854/

40-dns.sh
http://paste.ubuntu.com/890857/

50-initd.sh
http://paste.ubuntu.com/890857/

90-ntpd.sh
http://paste.ubuntu.com/890857/

The first two don't apply. 50-initd.sh, I don't quite grok.

Hope somebody has the patience to go through this ;)

MW



[gentoo-user] Goodbye to gentoo?

2012-03-18 Thread Maxim Wexler
I like gentoo; there's a steep learning curve but after you pass that
it just clicks. As difficult as it ever became there was always an
answer to be found, on a blog, irc, documentaiton...

But I might have to give up on gentoo if I can't find a way to fix
this latest difficulty. I live in the hinterland where there is no
broadband. I have to make do with a dialup modem over ~10mi of copper
wire. Now I find I can no longer dialup the internet using ppp command
#pon isp. The modem lights come on and the log says the DNS have
been all been assigned. status=0x0. But I can't ping out. 'Host
unreachable'.

As slow as my connection is, I've always been able to sync portage and
use bash to write a link file which I can download at the free wifi in
town. Now I can't even do that.

I suspect this has something to do with the openrc which seems to be
steadily improving.. There  are no error msgs other than the ping
error above. I'm sure this is gentoo specific because it doesn't
affect the Ubuntu side of my pc(yet ;().where I'm typing this.  In
ubuntu I have to rmmod my wifi and ethn drivers or the same thing
happens: modem lights up, log says everything fine, but no internet.
Once every other bit of net hardware comes down, the web is reachable.
This USED to be the case for gentoo as well, but now, even that
doesn't help.

The landline gets no respect. Now gmail is making angry noises cause I
won't give them my mobile number. But I don't have one. There isn't
even coverage out here.

Broadband and dialup used to get along but those days seem to be gone.

Hope somebody can see a way out.

MW



Re: [gentoo-user] Goodbye to gentoo?

2012-03-18 Thread Maxim Wexler

 Hi Maxim, what changed when the modem stopped working?

Dunno


 Also can you supply the output of the route -n and ifconfig commands
 to give us a chance of seeing if anything has gone adrift there.  Also
 if you are using (and have tested that its not the problem) any firewall
 running.

I don't use the /etc/conf.d/net file. Also all net hotplug services
are turned of in rc.conf.
route -n shows nothing except ppp0
(this is from ubuntu, but it was the same for gentoo when it was working)
root@gnubu:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0  00 ppp0
161.184.0.199   0.0.0.0 255.255.255.255 UH0  00 ppp0

(also from the ubuntu side)
root@gnubu:~# ifconfig ppp0
ppp0  Link encap:Point-to-Point Protocol
  inet addr:161.184.44.73  P-t-P:161.184.0.199  Mask:255.255.255.255
  UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
  RX packets:5867 errors:0 dropped:0 overruns:0 frame:0
  TX packets:6439 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:3
  RX bytes:1694892 (1.6 MB)  TX bytes:746705 (746.7 KB)


ifconfig eth0 and wlan0 are empty because I rmmod'd the drivers. I
only use them when talking to the router or another pc on a lan, I set
them up manually and take them down when not in use. Otherwise the web
is unreachable. This true for Ubuntu and gentoo.

There is no firewall as far as I know.

MW



Re: [gentoo-user] Re: hotplugging usb devices no longer working

2010-08-31 Thread Maxim Wexler
Had this problem too. Not sure if this suits your case. Have you tried
using UUID in place of /dev/sdx? Use blkid to get the UUID for the
device and replace /dev/sdx in fstab.

On 8/31/10, Allan Gottlieb gottl...@nyu.edu wrote:
 Allan Gottlieb gottl...@nyu.edu writes:

 I have a sansa MP3 player and a Flip Video.  Each plugs in as a usb
 device and presents as a fat file system.

 This is a test.  Please ignore (see prev msg for explanation).
 allan





Re: [gentoo-user] fsck won't work if ac cord not attached?!FIXED -- almost

2009-12-01 Thread Maxim Wexler
On 12/1/09, Neil Bothwick n...@digimed.co.uk wrote:
 On Mon, 30 Nov 2009 18:54:45 -0700, Maxim Wexler wrote:

 you guys are killing me -- the problem goes away when the ac cord is
 plugged in. I open files watch videos surf the web and so on -- no
 problems. I'm no expert, but that would seem to suggest that the fs is
 OK, no?

 No! You're missing the point. You are telling us that the system works
 fine if you fsck the root partition before trying to mount it rw, but
 fails to mount if it is not fscked. That means there is something wrong.

To hell with that. Read the damn title of THIS THREAD!!

 Hint: I am typing this on an Asus Eee PC that was just booted up on
 battery power.


so what? it isn't mine. You trying to say your hardware and data are
electron for electron and bit for bit a clone of mine?

marples git openrc repo wiped my fsck and I forgot to add the line
'sleep 5' in the fsck start() func. Voila! Volumes mount -- no
problem.

Everything boots fine with battery power or AC. Problem sorted.

Only thing, git sync failed to update /etc/init.d/net.lo. In
/var/git/openrc net.lo.in for some reason was not transformed into
net.lo and copied to /etc/init.d/. So of course net.lo and
net.eth0(the symlink) are not available when boot completes.

Now if you will just withdraw your fangs and help me with this
latest glitch I'll be muy contento.

mw



[gentoo-user] git openrc skips init service

2009-12-01 Thread Maxim Wexler
Hi group,

I used the repo offered by Tony Marples to update openrc(0.5.2-r2 -
0.5.2.4df8778) using git. It did a fine job except it failed to update
/etc/init.d/net.lo. The original instance remains.

Under /var/git/openrc all the init services were updated from
service.in to service and installed in /etc/init.d -- except for
net.lo.

Now net.lo and the symlink net.eth0 can't be found, fail to start etc.

I used /var/git/openrc/git pull --rebase to do the deed. Is there a
way to focus the command on just the one service?

Maxim



Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-12-01 Thread Maxim Wexler
And, for the record, while people might be arguing with you, it's not
 malicious.  We are only trying to help.

Fine, then read what I say and, until you know better, believe it.



Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-12-01 Thread Maxim Wexler
meh, you got nothing

On 12/1/09, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Tuesday 01 December 2009 22:19:24 Neil Bothwick wrote:
 On Tue, 1 Dec 2009 11:57:58 -0700, Maxim Wexler wrote:
  Fine, then read what I say and, until you know better, believe it.

 OK, you're right, everyone else is wrong and there's no point in any of
 us trying to help you.


 Wise Chinese man say: young tempestuous fellow need to bang head on rock
 many
 more time before lesson be learned. Allow young man to bang head, obviously
 he
 like. Maybe he get head rush?

 One day he'll realise that he has installed a combination of software
 packages
 that just does not do what suits him best. Then he will change it. Until
 then,
 well, many happy non-booting returns!


 --
 alan dot mckinnon at gmail dot com





Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-12-01 Thread Maxim Wexler
so tell me how come none of you quarter-brights have responded to the
email where I say this problem has been fixed?

you want to help? answer me this: why did # /var/git/openrc/git pull
--rebase update all init.d services except net.lo? That's today's
scintillating question.

On 12/1/09, Joshua Murphy poiso...@gmail.com wrote:
 On Tue, Dec 1, 2009 at 6:18 PM, Maxim Wexler maxim.wex...@gmail.com wrote:
 We just want to help you -- that's what the police say before they tase
 your ass

 On 12/1/09, Maxim Wexler maxim.wex...@gmail.com wrote:
 meh, you got nothing

 On 12/1/09, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Tuesday 01 December 2009 22:19:24 Neil Bothwick wrote:
 On Tue, 1 Dec 2009 11:57:58 -0700, Maxim Wexler wrote:
  Fine, then read what I say and, until you know better, believe it.

 OK, you're right, everyone else is wrong and there's no point in any of
 us trying to help you.


 Wise Chinese man say: young tempestuous fellow need to bang head on rock
 many
 more time before lesson be learned. Allow young man to bang head,
 obviously
 he
 like. Maybe he get head rush?

 One day he'll realise that he has installed a combination of software
 packages
 that just does not do what suits him best. Then he will change it. Until
 then,
 well, many happy non-booting returns!


 --
 alan dot mckinnon at gmail dot com

 I *almost* feel sorry for you, after several people here have tried to
 help, even WITHOUT you giving an actual direct error message that
 you're receiving beyond the *expected* behavior of the fsck being
 skipped on boot, and even despite your being belligerent toward
 several of the most helpful people I've seen on the list overall. What
 I do fail to understand, though, is why a person would post, asking
 for help, disregard every bit of help given, and *both* act as though
 they're being forced to listen to help they didn't ask for *and* as
 though they're not getting any help at all. If someone gives you an
 answer that is wrong for the situation as you see it, it typically
 means one of two things... 1) you didn't give all the details needed
 for them to understand what you're seeing and to know WHY the answer
 they're giving isn't correct, which  2) you're overlooking or ignoring
 something that they're trying to point out in their answer and,
 despite what you may want to hear, they are in fact correct. Now,
 a-typically, it's possible you know what's wrong, what's causing it,
 and the solution, so you can instantly know that answers you're
 receiving are wrong... but in my experience, in those cases, people
 don't waste other people's time asking for help.

 --
 Poison [BLX]
 Joshua M. Murphy





Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-12-01 Thread Maxim Wexler
should be /var/git/openrc# git pull --rebase

On 12/1/09, Maxim Wexler maxim.wex...@gmail.com wrote:
 so tell me how come none of you quarter-brights have responded to the
 email where I say this problem has been fixed?

 you want to help? answer me this: why did # /var/git/openrc/git pull
 --rebase update all init.d services except net.lo? That's today's
 scintillating question.

 On 12/1/09, Joshua Murphy poiso...@gmail.com wrote:
 On Tue, Dec 1, 2009 at 6:18 PM, Maxim Wexler maxim.wex...@gmail.com
 wrote:
 We just want to help you -- that's what the police say before they tase
 your ass

 On 12/1/09, Maxim Wexler maxim.wex...@gmail.com wrote:
 meh, you got nothing

 On 12/1/09, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Tuesday 01 December 2009 22:19:24 Neil Bothwick wrote:
 On Tue, 1 Dec 2009 11:57:58 -0700, Maxim Wexler wrote:
  Fine, then read what I say and, until you know better, believe it.

 OK, you're right, everyone else is wrong and there's no point in any
 of
 us trying to help you.


 Wise Chinese man say: young tempestuous fellow need to bang head on
 rock
 many
 more time before lesson be learned. Allow young man to bang head,
 obviously
 he
 like. Maybe he get head rush?

 One day he'll realise that he has installed a combination of software
 packages
 that just does not do what suits him best. Then he will change it.
 Until
 then,
 well, many happy non-booting returns!


 --
 alan dot mckinnon at gmail dot com

 I *almost* feel sorry for you, after several people here have tried to
 help, even WITHOUT you giving an actual direct error message that
 you're receiving beyond the *expected* behavior of the fsck being
 skipped on boot, and even despite your being belligerent toward
 several of the most helpful people I've seen on the list overall. What
 I do fail to understand, though, is why a person would post, asking
 for help, disregard every bit of help given, and *both* act as though
 they're being forced to listen to help they didn't ask for *and* as
 though they're not getting any help at all. If someone gives you an
 answer that is wrong for the situation as you see it, it typically
 means one of two things... 1) you didn't give all the details needed
 for them to understand what you're seeing and to know WHY the answer
 they're giving isn't correct, which  2) you're overlooking or ignoring
 something that they're trying to point out in their answer and,
 despite what you may want to hear, they are in fact correct. Now,
 a-typically, it's possible you know what's wrong, what's causing it,
 and the solution, so you can instantly know that answers you're
 receiving are wrong... but in my experience, in those cases, people
 don't waste other people's time asking for help.

 --
 Poison [BLX]
 Joshua M. Murphy






Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-30 Thread Maxim Wexler
aarrrgh!! I'm the one with the netbook!! The default didn't work.
Checking fs every boot does. Extra reboot time amounts to a few secs
vs not booting at all, dammit!

On 11/30/09, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Monday 30 November 2009 05:40:31 Maxim Wexler wrote:
  Right.

 wrong

  Of course, if there are serious filesystem structural problems you'll
  want to get them solved, but it's either a LiveCD chroot or disable
  fsck at boot.

 There's nothing wrong with the filesystem. It's ext2  and requires
 being checked at every boot.

 Wrong. There is no need to fsck ext2 at every boot. The default is to check
 it
 every 26 mounts. You can change that if you want, and send your reboot times
 sky-high..

 Before that it wouldn't boot at all.

 That would appear to be a completely separate issue.

 --
 alan dot mckinnon at gmail dot com





Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-30 Thread Maxim Wexler
 out why your system is exhibiting incorrect behaviour.

What the hell do you think I'm doing?

 Do you disagree with my logic as stated above?

logic? all I'm aware of is someone who insists on having the last word
at all costs.

Help me, my eye!



Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-30 Thread Maxim Wexler
you guys are killing me -- the problem goes away when the ac cord is
plugged in. I open files watch videos surf the web and so on -- no
problems. I'm no expert, but that would seem to suggest that the fs is
OK, no? I set this forth above. Did your eyes glaze over at that
point?

Roy Marples, who is a(the?) openrc developer, roped me into using git
to do whatever git is supposed to do and now it's much worse.
/dev/sd1 and 2 fail to mount as before PLUS many init services fail to
start PLUS it no longer matters if the battery is being used or the ac
cord: Chaos ensues, castles crumble, empires totter ...




On 11/30/09, Neil Bothwick n...@digimed.co.uk wrote:
 On Mon, 30 Nov 2009 09:09:07 -0700, Maxim Wexler wrote:

 aarrrgh!! I'm the one with the netbook!! The default didn't work.
 Checking fs every boot does. Extra reboot time amounts to a few secs
 vs not booting at all, dammit!

 Correction, you are one person with a netbook. Others with netbooks have
 contributed to this thread, and no one seems to agree with your position.
 If a filesystem will not mount without an fsck, it is broken. It doesn't
 matter whether that filesystem is on a desktop, server, laptop, netbook,
 MID or mobile phone as the location of the filesystem is irrelevant, only
 the fact that it needs fixing before it can boot... every time.


 --
 Neil Bothwick

 A great many people mistake opinions for thoughts. -- Herbert V. Prochnow




Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-29 Thread Maxim Wexler

 Do you have powermgmt-base installed?

Ah, memories! Yes


 Also, the top post here seems similar to your question, but I can't
 find anything like lvcheck on my own system (or for Gentoo...maybe
 it's named something else):
 http://markmail.org/message/5ipnsva3xkdyzzfy

/etc/init.d, conf.d/lvm closest equivalent. Nothing there about ac cord

Thanks for you interest.

Maxim



Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-29 Thread Maxim Wexler

 You say Chaos ensues ... in what way? Further errors, failure to
 boot, file system corruption, or...? The problem isn't likely rooted
 in the fact that it doesn't run an fsck when the system's booting on
 battery, but rather that you have some more pressing problem that
 should be addressed.


/var and /home fail to mount with predictable consequences.

Roy Marples, the developer is aware of the problem says I need to
git the openrc project on his repository to fix this. Getting that
sorted now. Never used git before.



Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-29 Thread Maxim Wexler
 Right.

wrong

 Of course, if there are serious filesystem structural problems you'll
 want to get them solved, but it's either a LiveCD chroot or disable
 fsck at boot.

There's nothing wrong with the filesystem. It's ext2  and requires
being checked at every boot. Before that it wouldn't boot at all.


 OpenRC is also in portage, so I'm not clear on why you need the
 bleeding edge source from git.

http://roy.marples.name/cgi-bin/gitweb.cgi?p=openrc.git;a=commit;h=d29daf395299fc97b8e13676bc282800a8bddae8

Marples is the developer. In emails to me he says this is what I have to do.


 In fact, if you're not familiar with git, and you want to shift to
 OpenRC (not a bad idea), I'd suggest following the Gentoo
 documentation, as I found it quite good:
 http://www.gentoo.org/doc/en/openrc-migration.xml

read what I wrote: I have already shifted.

mw



Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-29 Thread Maxim Wexler
besides the problem has to do with the power cord and/or the battery
-- not the fs. I'm sending this from the netbook in question with the
power cord attached; if I was on battery power it wouldn't work. Look
in your /etc/init.d/fsck, you'll see the warning.

There ought to be some boolean thing I can put in /etc/conf.d/fsck to
over-ride it, but apparently not.

On 11/29/09, Maxim Wexler maxim.wex...@gmail.com wrote:
 Right.

 wrong

 Of course, if there are serious filesystem structural problems you'll
 want to get them solved, but it's either a LiveCD chroot or disable
 fsck at boot.

 There's nothing wrong with the filesystem. It's ext2  and requires
 being checked at every boot. Before that it wouldn't boot at all.


 OpenRC is also in portage, so I'm not clear on why you need the
 bleeding edge source from git.

 http://roy.marples.name/cgi-bin/gitweb.cgi?p=openrc.git;a=commit;h=d29daf395299fc97b8e13676bc282800a8bddae8

 Marples is the developer. In emails to me he says this is what I have to
 do.


 In fact, if you're not familiar with git, and you want to shift to
 OpenRC (not a bad idea), I'd suggest following the Gentoo
 documentation, as I found it quite good:
 http://www.gentoo.org/doc/en/openrc-migration.xml

 read what I wrote: I have already shifted.

 mw




[gentoo-user] fsck won't work if ac cord not attached?!

2009-11-28 Thread Maxim Wexler
Hi group,

When my netbook boots under battery power w/o the ac adapter connected
I get this warning msg in the boot  window: 'Skipping fsck due to not
being an ac adapter'. Chaos ensues. The warning appears in
/etc/init.d/fsck.

How do I fix this? Some option in /etc/conf.d/fsck?

If you look for gentoo bug 291654 you get to a page that's difficult
to read, something wonky with the xml, but it describes this problem
and adds that it's fixed upstream.

I'm using ext2 with the journal option, openrc and baselayout-2. My
latest world update was two days ago.

maxim



[gentoo-user] prune gentoo-sources vs rm gentoo-sources

2009-11-26 Thread Maxim Wexler
Hi group,

according to the docs the approved method of removing old
gentoo-sources is emerge --prune. But I've already used rm -rf on
them. Have I set myself up for a problem later?

Maxim



Re: [gentoo-user] can't remove device-mapper can't install it either

2009-11-23 Thread Maxim Wexler
 That doesn't answer the question. If support is built as a module,
 is it loaded?

go away, if it was a module it wouldn't work. been there, done it.



Re: [gentoo-user] mplayer plugin

2009-11-23 Thread Maxim Wexler
 If you have Firefox installed, you can use 'download helper' to grab
 those videos really easy.  It works on youtube and other sites really well.

I'm using it but can only download from a link to youtube in another
web page or google, for example. Shouldn't there be a button on
Youtube itself, once the 'downloiad helper' is installed that lets you
download from the actual Youtube site? I've looked through
Tools-Download Helper-Preferences without seeing any option for it.

Maxim



Re: [gentoo-user] mplayer plugin

2009-11-23 Thread Maxim Wexler
Got it. I clicked on the tri-color balls on the lower rt and it just
gave me a list of sites where downloads may be found. The balls also
appear above and to the left of the video window where the movie is
supposed to appear. When I clicked on it I got the save-as window. But
then I had to stop the browser and migrate away from the page on
account of my tiny bandwidth. But it works, very kewl :)

On 11/23/09, Dale rdalek1...@gmail.com wrote:
 Maxim Wexler wrote:
 If you have Firefox installed, you can use 'download helper' to grab
 those videos really easy.  It works on youtube and other sites really
 well.


 I'm using it but can only download from a link to youtube in another
 web page or google, for example. Shouldn't there be a button on
 Youtube itself, once the 'downloiad helper' is installed that lets you
 download from the actual Youtube site? I've looked through
 Tools-Download Helper-Preferences without seeing any option for it.

 Maxim




 Mine is in the toolbar by default.  It is just to the left of the
 location bar and looks like three balls rotating.  I'm not sure if they
 rotate all the time or not but I know it does when in the middle of a
 download.  If you put your little mouse pointer on it, it shows it is
 the download helper tool.  When something is on the page that it knows
 is a video, a little option for a drop down appears so that you can
 select what to download.  I know youtube sometimes has different
 versions of a video, mostly different by quality.  With that you can
 select which quality you want.  It is also handy when you have more than
 one video on a page and only want one of them.

 That help you find it?  I found it by wondering what the little moving
 balls where that wasn't there before I installed the little add ons.

 Dale

 :-)  :-)





Re: [gentoo-user] can't remove device-mapper can't install it either

2009-11-22 Thread Maxim Wexler

 Is sdb an SD device? Is the module loaded?

from the OP:

I've had
this problem before which I traced to the lack of support for SD cards
in the kernel. This time it's something else.

mw



[gentoo-user] debugging SD card

2009-11-22 Thread Maxim Wexler
Hi group,

My netbook uses an SD card for additional storage. I suspect it of
being buggy so I compiled the kernel with 'CONFIG_MMC_DEBUG=y'.
Questions are: how do I use it to check  the SD card? Is this the
correct method?

Maxim



Re: [gentoo-user] can't remove device-mapper can't install it either -- FIXED

2009-11-22 Thread Maxim Wexler
 IIRC in a thread from a few months ago there was a tip about putting
 the 'pause secs' command into a certain config file, which I can't
 recall. Or was it 'delay secs' or 'time secs' ? This was meant for
 the hardware to catch its breath so to speak and allow the system to
 find the SD card. This was about the same time I noticed that SD
 support was missing from the kernel. So maybe it was the the delay I
 added to that script, which may have disappeared in an etc-update
 session, and not the SD support after all. Grabbing straws here ;(

It was 'sleep secs' and was meant to go just before the line
starting 'ebegin' in /etc/init.d/checkfs which is no longer used in
favo(u)r of /etc/init.d/fsck. So maybe SD support is extraneous. If I
feel adventurous, next kernel compile time, I'll remove the support
and see if it's really needed.

mw



[gentoo-user] can't remove device-mapper can't install it either

2009-11-21 Thread Maxim Wexler
Hi group,

Going through a rough patch after a world update. The SD card on my
netbook doesn't get mounted, ext2 filesytem not found etc. I've had
this problem before which I traced to the lack of support for SD cards
in the kernel. This time it's something else. Nothing wrong with the
fs, it can be checked and mounted manually. Device-mapper is not in
the world file but does exist in /etc/init.d and can be started and
stopped OK. When I use it I get messages in the boot console of being
incompatible with my baselayout-1.

So, I try to unmerge it, but of course portage claims I don't have it.
And if I try to emerge it, the new version is blocked by the version
I'm supposed ot have?!

In an earlier post 'device-mapper', somebody suggested installing lvm2
and not using device-mapper but this doesn't work for me -- assuming
my problem has anything to do with device-mapper.

Maxim




Re: [gentoo-user] can't remove device-mapper can't install it either

2009-11-21 Thread Maxim Wexler
 There's your problem right there. Your device-mapper can't work
 with baselayout-1. So, your options:

 Upgrade to baselayout-2 and openrc.

Done, following

http://www.gentoo.org/doc/en/openrc-migration.xml

No joy.

After '*Autoloaded 24 module(s)' in the boot console there's the bit
'*lvm uses addon code which is deprecated' followed by '*Setting up
the LVM...*Checking local filesystems...' /dev/sda1 passes but
fsck.ext2 can't find /dev/sdb1,2 so /var and /home don't get mounted
and the system is crippled, although I  can still login and mount by
hand.

 device-mapper has moved into lvm2 (as lvm is the primary consumer
 of device-mapper). If device-mapper is not installed according to
 portage, and you have files left, then they are orphans left over
 because of CONFIG_PROTECT and can be deleted. Then emerge lvm2


I removed /etc/conf.d/device-mapper and /etc/init.d/device-mapper. I
emerged lvm2 and lvm is 'started', according to '/etc/init.d/lvm
status'. Question: Is there supposed to be an lvm2 in init.d? I just
have lvm.

IIRC in a thread from a few months ago there was a tip about putting
the 'pause secs' command into a certain config file, which I can't
recall. Or was it 'delay secs' or 'time secs' ? This was meant for
the hardware to catch its breath so to speak and allow the system to
find the SD card. This was about the same time I noticed that SD
support was missing from the kernel. So maybe it was the the delay I
added to that script, which may have disappeared in an etc-update
session, and not the SD support after all. Grabbing straws here ;(

mw



[gentoo-user] how to get emerge --depclean to skip a pkg?

2009-11-19 Thread Maxim Wexler
Hi group,

emerge -av --depclean wants to remove
sys-kernel/gentoo-sources-2.6.30-r7 after a world update.

How do I prevent this? I've tried the --deselect and --noreplace
switches but that has the opposite effect I'm looking for.

Maxim



Re: [gentoo-user] how to get emerge --depclean to skip a pkg? --RESOLVED

2009-11-19 Thread Maxim Wexler
On 11/19/09, Crístian Viana cristiandei...@gmail.com wrote:
 I think --noreplace should do it, but if it didn't, try adding this ebuild
 name to /var/lib/portage/world:

 =sys-kernel/gentoo-sources-2.6.30-r7

Yes, that did it. Thanks.

using --noreplace or --deselect has the effect of focusing on the one
package but only because that pkg *alone* will be removed, the
opposite of what I trying to do.

mw



Re: [gentoo-user] can't boot, chroot no help-D'UH!

2009-11-18 Thread Maxim Wexler
On 11/17/09, Albert Hopkins mar...@letterboxes.org wrote:
 On Tue, 2009-11-17 at 20:46 -0700, Maxim Wexler wrote:
 Any one see a way past this impasse? I'm using ext2 with the journal
 option.

 Why didn't you mount/fsck all the filesystems from outside the chroot?


Yeah, that's what I ended up doing. Something about those red !'s that
renders me helpless, even after umpteen times  ;(

mw



[gentoo-user] can't boot, chroot no help

2009-11-17 Thread Maxim Wexler
Hi group,

I ran  emerge -avuDN world and came up with blocked packages which I
eliminated by  un-merging device-mapper and e2fsprogs-libs. When I
rebooted was greeted by a maintenance console and the message
libblkid.so.1 cannot open shared object file. A little googling
later I realized that e2fsprogs-libs should not have been removed. No
problem, I'll chroot and fix it.

After the chroot I was able to mount /dev/sda1 on /mnt/gentoo but
couldn't mount /dev/sdb2
on /var where portage is kept on this system. The error was identical
to the original one when the pc was first rebooted:

mount: error while loading shared libraries: libblkid.so.1...

I tried to run e2fsck on /dev/sda2 but got this error msg:

e2fsck: error while loading shared libraries: libcom_err.so.2: cannot
open shared object file...

Any one see a way past this impasse? I'm using ext2 with the journal option.

Maxim



Re: [gentoo-user] scrollback using framebuffer

2009-11-16 Thread Maxim Wexler

 CONFIG_FB=y
 CONFIG_FB_BOOT_VESA_SUPPORT=y
 CONFIG_FB_CFB_FILLRECT=y
 CONFIG_FB_CFB_COPYAREA=y
 CONFIG_FB_CFB_IMAGEBLIT=y
 CONFIG_FB_VESA=y
 CONFIG_VGACON_SOFT_SCROLLBACK=y
 CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=256

Identical to mine.

 I have no settings for scrollback on the kernel command line, just this to
 set
 the resolution etc:

 vga=0x37D ywrap mtrr:4

Sure about this? 0x37D is not  a recognized mode. Are you missing some
punctuation?

my line is:  video=vesafb:ywrap,mtrr vga=0x318. Is this syntax
correct? There seems to be a variety out there. Mine only scrolls a
few lines, doesn't matter If I give scrollback 128 or 256k. But there
are no errors, so I must be doing something right. Tried ypan too, no
luck.

mw



Re: [gentoo-user] return of SOD

2009-11-14 Thread Maxim Wexler
On 11/14/09, Neil Walker n...@ep.mine.nu wrote:
 Maxim Wexler wrote:
 Anybody guess what's happening here?


 Well, it is just a guess but, from what you have said, it
 sounds like either a problem with the video driver or
 a hardware problem. :(


hmm, ran #emerge -pv xf86-intel-driver and it came back with [ebuild
ud]. Portage  wanted to downgrade  2.9.1 with 2.8.1, so I did. IIRC I
upgraded to 2.9.1 to fix another video problem. Or, maybe it was the
same one. I'll have to look over my history to be sure.

Meanwhile, I'll wait and see; the problem was intermittant; sometimes
the SOD appeared in a few minutes, sometimes it took days.

mw



Re: [gentoo-user] making a file-list at (a) for fetching at (b)

2009-11-14 Thread Maxim Wexler
 redirect to a file, bash it into suitable shape with your Unix text tools of
 course, use said file as input to wget.


 --
 alan dot mckinnon at gmail dot com



Here

http://www.gentoo-wiki.info/TIP_Gentoo_for_dialup_users

I found this gem:

emerge -fpu world | sort | uniq | sed '/\(^http\|^ftp\).*/!d;s/\
.*$//g'  links.txt

But something doesn't seem right. links.txt has 92 lines(I added the
ND switches) that all use only one URL, distfiles.gentoo.org, for each
package. It's 5.5k. But the raw command lists several URLs for each
package and it's gotta be ~200k. And if you read the article the wget
command is meant to skip the other URLs as soon as one instance of the
pkg has been downloaded:

With wget, just do:

wget -i links.txt -nc

Option -i tells wget to look inside links.txt for URLs of stuff to
download, option -nc tells it not to download it twice or thrice once
the file has been retrieved from a working URL.

Am I missing something here?



[gentoo-user] scrollback using framebuffer

2009-11-14 Thread Maxim Wexler
Hi group,

I'm using the nvidia framebuffer(CONFIG_FB_NVIDIA=y) but I can't get
scrollback to work for more than a few lines. I've added
'fbcon=scrollback:128' to my kernel line in grub.conf but scrollback
is still disabled.

Is there some nvidia specific way to do this?



Re: [gentoo-user] scrollback using framebuffer

2009-11-14 Thread Maxim Wexler
On 11/14/09, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Sunday 15 November 2009 00:12:26 Maxim Wexler wrote:

 Yes, use vesa. It's slow at high res, but works.

 The nvidia framebuffer does not work with nvidia-drivers

Yeah, I found that out just after mailing the above. But now that I'm using vesa
how do I enable scrollback? 'fbcon=scrollback:128' in the grub kernel
line doesn't work. It's enabled in the kernel and works fine without
the fb, if that matters.

mw



[gentoo-user] making a file-list at (a) for fetching at (b)

2009-11-13 Thread Maxim Wexler
Hi group,

Can someone explain to me how to generate a list of files to be
fetched, eg -fuDN world, on a slow desktop that can be downloaded onto
a netbook later?

Maxim



[gentoo-user] return of SOD

2009-11-13 Thread Maxim Wexler
Hi group,

That's (S)creen (O)f (D)eath. I thought I had fixed this problem on my
eee. I would get these SODs, black usually, but sometimes white and
once green while connected to the web(don't know if that's
significant). At first I thought it was the browser, so I tried
firefox-3.0, firefox-3.5, opera-10. Same story, so I replaced xfce4
with fluxbox, no screen savers, no icons, widgets, just the default
bar at the bottom of the screen and there was no problem for several
days until this morning the desktop went totally black and wouldn't
respond to mouse or keyboard.

 I did #tail /var/log/Xorg.0.log immediately from a spare console but
there was no sign of trouble.

I can get back to the start console, ctl-c and run startx again but
the desktop remains black. To get back the desktop I have to reboot.

Anybody guess what's happening here?

Maxim



Re: [gentoo-user] can't unmerge xfce4--DONE DONE

2009-11-12 Thread Maxim Wexler
oops, put the a typo in the address bar the first time

On 11/12/09, Maxim Wexler maxim.wex...@gmail.com wrote:
 If you run depclean without any package name, it will remove all
 orphaned packages on your system, which I think is what you wanted to
 do. (Since you removed the meta package, all packages that it pulled
 in which is not needed by any other package is now an orphan)
 DONE

 What threw me when I ran the command w/o pkg name was all the red
 block messages that didn't seem to have anything to do with xfce4 but
 I went ahead anyway and it clicked!  Thanks.

 DONE

 The problem I had complained about earlier re Screens of Death on a
 tripleE netbook has stopped plaguing me -- at least so far...




[gentoo-user] can't unmerge xfce4

2009-11-11 Thread Maxim Wexler
Hi group,

When I ran #emerge -C xfce4-meta, portage went through the motions of
removing the pkg but when I ran startx to see what happened xfce4
appeared as usual.

Same as after a boot.

When I run the above command again, portage reports Couldn't find
'null/xfce4' to unmerge...No packages selected for removal by unmerge.

xfce4-meta has been removed from the world file but no where else I
can see. How do I get rid of it?

Maxim



Re: [gentoo-user] Font recommendations for netbook?

2009-11-11 Thread Maxim Wexler
On 11/10/09, Walter Dnes waltd...@waltdnes.org wrote:
   Fluxbox is blowing up on my new machine because it can't find any
 fixed fonts.  I just realized that merely building xorg-server doesn't
 download any fonts.  Looking at /usr/portage/media-fonts I see a whole
 bunch of options.  Any experiences good/bad with any of them?  Remember
 that this will be on an 11.6 netbook, currently running 1024x768, and
 hopefully 1366x768 one of these days.  And the less processor power it
 requires to render, the better.

 --
 Walter Dnes waltd...@waltdnes.org

I found this site helpful to set up spionic.ttf. And I have only
xorg-server and only the default window mgr that comes with X.

http://www.textkit.com/greek-latin-forum/viewtopic.php?f=2t=3644

Maybe it'll suit your case.

mw



Re: [gentoo-user] can't unmerge xfce4

2009-11-11 Thread Maxim Wexler
On 11/11/09, Alan McKinnon alan.mckin...@gmail.com wrote:
 You unmerged the meta package but not its DEPENDs

 Emerge -av --depclean

OK, I re-emerged xfce4-meta, and ran emerge -av --depclean
xfce4-meta(You *did* mean to add the pkg name, I presume).

The wheels churned:

Calculating dependencies ... done!...Unmerging
xfce4-base/xfce3-meta-4.6.1...No package files given...Grabbing a
set...Packages installed: 436...Number removed: 1

xfce4 stil appears after running startx. revdep-rebuild -p finds
linking...consistent

mw



[gentoo-user] Re: X crashes with nvidia-173 driver-RESOLVED

2009-11-08 Thread Maxim Wexler
 (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
 'vmmouse' will be disabled.
 (WW) Disabling Mouse1
 (WW) Disabling Keyboard1

LOL! It wasn't a crash. It just seemed like it because the mouse and
kbd were disabled.

Apparently, the above is the default!?!?

The line 'Option  AllowEmptyInput  no' must be added to the server
section of xorg.conf.

BTW, what is the purpose of two module dirs /lib/modules/uname/video
and /usr/lib/xorg/modules
for the nvidia drivers. Are they both being used? Which is the correct
one to use in xorg.conf?

mw



Re: [gentoo-user] Re: X crashes with nvidia-173 driver

2009-11-05 Thread Maxim Wexler
 nvidia   0x10de 0x 0x 0x 0x0003
 0x 0x0
 nvidia   0x10de 0x 0x 0x 0x00030200
 0x 0x0


The lines in my modules.pcimap are identical.

FWIW, I mentioned previously that startx precipitated a total crash;
not so, having installed the sound drivers it is clear that only X
crashes and SysRq works to get me backto a console. Also, been reading
the recent hal + nvidia thread. Definite similarities to my situation.
I emerged xorg with hal support but I tried with the hal daemon off
and it didn't help. I also tried the very brief, five line, xorg.conf
file suggested no help, no change.

I also note something eerily similar in my netbook which has only a
builtin intel vid chip. In this case X starts fine but then, after a
period of time, could be as short as 15 mins or as long as 8 hours the
desktop goes blank, ususally black but once grey. I can migrate to the
first console and turn off theX server but I have to reboot to get
back to the desktop. Running startx again just leads back to a blank
screen. Every thing else, sound card, wireless seems to work OK.

mw



Re: [gentoo-user] Re: Another angle on hal/xorg thread

2009-11-05 Thread Maxim Wexler
In plenty of time for 2012 ;)

On 11/5/09, Neil Bothwick n...@digimed.co.uk wrote:
 On Thu, 05 Nov 2009 06:24:44 -0600, Dale wrote:

 Didn't they kill hal 2001 before that movie was over?

 Just put it to sleep, so they could wake it up in 2010.


 --
 Neil Bothwick

 Of course it's not your day,




Re: [gentoo-user] Re: X crashes with nvidia-173 driver

2009-11-05 Thread Maxim Wexler
 There are definitely bugs in the intel video driver, as posted to the
 freedesktop.xorg mailing list:

 Release 2.9.1 (2009-10-26)

Thanks. Just did an eix-sync followed by  ACCEPT_KEYWORDS=~x86
emerge -v xf86-video-intel and the package cae down.

Will see how it works.

BTW how come package.mask doesn't like xf86-video-intel-2.9.1? I want
to mask everything earlier than 2.9.1, no?

mw



Re: [gentoo-user] was Re: X crashes with nvidia-173 driver now X crash on eee w/intel driver

2009-11-05 Thread Maxim Wexler

 Will see how it works.

Not very well. About an hour after emerging the 2.9.1 drivers the
screen went black and I had to reboot to get back to the desktop. I
notice it only seems to happen while scrolling a window in firefox.
I've left the unit on overnight with no problem. When I get back to
ctrl-alt-f1. there is this  msg repeated down the console.

Gdk - Warning*** XID collision trouble ahead.

FWIW, there is this tidbit in the boot console:
[...]
 * Checking battery state...
error: libhal_ctx_set_dbus_connection: org.freedesktop.DBus.Error.FileNotFound:
Failed to connect to socket /var/run/dbus/system_bus_socket: No such
file or directory
[...]

we seem to be getting off-topic so I amended thesubject line

mw



Re: [gentoo-user] Re: X crashes with nvidia-173 driver

2009-11-03 Thread Maxim Wexler
 I'm guessing that the xorg server couldn't load its 'nvidia' module because
 the nvidia kernel module wasn't loaded, so that's no surprise.

 Does modprobe -nv nvidia say anything interesting?


kyzyl ~ # modprobe -nv nvidia
insmod /lib/modules/2.6.29/video/nvidia.ko NVreg_DeviceFileMode=432
NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27 NVreg_ModifyDeviceFiles=1
NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
NVreg_ModifyDeviceFiles=1
FATAL: Error inserting nvidia (/lib/modules/2.6.29/video/nvidia.ko):
No such device



Re: [gentoo-user] Re: X crashes with nvidia-173 driver

2009-11-02 Thread Maxim Wexler
 Black screen, instant total system crash.

 Well, that suggests a kernel panic, I think.  What happens if you use an
 older kernel?

There is no older kernel. I knew there was something I forgot to save.
But I saved xorg.conf and it's identical.

The sysrecusecd finds the card and X starts fine. The only difference
in the config is that on the CD CONFIG_AGP_NVIDIA=y and on the PC it's
a module. So I set it to y. Didn't help.

mw



Re: [gentoo-user] Re: X crashes with nvidia-173 driver

2009-11-02 Thread Maxim Wexler
 You can compile one from an older source package and see if it helps. Just
 use the same kernel config you have now and do make oldconfig to remove
 any new config items.

Using linux-2.6.29. Changed symlink, re-emerged nvidia-drivers, ran
#modprobe nvidia:

FATAL: error inserting nvidia (/lib/modules/2.6.29/video/nvidia.ko):
No such device

???lspci begs to differ



Re: [gentoo-user] Re: X crashes with nvidia-173 driver

2009-11-02 Thread Maxim Wexler
 FATAL: error inserting nvidia (/lib/modules/2.6.29/video/nvidia.ko):
 No such device

 ???lspci begs to differ

 groan I've never seen that error from nvidia, and I've seen lots of
 errors :o(

 Are you sure the nvidia module that was actually merged is the same
 version you thought you were merging? (I'm reduced to silly questions.)

173.14.20 was what emerge -pv called for and that's what's in /var/log/portage

meanwhile attached greps of (EE) and (WW) in Xorg.0.log, FWIW

mw


xlog-ee
Description: Binary data


xlog-ww
Description: Binary data


[gentoo-user] X crashes with nvidia-173 driver

2009-11-01 Thread Maxim Wexler
Hi group

Having installed the Geforce FX5500  drivers,
NVIDIA-Linux-x86-173.14.18-pkg1.run, and ran startx the desktop
appears but the system crashes.

From the X log, (WW):

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory /usr/share/fonts/misc/ does not exist.
(WW) The directory /usr/share/fonts/TTF/ does not exist.
(WW) The directory /usr/share/fonts/Type1/ does not exist.
(WW) The directory /usr/share/fonts/100dpi/ does not exist.
(WW) The directory /usr/share/fonts/75dpi/ does not exist.
(WW) The directory /usr/share/fonts/misc/ does not exist.
(WW) The directory /usr/share/fonts/TTF/ does not exist.
(WW) The directory /usr/share/fonts/OTF does not exist.
(WW) The directory /usr/share/fonts/Type1/ does not exist.
(WW) The directory /usr/share/fonts/100dpi/ does not exist.
(WW) The directory /usr/share/fonts/75dpi/ does not exist.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
'vmmouse' will be disabled.
(WW) Disabling Mouse1
(WW) Disabling Keyboard1
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Warning, couldn't open module dri
(WW) Warning, couldn't open module freetype
(WW) Warning, couldn't open module xtt
(WW) Warning, couldn't open module dri2

and (EE)

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) Failed to load module dri (module does not exist, 0)
(EE) Failed to load module freetype (module does not exist, 0)
(EE) Failed to load module xtt (module does not exist, 0)
(EE) Failed to load module dri2 (module does not exist, 0)

Notes:
dri was commented out in xorg.conf but uncommenting made no difference.

$ls  /usr/share/fonts
default encodings ttf-bitstream-vera

and nothing in those dirs like those mentioned in (WW)

yes, ran eselect opengl set nvidia after drivers were emerged.

#nvidia-settings -V
ERROR: The control display is undefined; please run 'nvidia-settings --help'

Is there an option I can pass to nvidia-settings to solve this, or
should I look elsewhere?

Maxim



Re: [gentoo-user] Re: X crashes with nvidia-173 driver

2009-11-01 Thread Maxim Wexler
On 11/1/09, walt w41...@gmail.com wrote:
 On 11/01/2009 09:13 AM, Maxim Wexler wrote:
 Hi group

 Having installed the Geforce FX5500  drivers,
 NVIDIA-Linux-x86-173.14.18-pkg1.run, and ran startx the desktop
 appears but the system crashes...

 Do you mean the entire system, or just the X server?

Desktop(raw X, default terminals and clock icon) appears, instant
total system crash

 If you type 'X' from a console (instead of startx) does the crash still
 happen?

Black screen, instant total system crash.

Oh, and the green nvidia icon fails to flash briefly after the startx command.





[gentoo-user] emerge ignores /etcportage/package.mask

2009-10-31 Thread Maxim Wexler
Hi group,

From the gentoo docs:

Older cards such as the GeForce FX 5 series should use the 173.x
drivers, such as nvidia-drivers-173.14.15. For these cards, you should
mask =x11-drivers/nvidia-drivers-174.00 in your
/etc/portage/package.mask file. This will prevent newer versions of
the driver which are incompatible with your card from being
installed.

But emerge ignores package.mask and insists on installing the newer
pkg. Searching reveals an old bug marked 'resolved' but nothing to say
what the resolution is.

Maxim



Re: [gentoo-user] emerge ignores /etcportage/package.mask

2009-10-31 Thread Maxim Wexler
 check that you don't have the ebuild listed in package.unmask

package.unmask is empty, haven't needed it yet. Only just started
stocking a fresh install.



Re: [gentoo-user] emerge ignores /etcportage/package.mask-RESOLVED

2009-10-31 Thread Maxim Wexler
 Do you have a space in front of the line or something else that may
 interfere with package.mask ?

 You sure you have the file as package.mask ?  You know, spelled right
 and all?  I mention because it sounds like something I would do.  lol

 Dale

I guess I shouldn't feel so embarrassed then.  What a stupid question,
I thought. Of course I called it package.mask. What else would I call
it? So I checked. I called portage.mask :(

mw



Re: [gentoo-user] memory(gray matter) needs jog-DONE

2009-10-30 Thread Maxim Wexler

 I'm not sure why your system needed to be checked for each boot.
 Perhaps you can post the exact error message?  I'm pretty sure it wasn't
 fragmentation.  What it *might* be saying (but again we can't verify
 without an error message) is that your filesystem contains errors that
 cannot be fixed in non-interactive mode (i.e. you need to run fsck
 manually).

 It's hard to tell you what option you need when we are unsure what
 problem you are trying to fix.


Look for the thread running e2fsck pre-boot on this list.

Willie Wong had the answer: tune2fs, not e2fsck.

$man tune2fs
...
It is strongly recommended that  either  -c  (mount-count-depen-
  dent)  or -i (time-dependent) checking be enabled to force peri-
  odic full e2fsck(8) checking of the filesystem.  Failure  to  do
  so  may lead to filesystem corruption (due to bad disks, cables,
  memory, or kernel bugs) going unnoticed, ultimately resulting in
  data loss or corruption.
...

 I ran it before on my SSD and it worked like a charm. But I neglected
to run it on the
SD card that holds /home and /var on my eee. Now it is starting to
display the same symptons. Yes I know, ext2 is rather retro, but I was
persuaded to use it by reading the forums and now it's a lot simpler
just to run tune2fs rather thman scrap the system and start again.

mw



Re: [gentoo-user] EeePC network problem

2009-10-30 Thread Maxim Wexler
I sort of just did a networkless install on my desktop. I only have
very slow dialup at home, but access to wifi once mobile.  My netbook
is fairly up-to-date so I used it to download the latest install-iso,
stage3, portage-latest. These I installed on the desktop then copied
over all the distfiles on the netbook to the desktop. Now when I want
to emerge something, the latest tarball is already waiting.

But, of course, you're gonna have the have some sort of web access.

mw

On 10/30/09, Daniel da Veiga danieldave...@gmail.com wrote:
 On Fri, Oct 30, 2009 at 14:48, Philip Webb purs...@ca.inter.net wrote:
 091030 Stroller wrote:
 On 30 Oct 2009, at 02:41, Philip Webb wrote:
 I'm stuck in trying to install Gentoo on my new EeePC 1005HA .
 There seems to be no easily accessible driver for the Ethernet
 controller,
 which is 'Atheros AR8132' (shown via 'lspci').
 A very casual Google suggests
 that this card uses the the atl1e kernel driver / module.  EG:
 http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy-lum.git;a=commit;h=949e7063204f568027fa7783c8562ceb32b95a25
 says: Add support Atheros ... AR8132 ethernet NICs
 CONFIG_ATL1E is the wossisname.  Have you tried this driver?

 Yes, as I said in detail in my OP : 'insmod atl1e' works,
 but as before 'pppoe-start' times out when trying to connect to my ISP;
 this is using the Gentoo minimal install ISO , which has that driver.
 As I also said in my OP, I can't compile a driver (or kernel)
 using the install system, as it doesn't have 'make'.

 How have others got Gentoo installed on their 1005HA's ?
 -- did they all use wireless access to the Internet ?

 Again, does anyone have advice re trying a netless install ?


 I would simply try any other LiveCD. Knoppix works OK for me on most
 machines. Gentoo can be installed from any media that's able to use
 the hardware.

 --
 Daniel da Veiga





Re: [gentoo-user] Re: memory(gray matter) needs jog-DONE

2009-10-30 Thread Maxim Wexler
On 10/30/09, walt w41...@gmail.com wrote:
 On 10/30/2009 10:26 AM, Stroller wrote:

 On 30 Oct 2009, at 17:04, Maxim Wexler wrote:
 ...
 Yes I know, ext2 is rather retro, but I was
 persuaded to use it by reading the forums and now it's a lot simpler
 just to run tune2fs rather thman scrap the system and start again.

 I know you  can convert an ext3 filesystem to ext4. Can you not do the
 same ext2 - ext3?

 Yes, with the -j flag to tune2fs

And it doesn't destroy the files? If so, that's good news.

mw



Re: [gentoo-user] xfce4 update meets kernel update and crashes-FIXED

2009-10-30 Thread Maxim Wexler
On 10/29/09, Kyle Adams kad...@gmail.com wrote:
 Ah, this issue.
 I ran into a similar issue before when I was doing the 2.6.29 to 2.6.30
 change.
 Make sure that you have emerged x11-drivers/xf86-input-keyboard
 x11-drivers/xf86-input-mouse and x11-drivers/xf86-input-evdev
 For some odd reason, I found that those broke when I moved kernels.

 Cheers

 Kad

Yippee! Onward!

ps Anybody on gmail notice that 'reply to all' addresses itself to the
user, not the group. I had to add the group's address by hand.



[gentoo-user] memory(gray matter) needs jog

2009-10-29 Thread Maxim Wexler
Hi group,
A while back I needed help with an ext2 file system that required
checking every boot before mounting. The drive suffered from errors
involving 'non-contiguous files'.The solution was to run (this is
where things get hazy) e2fsck option option on the offender. I
keep thinking it's '-i -o', but there's no such options. Maybe it
wasn't e2fsck at all. I can't remember. I don't think it was
'-f''(force).

Anybody know what I'm talking about?

Maxim



Re: [gentoo-user] strange dmesg output - RESOLVED

2009-10-28 Thread Maxim Wexler

 Not sure this is related with the OP's problem, I have noticed that on my
 system I can scroll up in a console if it displays the output of a command,
 e.g. ls, but I cannot scroll up on the boot messages.  Also, I cannot scroll
 up on the log messages on VT12.  Is there something that I need to set up in
 the kernel?  In the old days (perhaps different machine?) I used to be able
 to
 scroll up in both.

On my unit, /var/log/messages re-iterates F12. If I want to read  it I
use less, tail, grep in a terminal as root.

Also note, if you migrate away from the boot console and then come
back, it may not scrollback at all.  If I want to see what boot is
doing I scroll back immediately before running startx or moving to
another console.

HTH



Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-28 Thread Maxim Wexler
On 10/26/09, Neil Bothwick n...@digimed.co.uk wrote:
 On Sun, 25 Oct 2009 22:52:26 -0600, Maxim Wexler wrote:

  Could be over-zealous whittling. Why not use the Live DVD .config
  unchanged?


OK, done. Crashed. Almost identical to the first post in this thread.



Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-28 Thread Maxim Wexler

   And keep backup copies of each working .config file as you go merrily
 whittling away, so you can fall back to something other than back to
 square 1.


I keep all my spares in /boot/safe.

mw



[gentoo-user] xfce4 update meets kernel update and crashes

2009-10-27 Thread Maxim Wexler
Hi group,

I did a full update including xfce-4.6.1. Then I installed the new
kernel, 2.6.30-r7. Now when I $startx, Xfce4 opens beautifully, just
as I left it. Background image, check; Icons, check; Panel, check.
Terminal open and ready to use. But there's no mouse or kbd function.
X has crashed :(

Pushing the off button( it's an Asus 900A) bumps me back to the boot
console and initiates a reboot. So dirs are properly unmounted  except
for /home and /var on an SD card, sdb1,2.. When the thing reboots
there may or *may not* be complaints about those particular devices,
not being found and so on.  If they happen not to be mounted I mount
them manually and everything seems to be OK.

None of this happens when I boot the earlier, 2.6.29-r5 kernel. So,
since there's only one set of conf files for X, I think it must be the
new kernel that's at fault. Does that make sense?

The desktop, like I say, opens completely. The tiny clock which turns
into a cursor wiggles for an instant over the Xfce4 mouse logo at the
start of the process but freezes in that spot when the desktoop is up.
There must be something at the tail end of the process that happens or
fails to happen that causes it to crash. The last line of Xlog says
'(II) intel(0): Setting screen physical size to 270 X 150' which seems
rather small.

 vga, acpi, kbd, fb and mouse options are identical in both kernels, 29  30.



Maxim



Re: [gentoo-user] strange dmesg output - RESOLVED

2009-10-27 Thread Maxim Wexler
 So, since in the digital world, things don't just happen, can
 someone enlighten me, or anyone else who's interested, in the
 connection between the scrollback buffer and usb-storage, if any?


 There isn't a connection. Why do you think there is one?

Because, before the scrollback buffer was configured,  when I ran
$dmesg|less the output, ie more that 2700 lines, that came up in the
console, all started with 'usb-storage'. After configuring the
scrollback buffer, there may have been a few usb-console lines but
certainly not 2700, and nothing else, one right after another.

I understand it makes no sense to say there is a connection but that
is what I saw.

It may have been intermittant. I notice with successive reboots of
2.6.30, /dev/sdb1,2, which contain /home and /var are sometimes not
found and not mounted; sometimes not found but mounted anyways;
sometimes found and mounted as per /etc/fstab. If it happens enough
times, I suppose a pattern will emerge but I haven't seen it yet.

mw



Re: [gentoo-user] strange dmesg output

2009-10-26 Thread Maxim Wexler
On 10/25/09, Keith Dart ke...@dartworks.biz wrote:
 === On Sun, 10/25, Maxim Wexler wrote: ===
 Did I leave something out of the kernel? I can't think what.

 ===

 It looks like you have USB debug turned on. I remember there was a
 kernel that was released that had that. Normally it's off, but you
 should turn it off if it's on.

#CONFIG_USB_DEBUG is not set



Re: [gentoo-user] Re: strange dmesg output

2009-10-26 Thread Maxim Wexler

 It could be some debug flag switched on in the USB storage subsystem.

I'm not aware of such a subsystem. Can you give an example?

Maxim



Re: [gentoo-user] strange dmesg output

2009-10-26 Thread Maxim Wexler
 #CONFIG_USB_DEBUG is not set


[edit]

CONFIG_USB_STORAGE_DEBUG = y

I turned it off, recompiled, copied the kernel over and rebooted.
$dmesg still displays the verbose 'usb-storage' lines and excludes
everything else

here's a long thread on this same subject

https://lists.one-eyed-alien.net/pipermail/usb-storage/2008-November/004121.html

I don't think he found a solution either.

The good news, the system can now see the soundcard. Before I had to
run alsaconf at every boot.  Is there a connection?

mw



Re: [gentoo-user] strange dmesg output - RESOLVED

2009-10-26 Thread Maxim Wexler
Ok, this is too weird. While mucking around in the kernel I noticed
that the scroll back buffer wasn't set. So I configured it and gave it
128 bytes to play with. Sez I, well at least I'll be able to scroll
back to the start of all that verbiage. That's the only change I've
made since turning USB_STORAGE debugging off.

After a reboot, dmesg behaved and gives me a complete rundown on
startup all the way back to the prompt!

So, since in the digital world, things don't just happen, can
someone enlighten me, or anyone else who's interested, in the
connection between the scrollback buffer and usb-storage, if any?

mw



[gentoo-user] strange dmesg output

2009-10-25 Thread Maxim Wexler
Hi group,

Still sorting out the glitches in the new 2.6.30-r7 kernel.

eg the strange output of dmesg:

...
age:  1e 00 00 00 01 00
usb-storage: Bulk Command S 0x43425355 T 0x8 L 0 F 0 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x8 R 0 Stat 0x1
usb-storage: -- transport indicates command failure
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Bulk Command S 0x43425355 T 0x9 L 18 F 128 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 18 bytes, 1 entries
usb-storage: Status code 0; transferred 18/18
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
...

and so on, for 2739 lines. Nothing about other drives, file sytems,
hardware, busses etc. When I plug in a usb key, for instance, dmesg
doesn't even notice although the log console(F12) makes a note of the
device. The earlier kernel acts normally.

Did I leave something out of the kernel? I can't think what.

Maxim



Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-25 Thread Maxim Wexler

 Could be over-zealous whittling. Why not use the Live DVD .config
 unchanged?

I assumed there was no need for a 1001 modules for hardware i don't
have. But there's still some things that need sorting, so it may come
to that.



Re: [gentoo-user] Re: kernel panic -- finding proper config diff - RESOLVED

2009-10-24 Thread Maxim Wexler
fyi, sound card problems when updating to 2.6.30 seem to be common.
Typically the boot msg is something like unknown hardware
initializing by guess method

The fix seem to be just to run alsaconf and follow the prompts.

On 10/23/09, Maxim Wexler maxim.wex...@gmail.com wrote:

 Well, whatever changes you made to .config fixed the original panic,
 so I'd start by diff'ing the first .config with the new .config (or

 After some more tweaking 2.6.30-r7 boots successfully, except for an
 error with the sound card famous which should be easy to fix /last
 words

 mw
 .




Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-23 Thread Maxim Wexler
not an idea really but further experience

Since LiveDvD-10.1 boots, albeit buggily, on the netbook. I tried to
use the kernel config provided with it. I ran make oldconfig then
opened up the menu and whittled away the extraneous modules, built the
new kernel, installed it and rebooted. This time, after a flurry of
red exclamation points, it reached the login and crashed there.

Is it feasible that I should go back in and compile in that kernel log
option, what's it called? Then after it crashes, reboot into the
working kernel, and see if that log has been created?  Hey, I guess
that counts as an idea :)

BTW, the major problem with the LiveDvD is the tendency for the
syslog(?) console to bleed into all the other consoles -- messages
just popped onto the screen.

mw

On 10/23/09, walt w41...@gmail.com wrote:
 On 10/22/2009 04:31 PM, walt wrote:
 On 10/21/2009 11:25 AM, Maxim Wexler wrote:

 The kernel panicked. The relevant messages are:

 ...
 VFS: Mounted root (ext2 filesystem) readonly on device 8:1,
 Freeing unused kernel memory: 276k freed
 Warning: unable to open an initial console

  ...I don't know if that warning is important.

 Apparently it is important.  I just discovered /var/log/kern.log,
 which logs things that happen even before / is mounted.

 Here is the relevant part:

 Oct 23 08:18:39 k2 kernel: EXT3-fs: mounted filesystem with writeback data
 mode.
 Oct 23 08:18:39 k2 kernel: VFS: Mounted root (ext3 filesystem) readonly on
 device 8:7.
 Oct 23 08:18:39 k2 kernel: Freeing unused kernel memory: 256k freed
 Oct 23 08:18:39 k2 kernel: kjournald starting.  Commit interval 5 seconds
 Oct 23 08:18:39 k2 kernel: udev: starting version 141

 No such warning for me.  The question is why not?  Any ideas?






Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-23 Thread Maxim Wexler
900a

On 10/23/09, Richard Marza richardmar...@optonline.net wrote:

 - Original Message -
 From: walt w41...@gmail.com
 To: gentoo-user@lists.gentoo.org
 Sent: Friday, October 23, 2009 6:54 PM
 Subject: [gentoo-user] Re: kernel panic -- finding proper config diff


 On 10/23/2009 02:57 PM, Maxim Wexler wrote:
 not an idea really but further experience

 Since LiveDvD-10.1 boots, albeit buggily, on the netbook. I tried to
 use the kernel config provided with it. I ran make oldconfig then
 opened up the menu and whittled away the extraneous modules, built the
 new kernel, installed it and rebooted. This time, after a flurry of
 red exclamation points, it reached the login and crashed there.

 Well, whatever changes you made to .config fixed the original panic,
 so I'd start by diff'ing the first .config with the new .config (or
 post the new .config here).




 



 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.5.423 / Virus Database: 270.14.28/2454 - Release Date: 10/23/09
 14:09:00

 For which netbook are trying to compile a kernel for?






Re: [gentoo-user] Re: kernel panic -- finding proper config diff - RESOLVED

2009-10-23 Thread Maxim Wexler

 Well, whatever changes you made to .config fixed the original panic,
 so I'd start by diff'ing the first .config with the new .config (or

After some more tweaking 2.6.30-r7 boots successfully, except for an
error with the sound card famous which should be easy to fix /last
words

mw
.



  1   2   3   4   5   6   7   8   9   >