Linux-Misc Digest #95, Volume #28 Wed, 13 Jun 01 02:13:02 EDT
Contents:
Re: 2GB File size limitation (Dances With Crows)
Re: no sound from CD (Dances With Crows)
rescue floppy for LS-120/ATAPI floppy drive (David Efflandt)
Still having emacs trouble (mndoci)
Re: Problems using RH 7.1 with SiS 530 Graphics Card (Yongchun Zhang)
Re: two linux paritions require two separate swaps?! (Dave Uhring)
sound support in linux-2.2.16 (rohit)
sound support in linux-2.2.16 (rohit)
Re: Help on NFS ("ThanhVu Nguyen")
Re: rescue floppy for LS-120/ATAPI floppy drive (David Efflandt)
Re: Linux for old laptops (David Efflandt)
Debugging option in packages ?! (Josef Molnar)
Nine questions for newusers (set clock , set services ) (Emmett McLean)
help! dependency problem when installing package kmailcvt. (James Lee)
Re: Internet probs ("Steven J. Hathaway")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: 2GB File size limitation
Date: 13 Jun 2001 04:16:27 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 13 Jun 2001 04:27:18 +0100, Makkern staggered into the Black Sun
and said:
>> No - I am trying to download the databses from NCBI, which take over
>> 2GB in space for some of the files just to download.
>
>On a related note, do you know how to rm a file once it's got too big?
># rm file
>rm: cannot remove `file': Value too large for defined data type
>how can I rm the damn thing? This is my root filesystem, I don't want to
>blast it to free up the space.
man debugfs , and read it 3 times, and note that the syntax for
referring to an inode number is "clri <NUMBER>" and the angle brackets
really are angle brackets and not syntax marks as is usual in man pages.
You should probably do this from a rescue system if possible, or from
single-user mode with / mounted read-only at least. Run fsck on the
partition after you're done.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Outside of a dog, a book is a man's best
http://www.brainbench.com / friend. Inside of a dog, it's too dark
=============================/ to read. ==Groucho Marx
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.powerpc
Subject: Re: no sound from CD
Date: 13 Jun 2001 04:16:31 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 12 Jun 2001 23:38:00 -0400, Rick staggered into the Black Sun
and said:
>I have not been able to get sound from my CD. I can get xmms to play
>streaming mp3s. I can get event sounds from X-Chat, but not a peep
>from my CD. I do not believe I had sound from GNOME either.
Make sure the cable from the CD-ROM drive is plugged into the 4-pin
"CD-IN" connector on your soundcard. Also, pull up GNOME's mixer
program (gmix?) and make sure that the CD-ROM volume is set to a
reasonably high level.
Oh yes, if you're not running Linux on an x86, it is good form to
mention which architecture you're using in the body of your message, and
provide more details as to model number/machine name. (well, if you
cross-post to groups that are not arch-specific, like c.o.l.misc!)
Certain Macs can have odd problems with various components; the model#
can help others figure out a solution much more quickly.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Outside of a dog, a book is a man's best
http://www.brainbench.com / friend. Inside of a dog, it's too dark
=============================/ to read. ==Groucho Marx
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: rescue floppy for LS-120/ATAPI floppy drive
Date: Wed, 13 Jun 2001 04:36:41 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
My file system seems to have corrupted overnight running SuSE 7.1. Not
sure if it rebooted (I have a UPS, but not monitored) or fell back to
runlevel 1 when it got stuck accessing the disk (possibly due to heat
which was only up to around 85 degress F).
When it tries to fsck my / during reboot it drops to single mode after:
hdb: dma-intr: error=0x40 {Unrecoverable Error}, LBAsect=14771969,
sector 14681184
end_request: I/O error, dev 03:45 (hdb), sector 14681184
Error reading block 1835748 (Attempt to read block from filesystem
resulted in short read) while doing inode scan.
Anyway I made a tomsrtbt rescue floppy and it boots from a
standard floppy drive on the computer it was created on, but not the one
with the problem. It correctly identifies hdc as LS-120, ATAPI floppy
(the floppy being booted from) and hdd as DVD-ROM, but later hangs
during or after a partition check of hdc (which has no partitions).
I could install another copy of SuSE on empty space on that hard drive,
but is there a rescue floppy version that can boot from an ATAPI floppy?
--
David Efflandt (Reply-To is valid) http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: [EMAIL PROTECTED] (mndoci)
Subject: Still having emacs trouble
Date: 12 Jun 2001 21:37:03 -0700
Hi folks
I had posted this a while ago and despite all the suggestions at the
time, I still have not solved the problem.
On mandrake 7.1 (using KDE) I get grey shading on any text when I use
emacs (no such problems with xemacs). If I login as root, I have no
such trouble. I proceeded to replace my .Xdefaults with that of root
and deleted my .emacs file. However the problem still persists.
Any other suggestions. Its a pain working through text that is
shaded, especially when I work remotely on machines which only have
emacs and not xemacs.
Thanks
mndoci
------------------------------
From: [EMAIL PROTECTED] (Yongchun Zhang)
Crossposted-To:
comp.os.linux.redhat,comp.os.linux.x,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: Problems using RH 7.1 with SiS 530 Graphics Card
Date: 12 Jun 2001 21:40:01 -0700
I had similar problems, with my Sis 630 card (up to 32M shared memory). The manual
comes along says it supports (1024x768 and up to 16M color), all kinds of efforts
as described you have been taken, but X still won't work.
With WinME, I had it set up as 1024x768 w/ 32 bit color, A-ok.
Really tired.
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: two linux paritions require two separate swaps?!
Date: Tue, 12 Jun 2001 23:45:07 -0500
uzon wrote:
> hi,
> well i sort of put the question in the "subject"-
> if i have two different linux installations on my system,
> do i need 2 swap partition?
No
if so, how do i specify which one is used for
> which? (i'm guessing i only need one swap partition. but i'm just making
> sure) thanks,
> ~Uz0n~
------------------------------
From: [EMAIL PROTECTED] (rohit)
Subject: sound support in linux-2.2.16
Date: 12 Jun 2001 22:18:27 -0700
hi,
i had got the Redhat 7.0 distro and installed linux.i am not able to
figure out whether my kernel supports it or not.iam not able to
understand how to go about it.
when i do : cat /dev/sndstat : no such device
i also tried through sndconfig but when it tries to play the demo
sound there is no sound.where might it have gone wrong.iam having pci
card.
1.output of cat /proc/interrupts
cat /proc/interrupts
CPU0
0: 79711 XT-PIC timer
1: 476 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 0 XT-PIC Intel ICH 82801AA
8: 1 XT-PIC rtc
9: 0 XT-PIC usb-uhci
11: 2665 XT-PIC eth0
12: 40825 XT-PIC PS/2 Mouse
13: 1 XT-PIC fpu
14: 189950 XT-PIC ide0
15: 1084 XT-PIC ide1
NMI: 0
2.output of
cat /proc/modules
autofs 9124 1 (autoclean)
lockd 31176 1 (autoclean)
sunrpc 52964 1 (autoclean) [lockd]
rtl8139 12416 1 (autoclean)
agpgart 18600 4
vfat 9404 2 (autoclean)
fat 30688 2 (autoclean) [vfat]
nls_cp437 3876 5 (autoclean)
ide-cd 23628 1 (autoclean)
i810_audio 10600 0
soundcore 2596 2 [i810_audio]
ac97_codec 7012 0 [i810_audio]
usb-uhci 19052 0 (unused)
usbcore 42088 1 [usb-uhci]
3.output of
cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
c000-c07f : eth0
d000-d013 : usb-uhci
d800-d8ff : Intel ICH 82801AA(sound card)
dc00-dc3f : Intel ICH 82801AA(sound card)
f000-f007 : ide0
f008-f00f : ide1
4. output of
cat /proc/dma
4: cascade
my sound card is intel corporation 82801AA AC'97 audio
i have all the files (i
think)ie,sound.o,soundcore.o,lowlevelsound.o,sb.o.
i did insmod trying to insert the modules but by writing a simple
shell script but it says
Using /lib/modules/2.2.16-22/misc/soundcore.o
insmod: a module named soundcore already exists
Using /lib/modules/2.2.16-22/misc/soundlow.o
Using /lib/modules/2.2.16-22/misc/sound.o
Using /lib/modules/2.2.16-22/misc/uart401.o
Using /lib/modules/2.2.16-22/misc/sb.o
/lib/modules/2.2.16-22/misc/sb.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters
i have tried so many things but in anvil.will u be please kind enough
to guide me.if u want any other data please let me no(also the way how
to extract the data)so i can mail and for u to get easier to diagnose
the problem.
thanking u
rohit
------------------------------
From: [EMAIL PROTECTED] (rohit)
Subject: sound support in linux-2.2.16
Date: 12 Jun 2001 22:22:08 -0700
hi,
i had got the Redhat 7.0 distro and installed linux.i am not able to
figure out whether my kernel supports it or not.iam not able to
understand how to go about it.
when i do : cat /dev/sndstat : no such device
i also tried through sndconfig but when it tries to play the demo
sound there is no sound.where might it have gone wrong.iam having pci
card.
1.output of cat /proc/interrupts
cat /proc/interrupts
CPU0
0: 79711 XT-PIC timer
1: 476 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 0 XT-PIC Intel ICH 82801AA
8: 1 XT-PIC rtc
9: 0 XT-PIC usb-uhci
11: 2665 XT-PIC eth0
12: 40825 XT-PIC PS/2 Mouse
13: 1 XT-PIC fpu
14: 189950 XT-PIC ide0
15: 1084 XT-PIC ide1
NMI: 0
2.output of
cat /proc/modules
autofs 9124 1 (autoclean)
lockd 31176 1 (autoclean)
sunrpc 52964 1 (autoclean) [lockd]
rtl8139 12416 1 (autoclean)
agpgart 18600 4
vfat 9404 2 (autoclean)
fat 30688 2 (autoclean) [vfat]
nls_cp437 3876 5 (autoclean)
ide-cd 23628 1 (autoclean)
i810_audio 10600 0
soundcore 2596 2 [i810_audio]
ac97_codec 7012 0 [i810_audio]
usb-uhci 19052 0 (unused)
usbcore 42088 1 [usb-uhci]
3.output of
cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
c000-c07f : eth0
d000-d013 : usb-uhci
d800-d8ff : Intel ICH 82801AA(sound card)
dc00-dc3f : Intel ICH 82801AA(sound card)
f000-f007 : ide0
f008-f00f : ide1
4. output of
cat /proc/dma
4: cascade
my sound card is intel corporation 82801AA AC'97 audio
i have all the files (i
think)ie,sound.o,soundcore.o,lowlevelsound.o,sb.o.
i did insmod trying to insert the modules but by writing a simple
shell script but it says
Using /lib/modules/2.2.16-22/misc/soundcore.o
insmod: a module named soundcore already exists
Using /lib/modules/2.2.16-22/misc/soundlow.o
Using /lib/modules/2.2.16-22/misc/sound.o
Using /lib/modules/2.2.16-22/misc/uart401.o
Using /lib/modules/2.2.16-22/misc/sb.o
/lib/modules/2.2.16-22/misc/sb.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters
i have tried so many things but in anvil.will u be please kind enough
to guide me.if u want any other data please let me no(also the way how
to extract the data)so i can mail and for u to get easier to diagnose
the problem.
thanking u
rohit
------------------------------
From: "ThanhVu Nguyen" <[EMAIL PROTECTED]>
Subject: Re: Help on NFS
Date: Wed, 13 Jun 2001 01:24:51 -0400
NFS is running automatically on both computers ... I didn't have to start
it up manually.
In the /etc/hosts.deny and hosts.allow , there isn't nothing ...
I am not sure if I am runniing IPchains/tables or not ... how to tell ?
thanks
In article <9g2bn3$ct4$[EMAIL PROTECTED]>, "Joshua Baker-LePain"
<[EMAIL PROTECTED]> wrote:
> ThanhVu Nguyen <[EMAIL PROTECTED]> wrote:
>> I was able to set 2 of my computer on a network and also able to have
>> internet sharing btw both of them. But I can't able to let them see
>> each other's drive. I tried to mount them via nfs but nothing works.
>> I can ping one machine from another fine.
>
>> in C1's /etc/export I have " /mnt/test C2 " in C2 , I
>> usedthe command " mount C1:/mnt/test /temp/test/
>
>> But it gives me RPC: Time Out
>
>> Is there anything I miss here ?
>
> Is nfsd running on C1? If you started it manually, did you also
> 'exportfs' after editing /etc/exports?
>
> If you have 'ALL : ALL' in /etc/hosts.deny (as you should), do you also
> have 'portmap : C2' in /etc/hosts.allow on C1? Portmap is tcp_wrapped.
>
> Are you running IPchains/tables? If you are, make sure to open all
> ports on C1 to packets from C2.
>
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: rescue floppy for LS-120/ATAPI floppy drive
Date: Wed, 13 Jun 2001 05:32:01 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Wed, 13 Jun 2001, David Efflandt <[EMAIL PROTECTED]> wrote:
> My file system seems to have corrupted overnight running SuSE 7.1. Not
> sure if it rebooted (I have a UPS, but not monitored) or fell back to
> runlevel 1 when it got stuck accessing the disk (possibly due to heat
> which was only up to around 85 degress F)...
Nevermind. I was going to install a second copy of SuSE 7.1 on extra disk
space to attempt to fix it, but aborted the install, and from resulting
menus discovered a rescue system on the CD. e2fsck had the same problem
with short read of block 1835148 during the inode scan (not 1835748
incorrectly stated earlier). I said y to ignore it (was that a mistake?),
but I forced another e2fsck and that came up clean and the system is up
and running now.
--
David Efflandt (Reply-To is valid) http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Linux for old laptops
Date: Wed, 13 Jun 2001 05:37:56 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Wed, 13 Jun 2001 03:30:09 -0000, ross <[EMAIL PROTECTED]> wrote:
> I have two old laptops and I was wondering which(if any) versions of
> Linux or even BSD will I be able to install. One of them is a AST
> pentium75 with 650meg hard drive and 8meg ram, and the other one is a
> Magitronic 486 25mhz with 250meg hard drive and 4meg ram? Can anyone
> help?
The HOWTO's are your friend (maybe even on your system):
http://www.linux.org/docs/ldp/howto/4mb-Laptops.html
--
David Efflandt (Reply-To is valid) http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: Josef Molnar <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Debugging option in packages ?!
Date: Wed, 13 Jun 2001 07:33:37 +0200
Hi,
My question is: if I get a source code of whatever program and want to
compile it, I cannot find an otion to turn the "-g" debug flag off.
I guess the programs could be smaller (faster?) and in some cases I do
not need extra debugging options.
By the way, are RedHat packages built with the "-g" option?
Thanks,
Josef
------------------------------
From: [EMAIL PROTECTED] (Emmett McLean)
Subject: Nine questions for newusers (set clock , set services )
Date: 12 Jun 2001 22:51:21 -0700
Hi,
I have a fresh install of Turbo Linux ...
I have a NeXTStep background which has a
GUI interface to these sorts of things ...
So I have a few newbee questions ...
1. How do I set the system clock?
2. How do I set up MySql as a service (port 111)?
3. How do I set up IMAP4 as a service (port 143)?
4. How do I set up Apache as a service (any port but requests go to port 80)
5. Where are the Apache configuration files?
(Does Apache come with mod_perl and mod_auth compiled in?)
6. Is there a default group, such as staff, that
new users should belong to?
7. Are users who can su a member of wheel?
8. Why can't I telnet to localhost?
9. Is there a no brainer way to create newusers using
the fewest number of arguments to adduser?
Thanks!
Emmett
[EMAIL PROTECTED]
Thanks,
Emmett
------------------------------
From: James Lee <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: help! dependency problem when installing package kmailcvt.
Date: Wed, 13 Jun 2001 06:03:50 GMT
Hi,
Having mandrake 7.2(kde 2.0) and kmail 1.1.95.2 installed. Encounter
dependency problem when installing kmailcvt package(KDE email folder
converters, version 2.1-3). Saying unsatisfied dependencies
"libkdefakes.so.3,libmng.so.0" does that mean i need to install the
related files? is because this package so new that my kde2.0 can't
support it?
I am new to this, any idea? please help...
Thanks a bounch!
James
------------------------------
Date: Tue, 12 Jun 2001 23:04:20 -0700
From: "Steven J. Hathaway" <[EMAIL PROTECTED]>
Subject: Re: Internet probs
IF ipchains or ip forwarding turned-off is getting in your way, you may want to have
a script that executes the following commands.
ipchains -F
ipchains -P input ACCEPT
ipchains -P forward ACCEPT
ipchains -P output ACCEPT
echo 0 >/proc/sys/net/ipv4/ip_forward
Note that this will give you no firewall protection.
Steve Hathaway
==================================
Pete Clements wrote:
> Dave Uhring <[EMAIL PROTECTED]> wrote in message
>news:<[EMAIL PROTECTED]>...
> > Pete Clements wrote:
> >
> > > Okay, i have set the internet up. I use kppp to dial up. It dials and
> > > connects to my ISP all ok. But i cannot ping/browse ot telnet
> > > anything. It does not send or recieve data at all. Is this permissions
> > > or config or what? Not even root can browse or anything. I have added
> > > myself to a few groups that i thought may make a difference but
> > > nothing!
> > >
> > > Many thanks for any help.
> > >
> > > Pete
> > >
> >
> > You need to set up /etc/resolv.conf.
> >
> > nameserver 111.222.333.444
> > nameserver 111.222.333.445
> > search your.isps.domain
> >
> > Get the nameserver addresses from your ISP. While you are at it, get his
> > gateway address also to put into the kppp config (if it still needs it,
> > don't use ppp myself - got a cable modem).
>
> Yeah, i have done that too and still no joy! kppp in kde2 has an
> option to discover the DNS's as well (tried that too!)
> Any other ideas??
>
> Pete
------------------------------
** 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
******************************