My system info: # uname -a Linux bigboote 2.6.9-1.678_FC3 #1 Mon Nov 15 18:28:07 EST 2004 i686 i686 i386 GNU/Linux
I'm using an Adaptec AFW-4300 firewire card and a DiskGo! Edge portable 120 GB hard drive, which has 1 USB and 2 1394 ports. It worked okay yesterday, but something's weird today.
I've installed the latest udev, which cleared up an error message from the ieee1394 module about "Error parsing configrom ...".
---------------------------------------------------------------------------------- # rpm -qa | grep udev udev-042-1 udev-debuginfo-042-1 ----------------------------------------------------------------------------------
But I still can't partition the disk over the firewire connection.
parted doesn't work, and I see the following kernel message in /var/log/messages:
---------------------------------------------------------------------------------- Nov 19 20:21:34 localhost kernel: program qtparted is using a deprecated SCSI ioctl, please convert it to SG_IO ----------------------------------------------------------------------------------
(That's when I use qtparted, but plain old parted gives the same message.)
So I'm trying fdisk (which doesn't give me the "deprecated SCSI ioctl" message). Here's my fdisk session:
---------------------------------------------------------------------------------- # fdisk /dev/sda Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable.
The number of cylinders for this disk is set to 14946. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): p
Disk /dev/sda: 122.9 GB, 122942324736 bytes 255 heads, 63 sectors/track, 14946 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-14946, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-14946, default 14946): Using default value 14946
Command (m for help): p
Disk /dev/sda: 122.9 GB, 122942324736 bytes 255 heads, 63 sectors/track, 14946 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/sda1 1 14946 120053713+ 83 Linux
Command (m for help): w The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 5: Input/output error. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. ----------------------------------------------------------------------------------
... and after the fdisk session above, fdisk can't open the device:
------------------------ # fdisk /dev/sda
Unable to open /dev/sda ------------------------
Here are the messages in /var/log/messages from this session:
----------------------------------------------------------------------------------
Nov 19 20:30:10 localhost kernel: ieee1394: sbp2: aborting sbp2 command
Nov 19 20:30:10 localhost kernel: Write (10) 00 00 00 00 00 00 00 08 00 Nov 19 20:30:43 localhost kernel: ieee1394: sbp2: aborting sbp2 command
Nov 19 20:30:43 localhost kernel: Test Unit Ready 00 00 00 00 00 Nov 19 20:30:53 localhost kernel: ieee1394: sbp2: aborting sbp2 command
Nov 19 20:30:53 localhost kernel: Test Unit Ready 00 00 00 00 00 Nov 19 20:30:53 localhost kernel: ieee1394: sbp2: reset requested
Nov 19 20:30:53 localhost kernel: ieee1394: sbp2: Generating sbp2 fetch agent reset
Nov 19 20:31:02 localhost kernel: ieee1394: sbp2: aborting sbp2 command
Nov 19 20:31:02 localhost kernel: Test Unit Ready 00 00 00 00 00 Nov 19 20:31:02 localhost kernel: ieee1394: sbp2: reset requested
Nov 19 20:31:02 localhost kernel: ieee1394: sbp2: Generating sbp2 fetch agent reset
Nov 19 20:31:22 localhost kernel: ieee1394: sbp2: aborting sbp2 command
Nov 19 20:31:22 localhost kernel: Test Unit Ready 00 00 00 00 00 Nov 19 20:31:22 localhost kernel: ieee1394: sbp2: reset requested
Nov 19 20:31:22 localhost kernel: ieee1394: sbp2: Generating sbp2 fetch agent reset
Nov 19 20:31:42 localhost kernel: ieee1394: sbp2: aborting sbp2 command
Nov 19 20:31:42 localhost kernel: Test Unit Ready 00 00 00 00 00 Nov 19 20:31:42 localhost kernel: scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0
Nov 19 20:31:42 localhost kernel: scsi1 (0:0): rejecting I/O to offline device
Nov 19 20:31:42 localhost last message repeated 2 times
Nov 19 20:31:42 localhost kernel: sda : READ CAPACITY failed.
Nov 19 20:31:42 localhost kernel: sda : status=0, message=00, host=5, driver=04 Nov 19 20:31:42 localhost kernel: sda : sense not available. Nov 19 20:31:42 localhost kernel: scsi1 (0:0): rejecting I/O to offline device
Nov 19 20:31:42 localhost kernel: sda: asking for cache data failed
Nov 19 20:31:42 localhost kernel: sda: assuming drive cache: write through
Nov 19 20:31:42 localhost kernel: sda:<3>scsi1 (0:0): rejecting I/O to offline device
Nov 19 20:31:43 localhost kernel: Buffer I/O error on device sda, logical block 0
Nov 19 20:31:43 localhost kernel: scsi1 (0:0): rejecting I/O to offline device
Nov 19 20:31:43 localhost kernel: Buffer I/O error on device sda, logical block 0
Nov 19 20:31:43 localhost kernel: scsi1 (0:0): rejecting I/O to offline device
Nov 19 20:31:43 localhost kernel: Buffer I/O error on device sda, logical block 30015215
Nov 19 20:31:43 localhost kernel: scsi1 (0:0): rejecting I/O to offline device
Nov 19 20:31:43 localhost kernel: Buffer I/O error on device sda, logical block 30015215
Nov 19 20:31:43 localhost kernel: scsi1 (0:0): rejecting I/O to offline device
Nov 19 20:31:43 localhost kernel: Buffer I/O error on device sda, logical block 0
Nov 19 20:31:43 localhost kernel: unable to read partition table
----------------------------------------------------------------------------------
Any ideas?
Thanks! Steve