linux-mips-fnet
[Top] [All Lists]

FYI (part II)

To: linux-mips@fnet.fr
Subject: FYI (part II)
From: Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
Date: Thu, 18 Feb 1999 20:32:39 +0100 (MET)
Organization: none
Reply-to: "Harald Koerfgen" <Harald.Koerfgen@home.ivm.de>
Sender: harry@franz.no.dom
Hi all,

I have just uploaded patch-2.1.131-pl2.gz to
ftp://ftp.linux.sgi.com/pub/linux/mips/test/

>>boot 3/tftp/vmlinux.r3k console=ttyS2 root=/dev/sdb
1284768+113008+120640
Launching kernel...
This DECstation is a DS5000/1xx
Loading R[23]00 MMU routines.
CPU revision is: 00000230

[...]

SCSI ID 7  Clock 25 MHz CCF=0 Time-Out 167 NCR53C9x(esp236) detected
ESP: Total of 1 ESP hosts found, 1 actually in use.
scsi0 : ESP236
scsi : 1 host.
  Vendor: DEC       Model: RZ25     (C) DEC  Rev:
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 3, lun 0
  Vendor: DEC       Model: RZ26     (C) DEC  Rev: T386
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 4, lun 0
scsi : detected 2 SCSI disks total.
esp0: target 3 [period 200ns offset 15 5.00MHz synchronous SCSI]
sda: Spinning up disk..............ready
SCSI device sda: hdwr sector= 512 bytes. Sectors= 832527 [406 MB] [0.4 GB]
esp0: target 4 [period 200ns offset 15 5.00MHz synchronous SCSI]
sdb: Spinning up disk.................ready
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 2050860 [1001 MB] [1.0
GB]
declance.c: v0.008 by Linux Mips DECstation task force
eth0: IOASIC onboard LANCE, addr = 08:00:2b:37:f0:99, irq = 3
Sending BOOTP requests.... OK   
IP-Config: Got BOOTP answer from 192.168.0.2, my address is 192.168.0.4
Partition check:
 sda: sda3 sda7
 sdb: unknown partition table
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 48k freed
INIT: version 2.74 booting
 
[...]

[root@localhost /root]# mount
/dev/sdb on / type ext2 (rw)
none on /proc type proc (rw)
[root@localhost /root]# cat /proc/partitions
major minor  #blocks  name

   8     0     416263 sda
   8     1      21084 sda1
   8     2     192768 sda2
   8     3     416263 sda3
   8     4      31124 sda4
   8     7     171287 sda7
   8    16    1025430 sdb
[root@localhost /root]# mount /dev/sda1 /mnt -t ufs -o ufstype=sun
[root@localhost /root]# ls /mnt
Mail             harry            sys              var  
[...]

[root@localhost /root]# mount
/dev/sdb on / type ext2 (rw)
none on /proc type proc (rw)
/dev/sda1 on /mnt type ufs (rw,ufstype=sun)

This SCSI driver still has rudimentary DMA support and will certainly fail
under the following conditions:

o Start address not longword aligned
o End address not longword aligned
o Number oy bytes to be transferred not a multiple of four

It seems as if the higher layers handle this nicely for us because I
haven't seen any problem so far with disk drives. Nevertheless: USE AT
YOUR OWN RISK! Using this SCSI driver can damage your hardware!

Support for Ultrix disklabels is experimental and mounting Ultrix
partitions can destroy them. The UFS layer, when mounting Ultrix
partitions, complains "ufs_read_super: fs needs fsck" and mounts them
readonly. Be careful! Do not do this unless you know what you are doing.

Nevertheless, have fun. :-)
---
Regards,
Harald

<Prev in Thread] Current Thread [Next in Thread>