Re: [gentoo-user] Dual booting Dell with Windows 7
On Wednesday 17 February 2010 01:12:08 Peter Humphrey wrote: > On Monday 15 February 2010 23:45:23 Mick wrote: > > If I were to [tell] GRUB to chainload W7 [which} should I point it > > to? Dell's partition 2 which has the boot flag, or the main W7 OS > > partition 3? > > The one with W7 on it, I should have thought, as that's the one you want > to start. Why not just try it? And when you find out which partition is > which, why not set the bootable flag on the right one? I.e. the one with > grub in it. I am not sure that I would want to do this. I recall that MSWindows used to be and it possible still is rather sensitive with needing the boot flag on its partition. Linux on the other hand is a more advanced OS which does not care where the boot flag is. The NTLDR bootloader is no more since Vista. A different boot loading arrangement exists and I am not sure of its behaviour. > > If I were to use W7's NTLDR equivalent [...] [would] I be able to > > chainload GRUB from it? > > I assume you mean "to" it. (I have a nasty, ever-growing suspicion that > Americans not only don't know their tenses, but they think backwards - > either that or I do.) :-) Nope. I mean use the Windows 7 bootloader as the primary bootloader to chainload GRUB from the Gentoo partition. The MSWindows stays in the MBR as it is now, the GRUB is installed in the Gentoo /boot partition. MSWindows bootloader chainloads GRUB. > Again, the answer's a lemon - suck it and see. > > No offence intended. Thanks, none received. I am not American. ;-) PS. Not that this somehow makes my English good, or that I share your view on American grammar. I have heard worse English being spoken in places like e.g. Northampton England, than any places that I happened to have visited in the US. :-)) PPS. I am making some progress with this (at least in terms of googling) and will report back as soon as I have achieved this MSWindows --> chainloading -- > Gentoo thing. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: log messages
Alan McKinnon writes: > On Wednesday 17 February 2010 00:36:42 Harry Putnam wrote: >> Hundreds, maybe thousands of lines like this (wrapped for mail): >> >> Feb 16 09:38:47 reader kernel: [162289.090685] usb 4-2.1:1.1: uevent >> >> Feb 16 09:38:48 reader kernel: [162289.467065] hdc: status error: >> status=0x00 { } >> >> Feb 16 09:38:48 reader kernel: [162289.467071] hdc: possibly failed >> opcode: 0xa0 >> >> Feb 16 09:38:48 reader kernel: [162289.467079] ide-atapi: hdc: >> Strange, packet command initiated yet DRQ isn't asserted >> >> When I noticed this output involving the cdrom I wondered if I might >> have left something in it but that was not the case. > > Do you have hal configured to poll your cdrom drive every two seconds, to see > if a disk is inserted? And if so, is the verbosity logging cranked up way > higher than it should be? > > I haven't personally had to fix this myself (so can't give pointers on where > to fix it), but it seems to be a common occurrence judging from posts I see > here and at other forums. I do have hald running, but made no special config regarding cdrom polling. At least not on purpose. The messages do appear to be continuous. I will execute a reboot soon but don't want to right now. Why I'm pondering and following this up, is that I experience a serious freeze after some unspecified amount of uptime. Mouse and keyboard become unresponsive... and eventually the OS cannot be accessed at all. SSH appears to stop and cannot contact remotely either. This began happening quite some time ago... on a different earlier install. I never could see anything in the logs that gave a clue to why. I created a script that ran from cron. It pinged a remote host, and logged a unique easily findable string into the log using `logger', every 5 minutes. With that I was able to narrow down the time frame of freeze to within the last 5 minutes (of log lines). Even then, there was nothing to indicate a problem. This was an OS that had been running a very long time with upgrade after upgrade. Though I hated having to rebuild all the customizations etc, I finally completely reinstalled from scratch hoping to catch the problem with the shotgun approach. In that earlier OS there were no log messages regarding hdc being generated (by the way). Shortly after completing the new install and a couple of weeks of getting setup the way I wanted, I began to experience the freezes again. I have caught the freeze in the early stages before completely losing the network when just mouse and keyboard became unresponsive, was able to ssh in and noticed that restarting hald held off the freeze for some (again unspecified) amount of time. So cutting the lengthy narrative down a bit, and briefly put, I'm looking for anything unusual that is causing this. The hdc messages is the only odd thing I'm seeing. Something appears to be jamming up the hal layer somehow, but not leaving findable tracks. At least not findable by an someone with many yrs experience with linux but not much real debugging of complicated problems under his belt.
Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?
On Mittwoch 17 Februar 2010, Mick wrote: > On Sunday 14 February 2010 12:40:59 Alan McKinnon wrote: > > On Sunday 14 February 2010 13:02:48 Volker Armin Hemmann wrote: > > > > I highly recommend drivers to gain the skill of driving a vehicle > > > > crash-style without a clutch. Comes in useful sometimes. > > > > > > > > :-) > > > > > > the point was not stick but unsyncronized ;) > > > > I know. I just felt like tossing sounding in that sounded awfully clever > > > > :-) > > I also like manual gearboxes and for some years I was driving an old Series > IIA Land Rover which had straight cut gears on first and second and it > whined when driven at any speed. If you didn't double declutch to go from > 2nd to 1st and occasionally from 3rd to 2nd you would eventually end up > with a box-full of gears and no forward drive! > > I also happen to own a couple of old PCs which I try to keep lean and I > don't mind the odd double declutching to change gears. Now, I understand > the development philosophy of KDE4 since this was very well explained, but > that does not stop me wishing that the developers were a bit more modular > in their approach. This is because I would like to use a few KDE apps, > but do not want to have to download and install a load of ever increasing > dependencies. I am after a pick 'n mix from the sweet shop, rather than > being 'forced' to have one of each. > > However, the point has been well made by many. KDE4 is not KDE3.x and with > KDE4 you get the full enchilada because that's what the developers have > produced. Since I do not have the ability (or time) to fork KDE4 into my > own flavour I will very much have to make do and be grateful with what > developers care to offer. As I progressively upgrade my hardware all this > aforementioned 'bloat' will no doubt be less of a concern, but as things > are maturing in the Linux land my old laptop has been getting slower and > slower over the years when running X. I can blame this on Xorg, but the > applications themselves are getting heavier somewhat too. > > I wonder if there is enough of a user requirement here for some of us to > knock up a few wiki pages of how to build a slimmer gentoo, choices of > lightweight WMs, desktop apps of choice, etc. you want dependency nightmare? openoffice depends on libwpd libwpd depends on libgsf libgsf pulls gconf in. I don't need wordperfect, I don't want gnome. No way to get rid of that crap. Even basic libs are pulling in tons of gnome crap today. Why? KDE does not infest low level stuff. If you don't want KDE stuff, you don't have to install it. But thanks to some §§$$%&§$@& even low level libs and apps pull in that shit today. If freedesktop wouldn't be that sick joke it is, such behaviour wouldn't be.
Re: [gentoo-user] Running xsane
On Monday 15 February 2010 08:58:03 Neil Bothwick wrote: > When told the reason for Daylight [Savings Time] the old Indian > said..."Only a white man would believe that you could cut a foot off > the top of a blanket And sew it to the bottom of a blanket and have a > longer blanket." He was wrong, understandably. He should not have included all white men in that set. Outside USA we have no illusions of saving time by adjusting our clocks. -- Rgds Peter.
Re: [gentoo-user] Dual booting Dell with Windows 7
On Monday 15 February 2010 23:45:23 Mick wrote: > If I were to [tell] GRUB to chainload W7 [which} should I point it > to? Dell's partition 2 which has the boot flag, or the main W7 OS > partition 3? The one with W7 on it, I should have thought, as that's the one you want to start. Why not just try it? And when you find out which partition is which, why not set the bootable flag on the right one? I.e. the one with grub in it. > If I were to use W7's NTLDR equivalent [...] [would] I be able to > chainload GRUB from it? I assume you mean "to" it. (I have a nasty, ever-growing suspicion that Americans not only don't know their tenses, but they think backwards - either that or I do.) :-) Again, the answer's a lemon - suck it and see. No offence intended. -- Rgds Peter.
Re: [gentoo-user] Can't hear anything. :-(
On Tue, Feb 16, 2010 at 6:54 AM, Alan Mackenzie wrote: > Hi, gentoo, > > I'm trying to get sound to sound on my new Gentoo box, following the > "Gentoo Linux ALSA Guide". Everything seems to be working fine, except > no sound is coming out of my loudspeakers. > > I've checked the obvious things: the speakers are plugged in, switched > on and connected to the appropriate socket on my motherboard (the light > green one). > > I have drivers for my motherboard's sound chips compiled into my kernel, > and they are correctly identified by alsamixer. With alsamixer I've > unmuted various things and turned up the volume. > > madplay appears to play an mp3 file I have. Just that no actual sound > comes out. > > One other strange thing: the titles under the "volume bars" in alsamixer > are very different from the ones in the document: Instead of "Master / > Headphone / Tone / Bass / Treble / 3D Contr / PCM", I've got " Master / > Headphon / Front / Front Mi / Surround / Center / LFE / Side / Line / > Mic / Mic Boos / S/PDIF / S/PDIF D / Beep". Why is this? In > particular, I'm missing the "PCM" volume bar which the documentation > says is so important to unmute. > > What am I missing here? > > Thanks in advance! > > -- > Alan Mackenzie (Nuremberg, Germany). > Did you get this worked out yet? VERY strange that you don't see pcm as a mixer control... It's a bit hard to say much with so little info but I'll offer a couple of things: 1) IMO Alsa has never run so well when drivers are compiled into the kernel. I do a lot of audio in Linux and have always had the best results using modules. I would strongly suggest you give it a try... 2) Under /proc/asound/card0 (or whatever card you are using if you have more than 1) do you see any pcm directories? 3) Post back a little more info? cat /proc/asound/cards aplay -l aplay -L lsmod Good luck, Mark
Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?
On Wednesday 17 February 2010 01:21:22 Mick wrote: > However, the point has been well made by many. KDE4 is not KDE3.x and > with KDE4 you get the full enchilada because that's what the developers > have produced. Since I do not have the ability (or time) to fork KDE4 > into my own flavour I will very much have to make do and be grateful with > what developers care to offer. As I progressively upgrade my hardware all > this aforementioned 'bloat' will no doubt be less of a concern, but as > things are maturing in the Linux land my old laptop has been getting > slower and slower over the years when running X. I can blame this on > Xorg, but the applications themselves are getting heavier somewhat > too. > > I wonder if there is enough of a user requirement here for some of us to > knock up a few wiki pages of how to build a slimmer gentoo, choices of > lightweight WMs, desktop apps of choice, etc. The "gentoo wiki" (I can never remember the URL - it's the user maintained one) already has a great many such pages. In particular lxde and xfce4 fly on older hardware and is well received by and large by people wanting lean and mean desktops. The various *box WMs also had decent writeups on getting them running last time I looked. A few eyeballs on those pages and updating them if necessary would not go amiss. Many people would like to have slimmer alternatives to the usual monstrous culprits: firefox, thunderbird, openoffice, evolution. KDE4 does not suit everyone (neither are Ferraris and Toyotas), so while it is important to understand what KDE4 is and what the limits are, and not try to make it something other than what it is, there is definitely room for systems completely devoid of anything from KDE and/or Gnome. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?
On Sunday 14 February 2010 12:40:59 Alan McKinnon wrote: > On Sunday 14 February 2010 13:02:48 Volker Armin Hemmann wrote: > > > I highly recommend drivers to gain the skill of driving a vehicle > > > crash-style without a clutch. Comes in useful sometimes. > > > > > > :-) > > > > the point was not stick but unsyncronized ;) > > I know. I just felt like tossing sounding in that sounded awfully clever > :-) I also like manual gearboxes and for some years I was driving an old Series IIA Land Rover which had straight cut gears on first and second and it whined when driven at any speed. If you didn't double declutch to go from 2nd to 1st and occasionally from 3rd to 2nd you would eventually end up with a box-full of gears and no forward drive! I also happen to own a couple of old PCs which I try to keep lean and I don't mind the odd double declutching to change gears. Now, I understand the development philosophy of KDE4 since this was very well explained, but that does not stop me wishing that the developers were a bit more modular in their approach. This is because I would like to use a few KDE apps, but do not want to have to download and install a load of ever increasing dependencies. I am after a pick 'n mix from the sweet shop, rather than being 'forced' to have one of each. However, the point has been well made by many. KDE4 is not KDE3.x and with KDE4 you get the full enchilada because that's what the developers have produced. Since I do not have the ability (or time) to fork KDE4 into my own flavour I will very much have to make do and be grateful with what developers care to offer. As I progressively upgrade my hardware all this aforementioned 'bloat' will no doubt be less of a concern, but as things are maturing in the Linux land my old laptop has been getting slower and slower over the years when running X. I can blame this on Xorg, but the applications themselves are getting heavier somewhat too. I wonder if there is enough of a user requirement here for some of us to knock up a few wiki pages of how to build a slimmer gentoo, choices of lightweight WMs, desktop apps of choice, etc. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] log messages
On Wednesday 17 February 2010 00:36:42 Harry Putnam wrote: > Hundreds, maybe thousands of lines like this (wrapped for mail): > > Feb 16 09:38:47 reader kernel: [162289.090685] usb 4-2.1:1.1: uevent > > Feb 16 09:38:48 reader kernel: [162289.467065] hdc: status error: > status=0x00 { } > > Feb 16 09:38:48 reader kernel: [162289.467071] hdc: possibly failed > opcode: 0xa0 > > Feb 16 09:38:48 reader kernel: [162289.467079] ide-atapi: hdc: > Strange, packet command initiated yet DRQ isn't asserted > > When I noticed this output involving the cdrom I wondered if I might > have left something in it but that was not the case. Do you have hal configured to poll your cdrom drive every two seconds, to see if a disk is inserted? And if so, is the verbosity logging cranked up way higher than it should be? I haven't personally had to fix this myself (so can't give pointers on where to fix it), but it seems to be a common occurrence judging from posts I see here and at other forums. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] copy-paste no longer works with (g)vim + OpenOffice
On Tue, Feb 16, 2010 at 03:45:30PM -0500, Philip Webb wrote: > I have updated to the latest stable (G)vim 7.2.303 > & suddenly can no longer copy+paste from Vim into Open Office: > it doesn't work at all with Gvim & unpredictably with Vim in a Konsole. > I can copy+paste from Most in a Konsole to Open Office as usual. > This is on the Fluxbox desktop with Unicode & a generally reliable system. > I've checked Gentoo bugs & forum, but there's no sign of the problem. Which copy+paste? The high-light with mouse and middle click to paste method, or some other one? Can you copy and paste from (g)vim to another Konsole? To any other application? What use-flag did you compile (g)vim with? > > Has anyone else seen this ? Would anyone care to test it ? > Could anyone tell me what other pgms/pkgs are involved in copy+paste > between different apps on a desktop ? Might it be Poppler ? Poppler? surely not. Why do you think a PDF renderer would have anything to do with copy and paste? W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
[gentoo-user] log messages
Hundreds, maybe thousands of lines like this (wrapped for mail): Feb 16 09:38:47 reader kernel: [162289.090685] usb 4-2.1:1.1: uevent Feb 16 09:38:48 reader kernel: [162289.467065] hdc: status error: status=0x00 { } Feb 16 09:38:48 reader kernel: [162289.467071] hdc: possibly failed opcode: 0xa0 Feb 16 09:38:48 reader kernel: [162289.467079] ide-atapi: hdc: Strange, packet command initiated yet DRQ isn't asserted When I noticed this output involving the cdrom I wondered if I might have left something in it but that was not the case.
Re: [gentoo-user] Gentoo on SSD
On Tue, 16 Feb 2010 13:27:22 -0800, Grant wrote: > I'm troubled by the ever-lurking possibility of an HD failure and I > thought SSDs would be my way out. Is an HD the best choice for > reliability? A single drive, be it HD or SSD, is always at risk of failure. If this is a significant concern, you should be using some form of RAID, along with regular, automated backups of course. -- Neil Bothwick There is no such thing as an atheist in a foxhole. signature.asc Description: PGP signature
Re: [gentoo-user] Gentoo on SSD
Am 16.02.2010 22:27, schrieb Grant: > It sounds like SSDs don't have the > projected longevity they did when I researched this a year or so ago. > I'm troubled by the ever-lurking possibility of an HD failure and I > thought SSDs would be my way out. Is an HD the best choice for > reliability? I still don't know. I had the impression that having my home-dir on the ssd lead to filesystem-problems ... maybe all those tiny writes ... I don't know. Could be fs-related as well ... Moved my home back to hdd as recommended by Volker here a few months ago. Only having my root on the ssd worked OK for quite some time (sidenote: how to do that on my thinkpad? Having it hdd-free is one main reason to move to ssd ...) As mentioned I faced some hefty crashes in the last days ... unfortunately I wasn't able to record the logs as the drive simply disappeared. I thought I had the latest "dmesg > myfile" on hdd but it was empty after a reboot Currently I am back on my raid1-hdd-root ... slower but OK ;-) The crashes happened with tuxonice-sources-2.6.32 -- dunno, if the latest ebuild brings some changes helping in this context. Maybe it's ext4-related as well ... you know, many moving parts in a modern system Stefan
Re: [gentoo-user] Re: Which packages did I unmerge?
Is there any way to find out which packages I unmerged today with depclean? I thought they would show up in /var/log/portage but apparently not. I'm getting a wireless card DMA error since unmerging them. - Grant >>> >>> >>> app-portage/genlop >> >> Thank you, but I need to specify a package name with genlop, right? >> I'm trying to figure out which packages were unmerged yesterday by >> depclean. >> >> - Grant >> >> >> > > genlop -u --date 1 days ago "*" > > or something similar, iirc Perfect, thank you. - Grant
Re: [gentoo-user] Which packages did I unmerge?
On Tuesday 16 February 2010 23:10:57 Grant wrote: > >> Is there any way to find out which packages I unmerged today with > >> depclean? I thought they would show up in /var/log/portage but > >> apparently not. I'm getting a wireless card DMA error since unmerging > >> them. > >> > >> - Grant > > > > app-portage/genlop > > Thank you, but I need to specify a package name with genlop, right? > I'm trying to figure out which packages were unmerged yesterday by > depclean. genlop --date --unmerge The man page is very concise, complete and informative (one of the better ones) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Gentoo on SSD
On Dienstag 16 Februar 2010, Grant wrote: > >> I thought SSDs were projected to > >> last longer than HDs? Also, from what I've read, SLC should last much > >> longer than MLC. > > > > It's the other way round: HD's last longer dan SSD's. [1] > > > > [1] http://en.wikipedia.org/wiki/Solid-state_drive#Disadvantages > > Thanks for the link. I did some Googleing too and I'm really > surprised at what I found. It sounds like SSDs don't have the > projected longevity they did when I researched this a year or so ago. > I'm troubled by the ever-lurking possibility of an HD failure and I > thought SSDs would be my way out. Is an HD the best choice for > reliability? > > - Grant depends. Intel for example slows down the ssd if you write too much to prevent premature failure. HDD are prone to mechanical failure. SSD not. If you only do moderate writing SSD are much more reliable. If you do a lot of writing - douzends of gigabyte a day with a lot of overwriting, a HDD might be the better choice.
Re: [gentoo-user] Gentoo on SSD
>> I thought SSDs were projected to >> last longer than HDs? Also, from what I've read, SLC should last much >> longer than MLC. > > It's the other way round: HD's last longer dan SSD's. [1] > > [1] http://en.wikipedia.org/wiki/Solid-state_drive#Disadvantages Thanks for the link. I did some Googleing too and I'm really surprised at what I found. It sounds like SSDs don't have the projected longevity they did when I researched this a year or so ago. I'm troubled by the ever-lurking possibility of an HD failure and I thought SSDs would be my way out. Is an HD the best choice for reliability? - Grant
[gentoo-user] Re: Which packages did I unmerge?
On Tue, Feb 16, 2010 at 16:10, Grant wrote: >>> Is there any way to find out which packages I unmerged today with >>> depclean? I thought they would show up in /var/log/portage but >>> apparently not. I'm getting a wireless card DMA error since unmerging >>> them. >>> >>> - Grant >> >> >> app-portage/genlop > > Thank you, but I need to specify a package name with genlop, right? > I'm trying to figure out which packages were unmerged yesterday by > depclean. > > - Grant > > > genlop -u --date 1 days ago "*" or something similar, iirc -- Douglas J Hunley, RHCT doug.hun...@gmail.com : http://douglasjhunley.com : Twitter: @hunleyd Obsessively opposed to the typical.
Re: [gentoo-user] Which packages did I unmerge?
>> Is there any way to find out which packages I unmerged today with >> depclean? I thought they would show up in /var/log/portage but >> apparently not. I'm getting a wireless card DMA error since unmerging >> them. >> >> - Grant > > > app-portage/genlop Thank you, but I need to specify a package name with genlop, right? I'm trying to figure out which packages were unmerged yesterday by depclean. - Grant
Re: [gentoo-user] Gentoo on SSD
On Tue, Feb 16, 2010 at 22:04, Grant wrote: > I thought SSDs were projected to > last longer than HDs? Also, from what I've read, SLC should last much > longer than MLC. It's the other way round: HD's last longer dan SSD's. [1] [1] http://en.wikipedia.org/wiki/Solid-state_drive#Disadvantages Regards, Ward
Re: [gentoo-user] Gentoo on SSD
> I'm thinking of re-installing Gentoo on an Intel 40 Megs SSD -- excluding the > most often writen dirs like /var, /tmp, /home --. What do you think ? I'll be > glad to hear about previous experiences. What about swap ? Is it safe to have > it > on the SSD ? Why exclude the most written dirs? I thought SSDs were projected to last longer than HDs? Also, from what I've read, SLC should last much longer than MLC. - Grant
[gentoo-user] copy-paste no longer works with (g)vim + OpenOffice
I have updated to the latest stable (G)vim 7.2.303 & suddenly can no longer copy+paste from Vim into Open Office: it doesn't work at all with Gvim & unpredictably with Vim in a Konsole. I can copy+paste from Most in a Konsole to Open Office as usual. This is on the Fluxbox desktop with Unicode & a generally reliable system. I've checked Gentoo bugs & forum, but there's no sign of the problem. Has anyone else seen this ? Would anyone care to test it ? Could anyone tell me what other pgms/pkgs are involved in copy+paste between different apps on a desktop ? Might it be Poppler ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] Gentoo on SSD
Am 16.02.2010 11:42, schrieb Norman Rieß: > Am 02/16/10 10:28, schrieb alain.didierj...@free.fr: >> I'm thinking of re-installing Gentoo on an Intel 40 Megs SSD -- >> excluding the >> most often writen dirs like /var, /tmp, /home --. What do you think ? >> I'll be >> glad to hear about previous experiences. What about swap ? Is it safe >> to have it >> on the SSD ? >> >> > Hi, > > i have a Gentoo System on SSD running for a while now. No problems. Hmm, I see massive crashes with my Intel Postville G2 80GB, in the last 2 days ... maybe I have received a bad one ... shouldn't be the same for all of them. Gentoo didn't detect it anymore ... etc. I still try to decide how to proceed. Maybe completely reset it and start from scratch. Just my current experience with this specific device ... Stefan
Re: [gentoo-user] How the HAL are you supposed to use these files?
Mike Edenfield wrote: > I'm kinda stunned that your arguments against D-Bus seems to boil down > to "just use 9p instead" No, we're talking about very different concepts. D-Bus is essentially an generic RPC mechanism (with an asychronous signalling facility). So it allows calling procedures on remote objects sending signals to listeners. IOW: fundamental concept behind GObject, QObject, etc put onto distributed level (but much simpler than CORBA, etc). On the other hand, 9P is essentially just a filesystem protocol which is very well suited for synthetic filesystems. The latter is the key point: synthetic filesystem. Instead of calling procedures, you model objects into directories and files and simply work with common filesystem operations. This is the same idea as behind procfs or sysfs, but on an distributed level. Hopefully, we agree that procfs and sysfs are a simple and easy approach for accessing many many kernel-internal data using very standard filesystem operations. Now imagine we hadn't them, but needed to use separate syscalls or netlink operations. Wouldn't it be ugly ? > given that plumber is a basic element of 9p and > does essentially the same job D-Bus does. No, plumber is an 9P-based service which does the message broadcasting/routing to listeners (easily programmable by an special-purpose language). Since it's based on 9P, it can be used anywhere 9P is available, fully platform independent and network agnostic. http://plan9.bell-labs.com/sys/doc/plumb.html cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
[gentoo-user] Re: Gentoo on SSD
free.fr> writes: > I'm thinking of re-installing Gentoo on an Intel 40 Megs SSD -- excluding the > most often writen dirs like /var, /tmp, /home --. What do you think ? I'll be > glad to hear about previous experiences. What about swap ? Is it safe to have it > on the SSD ? I run minimal servers on 4 Gig Compact Flash-2-ide. Similar but not as robust as SSD. You should not have any problems, if you PLAN, THINK through your intended application(s) and ASK questions on this list.. methinks. caveat emptor, James
Re: [gentoo-user] How the HAL are you supposed to use these files?
Mike Edenfield wrote: > Just for reference, 9p is not Plan 9, it's only the Plan 9 network > protocol/distributed file system, which you can use on Linux with the > appropriate file system modules. Right. Either you use the kernel module (which now is in mainline for quite a long time), or 9pfuse, or one of the userland libraries around (eg. libmvfs). The basic idea behind this all is to use a filesystem as a primary IPC interface. Files dont necessarily mean things stored on-disk, but streams/communication-channels in an hierachical namespace. (eg. /proc or /sys). This way you have a very simple IPC mechanism using the very same semantics as filesystems do traditionally. That's just consequently using the "everything's a file"-metaphor. As everything's a file, all an OS or an distributed environment has to provide is dispatching filesystem operations from client to server, whereever they may actually reside. For example, you can simply mount any Plan9 device via 9P, from anywhere, as long as you get some 9P path there. (BTW: 9P doesnt have the concept of ioctl()s. If some object has more than just a single IO stream, it's modeled as an directory, eg. containing some "ctl" file accepting additional commands, etc). cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far
Am Dienstag, 16. Februar 2010 schrieb Alex Schuster: > No need for either, just look up the drive on Samsung's homepage [*]. It's > 512 bytes/sector, you should be fine. Gee thanks. Though that still keeps me baffled about my results, I can start looking for other reasons for it. :) Consider the thread closed (again ;-) . -- Gruß | Greetings | Qapla' Beamy, Scot me up! signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Can't hear anything. :-(
On Tuesday 16 February 2010, Alan Mackenzie wrote: > Hi, gentoo, > > I'm trying to get sound to sound on my new Gentoo box, following the > "Gentoo Linux ALSA Guide". Everything seems to be working fine, except > no sound is coming out of my loudspeakers. > > I've checked the obvious things: the speakers are plugged in, switched > on and connected to the appropriate socket on my motherboard (the light > green one). > > I have drivers for my motherboard's sound chips compiled into my kernel, > and they are correctly identified by alsamixer. With alsamixer I've > unmuted various things and turned up the volume. > > madplay appears to play an mp3 file I have. Just that no actual sound > comes out. > > One other strange thing: the titles under the "volume bars" in alsamixer > are very different from the ones in the document: Instead of "Master / > Headphone / Tone / Bass / Treble / 3D Contr / PCM", I've got " Master / > Headphon / Front / Front Mi / Surround / Center / LFE / Side / Line / > Mic / Mic Boos / S/PDIF / S/PDIF D / Beep". Why is this? In > particular, I'm missing the "PCM" volume bar which the documentation > says is so important to unmute. > > What am I missing here? > > Thanks in advance! I had a similar problem with an Audigy (CA0106) card. If depends if you have analogue or digital speakers. If they are analog the S/PDIF slider must be *muted* or there is no sound. This is counter-intuitive since one's first action with Alsa is to unmute everything! HTH -Robin -- -- Robin Atwood. "Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst" from "Mandalay" by Rudyard Kipling --
Re: [gentoo-user] Can't hear anything. :-(
Alan Mackenzie ha scritto: > Hi, gentoo, > > I'm trying to get sound to sound on my new Gentoo box, following the > "Gentoo Linux ALSA Guide". Everything seems to be working fine, except > no sound is coming out of my loudspeakers. > > I've checked the obvious things: the speakers are plugged in, switched > on and connected to the appropriate socket on my motherboard (the light > green one). > > I have drivers for my motherboard's sound chips compiled into my kernel, > and they are correctly identified by alsamixer. With alsamixer I've > unmuted various things and turned up the volume. > > madplay appears to play an mp3 file I have. Just that no actual sound > comes out. > > One other strange thing: the titles under the "volume bars" in alsamixer > are very different from the ones in the document: Instead of "Master / > Headphone / Tone / Bass / Treble / 3D Contr / PCM", I've got " Master / > Headphon / Front / Front Mi / Surround / Center / LFE / Side / Line / > Mic / Mic Boos / S/PDIF / S/PDIF D / Beep". Why is this? In > particular, I'm missing the "PCM" volume bar which the documentation > says is so important to unmute. > > What am I missing here? > > Thanks in advance! > Have you tried this? http://www.pubbs.net/gentoo/200912/63563/ I had a similar problem, I hope it helps. Drivers are one thing, but codecs another. m.
[gentoo-user] Can't hear anything. :-(
Hi, gentoo, I'm trying to get sound to sound on my new Gentoo box, following the "Gentoo Linux ALSA Guide". Everything seems to be working fine, except no sound is coming out of my loudspeakers. I've checked the obvious things: the speakers are plugged in, switched on and connected to the appropriate socket on my motherboard (the light green one). I have drivers for my motherboard's sound chips compiled into my kernel, and they are correctly identified by alsamixer. With alsamixer I've unmuted various things and turned up the volume. madplay appears to play an mp3 file I have. Just that no actual sound comes out. One other strange thing: the titles under the "volume bars" in alsamixer are very different from the ones in the document: Instead of "Master / Headphone / Tone / Bass / Treble / 3D Contr / PCM", I've got " Master / Headphon / Front / Front Mi / Surround / Center / LFE / Side / Line / Mic / Mic Boos / S/PDIF / S/PDIF D / Beep". Why is this? In particular, I'm missing the "PCM" volume bar which the documentation says is so important to unmute. What am I missing here? Thanks in advance! -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] How the HAL are you supposed to use these files?
On 2/16/2010 3:23 AM, J. Roeleveld wrote: Netbook: 1GB of ram, with Linux, I can easily run all the software I want , without need of any swap. Can I do the same with 9P? Eg. will I be able to run all the software I use on my netbook without having to spent time on porting it all? Is also all the hardware supported in 9P? Linux supports all the hardware in my netbook. Unless the answer to this is a 100% yes, 9P is never going to be an option. Just for reference, 9p is not Plan 9, it's only the Plan 9 network protocol/distributed file system, which you can use on Linux with the appropriate file system modules. --Mike
Re: [gentoo-user] Gentoo on SSD
On Dienstag 16 Februar 2010, alain.didierj...@free.fr wrote: > I'm thinking of re-installing Gentoo on an Intel 40 Megs SSD -- excluding > the most often writen dirs like /var, /tmp, /home --. What do you think ? > I'll be glad to hear about previous experiences. What about swap ? Is it > safe to have it on the SSD ? I have / on ssd, but /tmp on tmpfs, /var on harddisk and swap on harddisk. I don't want to wear it down ... and 40gb is not that much.
Re: [gentoo-user] Gentoo on SSD
Am 02/16/10 10:28, schrieb alain.didierj...@free.fr: I'm thinking of re-installing Gentoo on an Intel 40 Megs SSD -- excluding the most often writen dirs like /var, /tmp, /home --. What do you think ? I'll be glad to hear about previous experiences. What about swap ? Is it safe to have it on the SSD ? Hi, i have a Gentoo System on SSD running for a while now. No problems. Regards, Norman
[gentoo-user] Gentoo on SSD
I'm thinking of re-installing Gentoo on an Intel 40 Megs SSD -- excluding the most often writen dirs like /var, /tmp, /home --. What do you think ? I'll be glad to hear about previous experiences. What about swap ? Is it safe to have it on the SSD ?
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Monday 15 February 2010 20:20:53 Enrico Weigelt wrote: > J. Roeleveld wrote: > >> And *IF* some application is interested in the such information, > >> why not just using the filesystem ? > > > > Because on flash-drives (Which are used in small devices and netbooks) > > you don't want every single status update to be written to the > > filesystem. And with minimal memory, I don't want to have a ram-disk > > gobbling up the memory I have. > > Why not simply using tmpfs ? > Or an specific synthetic filesystem ? 9P makes this really easy, > and network agnostic. Netbook: 1GB of ram, with Linux, I can easily run all the software I want , without need of any swap. Can I do the same with 9P? Eg. will I be able to run all the software I use on my netbook without having to spent time on porting it all? Is also all the hardware supported in 9P? Linux supports all the hardware in my netbook. Unless the answer to this is a 100% yes, 9P is never going to be an option. -- Joost