LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-05-2004, 12:13 PM   #1
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Rep: Reputation: 30
External Drives (iPod and Pen Drives)


I've got an iPod which I had working fine in SuSE, Mandrake etc. and a Cruzer Mini which I've never managed to get working (I was using an old kernel at the time). Anyhow I've been trying to get them working with no success, can someone please help me?

when I plug in my pen drive I get the following from dmesg

Code:
usb 2-3: new full speed USB device using address 4
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: USB NAND  Model: FLASH DISK        Rev: 0.20
  Type:   Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
when I plug in the iPod I get
Code:
usb 2-3: new full speed USB device using address 4
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: USB NAND  Model: FLASH DISK        Rev: 0.20
  Type:   Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
I've tried mounting pretty much every /dev/sda b c d etc. with no success. Any ideas?
 
Old 04-05-2004, 01:42 PM   #2
cybrjackle
Member
 
Registered: Jul 2003
Distribution: Debian etch/lenny/sid, Fedora 7/Rawhide, CentOS 4/5, FreeBSD 6.2 and Solaris 10/Nevada
Posts: 110

Rep: Reputation: 16
Do you have anything listed under /dev/sda1 or 2 for example?

ls /dev/ | grep sd

cdrecord --scanbus

http://neuron.com/~jason/ipod.html

http://pag.lcs.mit.edu/~adonovan/hacks/ipod.html

http://www.cs.duke.edu/~geha/ipod/


You could run into the problem I had, the ipod wasn't formated yet. Downside for me was i don't have mac/windows at home, so i had to buy a firewire card for my desktop at work (windows) run the software to format the drive and then I was able to use it in Linux.
 
Old 04-06-2004, 02:18 AM   #3
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
under /dev/sda I have 1 to 15 listed

if I do cdrecord --scanbus i get command not found

The iPod is definitely formatted, as I say I've been using it in SuSE with gtkpod for a while now with no problems but I'm finally looking to get rid of SuSE and go fully slack

if I try doing fdisk /dev/sda I get "Unable to open /dev/sda" similar messages for sdb etc.

I had a try doing tail /var/log/messages and got
[CODE]
Apr 6 07:57:14 darkstar ieee1394.agent[1031]: ... no drivers for IEEE1394 product 0x000000/0x00609e/0x010483
Apr 6 07:57:14 darkstar kernel: scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices
Apr 6 07:57:15 darkstar kernel: ieee1394: sbp2: Logged into SBP-2 device
Apr 6 07:57:15 darkstar scsi.agent[1049]: bogus sysfs DEVPATH=/devices/platform/host1/1:0:0:0
Apr 6 07:57:15 darkstar kernel: Vendor: Apple Model: iPod Rev: 1.30
Apr 6 07:57:15 darkstar kernel: Type: Direct-Access ANSI SCSI revision: 02
[CODE]

any ideas?
 
Old 04-06-2004, 03:46 AM   #4
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
You could run into the problem I had, the ipod wasn't formated yet. Downside for me was i don't have mac/windows at home, so i had to buy a firewire card for my desktop at work (windows) run the software to format the drive and then I was able to use it in Linux.

You couldn't use mkfs?
 
Old 04-06-2004, 07:47 AM   #5
cybrjackle
Member
 
Registered: Jul 2003
Distribution: Debian etch/lenny/sid, Fedora 7/Rawhide, CentOS 4/5, FreeBSD 6.2 and Solaris 10/Nevada
Posts: 110

Rep: Reputation: 16
dhbiker,

Oops, forgot you said it ran under suse ;0

Mine runs off of sda2

Check out this link and start around step 6 http://www.cs.duke.edu/~geha/ipod/

Might need to check above and make sure you have the correct modules in your kernel.

MS3FGX,

as far ask mkfs, i new it either needed to be fat or hfs and i didn't want to take a chance in breaking it since I just bought it. Either way, it works!
 
Old 04-06-2004, 07:49 AM   #6
cybrjackle
Member
 
Registered: Jul 2003
Distribution: Debian etch/lenny/sid, Fedora 7/Rawhide, CentOS 4/5, FreeBSD 6.2 and Solaris 10/Nevada
Posts: 110

Rep: Reputation: 16
http://forums.gentoo.org/viewtopic.p...highlight=ipod

You could also check out that thread to see some of the things i did.
 
Old 04-06-2004, 10:03 AM   #7
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
Still no luck

I don't have any kernel modules (everything I needed I built into the kernel). I have an incling it may be something to do with
Code:
Apr  6 15:59:16 darkstar ieee1394.agent[30868]: ... no drivers for IEEE1394 product 0x000000/0x00609e/0x010483
since no-one else seems to get that popping up in their tail /var/log/messages

any further ideas?

I have firewire support and sbp support compiled as part of the kernel (2.6.3)
 
Old 04-06-2004, 10:15 AM   #8
cybrjackle
Member
 
Registered: Jul 2003
Distribution: Debian etch/lenny/sid, Fedora 7/Rawhide, CentOS 4/5, FreeBSD 6.2 and Solaris 10/Nevada
Posts: 110

Rep: Reputation: 16
check out the script in step 7

http://www.cs.duke.edu/~geha/ipod/

run it and show us what you get.
 
Old 04-06-2004, 10:16 AM   #9
cybrjackle
Member
 
Registered: Jul 2003
Distribution: Debian etch/lenny/sid, Fedora 7/Rawhide, CentOS 4/5, FreeBSD 6.2 and Solaris 10/Nevada
Posts: 110

Rep: Reputation: 16
Have you followed the directions from that site ^ ?
 
Old 04-07-2004, 07:53 AM   #10
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
I downloaded the script and tried it, I get nadda, nothing, squat, zip, zero

Code:
root@darkstar:/home/dhraimsy# sh rescan-scsi-bus.sh
Scanning hosts  channels 0 for
 SCSI target IDs  0 1 2 3 4 5 6 7 , LUNs  0
0 new device(s) found.
0 device(s) removed.
 
Old 04-07-2004, 08:22 AM   #11
cybrjackle
Member
 
Registered: Jul 2003
Distribution: Debian etch/lenny/sid, Fedora 7/Rawhide, CentOS 4/5, FreeBSD 6.2 and Solaris 10/Nevada
Posts: 110

Rep: Reputation: 16
cat /proc/bus/ieee1394/devices

What do you have?


fdisk /dev/sda

What shows up? <---- Don't write/change anything just view and exit


I would suggest makeing these modules in your kernel:



Quote:
SCSI support --->
<M> SCSI support
<M> SCSI disk support

IEEE 1394 (FireWire) support (EXPERIMENTAL) --->
<M> IEEE 1394 (FireWire) support (EXPERIMENTAL)
<M> OHCI-1394 support
<M> SBP-2 support (Harddisks etc.)
<M> IEEE1394_RAWIO
Make sure all of these are loaded:

Code:
scsi_mod
ieee1394
ohci1394
sbp2
sd_mod
alternatively you can manaully load these modules (as root) after rebooting:
Code:
modprobe -a ieee1394
modprobe -a ohci1394
modprobe -a sbp2
modprobe -a raw1394
modprobe -a sd_mod
Check /var/log/syslog,

From this error you got above, looks like sbp2 is haveing problems.

Quote:
I had a try doing tail /var/log/messages and got
[CODE]
Apr 6 07:57:14 darkstar ieee1394.agent[1031]: ... no drivers for IEEE1394 product 0x000000/0x00609e/0x010483
Apr 6 07:57:14 darkstar kernel: scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices
Apr 6 07:57:15 darkstar kernel: ieee1394: sbp2: Logged into SBP-2 device
Apr 6 07:57:15 darkstar scsi.agent[1049]: bogus sysfs DEVPATH=/devices/platform/host1/1:0:0:0
Apr 6 07:57:15 darkstar kernel: Vendor: Apple Model: iPod Rev: 1.30
Apr 6 07:57:15 darkstar kernel: Type: Direct-Access ANSI SCSI revision: 02
Try simply running (as root):

rmmod sbp2
insmod sbp2

BUT, since you have them compiled in, you probably cant remove them can you ;-)


Like i said before, i would strongly recommend recompiling your kernel w/ modules. That way once you get it working and use gtkpod or something else you can have it rmmod and eject your ipod "safely"


k?

Last edited by cybrjackle; 04-07-2004 at 08:25 AM.
 
Old 04-07-2004, 09:45 AM   #12
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
cat /proc/bus/ieee1394/devices

I get a "No such file or directory"

will try re-compiling my kernel with modules (once I manage to get my machine compiling things again !!http://www.linuxquestions.org/questi...hreadid=167265)as you suggest and then get back to you
 
Old 04-08-2004, 03:45 AM   #13
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Original Poster
Rep: Reputation: 30
thanks for all the help!! I recompiled my kernel and everything works now
 
Old 04-08-2004, 06:36 AM   #14
cybrjackle
Member
 
Registered: Jul 2003
Distribution: Debian etch/lenny/sid, Fedora 7/Rawhide, CentOS 4/5, FreeBSD 6.2 and Solaris 10/Nevada
Posts: 110

Rep: Reputation: 16
Great!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mounting USB pen drives by device id ProtoformX Slackware 1 10-04-2005 07:52 AM
automount cdrom and pen drives mokojin Slackware 3 10-31-2004 02:56 PM
Pen Drives not being recognized minm Linux - Hardware 13 07-24-2004 01:11 AM
pen drives JROCK1980 Linux - Hardware 3 02-23-2004 12:17 PM
USB pen drives and Fedora Core 1 mrde50garfield Fedora 2 12-15-2003 02:40 PM


All times are GMT -5. The time now is 06:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration