It is currently 24 May 2013, 04:57

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Installing on a Firewire drive
PostPosted: 19 Feb 2004, 20:47 
Now that 1.3.1rc1 has been released, i can login and try to install CRUX. The problem is that my slot-loading iMac has no internal hard drive[1], just a Firewire/USB hard drive[2]. Mac OS 10.3 runs perfectly well on the drive in Firewire mode, but won't boot off it in USB mode. CRUX doesn't seem to know about the drive in Firewire mode, but will recognise it in USB mode. I've loaded all the ieee1394 modules, but it just doesn't seem to be working. I'd post the messages from dmesg, but i don't know how to configure the network either.

Can anyone help me?

//fluke

[1] After two internal harddrive failures, i decided it was better to have an external one.
[2] Oxford 922 chipset with Firewire 400 and USB 2 support, though my machine has only USB 1.1.


Top
  
 
 Post subject:
PostPosted: 20 Feb 2004, 01:47 
Offline

Joined: 26 Jan 2004, 18:46
Posts: 143
Location: Italy
heyo! the SBP2 module (included on the 1.3.1 cdrom) is used for firewire disks and optical drives. ohci1394 should be the first and sbp2 the second...

...but firewire disks will be added as scsi devices and probably your disk doesn't work because the ide-scsi module is not available in the rc1 relase :(

sorry man, you should wait (probably tomorrow) for the official 1.3.1 release

thank you for your help! :)
regards!


Top
 Profile  
 
 Post subject:
PostPosted: 21 Feb 2004, 13:08 
Offline

Joined: 26 Jan 2004, 18:46
Posts: 143
Location: Italy
giulivo wrote:
sorry man, you should wait (probably tomorrow) for the official 1.3.1 release


temporary location for official 1.3.1 release:

links removed, see the http://cruxppc.sunsite.dk/download.html page instead

thank you guys :)
regards!


Last edited by giulivo on 16 Jun 2004, 01:14, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: 23 Feb 2004, 21:16 
I've downloaded 1.3.1, but i'm still having problems. I loaded the "ohci1394" and "sbp2" models and while that creates a "/proc/scsi0" entry, it doesn't create anything under "/dev". Loading the "ide-scsi" module creates a "/proc/scsi1" entry and still doesn't create anything under "/dev".

I also tried installing via USB, thinking i could fix the Firewire problem by compiling my own kernel, but there seems to be a limit of 15 partitions for a SCSI device (only /dev/sda1 to /dev/sda15 are created). I tried using mknod to create more, but that didn't work either.


Top
  
 
 Post subject:
PostPosted: 24 Feb 2004, 01:48 
Offline

Joined: 26 Jan 2004, 18:46
Posts: 143
Location: Italy
fluke wrote:
I've downloaded 1.3.1, but i'm still having problems. I loaded the "ohci1394" and "sbp2" models and while that creates a "/proc/scsi0" entry, it doesn't create anything under "/dev". Loading the "ide-scsi" module creates a "/proc/scsi1" entry and still doesn't create anything under "/dev".


seems that /dev/scsi0/bla/bla/bla is the correct location for systems with DEVFS, and CRUX uses devfs (notes are in the SCSI HOWTO too)

probably this link can be useful:
http://www.linux1394.org/sbp2.html

bye


Top
 Profile  
 
 Post subject:
PostPosted: 25 Feb 2004, 21:13 
With both "sbp2" and "ide-scsi", there are no entries created under /dev/scsi. I'm probably grasping at straws here, but are all the required kernel modules for SCSI in 1.3.1? Looking at the kernel config, SCSI support was built as a module, but there isn't a scsi.o file.


Top
  
 
 Post subject:
PostPosted: 26 Feb 2004, 01:16 
Offline

Joined: 26 Jan 2004, 18:46
Posts: 143
Location: Italy
fluke wrote:
Looking at the kernel config, SCSI support was built as a module, but there isn't a scsi.o file.


The correct name of that module is scsi_mod ... anyway, sbp2 and ohci1394 should be the only needed modules, in the previous post there is a link with a longer explanation... sorry but i can't help you more because i have not a firewire disk :(

regards


Top
 Profile  
 
 Post subject:
PostPosted: 29 Feb 2004, 19:20 
After thoroughly reading the link you posted above, i realised the problem. The sbp2 module doesn't automatically add devices, i have to do echo "scsi add-single-device 0 0 0 0" > /proc/scsi/scsi to get it to add the drive. Also, the Linux scsi driver doesn't support more than 15 partitions, so i reordered the partition table to put the ones i wanted to use in Linux in the first 15. My firewire drive now works under Linux. All i have to do is just have figure out the OpenFirmware paths for the drive to put in yaboot.conf, apply the kernel patch to get sbp2 to automatically recognise devices and it should all be working.


Top
  
 
 Post subject:
PostPosted: 01 Mar 2004, 12:26 
Offline

Joined: 26 Jan 2004, 18:46
Posts: 143
Location: Italy
uuh really good! thank you man :wink:

so now everything is working correctly with cruxppc 1.3.1 ?

if you have spare time and want help cruxppc project keep in mind that your know how is really important for other users, you can write docs/howtos or similar to help community :roll:

best regards!


Top
 Profile  
 
 Post subject:
PostPosted: 04 Mar 2004, 07:56 
I'd be happy to document the process, but i haven't quite got it working yet. When i boot CRUX (using the open firmware boot menu obtained by holding down Option when starting my iMac), it prints "Loading second stage bootstrap..." and then returns to the open firmware boot menu.

Looks like more research for me.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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

Search for:
Jump to:  
cron