Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't find SCSI hard drive on Mac G3 Aqua
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
cliffyman
n00b
n00b


Joined: 26 Jan 2004
Posts: 5
Location: Buffalo, New York, USA

PostPosted: Tue Jan 27, 2004 7:13 pm    Post subject: Can't find SCSI hard drive on Mac G3 Aqua Reply with quote

I've booted up my G3 Aqua using the PPC-G3-LiveCD but I see a string of errors during the initial (kernel?) boot...

ide-scsi: hdf: unsupported command in request queue
end_request: i/o error, dev 21:40 (hdf), sector 0
...
unable to read to read partition table

This system has an 8 GB SCSI drive with Mac OS X 10.3 installed. I just want to wipe it clean and install Gentoo.

After the CD finished booting and I got networking setup, I was ready to partition the disk. The only problem is I can't find it! The only "hd" device is hde which points to /dev/ide/host2/bus0/target0/lun0/cd which I can only assume is the CD-ROM drive. The only other candiate seems to be /dev/scsi/host0/bus0/target0/lun0/generic but if I try to mac-fdisk that the system just seems to hang.

Can anyone provide advice?
Back to top
View user's profile Send private message
cliffyman
n00b
n00b


Joined: 26 Jan 2004
Posts: 5
Location: Buffalo, New York, USA

PostPosted: Tue Jan 27, 2004 7:43 pm    Post subject: Reply with quote

I tried formatting the hard disk using the Mac OS X 10.3 installer. I wiped it clean and created it with a "Unix File System" according to the uninstaller. I still get disk errors during the initial bootup and the device doesn't seem to appear anywhere. It looks like a driver issue, but an HD driver problem doesn't seem to be easy to fix during an install...
Back to top
View user's profile Send private message
hardave
Retired Dev
Retired Dev


Joined: 12 Nov 2003
Posts: 38
Location: Alberta, Canada

PostPosted: Fri Jan 30, 2004 7:55 am    Post subject: Reply with quote

It's my understanding that the latest 1.4 PPC isos do not include SCSI support. You're best bet will probably be to boot off of a 1.2 iso and then use a 1.4 stage tarball.

/proc/scsi/scsi will show you what SCSI devices have been detected by the kernel.

When you compile your kernel make sure you include SCSI disk support as well as the MESH SCSI driver.
Back to top
View user's profile Send private message
fernando
n00b
n00b


Joined: 30 Jan 2004
Posts: 7
Location: Toronto, Canada

PostPosted: Fri Jan 30, 2004 5:40 pm    Post subject: SCSI support? Reply with quote

Where can I find the 1.2 iso? i can't seem to find it anywhere. For the last two weeks i've been having the same problem, but to no avail have i been able to find a solution. My cd-rom drive is starting to fail, hence i also have to do a net install.... but first priority is getting the scsi hard drive to work, could u provide a link to where i can find the 1.2 iso?
Back to top
View user's profile Send private message
hardave
Retired Dev
Retired Dev


Joined: 12 Nov 2003
Posts: 38
Location: Alberta, Canada

PostPosted: Fri Jan 30, 2004 6:08 pm    Post subject: Reply with quote

ftp://sunsite.ualberta.ca/pub/Mirror/Linux/gentoo/releases/historical/1.2

Or whatever mirror is faster for you. The kernel is also located in the /boot directory of the iso. So for a net boot you could also just loopback mount the iso and copy the kernel out.
Back to top
View user's profile Send private message
fernando
n00b
n00b


Joined: 30 Jan 2004
Posts: 7
Location: Toronto, Canada

PostPosted: Fri Jan 30, 2004 8:06 pm    Post subject: Reply with quote

ok i just downloaded the 1.2 iso, but it's not booting under the 1.4 setting :( wut settings are required to get 1.2 to boot effectively?

after i get it to boot effectively, i'm guessing i will need to take the following steps to get it to work:

*login*
modprobe sd_mod
mac-fdisk -l
mac-fdisk /dev/sd(my hardrive)
dhcpcd eth0

is there anything i'm missing? off course i'm gonna need to figure out how to run the net install, but i haven't read that far ahead since i haven't been able to get that far into the installation.

Thanks for all your help :)
Back to top
View user's profile Send private message
fernando
n00b
n00b


Joined: 30 Jan 2004
Posts: 7
Location: Toronto, Canada

PostPosted: Fri Jan 30, 2004 8:10 pm    Post subject: Reply with quote

i forgot to mention that i'm using bootx, so the settings i requested were for bootx to work. Thx again
Back to top
View user's profile Send private message
fernando
n00b
n00b


Joined: 30 Jan 2004
Posts: 7
Location: Toronto, Canada

PostPosted: Fri Jan 30, 2004 8:46 pm    Post subject: Reply with quote

ok i was able to boot of cd by using the newer version of vmlinuz and using the old image. I have now bumped into the problem that modprobe doesn't work! i'm given the error:
Quote:

Modprobe: can't open dependencies file /lib/modules/2.3.21-ppc-r2/modules.dep (no such file or directory)


can anyone help with this? this is on the 1.2 livecd located at ftp://sunsite.ualberta.ca/pub/Mirror/Linux/gentoo/releases/historical/1.2/gentoo-ppc-1.2-r1.iso
did i download the wrong iso image?
Back to top
View user's profile Send private message
hardave
Retired Dev
Retired Dev


Joined: 12 Nov 2003
Posts: 38
Location: Alberta, Canada

PostPosted: Fri Jan 30, 2004 9:30 pm    Post subject: Reply with quote

You also have to use the 1.2 vmlinux as well as the initrd.img from /boot on the 1.2 cd, as you've discovered they are a matched pair. Once booted you should be running kernel 2.4.19 I believe, definetly NOT 2.3.21. You shouldn't require any kernel parameters in BootX. Just make sure you have the right kernel selected and the right initrd file selected for root.

Once you're booted just follow the Install documentation as normal. The only difference will be that instead of extracting the stage tarball from the cd you have to copy it off of your 1.4 cd, or download the latest one from a ftp mirror.
Back to top
View user's profile Send private message
fernando
n00b
n00b


Joined: 30 Jan 2004
Posts: 7
Location: Toronto, Canada

PostPosted: Fri Jan 30, 2004 10:37 pm    Post subject: Reply with quote

ok i got it to boot up and got modprobe to work, now i can't find sd_mod at all? does anyone know which directory i can find it in???
Back to top
View user's profile Send private message
hardave
Retired Dev
Retired Dev


Joined: 12 Nov 2003
Posts: 38
Location: Alberta, Canada

PostPosted: Sat Jan 31, 2004 5:59 am    Post subject: Reply with quote

fernando wrote:
i can't find sd_mod at all? does anyone know which directory i can find it in???

You shouldn't need to load sd_mod. It should already be in the kernel.

What kind of Mac are you trying this on?? I preformed the above on my Oldworld PB G3 and was able to see a SCSI attached disk. Can you post the output of these commands.
Code:
ls -lR /proc/scsi
cat /proc/scsi/scsi


Also I'm assuming you can see the disk in OS9 right?
Back to top
View user's profile Send private message
fernando
n00b
n00b


Joined: 30 Jan 2004
Posts: 7
Location: Toronto, Canada

PostPosted: Mon Feb 02, 2004 9:40 pm    Post subject: Reply with quote

i'm using an 8600/250 wit mac os 8.6.... i lost my mac os 9 cd a few months ago, and since i needed to reformat all i had was 8.5 cd, i then upgraded to 8.6 via download...

I have tried to use that install utility found in the 1.2 install, however i can't seem to boot up anymore into linux :( ... it stops here no matter wut i change around....

Code:
pty: 256 Unix98 ptys configured

Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled


any suggestions?

if this doesn't work out, are there any other distributions that allow me to run an install of the net wit my 8600?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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