Re: Partition suggestions.

2008-02-25 Thread Goswin von Brederlow
Koen Vermeer [EMAIL PROTECTED] writes:

 On Thu, 2008-02-14 at 11:12 -0500, Lennart Sorensen wrote:
 On Thu, Feb 14, 2008 at 08:23:50AM +1100, Alex Samad wrote:
  Just to add my mix to the mix
  
  I usually set up like 
  
  500M /boot
  10G /
  2G ( or roughly mem size) to swap
  the rest to LVM
  
  with LVM I can expand/reduce and just about anything I want to do
 
 That's part of why I put swap in LVM.  Why not put swap in LVM?

 Sorry to jump into the thread like this, but: Why not put root on LVM as
 well? I only put /boot in a separate partition, and use all remaining
 space for LVM. But I'd rather know now that my setup sucks (so I can do
 something about it), then when it bites me...

 Best,
 Koen

If you do (and if you have a /boot then why the hell not?) then
remeber to link /etc/lvm/{archive,backup} to /boot/lvm so they are
available if the lvm ever breaks.

MfG
Goswin


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



Re: Partition suggestions.

2008-02-25 Thread Goswin von Brederlow
[EMAIL PROTECTED] (Lennart Sorensen) writes:

 On Fri, Feb 15, 2008 at 10:17:47AM +0100, Koen Vermeer wrote:
 Sorry to jump into the thread like this, but: Why not put root on LVM as
 well? I only put /boot in a separate partition, and use all remaining
 space for LVM. But I'd rather know now that my setup sucks (so I can do
 something about it), then when it bites me...

 Well if root is in LVM, then fixing problems if you ever screw up the
 LVM config is much much harder.  And either way you need one partition
 outside LVM, either /boot or all of /.

 Having managed to screw up LVM and need to fix it again, I was sure
 happy root wasn't in LVM that day.

Provided you linked /etc/lvm/{backup,archive} to /boot/lvm then
repairing LVM just needs a grml (or similar live-cd).

Or a rescue partition. On some systems I actualy have installed a mini
Debian on one partition just for rescue purposes later on.

MfG
Goswin


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



Re: Clock Skew Due to CPU Frequency Management? (was Re: Dual-core system will not create NTP peers)

2008-02-25 Thread Lennart Sorensen
On Tue, Feb 19, 2008 at 07:37:32AM -0600, Moshe Yudkowsky wrote:
 I had a very kind private communication from a list member. Let me 
 reformulate my question.
 
 On the AMD64 dual-core platform, the system clock has far too much drift 
 even though the hardware clock seems well behaved. I don't seem to be 
 experiencing the double-speed clock problem that I see references to 
 on the net as of a few years ago, but I am experiencing some other odd 
 behavior. The most likely culprit, as far as I can tell from research, 
 is some interaction between the hardware's ability to adjust CPU clock 
 speed to save power/control temperature (which then influences the 
 system clock's theory of what a CPU tick means in terms of actual time 
 passing) with the dual-core mode.
 
 But that seems rather wacky. I find it hard to believe that a kernel 
 release  wouldn't work on dual core CPUs.
 
 But if the problem really is that's the case, I would like to know what 
 boot-time settings I can use to test this hypothesis. For that matter 
 I'd like to know why the kernel itself isn't picking up on this 
 theoretical problem -- ISTR reading about an enhanced CPU clock mode 
 that could solve this problem, but I can't find references to it or how 
 to build a kernel or modules from source that would include this capability.
 
 I've spent a substantial amount of time on this problem, and I can't 
 come to any conclusion. I have to wonder if it's a problem with NTP 
 itself, but if so it's a problem that only manifests itself on the AMD64 
 box, although I continue to fiddle with NTP settings.

Someone here at work was having trouble getting NTP working on their
system a few weeks ago.  Disabling spread spectrum in the BIOS solved
the problem.

Of course as far as I know disabling spread spectrum violate emmisions
certifications in europe, but I could be wrong about that since I don't
actually live there (anymore at least).

Spread spectrum clocking really screws with the timings NTP depends on.

--
Len Sorensen


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



Re: grub Error 15 File not found

2008-02-25 Thread Lennart Sorensen
On Wed, Feb 20, 2008 at 03:39:44PM -0600, Stephen Olander-Waters wrote:
 No... tab-completion in the grub bootloader confirms the initrd is
 there. Within the system, the file is non-zero and appears to be
 generated correctly when you do dpkg-reconfigure.
 
 Hrm... any other ideas?

What does your menu.lst contain and what does /boot contain?

--
Len Sorensen


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



Re: In-place upgrade from i386

2008-02-25 Thread Goswin von Brederlow
Joerg Dorchain [EMAIL PROTECTED] writes:

 Hello,

 I have a system with an intel core 2 dou CPU, which currently runs fine
 Debian-i386.

 I want to change it to amd64 with certain conditions:

 - Same package selection
 - Same debconf
 - Same config files
 - Same disk afterwards

 as on current i386 when it runs amd64.

 So far I managed to run an amd64 kernel.

 For the user space I though an
 apt-get -o APT::Architecture=amd64 {update|-f install}
 would do it, but stop immediately with 
 E: Internal Error, Could not perform immediate configuration (2) on
 libc6

 Any other ideas?

 Is an in-place debootstrap possible? Or can I hook the disk on another
 system and do a debboostrap there  without loosing the above mentioned
 information?

 TIA,

 Joerg

You can do an in-place upgarde with some hacks and I would rather you
won't even try.

- Create a copy of the libc6 and ld.so and add the dir to
  /etc/ld.so.conf. Worst case you have to run the ld with full path
  and pass the binary you need as argument. E.g.:
  /backup/ld-2.3.6.so /bin/ls
 
  Also add /lib32, /usr/lib32 to ld.so.conf and make them links to
  /emul/ia32-linux/lib and /emul/ia32-linux/usr/lib.

- Rename maintainer files in /var/lib/dpkg/info.
  You need to rename any package that contains a library, e.g. prefix
  them with ia32-. E.g. zlib1g - ia32-zlib1g.

- Move libraries and docs.
  You need to move all libraries from /lib to /lib32 and /usr/lib to
  /usr/lib32. But dont't move subdirs.
  For /usr/share/doc you need to rename the directories to match the
  renaming done in the last step. Beware that some dirs are links.
  Also look out for diversions.

- Fix diversions and status file
  You need to change the package names in diversions and status files
  to match the names chosen above (ia32-zlib1g). This includes
  especially the Depends, Conflicts, Pre-Depends lines.
  Also change the Architecture field to amd64.

If you have done all this and you still have a running system then you
can start to upgrade.

Now install libc6 (the old 32bit one is now ia32-libc6), perl, dpkg,
apt in that order while forcing the arch to amd64. This is the big
test if you did everything right above.

Reinstall every not renamed package on your system (everything not
ia32-...). This causes each of them to be upgraded to the 64bit
version. If you upgarde from sarge to etch at the same time then
upgrade, dist-upgrade will do most of them automatically.

Now you should have a full 64bit system with some unused 32bit cruft
left behind. Purge all ia32-* packages to get rid of cruft.

Enjoy or despair, your choice.

MfG
Goswin

PS: Doesn't reinstalling sound so much simpler?


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



Re: grub Error 15 File not found

2008-02-25 Thread Stephen Olander-Waters
On Tue, 2008-02-19 at 11:40 -0600, Stephen Olander-Waters wrote:
 Debian unstable with latest updates
 Debian 2.6.24 amd64 kernel
 
 I can't seem to use the 2.6.24 Debian kernel. Whenever I boot up, grub
 reports Error 15 File Not Found. I can fall back on my old 2.6.23 kernel
 and it works just fine. Using tab-completion in the command line editor
 feature of grub, I can confirm that the files are there. They just won't
 load!

I solved the problem. My /boot/grub/device.map file had the entries for
hda and sda swapped. When you switch the boot partition from one drive
to another, you should update that file. :)

Cheers,
-s



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



Re: initng

2008-02-25 Thread Helge Hafting

Alex Samad wrote:

As for your udev/ldap problems - please tell what these problems are
if you want help with them.

yeah I think in initramfs or really early on, udev starts up and tries to mount 
??? or get access to the passwd DB, but ldap hasn't started.
  

Turn on all sorts of debugging, (in PAM/NSS) and find out
exactly what names / UIDs the PC tries to look up.
Make sure those exists in /etc/passwd. After that, the system shouldn't
need to consult ldap at all during bootup. Not until ordinary
users (presumably found in ldap) start logging in.

Helge Hafting


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



Re: Clock Skew Due to CPU Frequency Management? (was Re: Dual-core system will not create NTP peers)

2008-02-25 Thread Moshe Yudkowsky

Len,

Thanks for writing with the spread-spectrum idea.

I don't know if you saw the final email in this thread, but it turns out 
that (as far as I can tell) adjtimexconfig made a bad estimate when it 
was installed, and put a TICK value of 9750 in /etc/defaults/adjtimex, 
which of course works out to a clock that's always 2.5% slow.



--
Moshe Yudkowsky * [EMAIL PROTECTED] * www.pobox.com/~moshe
 Poor Mexico -- so far from G-d and so near the United States.
   -- President Porfirio Diaz


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



ı'm using asus

2008-02-25 Thread can comert
hi,
I have a asus f3sv computer and my ethernet device is
Attansic L1 Gigabit Ethernet
I want to use a netinst cd and debian 4.0r3 amd64 coldn't ıdentıfy my
ethernet device
i find a web site  http://atl1.sourceforge.net/ if kernel version coud be
upper then * 2.6.21*
*ethernet* device won't be a problem as i understand. Which version's
(testing\unstable) kernel version is upper than 2.6.21 ??


Re: ??'m using asus

2008-02-25 Thread Lennart Sorensen
On Mon, Feb 25, 2008 at 08:46:33PM +0200, can comert wrote:
 I have a asus f3sv computer and my ethernet device is
 Attansic L1 Gigabit Ethernet
 I want to use a netinst cd and debian 4.0r3 amd64 coldn't ??dent??fy my
 ethernet device
 i find a web site  http://atl1.sourceforge.net/ if kernel version coud be
 upper then * 2.6.21*
 *ethernet* device won't be a problem as i understand. Which version's
 (testing\unstable) kernel version is upper than 2.6.21 ??

You can't use that network device with Etch.

It works fine with the lenny install disc (My P5K board has the same
chip).  I used the lenny install disc from about 4 weeks ago and it
installed perfectly.  This does mean you won't be running stable of
course, but oh well.

You do not have to download the driver seperately since it is included
with newer kernels.

--
Len Sorensen


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



Re: ı'm using asus

2008-02-25 Thread Alan Ianson
On Mon February 25 2008 10:46:33 am can comert wrote:
 hi,
 I have a asus f3sv computer and my ethernet device is
 Attansic L1 Gigabit Ethernet
 I want to use a netinst cd and debian 4.0r3 amd64 coldn't ıdentıfy my
 ethernet device
 i find a web site  http://atl1.sourceforge.net/ if kernel version coud be
 upper then * 2.6.21*
 *ethernet* device won't be a problem as i understand. Which version's
 (testing\unstable) kernel version is upper than 2.6.21 ??

Have a look here, I think the testing kernel is 2.6.22+.

http://www.us.debian.org/devel/debian-installer/



Re: ı'm using asus

2008-02-25 Thread Steve Dobson
Hi
On Mon, 2008-02-25 at 20:46 +0200, can comert wrote: 
 I have a asus f3sv computer and my ethernet device is 
 Attansic L1 Gigabit Ethernet 
 I want to use a netinst cd and debian 4.0r3 amd64 coldn't ıdentıfy my
 ethernet device
 i find a web site  http://atl1.sourceforge.net/ if kernel version coud
 be upper then  2.6.21
 ethernet device won't be a problem as i understand. Which version's
 (testing\unstable) kernel version is upper than 2.6.21 ??

testing/lenny will give you  kernel 2.6.23.

Steve



Re: ??'m using asus

2008-02-25 Thread Jochen Schulz
Lennart Sorensen:
 On Mon, Feb 25, 2008 at 08:46:33PM +0200, can comert wrote:

 I have a asus f3sv computer and my ethernet device is
 Attansic L1 Gigabit Ethernet
-- snip
 You can't use that network device with Etch.

That's not strictly true. Etch doesn't contain a kernel recent enough to
use that hardware, but that doesn't prevent anyone from installing
etch without ethernet and compile a more recent kernel later on.

If you, comcert, don't want or don't know how to compile your own kernel
after installation, you can still use an inofficial version of the
installer which uses a more or less current kernel:
http://kmuto.jp/debian/d-i/.

J.
-- 
If I was Mark Chapman I would have shot John Lennon with a water pistol.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: ??'m using asus

2008-02-25 Thread Lennart Sorensen
On Mon, Feb 25, 2008 at 09:18:56PM +0100, Jochen Schulz wrote:
 That's not strictly true. Etch doesn't contain a kernel recent enough to
 use that hardware, but that doesn't prevent anyone from installing
 etch without ethernet and compile a more recent kernel later on.

That's just a pain though.

 If you, comcert, don't want or don't know how to compile your own kernel
 after installation, you can still use an inofficial version of the
 installer which uses a more or less current kernel:
 http://kmuto.jp/debian/d-i/.

Unfortunately he neglected to include the atl1 driver in his build.  I
tried that one first.

--
Len Sorensen


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



Re: ??'m using asus

2008-02-25 Thread hendrik
On Mon, Feb 25, 2008 at 03:24:28PM -0500, Lennart Sorensen wrote:
 On Mon, Feb 25, 2008 at 09:18:56PM +0100, Jochen Schulz wrote:
  That's not strictly true. Etch doesn't contain a kernel recent enough to
  use that hardware, but that doesn't prevent anyone from installing
  etch without ethernet and compile a more recent kernel later on.
 
 That's just a pain though.

Any chance he could just use a lenny kernel?

- hendrik


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



Re: ??'m using asus

2008-02-25 Thread hendrik
On Mon, Feb 25, 2008 at 03:56:50PM -0500, Lennart Sorensen wrote:
 On Mon, Feb 25, 2008 at 03:48:46PM -0500, [EMAIL PROTECTED] wrote:
  On Mon, Feb 25, 2008 at 03:24:28PM -0500, Lennart Sorensen wrote:
   On Mon, Feb 25, 2008 at 09:18:56PM +0100, Jochen Schulz wrote:
That's not strictly true. Etch doesn't contain a kernel recent enough to
use that hardware, but that doesn't prevent anyone from installing
etch without ethernet and compile a more recent kernel later on.
   
   That's just a pain though.
  
  Any chance he could just use a lenny kernel?
 
 Probably, after you get the system installed.  Doing a net install
 without a network port is a pain.
 
 One could install an old spare network card to do the install, then
 upgrade the kernel and then use the built in network I suppose.

Yeah.  That's what I did with my new machine a year or two ago.  Then I 
waited about four months for X to catch up.  But the machine's primary 
use was as an NFS server, and that worked just fine.

When the kernel caught up to my on-board ethernet, suddenly I had no 
network connectivity because it had renumbered my eth's.  Pulling out 
the spare network card did the trick.

-- hendrik

-- hendrik

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


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



Re: ??'m using asus

2008-02-25 Thread Steve Dobson
On Mon, 2008-02-25 at 15:56 -0500, Lennart Sorensen wrote:
 On Mon, Feb 25, 2008 at 03:48:46PM -0500, [EMAIL PROTECTED] wrote:
  On Mon, Feb 25, 2008 at 03:24:28PM -0500, Lennart Sorensen wrote:
   On Mon, Feb 25, 2008 at 09:18:56PM +0100, Jochen Schulz wrote:
That's not strictly true. Etch doesn't contain a kernel recent enough to
use that hardware, but that doesn't prevent anyone from installing
etch without ethernet and compile a more recent kernel later on.
   
   That's just a pain though.
  
  Any chance he could just use a lenny kernel?

I'd almost guarantee that with money.  :-)

I had a problem with one of the old lenny kernels not working with my
Nikon D40 camera.  I solved the problem by installing the sid kernel
using dpkg -i so I wouldn't have to muck around with sources.list.

 Probably, after you get the system installed.  Doing a net install
 without a network port is a pain.
 
 One could install an old spare network card to do the install, then
 upgrade the kernel and then use the built in network I suppose.

That's probably the easiest way.  If you haven't got a spare NIC handy
then second hand one from computer fairs are very cheap.

The other way (if you have a spare AMD64 system) is to install on that
system and then just move the disks.  I've used that method to install
embedded systems which don't have a CDROM drive by using my laptop.  Bit
of a bugger moving the disk, not as easy as plugging a spare NIC into a
PCI slot, but it works.

Steve



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



ia32 library repository

2008-02-25 Thread Javier Serrano Polo
Hi, amd64 users.

It looks like my first announcement didn't get through. It's in bug
#464796, message #35.

I've already added wine 0.9.55 packages and nspluginwrapper. So far, my
32 bit needs are covered. There are some applications that have broken
amd64 versions. I won't provide the 32 bit versions however, unless
there's demand for them and the maintainer agrees.

There're some libraries that haven't been tested and may fail (reports
are welcome). For instance, those making use of plugins like sane.
Requests for packages in main and contrib may be accepted, specially if
they don't have an amd64 counterpart.

I've already contacted some maintainers to try to keep this as automated
as possible. I've been told one single DD could help solve the
repository bandwidth problem. Help is always welcome.

Bye.


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



Re: ??'m using asus

2008-02-25 Thread Douglas A. Tutty
On Mon, Feb 25, 2008 at 09:22:04PM +, Steve Dobson wrote:
 On Mon, 2008-02-25 at 15:56 -0500, Lennart Sorensen wrote:
  On Mon, Feb 25, 2008 at 03:48:46PM -0500, [EMAIL PROTECTED] wrote:
   On Mon, Feb 25, 2008 at 03:24:28PM -0500, Lennart Sorensen wrote:
On Mon, Feb 25, 2008 at 09:18:56PM +0100, Jochen Schulz wrote:
 That's not strictly true. Etch doesn't contain a kernel recent enough 
 to
 use that hardware, but that doesn't prevent anyone from installing
 etch without ethernet and compile a more recent kernel later on.
 
  Probably, after you get the system installed.  Doing a net install
  without a network port is a pain.
  
  One could install an old spare network card to do the install, then
  upgrade the kernel and then use the built in network I suppose.
 
 That's probably the easiest way.  If you haven't got a spare NIC handy
 then second hand one from computer fairs are very cheap.
 
 The other way (if you have a spare AMD64 system) is to install on that
 system and then just move the disks.  I've used that method to install
 embedded systems which don't have a CDROM drive by using my laptop.  Bit
 of a bugger moving the disk, not as easy as plugging a spare NIC into a
 PCI slot, but it works.

If you have a spare null-modem cable you can also network over that to
another computer.  Of course, if you're on dialup, just hook up to the
modem normally.

The questions for the OP are:

Do you want the stability of Stable (Etch) or can you tolerate
things breaking for a while before getting fixed (Lenny) or are
you experienced enough to run Sid and perhaps need to
occasionally downgrade a package?

Also, for what use is this box?

Also, what video do you use?  E.g. if it needs the latest nVidia
driver (won't work with either nv or the nVidia driver in Etch),
then this is a factor to decide as well.

Doug.


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