Re: [gentoo-user] Re: A tiny titillating taste of grub2
On Thursday 13 January 2011 01:40:09 Dale wrote: You got a crystal ball or something? Not yet, my supplier is still awaiting new stock from the manufacturer... -- Joost
Re: [gentoo-user] Strange problem with audio CDs
On Thursday 13 January 2011 07:12:48 Jake Moe wrote: If you're talking about proper Audio-CD as one that's audio-only, no mixed data in there as well, then yes, I'm sure. And I have over 500 CDs; I can't test them all. :-P But yeah, a selection of CDs have all had the same result. And only on Linux; the same CDs have read fine from Windows. 500, that's a bit more then I have :) The mp3 error screenshot was trying to copy the MP3 files from the CD through Konqueror's audiocd:\ location to my hard drive. I assume Konqueror tries to auto-convert the CD tracks to MP3s on the fly. The log file I had attached should have been called messages.bz2; it's the kernel log file. Yes, I noticed similar behaviour last time I used MS Windows to play audio- CDs. I believe MS Windows 98 (yes, that long ago) used to present them as *.WAV-files, Oh, and I only own a few CDs that have DRM on them. And no, they weren't the ones that I've tested. Ok, it was the first thing that came to mind. How far does cdparanoia get? That's the tool I generally use and it has always worked for me. Even with DRM'd CDs. -- Joost
Re: [gentoo-user] Re: A tiny titillating taste of grub2
On Thu, 13 Jan 2011 01:59:19 +, Peter Humphrey wrote: There's nothing gratuitous about it. It's perfectly suited for the purpose, in this particular case. No it is not: there's no need for it. it adds nothing useful, and it makes one wince. The sense would not have been changed by omitting it. It would have been changed a lot. However, I agree about the offensiveness of the language, the same effect could have been achieved with a less offensive term. -- Neil Bothwick We are from the planet Taglinis. Take us to your reader! signature.asc Description: PGP signature
Re: [gentoo-user] A tiny titillating taste of grub2
On Wed, 12 Jan 2011 17:49:52 -0600, Dale wrote: What can change? We are stuck with a hardware spec from 30 years ago for booting. That won't change any time soon. File systems for one. They do make new ones every once in a while. ' That's the one area ion which GRUB may need an update. Fortunately, it's filesystem handling is modular. That's completely different. HAL had to deal with varying hardware and varying requirement of the software that wanted to interface with that hardware. OK. Hal has to deal with different hardware. Doesn't grub work on different hardware too? No. Hard disks are hard disks, BIOSes are BIOSes. If that changed, the World would fall apart. That's why you can get a kernel panic if you forgot to build your SATA controller's drivers into the kernel, but GRUB quite happily loaded the same kernel from the same disk. Unlike the operating system, it doesn't really care about the details of the hardware. All computers are not the same. We also don't know what will be out in a few years either. We do, and it will be compatible with what we have now. I don't want to use grub2. As I said, I'll switch when I know it is safe to do so or when the old grub stops working, whichever comes first. Grub does have to work with the BIOS but there is more to it than that. It has to work with the file systems too. Yes, and that's it. When you want to boot from a BTRFS or ZFS filesystem, GRUB will need patching, but that's about it. Remember, GRUB is a very simple, one task tool, like a hammer. Unless someone invents helical nails, it will continue to do its job forever[1]. [1] for reasonable values of forever. -- Neil Bothwick Love is grand. Divorce is a few grand more. signature.asc Description: PGP signature
Re: [gentoo-user] grub installation problem
Le 12/01/2011 22:48, Stroller a écrit : On 12/1/2011, at 6:14pm, Jacques Montier wrote: ... after chroot, i can install every package except grub in /boot. I get the message : your boot partition, detected as being mounted as /boot, is read-only. Remounting it in read-write mode ... Then the error message : failed to create symbolic link `//boot/boot` : Read-only file system. Have you tried rebooting and chrooting in again? It sound like maybe (wild-ass guess) you forgot to do the `mount -t proc proc /mnt/gentoo/proc mount -o bind /dev /mnt/gentoo/dev` part or something like this. Stroller. What i did this morning : - boot from a sysrescuecd cdrom. I have 4 partitions for boot, /, usr and home, so : - mount /dev/sda6 /mnt/gentoo - mount /dev/sda3 /mnt/gentoo/boot - mount /dev/sda7 /mnt/gentoo/usr - mount /dev/sda8 /mnt/gentoo/home - mount -t proc proc /mnt/gentoo/proc - mount -o bind /dev /mnt/gentoo/dev - cd /mnt/gentoo - chroot /mnt/gentoo /bin/bash - emerge grub So grub-0.97-r10 is installed, but grub can't create grub directory beause of read-only boot partition... I tried - export DONT_MOUNT_BOOT - emerge grub But no success... -- Jacques
Re: [gentoo-user] grub installation problem
Jacques Montier wrote: What i did this morning : - boot from a sysrescuecd cdrom. I have 4 partitions for boot, /, usr and home, so : - mount /dev/sda6 /mnt/gentoo - mount /dev/sda3 /mnt/gentoo/boot - mount /dev/sda7 /mnt/gentoo/usr - mount /dev/sda8 /mnt/gentoo/home - mount -t proc proc /mnt/gentoo/proc - mount -o bind /dev /mnt/gentoo/dev - cd /mnt/gentoo - chroot /mnt/gentoo /bin/bash - emerge grub So grub-0.97-r10 is installed, but grub can't create grub directory beause of read-only boot partition... I tried - export DONT_MOUNT_BOOT - emerge grub But no success... -- Jacques Try typing in mount with no options and see what it says. Does it say it is mounted (rw) or (ro)? Does the file system match what you formatted it with? Dale :-) :-)
Re: [gentoo-user] grub installation problem
Le 13/01/2011 10:59, Dale a écrit : Jacques Montier wrote: What i did this morning : - boot from a sysrescuecd cdrom. I have 4 partitions for boot, /, usr and home, so : - mount /dev/sda6 /mnt/gentoo - mount /dev/sda3 /mnt/gentoo/boot - mount /dev/sda7 /mnt/gentoo/usr - mount /dev/sda8 /mnt/gentoo/home - mount -t proc proc /mnt/gentoo/proc - mount -o bind /dev /mnt/gentoo/dev - cd /mnt/gentoo - chroot /mnt/gentoo /bin/bash - emerge grub So grub-0.97-r10 is installed, but grub can't create grub directory beause of read-only boot partition... I tried - export DONT_MOUNT_BOOT - emerge grub But no success... -- Jacques Try typing in mount with no options and see what it says. Does it say it is mounted (rw) or (ro)? Does the file system match what you formatted it with? Dale :-) :-) It's strange. When i mount the boot partition /dev/sda3, this one is (rw) ; i make test directory with success. As soon as i run emerge grub, the boot partition become (ro) and can't create directory ; i can't make test directory anymore. So i tried something very dirty ... I unmounted the boot partition, so the boot directory in / is empty. I emerge grub with success and get the grub directory i could backup. I mount the boot partition et copy the grub directory into /boot. I edit the grub.conf and it works ; Gentoo's booting... It works but i don't like the process at all... It's the first time i encount such a problem about grub. -- Jacques
Re: [gentoo-user] Strange problem with audio CDs
On 01/13/11 18:12, J. Roeleveld wrote: On Thursday 13 January 2011 07:12:48 Jake Moe wrote: If you're talking about proper Audio-CD as one that's audio-only, no mixed data in there as well, then yes, I'm sure. And I have over 500 CDs; I can't test them all. :-P But yeah, a selection of CDs have all had the same result. And only on Linux; the same CDs have read fine from Windows. 500, that's a bit more then I have :) Heh, yeah, well I've been collecting them for around 20 years now. Since shortly after they were introduced. I stopped counting at 500. The mp3 error screenshot was trying to copy the MP3 files from the CD through Konqueror's audiocd:\ location to my hard drive. I assume Konqueror tries to auto-convert the CD tracks to MP3s on the fly. The log file I had attached should have been called messages.bz2; it's the kernel log file. Yes, I noticed similar behaviour last time I used MS Windows to play audio- CDs. I believe MS Windows 98 (yes, that long ago) used to present them as *.WAV-files, Don't know if you've ever used Konqueror, but if you go to the address audiocd:/, it gives you a load of folders like MP3 and OGG and FLAC, along with a wav file for each track. So you can either copy the files as WAV, or go into one of the folders and copy out MP3, OGG, etc. It's just that Konqueror does the extraction/conversion for you. Which, from memory, is different that Win98. IIRC, Win98 used to present CDs as 1KB cda files. I could be wrong, though... Oh, and I only own a few CDs that have DRM on them. And no, they weren't the ones that I've tested. Ok, it was the first thing that came to mind. How far does cdparanoia get? That's the tool I generally use and it has always worked for me. Even with DRM'd CDs. -- Joost How very odd. As soon as I put the CD into the drive, I get the same raft of error messages in /var/log/messages. But when I run 'cdparanoia 1', it starts outputting to cdda.wav as normal. Now why would cdparanoia work, even though the kernel doesn't seem to like the CD? Does this tell us anything that might help me play the CDs? Jake Moe
Re: [gentoo-user] grub installation problem
Jacques Montier wrote: Le 13/01/2011 10:59, Dale a écrit : Jacques Montier wrote: What i did this morning : - boot from a sysrescuecd cdrom. I have 4 partitions for boot, /, usr and home, so : - mount /dev/sda6 /mnt/gentoo - mount /dev/sda3 /mnt/gentoo/boot - mount /dev/sda7 /mnt/gentoo/usr - mount /dev/sda8 /mnt/gentoo/home - mount -t proc proc /mnt/gentoo/proc - mount -o bind /dev /mnt/gentoo/dev - cd /mnt/gentoo - chroot /mnt/gentoo /bin/bash - emerge grub So grub-0.97-r10 is installed, but grub can't create grub directory beause of read-only boot partition... I tried - export DONT_MOUNT_BOOT - emerge grub But no success... -- Jacques Try typing in mount with no options and see what it says. Does it say it is mounted (rw) or (ro)? Does the file system match what you formatted it with? Dale :-) :-) It's strange. When i mount the boot partition /dev/sda3, this one is (rw) ; i make test directory with success. As soon as i run emerge grub, the boot partition become (ro) and can't create directory ; i can't make test directory anymore. So i tried something very dirty ... I unmounted the boot partition, so the boot directory in / is empty. I emerge grub with success and get the grub directory i could backup. I mount the boot partition et copy the grub directory into /boot. I edit the grub.conf and it works ; Gentoo's booting... It works but i don't like the process at all... It's the first time i encount such a problem about grub. -- Jacques I'm glad you got it working but something is not right somewhere. I would try to emerge grub, install and all that again to make sure everything is stable. Also, when you are booted into Gentoo, not the CD, type in the mount command and see if it shows it is mounted properly. Sort of give things a good testing. I would hate for this to come back and bite you later on. I'm not sure if it is grub or not but something is fishy somewhere. Grub has been stable for a long time. Dale :-) :-)
Re: [gentoo-user] Strange problem with audio CDs
On Thursday 13 January 2011 11:33:09 Jake Moe wrote: On 01/13/11 18:12, J. Roeleveld wrote: On Thursday 13 January 2011 07:12:48 Jake Moe wrote: If you're talking about proper Audio-CD as one that's audio-only, no mixed data in there as well, then yes, I'm sure. And I have over 500 CDs; I can't test them all. :-P But yeah, a selection of CDs have all had the same result. And only on Linux; the same CDs have read fine from Windows. 500, that's a bit more then I have :) Heh, yeah, well I've been collecting them for around 20 years now. Since shortly after they were introduced. I stopped counting at 500. The mp3 error screenshot was trying to copy the MP3 files from the CD through Konqueror's audiocd:\ location to my hard drive. I assume Konqueror tries to auto-convert the CD tracks to MP3s on the fly. The log file I had attached should have been called messages.bz2; it's the kernel log file. Yes, I noticed similar behaviour last time I used MS Windows to play audio- CDs. I believe MS Windows 98 (yes, that long ago) used to present them as *.WAV-files, Don't know if you've ever used Konqueror, but if you go to the address audiocd:/, it gives you a load of folders like MP3 and OGG and FLAC, along with a wav file for each track. So you can either copy the files as WAV, or go into one of the folders and copy out MP3, OGG, etc. It's just that Konqueror does the extraction/conversion for you. As far as I know, that requires the multimedia kioslaves to work. I wonder if it's possible to have that use a different CDDA-tool? Which, from memory, is different that Win98. IIRC, Win98 used to present CDs as 1KB cda files. I could be wrong, though... Last time I used MS Windows at home for anything other then games was around 1998 and that's quite a while ago... Oh, and I only own a few CDs that have DRM on them. And no, they weren't the ones that I've tested. Ok, it was the first thing that came to mind. How far does cdparanoia get? That's the tool I generally use and it has always worked for me. Even with DRM'd CDs. -- Joost How very odd. As soon as I put the CD into the drive, I get the same raft of error messages in /var/log/messages. But when I run 'cdparanoia 1', it starts outputting to cdda.wav as normal. Now why would cdparanoia work, even though the kernel doesn't seem to like the CD? Does this tell us anything that might help me play the CDs? Jake Moe Can you actually play that wav-file? Or is it just a collection of garbage? As far as I know, CD-Paranoia access the cd-drive a bit more directly then other tools. Eg. it approaches it like a CD-ROM, rather then CD-Audio. The error messages appear as soon as you put the CD into the drive? Am wondering if some auto-mounting tool is trying to access it and is causing problems here. Do you also get those messages when you disable all KDE/Gnome/X/... and related stuff? Personally, I tend to use cdparanoia and other tools to generate OGG or MP3 files and store them on a fileserver and play them from there. -- Joost
Re: [gentoo-user] grub installation problem
Le 13/01/2011 11:36, Dale a écrit : Jacques Montier wrote: Le 13/01/2011 10:59, Dale a écrit : Jacques Montier wrote: What i did this morning : - boot from a sysrescuecd cdrom. I have 4 partitions for boot, /, usr and home, so : - mount /dev/sda6 /mnt/gentoo - mount /dev/sda3 /mnt/gentoo/boot - mount /dev/sda7 /mnt/gentoo/usr - mount /dev/sda8 /mnt/gentoo/home - mount -t proc proc /mnt/gentoo/proc - mount -o bind /dev /mnt/gentoo/dev - cd /mnt/gentoo - chroot /mnt/gentoo /bin/bash - emerge grub So grub-0.97-r10 is installed, but grub can't create grub directory beause of read-only boot partition... I tried - export DONT_MOUNT_BOOT - emerge grub But no success... -- Jacques Try typing in mount with no options and see what it says. Does it say it is mounted (rw) or (ro)? Does the file system match what you formatted it with? Dale :-) :-) It's strange. When i mount the boot partition /dev/sda3, this one is (rw) ; i make test directory with success. As soon as i run emerge grub, the boot partition become (ro) and can't create directory ; i can't make test directory anymore. So i tried something very dirty ... I unmounted the boot partition, so the boot directory in / is empty. I emerge grub with success and get the grub directory i could backup. I mount the boot partition et copy the grub directory into /boot. I edit the grub.conf and it works ; Gentoo's booting... It works but i don't like the process at all... It's the first time i encount such a problem about grub. -- Jacques I'm glad you got it working but something is not right somewhere. I would try to emerge grub, install and all that again to make sure everything is stable. Also, when you are booted into Gentoo, not the CD, type in the mount command and see if it shows it is mounted properly. Sort of give things a good testing. I would hate for this to come back and bite you later on. I'm not sure if it is grub or not but something is fishy somewhere. Grub has been stable for a long time. Dale :-) :-) I re-emerged grub in Gentoo with my separated (sda3) boot partition mounted and now it works ! I don't understand... Jacques
Re: [gentoo-user] Strange problem with audio CDs
J. Roeleveld jo...@antarean.org wrote: Can you actually play that wav-file? Or is it just a collection of garbage? As far as I know, CD-Paranoia access the cd-drive a bit more directly then other tools. Eg. it approaches it like a CD-ROM, rather then CD-Audio. You are mistaken, cdparanoia is a patch on a really outdated cdda2wav (from 1997) and it is limited to the DAE quality of the kernel drivers. In year 2000, cdda2wav was renewed to use libscg for sending RAW pass-through SCSI commands directly to the drives. cdda23wav for this reason can make use of special knowlede for various drives and deliveres the best DAE quality on Linux I am aware of. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Strange problem with audio CDs
On Thursday 13 January 2011 12:07:02 Joerg Schilling wrote: J. Roeleveld jo...@antarean.org wrote: Can you actually play that wav-file? Or is it just a collection of garbage? As far as I know, CD-Paranoia access the cd-drive a bit more directly then other tools. Eg. it approaches it like a CD-ROM, rather then CD-Audio. You are mistaken, cdparanoia is a patch on a really outdated cdda2wav (from 1997) and it is limited to the DAE quality of the kernel drivers. Ok, I stand corrected. I did, however, always have more succes ripping music from audio-cds with cdparanoia then with other tools I tried. In year 2000, cdda2wav was renewed to use libscg for sending RAW pass-through SCSI commands directly to the drives. cdda23wav for this reason can make use of special knowlede for various drives and deliveres the best DAE quality on Linux I am aware of. Will have to look into these :) -- Joost
Re: [gentoo-user] grub installation problem
Jacques Montier wrote: I re-emerged grub in Gentoo with my separated (sda3) boot partition mounted and now it works ! I don't understand... Jacques I wonder if it is a bug or something in the CD you booted? I recently booted systemrescue CD and it worked fine but I didn't try to install grub. I think I used Knoppix for my install. About any of those should work tho. The only thing I can think of is some difference in the file system utilities, kernel the CD uses or something like that. Maybe someone will come along with more ideas. Whatever it is, we do need to figure it out. If it is some sort of bug, it needs to be fixed. Dale :-) :-)
Re: [gentoo-user] Strange problem with audio CDs
On Thursday 13 January 2011 12:07:02 Joerg Schilling wrote: J. Roeleveld jo...@antarean.org wrote: Can you actually play that wav-file? Or is it just a collection of garbage? As far as I know, CD-Paranoia access the cd-drive a bit more directly then other tools. Eg. it approaches it like a CD-ROM, rather then CD-Audio. You are mistaken, cdparanoia is a patch on a really outdated cdda2wav (from 1997) and it is limited to the DAE quality of the kernel drivers. In year 2000, cdda2wav was renewed to use libscg for sending RAW pass-through SCSI commands directly to the drives. cdda23wav for this reason can make use of special knowlede for various drives and deliveres the best DAE quality on Linux I am aware of. Jörg Jörg, From the FAQ on cdparanoia's website (http://xiph.org/paranoia/faq.html) it looks like that it's not based on cdda2wav, but actually uses a re-write of cdda2wav since January 1998. If this is the case, does it still have inferior quality compared to cdda23wav? -- Joost
Re: [gentoo-user] grub installation problem
On Thursday 13 January 2011 12:17:24 Dale wrote: Jacques Montier wrote: I re-emerged grub in Gentoo with my separated (sda3) boot partition mounted and now it works ! I don't understand... Jacques I wonder if it is a bug or something in the CD you booted? I recently booted systemrescue CD and it worked fine but I didn't try to install grub. I think I used Knoppix for my install. About any of those should work tho. The only thing I can think of is some difference in the file system utilities, kernel the CD uses or something like that. Maybe someone will come along with more ideas. Whatever it is, we do need to figure it out. If it is some sort of bug, it needs to be fixed. Dale :-) :-) Dale, You might be on to something here. :) Jacques, which CD did you boot from? And where did you get the ISO from? I tend to use the ISO-images from gentoo.org and haven't noticed this issue myself before. -- Joost
Re: [gentoo-user] Strange problem with audio CDs
J. Roeleveld jo...@antarean.org wrote: From the FAQ on cdparanoia's website (http://xiph.org/paranoia/faq.html) it looks like that it's not based on cdda2wav, but actually uses a re-write of cdda2wav since January 1998. If this is the case, does it still have inferior quality compared to cdda23wav? This is not true, it uses the mainly unmodified code from cdda2wav and just added the paranoia code (written nonportably and such only usable if you compile with gcc on Linux and a few other OS) and cdparanoia restructured the open device code compared to the old cdda2wav. cdda2wav gives inferior quality compared to cdparanoia and is still actively maintained. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] A tiny titillating taste of grub2
On 2011-01-13 10:41, Neil Bothwick wrote: No. Hard disks are hard disks, BIOSes are BIOSes. If that changed, the World would fall apart. That's why you can get a kernel panic if you forgot to build your SATA controller's drivers into the kernel, but GRUB quite happily loaded the same kernel from the same disk. Unlike the operating system, it doesn't really care about the details of the hardware. If I remember correctly, grub (legacy) is not compatible with EFI or GPT... Best regards Peter K
Re: [gentoo-user] Strange problem with audio CDs
J. Roeleveld jo...@antarean.org wrote: On Thursday 13 January 2011 12:07:02 Joerg Schilling wrote: J. Roeleveld jo...@antarean.org wrote: Can you actually play that wav-file? Or is it just a collection of garbage? As far as I know, CD-Paranoia access the cd-drive a bit more directly then other tools. Eg. it approaches it like a CD-ROM, rather then CD-Audio. You are mistaken, cdparanoia is a patch on a really outdated cdda2wav (from 1997) and it is limited to the DAE quality of the kernel drivers. Ok, I stand corrected. I did, however, always have more succes ripping music from audio-cds with cdparanoia then with other tools I tried. Then you did probably not recently try cdda2wav. After the development for cdparanoia stopped in year 2000, cdda2wav integrated the important code parts from cdparanoia into cdda2wav by creating a portable library libparanoia in April 2002. Since then, cdda2wav combines the best features from both commands. If you like to tell cdda2wav to use the paranoia code, just call cdda2wav -paranoia. Cdda2wav is able to read many CDs that cannot be read by cdparanoia at all. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Strange problem with audio CDs
On Thursday 13 January 2011 13:37:04 Joerg Schilling wrote: J. Roeleveld jo...@antarean.org wrote: From the FAQ on cdparanoia's website (http://xiph.org/paranoia/faq.html) it looks like that it's not based on cdda2wav, but actually uses a re-write of cdda2wav since January 1998. If this is the case, does it still have inferior quality compared to cdda23wav? This is not true, it uses the mainly unmodified code from cdda2wav and just added the paranoia code (written nonportably and such only usable if you compile with gcc on Linux and a few other OS) and cdparanoia restructured the open device code compared to the old cdda2wav. cdda2wav gives inferior quality compared to cdparanoia and is still actively maintained. Jörg Thank you :) I never really checked, just found that it worked better then other tools that were available when I wanted to convert my CDs to MP3. I'll look into the others and see if I actually hear a difference personally. If yes, I'll have another project... -- Joost
Re: [gentoo-user] A tiny titillating taste of grub2
On Thu, 13 Jan 2011 14:00:45 +0100, pk wrote: If I remember correctly, grub (legacy) is not compatible with EFI or GPT... That's right, so GRUB's current lifespan will end when we use those methods exclusively. This won't happen soon. I'd be more than happy for GRUB1 to become obsolete if it means we get away from the current booting methods, but I'm not holding my breath. -- Neil Bothwick Facts are stubborn things, but statistics are more pliable. - Mark Twain signature.asc Description: PGP signature
Re: [gentoo-user] Strange problem with audio CDs
On Thu, 13 Jan 2011 13:37:04 +0100, Joerg Schilling wrote: cdda2wav gives inferior quality compared to cdparanoia and is still actively maintained. Did you really mean to write that? -- Neil Bothwick Never sleep with anyone crazier than yourself. signature.asc Description: PGP signature
Re: [gentoo-user] Strange problem with audio CDs
wick n...@digimed.co.uk: On Thu, 13 Jan 2011 13:37:04 +0100, Joerg Schilling wrote: cdda2wav gives inferior quality compared to cdparanoia and is still actively maintained. Did you really mean to write that? Probably s/inferior/superior/ -- Daniel Pielmeier
Re: [gentoo-user] Strange problem with audio CDs
Neil Bothwick n...@digimed.co.uk wrote: On Thu, 13 Jan 2011 13:37:04 +0100, Joerg Schilling wrote: cdda2wav gives inferior quality compared to cdparanoia and is still actively maintained. Did you really mean to write that? Of course: no, I wanted to write superior ;-) Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Strange problem with audio CDs
On Thu, 13 Jan 2011 15:25:08 +0100, Joerg Schilling wrote: cdda2wav gives inferior quality compared to cdparanoia and is still actively maintained. Did you really mean to write that? Of course: no, I wanted to write superior ;-) As a sales pitch, it did seem rather lacking ;-) -- Neil Bothwick WinErr 042: Virus error - A virus has been activated in a dos-box. The virus, however, requires Windows. All tasks will automatically be closed and the virus will be activated again. signature.asc Description: PGP signature
Re: [SOLVED]Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.
On 01/12/2011 07:25 PM, Valmor de Almeida wrote: On 01/12/2011 10:57 AM, Mark Knecht wrote: On Wed, Jan 12, 2011 at 6:46 AM, Mark Knecht markkne...@gmail.com wrote: SNIP If not BIOS then I'd look at kernel config next. - Mark If it helps here's my 2.6.36-r6 .config. Cheers, Mark Thanks for the posting. I have CONFIG_HAVE_KVM=y CONFIG_VIRTUALIZATION=y on my config and did a shut down followed by a fresh boot. Everything is fine I am currently building a virtual Windows 7 machine. So was it then your kernel configuration, not your BIOS? Are those the only two changes you needed to make?
Re: [gentoo-user] A tiny titillating taste of grub2
On 13 January 2011 13:12, Neil Bothwick n...@digimed.co.uk wrote: On Thu, 13 Jan 2011 14:00:45 +0100, pk wrote: If I remember correctly, grub (legacy) is not compatible with EFI or GPT... That's right, so GRUB's current lifespan will end when we use those methods exclusively. This won't happen soon. I'd be more than happy for GRUB1 to become obsolete if it means we get away from the current booting methods, but I'm not holding my breath. Coming in a bit late into this ... The dictionary is trying to use synonyms, which may only partially overlap in meaning. This is to be expected in a same-language dictionary, if tautologies are to be avoided (i.e. rain = when it rains, ha!) Finished is a term and would most likely refer to the duration of an activity, or a temporal attribute of it; e.g. this thang is finished! (meaning end-of-life, life-expired). Complete on the other hand does not necessarily refer to a time related attribute, but more likely to a qualitative attribute, i.e. complete relevant to specification, requirements, expectations, shape, etc. There is some interchangeability in the two (e.g. I have completed this task, or the finishing of the whiskey) but if you lift the bonnet (aheam! hood) to look at the engine then the time/quality differentiator is there. PS. Sorry, no citations ... :-p -- Regards, Mick
Re: [gentoo-user] Strange problem with audio CDs
Neil Bothwick n...@digimed.co.uk wrote: On Thu, 13 Jan 2011 15:25:08 +0100, Joerg Schilling wrote: cdda2wav gives inferior quality compared to cdparanoia and is still actively maintained. Did you really mean to write that? Of course: no, I wanted to write superior ;-) As a sales pitch, it did seem rather lacking ;-) Which program does lack what? Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily -.
Re: [gentoo-user] grub installation problem
Le 13/01/2011 12:28, J. Roeleveld a écrit : On Thursday 13 January 2011 12:17:24 Dale wrote: Jacques Montier wrote: I re-emerged grub in Gentoo with my separated (sda3) boot partition mounted and now it works ! I don't understand... Jacques I wonder if it is a bug or something in the CD you booted? I recently booted systemrescue CD and it worked fine but I didn't try to install grub. I think I used Knoppix for my install. About any of those should work tho. The only thing I can think of is some difference in the file system utilities, kernel the CD uses or something like that. Maybe someone will come along with more ideas. Whatever it is, we do need to figure it out. If it is some sort of bug, it needs to be fixed. Dale :-) :-) Dale, You might be on to something here. :) Jacques, which CD did you boot from? And where did you get the ISO from? I tend to use the ISO-images from gentoo.org and haven't noticed this issue myself before. -- Joost I booted from sysrescueCD and i didn't use any iso but stage3*.tar.bz2 and latest portage*.tar.bz2 from French Gentoo mirror. Then i follwed the Gentoo manual as usual. -- Jacques
Re: [gentoo-user] grub installation problem
On 13 January 2011 16:17, Jacques Montier jacques.mont...@numericable.fr wrote: Le 13/01/2011 12:28, J. Roeleveld a écrit : On Thursday 13 January 2011 12:17:24 Dale wrote: Jacques Montier wrote: I re-emerged grub in Gentoo with my separated (sda3) boot partition mounted and now it works ! I don't understand... For next time you want to chroot: First mount /dev/sdaX /mnt gentoo and then mount /proc and /dev just like the manual says. After that mount all the other partitions. You would not have a problem with /boot. This is because /proc contains info on environment variables and devices mounted, hardware configuration, etc Without it the kernel functionality is not complete and errors will show up sooner or later. Ditto with /dev. -- Regards, Mick
Re: [gentoo-user] Strange problem with audio CDs
On 2011-01-13 16:01, Joerg Schilling wrote: Which program does lack what? As I understand it, he refered to what you wrote (i.e. the sales pitch) not to any program... But I'm a bit curious about how cdparanoia and cdda2wav can be inferior/superior at all; they both read the same _digital_ data no? MfG Peter K
Re: [gentoo-user] A tiny titillating taste of grub2
On 2011-01-13 14:12, Neil Bothwick wrote: That's right, so GRUB's current lifespan will end when we use those methods exclusively. This won't happen soon. Intel is pushing (U)EFI... http://www.taranfx.com/bios-death-uefi http://www.hardcoreware.net/msi-using-uefi-sandy-bridge/ Best regards Peter K
Re: [gentoo-user] Strange problem with audio CDs
pk pete...@coolmail.se wrote: On 2011-01-13 16:01, Joerg Schilling wrote: Which program does lack what? As I understand it, he refered to what you wrote (i.e. the sales pitch) not to any program... But I'm a bit curious about how cdparanoia and cdda2wav can be inferior/superior at all; they both read the same _digital_ data no? cdparanoia calls the kernel ioctl interface for DAE and this is definitely inferior to what cdda2wav does. cdda2wav nows aabout vendor unique SCSI commands that give better results and it knows about various defects and deviations from the Red book standard. With this knowledge, it is able to extract things typically better and in many cases it is able to read the CD at all even though the kernel ictl interface will fail due to massive redbook deviations on the medium. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de(uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Re: [gentoo-user] Web Server Memory Issues
On 12/1/2011, at 10:47pm, Kaddeh wrote: ... First, addressing the SQL issue and why I think that that could be one of the causes. The entire site, for the most part is all in one giant DB (~9GB) a significant part of that is a 3gb table full of raw image data (yes, I know that this is a REALLY bad idea to do, but I didn't design the site, I just did a migration to off-site) that being said, there could be a problem with that. I think I may have heard database guys argue for keeping image data in the DB. I'm not sure that it's always a bad idea. However: how much swap do you have? If you have a 12GB swap file, perhaps you will no longer see this problem? Stroller.
Re: [SOLVED]Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.
On Wed, Jan 12, 2011 at 7:25 PM, Valmor de Almeida val.gen...@gmail.com wrote: On 01/12/2011 10:57 AM, Mark Knecht wrote: On Wed, Jan 12, 2011 at 6:46 AM, Mark Knecht markkne...@gmail.com wrote: SNIP If not BIOS then I'd look at kernel config next. - Mark If it helps here's my 2.6.36-r6 .config. Cheers, Mark Thanks for the posting. I have CONFIG_HAVE_KVM=y CONFIG_VIRTUALIZATION=y on my config and did a shut down followed by a fresh boot. Everything is fine I am currently building a virtual Windows 7 machine. Thanks again. -- Valmor Very glad it helped. Enjoy! Cheers, Mark
Re: [gentoo-user] grub installation problem
Le 13/01/2011 17:41, Mick a écrit : On 13 January 2011 16:17, Jacques Montier jacques.mont...@numericable.fr wrote: Le 13/01/2011 12:28, J. Roeleveld a écrit : On Thursday 13 January 2011 12:17:24 Dale wrote: Jacques Montier wrote: I re-emerged grub in Gentoo with my separated (sda3) boot partition mounted and now it works ! I don't understand... For next time you want to chroot: First mount /dev/sdaX /mnt gentoo and then mount /proc and /dev just like the manual says. After that mount all the other partitions. You would not have a problem with /boot. This is because /proc contains info on environment variables and devices mounted, hardware configuration, etc Without it the kernel functionality is not complete and errors will show up sooner or later. Ditto with /dev. Ok, now i understand YES ! Thank you very much to all of you ! After complete installation (i just got X working), i backup and then i try as you said. Cheers, -- Jacques
Re: [gentoo-user] Web Server Memory Issues
I have a standard 2x RAM swap size of 4gb. The problem that I am seeing though is that the applications (MySQL and apache) are segfaulting -before- the system starts to swap, almost where they have an aversion to using swap. Cheers Kad On Thu, Jan 13, 2011 at 9:34 AM, Stroller strol...@stellar.eclipse.co.ukwrote: On 12/1/2011, at 10:47pm, Kaddeh wrote: ... First, addressing the SQL issue and why I think that that could be one of the causes. The entire site, for the most part is all in one giant DB (~9GB) a significant part of that is a 3gb table full of raw image data (yes, I know that this is a REALLY bad idea to do, but I didn't design the site, I just did a migration to off-site) that being said, there could be a problem with that. I think I may have heard database guys argue for keeping image data in the DB. I'm not sure that it's always a bad idea. However: how much swap do you have? If you have a 12GB swap file, perhaps you will no longer see this problem? Stroller.
Re: [gentoo-user] Strange problem with audio CDs
On 2011-01-13 17:54, Joerg Schilling wrote: cdda2wav nows aabout vendor unique SCSI commands that give better results and it knows about various defects and deviations from the Red book standard. With this knowledge, it is able to extract things typically better and in many cases it is able to read the CD at all even though the kernel ictl interface will fail due to massive redbook deviations on the medium. Ok, thanks for the explanation! It's a bit disappointing that there are deviations from the red book standard though... MfG Peter K
Re: [SOLVED]Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.
On 01/13/2011 09:58 AM, Bill Longman wrote: On 01/12/2011 07:25 PM, Valmor de Almeida wrote: On 01/12/2011 10:57 AM, Mark Knecht wrote: On Wed, Jan 12, 2011 at 6:46 AM, Mark Knecht markkne...@gmail.com wrote: SNIP If not BIOS then I'd look at kernel config next. - Mark If it helps here's my 2.6.36-r6 .config. Cheers, Mark Thanks for the posting. I have CONFIG_HAVE_KVM=y CONFIG_VIRTUALIZATION=y on my config and did a shut down followed by a fresh boot. Everything is fine I am currently building a virtual Windows 7 machine. So was it then your kernel configuration, not your BIOS? Are those the only two changes you needed to make? I think I had the CONFIG flags set to Y already. The BIOS change and a shut down before booting was what apparently solved it. I shutdown the laptop and went to bed, the next morning after booting the machine I fired up vbox and all worked. I have now a fully functional Windows7 virtual machine; it is impressive how fast it boots and shuts down as virtual machine; also everything seems to work robustly. I installed goggle scketch up under Win7 and it works nicely. Thanks for the inputs. -- Valmor
Re: [gentoo-user] xen-sources and igb (intel network) driver
On 01/11/2011 03:09 PM, Konstantinos Agouros wrote: In 1294686017.7979@rumba elw...@agouros.de (Konstantinos Agouros) writes: Hi, I just upgraded my box to a phenom and an intel quad gbit card. The card is a 82575GB. It is recognized (I use xen-sources 2.6.34-r4) and also tried the latest driver available at intel (2.4.12). Ifconfig show the interfaces mac addresses etc. However I do not get a link. Neither on a switch nor on a laptop with gbit interface. I found googling that there seems to be an issue with xen and this card/ chip. Anybody knows a way out of it? Especially since the card should have some virtualization optimizations? OK more googling gave me the answer: ethtool -K tx off Now the question is: what is the 'gentooest' way to put this into /etc/conf.d/net? From reading the example file I would guess a preup() function. Also: is /etc/conf.d/net the place to put in the bridge definitions for the xen guests? If yes, how do I get it to create empty bridges for inter- guest communications? Regards, Konstantin - brctl_br0=( setfd 0 sethello 0 stp on ) config_br0=( aa.bb.cc.dd netmask dd.ee.ff.gg broadcast hh.ii.jj.kk ) routes_br0=( default via ll.mm.nn.oo ) dns_domain_br0=example.com dns_servers_br0=pp.qq.rr.ss tt.uu.vv.ww dns_search_br0=example.com bridge_add_eth0=br0 config_eth0=( null ) brctl_br1=( setfd 0 sethello 0 stp on ) config_br1=( null ) This should create two bridges: br0 gets the public IP and the physical interface is connected to it br1 can be used to interconnect two VMs without connection to dom0 and the outside world /etc/conf.d/net is super powerfull, and super bad documented :( Bye, Daniel -- PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Strange problem with audio CDs
On Thursday 13 January 2011 19:12:05 pk wrote: On 2011-01-13 17:54, Joerg Schilling wrote: cdda2wav nows aabout vendor unique SCSI commands that give better results and it knows about various defects and deviations from the Red book standard. With this knowledge, it is able to extract things typically better and in many cases it is able to read the CD at all even though the kernel ictl interface will fail due to massive redbook deviations on the medium. Ok, thanks for the explanation! It's a bit disappointing that there are deviations from the red book standard though... MfG Peter K They are easy to spot though as only CDs adhering to the red book standard are legally allowed to display the Audio-CD logo. For the deviations, blame the record companies who still think that people are willing to pay way over the odds for substandard music... -- Joost
Re: [gentoo-user] A tiny titillating taste of grub2
On Thu, Jan 13, 2011 at 7:00 AM, pk pete...@coolmail.se wrote: On 2011-01-13 10:41, Neil Bothwick wrote: No. Hard disks are hard disks, BIOSes are BIOSes. If that changed, the World would fall apart. That's why you can get a kernel panic if you forgot to build your SATA controller's drivers into the kernel, but GRUB quite happily loaded the same kernel from the same disk. Unlike the operating system, it doesn't really care about the details of the hardware. If I remember correctly, grub (legacy) is not compatible with EFI or GPT... I'm using grub-legacy with GPT, but I think Gentoo's version includes some patches. I have no idea if they are in use upstream. I guess if they were, they wouldn't be patches. :)
Re: [gentoo-user] Web Server Memory Issues
On 01/13/2011 09:59 AM, Kaddeh wrote: I have a standard 2x RAM swap size of 4gb. The problem that I am seeing though is that the applications (MySQL and apache) are segfaulting -before- the system starts to swap, almost where they have an aversion to using swap. Are you running 32 bits?
Re: [SOLVED]Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.
On 1/13/2011 10:32 AM, Valmor de Almeida wrote: I think I had the CONFIG flags set to Y already. The BIOS change and a shut down before booting was what apparently solved it. I shutdown the laptop and went to bed, the next morning after booting the machine I fired up vbox and all worked. I have now a fully functional Windows7 virtual machine; it is impressive how fast it boots and shuts down as virtual machine; also everything seems to work robustly. I installed goggle scketch up under Win7 and it works nicely. Thanks for the inputs. I've read a couple of threads about losing 64bit VM support after a machine goes to sleep. Rebooting fixes the problem temporarily. If you notice that behavior you may want to go ahead with any BIOS upgrade to see if that fixes it. kashani
Re: [gentoo-user] Web Server Memory Issues
On 1/12/2011 10:59 AM, Kaddeh wrote: So, I have run into an interesting problem while building out a web server for a client which I haven't come across before and I was hoping that the list would be a good way for me to find the answer. A little beckground on the systems: P4 @ 3.0Ghz 2GB PC2 4200 2x 250GB drives in RAID1 The system configurations are default for the most part with the server running MySQL and Apache. The problem that I am running into at this point, however is that the machine seems to run out of memory and will segfault either apache or mysql when does so, when apache segfaults, it is a recoverable error, when mysql does it, mysql can't recover short of restarting it. At this point, I have found a soft fix by running a cron job every 6 hours or so to clear the cached memory, which seems to be the problem, however, I would like to find a more permanent fix to this issue. Anything that would help at this point would be much appreciated. Cheers Kad Overall I'd expect your Mysql is running slow, which causes Apache to back up, which create more Apache children while your code blocks on the db, which then uses all the RAM. 1. Assuming you're running prefork, Turn KeepAlives Off if you haven't already. That'll reduce the number of Apache threads sitting around doing nothing but using your RAM. 2. The default my.conf in Gentoo (and nearly all distros) is configured to use 64MB. You should bump this up to 512MB total. The two settings I would touch are the following and THEY ARE SEPARATE POOLS that do not share configured memory with each other. Configure accordingly. innodb_buffer_pool_size = 16M key_buffer = 16M Both variables are dynamic and can be set from with Mysql use set variables key_buffer='1024'; syntax. Assuming you use Innodb tables I'd try 256MB for that setting and 128MB for the key_buffer and see how it goes. 3. Mysql slow query log. Turn it on and look at it. Your db design sounds sketchy at best and I'd be surprised if your weren't seeing a ton of slow queries especially with no db tuning. 4. /tmp is how big? Make sure it's a couple of gigs so that Mysql can build tmp tables in it. Again your db design is strange enough that you might be generating large tmp tables that file /tmp (and / if you haven't separated them) and causes Mysql problems. This is a fairly common problem in my experience. The simplest solution is: sudo mkdid -p /home/mysql sudo chown -R mysql: /home/mysql vi /etc/mysql/my.cnf and change to tmpdir = /home/mysql/ sudo /etc/init.d/mysql restart Yes, tmpdir is *not* a dynamic variable so you will have to restart Mysql to make this change. kashani
Re: [gentoo-user] Web Server Memory Issues
yes, but that should have an effect on swap space. Cheers Kad On Thu, Jan 13, 2011 at 11:56 AM, Bill Longman bill.long...@gmail.comwrote: On 01/13/2011 09:59 AM, Kaddeh wrote: I have a standard 2x RAM swap size of 4gb. The problem that I am seeing though is that the applications (MySQL and apache) are segfaulting -before- the system starts to swap, almost where they have an aversion to using swap. Are you running 32 bits?
[gentoo-user] PHP won't execute
A several years ago I ran a public network out of my apartment. I had email, www, etc. etc. It all worked fine. Then one day a couple of years ago we decided that we could not afford to pay for a public IP address anymore, so we had it turned off. I haven't touched apache since then, but we still run that box as it's faster than all the others and runs distcc well. We had a picture page that I wrote back in 2005 and occassionally when we have company over we use it to show them pictures that we've taken. I went to the site in my web browser this evening, and saw only PHP code printed on the background image. I've checked the usual suspects: carter apache2 # cat /etc/conf.d/apache2 # /etc/conf.d/apache2: config file for /etc/init.d/apache2 # When you install a module it is easy to activate or deactivate the modules # and other features of apache using the APACHE2_OPTS line. Every module should # install a configuration in /etc/apache2/modules.d. In that file will be an # IfDefine NNN where NNN is the option to enable that module. # Here are the options available in the default configuration: # USERDIR Enables /~username mapping to /home/username/public_html # INFO Enables mod_info, a useful module for debugging # PROXY Enables mod_proxy # DAV Enables mod_dav # DAV_FSEnables mod_dav_fs (you should enable this when you enable DAV # unless you know what you are doing) # SSL Enables SSL # SSL_DEFAULT_VHOST Enables default vhost for SSL (you should enable this # when you enable SSL unless you know what you are doing) # LDAP Enables mod_ldap # AUTH_LDAP Enables authentication through mod_ldap # DEFAULT_VHOST Enables the default virtual host in /var/www/localhost/htdocs APACHE2_OPTS=-D DEFAULT_VHOST -D PHP5 -D MAILMAN -D USERDIR # Extended options for advanced uses of Apache ONLY # You don't need to edit these unless you are doing crazy Apache stuff # As not having them set correctly, or feeding in an incorrect configuration # via them will result in Apache failing to start # YOU HAVE BEEN WARNED. # ServerRoot setting #SERVERROOT=/usr/lib/apache2 # Configuration file location # - If this does NOT start with a '/', then it is treated relative to # $SERVERROOT by Apache #CONFIGFILE=/etc/apache2/httpd.conf # Location to log startup errors to # They are normally dumped to your terminal. #STARTUPERRORLOG=/var/log/apache2/startuperror.log # Environment variables to keep # All environment variables are cleared from apache # Use this to preserve some of them # NOTE!!! It's very important that this contains PATH # Also, it will fail if the _value_ of any of these variables contains a space KEEPENV=PATH carter apache2 # cat error_log [Tue Jan 11 03:15:22 2011] [notice] Apache/2.2.16 (Unix) configured -- resuming normal operations [Wed Jan 12 03:00:12 2011] [notice] Graceful restart requested, doing restart [Wed Jan 12 03:00:13 2011] [notice] Apache/2.2.16 (Unix) configured -- resuming normal operations [Thu Jan 13 19:24:28 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/ [Thu Jan 13 19:43:23 2011] [notice] caught SIGTERM, shutting down [Thu Jan 13 19:43:26 2011] [notice] Apache/2.2.16 (Unix) configured -- resuming normal operations [Thu Jan 13 19:43:44 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/ [Thu Jan 13 19:48:06 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php [Thu Jan 13 19:49:53 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php [Thu Jan 13 19:49:56 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php [Thu Jan 13 19:49:59 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php [Thu Jan 13 19:50:02 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php (that $filename reference would have resolved if PHP were executed AS PHP instead of plain text) carter apache2 # ls /home/michael/public_html/camera/ 010105 031706 050706 070707 080905 100304 110804 121107 current thumbnail.php 010506 032008 051610 070905 081710 100507 08 121210 current.phpthumbnail.php~ 011305 032907 060509 071006 090205 101004 112004 121809 directory.php.bak 011409 042608 061608 071405 091105 101405 112206 122404 index.php 020705
Re: [gentoo-user] Strange problem with audio CDs
On 2011-01-13 20:14, J. Roeleveld wrote: They are easy to spot though as only CDs adhering to the red book standard are legally allowed to display the Audio-CD logo. Yeah, I read about Philips talking to the music industry about this a few years ago, claiming they would take them to court (or something) if they didn't adhere to the standard... if they wanted the audio cd logo. For the deviations, blame the record companies who still think that people are willing to pay way over the odds for substandard music... Well, considering IFPI/*AA etc. behaviour I'm thinking of skipping buying anything at all; I can live without (use the ones that I have, which seems to be standard since I've been able to rip them all to my 'puter using cdparanoia). Best regards Peter K
[gentoo-user] PHP won't execute
A several years ago I ran a public network out of my apartment. I had email, www, etc. etc. It all worked fine. Then one day a couple of years ago we decided that we could not afford to pay for a public IP address anymore, so we had it turned off. I haven't touched apache since then, but we still run that box as it's faster than all the others and runs distcc well. We had a picture page that I wrote back in 2005 and occassionally when we have company over we use it to show them pictures that we've taken. I went to the site in my web browser this evening, and saw only PHP code printed on the background image. I've checked the usual suspects: carter apache2 # cat /etc/conf.d/apache2 # /etc/conf.d/apache2: config file for /etc/init.d/apache2 # When you install a module it is easy to activate or deactivate the modules # and other features of apache using the APACHE2_OPTS line. Every module should # install a configuration in /etc/apache2/modules.d. In that file will be an # IfDefine NNN where NNN is the option to enable that module. # Here are the options available in the default configuration: # USERDIR Enables /~username mapping to /home/username/public_html # INFO Enables mod_info, a useful module for debugging # PROXY Enables mod_proxy # DAV Enables mod_dav # DAV_FSEnables mod_dav_fs (you should enable this when you enable DAV # unless you know what you are doing) # SSL Enables SSL # SSL_DEFAULT_VHOST Enables default vhost for SSL (you should enable this # when you enable SSL unless you know what you are doing) # LDAP Enables mod_ldap # AUTH_LDAP Enables authentication through mod_ldap # DEFAULT_VHOST Enables the default virtual host in /var/www/localhost/htdocs APACHE2_OPTS=-D DEFAULT_VHOST -D PHP5 -D MAILMAN -D USERDIR # Extended options for advanced uses of Apache ONLY # You don't need to edit these unless you are doing crazy Apache stuff # As not having them set correctly, or feeding in an incorrect configuration # via them will result in Apache failing to start # YOU HAVE BEEN WARNED. # ServerRoot setting #SERVERROOT=/usr/lib/apache2 # Configuration file location # - If this does NOT start with a '/', then it is treated relative to # $SERVERROOT by Apache #CONFIGFILE=/etc/apache2/httpd.conf # Location to log startup errors to # They are normally dumped to your terminal. #STARTUPERRORLOG=/var/log/apache2/startuperror.log # Environment variables to keep # All environment variables are cleared from apache # Use this to preserve some of them # NOTE!!! It's very important that this contains PATH # Also, it will fail if the _value_ of any of these variables contains a space KEEPENV=PATH carter apache2 # cat error_log [Tue Jan 11 03:15:22 2011] [notice] Apache/2.2.16 (Unix) configured -- resuming normal operations [Wed Jan 12 03:00:12 2011] [notice] Graceful restart requested, doing restart [Wed Jan 12 03:00:13 2011] [notice] Apache/2.2.16 (Unix) configured -- resuming normal operations [Thu Jan 13 19:24:28 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/ [Thu Jan 13 19:43:23 2011] [notice] caught SIGTERM, shutting down [Thu Jan 13 19:43:26 2011] [notice] Apache/2.2.16 (Unix) configured -- resuming normal operations [Thu Jan 13 19:43:44 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/ [Thu Jan 13 19:48:06 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php [Thu Jan 13 19:49:53 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php [Thu Jan 13 19:49:56 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php [Thu Jan 13 19:49:59 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php [Thu Jan 13 19:50:02 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php (that $filename reference would have resolved if PHP were executed AS PHP instead of plain text) carter apache2 # ls /home/michael/public_html/camera/ 010105 031706 050706 070707 080905 100304 110804 121107 current thumbnail.php 010506 032008 051610 070905 081710 100507 08 121210 current.phpthumbnail.php~ 011305 032907 060509 071006 090205 101004 112004 121809 directory.php.bak 011409 042608 061608 071405 091105 101405 112206 122404 index.php 020705
[gentoo-user] how to forbid dhcp for eth0
when i start the kernel, it wait long time to dhcp for eth0: eth0:dhcped 4.0.15 starting eth0:waiting for carrier i want to forbid dhcp,how can i do? -- pete_doherty
Re: [gentoo-user] how to forbid dhcp for eth0
when i start the kernel, it wait long time to dhcp for eth0: eth0:dhcped 4.0.15 starting eth0:waiting for carrier i want to forbid dhcp,how can i do? -- pete_doherty Look at /etc/conf.d/net.example and set a static IP for eth0 or remove /etc/init.d/net.eth0 (to not start the interface).
Re: [gentoo-user] PHP won't execute
On Friday 14 January 2011 04:00:12 Michael Sullivan wrote: A several years ago I ran a public network out of my apartment. I had email, www, etc. etc. It all worked fine. Then one day a couple of years ago we decided that we could not afford to pay for a public IP address anymore, so we had it turned off. I haven't touched apache since then, but we still run that box as it's faster than all the others and runs distcc well. We had a picture page that I wrote back in 2005 and occassionally when we have company over we use it to show them pictures that we've taken. I went to the site in my web browser this evening, and saw only PHP code printed on the background image. I've checked the usual suspects: carter apache2 # cat /etc/conf.d/apache2 # /etc/conf.d/apache2: config file for /etc/init.d/apache2 # When you install a module it is easy to activate or deactivate the modules # and other features of apache using the APACHE2_OPTS line. Every module should # install a configuration in /etc/apache2/modules.d. In that file will be an # IfDefine NNN where NNN is the option to enable that module. # Here are the options available in the default configuration: # USERDIR Enables /~username mapping to /home/username/public_html # INFO Enables mod_info, a useful module for debugging # PROXY Enables mod_proxy # DAV Enables mod_dav # DAV_FSEnables mod_dav_fs (you should enable this when you enable DAV # unless you know what you are doing) # SSL Enables SSL # SSL_DEFAULT_VHOST Enables default vhost for SSL (you should enable this # when you enable SSL unless you know what you are doing) # LDAP Enables mod_ldap # AUTH_LDAP Enables authentication through mod_ldap # DEFAULT_VHOST Enables the default virtual host in /var/www/localhost/htdocs APACHE2_OPTS=-D DEFAULT_VHOST -D PHP5 -D MAILMAN -D USERDIR # Extended options for advanced uses of Apache ONLY # You don't need to edit these unless you are doing crazy Apache stuff # As not having them set correctly, or feeding in an incorrect configuration # via them will result in Apache failing to start # YOU HAVE BEEN WARNED. # ServerRoot setting #SERVERROOT=/usr/lib/apache2 # Configuration file location # - If this does NOT start with a '/', then it is treated relative to # $SERVERROOT by Apache #CONFIGFILE=/etc/apache2/httpd.conf # Location to log startup errors to # They are normally dumped to your terminal. #STARTUPERRORLOG=/var/log/apache2/startuperror.log # Environment variables to keep # All environment variables are cleared from apache # Use this to preserve some of them # NOTE!!! It's very important that this contains PATH # Also, it will fail if the _value_ of any of these variables contains a space KEEPENV=PATH carter apache2 # cat error_log [Tue Jan 11 03:15:22 2011] [notice] Apache/2.2.16 (Unix) configured -- resuming normal operations [Wed Jan 12 03:00:12 2011] [notice] Graceful restart requested, doing restart [Wed Jan 12 03:00:13 2011] [notice] Apache/2.2.16 (Unix) configured -- resuming normal operations [Thu Jan 13 19:24:28 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/ [Thu Jan 13 19:43:23 2011] [notice] caught SIGTERM, shutting down [Thu Jan 13 19:43:26 2011] [notice] Apache/2.2.16 (Unix) configured -- resuming normal operations [Thu Jan 13 19:43:44 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/ [Thu Jan 13 19:48:06 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php [Thu Jan 13 19:49:53 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php [Thu Jan 13 19:49:56 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php [Thu Jan 13 19:49:59 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php [Thu Jan 13 19:50:02 2011] [error] [client 192.168.2.3] File does not exist: /home/michael/public_html/camera/$filename, referer: http://carter.espersunited.com/~michael/camera/index.php (that $filename reference would have resolved if PHP were executed AS PHP instead of plain text) carter apache2 # ls /home/michael/public_html/camera/ 010105 031706 050706 070707 080905 100304 110804 121107 current thumbnail.php 010506 032008 051610 070905 081710 100507 08 121210 current.phpthumbnail.php~
Re: [gentoo-user] how to forbid dhcp for eth0
doherty pete wrote: when i start the kernel, it wait long time to dhcp for eth0: eth0:dhcped 4.0.15 starting eth0:waiting for carrier i want to forbid dhcp,how can i do? -- pete_doherty I'm not sure but would this help? # Some people want a finer grain over hotplug/coldplug. RC_PLUG_SERVICES is a # list of services that are matched in order, either allowing or not. By # default we allow services through as RC_COLDPLUG/RC_HOTPLUG has to be yes # anyway. # Example - RC_PLUG_SERVICES=net.wlan !net.* # This allows net.wlan and any service not matching net.* to be plugged. RC_PLUG_SERVICES= That's in /etc/conf.d/rc. Dale :-) :-)