Apple's diskdev for amd64?

2006-03-24 Thread David Liontooth


The 2.6.16 kernel has support for HFSX, meaning case-sensitive file 
names in Apple's latest iteration of its OSX file system.
GNU Parted supports the file system, and the Darwin project has ported 
Apple's filesystem tools to Linux in the diskdev package.


Has anyone attempted to compile and run these in a 64-bit environment?

For details, see 
http://gentoo-wiki.com/HOWTO_hfsplus#Compiling_Apple.27s_Filesystem_Tools


Dave


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Firefox over 90% CPU-Usage

2006-03-24 Thread antongiulio05
> > using firefox (32bit) often my cpu reaches ~95-100% usage... is it
> > possible avoid it?

> How did you go about getting 32-bit Firefox running on 64-bit Debian?

It runs in "chroot 32" with flash plugin.

> I'm using the i386 version of Debian even though I have an Athlon 3500+
> processor.  I gave up on 64-bit Linux because I had too many problems
> getting apps to work like I wanted (Sun JRE and Macromedia Flash are
> good examples).  Then I'd often find obscure apps that I wanted that
> also were only i386.

Keep a "parallel" 32-env in a 64-env is not nice just to run 2 or 3 32-bit 
apps...

Giulio


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



hp cciss raid controller and d-i grub bug - is there an updated install cd?

2006-03-24 Thread Noah Dain
just started setting up an HP DL385 today and ran into this very nasty bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=341888

the short of it: grub can't be installed.  The bug report has been
resolved and is closed, but ... the current set of install cd's
_still_ contains the buggy grub.

The only jigdo files I can find are of the current release (31r0a),
which I already have cds of.

I've about exhausted google on this for the last couple of hours.  So,
what am I missing here?  Rolling my own installer image, or something?

--
Noah Dain
"Single failures can occur for a variety of reasons that have nothing
to do with a hardware defect, such as cosmic radiation ..." - IBM
Thinkpad R40 maintenance manual, page 25



Re: rescue grub -- help!

2006-03-24 Thread David Liontooth

[EMAIL PROTECTED] wrote:

Hi David,

I am a little bit curious why you have chosen to clone the drive with dd? I 
have always used  a different route for cloning a system (see also "Duping a 
Drive Under Linux", http://linuxgazette.net/issue64/tag/12.html):
  
Looks good, and better suited to my purpose. What I did basically didn't 
work out. I could have played it safer and done a single massive dd, but 
I needed a bit more flexibility.


Dave

1. Partition the new drive as necessary;
2. Mount the partitions in the right order under your existing system (for 
instance in /mnt);

3. Copy the complete system with cp -ax;
4. Use grub to install it to the MBR of the new drive;
5. Transfer the drive to your new system.

This route has an additional advantage: you can change the size of any 
partition if necessary, and even use a totally different partition layout! I 
never encountered any problems on this route.


Regards, Clemens

On Friday 24 March 2006 05:00, David Liontooth wrote:
  

I cloned a drive, starting with the MBR:

  dd if=/dev/hda of=/dev/hdc  bs=446 count=1

However, after installing the cloned drive in the new machine, all I get
is a scrolling GRUB filling the screen. I downloaded an amd64 netboot
CD, mounted / and /boot in /target, and issued

chroot /target

Everything in there works fine -- the applications run. (I'm sitting at
another computer at this point with remote access to the installer). But
what I was counting on working, namely

grub-install  /dev/hda

which used to work on i386, maybe a year or two ago, now gives me
"/dev/hda: Not found or not a block device." If I do df, chroot sees
only this:

Filesystem   1K-blocks  Used Available Use% Mounted on
sysfs  7740384   3197252   4149944  44% /sys
df: `/dev/pts': No such file or directory
tmpfs  7740384   3197252   4149944  44% /dev

In the installer shell, I get

~ # df
Filesystem   1k-blocks  Used Available Use% Mounted on
tmpfs   102400 30248 72152  30% /
/dev/cdroms/cdrom0   86390 86390 0 100% /cdrom
/dev/ide/host0/bus0/target0/lun0/part2  7740384   3197252   4149944  44%
/target
/dev/ide/host0/bus0/target0/lun0/part197826  9736 82871  11%
/target/boot

So it's using devfs, which I thought was deprecated? What do I tell
grub-installer?

When I chrooted to /target, it rewrote /etc/fstab (why?), like this:

# /etc/fstab: static file system information.
#
#
proc/proc   procdefaults0   0
/dev/hda2   /   ext3defaults,errors=remount-ro 0  
1 /dev/hda1   /boot   ext3defaults0   2

/dev/hda5   noneswapsw  0   0
/dev/hdc/media/cdrom0   iso9660 ro,user,noauto  0   0

In dmesg, I get

NFORCE3-250: :00:08.0 (rev a2) UDMA133 controller
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
klogd[245]: segfault at 003e rip 002a9568b94e rsp
007fbfffe2a0 error 6
hda: WDC WD800BB-75CAA0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: HITACHI DVD-ROM GD-7000, ATAPI CD/DVD-ROM drive

Obviously /dev/hda is seen, since the chroot is running on it.

What can I do? All I want is to rewrite the MBR, the installation itself
is fine.

Dave



  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Firefox over 90% CPU-Usage

2006-03-24 Thread Scott
Jo Shields spake thusly on 03/23/2006 04:28 AM:
> antonio giulio wrote:
> 
>>Hi,
>>
>>using Firefox (32bit) often my cpu reaches ~95-100% usage... is it
>>possible avoid it?
>>
>>Thanks,
>>Giulio
>>
>>  
>>
> Stop browsing pages which use the Macromedia Flash plugin

Since it's not always possible to know what pages will have a flash
plugin, I suggest the FlashBlock extension.  It's one of my faves.

https://addons.mozilla.org/extensions/moreinfo.php?application=firefox&id=433

or http://flashblock.mozdev.org/


-- 
Scott
www.angrykeyboarder.com
© 2006 angrykeyboarder™ & Elmer Fudd. All Wights Wesewved



root-programs in chroot wont work

2006-03-24 Thread poulerik

Hi

I have a problem with running X-programs as root in chroot-inviroment. 
Things work well when i am a normal user, but when i try running from 
root for instance synaptic i got the following

error:

# synaptic
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(synaptic:21355): Gtk-WARNING **: cannot open display:

I have also tried running as gksu but that wont work either.
It shows som wierd error message:
Failed to fork new proccess:no such file or directory

hope sombody can help
Thanks in advance

Poul-Erik Andreasen



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: VMWare does not start after update to libc6-i386?

2006-03-24 Thread Goswin von Brederlow
Kourosh <[EMAIL PROTECTED]> writes:

> After I remove the /emul entries from ld.so.conf and rerun ldconfig
> -v, I see that it does _not_ scan the 3 /emul directories and does
> _not_ find the 32bit X libs and I again get the same error with vmware
> not finding the correct libs.  At least on my system, the 3 /emul
> entries are required for vmware to work.  I don't have any other 32bit
> software that I can test.
>
> I add back the 3 /emul entries, rerun ldconfig -v, and the 3 /emul
> directories are scanner and vmware works again.
>
> Regards,
>
> Kourosh

I have the same versions and the same links in /lib/ldconfig on my
system and everything works without anything in ld.so.conf. It doesn't
make sense for ldconfig to fail completly on some systems.

Please file a bug report about this with libc6. Maybe the maintainers
have more insight.

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Controlling allocation in 64-bit space

2006-03-24 Thread Goswin von Brederlow
Basile STARYNKEVITCH <[EMAIL PROTECTED]> writes:

> Le Fri, Mar 24, 2006 at 10:44:43PM +0100, Goswin von Brederlow écrivait/wrote:
>> Basile STARYNKEVITCH <[EMAIL PROTECTED]> writes:
>> 
>> >
>> > I suggest more precisely to 
>> >mmap((void*)0, (size_t)size, PROT_READ|PROT_WRITE, 
>> > MAP_PRIVATE|MAP_ANONYMOUS, (int)-1 /*no fd*/, (off_t)0)
>> >
>> > with MAP_ANONYMOUS you don't need to open /dev/zero (but internally it is
>> > the same)
>> >
>> > Regards
>> 
>> Is that protable or just a linux speciality?
>
> It exists in recent Solaris, Linux, BSD. And should be conformant to SUSv3 
> but not SUSv2. the UNIX (from SCO) has it
> http://uw713doc.sco.com/en/man/html.2/mmap.2.html
>
> I tend to believe that you can test #ifdef MAP_ANONYMOUS; if it is not
> defined, you'll need to open /dev/zero.

I was more thinking about mmaping -1. But I see from the manpage that
the fd is ignored anyway on MAP_ANONYMOUS so anything should do.

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Controlling allocation in 64-bit space

2006-03-24 Thread Basile STARYNKEVITCH
Le Fri, Mar 24, 2006 at 10:44:43PM +0100, Goswin von Brederlow écrivait/wrote:
> Basile STARYNKEVITCH <[EMAIL PROTECTED]> writes:
> 
> >
> > I suggest more precisely to 
> >mmap((void*)0, (size_t)size, PROT_READ|PROT_WRITE, 
> > MAP_PRIVATE|MAP_ANONYMOUS, (int)-1 /*no fd*/, (off_t)0)
> >
> > with MAP_ANONYMOUS you don't need to open /dev/zero (but internally it is
> > the same)
> >
> > Regards
> 
> Is that protable or just a linux speciality?

It exists in recent Solaris, Linux, BSD. And should be conformant to SUSv3 but 
not SUSv2. the UNIX (from SCO) has it
http://uw713doc.sco.com/en/man/html.2/mmap.2.html

I tend to believe that you can test #ifdef MAP_ANONYMOUS; if it is not
defined, you'll need to open /dev/zero.


I don't know if the availability of /dev/zero is more common today
than MAP_ANONYMOUS


MAP_ANONYMOUS is not a linuxism anymore (IIRC, SunOS got it
before). But I can't be sure that every Unix have it... (IIRC, SunOS4
did not have it, but SunOS5 have it). And MAP_ANONYMOUS is quite common.

Google for mmap & MAP_ANONYMOUS &! linux gives significant results.

Of course, you may find some systems with mmap without MAP_ANONYMOUS
but these are rare, and you can detect them with a #ifdef
MAP_ANONYMOUS (I'll be extremely surprised by systems where
MAP_ANONYMOUS exist but is not a preprocessor name).

But I am not a unix lawyer, even if I did practice several unix before
Linux.


-- 
Basile STARYNKEVITCH http://starynkevitch.net/Basile/ 
email: basilestarynkevitchnet 
aliases: basiletunesorg = bstarynknerimnet
8, rue de la Faïencerie, 92340 Bourg La Reine, France


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: VMWare does not start after update to libc6-i386?

2006-03-24 Thread Kourosh

Goswin von Brederlow said the following on 03/24/2006 01:51 PM:

Kourosh <[EMAIL PROTECTED]> writes:


Goswin von Brederlow said the following on 03/23/2006 08:31 PM:


What libc6 version do you have? ls -lh /lib/ldconfig
MfG Goswin


[EMAIL PROTECTED]:~$ ls -lh /lib/ldconfig/
total 0
lrwxrwxrwx 1 root root 20 2006-03-23 11:36 emul_ia32-linux_lib ->
/emul/ia32-linux/lib
lrwxrwxrwx 1 root root 24 2006-03-23 11:36 emul_ia32-linux_usr_lib ->
/emul/ia32-linux/usr/lib
lrwxrwxrwx 1 root root 30 2006-03-23 11:36 emul_ia32-linux_usr_X11R6_lib
-> /emul/ia32-linux/usr/X11R6/lib



Those three replace the entries in ld.so.conf.

Please remove the entries from ld.so.conf and check with ldconfig -v
that it scans all 3 emul directories and finds the 32bit X libs.

It does here but aparently not for others. And I can't figure out what
is going wrong.

MfG
Goswin


After I remove the /emul entries from ld.so.conf and rerun ldconfig -v, 
I see that it does _not_ scan the 3 /emul directories and does _not_ 
find the 32bit X libs and I again get the same error with vmware not 
finding the correct libs.  At least on my system, the 3 /emul entries 
are required for vmware to work.  I don't have any other 32bit software 
that I can test.


I add back the 3 /emul entries, rerun ldconfig -v, and the 3 /emul 
directories are scanner and vmware works again.


Regards,

Kourosh


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: VMWare does not start after update to libc6-i386?

2006-03-24 Thread Goswin von Brederlow
Kourosh <[EMAIL PROTECTED]> writes:

> Goswin von Brederlow said the following on 03/23/2006 08:31 PM:
>> Kourosh <[EMAIL PROTECTED]> writes:
>>
>>> On my system, the libraries are there under /emul/ia32-linux/ but
>>> VMware didn't seem to find them.  What I did that appears to fix
>>> the problem was to add the /emul/ia32-linux/ directories to my
>>> /etc/ld.so.conf file and re-run ldconfig as root.  This is what I
>>> added in my ld.so.conf file:
>>> /emul/ia32-linux/lib/ /emul/ia32-linux/usr/lib/
>>> /emul/ia32-linux/usr/X11R6/ /emul/ia32-linux/usr/X11R6/lib/
>>> I'm not sure if all of that is needed, but the last line definitely
>>>  was. Then I re-ran ldconfig and VMware would start.  We'll have to
>>>  see if it keeps working =)
>>> Hope this helps.
>>> Kourosh
>> What libc6 version do you have? ls -lh /lib/ldconfig
>> MfG Goswin
>
> [EMAIL PROTECTED]:~$ ls -lh /lib/ldconfig/
> total 0
> lrwxrwxrwx 1 root root 20 2006-03-23 11:36 emul_ia32-linux_lib ->
> /emul/ia32-linux/lib
> lrwxrwxrwx 1 root root 24 2006-03-23 11:36 emul_ia32-linux_usr_lib ->
> /emul/ia32-linux/usr/lib
> lrwxrwxrwx 1 root root 30 2006-03-23 11:36 emul_ia32-linux_usr_X11R6_lib
> -> /emul/ia32-linux/usr/X11R6/lib

Those three replace the entries in ld.so.conf.

Please remove the entries from ld.so.conf and check with ldconfig -v
that it scans all 3 emul directories and finds the 32bit X libs.

It does here but aparently not for others. And I can't figure out what
is going wrong.

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Controlling allocation in 64-bit space

2006-03-24 Thread Goswin von Brederlow
Basile STARYNKEVITCH <[EMAIL PROTECTED]> writes:

> Le Fri, Mar 24, 2006 at 04:24:46PM +0800, Davyd Madeley écrivait/wrote:
>> Quoting Goswin von Brederlow <[EMAIL PROTECTED]>:
>> 
>> >mmap /dev/zero, that way you can pick the address you want.
>
>
> I suggest more precisely to 
>mmap((void*)0, (size_t)size, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_ANONYMOUS, (int)-1 /*no fd*/, (off_t)0)
>
> with MAP_ANONYMOUS you don't need to open /dev/zero (but internally it is
> the same)
>
> Regards

Is that protable or just a linux speciality?

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: VMWare does not start after update to libc6-i386?

2006-03-24 Thread Kourosh

Goswin von Brederlow said the following on 03/23/2006 08:31 PM:

Kourosh <[EMAIL PROTECTED]> writes:


On my system, the libraries are there under /emul/ia32-linux/ but 
VMware didn't seem to find them.  What I did that appears to fix 
the problem was to add the /emul/ia32-linux/ directories to my 
/etc/ld.so.conf file and re-run ldconfig as root.  This is what I 
added in my ld.so.conf file:


/emul/ia32-linux/lib/ /emul/ia32-linux/usr/lib/ 
/emul/ia32-linux/usr/X11R6/ /emul/ia32-linux/usr/X11R6/lib/


I'm not sure if all of that is needed, but the last line definitely
 was. Then I re-ran ldconfig and VMware would start.  We'll have to
 see if it keeps working =)

Hope this helps.

Kourosh



What libc6 version do you have? ls -lh /lib/ldconfig

MfG Goswin


[EMAIL PROTECTED]:~$ ls -lh /lib/ldconfig/
total 0
lrwxrwxrwx 1 root root 20 2006-03-23 11:36 emul_ia32-linux_lib ->
/emul/ia32-linux/lib
lrwxrwxrwx 1 root root 24 2006-03-23 11:36 emul_ia32-linux_usr_lib ->
/emul/ia32-linux/usr/lib
lrwxrwxrwx 1 root root 30 2006-03-23 11:36 emul_ia32-linux_usr_X11R6_lib
-> /emul/ia32-linux/usr/X11R6/lib
lrwxrwxrwx 1 root root 19 2006-03-22 15:37 x86_64-linux-gnu-lib ->
../x86_64-linux-gnu
lrwxrwxrwx 1 root root 25 2006-03-22 15:37 x86_64-linux-gnu-usr-lib ->
/usr/lib/x86_64-linux-gnu


[EMAIL PROTECTED]:~$ dpkg -l | grep -e libc6 -e ia32-libs
ii  ia32-libs   1.6
  ia32 shared libraries for use on amd64 and i
ri  libc6   2.3.6-4
  GNU C Library: Shared libraries and Timezone
ii  libc6-dev   2.3.6-4
  GNU C Library: Development Libraries and Hea
ii  libc6-dev-i386  2.3.6-4
  GNU C Library: 32bit development libraries f
ii  libc6-i386  2.3.6-4
  GNU C Library: 32bit shared libraries for AM


Regards,

Kourosh



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: VMWare does not start after update to libc6-i386?

2006-03-24 Thread Goswin von Brederlow
Joost Kraaijeveld <[EMAIL PROTECTED]> writes:

> On Wed, 2006-03-22 at 10:37 +0100, Goswin von Brederlow wrote:
>> Joost Kraaijeveld <[EMAIL PROTECTED]> writes:
>> 
>> > Hi,
>> >
>> > Since I updated my Etch AMD64 from with ia32-libs to libc6-i386 I cannot
>> > start VMWare 5.5 anymore. Is it possible to let it run again or do I
>> > have to try to reinstall ia32-libs?
>> >
>> > If I should reinstall ia32-libs, how can I do that: I get all sorts of
>> > dependency errors that I cannot solve? Should I first completely
>> > un-install libc6-i386 and than try to reinstall ia32-libs?
>> >
>> > TIA
>> 
>> Install it from sid.
>> 
>> Any problems left?
> Now I have more problems ;-), more along the lines of one of the other
> posts:
>
> panoramix:/etc# vmware-config.pl
> The correct version of one or more libraries needed to run VMware
> Workstation
> may be missing.  This is the output of ldd /usr/bin/vmware:
> linux-gate.so.1 =>  (0xe000)
> libm.so.6 => /emul/ia32-linux/lib/libm.so.6 (0x5557e000)
> libdl.so.2 => /emul/ia32-linux/lib/libdl.so.2 (0x555a2000)
> libpthread.so.0 => /emul/ia32-linux/lib/libpthread.so.0
> (0x555a6000)
> libX11.so.6 => not found
> libXtst.so.6 => not found
> libXext.so.6 => not found
> libXt.so.6 => not found
> libICE.so.6 => not found
> libSM.so.6 => not found
> libXrender.so.1 => not found
> libz.so.1 => not found
> libc.so.6 => /emul/ia32-linux/lib/libc.so.6 (0x555ba000)
> /lib/ld-linux.so.2 (0x5000)
>
>
> Joost

ls -lh /lib/ldconfig/

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [P-a-s] Please enable %firebird2/amd64 to help unblock qt-x11-free.

2006-03-24 Thread Kurt Roeckx
On Fri, Mar 24, 2006 at 02:00:12PM -0500, Aaron M. Ucko wrote:
> Greetings.
> 
> As an amd64 user (though admittedly not an official porter), I have
> been following the new official buildd's progress with some interest,
> and observed a problem with the potential to block quite a few
> packages: although the firebird2 source package rightly claims to
> support amd64 (I just verified that 1.5.3.4870-3 builds without errors
> on my system), Packages-arch-specific lists it as specific to
> (hurd-)i386.  Could you please bless it for amd64 as well?

I've requested that myself like half an hour before your mail,
and it was added within 10 minutes.


Kurt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[P-a-s] Please enable %firebird2/amd64 to help unblock qt-x11-free.

2006-03-24 Thread Aaron M. Ucko
Greetings.

As an amd64 user (though admittedly not an official porter), I have
been following the new official buildd's progress with some interest,
and observed a problem with the potential to block quite a few
packages: although the firebird2 source package rightly claims to
support amd64 (I just verified that 1.5.3.4870-3 builds without errors
on my system), Packages-arch-specific lists it as specific to
(hurd-)i386.  Could you please bless it for amd64 as well?

Thanks!

[Ordinarily, this wouldn't necessarily be a big deal; however, the old
unofficial buildd built a few versions of firebird2 despite the P-a-s
entry, so qt-x11-free wound up adding a build-dependency on
firebird2-dev on November 29.  As such, it will now be in perpetual
dep-wait unless something is done to free it, and in turn hold back
quite a few other packages -- particularly given gnome-vfs2's
counterintuitive indirect build-dependency on qt-x11-free by way of
avahi.]

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger [EMAIL PROTECTED] (NOT a valid e-mail address) for more info.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: VMWare does not start after update to libc6-i386?

2006-03-24 Thread Joost Kraaijeveld
On Wed, 2006-03-22 at 10:37 +0100, Goswin von Brederlow wrote:
> Joost Kraaijeveld <[EMAIL PROTECTED]> writes:
> 
> > Hi,
> >
> > Since I updated my Etch AMD64 from with ia32-libs to libc6-i386 I cannot
> > start VMWare 5.5 anymore. Is it possible to let it run again or do I
> > have to try to reinstall ia32-libs?
> >
> > If I should reinstall ia32-libs, how can I do that: I get all sorts of
> > dependency errors that I cannot solve? Should I first completely
> > un-install libc6-i386 and than try to reinstall ia32-libs?
> >
> > TIA
> 
> Install it from sid.
> 
> Any problems left?
Now I have more problems ;-), more along the lines of one of the other
posts:

panoramix:/etc# vmware-config.pl
The correct version of one or more libraries needed to run VMware
Workstation
may be missing.  This is the output of ldd /usr/bin/vmware:
linux-gate.so.1 =>  (0xe000)
libm.so.6 => /emul/ia32-linux/lib/libm.so.6 (0x5557e000)
libdl.so.2 => /emul/ia32-linux/lib/libdl.so.2 (0x555a2000)
libpthread.so.0 => /emul/ia32-linux/lib/libpthread.so.0
(0x555a6000)
libX11.so.6 => not found
libXtst.so.6 => not found
libXext.so.6 => not found
libXt.so.6 => not found
libICE.so.6 => not found
libSM.so.6 => not found
libXrender.so.1 => not found
libz.so.1 => not found
libc.so.6 => /emul/ia32-linux/lib/libc.so.6 (0x555ba000)
/lib/ld-linux.so.2 (0x5000)


Joost


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Lost keyring and terminal background after loosin home directory

2006-03-24 Thread Joost Kraaijeveld
Hi,

I lost part of my stting in my home directory because of a system crash.
Before the crash I had the following features that I would like get back
(I did not install /configure them on purpose but they appeared
suddenly, much to my pleasure):

1. I only had to give my password once during a session after which I
could use synaptic and a root console without being asked for a
password.

2. The background of a root console was white, the background of an
ordinary console black.

How do I get these features back again?

TIA

Joost


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



KDE 3.4 or 3.5 sarge backports for amd64?

2006-03-24 Thread Dale E. Martin
Backports.org used to have what looked like a complete 3.4.x backport to
sarge for amd64 (although admittedly I never tried it).  Now it looks as
though they have a partial (and therefore not installable) 3.5.x backport
for amd64...  Anyone have any tips where to find a complete KDE backport
for some recent version of KDE for amd64?

Thanks!
  Dale
-- 
Dale E. Martin - [EMAIL PROTECTED]
http://the-martins.org/~dmartin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: rescue grub -- help!

2006-03-24 Thread cbergmann
Hi David,

I am a little bit curious why you have chosen to clone the drive with dd? I 
have always used  a different route for cloning a system (see also "Duping a 
Drive Under Linux", http://linuxgazette.net/issue64/tag/12.html):

1. Partition the new drive as necessary;
2. Mount the partitions in the right order under your existing system (for 
instance in /mnt);
3. Copy the complete system with cp -ax;
4. Use grub to install it to the MBR of the new drive;
5. Transfer the drive to your new system.

This route has an additional advantage: you can change the size of any 
partition if necessary, and even use a totally different partition layout! I 
never encountered any problems on this route.

Regards, Clemens

On Friday 24 March 2006 05:00, David Liontooth wrote:
> I cloned a drive, starting with the MBR:
>
>   dd if=/dev/hda of=/dev/hdc  bs=446 count=1
>
> However, after installing the cloned drive in the new machine, all I get
> is a scrolling GRUB filling the screen. I downloaded an amd64 netboot
> CD, mounted / and /boot in /target, and issued
>
> chroot /target
>
> Everything in there works fine -- the applications run. (I'm sitting at
> another computer at this point with remote access to the installer). But
> what I was counting on working, namely
>
> grub-install  /dev/hda
>
> which used to work on i386, maybe a year or two ago, now gives me
> "/dev/hda: Not found or not a block device." If I do df, chroot sees
> only this:
>
> Filesystem   1K-blocks  Used Available Use% Mounted on
> sysfs  7740384   3197252   4149944  44% /sys
> df: `/dev/pts': No such file or directory
> tmpfs  7740384   3197252   4149944  44% /dev
>
> In the installer shell, I get
>
> ~ # df
> Filesystem   1k-blocks  Used Available Use% Mounted on
> tmpfs   102400 30248 72152  30% /
> /dev/cdroms/cdrom0   86390 86390 0 100% /cdrom
> /dev/ide/host0/bus0/target0/lun0/part2  7740384   3197252   4149944  44%
> /target
> /dev/ide/host0/bus0/target0/lun0/part197826  9736 82871  11%
> /target/boot
>
> So it's using devfs, which I thought was deprecated? What do I tell
> grub-installer?
>
> When I chrooted to /target, it rewrote /etc/fstab (why?), like this:
>
> # /etc/fstab: static file system information.
> #
> #
> proc/proc   procdefaults0   0
> /dev/hda2   /   ext3defaults,errors=remount-ro 0  
> 1 /dev/hda1   /boot   ext3defaults0   2
> /dev/hda5   noneswapsw  0   0
> /dev/hdc/media/cdrom0   iso9660 ro,user,noauto  0   0
>
> In dmesg, I get
>
> NFORCE3-250: :00:08.0 (rev a2) UDMA133 controller
> ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
> ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
> klogd[245]: segfault at 003e rip 002a9568b94e rsp
> 007fbfffe2a0 error 6
> hda: WDC WD800BB-75CAA0, ATA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hdc: HITACHI DVD-ROM GD-7000, ATAPI CD/DVD-ROM drive
>
> Obviously /dev/hda is seen, since the chroot is running on it.
>
> What can I do? All I want is to rewrite the MBR, the installation itself
> is fine.
>
> Dave

-- 
>---
Clemens Bergmann
Schwertlilienweg 14
68259 Mannheim

[EMAIL PROTECTED]
>---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: unable to open initial console (was: rescue grub -- help!)

2006-03-24 Thread Török Edvin
On 3/24/06, David Liontooth <[EMAIL PROTECTED]> wrote:
> Hi Török,
>
> Thank you, that's very helpful. I ended up just installing a new Debian
> on a different partition; once that was done, the installer agreed to
> rewrite the MBR, and my old installation showed up in grub. I would much
> prefer being allowed to rewrite the MBR without first having to install
> another OS.
>
> Once I got that far, I could boot into the OS I'm trying to rescue;
> however, I now ran into the dreaded "warning: unable to open initial
> console". This is also /dev/ related, and this suggests I have a general
> dev problem with the partition I cloned. Now that I have a parallel
> partition that is fully operational, is there a way I can repopulate my
> /dev directory from chroot, or through a script?
Yes, boot from the CD, and copy /dev from the working installation to
the one you are trying to rescue.
You have a tmpfs mounted on /dev, that is handled by udev. You can try
to copy the needed devices from there, but I never tried doing that.


Try doing this inside the chroot:
# mknod /dev/null c 1 3
# mknod /dev/console c 5 1

Can you tell me how do you boot your kernel? Do you use initrd?
If not, you should, since that should solve this /dev problem you are having.

Which Debian distro are you using? Sarge, etch?



>
> Using "mount -o bind /dev /root2/dev", I can now chroot into /root2 and
> see I have a complete /dev directory, so that for instance I can mount
> /dev/hda1 on a chrooted /boot. How do I make this happen when I boot
> directly into that partition?
Please provide the output of these commands:
ls -l /root2/dev
cat /boot/grub/menu.lst

Make sure your initrd is ok (i.e. is not corrupt), make sure your udev
installation is ok.
Try reinstalling udev, and regenerating the initrd, and see if that helps.



Edwin



Re: unable to open initial console

2006-03-24 Thread David Liontooth
Not terribly on topic perhaps, but here's what worked -- a very odd 
solution:


   You need to create a console device node in dev on / behind the
   tmpfs mount that udev uses:

   # mkdir /tmp/root
   # mount --bind / /tmp/root
   # mknod /tmp/root/dev/console c 5 1

That got me past the missing console and I'm up and running. I don't 
know how to turn this into a permanent solution, but perhaps the problem 
only occurs on the first boot.


Dave


David Liontooth wrote:

Hi Török,

Thank you, that's very helpful. I ended up just installing a new 
Debian on a different partition; once that was done, the installer 
agreed to rewrite the MBR, and my old installation showed up in grub. 
I would much prefer being allowed to rewrite the MBR without first 
having to install another OS.


Once I got that far, I could boot into the OS I'm trying to rescue; 
however, I now ran into the dreaded "warning: unable to open initial 
console". This is also /dev/ related, and this suggests I have a 
general dev problem with the partition I cloned. Now that I have a 
parallel partition that is fully operational, is there a way I can 
repopulate my /dev directory from chroot, or through a script?


Using "mount -o bind /dev /root2/dev", I can now chroot into /root2 
and see I have a complete /dev directory, so that for instance I can 
mount /dev/hda1 on a chrooted /boot. How do I make this happen when I 
boot directly into that partition? I added this to /etc/fstab:


   devpts   /dev/pts devpts 
mode=0620,gid=5   0 0


But it didn't solve the problem. This seems to be a well-defined 
problem that should have a straightforward solution.


I appreciate your help with this; the partition I'm trying to rescue 
is in a stable functional state that is no longer possible to duplicate.


Dave

Török Edvin wrote:

On 3/24/06, David Liontooth <[EMAIL PROTECTED]> wrote:
 

I cloned a drive, starting with the MBR:

  dd if=/dev/hda of=/dev/hdc  bs=446 count=1

However, after installing the cloned drive in the new machine, all I 
get

is a scrolling GRUB filling the screen. I downloaded an amd64 netboot
CD, mounted / and /boot in /target,



Did you do a mount -o bind /dev /target/dev ?

 

[...]
In the installer shell, I get

~ # df
Filesystem   1k-blocks  Used Available Use% Mounted on
tmpfs   102400 30248 72152  30% /
/dev/cdroms/cdrom0   86390 86390 0 100% /cdrom
/dev/ide/host0/bus0/target0/lun0/part2  7740384   3197252   4149944  
44%

/target
/dev/ide/host0/bus0/target0/lun0/part197826  9736 82871  
11%

/target/boot


So /dev is not bind mounted in target, try bind mounting it

 

So it's using devfs, which I thought was deprecated?


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=274511
AFAIK Sarge CD uses devfs,
but the etch installer uses udev, quote from that bugreport:
"d-i uses the device naming scheme originally used by devfs (although
we use udev now)".

 

What do I tell
grub-installer?

Use devfs naming, /dev/ide/host0/, see where is the equivalent of 
hda.


 

[...]
klogd[245]: segfault at 003e rip 002a9568b94e rsp
007fbfffe2a0 error 6


How did this segfault happen?

 

[...]
What can I do? All I want is to rewrite the MBR, the installation 
itself

is fine.


If the netboot CD isnt working for you, could you try using a LiveCD,
like Knoppix?
  






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



unable to open initial console (was: rescue grub -- help!)

2006-03-24 Thread David Liontooth

Hi Török,

Thank you, that's very helpful. I ended up just installing a new Debian 
on a different partition; once that was done, the installer agreed to 
rewrite the MBR, and my old installation showed up in grub. I would much 
prefer being allowed to rewrite the MBR without first having to install 
another OS.


Once I got that far, I could boot into the OS I'm trying to rescue; 
however, I now ran into the dreaded "warning: unable to open initial 
console". This is also /dev/ related, and this suggests I have a general 
dev problem with the partition I cloned. Now that I have a parallel 
partition that is fully operational, is there a way I can repopulate my 
/dev directory from chroot, or through a script?


Using "mount -o bind /dev /root2/dev", I can now chroot into /root2 and 
see I have a complete /dev directory, so that for instance I can mount 
/dev/hda1 on a chrooted /boot. How do I make this happen when I boot 
directly into that partition? I added this to /etc/fstab:


   devpts   /dev/pts devpts 
mode=0620,gid=5   0 0


But it didn't solve the problem. This seems to be a well-defined problem 
that should have a straightforward solution.


I appreciate your help with this; the partition I'm trying to rescue is 
in a stable functional state that is no longer possible to duplicate.


Dave

Török Edvin wrote:

On 3/24/06, David Liontooth <[EMAIL PROTECTED]> wrote:
  

I cloned a drive, starting with the MBR:

  dd if=/dev/hda of=/dev/hdc  bs=446 count=1

However, after installing the cloned drive in the new machine, all I get
is a scrolling GRUB filling the screen. I downloaded an amd64 netboot
CD, mounted / and /boot in /target,



Did you do a mount -o bind /dev /target/dev ?

  

[...]
In the installer shell, I get

~ # df
Filesystem   1k-blocks  Used Available Use% Mounted on
tmpfs   102400 30248 72152  30% /
/dev/cdroms/cdrom0   86390 86390 0 100% /cdrom
/dev/ide/host0/bus0/target0/lun0/part2  7740384   3197252   4149944  44%
/target
/dev/ide/host0/bus0/target0/lun0/part197826  9736 82871  11%
/target/boot


So /dev is not bind mounted in target, try bind mounting it

  

So it's using devfs, which I thought was deprecated?


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=274511
AFAIK Sarge CD uses devfs,
but the etch installer uses udev, quote from that bugreport:
"d-i uses the device naming scheme originally used by devfs (although
we use udev now)".

  

What do I tell
grub-installer?


Use devfs naming, /dev/ide/host0/, see where is the equivalent of hda.

  

[...]
klogd[245]: segfault at 003e rip 002a9568b94e rsp
007fbfffe2a0 error 6


How did this segfault happen?

  

[...]
What can I do? All I want is to rewrite the MBR, the installation itself
is fine.


If the netboot CD isnt working for you, could you try using a LiveCD,
like Knoppix?
  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Installing Debian on sata drive with adaptec aic-8130 controller V2

2006-03-24 Thread Marc Blumentritt
Leopold Palomo Avellaneda schrieb:
> - the sata_mv driver doesn't work in a HP proliant ml150 g2 box. Although the 
> driver detects the hds, the system is very unusable because of time out of 
> access to the hds.
Yes, that was for me the same.
> 
> - the marvell driver is gpl, compiling it in a recent kernel is a 
> pain ..:-( However the combination of version 3.4 (patched) and 2.6.8 works 
> ok. The version 3.6.1 compile in a 2.6.15 but it give me some errors on the 
> device when I load the driver.
I used sarge, so I tested it only 2.6.8...
> 
> - I have only tested on ia32 arch, but I think that it worsewhile to make 
> some 
> test in the amd64 arch.
... on and64. It works.
> 
> - I don't know what is the best way in this situation. We have two drivers 
> for 
> the same hardware: one of the main company, released in a free licence after 
> some time time, and another a free driver, developed by the community that 
> doesn't work in some some hardware. What do you recommend?
I wait, until the modul in the kernel is marked stable, then I will
switch to the kernel modul. Up until then I will use the on of the company.

Regards,
Marc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: amd64 dualcore nad raid1

2006-03-24 Thread Naz Gassiep
Apologies, I use a slightly different board, the one on the Tyan 
Transport Server Chassis GT24. Its the same chipset though, so you can 
pretty safely assume Sarge will have the same support for it.


- Naz.

Naz Gassiep wrote:
I use that exact board with the same setup. The RAID1 on it is not true 
RAID, so I use the Linux Software RAID to set up two RAID1 arrays of 2 
drives each (i need two separate physical arrays for my purposes).


It works well, and performance is good. Debian Sarge with the 2.6 kernel 
detects all hardware nicely.  I recommend that setup.


- Naz

Francesco Pietra wrote:
i intend to setup a workstation for quantum mechanical calculations 
(organic chemistry) with a couple of amd64 dualcore 265 and a couple 
of STA hard disks 360GB raid 1 (mirroring for security reasons).


Do you think that mainboard Tyan Thunder S2877ANDF x 2 Dual Opteron 
under debian testing/unstable provides adequate raid 1 support without 
going to expensive 3ware products? I plan to have 2GB ram, but that is 
not enough for the calculations and frequent access to disk occurs.


Remember that i am based in italy where the market is under rigid 
control by whom you can easily imagine so that it is not easy to get 
what one wants (for example main boards). i am happy when i meet a 
handler who follows my linux requests, most do not.


thanks for answering
Francesco Pietra






--
MrNaz photo gallery and journal at:
www.mrnaz.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: amd64 dualcore nad raid1

2006-03-24 Thread Naz Gassiep
I use that exact board with the same setup. The RAID1 on it is not true 
RAID, so I use the Linux Software RAID to set up two RAID1 arrays of 2 
drives each (i need two separate physical arrays for my purposes).


It works well, and performance is good. Debian Sarge with the 2.6 kernel 
detects all hardware nicely.  I recommend that setup.


- Naz

Francesco Pietra wrote:
i intend to setup a workstation for quantum mechanical calculations (organic 
chemistry) with a couple of amd64 dualcore 265 and a couple of STA hard disks 
360GB raid 1 (mirroring for security reasons).


Do you think that mainboard Tyan Thunder S2877ANDF x 2 Dual Opteron under 
debian testing/unstable provides adequate raid 1 support without going to 
expensive 3ware products? I plan to have 2GB ram, but that is not enough for 
the calculations and frequent access to disk occurs.


Remember that i am based in italy where the market is under rigid control by 
whom you can easily imagine so that it is not easy to get what one wants (for 
example main boards). i am happy when i meet a handler who follows my linux 
requests, most do not.


thanks for answering
Francesco Pietra




--
MrNaz photo gallery and journal at:
www.mrnaz.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Controlling allocation in 64-bit space

2006-03-24 Thread Basile STARYNKEVITCH
Le Fri, Mar 24, 2006 at 04:24:46PM +0800, Davyd Madeley écrivait/wrote:
> Quoting Goswin von Brederlow <[EMAIL PROTECTED]>:
> 
> >mmap /dev/zero, that way you can pick the address you want.


I suggest more precisely to 
   mmap((void*)0, (size_t)size, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_ANONYMOUS, (int)-1 /*no fd*/, (off_t)0)

with MAP_ANONYMOUS you don't need to open /dev/zero (but internally it is
the same)

Regards

-- 
Basile STARYNKEVITCH http://starynkevitch.net/Basile/ 
email: basilestarynkevitchnet 
aliases: basiletunesorg = bstarynknerimnet
8, rue de la Faïencerie, 92340 Bourg La Reine, France


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Controlling allocation in 64-bit space

2006-03-24 Thread Davyd Madeley

Quoting Goswin von Brederlow <[EMAIL PROTECTED]>:


mmap /dev/zero, that way you can pick the address you want.


Yep. This was the thing that finally occurred to me. Seems to work as might be
expected.

Thanks for your help,
--d

--
Davyd MadeleySoftware Engineer
Fugro Seismic Imaging, Perth Australia


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: rescue grub -- help!

2006-03-24 Thread Török Edvin
On 3/24/06, David Liontooth <[EMAIL PROTECTED]> wrote:
> I cloned a drive, starting with the MBR:
>
>   dd if=/dev/hda of=/dev/hdc  bs=446 count=1
>
> However, after installing the cloned drive in the new machine, all I get
> is a scrolling GRUB filling the screen. I downloaded an amd64 netboot
> CD, mounted / and /boot in /target,

Did you do a mount -o bind /dev /target/dev ?

>[...]
> In the installer shell, I get
>
> ~ # df
> Filesystem   1k-blocks  Used Available Use% Mounted on
> tmpfs   102400 30248 72152  30% /
> /dev/cdroms/cdrom0   86390 86390 0 100% /cdrom
> /dev/ide/host0/bus0/target0/lun0/part2  7740384   3197252   4149944  44%
> /target
> /dev/ide/host0/bus0/target0/lun0/part197826  9736 82871  11%
> /target/boot
So /dev is not bind mounted in target, try bind mounting it

>
> So it's using devfs, which I thought was deprecated?
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=274511
AFAIK Sarge CD uses devfs,
but the etch installer uses udev, quote from that bugreport:
"d-i uses the device naming scheme originally used by devfs (although
we use udev now)".

> What do I tell
> grub-installer?
Use devfs naming, /dev/ide/host0/, see where is the equivalent of hda.

> [...]
> klogd[245]: segfault at 003e rip 002a9568b94e rsp
> 007fbfffe2a0 error 6
How did this segfault happen?

> [...]
> What can I do? All I want is to rewrite the MBR, the installation itself
> is fine.
If the netboot CD isnt working for you, could you try using a LiveCD,
like Knoppix?