New IT forum Follow us on Twitter
04 February 2012, 05:06:13 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: EFIKA MX now in stock!
 
   Home   SHOP Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: iscsitarget-modules sheevaplug debian  (Read 3116 times)
JustaGuy
Newbie
*
Posts: 38



WWW
« Reply #15 on: 24 July 2010, 10:34:31 am »

I was able to re-partition & reformat it after letting Windows have a go at it, making a FAT32 on it automatically as it likes to do to 'nix thumbdrives.

And here we go again, new f/s:
Code:
mke2fs -j /dev/sda1


And apparently something's askew on this thumbdrive:
Code:
root@ubuntu:~# mkdir /mnt/sda1/image
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
end_request: I/O error, dev sda, sector 23068712
EXT3-fs error (device sda1): read_inode_bitmap: Cannot read inode bitmap - block_group = 88, inode_bitmap = 2883585
EXT3-fs error (device sda1) in ext3_new_inode: IO failure
Aborting journal on device sda1.
journal commit I/O error
mkdir: cannot create directory `/mnt/sda1/image': Input/output error
root@ubuntu:~#

Even without me typing any commands I have this output occurring slowly on the console:
Code:
root@ubuntu:~# usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
hub 1-0:1.0: unable to enumerate USB device on port 1
« Last Edit: 24 July 2010, 10:41:30 am by JustaGuy » Logged
JustaGuy
Newbie
*
Posts: 38



WWW
« Reply #16 on: 24 July 2010, 10:55:48 am »

Here on this post:
http://www.newit.co.uk/forum/index.php/topic,351.msg1179.html#msg1179

It's suggested to check the port by connecting another USB device, so that's what I've done with a little 1GB thumbdrive.

The console sees it when I plug it in, as evidenced by this on the console:
Code:
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] Assuming drive cache: write through


And cfdisk sees it when I do:
Code:
root@ubuntu:~#cfdisk /dev/sdb
                            Pri/Log   Free Space                        1026.99

As soon as I format it, as I was making a dir in /mnt to put it on I got the I/O errors:
Code:
root@ubuntu:~# mkdiend_request: I/O error, dev sdb, sector 398
Buffer I/O error on device sdb1, logical block 168
Buffer I/O error on device sdb1, logical block 169
Buffer I/O error on device sdb1, logical block 170
Buffer I/O error on device sdb1, logical block 171
Buffer I/O error on device sdb1, logical block 172
Buffer I/O error on device sdb1, logical block 173
Buffer I/O error on device sdb1, logical block 174
Buffer I/O error on device sdb1, logical block 175
Buffer I/O error on device sdb1, logical block 176
Buffer I/O error on device sdb1, logical block 177
r /mnt/end_request: I/O error, dev sdb, sector 574
sdb1

...And again when I mount it:
Code:
root@ubuntu:~# mount /dev/sdb1 /mnt/sdb1
end_request: I/O error, dev sdb, sector 398
Buffer I/O error on device sdb1, logical block 168
Buffer I/O error on device sdb1, logical block 169
Buffer I/O error on device sdb1, logical block 170
Buffer I/O error on device sdb1, logical block 171
Buffer I/O error on device sdb1, logical block 172
Buffer I/O error on device sdb1, logical block 173
Buffer I/O error on device sdb1, logical block 174
Buffer I/O error on device sdb1, logical block 175
Buffer I/O error on device sdb1, logical block 176
Buffer I/O error on device sdb1, logical block 177
end_request: I/O error, dev sdb, sector 574
root@ubuntu:~#

df says the old thumbdrive's still there, oops:
Code:
root@ubuntu:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                   256740         0    256740   0% /lib/init/rw
varrun                  256740        36    256704   1% /var/run
varlock                 256740         0    256740   0% /var/lock
udev                    256740       124    256616   1% /dev
tmpfs                   256740         0    256740   0% /dev/shm
rootfs                  472848    472712         0 100% /
overflow                  1024         0      1024   0% /tmp
/dev/sda1             15403936    169428  14452020   2% /mnt/sda1
/dev/sdb1               987096     17648    919304   2% /mnt/sdb1
root@ubuntu:~#

And when I try to umount it, I get the same error as earlier:
Code:
root@ubuntu:~# umount /dev/sda1
ext3_abort called.
EXT3-fs error (device sda1): ext3_put_super: Couldn't clean up the journal
Remounting filesystem read-only
root@ubuntu:~#

And I can't make a dir in the newly-mounted little thumbdrive, either:
Code:
root@ubuntu:~# mkdir /mnt/sdb1/image
end_request: I/O error, dev sdb, sector 1048646
EXT3-fs error (device sdb1): read_inode_bitmap: Cannot read inode bitmap - block_group = 4, inode_bitmap = 131073
EXT3-fs error (device sdb1) in ext3_new_inode: IO failure
mkdir: cannot create directory `/mnt/sdb1/image': Input/output error
root@ubuntu:~#

... I'll come back to this later & reboot so as to not have 2 devices mounted on the same hardware port- then I'll try this again & post the results.
Logged
JustaGuy
Newbie
*
Posts: 38



WWW
« Reply #17 on: 24 July 2010, 07:16:32 pm »

Seems to me this plug is allergic to USB thumbdrives.

Even after a reboot, the same I/O errors persist, with the same 2 USB drives- one old & the other new- really new, as in mounted less than 10 times new.

What follows is the small, old 1GB thumbdrive's output. At least it unmounts.

Code:
root@ubuntu:~# mount /dev/sda1 /mnt/sda1
end_request: I/O error, dev sda, sector 398
Buffer I/O error on device sda1, logical block 168
Buffer I/O error on device sda1, logical block 169
Buffer I/O error on device sda1, logical block 170
Buffer I/O error on device sda1, logical block 171
Buffer I/O error on device sda1, logical block 172
Buffer I/O error on device sda1, logical block 173
Buffer I/O error on device sda1, logical block 174
Buffer I/O error on device sda1, logical block 175
Buffer I/O error on device sda1, logical block 176
Buffer I/O error on device sda1, logical block 177
end_request: I/O error, dev sda, sector 574
root@ubuntu:~# umount /dev/sda1
root@ubuntu:~# mount /dev/sda1 /mnt/sda1
end_request: I/O error, dev sda, sector 398
Buffer I/O error on device sda1, logical block 168
Buffer I/O error on device sda1, logical block 169
Buffer I/O error on device sda1, logical block 170
Buffer I/O error on device sda1, logical block 171
Buffer I/O error on device sda1, logical block 172
Buffer I/O error on device sda1, logical block 173
Buffer I/O error on device sda1, logical block 174
Buffer I/O error on device sda1, logical block 175
Buffer I/O error on device sda1, logical block 176
Buffer I/O error on device sda1, logical block 177
end_request: I/O error, dev sda, sector 574
root@ubuntu:~# mkdir /mnt/sda1/image
end_request: I/O error, dev sda, sector 262718
EXT3-fs error (device sda1): read_inode_bitmap: Cannot read inode bitmap - block_group = 1, inode_bitmap = 32832
EXT3-fs error (device sda1) in ext3_new_inode: IO failure
mkdir: cannot create directory `/mnt/sda1/image': Input/output error
root@ubuntu:~# cfdisk /dev/sda

                         cfdisk (util-linux-ng 2.14.2)

                              Disk Drive: /dev/sda
                        Size: 1027416576 bytes, 1027 MB
              Heads: 32   Sectors per Track: 62   Cylinders: 1011

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    sda1                    Primary   Linux ext3                        1026.99











     [ Bootable ]  [  Delete  ]  [   Help   ]  [ Maximize ]  [  Print   ]
     [   Quit   ]  [   Type   ]  [  Units   ]  [  Write   ]


root@ubuntu:~#

...And this is the other large, new one. It can mount without all the I/O errors, but it takes about 45 seconds to do mkdir, continues to error for another 30 seconds afterward & can't unmount because of it.

Code:

root@ubuntu:~# cfdisk /dev/sda

                         cfdisk (util-linux-ng 2.14.2)

                              Disk Drive: /dev/sda
                        Size: 16026435072 bytes, 16.0 GB
              Heads: 64   Sectors per Track: 32   Cylinders: 15283

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    sda1                    Primary   Linux ext3                       16025.39











     [ Bootable ]  [  Delete  ]  [   Help   ]  [ Maximize ]  [  Print   ]
     [   Quit   ]  [   Type   ]  [  Units   ]  [  Write   ]


root@ubuntu:~# mount /dev/sda1 /mnt/sda1
root@ubuntu:~# mkdir /mnt/sda1/image
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
end_request: I/O error, dev sda, sector 8126504
end_request: I/O error, dev sda, sector 15208480
Buffer I/O error on device sda1, logical block 1901056
EXT3-fs error (device sda1): read_inode_bitmap: Cannot read inode bitmap - block_group = 31, inode_bitmap = 1015809
EXT3-fs error (device sda1) in ext3_new_inode: IO failure
Aborting journal on device sda1.
journal commit I/O error
mkdir: cannot create directory `/mnt/sda1/image': Input/output error
root@ubuntu:~# usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
hub 1-0:1.0: unable to enumerate USB device on port 1
dir
root@ubuntu:~# dir
root@ubuntu:~# dir /mnt/sda1
dir: reading directory /mnt/sda1: Input/output error
root@ubuntu:~# umount /dev/sda1
ext3_abort called.
EXT3-fs error (device sda1): ext3_put_super: Couldn't clean up the journal
Remounting filesystem read-only
root@ubuntu:~#

Is this plug's USB port at fault here?
This one's OS has received no updates or anything, since it's a failsafe more-less.

Waiting for official advise.
Logged
JustaGuy
Newbie
*
Posts: 38



WWW
« Reply #18 on: 24 July 2010, 08:06:10 pm »

For the sake of progress, I've put aside the USB port concern, and have completed the backup process with (seeming) success using the eSATA drive rather than USB for the transfer point.
The following is a transcript of the commands involved & their output:
Code:
root@ubuntu:~# cfdisk /dev/sda

                         cfdisk (util-linux-ng 2.14.2)

                              Disk Drive: /dev/sda
                      Size: 2199023185920 bytes, 2199.0 GB
             Heads: 255   Sectors per Track: 63   Cylinders: 267349

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    sda1                    Primary   Linux ext3                     2199020.39











     [ Bootable ]  [  Delete  ]  [   Help   ]  [ Maximize ]  [  Print   ]
     [   Quit   ]  [   Type   ]  [  Units   ]  [  Write   ]


root@ubuntu:~# mount /dev/sda1 /mnt/sda1
root@ubuntu:~# mkdir /mnt/sda1/image
root@ubuntu:~# dir /mnt/sda1
image  lost+found  nfs_datastore10
root@ubuntu:~# dd if=/dev/mmcblk0 of=/mnt/sda1/image/debie1.img bs=1M
7870+0 records in
7870+0 records out
8252293120 bytes (8.3 GB) copied, 553.816 s, 14.9 MB/s
root@ubuntu:~# dd if=/mnt/sda1/image/debie1.img of=/dev/mmcblk0 bs=1M
7870+0 records in
7870+0 records out
8252293120 bytes (8.3 GB) copied, 998.498 s, 8.3 MB/s
root@ubuntu:~#
When I boot into the new card, all goes as expected as if it were the original card.
Logged
JustaGuy
Newbie
*
Posts: 38



WWW
« Reply #19 on: 24 July 2010, 08:21:31 pm »

Even now in the SD card's OS, the new, large USB thumbdrive still has issues:
Code:
root@debie1:~# ata2.00: failed to read SCR 1 (Emask=0x40)
ata2.01: failed to read SCR 1 (Emask=0x40)
ata2.02: failed to read SCR 1 (Emask=0x40)
ata2.03: failed to read SCR 1 (Emask=0x40)
ata2.04: failed to read SCR 1 (Emask=0x40)
ata2.05: failed to read SCR 1 (Emask=0x40)
ata2.06: failed to read SCR 1 (Emask=0x40)
ata2.07: failed to read SCR 1 (Emask=0x40)
ata2.08: failed to read SCR 1 (Emask=0x40)
ata2.09: failed to read SCR 1 (Emask=0x40)
ata2.10: failed to read SCR 1 (Emask=0x40)
ata2.11: failed to read SCR 1 (Emask=0x40)
ata2.12: failed to read SCR 1 (Emask=0x40)
ata2.13: failed to read SCR 1 (Emask=0x40)
ata2.15: exception Emask 0x10 SAct 0x0 SErr 0x180000 action 0x6 frozen
ata2.15: edma_err_cause=00000020 pp_flags=00000001, SError=00180000
ata2.15: SError: { 10B8B Dispar }
ata2.00: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.01: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.02: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.03: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.04: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.05: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.06: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.07: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.08: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.09: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.10: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.11: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.12: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.13: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.15: hard resetting link
usb 1-1: new high speed USB device using orion-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
scsi 2:0:0:0: Direct-Access              Gigaware         8.02 PQ: 0 ANSI: 0 CCS
sd 2:0:0:0: Attached scsi generic sg4 type 0
sd 2:0:0:0: [sde] 31301631 512-byte logical blocks: (16.0 GB/14.9 GiB)
sd 2:0:0:0: [sde] Write Protect is off
sd 2:0:0:0: [sde] Assuming drive cache: write through
sd 2:0:0:0: [sde] Assuming drive cache: write through
 sde: sde1
sd 2:0:0:0: [sde] Assuming drive cache: write through
sd 2:0:0:0: [sde] Attached SCSI removable disk
ata2.15: link is slow to respond, please be patient (ready=0)
ata2.15: SRST failed (errno=-16)
ata2.15: hard resetting link
ata2.15: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
ata2.00: hard resetting link
ata2.01: hard resetting link
ata2.02: hard resetting link
ata2.03: hard resetting link
ata2.04: hard resetting link
ata2.05: hard resetting link
ata2.06: hard resetting link
ata2.07: hard resetting link
ata2.08: hard resetting link
ata2.09: hard resetting link
ata2.10: hard resetting link
ata2.11: hard resetting link
ata2.12: hard resetting link
ata2.13: hard resetting link
ata2.00: configured for UDMA/133
ata2.01: configured for UDMA/133
ata2.02: configured for UDMA/133
ata2.03: configured for UDMA/133
ata2: EH complete

root@debie1:~# cfdisk /dev/sde

                         cfdisk (util-linux-ng 2.17.2)

                              Disk Drive: /dev/sde
                        Size: 16026435072 bytes, 16.0 GB
              Heads: 64   Sectors per Track: 32   Cylinders: 15283

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    sde1                    Primary   Linux ext3                       16025.39











     [ Bootable ]  [  Delete  ]  [   Help   ]  [ Maximize ]  [  Print   ]
     [   Quit   ]  [   Type   ]  [  Units   ]  [  Write   ]

                  Quit program without writing partition table


root@debie1:~# dir /mnt
sda1  sdb1  sdc1  sdd1  sde1
root@debie1:~# mount /dev/sde1 /mnt/sde1
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sde1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with writeback data mode.
root@debie1:~# dir /mnt/sde1
lost+found
root@debie1:~# mkdir /mnt/sde1/image
usb 1-1: reset high speed USB device using orion-ehci and address 2
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: reset high speed USB device using orion-ehci and address 2
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: reset high speed USB device using orion-ehci and address 2
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: reset high speed USB device using orion-ehci and address 2
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: USB disconnect, address 2
sd 2:0:0:0: Device offlined - not ready after error recovery
sd 2:0:0:0: [sde] Unhandled error code
sd 2:0:0:0: [sde] Result: hostbyte=0x07 driverbyte=0x00
sd 2:0:0:0: [sde] CDB: cdb[0]=0x28: 28 00 01 30 00 28 00 00 08 00
end_request: I/O error, dev sde, sector 19922984
EXT3-fs error (device sde1): read_inode_bitmap: Cannot read inode bitmap - block_group = 76, inode_bitmap = 2490369
EXT3-fs error (device sde1) in ext3_new_inode: IO failure
------------[ cut here ]------------
WARNING: at fs/buffer.c:1159 mark_buffer_dirty+0x30/0xdc()
Modules linked in: ipv6 nfsd exportfs dm_crypt dm_mod mv_cesa
[<c00307f8>] (unwind_backtrace+0x0/0xdc) from [<c0041570>] (warn_slowpath_common+0x48/0x60)
[<c0041570>] (warn_slowpath_common+0x48/0x60) from [<c00decdc>] (mark_buffer_dirty+0x30/0xdc)
[<c00decdc>] (mark_buffer_dirty+0x30/0xdc) from [<c0115bf4>] (T.526+0x58/0x64)
[<c0115bf4>] (T.526+0x58/0x64) from [<c0115c90>] (ext3_handle_error+0x90/0xb4)
[<c0115c90>] (ext3_handle_error+0x90/0xb4) from [<c0115d20>] (__ext3_std_error+0x6c/0x78)
[<c0115d20>] (__ext3_std_error+0x6c/0x78) from [<c010ccd8>] (ext3_new_inode+0x93c/0x9a4)
[<c010ccd8>] (ext3_new_inode+0x93c/0x9a4) from [<c0113720>] (ext3_mkdir+0x7c/0x2b4)
[<c0113720>] (ext3_mkdir+0x7c/0x2b4) from [<c00c4dc8>] (vfs_mkdir+0x68/0xb8)
[<c00c4dc8>] (vfs_mkdir+0x68/0xb8) from [<c00c6ebc>] (sys_mkdirat+0x84/0xd0)
[<c00c6ebc>] (sys_mkdirat+0x84/0xd0) from [<c002b9e0>] (ret_fast_syscall+0x0/0x28)
---[ end trace 997326c2ddda9e88 ]---
Aborting journal on device sde1.
journal commit I/O error

Message from syslogd@debie1 at Jul 24 16:18:28 ...
 kernel:journal commit I/O error
mkdir: cannot create directory `/mnt/sde1/image': Input/output error
root@debie1:~# usb 1-1: new high speed USB device using orion-ehci and address 3

root@debie1:~#
root@debie1:~#
root@debie1:~# usb 1-1: device descriptor read/64, error -110
dirusb 1-1: device descriptor read/64, error -110
usb 1-1: new high speed USB device using orion-ehci and address 4
 /mnt/sde1
dir: reading directory /mnt/sde1: Input/output error
root@debie1:~# usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new high speed USB device using orion-ehci and address 5
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: new high speed USB device using orion-ehci and address 6
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
hub 1-0:1.0: unable to enumerate USB device on port 1


I'll try deleting & recreating the partition, and reformatting it again from this OS & see if that helps any.

Except, of course, after a reboot, since again unmounting isn't happening:
Code:
root@debie1:~#
root@debie1:~# umount /dev/sde1
ext3_abort called.
EXT3-fs error (device sde1): ext3_put_super: Couldn't clean up the journal
Remounting filesystem read-only
root@debie1:~#
« Last Edit: 24 July 2010, 08:23:08 pm by JustaGuy » Logged
JustaGuy
Newbie
*
Posts: 38



WWW
« Reply #20 on: 24 July 2010, 08:48:36 pm »

Hmm, the sky- it _is_ falling.  Cry

Here's a transcript of the same problem on the previously safe-upgrade'd, Debian OS that lives on the SD card rather than the NAND, from which these errors would occur earlier:
Code:
root@debie1:~# cfdisk /dev/sde
                         cfdisk (util-linux-ng 2.17.2)

                              Disk Drive: /dev/sde
                        Size: 16026435072 bytes, 16.0 GB
              Heads: 64   Sectors per Track: 32   Cylinders: 15283

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
                            Pri/Log   Free Space                       16025.39











     Are you sure you want to write the partition table to disk? (yes or no): ye

     [   Help   ]  [   New    ]  [  Print   ]  [   Quit   ]  [  Units   ]
ing d[  Write   ]write through
 sde: No primary partitions are marked bootable. DOS MBR cannot boot this.
Disk has been changed.Create new partition from free space

WARNING: If you have created or modified any
DOS 6.x partitions, please see the cfdisk manual
page for additional information.

root@debie1:~# cfdisk /dev/sde
                         cfdisk (util-linux-ng 2.17.2)

                              Disk Drive: /dev/sde
                        Size: 16026435072 bytes, 16.0 GB
              Heads: 64   Sectors per Track: 32   Cylinders: 15283

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    sde1                    Primary   Linux                            16025.39











     Are you sure you want to write the partition table to disk? (yes or no): ye

     [ Bootable ]  [  Delete  ]  [   Help   ]  [ Maximize ]  [  Print   ]
ing d[   Quit   ]  [   Type   ]  [  Units   ]  [  Write   ]
 sde: No primary partitions are marked bootable. DOS MBR cannot boot this.
Disk has been changed.e bootable flag of the current partition

WARNING: If you have created or modified any
DOS 6.x partitions, please see the cfdisk manual
page for additional information.

root@debie1:~# cfdisk /dev/sde
                         cfdisk (util-linux-ng 2.17.2)

                              Disk Drive: /dev/sde
                        Size: 16026435072 bytes, 16.0 GB
              Heads: 64   Sectors per Track: 32   Cylinders: 15283

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    sde1                    Primary   Linux ext3                       16025.39











     [ Bootable ]  [  Delete  ]  [   Help   ]  [ Maximize ]  [  Print   ]
     [   Quit   ]  [   Type   ]  [  Units   ]  [  Write   ]

                  Quit program without writing partition table
root@debie1:~# mke2fs -j /dev/sde1
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
979200 inodes, 3912444 blocks
195622 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4009754624
120 block groups
32768 blocks per group, 32768 fragments per group
8160 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
root@debie1:~# reboot
Last login: Sat Jul 24 16:26:06 EDT 2010 on ttyS0
Linux debie1 2.6.32.7 #5 PREEMPT Wed Feb 10 21:09:39 GMT 2010 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debie1:~# usb 1-1: new high speed USB device using orion-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
scsi 2:0:0:0: Direct-Access              Gigaware         8.02 PQ: 0 ANSI: 0 CCS
sd 2:0:0:0: Attached scsi generic sg4 type 0
sd 2:0:0:0: [sde] 31301631 512-byte logical blocks: (16.0 GB/14.9 GiB)
sd 2:0:0:0: [sde] Write Protect is off
sd 2:0:0:0: [sde] Assuming drive cache: write through
sd 2:0:0:0: [sde] Assuming drive cache: write through
 sde: sde1
sd 2:0:0:0: [sde] Assuming drive cache: write through
sd 2:0:0:0: [sde] Attached SCSI removable disk

root@debie1:~#
root@debie1:~# cfdisk /dev/sde
                         cfdisk (util-linux-ng 2.17.2)

                              Disk Drive: /dev/sde
                        Size: 16026435072 bytes, 16.0 GB
              Heads: 64   Sectors per Track: 32   Cylinders: 15283

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    sde1                    Primary   Linux ext3                       16025.39











     [ Bootable ]  [  Delete  ]  [   Help   ]  [ Maximize ]  [  Print   ]
     [   Quit   ]  [   Type   ]  [  Units   ]  [  Write   ]

                  Quit program without writing partition table
root@debie1:~# mount /dev/sde1 /mnt/sde1
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sde1, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
root@debie1:~# dir /mnt/sde1
lost+found
root@debie1:~# mkdir /mnt/sde1/image
usb 1-1: reset high speed USB device using orion-ehci and address 2
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: reset high speed USB device using orion-ehci and address 2
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: reset high speed USB device using orion-ehci and address 2
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: reset high speed USB device using orion-ehci and address 2
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: USB disconnect, address 2
sd 2:0:0:0: Device offlined - not ready after error recovery
sd 2:0:0:0: [sde] Unhandled error code
sd 2:0:0:0: [sde] Result: hostbyte=0x07 driverbyte=0x00
sd 2:0:0:0: [sde] CDB: cdb[0]=0x28: 28 00 01 a0 00 28 00 00 08 00
end_request: I/O error, dev sde, sector 27263016
EXT3-fs error (device sde1): read_inode_bitmap: Cannot read inode bitmap - block_group = 104, inode_bitmap = 3407873
EXT3-fs error (device sde1) in ext3_new_inode: IO failure
------------[ cut here ]------------
WARNING: at fs/buffer.c:1159 mark_buffer_dirty+0x30/0xdc()
Modules linked in: ipv6 nfsd exportfs dm_crypt dm_mod mv_cesa
[<c00307f8>] (unwind_backtrace+0x0/0xdc) from [<c0041570>] (warn_slowpath_common+0x48/0x60)
[<c0041570>] (warn_slowpath_common+0x48/0x60) from [<c00decdc>] (mark_buffer_dirty+0x30/0xdc)
[<c00decdc>] (mark_buffer_dirty+0x30/0xdc) from [<c0115bf4>] (T.526+0x58/0x64)
[<c0115bf4>] (T.526+0x58/0x64) from [<c0115c90>] (ext3_handle_error+0x90/0xb4)
[<c0115c90>] (ext3_handle_error+0x90/0xb4) from [<c0115d20>] (__ext3_std_error+0x6c/0x78)
[<c0115d20>] (__ext3_std_error+0x6c/0x78) from [<c010ccd8>] (ext3_new_inode+0x93c/0x9a4)
[<c010ccd8>] (ext3_new_inode+0x93c/0x9a4) from [<c0113720>] (ext3_mkdir+0x7c/0x2b4)
[<c0113720>] (ext3_mkdir+0x7c/0x2b4) from [<c00c4dc8>] (vfs_mkdir+0x68/0xb8)
[<c00c4dc8>] (vfs_mkdir+0x68/0xb8) from [<c00c6ebc>] (sys_mkdirat+0x84/0xd0)
[<c00c6ebc>] (sys_mkdirat+0x84/0xd0) from [<c002b9e0>] (ret_fast_syscall+0x0/0x28)
---[ end trace f2d1c0998fafc964 ]---
Aborting journal on device sde1.
journal commit I/O error

Message from syslogd@debie1 at Jul 24 16:38:22 ...
 kernel:journal commit I/O error
mkdir: cannot create directory `/mnt/sde1/image': Input/output error
root@debie1:~# usb 1-1: new high speed USB device using orion-ehci and address 3
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new high speed USB device using orion-ehci and address 4
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new high speed USB device using orion-ehci and address 5
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: new high speed USB device using orion-ehci and address 6
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
hub 1-0:1.0: unable to enumerate USB device on port 1

root@debie1:~#
root@debie1:~# umount /dev/sde1
ext3_abort called.
EXT3-fs error (device sde1): ext3_put_super: Couldn't clean up the journal
Remounting filesystem read-only
root@debie1:~#


I'm not going to even bother checking the 1GB thumbdrive again, something tells me it's going to have the same troubles.
--
Hey, Marcus- what's next from here?
Whichever you feel like addressing, iSCSI modules or USB port.... Both maybe if you're up to it?

-Thanks
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #21 on: 25 July 2010, 10:13:10 am »

If you have tested more than one thumbdrive and received repeated failures then we would accept the possibility of a hardware problem. If you want to get back to us on that please e-mail jason@newit.co.uk and advise him of how many USB sticks you have tested and what models. If there is a problem then it might be down to the power supply, and we may be able to supply you a new one.
Logged
JustaGuy
Newbie
*
Posts: 38



WWW
« Reply #22 on: 25 July 2010, 10:39:48 am »

please e-mail jason@newit.co.uk
Sent.
Logged
JustaGuy
Newbie
*
Posts: 38



WWW
« Reply #23 on: 25 July 2010, 08:05:42 pm »

Quote
You will normally have to install packages and perform some configuration. Any sheevaplug kernel is likely to require manual copying to your SD card, but that's a (hopefully trivial) final step.

Right now I'm not clear how far you have reached. Did you install kernel-package yet?

Is installing kernel-package the next step toward making an iSCSI target out of the eSATA drive?
Could I have some direction on this please? I'm at a loss since the official Debian instructions apparently don't work on Sheevaplugs.
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #24 on: 26 July 2010, 07:29:28 am »

If it's kernel headers that you need, I would recommend that you upgrade to a recent kernel and grab the matching headers from http://sheeva.with-linux.com/sheeva/
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!