Linux-Misc Digest #767, Volume #26 Wed, 10 Jan 01 00:13:01 EST
Contents:
2.4 install on floppy-booted system ("Christopher C. Stump")
Re: CD-RW (E J)
Re: Partition overlapped (Michel Catudal)
Is ATI's All-in-Wonder 128 PCI supported ? ("Arctic Storm")
Re: MAKING MONEY OVER THE NET..POSSIBLE ?? (Jean-David Beyer)
Re: Login name and Pass word` (Jean-David Beyer)
Re: Enter escape charcter in vi or another editor ("Bill M Leagans")
is gcc producing optimal code? ([EMAIL PROTECTED])
$/.bashrc aliases question... (Guy Parry)
Re: Enter escape charcter in vi or another editor ("Bill M Leagans")
Setting up CONFIG_PARPORT_PC in kernel... (Guy Parry)
using library files w/o installing ([EMAIL PROTECTED])
Creative Modem Blaster external DE5625; Rockwell/Conexant chip set? w/Linux? (Dave)
Re: ppp problem with ISP (Glitch)
----------------------------------------------------------------------------
From: "Christopher C. Stump" <[EMAIL PROTECTED]>
Subject: 2.4 install on floppy-booted system
Date: Tue, 09 Jan 2001 20:59:04 -0600
Greetings all!
I'm having a little trouble getting the new 2.4 kernel to
work on my Red Hat 6.2 x86 machine. I compiled the
kernel...the build went fine. My problem is installing it.
My system boots into linux off of a floppy (don't ask
why--it just works better for me that way), and I can't
find any documentation that directly addresses this
issue, so I just did what I thought was logical. I know
that sounds scary, but I'm safe...I can boot off my old
kernel just fine at this point, I just can't use 2.4 yet.
Here is exactly what I did...any advice on what I'm doing
wrong would be appreciated.
1. Unpacked the 2.4 kernel source in my home directory
2. Built the kernel
cd ~/linux
make mrproper
make xconfig
*stepped through the configuration*
make dep
make clean
make bzdisk <--I had a floppy in the drive, but the make
command just erased the floppy...curious
make modules
*su to root*
make modules_install
3. Install the kernel
On my hdd:
#Put the 2.4 kernel in /usr/src & change linux softlink
#to point to the new kernel. Old kernel is still in
#place.
mv ~/linux /usr/src/linux-2.4.0
rm /usr/src/linux
ln -s /usr/src/linux-2.4.0 /usr/src/linux
*Please note that the new modules are in place properly
in /lib/modules/2.4.0 . The old modules are fine.
On my floppy (I used a copy of my normal 2.2.14-5.0
bootdisk):
#move the old kernel image & install the new one
mv /mnt/floppy/vmlinuz-2.2.14-5.0 ~
cp /usr/src/linux-2.4.0/arch/i386/boot/bzImage
/mnt/floppy/vmlinuz-2.4.0
4. Edit /mnt/floppy/etc/lilo.conf to accomodate the new
kernel.
And I believe that is all the installation I need to do.
I tried to boot off the 2.4ified floppy and I got this
message:
boot:
Loading linux.....
Uncompressing linux.....
ran out of input data
--system halted
All was normal until the 'ran out of data' part.
I've narrowed my problem down to three possible things:
1. If this was a system which booted off the hardisk with
lilo, then I would run /sbin/lilo after editing lilo.conf
so that the lilo map file is adjusted accordingly. I cannot
do this, however, because my system boots off of a floppy.
If I try to run /sbin/lilo linux complains because it can't
find lilo--and there doesn't seem to be a switch I can use
to specify lilo's path. In this scenario, I think I'm
running into trouble because the /mnt/floppy/boot/map file
isn't being updated.
2. On my box, hda2 is a small 15 MB partition for /boot. I
am not sure how booting off of a floppy (which has boot,
etc, dev directories as well as the kernel image) relates
to /boot. Do I need to place the 2.4 kernel image inside
/boot as well as on the floppy? What, if anything, from the
new kernel source, should be put in /boot? What should be
put on the floppy?
3. Some docs that I have read say that I need to replace
the old /boot/System.map file with one from the new kernel.
But the README file with the kernel source doesn't say this
and most of the docs that I have read on kernel
recompilation don't mention this. I assume that the
System.map will take care of itself once I can get
the kernel to uncompress properly, but I could be wrong.
Can anyone enlighten me on this issue? In case you're
wondering, this is my first time recompiling...and I feel
like I'm close, but I'm obviously missing something.
Any help is greatly appreciated.
Thanks in advance to all who reply!
------------------------------
From: E J <[EMAIL PROTECTED]>
Subject: Re: CD-RW
Date: Wed, 10 Jan 2001 03:10:00 GMT
Read http://linuxdoc.org/HOWTO/CD-Writing-HOWTO.html for background
material.
It involves building ide-scsi emulation into your kernel. Yeech!!! :)
I only build linux kernels when I absolutely have to such as supporting my
sound card.
I found it easier to use the ide-scsi emulation modules. Here are the
instructions.
$ su -
password: <scret>
# # RH6.2 is conf.modules RH7.0 is modules.conf
# cp /etc/modules.conf /etc/modules.conf.bak
# vi /etc/modules.conf # use your favorite editor to edit modules.conf
Modify modules.conf for your CDROM writer, my CDROM is located at
/dev/hdc
Here is my conf.modules
# --- add this to your conf.modules -------
alias scd0 sr_mod
alias scsi_hostadapter ide-scsi
options ide-cd ignore=hdc
# --- end -------
# cp /etc/rc.d/rc.local /etc/rc.d/rc.local.bak
# vi /etc/rc.d/rc.local
# --Put this at the end of the rc.local---
# load ide-scsi module
insmod ide-scsi
#---end---------
# cp /etc/lilo.conf /etc/lilo.conf.bak
# vi /etc/lilo.conf
put the append statement for /etc/lilo.conf your cdrom
'append="hdX=ide-scsi"' and run lilo.
Here is /etc/lilo.conf, my CDROM is located at /dev/hdc
boot=/dev/fd0
timeout=100
message=/boot/message
prompt
image=/boot/vmlinuz-2.2.14-6.1.1
label=linux
root=/dev/hda4
append="hdc=ide-scsi"
read-only
# /sbin/lilo
Now relink the /dev/cdrom to your scsi emulation of your cdwriter
# mv /dev/cdrom /dev/cdrom.bak
# ln -s /dev/scd0 /dev/cdrom
Reboot. (I don't know how to restart with new conf.modules and rc.local
in linux :( )
Run dmesg to see if your scsi emulation is working after the reboot
# dmesg
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
Vendor: HP Model: CD-Writer+ 8100 Rev: 1.0g
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CDROM driver Revision: 2.56
Run cdrecord to see if you scsi emulation is working also.
# cdrecord -scanbus
Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
Using libscg version 'schily-0.1'
scsibus0:
0,0,0 0) 'HP ' 'CD-Writer+ 8100 ' '1.0g' Removable
CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
I hope it works for you, it works for me
[EMAIL PROTECTED] wrote:
> Hello,
>
> I've a Dell Precision 420 workstation running redhat 6.2. It comes with
> an internal CD-RW (Sony CRX100E-DL). Could anyone provide some info as
> to how do I write to it?
>
> Thanks,
>
> Cliff
>
> Sent via Deja.com
> http://www.deja.com/
------------------------------
From: Michel Catudal <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat.misc
Subject: Re: Partition overlapped
Date: 9 Jan 2001 21:23:11 -0600
* Tong * a �crit :
>
> * Tong * <[EMAIL PROTECTED]> writes:
>
> Thanks to everybody who tried to answer my question. It seems to be
> a problem with no fix reason/solution.
>
> FYI, I ended up redo the whole extended partition with cfisk, trying
> to avoid any potential problem. The result is:
>
> fdisk -l
>
> Disk /dev/hda: 255 heads, 63 sectors, 2491 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 1 64 514048+ 83 Linux
> /dev/hda2 65 319 2048287+ 83 Linux
> /dev/hda3 * 320 1057 5927985 c Win95 FAT32 (LBA)
> /dev/hda4 1058 2491 11518605 5 Extended
> /dev/hda5 1058 2030 7815591 83 Linux
> /dev/hda6 2031 2491 3702951 c Win95 FAT32 (LBA)
>
> Lesson learned from above:
>
> - PM (partition-magic) may produce a partition that is invalid for
> Linux
>
Bullshit! The problem is the mixing of winblows and Linux partitioning tools.
If you are to more than one os partition magic is the best partitioning tool
and use only that one. Here the Extented partition number c is probably
the problem, it should be f because you he's got a bit FAT32 partition.
I've used partition magic for a long time and it works beautifully. I have never
had a problem with partitioning except for the one time I left Corel Linux install
partition my hard disk. I recreated the partition table with SuSE fdisk and
repartitioned
with partition magic.
--
Tired of Microsoft's rebootive multitasking?
then it's time to upgrade to Linux.
http://www.netonecom.net/~bbcat
We have all kinds of links
and many SuSE 7.0 Linux RPM packages
------------------------------
From: "Arctic Storm" <[EMAIL PROTECTED]>
Subject: Is ATI's All-in-Wonder 128 PCI supported ?
Date: Wed, 10 Jan 2001 03:26:09 GMT
Is ATI's All-in-Worder 128 PCI supported ?
All-in-Wonder 128 PCI 16 MB card. According to the RedHat web site, ATI's
All-in-Wonder and All-in-Wonder Pro cards are supported by the XF86_Mach64
servers. What about the card that I have? I'm pretty sure that it will
work, but what about all the features? Will I be able to take advantage
of all the features of this card?
-
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: MAKING MONEY OVER THE NET..POSSIBLE ??
Date: Tue, 09 Jan 2001 22:40:53 -0500
Kurt Weber wrote:
>
> > [EMAIL PROTECTED] wrote:
> >
> > mz
> >
> > Sorry to bother you, I'm a father of 2 kid, and I really need to do
> > some money in my spare time for a better like for my kid. I could do
> > anything. Please does someone know exactly what kind of job I could do
> > over the net ?
> >
> > Please write to: [EMAIL PROTECTED]
> >
> > Sorry for the inconvenient post.
> >
> > John
> I also came across this spam in alt.politics.libertarian, if anyone's
> interested...
> --
> Regards,
> Kurt Weber
> [EMAIL PROTECTED]
> ROW Software and Web Design
> http://www.rowsw.com
I was interested enough to forward it to his ISP; I hope they cancel his
Internet access for spamming. Since he knows how to make pop-up window
in a Usenet posting, he should have some idea what an acceptable use
policy is. OTOH, hotmail's acceptable use policy seems to be "anything
goes".
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 10:35pm up 23:45, 3 users, load average: 3.18, 3.23, 2.95
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Login name and Pass word`
Date: Tue, 09 Jan 2001 22:43:51 -0500
Wayneq wrote:
>
> Hello i have Linux RedHat install along with Win98 it has been a long time
> sence I have messed with Linux and I have for got my Login name and
> Password, it comes up in Xwin I think, how do I change or find out what my
> Login name and Password is ?? I know a real Dumby.....
> thanks for the help, their is not anyone around me to help.
>
If you just forgot YOUR login name and password, it is a simple matter
to login as root and look through the /etc/passwd file. There you can
find out what our login is. Then just change the password (with passwd
command) to something that you do remember.
If you also forgot the root password, the previous posts tell you how to
fix that.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 10:40pm up 23:50, 3 users, load average: 3.58, 3.35, 3.07
------------------------------
From: "Bill M Leagans" <[EMAIL PROTECTED]>
Subject: Re: Enter escape charcter in vi or another editor
Date: Tue, 9 Jan 2001 21:53:33 -0600
Thanks for the link.
I wished it was that simple though. The reason is that a customer is using
a shell script toextract data from files which are formated with sed then
piped to lp. These are invoices and he wants two copies of each invoice,
one on yellow paper from tray 3, one on white from tray 4. Each invoice is
formated and sent to the printer with a line such as
sed {commands} | lp {printer}
the only way I could figure out how to accomplish this was to modify the
script to
sed {commands} > {tempfile}
cat {tray3code} {tempfile} | lp {printer}
cat {tray4code} {tempfile} {tray1code} | lp {printer}
where tray#code are text files that just have the escape codes for their
respective trays. Now if there was only a way to make the copier staple
those two pages together....
Bill
"Dances With Crows" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Mon, 8 Jan 2001 20:44:17 -0600, Bill M Leagans staggered into the
> Black Sun and said:
> >How do you enter special charactes in vi or another editor such as
> >ASCII code 27 (escape).
> >The reason being is that I can control the advanced functions of my
> >printers such as duplex, tray selection easier this way. Though since
> >I can't enter special characters in editors I've had to resort to
> >creating then in windows and copying them over.
>
> (while inserting or replacing text)
> ^V<special character>
>
> This is very useful, but really, your print filter should be doing the
> tray selection/whatever. http://linuxprinting.org/ should have info on
> the things you can do with your printer filter to make it do duplexing
> and/or use different trays. You can set up several printer queues, lp
> for standard, lpduplex for duplex, lptray2 for tray 2, etcetera. HTH,
>
> --
> Matt G|There is no Darkness in Eternity/But only Light too dim for us to
see
> Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
> http://www.brainbench.com / Workin' in a code mine, whoops!
> -----------------------------/ I hit a seg fault....
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,gnu.gcc.help
Subject: is gcc producing optimal code?
Date: Wed, 10 Jan 2001 03:50:32 GMT
Hi,
As I understand it, unless gcc is built as a cross-compiler, it produces
the same type of code as it is itself. That is, if gcc package was
compiled for 386 (Redhat), it will produce code for 386, thereby not
taking advantage of pentium-ness.
My question is: do I need to recompile gcc to make it create optimized
code?
Thank you
Wroot
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Guy Parry <[EMAIL PROTECTED]>
Subject: $/.bashrc aliases question...
Date: Wed, 10 Jan 2001 15:16:33 +1100
I have copied my bashrc file over to my Home dir and made it a
dot file, but I *still* can't get my aliases recognised. What am I
missing? I've played with permissions and so on. Odd.
I'm using Mdk 7.2. Is there something unusual about this distro
that I don't know about???
tia...
------------------------------
From: "Bill M Leagans" <[EMAIL PROTECTED]>
Subject: Re: Enter escape charcter in vi or another editor
Date: Tue, 9 Jan 2001 22:19:07 -0600
I had to use
echo -e "\027&l3X" > test
and is close. What I was tring to do is to create an PCL escape code to say
set the number of copies to 3 which is
<esc>&l3X
where <esc> is ASCII 027, in some text editors is a CTRL-[ and when you open
the file in vi it appears as
^[&l3X
Bill
"Venugopal" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Bill M Leagans wrote:
> >
> >
> > How do you enter special charactes in vi or another editor such as ASCII
> > code 27 (escape).
> >
>
>
> You can use echo command at the prompt instead of vi to do this.i.e.
> suppose you wanted to have ESC J in a file z you could use echo "\033J" >
> z at the command prompt.Any ascii code can be thus output using its octal
> form.
> ---
> P.Venugopal
>
> --
> Posted via CNET Help.com
> http://www.help.com/
------------------------------
From: Guy Parry <[EMAIL PROTECTED]>
Subject: Setting up CONFIG_PARPORT_PC in kernel...
Date: Wed, 10 Jan 2001 15:21:01 +1100
As far as I'm aware to run VMWare I need to have this compiled in
my kernel: CONFIG_PARPORT_PC. Without having to go through menuconfig
from top to bottom to find out what this corresponds to under xconfig,
can someone tell me what the option under xconfig would be? I've had
a look and there are a couple of possibilities under Parallel Port
setup, but I'm not 100% sure which is the correct one. Hope this
question makes sense...if it isn't already installed by default.
Running Mdk 7.2.
tia...
------------------------------
From: [EMAIL PROTECTED]
Subject: using library files w/o installing
Date: Wed, 10 Jan 2001 04:17:20 GMT
hi,
I want to use an app that requires a library file to be installed
(it is actually xmps which needs smpeg library) . But I dont have root
perms on my machine. How can I use the library file with the app ???
thank you in advance
Sandy
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Dave <[EMAIL PROTECTED]>
Subject: Creative Modem Blaster external DE5625; Rockwell/Conexant chip set? w/Linux?
Date: Wed, 10 Jan 2001 04:30:07 -0000
Would like to know:
1 - Is it a fact the Creative Modem Blaster V90 56K DE5625 external
(serial) has a Rockwell/Conexant chio set?
2 - Is it a fact serial (external) modems with Rockwell/Conexant chip sets
are incompatible with Unix/Linux?
3 - Anyone ever been successful using a DE5625 to connect (ppp) to an I.S.P.?
The modem in question is an external (serial) Creative Modem Blaster v90
56K DE5625. I have very limited success connecting to my I.S.P. using this
beast:
-- One or two tries in 30-or-so result in a successful connection.
-- While KPPP tells me I have a 40K+ connection, surfing, on the few
instances where I've been able to connect successfully, seems painfully slow.
-- Attempts to download/ftp files fail fast and hard; start a transfer and
it dies almost immediately after transferring a K or two; seemingly with no
messages indicating why.
I've been all over the creative, creaf, and modemblaster web sites looking
for technical specs. without much luck, and no response from e-mail inquiries.
I found a few obscure lists from sites in Europe suggesting the DE5625 uses
a Rockwell/Conexant chip set, and a few Linux related sites indicating such
chip sets are not compatible with Unix/Linux. Then I got a hit on somene
who put up Linux on a Dell Inspiron (laptop) and used a DE5625 successully
to connect to the internet.
So, whatz the story?
-- Anyone have any luck using a DE5626 (external) with Linux?
-- Does it have a R/C chipset?
-- Does a R/C chipset modem present Linux compatibility problems?
Many thanks,
Dave G.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
Date: Tue, 09 Jan 2001 23:53:57 -0500
From: Glitch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: ppp problem with ISP
> YES!!! You haven't followed the instructions properly.
> Peter T. Breuer has been right. The problem is not pppd,
> it's YOU. Setting up pap-secrets is REQUIRED. Kppp is just
> a fancy frontend to pppd. It doesn't replace it. It
> (basically) gives you a graphical dialog for input instead
> of command line parameters. It just calls pppd with the
> appropriate params. Now, go fix pap-secrets!
After using a pap-secrets file that someone sent me and modifying for
myself these are the messages I get for errors:
Jan 9 23:13:28 bigblue pppd[302]: pppd 2.3.10 started by root, uid 0
Jan 9 23:13:29 bigblue chat[305]: abort on (BUSY)
Jan 9 23:13:29 bigblue chat[305]: abort on (NO CARRIER)
Jan 9 23:13:29 bigblue chat[305]: timeout set to 60 seconds
Jan 9 23:13:29 bigblue chat[305]: send (ATZ^M)
Jan 9 23:13:29 bigblue modprobe: modprobe: Can't locate module ppp0
Jan 9 23:13:29 bigblue chat[305]: expect (OK)
Jan 9 23:13:29 bigblue chat[305]: ppp^M
Jan 9 23:13:29 bigblue chat[305]: Entering PPP Mode.^M
Jan 9 23:13:29 bigblue chat[305]: IP address is xxx.xxx.xxx.xxx^M
Jan 9 23:13:29 bigblue chat[305]: MTU is 1524.^M
Jan 9 23:13:29 bigblue modprobe: modprobe: Can't locate module ppp0
Jan 9 23:13:31 bigblue last message repeated 16 times
Jan 9 23:13:31 bigblue chat[305]: ~^?}#@!}!}!} #} }$} } }!}$}%t}"}&}
}*} } }'}"
}(}"}1}$}%t}3})}#} @{c:wT};~~^?}#@!}!
Jan 9 23:13:31 bigblue modprobe: modprobe: Can't locate module ppp0
Jan 9 23:13:35 bigblue last message repeated 33 times
Jan 9 23:13:35 bigblue chat[305]: }!} #} }$} } }!}$}%t}"}&} }*} }
}'}"}(}"}1}$}
%t}3})}#} @{c:wT};~~^?}#@!}!}!} #} }
Jan 9 23:13:35 bigblue modprobe: modprobe: Can't locate module ppp0
Jan 9 23:13:39 bigblue last message repeated 34 times
Jan 9 23:13:39 bigblue chat[305]: $} } }!}$}%t}"}&} }*} }
}'}"}(}"}1}$}%t}3})}#
Jan 9 23:13:43 bigblue chat[305]: $}%t}"}&} }*} }
}'}"}(}"}1}$}%t}3})}#} @{c:wT};~~^?}#@!}!}!} #} }$} } }!}$}%t}"}&
Jan 9 23:13:43 bigblue modprobe: modprobe: Can't locate module ppp0
Jan 9 23:13:47 bigblue last message repeated 34 times
Jan 9 23:13:47 bigblue chat[305]: } }*} } }'}"}(}"}1}$}%t}3})}#}
@{c:wT};~~^?}#@!}!}!} #} }$} } }!}$}%t}"}&} }*} }
Jan 9 23:13:47 bigblue modprobe: modprobe: Can't locate module ppp0
Jan 9 23:13:51 bigblue last message repeated 33 times
Jan 9 23:13:51 bigblue chat[305]: }'}"}(}"}1}$}%t}3})}#}
@{c:wT};~~^?}#@!}!}!}
#} }$} } }!}$}%t}"}&} }*} } }'}"}(}"
Jan 9 23:13:51 bigblue modprobe: modprobe: Can't locate module ppp0
Jan 9 23:13:55 bigblue last message repeated 34 times
Jan 9 23:13:55 bigblue chat[305]: }1}$}%t}3})}#} @{c:wT};~~^?}#@!}!}!}
#} }$} } }!}$}%t}"}&} }*} } }'}"}(}"}1}$}%t}
Jan 9 23:13:55 bigblue modprobe: modprobe: Can't locate module ppp0
Jan 9 23:13:58 bigblue last message repeated 33 times
Jan 9 23:13:58 bigblue pppd[302]: Terminating on signal 15.
Jan 9 23:13:58 bigblue chat[305]: SIGTERM
Jan 9 23:13:58 bigblue pppd[302]: Connect script failed
Jan 9 23:13:58 bigblue pppd[302]: Exit.
any ideas?
thanks
brandon
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************