LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-26-2004, 02:37 AM   #1
adriaanjoubert
LQ Newbie
 
Registered: Nov 2003
Location: Cyprus
Distribution: Debian
Posts: 5

Rep: Reputation: 0
Firewire disk problems


Hi,

I'm having problems with an external firewire disk that I want to use for backups. Initially everything works fine (I did the initial rsyncs of 45GB of file systems without any problem), but when I get cron to rsync the file systems to back up, I get myriad errors:


Jan 24 06:17:36 emma kernel: attempt to access beyond end of device
Jan 24 06:17:36 emma kernel: sda1: rw=0, want=455828328, limit=160071597
Jan 24 06:17:36 emma kernel: attempt to access beyond end of device
Jan 24 06:17:36 emma kernel: sda1: rw=0, want=1937460136, limit=160071597
Jan 24 06:17:36 emma kernel: attempt to access beyond end of device
Jan 24 06:17:36 emma kernel: sda1: rw=0, want=1001087624, limit=160071597
Jan 24 06:18:38 emma kernel: ieee1394: sbp2: aborting sbp2 command
Jan 24 06:18:38 emma kernel: Read (10) 00 04 44 4e 47 00 00 f8 00
Jan 24 06:19:15 emma kernel: ieee1394: sbp2: aborting sbp2 command
Jan 24 06:19:15 emma kernel: Read (10) 00 04 47 f3 6f 00 00 f8 00
Jan 24 06:19:49 emma kernel: ieee1394: sbp2: aborting sbp2 command
Jan 24 06:19:49 emma kernel: Read (10) 00 04 4c 3d e7 00 00 f8 00
Jan 24 06:21:02 emma kernel: ieee1394: sbp2: aborting sbp2 command

There is plenty of space on the device and it worked initially, so I find the 'attempt to access beyond the end of device' messages quite worrying. The aborting sbp2 commands are from the scsi subsystem, as far as I can make out, and I used to see lots of those with earlier kernels.

I'm running a 2.6.0 kernel with firewire enabled. There are ext2 file systems on the backup disk. I've upgraded through all the kernels from 2.4.20 in the hope that the problem would go away, but am at the end of the line with that approach now ;-)

The firewire card is an Adaptec AUA-3020, the enclosure is 3.5" external enclosure from a company called Back-up Q, and the disk is an 80GB Maxtor disk.

Somewhere I saw a message that there were problems with the Maxtor disks falling asleep, and that that is the cause of the problem. That would explain why I do not have any problems initially, but the cron backup at 1am does. Does anybody have anymore information on this? Any pointers to other places to ask would be welcome as well.

Thanks!

Adriaan
 
Old 01-27-2004, 09:40 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
First I would check to see if the partition information is actually correct, there might be some bogus resizing going on that is making the mess. "dmesg" should give a c/h/s reading on the disk, if not cfdisk or fdisk should report the info. I hate this ide to scsi through firewire emulation stuff so auto-matic geometry resizing isn't really an option since its only IDE if I remember right. Also, might want to make sure the disk is jumpered right in the enclosure.

Cheers,

Finegan
 
Old 01-28-2004, 08:28 AM   #3
adriaanjoubert
LQ Newbie
 
Registered: Nov 2003
Location: Cyprus
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Hi Finnegan,

thank you for your mail! I re-checked the disk jumpers and it is a master disk, which is right as far as I can figure out. I checked the partition (I only have a single partition as this is for backups) and that seems ok.

I've redone everything from scratch, so I'll have another go with cron tonight and see what happens.

If anything else comes to mind, plese let me know.

Thanks!

Adriaan
 
Old 01-28-2004, 07:18 PM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
This is what's bugging me:sda1: rw=0, want=1001087624, limit=160071597

That screams to me bogus geometry reporting.

The only kernel option I can find is to enable verbose scsi reporting AND verbose firewire reporting. Don't run this kid normally, but at least to get some good debugging. Now, if this is anything like USB mass storage error reporting, you're going to get a butload of debugging.

This one may be a bit of a hastle... I would check the firewire sb2 site for info... doesn't look like much, but I didn't dig too deep:

http://www.linux1394.org/sbp2.html

Cheers,

Finegan
 
Old 01-30-2004, 04:09 AM   #5
adriaanjoubert
LQ Newbie
 
Registered: Nov 2003
Location: Cyprus
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Well, I reformatted the disk again, downgraded to 2.24 and switched on debugging (hundreds of megs of logs) and it seems to be working now. Now to switch debugging off and try again.... Thanks for the help.

Adriaan
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(9.3) Firewire external NTFS disk access as root only 1kyle SUSE / openSUSE 1 09-01-2005 02:01 PM
Can't mount disk in firewire enclosure serefarikan Linux - Hardware 0 02-01-2005 10:58 AM
mounting hfs+ on a firewire disk MACSRULE Linux - General 0 07-28-2004 06:51 PM
Mounting an external firewire hard disk?? rendaimedia Linux - Hardware 1 06-07-2004 08:07 PM
Firewire disk: how to connect?? dirdej Linux - Hardware 1 05-12-2004 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration