Linux-Misc Digest #444, Volume #26                Sat, 2 Dec 00 09:13:02 EST

Contents:
  linux upgrade suggestions????? ([EMAIL PROTECTED])
  Re: hdparm and such (John Hanson)
  Help - Linux Upgrade kills Windrives, floppy, network access ("Jess Jackson")
  Re: urgent help - what does this mean ? ("deadmeat")
  Audio Devices Permissions (Jose Juan Iglesias)
  Re: passwd protect runlevel 1 ("Eric en Jolanda")
  Re: Screen shots. (John Thompson)
  Re: passwd protect runlevel 1 ("Eric en Jolanda")
  RoadRunner Cabel working with Redhat 7.0? ([EMAIL PROTECTED])
  Backup: AIT on Linux ([EMAIL PROTECTED])
  Problem with nfsd (Grigory Klyuchnikov)
  Re: Unknown Ethernet Packet (DualIP)
  Re: Full screen PDF viewer (SKG) (George White)
  Re: Full screen PDF viewer (SKG) (Kyle Parfrey)
  Re: Audio Devices Permissions (Martin Bock)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED]
Subject: linux upgrade suggestions?????
Date: Sat, 02 Dec 2000 06:57:57 GMT

Ok I am preparing to do a freshy install of linux, I am forced into this
after having some uh "security problems".  ANyways I have a dually 750
pentium 3, with ultra lvd scsi 2, 256 megs of memory, etc.
So in the past I was running a distribution of RedHat 6.2, with
X-Windows and using gnome.
   My question is would anyone have any recommend me upgrading to a
different linux version, distribution, etc.... Are than any other
new/different GUIs recommended ?????  Obviously with my past security
issues, any safer kernels out there? I am sure you are saying well if
you want to be secure don't use X, but well I like X so give me a
break......any suggestions?
THanks


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: John Hanson <[EMAIL PROTECTED]>
Subject: Re: hdparm and such
Date: Sat, 02 Dec 2000 07:11:43 GMT

On Sat, 02 Dec 2000 02:52:10 GMT, "chmod" <[EMAIL PROTECTED]>
said:

>>Hey, I have a problem getting my hd to shutdown with hdparm. I have
>>configured it, using hdparm, to shutdown after 30 minutes of inactivity.
>>However, because it is my main hard disk, and all my mounted partitions
>>are on it, the drive refuses to sleep because it's busy. Is there a
>>remedy for this, so that my drive will shutdown?
>>
>>Thanks,
>>chmod

I would think that you will always have activity on this drive from
/proc and it wouldn't be able to shutdown.  And, upon viewing the
directory listing in /proc, I found a 268M (that's Megabytes) kcore
file in it.  Anyone know what that is?  The file, like most of the
others, is dated with the current date and time.

BTW chmod, I have 2 other drives that aren't mounted shutdown after 10
minutes of activity and it seems to work fine.  They shutdown 10
minutes after I boot my system (which is pretty rare so they rarely
run).

Also, I think I just answered my question above.  I have 255M of
actually ram used and 12M of swap used.  Could kcore be a measurement
of ram in use?

John


------------------------------

From: "Jess Jackson" <[EMAIL PROTECTED]>
Subject: Help - Linux Upgrade kills Windrives, floppy, network access
Date: Sat, 02 Dec 2000 07:39:51 GMT

I have been running Red Hat 6.2 for some time quite successfully on a
Windows 98 peer-to-peer network at the office. I have been able to print to
a network printer just fine and had SAMBA up and running for file access
both ways between the Linux box and Windows 98 machines.

BUT, I got Redhat 7 and installed as an upgrade and everything ahs gone to
pot. I can even access my local Windows partitions of access the floppy
drive, both of which worked fine before.

Here is what I get when I try to mount Windows Drive C: and the floppy
drive...

 mount: /dev/hda1 has wrong major or minor number
 mount: /dev/fd0 has wrong major or minor number

Fortunately, I can still read the CDRom OK and the Linux partitions are
accessible.

Further, my network access which also worked fine and loaded and started as
part of boot up now does not activate. Here is what the command "ifup eth0"
gets...

 Delaying eth0 initialization.

HELP -- I am a novice with Linux. If it helps, here are selected lines from
the boot up log (I edited out lines that looked "correct" to save space in
this message).

Thanks in advance,
Jess

___________

Nov 30 13:14:38 whbc kernel: Partition check:
Nov 30 13:14:38 whbc kernel:  hda: hda1 hda2 < hda5 hda6 hda7 > hda3

Nov 30 13:14:38 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)
Nov 30 13:14:38 whbc rpc.lockd: lockdsvc: Function not implemented
Nov 30 13:14:38 whbc nfslock: rpc.lockd startup failed
Nov 30 13:14:38 whbc nfslock: rpc.statd startup succeeded

Nov 30 13:14:39 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)
Nov 30 13:14:39 whbc automount[408]: >> mount: fs type autofs not supported
by kernel
Nov 30 13:14:39 whbc automount[408]: /misc: mount failed!
Nov 30 13:14:39 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)
Nov 30 13:14:39 whbc mount: mount: /dev/hda1 has wrong major or minor number
Nov 30 13:14:39 whbc netfs: Mounting other filesystems:  failed
Nov 30 13:14:28 whbc rc.sysinit: Mounting proc filesystem:  succeeded

Nov 30 13:14:28 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)
Nov 30 13:14:28 whbc rc.sysinit: Initializing USB controller (usb-uhci):
failed

Nov 30 13:14:28 whbc depmod: depmod: Can't open
/lib/modules/2.2.14-5.0/modules.dep for writing
Nov 30 13:14:28 whbc rc.sysinit: Finding module dependencies:  failed
Nov 30 13:14:29 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)
Nov 30 13:14:29 whbc rc.sysinit: Loading sound module (emu10k1):  failed

Nov 30 13:14:29 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)
Nov 30 13:14:29 whbc mount: mount: /dev/hda1 has wrong major or minor number
Nov 30 13:14:29 whbc rc.sysinit: Mounting local filesystems:  failed

Nov 30 13:14:37 whbc network: Bringing up interface lo:  succeeded
Nov 30 13:14:37 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)
Nov 30 13:14:37 whbc ifup: Delaying eth0 initialization.
Nov 30 13:14:37 whbc network: Bringing up interface eth0:  failed

Nov 30 13:14:40 whbc xinetd[513]: eklogin disabled, removing
Nov 30 13:14:40 whbc xinetd[513]: tftp disabled, removing
Nov 30 13:14:40 whbc xinetd[513]: ftp disabled, removing
Nov 30 13:14:40 whbc xinetd[513]: talk disabled, removing
Nov 30 13:14:40 whbc xinetd[513]: swat disabled, removing
Nov 30 13:14:40 whbc xinetd[513]: klogin disabled, removing
Nov 30 13:14:40 whbc xinetd[513]: telnet disabled, removing
Nov 30 13:14:40 whbc xinetd[513]: exec disabled, removing
Nov 30 13:14:40 whbc xinetd[513]: ntalk disabled, removing
Nov 30 13:14:40 whbc xinetd[513]: linuxconf disabled, removing
Nov 30 13:14:40 whbc xinetd[513]: kshell disabled, removing

Nov 30 13:14:43 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)

Nov 30 13:14:49 whbc xfs: Warning: The directory
"/usr/share/fonts/default/TrueType" does not exist.
Nov 30 13:14:49 whbc xfs:          Entry deleted from font path.
Nov 30 13:14:49 whbc xfs:          (Run 'mkfontdir' on
"/usr/share/fonts/default/TrueType").

Nov 30 13:15:26 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)
Nov 30 13:16:27 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)
Nov 30 13:17:46 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)
Nov 30 13:18:38 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)

Nov 30 13:20:13 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)
Nov 30 13:21:28 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)

Nov 30 13:31:51 whbc gnome-name-server[975]: input condition is: 0x10,
exiting
Nov 30 13:32:05 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)
Nov 30 13:32:54 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)

Nov 30 13:33:55 whbc kernel: floppy0: obsolete eject ioctl
Nov 30 13:33:55 whbc kernel: floppy0: please use floppycontrol --eject

Nov 30 13:34:14 whbc modprobe: modprobe: Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep (No such file or directory)


Nov 30 13:42:15 whbc kernel: cdrom: open failed.






------------------------------

From: "deadmeat" <root@[127.0.0.1]>
Crossposted-To: comp.os.linux.networking
Subject: Re: urgent help - what does this mean ?
Date: Sat, 02 Dec 2000 08:07:19 GMT

> can anyone tell me what this means and how to rectify the situation ?
> thanks in advance.
> Nov 30 13:50:11 somehost kernel: hda: read_intr: error=0x40
> { UncorrectableError }, LBAsect=58501853, sector=1101545
> Nov 30 13:50:11 somehost kernel: end_request: I/O error, dev 03:0b (hda),
> sector 1101545

As another poster said, fsck the partition and see if that fixes it.

Last time this happened to me, the drive spun down/up several times whenever
fsck attempted to read the bad part of the disk...  to fix it, I copied
everything to another hard disk, whipped out ye olde MSDOS boot disk, and
used the HDD mfr's diag util to reformat and perform a low level scan of the
drive. Booted back to Linux, partitioned/formatted and all is well.




------------------------------

From: Jose Juan Iglesias <[EMAIL PROTECTED]>
Subject: Audio Devices Permissions
Date: Sat, 02 Dec 2000 09:16:10 GMT

Hi all,

recently I've changed my Linux from RH6.2 to Debian 2.2r0 "Potato". I've
noticed that only root can use sound when I try with a normal user to
execute XMMS. I changed, as root, /dev/dsp permissions allowing
everybody to write in it. And I was able to open the audio deveice with
the user and I can listen to my favourite songs with XMMS, but I still
can't change the volume. Only root can do that.

When I used RH6.2, every user could change audio volume!

Can someone help me?

Thanks in advance!

Regards.

********************************************************+
Jose Juan Iglesias
e-mail: [EMAIL PROTECTED]


------------------------------

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Subject: Re: passwd protect runlevel 1
Date: Sat, 2 Dec 2000 10:43:17 +0100


> inittab:
>   1:2345:respawn:/sbin/getty 38400 tty1
>   2:23:respawn:/sbin/getty 38400 tty2
>   3:23:respawn:/sbin/getty 38400 tty3
>   4:23:respawn:/sbin/getty 38400 tty4
>   5:23:respawn:/sbin/getty 38400 tty5
>   # ptb 15/5/00 puts up tty6 only in single user mode, for root login
>   6:12:respawn:/sbin/getty 38400 tty6
>
> securetty:
>   # ptb 15/5/00 removes all except tty6
>   tty6


Thanks, I'll give it a try.

Eric



------------------------------

From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: Screen shots.
Date: Fri, 01 Dec 2000 20:52:47 -0600

Kyle Parfrey wrote:

> Does anyone know how to do screen shots in kde or gnome? I tried "print
> screen" and pasting into gimp and it didn't work.

"man xwd"

-- 


-John ([EMAIL PROTECTED])

------------------------------

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Subject: Re: passwd protect runlevel 1
Date: Sat, 2 Dec 2000 11:48:12 +0100


> inittab:
>   1:2345:respawn:/sbin/getty 38400 tty1
>   2:23:respawn:/sbin/getty 38400 tty2
>   3:23:respawn:/sbin/getty 38400 tty3
>   4:23:respawn:/sbin/getty 38400 tty4
>   5:23:respawn:/sbin/getty 38400 tty5
>   # ptb 15/5/00 puts up tty6 only in single user mode, for root login
>   6:12:respawn:/sbin/getty 38400 tty6
>
> securetty:
>   # ptb 15/5/00 removes all except tty6
>   tty6

Hi Peter

I did this now, and I have some questions that maybe you could answer?

Whenever I drop to runlevel 1, I get dropped to the shell (I still have bash
as root shell, maybe I'll restrict that too) When I now run tty, I find that
I am at /dev/console instead of tty6. I suppose this is normal behaviour,
but I expected to find myself in tty6. Why is this?

And is there a way to passwd protect runlevel 1 too? I tried sulogin instead
of getty, but I always get dropped to a shell. I know I could always start
with the init=/bin/bash option, to work around it, but I can't stand it that
I cannot manage to do this.

Eric



------------------------------

From: [EMAIL PROTECTED]
Subject: RoadRunner Cabel working with Redhat 7.0?
Date: Sat, 02 Dec 2000 11:26:54 GMT

RoadRunner Cabel working with Redhat 7.0?

Does anyone have road runner cabel working with redhat 7.0??
please email me [EMAIL PROTECTED]

Thanks


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED]
Subject: Backup: AIT on Linux
Date: Sat, 02 Dec 2000 12:04:55 GMT

Hi!

 Anyone using AIT tape to backup on Linux?

 Anyone using AIT tape drive on Compaq Smartarraycontroller with Linux?

 Anyone using Compaq AIT tape library to backup on Linux?


 I want to use a Compaq Proliant DL380 with integrated
 Smartarraycontroller and Compaq SSL2020 AIT Library with Linux and
Arkeia software. Anyone who thinks this is possible?

 Sincerly, Niklas.


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

Date: Sat, 02 Dec 2000 15:48:58 +0300
From: Grigory Klyuchnikov <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Problem with nfsd

Hello,

I has a problem with NFS server on SUSE Linux 7.0.

$ uname -a
Linux server 2.2.16-SMP #1 SMP Wed Aug 2 20:01:21 GMT 2000 i686 unknown

I have md device that mount on /RAID
$ df -k
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda1               248847     49020    186977  21% /
/dev/sda5              1015680    378600    584472  39% /opt
/dev/sda6              1015680     59488    903584   6% /var
/dev/sda3              5078400   1040144   3775996  22% /usr
/dev/md0              57890528  43782188  13520204  76% /RAID

and I export /RAID:
$ more /etc/exports
/RAID           192.168.1.0/255.255.255.0(rw)

In random time my NFS-client cannot access to mount point
for /RAID and this mount point disappear on client machines.
On the server's /var/log/messages file appear kernel messages
such as:

 Nov 29 07:59:45 bog kernel: Unable to handle kernel paging request at
virtual address b041000c
Nov 29 07:59:45 bog kernel: current->tss.cr3 = 00101000, %cr3 = 00101000
Nov 29 07:59:45 bog kernel: *pde = 00000000
Nov 29 07:59:45 bog kernel: Oops: 0000
Nov 29 07:59:45 bog kernel: CPU:    0
Nov 29 07:59:45 bog kernel: EIP:    0010:[try_to_read_ahead+135/300]
Nov 29 07:59:45 bog kernel: EFLAGS: 00010286
Nov 29 07:59:45 bog kernel: eax: dfe80000   ebx: 0003fff8   ecx:
dfeb6f38   edx: b0410000
Nov 29 07:59:45 bog kernel: esi: d2934e04   edi: d1f37000   ebp:
0002282b   esp: c9b83d3c
Nov 29 07:59:45 bog kernel: ds: 0018   es: 0018   ss: 0018
Nov 29 07:59:45 bog kernel: Process nfsd (pid: 282, process nr: 21,
stackpage=c9b83000)
Nov 29 07:59:45 bog kernel: Stack: 00000000 c05b8a38 00000003 00000010
e9b88f38 c0121fba c9b83e70 0002282b 
Nov 29 07:59:45 bog kernel:        00000000 e09e14ca d2934e04 c9a80064
c9b83e84 00000000 c9acc980 c01b0108 
Nov 29 07:59:45 bog kernel:        d2934e14 22763000 00000000 c9b82000
00000000 e09e15c9 00081000 00000000 
Nov 29 07:59:45 bog kernel: Call Trace: [do_generic_file_read+1358/2424]
[nfsd:__insmod_nfsd_S.text_L31355+9334/31692] [udp_getfrag+0/2
Nov 29 07:59:45 bog kernel:       
[nfsd:__insmod_nfsd_S.text_L31355+3391/31692]
[nfsd:__insmod_nfsd_S.data_L1220+288/1408] [nfsd:__ins
Nov 29 07:59:45 bog kernel:       
[nfsd:__insmod_nfsd_S.data_L1220+12/1408]
[nfsd:__insmod_nfsd_S.text_L31355+683/31692] [nfsd:__insmo
Nov 29 07:59:45 bog kernel: Code: 39 72 0c 75 f4 39 6a 08 75 ef f0 ff 42
14 b8 02 00 00 00 f0 


After reboot of the NFS server all work fine again.
I don't understand error messages. If anyone can point me where can I
find
information about this trouble, it will be fine.

Thanks.

Grigory.

------------------------------

From: [EMAIL PROTECTED] (DualIP)
Subject: Re: Unknown Ethernet Packet
Date: Sat, 02 Dec 2000 13:29:34 GMT

On Sat, 02 Dec 2000 03:34:06 GMT, [EMAIL PROTECTED] wrote:

>I am getting unknown Ethernet broadcast packets
>on the network from the same device and it's
>driving me crazy trying to figure out what they
>are.  The packets (each 1.51 Kb) are being
>broadcasted twice every second.  The broadcast is
>happening 24/7.  More info is below:
>
>There is a series of cascading switches/hubs on
>our company's network and the broadcasted packets
>are being propogated to all devices.  We have
>about 150 nodes on the network.
>
>
>Does anyone have any idea of what this is?
>
>
>Below are more specific info of one packet:
>(Almost all the packets look identical to each
>other, though.)
>
>
>FRAME: Total frame length: 1510 bytes
>
>ETHERNET: Destination address : FFFFFFFFFFFF
>ETHERNET: Source address : 020100000000
>
>ETHERNET: Ethernet Type : 0x886F

The source MAC address seems very suspicious to me. This ain't a
normal PC with some daemon gone wild.

Could this be something of the switches , to detect link
failures....??

DualIP

------------------------------

From: George White <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Full screen PDF viewer (SKG)
Date: Sat, 2 Dec 2000 09:35:01 -0400

On Wed, 29 Nov 2000, Georg Skillas wrote:

> Hello folks,
> 
> as laptops get more widespread and laptop-to-overhead projectors cheaper
> more and more people use their laptop at meetings to present things.
> 
> I an trying to do the same and I have few questions. First is there anyway
> to persuade acroread to display landscape pages? Alternatively is there a
> PDF viewer (like ghostview?) that will allow for full-screen viewing of a
> PDF?

Acrobat reader (you should be using ver. 4.05) does support full-screen
and landscape. Try any of the 'screen' versions of the sample documents or
manuals done with ConTeXt.  You may need to enable "use page cache" to
reduce the time to move between pages.  You can request full-screen mode
in the document, or from the "View" menu.  You can choose timed mode and
various transitions.    
 
> Another question: PS files, incorporating coloured graphs by gnuplot,
> converted with ghostscript (ps2pdf), seem to render ok with acroread,
> except the graph colours are messed up. Viewing the same file with
> Ghostscript (as a PDF) produces the same colours as the PS. Is there any
> solution? Who is the bad guy?

This is a big problem if you use images.  Ghostscript doesn't have
much support for color management.  PDF does provide several color
models and finer distinctions such as 'device RGB' vs 'calibrated RGB',
but few if any open source tools support these distinctions.
If you work within the ConTeXt framework you can choose colors from 
a swatch 'book' (PDF file) to get predictable colors on your display.

> Any ideas?
> 
> Thanks in advance,
> 
> George
> -------- - - -  -   -    -     -     -      -        -             - 
> Dr. George Skillas              Tel.: ++1 513 556 5152; 281 8546
> Dept. Chemical Engineering      FAX : ++1 513 556 3773
> Univ. of Cincinnati
> Cincinnati, OH 45221-0012       Mail: [EMAIL PROTECTED]
> USA                                   [EMAIL PROTECTED]

--
George White <[EMAIL PROTECTED]> Halifax, Nova Scotia


------------------------------

From: Kyle Parfrey <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Full screen PDF viewer (SKG)
Date: Sat, 02 Dec 2000 13:35:09 GMT

Ghostview will display PDF much nicer than acroread, but won't print
very well. To look at
pdf's I have to use acroread, xpdf and ghostview! Acroread makes an
absolute mess of most 
of the fonts as well. If you can use ghostview for your presentation
(even displaying pdf)
why don't you? Its a great program.
Kyle

------------------------------

From: Martin Bock <[EMAIL PROTECTED]>
Subject: Re: Audio Devices Permissions
Date: Sat, 2 Dec 2000 14:30:38 +0100

Jose Juan Iglesias <[EMAIL PROTECTED]> wrote:
>Hi all,
>
>recently I've changed my Linux from RH6.2 to Debian 2.2r0 "Potato". I've
>noticed that only root can use sound when I try with a normal user to
>execute XMMS. I changed, as root, /dev/dsp permissions allowing
>everybody to write in it. And I was able to open the audio deveice with
>the user and I can listen to my favourite songs with XMMS, but I still
>can't change the volume. Only root can do that.
>
>When I used RH6.2, every user could change audio volume!
>
Hi,

in Debian exists a group 'audio' with permissions to audio-related stuff.
Login as root, add your username via 

'adduser username audio'

to this group and let it roll.

-- 

Martin                                  God is dead!............Nietzsche
                                        Nietzsche is dead!......God
URL:   www.martin-bock.de               Nietzsche is God!.......The Dead

------------------------------


** 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 (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

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
******************************

Reply via email to