LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-29-2004, 01:13 AM   #1
beajedi
Member
 
Registered: Jan 2003
Distribution: Slackware 9.1
Posts: 67

Rep: Reputation: 15
Angry iPod on Slackware


I'm running slackware 9.1, and I just got an iPod. So I went ahead and got a Sound Blaster Audigy (with a firewire port)

The sound works just fine, but I'm having trouble mounting my ipod. Reading up on the ipod, I find that the general consensus is that the ipod is supported as a firewire hard drive, but the setup isn't pretty.

I compiled "gnupod-0.94rc1" from the 'net so I could get my iPod recognized by linux.

http://www.gnu.org/software/gnupod/gnupod.html#SEC3
^^^
This is the howto guide I followed, and subsequently, I'm stuck at this part

as root, I typed in these two commands:

#modprobe ohci1394
#modprobe sbp2

I don't get any output back from the prompt, so I assume everything went ok.

now I run the "rescan-scsi-bus.sh" shell script and here's what I get:

Host adapter 0 (ide-scsi) found.
Scanning hosts 0 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.

^^

Obviously, slackware doesn't see any new devices (i.e. the iPod). From what I understand,
the sbp2 module should be tricking the kernel into thinking that my ipod is a scsi device.

So when I do try to mount the ipod, I get this message

"mount: /dev/sda1 is not a valid block device"

Once I am able to get linux to recognize the ipod, then I think I will be home free (as then I can use gtkpod)


Just for the heck of it, here is what part of my kernel config looks like (2.4.22)


#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
CONFIG_IEEE1394=m

#
# Device Drivers
#
CONFIG_IEEE1394_PCILYNX=m
CONFIG_IEEE1394_OHCI1394=m

#
# Protocol Drivers
#
CONFIG_IEEE1394_VIDEO1394=m
CONFIG_IEEE1394_SBP2=m
# CONFIG_IEEE1394_SBP2_PHYS_DMA is not set
CONFIG_IEEE1394_ETH1394=m
CONFIG_IEEE1394_DV1394=m
CONFIG_IEEE1394_RAWIO=m
CONFIG_IEEE1394_CMP=m
CONFIG_IEEE1394_AMDTP=m
# CONFIG_IEEE1394_VERBOSEDEBUG is not set
# CONFIG_IEEE1394_OUI_DB is not set



* Side point, how do you get it so Slackware loads "emu10k1" when I start up? I'm tired of always typing "modprobe emu10k1" everytime I reboot.


Thanks for any help in advance!
 
Old 02-29-2004, 04:46 PM   #2
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
I forget what the command is to do this, normally people tell others to use it to find out what their USB keys/pen drives are (sda1, sdb1, etc). Anyway, issue that command, then try plugging your iPod in.

You said that you have firewire on your soundcard, did you compile the right drivers for your soundcard? Or are you using generic drivers?
 
Old 02-29-2004, 07:36 PM   #3
beajedi
Member
 
Registered: Jan 2003
Distribution: Slackware 9.1
Posts: 67

Original Poster
Rep: Reputation: 15
For the sound card, I simply installed the emu10k1 and "modprobe" -ed it.

Here's what my "lsmod" looks like:

Module Size Used by Not tainted
raw1394 17460 0 (unused)
sbp2 17100 0 (unused)
emu10k1 61064 1
soundcore 3332 4 (autoclean) [emu10k1]
ac97_codec 9512 0 [emu10k1]
keybdev 1952 0 (unused)
mousedev 4244 1
hid 21156 0 (unused)
usbmouse 2008 0 (unused)
input 3200 0 [keybdev mousedev hid usbmouse]
uhci 24496 0 (unused)
usbcore 58400 1 [hid usbmouse uhci]
emu10k1-gp 1352 0 (unused)
gameport 1452 0 [emu10k1-gp]
ohci1394 24200 0 (unused)
ieee1394 42436 0 [raw1394 sbp2 ohci1394]
3c59x 26832 1
pcmcia_core 40032 0
ide-scsi 9424 0
agpgart 39576 0 (unused)

As for if I used the generic or the specific drives, I'm not sure. I still consider myself a newbie :-D
 
Old 02-29-2004, 09:06 PM   #4
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
1st, check your /proc directory

Now, from what I'm reading, iPods are mounted as /dev/sd*, so I would check out /proc/scsi/scsi and see what it says there. If it doesn't say anything there, check and see if there's anything like /proc/IEEE, and if there is, check inside there and report the files. If a file named /proc/IEEE/IEEE exists, then tell us what it says there.

I'm thinking it's going to be listed in /proc/scsi/scsi because that's where firewire hard drives are listed. Try folloing the same steps as for firewire hard drives.
http://www.linuxquestions.org/questi...ght=mount+ipod

Here's the command that I wanted you to use, I think:

tail -f /var/log/syslog

I'm not sure if that's the right command, and since I'm on XP instead of Slack, I can't test it right now, but even if it's not, it'll still help us out. Then we can figure out which device it is.
 
Old 02-29-2004, 10:50 PM   #5
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Rep: Reputation: 30
just a suggestion! Can't you just mount it like usb_storage?? but with firewire?? or dont the ipods have optional usb??

Matt3333
 
Old 03-01-2004, 05:49 PM   #6
beajedi
Member
 
Registered: Jan 2003
Distribution: Slackware 9.1
Posts: 67

Original Poster
Rep: Reputation: 15
Output of /proc/scsi/scsi

Attached devices: none
~

Output of /proc/mounts

rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0
/dev/hda3 /home ext3 rw 0 0
/dev/hda4 /usr/local ext3 rw 0 0
/dev/hda1 /mnt/windows vfat rw 0 0
devpts /dev/pts devpts rw 0 0
proc /proc proc rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/hdd /mnt/cdrom2 iso9660 ro,nosuid,nodev 0 0

output of /proc/bus/ieee1394/devices :

Node[0-00:1023] GUID[00023c002101f761]:
Vendor ID: `Linux OHCI-1394' [0x080028]
Capabilities: 0x0083c0
Bus Options:
IRMC(1) CMC(1) ISC(1) BMC(0) PMC(0) GEN(0)
LSPD(2) MAX_REC(2048) CYC_CLK_ACC(0)
Host Node Status:
Host Driver : ohci1394
Nodes connected : 1
Nodes active : 1
SelfIDs received: 1
Irm ID : [0-00:1023]
BusMgr ID : [0-63:1023]
In Bus Reset : no
Root : yes
Cycle Master : yes
IRM : yes
Bus Manager : no
~

No sign of the ipod :-(
 
Old 03-01-2004, 08:21 PM   #7
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
I would just read up on getting any firewire hard drive to work on Slack. Once you figure out how to do that, then I'm guessing that the ipod will work properly.
 
Old 03-01-2004, 09:28 PM   #8
beajedi
Member
 
Registered: Jan 2003
Distribution: Slackware 9.1
Posts: 67

Original Poster
Rep: Reputation: 15
That's what I'm thinking. Once I can recognize it as a hard drive, then I can finally mount it, then life will be good. :-D
 
Old 03-01-2004, 11:48 PM   #9
scottwest2
Member
 
Registered: Jun 2003
Distribution: Mac OS X 10.5.7, Athlon 64 X2 4200+, 2GB Ram, nVidia GeForce 9400 GT 1GB --- Ubuntu 9.04 Jaunty x64
Posts: 58

Rep: Reputation: 16
I don't know about the iPod but for your modprobe problem search your /etc/rc.d/rc.modules file for "#/sbin/modprobe emu10k1" and uncomment it so it reads "/sbin/modprobe emu10k1"
 
Old 03-02-2004, 12:51 PM   #10
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
maybe im thinking this wrong.. is it possible you do not have support for the file system of the ipod?
 
Old 05-14-2004, 04:10 PM   #11
beajedi
Member
 
Registered: Jan 2003
Distribution: Slackware 9.1
Posts: 67

Original Poster
Rep: Reputation: 15
Here's my ipod update:

I typed in dsmeg and here's an excerpt of what I get:

ieee1394: Node added: ID:BUS[0-00:1023] GUID[000a2700025d9605]
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
Vendor: Apple Model: iPod Rev: 1.50
Type: Direct-Access ANSI SCSI revision: 02
sda: Spinning up disk....ready
SCSI device sda: 29297520 512-byte hdwr sectors (15000 MB)
sda: test WP failed, assume Write Enabled
sda: asking for cache data failed
sda: assuming drive cache: write through
sda: sda1 sda2
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: sbp2: Error reconnecting to SBP-2 device - reconnect timed-out
ieee1394: sbp2: Error logging into SBP-2 device - login timed-out
ieee1394: sbp2: sbp2_reconnect_device failed!
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ieee1394: The root node is not cycle master capable; selecting a new root node and resetting...
ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: Node changed: 0-00:1023 -> 0-01:1023

so linux sees my ipod... but I still can't mount it as a hard drive.
here's what I tried.

mount /dev/sda1 /mnt/ipod/
mount: /dev/sda1 is not a valid block device
 
Old 05-14-2004, 04:56 PM   #12
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Did you follow the "3.3 Convert your Mac iPod" procedure from http://www.gnu.org/software/gnupod/gnupod.html#SEC3
It say upgrade the firmware too
 
Old 05-14-2004, 05:07 PM   #13
beajedi
Member
 
Registered: Jan 2003
Distribution: Slackware 9.1
Posts: 67

Original Poster
Rep: Reputation: 15
it's actually a FAT32 ipod now... I formatted the filesystem to work with windows.

i have winXP with itunes on my other partition.

**UPDATE** I'm able to mount my ipod now.
 
Old 06-08-2004, 12:25 AM   #14
God
LQ Newbie
 
Registered: Jun 2003
Posts: 4

Rep: Reputation: 0
Could you please tell us how?

I've been having similar problems. I have a fat32 ipod that i could mount just fine under other distros. Catting /proc/bus/ieee1394/devices produces the following:

Node[0-00:1023] GUID[000a2700025872b0]:
Vendor ID: `Apple Computer, Inc.' [0x000a27]
Capabilities: 0x0083c0
Bus Options:
IRMC(0) CMC(0) ISC(0) BMC(0) PMC(0) GEN(0)
LSPD(2) MAX_REC(2048) CYC_CLK_ACC(255)
Unit Directory 0:
Vendor/Model ID: Apple Computer, Inc. [000a27] / iPod [000000]
Software Specifier ID: 00609e
Software Version: 010483
Driver: SBP2 Driver
Length (in quads): 8
Node[0-01:1023] GUID[0010746000014f9c]:
Vendor ID: `Linux OHCI-1394' [0x000000]
Capabilities: 0x0083c0
Bus Options:
IRMC(1) CMC(1) ISC(1) BMC(0) PMC(0) GEN(0)
LSPD(2) MAX_REC(2048) CYC_CLK_ACC(0)
Host Node Status:
Host Driver : ohci1394
Nodes connected : 2
Nodes active : 2
SelfIDs received: 2
Irm ID : [0-01:1023]
BusMgr ID : [0-63:1023]
In Bus Reset : no
Root : yes
Cycle Master : yes
IRM : yes
Bus Manager : no

So it's clearly seen, but mounting it gets me the same error. Please post an update. Thanks.

** EDIT **

I followed the link posted above, typed:

echo "scsi add-single-device 1 0 0 0" > /proc/scsi/scsi

and was suddenly able to mount the beast. Thanks all for the help and sorry for the unneccessary post.

Last edited by God; 06-08-2004 at 12:35 AM.
 
Old 07-20-2004, 06:32 PM   #15
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Rep: Reputation: 30
I'm thinking of getting one (most likely will). You guys all got it to work on Slack right? Well it seems you did so I think I could get it to work too. Did you have to RE-format it as FAT32 or was that becuase you got the Mac version? I'd get the Windows Versoin becuase my family has a Windows computer that I could use until I got it working on LInux

Last edited by compu73rg33k; 07-20-2004 at 06:33 PM.
 
  


Reply



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
slackware 10.2 and iPod android6011 Slackware 6 11-05-2005 08:41 PM
Slackware & iPod ivoencarnacao Slackware 1 10-08-2005 11:33 PM
ipod/ipod shuffle woes (lack of permissions to edit files) Lechium Linux - Software 1 04-13-2005 03:14 PM
Slackware 10 ipod. Nz_Boy_2004 Slackware 6 01-08-2005 01:24 PM
ipod on slackware davidschob Slackware 1 03-22-2004 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:18 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration