Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: xload
       [not found]   ` <michal@ellpspace.math.ualberta.ca>
@ 1996-12-26  4:38     ` Bryan W. Headley
  1996-12-30  9:16     ` Troubles with X and S3 Zarmfab Software Development
                       ` (4 subsequent siblings)
  5 siblings, 0 replies; 38+ messages in thread
From: Bryan W. Headley @ 1996-12-26  4:38 UTC (permalink / raw)


On Dec 25,  7:32pm, Michal Jaegermann wrote:
> Subject: xload
> This utility is used by various sample desktop configuration files
> but is nowhere in sight.  Even worse, even sources - which used to
> reside on tsx-11.mit.edu disappeared. :-)  To be fair, you could
> have possibly problems in compilation as they used to hack directly
> a kernel space.
>
> To remedy the problem I put xload-1.36p.tar.gz on sunsite.unc.edu
> and two rpm archives (xload-1.36p-0.src.rpm, xload-1.36p-0.axp.rpm)
> on ftp.redhat.com.  They are modified to read /proc/loadavg.
> xload-1.36p-0.axp.rpm is compiled for axp/ELF.  Use spec file
> from xload-1.36p-0.src.rpm and rpm to recompile this on other
> Linux platforms.
>
>   Have fun,
>   Michal

It's in the procps package now.

-- 
Bryan W. Headley                    Home:   bheadley@interaccess.com
211 East Pineview Drive             Office: bwh@abnamro.com
Round Lake Park, IL 60073           Phone:  847 740-1446

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Troubles with X and S3
       [not found]   ` <michal@ellpspace.math.ualberta.ca>
  1996-12-26  4:38     ` xload Bryan W. Headley
@ 1996-12-30  9:16     ` Zarmfab Software Development
  1997-05-09  6:41     ` Alpha Perl POSIX bug? Zarmfab Software Development
                       ` (3 subsequent siblings)
  5 siblings, 0 replies; 38+ messages in thread
From: Zarmfab Software Development @ 1996-12-30  9:16 UTC (permalink / raw)


On Dec 30,  1:07am, Michal Jaegermann wrote:
> Subject: Troubles with X and S3
>
> I tried the current 3.2 server from ftp.xfree86.org.  This one totally
> locks the machine.  No video, no mouse, no keyboard.  It is good that
> a power switch still works. :-)  Does anybody has any info/suggestions
> in that area?
>
No info or the like, but something similar happpens at my 
avanti box ( PCI S3 Card ). The 3.2 X server starts up, but locks the 
machine after some seconds, nothing written to the logs.

I installed all the XFree Rpm's from the redhat devel tree. X-applications
are working nice, if displayed at another X-terminal.

-- 
Martin Cornelius, ZARMFAB software development, University of Bremen
phone: 49-421-218-4807    FAX: 49-421-218-3889
email: fabsoft@zarm.uni-bremen.de
paper-mail: Hochschulring / Am Fallturm, 28359 BREMEN, Germany

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Alpha Perl POSIX bug?
       [not found]   ` <michal@ellpspace.math.ualberta.ca>
  1996-12-26  4:38     ` xload Bryan W. Headley
  1996-12-30  9:16     ` Troubles with X and S3 Zarmfab Software Development
@ 1997-05-09  6:41     ` Zarmfab Software Development
  1997-12-01  6:13     ` Printer port problem!? Bryan W. Headley
                       ` (2 subsequent siblings)
  5 siblings, 0 replies; 38+ messages in thread
From: Zarmfab Software Development @ 1997-05-09  6:41 UTC (permalink / raw)


Hmm, at my alpha-box with perl 5.00322 recompiled against glibc-2, the
output of :

$> perl -MPOSIX -e 'print strftime("%Y%M%D",localtime), "\n"'

is

19973705/09/97

is this correct ?

-- 
Martin Cornelius, ZARMFAB software development, University of Bremen
phone: 49-421-218-4807    FAX: 49-421-218-3889
email: fabsoft@zarm.uni-bremen.de
paper-mail: Hochschulring / Am Fallturm, 28359 BREMEN, Germany

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Printer port problem!?
       [not found]   ` <michal@ellpspace.math.ualberta.ca>
                       ` (2 preceding siblings ...)
  1997-05-09  6:41     ` Alpha Perl POSIX bug? Zarmfab Software Development
@ 1997-12-01  6:13     ` Bryan W. Headley
  1998-01-18 23:23     ` Is it possible: 32 bit env and also Wine/Alpha jhohertz
  1999-05-19  9:51     ` Converting time (since 01-01-1970) to Epoch Franco Tassone
  5 siblings, 0 replies; 38+ messages in thread
From: Bryan W. Headley @ 1997-12-01  6:13 UTC (permalink / raw)


On Nov 30,  9:43pm, Michal Jaegermann wrote:
> Subject: Re: Printer port problem!?
> >
> > Another
> > invocation of lpr/lps status indicates another item sent to the spooler,
> > and nothing printed.
>
> Whenever you have problems with an installation of a new printer
> there are two things to check, from a root account,  in case of problems:
>
>   1) Sanity.  Does the following
>          echo -e "this is a printer test\r\f" > /dev/lp0
>      causes any action on your printer?  Maybe it is connected
>      to another port like /dev/lp1?  If yes then your /etc/printcap
>      has to be modified accordingly.  If none of ports works then
>      likely your kernel does not support a parallel printer
>      (integrated or the module is not loaded).
>
>   2) Errors.  Do you have any error output in your log files
>     (/var/log/messages)?  Maybe a filter declared in your /etc/printcap
>     does not exist or is not marked as executable?  This will cause
>     effects you are seeing.
>
> After these two points are addressed then nearly always your printer
> starts to print.  Remaining cases are probably bugs in a software
> (like an infamous mistake with an Intel binary on 4.2 distribution CD
> for Alpha :-).
>
> Small patches to lpd for Alpha were posted but likely you are not
> affected at this moment.

*Bing* But the lpr was an intel binary by mistake! Of course, it'd core in a
hurry :-)

-- 
Bryan W. Headley                    Home:   bheadley@interaccess.com
211 East Pineview Drive             Office: bryan.headley@abnamro.com
Round Lake Park, IL 60073           Phone:  847 740-1446

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Is it possible: 32 bit env and also Wine/Alpha
       [not found]   ` <michal@ellpspace.math.ualberta.ca>
                       ` (3 preceding siblings ...)
  1997-12-01  6:13     ` Printer port problem!? Bryan W. Headley
@ 1998-01-18 23:23     ` jhohertz
  1999-05-19  9:51     ` Converting time (since 01-01-1970) to Epoch Franco Tassone
  5 siblings, 0 replies; 38+ messages in thread
From: jhohertz @ 1998-01-18 23:23 UTC (permalink / raw)


On Jan 17,  1:52pm, Michal Jaegermann wrote:
> Subject: Re: Is it possible: 32 bit env and also Wine/Alpha
> >
> >   2) Wine/Alpha - run Alpha NT binaries under Linux.
> >      including:
> >        a) FX!32
> >        b) Device drivers??
>
> Ahem!  If you are looking for a project somewhat in this direction
> than pouring efforts into making em86 more like FX!32 would likely
> be a good idea.  Jim Paradis clearly hinted that he would not mind if
> somebody else would pick up a torch.  Likely this is more doable as well
> (and will get you programs compiled in 32-bit environment too :-).

I'd agree that'd be the better way to go. Make it so you can run wine-ix86
well, and run the windoze-ix86 programs. See.... my point is you could get it
going the other way, and run what Alpha binaries? Besides FX!32? :)

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Converting time (since 01-01-1970) to Epoch
@ 1999-05-18 12:20 Franco Tassone
  1999-05-18 16:13 ` Michal Jaegermann
  0 siblings, 1 reply; 38+ messages in thread
From: Franco Tassone @ 1999-05-18 12:20 UTC (permalink / raw)
  To: axp-list

Sorry, this is a little bit off-topic, but ...
I'm porting some softwares running on SGI platform Irix 6.2 to AlphaLinux,
and I've got a uncredible problem:
SGI runs on time rapresentation a seconds size 01-01-1970, and I've to
convert various data files for Epoch's date rapresentation, as in Linux.
Does anybody can help me in doing this, please ?
Thanks in advance.
-------------------------------------------------------------
 Franco Tassone                       Tel: +39-085-4510954
 RGNetWork Internet Service Provider  Fax: +39-085-64070
 Via G. D'Annunzio, 162               e-mail: admin@rgn.it
 65127 PESCARA (ITALY)                URL: http://www.rgn.it
-------------------------------------------------------------


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Converting time (since 01-01-1970) to Epoch
  1999-05-18 12:20 Converting time (since 01-01-1970) to Epoch Franco Tassone
@ 1999-05-18 16:13 ` Michal Jaegermann
       [not found]   ` <michal@ellpspace.math.ualberta.ca>
  0 siblings, 1 reply; 38+ messages in thread
From: Michal Jaegermann @ 1999-05-18 16:13 UTC (permalink / raw)
  To: axp-list; +Cc: admin

Franco Tassone wrote:
> 
> SGI runs on time rapresentation a seconds size 01-01-1970, and I've to
> convert various data files for Epoch's date rapresentation, as in Linux.

Every Unix (and Linux) machine starts its epoch for time keeping
at that date.  Watch this:

perl -e 'print scalar gmtime 0, "\n";'
Thu Jan  1 00:00:00 1970

> Does anybody can help me in doing this, please ?

What is really the problem?


   Michal


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Converting time (since 01-01-1970) to Epoch
  1999-05-19  9:51     ` Converting time (since 01-01-1970) to Epoch Franco Tassone
@ 1999-05-19  9:23       ` Dr . David Alan Gilbert
  1999-05-19  9:33       ` Phil Carmody
  1999-05-20  4:06       ` Huw Davies
  2 siblings, 0 replies; 38+ messages in thread
From: Dr . David Alan Gilbert @ 1999-05-19  9:23 UTC (permalink / raw)
  To: axp-list

At 09:51 19/05/99 +0000, Franco Tassone wrote:

>I have a binary file with record fixed lenght, it has been written on an SGI
>box (Irix 6.2) using the following structure:
>
>(/usr/include/rpcsvc/rusers.h)
>
>struct rusers_utmp {
>	char    ut_line[8];             /* tty name */
>	char    ut_name[8];             /* user id */
>	char    ut_host[16];            /* host name, if remote */
>	long    ut_time;                /* time on */
>};
>
>For the SGI box, sizeof(long) = 4.
>
>
>So I've converted the file, rewriting all the records on an Alpha-Linux box
>(kernel 2.2.7) using the following structure:
>
>(/usr/include/rpcsvc/rusers.h)
>
>struct ru_utmp {
>        char    ut_line[8];             /* tty name */
>        char    ut_name[8];             /* user id */
>        char    ut_host[16];            /* host name, if remote */
>        long    ut_time;                /* time on */
>};
>
>For Alpha-Linux box, sizeof(long) = 8.
>My conversion program does only a field's level assignments, and rewrites the
>new file, due to different sizeof(long).
>The resulting dates (ut_time in ru_utmp) are all garbled.
>Any ideas ?


I suggest the problem is not length; but is actually an endian problem.
SGI's are big endian (i.e. the first byte is the most significant), where as
Linux/Alpha runs as little endian (i.e. the first byte is the least
significant).

I'd have something like:

struct fromsgi_rusers {
  char ut_line[8];
  char ut_name[8];
  char ut_host[16];
  char ut_time_hack[4];
}

use that to read it in and then make:

myru_utmp.ut_time=fromsg.ut_time_hack[3] | (fromsg.ut_time_hack[2]<<8) .....

Dave




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Converting time (since 01-01-1970) to Epoch
  1999-05-19  9:51     ` Converting time (since 01-01-1970) to Epoch Franco Tassone
  1999-05-19  9:23       ` Dr . David Alan Gilbert
@ 1999-05-19  9:33       ` Phil Carmody
  1999-05-20  4:06       ` Huw Davies
  2 siblings, 0 replies; 38+ messages in thread
From: Phil Carmody @ 1999-05-19  9:33 UTC (permalink / raw)
  To: axp-list

>>>>> "Franco" == Franco Tassone <franco@dns.rgn.it> writes:
Franco> I have a binary file with record fixed lenght, it has been written on an SGI
Franco> box (Irix 6.2) using the following structure:

Franco> (/usr/include/rpcsvc/rusers.h)

Franco> struct rusers_utmp {
Franco> 	char    ut_line[8];             /* tty name */
Franco> 	char    ut_name[8];             /* user id */
Franco> 	char    ut_host[16];            /* host name, if remote */
Franco> 	long    ut_time;                /* time on */
Franco> };

Franco> For the SGI box, sizeof(long) = 4.


Franco> So I've converted the file, rewriting all the records on an Alpha-Linux box
Franco> (kernel 2.2.7) using the following structure:

Franco> (/usr/include/rpcsvc/rusers.h)

Franco> struct ru_utmp {
Franco>         char    ut_line[8];             /* tty name */
Franco>         char    ut_name[8];             /* user id */
Franco>         char    ut_host[16];            /* host name, if remote */
Franco>         long    ut_time;                /* time on */
Franco> };

Franco> For Alpha-Linux box, sizeof(long) = 8.
Franco> My conversion program does only a field's level assignments, and rewrites the
Franco> new file, due to different sizeof(long).
Franco> The resulting dates (ut_time in ru_utmp) are all garbled.
Franco> Any ideas ?

Any program which uses the above two structures will fail, because they are
the same structure, there is no conversion. 

If you're running on the SGI, then you need to read structs rusers_utmp and
write 
struct rusers_64out {
 	char    ut_line[8];             /* tty name */
 	char    ut_name[8];             /* user id */
 	char    ut_host[16];            /* host name, if remote */
    long    padding;                /* set to zero (the other 32 bits) */
 	long    ut_time;                /* time on (32 bits) */
};

I may have the ut_time and padding in the wrong order - I'm assuming
endianness. 

If your're running on the Alpha, then you need to read
struct rusers_32in {
 	char    ut_line[8];             /* tty name */
 	char    ut_name[8];             /* user id */
 	char    ut_host[16];            /* host name, if remote */
 	int     ut_time;                /* time on (32 bits) */
};
and write structs ru_utmp.


If your program doesn't work, pop up gdb, read in one record, check its
value in the input structure, check it's value in the output structure (erm
you could even use printf to help you do your debugging - blimey!) and
check it's written out to file. When you have it working for _one_ record,
then try the whole file. Learn to use the tools that come with the language
and the system.

Phil


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Converting time (since 01-01-1970) to Epoch
       [not found]   ` <michal@ellpspace.math.ualberta.ca>
                       ` (4 preceding siblings ...)
  1998-01-18 23:23     ` Is it possible: 32 bit env and also Wine/Alpha jhohertz
@ 1999-05-19  9:51     ` Franco Tassone
  1999-05-19  9:23       ` Dr . David Alan Gilbert
                         ` (2 more replies)
  5 siblings, 3 replies; 38+ messages in thread
From: Franco Tassone @ 1999-05-19  9:51 UTC (permalink / raw)
  To: axp-list

On May 18, 10:13am, Michal Jaegermann wrote:
> Every Unix (and Linux) machine starts its epoch for time keeping
> at that date.  Watch this:
>
> perl -e 'print scalar gmtime 0, "\n";'
> Thu Jan  1 00:00:00 1970
>
> > Does anybody can help me in doing this, please ?
>
> What is really the problem?

Perfect, here is the details:

I have a binary file with record fixed lenght, it has been written on an SGI
box (Irix 6.2) using the following structure:

(/usr/include/rpcsvc/rusers.h)

struct rusers_utmp {
	char    ut_line[8];             /* tty name */
	char    ut_name[8];             /* user id */
	char    ut_host[16];            /* host name, if remote */
	long    ut_time;                /* time on */
};

For the SGI box, sizeof(long) = 4.


So I've converted the file, rewriting all the records on an Alpha-Linux box
(kernel 2.2.7) using the following structure:

(/usr/include/rpcsvc/rusers.h)

struct ru_utmp {
        char    ut_line[8];             /* tty name */
        char    ut_name[8];             /* user id */
        char    ut_host[16];            /* host name, if remote */
        long    ut_time;                /* time on */
};

For Alpha-Linux box, sizeof(long) = 8.
My conversion program does only a field's level assignments, and rewrites the
new file, due to different sizeof(long).
The resulting dates (ut_time in ru_utmp) are all garbled.
Any ideas ?

-- 
-------------------------------------------------------------
 Franco Tassone                       Tel: +39-085-4510954
 RGNetWork Internet Service Provider  Fax: +39-085-64070
 Via G. D'Annunzio, 162               e-mail: admin@rgn.it
 65127 PESCARA (ITALY)                URL: http://www.rgn.it
-------------------------------------------------------------


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Converting time (since 01-01-1970) to Epoch
  1999-05-19  9:51     ` Converting time (since 01-01-1970) to Epoch Franco Tassone
  1999-05-19  9:23       ` Dr . David Alan Gilbert
  1999-05-19  9:33       ` Phil Carmody
@ 1999-05-20  4:06       ` Huw Davies
  2 siblings, 0 replies; 38+ messages in thread
From: Huw Davies @ 1999-05-20  4:06 UTC (permalink / raw)
  To: axp-list

At 09:51 19/05/99 +0000, Franco Tassone wrote:

>My conversion program does only a field's level assignments, and rewrites the
>new file, due to different sizeof(long).
>The resulting dates (ut_time in ru_utmp) are all garbled.
>Any ideas ?

SGI boxes are big endian whereas Linux (Intel and Alpha) are little endian.
You will need to rearrange the order of the bytes as you copy them into the
Linux structure.

 Huw Davies                      | e-mail: Huw.Davies@latrobe.edu.au
 Information Technology Services | Phone: +61 3 9479 1550  Fax: +61 3 9479
1999
 La Trobe University             | "If God had wanted soccer played in the
 Melbourne Australia 3083        | air, the sky would be painted green"


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Linux 2.4.18 vs. alphas with symbios SCSI cards
@ 2002-03-24  6:17 Stephen Williams
  2002-03-24 16:51 ` Michal Jaegermann
  0 siblings, 1 reply; 38+ messages in thread
From: Stephen Williams @ 2002-03-24  6:17 UTC (permalink / raw)
  To: axp-list

After my recent calamity with a power failure, I have suspicions that
part of the reason I lost the /usr partition was the 2.4.18 kernel I
was running. In particular, I found that fsck under 2.4.18 seems to
manufacture more errors then really existed. It wound up trashing the
/usr partition, which was relatively large.

I come to this conclusion from some trial and error. I was able to
patch the remains of /usr back together with fsck under the RedHat
2.4.3-12 kernel, even when fsck under 2.4.18 was giving unreasonable
errors. (I killed the fsck when it started looking really bad.)

One significant difference is that the 2.4.18 kernel has a new driver
for the Symbios SCSI controller (I have an Intraserver card, which is
based on the chipset) but since it ran for a reasonably long time before
the crash without troubles, I doubt that. (The crash was caused by a
power failure.)

So I'm wondering if there is something specific to fsck's requirements
that is causing the stock 2.4.18 kernel to exhibit a bug. It's all
pretty subtle, I'm not even certain its real, but I haven't seen any
error accessing the disk, just broken contents, especially after an
fsck gone wrong.

So I guess I'm wondering if there are any known problems with the
2.4.18 kernel on alpha and the symbios driver therein.

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

abuse@xo.com
uce@ftc.gov





^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-24  6:17 Linux 2.4.18 vs. alphas with symbios SCSI cards Stephen Williams
@ 2002-03-24 16:51 ` Michal Jaegermann
  0 siblings, 0 replies; 38+ messages in thread
From: Michal Jaegermann @ 2002-03-24 16:51 UTC (permalink / raw)
  To: axp-list

On Sat, Mar 23, 2002 at 10:17:26PM -0800, Stephen Williams wrote:
> 
> I come to this conclusion from some trial and error. I was able to
> patch the remains of /usr back together with fsck under the RedHat
> 2.4.3-12 kernel,

To be sure fsck is not a part a kernel.

> One significant difference is that the 2.4.18 kernel has a new driver
> for the Symbios SCSI controller

It is not likely that your problems lie there.  I was testing this
driver (sym2) for quite a while both on Alpha and Intel and neither
I have any complaints nor I recall any other reports of failure.  You
have a Google provided interface to linux-kernel archives and you can
quickly check that yourself.

IDE code could be a more likely candidate here but you are not using
that.

> So I'm wondering if there is something specific to fsck's requirements
> that is causing the stock 2.4.18 kernel to exhibit a bug.

There are "Current Minimal Requirements" on some elements of a user
space listed in Documenation/Changes of your kernel sources.  I assume
that all these are satisfied in your case?  They differ with kernel
versions.

> It's all
> pretty subtle, I'm not even certain its real, but I haven't seen any
> error accessing the disk, just broken contents, especially after an
> fsck gone wrong.

Although ext2 is pretty robust there are no guarantees that a file
system will survive a power failure or other similar violent incidents.
Incidents like that do happen.  Even journaling does not gives you
absolute certainity (and may have other "interesting" failure modes on
its own :-).  Yes, really messed up file system is not a pretty sight.

  Michal




^ permalink raw reply	[flat|nested] 38+ messages in thread

* RE: Linux 2.4.18 vs. alphas with symbios SCSI cards
@ 2002-03-25 12:45 Heid Oliver
  2002-03-25 14:56 ` Michal Jaegermann
  0 siblings, 1 reply; 38+ messages in thread
From: Heid Oliver @ 2002-03-25 12:45 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

I got the impression during recent power failures on two machines
(2.4.19-pre kernels, one
with a qlogic, one with a symbios controller) that fsck from the RH7.1
update e2fsprogs
package (e2fsprogs-1.23 AFAIR) destroyed the filesystems. I now use the
original
e2fsprogs-1.19-5 again, and had no problems so far.
	Oliver

> -----Original Message-----
> From:	Michal Jaegermann [SMTP:michal@ellpspace.math.ualberta.ca]
> Sent:	Sunday, March 24, 2002 5:52 PM
> To:	axp-list@redhat.com
> Subject:	Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
> 
> On Sat, Mar 23, 2002 at 10:17:26PM -0800, Stephen Williams wrote:
> > 
> > I come to this conclusion from some trial and error. I was able to
> > patch the remains of /usr back together with fsck under the RedHat
> > 2.4.3-12 kernel,
> 
> To be sure fsck is not a part a kernel.
> 
> > One significant difference is that the 2.4.18 kernel has a new driver
> > for the Symbios SCSI controller
> 
> It is not likely that your problems lie there.  I was testing this
> driver (sym2) for quite a while both on Alpha and Intel and neither
> I have any complaints nor I recall any other reports of failure.  You
> have a Google provided interface to linux-kernel archives and you can
> quickly check that yourself.
> 
> IDE code could be a more likely candidate here but you are not using
> that.
> 
> > So I'm wondering if there is something specific to fsck's requirements
> > that is causing the stock 2.4.18 kernel to exhibit a bug.
> 
> There are "Current Minimal Requirements" on some elements of a user
> space listed in Documenation/Changes of your kernel sources.  I assume
> that all these are satisfied in your case?  They differ with kernel
> versions.
> 
> > It's all
> > pretty subtle, I'm not even certain its real, but I haven't seen any
> > error accessing the disk, just broken contents, especially after an
> > fsck gone wrong.
> 
> Although ext2 is pretty robust there are no guarantees that a file
> system will survive a power failure or other similar violent incidents.
> Incidents like that do happen.  Even journaling does not gives you
> absolute certainity (and may have other "interesting" failure modes on
> its own :-).  Yes, really messed up file system is not a pretty sight.
> 
>   Michal
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-25 12:45 Linux 2.4.18 vs. alphas with symbios SCSI cards Heid Oliver
@ 2002-03-25 14:56 ` Michal Jaegermann
  2002-03-25 16:20   ` Mathieu MILLET
  0 siblings, 1 reply; 38+ messages in thread
From: Michal Jaegermann @ 2002-03-25 14:56 UTC (permalink / raw)
  To: axp-list

On Mon, Mar 25, 2002 at 01:45:44PM +0100, Heid Oliver wrote:

> I got the impression during recent power failures on two machines
> (2.4.19-pre kernels, one
> with a qlogic, one with a symbios controller) that fsck from the RH7.1
> update e2fsprogs
> package (e2fsprogs-1.23 AFAIR) destroyed the filesystems. I now use the
> original
> e2fsprogs-1.19-5 again, and had no problems so far.

To be sure package from current updates to 7.1 is
e2fsprogs-1.26-1.71.alpha.rpm
If it has some hidden problems or not I do not know.  Did you report
your findings on bugzilla?

If somebody plans to work with ext3 then e2fsprogs-1.19 it is not
enough.

   Michal




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-25 14:56 ` Michal Jaegermann
@ 2002-03-25 16:20   ` Mathieu MILLET
  2002-03-25 16:25     ` Stephen Williams
  2002-03-25 19:49     ` Michal Jaegermann
  0 siblings, 2 replies; 38+ messages in thread
From: Mathieu MILLET @ 2002-03-25 16:20 UTC (permalink / raw)
  To: axp-list

Quoting Michal Jaegermann <michal@ellpspace.math.ualberta.ca>:

> On Mon, Mar 25, 2002 at 01:45:44PM +0100, Heid Oliver wrote:
> 
> > I got the impression during recent power failures on two machines
> > (2.4.19-pre kernels, one
> > with a qlogic, one with a symbios controller) that fsck from the
> RH7.1
> > update e2fsprogs
> > package (e2fsprogs-1.23 AFAIR) destroyed the filesystems. I now use
> the
> > original
> > e2fsprogs-1.19-5 again, and had no problems so far.
> 
> To be sure package from current updates to 7.1 is
> e2fsprogs-1.26-1.71.alpha.rpm
> If it has some hidden problems or not I do not know.  Did you report
> your findings on bugzilla?
> 
> If somebody plans to work with ext3 then e2fsprogs-1.19 it is not
> enough.
> 
>    Michal

    Hi everyone,

I can confirm that there is a problem with e2fsprogs from RH7.1 updates.

I get a power failure. e2fsck couldn't fix 20 GB partitions formatted in ext3
but mounted for now in ext2 (it ends up with a segfault).

I decided to delete and recreate these partitions. Now mke2fs complains with
this error when I try format with the options -c and/or -j :

--
mke2fs: Attempt to write block from filesystem resulted in short write zeroing
block xxxxxx at end of filesystem
----
is xxxxxx relevant to you ?

I tried with partition size of 10 and 20 GB.

My kernel is 2.4.17. My box is based on a AlphaPC 164LX. My harddrive is an IBM
IDE 60 GB drive.

Thanks in advance for any help.

Sincerely yours, Mathieu.

--
Mathieu MILLET
mailto:htam@nerim.net
----




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-25 16:20   ` Mathieu MILLET
@ 2002-03-25 16:25     ` Stephen Williams
  2002-03-25 16:45       ` Mathieu MILLET
  2002-03-25 19:49     ` Michal Jaegermann
  1 sibling, 1 reply; 38+ messages in thread
From: Stephen Williams @ 2002-03-25 16:25 UTC (permalink / raw)
  To: axp-list

htam@nerim.net said:
> mke2fs: Attempt to write block from filesystem resulted in short write
> zeroing block xxxxxx at end of filesystem 

I saw exactly that error when running non-RedHat kernels. When I
booted a RedHat kernel, it worked fine.
-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

abuse@xo.com
uce@ftc.gov





^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-25 16:25     ` Stephen Williams
@ 2002-03-25 16:45       ` Mathieu MILLET
  0 siblings, 0 replies; 38+ messages in thread
From: Mathieu MILLET @ 2002-03-25 16:45 UTC (permalink / raw)
  To: axp-list

Quoting Stephen Williams <steve@icarus.com>:
> 
> htam@nerim.net said:
> > mke2fs: Attempt to write block from filesystem resulted in short write
> > zeroing block xxxxxx at end of filesystem 
> 
> I saw exactly that error when running non-RedHat kernels. When I
> booted a RedHat kernel, it worked fine.

Thanks.

Could you manage to create ext3 partitions with stock RedHat kernels and then
booting a non-RH kernel, manage to mount these partitions in ext3 ? (I don't
want to redo this last experience by using an non-journalized filesystem).

Thanks in advance for your help, Mathieu.

--
Mathieu MILLET
mailto:htam@nerim.net
----




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-25 16:20   ` Mathieu MILLET
  2002-03-25 16:25     ` Stephen Williams
@ 2002-03-25 19:49     ` Michal Jaegermann
  2002-03-25 19:59       ` Stephen Williams
  2002-03-25 20:16       ` Stephen Williams
  1 sibling, 2 replies; 38+ messages in thread
From: Michal Jaegermann @ 2002-03-25 19:49 UTC (permalink / raw)
  To: axp-list

On Mon, Mar 25, 2002 at 05:20:36PM +0100, Mathieu MILLET wrote:
> 
> I can confirm that there is a problem with e2fsprogs from RH7.1 updates.

So again - was this reported on bugzilla?

On http://e2fsprogs.sourceforge.net/ from March 8th there is a release
1.27 of e2fsprogs made, among other things, to fix bugs which affect
mips and Alpha.  I do not know if these fixes were incorporated in the
latest version from updates.

> --
> mke2fs: Attempt to write block from filesystem resulted in short write zeroing
> block xxxxxx at end of filesystem
> ----
> is xxxxxx relevant to you ?

This sounds like a problem with an access to the last block if a number
of blocks on a disk is odd.  That likely would be a kernel fault and not
a trouble with mke2fs.

   Michal




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-25 19:49     ` Michal Jaegermann
@ 2002-03-25 19:59       ` Stephen Williams
  2002-03-25 20:16       ` Stephen Williams
  1 sibling, 0 replies; 38+ messages in thread
From: Stephen Williams @ 2002-03-25 19:59 UTC (permalink / raw)
  To: axp-list

> --
> mke2fs: Attempt to write block from filesystem resulted in short write zeroing
> block xxxxxx at end of filesystem
> ----


michal@ellpspace.math.ualberta.ca said:
> This sounds like a problem with an access to the last block if a
> number of blocks on a disk is odd.  That likely would be a kernel
> fault and not a trouble with mke2fs.

And the 2.4.18 kernel suffers from this fault.
-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

abuse@xo.com
uce@ftc.gov





^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-25 19:49     ` Michal Jaegermann
  2002-03-25 19:59       ` Stephen Williams
@ 2002-03-25 20:16       ` Stephen Williams
  1 sibling, 0 replies; 38+ messages in thread
From: Stephen Williams @ 2002-03-25 20:16 UTC (permalink / raw)
  To: axp-list

michal@ellpspace.math.ualberta.ca said:
> So again - was this reported on bugzilla? 

Would love to, but I'm not getting a password from the server.
-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

abuse@xo.com
uce@ftc.gov





^ permalink raw reply	[flat|nested] 38+ messages in thread

* new stock symbol: HPQ
@ 2002-05-02 19:37 Robert M. Riches Jr.
  2002-05-02 19:41 ` Peter Petrakis
  0 siblings, 1 reply; 38+ messages in thread
From: Robert M. Riches Jr. @ 2002-05-02 19:37 UTC (permalink / raw)
  To: axp-list

According to the business pages, the new post-merge stock
symbol for Hewlett Packard (and the bought-out Compaq) will
be HPQ.  I hope they don't try to pronounce it to rhyme
with the syrup used to treat accidental ingestion of poisons
by children.  :-)  :-)

Robert Riches
richesr1@inetarena.com




^ permalink raw reply	[flat|nested] 38+ messages in thread

* RE: new stock symbol: HPQ
  2002-05-02 19:37 new stock symbol: HPQ Robert M. Riches Jr.
@ 2002-05-02 19:41 ` Peter Petrakis
  2002-05-02 20:46   ` dp264 disk or raid problem Mark Hansel
  0 siblings, 1 reply; 38+ messages in thread
From: Peter Petrakis @ 2002-05-02 19:41 UTC (permalink / raw)
  To: axp-list

Hiqcup? 

;-)

Peter
--
www.linuxalpha.org	www.alphadriven.org
Peter Petrakis         Warrior/Engineer        voodoo@alphadriven.org
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."


> -----Original Message-----
> From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com]On
> Behalf Of Robert M. Riches Jr.
> Sent: Thursday, May 02, 2002 3:38 PM
> To: axp-list@redhat.com
> Subject: new stock symbol: HPQ
> 
> 
> According to the business pages, the new post-merge stock
> symbol for Hewlett Packard (and the bought-out Compaq) will
> be HPQ.  I hope they don't try to pronounce it to rhyme
> with the syrup used to treat accidental ingestion of poisons
> by children.  :-)  :-)
> 
> Robert Riches
> richesr1@inetarena.com
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 




^ permalink raw reply	[flat|nested] 38+ messages in thread

* dp264 disk or raid problem
  2002-05-02 19:41 ` Peter Petrakis
@ 2002-05-02 20:46   ` Mark Hansel
  2002-05-02 21:22     ` Bob Lindell
  2002-05-02 21:29     ` Peter Petrakis
  0 siblings, 2 replies; 38+ messages in thread
From: Mark Hansel @ 2002-05-02 20:46 UTC (permalink / raw)
  To: axp-list

The machine crashed with no relevant log entries and came up with a failed
file system check. The failure occured on a large raid partition. fsck
produced endless errors (after 1 hour, I decided to remake the file system
and restore from backup). I think these are the most important efforts:

	mke2fs with bad block check: no bad blocks, short write near end 
	of fs (18 blocks from the end).

	power up disks individually to detect a bad disk (crunches or 
	vibrations). Nothing abnormal sounding or feeling.

	install new cable / terminator. Same symptoms.

	make the partition returning errors shorter. Result is a short
	write, again near the end (not recorded, so I'm not sure it was 18 
	blocks this time). Tried successively smaller partitions 3 times
	with the same results.

	zero the partition (dd) and try making the file system, with
	bad block checks. Same result.

The RAID controller is an ICP-VORTEX (gdth driver), configured as raid 5,
128MB memory. (The system disk is on a separate -non-raid scsi
controller.)

While I'm no hardware expert, I'm no novice (I also had a more
knowledgible advanced student -- assistant to out systems administrator--
looking over my shoulder and making suggestions). I think I've eliminated
cabling and termination issues. I can mount and list the contents of
smaller partititons on the raid array and the disks make no strange
noises, thus I think the drives are physically OK.  This begins to look
to me like a controller failure.

Is there a definitive test for the raid controller? Should I look 
elsewhere?

Thank you.

-- 
Mark Hansel
PO Box 41
Minnesota State University Moorhead
Moorhead, MN 56563
ph: 218-236-2039 fax: 218-236-2593
hansel@mnstate.edu
http://wwwcj.mnstate.edu







^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: dp264 disk or raid problem
  2002-05-02 20:46   ` dp264 disk or raid problem Mark Hansel
@ 2002-05-02 21:22     ` Bob Lindell
  2002-05-02 21:29     ` Peter Petrakis
  1 sibling, 0 replies; 38+ messages in thread
From: Bob Lindell @ 2002-05-02 21:22 UTC (permalink / raw)
  To: axp-list

> 	mke2fs with bad block check: no bad blocks, short write near end 
> 	of fs (18 blocks from the end).

I see the short read/write near the end of fs when using a vanilla
2.4.18 kernel.  This occurred with both an IDE and SCSI based PC164
box.  Does someone knows if there is a patch for this problem?

I'm going to build a 2.4.18-26 Redhat patched
kernel to see if it is fixed in their flurry of patches.

Bob




^ permalink raw reply	[flat|nested] 38+ messages in thread

* RE: dp264 disk or raid problem
  2002-05-02 20:46   ` dp264 disk or raid problem Mark Hansel
  2002-05-02 21:22     ` Bob Lindell
@ 2002-05-02 21:29     ` Peter Petrakis
  2002-05-06 22:30       ` dp264 disk or raid problem (Solved) Mark Hansel
  1 sibling, 1 reply; 38+ messages in thread
From: Peter Petrakis @ 2002-05-02 21:29 UTC (permalink / raw)
  To: axp-list

OK.

You've done quite an exhaustive job ruling out possible failure. Salute :-)

> The RAID controller is an ICP-VORTEX (gdth driver), configured as raid 5,
> 128MB memory. (The system disk is on a separate -non-raid scsi
> controller.)

I am an EXPERT with the ICP-VORTEX on Alpha :-).  The cache ram is ECC? 
When they first shipped their Ultra160 SCSI/RAID they came with regular
PC100 though the can take advantage of ECC as well.
 
> noises, thus I think the drives are physically OK.  This begins to look
> to me like a controller failure.
>
>
> Is there a definitive test for the raid controller? Should I look 
> elsewhere?
 
Run the 'icpcon' utility in Linux and look at the logs. It must have
recorded something. There are a few tests in there that you
can run 'and' you can monitor the disks behavior in real time. 

http://www.vortex.de/ftp/download/linux/icpcona-1.06.gz

If when you run the icpcon utility it says 'cant find controller' 
let me know and I'll send you my updated driver that maps the card 
properly on Alpha.

For the record I've taken these cards to hell and back again in my 
hardware qualification runs and the 'only' time it would fail was
when it exposed flaws in the kernel, little things like interrupt
starvation :-). 

Regarding Bob Lindell's post. He makes a very good point. All of my
work was done under 2.4.12 (if I remember correctly, the DB that used to
house this information at API is no longer in service). So if you want
to use a known good test kernel, that would be a good start. Good luck
and let me know how you progress. 

Peter
--
www.linuxalpha.org	www.alphadriven.org
Peter Petrakis         Warrior/Engineer        voodoo@alphadriven.org
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."




^ permalink raw reply	[flat|nested] 38+ messages in thread

* 2.4.18-0.26a kernel RPMS
@ 2002-05-03 21:29 Bob Lindell
  2002-05-03 22:35 ` Michal Jaegermann
  2002-05-03 23:25 ` Michal Jaegermann
  0 siblings, 2 replies; 38+ messages in thread
From: Bob Lindell @ 2002-05-03 21:29 UTC (permalink / raw)
  To: axp-list

I've patched, compiled, and built 2.4.18-0.26a kernel RPMS for the
alpha.  This is based on the 2.4.18-0.26 kernel from the RedHat rawhide
distribution.  A small patch includes back ports of some functions from
the 2.5 kernel to get it to compile.

Seems to running fine on my PC164 IDE and SCSI systems.  There are a few
modules with undefined symbols that I did not attempt to fix.  See below.

The r/w near the end of the filesystem is still present.  It is also
reproducible on my x86 machine running the same kernel.  The problem
seems to be sectors that are at the end of the disk that are less than
a multiple of the ext2 block size.  For example, on a filesystem with
4K blocks, the last 7, 512 byte sectors may not be readable.  This has
not caused any filesystem corruption problems for me to date, but
mke2fs doesn't like it.  I have to use a 2.2.19 kernel to make new
partitions on a disk.

See http://www.isi.edu/~lindell/linux/RPMS/ for both source and binary RPMS.

Bob

depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/drivers/char/
drm/sis.o
depmod:         sis_malloc_Ra3329ed5
depmod:         sis_free_Rced25333
depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/drivers/video
/pm3fb.o
depmod:         fbgen_switch
depmod:         fbgen_get_var
depmod:         fbgen_get_cmap
depmod:         fbgen_set_disp
depmod:         fbgen_pan_display
depmod:         fbgen_get_fix
depmod:         fbgen_install_cmap
depmod:         fbgen_update_var
depmod:         fbgen_do_set_var
depmod:         fbgen_blank
depmod:         fbgen_set_cmap
depmod:         fbgen_set_var
depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/net/ipv4/ipvs
/ip_vs.o
depmod:         sys_wait4
depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/net/tux/tux.o
depmod:         sys_wait4




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: 2.4.18-0.26a kernel RPMS
  2002-05-03 21:29 2.4.18-0.26a kernel RPMS Bob Lindell
@ 2002-05-03 22:35 ` Michal Jaegermann
  2002-05-04  5:50   ` Bob Lindell
  2002-05-03 23:25 ` Michal Jaegermann
  1 sibling, 1 reply; 38+ messages in thread
From: Michal Jaegermann @ 2002-05-03 22:35 UTC (permalink / raw)
  To: axp-list

On Fri, May 03, 2002 at 02:29:31PM -0700, Bob Lindell wrote:
> I've patched, compiled, and built 2.4.18-0.26a kernel RPMS for the
> alpha.  This is based on the 2.4.18-0.26 kernel from the RedHat rawhide
> distribution.
> A small patch includes back ports of some functions from
> the 2.5 kernel to get it to compile.

It would be nice if you would put also on your site this small patch,
or patches, as a separate entity. :-)  

From what I know there is likely few more "details" required.

> depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/drivers/char/
> drm/sis.o
> depmod:         sis_malloc_Ra3329ed5
> depmod:         sis_free_Rced25333

These are referenced by SiS DRM support but provided by SiS900 video
driver so if you put CONFIG_DRM_SIS but not CONFIG_SIS900 then you
will get those.  A configuration bug with apparently no good way to
prevent automatically.  Most likely you do not need any of these but
if you do then bring them in pairs.

> depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/drivers/video
> /pm3fb.o
> depmod:         fbgen_switch
> depmod:         fbgen_get_var
............................

These are provided by a generic frame buffer support (see
drivers/video/fbgen.c) so either something not exported or you have
more configuration troubles.

> depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/net/ipv4/ipvs
> /ip_vs.o
> depmod:         sys_wait4
> depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/net/tux/tux.o
> depmod:         sys_wait4

This is a missing system call.  So either you have messed up
arch/alpha/entry.S (check among other things '#define NR_SYSCALLS' at
the top of this file; it is wrong in many kernels and was really fixed
only in 2.4.19-pre series but you may adjust it yourself) and/or you are
missing 'EXPORT_SYMBOL(sys_wait4);' line in
arch/alpha/kernel/alpha_ksyms.c. 'sys_wait4' should be in entry.S  with
a number 365.

  Michal




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: 2.4.18-0.26a kernel RPMS
  2002-05-03 21:29 2.4.18-0.26a kernel RPMS Bob Lindell
  2002-05-03 22:35 ` Michal Jaegermann
@ 2002-05-03 23:25 ` Michal Jaegermann
  2002-05-04  5:53   ` Bob Lindell
  1 sibling, 1 reply; 38+ messages in thread
From: Michal Jaegermann @ 2002-05-03 23:25 UTC (permalink / raw)
  To: axp-list

On Fri, May 03, 2002 at 02:29:31PM -0700, Bob Lindell wrote:
> drm/sis.o
> depmod:         sis_malloc_Ra3329ed5
> depmod:         sis_free_Rced25333
> depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/drivers/video
> /pm3fb.o
> depmod:         fbgen_switch
....
> depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/net/ipv4/ipvs
> /ip_vs.o
> depmod:         sys_wait4


On the second look it seems that you have a mixture of symbols with and
without versioning information.  Are you sure that you did not change
configurations without properly cleaning leftovers from older
compilation attempts?  Somehow it looks that way.

If this was done with 'rpmbuld -ba ...' then maybe a spec file has
problems?

   Michal




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: 2.4.18-0.26a kernel RPMS
  2002-05-03 22:35 ` Michal Jaegermann
@ 2002-05-04  5:50   ` Bob Lindell
  0 siblings, 0 replies; 38+ messages in thread
From: Bob Lindell @ 2002-05-04  5:50 UTC (permalink / raw)
  To: axp-list

> On Fri, May 03, 2002 at 02:29:31PM -0700, Bob Lindell wrote:
> > I've patched, compiled, and built 2.4.18-0.26a kernel RPMS for the
> > alpha.  This is based on the 2.4.18-0.26 kernel from the RedHat rawhide
> > distribution.
> > A small patch includes back ports of some functions from
> > the 2.5 kernel to get it to compile.
> 
> It would be nice if you would put also on your site this small patch,
> or patches, as a separate entity. :-)  

done.

> 
> >From what I know there is likely few more "details" required.
> 
> > depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/drivers/
> char/
> > drm/sis.o
> > depmod:         sis_malloc_Ra3329ed5
> > depmod:         sis_free_Rced25333
> 
> These are referenced by SiS DRM support but provided by SiS900 video
> driver so if you put CONFIG_DRM_SIS but not CONFIG_SIS900 then you
> will get those.  A configuration bug with apparently no good way to
> prevent automatically.  Most likely you do not need any of these but
> if you do then bring them in pairs.

I used the config file from Redhat.  It may be out of date for the
alpha on the SIS.

(mic:9) fgrep -i sis kernel-2.4.18-i686.config kernel-2.4.18-alpha.config 
kernel-2.4.18-i686.config:CONFIG_SIS900=m
kernel-2.4.18-i686.config:CONFIG_SIS900_OLD=m
kernel-2.4.18-i686.config:CONFIG_TMSISA=m
kernel-2.4.18-i686.config:CONFIG_I2C_SIS5595=m
kernel-2.4.18-i686.config:CONFIG_SENSORS_SIS5595=m
kernel-2.4.18-i686.config:CONFIG_AGP_SIS=y
kernel-2.4.18-i686.config:CONFIG_DRM_SIS=m
kernel-2.4.18-i686.config:# CONFIG_DRM41_SIS is not set
kernel-2.4.18-i686.config:CONFIG_FB_SIS=m
kernel-2.4.18-i686.config:CONFIG_FB_SIS_300=y
kernel-2.4.18-i686.config:CONFIG_FB_SIS_315=y
kernel-2.4.18-i686.config:CONFIG_BLK_DEV_SIS5513=y
kernel-2.4.18-i686.config:CONFIG_FB_SIS=m
kernel-2.4.18-alpha.config:CONFIG_SIS900=m
kernel-2.4.18-alpha.config:CONFIG_SIS900_OLD=m
kernel-2.4.18-alpha.config:CONFIG_TMSISA=m
kernel-2.4.18-alpha.config:CONFIG_I2C_SIS5595=m
kernel-2.4.18-alpha.config:CONFIG_SENSORS_SIS5595=m
kernel-2.4.18-alpha.config:CONFIG_AGP_SIS=y
kernel-2.4.18-alpha.config:CONFIG_DRM_SIS=m
kernel-2.4.18-alpha.config:# CONFIG_DRM41_SIS is not set
kernel-2.4.18-alpha.config:# CONFIG_FB_SIS is not set
kernel-2.4.18-alpha.config:CONFIG_FB_SIS_300=y
kernel-2.4.18-alpha.config:CONFIG_FB_SIS_315=y
kernel-2.4.18-alpha.config:CONFIG_BLK_DEV_SIS5513=y

Based on this diff, looks like CONFIG_FB_SIS maybe should be set on
the alpha config.

> 
> > depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/drivers/
> video
> > /pm3fb.o
> > depmod:         fbgen_switch
> > depmod:         fbgen_get_var
> ............................
> 
> These are provided by a generic frame buffer support (see
> drivers/video/fbgen.c) so either something not exported or you have
> more configuration troubles.
> 
> > depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/net/ipv4
> /ipvs
> > /ip_vs.o
> > depmod:         sys_wait4
> > depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/net/tux/
> tux.o
> > depmod:         sys_wait4
> 
> This is a missing system call.  So either you have messed up
> arch/alpha/entry.S (check among other things '#define NR_SYSCALLS' at
> the top of this file; it is wrong in many kernels and was really fixed
> only in 2.4.19-pre series but you may adjust it yourself) and/or you are
> missing 'EXPORT_SYMBOL(sys_wait4);' line in
> arch/alpha/kernel/alpha_ksyms.c. 'sys_wait4' should be in entry.S  with
> a number 365.

I suspect these are an include file problem with the symbol versioning.

Thanks for the input!  The big question is should we fix these now,
or roll these fixes into the next build of a rawhide version?

> 
>   Michal
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: 2.4.18-0.26a kernel RPMS
  2002-05-03 23:25 ` Michal Jaegermann
@ 2002-05-04  5:53   ` Bob Lindell
  0 siblings, 0 replies; 38+ messages in thread
From: Bob Lindell @ 2002-05-04  5:53 UTC (permalink / raw)
  To: axp-list

> On Fri, May 03, 2002 at 02:29:31PM -0700, Bob Lindell wrote:
> > drm/sis.o
> > depmod:         sis_malloc_Ra3329ed5
> > depmod:         sis_free_Rced25333
> > depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/drivers/
> video
> > /pm3fb.o
> > depmod:         fbgen_switch
> ....
> > depmod: *** Unresolved symbols in /lib/modules/2.4.18-0.26a/kernel/net/ipv4
> /ipvs
> > /ip_vs.o
> > depmod:         sys_wait4
> 
> 
> On the second look it seems that you have a mixture of symbols with and
> without versioning information.  Are you sure that you did not change
> configurations without properly cleaning leftovers from older
> compilation attempts?  Somehow it looks that way.
> 
> If this was done with 'rpmbuld -ba ...' then maybe a spec file has
> problems?

Yes, it was done with rpm -bb.

> 
>    Michal
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




^ permalink raw reply	[flat|nested] 38+ messages in thread

* RE: dp264 disk or raid problem (Solved)
  2002-05-02 21:29     ` Peter Petrakis
@ 2002-05-06 22:30       ` Mark Hansel
  2002-05-07  1:32         ` Michal Jaegermann
  0 siblings, 1 reply; 38+ messages in thread
From: Mark Hansel @ 2002-05-06 22:30 UTC (permalink / raw)
  To: axp-list

It was suggested I post a brief summary of the problem and the solution.
It turns out to be either a bad e2fsprogs rpm or some undetected
interaction between e2fsprogs and a RAID card not supported by RH. (Short 
message, use 1.27 release of e2fsprogs.)

Late last week, the machine crashed and rebooted with no log entries. It
rebooted with the (repair filesystem) prompt and enough information to
identify the offending partition as one on an ICP-VORTEX Raid5 logical
drive. (The ICP-VORTEX is not supported by RH, hence no aspersion intended
or appropriate.) fsck returend an hour of errors. Giving up on repairs, I
attempted to remake the file system (mke2fs). This failed with "short
write zeroing block) at the end of the file system (18 blocks from the
end). It failed on a shortened partittion (90%, 80%, 50% of original. All
failed at the same block from the end of the partition -- at least the
failure was consistent).

Why the crash and initial errors is a mystery that will remain unsolved.  
The frustrating part is the failure of both e2fsck and mke2fs to do the
right thing.

I did many tests (see earlier post for a partial list), including three
kernel releases, that led me to high confidence that the hardware was
good.

With help from some very generous community members, I verified that the
hardware was probably good and that the problem was software.
Specifically, e2fsprogs-1.26-1.71 did not work properly. 1.27, downloaded,
compiled and installed (over 1.26) worked.

I note that e2fsprogs 1.26 failed on an LX164 with no RAID and garden
variety SCSI hardware. A new cable/terminator was necessary to accomodate
an added drive, but I still needed 1.27 to make the file systems on the
new drive.

-- 
Mark Hansel
PO Box 41
Minnesota State University Moorhead
Moorhead, MN 56563
ph: 218-236-2039 fax: 218-236-2593
hansel@mnstate.edu
http://wwwcj.mnstate.edu





^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: dp264 disk or raid problem (Solved)
  2002-05-06 22:30       ` dp264 disk or raid problem (Solved) Mark Hansel
@ 2002-05-07  1:32         ` Michal Jaegermann
  2002-05-07  1:37           ` 'Bryce'
  2002-05-07  2:13           ` Stephen Williams
  0 siblings, 2 replies; 38+ messages in thread
From: Michal Jaegermann @ 2002-05-07  1:32 UTC (permalink / raw)
  To: axp-list

On Mon, May 06, 2002 at 05:30:22PM -0500, Mark Hansel wrote:
> It was suggested I post a brief summary of the problem and the solution.
> It turns out to be either a bad e2fsprogs rpm or some undetected
> interaction between e2fsprogs and a RAID card not supported by RH. (Short 
> message, use 1.27 release of e2fsprogs.)

As it was mentioned, among other places, on this list already at
the beginning of March version 1.27 was released specifically to
fix bugs affecting mostly Alpha and MIPS. I did not verify if the
latest available update for Alpha has these bugs supposedly fixed
but we have seen already a number of reports of troubles with this
particular version of programs. Why Red Hat did not issue an update
I do not know (Phil?).

It would be nice if somebody with a verified case would file a bug
report on bugzilla (http://bugzilla.redhat.com/bugzilla/).  No reports
may mean no fixes.

> Specifically, e2fsprogs-1.26-1.71 did not work properly. 1.27, downloaded,
> compiled and installed (over 1.26) worked.

If you will run 'rpmbuild -ta e2fsprogs-1.27.tar.gz' then you will end
up with one source and 2 binary rpms "1.27-0" as a spec file is inside.
These will install, obviously, over 1.26 :-).

  Michal




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: dp264 disk or raid problem (Solved)
  2002-05-07  1:32         ` Michal Jaegermann
@ 2002-05-07  1:37           ` 'Bryce'
  2002-05-07  3:29             ` Michal Jaegermann
  2002-05-07  2:13           ` Stephen Williams
  1 sibling, 1 reply; 38+ messages in thread
From: 'Bryce' @ 2002-05-07  1:37 UTC (permalink / raw)
  To: axp-list

Michal Jaegermann wrote:

> On Mon, May 06, 2002 at 05:30:22PM -0500, Mark Hansel wrote:
> > It was suggested I post a brief summary of the problem and the solution.
> > It turns out to be either a bad e2fsprogs rpm or some undetected
> > interaction between e2fsprogs and a RAID card not supported by RH. (Short
> > message, use 1.27 release of e2fsprogs.)
>
> As it was mentioned, among other places, on this list already at
> the beginning of March version 1.27 was released specifically to
> fix bugs affecting mostly Alpha and MIPS. I did not verify if the
> latest available update for Alpha has these bugs supposedly fixed
> but we have seen already a number of reports of troubles with this
> particular version of programs. Why Red Hat did not issue an update
> I do not know (Phil?).

Eh? what? erm got a pointer to the original message with the brief summary
mentioned? I don't remember this being in bugzilla.

> It would be nice if somebody with a verified case would file a bug
> report on bugzilla (http://bugzilla.redhat.com/bugzilla/).  No reports
> may mean no fixes.
>

Correct,.. bugzilla is my central collection point for  'what the heck is
actually broken' Also please remember, I don't have an inexhaustable supply of
HW to check some bugs on

Phil
=--=




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: dp264 disk or raid problem (Solved)
  2002-05-07  1:32         ` Michal Jaegermann
  2002-05-07  1:37           ` 'Bryce'
@ 2002-05-07  2:13           ` Stephen Williams
  2002-05-07  2:40             ` 'Bryce'
  1 sibling, 1 reply; 38+ messages in thread
From: Stephen Williams @ 2002-05-07  2:13 UTC (permalink / raw)
  To: axp-list

michal@ellpspace.math.ualberta.ca said:
> It would be nice if somebody with a verified case would file a bug
> report on bugzilla (http://bugzilla.redhat.com/bugzilla/).  No reports
> may mean no fixes. 

You mean like these?

  <http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=64159>
  <http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=64216>

In particular, 64159 came of the same sequence of events that Mark
Hansel reported, although I found that a kernel change got the
1.26 tools to work somewhat safely, but that leads to:

  <http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62063>
  <http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=54129>
  <http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=51842>

and others.

I've installed an e2fsprogs-1.27 rpm from the Rawhide area, and
I'm still running the 2.4.18 kernel. This machine doesn't reboot
very often, so the combination doesn't get a whole lot of testing
in my case, but so far it seems OK.
-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

abuse@xo.com
uce@ftc.gov





^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: dp264 disk or raid problem (Solved)
  2002-05-07  2:13           ` Stephen Williams
@ 2002-05-07  2:40             ` 'Bryce'
  0 siblings, 0 replies; 38+ messages in thread
From: 'Bryce' @ 2002-05-07  2:40 UTC (permalink / raw)
  To: axp-list

Stephen Williams wrote:

> michal@ellpspace.math.ualberta.ca said:
> > It would be nice if somebody with a verified case would file a bug
> > report on bugzilla (http://bugzilla.redhat.com/bugzilla/).  No reports
> > may mean no fixes.
>
> You mean like these?
>
>   <http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=64159>
>   <http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=64216>
>
> In particular, 64159 came of the same sequence of events that Mark
> Hansel reported, although I found that a kernel change got the
> 1.26 tools to work somewhat safely, but that leads to:
>
>   <http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62063>

>   <http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=54129>
>   <http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=51842>
>
> and others.
>
> I've installed an e2fsprogs-1.27 rpm from the Rawhide area, and
> I'm still running the 2.4.18 kernel. This machine doesn't reboot
> very often, so the combination doesn't get a whole lot of testing
> in my case, but so far it seems OK.
> --
> Steve Williams                "The woods are lovely, dark and deep.
> steve at icarus.com           But I have promises to keep,
> steve at picturel.com         and lines to code before I sleep,
> http://www.picturel.com       And lines to code before I sleep."

ARGHHH!!
Florian never forwarded these over (he left them assigned to himself) and I
see the current errata is only for
e2fsprogs-1.26-1.72
From the changelog I'm going to take a flying leap of faith and believe
that nothing has been done to rectify the previous bug reports

    * Tue Feb 26 2002 Florian La Roche <Florian.LaRoche@redhat.de>
    - feature errata release for Red Hat Linux 7.2
    * Tue Feb 19 2002 Florian La Roche <Florian.LaRoche@redhat.de>
    - update to 1.26

I've sent off email to Florian to see if he has any objections to me
tinkering real fast...

As for the other problems, again assigned to people other than myself so
I've not seen these but two of them look like corner cases and the third...
I dunno where to start apart from what the heck IDE chipset is in the box?

Phil
=--=




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: dp264 disk or raid problem (Solved)
  2002-05-07  3:29             ` Michal Jaegermann
@ 2002-05-07  3:29               ` 'Bryce'
  0 siblings, 0 replies; 38+ messages in thread
From: 'Bryce' @ 2002-05-07  3:29 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Type: text/plain, Size: 710 bytes --]

Michal Jaegermann wrote:

> On Mon, May 06, 2002 at 09:37:59PM -0400, 'Bryce' wrote:
> >
> > Eh? what? erm got a pointer to the original message with the brief summary
> > mentioned?
>
> For example this:
>
> http://groups.google.com/groups?hl=en&threadm=linux.kernel.20020325003159.A2340%40thunk.org&rnum=4&prev=/groups%3Fq%3De2fsprogs-1.27%26meta%3Dsite%253Dgroups
>
> A message from Ted Tso where he says:
>
> "Yeah, I forced the release of e2fsprogs 1.27 because of this, back on
> March 8th.  That was my fault, and I fixed it as soon as I discovered
> it.  (1.26 was released on Feb 3, and I released 1.27 on March 8th)."

Rebuilt for testing, I'll see about getting errata out the door asap

Phil
=--=


[-- Attachment #2: Type: text/html, Size: 1034 bytes --]

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: dp264 disk or raid problem (Solved)
  2002-05-07  1:37           ` 'Bryce'
@ 2002-05-07  3:29             ` Michal Jaegermann
  2002-05-07  3:29               ` 'Bryce'
  0 siblings, 1 reply; 38+ messages in thread
From: Michal Jaegermann @ 2002-05-07  3:29 UTC (permalink / raw)
  To: axp-list

On Mon, May 06, 2002 at 09:37:59PM -0400, 'Bryce' wrote:
> 
> Eh? what? erm got a pointer to the original message with the brief summary
> mentioned?

For example this:

http://groups.google.com/groups?hl=en&threadm=linux.kernel.20020325003159.A2340%40thunk.org&rnum=4&prev=/groups%3Fq%3De2fsprogs-1.27%26meta%3Dsite%253Dgroups

A message from Ted Tso where he says:

"Yeah, I forced the release of e2fsprogs 1.27 because of this, back on
March 8th.  That was my fault, and I fixed it as soon as I discovered
it.  (1.26 was released on Feb 3, and I released 1.27 on March 8th)."

The whole message and its thread, with a subject "Does e2fsprogs-1.26
work on mips?", are consideably longer and explain _what_ is actually
broken; see also a thread "setrlimit and RLIM_INFINITY causing fsck
failure, 2.4.18" from March.

> I don't remember this being in bugzilla.

That very well may be the case.  Troubles with 1.26 were mentioned
few times on this list but you would have to check archives.
This bugs affects some platforms, Alpha in particular, but x86 is
not among them.

> Also please remember, I don't have an inexhaustable supply of
> HW to check some bugs on

Well, then for some problems you have to rely on those who actually
do have the hardware in question.  But in this case this is not
a question of hardware.  As long as your file system is healthy then
things should be ok; some cases of corruption may trigger a catastrophic
failure.

  Michal




^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2002-05-07  3:35 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-25 12:45 Linux 2.4.18 vs. alphas with symbios SCSI cards Heid Oliver
2002-03-25 14:56 ` Michal Jaegermann
2002-03-25 16:20   ` Mathieu MILLET
2002-03-25 16:25     ` Stephen Williams
2002-03-25 16:45       ` Mathieu MILLET
2002-03-25 19:49     ` Michal Jaegermann
2002-03-25 19:59       ` Stephen Williams
2002-03-25 20:16       ` Stephen Williams
  -- strict thread matches above, loose matches on Subject: below --
2002-05-03 21:29 2.4.18-0.26a kernel RPMS Bob Lindell
2002-05-03 22:35 ` Michal Jaegermann
2002-05-04  5:50   ` Bob Lindell
2002-05-03 23:25 ` Michal Jaegermann
2002-05-04  5:53   ` Bob Lindell
2002-05-02 19:37 new stock symbol: HPQ Robert M. Riches Jr.
2002-05-02 19:41 ` Peter Petrakis
2002-05-02 20:46   ` dp264 disk or raid problem Mark Hansel
2002-05-02 21:22     ` Bob Lindell
2002-05-02 21:29     ` Peter Petrakis
2002-05-06 22:30       ` dp264 disk or raid problem (Solved) Mark Hansel
2002-05-07  1:32         ` Michal Jaegermann
2002-05-07  1:37           ` 'Bryce'
2002-05-07  3:29             ` Michal Jaegermann
2002-05-07  3:29               ` 'Bryce'
2002-05-07  2:13           ` Stephen Williams
2002-05-07  2:40             ` 'Bryce'
2002-03-24  6:17 Linux 2.4.18 vs. alphas with symbios SCSI cards Stephen Williams
2002-03-24 16:51 ` Michal Jaegermann
1999-05-18 12:20 Converting time (since 01-01-1970) to Epoch Franco Tassone
1999-05-18 16:13 ` Michal Jaegermann
     [not found]   ` <michal@ellpspace.math.ualberta.ca>
1996-12-26  4:38     ` xload Bryan W. Headley
1996-12-30  9:16     ` Troubles with X and S3 Zarmfab Software Development
1997-05-09  6:41     ` Alpha Perl POSIX bug? Zarmfab Software Development
1997-12-01  6:13     ` Printer port problem!? Bryan W. Headley
1998-01-18 23:23     ` Is it possible: 32 bit env and also Wine/Alpha jhohertz
1999-05-19  9:51     ` Converting time (since 01-01-1970) to Epoch Franco Tassone
1999-05-19  9:23       ` Dr . David Alan Gilbert
1999-05-19  9:33       ` Phil Carmody
1999-05-20  4:06       ` Huw Davies

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox