Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Wed Oct 22, 2014 4:57 pm

All times are UTC - 8 hours [ DST ]


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Firewire/1394 PCI
Unread postPosted: Fri Jan 14, 2011 2:08 pm 
Offline
Moderator
Moderator
User avatar

Joined: Sun Jun 06, 2004 5:55 pm
Posts: 5213
Location: NC - USA
canavan wrote:
Looks like I should have tried something smaller than 4GB cards. 2GB cards actually do work
If I could ask, with which of the card readers you mentioned? It would be an excellent opportunity to expand the list of "known working" firewire card readers beyond the current list of one.

_________________
***********************************************************************
Welcome to ARMLand - 0/0x0d00
running...(sherwood-root 0607201829)
* InfiniteReality/Reality Software, IRIX 6.5 Release *
***********************************************************************


Top
 Profile  
 
 Post subject: Re: Firewire/1394 PCI
Unread postPosted: Sat Jan 15, 2011 10:33 am 
Offline
User avatar

Joined: Mon Jul 21, 2003 6:19 am
Posts: 754
The problem with 4GB cards is really just that IRIX only supports - at best - FAT16, apparently limited to 32k sectors and no support for either the non-standard 64k sectors required for a 4GB filesystem, or FAT32.

I've tried all three of my firewire card readers, and they are all working perfectly with 2GB media. Note that the label on the RW-19 calls it a RW-19 Rev. B.


Attachments:
fwcf.jpg
fwcf.jpg [ 29.92 KiB | Viewed 447 times ]
Top
 Profile  
 
 Post subject: Re: Firewire/1394 PCI
Unread postPosted: Fri Sep 28, 2012 2:20 pm 
Offline

Joined: Tue Apr 19, 2011 4:59 am
Posts: 149
Location: Yorkshire, UK
recondas wrote:
mediad ignores mine too, but manual mounting works ok. Since my main goal is to access photos from a digital camera, I leave the the CF card with the camera formatted FAT file system, and tell mount which type of file system to expect <and partition to examine>. Something like:
Code:
mount -t dos -o partition=1 /hw/rdisk/1394/30e00100001419/lun0vol/c4p0 /usr/people/Fuel/FW/
The specific device ID <"30e00100001419" in my example> used in the mount command will be different for each device connected to the FW bus <but can easily be obtained from the output of fwprobe>.

Thanks to this lead, I was able to fx, mkfs_xfs and then mount a 1TB LACIE d2 Quadra drive this evening:
Code:
fx -d /hw/rdisk/1394/[device ID]/lun0vol/cXp0
(where X for me is 6 - the FW card shows up as SCSI controller 6), then partition as an option drive
Code:
mkfs_xfs /hw/rdisk/1394/[device ID]/lun0s7/cXp0
mount -t xfs /hw/disk/1394/[device ID]/lun0s7/cXp0 /0
Note that the mount command uses /hw/disk rather than /hw/rdisk so as to access the block device file rather than the character file.

I do get a "Disk(6,2)" icon on the desktop, but Disk Panel tells me, "No volume header is seen on this disk" (though fx did not complain!) and suggests I initial the disk. But that fails with the error, "error code 256 on ppclose of fx".

At least the disk seems to be accessible, even if mounting it is not as easy as for a SCSI disk. I have updated the wiki for the drive and type of FW card.

Afterthought: if we can get the major/minor block device numbers from /hw/disk/1394/[device ID]/lun0s7/cXp0, would it be out of order to "mknod" the corresponding block device in /dev/dsk ? (as I understand it, IRIX populates /dev automagically from /hw so manually adding devices might foul things up; mknod takes me back to moving RISC iX from an ST506 drive to SCSI, where nothing was automagic!)

Andrew

_________________
Fuel; Indigo2; RiscPC Kinetic-StrongARM RISCOS 4.39 or Debian/sarge; EspressoPC ViaC3/900 Debian-testing; RPi B RISCOS5.21 or Raspbian/jessie


Last edited by ajw99uk on Sat Nov 02, 2013 2:20 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Firewire/1394 PCI
Unread postPosted: Sat Sep 29, 2012 5:05 am 
Offline
User avatar

Joined: Mon Jul 21, 2003 6:19 am
Posts: 754
The real problem is that "standard" FAT16 supports only 2GB. For anything larger, you'd have to use FAT32, which IRIX doesn't support. The 64k clusters I mentioned are non-standard and don't work for either IRIX or my Canon 40D.


Top
 Profile  
 
 Post subject: Re: Firewire/1394 PCI
Unread postPosted: Sun Oct 07, 2012 1:58 pm 
Offline

Joined: Tue Apr 19, 2011 4:59 am
Posts: 149
Location: Yorkshire, UK
I'm trying to set up an XFS-format drive. I think the work-around for failure to access the volume header is to run fx, sync the label to update /hw with the existing partition info, which generates block and character files to which a mount command can refer. Before fx "sync", I only see lun0vol in the FW device's folder, but afterwards, lun0vh and lun0sX where X is the partition number (i.e. 0, 1, 6 or 7 for root, swap, usr and option disk partitions).

16 Oct update - in the most recent session, the /dev/dsk/1394/[long device number]/lun0vol was joined by s0, s1 and vh so I can mount directly. Time to set up a small mounting script to do this from desktop.

But more testing to do before I start relying on it for any significant data ....

_________________
Fuel; Indigo2; RiscPC Kinetic-StrongARM RISCOS 4.39 or Debian/sarge; EspressoPC ViaC3/900 Debian-testing; RPi B RISCOS5.21 or Raspbian/jessie


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 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
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group