Re: [gentoo-user] how to remove HAL

2010-07-28 Thread Neil Bothwick
On Wed, 28 Jul 2010 10:44:23 +0800, sam new wrote:

As we know, HAL is not used by Xorg for output devices or any
 other devices,so I want to remove it completely,I set USE=-hal
 in /etc/make.conf ,and recompile  the packages, and also
 modify  /etc/conf.d/xdm with NEED_HALD=no ,exec rc-update del hal
 default .All things goes well ,yesterday,I use emerge to update my
 world ,in the list still has a hal package, I don't know why system
 sitll emerge hal? maybe dependence ,but I use 'equery d hal' and
 check packages which depend HAL ,have no idea ,any Suggestions?

USE only affects optional dependencies. euse -I hal will list packages
that have a hal USE flag while emerge --depclean -pv sys-apps/hal will
show those that depend o it. If any appear i only the second list, they
probably have a compulsory dependency on hal. For example K3b shows up
like that here.


-- 
Neil Bothwick

Runtime Error: Out of funny taglines!


signature.asc
Description: PGP signature


Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread KH
Am 25.07.2010 15:57, schrieb Mick:
 On Sunday 25 July 2010 09:18:33 Dale wrote:
 Alan McKinnon wrote:
 On Sunday 25 July 2010 06:57:43 KH wrote:
 You said you ran e2fsck and it was OK. What was the command?



 Normally with an e2fsck on a journalled fs, the app will replay the
 journal  and make a few minor checks. This takes about 4 seconds, not
 the 40 minutes it takes to do a ful ext2 check.



 I think you might need to fsck without the journal. I know there's a
 way to do  this but a cursory glance at the man page didn't reveal it.
 Maybe an ext user will chip in with the correct method

 Hi,

 I ran on the two partitions e2fsck /dev/sde3 as well as fsck.ext3
 /dev/sde3 . Yes, it only took some seconds.

 It's been a long time since I used ext3 so some of this might be wrong.

 An fsck that takes a few seconds is using the journal, which might not
 uncover deeper corruption. You should try disabling the journal (I
 couldn't find the way to do that though), but this will also work:

 Boot of a LiveCD, mount your root partition somewhere using type ext2
 and fsck it. This will invalidate the journal but that's OK, it gets
 recreated on the next proper boot. Let the fsck finish - it will take a
 while on a large fs.

 When done, reboot as normal and see if the machine boots up properly.

 And I would stand guard to make sure housekeeping doesn't come around.
 ;-)  Cutting power during all this wold not be good.
 
 KH, I think that this may not be related to a fs error as such.
 
 Yes, pulling the plug may have caused fs corruption.  However, more likely is 
 that pulling the plug did not allow you to do something that you should have 
 done after you finished upgrading to grub-0.97-r9.  The latest installation 
 of 
 grub asks you to reinstall in the MBR and point its root to wherever your 
 /boot is.  GRUB's fs and its drivers may have changed and therefore the old 
 boot loader code is looking for files that no longer exist.
 
 So you'll probably be alright again if you boot with a fresh systemrescue 
 LiveCD and run grub and then root (hd) and setup (hd0) before you quit 
 and 
 reboot.
 
 If that doesn't work then you most likely have a fs problem.
 
 HTH.

Hi,

I installed grub by connecting the hdd to my workstation. This did not
change anything.
Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
boots fine now. I can use it but ... There is no /dev/hd* . Running
mount /boot I get the answer /dev/hda1 does not exist. Also there is no
/dev/sd*

Any ideas?

Regards kh



[gentoo-user] my /etc/conf.d/clock file is missing

2010-07-28 Thread Xi Shen
hi,

i just installed a new gentoo amd64 system, and i cannot find the
/etc/conf.d/clock file. do i miss some package? i cannot remember
there's a package to install the /etc/conf.d/clock file.


-- 
Best Regards,
Xi Shen (David)

http://twitter.com/davidshen84/



Re: [gentoo-user] my /etc/conf.d/clock file is missing

2010-07-28 Thread Xi Shen
sorry. it is renamed to /etc/conf.d/hwclock...my bad :P


On Wed, Jul 28, 2010 at 8:57 PM, Xi Shen davidshe...@googlemail.com wrote:
 hi,

 i just installed a new gentoo amd64 system, and i cannot find the
 /etc/conf.d/clock file. do i miss some package? i cannot remember
 there's a package to install the /etc/conf.d/clock file.


 --
 Best Regards,
 Xi Shen (David)

 http://twitter.com/davidshen84/




-- 
Best Regards,
Xi Shen (David)

http://twitter.com/davidshen84/



Re: [gentoo-user] how to remove HAL

2010-07-28 Thread sam new
I use emerge -avuNDt world ,find out that is  gnome-base/gnome-mount-0.8-r1
,and also check the ebuild that depends hal .but I mask it in the
package.mask why still emerge gnome-mount and hal ,maybe gnome-mount depends
hal,and others depends gnome-mount ,how can I do?

On 28 July 2010 13:01, Alan McKinnon alan.mckin...@gmail.com wrote:

 On Wednesday 28 July 2010 04:44:23 sam new wrote:
  Hi All,
 As we know, HAL is not used by Xorg for output devices or any
 other
  devices,so I want to remove it completely,I set USE=-hal in
  /etc/make.conf ,and recompile  the packages, and also modify
  /etc/conf.d/xdm with NEED_HALD=no ,exec rc-update del hal default .All
  things goes well ,yesterday,I use emerge to update my world ,in the list
  still has a hal package, I don't know why system sitll emerge hal? maybe
  dependence ,but I use 'equery d hal' and  check packages which depend HAL
  ,have no idea ,any Suggestions?


 emerge -avuNDt world


 to get a tree view of dependencies. That will should just what is causing
 hal
 to be pulled in



 --
 alan dot mckinnon at gmail dot com




Re: [gentoo-user] Re: State of Radeon drivers

2010-07-28 Thread BRM
I was updating my AMD64 system last night - which has an nVidia card and uses 
the nVidia binary stack - and ran into problems. jasper won't compile with 
nVidia's provide opengl implementation. But bug report[1] notes suggest the 
problem is in nVidia's binary layer and all the crap the replace. I had to 
switch it over to the standard X11 opengl to compile it. I'll switch it back 
later, but there are serious problems with the nVidia binary stack that way.

My point is that in using the binary drivers you are laden to the card supports 
they choose, and you will eventually end up using the open source drivers once 
they decide it is no longer worth their effort to support the card. This holds 
true for both nVidia and ATI.

Ben

http://bugs.gentoo.org/show_bug.cgi?id=133609



From: App Deb appde...@gmail.com
To: gentoo-user@lists.gentoo.org
Sent: Tue, July 27, 2010 5:16:46 PM
Subject: Re: [gentoo-user] Re: State of Radeon drivers

Nvidia's binary can't be compared to ATI's one. The problems you describe are 
ATI-binary specific.


And yes the nvidia binary replaces a lot of Xorg stuff, but after some time 
you 
will realise that this is a good thing, as the Xorg is a mess, breaks with 
updates, and introduces bugs with each release. And because developers know 
that, they always prepare their software for nvidia, as it is the only 
*serious* 
graphics solution for *nix right now.


Don't get me wrong, I don't even have an nvidia card in my systems right now 
(cause ATI are superior in windows, all my systems have ATI), but I miss the 
times that I had one. So much more stuff worked without problems and with 
better 
performance.


On Tue, Jul 27, 2010 at 4:42 PM, BRM bm_witn...@yahoo.com wrote:

That's great so long as nVidia supports your card. The problem with the binary 
drivers is that they typically only support a percentage of all the cards the 
video maker makes.
For example, I can't use the ATI binary driver on my laptop since it no 
longer 
supports the R250 chipset, only their latest 3 or 4 generations of cards. So 
I 
have to use the OSS driver, which works great with it.
I have been able to use both the OSS and proprietary drivers on my desktop 
with 
an nVidia card, but I don't know how much longer that will last.

nVidia's proprietary driver is good namely because it is the same at the core 
as 
on Windows and Mac, and they wrap it to make it work with the *nix kernels. 
However, they also do a lot of other funky stuff and keep people from being 
able 
to fully use the  full extend of X. Just search this list (among others) for 
xRanderer and other components of X and you'll see the full story of nVidia's 
proprietary driver.

Ben



From: App Deb appde...@gmail.com
To: gentoo-user@lists.gentoo.org
Sent: Tue, July 27, 2010 5:29:10 AM
Subject: Re: [gentoo-user] Re: State of Radeon drivers


If you are going to use any *nix, nvidia is the best option for years now. 
The 
nvidia closed source drivers are of professional quality and have great 
performance. Actually they are the *standard* for graphics in *nix, and many 
(professional or not) applications actually support only nvidia.


The ati oss driver is still under development, sometimes it works ok, 
sometimes 
not, and it is mostly for basic desktop usage and in my opinion it is 
progressing too slow. Anyway, I don't like having a driver that uses 10% of 
my 
hardware's capabilties. So until it actually reaches 100% (like the rest of 
the 
linux drivers) I can't recommend ATI on linux and nvidia is the way to go.


On Mon, Jul 26, 2010 at 7:32 PM, Florian Philipp 
li...@f_philipp.fastmail.net 
wrote:

Am 26.07.2010 01:01, schrieb James:

 Florian Philipp lists at f_philipp.fastmail.net writes:


 I have a quick question: I plan to buy a notebook with an ATI Mobility
 Radeon HD 4250. How well would that one work? Can I reasonably expect
 Suspend2Ram, 3d acceleration etc to work stable?

 Well, lots of good information previously posted. Here's a
 few more tidbits. When ATI video get's older, there's
 always good opensource solutions to keep using it. Nvidia,
 sometimes you toss in garbage can, or use vesa or
 get lucky? Dunno, as I personally avoid Nvidia; other
 insist on Nvidia. kinda a religious thing with some.


Hehe, religious is the right word. I remember a situation at my
workplace: The admin of our departement IT ordered a Linux workstation
with (fully supported) ATI graphics. At the last second he was overruled
by the head of our institute's IT in favor of a completely unsupported
and more expensive NVidia card. Not only did the poor guy have to wait
two more weeks for the shipment to arrive, he was also stuck with the
VESA driver for half a year and unstable NVidia drivers ever since.

Well, thanks everyone who answered! Problem solved.

Florian Philipp





Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread Mick
On 28 July 2010 09:50, KH gentoo-u...@konstantinhansen.de wrote:

 I installed grub by connecting the hdd to my workstation. This did not
 change anything.
 Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
 boots fine now. I can use it but ... There is no /dev/hd* . Running
 mount /boot I get the answer /dev/hda1 does not exist. Also there is no
 /dev/sd*

 Any ideas?

KH, if you have changed the kernel to use libATA (i.e. the newer
SATA/PATA options) then you need to update your fstab from /dev/hdaX
to /dev/sdaX and change your grub.conf accordingly.

PS.  When you install GRUB use tab completion to see what's available
and make sure you install it in the correct drive/partition.

PPS.  Peter, I installed the kernel option for [*] ATA SFF support and
corresponding chipset (ICH) for my P4 and it now boots fine.  So I
suggest that you use lshw to find which chipset you must activate
under ATA SFF (unless you have one of the more modern *   AHCI SATA
support controllers like I have on my i7 Dell).
-- 
Regards,
Mick



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread Bill Longman
On 07/28/2010 06:42 AM, Mick wrote:
 On 28 July 2010 09:50, KH gentoo-u...@konstantinhansen.de wrote:
 
 I installed grub by connecting the hdd to my workstation. This did not
 change anything.
 Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
 boots fine now. I can use it but ... There is no /dev/hd* . Running
 mount /boot I get the answer /dev/hda1 does not exist. Also there is no
 /dev/sd*

 Any ideas?
 
 KH, if you have changed the kernel to use libATA (i.e. the newer
 SATA/PATA options) then you need to update your fstab from /dev/hdaX
 to /dev/sdaX and change your grub.conf accordingly.

But he doesn't even have those devices, so this will not do him any good
until we know how the kernel is configured (or not) and get the devices
back.

Konstantin, I'm assuming, from your original post, that you have not
changed your kernel in any way over the last few months. You said that
it was running fine for eight months but now after rebooting, you're in
trouble. Are you *sure* you haven't made any changes to the kernel? I'm
also assuming that you know that the kernel drivers for your disk
controllers should not be built as modules but built into the kernel so
that you don't need to go through creating an initramfs and hoping for
your devices to get populated.



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread Mick
On 28 July 2010 14:53, Bill Longman bill.long...@gmail.com wrote:
 On 07/28/2010 06:42 AM, Mick wrote:
 On 28 July 2010 09:50, KH gentoo-u...@konstantinhansen.de wrote:

 I installed grub by connecting the hdd to my workstation. This did not
 change anything.
 Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
 boots fine now. I can use it but ... There is no /dev/hd* . Running
 mount /boot I get the answer /dev/hda1 does not exist. Also there is no
 /dev/sd*

 Any ideas?

 KH, if you have changed the kernel to use libATA (i.e. the newer
 SATA/PATA options) then you need to update your fstab from /dev/hdaX
 to /dev/sdaX and change your grub.conf accordingly.

 But he doesn't even have those devices, so this will not do him any good
 until we know how the kernel is configured (or not) and get the devices
 back.

I am not sure that he does not have those devices ... I don't know if
the error message is returned from grub or from the OS.

It could be that the kernel stanza is wrongly pointing to /dev/hda,
and, or fstab is not correct.
-- 
Regards,
Mick



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread Bill Longman
On 07/28/2010 07:04 AM, Mick wrote:
 On 28 July 2010 14:53, Bill Longman bill.long...@gmail.com wrote:
 On 07/28/2010 06:42 AM, Mick wrote:
 On 28 July 2010 09:50, KH gentoo-u...@konstantinhansen.de wrote:

 I installed grub by connecting the hdd to my workstation. This did not
 change anything.
 Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
 boots fine now. I can use it but ... There is no /dev/hd* . Running
 mount /boot I get the answer /dev/hda1 does not exist. Also there is no
 /dev/sd*

 Any ideas?

 KH, if you have changed the kernel to use libATA (i.e. the newer
 SATA/PATA options) then you need to update your fstab from /dev/hdaX
 to /dev/sdaX and change your grub.conf accordingly.

 But he doesn't even have those devices, so this will not do him any good
 until we know how the kernel is configured (or not) and get the devices
 back.
 
 I am not sure that he does not have those devices ... I don't know if
 the error message is returned from grub or from the OS.
 
 It could be that the kernel stanza is wrongly pointing to /dev/hda,
 and, or fstab is not correct.

He says the pc boots fine now and he can use it and he goes on to
say that he has no /dev/hd* or /dev/sd* devices, so I have to
believe he's got a running system. Not having any /dev/hd* files would
support the error trying to mount /boot. Trying to fix /etc/fstab first
is not the way to attack his problem given the information we have now.



[gentoo-user] USB SDHC Card Reader works, but only if mounted first in WinXP virtual machine

2010-07-28 Thread Paul Hartman
Hi,

I have a USB SDHC card reader whose partition table is not read, and
device node not created, when plugged into my Gentoo Linux computer. I
posted about this a year or two ago but was never able to get it
working, until I recently made an accidental discovery:

If I let a VMWare WinXP take control of the USB device, on the same
physical linux machine as above, the card reader mounts normally in
the virtual WinXP. Then, if I release the USB device from VMware,
Linux takes control of the device back and can read the partition
table and creates the device node normally. After that everything
works fine, I can copy files to/from etc. and everything seems normal.

I hope some usb/udev/something guru here can give me a pointer on
where to begin tracking down the cause of this. Thanks. :)

When I plug in the card reader, dmesg tells me this:

[1637793.709415] usb 2-4: new high speed USB device using ehci_hcd and
address 22
[1637793.826139] usb 2-4: New USB device found, idVendor=090c, idProduct=6000
[1637793.826142] usb 2-4: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[1637793.826145] usb 2-4: Product: SM331AB CARD-READER
[1637793.826146] usb 2-4: Manufacturer: Silicon Motion,Inc.
[1637793.826148] usb 2-4: SerialNumber: 12345678901234567890
[1637793.826356] scsi38 : usb-storage 2-4:1.0
[1637799.870068] scsi 38:0:0:0: Direct-Access
 6000 PQ: 0 ANSI: 0 CCS
[1637799.870187] sd 38:0:0:0: Attached scsi generic sg8 type 0
[1637799.871735] sd 38:0:0:0: [sdg] 62748672 512-byte logical blocks:
(32.1 GB/29.9 GiB)
[1637799.872307] sd 38:0:0:0: [sdg] Write Protect is off
[1637799.872309] sd 38:0:0:0: [sdg] Mode Sense: 4b 00 00 08
[1637799.872310] sd 38:0:0:0: [sdg] Assuming drive cache: write through
[1637799.874301] sd 38:0:0:0: [sdg] Assuming drive cache: write through
[1637799.874303]  sdg:
[1637800.005993] sd 38:0:0:0: [sdg] Result: hostbyte=0x00 driverbyte=0x08
[1637800.005996] sd 38:0:0:0: [sdg] Sense Key : 0x5 [current]
[1637800.005998] sd 38:0:0:0: [sdg] ASC=0x21 ASCQ=0x0
[1637800.006000] sd 38:0:0:0: [sdg] CDB: cdb[0]=0x28: 28 00 00 00 00
00 00 00 08 00
[1637800.006004] end_request: I/O error, dev sdg, sector 0
[1637800.006006] Buffer I/O error on device sdg, logical block 0
[1637800.006881] ldm_validate_partition_table(): Disk read failed.
[1637800.006883]  unable to read partition table
[1637800.008115] sd 38:0:0:0: [sdg] Assuming drive cache: write through
[1637800.008117] sd 38:0:0:0: [sdg] Attached SCSI removable disk


Despite dmesg saying unable to read partition table, fdisk -l /dev/sdg
shows me the partition anyway:

Disk /dev/sdg: 32.1 GB, 32127320064 bytes
236 heads, 42 sectors/track, 6330 cylinders, total 62748672 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

   Device Boot  Start End  Blocks   Id  System
/dev/sdg181926274867131370240c  W95 FAT32 (LBA)


When I let VMware Workstation virtual WinXP session claim the USB
device, it shows me this in dmesg when I plug it in:
[1639461.856033] usb 2-4: new high speed USB device using ehci_hcd and
address 23
[1639461.972673] usb 2-4: New USB device found, idVendor=090c, idProduct=6000
[1639461.972676] usb 2-4: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[1639461.972679] usb 2-4: Product: SM331AB CARD-READER
[1639461.972680] usb 2-4: Manufacturer: Silicon Motion,Inc.
[1639461.972682] usb 2-4: SerialNumber: 12345678901234567890
[1639461.972956] scsi39 : usb-storage 2-4:1.0
[1639462.343346] usb 2-4: reset high speed USB device using ehci_hcd
and address 23
[1639462.459687] scsi40 : usb-storage 2-4:1.0
[1639462.607973] usb 2-4: reset high speed USB device using ehci_hcd
and address 23
[1639462.826673] usb 2-4: usbfs: interface 0 claimed by usb-storage
while 'vmware-vmx' sets config #1
[1639462.826721] usb 2-4: usbfs: interface 0 claimed by usb-storage
while 'vmware-vmx' sets config #1


And when I release the USB device from VMWare back to Linux, dmesg shows this:
[1639859.353550] scsi41 : usb-storage 2-4:1.0
[1639864.347499] scsi 41:0:0:0: Direct-Access
 6000 PQ: 0 ANSI: 0 CCS
[1639864.347616] sd 41:0:0:0: Attached scsi generic sg8 type 0
[1639864.348239] sd 41:0:0:0: [sdg] 62748672 512-byte logical blocks:
(32.1 GB/29.9 GiB)
[1639864.348757] sd 41:0:0:0: [sdg] Write Protect is off
[1639864.348759] sd 41:0:0:0: [sdg] Mode Sense: 4b 00 00 08
[1639864.348761] sd 41:0:0:0: [sdg] Assuming drive cache: write through
[1639864.350737] sd 41:0:0:0: [sdg] Assuming drive cache: write through
[1639864.350740]  sdg: sdg1
[1639864.354864] sd 41:0:0:0: [sdg] Assuming drive cache: write through
[1639864.354866] sd 41:0:0:0: [sdg] Attached SCSI removable disk


From this point the card reader works normally in Linux until I unplug
it. Every time I plug it in I must use the above stated virtual WinXP
workaround in order to use it.


The lsusb -v of this device:

Bus 002 

Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread KH
Am 28.07.2010 15:45, schrieb Bill Longman:
 On 07/28/2010 01:50 AM, KH wrote:

 Hi,

 I installed grub by connecting the hdd to my workstation. This did not
 change anything.
 Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
 boots fine now. I can use it but ... There is no /dev/hd* . Running
 mount /boot I get the answer /dev/hda1 does not exist. Also there is no
 /dev/sd*

 Any ideas?
 
 Konstantin, please post what your kernel has for IDE support. If you
 have /proc/config.gz, then please post the results from zgrep IDE
 /proc/config.gz so we can get an idea of why you have no /dev/hd*
 devices. We will also need to know what kind of disk controller your
 server really has. Are they IDE or SATA controllers?
 

Hi Bill,

Now I am running 2.6.30-r8 but 2.6.34-r1 is ready but not jet copied to
/boot. btw it is a p3 coppermine.

This is the output from zgrep IDE /proc/config.gz .


CONFIG_HAVE_IDE=y
CONFIG_IDE=y
# Please see Documentation/ide/ide.txt for help/info on IDE drives
CONFIG_IDE_XFER_MODE=y
CONFIG_IDE_TIMINGS=y
CONFIG_IDE_ATAPI=y
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_IDE_GD=y
CONFIG_IDE_GD_ATA=y
CONFIG_IDE_GD_ATAPI=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
# CONFIG_BLK_DEV_IDETAPE is not set
CONFIG_BLK_DEV_IDEACPI=y
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_IDE_PROC_FS=y
# IDE chipset support/bugfixes
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEDMA_SFF=y
# PCI IDE chipsets support
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_PCIBUS_ORDER=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_VIDEO_DEV is not set
# CONFIG_VIDEO_MEDIA is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set

I just tried /etc/init.de/udev resart . I am getting errors not to use
the script with baselayout-1 . The box is very slow now. Will reboot and
see what baselayout is on it.

Regards kh



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread Mick
On 28 July 2010 15:27, Bill Longman bill.long...@gmail.com wrote:
 On 07/28/2010 07:04 AM, Mick wrote:
 On 28 July 2010 14:53, Bill Longman bill.long...@gmail.com wrote:
 On 07/28/2010 06:42 AM, Mick wrote:
 On 28 July 2010 09:50, KH gentoo-u...@konstantinhansen.de wrote:

 I installed grub by connecting the hdd to my workstation. This did not
 change anything.
 Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
 boots fine now. I can use it but ... There is no /dev/hd* . Running
 mount /boot I get the answer /dev/hda1 does not exist. Also there is no
 /dev/sd*

 Any ideas?

 KH, if you have changed the kernel to use libATA (i.e. the newer
 SATA/PATA options) then you need to update your fstab from /dev/hdaX
 to /dev/sdaX and change your grub.conf accordingly.

 But he doesn't even have those devices, so this will not do him any good
 until we know how the kernel is configured (or not) and get the devices
 back.

 I am not sure that he does not have those devices ... I don't know if
 the error message is returned from grub or from the OS.

 It could be that the kernel stanza is wrongly pointing to /dev/hda,
 and, or fstab is not correct.

 He says the pc boots fine now and he can use it and he goes on to
 say that he has no /dev/hd* or /dev/sd* devices, so I have to
 believe he's got a running system.

Hmm ... he'll have to be able to hang his OS off some fs or other if
it is indeed working.  Unless he's running some clever ramdisk, then I
would not reach the conclusion that he has a working OS.

 Not having any /dev/hd* files would
 support the error trying to mount /boot. Trying to fix /etc/fstab first
 is not the way to attack his problem given the information we have now.

Perhaps he passed the correct path to his grub and the boot sequence
fails when it tries to find the devices listed in fstab, so the OS
never completes booting.

Either way, hopefully the OP will shed some light to this rather than
us assuming more or less what might actually be the case.
-- 
Regards,
Mick



Re: [gentoo-user] how to remove HAL

2010-07-28 Thread Alan McKinnon
I can't understand what you have typed.

Please run emerge -avuNDt world and post the entire output here.



On Wednesday 28 July 2010 15:34:23 sam new wrote:
 I use emerge -avuNDt world ,find out that is  gnome-base/gnome-mount-0.8-r1
 ,and also check the ebuild that depends hal .but I mask it in the
 package.mask why still emerge gnome-mount and hal ,maybe gnome-mount
 depends hal,and others depends gnome-mount ,how can I do?
 
 On 28 July 2010 13:01, Alan McKinnon alan.mckin...@gmail.com wrote:
  On Wednesday 28 July 2010 04:44:23 sam new wrote:
   Hi All,
   
  As we know, HAL is not used by Xorg for output devices or any
  
  other
  
   devices,so I want to remove it completely,I set USE=-hal in
   /etc/make.conf ,and recompile  the packages, and also modify
   /etc/conf.d/xdm with NEED_HALD=no ,exec rc-update del hal default
   .All things goes well ,yesterday,I use emerge to update my world ,in
   the list still has a hal package, I don't know why system sitll emerge
   hal? maybe dependence ,but I use 'equery d hal' and  check packages
   which depend HAL ,have no idea ,any Suggestions?
  
  emerge -avuNDt world
  
  
  to get a tree view of dependencies. That will should just what is causing
  hal
  to be pulled in
  
  
  
  --
  alan dot mckinnon at gmail dot com

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread KH
Am 28.07.2010 16:04, schrieb Mick:
 On 28 July 2010 14:53, Bill Longman bill.long...@gmail.com wrote:
 On 07/28/2010 06:42 AM, Mick wrote:
 On 28 July 2010 09:50, KH gentoo-u...@konstantinhansen.de wrote:

 I installed grub by connecting the hdd to my workstation. This did not
 change anything.
 Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
 boots fine now. I can use it but ... There is no /dev/hd* . Running
 mount /boot I get the answer /dev/hda1 does not exist. Also there is no
 /dev/sd*

 Any ideas?

 KH, if you have changed the kernel to use libATA (i.e. the newer
 SATA/PATA options) then you need to update your fstab from /dev/hdaX
 to /dev/sdaX and change your grub.conf accordingly.

 But he doesn't even have those devices, so this will not do him any good
 until we know how the kernel is configured (or not) and get the devices
 back.
 
 I am not sure that he does not have those devices ... I don't know if
 the error message is returned from grub or from the OS.
 
 It could be that the kernel stanza is wrongly pointing to /dev/hda,
 and, or fstab is not correct.

Hi Mick,

but typing ls /dev/hd* or ls /dev/sd* should show up something.
Shouldn't it? df -h shows /dev/hda3 is mounted on /
For me this is strange.

kh



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread KH
Am 28.07.2010 15:53, schrieb Bill Longman:
 On 07/28/2010 06:42 AM, Mick wrote:
 On 28 July 2010 09:50, KH gentoo-u...@konstantinhansen.de wrote:

 I installed grub by connecting the hdd to my workstation. This did not
 change anything.
 Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
 boots fine now. I can use it but ... There is no /dev/hd* . Running
 mount /boot I get the answer /dev/hda1 does not exist. Also there is no
 /dev/sd*

 Any ideas?

 KH, if you have changed the kernel to use libATA (i.e. the newer
 SATA/PATA options) then you need to update your fstab from /dev/hdaX
 to /dev/sdaX and change your grub.conf accordingly.
 
 But he doesn't even have those devices, so this will not do him any good
 until we know how the kernel is configured (or not) and get the devices
 back.
 
 Konstantin, I'm assuming, from your original post, that you have not
 changed your kernel in any way over the last few months. You said that
 it was running fine for eight months but now after rebooting, you're in
 trouble. Are you *sure* you haven't made any changes to the kernel? I'm
 also assuming that you know that the kernel drivers for your disk
 controllers should not be built as modules but built into the kernel so
 that you don't need to go through creating an initramfs and hoping for
 your devices to get populated.
 

Hi,

I tried booting 2.6.28 / 2.6.29 / 2.6.30 . The 30 series has not been
running on the box befor. Anyway the result is the same no matter which
kernel I am booting.
I use make oldconfig for uping the kernel.

kh



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread Bill Longman
On 07/28/2010 07:56 AM, KH wrote:
 Am 28.07.2010 15:45, schrieb Bill Longman:
 On 07/28/2010 01:50 AM, KH wrote:

 Hi,

 I installed grub by connecting the hdd to my workstation. This did not
 change anything.
 Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
 boots fine now. I can use it but ... There is no /dev/hd* . Running
 mount /boot I get the answer /dev/hda1 does not exist. Also there is no
 /dev/sd*

 Any ideas?

 Konstantin, please post what your kernel has for IDE support. If you
 have /proc/config.gz, then please post the results from zgrep IDE
 /proc/config.gz so we can get an idea of why you have no /dev/hd*
 devices. We will also need to know what kind of disk controller your
 server really has. Are they IDE or SATA controllers?

 
 Hi Bill,
 
 Now I am running 2.6.30-r8 but 2.6.34-r1 is ready but not jet copied to
 /boot. btw it is a p3 coppermine.
 
 This is the output from zgrep IDE /proc/config.gz .
 
 
 CONFIG_HAVE_IDE=y
 CONFIG_IDE=y
 # Please see Documentation/ide/ide.txt for help/info on IDE drives
 CONFIG_IDE_XFER_MODE=y
 CONFIG_IDE_TIMINGS=y
 CONFIG_IDE_ATAPI=y
 # CONFIG_BLK_DEV_IDE_SATA is not set
 CONFIG_IDE_GD=y
 CONFIG_IDE_GD_ATA=y
 CONFIG_IDE_GD_ATAPI=y
 CONFIG_BLK_DEV_IDECD=y
 CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
 # CONFIG_BLK_DEV_IDETAPE is not set
 CONFIG_BLK_DEV_IDEACPI=y
 # CONFIG_IDE_TASK_IOCTL is not set
 CONFIG_IDE_PROC_FS=y
 # IDE chipset support/bugfixes
 CONFIG_IDE_GENERIC=y
 # CONFIG_BLK_DEV_IDEPNP is not set
 CONFIG_BLK_DEV_IDEDMA_SFF=y
 # PCI IDE chipsets support
 CONFIG_BLK_DEV_IDEPCI=y
 CONFIG_IDEPCI_PCIBUS_ORDER=y
 CONFIG_BLK_DEV_IDEDMA_PCI=y
 CONFIG_BLK_DEV_IDEDMA=y
 # CONFIG_VIDEO_DEV is not set
 # CONFIG_VIDEO_MEDIA is not set
 # CONFIG_VIDEO_OUTPUT_CONTROL is not set
 # CONFIG_FB_TRIDENT is not set
 # CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set

I would expect to see:

CONFIG_BLK_DEV_PIIX=y

in your configuration given that it's a Coppermine. You might want to
add that in the 2.6.30 and the 2.6.34 kernels, although DEV_GENERIC
should give you what you need, as you are probably using that right now.

Use make menuconfig to configure the kernel. Make sure it's * not
M for the PIIX controller and then rebuild and install the kernel.

Do you have lspci installed? The results from lspci -v would be very
helpful right now.

 I just tried /etc/init.de/udev resart . I am getting errors not to use
 the script with baselayout-1 . The box is very slow now. Will reboot and
 see what baselayout is on it.

Yeah, don't worry about this right now.



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread Bill Longman
On 07/28/2010 08:18 AM, KH wrote:
 Am 28.07.2010 16:04, schrieb Mick:
 On 28 July 2010 14:53, Bill Longman bill.long...@gmail.com wrote:
 On 07/28/2010 06:42 AM, Mick wrote:
 On 28 July 2010 09:50, KH gentoo-u...@konstantinhansen.de wrote:

 I installed grub by connecting the hdd to my workstation. This did not
 change anything.
 Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
 boots fine now. I can use it but ... There is no /dev/hd* . Running
 mount /boot I get the answer /dev/hda1 does not exist. Also there is no
 /dev/sd*

 Any ideas?

 KH, if you have changed the kernel to use libATA (i.e. the newer
 SATA/PATA options) then you need to update your fstab from /dev/hdaX
 to /dev/sdaX and change your grub.conf accordingly.

 But he doesn't even have those devices, so this will not do him any good
 until we know how the kernel is configured (or not) and get the devices
 back.

 I am not sure that he does not have those devices ... I don't know if
 the error message is returned from grub or from the OS.

 It could be that the kernel stanza is wrongly pointing to /dev/hda,
 and, or fstab is not correct.
 
 Hi Mick,
 
 but typing ls /dev/hd* or ls /dev/sd* should show up something.
 Shouldn't it? df -h shows /dev/hda3 is mounted on /
 For me this is strange.

How is /dev mounted right now? What does udevadm --version tell you?



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread KH
Am 28.07.2010 17:30, schrieb Bill Longman:
 On 07/28/2010 08:18 AM, KH wrote:

 Hi Mick,

 but typing ls /dev/hd* or ls /dev/sd* should show up something.
 Shouldn't it? df -h shows /dev/hda3 is mounted on /
 For me this is strange.
 
 How is /dev mounted right now? What does udevadm --version tell you?
 

udev is 151 and baselayout is 1.12.13

Regards
FilesystemSize  Used Avail Use% Mounted on
/dev/hda3  15G  8.2G  5.8G  59% /
udev   10M   36K   10M   1% /dev
tmpfs 2.5G 0  2.5G   0% /var/tmp/portage
shm   187M 0  187M   0% /dev/shm


Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread KH
Am 28.07.2010 17:27, schrieb Bill Longman:
 On 07/28/2010 07:56 AM, KH wrote:
 Am 28.07.2010 15:45, schrieb Bill Longman:

 Konstantin, please post what your kernel has for IDE support. If you
 have /proc/config.gz, then please post the results from zgrep IDE
 /proc/config.gz so we can get an idea of why you have no /dev/hd*
 devices. We will also need to know what kind of disk controller your
 server really has. Are they IDE or SATA controllers?


 Hi Bill,

 Now I am running 2.6.30-r8 but 2.6.34-r1 is ready but not jet copied to
 /boot. btw it is a p3 coppermine.

 This is the output from zgrep IDE /proc/config.gz .


 CONFIG_HAVE_IDE=y
 CONFIG_IDE=y
 # Please see Documentation/ide/ide.txt for help/info on IDE drives
 CONFIG_IDE_XFER_MODE=y
 CONFIG_IDE_TIMINGS=y
 CONFIG_IDE_ATAPI=y
 # CONFIG_BLK_DEV_IDE_SATA is not set
 CONFIG_IDE_GD=y
 CONFIG_IDE_GD_ATA=y
 CONFIG_IDE_GD_ATAPI=y
 CONFIG_BLK_DEV_IDECD=y
 CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
 # CONFIG_BLK_DEV_IDETAPE is not set
 CONFIG_BLK_DEV_IDEACPI=y
 # CONFIG_IDE_TASK_IOCTL is not set
 CONFIG_IDE_PROC_FS=y
 # IDE chipset support/bugfixes
 CONFIG_IDE_GENERIC=y
 # CONFIG_BLK_DEV_IDEPNP is not set
 CONFIG_BLK_DEV_IDEDMA_SFF=y
 # PCI IDE chipsets support
 CONFIG_BLK_DEV_IDEPCI=y
 CONFIG_IDEPCI_PCIBUS_ORDER=y
 CONFIG_BLK_DEV_IDEDMA_PCI=y
 CONFIG_BLK_DEV_IDEDMA=y
 # CONFIG_VIDEO_DEV is not set
 # CONFIG_VIDEO_MEDIA is not set
 # CONFIG_VIDEO_OUTPUT_CONTROL is not set
 # CONFIG_FB_TRIDENT is not set
 # CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
 
 I would expect to see:
 
 CONFIG_BLK_DEV_PIIX=y
 
 in your configuration given that it's a Coppermine. You might want to
 add that in the 2.6.30 and the 2.6.34 kernels, although DEV_GENERIC
 should give you what you need, as you are probably using that right now.
 
 Use make menuconfig to configure the kernel. Make sure it's * not
 M for the PIIX controller and then rebuild and install the kernel.
 
 Do you have lspci installed? The results from lspci -v would be very
 helpful right now.
 
 I just tried /etc/init.de/udev resart . I am getting errors not to use
 the script with baselayout-1 . The box is very slow now. Will reboot and
 see what baselayout is on it.
 
 Yeah, don't worry about this right now.
 

lspci:

00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and
Memory Controller Hub (rev 02)
Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
Flags: bus master, fast devsel, latency 0
Memory at f800 (32-bit, prefetchable) [size=64M]
Capabilities: [88] Vendor Specific Information ?
Capabilities: [a0] AGP version 2.0
Kernel driver in use: agpgart-intel

00:01.0 PCI bridge: Intel Corporation 82815 815 Chipset AGP Bridge (rev
02) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: ee00-efef
Prefetchable memory behind bridge: eff0-f7ff

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 02) (prog-if
00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: d000-dfff
Memory behind bridge: ed80-edff

00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 02)
Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller
(rev 02) (prog-if 80 [Master])
Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
Flags: bus master, medium devsel, latency 0
[virtual] Memory at 01f0 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 03f0 (type 3, non-prefetchable) [size=1]
[virtual] Memory at 0170 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 0370 (type 3, non-prefetchable) [size=1]
I/O ports at b800 [size=16]
Kernel driver in use: PIIX_IDE

00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1
(rev 02) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
Flags: bus master, medium devsel, latency 0, IRQ 12
I/O ports at b400 [size=32]
Kernel driver in use: uhci_hcd

00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 02)
Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
Flags: medium devsel, IRQ 10
I/O ports at e800 [size=16]

00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1
(rev 02) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
Flags: bus master, medium devsel, latency 0, IRQ 6
I/O ports at b000 [size=32]
Kernel driver in use: uhci_hcd

01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2
MX200] (rev b2) (prog-if 00 [VGA controller])
Subsystem: ABIT Computer Corp. Device 6106
Flags: 

Re: [gentoo-user] how to remove HAL

2010-07-28 Thread Volker Armin Hemmann
On Mittwoch 28 Juli 2010, sam new wrote:
 I use emerge -avuNDt world ,find out that is  gnome-base/gnome-mount-0.8-r1
 ,and also check the ebuild that depends hal .but I mask it in the
 package.mask why still emerge gnome-mount and hal ,maybe gnome-mount
 depends hal,and others depends gnome-mount ,how can I do?

you can't if you want to use gnome-mount and other gnome stuff.



[gentoo-user] Re: how to remove HAL

2010-07-28 Thread Nikos Chantziaras

On 07/28/2010 05:44 AM, sam new wrote:

Hi All,
As we know, HAL is not used by Xorg for output devices or any
other devices,so I want to remove it completely,I set USE=-hal in
/etc/make.conf ,and recompile  the packages, and also modify
/etc/conf.d/xdm with NEED_HALD=no ,exec rc-update del hal default
.All things goes well ,yesterday,I use emerge to update my world ,in the
list still has a hal package, I don't know why system sitll emerge hal?
maybe dependence ,but I use 'equery d hal' and  check packages which
depend HAL ,have no idea ,any Suggestions?


You can not remove HAL if something needs it.

And why do you want to remove it in the first place?  It's not gonna eat 
your cat.





[gentoo-user] Re: USB SDHC Card Reader works, but only if mounted first in WinXP virtual machine

2010-07-28 Thread James
Paul Hartman paul.hartman+gentoo at gmail.com writes:


 I have a USB SDHC card reader whose partition table is not read, and
 device node not created, when plugged into my Gentoo Linux computer.

Here's a good place to start:

http://en.wikipedia.org/wiki/Secure_Digital

Also there is mini-SD and micro-SD:
http://www.diffen.com/difference/SD_Card_vs_SDHC


To make things really interesting, there are  several
file systems to choose from, relatively new to the
kernel, specifically for these sorts of devices. So grab
an embedded board and drop on over to the embedded gentoo
list, where the real fun begins..
 
The hacks that are really knowlegable on these puppies, 
(solar, vapier, etc etc) hang out on gentoo embedded.


hth,
James

Also






[gentoo-user] Re: USB SDHC Card Reader works, but only if mounted first in WinXP virtual machine

2010-07-28 Thread James
Paul Hartman paul.hartman+gentoo at gmail.com writes:

 
 Hi,
 
 I have a USB SDHC card reader

OOPs, I forgot a really important link:

 http://www.sdcard.org/developers/tech/sdcard/


Look in the simplified specification first.


hth,
James






Re: [gentoo-user] Re: how to remove HAL

2010-07-28 Thread Neil Bothwick
On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote:

 And why do you want to remove it in the first place?  It's not gonna
 eat your cat.

Although it may kill your crew.


-- 
Neil Bothwick

I'm not closed minded, you're just wrong.


signature.asc
Description: PGP signature


Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread Bill Longman
On 07/28/2010 09:37 AM, KH wrote:
 Am 28.07.2010 17:27, schrieb Bill Longman:
 On 07/28/2010 07:56 AM, KH wrote:
 Am 28.07.2010 15:45, schrieb Bill Longman:

 Konstantin, please post what your kernel has for IDE support. If you
 have /proc/config.gz, then please post the results from zgrep IDE
 /proc/config.gz so we can get an idea of why you have no /dev/hd*
 devices. We will also need to know what kind of disk controller your
 server really has. Are they IDE or SATA controllers?


 Hi Bill,

 Now I am running 2.6.30-r8 but 2.6.34-r1 is ready but not jet copied to
 /boot. btw it is a p3 coppermine.

 This is the output from zgrep IDE /proc/config.gz .


 CONFIG_HAVE_IDE=y
 CONFIG_IDE=y
 # Please see Documentation/ide/ide.txt for help/info on IDE drives
 CONFIG_IDE_XFER_MODE=y
 CONFIG_IDE_TIMINGS=y
 CONFIG_IDE_ATAPI=y
 # CONFIG_BLK_DEV_IDE_SATA is not set
 CONFIG_IDE_GD=y
 CONFIG_IDE_GD_ATA=y
 CONFIG_IDE_GD_ATAPI=y
 CONFIG_BLK_DEV_IDECD=y
 CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
 # CONFIG_BLK_DEV_IDETAPE is not set
 CONFIG_BLK_DEV_IDEACPI=y
 # CONFIG_IDE_TASK_IOCTL is not set
 CONFIG_IDE_PROC_FS=y
 # IDE chipset support/bugfixes
 CONFIG_IDE_GENERIC=y
 # CONFIG_BLK_DEV_IDEPNP is not set
 CONFIG_BLK_DEV_IDEDMA_SFF=y
 # PCI IDE chipsets support
 CONFIG_BLK_DEV_IDEPCI=y
 CONFIG_IDEPCI_PCIBUS_ORDER=y
 CONFIG_BLK_DEV_IDEDMA_PCI=y
 CONFIG_BLK_DEV_IDEDMA=y
 # CONFIG_VIDEO_DEV is not set
 # CONFIG_VIDEO_MEDIA is not set
 # CONFIG_VIDEO_OUTPUT_CONTROL is not set
 # CONFIG_FB_TRIDENT is not set
 # CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set

 I would expect to see:

 CONFIG_BLK_DEV_PIIX=y

 in your configuration given that it's a Coppermine. You might want to
 add that in the 2.6.30 and the 2.6.34 kernels, although DEV_GENERIC
 should give you what you need, as you are probably using that right now.

 Use make menuconfig to configure the kernel. Make sure it's * not
 M for the PIIX controller and then rebuild and install the kernel.

 Do you have lspci installed? The results from lspci -v would be very
 helpful right now.

 I just tried /etc/init.de/udev resart . I am getting errors not to use
 the script with baselayout-1 . The box is very slow now. Will reboot and
 see what baselayout is on it.

 Yeah, don't worry about this right now.

 
 lspci:
 
 00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and
 Memory Controller Hub (rev 02)
 Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
 Flags: bus master, fast devsel, latency 0
 Memory at f800 (32-bit, prefetchable) [size=64M]
 Capabilities: [88] Vendor Specific Information ?
 Capabilities: [a0] AGP version 2.0
 Kernel driver in use: agpgart-intel
 
 00:01.0 PCI bridge: Intel Corporation 82815 815 Chipset AGP Bridge (rev
 02) (prog-if 00 [Normal decode])
 Flags: bus master, 66MHz, fast devsel, latency 64
 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
 Memory behind bridge: ee00-efef
 Prefetchable memory behind bridge: eff0-f7ff
 
 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 02) (prog-if
 00 [Normal decode])
 Flags: bus master, fast devsel, latency 0
 Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
 I/O behind bridge: d000-dfff
 Memory behind bridge: ed80-edff
 
 00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 02)
 Flags: bus master, medium devsel, latency 0
 
 00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller
 (rev 02) (prog-if 80 [Master])
 Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
 Flags: bus master, medium devsel, latency 0
 [virtual] Memory at 01f0 (32-bit, non-prefetchable) [size=8]
 [virtual] Memory at 03f0 (type 3, non-prefetchable) [size=1]
 [virtual] Memory at 0170 (32-bit, non-prefetchable) [size=8]
 [virtual] Memory at 0370 (type 3, non-prefetchable) [size=1]
 I/O ports at b800 [size=16]
 Kernel driver in use: PIIX_IDE
 
 00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1
 (rev 02) (prog-if 00 [UHCI])
 Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
 Flags: bus master, medium devsel, latency 0, IRQ 12
 I/O ports at b400 [size=32]
 Kernel driver in use: uhci_hcd
 
 00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 02)
 Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
 Flags: medium devsel, IRQ 10
 I/O ports at e800 [size=16]
 
 00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1
 (rev 02) (prog-if 00 [UHCI])
 Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
 Flags: bus master, medium devsel, latency 0, IRQ 6
 I/O ports at b000 [size=32]
 Kernel driver in use: uhci_hcd
 
 01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2
 MX200] (rev b2) 

[gentoo-user] Seamonkey 2.0.5 crashes on print

2010-07-28 Thread James
Hello,

Seamonkey 1.18 worked and printed just fine to my HP 
HP_Officejet_Pro_8500_A909g HP Officejet Pro 8500 .


Now recently cups, hplip and many packages where updated.
I can print using 'lp' commands from the command line
to this printer. The printer test page, via 631:localhost
print is fine.

On seamonkey under file these 3 buttons
instantly crash seamonkey:
print
print preview
page setup

equery depgraph --depth=1 cups
yields a very long list of candidate software
to maybe rebuild?


emerge -Dp $(qlist -I -C cups)
yeilds a very short list (upon rebuilding does not fix problem):
[ebuild   R   ] net-print/cups-1.4.4 
[ebuild   R   ] net-print/libgnomecups-0.2.3 


What shall I use to determine what next to rebuild?
On the cups maybe broken side?
On the 'seamonkey' may need a rebuilt dependency? 

Suggestions on flushing out a logical coarse of
action/repair is most welcome..


http://631:localhost/admin all looks fine.


James


...
When all else fails, blame Python, that's why it's SLOTTED!
...






[gentoo-user] Re: how to remove HAL

2010-07-28 Thread Nikos Chantziaras

On 07/28/2010 08:23 PM, Neil Bothwick wrote:

On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote:


And why do you want to remove it in the first place?  It's not gonna
eat your cat.


Although it may kill your crew.


I think most people don't understand what X used HAL for.  They think 
that they can remove HAL and still have stuff like USB 
hotplugging/automounting working.  But that's wrong.  Gnome/KDE use HAL 
for this, not X.  And if you disable HAL completely, that stuff will 
stop working.





Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread Mick
On Wednesday 28 July 2010 17:35:44 KH wrote:
 Am 28.07.2010 17:30, schrieb Bill Longman:
  On 07/28/2010 08:18 AM, KH wrote:
  Hi Mick,
  
  but typing ls /dev/hd* or ls /dev/sd* should show up something.
  Shouldn't it? df -h shows /dev/hda3 is mounted on /
  For me this is strange.
  
  How is /dev mounted right now? What does udevadm --version tell you?
 
 udev is 151 and baselayout is 1.12.13

Yes this is indeed strange ... short of having some strange access rights or 
umask in your fstab ... is it the same when you ls as root user?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread Bill Longman
On 07/28/2010 11:54 AM, Mick wrote:
 On Wednesday 28 July 2010 17:35:44 KH wrote:
 Am 28.07.2010 17:30, schrieb Bill Longman:
 On 07/28/2010 08:18 AM, KH wrote:
 Hi Mick,

 but typing ls /dev/hd* or ls /dev/sd* should show up something.
 Shouldn't it? df -h shows /dev/hda3 is mounted on /
 For me this is strange.

 How is /dev mounted right now? What does udevadm --version tell you?

 udev is 151 and baselayout is 1.12.13
 
 Yes this is indeed strange ... short of having some strange access rights or 
 umask in your fstab ... is it the same when you ls as root user?

Are there any red flags in dmesg?



Re: [gentoo-user] panic:: octave: magick/semaphore.c:525: [...] failed

2010-07-28 Thread pk
On 2010-07-26 18:16, Valmor de Almeida wrote:

 -  ./test.m
 octave: magick/semaphore.c:525: LockSemaphoreInfo: Assertion
 `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed.
 panic: Aborted -- stopping myself...
 attempting to save variables to `octave-core'...
 save to `octave-core' complete
 Aborted

Hi,

I tested your code (and variations of it) and I get the same result
as you. Googling seems to indicate that lots of other people are having
similar problems with imwrite/imread function. The functions are not
part of the octave package but is an add-on. However, from what I can
see it may be a problem in the way octave make the graphicsmagick
write-call (of course there may be a problem with graphicksmagick itself
as well). Don't know enough to be of more help... Sorry!

Best regards

Peter K



[gentoo-user] dir is rwx but can't create file

2010-07-28 Thread Andrey Vul
Creating files in /tmp, /etc, /lib32, and /var return ENOENT (touch
/tmp/foo = strerror(ENOENT)).
However, this is done as root and the dirs are marked 755 root:root.
df -i shows only 2% inode usage.
Any explanation as to why a rwx-ed dir can't be written to? This is
breaking quite a few of the init scripts.

--
Andrey Vul
begin-base64 600 sig
bXNuLCBob21lOiBhbmRyZXkudnVsQGdtYWlsLmNvbQ0KdSBvZiB0OiBhbmRyZXkudnVsQHV0b3Jv
bnRvLmNhDQpzbXMsIHZvaWNlbWFpbDogNDE2MzAzOTkyMw0K
`
end



Re: [gentoo-user] Re: how to remove HAL

2010-07-28 Thread Andrey Vul
On Wed, Jul 28, 2010 at 14:50, Nikos Chantziaras rea...@arcor.de wrote:
 On 07/28/2010 08:23 PM, Neil Bothwick wrote:

 On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote:

 And why do you want to remove it in the first place?  It's not gonna
 eat your cat.

 Although it may kill your crew.

 I think most people don't understand what X used HAL for.  They think that
 they can remove HAL and still have stuff like USB hotplugging/automounting
 working.  But that's wrong.  Gnome/KDE use HAL for this, not X.  And if you
 disable HAL completely, that stuff will stop working.



E.g. solid-hardware for HAL-mounting devices by uuid/volume-id.

I just got rid of policykit - too much trouble.
But I kept HAL because it's very useful.



Re: [gentoo-user] dir is rwx but can't create file

2010-07-28 Thread Alan McKinnon
On Wednesday 28 July 2010 22:20:17 Andrey Vul wrote:
 Creating files in /tmp, /etc, /lib32, and /var return ENOENT (touch
 /tmp/foo = strerror(ENOENT)).
 However, this is done as root and the dirs are marked 755 root:root.
 df -i shows only 2% inode usage.
 Any explanation as to why a rwx-ed dir can't be written to? This is
 breaking quite a few of the init scripts.
 
 --
 Andrey Vul
 begin-base64 600 sig
 bXNuLCBob21lOiBhbmRyZXkudnVsQGdtYWlsLmNvbQ0KdSBvZiB0OiBhbmRyZXkudnVsQHV0b3J
 v bnRvLmNhDQpzbXMsIHZvaWNlbWFpbDogNDE2MzAzOTkyMw0K
 `
 end

sounds like / is mounted read-only


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: how to remove HAL

2010-07-28 Thread Nikos Chantziaras

On 07/28/2010 11:54 PM, Andrey Vul wrote:

On Wed, Jul 28, 2010 at 14:50, Nikos Chantziarasrea...@arcor.de  wrote:

On 07/28/2010 08:23 PM, Neil Bothwick wrote:


On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote:


And why do you want to remove it in the first place?  It's not gonna
eat your cat.


Although it may kill your crew.


I think most people don't understand what X used HAL for.  They think that
they can remove HAL and still have stuff like USB hotplugging/automounting
working.  But that's wrong.  Gnome/KDE use HAL for this, not X.  And if you
disable HAL completely, that stuff will stop working.




E.g. solid-hardware for HAL-mounting devices by uuid/volume-id.

I just got rid of policykit - too much trouble.
But I kept HAL because it's very useful.


If you're on KDE, you will need policykit again in the future, since 
with KDE 4.5 (to be released in a matter of days) it's not really 
optional anymore.  I got hit by this when updating to it (now at RC3):


https://bugs.kde.org/show_bug.cgi?id=24




Re: [gentoo-user] Re: how to remove HAL

2010-07-28 Thread Alan McKinnon
On Wednesday 28 July 2010 23:08:45 Nikos Chantziaras wrote:
 On 07/28/2010 11:54 PM, Andrey Vul wrote:
  On Wed, Jul 28, 2010 at 14:50, Nikos Chantziarasrea...@arcor.de  wrote:
  On 07/28/2010 08:23 PM, Neil Bothwick wrote:
  On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote:
  And why do you want to remove it in the first place?  It's not gonna
  eat your cat.
  
  Although it may kill your crew.
  
  I think most people don't understand what X used HAL for.  They think
  that they can remove HAL and still have stuff like USB
  hotplugging/automounting working.  But that's wrong.  Gnome/KDE use HAL
  for this, not X.  And if you disable HAL completely, that stuff will
  stop working.
  
  E.g. solid-hardware for HAL-mounting devices by uuid/volume-id.
  
  I just got rid of policykit - too much trouble.
  But I kept HAL because it's very useful.
 
 If you're on KDE, you will need policykit again in the future, since
 with KDE 4.5 (to be released in a matter of days) it's not really
 optional anymore.  I got hit by this when updating to it (now at RC3):
 
 https://bugs.kde.org/show_bug.cgi?id=24

Something tells me the kde.org admins didn't *really* intend to show me all 
this info:

Software error:

DBD::mysql::db selectrow_array failed: Unknown table engine 'InnoDB' [for 
Statement SELECT bug_id FROM bugs WHERE bug_id = ?] at Bugzilla/Bug.pm line 
3366
Bugzilla::Bug::ValidateBugID(24) called at 
/home/bugzilla/public_html/show_bug.cgi line 62

For help, please send mail to the webmaster (sysad...@kde.org), giving this 
error message and the time and date of the error. 

tut, tut, kde.org. Big fail. Need to learn how to trap errors properly.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] dir is rwx but can't create file

2010-07-28 Thread Bill Longman
On 07/28/2010 01:52 PM, Alan McKinnon wrote:
 On Wednesday 28 July 2010 22:20:17 Andrey Vul wrote:
 Creating files in /tmp, /etc, /lib32, and /var return ENOENT (touch
 /tmp/foo = strerror(ENOENT)).
 However, this is done as root and the dirs are marked 755 root:root.
 df -i shows only 2% inode usage.
 Any explanation as to why a rwx-ed dir can't be written to? This is
 breaking quite a few of the init scripts.

 --
 Andrey Vul
 begin-base64 600 sig
 bXNuLCBob21lOiBhbmRyZXkudnVsQGdtYWlsLmNvbQ0KdSBvZiB0OiBhbmRyZXkudnVsQHV0b3J
 v bnRvLmNhDQpzbXMsIHZvaWNlbWFpbDogNDE2MzAzOTkyMw0K
 `
 end
 
 sounds like / is mounted read-only

Do read-only filesystems typically reply ENOENT when trying to create a
file? It's usually something like read-only filesystem in that case.
ENOENT means it can't even find the file.



[gentoo-user] hdparm, CONFIG_ATA_SFF and KDE-4.4.4

2010-07-28 Thread Mick
The title may not make immediately sense, but this is what I have observed.

I switched to CONFIG_ATA_SFF instead of the deprecated CONFIG_IDE.  Up until 
that point I had passed -M 128 to hdparm once and my drive retained the 
settings between reboots and kept quiet.

With the new kernel I noticed that KDE-4.4.4 switches it back to -M 254 and 
becomes noisy as KDE kicks in (when the system settings symbol comes up during 
login).

I tried adding hdparm in the default runlevel and also added:

sda_arg=-M 128

in /etc/conf.d/hdparm but it doesn't seem to work.  KDE resets it to full 
pelt.

Is there a fix to this?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Fwd: Update of mozilla products (firefox, thunderbird, seamonkey) gone bad...

2010-07-28 Thread pk
If anyone else encounters this, I've found a solution to my problems:

http://wiki.archlinux.org/index.php/ATI_Catalyst#Catalyst_10.6.2F10.7_:_black.2Fgrey.2Fwhite_boxes.2Fartifacts_in_firefox.2Fthunderbird

http://phoronix.com/forums/archive/index.php/t-24323.html

Apparently it's the new 2D acceleration scheme that's buggy...

Best regards

Peter K



[gentoo-user] Re: dir is rwx but can't create file

2010-07-28 Thread Andrey Vul
If / was mounted ro, touch would output strerror(EROFS), not strerror(ENOENT)

On 2010-07-28, Bill Longman bill.long...@gmail.com wrote:
 On 07/28/2010 01:52 PM, Alan McKinnon wrote:
 On Wednesday 28 July 2010 22:20:17 Andrey Vul wrote:
 Creating files in /tmp, /etc, /lib32, and /var return ENOENT (touch
 /tmp/foo = strerror(ENOENT)).
 However, this is done as root and the dirs are marked 755 root:root.
 df -i shows only 2% inode usage.
 Any explanation as to why a rwx-ed dir can't be written to? This is
 breaking quite a few of the init scripts.

 --
 Andrey Vul
 begin-base64 600 sig
 bXNuLCBob21lOiBhbmRyZXkudnVsQGdtYWlsLmNvbQ0KdSBvZiB0OiBhbmRyZXkudnVsQHV0b3J
 v bnRvLmNhDQpzbXMsIHZvaWNlbWFpbDogNDE2MzAzOTkyMw0K
 `
 end

 sounds like / is mounted read-only

 Do read-only filesystems typically reply ENOENT when trying to create a
 file? It's usually something like read-only filesystem in that case.
 ENOENT means it can't even find the file.



-- 
Sent from my mobile device

Andrey Vul
begin-base64 600 sig
bXNuLCBob21lOiBhbmRyZXkudnVsQGdtYWlsLmNvbQ0KdSBvZiB0OiBhbmRyZXkudnVsQHV0b3Jv
bnRvLmNhDQpzbXMsIHZvaWNlbWFpbDogNDE2MzAzOTkyMw0K
`
end



Re: [gentoo-user] how to remove HAL

2010-07-28 Thread Andrey Vul
Ugh. Now i'll actually have to config policykit.conf.
For some reason, match group=wheel return yes fails so much. Somehow
the mount-ro defaults to no every time

On 2010-07-28, Nikos Chantziaras rea...@arcor.de wrote:
 On 07/28/2010 11:54 PM, Andrey Vul wrote:
 On Wed, Jul 28, 2010 at 14:50, Nikos Chantziarasrea...@arcor.de  wrote:
 On 07/28/2010 08:23 PM, Neil Bothwick wrote:

 On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote:

 And why do you want to remove it in the first place?  It's not gonna
 eat your cat.

 Although it may kill your crew.

 I think most people don't understand what X used HAL for.  They think
 that
 they can remove HAL and still have stuff like USB
 hotplugging/automounting
 working.  But that's wrong.  Gnome/KDE use HAL for this, not X.  And if
 you
 disable HAL completely, that stuff will stop working.



 E.g. solid-hardware for HAL-mounting devices by uuid/volume-id.

 I just got rid of policykit - too much trouble.
 But I kept HAL because it's very useful.

 If you're on KDE, you will need policykit again in the future, since
 with KDE 4.5 (to be released in a matter of days) it's not really
 optional anymore.  I got hit by this when updating to it (now at RC3):

 https://bugs.kde.org/show_bug.cgi?id=24




-- 
Sent from my mobile device

Andrey Vul
begin-base64 600 sig
bXNuLCBob21lOiBhbmRyZXkudnVsQGdtYWlsLmNvbQ0KdSBvZiB0OiBhbmRyZXkudnVsQHV0b3Jv
bnRvLmNhDQpzbXMsIHZvaWNlbWFpbDogNDE2MzAzOTkyMw0K
`
end



Re: [gentoo-user] how to remove HAL

2010-07-28 Thread Andrey Vul
Ugh. Now i'll actually have to config policykit.conf.
For some reason, match group=wheel return yes fails so much. Somehow
the mount-ro defaults to no every time

On 2010-07-28, Nikos Chantziaras rea...@arcor.de wrote:
 On 07/28/2010 11:54 PM, Andrey Vul wrote:
 On Wed, Jul 28, 2010 at 14:50, Nikos Chantziarasrea...@arcor.de  wrote:
 On 07/28/2010 08:23 PM, Neil Bothwick wrote:

 On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote:

 And why do you want to remove it in the first place?  It's not gonna
 eat your cat.

 Although it may kill your crew.

 I think most people don't understand what X used HAL for.  They think
 that
 they can remove HAL and still have stuff like USB
 hotplugging/automounting
 working.  But that's wrong.  Gnome/KDE use HAL for this, not X.  And if
 you
 disable HAL completely, that stuff will stop working.



 E.g. solid-hardware for HAL-mounting devices by uuid/volume-id.

 I just got rid of policykit - too much trouble.
 But I kept HAL because it's very useful.

 If you're on KDE, you will need policykit again in the future, since
 with KDE 4.5 (to be released in a matter of days) it's not really
 optional anymore.  I got hit by this when updating to it (now at RC3):

 https://bugs.kde.org/show_bug.cgi?id=24




-- 
Sent from my mobile device

Andrey Vul
begin-base64 600 sig
bXNuLCBob21lOiBhbmRyZXkudnVsQGdtYWlsLmNvbQ0KdSBvZiB0OiBhbmRyZXkudnVsQHV0b3Jv
bnRvLmNhDQpzbXMsIHZvaWNlbWFpbDogNDE2MzAzOTkyMw0K
`
end



[gentoo-user] Re: how to remove HAL

2010-07-28 Thread Nikos Chantziaras
Btw, I think now the package is polkit, not policykit; I think the 
first replaced the second.  If you enable the policykit USE flag for 
kdelibs and consolekit, only sys-auth/polkit gets installed, not 
sys-auth/policykit.  However, if you enable that USE flag globally in 
make.conf, then I think both get installed because some package probably 
depend on the older package.


Anyway, I don't have a policykit.conf.  Or if I have one, I don't know 
where it is and I never edited it.  And yet everything seems to be 
working just fine here.



On 07/29/2010 03:31 AM, Andrey Vul wrote:

Ugh. Now i'll actually have to config policykit.conf.
For some reason, match group=wheel return yes fails so much. Somehow
the mount-ro defaults to no every time

On 2010-07-28, Nikos Chantziarasrea...@arcor.de  wrote:

On 07/28/2010 11:54 PM, Andrey Vul wrote:

On Wed, Jul 28, 2010 at 14:50, Nikos Chantziarasrea...@arcor.de   wrote:

On 07/28/2010 08:23 PM, Neil Bothwick wrote:


On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote:


And why do you want to remove it in the first place?  It's not gonna
eat your cat.


Although it may kill your crew.


I think most people don't understand what X used HAL for.  They think
that
they can remove HAL and still have stuff like USB
hotplugging/automounting
working.  But that's wrong.  Gnome/KDE use HAL for this, not X.  And if
you
disable HAL completely, that stuff will stop working.




E.g. solid-hardware for HAL-mounting devices by uuid/volume-id.

I just got rid of policykit - too much trouble.
But I kept HAL because it's very useful.


If you're on KDE, you will need policykit again in the future, since
with KDE 4.5 (to be released in a matter of days) it's not really
optional anymore.  I got hit by this when updating to it (now at RC3):

https://bugs.kde.org/show_bug.cgi?id=24





[gentoo-user] Facilities for creating Gentoo Linux based virtual appliances

2010-07-28 Thread Albert Hopkins
Hello,

For a while I have been assembling methods for myself to be able to
easily create Gentoo-based virtual appliances.  I have worked with
Ubuntu's vmbuilder scripts and basically wanted the same or similar ease
of use with Linux.

To make a long story short, I threw together a Makefile which basically
gives me this ability.  I have it at a state where it's pretty much
useful to me for my purposes.  But I thought someone else may find use
for it as well, so I put it up on Bitbucket:

https://bitbucket.org/marduk/virtual-appliance

The Makefile pretty much does an install into a chroot, pretty much by
the handbook, with a few alterations where I saw fit.  It hast some
variables and a couple of hooks to allow for customization.  I've
already created a few appliances (included) such as:

base: A base install of Gentoo Linux
gnome: GNOME stable appliance (no GUI console)
kde: KDE stable appliance (no GUI console)
lodgeit: Lodgeit pastebin appliance[1]
teamplayer: TeamPlayer appliance

The no GUI console means that by default these appliances don't have
an X console.  I usually log into them via XDMCP or ssh.  So they can be
thought of as headless desktop virtual appliances.  The base
appliance is pretty much the handbook, with dhcpd and a syslog and
nothing else.  TeamPlayer is a democratic Internet radio station web
app that I have been developing.  To date I have not distributed it,
though eventually plan to.  You can contact me directly if interested.

Right now there is no documentation or copyright or anything.  It's
pretty much just the code.  Like I said this has been primarily for my
personal use so there is nothing fancy like packaging or anything, but
it works.  Some things can probably be done better.  I'm no expert at
writing Makefiles.

So the way you basically use it is like this:

$ sudo make APPLIANCE=gnome VIRTIO=YES qcow

This will create a gnome virtual appliance image configured for virtio
and supply a qcow (qcow2) disk image.  You can also just sudo make for
which the default is to create a base appliance not configured with
VIRTIO and only supply an image file in raw format.  There are other
make variables that can be supplied.  Check out the Makefile.

You can easily create your own VM appliaces by just mkdir
appliance-name.  Copy the files from base/* into it and edit them as
needed.  The supplied appliances should be good references.

One warning: the Makefile must be run as root, and does things inside a
chroot.  I have been careful to make sure everything is done in the
chroot that needs to be.  It is possible for you (or me) to forget to
put chroot before a command and cause irreversible damage to your host
system.  Just giving you this caveat.I'm sure the appliances I
provided are safe, but I can't guarantee it and if you make your own
appliance just be careful.  Ideally one would build VM appliances inside
a VM appliance itself :)

Well, I probably left some stuff out.  Feel free to reply (to this
thread I guess) if you have any questions.

Oh, when you are finished building your disk image just

$ sudo make clean

Which will unmount things and remove the temporary files.  

A FEW MORE IMPORTANT THINGS: 
In the Makefile, I have PORTAGE=/portage and
DISTFILES=/var/portage/distfiles.  These are my setup and are not the
defaults.  You will need to change these values appropriately.   Also,
you may need to edit the USEPKG variable.  I have the Makefile use my
binary packages to speed up the creation process (allows me to build a
base appliance in about 12 minutes).  You may not want this, especially
if you have your CFLAGS tuned to a specific processor that your
hypervisor does not support.  But I use generic CFLAGS so I have no
problem using binpkgs.

Oh, I use kvm/virt-manager and use virtio for disks and network devices.
I tried to configure the VM kernel so that it will support other
formats.  I am curious as to whether or not the appliances will work
with VMWare as I have not actually tried it, but you should be able to
create a VM image with

$ sudo make vmdk

I'm probably leaving something out.  You should take a look at the
Makefile first if you are going to use it.  It shouldn't be that foreign
(it's basically handbook stuff but tailored for the use case).

Anyway it's out there for you to reference.

-a

[1] http://dev.pocoo.org/projects/lodgeit/




[gentoo-user] Re: how to remove HAL

2010-07-28 Thread Nikos Chantziaras
Just after posting this, I realized that KDE 4.4 uses policykit, but 4.5 
uses the new polkit.  I guess that's why I never needed to mess with any 
configuration files.



On 07/29/2010 03:38 AM, Nikos Chantziaras wrote:

Btw, I think now the package is polkit, not policykit; I think the
first replaced the second. If you enable the policykit USE flag for
kdelibs and consolekit, only sys-auth/polkit gets installed, not
sys-auth/policykit. However, if you enable that USE flag globally in
make.conf, then I think both get installed because some package probably
depend on the older package.

Anyway, I don't have a policykit.conf. Or if I have one, I don't know
where it is and I never edited it. And yet everything seems to be
working just fine here.


On 07/29/2010 03:31 AM, Andrey Vul wrote:

Ugh. Now i'll actually have to config policykit.conf.
For some reason, match group=wheel return yes fails so much. Somehow
the mount-ro defaults to no every time

On 2010-07-28, Nikos Chantziarasrea...@arcor.de wrote:

On 07/28/2010 11:54 PM, Andrey Vul wrote:

On Wed, Jul 28, 2010 at 14:50, Nikos Chantziarasrea...@arcor.de
wrote:

On 07/28/2010 08:23 PM, Neil Bothwick wrote:


On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote:


And why do you want to remove it in the first place? It's not gonna
eat your cat.


Although it may kill your crew.


I think most people don't understand what X used HAL for. They think
that
they can remove HAL and still have stuff like USB
hotplugging/automounting
working. But that's wrong. Gnome/KDE use HAL for this, not X. And if
you
disable HAL completely, that stuff will stop working.




E.g. solid-hardware for HAL-mounting devices by uuid/volume-id.

I just got rid of policykit - too much trouble.
But I kept HAL because it's very useful.


If you're on KDE, you will need policykit again in the future, since
with KDE 4.5 (to be released in a matter of days) it's not really
optional anymore. I got hit by this when updating to it (now at RC3):

https://bugs.kde.org/show_bug.cgi?id=24










Re: [gentoo-user] Re: how to remove HAL

2010-07-28 Thread sam new
They think that they can remove HAL and still have stuff like USB
hotplugging/automounting working,in Xorg 1.8, udev will replace HAL  . we
can use devicekit-disks package to mount USB stick or CD,USE polkit-gnome or
ntfs3g  to mount NTFS filesystem. so HAL is not needed.may be modify
gnome-mount ebuild ,remove HAL depedency and put it in local OVERLAY .maybe
slove the problem.

On 29 July 2010 02:50, Nikos Chantziaras rea...@arcor.de wrote:

 On 07/28/2010 08:23 PM, Neil Bothwick wrote:

 On Wed, 28 Jul 2010 19:31:21 +0300, Nikos Chantziaras wrote:

 And why do you want to remove it in the first place?  It's not gonna
 eat your cat.


 Although it may kill your crew.


 I think most people don't understand what X used HAL for.  They think that
 they can remove HAL and still have stuff like USB hotplugging/automounting
 working.  But that's wrong.  Gnome/KDE use HAL for this, not X.  And if you
 disable HAL completely, that stuff will stop working.





Re: [gentoo-user] how to remove HAL

2010-07-28 Thread sam new
I use emerge -avuNDt world ,just find out that is
gnome-base/gnome-mount-0.8-r1 is depend HAL

On 28 July 2010 23:08, Alan McKinnon alan.mckin...@gmail.com wrote:

 I can't understand what you have typed.

 Please run emerge -avuNDt world and post the entire output here.



 On Wednesday 28 July 2010 15:34:23 sam new wrote:
  I use emerge -avuNDt world ,find out that is
  gnome-base/gnome-mount-0.8-r1
  ,and also check the ebuild that depends hal .but I mask it in the
  package.mask why still emerge gnome-mount and hal ,maybe gnome-mount
  depends hal,and others depends gnome-mount ,how can I do?
 
  On 28 July 2010 13:01, Alan McKinnon alan.mckin...@gmail.com wrote:
   On Wednesday 28 July 2010 04:44:23 sam new wrote:
Hi All,
   
   As we know, HAL is not used by Xorg for output devices or any
  
   other
  
devices,so I want to remove it completely,I set USE=-hal in
/etc/make.conf ,and recompile  the packages, and also modify
/etc/conf.d/xdm with NEED_HALD=no ,exec rc-update del hal default
.All things goes well ,yesterday,I use emerge to update my world ,in
the list still has a hal package, I don't know why system sitll
 emerge
hal? maybe dependence ,but I use 'equery d hal' and  check packages
which depend HAL ,have no idea ,any Suggestions?
  
   emerge -avuNDt world
  
  
   to get a tree view of dependencies. That will should just what is
 causing
   hal
   to be pulled in
  
  
  
   --
   alan dot mckinnon at gmail dot com

 --
  alan dot mckinnon at gmail dot com




Re: [gentoo-user] timed out rsync error:

2010-07-28 Thread Valmor de Almeida
Dale wrote:
 Valmor de Almeida wrote:
 Mick wrote:

 On 26 July 2010 17:24, Valmor de Almeidaval.gen...@gmail.com  wrote:
  
 I am still running into the same problem since a couple of days ago. I
 tried both

 SYNC=rsync://rsync.gentoo.org/gentoo-portage
 SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage

 Is anyone having issues with syncing the portage tree?

  
 -  emerge --sync

 Starting rsync with rsync://88.198.83.250/gentoo-portage...
 Checking server timestamp ...
  
 timed out
 rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at
 rsync.c(544) [receiver=3.0.6]

 Retrying...
  
 [snip ...]

  
 Alejandro Pino Oreamuno wrote:

 same problem here with 134.68.240.59 , 88.198.83.249 , 88.198.83.250 ,
 140.211.166.189
  
 For a couple of weeks I was having problems with
 rsync://rsync.europe.gentoo.org/gentoo-portage and changed it to
 rsync://rsync.uk.gentoo.org/gentoo-portage - you may want to change it
 to the mirror which is nearest to you (and works).  Either try
 mirrorselect -i -r -o  /mnt/gentoo/etc/make.conf to automatically
 find a suitable rsync server, have a look here for your nearest rsync
 server and set it up manually:

 http://www.gentoo.org/main/en/mirrors-rsync.xml
  
 I tried many of those rsync servers in the gentoo web site. No luck.
 Maybe my system is broken. I even tried the uk rsync. Don't know where
 to go from here...

 Thanks,


 --
 Valmor

 
 I just synced to this server.  It worked fine.  You may want to try it.  
 If it doesn't work, then you know something is wrong on your end, if it 
 does, then there is something weird going on.  From my make.conf:
 
 SYNC=rsync://rsync21.us.gentoo.org/gentoo-portage
 
 By the way, they don't limit the number of syncs you can do each day 
 either.
 
 Dale
 
 :-)  :-)
 

Thanks for the info. It just worked; weird.

--
Valmor



Re: [gentoo-user] panic:: octave: magick/semaphore.c:525: [...] failed

2010-07-28 Thread Valmor de Almeida
pk wrote:
[snip]
 Hi,
 
 I tested your code (and variations of it) and I get the same result
 as you. Googling seems to indicate that lots of other people are having
 similar problems with imwrite/imread function. The functions are not
 part of the octave package but is an add-on. However, from what I can
 see it may be a problem in the way octave make the graphicsmagick
 write-call (of course there may be a problem with graphicksmagick itself
 as well). Don't know enough to be of more help... Sorry!
 
 Best regards
 
 Peter K
 

Thanks for the feedback. I posted the same question on the octave users
list but no answers.

Regards,

--
Valmor




Re: [gentoo-user] timed out rsync error:

2010-07-28 Thread Dale

Valmor de Almeida wrote:

Dale wrote:
   

Valmor de Almeida wrote:
 

Mick wrote:

   

On 26 July 2010 17:24, Valmor de Almeidaval.gen...@gmail.com   wrote:

 

I am still running into the same problem since a couple of days ago. I
tried both

SYNC=rsync://rsync.gentoo.org/gentoo-portage
SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage

Is anyone having issues with syncing the portage tree?

   


 

-   emerge --sync

   

Starting rsync with rsync://88.198.83.250/gentoo-portage...
Checking server timestamp ...

 

timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at
rsync.c(544) [receiver=3.0.6]

   

Retrying...

 

[snip ...]


 

Alejandro Pino Oreamuno wrote:

   

same problem here with 134.68.240.59 , 88.198.83.249 , 88.198.83.250 ,
140.211.166.189

 

For a couple of weeks I was having problems with
rsync://rsync.europe.gentoo.org/gentoo-portage and changed it to
rsync://rsync.uk.gentoo.org/gentoo-portage - you may want to change it
to the mirror which is nearest to you (and works).  Either try
mirrorselect -i -r -o   /mnt/gentoo/etc/make.conf to automatically
find a suitable rsync server, have a look here for your nearest rsync
server and set it up manually:

http://www.gentoo.org/main/en/mirrors-rsync.xml

 

I tried many of those rsync servers in the gentoo web site. No luck.
Maybe my system is broken. I even tried the uk rsync. Don't know where
to go from here...

Thanks,


--
Valmor

   

I just synced to this server.  It worked fine.  You may want to try it.
If it doesn't work, then you know something is wrong on your end, if it
does, then there is something weird going on.  From my make.conf:

SYNC=rsync://rsync21.us.gentoo.org/gentoo-portage

By the way, they don't limit the number of syncs you can do each day
either.

Dale

:-)  :-)

 

Thanks for the info. It just worked; weird.

--
Valmor

   


Could be a problem between you and the other servers or something.  Who 
knows.  Weird things happen.  Just glad that worked and you at least can 
sync now.


Dale

:-)  :-)