LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-03-2011, 07:10 AM   #1
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Rep: Reputation: 1
I/O Error during startup of linux


Hi

What means "I/O Error" output below during startup of Linux ?
<pre>
dasd_erp: 0.0.0100: Channel program (complete):
dasd_erp: 0.0.0100: 00000000099c1af0: 63400010 099c1b08 47400010 099c1b28
dasd_erp: 0.0.0100: 00000000099c1b00: 85001000 090dd000 80c00000 00000000
end_request: I/O error, dev dasda, sector 468656
dasd_erp(3990): 0.0.0100: EXAMINE 24: Command Reject detected - fatal error
dasd(eckd): I/O status report for device 0.0.0100:
dasd(eckd): in req: 00000000099c18f0 CS: 0x00 DS: 0x02
dasd(eckd): device 0.0.0100: Failing CCW: 00000000099c19d0
dasd(eckd): Sense(hex) 0- 7: 80 02 00 00 00 00 00 00
dasd(eckd): Sense(hex) 8-15: 00 00 00 00 00 00 00 00
dasd(eckd): Sense(hex) 16-23: 00 00 00 00 66 02 0f 00
dasd(eckd): Sense(hex) 24-31: 00 00 60 e0 00 00 00 00
dasd(eckd): 24 Byte: 0 MSG 0, no MSGb to SYSOP
</pre>

On the disk there can be :
- software errors
- hardware errors

How to get this info in Linux (I mean in which files this info is stored and what kind of entries determines) ?

Last edited by drManhattan; 08-03-2011 at 07:17 AM.
 
Old 08-03-2011, 07:54 AM   #2
tommylovell
Member
 
Registered: Nov 2005
Distribution: Fedora, Redhat
Posts: 372

Rep: Reputation: 101Reputation: 101
Well, I think it means what it says, you had an input / output error on your 100-disk.

Is that a CMS disk or your Linux ipl volume? Is it formatted? (It doesn't sound like it is.)

Does the system successfully ipl?

Also, what level of RHEL is this system.
 
Old 08-03-2011, 08:58 AM   #3
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Original Poster
Rep: Reputation: 1
It is zLinux on zVM and it is SLES9.
My system boots into maintenance mode because there is no disks available <tt>lsdasd</tt> cmd shows me only 1 dasd and I should have much more.
How can I force disk discovery in SLES9 ?

thx for help.
 
Old 08-03-2011, 10:26 AM   #4
tommylovell
Member
 
Registered: Nov 2005
Distribution: Fedora, Redhat
Posts: 372

Rep: Reputation: 101Reputation: 101
Disk recovery is what you are dropped into when you can't mount a required volume (either your root volume or something later in /etc/fstab). If 'lsdasd' shows no disks, there is not much you can do there.

I'm sure you know most of this, but to start with you need to make sure that all required disks are attached to your guest before you ipl your Linux OS volume. That means they are either in the VM directory for your guest or accessed by your guests PROFILE EXEC.

My experience is with RHEL and I'm not sure how much of this is applicable to SLES.

If you do a "#CP Q DASD" command and all the the disks you require are present but your 'lsdasd' only shows the one 0.0.0100 disk then (in RHEL) it would mean that your initrd is only activating that one disk.

In RHEL there is an entry in /etc/modprobe.conf that is similar to this
Code:
options dasd_mod dasd=0201
When the system is built (or when you do a subsequent 'mkinitrd') that modprobe.conf statement creates an entry in 'init' in the initrd something like this.
Code:
echo "Loading dasd_mod.ko module"
insmod /lib/dasd_mod.ko dasd=0201
On one of my systems.
Code:
[root ~]# cat /etc/modprobe.conf
alias eth0 qeth
options dasd_mod dasd=0201
options scsi_mod max_luns=50
alias scsi_hostadapter zfcp

[root ~]# vmcp q v dasd
DASD 0190 3390 VW1TR4 R/O        107 CYL ON DASD  903E SUBCHANNEL = 0009
DASD 0191 3390 VMDSK1 R/W          1 CYL ON DASD  90DF SUBCHANNEL = 0000
DASD 019D 3390 VW1TR4 R/O        146 CYL ON DASD  903E SUBCHANNEL = 000A
DASD 019E 3390 VW1TR4 R/O        250 CYL ON DASD  903E SUBCHANNEL = 000B
DASD 0201 3390 VWTL0A R/W      32759 CYL ON DASD  37FA SUBCHANNEL = 0001
DASD 0291 3390 VMDSK1 R/O        100 CYL ON DASD  90DF SUBCHANNEL = 000C
DASD 0592 3390 VW1TR4 R/O         70 CYL ON DASD  903E SUBCHANNEL = 000D

[root ~]# lsdasd
Bus-ID     Status      Name      Device  Type  BlkSz  Size      Blocks
==============================================================================
0.0.0201   active      dasda     94:0    ECKD  4096   23033MB   5896620
In order to recover from this you'll need to define your Linux OS volume as 0100. Once you're booted you can take whatever corrective action you want.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Startup error Danteleo Linux - Laptop and Netbook 3 03-11-2007 07:12 PM
My Redhat Linux 9 machine won't startup but gives a startup error" njugs79 Linux - Newbie 2 03-23-2005 01:50 AM
SQL Startup error : Error while setting value '@MYSQL_TCP_PORT@' to 'port' glenn69 Linux - Newbie 1 08-08-2004 12:08 AM
ALSA Startup error, MPlayer startup error, Sid andymadigan Debian 4 08-03-2004 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration