Re: [gentoo-user] wtf is superfloppy? (vosonic usb drive)

2005-12-14 Thread Neil Bothwick
On Wed, 14 Dec 2005 15:11:54 +0930, Iain Buchanan wrote:

 It appears the final solution is:
 
 1) CONFIG_SCSI_MULTI_LUN=y
 2) linux-2.6.15-rc5

I have a multi-card reader that works find with CONFIG_SCSI_MULTI_LUN=y
and older kernel versions.


-- 
Neil Bothwick

Employ teenagers - while they know everything.


signature.asc
Description: PGP signature


Re: [gentoo-user] wtf is superfloppy? (vosonic usb drive)

2005-12-14 Thread Iain Buchanan
On Wed, 2005-12-14 at 10:51 +, Neil Bothwick wrote:
 On Wed, 14 Dec 2005 15:11:54 +0930, Iain Buchanan wrote:
 
  It appears the final solution is:
  
  1) CONFIG_SCSI_MULTI_LUN=y
  2) linux-2.6.15-rc5
 
 I have a multi-card reader that works find with CONFIG_SCSI_MULTI_LUN=y
 and older kernel versions.

yeah, I don't know why it didn't work - I think it had something to do
with the upgrade of genkernel (I'm kind of guessing here) because even
when I removed the CONFIG_SCSI_MULTI_LUN option, I still couldn't boot.
So that means it wasn't related to that option, but rather was something
else I changed in the mean time.

-- 
Iain Buchanan iaindb at netspace dot net dot au

When you have to kill a man it costs nothing to be polite.
-- Winston Churchill, on formal declarations of war

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wtf is superfloppy? (vosonic usb drive)

2005-12-13 Thread Neil Bothwick
On Tue, 13 Dec 2005 11:57:44 +0930, Iain Buchanan wrote:

   What does tail-f /var/log/messages show while you plug in the
   device?
 
 Dec 12 23:15:25 orpheus usb 1-6: USB disconnect, address 5
 Dec 12 23:15:54 orpheus usb 1-6: new high speed USB device using
 ehci_hcd and address 6 Dec 12 23:15:54 orpheus scsi3 : SCSI emulation
 for USB Mass Storage devices Dec 12 23:15:54 orpheus usb-storage:
 device found at 6 Dec 12 23:15:54 orpheus usb-storage: waiting for
 device to settle before scanning Dec 12 23:15:59 orpheus
 Vendor:   Model: VP6230Rev: 1.07 Dec 12 23:15:59
 orpheus Type:   Direct-Access  ANSI SCSI revision:
 00 Dec 12 23:15:59 orpheus sd 3:0:0:0: Attached scsi removable disk sda
 Dec 12 23:15:59 orpheus sd 3:0:0:0: Attached scsi generic sg0 type 0
 Dec 12 23:15:59 orpheus usb-storage: device scan complete Dec 12
 23:15:59 orpheus scsi.agent[31638]: disk
 at /devices/pci:00/:00:1d.7/usb1/1-6/1-6:1.0/host3/target3:0:0/3:0:0:0
 

Only one device is detected, despite there being four. Did you say the HD
shows up after the memory card slots in Windows? If so, only one of these
is detected as sda, no wonder you can't mount the HD.

  Also, you might need to turn on Probe all LUNs on each SCSI device
  under SCSI configuration to see all of the different card readers and
  drives on that device.
 
 wierd, I enabled this option, and my kernel can't boot anymore!  I get
 some message about unable to mount (or umount - can't remember)
 initramfs, and something about /dev not existing!!

What does

grep SCSI /usr/src/linux/.config | grep -v ^#

show?


-- 
Neil Bothwick

Suicidal twin kills sister by mistake!


signature.asc
Description: PGP signature


Re: [gentoo-user] wtf is superfloppy? (vosonic usb drive)

2005-12-13 Thread Iain Buchanan
On Tue, 2005-12-13 at 08:48 +, Neil Bothwick wrote:
 On Tue, 13 Dec 2005 11:57:44 +0930, Iain Buchanan wrote:
 
What does tail-f /var/log/messages show while you plug in the
device?
  
[snip]
 
 Only one device is detected, despite there being four. Did you say the HD
 shows up after the memory card slots in Windows? If so, only one of these
 is detected as sda, no wonder you can't mount the HD.

that appears to have been the problem!

 What does
 
 grep SCSI /usr/src/linux/.config | grep -v ^#
 
 show?

CONFIG_BLK_DEV_IDESCSI=y
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_SPI_ATTRS=m
CONFIG_SCSI_QLA2XXX=y

It appears the final solution is:

1) CONFIG_SCSI_MULTI_LUN=y
2) linux-2.6.15-rc5
3) wait for 5 seconds before trying to mount the device (I had a script
in /etc/hotplug/usb.agent which was working too fast!)

Now I see /dev/sda, /dev/sdb, /dev/sdc, and /dev/sdd, which holds the
harddrive partitions!

thanks for all the help.
-- 
Iain Buchanan iaindb at netspace dot net dot au

If I were a grave-digger or even a hangman, there are some people I could
work for with a great deal of enjoyment.
-- Douglas Jerrold

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wtf is superfloppy? (vosonic usb drive)

2005-12-13 Thread Dirk Heinrichs
Am Mittwoch, 14. Dezember 2005 06:41 schrieb ext Iain Buchanan:

 Now I see /dev/sda, /dev/sdb, /dev/sdc, and /dev/sdd, which holds the
 harddrive partitions!

Just a hint: These device names may change depending on the order you plug 
in your (USB) devices (i.e. when you plug in a USB stick before your HD, 
then the stick will be sda and the HD will become sde).

However, you can use udev to implement a consistant, custom naming scheme 
for your USB devices. The details about udev rule writing can be found 
here: http://www.reactivated.net/writing_udev_rules.html.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpFv8KNUA3jN.pgp
Description: PGP signature


Re: [gentoo-user] wtf is superfloppy? (vosonic usb drive)

2005-12-12 Thread Neil Bothwick
On Mon, 12 Dec 2005 22:44:35 +0930, Iain Buchanan wrote:


  This just means the filesystem is on the whole disk, it is not
  partitioned.
 
 thats what I presumed, but 1) I can't `mount /dev/sda /mnt/tmp`; and 2)
 in windows I see 4 drives (3 card reader slots, and the internal hd),
 not one - how can I get 4 drives from /dev/sda?

You wouldn't, they are separate drives, so they'd be sda, sdb...

What does tail-f /var/log/messages show while you plug in the device?


-- 
Neil Bothwick

Top Oxymorons Number 47: Act naturally


signature.asc
Description: PGP signature


Re: [gentoo-user] wtf is superfloppy? (vosonic usb drive)

2005-12-12 Thread Richard Fish
On 12/12/05, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Mon, 12 Dec 2005 22:44:35 +0930, Iain Buchanan wrote:


   This just means the filesystem is on the whole disk, it is not
   partitioned.
 
  thats what I presumed, but 1) I can't `mount /dev/sda /mnt/tmp`; and 2)
  in windows I see 4 drives (3 card reader slots, and the internal hd),
  not one - how can I get 4 drives from /dev/sda?

 You wouldn't, they are separate drives, so they'd be sda, sdb...

 What does tail-f /var/log/messages show while you plug in the device?

Also, you might need to turn on Probe all LUNs on each SCSI device
under SCSI configuration to see all of the different card readers and
drives on that device.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wtf is superfloppy? (vosonic usb drive)

2005-12-12 Thread Iain Buchanan
On Mon, 2005-12-12 at 10:43 -0700, Richard Fish wrote:
 On 12/12/05, Neil Bothwick [EMAIL PROTECTED] wrote:
  On Mon, 12 Dec 2005 22:44:35 +0930, Iain Buchanan wrote:
 
 
This just means the filesystem is on the whole disk, it is not
partitioned.
  
   thats what I presumed, but 1) I can't `mount /dev/sda /mnt/tmp`; and 2)
   in windows I see 4 drives (3 card reader slots, and the internal hd),
   not one - how can I get 4 drives from /dev/sda?
 
  You wouldn't, they are separate drives, so they'd be sda, sdb...

and yet, there is only /dev/sda, no /dev/sd[b|c|d] (maybe this is the
probe all LUN's option below?)

  What does tail-f /var/log/messages show while you plug in the device?

Dec 12 23:15:25 orpheus usb 1-6: USB disconnect, address 5
Dec 12 23:15:54 orpheus usb 1-6: new high speed USB device using ehci_hcd and 
address 6
Dec 12 23:15:54 orpheus scsi3 : SCSI emulation for USB Mass Storage devices
Dec 12 23:15:54 orpheus usb-storage: device found at 6
Dec 12 23:15:54 orpheus usb-storage: waiting for device to settle before 
scanning
Dec 12 23:15:59 orpheus Vendor:   Model: VP6230Rev: 1.07
Dec 12 23:15:59 orpheus Type:   Direct-Access  ANSI SCSI 
revision: 00
Dec 12 23:15:59 orpheus sd 3:0:0:0: Attached scsi removable disk sda
Dec 12 23:15:59 orpheus sd 3:0:0:0: Attached scsi generic sg0 type 0
Dec 12 23:15:59 orpheus usb-storage: device scan complete
Dec 12 23:15:59 orpheus scsi.agent[31638]: disk at 
/devices/pci:00/:00:1d.7/usb1/1-6/1-6:1.0/host3/target3:0:0/3:0:0:0

 Also, you might need to turn on Probe all LUNs on each SCSI device
 under SCSI configuration to see all of the different card readers and
 drives on that device.

wierd, I enabled this option, and my kernel can't boot anymore!  I get
some message about unable to mount (or umount - can't remember)
initramfs, and something about /dev not existing!!

I'm currently playing around with SCSI options in the kernel to see if I
can get this working...

thanks for the help so far,
-- 
Iain Buchanan iaindb at netspace dot net dot au

You have junk mail.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wtf is superfloppy? (vosonic usb drive)

2005-12-12 Thread Neil Bothwick
On Mon, 12 Dec 2005 16:25:47 +0930, Iain Buchanan wrote:

 All I've found so far, is something mentioning the superfloppy format
 (what's that?).  Supposedly I can `mount /dev/sda /mnt/tmp` (note the
 sda, not sdax) but this doesn't work: 

This just means the filesystem is on the whole disk, it is not
partitioned.

 dmesg reports
 
 usb 1-4: new high speed USB device using ehci_hcd and address 7
 scsi2 : SCSI emulation for USB Mass Storage devices
 usb-storage: device found at 7
 usb-storage: waiting for device to settle before scanning
   Vendor:   Model: VP6230Rev: 1.07
   Type:   Direct-Access  ANSI SCSI revision: 00
 sd 2:0:0:0: Attached scsi removable disk sda
 sd 2:0:0:0: Attached scsi generic sg0 type 0
 usb-storage: device scan complete

It is detecting sda here, with no partitions, but giving no other
information. Do you have SCSI disk support in your kernel?

 The drive shows under windows, after the 3 card reader slots.

Do other USB mass storage devices work with Linux for you?


-- 
Neil Bothwick

WinErr 010: Reserved for future mistakes by our developers


signature.asc
Description: PGP signature


Re: [gentoo-user] wtf is superfloppy? (vosonic usb drive)

2005-12-12 Thread Dirk Heinrichs
Am Montag, 12. Dezember 2005 07:55 schrieb ext Iain Buchanan:

 dmesg reports

 usb 1-4: new high speed USB device using ehci_hcd and address 7
 scsi2 : SCSI emulation for USB Mass Storage devices
 usb-storage: device found at 7
 usb-storage: waiting for device to settle before scanning
   Vendor:   Model: VP6230Rev: 1.07
   Type:   Direct-Access  ANSI SCSI revision: 00
 sd 2:0:0:0: Attached scsi removable disk sda
 sd 2:0:0:0: Attached scsi generic sg0 type 0
 usb-storage: device scan complete

 fdisk doesn't work either:
 $ sudo fdisk /dev/sda
 Password:

 Unable to open /dev/sda

Do you have CONFIG_BLK_DEV_SD=m (aka SCSI Disk support) in your kernel 
config?

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpRADNt7lpC3.pgp
Description: PGP signature


Re: [gentoo-user] wtf is superfloppy? (vosonic usb drive)

2005-12-12 Thread Iain Buchanan
Hi, thanks for your help,

On Mon, 2005-12-12 at 09:12 +, Neil Bothwick wrote:
 On Mon, 12 Dec 2005 16:25:47 +0930, Iain Buchanan wrote:
 
  All I've found so far, is something mentioning the superfloppy format
  (what's that?).  Supposedly I can `mount /dev/sda /mnt/tmp` (note the
  sda, not sdax) but this doesn't work: 
 
 This just means the filesystem is on the whole disk, it is not
 partitioned.

thats what I presumed, but 1) I can't `mount /dev/sda /mnt/tmp`; and 2)
in windows I see 4 drives (3 card reader slots, and the internal hd),
not one - how can I get 4 drives from /dev/sda?

 It is detecting sda here, with no partitions, but giving no other
 information. Do you have SCSI disk support in your kernel?

yes - CONFIG_BLK_DEV_SD=y

 Do other USB mass storage devices work with Linux for you?

yep, a small usb card reader, and a laptop harddrive usb enclosure.
Both work great!

thanks,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Research is what I'm doing when I don't know what I'm doing.
-- Wernher von Braun

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wtf is superfloppy? (vosonic usb drive)

2005-12-12 Thread Iain Buchanan
On Mon, 2005-12-12 at 10:24 +0100, Dirk Heinrichs wrote:
 Am Montag, 12. Dezember 2005 07:55 schrieb ext Iain Buchanan:
 
  Unable to open /dev/sda
 
 Do you have CONFIG_BLK_DEV_SD=m (aka SCSI Disk support) in your kernel 
 config?

yep, actually its its CONFIG_BLK_DEV_SD=y

thanks,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Ogden's Law:
The sooner you fall behind, the more time you have to catch up.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] wtf is superfloppy? (vosonic usb drive)

2005-12-11 Thread Iain Buchanan
Hi all,

I have just purchased the Vosonic X's-Drive 6230 (hate that
punctuation ;) under the promise of linux support... 

Well, it doesn't work for me - there is one or two unhelpful lines of
text on their website that mention linux.

All I've found so far, is something mentioning the superfloppy format
(what's that?).  Supposedly I can `mount /dev/sda /mnt/tmp` (note the
sda, not sdax) but this doesn't work: 

$ sudo mount /dev/sda /mnt/tmp/
mount: No medium found

There is no /dev/sda1, sda2, etc, as per my other usb storage drives
(only my internal hard drive shows):

$ cat /proc/partitions
major minor  #blocks  name

   3 0   58605120 hda
   3 1  40131 hda1
   3 2   10498477 hda2
   3 3 104422 hda3
   3 4  1 hda4
   3 51060258 hda5
   3 6   10594836 hda6
   3 7   17157388 hda7
   3 85783368 hda8
   3 9   13366048 hda9


dmesg reports

usb 1-4: new high speed USB device using ehci_hcd and address 7
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
  Vendor:   Model: VP6230Rev: 1.07
  Type:   Direct-Access  ANSI SCSI revision: 00
sd 2:0:0:0: Attached scsi removable disk sda
sd 2:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete

fdisk doesn't work either:
$ sudo fdisk /dev/sda
Password:

Unable to open /dev/sda

I heard some whispers of other vosonic owners - how did you get your
drive working?  I have a plain IBM 20Gb in it at the moment, formatted
with the X's Drive itself.

The drive shows under windows, after the 3 card reader slots.

MTIA!
-- 
Iain Buchanan iaindb at netspace dot net dot au

Nullum magnum ingenium sine mixtura dementiae fuit.
[There is no great genius without some touch of madness.]
-- Seneca

-- 
gentoo-user@gentoo.org mailing list