Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.
On 1/11/2011 11:04 PM, Valmor de Almeida wrote: Hello, I am trying to build a windows 7 guest using virtualbox-ose-3.1.8. When starting the virtual machine to install the OS, I get the warning: VT-x/AMD-V hardware acceleration has been enabled, but is not operational. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot. Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer. I have enabled the following in the BIOS: Intel(R) Virtualization Technology Intel(R) VT-d Feature I have not created a KVM module in the kernel (using gentoo-sources-2.6.34-r12). Is this needed? Couple of things to check. 1. Make sure you've turned on all the related BIOS features that may be related. Sometimes it's more than one or two depending on the manufacturer. 2. Verify that your chip supports 64bit VT. I found out recently that my Intel T6600 while 64bit can only run 32bit guests. 3. You're running vbox 3.1.8 which is stable for x86 while vbox 3.2.12 is stable for amd64. Is your host OS 32bit? kashani
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 02:48 AM, kashani wrote: On 1/11/2011 11:04 PM, Valmor de Almeida wrote: Hello, I am trying to build a windows 7 guest using virtualbox-ose-3.1.8. When starting the virtual machine to install the OS, I get the warning: VT-x/AMD-V hardware acceleration has been enabled, but is not operational. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot. Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer. I have enabled the following in the BIOS: Intel(R) Virtualization Technology Intel(R) VT-d Feature I have not created a KVM module in the kernel (using gentoo-sources-2.6.34-r12). Is this needed? Couple of things to check. 1. Make sure you've turned on all the related BIOS features that may be related. Sometimes it's more than one or two depending on the manufacturer. Those options are the only things available on the BIOS. 2. Verify that your chip supports 64bit VT. I found out recently that my Intel T6600 while 64bit can only run 32bit guests. Okay. Will have to check on that. 3. You're running vbox 3.1.8 which is stable for x86 while vbox 3.2.12 is stable for amd64. Is your host OS 32bit? My gentoo is amd64; yes my portage tree could be updated. - emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r12 x86_64) = System uname: linux-2.6.34-gentoo-r12-x86_64-intel-r-_core-tm-_i7_cpu_l_6...@_2.13ghz-with-gentoo-1.12.14 Timestamp of tree: Sat, 20 Nov 2010 15:45:01 + Thanks, -- Valmor kashani
Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.
On 1/12/2011 12:04 AM, Valmor de Almeida wrote: System uname: linux-2.6.34-gentoo-r12-x86_64-intel-r-_core-tm-_i7_cpu_l_6...@_2.13ghz-with-gentoo-1.12.14 Timestamp of tree: Sat, 20 Nov 2010 15:45:01 + That chip looks okay. http://ark.intel.com/Product.aspx?id=43563 kashani
Re: [gentoo-user] Strange problem with audio CDs
On Monday 10 January 2011 10:48:56 Jake Moe wrote: I can't seem to get audio CDs to work with my drive. Data CDs work fine, I can mount the filesystem and read them. Data and Video DVDs seem to work fine as well. But when I try to listen to an audio CD, I get the attached errors in log.bz2. I've tried using things from KsCD to cdplay; everything gives the same errors. Googling seems to indicate that there might be a problem with udev somehow, but most of those that I find have the fix as update to the latest udev using apt/rpm/other binary distro package tool, which obviously won't work for Gentoo. Other solutions seem to be update to libATA, but I'm already using that. I've gone through and tried to check anything obvious in my kernel config, but I can't see anything that'd affect it like this. Also, if I reboot into Windows (this laptop is a work computer as well), it plays and rips the same CDs just fine. Hardware is an HP EliteBook nc6930p laptop. CD/DVD drive is /dev/sr0. Controller is: 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03) (prog-if 01 [AHCI 1.0]) Subsystem: Hewlett-Packard Company Device 30dc Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46 I/O ports at 8118 [size=8] I/O ports at 813c [size=4] I/O ports at 8110 [size=8] I/O ports at 8138 [size=4] I/O ports at 8000 [size=32] Memory at d8426000 (32-bit, non-prefetchable) [size=2K] Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit- Capabilities: [70] Power Management version 3 Capabilities: [a8] SATA HBA ? Capabilities: [b0] PCI Advanced Features Kernel driver in use: ahci Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks, and has the FLAC, MP3, Ogg, etc folders. But it won't play or copy the files; it gives the error in error.gif. Any other info you need, please let me know. This is driving me nuts. Jake Moe Are you sure it is a proper audio-cd? The error message talks about a mp3-file. Do you have this issue with all Audio-CDs? (including older ones from before record companies thought it was a good idea to add copy-protection schemes?) -- Joost
Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.
On Wednesday 12 January 2011 09:27:00 kashani wrote: On 1/12/2011 12:04 AM, Valmor de Almeida wrote: System uname: linux-2.6.34-gentoo-r12-x86_64-intel-r-_core-tm-_i7_cpu_l_6...@_2.13ghz-w ith-gentoo-1.12.14 Timestamp of tree: Sat, 20 Nov 2010 15:45:01 + That chip looks okay. http://ark.intel.com/Product.aspx?id=43563 kashani Another thing to check: BIOS-version. I had a similar issue with my Desktop machine where I was unable to run 64bit guests in virtualbox. The option was in the BIOS and enabled, but not working correctly. Upgrading the BIOS to the then-latest version solved that issue. You might be encountering the same issue? -- Joost
Re: [gentoo-user] Re: boot to console only?
On Tue, Jan 11, 2011 at 7:40 PM, Nikos Chantziaras rea...@arcor.de wrote: SNIP This VM, running in Virtualbox-4.0.0 on Win 7 didn't work. A more or less identical Gentoo VM running on a Gentoo server (yes, Gentoo within Gentoo) didn't switch to the VM's console but switched to the server's console. Assuming I was actually capturing keyboard strokes by the VM that doesn't make sense to me but possible things like Alt Alt-Ctrl sequences are handled differently by Linux. Dunno.. Anyway, the gentoo=nox solution worked great for my needs. It's always good to be able to switch to the consoles without needing a reboot. Since you're on VirtualBox, maybe this helps: http://wiki.debian.org/VirtualBox#Switchingconsoles That works great. Thanks! Default setup is Right-Ctrl-F1 to get to the console as Right-Ctrl is the VB default host key. I was always using Left-Ctrl yesterday. Again, thanks! - Mark
Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.
On Tue, Jan 11, 2011 at 11:04 PM, Valmor de Almeida val.gen...@gmail.com wrote: Hello, I am trying to build a windows 7 guest using virtualbox-ose-3.1.8. When starting the virtual machine to install the OS, I get the warning: VT-x/AMD-V hardware acceleration has been enabled, but is not operational. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot. Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer. I have enabled the following in the BIOS: Intel(R) Virtualization Technology Intel(R) VT-d Feature I have not created a KVM module in the kernel (using gentoo-sources-2.6.34-r12). Is this needed? Inputs appreciated. Thanks, -- Valmor Not sure about the KVM issue. I am running an i7-980X Extreme Edition using Gentoo 64-bit, mostly stable. Kernel is 2.6.36-gentoo-r6, Virtualbox-4.0.0. I run both 32-bit Win XP and 64-bit Win 7 Professional here with no problems. Typically I have 3 or 4 VMs running at the same time. Others have suggested BIOS. I didn't have to set anything specific there. If not BIOS then I'd look at kernel config next. - Mark
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 05:39 AM, J. Roeleveld wrote: On Wednesday 12 January 2011 09:27:00 kashani wrote: On 1/12/2011 12:04 AM, Valmor de Almeida wrote: System uname: linux-2.6.34-gentoo-r12-x86_64-intel-r-_core-tm-_i7_cpu_l_6...@_2.13ghz-w ith-gentoo-1.12.14 Timestamp of tree: Sat, 20 Nov 2010 15:45:01 + That chip looks okay. http://ark.intel.com/Product.aspx?id=43563 kashani Another thing to check: BIOS-version. I had a similar issue with my Desktop machine where I was unable to run 64bit guests in virtualbox. The option was in the BIOS and enabled, but not working correctly. Upgrading the BIOS to the then-latest version solved that issue. You might be encountering the same issue? -- Joost I have a lenovo x201 tablet and the web site shows a BIOS update from Dec2010. The changes in the update do not say anything about Virtualization technology updated... Thanks for the input. -- Valmor
Re: [gentoo-user] Strange problem with audio CDs
On Mon, Jan 10, 2011 at 3:48 AM, Jake Moe jakesaddr...@gmail.com wrote: I can't seem to get audio CDs to work with my drive. Data CDs work fine, I can mount the filesystem and read them. Data and Video DVDs seem to work fine as well. But when I try to listen to an audio CD, I get the attached errors in log.bz2. I've tried using things from KsCD to cdplay; everything gives the same errors. Googling seems to indicate that there might be a problem with udev somehow, but most of those that I find have the fix as update to the latest udev using apt/rpm/other binary distro package tool, which obviously won't work for Gentoo. Other solutions seem to be update to libATA, but I'm already using that. I've gone through and tried to check anything obvious in my kernel config, but I can't see anything that'd affect it like this. Also, if I reboot into Windows (this laptop is a work computer as well), it plays and rips the same CDs just fine. I wonder if udev is creating the correct device nodes for the cdrom? What are the programs looking for? Do you have /dev/cdrom in your system? Check /etc/udev/rules.d/70-persistent-cd.rules to ensure it looks right (in case you had a big change in your system config, like IDE - SATA or something) This command might give you some clue what's happening when those errors occur if udev is involved: udevadm test /class/block/sr0
Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.
On Wednesday 12 January 2011 16:17:09 Valmor de Almeida wrote: On 01/12/2011 05:39 AM, J. Roeleveld wrote: On Wednesday 12 January 2011 09:27:00 kashani wrote: On 1/12/2011 12:04 AM, Valmor de Almeida wrote: System uname: linux-2.6.34-gentoo-r12-x86_64-intel-r-_core-tm-_i7_cpu_l_6...@_2.13ghz -w ith-gentoo-1.12.14 Timestamp of tree: Sat, 20 Nov 2010 15:45:01 + That chip looks okay. http://ark.intel.com/Product.aspx?id=43563 kashani Another thing to check: BIOS-version. I had a similar issue with my Desktop machine where I was unable to run 64bit guests in virtualbox. The option was in the BIOS and enabled, but not working correctly. Upgrading the BIOS to the then-latest version solved that issue. You might be encountering the same issue? -- Joost I have a lenovo x201 tablet and the web site shows a BIOS update from Dec2010. The changes in the update do not say anything about Virtualization technology updated... Thanks for the input. Neither did my update from ASUS :) Another thing, did you fully power-cycle the machine after changing that setting? That's another trick I've read somewhere. -- Joost
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 06:46 AM, Mark Knecht stated: On Tue, Jan 11, 2011 at 11:04 PM, Valmor de Almeida val.gen...@gmail.com wrote: Hello, I am trying to build a windows 7 guest using virtualbox-ose-3.1.8. When starting the virtual machine to install the OS, I get the warning: VT-x/AMD-V hardware acceleration has been enabled, but is not operational. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot. Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer. I have enabled the following in the BIOS: Intel(R) Virtualization Technology Intel(R) VT-d Feature I have not created a KVM module in the kernel (using gentoo-sources-2.6.34-r12). Is this needed? Inputs appreciated. Thanks, -- Valmor Not sure about the KVM issue. I am running an i7-980X Extreme Edition using Gentoo 64-bit, mostly stable. Kernel is 2.6.36-gentoo-r6, Virtualbox-4.0.0. I run both 32-bit Win XP and 64-bit Win 7 Professional here with no problems. Typically I have 3 or 4 VMs running at the same time. Others have suggested BIOS. I didn't have to set anything specific there. If not BIOS then I'd look at kernel config next. I have CONFIG_VIRTUALIZATION turned on (=Y). None of the selections below that are selected in my kernels. They run 64-bit VMs fine, but I don't have VBox 3. Your host kernel should NOT have CONFIG_PARAVIRT_GUEST but your guest kernels should. That's the consensus my machines have yielded, both AMD/Intel and 32/64 bits, but there are probably other options.
[gentoo-user] How to get /dev/cdrom
OK, for several years I have not had a /dev/cdrom. My workstation has an internal cd-rom drive, which gets mapped to /dev/hda, and an external DVD+R drive, which is mapped to /dev/sr0. When I look at /etc/udev/rules.d/70-persistent-cd.rules I see: camille rules.d # cat 70-persistent-cd.rules # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1-ide-0:0) ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK +=cdrom, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK +=cdrw, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK +=dvd, ENV{GENERATED}=1 # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1-ide-0:0) ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK +=cdrom1, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK +=cdrw1, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK +=dvd1, ENV{GENERATED}=1 # CD.DVDW_SD-R5372 (pci-:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0) ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0, SYMLINK +=cdrom2, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0, SYMLINK +=cdrw2, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0, SYMLINK +=dvd2, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0, SYMLINK +=dvdrw2, ENV{GENERATED}=1 # CD.DVDW_SD-R5372 (pci-:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0) ENV{ID_CDROM}==?*, ENV{ID_SERIAL}==TOSHIBA_CD.DVDW_SD-R5372_200503021764-0:0, SYMLINK +=cdrom3, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_SERIAL}==TOSHIBA_CD.DVDW_SD-R5372_200503021764-0:0, SYMLINK +=cdrw3, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_SERIAL}==TOSHIBA_CD.DVDW_SD-R5372_200503021764-0:0, SYMLINK +=dvd3, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_SERIAL}==TOSHIBA_CD.DVDW_SD-R5372_200503021764-0:0, SYMLINK +=dvdrw3, ENV{GENERATED}=1 # CD.DVDW_SD-R5372 (pci-:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0) ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0, SYMLINK +=cdrom4, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0, SYMLINK +=cdrw4, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0, SYMLINK +=dvd4, ENV{GENERATED}=1 ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0, SYMLINK +=dvdrw4, ENV{GENERATED}=1 # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1) SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1, SYMLINK+=cdrom5, ENV{GENERATED}=1 SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1, SYMLINK+=cdrw5, ENV{GENERATED}=1 SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1, SYMLINK+=dvd5, ENV{GENERATED}=1 # CD_DVDW_SD-R5372 () SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_SERIAL}==TOSHIBA_CD_DVDW_SD-R5372_200503021764-0:0, SYMLINK +=cdrom6, ENV{GENERATED}=1 SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_SERIAL}==TOSHIBA_CD_DVDW_SD-R5372_200503021764-0:0, SYMLINK +=cdrw6, ENV{GENERATED}=1 SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_SERIAL}==TOSHIBA_CD_DVDW_SD-R5372_200503021764-0:0, SYMLINK +=dvd6, ENV{GENERATED}=1 SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_SERIAL}==TOSHIBA_CD_DVDW_SD-R5372_200503021764-0:0, SYMLINK +=dvdrw6, ENV{GENERATED}=1 LITE-ON_COMBO_SOHC-5236K is my internal drive, which SHOULD be mapped to /dev/cdrom. But it's not: camille rules.d # ls /dev/cdrom ls: cannot access /dev/cdrom: No such file or directory Why is it not being mapped correctly? Is the rule above not correct? I've tried to read tutorials about writing udev rules, but the example rules in the tutorials look nothing like the above rules, and I didn't write those. I think they were created when udev was installed...
Re: [gentoo-user] How to get /dev/cdrom
On Wed, Jan 12, 2011 at 10:11 AM, Michael Sullivan msulli1...@gmail.com wrote: Why is it not being mapped correctly? Is the rule above not correct? I've tried to read tutorials about writing udev rules, but the example rules in the tutorials look nothing like the above rules, and I didn't write those. I think they were created when udev was installed... I guess you don't really have 6 optical drives installed? :) Some of those have -ide- in the device name, did you change form IDE to ATA kernel driver at some point (like most everyone else did)? Maybe that's why. New entries are generated for drives that don't match existing rules, which is probably why you see your SOHC-5236K down at cdrom5 as well... If you delete the file and reboot, it'll create a new one based on your currently-installed hardware config. Hopefully that'll solve it or at least clean up that file to the point where you can manage the changes more easily.
[gentoo-user] Re: How to get /dev/cdrom
Michael Sullivan msulli1...@gmail.com writes: OK, for several years I have not had a /dev/cdrom. My workstation has an internal cd-rom drive, which gets mapped to /dev/hda, and an external If you're using a recent kernel, it's probably udev which refuses to process devices under the old ATA driver. (I don't know if it *exactly* refuses, or if it's something else, but the final result is what you see, no /dev/{cdrom,cdrw,...} link) DVD+R drive, which is mapped to /dev/sr0. When I look at /etc/udev/rules.d/70-persistent-cd.rules I see: camille rules.d # cat 70-persistent-cd.rules # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1-ide-0:0) ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK +=cdrom, ENV{GENERATED}=1 ... # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1-ide-0:0) ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK +=cdrom1, ENV{GENERATED}=1 ... # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1) SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1, SYMLINK+=cdrom5, ENV{GENERATED}=1 LITE-ON_COMBO_SOHC-5236K is my internal drive, which SHOULD be mapped to /dev/cdrom. But it's not: camille rules.d # ls /dev/cdrom ls: cannot access /dev/cdrom: No such file or directory Check also /dev/cdrom*. Maybe it got another name, as there are at least three rules to symlink that drive (if it matched all rules, udev would create the three links, but the third rule looks different). Why is it not being mapped correctly? Is the rule above not correct? I've tried to read tutorials about writing udev rules, but the example rules in the tutorials look nothing like the above rules, and I didn't write those. I think they were created when udev was installed... -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
Re: [gentoo-user] Re: How to get /dev/cdrom
On Wed, 2011-01-12 at 16:31 +, Nuno J. Silva wrote: Michael Sullivan msulli1...@gmail.com writes: OK, for several years I have not had a /dev/cdrom. My workstation has an internal cd-rom drive, which gets mapped to /dev/hda, and an external If you're using a recent kernel, it's probably udev which refuses to process devices under the old ATA driver. (I don't know if it *exactly* refuses, or if it's something else, but the final result is what you see, no /dev/{cdrom,cdrw,...} link) DVD+R drive, which is mapped to /dev/sr0. When I look at /etc/udev/rules.d/70-persistent-cd.rules I see: camille rules.d # cat 70-persistent-cd.rules # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1-ide-0:0) ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK +=cdrom, ENV{GENERATED}=1 ... # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1-ide-0:0) ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1-ide-0:0, SYMLINK +=cdrom1, ENV{GENERATED}=1 ... # LITE-ON_COMBO_SOHC-5236K (pci-:00:1f.1) SUBSYSTEM==block, ENV{ID_CDROM}==?*, ENV{ID_PATH}==pci-:00:1f.1, SYMLINK+=cdrom5, ENV{GENERATED}=1 LITE-ON_COMBO_SOHC-5236K is my internal drive, which SHOULD be mapped to /dev/cdrom. But it's not: camille rules.d # ls /dev/cdrom ls: cannot access /dev/cdrom: No such file or directory Check also /dev/cdrom*. Maybe it got another name, as there are at least three rules to symlink that drive (if it matched all rules, udev would create the three links, but the third rule looks different). Why is it not being mapped correctly? Is the rule above not correct? I've tried to read tutorials about writing udev rules, but the example rules in the tutorials look nothing like the above rules, and I didn't write those. I think they were created when udev was installed... camille ~ # ls -l /dev/cdrom* ls: cannot access /dev/cdrom*: No such file or directory I need /dev/hda to be /dev/cdrom because I cannot use CD player programs unless it has that name. Of course, I can manually create a symlink from /dev/cdrom to /dev/hda every time I reboot, but I shouldn't have to do that...
Re: [gentoo-user] How to get /dev/cdrom
On 1/12/2011 11:11 AM, Michael Sullivan wrote: OK, for several years I have not had a /dev/cdrom. My workstation has an internal cd-rom drive, which gets mapped to /dev/hda, and an external DVD+R drive, which is mapped to /dev/sr0. When I look at /etc/udev/rules.d/70-persistent-cd.rules I see: I just went through this exact same problem, and it turned out that having both the old ATA drivers and the new libata drivers in my kernel at the same time was the root of the problem. I had multiple drivers fighting for the same device, and it confused udev for some reason. The end result was, udev never picked up that the IDE drive was actually a CD-ROM, so it never ran the udev rules to automatically regenerated 70-persistent-cd.rules. The existing rules you have don't work because the ID_PATH isn't valid: ENV{ID_PATH}==pci-:00:1f.1-ide-0:0 The -ide-0:0 part no longer shows up when you get the udev ID_PATH for a device using the old ATA drivers, so there are no matching udev rules to create the symlinks. I fixed it by switching over completely to libata, like this: 1. Delete the 70-persistent-cd.rules file from /etc/udev. (If everything is working correctly, udev will regenerate this file from scratch the next time you start it.) 2. In your kernel config, under Device Drivers --- * Make sure that ATA/ATAPI/MFM/RLL support is /not/ selected. * Enable Serial ATA and Parallel ATA * Under Serial ATA and Paralle ATA --- ** Enable ATA SFF support ** Below that, enable ATA BMDMA support[1] ** Below that, enable whatever IDE chipset you have 3. Back under Device Drivers --- * Under SCSI device support --- ** Enable SCSI disk support ** Enable SCSI CDROM support ** /Do not/ enable SCSI Generic support[2] Build/install/reboot and you should now see your two CD drives appearing as sr0 and sr1. udev should now pick them both up, and write a new 70-persistent-cd.rules file, with the IDE drive having a different ID_PATH, something like: ENV{ID_PATH}==pci-:00:1f.1-scsi-0:0:0:0 And you should now get your symlinks. [1] BMDMA is the controller type in all of the machines I have, and seems to be the standard for most personal desktop/laptop/etc machines. If you know differently, of course, pick the correct SFF controller. [2] The SCSI generic driver has a habit of grabbing my other SCSI devices and assigning them to sg0/sg1/sg2/etc; this seemed to prevent udev from picking up that they were CD drives. If you need SCSI Generic for some reason, I'd suggest making it a module. --Mike
Re: [gentoo-user] How to get /dev/cdrom
On Wed, 2011-01-12 at 10:28 -0600, Paul Hartman wrote: On Wed, Jan 12, 2011 at 10:11 AM, Michael Sullivan msulli1...@gmail.com wrote: Why is it not being mapped correctly? Is the rule above not correct? I've tried to read tutorials about writing udev rules, but the example rules in the tutorials look nothing like the above rules, and I didn't write those. I think they were created when udev was installed... I guess you don't really have 6 optical drives installed? :) Some of those have -ide- in the device name, did you change form IDE to ATA kernel driver at some point (like most everyone else did)? Maybe that's why. New entries are generated for drives that don't match existing rules, which is probably why you see your SOHC-5236K down at cdrom5 as well... If you delete the file and reboot, it'll create a new one based on your currently-installed hardware config. Hopefully that'll solve it or at least clean up that file to the point where you can manage the changes more easily. I deleted /etc/udev/rules.d/70-persistent-cd.rules and rebooted the system. The file is still gone, and still no /dev/cdrom: camille ~ # ls /etc/udev/rules.d/ 10-zaptel.rules 70-bluetooth.rules 70-libsane.rules 90-hal.rules hsf.rules 30-svgalib.rules 70-libgphoto2.rules 70-persistent-net.rules 99-btnx.rules camille ~ # ls /dev/cdrom* ls: cannot access /dev/cdrom*: No such file or directory What should I do now?
Re: [gentoo-user] Re: How to get /dev/cdrom
On 1/12/2011 11:31 AM, Nuno J. Silva wrote: Michael Sullivan msulli1...@gmail.com writes: OK, for several years I have not had a /dev/cdrom. My workstation has an internal cd-rom drive, which gets mapped to /dev/hda, and an external If you're using a recent kernel, it's probably udev which refuses to process devices under the old ATA driver. (I don't know if it *exactly* refuses, or if it's something else, but the final result is what you see, no /dev/{cdrom,cdrw,...} link) The problem, as far as I could figure out, is that the ID_PATH that udev gets from the old ATA drivers is identical for everything on the same IDE controller; it basically gives the path to the PCI bus slot where the IDE controller is connected. So udev has no way to differentiate between multiple drives connected to a single controller. This is a change at some point from the previous behavior, which specified the IDE information as well. You used to get something like: ENV{ID_PATH}==pci-:00:1f.1-ide-0:0 and now you get: ENV{ID_PATH}==pci-:00:1f.1 Switching over to libata gives you: ENV{ID_PATH}==pci-:00:1f.1-scsi-0:0:0:0 which returns everything to working order :) --Mike
Re: [gentoo-user] How to get /dev/cdrom
On Wed, 2011-01-12 at 11:54 -0500, Mike Edenfield wrote: On 1/12/2011 11:11 AM, Michael Sullivan wrote: OK, for several years I have not had a /dev/cdrom. My workstation has an internal cd-rom drive, which gets mapped to /dev/hda, and an external DVD+R drive, which is mapped to /dev/sr0. When I look at /etc/udev/rules.d/70-persistent-cd.rules I see: I just went through this exact same problem, and it turned out that having both the old ATA drivers and the new libata drivers in my kernel at the same time was the root of the problem. I had multiple drivers fighting for the same device, and it confused udev for some reason. The end result was, udev never picked up that the IDE drive was actually a CD-ROM, so it never ran the udev rules to automatically regenerated 70-persistent-cd.rules. The existing rules you have don't work because the ID_PATH isn't valid: ENV{ID_PATH}==pci-:00:1f.1-ide-0:0 The -ide-0:0 part no longer shows up when you get the udev ID_PATH for a device using the old ATA drivers, so there are no matching udev rules to create the symlinks. I fixed it by switching over completely to libata, like this: 1. Delete the 70-persistent-cd.rules file from /etc/udev. (If everything is working correctly, udev will regenerate this file from scratch the next time you start it.) 2. In your kernel config, under Device Drivers --- * Make sure that ATA/ATAPI/MFM/RLL support is /not/ selected. * Enable Serial ATA and Parallel ATA * Under Serial ATA and Paralle ATA --- ** Enable ATA SFF support ** Below that, enable ATA BMDMA support[1] ** Below that, enable whatever IDE chipset you have 3. Back under Device Drivers --- * Under SCSI device support --- ** Enable SCSI disk support ** Enable SCSI CDROM support ** /Do not/ enable SCSI Generic support[2] Build/install/reboot and you should now see your two CD drives appearing as sr0 and sr1. udev should now pick them both up, and write a new 70-persistent-cd.rules file, with the IDE drive having a different ID_PATH, something like: ENV{ID_PATH}==pci-:00:1f.1-scsi-0:0:0:0 And you should now get your symlinks. [1] BMDMA is the controller type in all of the machines I have, and seems to be the standard for most personal desktop/laptop/etc machines. If you know differently, of course, pick the correct SFF controller. [2] The SCSI generic driver has a habit of grabbing my other SCSI devices and assigning them to sg0/sg1/sg2/etc; this seemed to prevent udev from picking up that they were CD drives. If you need SCSI Generic for some reason, I'd suggest making it a module. --Mike I was still running linux-2.6.30-gentoo-r8. I didn't even HAVE an option for ATA SFF support. I'm going to build a v2.6.36-gentoo-r5 kernel and pray that my ivtv stuff still works...
[gentoo-user] Re: How to get /dev/cdrom
Mike Edenfield kut...@kutulu.org writes: On 1/12/2011 11:31 AM, Nuno J. Silva wrote: Michael Sullivan msulli1...@gmail.com writes: OK, for several years I have not had a /dev/cdrom. My workstation has an internal cd-rom drive, which gets mapped to /dev/hda, and an external If you're using a recent kernel, it's probably udev which refuses to process devices under the old ATA driver. (I don't know if it *exactly* refuses, or if it's something else, but the final result is what you see, no /dev/{cdrom,cdrw,...} link) The problem, as far as I could figure out, is that the ID_PATH that udev gets from the old ATA drivers is identical for everything on the same IDE controller; it basically gives the path to the PCI bus slot where the IDE controller is connected. So udev has no way to differentiate between multiple drives connected to a single controller. This is a change at some point from the previous behavior, which specified the IDE information as well. So is this supposed to be a problem only if there is more than one PATA device? I never investigated this deeply enough, thanks for your explanation. I ended up adding code to init scripts to create the links. You used to get something like: ENV{ID_PATH}==pci-:00:1f.1-ide-0:0 and now you get: ENV{ID_PATH}==pci-:00:1f.1 Switching over to libata gives you: ENV{ID_PATH}==pci-:00:1f.1-scsi-0:0:0:0 which returns everything to working order :) I guess this means that if one gets some other way to match a drive (by name? serial number?), it's possible to make a working rule. --Mike -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
Re: [gentoo-user] Re: How to get /dev/cdrom
On 1/12/2011 12:13 PM, Nuno J. Silva wrote: Mike Edenfield kut...@kutulu.org writes: On 1/12/2011 11:31 AM, Nuno J. Silva wrote: Michael Sullivan msulli1...@gmail.com writes: OK, for several years I have not had a /dev/cdrom. My workstation has an internal cd-rom drive, which gets mapped to /dev/hda, and an external If you're using a recent kernel, it's probably udev which refuses to process devices under the old ATA driver. (I don't know if it *exactly* refuses, or if it's something else, but the final result is what you see, no /dev/{cdrom,cdrw,...} link) The problem, as far as I could figure out, is that the ID_PATH that udev gets from the old ATA drivers is identical for everything on the same IDE controller; it basically gives the path to the PCI bus slot where the IDE controller is connected. So udev has no way to differentiate between multiple drives connected to a single controller. This is a change at some point from the previous behavior, which specified the IDE information as well. So is this supposed to be a problem only if there is more than one PATA device? I think it's a problem in theory since udev doesn't know how many PATA devices are present. But I'm not sure that's the only problem, its only the most obvious change in behavior I could track down between worked and didn't work. --Mike
Re: [gentoo-user] How to get /dev/cdrom
On Wed, 12 Jan 2011 11:08:58 -0600, Michael Sullivan wrote: I was still running linux-2.6.30-gentoo-r8. I didn't even HAVE an option for ATA SFF support. I'm going to build a v2.6.36-gentoo-r5 kernel and pray that my ivtv stuff still works... ATA_SFF was definitely in 2.6.30. Press / in menuconfig and search for SFF, you may find you need to enable something else for it to show up. -- Neil Bothwick Don't put all your hypes in one home page. signature.asc Description: PGP signature
Re: [gentoo-user] How to get /dev/cdrom
On Wed, Jan 12, 2011 at 10:57 AM, Michael Sullivan msulli1...@gmail.com wrote: On Wed, 2011-01-12 at 10:28 -0600, Paul Hartman wrote: On Wed, Jan 12, 2011 at 10:11 AM, Michael Sullivan msulli1...@gmail.com wrote: Why is it not being mapped correctly? Is the rule above not correct? I've tried to read tutorials about writing udev rules, but the example rules in the tutorials look nothing like the above rules, and I didn't write those. I think they were created when udev was installed... I guess you don't really have 6 optical drives installed? :) Some of those have -ide- in the device name, did you change form IDE to ATA kernel driver at some point (like most everyone else did)? Maybe that's why. New entries are generated for drives that don't match existing rules, which is probably why you see your SOHC-5236K down at cdrom5 as well... If you delete the file and reboot, it'll create a new one based on your currently-installed hardware config. Hopefully that'll solve it or at least clean up that file to the point where you can manage the changes more easily. I deleted /etc/udev/rules.d/70-persistent-cd.rules and rebooted the system. The file is still gone, and still no /dev/cdrom: camille ~ # ls /etc/udev/rules.d/ 10-zaptel.rules 70-bluetooth.rules 70-libsane.rules 90-hal.rules hsf.rules 30-svgalib.rules 70-libgphoto2.rules 70-persistent-net.rules 99-btnx.rules camille ~ # ls /dev/cdrom* ls: cannot access /dev/cdrom*: No such file or directory What should I do now? I saw from your other post that you're using an old kernel, maybe you're using an old udev too. I'm using 164-r1 and 70-persistent-cd.rules is auto-generated by this rule: /lib/udev/rules.d/75-cd-aliases-generator.rules which really just runs /lib/udev/write_cd_rules script, you could also try to run manually if that exists in your system.
[gentoo-user] OT: Combining two MoBos...
Hi, this is a shot/question into the dark: Suppose I would have two identical motherboards (desktop), both identical equipped with a multi-core CPU each (AMD). Two questions: 1: Is it possible to run one of the boards without a graphics card? 2: Can I combine both (how?) to use the power of both for rendering purposes? Thank you very much for any inspiration! Best regards, mcc
Re: [gentoo-user] How to get /dev/cdrom
On Wed, Jan 12, 2011 at 11:08 AM, Michael Sullivan msulli1...@gmail.com wrote: I was still running linux-2.6.30-gentoo-r8. I didn't even HAVE an option for ATA SFF support. I'm going to build a v2.6.36-gentoo-r5 kernel and pray that my ivtv stuff still works... If you have any IDE devices you might want to read this short migration guide: https://forums.gentoo.org/viewtopic-p-6362608.html#6362608
Re: [gentoo-user] OT: Combining two MoBos...
On Wed, Jan 12, 2011 at 11:24 AM, meino.cra...@gmx.de wrote: Hi, this is a shot/question into the dark: Suppose I would have two identical motherboards (desktop), both identical equipped with a multi-core CPU each (AMD). Two questions: 1: Is it possible to run one of the boards without a graphics card? 2: Can I combine both (how?) to use the power of both for rendering purposes? Thank you very much for any inspiration! Good luck :) High Performance Computing on Gentoo Linux http://www.gentoo.org/doc/en/hpc-howto.xml
[gentoo-user] grub installation problem
Hi all, I am installing Gentoo on a new pc and following the Gentoo manual. I create primary partition sda3 for boot with ext3 file system, then Extended partition for swap sda5 / sda6 with reiserfs file system /usr sda7 with reiserfs file system /home sda8 with reiserfs fiel system. 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. What's going on ??? Thank you for your help. Best regards, Jacques
[gentoo-user] Web Server Memory Issues
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
[gentoo-user] Re: grub installation problem
Jacques Montier jacques.mont...@numericable.fr writes: Hi all, I am installing Gentoo on a new pc and following the Gentoo manual. I create primary partition sda3 for boot with ext3 file system, then Extended partition for swap sda5 / sda6 with reiserfs file system /usr sda7 with reiserfs file system /home sda8 with reiserfs fiel system. 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. What's going on ??? I would check if there is any error or warning in the kernel log when that happens. just do dmesg | tail after the error, to check the last lines in the log. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] ivtv on 2.6.36-gentoo-r5 kernel.
I am now running Linux camille 2.6.36-gentoo-r5 kernel. My ivtv drivers don't work with this kernel. The newest ivtv drivers in portage only work on 2.6.25 kernels. What should I do?
Re: [gentoo-user] ivtv on 2.6.36-gentoo-r5 kernel.
Did you try downloading and building a newer version from the ivtv website? If there's a version there that works with the new kernels, file a bug report on f.g.o for a version bump, and either wait for that or use hand built drivers that won't be tracked by portage. If your card doesn't have drivers that work with your new kernel, you're pretty much s.o.l.
Re: [gentoo-user] ivtv on 2.6.36-gentoo-r5 kernel.
On Wed, Jan 12, 2011 at 1:40 PM, Michael Sullivan msulli1...@gmail.com wrote: I am now running Linux camille 2.6.36-gentoo-r5 kernel. My ivtv drivers don't work with this kernel. The newest ivtv drivers in portage only work on 2.6.25 kernels. What should I do? The IVTV driver should be included in the kernel sources already since 2.6.22, from what I can find on Google. From what I can tell, you should emerge the latest ivtv-utils and it'll tell you if your kernel is missing any configuration options.
Re: [gentoo-user] A tiny titillating taste of grub2
On 11/1/2011, at 10:08pm, Neil Bothwick wrote: On Sun, 09 Jan 2011 14:51:33 -0600, Dale wrote: Well, I have to say that for the moment, the old grub is working fine here. Just like ntp, that may change next week. I just wonder how much longer it will take before they get it stabilized and expect everyone to switch to it? From my understanding, they are not doing much with the old grub now so it should be to far off. What is there to do with it? It's a bootloader that boots and loads, what more do you want? No longer updated can mean broken, but it can also mean finished. Boot to BTFS filesystems? Stroller.
[gentoo-user] Re: OT: Combining two MoBos...
On 2011-01-12, meino.cra...@gmx.de meino.cra...@gmx.de wrote: Hi, this is a shot/question into the dark: Suppose I would have two identical motherboards (desktop), both identical equipped with a multi-core CPU each (AMD). Two questions: 1: Is it possible to run one of the boards without a graphics card? That depends on the board. 2: Can I combine both (how?) to use the power of both for rendering purposes? Yes. Use any of the available parallel-programming libaries: http://en.wikipedia.org/wiki/Parallel_programming_model -- Grant Edwards grant.b.edwardsYow! I'm meditating on at the FORMALDEHYDE and the gmail.comASBESTOS leaking into my PERSONAL SPACE!!
Re: [gentoo-user] Web Server Memory Issues
On 12. 1. 2011 19:59, Kaddeh wrote: 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. First of all, find what is causing that excessive memory usage. I think 2GB should be enough for moderate web with apache+mysql. Second, use some monitoring software. Personally I'm using monit and I am very satisfied with it. It can monitor processes (if it is running, answering requests, etc), resources (disk, memory, swap, cpu, i/o), files (content, permissions, checksums), remote hosts (with some basic protocol checks i.e. http, ssh, smtp, ftp, mysql, ntp, dns...), it can inform you about problems (mail, log) and you can define rules what to do in case of anomalies (i.e. if mysql is using to much memory, it will be restarted). It can start/restart processes if they die (happened to me once with sshd on server which was ~50 miles away from me). You can put monit in inittab, so in case monit itself dies it is restarted automatically. Etc, etc. Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
Re: [gentoo-user] A tiny titillating taste of grub2
On Wed, 12 Jan 2011 21:33:02 +, Stroller wrote: No longer updated can mean broken, but it can also mean finished. Boot to BTFS filesystems? Finished != complete -- Neil Bothwick Bug: (n.) any program feature not yet described to the marketing department. signature.asc Description: PGP signature
Re: [gentoo-user] grub installation problem
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.
Re: [gentoo-user] Re: grub installation problem
Le 12/01/2011 20:07, Nuno J. Silva a écrit : Jacques Montier jacques.mont...@numericable.fr writes: Hi all, I am installing Gentoo on a new pc and following the Gentoo manual. I create primary partition sda3 for boot with ext3 file system, then Extended partition for swap sda5 / sda6 with reiserfs file system /usr sda7 with reiserfs file system /home sda8 with reiserfs fiel system. 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. What's going on ??? I would check if there is any error or warning in the kernel log when that happens. just do dmesg | tail after the error, to check the last lines in the log. Ther is no error message : just the lines EXT3-fs (sda3): using internal journal I see some warning about to avoid automounting and auto-installing with /boot, just export the DONT_MOUNT_BOOT variable How can i do that ? Thanks Jacques
[gentoo-user] Re: A tiny titillating taste of grub2
On 2011-01-12, Neil Bothwick n...@digimed.co.uk wrote: On Wed, 12 Jan 2011 21:33:02 +, Stroller wrote: No longer updated can mean broken, but it can also mean finished. Boot to BTFS filesystems? Finished != complete Maybe not on the right hand side of the pond, but here in the US finished == complete. If you look in the Merriam-Webster dictionaly under finished both completed and complete are listed as synonyms. -- Grant Edwards grant.b.edwardsYow! Are the STEWED PRUNES at still in the HAIR DRYER? gmail.com
[gentoo-user] Re: grub installation problem
Jacques Montier jacques.mont...@numericable.fr writes: Le 12/01/2011 20:07, Nuno J. Silva a écrit : Jacques Montier jacques.mont...@numericable.fr writes: Hi all, I am installing Gentoo on a new pc and following the Gentoo manual. I create primary partition sda3 for boot with ext3 file system, then Extended partition for swap sda5 / sda6 with reiserfs file system /usr sda7 with reiserfs file system /home sda8 with reiserfs fiel system. 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. What's going on ??? I would check if there is any error or warning in the kernel log when that happens. just do dmesg | tail after the error, to check the last lines in the log. Ther is no error message : just the lines EXT3-fs (sda3): using internal journal So there is no filesystem issue. Errors sometimes result in the partition being remounted readonly. Stroller has a point, read his post. As the mounted partitions list is inside /proc, if you forgot to mount that, then maybe the ebuild can't just find out /boot is actually mounted. There are probably other things that might not work if you don't mount these partitions, so just to be sure, check if you did that :-) I see some warning about to avoid automounting and auto-installing with /boot, just export the DONT_MOUNT_BOOT variable How can i do that ? writing (and executing) export DONT_MOUNT_BOOT in the shell should be enough. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
Re: [gentoo-user] Web Server Memory Issues
Jarry, Thanks for the monitoring advice, I am checking out monit right now. In terms of what is the root cause of the issue, I have narrowed it down to either write caching of a SQL cache issue. 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. The write caching hteroy just comes up because I can clear the cached memory down to 14mb cached using 'sync echo 3 /proc/sys/vm/dump_cache' Cheers Kad On Wed, Jan 12, 2011 at 1:37 PM, Jarry mr.ja...@gmail.com wrote: On 12. 1. 2011 19:59, Kaddeh wrote: 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. First of all, find what is causing that excessive memory usage. I think 2GB should be enough for moderate web with apache+mysql. Second, use some monitoring software. Personally I'm using monit and I am very satisfied with it. It can monitor processes (if it is running, answering requests, etc), resources (disk, memory, swap, cpu, i/o), files (content, permissions, checksums), remote hosts (with some basic protocol checks i.e. http, ssh, smtp, ftp, mysql, ntp, dns...), it can inform you about problems (mail, log) and you can define rules what to do in case of anomalies (i.e. if mysql is using to much memory, it will be restarted). It can start/restart processes if they die (happened to me once with sshd on server which was ~50 miles away from me). You can put monit in inittab, so in case monit itself dies it is restarted automatically. Etc, etc. Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
Re: [gentoo-user] Re: A tiny titillating taste of grub2
Apparently, though unproven, at 00:42 on Thursday 13 January 2011, Grant Edwards did opine thusly: On 2011-01-12, Neil Bothwick n...@digimed.co.uk wrote: On Wed, 12 Jan 2011 21:33:02 +, Stroller wrote: No longer updated can mean broken, but it can also mean finished. Boot to BTFS filesystems? Finished != complete Maybe not on the right hand side of the pond, but here in the US finished == complete. If you look in the Merriam-Webster dictionaly under finished both completed and complete are listed as synonyms. Dictionaries document current usage and current usage sucks. The right hand side of the pond invented English so maybe you should call your language American, but we have dibs on English :-) Finished and complete and not the same, they are just similar. Complete is pretty much an absolute. Something is complete, it is done, nothing more can be added, nothing can be removed. Finished is a lower grade of that, a part can be finished and the whole is still incomplete. Grub is finished. There is nothing left to do to it in it's current state at this time. Sometime this year, btrfs will likely be stable and then grub can be extended to use it. That phase will then be finished but grub itself will not be complete. grub cannot be complete as there are always new file systems and boot methods that could be added. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: A tiny titillating taste of grub2
That makes perfect fucking sense. On Jan 12, 2011 6:18 PM, Alan McKinnon alan.mckin...@gmail.com wrote: Apparently, though unproven, at 00:42 on Thursday 13 January 2011, Grant Edwards did opine thusly: On 2011-01-12, Neil Bothwick n...@digimed.co.uk wrote: On Wed, 12 Jan 2011 21:33:02 +, Stroller wrote: No longer updated can mean broken, but it can also mean finished. Boot to BTFS filesystems? Finished != complete Maybe not on the right hand side of the pond, but here in the US finished == complete. If you look in the Merriam-Webster dictionaly under finished both completed and complete are listed as synonyms. Dictionaries document current usage and current usage sucks. The right hand side of the pond invented English so maybe you should call your language American, but we have dibs on English :-) Finished and complete and not the same, they are just similar. Complete is pretty much an absolute. Something is complete, it is done, nothing more can be added, nothing can be removed. Finished is a lower grade of that, a part can be finished and the whole is still incomplete. Grub is finished. There is nothing left to do to it in it's current state at this time. Sometime this year, btrfs will likely be stable and then grub can be extended to use it. That phase will then be finished but grub itself will not be complete. grub cannot be complete as there are always new file systems and boot methods that could be added. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: A tiny titillating taste of grub2
Alan McKinnon wrote: grub cannot be complete as there are always new file systems and boot methods that could be added. That was my point earlier. With computers changing, nothing will ever be finished. There will always be something that has to be added in as new things come out. I still wonder where computers will be in say 10 or 20 years. Dale :-) :-)
Re: [gentoo-user] Re: A tiny titillating taste of grub2
On Wed, 12 Jan 2011 17:32:32 -0600, Dale wrote: That was my point earlier. With computers changing, nothing will ever be finished. There will always be something that has to be added in as new things come out. I still wonder where computers will be in say 10 or 20 years. If you'd asked that 10 or 20 years ago, the answer, as far as booting is concerned, would have been exactly the same as now. -- Neil Bothwick Invertebrates make no bones about it. signature.asc Description: PGP signature
Re: [gentoo-user] A tiny titillating taste of grub2
Neil Bothwick wrote: On Tue, 11 Jan 2011 16:46:43 -0600, Dale wrote: What is there to do with it? It's a bootloader that boots and loads, what more do you want? No longer updated can mean broken, but it can also mean finished. My point was, if something changes and it no longer works, then we may all have to switch. According to the website, nothing much is being done with the old grub. 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. ' I want to wait until either the old grub doesn't work for me or the new grub is known to be stable and has got all the kinks worked out. Even then, I may wait until I have a issue or the old grub leaves the tree. I seem to recall hal was stable and worked for most people too. It just didn't work here for me. 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? All computers are not the same. We also don't know what will be out in a few years either. When is the last time a package was finished never to be changed again? I have never seen that from any program. There is always something new, some better way to do things or just some little tweak to improve things. Maybe there are, and if that's what you want you can use GRUB2, but legacy GRUB won't stop working as long as we are using the BIOS to boot from disk-like devices. 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. There could be other things that pop up and need fixing too. Dale :-) :-)
[gentoo-user] Re: A tiny titillating taste of grub2
Dale rdalek1...@gmail.com writes: Alan McKinnon wrote: grub cannot be complete as there are always new file systems and boot methods that could be added. That was my point earlier. With computers changing, nothing will ever be finished. There will always be something that has to be added in as new things come out. I still wonder where computers will be in say 10 or 20 years. Stuff can be finished, given the /current/ requirements. But requirements change. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
[gentoo-user] Re: A tiny titillating taste of grub2
On 2011-01-12, Alan McKinnon alan.mckin...@gmail.com wrote: Grant Edwards did opine thusly: On 2011-01-12, Neil Bothwick n...@digimed.co.uk wrote: On Wed, 12 Jan 2011 21:33:02 +, Stroller wrote: No longer updated can mean broken, but it can also mean finished. Boot to BTFS filesystems? Finished != complete Maybe not on the right hand side of the pond, but here in the US finished == complete. If you look in the Merriam-Webster dictionaly under finished both completed and complete are listed as synonyms. Dictionaries document current usage and current usage sucks. The right hand side of the pond invented English so maybe you should call your language American, but we have dibs on English :-) OK, I'll cite the OED: finished adjective (of an action, activity, or piece of work ) having been completed or ended. Finished and complete and not the same, they are just similar. According to the OED they're the same. I checked both us english and world english versions. You and Humpty Dumpty are free to make up your own meanings, but doings so seems rather counter-productive if your goal is to actually communicate with others. Complete is pretty much an absolute. Something is complete, it is done, nothing more can be added, nothing can be removed. Finished is a lower grade of that, a part can be finished and the whole is still incomplete. Citations? -- Grant Edwards grant.b.edwardsYow! Either CONFESS now or at we go to PEOPLE'S COURT!! gmail.com
Re: [gentoo-user] Re: A tiny titillating taste of grub2
Neil Bothwick wrote: On Wed, 12 Jan 2011 17:32:32 -0600, Dale wrote: That was my point earlier. With computers changing, nothing will ever be finished. There will always be something that has to be added in as new things come out. I still wonder where computers will be in say 10 or 20 years. If you'd asked that 10 or 20 years ago, the answer, as far as booting is concerned, would have been exactly the same as now. So we don't have new and faster processors? Larger hard drives? Faster DVD type media? More memory that is usable? I can think of a LOT of things that have changed in just the past ten years. Dale :-) :-)
[gentoo-user] Re: A tiny titillating taste of grub2
Dale rdalek1...@gmail.com writes: Neil Bothwick wrote: On Tue, 11 Jan 2011 16:46:43 -0600, Dale wrote: What is there to do with it? It's a bootloader that boots and loads, what more do you want? No longer updated can mean broken, but it can also mean finished. My point was, if something changes and it no longer works, then we may all have to switch. According to the website, nothing much is being done with the old grub. 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. ' At least in UNIX-like systems, one can always have a separate /boot in ext2, and use other filesystem everywhere else. It makes a grub update less urgent. Also, if they change - again - the way hard drives are accessed, just because some oh, 8GiB is so big, no disk will ever be that large barrier was hit, people may need some fix to access a kernel which is 129 PiB away from the first block. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
Re: [gentoo-user] Web Server Memory Issues
On Wed, Jan 12, 2011 at 4:47 PM, Kaddeh kad...@gmail.com wrote: Jarry, Thanks for the monitoring advice, I am checking out monit right now. In terms of what is the root cause of the issue, I have narrowed it down to either write caching of a SQL cache issue. 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. The write caching hteroy just comes up because I can clear the cached memory down to 14mb cached using 'sync echo 3 /proc/sys/vm/dump_cache' Cheers Kad On Wed, Jan 12, 2011 at 1:37 PM, Jarry mr.ja...@gmail.com wrote: On 12. 1. 2011 19:59, Kaddeh wrote: 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. First of all, find what is causing that excessive memory usage. I think 2GB should be enough for moderate web with apache+mysql. Second, use some monitoring software. Personally I'm using monit and I am very satisfied with it. It can monitor processes (if it is running, answering requests, etc), resources (disk, memory, swap, cpu, i/o), files (content, permissions, checksums), remote hosts (with some basic protocol checks i.e. http, ssh, smtp, ftp, mysql, ntp, dns...), it can inform you about problems (mail, log) and you can define rules what to do in case of anomalies (i.e. if mysql is using to much memory, it will be restarted). It can start/restart processes if they die (happened to me once with sshd on server which was ~50 miles away from me). You can put monit in inittab, so in case monit itself dies it is restarted automatically. Etc, etc. Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted. So, a few questions: What apache MPM are you using? You can control the number of processes or threads in that file. The default is something like 200 processes or threads (depending on MPM), so that could cause issues. What does your my.cnf look like? MySQL makes it pretty easy to regulate memory usage in my.cnf. What sort of webapp is this, PHP, python, perl, ...? That should be a good start. Cheers -- Matthew W. Summers
[gentoo-user] Re: A tiny titillating taste of grub2
On 2011-01-13, Dale rdalek1...@gmail.com wrote: Neil Bothwick wrote: On Wed, 12 Jan 2011 17:32:32 -0600, Dale wrote: That was my point earlier. With computers changing, nothing will ever be finished. There will always be something that has to be added in as new things come out. I still wonder where computers will be in say 10 or 20 years. If you'd asked that 10 or 20 years ago, the answer, as far as booting is concerned, would have been exactly the same as now. So we don't have new and faster processors? Larger hard drives? Faster DVD type media? More memory that is usable? How do those things impact grub? Do bigger drives and more ram require that grub be changed somehow? Does a faster processor with more cores require grub be changed? I can think of a LOT of things that have changed in just the past ten years. So can I, but how many of them have impacted grub's requirements? -- Grant Edwards grant.b.edwardsYow! But was he mature at enough last night at the gmail.comlesbian masquerade?
[gentoo-user] Re: A tiny titillating taste of grub2
Dale rdalek1...@gmail.com writes: Neil Bothwick wrote: On Wed, 12 Jan 2011 17:32:32 -0600, Dale wrote: That was my point earlier. With computers changing, nothing will ever be finished. There will always be something that has to be added in as new things come out. I still wonder where computers will be in say 10 or 20 years. If you'd asked that 10 or 20 years ago, the answer, as far as booting is concerned, would have been exactly the same as now. So we don't have new and faster processors? Larger hard drives? Faster DVD type media? More memory that is usable? I can think of a LOT of things that have changed in just the past ten years. Well, I think it's still possible to use INT13 for disk access :-) -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
Re: [gentoo-user] Re: A tiny titillating taste of grub2
Nuno J. Silva wrote: At least in UNIX-like systems, one can always have a separate /boot in ext2, and use other filesystem everywhere else. It makes a grub update less urgent. Also, if they change - again - the way hard drives are accessed, just because some oh, 8GiB is so big, no disk will ever be that large barrier was hit, people may need some fix to access a kernel which is 129 PiB away from the first block. I just learned a long time ago to never say I am done with anything. We never know what will happen that makes us go back and fix something else. I find this really applies to computers a lot. They always improving things on puters. Dale :-) :-)
Re: [gentoo-user] Re: A tiny titillating taste of grub2
Apparently, though unproven, at 01:32 on Thursday 13 January 2011, Dale did opine thusly: Alan McKinnon wrote: grub cannot be complete as there are always new file systems and boot methods that could be added. That was my point earlier. With computers changing, nothing will ever be finished. There will always be something that has to be added in as new things come out. I still wonder where computers will be in say 10 or 20 years. Dale :-) :-) You know the old saw about how Perfection is design is achieved not when nothing remains to be added, but when nothing remains to be removed? Well, Unix ain't done yet, we had to take HAL out. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Web Server Memory Issues
Matthew, Default settings for both my.cnf and httpd.conf are defaults, however, I would assume that a restart of a service would clear up the memory that was used by child processes. The only things that are really different in my.cnf is the base stuff like bin-log and such for doing DB replication. As for the webapp itself, it is PHP, but that is literally to make the MySQL connections to pull down the pages in the database (literally, entire pages of html in columns). Cheers Kad On Wed, Jan 12, 2011 at 4:08 PM, Matthew Summers quantumsumm...@gentoo.orgwrote: On Wed, Jan 12, 2011 at 4:47 PM, Kaddeh kad...@gmail.com wrote: Jarry, Thanks for the monitoring advice, I am checking out monit right now. In terms of what is the root cause of the issue, I have narrowed it down to either write caching of a SQL cache issue. 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. The write caching hteroy just comes up because I can clear the cached memory down to 14mb cached using 'sync echo 3 /proc/sys/vm/dump_cache' Cheers Kad On Wed, Jan 12, 2011 at 1:37 PM, Jarry mr.ja...@gmail.com wrote: On 12. 1. 2011 19:59, Kaddeh wrote: 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. First of all, find what is causing that excessive memory usage. I think 2GB should be enough for moderate web with apache+mysql. Second, use some monitoring software. Personally I'm using monit and I am very satisfied with it. It can monitor processes (if it is running, answering requests, etc), resources (disk, memory, swap, cpu, i/o), files (content, permissions, checksums), remote hosts (with some basic protocol checks i.e. http, ssh, smtp, ftp, mysql, ntp, dns...), it can inform you about problems (mail, log) and you can define rules what to do in case of anomalies (i.e. if mysql is using to much memory, it will be restarted). It can start/restart processes if they die (happened to me once with sshd on server which was ~50 miles away from me). You can put monit in inittab, so in case monit itself dies it is restarted automatically. Etc, etc. Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted. So, a few questions: What apache MPM are you using? You can control the number of processes or threads in that file. The default is something like 200 processes or threads (depending on MPM), so that could cause issues. What does your my.cnf look like? MySQL makes it pretty easy to regulate memory usage in my.cnf. What sort of webapp is this, PHP, python, perl, ...? That should be a good start. Cheers -- Matthew W. Summers
Re: [gentoo-user] Re: A tiny titillating taste of grub2
Apparently, though unproven, at 02:13 on Thursday 13 January 2011, Nuno J. Silva did opine thusly: Dale rdalek1...@gmail.com writes: Neil Bothwick wrote: On Wed, 12 Jan 2011 17:32:32 -0600, Dale wrote: That was my point earlier. With computers changing, nothing will ever be finished. There will always be something that has to be added in as new things come out. I still wonder where computers will be in say 10 or 20 years. If you'd asked that 10 or 20 years ago, the answer, as far as booting is concerned, would have been exactly the same as now. So we don't have new and faster processors? Larger hard drives? Faster DVD type media? More memory that is usable? I can think of a LOT of things that have changed in just the past ten years. Well, I think it's still possible to use INT13 for disk access :-) You horrible person. I just went 13 years without hearing that thing's name mentioned not even once. You have just broken that winning streak. You are a horrible person. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: A tiny titillating taste of grub2
Apparently, though unproven, at 01:57 on Thursday 13 January 2011, Grant Edwards did opine thusly: Citations? You want me to quote another assumed authority when I can just quote the one that's already inside my head? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: A tiny titillating taste of grub2
On Thursday 13 January 2011 00:17:42 Dale wrote: They always improving things on puters. Well, changing them, anyway. -- Rgds Peter. Linux Counter 5290, 1994-04-23.
Re: [gentoo-user] Re: A tiny titillating taste of grub2
Grant Edwards wrote: On 2011-01-13, Dalerdalek1...@gmail.com wrote: Neil Bothwick wrote: On Wed, 12 Jan 2011 17:32:32 -0600, Dale wrote: That was my point earlier. With computers changing, nothing will ever be finished. There will always be something that has to be added in as new things come out. I still wonder where computers will be in say 10 or 20 years. If you'd asked that 10 or 20 years ago, the answer, as far as booting is concerned, would have been exactly the same as now. So we don't have new and faster processors? Larger hard drives? Faster DVD type media? More memory that is usable? How do those things impact grub? Do bigger drives and more ram require that grub be changed somehow? Does a faster processor with more cores require grub be changed? I can think of a LOT of things that have changed in just the past ten years. So can I, but how many of them have impacted grub's requirements? I was talking about more than just grub at that point. Still, we don't know what may change that would require grub to need changing either. You got a crystal ball or something? Dale :-) :-)
Re: [gentoo-user] Re: A tiny titillating taste of grub2
On Thursday 13 January 2011 00:00:53 Dale wrote: Neil Bothwick wrote: If you'd asked that 10 or 20 years ago, the answer, as far as booting is concerned, would have been exactly the same as now. So we don't have new and faster processors? Larger hard drives? Faster DVD type media? More memory that is usable? I can think of a LOT of things that have changed in just the past ten years. How does any of that answer Neil's point? (Sorry, I'm being resolutely left-brained here.) -- Rgds Peter. Linux Counter 5290, 1994-04-23.
Re: [gentoo-user] Re: A tiny titillating taste of grub2
On Wednesday 12 January 2011 23:57:32 Grant Edwards wrote: I checked both us english and world english versions. Neither of which is acceptable in UK, the home of English. Not to me, at any rate. Colonials all... -- Rgds Peter. Linux Counter 5290, 1994-04-23.
[gentoo-user] Re: vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.
On 01/11/2011 11:04 PM, Valmor de Almeida wrote: Hello, I am trying to build a windows 7 guest using virtualbox-ose-3.1.8. When starting the virtual machine to install the OS, I get the warning: VT-x/AMD-V hardware acceleration has been enabled, but is not operational. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot. Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer. I have enabled the following in the BIOS: Intel(R) Virtualization Technology Intel(R) VT-d Feature I have not created a KVM module in the kernel (using gentoo-sources-2.6.34-r12). Is this needed? No, but now that you've mentioned it have you tried qemu-kvm to see if it has the same complaint? VBox is a fork of qemu, but AFAIK it doesn't use hardware virtualization the way qemu-kvm does (and even qemu added kvm support a few months ago). All three products are good enough to seem like black magic to me :)
[gentoo-user] Re: A tiny titillating taste of grub2
On 01/12/2011 04:17 PM, Dale wrote: I just learned a long time ago to never say I am done with anything. We never know what will happen that makes us go back and fix something else. I distinctly remember declaring There! I'm done with my 1982 tax return! BIG mistake :(
[gentoo-user] Re: A tiny titillating taste of grub2
Alan McKinnon alan.mckin...@gmail.com writes: Apparently, though unproven, at 02:13 on Thursday 13 January 2011, Nuno J. Silva did opine thusly: Well, I think it's still possible to use INT13 for disk access :-) You horrible person. I just went 13 years without hearing that thing's name mentioned not even once. Wait? You hear about INT13 for the first time in 13 years, in January 13? What a shame it's not Friday... You have just broken that winning streak. You are a horrible person. You may have a point here, but I'd blame the guy who conceived it ;-) sarcasm But, please understand! I want to be able to boot and use MS-DOS 4 on my brand-new eight-core 3GHz 8GiB RAM machine! Emulators are *slow*! /sarcasm -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg
Re: [gentoo-user] Re: A tiny titillating taste of grub2
On Thursday 13 January 2011 01:02:30 Alan McKinnon wrote: Apparently, though unproven, at 02:35 on Thursday 13 January 2011, Peter Humphrey did opine thusly: On Wednesday 12 January 2011 23:22:12 Jacob Todd wrote: That makes perfect fucking sense. Would you please not use gratuitously offensive language on this list? Thank you. I disagree. Then you're wrong. Perhaps you've been watching too many American films. 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's another sign of the progress towards the dogs of this society we're subjected to. I expected better of you. -- Rgds Peter.
Re: [gentoo-user] Re: A tiny titillating taste of grub2
walt wrote: On 01/12/2011 04:17 PM, Dale wrote: I just learned a long time ago to never say I am done with anything. We never know what will happen that makes us go back and fix something else. I distinctly remember declaring There! I'm done with my 1982 tax return! BIG mistake :( I'd rather switch to grub2 and enable hal at the same time than to mess with the tax man. [[ SEVERELY OFF TOPIC ]] Reminds me of a old joke. Man gets a letter that he is being audited by the IRS. His friends tell him he better get everything ready for the audit in case he made a mistake. He said he wasn't worried because they can't get blood out of a turnip. Well, his day comes and the auditor calls him in his office. He sees a jar on the desk. The auditor tells him he found a few mistakes and deductions that were not allowed. The guy was sitting there trying to figure out what was in the jar but wasn't even concerned about the auditor. Finally after the auditor talked a while, it got the better of him and he asked what that was in the jar. The auditor said it was turnip blood. The guy excused himself and called his wife. He needed a change of clothes because tho he never had tummy trouble before, he did just then. He was in trouble after all and his friends was right. [[END OFF TOPIC ]] Dale :-) :-)
Re: [gentoo-user] Re: A tiny titillating taste of grub2
Get off your high horse. If I wouldn't of said 'that makes perfect fucking sense, ' what I was trying to convey wouldn't have had the emotion it needed. 'That makes perfect sense' seems to 'off-hand,' without any real feeling to the statement. What it really says is 'that doesn't make any sense, but I really don't care that much.' That was not was I was trying say, what I was trying to say was 'that makes perfect fucking sense.' It adds all of the emotion (sarcasm, in case you didn't notice) to the sentence, while still being concise. Hope that clears things up. On Jan 12, 2011 9:01 PM, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
[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 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
Re: [gentoo-user] Re: Re: Strange problem with audio CDs
On 01/12/11 04:52, Jörg Schaible wrote: Jake Moe wrote: On 01/11/11 04:38, Jörg Schaible wrote: Hi Jake, Jake Moe wrote: I can't seem to get audio CDs to work with my drive. Data CDs work fine, I can mount the filesystem and read them. Data and Video DVDs seem to work fine as well. But when I try to listen to an audio CD, I get the attached errors in log.bz2. I've tried using things from KsCD to cdplay; everything gives the same errors. Googling seems to indicate that there might be a problem with udev somehow, but most of those that I find have the fix as update to the latest udev using apt/rpm/other binary distro package tool, which obviously won't work for Gentoo. Other solutions seem to be update to libATA, but I'm already using that. I've gone through and tried to check anything obvious in my kernel config, but I can't see anything that'd affect it like this. Also, if I reboot into Windows (this laptop is a work computer as well), it plays and rips the same CDs just fine. Hardware is an HP EliteBook nc6930p laptop. CD/DVD drive is /dev/sr0. Controller is: 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03) (prog-if 01 [AHCI 1.0]) Subsystem: Hewlett-Packard Company Device 30dc Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46 I/O ports at 8118 [size=8] I/O ports at 813c [size=4] I/O ports at 8110 [size=8] I/O ports at 8138 [size=4] I/O ports at 8000 [size=32] Memory at d8426000 (32-bit, non-prefetchable) [size=2K] Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit- Capabilities: [70] Power Management version 3 Capabilities: [a8] SATA HBA ? Capabilities: [b0] PCI Advanced Features Kernel driver in use: ahci Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks, and has the FLAC, MP3, Ogg, etc folders. But it won't play or copy the files; it gives the error in error.gif. Any other info you need, please let me know. This is driving me nuts. Same for me: http://forums.gentoo.org/viewtopic.php?p=6372251#6372251 I still have my old box around just because of this problem :-/ 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller (prog-if 01 [AHCI 1.0]) Subsystem: Acer Incorporated [ALI] Device 0198 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 64 I/O ports at c880 [size=8] I/O ports at c800 [size=4] I/O ports at c480 [size=8] I/O ports at c400 [size=4] I/O ports at c080 [size=32] Memory at fbcfc000 (32-bit, non-prefetchable) [size=2K] Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit- Capabilities: [70] Power Management version 3 Capabilities: [a8] SATA HBA ? Capabilities: [b0] PCI Advanced Features Kernel driver in use: ahci When I rip a CD it typically starts to read it slow permanently down and after ~ the 6th song the process is not profgressing anymore ... You're also running 64-bit ? - Jörg Well, mine is a bit different. Not convinced ;-) I typically run FVWM from a SLIM logon, so there's no KDE or Gnome auto-anything running. I only used Konqueror as an example of another way of accessing the CDs that might have worked, but didn't. I can even stop XDM, log in from a console prompt with no X running, and try to play a CD with cdplay or dcd, and I'll get the same results. And with me, it doesn't start to work and then slow down; it never works. It can only read track listings, but not any of the music. As I said in the forum, I have these log entries running from a pure console (no X started at all) even with a stopped hal. It's enough to put an audio CD into the drive. Happens also with vanilla kernel. Since 2.6.35 I have the message only once though, in the previous two kernels (34+35) they are repeated permanently. Ah, I missed that part. Thought you were only talking about using apps through KDE. And no, I'm on 32-bit stable Gentoo, with only unstable packages being ones that don't have stable ebuilds. Same for me, just using 64-bit. Thanks for trying, though. :-) Anyone else have any ideas? Me, no - unfortunately. - Jörg Well, I'll soldier on. Maybe one of these other posts will tell me somthing... Jake Moe
Re: [gentoo-user] Re: Re: Strange problem with audio CDs
On 01/12/11 14:53, James Wall wrote: On 01/11/11 12:52, Jörg Schaible wrote: Jake Moe wrote: On 01/11/11 04:38, Jörg Schaible wrote: Hi Jake, Jake Moe wrote: I can't seem to get audio CDs to work with my drive. Data CDs work fine, I can mount the filesystem and read them. Data and Video DVDs seem to work fine as well. But when I try to listen to an audio CD, I get the attached errors in log.bz2. I've tried using things from KsCD to cdplay; everything gives the same errors. Googling seems to indicate that there might be a problem with udev somehow, but most of those that I find have the fix as update to the latest udev using apt/rpm/other binary distro package tool, which obviously won't work for Gentoo. Other solutions seem to be update to libATA, but I'm already using that. I've gone through and tried to check anything obvious in my kernel config, but I can't see anything that'd affect it like this. Also, if I reboot into Windows (this laptop is a work computer as well), it plays and rips the same CDs just fine. Hardware is an HP EliteBook nc6930p laptop. CD/DVD drive is /dev/sr0. Controller is: 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03) (prog-if 01 [AHCI 1.0]) Subsystem: Hewlett-Packard Company Device 30dc Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46 I/O ports at 8118 [size=8] I/O ports at 813c [size=4] I/O ports at 8110 [size=8] I/O ports at 8138 [size=4] I/O ports at 8000 [size=32] Memory at d8426000 (32-bit, non-prefetchable) [size=2K] Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit- Capabilities: [70] Power Management version 3 Capabilities: [a8] SATA HBA ? Capabilities: [b0] PCI Advanced Features Kernel driver in use: ahci Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks, and has the FLAC, MP3, Ogg, etc folders. But it won't play or copy the files; it gives the error in error.gif. Any other info you need, please let me know. This is driving me nuts. Same for me: http://forums.gentoo.org/viewtopic.php?p=6372251#6372251 I still have my old box around just because of this problem :-/ 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller (prog-if 01 [AHCI 1.0]) Subsystem: Acer Incorporated [ALI] Device 0198 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 64 I/O ports at c880 [size=8] I/O ports at c800 [size=4] I/O ports at c480 [size=8] I/O ports at c400 [size=4] I/O ports at c080 [size=32] Memory at fbcfc000 (32-bit, non-prefetchable) [size=2K] Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit- Capabilities: [70] Power Management version 3 Capabilities: [a8] SATA HBA ? Capabilities: [b0] PCI Advanced Features Kernel driver in use: ahci When I rip a CD it typically starts to read it slow permanently down and after ~ the 6th song the process is not profgressing anymore ... You're also running 64-bit ? - Jörg Well, mine is a bit different. Not convinced ;-) I typically run FVWM from a SLIM logon, so there's no KDE or Gnome auto-anything running. I only used Konqueror as an example of another way of accessing the CDs that might have worked, but didn't. I can even stop XDM, log in from a console prompt with no X running, and try to play a CD with cdplay or dcd, and I'll get the same results. And with me, it doesn't start to work and then slow down; it never works. It can only read track listings, but not any of the music. As I said in the forum, I have these log entries running from a pure console (no X started at all) even with a stopped hal. It's enough to put an audio CD into the drive. Happens also with vanilla kernel. Since 2.6.35 I have the message only once though, in the previous two kernels (34+35) they are repeated permanently. And no, I'm on 32-bit stable Gentoo, with only unstable packages being ones that don't have stable ebuilds. Same for me, just using 64-bit. Thanks for trying, though. :-) Anyone else have any ideas? Me, no - unfortunately. - Jörg Jake, Are you a member of the audio and/or plugdev group? James Wall Yep, as well as the cdrom group. Jake Moe
Re: [gentoo-user] Strange problem with audio CDs
On 01/12/11 20:29, J. Roeleveld wrote: On Monday 10 January 2011 10:48:56 Jake Moe wrote: I can't seem to get audio CDs to work with my drive. Data CDs work fine, I can mount the filesystem and read them. Data and Video DVDs seem to work fine as well. But when I try to listen to an audio CD, I get the attached errors in log.bz2. I've tried using things from KsCD to cdplay; everything gives the same errors. Googling seems to indicate that there might be a problem with udev somehow, but most of those that I find have the fix as update to the latest udev using apt/rpm/other binary distro package tool, which obviously won't work for Gentoo. Other solutions seem to be update to libATA, but I'm already using that. I've gone through and tried to check anything obvious in my kernel config, but I can't see anything that'd affect it like this. Also, if I reboot into Windows (this laptop is a work computer as well), it plays and rips the same CDs just fine. Hardware is an HP EliteBook nc6930p laptop. CD/DVD drive is /dev/sr0. Controller is: 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03) (prog-if 01 [AHCI 1.0]) Subsystem: Hewlett-Packard Company Device 30dc Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46 I/O ports at 8118 [size=8] I/O ports at 813c [size=4] I/O ports at 8110 [size=8] I/O ports at 8138 [size=4] I/O ports at 8000 [size=32] Memory at d8426000 (32-bit, non-prefetchable) [size=2K] Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit- Capabilities: [70] Power Management version 3 Capabilities: [a8] SATA HBA ? Capabilities: [b0] PCI Advanced Features Kernel driver in use: ahci Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks, and has the FLAC, MP3, Ogg, etc folders. But it won't play or copy the files; it gives the error in error.gif. Any other info you need, please let me know. This is driving me nuts. Jake Moe Are you sure it is a proper audio-cd? The error message talks about a mp3-file. Do you have this issue with all Audio-CDs? (including older ones from before record companies thought it was a good idea to add copy-protection schemes?) -- Joost 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. 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. Oh, and I only own a few CDs that have DRM on them. And no, they weren't the ones that I've tested. Jake Moe
Re: [gentoo-user] Strange problem with audio CDs
On 01/13/11 01:37, Paul Hartman wrote: On Mon, Jan 10, 2011 at 3:48 AM, Jake Moe jakesaddr...@gmail.com wrote: I can't seem to get audio CDs to work with my drive. Data CDs work fine, I can mount the filesystem and read them. Data and Video DVDs seem to work fine as well. But when I try to listen to an audio CD, I get the attached errors in log.bz2. I've tried using things from KsCD to cdplay; everything gives the same errors. Googling seems to indicate that there might be a problem with udev somehow, but most of those that I find have the fix as update to the latest udev using apt/rpm/other binary distro package tool, which obviously won't work for Gentoo. Other solutions seem to be update to libATA, but I'm already using that. I've gone through and tried to check anything obvious in my kernel config, but I can't see anything that'd affect it like this. Also, if I reboot into Windows (this laptop is a work computer as well), it plays and rips the same CDs just fine. I wonder if udev is creating the correct device nodes for the cdrom? What are the programs looking for? Do you have /dev/cdrom in your system? Check /etc/udev/rules.d/70-persistent-cd.rules to ensure it looks right (in case you had a big change in your system config, like IDE - SATA or something) This command might give you some clue what's happening when those errors occur if udev is involved: udevadm test /class/block/sr0 Yeah, /dev/{cdrom,cdrw,dvd,dvdrw} all exist, and point to /dev/sr0: jmoe@aus8617 ~ $ ls -l /dev/{cdrom,cdrw,dvd,dvdrw} lrwxrwxrwx 1 root root 3 Jan 14 2011 /dev/cdrom - sr0 lrwxrwxrwx 1 root root 3 Jan 14 2011 /dev/cdrw - sr0 lrwxrwxrwx 1 root root 3 Jan 14 2011 /dev/dvd - sr0 lrwxrwxrwx 1 root root 3 Jan 14 2011 /dev/dvdrw - sr0 jmoe@aus8617 ~ $ And if I try to mount a data CD or DVD, or watch a DVD, I have no problems. It's only audio CDs that give me issues. Jake Moe