Linux-Setup Digest #264, Volume #20 Thu, 21 Dec 00 08:13:08 EST
Contents:
How increase size of dev/loop0? ("Mike Jenkins")
Re: No idea at all? (was: Suse 6.4: always stalled modem downloads) (Noel McLoughlin)
Re: What file sets the QTDIR environment variable? ("Peter T. Breuer")
Re: Memory > 64MB ("Peter T. Breuer")
Re: Linmodem uses com5; Linux doesn't ("Peter T. Breuer")
Re: shit, i cant install it ("Peter T. Breuer")
Reiserfs + lilo + booting issue (Srihari Vijayaraghavan)
USB not loading in Redhat 7 ([EMAIL PROTECTED])
Re: at home firewall setup (Not Me)
Re: Memory > 64MB (Bit Twister)
----------------------------------------------------------------------------
From: "Mike Jenkins" <[EMAIL PROTECTED]>
Subject: How increase size of dev/loop0?
Date: Thu, 21 Dec 2000 05:29:58 -0600
I'm running Linux in the DOS loop configuration on my PC. I'd like to
increase the size of the DOS loop that I initially allocated for Linux. Can
anyone tell me what the process is to do that? I couldn't find it in the
docs or FAQs.
Is it necessary to reinstall or can the config file that mounts it be
edited?
Thanks!
James Jenkins
------------------------------
From: Noel McLoughlin <[EMAIL PROTECTED]>
Subject: Re: No idea at all? (was: Suse 6.4: always stalled modem downloads)
Date: Thu, 21 Dec 2000 11:26:29 +0000
hi tom,
Has this ever worked for you on any version of linux?
I have a hacked version of Suse 6.4 on my home PC and use a "no-name"
modem for downloads. I'm using Netscape Communicator (free version)
that I downloaded from somewhere. I have being using my modem with
2.2.16, 2.2.17, and now 2.4.0test10 kernels without problem.
I never have any problems with large downloads - the download box
occassionally shows a (say) "20% of 200k/s (stalled... ) " message
sometimes but usually continues after a second or two.
I'm no expert in modems but you could try one of the following (if
nobody
else has the answer):
- download latest version of wvdial from sourceforge ==> unlikely to
make a difference.
- Read the wvdial and pppd man pages and documentation to see if
there is some
way to run pppd with logging turned on to a log_file or something...
- Download a later kernel from source into /usr/src/ and compile it
see the kernel howto.
- download a protocol analyiser such as "ethereal" from source
and install. Then capture all network traffic on
your pc while doing a large download and when it stalls
stop the
analyser and post the results here or in comp.os.linux.networking.
==> Last resort and will at least show what kind of network traffic is
occurring
when load fails.
- Borrow a different brand external modem from a friend and install
on your Suse PC. Maybe your current modem has some non-standard
configuration.
- Have you tried alt.os.linux.suse (but I think this problem is
not distribution related, linux is linux!)
These are the only suggestions I can think of.
regards ,
Noel,
Dublin,Ireland.
Thomas Henkel wrote:
>
> Hello!
>
> I posted this problem a week ago and nobody responded. Does really
> no one has an idea, how I could solve this? This really shockes my
> faith in Linux. :-)
>
> So please let me know, if someone has *any* ideas about *anything* I
> didn't tried yet:
>
> I have a modem connection problem with SUSE 6.4 and I hope, one of you
> can help me, as in a german linux newsgroup nobody found a solution to
> this:
>
> I always get stalled downloads with larger files under linux. The
> downloads hang after some seconds and nothing more happens. If I start
> to download other files at this time, the download starts - and again,
> after some seconds it also stalls. In netscape I can awake this
> downloads only with abort/resume if the server supports http resume.
>
> Its always the same and it doesn't matter if I want to get a file from
> my local isp (university) or from a distant server: for some seconds
> the modem receives with full speed and then the download dies. Small
> files are always loaded (f.e. html pages and small picture, etc.), but
> if a larger file appears, the connection hangs.
>
> I tried to change various options in /etc/ppp/peers/wvdial and in the
> yast modem configuration, but nothing works. To be precise:
>
> 1. changed the initial at commands to 'AT&D2 M0' (my modem doesn't
> need more commands to init - at least in windows and on my old
> amiga)
>
> 1a. Disabled the data compression with 'AT%C0'
>
> 2. reduced MRU/MTU to 567 and similar values
>
> 3. explicitly enabled RTS/CTS handshaking with 'crtscts', even this
> should be a defalut option (a trial and error test with cdtrcts
> also didn't work)
>
> 4. set ACCM mask to 'a0000' (a default configuration for TCP/IP stacks
> on my amiga)
>
> 5. set serial speed to 57600 and 115200 from within yast
>
> 6. tried the same with 'setserial', but this also didn't work
>
> Now, I have no more ideas and I hope, one of you knows the ultimate
> solution.
>
> My configuration: Medion-PC (NPI-667-Avantgarde) and Suse 6.4. I
> tested with an Elsa Microlink 33.6 TQV modem and a noname rockwell
> modem.
>
> Needless to say that the modems work properly under windows and also
> when connected to the amiga.
>
> Tom
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: What file sets the QTDIR environment variable?
Date: Wed, 20 Dec 2000 15:39:27 +0100
Chris Harris <[EMAIL PROTECTED]> wrote:
> Thanks guys for your replies.
> I worked around the problem by setting QTDIR in bashrc. But I have read the
> manpages, looked in all the files mentioned, "grep"ed whole directories and
> can't find what was originally setting the env variable. So my original
> question still stands. Is there any method that can show me what file,
> script etc. is setting an env. variable?
> I mean a search routine, a logfile whatever?
Sure. Man bash (if bash is your shell). It tells you very clearly:
A login shell is one whose first character of argument
zero is a -, or one started with the -login flag.
An interactive shell is one whose standard input and out-
put are both connected to terminals (as determined by
isatty(3)), or one started with the -i option. PS1 is set
and $- includes i if bash is interactive, allowing a shell
script or a startup file to test this state.
Login shells:
On login (subject to the -noprofile option):
if /etc/profile exists, source it.
if ~/.bash_profile exists, source it,
else if ~/.bash_login exists, source it,
else if ~/.profile exists, source it.
On exit:
if ~/.bash_logout exists, source it.
Non-login interactive shells:
On startup (subject to the -norc and -rcfile options):
if ~/.bashrc exists, source it.
Non-interactive shells:
On startup:
if the environment variable ENV is non-null, expand
it and source the file it names, as if the command
if [ "$ENV" ]; then . $ENV; fi
had been executed, but do not use PATH to search
for the pathname. When not started in Posix mode, bash
looks for BASH_ENV before ENV.
If Bash is invoked as sh, it tries to mimic the behavior
of sh as closely as possible. For a login shell, it
.....
and the same sort of thing with tcsh. Now WHAT is your problem? You
can see that if you used a login shell, you executed
/etc/profile
~/.profile
unless you had a .bash_login, which beats out the .profile, unless you
had a .bash_profile, which beats out a .bash_login.
For tcsh and such, the canonical order is
/etc/cshrc
/etc/login
~/.cshrc
~/.login
for login shells, according to my memory, and subject to future
correction by kibitzers here.
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Memory > 64MB
Date: Wed, 20 Dec 2000 19:46:15 +0100
Graham Freakes <[EMAIL PROTECTED]> wrote:
> Can anyone tell me where to add the mem=... line to enable Linux to use more
> than 64MB of RAM. I am running Mandrake 7.2.
What boot loader do you use?
Whatever, look at its man page. "man lilo.conf" by default. "man grub"
sometimes.
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Linmodem uses com5; Linux doesn't
Date: Wed, 20 Dec 2000 10:09:52 +0100
nick smit <[EMAIL PROTECTED]> wrote:
> This is a multi-part message in MIME format.
waaaaaah. Nooooo. Pleeasssse! Turn it OFF!
> To avoid problems with winmodems I bought a linmodem (E-tech with Topic
> chip).
> My BIOS connects it to COM5.
> I'm running Linux Mandrake 7.2. Harddrake stops at COM4.
> How do I tell Mandrake to make more serial ports?
> Do I have to build a new kernel, or is there a easier way?
You no unnerstan.
Find out what a serial port is. Read the modem HOWTO.
To the kernel, it's an IRQ and an io address that speaks serialport-ese.
So set one of the existing devices to use that IRQ and io address using
setserial. You KNOW it makes sense.
If you truly want to make another special file in /dev/ just for this
porpoise, at least name it /dev/silly. And surely you've got zillions
of ttyS? pointers already there? Make some more if that wasn't enough!
That's mknod /dev/ttySilly c 4 68, if you want.
> Thanks in advance.
> --------------D5A7D825BFDB3CDC0D0EAC5B
> Content-Type: text/x-vcard; charset=us-ascii;
Go Awwwwaaayyyy!!! Begone!
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: shit, i cant install it
Date: Wed, 20 Dec 2000 10:14:10 +0100
IAmGod <[EMAIL PROTECTED]> wrote:
> i have downloaded Linux redhat (its 7.0 i think) i went threw the
> installation steps.. then i got to the partioning thing.. that's where im
> stuck.. my problem is that windows took all of my disk partioning and now
> there isn't any more memory for Linux.. how do i fix that..
Ooooh, by putting some more ram in your boots, I think. Remove your
confusion between memory and disk space.
> some other questions i hope you can help with
> will i lose my files if i erase my win98 partion?
No, they'll magically survive the destruction of the place they live, and
cling on to existence as subether chords in the universal symphony of
life. What do you THINK?
> what is LILO?
An inflatable pillow. Also a boot loader.
> well thanks.. i hope you can help..
Somehow I think you can help yourself. The manual for your distro is a
good place to start.
Peter
------------------------------
From: Srihari Vijayaraghavan <[EMAIL PROTECTED]>
Subject: Reiserfs + lilo + booting issue
Date: Thu, 21 Dec 2000 22:59:27 +1100
Hello,
I am using Linux 2.2.18 (with reiserfs 3.2.59 compiled on the kernel). I
have successfully converted root file system from ext2 to reiserfs and
found the system is booting OK. (using rescue floppy disk)
But after converting /boot filesystem from ext2 to reiserfs and while
trying to run lilo, I get the following error message: "Hole found in map
file (alloc_page)".
But the system is booting and working fine from the rescue floppy disk I
have created before the conversion.
My configuration files are as follows:
1. /etc/lilo.conf:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux
append="mem=128m"
image=/boot/vmlinuz-2.2.18
label=linux
read-only
root=/dev/hda12
image=/boot/vmlinuz-2.2.18.old
label=2.2.18.old
read-only
root=/dev/hda12
image=/boot/vmlinuz-2.2.14-12
label=origional
read-only
root=/dev/hda12
2. LILO version 21
Can someone help me on making my system to boot from the hard disk instead
of rescue disk?
Thanks in advance,
Hari.
------------------------------
From: [EMAIL PROTECTED]
Subject: USB not loading in Redhat 7
Date: Thu, 21 Dec 2000 12:10:05 GMT
I am a relative Linux newbee and am struggling to get USB up and
running to access an Epson 740 Inkjet printer on a Redhat 7.0
installation on a Dell 400-MHz P-II PC.
It appears that USB support is not loading even though it tries to.
Does Linux support IRQ sharing? That may be my problem.
It appears that I have a system that is probably not optimal for Linux
as I have a DVD system that I never use and a sound system that is not
supported by Linux, both of which consume lots of IRQ and other
resources. I did much better on my new Dell at the office. I had not
even considered Linux when I bought this PC over two years ago.
Here is a portion of my BOOT.LOG file...
Dec 17 16:46:08 dell733@home modprobe: /lib/modules/2.2.16-
22/usb/usb-uhci.o:
Dec 17 16:46:08 dell733@home modprobe: Hint: insmod errors can
be caused by incorrect module parameters, including invalid IO or IRQ
parameters
Dec 17 16:46:08 dell733@home modprobe: init_module: Device or
resource busy
Dec 17 16:46:08 dell733@home modprobe: /lib/modules/2.2.16-
22/usb/usb-uhci.o: insmod /lib/modules/2.2.16-22/usb/usb-uhci.o failed
Dec 17 16:46:08 dell733@home modprobe: /lib/modules/2.2.16-
22/usb/usb-uhci.o: insmod usb-uhci failed
Dec 17 16:46:08 dell733@home rc.sysinit: Initializing USB
controller (usb-uhci): failed
etc...
Here is a similar section from dmesg...
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.232 $ time 16:53:56 Aug 22 2000
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: Intel USB controller: setting latency timer to 0
usb-uhci.c: USB UHCI at I/O 0x1400, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb-uhci.c: request_irq 9 failed!
usb.c: deregistering driver usbdevfs
usb.c: null device being purged!!!
usb.c: deregistering driver hub
usb.c: null device being purged!!!
I gather that the problem is the line that reads "usb-uhci.c:
request_irq 9 failed!" Here is a listing on my "interupts" file which
shows my SCSI controller on IRQ 9 but does not "see" the USB
controller...
CPU0
0: 37873 XT-PIC timer
1: 751 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 1 XT-PIC rtc
9: 631 XT-PIC fdomain
11: 0 XT-PIC eth0
12: 18688 XT-PIC PS/2 Mouse
13: 1 XT-PIC fpu
14: 112157 XT-PIC ide0
15: 2 XT-PIC ide1
NMI: 0
The PC is a dual boot (Win 98 and Linux). Here is the way Win98 shows
the IRQ usage...
******************** IRQ SUMMARY ********************
IRQ Usage Summary:
00 - System timer
01 - Standard 101/102-Key or Microsoft Natural Keyboard
02 - Programmable interrupt controller
04 - Communications Port (COM1)
05 - IRQ Holder for PCI Steering
05 - TBS Montego PCI Audio
05 - TBS Montego Multifunction PCI Platform
06 - Standard Floppy Disk Controller
07 - IRQ Holder for PCI Steering
07 - Cinemaster C WDM Main Driver
08 - System CMOS/real time clock
09 - IRQ Holder for PCI Steering
09 - Intel 82371AB/EB PCI to USB Universal Host Controller
09 - Adaptec AHA-2920 & Future Domain PCI SCSI Host Adapter
10 - TBS Montego Sound Blaster Emulation
11 - STB nVidia ZXV 8MB
11 - SMC EZ Card 10/100 PCI (SMC1211 Series)
11 - IRQ Holder for PCI Steering
12 - PS/2 Compatible Mouse Port
13 - Numeric data processor
14 - Primary IDE controller (dual fifo)
14 - Intel 82371AB/EB PCI Bus Master IDE Controller
15 - Secondary IDE controller (dual fifo)
15 - Intel 82371AB/EB PCI Bus Master IDE Controller
The results of running Linux "pci" is...
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX
Host bridge (rev 02)
Flags: bus master, medium devsel, latency 64
Memory at f8000000 (32-bit, prefetchable)
Capabilities: [a0] AGP version 1.0
00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP
bridge (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 128
Bus: primary=00, secondary=01, subordinate=01, sec-
latency=64
Memory behind bridge: f5000000-f5ffffff
Prefetchable memory behind bridge: fc000000-fcffffff
00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
Flags: bus master, medium devsel, latency 0
00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev
01) (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 64
I/O ports at 1000
00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB
(rev 01) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at 1020
00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
Flags: medium devsel
00:0d.0 Ethernet controller: Accton Technology Corporation SMC2-
1211TX (rev 10)
Subsystem: Accton Technology Corporation EN-1207D Fast
Ethernet Adapter
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at 1400
Memory at f4000000 (32-bit, non-prefetchable)
00:0e.0 Multimedia video controller: Zoran Corporation ZR36120
(rev 03)
Subsystem: quadrant international Cinemaster C DVD
Decoder
Flags: bus master, fast devsel, latency 64, IRQ 7
Memory at f4001000 (32-bit, non-prefetchable)
00:0f.0 Multimedia audio controller: Aureal Semiconductor
Vortex 1 (rev 02)
Subsystem: Voyetra Technologies Montego
Flags: bus master, medium devsel, latency 64, IRQ 5
Memory at f4020000 (32-bit, non-prefetchable)
I/O ports at 1018
I/O ports at 1010
Capabilities: [dc] Power Management version 1
00:10.0 SCSI storage controller: Future Domain Corp. TMC-18C30
[36C70]
Flags: medium devsel, IRQ 9
I/O ports at 1040
01:00.0 VGA compatible controller: NVidia / SGS Thomson (Joint
Venture) Riva128 (rev 21) (prog-if 00 [VGA])
Subsystem: STB Systems Inc STB Velocity 128 AGP
Flags: bus master, 66Mhz, medium devsel, latency 64,
IRQ 11
Memory at f5000000 (32-bit, non-prefetchable)
Memory at fc000000 (32-bit, prefetchable)
Capabilities: [44] AGP version 1.0
I would appreciate any help here. Though less than highly desiarable, I
can pull the SCSI storage controller as it only accesses my JAZ drive
and I have a CD-RW and an IDE ZIP already on this system.
Thanks,
Jess
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Not Me <[EMAIL PROTECTED]>
Crossposted-To:
comp.security.firewalls,alt.uu.comp.os.linux.questions,austin.internet,alt.os.linux
Subject: Re: at home firewall setup
Date: Thu, 21 Dec 2000 12:51:31 GMT
On Thu, 21 Dec 2000 03:13:50 GMT, "Conspirator" <[EMAIL PROTECTED]>
wrote:
>And where else would someone get a 486 unless they're 35 and living in their
>mothers house and still a virgin?
>
Perhaps they picked up a pile of them a couple of years ago when their
employer was cleaning out the closet. You cna never tell when an
obsolete computer will come in handy!
------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: Memory > 64MB
Reply-To: [EMAIL PROTECTED]
Date: Thu, 21 Dec 2000 13:06:06 GMT
On Wed, 20 Dec 2000 11:15:02 -0000, Graham Freakes
> <[EMAIL PROTECTED]> wrote:
>Can anyone tell me where to add the mem=... line to enable Linux to use more
>than 64MB of RAM. I am running Mandrake 7.2.
================= If using lilo ===========================
edit /etc/lilo.conf and add
append="mem=128M"
then /sbin/lilo to install the change.
Next boot gets the change
example:
timeout=50
append="mem=128M"
image=/boot/vmlinuz
================ if running grub ===========================
edit /boot/grub/menu.lst and add
mem=128M
Next boot gets the change
example:
title linux
kernel (hd1,4)/boot/vmlinuz root=/dev/hdb5 mem=128M
--
The warranty and liability expired as you read this message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it.
Do a, man command_here or cat command_here, before using it.
------------------------------
** 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
******************************