Linux-Misc Digest #181, Volume #26 Sun, 29 Oct 00 23:13:01 EST
Contents:
Re: kde2 (qt-2.2.1) compile time? (MH)
Re: cron and end of daylight savings time (HermDog)
Need help rebuilding Kernel or just the usb/dc2xx.c module (Jeff Peterson)
Re: What happens to TCP/IP? (Robert Kiesling)
NTFS Woes (Otto J. Makela)
Sendmail's password problem ([EMAIL PROTECTED])
adding hardware in linux ([EMAIL PROTECTED])
Turning services off and on? ([EMAIL PROTECTED])
Re: how create etho?? (Dances With Crows)
Re: Win98 shutting down screen (Dances With Crows)
Re: Suse 7.0 Alsa problem with soundblaster (Michel Catudal)
Re: Partition table problem ([EMAIL PROTECTED])
Re: cdrecord stopped working in Redhat 7 (Michel Catudal)
after recompiling kernel boot errors ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: MH <[EMAIL PROTECTED]>
Subject: Re: kde2 (qt-2.2.1) compile time?
Date: Sun, 29 Oct 2000 18:26:29 -0800
"Kirk R. Wythers" wrote:
>
> How long has it taken you all to compile qt-2.2.1? I'm on a reasonably
> fast machine P-III 600 with lots of ram and it's been at it for over an
> hour now. I'm running RH7.0 which includes qt-2.2.0... So here I sit,
> watching what appears to be allot of source code compile...
>
Took me nearly 2 hours on a P333.
--
=========
Don't waste your vote, vote Green or don't vote at all.
------------------------------
From: [EMAIL PROTECTED] (HermDog)
Subject: Re: cron and end of daylight savings time
Date: Mon, 30 Oct 2000 02:26:50 -0000
Reply-To: [EMAIL PROTECTED]
On Sun, 29 Oct 2000 01:31:19 -0500,
Jean-David Beyer <[EMAIL PROTECTED]> wrote:
>I found out what cron does when daylight savings time ends. It
>does not know about it and runs some jobs twice.
>
>I have a 2.5 hour job (backup of my hard drives to mag tape) I
>run every morning at 1:04AM; it is part of /etc/cron.weekly and
>/etc/cron.daily. This morning it started at 1:04AM EDST as
>usual. When 1:59AM EDST arrived, it was not finished, of
>course. But at 2:00AM EDST, the system set its time back to
>1:00AM EST as expected. Then, when 1:04 EST arrived, cron
>started up those tasks again. (cron.weekly). Most of them are
>fast and harmless, but it tried to restart the backup.
>(Incidentally, BRU, the backup software, died with a
>segmentation fault, not what I like to see, instead of some
>kind of device busy fault. Luckily, the instance that failed
>was the second instance.)
>
>So I just diddled my /etc/crontab to start nothing on Sundays
>between 1:00 AM and 2:00 AM.
>
>Any other pitfalls out there that I should know about?
Yes. Running a Linux system like it's a Windows box.
Try setting the system date/time to UTC (GMT) and link /etc/localtime
to your local timezone in /usr/share/zoneinfo (or wherever your
distribution arranges those things). On my (Slackware) box,
/etc/localtime -> /usr/share/zoneinfo/EST5EDT ->
/usr/share/zoneinfo/America/New_York. The system time never changes,
but everything is displayed to me in local time (with daylight savings
adjustments when appropriate).
Of course, I could be completely misunderstanding what
happened. Wouldn't be the first time. But what you describe sounds
like something that seems to happen frequently on systems that have no
choice but to run system time = local time.
--
[EMAIL PROTECTED]
------------------------------
Date: Sun, 29 Oct 2000 21:30:52 -0500
From: Jeff Peterson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.help,comp.os.linux.hardware
Subject: Need help rebuilding Kernel or just the usb/dc2xx.c module
I'm using RedHat Linux 7.0
I need to rebuild the usb-uhci driver to take advantage of the
newer Kodak DC3400 Digital Camera which is basically an updated
DC280 which the dc2xx driver supports. I want to be able to
access this camera using the USB port vice the slower serial
port. I issue 'more /proc/bus/usb/devices' to get the
following results:
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=040a ProdID=0132 Rev= 1.00
S: Manufacturer=Eastman Kodak Company
S: Product=KODAK DC3400 ZOOM Digital Camera
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
'more /proc/bus/usb/drivers' produces the following:
80- 95: dc2xx
hub
usbdevfs
I added the above dc2xx driver entry in the /etc/rc.d/rc.sysinit
file.
The Camera is also seen using the usbview command. However, if you
look at the 'Driver=(none)' entry above, it should state dc2xx
instead. However, looking at the source file, there's no entry for
this camera type.
In this file /usr/src/linux-2.2.16/drivers/usb/dc2xx.c, I added
the following line right after the Kodak DC-280 entry:
{ 0x040a, 0x0132 }, // Kodak DC-3400
Now, I would like to know how to recompile the usb driver for
the kernel so the dc2xx driver recognizes this DC-3400 camera.
Any help would be greatly appreciated. Thank you all.
Jeff Peterson
[EMAIL PROTECTED]
------------------------------
Subject: Re: What happens to TCP/IP?
From: Robert Kiesling <[EMAIL PROTECTED]>
Date: Mon, 30 Oct 2000 02:29:59 GMT
[EMAIL PROTECTED] (Edwin Humphries) writes:
> G'day,
>
> I'm running Red Hat 6.2 on a small office server, and one of it's
> tasks is to manage our dial-up internet connection. It's set up start
> pppd and run it in the background using the demand and idle 300
> options.
>
> However, it doesn't quite do this: it dials on boot and stays
> connected regardless of whether anyone is using the link. Then if I
> manually hang up (ifdown ppp0), it seems to break TCP/IP somehow, so
> that on redial (ifup ppp0), it will dial, and seems to log in OK (the
> message log shows the reassignment of local and remote IP addresses),
> but none of the clients can connect (I've tried HTTP, SMTP, POP, NNTP
> and ping).
Make sure that "defaultroute" is one of the PPP options.
--
Robert Kiesling
Linux FAQ Maintainer
[EMAIL PROTECTED]
http://www.mainmatter.com/linux-faq/toc.html http://www.mainmatter.com/
------------------------------
Crossposted-To:
sfnet.atk.linux,comp.os.linux.setup,alt.os.linux.redhat,linux.redhat.install
Subject: NTFS Woes
From: [EMAIL PROTECTED] (Otto J. Makela)
Date: Mon, 30 Oct 2000 02:31:13 GMT
I have a RedHat 6.2 i686 system running kernel 2.2.16-3 and I have a
need to be able to read a NTFS hard disk partition. I've compiled the
read-only fs module from the kenrel source distribution, installed it
to /lib/modules/2.2.16-3/fs/ntfs.o and then done depmod. When I mount
the filesystem with "-t ntfs", I can browse the directories and so on,
but trying to read stuff properly (like using this as a tar.gz or
mkisofs source tree) ends up being flaky, or worse, freezes or crashes
the whole machine. Actually, even "du" keeps changing its output
from one run to another.
Am I doing something silly, or is NTFS support still this bad?
Now that I think about all this, what is the difference between the
experimental read/write version and what I've done?
--
/* * * Otto J. Makela <[EMAIL PROTECTED]> * * * * * * * * * * * * * * * */
/* Phone: +358 40 765 5772, FAX: +358 2040 64652, ICBM: 60N 25E */
/* Mail: Mechelininkatu 26 B 27, FIN-00100 Helsinki, FINLAND */
/* * * Computers Rule 01001111 01001011 * * * * * * * * * * * * */
------------------------------
From: [EMAIL PROTECTED]
Subject: Sendmail's password problem
Date: Mon, 30 Oct 2000 02:25:08 GMT
Hi all, need help on Sendmail's password problem.
After making changes for Apache in http.conf and Linuxconf, I facing
problem accessing e-mail for all user. Then I changed the password in
linuxconf. I can access from the server but not using e-mail clients. I
wondered what's the problem. Any solutions ?
Need Help.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED]
Subject: adding hardware in linux
Date: 29 Oct 2000 19:10:05 PDT
I am running Red Hat 6.2 which usually detects new hardware
at bootup.
But I really don't know how to add new hardware once I am
booted up. Can someone please explain how to do this, either
for the command line or from within KDE? Thanks.
Also, I just bought a Hayes Faxmodem internal ISA (heard these
are good quality) and want to install it. Also, I just bought
a new video card I'd like to install.
I bought a book called Running Linux but it seems to assume you
already know how to do basic stuff like install hardware as it
doesn't cover this topic very well. The book focuses on system
admin type tasks. This is good except when I need to do a very
basic task that I have not learned to do in Linux yet.
--
Neil
------------------------------
From: [EMAIL PROTECTED]
Subject: Turning services off and on?
Date: 29 Oct 2000 19:20:20 PDT
When my machine boots up a number of services start which
I don't really need right now. I would imagine they effect
performance by running in the background.
I was wondering how to turn off certain services that start
at boot and turn on others?
--
Neil
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: alt.os.linux.mandrake,uk.comp.os.linux
Subject: Re: how create etho??
Date: 30 Oct 2000 03:21:01 GMT
Reply-To: [EMAIL PROTECTED]
On Mon, 30 Oct 2000 00:55:52 GMT, defkon wrote:
>In Mandrake 7.1 there is no "eth0" device in /dev. How can it be
>created? Is there any command to do that?
eth0 does not exist in /dev under Linux. Linux is different from many
other Unix systems in this respect. If you want to get your network
card up and running, first find out what kind of card it is ( cat
/proc/pci can help a lot if this is a PCI card, or use netcfg under
RedHat/Mandrake) and then load the appropriate module for that card. If
you have a 3Com 590//905, then you'd do:
modprobe 3c59x
and then
ifconfig eth0 192.168.1.5 netmask 255.255.255.0 broadcast
192.168.1.255 up
That will assign eth0 the address 192.168.1.5 and put it on the
192.168.1.0 network. Change the numbers for your particular network
setup, or run dhcpcd or dhclient or pump right after the modprobe if you
are on a net that uses DHCP. Further info is available at
http://linuxdoc.org/HOWTO/Networking-HOWTO.html or in the paper manual
that came with your distro. HTH,
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Win98 shutting down screen
Date: 30 Oct 2000 03:21:03 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 29 Oct 2000 20:30:04 -0000, George wrote:
>Windows 98 SE the screen that comes up & says "windows is shuting down",
>well that screen never goes to "it is safe to turn off computer" I've
>changed HD, Memory & also reloaded win98, that fixed it for a day. I left
>it on all night with screen saver and it was locked in morning then did
>hard power off and back on, ran scandisk (no problems found) but now this
>shutdown screen doesn't go out. If I turn it off and back on it seems like
>it was shut off properly because it does not come up and run scandisk.
This problem can be solved easily and quickly with the latest Windows
Service Pack. It comes in a white and blue box with a picture of a
penguin and "Mandrake 7.1" in big letters on the front, and is available
in a lot of places for $40 or so.
Oh yeah, make sure you post to the right newsgroup in the future. You
don't go to a Harley dealership and ask them to fix your broken-down
Ford Escort, do you?
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: Michel Catudal <[EMAIL PROTECTED]>
Subject: Re: Suse 7.0 Alsa problem with soundblaster
Date: 29 Oct 2000 21:46:05 -0600
Oskar Enoksson a �crit :
>
> Please help!
>
> I use Suse 7.0 with the Alsa sound driver for my SB compatible PCI sound
> card.
> When I try to play a mp3-file with mpg123 it sounds fine at first, but
> when I click
> another window or move some window around the sound becomes corrupt:
> some
> notes/drums are played twice, others are skipped, and the sound is full
> of "sparkles" (don't know if that's the correct word for it, but I hope
> you know what I mean)
>
> What is going on? What can I do? When I used Redhat 6.2 and the kernel
> sound driver on the same hardware this never happened.
>
> Also, I get the following errors in the X-console:
>
> Oct 29 23:18:10 linux modprobe: modprobe: Can't locate module
> sound-slot-1
> Oct 29 23:18:10 linux modprobe: modprobe: Can't locate module
> sound-service-1-0
>
> Thanks!
> /Oskar
Try disabling also and use the kernel sound driver which has less
bugs. I got rid of alsa when I found out that it was the reason
of several crashes, specially of doom.
Look into the /etc/modules.conf file you should just need to uncomment
and comment a few lines. worst case you might have to recompile
the kernel.
--
Tired of Microsoft's rebootive multitasking?
then it's time to upgrade to Linux.
http://www.netonecom.net/~bbcat/
We have software, food, music, news, search,
history, electronics and genealogy pages.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Partition table problem
Date: Mon, 30 Oct 2000 03:41:16 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Jerry, L, Kreps, [EMAIL PROTECTED] wrote:
> >
> > [EMAIL PROTECTED] wrote:
> >
> > > Well...
> > >
> > > So I decide to install Caldera OpenLinux. I find 2.3 at the
store, buy
> > > it, install, have a few glitches at first with LILO and my video
card,
> > > but get it working correctly eventually as a dual-boot with
Windows
> > > 98. Then I install Microsoft Office 97. Big mistake. Computer
> > > crashes next time I boot. NDD reports invalid partition table.
> > > Windows works fine. Try to boot Linux. Nothing doing -- can't
find
> > > root partition. fdisk won't correct it, and I cannot easily back
up my
> > > hard drive, because the only writable removable media I have are
3.5"
> > > floppy disks. Is there any help to be found in
comp.os.linux.misc?
> > >
> > > ------------> Drake Wilson
> > >
> > >
> > > Sent via Deja.com http://www.deja.com/
> > > Before you buy.
> >
> > And there was really no reason for that crash (why would an office
suite be
> > interested in the Master Boot Record?) except that Bill wants to
play "Dr
> > Dos" games with Linux.
> > If you have a bootable Linux floppy (there should have been one in
the
> > Caldera box) then you can boot it and access your system that way.
Then
> > rerun LILO.
>
> unless the partition table is really messed up.
> If you made a hardcopy of the partition-table, you can restore with
> fdisk. If not
> try to get svend-olaf mikkelsen's findpart.exe and try to get help
from
> him.
>
> Eric
>
Well, my partitions are overlapping, which is why I can't correct it
normally.
I got findpart -- how do I interpret and use the output? (shown below)
findpart all +fat > parts.txt
~~~
Findpart, version 3.91.
Copyright Svend Olaf Mikkelsen, 2000.
Searches for partitions type 01, 04, 06, 07, 0B, 0C, 0E, 82, 83,
plus Fdisk F6 and Lilo sectors. Information based on bootsectors
is marked B. If the disk is larger than supported by BIOS, the
supported part of the disk is examined. Disks are numbered from 1.
OS: DOS 7.10 WINDOWS 4.10
Disk: 1 Cylinders: 2482 Heads: 255 Sectors: 63 MB: 19469
-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS CHS
0 - 0B 63 9205182 4494 0 1 1 572 254 63 B OK
0 - 0C 63 19792017 9664 0 1 1 1231 254 63 BU OK
0 - 83 9205245 11277630 5506 573 0 1 1274 254 63 B0 OK
1275 1 0B 63 48132 23 1275# 1 1 1277*254 63 NB OK
1275 2 05 48195 19342260 9444 1278# 0 1 2481*254 63 1275 OK
1275 - 0B 63 19390392 9467 1275 1 1 2481 254 63 B OK
0 - 0B 20482938 19390392 9467 1275 1 1 2481 254 63 BU OK
=====FAT CHS =Size Cl ==Root =Good =Rep. Maybe ==Bad YYMMDD DataMB
0 1 33 19964 4 2 19964 0 0 0 990610 3684
1275 1 33 18899 4 2 18899 0 0 0 991215 5
Partitions according to partition tables on first harddisk:
-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS CHS
0 1*0C 63 20482812 10001 0 1 1 1274*254 63 NB OK
0 2 05 20482875 19390455 9467 1275# 0 1 2481*254 63 OK
1275 1 0B 63 48132 23 1275# 1 1 1277*254 63 NB OK
1275 2 05 48195 19342260 9444 1278# 0 1 2481*254 63 OK
No signature CHS: 1278 0 1
~~~
-------------> Drake Wilson
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Michel Catudal <[EMAIL PROTECTED]>
Subject: Re: cdrecord stopped working in Redhat 7
Date: 29 Oct 2000 21:51:07 -0600
myself a �crit :
>
> I upgraded??? to Redhat7.0 and found out that I can no longer use
>
> my cd writer (HP7200e). When I give cdrecord -scanbus command I
>
> get the following error
>
> # cdrecord -scanbus
> Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
> Using libscg version 'schily-0.1'
> scsibus0:
> cdrecord: Inappropriate ioctl for device. Cannot send SCSI cmd via ioctl
> #
>
> Thanks in advance.............
>
Is that drive scsci or IDE? If it is IDE the upgrade probably
messed up your settings. I use SuSE 7.0 professionnal and had
to change bunch of stuff as the upgrade screwed up my setups.
I had to recompile the kernel without CD IDE support to stop
SuSE from acting stupid with the CD writer. The /cdrom links
was also brought back to point to the IDE port. On KDE all
the program that uses the CD insisted on going to the IDE drive
which no longer existed. I had that all working correctly before
the upgrade.
--
Tired of Microsoft's rebootive multitasking?
then it's time to upgrade to Linux.
http://www.netonecom.net/~bbcat/
We have software, food, music, news, search,
history, electronics and genealogy pages.
------------------------------
From: [EMAIL PROTECTED]
Subject: after recompiling kernel boot errors
Date: Mon, 30 Oct 2000 03:47:11 GMT
I'm having a bit of trouble with a new kernel that I have just compiled,
in that I'm getting an interesting error when booting...
attempt to access beyond end of device
03:06: rw=0, want=2, limit=0
dev 03:06 blksize-1024 blocknr=1 sector=2 size=1024 count=1
EXT2-fs: unable to read superblock
FAT bread failed
What I have I not/compiled into my kenel?? I am attempting this with RH7
and with kernel 2.2.16
Thanks in advance...
yowsr
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
** 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
******************************