Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-05-2004, 12:13 PM
|
#1
|
Member
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196
Rep:
|
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?
|
|
|
04-05-2004, 01:42 PM
|
#2
|
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:
|
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.
|
|
|
04-06-2004, 02:18 AM
|
#3
|
Member
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196
Original Poster
Rep:
|
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?
|
|
|
04-06-2004, 03:46 AM
|
#4
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
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?
|
|
|
04-06-2004, 07:47 AM
|
#5
|
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:
|
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!
|
|
|
04-06-2004, 07:49 AM
|
#6
|
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:
|
http://forums.gentoo.org/viewtopic.p...highlight=ipod
You could also check out that thread to see some of the things i did.
|
|
|
04-06-2004, 10:03 AM
|
#7
|
Member
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196
Original Poster
Rep:
|
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)
|
|
|
04-06-2004, 10:15 AM
|
#8
|
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:
|
check out the script in step 7
http://www.cs.duke.edu/~geha/ipod/
run it and show us what you get.
|
|
|
04-06-2004, 10:16 AM
|
#9
|
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:
|
Have you followed the directions from that site ^ ?
|
|
|
04-07-2004, 07:53 AM
|
#10
|
Member
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196
Original Poster
Rep:
|
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.
|
|
|
04-07-2004, 08:22 AM
|
#11
|
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:
|
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.
|
|
|
04-07-2004, 09:45 AM
|
#12
|
Member
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196
Original Poster
Rep:
|
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
|
|
|
04-08-2004, 03:45 AM
|
#13
|
Member
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196
Original Poster
Rep:
|
thanks for all the help!! I recompiled my kernel and everything works now 
|
|
|
04-08-2004, 06:36 AM
|
#14
|
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:
|
Great!
|
|
|
All times are GMT -5. The time now is 04:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|