Linux-Setup Digest #387, Volume #20 Tue, 9 Jan 01 22:13:07 EST
Contents:
Re: Acknowledgement please? (Michael V. Ferranti)
mandrake linksys lne100tx ("mike")
Booting a SparcStation2 with a hard drive (Jon)
Re: Kernel 2.4 on RH7 (Scott Nolde)
Need help, redhat print server ([EMAIL PROTECTED])
Re: mandrake linksys lne100tx (Scott Nolde)
load modules on bootup ("Vince Ungaro")
Re: How can RH7.0 handle my ATAPI ZIP disk properly? (Scott Nolde)
Re: Can't print under RH7, could under RH6.2 (Mike Percy)
Re: Can't print under RH7, could under RH6.2 (partial success) (Mike Percy)
Change device permissions on login? (TJ Walls)
Re: newbie netscape problem ([EMAIL PROTECTED])
Re: How do you configure GRUB? (E J)
Re: rh 6.2 and ATAPI cdrw (hp 9300), how to get scsi emulation to work (John Foster)
2.4 install on floppy-booted system ("Christopher C. Stump")
----------------------------------------------------------------------------
From: Michael V. Ferranti <[EMAIL PROTECTED]>
Subject: Re: Acknowledgement please?
Date: Wed, 10 Jan 2001 00:58:13 +0000
And ***[EMAIL PROTECTED]*** spoke thusly:
>Aside from my linux woes, could someone reply to the fact that they read this
>post?
Reading you here in California.
-- Michael V. Ferranti [blades&inreach*com]
Linux Counter Reg.ID# 177869 http://counter.li.org GNUke The Planet!
Sign The Linux Driver Petition: www.libralinux.com/petition.english.html
------------------------------
From: "mike" <[EMAIL PROTECTED]>
Subject: mandrake linksys lne100tx
Date: Wed, 10 Jan 2001 01:20:03 GMT
I 'm trying to install linksys lne100tx nic on mandrake 7.2 linux system , I
tried out looking at instructions on linksys page but I was unsuccesful
compiling the tulip.c file. I would appriciate if anyone can send me
information or documentation on this matter.
mike
------------------------------
From: Jon <[EMAIL PROTECTED]>
Subject: Booting a SparcStation2 with a hard drive
Date: Wed, 10 Jan 2001 01:30:09 -0000
Okay, I managed to get my SS2 to boot off a cd. The problem was I had to
put turn block size on on my cd-rom. The new problem that I'm having is I
can't boot off my hard drive, even after I installed Debian on it. When I
type boot /sbus/esp/sd@0,0 at the OpenBoot prompt, I get the same message
as I did with my cd-rom: "bad magic number in disk label".
The hard hard drive that I have in there is a really old SCA 80 SCSI
drive, which has no jumpers on it, but I had to use an adapter to change
it to 50 pin so I could plug it into the Sparc. I've tried several
combinations with the jumpers on this adapter, but I get the same message
every time. I think the problem is that I need to be able to enable block
size on the hard drive as well, but I'm not sure how.
Any help would be appreciated!
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Scott Nolde <[EMAIL PROTECTED]>
Crossposted-To: redhat.general
Subject: Re: Kernel 2.4 on RH7
Date: Wed, 10 Jan 2001 01:21:14 GMT
Jeff Moore wrote:
>
> I have not gotten the kernel to compile with RH7.
>
> If I am going to download a kernel, I want the 2.4 version.
>
> I assume I will also need a new compiler and libraries.
>
> Which compiler and libraries should I get?
>
> Any help will be greatly appreciated.
>
> Jeff Moore
I've been able to compile the released 2.4.0 kernel with:
kgcc-1.1.2-40
gcc-2.96-54
gcc-c++-2.96-54
And you don't need kgcc. What errors are you having? I had multiple
seg faults during the 'make bzImage' portion, but was able to get a
kernel image in the end.
- Scott
--
Never do Windows again with | Scott M. Nolde
Linux! No streaks, haze or | [EMAIL PROTECTED]
glaze! |
8:15pm up 21:01, 2 users, load average: 1.11, 1.04, 1.01
------------------------------
From: [EMAIL PROTECTED]
Subject: Need help, redhat print server
Date: Wed, 10 Jan 2001 01:34:13 GMT
I like to make my RH6.2, a print server. It needs to print directly
to a printer HP8100 on the network without going through a NT print
server that we are currently using. Please explain step by step how
do perform this task?. Maybe this can be accomplished by making the
RH6.2 box as print server.
J
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Scott Nolde <[EMAIL PROTECTED]>
Subject: Re: mandrake linksys lne100tx
Date: Wed, 10 Jan 2001 01:33:14 GMT
mike wrote:
>
> I 'm trying to install linksys lne100tx nic on mandrake 7.2 linux system , I
> tried out looking at instructions on linksys page but I was unsuccesful
> compiling the tulip.c file. I would appriciate if anyone can send me
> information or documentation on this matter.
> mike
you may need to insmod the pci-scan.o module before the tulip module is
accepted.
http://www.scyld.com may yield more help.
- Scott
--
Never do Windows again with | Scott M. Nolde
Linux! No streaks, haze or | [EMAIL PROTECTED]
glaze! |
8:30pm up 21:16, 2 users, load average: 1.00, 1.03, 1.00
------------------------------
From: "Vince Ungaro" <[EMAIL PROTECTED]>
Subject: load modules on bootup
Date: Tue, 9 Jan 2001 18:14:12 -0800
How do I load modules (loopback module to be specific) automatically every
time I boot a red hat client? The modules are there and I can load them
manually at the command prompt, but I want them to load on their own at
bootup. Thanks!
------------------------------
From: Scott Nolde <[EMAIL PROTECTED]>
Subject: Re: How can RH7.0 handle my ATAPI ZIP disk properly?
Date: Wed, 10 Jan 2001 02:04:07 GMT
If you upgrade your kernel to 2.4.0, there is a newly released
IDE-FLOPPY module you could use (or compile it into the kernel):
http://freshmeat.net/projects/ide-floppydriver/
- Scott
"Victor S. Miller" wrote:
>
> I have a dual boot (Windows '98 and RH7.0) Pentium MMX 166 Mhz with
> 32MB memory-- system. It has an ATAPI internal Zip drive. Windows
> handles it just fine -- it sees it as a removable disk, and eject,
> etc. works. Windows will boot whether or not there's a disk in the
> drive. In the BIOS it's listed as AUTO (which is what the IOMEGA site
> says is the proper thing). However, RH7.0 has a major problem with
> it:
>
> First, if there is no disk in the drive at boot up, RH 7.0 just hangs
> with endless messages about "lost interrupt on hdb". In my fstab it's
> listed as not to be mounted at boot time. If I try to shutdown and
> the drive isn't mounted, shutdown also hangs with the same "lost
> interrupt on hdb". I have scsi configured in my kernel (but not scsi
> devices present). I remember hearing that I should use scsi emulation
> with the Zip drive (and my CDROM drives -- which are also IDE) by
> means of the module ide-scsi. What is the right way to do this?
> Should it be in modules.conf, or in some part of lilo.conf?
> --
> Victor S. Miller | " ... Meanwhile, those of us who can compute can hardly
> [EMAIL PROTECTED] | be expected to keep writing papers saying 'I can do the
> CCR, Princeton, NJ | following useless calculation in 2 seconds', and indeed
> 08540 USA | what editor would publish them?" -- Oliver Atkin
--
Never do Windows again with | Scott M. Nolde
Linux! No streaks, haze or | [EMAIL PROTECTED]
glaze! |
9:01pm up 21:47, 2 users, load average: 1.00, 1.00, 1.00
------------------------------
From: Mike Percy <[EMAIL PROTECTED]>
Subject: Re: Can't print under RH7, could under RH6.2
Date: Tue, 09 Jan 2001 22:59:44 -0500
Reply-To: [EMAIL PROTECTED]
Soem followup info. I was able to get it to print *something* using more direct
method:
[root@grimlok@2-tigers xinetd.d]# lpr -V -P [EMAIL PROTECTED] ~mpercy/.bashrc
LPRng-3.6.24, Kerberos5, Copyright 1988-2000 Patrick Powell,
<[EMAIL PROTECTED]>
sending job 'root@grimlok@2-tigers+464' to [EMAIL PROTECTED]
connecting to '10.10.10.10', attempt 1
connected to '10.10.10.10'
requesting printer [EMAIL PROTECTED]
sending control file '[EMAIL PROTECTED]' to [EMAIL PROTECTED]
completed sending '[EMAIL PROTECTED]' to [EMAIL PROTECTED]
sending data file '[EMAIL PROTECTED]' to [EMAIL PROTECTED]
completed sending '[EMAIL PROTECTED]' to [EMAIL PROTECTED]
done job 'root@grimlok@2-tigers+464' transfer to [EMAIL PROTECTED]
But if I leave out the -P I get this, which seems to indicate that somehwere a
translation is not going as planned.
[root@grimlok@2-tigers xinetd.d]# lpr -V ~mpercy/.bashrc
LPRng-3.6.24, Kerberos5, Copyright 1988-2000 Patrick Powell,
<[EMAIL PROTECTED]>
sending job 'root@grimlok@2-tigers+467' to lp@localhost
connecting to 'localhost', attempt 1
connected to 'localhost'
requesting printer lp@localhost
sending control file '[EMAIL PROTECTED]' to lp@localhost
completed sending '[EMAIL PROTECTED]' to lp@localhost
sending data file '[EMAIL PROTECTED]' to lp@localhost
completed sending '[EMAIL PROTECTED]' to lp@localhost
done job 'root@grimlok@2-tigers+467' transfer to lp@localhost
Although the printcap seems to be saying that output should go to the same
place, after going through RedHat's magic filter...
lp:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:sh:\
:rm=10.10.10.10:\
:rp=raw:\
:lpd_bounce=true:\
:if=/var/spool/lpd/lp/filter:
Mike Percy wrote:
>
> Stupid me, I upgraded from 6.2 to 7.0 and can't get my remote printer setup. I
> have a HP4 with jetdirect card, to which I was able to print, no problems, with
> following printcap entry:
>
> lp:\
> :sd=/var/spool/lpd/lp:\
> :mx#0:\
> :sh:\
> :rm=hp4:\
> :rp=raw:\
> :if=/var/spool/lpd/lp/filter:
>
> along with correct entry in /etc/hosts.
>
> Now, despite trying all afternoon, I can't get it setup correctly. I can print
> to printer from other boxes, and can ping from the new RH7 box. So I know the
> problem must be in printcap setup or lpd.
>
> lpc>status
> Printer Printing Spooling Jobs Server Subserver Redirect
> Status/(Debug)
> lp@grimlok@2-tigers enabled enabled 0 none none
> lpc>
>
> When I print test pages, etc., they seem to spool OK, but never show up in the
> spool directory, nor on the queue, and certainly don't get to the printer.
>
> Any help?
>
> ----------- Minimal anti-spam measure: remove _nospam to reply -----------
> "Each game of chess means there's one less variation left to be played.
> Each day got through means one or two less mistakes remain to be made."
> Seen on the net: "Microsoft is to computers as McDonalds is to food"
--
=========== Minimal anti=spam measure: remove _nospam to reply ===========
"Each game of chess means there's one less variation left to be played.
Each day got through means one or two less mistakes remain to be made."
Seen on the net: "Microsoft is to computers as McDonalds is to food"
------------------------------
From: Mike Percy <[EMAIL PROTECTED]>
Subject: Re: Can't print under RH7, could under RH6.2 (partial success)
Date: Tue, 09 Jan 2001 23:13:12 -0500
Reply-To: [EMAIL PROTECTED]
[See the previous articles]
Progress. Seems I'm simply not up on LPRng setup. Silly me, didn't really
recognize I was even using LPRng! I was able to spool to the remote print queue
once I got force_localhost@ into my lpd.conf file. Now I simply have to find out
how to get the magic filter in place... Initial reading seems to imply that
printcap should be read, but it doesn't seem that way...
=========== Minimal anti=spam measure: remove _nospam to reply ===========
"Each game of chess means there's one less variation left to be played.
Each day got through means one or two less mistakes remain to be made."
Seen on the net: "Microsoft is to computers as McDonalds is to food"
------------------------------
From: TJ Walls <[EMAIL PROTECTED]>
Subject: Change device permissions on login?
Date: 09 Jan 2001 21:42:40 -0500
Hello,
When a user logs into a linux system, that person is given ownership of
certain devices (hard-disks, console, etc...) how is this done?! Is this the
work of the getty? I would like to be able to give the user logging in
exclusive ownership of a serial device (/dev/ttyS0), is there anyway to do
this?
Thanks for your help.
Sincerely,
TJ Walls <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: newbie netscape problem
Date: Wed, 10 Jan 2001 02:42:14 GMT
Hi,
do you have test the network?
Percy
In article <[EMAIL PROTECTED]>,
duffy <[EMAIL PROTECTED]> wrote:
>
> Hi
> I need some help with my set up of Redhat 6.2, I seem to going ok
until
> trying to set my preferences for netscape to access the internet,
every
> time I try to set my Proxy server I get a warning proxy can't be
found
> and am returned to the preferences set-up.
> Is this something to do with a start-up script or the like, or is
there
> a linux program for scripting your preferences somewhere else?
> thanks
>
> Duffy
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: E J <[EMAIL PROTECTED]>
Subject: Re: How do you configure GRUB?
Date: Wed, 10 Jan 2001 02:53:41 GMT
RTFM on http://www.gnu.org/software/grub/grub.en.html#faq :)
9. How to boot Windows (or DOS) from a non-first disk?
Use the command map, to exchange BIOS drives virtually, like this:
grub> map (hd0) (hd1)
grub> map (hd1) (hd0)
Peter Lawrance wrote:
> OK, thanks for all the help people. Here's another one.
>
> Having installed Mandrake OK, it loads through GRUB by default. The default
> OS in the GRUB startup menu is Linux. I want to change the default to
> Windows so I can switch on the computer, go make a cup of coffee while it
> boots, then come back to Windows for my normal day's work *unless* I want to
> use Linux this time. I have found DrakConfig (or whatever it's called - I'm
> drafting this post from Windows/Outlook so I can't check right now).
> However, the Boot Configuration module there only configures LiLo and for
> now I would rather stick to GRUB.
>
> I know there is a *really* simple way to do this, but I'm *darned* if I can
> find it. Please somebody?
>
> Sincerely
>
> Peter Lawrance
> POSability Software
> Email: [EMAIL PROTECTED]
> PO Box 3353 Mount Gambier SA 5290
> Australia
>
> Bite off more than you can chew - then chew like hell!
------------------------------
From: John Foster <[EMAIL PROTECTED]>
Subject: Re: rh 6.2 and ATAPI cdrw (hp 9300), how to get scsi emulation to work
Date: Wed, 10 Jan 2001 02:42:29 +0000
I've now found a similar problem (to the one quoted below): my IDE ZIP
drive doesn't work after the mods, and the messages I get are like the
ones in the quote (including the fact that the ZIP drive gets listed as
the first in the list from cdrecord -scanbus).
If I remove the line
/sbin/modprobe ide-scsi
from /etc/rc.d/rc.local (and reboot)
then the ZIP drive works fine again but of course the CD-RW doesn't.
My guess is that what's happening is that ide-scsi is coming in and
grabbing all the devices it can see that haven't been claimed yet, but
that allowing it to do that within /etc/rc.d/rc.local lets it do its
work too early.
What does work (for me) is to leave the modprobe line out from
/etc/rc.d/rc.local and then enter it manually after the machine has
booted. I'd like not to have to do that, though, so does anyone know
where the "best" place would be to put the modprobe command?
John Foster
Claude Vaillancourt wrote:
>
> I have the same problem with RH7, that link says nothing about sr_mod. I
> followed those instructions carefully, now cdrecord -scanbus reports ok
>
> Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
> Linux sg driver version: 2.1.38
> Using libscg version 'schily-0.1'
> scsibus0:
> 0,0,0 0) 'MATSHITA' 'CD-ROM CR-586 ' 'KS15' Removable CD-ROM
> 0,1,0 1) 'HP ' 'CD-Writer+ 8200 ' '1.0f' Removable CD-ROM
> ...
>
> Problem, my matshita is a cd reader, and I can't mount it anymore. Same
> for the CD-Writer.
>
> for cd-writer it says:
>
> [root@local /etc]# mount /mnt/cdrom1
> mount: block device /dev/cdrom1 is write-protected, mounting read-only
> mount: wrong fs type, bad option, bad superblock on /dev/cdrom1,
> or too many mounted file systems
>
> and for the matshita:
>
> [root@local /etc]# mount /mnt/cdrom
> mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
> or too many mounted file systems
------------------------------
From: "Christopher C. Stump" <[EMAIL PROTECTED]>
Subject: 2.4 install on floppy-booted system
Date: Tue, 09 Jan 2001 21:03:42 -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!
------------------------------
** 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.setup.
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-Setup Digest
******************************