Adding DASD to TurboLinux 6.5

2005-03-03 Thread Greg Evans
I have been attempting to add another DASD to TurboLinux (OS/390).  I know
I have done the CP directory entry correctly for the minidisk (cyl 1 not
0), and I have formatted it using ICKDSF.  I run into difficulty when the
Linux guest has the new disk and I try to do the insmod and the dasdfmt.
The insmod appears to work okay, however the dasdfmt will not work and the
Linux guest becomes disabled.  As in not able to do common commands such
as ls, vi or even to view a file.  I cannot even issue shutdown, (the
commands get an I/O error) so I have to crash the guest as in forcing it
to logoff.

Here is a sample of what I get on the VM cons log when this is happening;

dasd:Cannot register to major no 94, rc = -16
dasd:Couldn't register successfully to major no 94
ll_rw_block: Trying to read nonexistent block-device 5e:01 (38954)
EXT2-fs error (device unknown-block(94,1)): ext2_write_inode: unable to
read ino
de block - inode=71562, block=131264

Has anyone had a similar experience and if so how did you correct it.
Thanks,   Greg Evans



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Adding DASD to TurboLinux 6.5

2005-03-03 Thread Thomas Kern
I don't know if this is the same, it has been quite a while.  When I
had to add LOTS of dasd to a turbolinux system for LVM, I had to do a
'mknod /dev/dasd?  major minor', 'mknod /dev/dasd?1 major minor+1' for
each dasd address I wanted to add. But I forget at what number of dasd
I had to start doing this.

The other thing that just hit me about formatting dasd was lack of
memory. I was using a server that had originally been set up as a
limited firewall, defined with only 32MB. When I tried to dasdfmt the
disk, linux ran out of memory and killed sshd so my connection dropped.
When I upped the virtual machine size to 64MB, everything ran fine.

/Tom Kern

--- Greg Evans [EMAIL PROTECTED] wrote:

 I have been attempting to add another DASD to TurboLinux (OS/390).  I
 know
 I have done the CP directory entry correctly for the minidisk (cyl 1
 not
 0), and I have formatted it using ICKDSF.  I run into difficulty when
 the
 Linux guest has the new disk and I try to do the insmod and the
 dasdfmt.
 The insmod appears to work okay, however the dasdfmt will not work
 and the
 Linux guest becomes disabled.  As in not able to do common commands
 such
 as ls, vi or even to view a file.  I cannot even issue shutdown, (the
 commands get an I/O error) so I have to crash the guest as in forcing
 it
 to logoff.

 Here is a sample of what I get on the VM cons log when this is
 happening;

 dasd:Cannot register to major no 94, rc = -16
 dasd:Couldn't register successfully to major no 94
 ll_rw_block: Trying to read nonexistent block-device 5e:01 (38954)
 EXT2-fs error (device unknown-block(94,1)): ext2_write_inode: unable
 to
 read ino
 de block - inode=71562, block=131264

 Has anyone had a similar experience and if so how did you correct it.
 Thanks,   Greg Evans




--
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
 or visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Adding DASD to TurboLinux 6.5

2005-03-03 Thread Rob van der Heij
On Thu, 3 Mar 2005 16:30:36 -0500, Greg Evans [EMAIL PROTECTED] wrote:

 dasd:Cannot register to major no 94, rc = -16
 dasd:Couldn't register successfully to major no 94

I believe this means the dasd module is built-in for the kernel that
you have. When you see a /proc/dasd/devices before you insmod the
module, then the thing is already built-in. In that case you must
supplied the dasd= on the kernel parameters or add devices
dynamically.

Rob
--
Rob van der Heij  rvdheij @ gmail.com

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390