Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem mounting USB memory stick on Apple Powerbook[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
djpearman
n00b
n00b


Joined: 19 Jul 2005
Posts: 40
Location: UK

PostPosted: Thu Aug 04, 2005 12:10 pm    Post subject: Problem mounting USB memory stick on Apple Powerbook[solved] Reply with quote

Hi,

I've been using Gentoo for about 3 months now, so I'm fairly new. I have an Apple Powerbook Ti 500 MHz that dual boots OS X and Gentoo (kernel 2.6.10, kde-3.3.2), installed according to the instruction for ppc in the Documentation section on gentoo.org (kudos people, good docs!). Airport card works, external USB trackball works, Powerbook trackpad works, I can mount the Mac partition, ethernet works, all's fine and I'm very happy with the system.

However, the problem I'm having is that I can't mount my 1GB USB memory stick (Samsung Mighty Drive - it mounts under OS X). When I plug it in, dmesg returns the following:

Code:

laptop phd # dmesg
hub 2-0:1.0: state 5 ports 2 chg fffc evt 0002
ohci_hcd 0001:10:19.0: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
ohci_hcd 0001:10:19.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 2-1: new full speed USB device using ohci_hcd and address 5
ohci_hcd 0001:10:19.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: default language 0x0409
usb 2-1: Product: Mighty Drive
usb 2-1: Manufacturer: Samsung
usb 2-1: SerialNumber: 075214931B0E
usb 2-1: hotplug
usb 2-1: adding 2-1:1.0 (config #1, interface 0)
usb 2-1:1.0: hotplug
usb-storage 2-1:1.0: usb_probe_interface
usb-storage 2-1:1.0: usb_probe_interface - got id
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
  Vendor: Samsung   Model: Mighty Drive      Rev: PMAP
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 2014208 512-byte hdwr sectors (1031 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
SCSI device sda: 2014208 512-byte hdwr sectors (1031 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
 sda: sda1
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete
kobject_register failed for scsi_mod (-17)
Call trace:
 [c0198500] kobject_register+0x60/0x78
 [c0032eec] load_module+0xf38/0x13a0
 [c00333cc] sys_init_module+0x78/0x338
 [c0004450] ret_from_syscall+0x0/0x4c
register_blkdev: cannot get major 8 for sd
register_blkdev: cannot get major 65 for sd
register_blkdev: cannot get major 66 for sd
register_blkdev: cannot get major 67 for sd
register_blkdev: cannot get major 68 for sd
register_blkdev: cannot get major 69 for sd
register_blkdev: cannot get major 70 for sd
register_blkdev: cannot get major 71 for sd
register_blkdev: cannot get major 128 for sd
register_blkdev: cannot get major 129 for sd
register_blkdev: cannot get major 130 for sd
register_blkdev: cannot get major 131 for sd
register_blkdev: cannot get major 132 for sd
register_blkdev: cannot get major 133 for sd
register_blkdev: cannot get major 134 for sd
register_blkdev: cannot get major 135 for sd


When I try mounting it (as root), I get:

Code:

laptop phd # mount /dev/sda1 /mnt/memorystick
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       or too many mounted file systems


Loaded modules:

Code:

laptop phd # lsmod
Module                  Size  Used by
vfat                   15296  0
fat                    48636  1 vfat
usb_storage            36768  0
dmasound_pmac          89124  1
dmasound_core          22032  2 dmasound_pmac
soundcore              10884  2 dmasound_core


It seems to be there, the KDE Info Centre picks it up, usbview picks it up, but I just can't mount it. Is there a specific package that I need to install?

Any help would be very much appreciated!


Last edited by djpearman on Thu Aug 04, 2005 2:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
RlC
Guru
Guru


Joined: 30 Jul 2005
Posts: 358
Location: austria

PostPosted: Thu Aug 04, 2005 12:25 pm    Post subject: Reply with quote

mounted usbfs?
if not:
Code:
 # echo none                    /proc/bus/usb   usbfs           defaults                0 0 >> /etc/fstab
# mount -a


bg ric
Back to top
View user's profile Send private message
djpearman
n00b
n00b


Joined: 19 Jul 2005
Posts: 40
Location: UK

PostPosted: Thu Aug 04, 2005 12:37 pm    Post subject: Reply with quote

I knew I forgot something:

Code:
laptop phd # mount
/dev/hda12 on / type reiserfs (rw,noatime,commit=600)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
/dev/hda13 on /home type reiserfs (rw,noatime,commit=600)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)


So, usbfs is mounted. I just can't access the drive for some reason.
Back to top
View user's profile Send private message
RlC
Guru
Guru


Joined: 30 Jul 2005
Posts: 358
Location: austria

PostPosted: Thu Aug 04, 2005 12:47 pm    Post subject: Reply with quote

do you have scsi enabled in your kernel?
Back to top
View user's profile Send private message
djpearman
n00b
n00b


Joined: 19 Jul 2005
Posts: 40
Location: UK

PostPosted: Thu Aug 04, 2005 12:51 pm    Post subject: Reply with quote

RlC wrote:
do you have scsi enabled in your kernel?


Yes, as a module.
Back to top
View user's profile Send private message
llywelyn
n00b
n00b


Joined: 30 Sep 2004
Posts: 45

PostPosted: Thu Aug 04, 2005 1:08 pm    Post subject: Reply with quote

Do you have

/File Systems -> Native Language Support -> Codepage 437

enabled in your kernel?

If that doesn't fix it, you might try reading this post regarding external USB drive mounting:

https://forums.gentoo.org/viewtopic-t-325370-highlight-codepage+437.html
_________________
Estoy apesadumbrado para mi Español ... estoy practicando ...
iBook Dual-USB G3/800MHz 640 MB RAM
OS 10.4 / Gentoo 2005.0 / NetBSD 2.1
Back to top
View user's profile Send private message
djpearman
n00b
n00b


Joined: 19 Jul 2005
Posts: 40
Location: UK

PostPosted: Thu Aug 04, 2005 2:07 pm    Post subject: Reply with quote

llywelyn wrote:
Do you have

/File Systems -> Native Language Support -> Codepage 437

enabled in your kernel?

If that doesn't fix it, you might try reading this post regarding external USB drive mounting:

https://forums.gentoo.org/viewtopic-t-325370-highlight-codepage+437.html


Yes, that did it. Thank you for your help :) I've got absolutely everything working now (once I've sorted out the permissions when mounting).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum