LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-14-2005, 05:15 PM   #1
dustynus
Member
 
Registered: Jan 2005
Location: Canada
Distribution: Suse 9.1
Posts: 83

Rep: Reputation: 15
ipod error...


Hey,
When I plug in my ipod I get this error:

Count not enter
folder /media/usb-storage-000000B9A9DC:0:0p1

All I want to do is use linux to put songs on my ipod.

Any help?

Thanks everyone,
Michael Stockermans

PS:
I'm running Suse 9.1 personal
4th Gen ipod w click wheel
 
Old 04-15-2005, 02:27 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
is the ipod hfs+ or fat32?
also are you using the stock kernel?

i had to recompile my kernel without EFI partition support but now my 4th gen HFS+ (Mac) iPod works great with SuSE 9.2 Pro. and you have to use gtkpod to add songs to your ipod or the ipod can't see them(because the itunes DB needs to be updated
 
Old 04-15-2005, 02:42 PM   #3
dustynus
Member
 
Registered: Jan 2005
Location: Canada
Distribution: Suse 9.1
Posts: 83

Original Poster
Rep: Reputation: 15
It is an FAT32 Partition.
I don't know if I have a "Stock kernel" . I recenltly re-installed Suse 9.1 using all the defaults.
So I don't know.

Regards,
Michael
 
Old 04-15-2005, 10:18 PM   #4
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
you're going have to recompile your kernel without EFI patition support. this type of patition is stored at the end of the patition and the ipod reports it's size as larger then it actualy is. When you try to read the part that doesn't exist the ipod locks up and reports errors from then on so it won't mount properly. And you probably have it configured with subfs (because it's the default setting. you can check in your /etc/fstab file.) and thats why you can't enter the directory
 
Old 04-16-2005, 10:04 AM   #5
dustynus
Member
 
Registered: Jan 2005
Location: Canada
Distribution: Suse 9.1
Posts: 83

Original Poster
Rep: Reputation: 15
I reinstalled suse 9.1 for other reasons and now when I plug it in it does nothing, but the ipod has the "Do not disconnect thing".
And how do I recompile my kernel ?
 
Old 04-16-2005, 12:18 PM   #6
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
My ipod always says that when i plug it in. I use:

eject /dev/sda

or shutdown your computer to get rid of that warning before you unplug it or bad things will happen (my ipod locked up and i had to wait like 2 days before the batt. went dead before i could charge it and use it again. and sda might be different for you depending on your system.)

These are the steps I use when recompiling a kernel. They work well with 9.0 & 9.2 but 9.1 might be slightly different.

1. go to /boot/ and make copies of your kernel (vmlinuz-2.6.<blah probably something default>) and your initrd (initrd-<she same as the kernel>) and change the names a little to have something like failsafe in them. (you only need these if something goes wrong but it good to be safe.) then go to /lib/modules/ and copy your modules dir (the name should match the kernel) and change it's name also. you should now have a second copy of the kernel, initrd, and your kernel modules directory with something like failsafe appended to the name. (it doesn't matter what you change the names to as long as they match.)

2. now go into yast and install the kernel source package. (make sure you have the development stuff installed, too.)

3. now boot off the install cd and goto install, repair existing system, expert tools, reinstall bootloader. Click "edit configuration files." now you can edit your menu.1st file. change the failsafe selection so that the instead of just saying vmlinuz for the kernel and initrd for the initial ram disk to have the full names of your backup files (vmlinuz and initrd are symbolic links to your kernel and initrd but you want the failsafe selection to load your backups so that if your new kernel crashes you can just choose failsafe at the boot menu and try again) then finish reinstalling grub.

4. you don't have to do this but I always copy the kernel source to my home directory so that i always have a clean copy laying around. the kernel source is in /usr/src its a directory called linux-<your kernel version>

5. now for the fun part. get yourself into the kernel source directory and try:

make xconfig

(this worked fine for me with 9.0 but not 9.2 so it may or may not work for you)

if that doesn't work you have to use:

make config

(but this takes alot longer because you have to anwer every option. enter will use the default setting for any of these options if you aren't sure)

the setting you must change is in filesystems, partition types and is EFI PARTITION it must be set to No (if you're feeling brave you can change the processor type to match your chip and get the kind of optimized performance windoze users can only dream of. but you are more likely to succeed if you only change the one option.)

now try:

make

(get a sandwitch take a nap or something this takes a while) now if this works you must as root:

make install

it should say something like "useing grub reinstalation of bootloader not necessary." now it's time for the modules:

make modules

and as root:

make modules_install

if you make it this far you have compiled and installed your kernel and modules reboot and give it a whirl if it doesn't work chose failsafe and try it again

6. It should be all downhill from here. Running your modified (not stock) kernel try to mount it (as root):

mount -t vfat /dev/sda3 /mnt/iPod/

the ipod will be /dev/sda only if you have no scsi disks and no other usb mass storage devices pluged in. if this is not the case run dmesg it will tell you what device the ipod is. your music is on the 3rd partition. /mnt/iPod is where I mount my ipod use whatever you want here. If it mounts ok go to the directory where you mounted it and see if anythings there mine says:

steve@Node01:/mnt/iPod> ls
Calendars Contacts iPod_Control Notes
steve@Node01:/mnt/iPod>

if this works you can add a line to your /etc/fstab file so that any user can mount the ipod mine looks like this:

/dev/sda3 /mnt/iPod/ hfsplus rw,users,noauto 0 0

you want to change hfsplus to vfat and the mount point to whatever you use. now reboot and you should be able to mount the ipod as any user with:

mount /mnt/iPod/

or whatever you use as a mount point.

7. now that you can mount it you should know that the ipod has a weird directory structure. (mine has the music in 49 different directories with no apparent order) and it only sees the songs in it's iTunesDB file so you have to use either gnupod (command line) or gtkpod (nice gui kinda like itunes) to add files. I wrote a small bash script that mounts my ipod, runs gtkpod, and then unmounts it because i got errors when i tried to let gtkpod handle the mounting and unmounting.

8. might not apply to you but SuSE 9.2 uses subfs for removeable media by default but for some reason the source is not in with the other modules. so at this point i couldn't use my cdrom drives. if this is the case get the latest source for subfs from sourceforge and compile and install it. (if you made it this far this should be a snap.)

I hope this helps.
 
Old 04-16-2005, 05:05 PM   #7
dustynus
Member
 
Registered: Jan 2005
Location: Canada
Distribution: Suse 9.1
Posts: 83

Original Poster
Rep: Reputation: 15
Ok, before I go and do your tutorial thing, I would like to ask one more of you
I just reinstalled Suse again because after a Yast online update I could no longer configure my network adapter, so I reinstalled

Now when I plug in my ipod, I get:
Count not enter
folder /media/usb-storage-000000B9A9DC:0:0p1

the error again.

==============
So should I go and do that huge long thing again? And in this part:

""
now boot off the install cd and goto install, repair existing system, expert tools, reinstall bootloader. Click "edit configuration file
""

I can"t do that because my Cd is a free version iso off of linuxiso.org, and I can only do a fresh installation, I can't repair existing system.

What can I do otherwise?
Can I do this through YAST?

Regards,
Michael
 
Old 04-16-2005, 05:26 PM   #8
dustynus
Member
 
Registered: Jan 2005
Location: Canada
Distribution: Suse 9.1
Posts: 83

Original Poster
Rep: Reputation: 15
I thought I would just add this:
This is what I get after I type dmesg:

Buffer I/O error on device sda, logical block 15
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
usb 5-1: USB disconnect, address 3
usb 5-1: new high speed USB device using address 4
usb 5-1: Product: iPod
usb 5-1: Manufacturer: Apple
usb 5-1: SerialNumber: 000000B9A9DC
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: Apple Model: iPod Rev: 1.62
Type: Direct-Access ANSI SCSI revision: 02
sda: Spinning up disk......ready
SCSI device sda: 39063024 512-byte hdwr sectors (20000 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
sda:end_request: I/O error, dev sda, sector 39063016
Buffer I/O error on device sda, logical block 4882877
end_request: I/O error, dev sda, sector 39063016
Buffer I/O error on device sda, logical block 4882877
 
Old 04-16-2005, 10:25 PM   #9
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
those are the same errors i got with my ipod before i recompiled my kernel. My 9.2 is the free dvd .iso off the novell ftp site and it has the repair utility. I'll mail you a copy if you pay for the shipping and you can boot from the dvd (novell won't give out the cd .iso anymore) but you can reinstall grub from the command line. just edit the /boot/grub/menu.1st file manualy with your favorite text editor then as root:

grub-install /dev/hda

you won't need the repair utility this way
 
Old 04-17-2005, 07:59 AM   #10
Carroarmato0
Member
 
Registered: Feb 2005
Location: Belgium
Distribution: Ubuntu 10.04
Posts: 120

Rep: Reputation: 15
Hi,

Since you reinstalled Suse and probably didn't already put stuff on it, I would recommend installing the new Suse 9.3 wich has native support for Ipods and ITunes.

It's only an idea!
 
Old 04-17-2005, 09:27 AM   #11
dustynus
Member
 
Registered: Jan 2005
Location: Canada
Distribution: Suse 9.1
Posts: 83

Original Poster
Rep: Reputation: 15
Can the DVD version boot of a cd drive, because I don't have a dvd drive?

Regards,
Michael
 
Old 04-17-2005, 11:02 AM   #12
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
no the dvd won't boot off a cd drive i had to buy a dvd drive to install it and 9.3 is suposed to support the ipod out of the box but i've heard that it only plays mp3s with the included real player. xmms amarok and all the other media players have been compiled without the ability to play mp3s. and i doubt novell makes the cd .iso availible. if you pay them you get cds and the dvd but if you want it free you either have to get a dvd drive or do a ftp install (and that means downloading like 2.5 gig every time you want to intall it) i heard that slackwares 2.6 kernels come without the EFI support. but i think most other distros you have to recompile the kernel. I don't think that this is a bug in the ipod either. I think that it's to try to make it only compatible with their software
 
Old 04-17-2005, 11:13 AM   #13
dustynus
Member
 
Registered: Jan 2005
Location: Canada
Distribution: Suse 9.1
Posts: 83

Original Poster
Rep: Reputation: 15
Well, I just bid on a DVD/RW drive off ebay. So I am going to download the free 9.3 dvd iso off of the suse website.

Regards,
Michael
 
Old 04-17-2005, 11:15 AM   #14
dustynus
Member
 
Registered: Jan 2005
Location: Canada
Distribution: Suse 9.1
Posts: 83

Original Poster
Rep: Reputation: 15
What do you mean it only plays mp3's off xine? Can Suse 9.3 transfer music to and from the ipod or not???

Regards,
Michael
 
Old 04-17-2005, 11:25 AM   #15
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Just a few comment, sorry if this has been said already:

Although I don't know if from own experience, I read that mp3 support has been made available in 9.3 through online updates.

But you can easily continue with 9.1!

It is not very complicated to recompile the kernel without EFI support. See:
http://www.linuxquestions.org/questi...hreadid=303945

johnson_steve: It is not required to compile/install the modules, because nothing has changed. 'make bzImage' is sufficient.
Quote:
I can"t do that because my Cd is a free version iso off of linuxiso.org, and I can only do a fresh installation, I can't repair existing system.
Concerning the repair function: Maybe your version is similar to 9.1 Personal. Then you can enter the repair function as described here:
http://portal.suse.com/sdb/en/2004/0...od_91pers.html

Last edited by abisko00; 04-17-2005 at 11:26 AM.
 
  


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
I/O error with 4th gen iPod hbbtstar Linux - Hardware 2 05-08-2005 11:22 PM
ipod/ipod shuffle woes (lack of permissions to edit files) Lechium Linux - Software 1 04-13-2005 03:14 PM
Mount error with Ipod on Debian ncsuapex Linux - Hardware 0 02-12-2005 01:50 PM
iPod write error kupek85 Linux - Hardware 0 09-09-2004 05:53 PM
ipod detected and added by kudzu but no files in /mnt/ipod gtan Linux - Hardware 5 08-31-2004 09:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:11 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