View previous topic :: View next topic |
Author |
Message |
pontious n00b
Joined: 13 Nov 2003 Posts: 4
|
Posted: Thu Mar 18, 2004 7:34 pm Post subject: Ultra 250, can't fdisk SCSI device /dev/sdf |
|
|
Hello all.
I just recently installed Gentoo 2004.0 on my Ultra 250. I have a 6 SCSI bays full and I am only able to get to 5 of the drives (poor me huh?) Anyway, I look in /dev and I only have entrie for /dev/sda thru /dev/sde I try to MAKEDEV and I get a message about DevFS running. I did a little googling to leaern about devfs, but I can't seem to figure out how to get stuff to work.
So, I guess my problem is really with getting a new device entry in /dev for my 6th scsi drive.
specific data:
#john@lisp dev $ uname -a
Linux lisp 2.4.24-sparc-r2 #1 Thu Mar 18 11:27:02 EST 2004 sparc64 sun4u TI UltraSparc II (BlackBird) GNU/Linux
#john@lisp dev $ sudo /sbin/fdisk /dev/sdf
Unable to open /dev/sdf
#john@lisp dev $ ls -l sd[a-z]
lr-xr-xr-x 1 root root 33 Mar 18 13:43 sda -> scsi/host0/bus0/target0/lun0/disc
lr-xr-xr-x 1 root root 33 Mar 18 13:43 sdb -> scsi/host0/bus0/target8/lun0/disc
lr-xr-xr-x 1 root root 33 Mar 18 13:43 sdc -> scsi/host0/bus0/target9/lun0/disc
lr-xr-xr-x 1 root root 34 Mar 18 13:43 sdd -> scsi/host0/bus0/target10/lun0/disc
lr-xr-xr-x 1 root root 34 Mar 18 13:43 sde -> scsi/host0/bus0/target11/lun0/disc
Thanks in Advance |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Thu Mar 18, 2004 8:14 pm Post subject: |
|
|
Do you have a /dev/scsi/*/disc entry for every drive? If so, you can use those instead. |
|
Back to top |
|
|
pontious n00b
Joined: 13 Nov 2003 Posts: 4
|
Posted: Thu Mar 18, 2004 8:32 pm Post subject: |
|
|
ciaranm wrote: | Do you have a /dev/scsi/*/disc entry for every drive? If so, you can use those instead. |
I thought that was going to work, I have 6 entries under
/dev/scsi/host0/bus0
#that is where my symlink sd[a-e] devices point
#john@lisp dev $ ls -l sd[a-z]
lr-xr-xr-x 1 root root 33 Mar 18 13:43 sda -> scsi/host0/bus0/target0/lun0/disc
lr-xr-xr-x 1 root root 33 Mar 18 13:43 sdb -> scsi/host0/bus0/target8/lun0/disc
lr-xr-xr-x 1 root root 33 Mar 18 13:43 sdc -> scsi/host0/bus0/target9/lun0/disc
lr-xr-xr-x 1 root root 34 Mar 18 13:43 sdd -> scsi/host0/bus0/target10/lun0/disc
lr-xr-xr-x 1 root root 34 Mar 18 13:43 sde -> scsi/host0/bus0/target11/lun0/disc
#john@lisp bus0 $ pwd
/dev/scsi/host0/bus0
#john@lisp bus0 $ ls -l
total 0
drwxr-xr-x 1 root root 0 Dec 31 1969 target0
drwxr-xr-x 1 root root 0 Dec 31 1969 target10
drwxr-xr-x 1 root root 0 Dec 31 1969 target11
drwxr-xr-x 1 root root 0 Dec 31 1969 target6
drwxr-xr-x 1 root root 0 Dec 31 1969 target8
drwxr-xr-x 1 root root 0 Dec 31 1969 target9
I was thinking great, there are 6 "targets" here, I have six devices.
Well, target6 was the only one without a corresponding /dev/sd[a-e] entry so I look a little deeper:
#john@lisp lun0 $ pwd
/dev/scsi/host0/bus0/target6/lun0
#john@lisp lun0 $ ls -l
total 0
brw-rw---- 1 root cdrom 11, 0 Dec 31 1969 cd
It is the CDROM drive, apparently scsi
BTW there are no other hosts or buses under /dev/scsi..just host0/bus0
??anything else I might try?? |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Thu Mar 18, 2004 8:44 pm Post subject: |
|
|
Does dmesg show all the drives? |
|
Back to top |
|
|
pontious n00b
Joined: 13 Nov 2003 Posts: 4
|
Posted: Thu Mar 18, 2004 9:17 pm Post subject: |
|
|
ciaranm wrote: | Does dmesg show all the drives? |
Funny you should ask (I *JUST* finished checking that)
The answer is NO. And I assume my problem actaully started with a bad drive. I pulled it out and put it in slot for, only to see some SCSI errors when I try tried to fdisk it as /dev/sde.
So, I am thinking it is a hardware issue not, Gentoo.
Not sure why I have never seen anything about this drive before, if it is indeed bad. hmmm
I have now put a different disk in slot 6th slot, hoping that I would get some feedback from dmesg or have new devices appear from the devfsd process that is running. no luck. I woudl boot the box and see if it shows up on a boot, but I am building xfree right now Maybe tomorrow..
Thanks for your help. I guess I started looking at the problem from the wrong end. Simple things first duh.
(Though if when I boot up tomorrow and I don't see the new 6th disk (that I know is working) I will be back |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Thu Mar 18, 2004 9:23 pm Post subject: |
|
|
You know about probe-scsi-all from OBP, right? |
|
Back to top |
|
|
|