Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Fdisk : Unable to open /dev/sda
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
verruckt
Apprentice
Apprentice


Joined: 22 Sep 2003
Posts: 169
Location: missing Hörvelsingen...

PostPosted: Tue Dec 20, 2005 12:29 am    Post subject: [SOLVED] Fdisk : Unable to open /dev/sda Reply with quote

I'm trying to do a remote install on an axil320 (sparc20 clone), and everything seems to work ok, except fdisk. When I try to get on to setting partitions, I get this error... "Unable to open /dev/sda"

I have two cables on this machine, and only have my cdrom and a hard drive installed. The hard drive has Solaris 9 currently installed on it. I've also tried swapping the cdrom and hard drive from one cable to the other, same results. Searching the forums hasn't really turned up anything that seems relevant to my situation. Output of dmesg is as follows...

Code:
livecd root # dmesg
PROMLIB: Sun Boot Prom Version 3 Revision 2
Linux version 2.4.29-sparc-smp (root@ayanami) (gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)) #1 SMP Tue Mar 8 14:37:02 UTC 2005
ARCH: SUN4M
TYPE: Sun4m SparcStation10/20
Ethernet address: 0:0:3b:80:4a:51
SRMMU: Using VAC size of 524288 bytes, line size 32 bytes.
Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj@ultra.linux.cz). Patching kernel for srmmu[ROSS HyperSparc]/iommu
32751MB HIGHMEM available.
On node 0 totalpages: 64682
zone(0): 32768 pages.
zone(1): 0 pages.
zone(2): 65520 pages.
Found CPU 0 <node=ffd4e150,mid=8>
Found CPU 1 <node=ffd4e3d0,mid=10>
Found 2 CPU prom device tree node(s).
Power off control detected.
Kernel command line: root=/dev/ram0 init=/linuxrc looptype=normal loop=/livecd.loop noudev devfs cdroot
Calibrating delay loop... 150.32 BogoMIPS
Memory: 249912k available (1468k kernel code, 176k data, 164k init, 131004k highmem) [f0000000,17ff0000]
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
Entering SMP Mode...
Starting CPU 1 at f01a95cc
Calibrating delay loop... 149.91 BogoMIPS
Total of 2 Processors activated (300.23 BogoMIPS).
Waiting on wait_init_idle (map = 0x2)
All processors have done init_idle
IOMMU: impl 1 vers 1 page table at f3f40000 of size 262144 bytes
sbus0: Clock 25.0 MHz
dma0: Revision 2
dma1: Revision 2
Sparc Zilog8530 serial driver version 1.68.2.2
Sun Mouse-Systems mouse driver version 1.00
tty00 at 0xffede004 (irq = 44) is a Zilog8530
tty01 at 0xffede000 (irq = 44) is a Zilog8530
tty02 at 0xffedb004 (irq = 44) is a Zilog8530
tty03 at 0xffedb000 (irq = 44) is a Zilog8530
keyboard: not present
Console: ttyS0 (Zilog8530)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
allocated 32 pages and 32 bhs reserved for the highmem bounces
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
sunhme.c:v2.01 26/Mar/2002 David S. Miller (davem@redhat.com)
ioremap: done with statics, switching to malloc
eth0: HAPPY MEAL (SBUS) 10/100baseT Ethernet 00:00:3b:80:4a:51
sunlance.c:v2.01 08/Nov/01 Miguel de Icaza (miguel@nuclecu.unam.mx)
eth1: LANCE 00:00:3b:80:4a:51
eth1: using auto-carrier-detection.
SCSI subsystem driver Revision: 1.00
esp0: IRQ 36 SCSI ID 7 Clk 40MHz CCYC=25000 CCF=8 TOut 167 NCR53C9XF(espfast)
ESP: Total of 1 ESP hosts found, 1 actually in use.
scsi0 : Sparc ESP100A-FAST
  Vendor: COMPAQ    Model: CRD-254V          Rev: 1.06
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: COMPAQ    Model: CRD-254V          Rev: 1.06
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: COMPAQ    Model: CRD-254V          Rev: 1.06
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: COMPAQ    Model: CRD-254V          Rev: 1.06
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: COMPAQ    Model: CRD-254V          Rev: 1.06
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: COMPAQ    Model: CRD-254V          Rev: 1.06
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: COMPAQ    Model: CRD-254V          Rev: 1.06
  Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
Attached scsi CD-ROM sr2 at scsi0, channel 0, id 2, lun 0
Attached scsi CD-ROM sr3 at scsi0, channel 0, id 3, lun 0
Attached scsi CD-ROM sr4 at scsi0, channel 0, id 4, lun 0
Attached scsi CD-ROM sr5 at scsi0, channel 0, id 5, lun 0
Attached scsi CD-ROM sr6 at scsi0, channel 0, id 6, lun 0
esp0: target 0 asynchronous
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.12
esp0: target 1 asynchronous
sr1: scsi-1 drive
esp0: target 2 asynchronous
sr2: scsi-1 drive
esp0: target 3 asynchronous
sr3: scsi-1 drive
esp0: target 4 asynchronous
sr4: scsi-1 drive
esp0: target 5 asynchronous
sr5: scsi-1 drive
esp0: target 6 asynchronous
sr6: scsi-1 drive
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 128 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 5461)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 886k freed
VFS: Mounted root (ext2 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 164k freed
EXT2-fs warning: checktime reached, running e2fsck is recommended
scsi singledevice 0 0 0 0
VFS: Can't find ext2 filesystem on dev sr(11,0).
ISO 9660 Extensions: RRIP_1991A
eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
livecd root # 


I'm thinking that what all this garblygook means, is that it's not recognizing my hard drive? I checked the jumpers to make sure they were not set to the same ID, and they are not. As a matter of fact, this cdrom was used to install Solaris on this very sparc about a year ago. I'm stumped. Image I'm using is gentoo minimal sparc 32 kernel 2.4 smp.

I'm stumped. Anyone have an idea or anything I could try???

EDIT...

Yes, the current Solaris boots...


Last edited by verruckt on Wed Dec 21, 2005 5:53 am; edited 1 time in total
Back to top
View user's profile Send private message
sblaineyuk
n00b
n00b


Joined: 27 Oct 2005
Posts: 34

PostPosted: Tue Dec 20, 2005 11:39 am    Post subject: 7 cdroms? Reply with quote

Do you really have 7 CDROMs? I'm guessing that this could be a symptom of the problem - it looks as though it hasn't detected your hard disk.

I don't know too much about SCSI - Is it properly terminated, etc? I think the number 7 has some meaning in SCSI terms - something like you can only have 7 devices on a chain (or the card is always device 7?)?
Back to top
View user's profile Send private message
verruckt
Apprentice
Apprentice


Joined: 22 Sep 2003
Posts: 169
Location: missing Hörvelsingen...

PostPosted: Tue Dec 20, 2005 11:13 pm    Post subject: Re: 7 cdroms? Reply with quote

sblaineyuk wrote:
Do you really have 7 CDROMs? I'm guessing that this could be a symptom of the problem - it looks as though it hasn't detected your hard disk.

I don't know too much about SCSI - Is it properly terminated, etc? I think the number 7 has some meaning in SCSI terms - something like you can only have 7 devices on a chain (or the card is always device 7?)?


Ok, i wasn't sure how to interpret the output of dmesg. But since you said that, it makes sense. Perhaps my jumper settings are incorrect? On the hard drive they have NEVER been changed since I have had it. The cdrom however, the jumpers were changed to put it in a previous machine. Anyone know what jumper settings the cdrom should have? I thought I remember that the cdrom was supposed to be 6? Is that right? The hard drive is set for 3 I think. I'll check once I'm home.
Back to top
View user's profile Send private message
verruckt
Apprentice
Apprentice


Joined: 22 Sep 2003
Posts: 169
Location: missing Hörvelsingen...

PostPosted: Wed Dec 21, 2005 5:53 am    Post subject: Reply with quote

Was the scsi id for the cdrom. I had it set at 7, should have been 6. Live and learn.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum