* AlphaStation info
@ 1996-04-18 3:54 Donnie Barnes
1996-04-18 14:20 ` Jay Estabrook - Alpha Migration Tools - LINUX Project
1996-04-18 18:13 ` bad blocks on SCSI disk with NCR 810 controller :-( Harald Koenig
0 siblings, 2 replies; 6+ messages in thread
From: Donnie Barnes @ 1996-04-18 3:54 UTC (permalink / raw)
Guys...I seem to have found someone with an AlphaStation 200
for sale. It's got DEC Unix (ugh, influences the price some) and
it's a 100mhz model. What's the deal with those boards? Can the
clock be easily upped? I'm not ruling out the possibility of actually
buying a CPU for it if need be, but I'd also be interested in
trying to overclock it (if it really *is* only able to do 100mhz
it isn't worth much anyway :-).
So, a) can the board accept a faster CPU and be clocked up, b)
does anyone have any actual experiences with those boxes and overclocking,
and c) can they run Linux? I think the answer to c) is yes, so I'm
more interested in a) and b). I may be able to get a good deal on
it, so....
Also, anyone want to buy a DEC Unix license cheap? :-)
For those interested, it does have 512k cache (better than the
UDB), 32M RAM, PCI, SCSI, 1.0G drive, etc.
--Donnie
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: AlphaStation info
1996-04-18 3:54 AlphaStation info Donnie Barnes
@ 1996-04-18 14:20 ` Jay Estabrook - Alpha Migration Tools - LINUX Project
1996-04-19 6:24 ` velcro
1996-04-18 18:13 ` bad blocks on SCSI disk with NCR 810 controller :-( Harald Koenig
1 sibling, 1 reply; 6+ messages in thread
From: Jay Estabrook - Alpha Migration Tools - LINUX Project @ 1996-04-18 14:20 UTC (permalink / raw)
>
> Guys...I seem to have found someone with an AlphaStation 200
> for sale. It's got DEC Unix (ugh, influences the price some) and
> it's a 100mhz model. What's the deal with those boards? Can the
> clock be easily upped? I'm not ruling out the possibility of actually
> buying a CPU for it if need be, but I'd also be interested in
> trying to overclock it (if it really *is* only able to do 100mhz
> it isn't worth much anyway :-).
>
> So, a) can the board accept a faster CPU and be clocked up, b)
> does anyone have any actual experiences with those boxes and overclocking,
> and c) can they run Linux? I think the answer to c) is yes, so I'm
> more interested in a) and b). I may be able to get a good deal on
> it, so....
>
> Also, anyone want to buy a DEC Unix license cheap? :-)
>
> For those interested, it does have 512k cache (better than the
> UDB), 32M RAM, PCI, SCSI, 1.0G drive, etc.
First off, they certainly *can* run LINUX; they look identical to AVANTIs,
as MILO and the kernel see them, although the MB is not daughtercard based.
Overclocking is not really necessary; the CPU's on those (100MHz) MUSTANGS
were qualified at 166, I believe. And changing the speed of the CPU is a
matter of jumper(s) on the motherboard.
*HOWEVER*, there is also a PAL on the MB which will only allow it to run
at 100MHz; it's socketed, and thus the units are field upgradeable by the
customer to 166MHz, but you've gotta pay for the PAL, and that may be a bit
more than you're willing to part with, say $1000 or more (I'm not certain
of the number, but could find out if you wish). The PAL isn't that expensive,
its the speed that costs, I guess...
Note that the MUSTANG/AVANTI are EV4/APECS based, unlike the UDB/NONAME
which are based on the LCA chip; EV4/APECS are better performers than the
LCA at the same clock rate by a fair margin.
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Migration Tools
Mailstop: TAY1-2 (DTN) 227-4202
Digital Equipment Corp. (external) (508) 952-4202
151 Taylor Street enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407 decnet: tallis::jestabro
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* bad blocks on SCSI disk with NCR 810 controller :-(
1996-04-18 3:54 AlphaStation info Donnie Barnes
1996-04-18 14:20 ` Jay Estabrook - Alpha Migration Tools - LINUX Project
@ 1996-04-18 18:13 ` Harald Koenig
1 sibling, 0 replies; 6+ messages in thread
From: Harald Koenig @ 1996-04-18 18:13 UTC (permalink / raw)
Hi,
two days ago I got a lot of bad blocks (~280 1k blocks) on a RZ26L 1GB disk
in a XL266 workstation. trying to fix those bad blocks I found out some
interesting and bad things:
1) "badblocks" (which is used by "e2fsck -c" to find bad blocks) doesn't
work reasonable when the disk is connected to an NCR scsi controller.
most of the time "badblocks" didn't find any of the bad blocks (but I got
*lots* of kernel messages like the one below). I tried the same with
my i486 PC which has an NCR 810 too: same story.
when I connected the disk to a good old Adaptec AHA1542 badblocks found
lots of errors which could be inserted in the bad block list of ext2fs.
-------------------------------------------------------------------------------
scsi0 channel 0 : resetting for second half of retries.
SCSI bus is being reset for host 0.
scsi0 : DCMD|DBC=0x50000000, DNAD=0x4044cf0 (virt 0xfffffc0000044cf0)
DSA=0x4014214 (virt 0xfffffc0000014214)
DSPS=0x4044e00, TEMP=0x4044a50 (virt 0xfffffc0000044a50), DMODE=0x80
SXFER=0x8, SCNTL3=0x13
phase=MSGIN, 0 bytes in SCSI FIFO
STEST0=0x6
scsi0 : DSP 0x4044ce8 (virt 0xfffffc0000044ce8) ->
0x4044ce8 (virt 0xfffffc0000044ce8) : 0x50000000 0x04044e00 (virt 0xfffffc0000044e00)
0x4044cf0 (virt 0xfffffc0000044cf0) : 0x60000200 0x00000000 (virt 0x0000000000000000)
0x4044cf8 (virt 0xfffffc0000044cf8) : 0x78388000 0x00000000 (virt 0x0000000000000000)
0x4044d00 (virt 0xfffffc0000044d00) : 0x0f000001 0x04044660 (virt 0xfffffc0000044660)
0x4044d08 (virt 0xfffffc0000044d08) : 0x78389000 0x00000000 (virt 0x0000000000000000)
0x4044d10 (virt 0xfffffc0000044d10) : 0xc0000004 0x0404465c (virt 0xfffffc000004465c) 0x0000b434 (virt 0x0000000000000000)
scsi0 : issue queue
scsi0 : schedule dsa array :
scsi0 : end schedule dsa array
scsi0 : reconnect_dsa_head :
scsi0 : end reconnect_dsa_head
scsi0: lost command 26461
scsi0 : target 0 accepting period 100ns offset 8 10.00MHz FAST SCSI-II
scsi0 : setting target 0 to period 100ns offset 8 10.00MHz FAST SCSI-II
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 18000002
Current error sd08:00: sense key Medium Error
Additional sense indicates Unrecovered read error
scsidisk I/O error: dev 08:00, sector 1639970
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 18000002
Current error sd08:00: sense key Medium Error
Additional sense indicates Unrecovered read error
scsidisk I/O error: dev 08:00, sector 1639972
-------------------------------------------------------------------------------
the error handling/recovery for the NCR driver really has to be fixed!!
with only this controller I wouldn't have been able to locate the bad blocks
and isolate the files which are in trouble and mark those files bad.
2) the other nasty thing is that there is no tool to check or print the
bad blocks marked in a ext2fs (linked to inode #1) which makes it impossible
to check if "e2fsck" did work correctly (other than hacking the e2fsck
sources of course).
3) two of the files which got corrupted are
/var/lib/rpm/fileindex.rpm
/var/lib/rpm/packages.rpm
for rpm.v2. is there any way to check/rebuild/... those data base files ?
"rpm -q -a" goes into a loop after listing ~130 packages and only
prints (null)-(null)-(null) forever :-(
after realizing that there are that many bad blocks (in bursts of 16k every
316k which seem to be one cylinder of 79sectors/8heads) I desiced to
low level format the disk after making a backup of the whole disk using dd.
at the end of the low lever format (using my PC, how to do this with an
alpha workstation btw?) I got the end status
Sensekey 0x06 ASC 0x2a ASCQ 0xff80
where sensekey 0x06 means "media change" in SCSI-II and the ASC/ASCQ values
are vendor dependant. does anyone know what this means for a DEC RZ26L disk?
are there any known hardware problems with this disk type ?
is this likely to happen again (took me 2 days alltogether :-( ?
Thanks,
Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: bad blocks on SCSI disk with NCR 810 controller :-(
[not found] <199604182010.QAA03726@bip.anatomy.upenn.edu>
@ 1996-04-19 0:45 ` Harald Koenig
0 siblings, 0 replies; 6+ messages in thread
From: Harald Koenig @ 1996-04-19 0:45 UTC (permalink / raw)
> > 2) the other nasty thing is that there is no tool to check or print the
> > bad blocks marked in a ext2fs (linked to inode #1) which makes it impossible> > to check if "e2fsck" did work correctly (other than hacking the e2fsck
> > sources of course).
> >
> Check out the dumpe2fs command with "man dumpe2fs".
> I think it does what you want.
you're right but it wasn't that obvious (i did run dumpe2fs before)
since the man page doesn't mention bad blocks and the current
version (e2fsprogs-1.02) of dumpe2fs and debugfs are not 64bit-clean.
thus dumpe2fs locked up for Linux/AXP in the first ctime() call since
the ext2fs timestamps are 32bit and ctime gets passed a pointer
to 64bit time_t...
here is a small sample which shows the problem (and producing an
unaligned trap too)
-------------------------------------------------------------------------------
#include <linux/ext2_fs_sb.h>
main()
{
struct ext2_super_block s;
s.s_mtime = 829857997;
s.s_wtime = 829857997;
s.s_lastcheck = 829857997;
printf("%s\n",ctime(&s.s_mtime));
printf("done...\n");
}
-------------------------------------------------------------------------------
and here is a fix for this ctime() problems for e2fsprogs-1.02.
maybe it would look better to use a wrapper function for ctime() ?!
-------------------------------------------------------------------------------
--- e2fsprogs-1.02/lib/e2p/ls.c.ORIG Mon Oct 30 23:44:05 1995
+++ e2fsprogs-1.02/lib/e2p/ls.c Fri Apr 19 02:23:04 1996
@@ -45,6 +45,7 @@
void list_super (struct ext2_super_block * s)
{
+ time_t tm;
printf ("Filesystem magic number: 0x%04X\n", s->s_magic);
printf ("Filesystem state: ");
print_fs_state (stdout, s->s_state);
@@ -63,11 +64,14 @@
printf ("Blocks per group: %u\n", s->s_blocks_per_group);
printf ("Fragments per group: %u\n", s->s_frags_per_group);
printf ("Inodes per group: %u\n", s->s_inodes_per_group);
- printf ("Last mount time: %s", ctime ((time_t *) &s->s_mtime));
- printf ("Last write time: %s", ctime ((time_t *) &s->s_wtime));
+ tm = s->s_mtime;
+ printf ("Last mount time: %s", ctime (&tm));
+ tm = s->s_wtime;
+ printf ("Last write time: %s", ctime (&tm));
printf ("Mount count: %u\n", s->s_mnt_count);
printf ("Maximum mount count: %d\n", s->s_max_mnt_count);
- printf ("Last checked: %s", ctime ((time_t *) &s->s_lastcheck));
+ tm = s->s_lastcheck;
+ printf ("Last checked: %s", ctime (&tm));
printf ("Check interval: %u\n", s->s_checkinterval);
if (s->s_checkinterval)
{
--- e2fsprogs-1.02/debugfs/debugfs.c.ORIG Thu Sep 7 05:18:50 1995
+++ e2fsprogs-1.02/debugfs/debugfs.c Fri Apr 19 02:29:56 1996
@@ -164,6 +164,7 @@
{
int i;
FILE *out;
+ time_t tm;
if (argc > 1) {
com_err(argv[0], 0, "Usage: show_super");
@@ -174,8 +175,10 @@
out = open_pager();
fprintf(out, "Filesystem is read-%s\n", fs->flags & EXT2_FLAG_RW ?
"write" : "only");
- fprintf(out, "Last mount time = %s", ctime(&fs->super->s_mtime));
- fprintf(out, "Last write time = %s", ctime(&fs->super->s_wtime));
+ tm = fs->super->s_mtime;
+ fprintf(out, "Last mount time = %s", ctime(&tm));
+ tm = fs->super->s_wtime;
+ fprintf(out, "Last write time = %s", ctime(&tm));
fprintf(out, "Mount counts = %d (maximal = %d)\n",
fs->super->s_mnt_count, fs->super->s_max_mnt_count);
fprintf(out, "Superblock size = %d\n", sizeof(struct ext2_super_block));
@@ -246,6 +249,7 @@
{
const char *i_type;
FILE *out;
+ time_t tm;
out = open_pager();
if (LINUX_S_ISDIR(inode.i_mode)) i_type = "directory";
@@ -269,15 +273,19 @@
fprintf(out, "Fragment: Address: %d Number: %d Size: %d\n",
inode.i_faddr, inode.i_frag, inode.i_fsize);
#endif
+ tm = inode.i_ctime;
fprintf(out, "ctime: 0x%08x -- %s", inode.i_ctime,
- ctime(&inode.i_ctime));
+ ctime(&tm));
+ tm = inode.i_atime;
fprintf(out, "atime: 0x%08x -- %s", inode.i_atime,
- ctime(&inode.i_atime));
+ ctime(&tm));
+ tm = inode.i_mtime;
fprintf(out, "mtime: 0x%08x -- %s", inode.i_mtime,
- ctime(&inode.i_mtime));
+ ctime(&tm));
+ tm = inode.i_dtime;
if (inode.i_dtime)
fprintf(out, "dtime: 0x%08x -- %s", inode.i_dtime,
- ctime(&inode.i_dtime));
+ ctime(&tm));
if (LINUX_S_ISLNK(inode.i_mode) && inode.i_blocks == 0)
fprintf(out, "Fast_link_dest: %s\n", (char *)inode.i_block);
else
-------------------------------------------------------------------------------
Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: AlphaStation info
1996-04-18 14:20 ` Jay Estabrook - Alpha Migration Tools - LINUX Project
@ 1996-04-19 6:24 ` velcro
0 siblings, 0 replies; 6+ messages in thread
From: velcro @ 1996-04-19 6:24 UTC (permalink / raw)
> > Guys...I seem to have found someone with an AlphaStation 200
> > for sale. It's got DEC Unix (ugh, influences the price some) and
> > it's a 100mhz model. What's the deal with those boards? Can the
[...]
> First off, they certainly *can* run LINUX; they look identical to AVANTIs,
> as MILO and the kernel see them, although the MB is not daughtercard based.
[...]
> Note that the MUSTANG/AVANTI are EV4/APECS based, unlike the UDB/NONAME
> which are based on the LCA chip; EV4/APECS are better performers than the
> LCA at the same clock rate by a fair margin.
Might we want to start building a FAQ of what (older) DEC hardware exists
that can run Linux, and eventually installation notes for individual
peculiarities? There seem to be an awful lot of boxes running around that
could be converting Linux users. :)
> --Jay++
>
> -------------------------------------------------------------------------------
> American Non Sequitur Society: we don't make sense, but we do like pizza...
>
> Jay A Estabrook Alpha Migration Tools
> Mailstop: TAY1-2 (DTN) 227-4202
> Digital Equipment Corp. (external) (508) 952-4202
> 151 Taylor Street enet: jestabro@amt.tay1.dec.com
> Littleton, MA 01460-1407 decnet: tallis::jestabro
> -------------------------------------------------------------------------------
--
Dan D'Ambrosio
velcro@pobox.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: bad blocks on SCSI disk with NCR 810 controller :-(
@ 1996-04-19 7:18 Harald Koenig
0 siblings, 0 replies; 6+ messages in thread
From: Harald Koenig @ 1996-04-19 7:18 UTC (permalink / raw)
a shot note to the ctime() problem: my small sample program doesn't lock up
completely, it just takes "a bit" longer. running it over night gave the
following output:
-------------------------------------------------------------------------------
# time ./a.out
Thu Feb 14 06:08:29 1276264691
done...
Command had non-zero exit status 8
16212.72user 0.03system 4:30:03elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k0inputs+0outputs (18major+6minor)pagefaults 0swaps
-------------------------------------------------------------------------------
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1996-04-19 7:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-18 3:54 AlphaStation info Donnie Barnes
1996-04-18 14:20 ` Jay Estabrook - Alpha Migration Tools - LINUX Project
1996-04-19 6:24 ` velcro
1996-04-18 18:13 ` bad blocks on SCSI disk with NCR 810 controller :-( Harald Koenig
[not found] <199604182010.QAA03726@bip.anatomy.upenn.edu>
1996-04-19 0:45 ` Harald Koenig
-- strict thread matches above, loose matches on Subject: below --
1996-04-19 7:18 Harald Koenig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox