Re: Kernel installation woes on Athlon 1100: hda: lost interrupt.

2004-05-14 Thread Herbert Xu
Adam Funk [EMAIL PROTECTED] wrote:
 I'm running Debian testing on an Athlon 1100 and currently using the
 2.4.23-1-386 kernel.  I've tried to upgrade to the following packages:
 
 kernel-image-2.4.25-1-386
 kernel-image-2.4.26-1-386
 kernel-image-2.4.26-1-k7
 
 and they all get stuck on hda: lost interrupt while trying to boot.  I
 thought any 386 kernel ought to be upward-compatible with an Athlon,
 and a k7 ought to be ideally suited for it.  Any ideas what's wrong?

Try booting with noapic.
-- 
Visit Openswan at http://www.openswan.org/
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: why must Debian call Taiwan a Province of China?

2004-04-07 Thread Herbert Xu
Katipo [EMAIL PROTECTED] wrote:
 
 But it doesn't stop there. After the Han,
 which is the group that make up approx. 46% of the population,

Han makes up 92% of the population, not 46%.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: Unable to unmount /initrd during startup

2004-04-02 Thread Herbert Xu
Jaap Haitsma [EMAIL PROTECTED] wrote:
 
 I get a message during init that it is unable to unmount /initrd
 This is being called in initrd-tools.sh
 Also after booting I'm unable to unmount it manually.
 
 Anybody an idea what could be wrong?
 I'm running sid (fully up2date) with the 2.6.4 kernel

http://bugs.debian.org/239029
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: Initrd problems

2003-12-09 Thread Herbert Xu
On Tue, Dec 09, 2003 at 11:04:22AM +1100, Lewis Shobbrook wrote:
 
 Basically the driver module is not loading and we can't mount the root
 filesystem. The module FastTrak.o can't be found, but I've mounted the
 rd image and can verify the inclusion. I've adjusted the modules file
 within the /etc/mkinitrd folder, and added the module as
 /lib/modules/2.4.22/kernel/drivers/scsi/FastTrak.o and simply
 FastTrak.o, the result is the same.  It looks close, but I'm unable to
 get around the failure to locate the module. 
 I've scrounged through what little info I can find and have struck a bit
 of an impasse. 
 
 Can anyone offer any advice on how to do this correctly?

Please show me the contents of the files that you've modified under
/etc/mkinitrd.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: Initrd problems

2003-12-09 Thread Herbert Xu
On Wed, Dec 10, 2003 at 10:23:14AM +1100, Lewis Shobbrook wrote:

 # Examples:
 #
 #  ext2
 #  wd io=0x300
 FastTrak.o

Try just FastTrak.
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: kernel 2.4.22 on testing

2003-11-12 Thread Herbert Xu
TK [EMAIL PROTECTED] wrote:

 network card drivers. I manually tried insmod via-rhine but got a 
 unsolved symbols errors. Looking into /boot, the kernel file is  

You should use modprobe instead of insmod.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: kernel image install error

2003-11-11 Thread Herbert Xu
Chris Knoblock [EMAIL PROTECTED] wrote:
 hi all, wondering if anyone can help me with this one.
 running unstable and trying to install
 kernel-image-2.4.22-1-686 is giving me an error
 
 ldd: /lib/ld.linux.so.2 exited with unknown exit code
 (139)
 
 Failed to create initrd image.
 
 can anyone help with this? 

ldd is screwed.

Does ldd /bin/bash work?

If not, please file a bug against libc6.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: apt-move and local obsolete files

2003-10-25 Thread Herbert Xu
James Vahn [EMAIL PROTECTED] wrote:
 Trying to get apt-move to move an apparently unknown package
 (libsensors-1debian1) into the partial mirror, I've created a file,
 /mirrors/debian/.apt-move/testing.binary.local containing this line:
 
libsensors-1debian1 optional   main/l/lm-sensors-

The fourth column must contain the source package name or it won't
work.  The third column should be a section name but it is optional.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: Enable ACPI on kernel-image-2.4.22?

2003-10-21 Thread Herbert Xu
Damien Solley [EMAIL PROTECTED] wrote:

 #211594). However, when I boot with acpi=on as a kernel argument, I
 get no ACPI.

There is an off-by-one bug that breaks acpi=on.  Try acpi=force instead.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: diffs between kernel-source-2.4.22 and source of kernel-image-2.4.22?

2003-10-19 Thread Herbert Xu
David Fokkema [EMAIL PROTECTED] wrote:
 
 Yeah, well, `even with the same config', meaning that I used the config
 from kernel-image-2.4.22. That should work, shouldn't it?

No it's not.  The precompiled images put vesafb in /lib/modules/*/initrd
which means that it is loaded automatically by the initrd image.

Unless you did the same with your package that would not happen.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: diffs between kernel-source-2.4.22 and source of kernel-image-2.4.22?

2003-10-18 Thread Herbert Xu
David Fokkema [EMAIL PROTECTED] wrote:
 
 Installing kernel-image-2.4.22 I can boot with vga=834 resulting in a
 nice 1400x1050 framebuffer display with the vesa driver. However,
 compiling a fresh kernel from kernel-source-2.4.22 (even with the same
 config) results in a black screen. I can use vga=normal, so I know it

You need to compile VESAFB into the kernel.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: booting problems after installing lm-sensors kernel modules from sid / can't mount root fs

2003-09-20 Thread Herbert Xu
Manuel Bilderbeek [EMAIL PROTECTED] wrote:
 
 So, I took my older (Woody-beta) installation cd and booted with rescue 
 root=/dev/hda6. Also, this didn't work out: again a kernel panic, 
 because it can't mount the root fs... This time there was some error 
 about unsupported optional features.
 
 Any idea about this then?

It means that your rescue floppy does not support ext3.  ext3 filesystems
requiring a journal recovery cannot be mounted as ext2.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: getting the initrd to load

2003-03-04 Thread Herbert Xu
Ian Melnick [EMAIL PROTECTED] wrote:
 Use the kernel-source from Debian if you don't. It contains the patch needed
 to make initrd accept cramfs.
 
 
 Is there an alternative to cramfs that I can use that works without this patch?

You can use romfs or even ext2/ext3.  Check out the MKIMAGE setting
in mkinitrd.conf.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: Problem with kernel 2.4.20

2003-02-27 Thread Herbert Xu
Jaroslaw Tabor [EMAIL PROTECTED] wrote:
 
I was using kernel 2.4.20 compiled and installed by myself (without
 initrd). Everything was working fine.
 I've installed by apt kernel-image-2.4.20-686, updated lilo.conf to use
 initrd and executed lilo. After this when I'm trying to use this image
 linux crashes displaying a log of messages about missing modules in
 /lib/modules/2.4.20-686/kernel/fs/
 
 It looks that he cannot mount root filesystem. I don't have any
 expirience with initrd. Can anyone help me ?

This is a bug in initrd-tools 0.1.37 and 0.1.38.  Installing 0.1.39 and
regenerating the initrd image should fix the problem.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: Problem with kernel update

2003-02-26 Thread Herbert Xu
On Wed, Feb 26, 2003 at 09:27:17AM +0100, Harry Brueckner wrote:
 
 My initrd-tools are version 0.1.37 which seems to be the most current 
 version.
 
 Any other ideas?

If you go to packages.debian.org/initrd-tools you'll find that the
latest version is 0.1.38.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: Problem with kernel update

2003-02-25 Thread Herbert Xu
Harry Brueckner ,  Harry Brueckner [EMAIL PROTECTED] wrote:
 
 Any idea what could be wrong? I found several postings about this problem 
 but not a single useful reply to them. :-/

Upgrade your initrd-tools package and reinstall kernel-image.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: initrd -- what exactly is it?

2003-01-31 Thread Herbert Xu
Pigeon [EMAIL PROTECTED] wrote:
 
 The rescue disks appear to use an initrd in 'root.bin' which isn't
 cramfs... at least the above doesn't work, nor does -t auto. Any idea
 what type this is? My curiosity has been aroused!

It's a gzipped ext2 file system.  Uncompress it with gunzip before
mounting it.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: How have I misconfigured DHCP?

2003-01-14 Thread Herbert Xu
Shyamal Prasad [EMAIL PROTECTED] wrote:
 
 Finally, 'man interfaces' says that pump is only supported on 2.2.x
 kernels. Perhaps that is the clue you are looking for? I don't know if

No it says pump is supported on 2.2.x and *newer*.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: Compiling a kernel on an UltraSparc?

2002-12-21 Thread Herbert Xu
Nathan E Norman [EMAIL PROTECTED] wrote:
 
 BTW, 2.4.20 is not the kernel you want if you run ext3 filesystems.
 OTOH, 2.4.19 seems to not want to provide DRM support for the Creator.

2.4.20 ext3 is OK as long as you don't enable data=journal (the default
is data=ordered).
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: cannot boot OldLinux

2002-12-14 Thread Herbert Xu
On Sat, Dec 14, 2002 at 12:46:05PM -0500, Steve M. Robbins wrote:
 
 # Needed for debian kernel packages
 initrd = /initrd.img

This should be in the image section.  You need to load initrd.img.old
for vmlinuz.old.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: shell game

2002-12-07 Thread Herbert Xu
Michael Heironimus [EMAIL PROTECTED] wrote:
 
 There is a way that looks slightly better, but it's still ugly because
 it relies on bash-specific options. Something like this should do it.
 
 #! /bin/bash
 # Make globs that don't match expand to null string
 shopt -s nullglob
 if [ -n $(echo /path/to/*.jpg) ] ; then
# Do stuff because .jpg files exist
 fi

Here's how you can do it in a POSIX shell:

set -- /path/to/*.jpg
if [ -e $1 ]; then
# Do stuff because .jpg files exist
fi
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: modifying initrd.img

2002-12-05 Thread Herbert Xu
Richard Hector [EMAIL PROTECTED] wrote:
 
 Unfortunately, the loadmodules script tries to load INI9100 for my SCSI
 card, but that module doesn't exist, so I end up with a kernel panic
 (can't mount root fs).

Make sure you've got initrd-tools = 0.1.23 and regenerate the initrd
image:

mkinitrd -o /boot/initrd.img-xxx /lib/modules/xxx
lilo
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: ide-scsi and initrd

2002-11-23 Thread Herbert Xu
David P James [EMAIL PROTECTED] wrote:
 
 options ide-cd ignore=hdb
 alias scd0 sr_mod
 alias scsi_hostadapter ide-scsi
 pre-install sg modprobe ide-scsi
 pre-install sr_mod modprobe ide-scsi
 pre-install ide-scsi modprobe ide-cd
 
 The thing I don't understand is the ordering in the last line, yet every 
 example I've ever seen online is like this. I'm tempted to flip it one 
 day just to see what happens.

When ide-cd gets loaded, you should see the message

ide-cd: ignoring drive hdb

If you don't, then ide-scsi is not going to work.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: ide-scsi and initrd

2002-11-23 Thread Herbert Xu
David P James [EMAIL PROTECTED] wrote:
 Herbert Xu was roused into action on 2002-11-23 16:11 and wrote:
 David P James [EMAIL PROTECTED] wrote:
 
options ide-cd ignore=hdb
alias scd0 sr_mod
alias scsi_hostadapter ide-scsi
pre-install sg modprobe ide-scsi
pre-install sr_mod modprobe ide-scsi
pre-install ide-scsi modprobe ide-cd

 # more /var/log/dmesg
 [snip]
 PIIX4: IDE controller on PCI bus 00 dev 39
 PIIX4: chipset revision 1
 PIIX4: not 100% native mode: will probe irqs later
 ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
 ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
 scsi1 : SCSI host adapter emulation for IDE ATAPI devices

OK, the problem is that ide-probe isn't loaded at this point in time
so there is nothing for ide-scsi to use.  Perhaps this is something
that modprobe could do by default.

Try

pre-install ide-scsi modprobe -k ide-probe-mod

You will need to run update-modules and then regenerate the initrd image by

mkinitrd -o /boot/initrd.img-version /lib/modules/version

and run lilo if you use that.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: Kernel panic booting woody 2.4.18 root=301

2002-11-23 Thread Herbert Xu
Tom Schutter [EMAIL PROTECTED] wrote:
 I am having trouble setting up Debian woody on a IOpener.  I am
 setting up the IDE drive on another machine, and then hooking it up to
 the IOpener and attempting to boot.  When I attempt to boot with the
 drive in the IOpener, I get:
  VFS: Cannot open root device 301 or 03:01
  Please append a correct root= boot option
  Kernel panic: VFS: Unable to mount root fs on 03:01

The IOpener may not be seeing the disk as hda (aka 03:01).  Please post
the messages before that as it may tell you what the kernel thinks the
disk is called, or if it doesn't see it at all.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: UNIX shells - Bourne and C

2002-11-10 Thread Herbert Xu
Nathan E Norman [EMAIL PROTECTED] wrote:
 
 ash is supposed to be POSIX compliant, and according to the package
 description it makes a better /bin/sh because it is smaller.  However
 I beleive there are some Bourne shell features not present in ash (I
 don't have a reference for that, it's from memory which may be
 faulty).

Please don't spread FUD.  I certainly am not aware of any missing
features relevant for shell scripts.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: Problem with mkinitrd

2002-11-05 Thread Herbert Xu
Pierre Burri [EMAIL PROTECTED] wrote:
 
 partition and a mount -t proc proc /proc. Everything worked fine until the 
 kernel installation (apt-get -y installation kernel-image-2.4.19-686). The 
 problem is with mkinitrd that doesn't find the root partition. I can 
 reproduce the problem by invoking directly mkinitrd. 
 I would greatly appreciate some help. 
 
 Here the terminal output:
 sun:/# dpkg --configure kernel-image-2.4.19-686
 Setting up  (2.4.19-3) ...
 
 /usr/sbin/mkinitrd: Cannot determine root device

What version of initrd-tools are you using?

Please show me the content of /etc/fstab and /proc/filesystems.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: Problem with mkinitrd

2002-11-05 Thread Herbert Xu
On Tue, Nov 05, 2002 at 12:21:51PM +0100, Pierre Burri wrote:
 thanks for your answer.
 I had a mistake in fstab, /dev/hda11 was still /mnt/debian insthead of /.
 I corrected that, but there is still a problem with ldd:

 ldd: ./: No such file or directory

You need to install the latest bash from unstable.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: Fwd: Bug#164498: mkinitrd doesn't seem to create the correct initrd image

2002-10-14 Thread Herbert Xu

On Mon, Oct 14, 2002 at 07:14:34AM +0100, Alan Chandler wrote:
 
 My question is, why go to great trouble to store and then change 
 real-root-dev.  Why can't all of the meat of the action just happen in 
 linuxrc and then pivot_root to the original root?

Because 2.4.19 broke automatic module loading while linuxrc is running...
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: SOLVED: idiosyncratic ln not making hard links

2002-10-11 Thread Herbert Xu

Elizabeth Barham [EMAIL PROTECTED] wrote:
 
 shelby:~# touch x
 shelby:~# ln x y
 
 Well it works now. Thank you everyone!!

There is a known bug in the 2.4 VFS where if you attempt to open a
bad inode on your file system, then all further attempts to do
operations like ln on anything will result in that error.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: cramfs: wrong magic, kernel panic

2002-09-30 Thread Herbert Xu

Neal Pollock [EMAIL PROTECTED] wrote:
 I was experimenting with different video modes and I can no longer boot my
 system.  I was passing different modes at the prompt, and used 'scan' from
 the video mode menu.  I chose a mode and couldn't see anything so I gave the
 machine a clt-alt-del.  Now I can't boot either of my two kernels (2.2.20 
 2.4.18) from lilo, I get the following messages:

I presume your root filesystem is on /dev/hdb6.  If this is not the case,
then you need to tell lilo where it really is.

 (2.2.20)
 [MS-DOS FS Rel. 12, FAT 12, Check=n, conv=b, uid=0, gid=0, umask=022, bmap]
 [me=0x0, cs=0, #f=0, fs=0, f1=0, ds=0, de=0, data =0, se=0, ts=0, ls=0,
 rc=0, fc=42949672
 Transaction block size = 512
 Invalid session number or type of track
 Kernel panic: VFS: Unable to mount root fs on 3:46

I'm afraid this means that your root fs has been corrupted so it can't
be mounted.  You may be able to recover it by booting from the resuce
disk and perform an fsck on the partition.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: awk segfault on make menuconfig to build kernel

2002-09-23 Thread Herbert Xu

David De Graff [EMAIL PROTECTED] wrote:
 
 On each attempt to execute make menuconfig, I get the error:
 
 gcc -o lxdialog checklist.o menubox.o textbox.o yesno.o inputbox.o util.o
 lxdialog.o msgbox.o -lncurses
 make[1]: Leaving directory `/usr/src/kernel-source-2.4.19/scripts/lxdialog'
 /bin/sh scripts/Menuconfig arch/i386/config.in
 Using defaults found in .config
 Preparing scripts: functions, parsingscripts/Menuconfig: line 1:   663
 Segmentation fault  awk $1
 Awk died with error code 139. Giving up.
 make: *** [menuconfig] Error 1

See http://bugs.debian.org/81487/

The quick solution is to use gawk instead of mawk.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: ReiserFS to EXT3

2002-09-04 Thread Herbert Xu

Osamu Aoki [EMAIL PROTECTED] wrote:
 
 So it needs to be enabled.  If it is root, initrd needs to be made to
 support this. (I use ext3 for the ease of maintanance for all partition.)

initrd-tools supports this already.  However there is a bug in 0.1.2[67]
that may break this.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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




Re: EXT3 questions

2002-04-30 Thread Herbert Xu
Michael Meskes [EMAIL PROTECTED] wrote:

 I just did a mkinitrd to create a new initrd, changed my lilo.conf, ran
 lilo and rebooted, but nothing changed. The ext3 module is loaded but
 unused and /proc/mounts says /dev/root is mounted as ext2.

If you are using the -386 flavour then this is a known problem.  The only
way around it is to use pivot_root.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: booting problems - new machine, kernel 2.4

2002-04-19 Thread Herbert Xu
dman [EMAIL PROTECTED] wrote:

 With both the kernel-image packages I get the error
Kernel Panic : Couldn't mount root fs on device major:minor

More details please, start with the major:minor and the few lines before
this message.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: Why 2.2 kernel instead of 2.4

2002-04-17 Thread Herbert Xu
Xeno Campanoli [EMAIL PROTECTED] wrote:

 Actually, I can't get 2.2.20 by default.  I don't see it on stable, and
 last time I asked about it I was told to get it off testing.  Kindof
 bad since security listings strongly recommend updating production
 systems to 2.2.20.

2.2.19 in Debian's stable is just as secure as 2.2.20, please read
the changelog.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: FW: Kernel identification

2002-04-13 Thread Herbert Xu
curtis [EMAIL PROTECTED] wrote:

 apt-get install kernel-imgage-version

 In this case, when I type apt-get install kernal-image-2.4.17-386 (the 
 kernel version on my other computers), I get the following message:

Package kernel-image-2.4.17-386 has no available version, but exists
in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
E: Package kernel-image-2.4.17-386 has no installation candidate

2.4.17 has been removed due to the zlib security hole.  Just install
2.4.18 instead.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: traceroute errors

2002-04-12 Thread Herbert Xu
Bud Rogers [EMAIL PROTECTED] wrote:
 I started getting these errors yesterday.  I can't figure out where 
 they're coming from.  System is mostly woody with a few packages from 
 unstable.  Any hints would be most appreciated.

 [EMAIL PROTECTED]:~$ traceroute www.debian.org
 traceroute: Warning: findsaddr: error sending netlink message: Connection 
 refused
 traceroute: Warning: ip checksums disabled
 traceroute to www.debian.org (198.186.203.20), 30 hops max, 38 byte packets

The next release will have this in the manual page:

   If your kernel does not support rtnetlink (routing messages),
   you will get a warning of the form
  traceroute: Warning: findsaddr: error sending netlink message: 
reason
  traceroute: Warning: ip checksums disabled
   This is harmless as IP checksums will be provided by the kernel,
   and UDP  checksums  (which are also disabled when rtnetlink is
   unavailable) are optional.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: kernel recompile takes the work out of network

2002-04-10 Thread Herbert Xu
Yury Sulsky [EMAIL PROTECTED] wrote:

 - When I recompiled, I simply changed all of the modules that I need to be
 built-in, including the tulip driver. Maybe I have to do something extra to
 get this to work?

The tulip driver is known to be broken on some older chipsets.  You can
use the de4x5 driver instead.  Please mail me if you'd like to help getting
it fixed.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: Upgraded to kernel 2.4.18, and pcmcia cards no longer work.

2002-03-30 Thread Herbert Xu
Rich Warren [EMAIL PROTECTED] wrote:

 # /etc/init.d/pcmcia start
 Starting PCMCIA services: modulesinsmod: a module named pcmcia_core already 
 exists
 /lib/modules/2.4.18-586tsc/pcmcia/i82365.o: unresolved symbol 
 isapnp_find_dev_R9991be23
 /lib/modules/2.4.18-586tsc/pcmcia/ds.o: init_module: Operation not permitted
 Hint: insmod errors can be caused by incorrect module parameters, including 
 invalid IO or IRQ parameters
 cardmgr.

This is a known bug in pcmcia where it uses insmod instead of modprobe
to load the PIC module.  You can work around it by putting isapnp into
/etc/modules so that it is always loaded.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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



Re: dosemu: com port problem partially solved

2002-03-21 Thread Herbert Xu
Cheryl Homiak [EMAIL PROTECTED] wrote:
 I discovered that my com ports work as root, but I'm not sure how to get 
 access
 myself. My ttySx are currently set for root and dialout, and this isn't a
 problem in linux since i am a member of dialout. However, I have tried 
 resetting
 permissions to 666 and even 1777 and this doesn't seem to help me use my com
 ports in dosemu. Any suggestions?
 By the way, I'm not sure if this mattered or not, but I did change the speaker
 line in the dosemu.conf to emulated also.

Try running dosemu with -D+a -o file to see what the problem is.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: Pump and Dhclient

2002-03-18 Thread Herbert Xu
Sean 'Shaleh' Perry [EMAIL PROTECTED] wrote:

 pump does not obey the RFC and has been known to not work on all networks. 
 Debian is moving away from it.

This is no longer the case.  pump is now useing AF_PACKET to send discover
packets.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: Kernel 2.4, 8 megs of ram and kernel panic

2002-02-16 Thread Herbert Xu
Gr?gory Kar?kinian [EMAIL PROTECTED] wrote:

 I understand the reason of this error (only 8 megs of ram on this
 computer, but is is possible to boot a 2.4 kernel with 8 megs ?
 (Making a smaller ramdisk ? Been searching on google, found out it's 4
 megs by defaut... That's a lot).

Yes, but you'll need to setup a custom initrd image.  Please refer to
mkinitrd.conf(5) for details.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: [Re: Kernel 2.4.17 (smp) problems]

2002-02-07 Thread Herbert Xu
Deva Seetharam [EMAIL PROTECTED] wrote:

 Feb  5 23:14:29 mathura kernel:  IO-APIC (apicid-pin) 2-5, 2-10, 2-11, 2-13,
 2-17, 2-20, 2-21, 2-22, 2-23 not connected.
 Feb  5 23:14:29 mathura kernel: probable hardware bug: clock timer
 configuration lost - probably a VIA686a.
 Feb  5 23:14:29 mathura kernel: probable hardware bug: restoring chip
 configuration.

Try booting with noapic.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: How to enable EXT3 FS on 2.4

2002-02-04 Thread Herbert Xu
On Sun, Feb 03, 2002 at 05:55:34PM -0800, Osamu Aoki wrote:

  Because you've changed fstab which contains the root filesystem type...
 
 I did not remount.  So root FS is still ext2 until reboot.  Besides,
 file location of all files (kernel image, initrd image is stationally)

mkinitrd uses fstab to find out the root file system type, which decides
what goes into the initrd image...

  You could also simply reinstall kernel-image of course.
 
 I did install kernel-image before editing fstab.  Is not it enough?

Reinstalling kernel-image runs mkinitrd automatically.

 I greped source of lilo and I only see fstab in configuration scripts
 (liloconfig, lilo_find_mbr) which are not used and will not be affected
 by my fstab edit.

Try grepping /usr/sbin/mkinitrd.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: How to enable EXT3 FS on 2.4

2002-02-04 Thread Herbert Xu
Osamu Aoki [EMAIL PROTECTED] wrote:

 1.  Boot screen had fsck messafge printing out:
 ...
 fsck 1.25 (20-Sep-2001)
 fsck.ext3,ext2  ... complain something like command does not exist.

You can't put comma separated lists of types in fstab.

 This is not in dmesg but just on console screen.

 2. dmesg contain cramfs: wrong magic

That's a harmless warning and will go away once mkinitrd starts using
pivot_root.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: How to enable EXT3 FS on 2.4

2002-02-02 Thread Herbert Xu
Osamu Aoki [EMAIL PROTECTED] wrote:

  # cd /etc; mv fstab fstab.old
  # sed 's/ext2/ext3,ext2/g' fstab.old fstab  # forged to be better :)
 
 mkinitrd -o /boot/initrd.img-2.4.17-686-smp /lib/modules/2.4.17-686-smp
 lilo

 It does not harm but kernel-image already comes with initrd image and it
 runs lilo during install.  Is there any specific reason why this
 command needs to be run again?

Because you've changed fstab which contains the root filesystem type...

You could also simply reinstall kernel-image of course.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: a problem with pcmcia-modules-2.4.17 in sid

2002-02-02 Thread Herbert Xu
Seneca Cunningham [EMAIL PROTECTED] wrote:

icosagon:~# dpkg -i /floppy/*.deb
Selecting previously deselected package psmcia-modules-2.4.17-386.
(Reading database ... 20503 files and directories currently installed.)
Unpacking pcmcia-modules-2.4.17-386 (from 
 .../pcmcia-modules-2.4.17-386_
 3.1.31-3k1_i386.deb) ...
dpkg: error processing /floppy/pcmcia-modules-2.4.17-386_3.1.31-3k1
 _i386.deb (--install):
 trying to overwrite `/lib/modules/2.4.17-386/pcmcia/pcmcia_core.o', 
 which
 is also in package kernel-image-2.4.17-386

This is because the kernel-image package already contains a set of
PCMCIA modules.  The fact that it's occupying the same namespace as
the ones from pcmcia-modules is a bug which will be resolved soon.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: Upgrade to 2.4.17 Problem

2002-02-01 Thread Herbert Xu
Ed Lawson [EMAIL PROTECTED] wrote:
 I just upgrade the kerenl on my woody box from 2.2.19 to 2.4.17-k6. 
 Everything went smoothly and it rebooted into the 2.4 kernel without 
 problems. However, I've lost network connectivity.  The NIC is 
 recognized, it is there under ifconfig, I can ping the assigned address, 
 but I canot ping any other machine of the network nor access the 
 Internet (obviously).  Perhaps I need to reconfigure something?  What 
 might be the cause and where should I look?  TIA

What type of NIC?
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: How to enable EXT3 FS on 2.4

2002-02-01 Thread Herbert Xu
Osamu Aoki [EMAIL PROTECTED] wrote:
 I did following to enable ext3 fs on my system.  If there are better
 way, let me know.  (kernel-image-2.4.17-686-smp)

 # apt-get update; apt-get install kernel-image-2.4.17-686-smp
 ...
 # tune2fs -j -i 0 /dev/hda1
 # tune2fs -j -i 0 /dev/hda2 # ... For all EXT2 FS which moves to EXT3
 # cd /etc; mv fstab fstab.old
 # sed 's/ext2/ext3/g' fstab.old fstab

mkinitrd -o /boot/initrd.img-2.4.17-686-smp /lib/modules/2.4.17-686-smp
lilo

 # shutdown -r now
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: initrd and kernel 2.4.17

2002-01-24 Thread Herbert Xu
Rupa Schomaker [EMAIL PROTECTED] wrote:

 A real pain though since the lvm tools require a writable filesystem
 (they create files in /etc).  Debian uses cramfs for initrd which is
 read-only.

The solution of course is to mount tmpfs on /etc...
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: trying to run VMwareworkstation 3.0.0-1455..says I have wrong kernel headers

2002-01-05 Thread Herbert Xu
David Z Maze [EMAIL PROTECTED] wrote:

 source tree corresponding to your kernel; if you're running a
 Debian-provided kernel, you can use the appropriate kernel-source-*
 package for this purpose.

That should be the appropriate kernel-headers-* package.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: Unable to compile a bootable kernel, or, how do I make a romfs?

2001-11-08 Thread Herbert Xu
Timothy J. Miller [EMAIL PROTECTED] wrote:

 I never had these problems prior to moving to initrd stuff.  8(

So stop using it.  Custom kernels do NOT need initrd.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: dosemufreedos

2001-10-23 Thread Herbert Xu
Joachim Trinkwitz [EMAIL PROTECTED] wrote:
 Herbert Xu [EMAIL PROTECTED] writes:

 Gerhard Kroder [EMAIL PROTECTED] wrote:
  README says:
 cd /usr/lib
 mkdir -p dosemu freedos
 ln -s ../freedos dosemu
  my guess here: mkdir -p dosemu/freedos; cd dosemu/freedos before
  linking?
 
 Nope, it's meant to be like that.

 But the ln command as in the README won't work, because the directory
 exists!???

Which directory? If /usr/lib/dosemu/freedos exists your system is screwed
and you should remove it by hand.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: dosemufreedos

2001-10-18 Thread Herbert Xu
Gerhard Kroder [EMAIL PROTECTED] wrote:

 README says:

cd /usr/lib
mkdir -p dosemu freedos
ln -s ../freedos dosemu

 my guess here: mkdir -p dosemu/freedos; cd dosemu/freedos before
 linking?

Nope, it's meant to be like that.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: shell script kommands

2001-09-19 Thread Herbert Xu
MaD dUCK [EMAIL PROTECTED] wrote:
 also sprach Timeboy (on Thu, 13 Sep 2001 01:41:08PM +0200):
 Is there a possibility to do this with a bash script?

 #!/bin/bash

 cnt=0

 while read i; do
  var[cnt]=$i
  cnt=`expr $cnt + 1`
 done

 echo there are $i object(s) in array var[].

or you could do

#!/bin/sh

eval $(
sed -n =;s/\([^']*\)\('*\)/'\1'\\2\/gp;$= |
sed -n ':s;N;s/^/var/;s/\n/=/p;n;$s/^/cnt=/p;bs'
)

echo there are $cnt object(s) in array var[].
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: apt-move .exclude file question

2001-09-17 Thread Herbert Xu
Markus Grunwald [EMAIL PROTECTED] wrote:

 I tried for example

 ...
 **/kdetoys/eyesapplet*
 **/kdebase-crypto/kdm-krb*
 **/kdeutils/kab*
 **/kdegames/kabalone*
 **/kdesdk/kapptemplate*
 ...

The version of apt-move in testing still uses the old archive layout.
That means you need to use the old section/package notation.  For
example, the eyesapplet line should be written as

*/eyesapplet*

or

*/games/eyesapplet*

The next apt-move release will support pools.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: vmware: kernel-source vs. kernel-headers

2001-09-02 Thread Herbert Xu
Martin F Krafft [EMAIL PROTECTED] wrote:

 trying to install vmware, it needs
 /usr/src/linux/include/linux/version.h, which is not in the
 kernel-source package but in kernel-headers. however, kernel-headers
 alone doesn't suffice for vmware:

If you're compiling the modules for a precompiled kernel image, you should
use its corresponding kernel-headers package.

Otherwise, you need to go with the kernel source tree where you built your
kernel.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: 2.4.7 kernel boot hangs with cramfs: wrong magic

2001-08-16 Thread Herbert Xu
On Thu, Aug 16, 2001 at 12:11:43AM -0400, Jerome Acks Jr wrote:
 
 In one of your earlier messages, you mentioned turning off DMA. I've
 done some searching with google, looked at documentation for kernel and
 lilo, and I'm not quite sure how to do that. Would I need to intall
 hwtools and hdparm and put put add an hdparm line into
 /etc/init.d/whtools? Or is there a way to do this passing parameters
 through lilo at boot?

Make sure you've got initrd-tools = 0.1.10.  Then create these files
(watch out for the tabs):

--/etc/mkinitrd/exe--
/bin/mount
/bin/umount

--/etc/mkinitrd/scripts/dma (must be executable)--
#!/bin/sh

cd $INITRDDIR

mkdir proc

cat  scripts/dma.sh - EOF
mount -nt proc proc /proc
echo using_dma:0  /proc/ide/hda/settings
echo using_dma:0  /proc/ide/hdb/settings
umount -n /proc
EOF
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: 2.4.7 kernel boot hangs with cramfs: wrong magic

2001-08-16 Thread Herbert Xu
On Thu, Aug 16, 2001 at 08:24:30PM +1000, herbert wrote:
 
 --/etc/mkinitrd/scripts/dma (must be executable)--
 #!/bin/sh
 
 cd $INITRDDIR
 
 mkdir proc
 
 cat  scripts/dma.sh - EOF

Better insert

modprobe ide-probe-mod

here.

   mount -nt proc proc /proc
   echo using_dma:0  /proc/ide/hda/settings
   echo using_dma:0  /proc/ide/hdb/settings
   umount -n /proc
 EOF
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: 2.4.7 kernel boot hangs with cramfs: wrong magic

2001-08-15 Thread Herbert Xu
On Tue, Aug 14, 2001 at 09:11:04PM -0400, Jerome Acks Jr wrote:
 
 I tried the -386 kernel package. I no longer get cramfs: wrong magic. 

Please give 2.4.8 a go.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: 2.4.7 kernel boot hangs with cramfs: wrong magic

2001-08-14 Thread Herbert Xu
On Mon, Aug 13, 2001 at 10:46:12PM -0400, Jerome Acks Jr wrote:

 The disk light is off.

In that case please try the -386 kernel package.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: 2.4.7 kernel boot hangs with cramfs: wrong magic

2001-08-12 Thread Herbert Xu
On Sun, Aug 12, 2001 at 02:30:53PM -0400, Jerome Acks Jr wrote:
 
 Partition check:
 /dev/ide/host0/bus0/target0/lun0: [EZD] [remap 0-1] [700/255/63] p1 p2 
 p5
 /dev/ide/host0/bus0/target1/lun0: [PTBL] [2491/255/63] p1 p2 p3 p4 p5 
 p6 p7
 cramfs: wrong magic
 VFS: Mounted root (est2 filesystem) readonly

You mean ext2?

 change-root: old root has d_count=2
 Freeing unused kernel memory: 184k freed
 
 The boot hangs at this point. Sometimes is hangs at the line cramfs: 
 wrong magic

Is the disk light on at this point in time? If it is, you need to turn
DMA off on your IDE disks.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: dosemu mystery

2001-08-05 Thread Herbert Xu
Mike Pfleger [EMAIL PROTECTED] wrote:

 into there.  Still unable to cp from my home dir (D: in dosemu) to
 the tmp dir (C:\tmp\ in dosemu).

 What am I missing?

It's a bug.  Please file it against dosemu and I'll fix it.  Basically
the dosemu scripts should handle the tmp directory for you.

The reason you can't write to it is because it's readonly (see dosemu.conf).
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: dosemu

2001-06-24 Thread Herbert Xu
Jeroen Valcke jeroen@valcke.com wrote:

 I would like to run a very old dos application (I know what am I thinking)
 So I installed the dosemu package.
 Trouble is the 'dosemu' command isn't on the system. Nowhere can I find an
 executable 'dosemu'. I should be installed. I followed the notes from
 'Running Linux' after running the setup, they say:
Now you are ready to start your Dosemu with:
dosemu -C
 But euuh no dosemu for me.

The dosemu command is only available from version 1.0.2.  In previous
versions, the command is either dos or xdos.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: Tmpfs questions

2001-06-22 Thread Herbert Xu
Stefan Srdic [EMAIL PROTECTED] wrote:

 2. Is it recomended to mount /tmp as a Tmpfs by using the following in
 fstab:

 tmpfs/tmptmpfsdefaults00

Replace defaults with size=size where size is some sane limit based
on the amount of swap and RAM you have.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: Tmpfs questions

2001-06-22 Thread Herbert Xu
On Fri, Jun 22, 2001 at 01:15:15PM -0600, Stefan Srdic wrote:
 
 Just another question, would it be more efficient to use a ramfs instead of a
 tmpfs to mount /tmp onto?

No.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: Grub: Does it allow for modularized kernel fs

2001-06-11 Thread Herbert Xu
Guy Geens [EMAIL PROTECTED] wrote:

 I tried it, but I discovered I couldn't use it: LVM needs a writeable
 initrd file system.

Actually, I use LVM and initrd-tools together and it does work.  You need
to use the provided scripting mechanism to mount tmpfs on /etc in order to
run vgscan/vgchange.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: Kernel images

2001-05-20 Thread Herbert Xu
Raffaele Sandrini [EMAIL PROTECTED] wrote:

 I run woody. At this time i compile the kernel by myself. Yesterday i saw in 
 dselect that there are many kernel images avalible. But they are all 2.2.x 
 kernels and only one, the 2.4.0-test1 from the 2.4.x series.
 Now my question is: Why aren't there all the newer images? Does Debian no 
 more precompile a kernel?
 I know that i can do the same with the kernel-package.

They're still waiting to be moved into testing.  You'll see them if you
use unstable.  They'll probably enter testing within a week.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: apt-move question

2001-05-15 Thread Herbert Xu
Yuri Leikind [EMAIL PROTECTED] wrote:

 I noticed that apt-move doesn't work with  non-native
 packages, like, say, ximian gnome or kde for potato, which are
 not officially in the distribution. It just skips them.

 Is there a way I could make apt-move move them, too?

Set up sources.list entries for them and list them in APTSITES.  After
that you can do apt-move get to tell apt-move about these packages.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: Creating an initrd

2001-05-09 Thread Herbert Xu
Sean 'Shaleh' Perry [EMAIL PROTECTED] wrote:

 Fairly easy to make, biggest snag is you really have to be root to make them
 properly.

If you're building a cramfs or romfs image, then root is unnecessary as
fakeroot works just fine.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: Creating an initrd

2001-05-09 Thread Herbert Xu
Joey Hess [EMAIL PROTECTED] wrote:

 Well there is a package in unstable called mkcramfs that makes initrds
 for debian, and it is supported by kernel packages for unstable.

Actually, mkcramfs just makes a cramfs image.  It's initrd-tools that
contains mkinitrd which makes initrd images.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: trouble booting 2.4.4

2001-05-07 Thread Herbert Xu
Jason Healy [EMAIL PROTECTED] wrote:

 flexible == good.  Unfortunately, there wasn't much warning about it, so I
 bet a lot of people (and their respective machines) are panicing.

Hmm, I thought the message in the preinst was as prominent as it could be.
Any suggestions on how it can be improved?
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: make-kpkg broken?

2001-04-22 Thread Herbert Xu
Brian May [EMAIL PROTECTED] wrote:

 somewhere along the way from stable to unstable and Linux 2.4.3,
 something happened to break make-kpkg:

 + make-kpkg clean
 dpkg: warning, architecture `i386-none' not in remapping table

Sounds like a dpkg-dev problem.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: Woody, 2.4 Kernels, Ramdisks and ReiserFS

2001-04-20 Thread Herbert Xu
Jim Farrand [EMAIL PROTECTED] wrote:

 Is the initial ramdisk there so that the kernel can load modules before
 it has mounted the root partition?

Yes.

 If so, does this mean I can put my root partition on a ReiserFS
 partition, even though ReiserFS is (in the default kernel-image package)
 compiled as a module?

Yes.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: high characters in file names change in new potato vs. current slink

2000-08-10 Thread Herbert Xu
Daniel Barclay [EMAIL PROTECTED] wrote:

 Can someone tell me what I need to do to fix the following problem?

ls --show-control-chars
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Re: Fwd: Bug#61223 acknowledged by developer (Unresolved symbols after setting up kernel-image)

2000-03-29 Thread Herbert Xu
On Tue, Mar 28, 2000 at 11:29:25PM -0800, Ross Boylan wrote:
 
 * kernel modules need to be built for the specific kernel they'll be run 
 with, or they won't work properly
 * they won't work because they have the wrong memory addresses
 * The error messages I got are NOT the product of wrong memory addresses, 
 but missing symbolic information

You are getting errors because it's trying to match the modules' symbols with
the kernel that you're currently running.  I don't know why it tries to do
depmod at install time, perhaps Manoj can answer that one.

 * Compact and regular kernels are the same, except the former has fewer 
 drivers

They are configured differently, thus the checksums which are part of the
symbols are different.
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Re: telnetd can't get ttys

1999-11-25 Thread Herbert Xu
On Wed, Nov 24, 1999 at 05:14:47PM -0500, Brian White wrote:
 I installed the new telnetd (v0.14-8) in an upgrade from Slink, but every
 connection attempt failed until I modified /etc/inetd.conf to say root.root
 instead of telnetd.telnetd.
 
 The user and group telnetd exist, and telnetd belongs to the utmp group.
 Is there something else that needs to be set?  There doesn't seem to be
 any mention of this in the telnetd manpage, nor is there any other
 documentation.
 
 Any ideas?  Thanks!

The problem is that the new telnetd requires you to have Unix98 ptys or it
won't work as you've observed.  Tradition ptys must be operated as root.
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Re: telnetd can't get ttys

1999-11-25 Thread Herbert Xu
On Wed, Nov 24, 1999 at 02:35:14PM -0800, aphro wrote:
 i had to to the same to get identd working ..not sure why ..
 
 let me know what u find out if its not posted to the list

Please explain what you mean by identd not working.
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Re: telnetd can't get ttys

1999-11-25 Thread Herbert Xu
On Wed, Nov 24, 1999 at 05:15:01PM -0800, aphro wrote:
 
 identd would not reply to requests for ident.  happened i believe after i
 upgraded from hamm to slink.  i believe slink by default set ident to user
 nobody, and identd didnt work, i tried several different ident daemons and
 all were the same, did not work..till i changed the user to root (had the
 same problem on about 5 machines after doing an upgrade to slink).  i
 think i posted to the list about this when i had the problem(~6-8 months
 ago) 

Please see if you can still reproduce the same problem with
the version in potato (from pidentd).
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Re: ash - options to `echo' command

1999-10-22 Thread Herbert Xu
On Thu, Oct 21, 1999 at 04:50:38PM -0500, Gregory T. Norris wrote:
 
 I'm afraid that I'm not familiar with the SuS.  Could you give me a URL
 for this?

http://www.opengroup.org/onlinepubs/7908799/toc.htm
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Re: ash - options to `echo' command

1999-10-21 Thread Herbert Xu
On Wed, Oct 20, 1999 at 09:27:48PM -0500, Gregory T. Norris wrote:
 I was just curious about why ash's builtin `echo' command no longer
 accepts any options?  It causes interesting (though generally harmless)
 output in a variety of places, because I use ash as /bin/sh.  For
 example:
 
  [EMAIL PROTECTED] grep -l echo -n /etc/init.d/* | wc -l
   35
 
 I haven't filed a bug report because changelog.Debian.gz shows that it
 was an intentional change... so I assume that it was done in order to
 conform with POSIX (or another such standard).  Is this correct?  If

The change was made in line with the SuS.  Note that it is not possible
to write echo statements portably across platforms because of legacy
shells that do support options.  That is why it is recommended to use
printf instead of echo.

 so, I guess I should start filing `bashism' bug-reports against scripts
 which start out `#! /bin/sh' and make use of `echo -n' or `echo -e'?

Yes, options are not supported under the SuS.
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


video card driver (fwd)

1997-06-06 Thread Herbert Xu
I'm forwarding this to debian-user.

- Forwarded message from coteau -

From [EMAIL PROTECTED]  Fri Jun  6 02:31:48 1997
Delivered-To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Date: Thu, 05 Jun 1997 10:33:51 -0600
From: coteau [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
X-Mailer: Mozilla 3.01 (Win95; I)
To: [EMAIL PROTECTED]
Subject: video card driver

Hi There,
I am installing linux debian on dell machine and it has a Matrox
MGA Millennium PowerDesk video card and I haven't found any Matrox Video
Cards in the database provided by the linux. If you please tell me which
one in the closest match for the Matrox Video Card's driver, I'll really
appreciate it.
Sincerely,
Riaz Khan

e-mail address: [EMAIL PROTECTED]

- End of forwarded message from coteau -

-- 
Debian GNU/Linux 1.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://greathan.apana.org.au/~herbert/
PGP Key: http://greathan.apana.org.au/~herbert/pubkey.txt


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: xterm color

1997-01-08 Thread Herbert Xu
Guy Maor wrote:
 
 Instructions for turning on recognition of the color change escape
 sequences is in the xterm man page.

Yes indeed.  And that means you need this resource line:

XTerm*customization: -color

in your /etc/X11/Xresources file or your user Xresource file
if you don't want it for the world.

-- 
Debian GNU/Linux 1.2 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  [EMAIL PROTECTED] or any other key sites


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: deliver and biff and comsat

1996-12-11 Thread Herbert Xu
Eloy A. Paris wrote:
 
 All this introduction is to ask if someone knows a way of getting a
 sendmail based system to notify comsat of new mail arrival. Does any
 one know of a patch for deliver or another MDA that can work with
 sendmail?

You don't need to do anything like that.  Just install
biff and uncomment the comsat line in /etc/inetd.conf
and you're on your way.

-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  [EMAIL PROTECTED] or any other key sites


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Please do not use Qt (fwd)

1996-11-24 Thread Herbert Xu
William Burrow wrote:
 
 On Fri, 22 Nov 1996, Bruce Perens wrote:
 
  Yes. However, we still might look askance at Qt due to the other licensing
  terms, which are more restrictive than the GPL, especially since V (another
  C++ GUI) is under the GPL.
 
  Please understand I'm not making a technical criticisim. I just wish they
  would GPL the darned thing and leave it at that.
 
 While the Qt authors may have different concerns than Knuth does over
 TeX, the idea may be the same:  modified versions may reflect badly on
 Troll Tech.

This is not the point.  They can release it under any
license as long as they allow other people to release
modified versions, even if it has to be under a
different name.  This is so that the applications
won't get caught when Troll stops releasing free Qt
versions.

Think of what would happen if you weren't allowed to
release modified versions of X and that company which
has taken over X decided to make X non-free.
-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  [EMAIL PROTECTED] or any other key sites


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Please do not use Qt (fwd)

1996-11-24 Thread Herbert Xu
William Burrow wrote:
 
 Well, you see, once the source code has been released, it is somewhat 
 like Pandora's box.  Programs relying on the old Qt will function as 
 always.  Free programs relying on the new, unreleased, pay-for-it Qt... 
 well, there just won't be many of those around.

If there were no bugs in that free version.

 As for not being able modify Qt, not really.  Qt supports inheritance, so
 can be modified at a higher abstraction.  Your argument is based on FUD. 
 Meanwhile the freeware community diddles around with various uncompleted
 toolkits. 

Again, this assumes the parent classes are bug free.  But remember that
the this thread started as discussing the relevance of kde to Debian.
And as far as I am concerned there is no point in using Qt for developping
kde when there are other free alternatives around, such as V.

 flame
 Personally, I expected much more from the X development model than has
 appeared.  The X world seems to have grasped a commercial library, Motif. 
 Where is the plethora of excellent concepts and toolkits?  Seems the big
 commercial OSes get those (MacOS, Windows, OS/2 -- not neglecting NeXT, 
 it just didn't get to the big status).  So, what went wrong?
 /flame

There is a plethora of toolkits; concepts? Don't know.

 I don't support Qt as much as I support a free toolkit that is being 
 developed on a continual basis.  It would not be a first to put a wrapper 
 around Qt calls, if you so desired, either.

I don't mind individual programs such as nethack using Qt.  What I
dislike is people putting in a lot of time and effort developping
things like kde on top of a non-free toolkit like Qt when there are
viable free alternatives around.

-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  [EMAIL PROTECTED] or any other key sites


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Please do not use Qt (fwd)

1996-11-22 Thread Herbert Xu
Martin Konold wrote:
 
 On 20 Nov 1996, Arnt Gulbrandsen (Troll) wrote:
 
  As I said wrote earlier, the license doesn't limit distribution in any
  way which is particularly relevant to CD distribution.  Quoting:
 
You may copy this version of the Qt toolkit provided that the
entire archive is distributed unchanged and as a whole,
including this notice.
 
  That's what applies to FTP archive administrators, and that's what
  applies to CD vendors.
 
 Ok, I will forward this to the cdrom producers/Debian people.

Oh come on, who cares if you can distribute them on CD's,
when they can stop releasing any new versions under this
license any time they feel like it? Let's simply forget
about QT.
-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  [EMAIL PROTECTED] or any other key sites


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: XFree86 3.2 Initial Reports

1996-11-18 Thread Herbert Xu
Stephen Early wrote:
 
 One of the good things, in my opinion, about Debian is that it
 provides packages that are set up sensibly with 'normal' defaults. I
 don't want to start doing anything fancy just to look pretty; other
 distributions have tried this, and it occasionally causes confusion
 and problems. It's more a philisophical issue than a technical one,
 really - people should be able to configure their systems however they
 like, without having to undo all sorts of distribution-specific gunk
 first.

Sure, the user should be able to customise things if
they want to.  But if you don't have a pretty default,
people will simply say that Debian looks ugly!
-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  [EMAIL PROTECTED] or any other key sites

--
This message was distributed manually by [EMAIL PROTECTED] after the list
initially failed to distribute it.


Re: X is painful + GPLed solution

1996-11-18 Thread Herbert Xu
Bill Bumgarner wrote:
 
 # Have look at the kde project.
 
 I will-- and if it is as cool as you make it sound, I'll happily put
 together the debian packaging information...

The problem with kde is that they use qt, which has a very
restrictive license that makes it non-free software (in
particular, they do not allow any modified version of the
library to be distributed).
-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  [EMAIL PROTECTED] or any other key sites

--
This message was distributed manually by [EMAIL PROTECTED] after the list
initially failed to distribute it.


Re: X is painful

1996-11-18 Thread Herbert Xu
Stephen Early wrote:
 
 Ah. The X Window System is not a user interface. It is a standard by
 which applications can drive displays and input devices. It provides
 mechanism, not policy.

Sure.  But I must remind you that we are concerned with
developping Debian, not X per se.  Using the above as an
excuse to not making a coherent, and pretty graphical user
interface is IMHO not acceptable.

 Creating a user interface under X that is as good as NextStep is just
 a matter of getting every X application author to agree to adhere to
 the same policy. I wish you luck.

I agree that this is very diffcult.  But the Debian developers
should do their best at getting Debian programs to cooperate.

-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  [EMAIL PROTECTED] or any other key sites

--
This message was distributed manually by [EMAIL PROTECTED] after the list
initially failed to distribute it.


Re: X11 bashing

1996-11-18 Thread Herbert Xu
Martin Konold wrote:
 
 On Fri, 15 Nov 1996, Larry 'Daffy' Daffner wrote:
 
  - Have look at the kde project.
  [ Stuff snipped ]
 
  I strongly doubt that KDE has the momentum to succeed. It's based on
  Qt, which is a proprietary standard.  Granted the implementation is
  delivered 'free for noncommercial use', but I don't see that as a
  significant difference.  It's still a proprietary toolkit, which will
  keep the GNU crowd disinterested, as well as making it inappropriate
  for Debian proper.
 
 In contrast to motif Qt is fully C++ OO.
 Qt comes with source. Any gpled sw can be distributed with soure or binary
 of Qt.
 Just building proprietary sw without source.. cost money.
 So it is really free and can be well used for gpled sw.

Qt forbids anybody from modifying their source code.  So what
if they changed their license when they've gained enough momentum?
-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  [EMAIL PROTECTED] or any other key sites

--
This message was distributed manually by [EMAIL PROTECTED] after the list
initially failed to distribute it.


Re: xv requires libtiff3

1996-11-18 Thread Herbert Xu
Martin Konold wrote:
 
 On Fri, 15 Nov 1996 [EMAIL PROTECTED] wrote:
 
  I just upgraded to the most recent release of xv from the
  non-free section and it is giving me the dependency problem
  that it requires libtiff3.  Yet, I can't find libtiff3.
  Am I looking in the wrong place or something?
 
 Did you have a look at ftp.sgi.com?
 /sgi/fax/source/tiff-v3.4-tar.gz should work.

Please don't.  Get the proper deb file from ftp.debian.org.
-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  [EMAIL PROTECTED] or any other key sites

--
This message was distributed manually by [EMAIL PROTECTED] after the list
initially failed to distribute it.


Re: xconsole stops logging

1996-11-13 Thread Herbert Xu
Pete Templin wrote:
 
 On Mon, 11 Nov 1996, Luis Francisco Gonzalez wrote:
 
  I have noticed that xconsolo stops logging any kernel messages when the 
  daily
  cron scripts get run and the current /var/log/messages file gets renamed to
  /var/log/messages.0 and a new one gets created. Is this something normal or
  is there anything I am doing wrong?
 
 It's probably still logging to the file that has become *.0 .  I'd suggest
 writing a script to kill -HUP  any processes which access those
 (rotated) log files.  The kill just asks the xconsole to close whatever
 log files it has open and reopen its log file by name, thereby releasing
 its hold on the renamed file.

Alas that won't work.  See bug #3751 and my patch.  Though I no longer
use
xconsole as it keeps growing unless you kill it.  Right now I have a
simple
C program that resembles tail but reopens the fifo when the other side
reopens
it.  This in addition to a simple script and xterm replaces the
functionality of
xconsole nicely.
-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  [EMAIL PROTECTED] or any other key sites

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: rdist

1996-11-07 Thread Herbert Xu
Fundamental wrote:
 
 Does debian have rdist or the equivalent program?  I checked the package
 finder and found nothing.

It's in my netstd 2.07-1.
-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  [EMAIL PROTECTED] or any other key sites

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Netscape 3.01 libc5_5.4.7 crashes

1996-11-07 Thread Herbert Xu
Guy Maor wrote:
 
 libc5_5.4.7-7 will be in the archive soon, and it includes the older
 malloc as a seperate library for buggy software like netscape.  You'll
 be able to run netscape like this:
 
 LD_PRELOAD=/usr/lib/libgnumalloc.so netscape
 
 and java apps will work.
 
 The path might might not be correct above, but /usr/doc/libc5/FAQ.gz
 will contain details.

So would the netscape maintainer *please* release a new netscape package
with a script named netscape that does the above?

-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  [EMAIL PROTECTED] or any other key sites

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]