Linux-Misc Digest #406, Volume #24 Mon, 8 May 00 21:13:02 EDT
Contents:
Re: HD >1024 Cyln (Robert Heller)
Re: ext2 su CD-ROM (Robert Heller)
Re: ide-scsi CD-R Problem With Newest Kernels (.14 & .15) - write_g1?!?!?!?
(Douglas E. Mitton)
Re: ide-scsi CD-R Problem With Newest Kernels (.14 & .15) - write_g1?!?!?!? (Douglas
E. Mitton)
I/O Magic MagicImage Digital Camera 420 (Young4ert)
Re: What is the best source for working with core dumps? (Leonard Evens)
Sed & unterminated `s' command .. (MacDennis)
Re: Toggleing window managers (Bob Martin)
Configuring an *old* WD ISA EtherNet card... (Robert Heller)
Re: Problems with installing KDE on Solaris. (Barbie LeVile)
Re: Random number generator between 0 - 70 (Dances With Crows)
Re: Help on inittab file ... (ljb)
----------------------------------------------------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: HD >1024 Cyln
Date: Tue, 09 May 2000 00:10:20 GMT
Somsak Limavongphanee <[EMAIL PROTECTED]>,
In a message on Mon, 8 May 2000 20:43:10 -0700, wrote :
SL> --
SL>
SL> What Linux distribution that can be installed in a big Hard disk, exceed
SL> 1024 Cylinder? I found 'Best Linux' is the one. I put Linux native above
SL> 1024 and it still can be boot from there. Can anyone suggest the
SL> others?
SL>
SL> Somsak
SL>
ALL linux distributions have no problem with big disks. *LILO* has
trouble with big disks. Several options:
1) Use a different boot manager.
2) Use loadlin.exe from Autoexec.bat somehow. It might even work from the
Start menu. (I don't use MS-Windows myself, so I have no experience with
this hack.)
3) Use Partition Magic to shrink MS-Window's C: partition to leave 5 meg
between it and cylinder 1024. Create an ext2 partition there, mount it
a /boot, but vmlinux-xxx there. Lilo becomes happy...
4) As 3, but make 64meg available mount as /, putting /usr, /var, /home,
etc. elsewhere.
5) Use a boot floppy.
There is a lilo variant / replacement that use the big disk BIOS calls,
but I think it only works for IDE disks. This would be under 1 above.
Since I only deal with pure Linux systems, I always opt for a 64 meg
root (/) partition at the beginning of the disk, regardless of size.
Lilo is always happy, since vmlinux & crew are always below the infamous
1024th cylinder...
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: ext2 su CD-ROM
Date: Tue, 09 May 2000 00:10:18 GMT
Nicola Attico <[EMAIL PROTECTED]>,
In a message on Mon, 8 May 2000 13:42:06 +0200, wrote :
NA> Hello everybody,
NA>
NA> someone can explain me how can I create a
NA> EXT2 filesystem on a CD-ROM, in the same
NA> way in which I create a ISO9660 filesystem
NA> with mkisofs/cdrecord utilities?
You don't really want to create a EXT2 filesystem on a CD-ROM -- see below.
NA> I usually use Linux Red Hat 6.1 and
NA> I masterize in two steps:
NA> 1) I create a iso9660 filesystem with:
NA>
NA> mkisofs -o File.img Directory
NA>
NA> 2) I copy the file with the 1:1 copy
NA> of the filesystem image with
NA>
NA> cdrecord -v speed=2 dev=0,1,0 File.img
NA>
NA> How can I create a 1:1 copy of a Ext2
NA> filesystem? The mke2fs command exists but it has different
NA> intent apparently, with respect to mkisofs.
Yup... :-)
NA>
NA> A second question. Can I have long file names on a
NA> iso9660 filesystem? It is enough to create the
NA> image with the joilet extension flag?
NA>
NA> mkisofs -J -o File.img Directory
UNIX RockRidge is to Joilet as Ext2 is to FAT32...
mkisofs -R -o File.img Directory
(or
mkisofs -r -o File.img Directory
)
See 'man mkisofs' for a full explanation of the -R and -r flags.
NA>
NA> Thanks,
NA>
NA> Nicola
NA>
NA> [sorry for the maybe wild crossposting, but... where is
NA> the right place for a post like that?]
NA>
NA>
NA> ----------------
NA> Nicola Attico (PhD student)
NA> Dip. Fisica - Piazza Torricelli, 2 - Pisa
NA> E-Mail: [EMAIL PROTECTED]
NA> Office: +39 050 911259
NA> Telefax: +39 050 48277
NA>
NA>
NA>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: [EMAIL PROTECTED] (Douglas E. Mitton)
Crossposted-To: alt.os.linux,comp.os.linux.hardware
Subject: Re: ide-scsi CD-R Problem With Newest Kernels (.14 & .15) - write_g1?!?!?!?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 09 May 2000 01:13:47 GMT
Well, actually, I'm using ide-scsi, that is IDE SCSI Host emulation.
I have an AMDK6-2 at 450Mhz with a Creative 6424 (Ricoh) drive. As I
mentioned, 2.2.13 works day-n-night with no CDR problems BUT .14 and
15 have. After doing a little research I have noticed that there
have been a lot of "un-commented" changes to the
/usr/src/linux/drivers/scsi/ code. For instance ide-scsi.c is still
listed as V0.9 and the last "Changes" entry is dated July 4/99 but the
file itself is dated "modified April 2000" (I think, I've been
fiddling around trying to add debug messages to see where the problem
lies).
Any way I have downloaded a virgin copy of 2.2.15 (I have been
patching for some time now) and I will try a fresh compile from fresh
source. This is called "grasping at straws"! :-)
Also, I tried downloading the newest cdrecord (1.8.1) and that didn't
resolve it either.
Any other suggestions, comments, voodoo rituals that may work? :-)
Thanks for the response!
Peter Buelow <[EMAIL PROTECTED]> wrote:
>This kind of looks like a buffer overrun problem (more data hitting the
>CD-R than it is capable of digesting). So, we need some details on the
>system. What is on the SCSI bus, what is the usage of any of the SCSI
>devices whilst you are recording. Hard to say, but it seems like this is
>the problem. Anyone else? A fix would be difficult and could simply be
>driver related which puts it out of my domain. Also, what SCSI card is it?
>
>"Douglas E. Mitton" wrote:
>
>> I have done several searches for this issue, there seem to be a lot of
>> people experiencing it BUT I have not been able to find a solution
>> yet.
>>
>> In kernels V2.2.14 and .15 I get random cdrecord failures such as:
>> (Sorry, it wraps a little.)
>>
>> Starting new track at sector: 0
>> Track 01: 175 of 311 MB written (fifo 100%).cdrecord: Input/output
>> error. write_g1: scsi sendcmd: retryable error
>> CDB: 2A 00 00 01 5E C0 00 00 10 00
>> status: 0x2 (CHECK CONDITION)
>> Sense Bytes: F1 00 05 00 01 5E C0 0C 00 00 00 00 10 02 00 00
>> Sense Key: 0x5 Illegal Request, deferred error, Segment 0
>> Sense Code: 0x10 Qual 0x02 (id crc or ecc error) [No matching
>> qualifier] Fru 0x0
>> Sense flags: Blk 89792 (valid)
>> cmd finished after 3.168s timeout 40s
>>
>> write track data: error after 183894016 bytes
>> Sense Bytes: 70 00 00 00 00 00 00 0C 00 00 00 00 00 00 00 00 00 00
>> Writing time: 310.268s
>> Fixating...
>> Fixating time: 76.473s
>> cdrecord: fifo had 5740 puts and 5613 gets.
>> cdrecord: fifo was 0 times empty and 5206 times full, min fill was
>> 95%.
>>
>> This all works perfectly in kernel V2.2.13. I always use the same
>> config for each kernel upgrade/compile and use the "make oldconfig"
>> to incorporate it.
>>
>> The other things I've tried are:
>> - Searching deja news
>> - reading the links off of the cdrecord home page.
>> - recompiling cdrecord on my system (V1.8a29)
>> - Installing the newest cdrecord (v1.8.1)
>>
>> Does any one have any other experience to throw at this problem? My
>> next tact is to start comparing the SCSI source between 2.2.13 and
>> 2.2.14/15. I don't hold out a lot of hope on this. The modules I've
>> read so far have revision dates well before this problem showed up.
>>
>> Thanks in advance for any insight.
------------------------------------------------
Doug Mitton - Brockville, Ontario, Canada
'City of the Thousand Islands'
EMail: [EMAIL PROTECTED]
http://www.cybertap.com/dmitton
Other: mitton.dyndns.org
SPAM Reduction: Remove "x." from my domain.
------------------------------------------------
------------------------------
From: [EMAIL PROTECTED] (Douglas E. Mitton)
Crossposted-To: alt.os.linux,comp.os.linux.hardware
Subject: Re: ide-scsi CD-R Problem With Newest Kernels (.14 & .15) - write_g1?!?!?!?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 09 May 2000 01:15:41 GMT
"Brian" <[EMAIL PROTECTED]> wrote:
That was about the third thing I tried but no go! If anything it
fails even more often now! I'm pretty sure it is tied to the kernel
scsi modules I'm using, more than likely some tuning option that has
been addedd BUT that I haven't discovered yet.
Thanks for the response!
>Hi Douglas:
>
>Douglas E. Mitton wrote in message <[EMAIL PROTECTED]>...
>>I have done several searches for this issue, there seem to be a lot of
>>people experiencing it BUT I have not been able to find a solution
>>yet.
>
>>In kernels V2.2.14 and .15 I get random cdrecord failures such as:
>>(Sorry, it wraps a little.)
>
>>Starting new track at sector: 0
>>Track 01: 175 of 311 MB written (fifo 100%).cdrecord: Input/output
>>error. write_g1: scsi sendcmd: retryable error
>>CDB: 2A 00 00 01 5E C0 00 00 10 00
>>status: 0x2 (CHECK CONDITION)
>>Sense Bytes: F1 00 05 00 01 5E C0 0C 00 00 00 00 10 02 00 00
>>Sense Key: 0x5 Illegal Request, deferred error, Segment 0
>>Sense Code: 0x10 Qual 0x02 (id crc or ecc error) [No matching
>>qualifier] Fru 0x0
>>Sense flags: Blk 89792 (valid)
>>cmd finished after 3.168s timeout 40s
>
>>write track data: error after 183894016 bytes
>>Sense Bytes: 70 00 00 00 00 00 00 0C 00 00 00 00 00 00 00 00 00 00
>>Writing time: 310.268s
>>Fixating...
>>Fixating time: 76.473s
>>cdrecord: fifo had 5740 puts and 5613 gets.
>>cdrecord: fifo was 0 times empty and 5206 times full, min fill was
>>95%.
>
>
>I run "Slackware 7.0" "Linux kernel 2.2.14" with "cdrecord 1.8" and burn
>happily all day on an aging "HP CD-Writer+ 7100 - firmware 2.02 X2" IDE
>burner.
>
>Here is what I recommend;
>
>Go to the cdrecord site and download the latest from Joerg Schilling (very
>wise and able programmer).
>
>http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/
>cdrecord.html
>
>Download version "cdrecord-1.8.1 final", build and install.
>
>That should get you going no problem.
>
>Best regards,
>
>Brian
------------------------------------------------
Doug Mitton - Brockville, Ontario, Canada
'City of the Thousand Islands'
EMail: [EMAIL PROTECTED]
http://www.cybertap.com/dmitton
Other: mitton.dyndns.org
SPAM Reduction: Remove "x." from my domain.
------------------------------------------------
------------------------------
From: Young4ert <[EMAIL PROTECTED]>
Subject: I/O Magic MagicImage Digital Camera 420
Date: Mon, 08 May 2000 15:43:20 -0400
Hi,
Does anyone know if the I/O Magic MagicImage Digital Camera 420 is
supported under Linux? I just bought one and am looking for the
software and driver under Linux. I would apprecite anyone sending in
the pointer.
TIA.
--
[EMAIL PROTECTED]
PS> Remove the "4" from e-mail address to respond.
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: What is the best source for working with core dumps?
Date: Mon, 08 May 2000 19:10:31 -0500
Harlan Grove wrote:
>
> In article <[EMAIL PROTECTED]>, Leonard Evens
> <[EMAIL PROTECTED]> wrote:
> >Harlan Grove wrote:
> >>
> >>There doesn't seem to be a HOWTO specifically targetted
> >>toward figuring out what happened from a core file. I've
> >>tried using strings core | more, but that's not very
> >>useful. I suppose I should be loading it into a debugger,
> >>but are there any texts that provide guidance on what to
> >> look for?
> ..
> >Is this for core dumps created by a program you wrote?
> >If so, learn how to use gdb. You can try gdb on the core
> >dump---see the man page or use info. But if you are
> >reduced to having to do it with assembly language
> >debugging, it is not too likely you will get very far.
>
> Not for stuff I wrote myself. I had installed a number of
> rpm's, and wound up srewing up the Gnome Help Browser,
> which would die with a segmentation fault every time I
> tried to run it. I reinstalled Red Hat 6.0 to fix my
> system, but I'd have liked to figure out what in particular
> caused the Gnome Help Browser to die.
>
> So does this mean there's no way to pull information from
> core files without having the source code and a binary with
> debugging information? What's the format of a core file? I
> assume it's the memory image of the errant process, but
> does it include the stack and register status at the moment
> of failure? If so, at the end?
Of course you can always find out which program produced the
core dump by using the command
file core
The core dump is a memory image as you say. I've never tried
to look at one under Linux, but I did under SunOS. You can
probably get information about stack and register status, but
what good would that do you?
>
> * Sent from AltaVista http://www.altavista.com Where you can also find related Web
>Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: MacDennis <[EMAIL PROTECTED]>
Subject: Sed & unterminated `s' command ..
Date: Tue, 09 May 2000 02:35:39 +0200
Reply-To: [EMAIL PROTECTED]
Hi,
I'm trying to compile the latest version of Mysql on my Linux Redhat
6.2 server.
./configure --prefix=/usr --with-libwrap
After a while many sed errors are mentioned, all: 'unterminated `s'
command.
I have the latest RPM versions of glibc, m4, autoconf, sed, etc
installed.
Any idea what is going on? Where can I look for answers?
All help is appreciated, it's very important for me to get Mysql up
and running as soon as possible.
Best regards,
Dennis Velthuis
------------------------------
From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: Toggleing window managers
Date: Mon, 08 May 2000 18:39:30 -0500
mugu wrote:
>
> I don't know if this would help, but try using "switchdesk" to
> switch window managers !!
This switches desktops, not window managers, two different things. But
yes switchdesk will allow you to switch between gnome and kde.
--
Bob Martin
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Configuring an *old* WD ISA EtherNet card...
Date: Tue, 09 May 2000 00:49:23 GMT
I have a box which I put in an old WD ISA EtherNet card (the price was
right -- $5.00), but I cannot seem to get a network connection. The card
has three network connectors: 10BaseT, AUI, and 10Base2 (thin coax). I
would like to use the thin coax, but I suspect that the NV RAM or EEPROM
on the board wants to use either the 10BaseT or AUI. Western Digital no
longer seems to even admit that they once make NICs. This machine does
not have any flavor of MS-DOS or MS-Windows installed. I'd like to know
if there exists a *linux* program that can diddle the NIC's on-board
config (NV RAM or EEPROM) to make the NIC use its 10Base2 (thin coax)
connector.
The card itself IS seen by the kernel:
Extracted from /var/log/messages:
May 8 20:29:44 smaug kernel: wd.c: Presently autoprobing (not recommended) for a
single card.
May 8 20:29:44 smaug kernel: wd.c:v1.10 9/23/94 Donald Becker ([EMAIL PROTECTED]
fc.nasa.gov)
May 8 20:29:44 smaug kernel: eth0: WD80x3 at 0x300, 00 00 C0 EE BA 71 WD8013, IRQ 10,
shared memory at 0xcc000-0xcffff.
This is a RedHat 6.1 system: '486DX2-66, three ISA slots, 20meg of RAM
(an upgrade to 32meg is planned), a 4.1gig Seagate SCSI disk,
AHA-1540B, a Boca ATIO55 (2S1P), and the WD8013 NIC. The motherboard
has 2 serial, 1 parallel, floppy, IDE, and PS/2 mouse port, and built
in SVGA controller. I want to use this box as a headless print server
(for two printers -- the Boca 2S1P board has both serial ports
disabled, and the parallel port set to lpt2). It is old Dell Netplex
433/P system.
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Barbie LeVile <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.unix.solaris
Subject: Re: Problems with installing KDE on Solaris.
Date: Tue, 09 May 2000 02:53:02 +0200
Madhusudan Singh wrote:
>
> Thanks for your response. I guess it is quite dumb of me, but I just found
> that the OS on the machine I wish to install KDE (in my own user
> directory, incidently) runs Sun OS 5.6 and not Solaris.
>
umm, SunOS 5.6 IS Solaris 2.6 ...
--
Barbie - Prayers are like junkmail for Jesus
"There are few sights as unnerving as a diehard Microsoftie in full jihad
mode."
[EMAIL PROTECTED] http://www.amigaworld.com/barbie/index.html
SRGC 0.22: SR1 SR2+++ SR3--- h++++ b++ b--- UB++ IE- RN+ SR_D+++ W++
dk sh++++ ri++++ sa+++ ad+++ m+++(x+++) gm++ m+++ P+++(P*)
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Random number generator between 0 - 70
Date: 08 May 2000 20:54:38 EDT
Reply-To: [EMAIL PROTECTED]
On Mon, 08 May 2000 22:07:14 +0100, Carl Waring - Pipex
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>I'm wanting to write a simple script which can be started from a cron
>which creates a random number between 0 and say 70. The script should
>write some constant/variable text fields then output a series of random
>numbers. The format of the file should be such:
>
>08/05/2000|time|1|7|20|22|38|69|....... and so on - up to 70 numeric
>fields.
Hoo boy. Find some kid taking CS 101 and she'll tell you this:
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
int main(void)
{
int i;
srand(time(NULL));
printf("Static text|date %s|",asctime(time(NULL)));
for(i=0;i<70;i++)
printf("%d|",rand()%71);
putchar('\n');
return 0;
}
compile, run, call from cron... It'll spew its stuff to stdout, you can
of course redirect its output. The degree of randomness isn't all that
great when you use rand(), but something like lrand48() may not be
available everywhere (even though it seems to be on the 3 Linux boxes
around here.) You could also do this in Perl:
#!/usr/bin/perl -w
srand;
printf("Static text|%s|",scalar localtime());
for($i=0;$i<70;$i++){
printf("%d|",rand(70));
}
>Those of you who are into such things may figure out that I want to
>upload this into a database for testing. Any Ideas on this would be
>appreciated.
HTH, HAND.
--
Matt G / Dances With Crows \###| You have me mixed up with more
There is no Darkness in Eternity \##| creative ways of being stupid,
But only Light too dim for us to see \#| as I have to run nothing but a
(Unless, of course, you're working with NT)\| burp in the butt. --MegaHAL
------------------------------
From: [EMAIL PROTECTED] (ljb)
Subject: Re: Help on inittab file ...
Date: 9 May 2000 00:59:03 GMT
[EMAIL PROTECTED] wrote:
>On 8 May 2000 01:37:45 GMT, [EMAIL PROTECTED] (ljb) wrote:
>
>>>I noticed they appear in my 'ps -aux' list like this (line might be
>>>truncated):
>>>root 429 0.0 1.2 1060 380 tty1 S May07 0:00
>>>/sbin/mingetty tty1
>>>
>>>What is the purpose of all this? Why are there 6 of these started, and
>>>what is their task??
>>
>>They run to let you log in on the virtual consoles (tty1-tty6) which
>>are accessed via alt-F1 through alt-F6.
>
>Is it safe to only start 1 or 2 of them? I hardly ever log in on the
>console, and when I do I'm not using more than two logins at the same
>time using virtual consoles.
>It will not limit in any way my ability to login over a network
>connection?
Sure, run how ever many you like. A typical Slackware setup runs
only 1 when using an XDM login; I changed it to keep 2. It has
no affect on network logins.
------------------------------
** 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
******************************