[gentoo-user] How often -uD world?
HI group, My netbook has only (4+8)G of sketchy SSD + SDHC RAM for everything and I am determined not to emerge anything I don't really need. But now that I'm mobile I have the capability of doing a -uD world whenever it's required without having to take days of dialup time. Question is, when's that? I assume with fewer packages, updating is not as urgent as on a big desktop with lots of HD space and lots of apps. Is there some sort of rule-of-thumb when it comes to timing or spacing their updates that members use to keep gentoo happy? Maxim
Re: [gentoo-user] How often -uD world?
> I have $PORTAGE_TMPDIR on the SD card, which is cheap enough to replace > if too many OOo compiles toast it. And I took your advice >> 2. It's sloow > > I was pleasantly surprised at how quickly some compiles completed. Not as > fast as my desktop of course, but faster than was expecting, although 14 > hours for OOo required a certain amount of patience. My speeds vary, Sometimes it seems quicker than at other times. Most noticeably when I log in; sometimes it takes ~10 secs for the prompt to show, sometimes it's instantaneous > >> Maybe wait for Neil Bothwick to show up and ask him for the gory >> details - he seems to have gotten it down pat on his Eee. > > As mentioned yesterday, I now do all emerges in a chroot on my desktop to > build binary packages, then emerge -k on the Eee, so Ooo only takes 90 > minutes now. The only compiling I do on the Eee is kernel changes. Negatory. My dialup is attenuated by 8 miles of analog telephone line. When I'm mobile it's a different story. mw
Re: [gentoo-user] How often -uD world?
> 2. Don't change a winning team! If your kernel run's smoothly with no > weird glutches in drivers, leave it be. Only update if you want new > features. > Just my 2p's worth > Greetz, > Mark Works for my desktop. I haven't updated it for years. Just poked along fixing this and that; if something stops working and I can't fix it, I just install something else. LOL here's the bottom line for -puvDN world on my desktop <...> Total: 447 packages (303 upgrades, 4 downgrades, 104 new, 3 in new slots, 33 reinstalls, 11 uninstalls), Size of downloads: 1,062,289 kB Conflict: 27 blocks (15 unsatisfied) <...> Not going to happen. mw
Re: [gentoo-user] How often -uD world?
> As mentioned yesterday, I now do all emerges in a chroot on my desktop to > build binary packages, then emerge -k on the Eee, so Ooo only takes 90 > minutes now. The only compiling I do on the Eee is kernel changes. > This suggests using the fetchonly switch, write the files to USB key while mobile and compile them later on the desktop. But when I do % emerge -pfuvND world I just get page after page of the mirrors list from make.conf. Is there a way to tell portage to ignore the Rs and collect only the Us, Ns and NSs? mw
Re: [gentoo-user] How often -uD world?
> Funny thing is, our old phone lines were about that far too. Most of > the time I got about 3KB/s of throughput. I hope yours is better than that. > That's about the top speed here.
[gentoo-user] can't connect to shoutcast
Hi group, My connection times out whenever I try to get to shoutcast after entering in the browser: http://localhost:8000 I configured it accrording to the gentoo-wiki. I notice when I run #/etc/init.d/shoutcast start, I get 'SHOUTCAST starting' but that's it, no banner. the log: <...> <09/19/0...@13:23:38> [SHOUTcast] DNAS/Linux v1.9.8 (Feb 28 2007) starting up... <09/19/0...@13:23:38> [main] pid: 4614 <09/19/0...@13:23:38> [main] loaded config from /etc/shoutcast/sc_serv.conf <09/19/0...@13:23:38> [main] initializing (usermax:10 portbase:8000)... <09/19/0...@13:23:38> [main] No ban file found (sc_serv.ban) <09/19/0...@13:23:38> [main] No rip file found (sc_serv.rip) <09/19/0...@13:23:38> [main] opening source socket <09/19/0...@13:23:38> [main] source thread starting <09/19/0...@13:23:38> [source] listening for connection on port 8001 <09/19/0...@13:23:38> [main] opening client socket <09/19/0...@13:23:38> [main] Client Stream thread [0] starting <09/19/0...@13:23:38> [main] client main thread starting <09/19/0...@13:27:51> [main] SIGTERM; exiting! <09/19/0...@13:27:51> [SHOUTcast] DNAS/Linux v1.9.8 (Feb 28 2007) starting up... <09/19/0...@13:27:51> [main] pid: 4690 <09/19/0...@13:27:51> [main] loaded config from /etc/shoutcast/sc_serv.conf <09/19/0...@13:27:51> [main] initializing (usermax:10 portbase:8000)... <09/19/0...@13:27:51> [main] No ban file found (sc_serv.ban) <09/19/0...@13:27:51> [main] No rip file found (sc_serv.rip) <09/19/0...@13:27:51> [main] opening source socket <09/19/0...@13:27:51> [main] source thread starting <09/19/0...@13:27:51> [source] listening for connection on port 8001 <09/19/0...@13:27:51> [main] opening client socket <09/19/0...@13:27:51> [main] Client Stream thread [0] starting <09/19/0...@13:27:51> [main] client main thread starting I fetched sc_trans_posix_040.tgz but haven't emerged it yet. I don't really need it just to listen on my own unit do I? Maxim
[gentoo-user] upgrade of xfce4 degrades terminal
Hi group, Before I did -uvDN world a couple of days ago the terminal that came with xfce4 was quite nice, configurable, with tabs. Now the terminal app really sucks. I've looked in ~/.config/xfce4 for something to tweak but must have missed it. Settings->Preferred Applications->Utilities leads to a dialogue window where a Terminal Emulator may be chosen, but the only one that works is the default X Terminal. If you click on Select Application you are led to /usr/bin. I tried xfterm4 but when I clicked on terminal in the menu nothing happened. I see under ~/.local/share/xfce4/helpers there is an xterm config file with the line: X-XFCE-Commands=/usr/bin/xterm. Is there something else I can point it too or do I need to emerge something else to improve the terminal in Xfce-4.6.1? Maxim
Re: [gentoo-user] Re: upgrade of xfce4 degrades terminal
Opens an identical xterm. In the original terminal it says Warning: Cannot convert string "nil2" to type FontStruct before spawning the new terminal. Search results inconclusive. BTW if you google "Warning: Cannot convert string "nil2" to type FontStruct" + xfterm4 you get precisely one hit, which I believe is known as a "googlewhack". This is the terminal I want, the one I used to have: http://goodies.xfce.org/projects/applications/terminal This is the terminal I have now: http://www.xfce.org/projects/terminal mw On 9/21/09, walt wrote: > On 09/21/2009 04:16 PM, Maxim Wexler wrote: >> Hi group, >> >> Before I did -uvDN world a couple of days ago the terminal that came >> with xfce4 was quite nice, configurable, with tabs. Now the terminal >> app really sucks. I've looked in ~/.config/xfce4 for something to >> tweak but must have missed it. >> >> Settings->Preferred Applications->Utilities leads to a dialogue window >> where a Terminal Emulator may be chosen, but the only one that works >> is the default X Terminal. If you click on Select Application you are >> led to /usr/bin. I tried xfterm4 but when I clicked on terminal in the >> menu nothing happened. >> >> I see under ~/.local/share/xfce4/helpers there is an xterm config file >> with the line: >> >> X-XFCE-Commands=/usr/bin/xterm. >> >> Is there something else I can point it too or do I need to emerge >> something else to improve the terminal in Xfce-4.6.1? > > I would try running 'xfterm4' from a command prompt (in the sucky xterm > window, of course ;o) and look for error messages. That's always the > first thing I try when clicking on an icon doesn't work. > > >
Re: [gentoo-user] Re: upgrade of xfce4 degrades terminal[FIXED - almost]
> root:566 ~> emerge -pv x11-terms/terminal > These are the packages that would be merged, in order: > Calculating dependencies... done! > [ebuild N ] dev-util/xfce4-dev-tools-4.6.0 61 kB > [ebuild R ] x11-terms/terminal-0.4.0 USE="dbus -debug -doc (-nls%)" Ok, that restored my terminal. Now I have to keep xfce from opening the old one automatically every time I startx. Thanks mw
[gentoo-user] opening port 8000
Hi group, Shoutcast doesn't connect. nmap reveals all my ports are closed. How to open port 8000? netstat -a doesn't mention it. Maxim Wexler ps sorry if another similar post made it to the list; I was typing away and it just disappeared, honest
Re: [gentoo-user] Re: mpd issues
On 9/8/09, Maxim Wexler wrote: > Doing it again. Only change is to tell the conf to get debuggy. Unit > boots; last three lines before login: > > Starting Music Player Daemon > Starting local > Stopping Music Player Daemon > > This after several successful boots with no problem. > > Nothing in mpd.log > > A clue? Seems to occur when I'm mobile(this is an Asus netbook BTW) > and I have to enter the BIOS to turn the wifi on(I know, there's a key > to do this but it doesn't work, yet). OK, more info: Music Player Daemon turns itself on, then off ONLY when the battery is in place and the AC adapter is unplugged. Strange, no? Something about setting up the battery sensing stuff causes MPD to shut down(my theory). Like I said, I upped the debug level and when the daemon starts there's a message ending with 'daemon: daemonized! daemon: writing pid file'. And if the battery only is being used the daemon stops, but there's no message other than 'Stopping Music Player Daemon'.
Re: [gentoo-user] How often -uD world?
> As mentioned yesterday, I now do all emerges in a chroot on my desktop to > build binary packages, then emerge -k on the Eee, so Ooo only takes 90 > minutes now. The only compiling I do on the Eee is kernel changes. I've decided to give your method a whirl. Are you talking about distcc here? That would require a gcc upgrade on the desktop to match the Eee's, no? Can you cite a howto or tutorial for your method? Or, perhaps flesh it out with a few more details. Maxim
[gentoo-user] can't linux#make menuconfig -- Makefile gone
Hi group, I needed to configure iptables support into the kernel but when I tried to run make menuconfig got 'No rule to make target' error. The Makefile was gone. A casualty of a recent emerge -uDN world, I expect. So I ran distfiles# tar xvfj linux-2.6.29.tar.bz2 Makefile which told me 'tar: Makefile: Not found in archive' So where can I locate the Makefile for my kernel, assuming the above command is correct? Maxim
Re: [gentoo-user] can't linux#make menuconfig -- Makefile goneFOUND
> > That's why I never set up a linux system without mc. It's just so much > easier when you can > look inside an archive and manipulate files just as if it were part of > the file system. :) I remember Midnight Commander from the "old days" but forgot how useful it could be. > > Anyway, the archive has a directory inside it (linux-2.6.29). That's > where all the files are. > So it would be /linux-2.6.29/Makefile. No leading '/', actually mw
[gentoo-user] re-extracting linux sources
Hi group, After my last -uvDN world and subsequent revdep-rebuild and emerge --depclean I found the main Makefile under /usr/src/linux was missing. I managed to extract it from the sources and copy it over only to find that, naturally, many other files were missing too. I gave up after the third extraction/copy pass. Which leads to the following: 1) What is the approved method of re-populating that all-important directory, just untar the sources back in or ? 2)How can I prevent this from happening again? The gentoo docs just say, after the dust settles, to do a revdep followed by depclean. Is that what did the deed? This was my first world upgrade and I sure don't want to go through this again, if I can prevent it. Maxim
Re: [gentoo-user] Re: can't linux#make menuconfig -- Makefile goneFOUND
> drag-and-drop, too. I'll bet kde probably has a similar thing. Yeah, Konqueror has it, just click on the archive, but not Thunar, unless there's some config setting I'm not aware of. mw
Re: [gentoo-user] opening port 8000
> b.) If directly connected iptables -A INPUT -p tcp --dport 8000 -j > ACCEPT sorry for the delay answering, only just got back to mobile mode. soupeee # iptables -A INPUT -p tcp -dport 8000 -j ACCEPT Bad argument `8000' mw
Re: [gentoo-user] opening port 8000
sorry guys, must squint harder On 10/6/09, Andre Parker wrote: > On Tue, Oct 6, 2009 at 11:11 PM, Maxim Wexler > wrote: >>> b.) If directly connected iptables -A INPUT -p tcp --dport 8000 -j >>> ACCEPT >> >> sorry for the delay answering, only just got back to mobile mode. >> >> soupeee # iptables -A INPUT -p tcp -dport 8000 -j ACCEPT >> Bad argument `8000' >> >> mw >> >> > > --dport (two hyphens) > > -- > Best regards, > Parker Andre. > >
[gentoo-user] kernel panics after 'ifconfig wlan0 up'
Hi group, Emergency here. After my eee pc boots I log in and enter '#ifconfig wlan0 up' as usual to take advantage of the free wifi at the coffee shop. Then, just before I enter the next command, the kernel panics and the console freezes. The top line of hexidecimal barf reads: ath5k_tasklet_rx40x1fd/0539[ath5k] and ends with: Kernel panic -- not syncing: fatal exception in interrupt I'm wracking my brains trying to figure out what I did or neglected to do prior to this but am drawing a blank. Running 2.6.29-r5. Never had this problem before. '$cat /proc/acpi/net/wireless' indicates that wlan0 is configured. Anybody have any ideas? Maxim
Re: [gentoo-user] kernel panics after 'ifconfig wlan0 up'
ok, found it. On the sixth I did #make menuconfig && make modules_install and rebooted without any problem, everything worked as before. But I neglected to copy over the new kernel. All the fresh modules seeemed to get along fine with the stale kernel for an entire week so it never occured to me there was a problem till I tried to go mobile and the wifi module gagged. I wonder why that one was singled out. So, crisis passed. Well, until I go mobile again and try to connect. Thanks for your interest mw On 10/13/09, Paul Hartman wrote: > On Tue, Oct 13, 2009 at 4:13 PM, Maxim Wexler > wrote: >> Hi group, >> >> Emergency here. After my eee pc boots I log in and enter '#ifconfig >> wlan0 up' as usual to take advantage of the free wifi at the coffee >> shop. Then, just before I enter the next command, the kernel panics >> and the console freezes. The top line of hexidecimal barf reads: >> >> ath5k_tasklet_rx40x1fd/0539[ath5k] >> >> and ends with: >> >> Kernel panic -- not syncing: fatal exception in interrupt >> >> I'm wracking my brains trying to figure out what I did or neglected to >> do prior to this but am drawing a blank. >> >> Running 2.6.29-r5. Never had this problem before. '$cat >> /proc/acpi/net/wireless' indicates that wlan0 is configured. >> >> Anybody have any ideas? >> >> Maxim > > Maybe you can try to use newer drivers; if you don't want to update > the entire kernel you can build just the latest wireless drivers from: > http://linuxwireless.org/en/users/Download/stable/ > >
[gentoo-user] sys-libs/db-4.7.25_p4 fetch failure
Hi group There was a hitch in the latest #emerge -uDN world. Here's the details: http://pastebin.com/m4726a7e3 Appears to be some kind of bug: http://bugs.gentoo.org/show_bug.cgi?id=285324 Anybody else had this problem? How should I proceed? Maxim
[gentoo-user] livedvd v10.1 on eee PC
Hi group, I'd like to hear of peoples' experiences with the gentoo-livedvd-10.1 especially on the eee PC. In my case(asus 900a), whether I use startx at the boot prompt or let xdm start by default, the X window starts to open and I see a glimpse of the desktop but then the screen goes black and flickers and just the outline of the mouse cursor is visible. If I switch to a console and try to write a command I have to be fast because log messages are being re-directed intermittently from F12 and just pop up on the screen. But livedvd boots ok in my desktop. The log stays where it's supposed to be. Could it be the limited capability of the video chip in the eee? But that doesn't explain the log bleeding over into the console. PC and eee both have 1G ram, FWIW Maxim
Re: [gentoo-user] livedvd v10.1 on eee PC
> /etc/init.d/xdm start > > any better? > much better, thanks! the desktop is rock solid but the individual consoles all still suffer from 'log bleed', A bug I can live with ;] mw
Re: [gentoo-user] livedvd v10.1 on eee PC
> Are you getting squashfs errors? no mw
Re: [gentoo-user] sys-libs/db-4.7.25_p4 fetch failure
LOL I thought I was being a good citizen by using pastebin after being chastised in another forum for *not* using it. Note to self: no more pastebin. On 10/17/09, Stroller wrote: > > On 17 Oct 2009, at 21:10, Dale wrote: >>> ... >>> a) not use pastebin, but post the messages in your email? >> >> Unless they are seriously HUGE? > > Attach them as plain text or gzipped. > > If they are too HUGE for that then you're prolly doing something wrong. > > Screenshots should, IMO, be hosted somewhere rather than attached. > > Stroller. > > >
[gentoo-user] kernel panic -- finding proper config diff
Hi group, Did linux#make menuconfig followed by linux# make && make modules_install on the .2.6.30-gentoo-r7 sources. And copied over the new kernel and rebooted. 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 Kernel panic - not syncing. No init found. Try passing init=option to kernel. Pid: 1. comm: swapper Not tainted 2.6.30-gentoo-r7 #2 Call Trace: [] ? printk+0xf/0x11 [] panic+0x39/0xd4 [] init_post+0x13c/0x13e [] kernel_init+0x148/0x152 [] ? kernel_init+0x0/0x152 [] kernel_thread_helper+0x7/0x10 So far I've tried adding 'init=/bin/bash' and 'init=/sbin/init' to the command line. No help. Someone in a forum suggested chrooting and emerging sysvinit. But that's already installed. There's a million hits on google for this error message with about as many solutions. Assuming it has something to do with my kernel config, I tried running $diff -y on the two configs but at approx. 2600 lines per file I'm going to need some advice on what to zero in on. I tried to keep the new config as same as the old. But there's a lot of new features, weird stuff like CONFIG_X86_32_LAZY_GS=y and the new decompression protocol. Maxim
[gentoo-user] Re: kernel panic -- finding proper config diff
as a follow up go here: http://bugzilla.kernel.org/show_bug.cgi?id=13560 Virtually identical problem. Check out the screen pic. Just like mine, save for the hardware and fs differences. mw On 10/21/09, Maxim Wexler wrote: > Hi group, > > Did linux#make menuconfig followed by linux# make && make > modules_install on the .2.6.30-gentoo-r7 sources. And copied over the > new kernel and rebooted. > > 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 > Kernel panic - not syncing. No init found. Try passing init=option to > kernel. > Pid: 1. comm: swapper Not tainted 2.6.30-gentoo-r7 #2 > Call Trace: > [] ? printk+0xf/0x11 > [] panic+0x39/0xd4 > [] init_post+0x13c/0x13e > [] kernel_init+0x148/0x152 > [] ? kernel_init+0x0/0x152 > [] kernel_thread_helper+0x7/0x10 > > > So far I've tried adding 'init=/bin/bash' and 'init=/sbin/init' to the > command line. No help. Someone in a forum suggested chrooting and > emerging sysvinit. But that's already installed. > > There's a million hits on google for this error message with about as > many solutions. > > Assuming it has something to do with my kernel config, I tried running > $diff -y on the two configs but at approx. 2600 lines per file I'm > going to need some advice on what to zero in on. > > I tried to keep the new config as same as the old. But there's a lot > of new features, weird stuff like CONFIG_X86_32_LAZY_GS=y and the new > decompression protocol. > > > Maxim >
Re: [gentoo-user] Re: kernel panic -- finding proper config diff
> Does /dev/sda1 genuinely contain / and not for example /boot? > This is on an Asus 900A. 4G SSD, / and /boot all on one partition, formatted ext2, to prevent journalling overhead, with e2fsck set to check the fs at every boot. An 8G card contains /home and /var. mw
Re: [gentoo-user] Re: kernel panic -- finding proper config diff
> To me, that looks like /dev/sda1 (which is what the kernel is using as > root=) doesn't contain any of the following: > /sbin/init > /etc/init > /bin/init > /bin/sh > > Noting that the kernel output implied that it was an ext2 filesystem, > that looks like it mounted your /boot as /, which fails as there isn't > any init available on it. The partitioning scheme and fs hasn't changed. Just the kernel. It wasn't a problem before. Also, I don't think the fs id is significant since, if you look at the photo attached to the bug report, ext3 is involved in that case. In the new config have CONFIG_EXT2_FS_XATTR is not set, whereas it's set 'y' in the old. Maybe that's it. The page says choose N if unsure, which is what I did this time. I'll wait to hear back from the group and give it another try. mw
Re: [gentoo-user] Re: kernel panic -- finding proper config diff
Ok, I went back and found what looks like a glaring error. The old config had the CONFIG_PHYSICAL_START=0x100 under processor options, the new one was missing a zero. A ha! sez I and "fixed" it. Nope. I get the exact same panic. Setting CONFIG_EXT2_FS_XATTR=y doesn't help either. On a related note, I see that CONFIG_NR_CPUS only allows for 8 in the 30 kernel. Trying any other number leads to an error "Invalid Number" , whereas for the 29 kernel, 64 seems to be the default. On 10/21/09, Maxim Wexler wrote: >> To me, that looks like /dev/sda1 (which is what the kernel is using as >> root=) doesn't contain any of the following: >> /sbin/init >> /etc/init >> /bin/init >> /bin/sh >> >> Noting that the kernel output implied that it was an ext2 filesystem, >> that looks like it mounted your /boot as /, which fails as there isn't >> any init available on it. > > The partitioning scheme and fs hasn't changed. Just the kernel. It > wasn't a problem before. Also, I don't think the fs id is significant > since, if you look at the photo attached to the bug report, ext3 is > involved in that case. In the new config have CONFIG_EXT2_FS_XATTR is > not set, whereas it's set 'y' in the old. Maybe that's it. The > page says choose N if unsure, which is what I did this time. > I'll wait to hear back from the group and give it another try. > > mw >
Re: [gentoo-user] Re: kernel panic -- finding proper config diff
> Do you use 'make oldconfig' to generate the .config file for your new > kernel? I'm getting the impression that you did the menuconfig thing > from scratch, but maybe I'm wrong? I did the 30-r6 from scratch, then copied the .config over to the 30-r7 slot and ran make oldconfig. No change. Least I still have the 29 kernel; it works fine ;) mw
Re: [gentoo-user] Re: kernel panic -- finding proper config diff
I missed? Read the OP again. On 10/21/09, William Kenworthy wrote: > Run diff on both config files and see what you missed ... > > BillK > > On Wed, 2009-10-21 at 21:28 -0600, Maxim Wexler wrote: >> > Do you use 'make oldconfig' to generate the .config file for your new >> > kernel? I'm getting the impression that you did the menuconfig thing >> > from scratch, but maybe I'm wrong? >> >> I did the 30-r6 from scratch, then copied the .config over to the >> 30-r7 slot and ran make oldconfig. No change. >> >> Least I still have the 29 kernel; it works fine ;) >> >> mw >> > -- > William Kenworthy > Home in Perth! > > >
Re: [gentoo-user] Re: kernel panic -- finding proper config diff
> > Why not copy over the .29 config and run make oldconfig? I thought of that, but isn't there too much difference in the versions? I read somewhere that taking to big a leap between versions is unsafe. Not to mention the great whack of new options. If you do a diff -y between the two configs there are lots of gaps. mw
Re: [gentoo-user] Re: kernel panic -- finding proper config diff
OK, went ahead and did it. It's already broke, what's the harm?. Looks like I'll be answering a lot of questions before I'm done. STRIP_ASM_SYMS !? what th'? On 10/22/09, Maxim Wexler wrote: >> >> Why not copy over the .29 config and run make oldconfig? > > I thought of that, but isn't there too much difference in the > versions? I read somewhere that taking to big a leap between versions > is unsafe. Not to mention the great whack of new options. If you do a > diff -y between the two configs there are lots of gaps. > > mw >
Re: [gentoo-user] Re: kernel panic -- finding proper config diff
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 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
900a On 10/23/09, Richard Marza wrote: > > - Original Message - > From: "walt" > To: > 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
> > 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 which should be easy to fix mw .
Re: [gentoo-user] Re: kernel panic -- finding proper config diff - RESOLVED
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 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 which should be easy to fix words> > > mw > . >
[gentoo-user] strange dmesg output
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
> > 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] strange dmesg output
On 10/25/09, Keith Dart 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
> > 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
> #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
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] xfce4 update meets kernel update and crashes
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
>> 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 - RESOLVED
> > 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
On 10/26/09, Neil Bothwick 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
> > 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] memory(gray matter) needs jog
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 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] memory(gray matter) needs jog-DONE
> > 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
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 wrote: > On Fri, Oct 30, 2009 at 14:48, Philip Webb 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
On 10/30/09, walt 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
On 10/29/09, Kyle Adams 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] emerge ignores /etcportage/package.mask
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
> 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
> 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
[gentoo-user] X crashes with nvidia-173 driver
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
On 11/1/09, walt 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. >
Re: [gentoo-user] Re: X crashes with nvidia-173 driver
>> 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
> 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
>> FATAL: error inserting nvidia (/lib/modules/2.6.29/video/nvidia.ko): >> No such device >> >> ???lspci begs to differ > > 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
Re: [gentoo-user] Re: X crashes with nvidia-173 driver
> 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
> 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
In plenty of time for 2012 ;) On 11/5/09, Neil Bothwick 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
> 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
Re: [gentoo-user] was Re: X crashes with nvidia-173 driver now X crash on eee w/intel driver
> > 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
[gentoo-user] Re: X crashes with nvidia-173 driver-RESOLVED
> (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//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
[gentoo-user] can't unmerge xfce4
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?
On 11/10/09, Walter Dnes 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 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=2&t=3644 Maybe it'll suit your case. mw
Re: [gentoo-user] can't unmerge xfce4
On 11/11/09, Alan McKinnon 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
Re: [gentoo-user] can't unmerge xfce4--DONE & DONE
oops, put the a typo in the address bar the first time On 11/12/09, Maxim Wexler 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] making a file-list at (a) for fetching at (b)
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
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] return of SOD
On 11/14/09, Neil Walker 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)
> 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
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
On 11/14/09, Alan McKinnon 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
Re: [gentoo-user] scrollback using framebuffer
> > 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
[gentoo-user] can't boot, chroot no help
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] can't boot, chroot no help-D'UH!
On 11/17/09, Albert Hopkins 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] how to get emerge --depclean to skip a pkg?
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
On 11/19/09, Crístian Viana 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
[gentoo-user] can't remove device-mapper can't install it either
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
> 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 ' command into a certain config file, which I can't recall. Or was it 'delay ' or 'time ' ? 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
Re: [gentoo-user] can't remove device-mapper can't install it either
> > 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
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
> IIRC in a thread from a few months ago there was a tip about putting > the 'pause ' command into a certain config file, which I can't > recall. Or was it 'delay ' or 'time ' ? 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 ' 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
Re: [gentoo-user] can't remove device-mapper can't install it either
> 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
> 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
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 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 > > :-) :-) > >
[gentoo-user] prune gentoo-sources vs rm gentoo-sources
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
[gentoo-user] fsck won't work if ac cord not attached?!
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
Re: [gentoo-user] fsck won't work if ac cord not attached?!
> > 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?!
> > 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?!
> 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 "shift"ed. mw
Re: [gentoo-user] fsck won't work if ac cord not attached?!
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 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 "shift"ed. > > mw >
Re: [gentoo-user] fsck won't work if ac cord not attached?!
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 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?!
> 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?!
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 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 >