Linux-Setup Digest #394, Volume #20              Wed, 10 Jan 01 19:13:10 EST

Contents:
  Re: Problem with RedHat 6.2 and Promise Ultra100 (ATA100) (Tim Moore)
  Re: Swap Space ([EMAIL PROTECTED])
  Re: HELP! : mysterious ext2 undeletable directory (Thaddeus L Olczyk)
  Re: pppd daemon/eth0 interface ([EMAIL PROTECTED])
  Re: I need an advice for Zip USB, (Chris Rankin)
  RAID root problem with 2.4 (Eran Tromer)
  Partition Magic 6  +  Redhat Linux 7 ("tim")
  i810 sound problem (Joachim Rahmfeld)
  Re: Does anybody really know what time it is? ("D F")
  CA810 Mother Boards (Finn)
  Re: Kernel 2.4 (Scott Nolde)
  Re: Problems getting LILO to work after install.... (Scott Nolde)
  kernel build error: `smp_num_cpus' undeclared (doug reeder)
  Help with modem (etc.) in SuSe 7.0 (please!) (Van der Ivor)

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

From: Tim Moore <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.help,comp.ibm.pc.hardware,comp.sys.ibm.pc.hardware.storage
Subject: Re: Problem with RedHat 6.2 and Promise Ultra100 (ATA100)
Date: Wed, 10 Jan 2001 21:13:47 GMT

> I just bought an IBM 61G deskstar DTLA 307060.  Then I learned that you
> can't run an ATA100/66 drive on an ATA33 controller.  darn.

Incorrect.  ATA100/66 drives will run on ATA33 controllers with ATA33
controller performance.

> request_module[block-major-3]: Root fs not mounted
> VFS: cannot open root device 03:05
> Kernel Panic: VFS: Unable to mount root fs on 03:05

http://www.linuxdoc.org/HOWTO/mini/Ultra-DMA.html

Also, please don't crosspost.  The correct group for this question is
comp.os.linux.hardware
-- 
timothymoore
   bigfoot
     com

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

From: [EMAIL PROTECTED]
Subject: Re: Swap Space
Date: Wed, 10 Jan 2001 21:05:52 GMT

In article <93f7c8$ppd$03$[EMAIL PROTECTED]>,
  "Martin Schmidt" <[EMAIL PROTECTED]> wrote:
>
> <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
> 93f5ud$lv0$[EMAIL PROTECTED]
> > HI -
> >
> > I was wondering how much swap space to set up
> > when installing red hat linux v6.  I have 128 MB
> > of ram on a 400 MHz P2.  I have heard to set up
> > anything from 1 to 4 times the amount of physical
> > memory as swap space.  Also, is swap space the
> > only disk space used for virtual memory?  So if I
> > set up 128 megs of swap space, I have only 256 MB
> > of addressable memory locations?  Any info and
> > help is greatly appreciated
> >
> > thanks,
> > Pete
> >
> >
> > Sent via Deja.com
> > http://www.deja.com/
>
> I think if you take 128 MB as swap space you should
> have no problems . I had and have slower computers than
> you with less ram and had no problems , although i took
> below 128 MB swapspace most times .
>
> Martin
>
>
Do you know if there is a disadvantage to having larger swap space? If
I set up 256 or 384, for example?  I have plenty of disk space to
spare.  Thanks for your help

Pete



Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED] (Thaddeus L Olczyk)
Crossposted-To: comp.os.linux.misc
Subject: Re: HELP! : mysterious ext2 undeletable directory
Date: Wed, 10 Jan 2001 21:33:23 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 10 Jan 2001 18:35:28 GMT, Robert Lynch <[EMAIL PROTECTED]>
wrote:

>aflinsch wrote:
>> 
>> Robert Lynch wrote:
>> >
>> > Dorin Ioan MARINCA wrote:
>> > >
>> > > Hi!
>> > >
>> > > I need help for the following problem:
>> > >
>> > > Context: RH 6.2 original kernel
>> > > First symptom: ext2 root filesystem full.
>> > > I have searched for a big file (+10M).
>> > > Result: a (mysterious) junkbuster (web browsing filter) log directory:
>> > > /var/log/junkbuster : size +11M
>> > > 'drwxr--r-- 2 73 73 11067392 Jan 8 14:04 junkbuster'
>> > > the directory and not the contents!!!
>> > > a 'ls' inside blocks...
>> > > a '# rm -rf /var/log/junkbuster' run in a infinite loop.
>> > >
>> > > How can I remove this file?
>> > >
>> > > I have tried (forced) fsck without results. No bad blocks also...
>> > >
>> > > Thanks for any sugestions...
>> > >
>> > > d.i.m.
>> >
>> > I had this problem, which I decided was due to junkbuster's
>> > logrotate being wonky. I filed a bug report at the junkbuster
>> > site, which was never answered.
>> >
>> > When I looked inside the directory (not easy!) I found that it
>> > was a jungle logrotate .gz's, like:
>> >
>> > junkbuster.1.gz.3.gz.1.gz...
>> 
>> I had the same problem, it was about a year ago. I think that the
>> logrotate entry has been fixed, as I have reinstalled & updated
>> several times since then and nolonger have the problem
>> 
>> >
>> > I wish I could give you some hints, but the delete of this
>> > monster was a nightmare, for example, doing some step on the way
>> > to delete I hung my system after which I had to boot with a
>> > recovery disk and my recall of what I did is dim.
>> >
>> 
>> My favorite method of deleting all entries in a directory (when the
>> number of entries is very large) is
>> 
>> tar cfv /dev/null /path/of/directory/to/empty --remove-files >
>> /dev/null
How long does this take to run?
You can just do ls -1|xargs rm.
The problem is that the directory has so many files that it takes
forever just to list them.
>> 
>> and then just rmdir the directory if required....
>
>This looks like a good trick; I did something like this myself,
>but wound up thereby hanging my system.  Some time spent with
>Tom's root-boot disk saved the day however.  I wish my notes were
>a little more coherent so I could say what actually _did_ work
>with the root-boot.
>
Did you actually hang or was it spending the rtime deleting all the
files?
The problem is now well document as a bug in a prticular version
of logrotate. Check deja.
>Bob L.


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

From: [EMAIL PROTECTED]
Subject: Re: pppd daemon/eth0 interface
Date: Wed, 10 Jan 2001 21:31:42 GMT

In article <93hvtk$ug5$01$[EMAIL PROTECTED]>,
  "M.Weber" <[EMAIL PROTECTED]> wrote:
> pppd can only connect you too an daiup isp using a modem. the
> internetconnection with your laninterface normaly is not made to be a
> daiupconnection. i gess you have an adsl-connection to your isp. the
> ads-potocoll is a protocoll for standing conections and if your
landevice
> has connection to an adsl-modem it uses tct/ip to contact the
internet. for
> dailupcapebillitys on this connection you need a special deamon. i use
> pppoet for a connection to t-dsl from the german telecom. if you
don't use a
> modem to connect to the internet any more you have to make shure that
pppd
> is not started atomaticly when the system starts, otherwhise you will
olways
> get errormessages from pppd.
>
> markus
> <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> news:93h3uu$6d1$[EMAIL PROTECTED]...
> > HI:
> > I have my pppd configured and my ethernet card is working.But,I get
the
> > message pppd daemon has died unexpectedly if I have the eth0
interface
> > running also.If I disable the ethernet interface and use pppd I will
> > connect with my modem to my ISP without the pppd died  error
message.Is
> > it configuration ?I need an idea of what it could be.
> >
> > Gary
> >
> >
> > Sent via Deja.com
> > http://www.deja.com
> No No .I am using a modem to connect to my ISP which I have a pppd
connection set up for.Also I have an ethernet card installed for my
local lan.I am saying if I disabled my ethernet card for the lan I can
connect to my ISP with my modem and pppd.But..if I have both interfaces
enabled I will get the pppd daemon failed error.I want to use both
interfaces,the pppd for dialup modem to my ISP and the eth0 for my
local lan.I am not trying to use eth0 to connect via pppd.The ppd daemon
dies if I have eth0 enabled while I try to connect via pppd(modem).
Understand?

TY
Gary


GARY


Sent via Deja.com
http://www.deja.com/

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

From: Chris Rankin <au.com.zipworld@{no.spam}rankinc>
Subject: Re: I need an advice for Zip USB,
Date: Wed, 10 Jan 2001 21:54:30 +0000

ME wrote:
> I am trying to mount (dev/sda4) a Zip 100 USB drive under Kernel 2.2.16
> (Suse 7.0). The modules usbcore, usb-ohci and usb-storage are loaded, but
> yet the system fails to communicate with the Zip drive. While booting up the
> system it finds the Zip drive. The error message is:
> 
> sda: Read Capacity failed
> sda: status=0, message=00, host=7, driver=00
> sda: sense not available
> sda: block size assumed 512 bytes, disk size 1 GB
> 
>        sda: scsidisk I/O Error: dev08:00, sector 0
>               unable to read partition table.
> 
> My USB Sony CD/RW drive is also seen but can not be mounted. I think it is a
> SCSI issue, which I have tried to remedy with the insertation of module sg,
> but that did not help either.

The sg driver is the "generic SCSI" device. You don't need it to mount a
CD-ROM, but would need it to run cdrecord. The SCSI CD-ROM driver is
sr_mod.

I don't know how complete or reliable the USB support in the Suse
version of Linux 2.2.16, but there are issues with USB Zip drives even
in 2.2.18. This is because of the improved SCSI support in 2.4 which
wasn't backported with the USB support.

Try adding these lines to /etc/modules.conf:

above sr_mod usb-storage
above sd_mod usb-storage

These should guarantee that the USB drivers are always loaded whenever
you access your SCSI disc or SCSI CD-ROM. But you really need a 2.4
kernel.

Oh yes, make sure your ZIP drive has a disc in it, too :-).

Chris

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

From: Eran Tromer <[EMAIL PROTECTED]>
Subject: RAID root problem with 2.4
Date: Thu, 11 Jan 2001 00:05:53 +0300

Howdy,

I have here a box with the root (including /boot) directory mounted from
software RAID1 residing on SCSI disks. Using 2.2.* kernels, all was
fine. However, using kernel 2.4 (RedHat's kernel-2.4.0-0.43.12.rpm), it
fails to mount the root filesystem during boot.

I'm using a boot image constructed as follows (under kernel 2.2.16):
=====================
# depmod -a 2.4.0-0.43.12 -F /boot/System.map-2.4.0-0.43.12
# mkinitrd -f -v /boot/initrd-2.4.0-0.43.12.img 2.4.0-0.43.12
...
Loading module scsi_mod with options 
Loading module sd_mod with options 
Loading module aic7xxx with options 
Loading module ide-mod with options 
Loading module ide-probe-mod with options 
Loading module ide-disk with options 
Loading module raid1 with options
=====================

My lilo.conf contains "root=/dev/md0", which is the correct md device.

The boot sequence looks like:
=====================
Kernel command line: BOOT_IMAGE=linux-2.4-up ro root=900
BOOT_FILE=/boot/vmlinuz-2.4.0-0.32.12 single
...
md driver 0.90.0 MAX_MD=256, MAX_REAL=12
...
VFS: Mounted root (ext2 filesystem)
Loading scsi_mod module
SCSI subsystem driver Revision: 1.00
Loading sd_mod module
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Loading aic7xxx module
...
       [all SCSI adapters, disks and partitions are recognized --Eran]
...
Lading ide-mod module
...
Loading ide-mod module
...
Loading ide-disk module
Loading raid1 module
raid1 personality registered
EXT2-fs: unable to read superblock
isofs_read_super: bread failed, dev=09:00, iso_blknum=16, block=32
Kernel panic: VFS: Unable to mount root fs on 09:00
=====================

It looks like the raid1 module fails to recognize the autodetect RAID
partitions. As noted, 2.2.* boots fine on this machine.

What am I missing?

  Thanks,
    Eran Tromer

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

From: "tim" <[EMAIL PROTECTED]>
Crossposted-To: comp.sys.ibm.pc.hardware.storage,linux.redhat.install
Subject: Partition Magic 6  +  Redhat Linux 7
Date: Wed, 10 Jan 2001 13:14:48 -0900

How would one go about repartitioning to install Red Hat Linux 7, when I
currently have Win2k on the first 20 gigs of my hard drive, and WinME on the
last 10 gigs.  both are FAT32 partitions..

thanks in advance to any help!



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

From: Joachim Rahmfeld <[EMAIL PROTECTED]>
Subject: i810 sound problem
Date: Wed, 10 Jan 2001 14:28:38 -0800

Hi,

I am setting up Suse linux on an hp 8756c Pavilion.
The motherboard has an integrated i810 sound card,
which is supposed to be supported. On installation
it recognizes the sound card, but it still cannot configure
it. Also, when I run "soundcard setup" from the KDE
menu it recognizes the card, says it will be configured,
but it claims it cannot load the module snd-card-intel8x0.

I recompiled the kernel in every possible way, it just does
not work...

Any ideas?

Thanks so much,

 Joachim


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

From: "D F" <[EMAIL PROTECTED]>
Subject: Re: Does anybody really know what time it is?
Date: Wed, 10 Jan 2001 17:40:21 -0500

Peter B. Steiger wrote in message
<[EMAIL PROTECTED]>...
>Maybe I'm reading the wrong FAQs, maybe I'm not
understanding
>what I read... but I'm lost on the whole NTP thing.
>
>My goal is to have my Linux (RH 7.0) box connect
periodically
>to an NTP server and adjust the local time to whatever NTP
>tells me.  To that end, I installed chrony although I
gather there
>are other utilities which do the same thing.
>
>As far as I can tell, chronyd is indeed polling the NTP and
>making minor changes as needed to /dev/rtc... but when
>I query the system date/time, it bears no relation
whatsoever
>to the RTC.
>
>Obviously I'm missing a step.  What program or command
>do I need to add so that the system date & time match up
>with what the RTC contains?
>
>Many thanks for any advice, explanations, or general
ridicule.
>
>
>Peter B. Steiger
>Cheyenne, WY
>----
>If you reply by email, send it to pbs at com dot
>canada (or vice-versa).  All advertisements will be
>returned to your postmaster, eh!

I'm using chrony in much the same configuration and it's
working fine. By the sounds of it, yours is working fine as
well. See, chrony will, by default, only slew the system
clock to make it show the correct time -- it leaves the RTC
unchanged. You can bring them into synch, periodically, by
entering the command 'trimrtc' at the chronyc command line.
I do mine every couple of weeks or so but, in principle, you
never have to do it if you don't want to. You have to be
authorised to issue the 'trimrtc' command, in general. Do
this:

% chronyc
chronyc> password whateverpasswordyougaveintheconfigfile
101 OK (or authorised or something like that)
chronyc> trimrtc
101 OK
chronyc> exit
%

This should get your RTC and your system clock in synch.
It's all in the docs, BTW. You could also try typing help at
the chronyc command line. It gives some nice one or two line
command descriptions.

Dave Fluri  North Bay, Ontario  Canada

(The opinions herein are mine. I do not speak for my
employer unless I expressly indicate otherwise.)



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

From: [EMAIL PROTECTED] (Finn)
Subject: CA810 Mother Boards
Date: Wed, 10 Jan 2001 22:35:26 GMT

I was woundering if any one could help me. I'm trying to install Red
Hat 7.0 to a system with an Intel CA810 Mother Board and I can't get a
GUI up and running. During installation I am not given the opportunity
to configure X, as I normaly do when I install to other Systems. It is
detected as an 810 graphics chipset but I can not "Test it" or select
a specific screen mode. If any one has any idea's could they please
reply to the news group. Thanks a lot.


Finn.

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

From: Scott Nolde <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.4
Date: Wed, 10 Jan 2001 22:29:44 GMT

Gilles wrote:
> 
> I have compiled the kernel and done the 'make bzdisk' from another machine.
> But I don't have anything yet on the disk of the target machine (no root, no
> swap, nothing ...), just Windows 95.
> How can I do to install Kernel 2.4 on the target machine from this bootable
> floppy (make bzdisk) ?
> Thanks for help

In short, you can't.

You must repartition the target drive (if you want win95 to coexist) or
do a full install, using the bootable CD or the boot floppy (not the one
you have).

For the target machine, start from scratch and then you can transfer the
kernel image/modules over.

- Scott
-- 
Never do Windows again with  |  Scott M. Nolde
Linux!  No streaks, haze or  |  [EMAIL PROTECTED]
glaze!                       |  
5:25pm up 1 day, 18:11, 1 user, load average: 1.16, 1.28, 1.23

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

From: Scott Nolde <[EMAIL PROTECTED]>
Subject: Re: Problems getting LILO to work after install....
Date: Wed, 10 Jan 2001 22:31:46 GMT

[EMAIL PROTECTED] wrote:
> 
> I have a question that I hope is a simple one to answer. I installed
> RedHat 6.0 and during the installation I made bootdisk, and chose to
> have the boot loader in the master boot record of my hdd. (there are no
> other OS's on this machine) When trying to boot the machine for the
> first time (and all subsequent attempts) a screen came up after the
> POST and it said LI. Nothing happened after that. Just LI. I am able to
> boot from the floppy backup that I made, but why can't I boot from my
> hdd.
> 
> Thanks in advance....
> 
> Sent via Deja.com
> http://www.deja.com/

Read the lilo documents.  You have a drive geometry problem.

- Scott
-- 
Never do Windows again with  |  Scott M. Nolde
Linux!  No streaks, haze or  |  [EMAIL PROTECTED]
glaze!                       |  
5:30pm up 1 day, 18:16, 1 user, load average: 1.01, 1.15, 1.19

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

From: [EMAIL PROTECTED] (doug reeder)
Crossposted-To: osu.sys.linux
Subject: kernel build error: `smp_num_cpus' undeclared
Date: 10 Jan 2001 23:26:47 GMT


I'm trying to recompile the kernel (kernel 2.2.12 from the Red Hat 6.1
distribution) on a HP Visualize PC (like an HP Kayak, but with a
slot for a second processor).  Only one processor is installed, so I
said NO to 'symmetric multi-processing support' in 'make xconfig' so
the kernel would run a tad faster.

make dep and make clean run without problems.

But, when I run 'make bzdisk', compilation halts with the error:

In file included from ksyms.c:17:
/usr/src/linux-2.2.12/include/linux/kernel_stat.h:44: `smp_num_cpus' undeclared (first 
use in this function)
/usr/src/linux-2.2.12/include/linux/kernel_stat.h:44: (Each undeclared identifier is 
reported only once
/usr/src/linux-2.2.12/include/linux/kernel_stat.h:44: for each function it appears in.)
make[2]: *** [ksyms.o] Error 1



I've never encounted this problem when rebuilding the kernel on our Kayaks
running Red Hat 6.1.

The processor is a 600 MHz Pentium III.

Any suggestions other than re-compiling with 'Symmetric multi-processing
support' set to YES ?
-- 
P. Douglas Reeder      Lecturer, Computer. Science. Dept., Ohio State Univ..
[EMAIL PROTECTED]  http://www.cis.ohio-state.edu/~reeder/reeder.html
GE/S d+ s+:- a C+@$ UH+ P+ L E W++ N+ o? K? w !O M+ V PS+() PE Y+ PGP- t 5+ !X
R>+ tv+ b+++>$ DI+ D- G e+++ h r+>+++ y+>++

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

From: Van der Ivor <[EMAIL PROTECTED]>
Subject: Help with modem (etc.) in SuSe 7.0 (please!)
Date: Thu, 11 Jan 2001 00:04:09 +0000




Hello,

        I just installed SUSE 7.0 onto my PII running it with LILO on a
win98 system. For some reason YAST2 the installer couldn't partition my
drive properly, it always insisted I had much less drive space than I
did, even after I removed about a Gb of stuff. Anyway I tried Yast1 to
partition it but it only made a partition of 540mb and then aborted.
Finally I used FIPS to partition it myself. However now I have a 540mb
partition when I desperately need drive space. What util can I use to
remove this extra partition?

Also I have an internal ISA Modulartech(nologies) v90 modem and I cannot
get it to work. Yast2 will not pick it up. I followed these instructions
on the install for isa/pnp modems:

pnpdump -c > /etc/isapnp.conf
isapnp /etc/isapnp.conf

then setserial /dev/modem irq 3 port 0x2F8 

isapnp reported 2 sets of irqs the first one with a DMA (?) The card
also has some video capture ready thing so I'm not sure if that explains
the DMA. Anyway, the dev/modem didnt exist so I checked the SUSE website
and it had setserial /dev/ttyS5 instead. Also it said copy the command
to /sbin/init.d/boot.local which I did. However Yast2 still doesn't
detect it. I also tried Suse automated pnpconfig script to no avail. The
strange thing is the last time I ran isapnp it gave an error that the
modem was already on, or active or some such. I didn't save the error
unfortunately. I remember reading a while back the hardware linux
database that my modem (or what appeared to be) was reported to work
with Linux.

Any help/suggestions would be much appreciated.



Van der Ivor

--

'666 is no longer alone
 He's getting out the marrow in the backbone
 And the seven trumpets blowing sweet rock and roll
 Gonna blow right down inside your soul'



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


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

Reply via email to