@pts: "Hi all netbsd folks,
my new 5th gen ipod has reportedly arrived at the local apple shop
for me to march down and hand over the cash for.
Has anyone successfully mounted this with netbsd yet?
I have mounted a 4th gen with success but last i heard,
the 5th Gen was having problems with mounting.
any tips appreciated ,
thanks,
Paul.
____________________________________________
Paul
Australian Bureau Of Meteorology
____________________________________________
"In a world without walls and fences,
who needs windows and gates ?"
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @pts: "<quote>
Thanks Steve.
60g could be 4th generation or 5th.
Do you know if it was purchased prior to October 2005?
If so 4thgen.
else 5thgen.
( too long a programmer:)
certainly not the new release of the 5th gen.
which has no 60gig.
David T. had one of these and was having trouble.
but his might be an isolated case.
or a patch may have come out.
p.
ps info:
<url>
____________________________________________
Paul
Australian Bureau Of Meteorology
____________________________________________
"In a world without walls and fences,
who needs windows and gates ?"
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @smb: "On Fri, 29 Sep 2006 14:40:13 +1000, "Paul (NCC/CS)." <email_address>
wrote:
<quote>
I don't know; I'll ask my son when he gets home from school this afternoon.
I'm aware of David T's problem; I have no words of wisdom to offer.
		Steven M. Bellovin, <url>
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @talmage: "<quote>
To date, I have not been able to mount my new Generation 5.5 iPod with Vi=
deo under NetBSD 3.0.1.
When I plug it in, the sd driver fabricates a geometry.  Any attempt I ma=
ke to access the device hangs and when I press ctrl-T, I learn that it's =
in biowait.
I've been reading /usr/src/sys/dev/scsipi/sd.c.  So far, I see that sdatt=
ach is called and it calls sd_get_parms.  sd_get_parms prints "sd4: fabri=
cating a geometry".  The geometry printed by sdattach after that is the d=
efault one of 64 heads, 32 sectors, and the disksize / (64*32), suggestin=
g that either sd->sc_periph->periph_channel->chan_adapter->adapt_getgeom =
is NULL or it returns NULL.  If it's not null, I'm lost.  I don't know ho=
w to discover which function that is.
Privately, Steve Bellovin reported to me that his son's iPod has this geo=
metry:
sd0: 57231 MB, 14 cyl, 255 head, 63 sec, 512 bytes/sect x 117210240 secto=
rs
I wonder if Steve's son's iPod has ever been touched by Apple's iTunes.  =
ISTR reading somewhere (iLounge.com, maybe?) that you *have to* attach yo=
ur iPod to iTunes once before you can use it.  If that's true, maybe iTun=
es puts a proper disklabel on the iPod.
I had a similar problem with a brand new 4GB SD card.  It came formatted =
and both of my digital cameras read and wrote it without complaint but Ne=
tBSD wouldn't and fabricated a bogus geometry for it.  I formatted it wit=
h my Canon SD450 using the "low-level format" option.  Then NetBSD loved =
the new SD card.
I'm afraid to format the iPod.  If you've done it to yours, please contac=
t me.
David Talmage
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @smb: "On Fri, 29 Sep 2006 14:28:36 +0000, "David W. Talmage"
<quote>
My son only uses his iPod with (Windows) iTunes.  I've never let iTunes
near my Nano.
		Steven M. Bellovin, <url>
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @acruhl: "<quote>
Sorry for being way off topic, but what are you using? I have a few
iPods and I use iTunes but I'm not super thrilled about it.
Thanks.
Andy
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @ghen: "<quote>
Probably off-topic, but you could try to run Rockbox[1] on your iPod.
Maybe it behaves as a standard  umass device then.  I've ran it on my
iRiver H10,  and while it's still very new on that "platform", it was
pretty good already.
[1] <url>
	Geert
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @smb: "On Fri, 29 Sep 2006 21:54:38 +0200, Geert Hendrickx <email_address>
wrote:
<quote>
Fascinating; I hadn't even heard of the project.  That said, from a quick
glance at their web pages I doubt that Rockbox will help here.  The
problem is very low level  NetBSD isn't picking up the proper device
geometry.  Since the Rockbox installation instructions talk about doing
things with the raw drive to install on an iPod, I don't see how to even
begin.  (OTOH  it might yield useful diagnostic data if someone were to
install Rockbox on the device from, say, Linux, and then see how it
appeared to NetBSD.)  We just seem to be doing something wrong (but
possibly still in accordance with the spec, so "incompatible" might be a
better word) at the USB or SCSI layers.
The Rockbox page did mention something else that might be worth trying:
boot the device into "disk mode", via the instructions at
<url> and see what
happens.  I don't know, frankly, what the difference should be for "disk
mode" versus regular mode on NetBSD. 
Btw, I checked my son's iPd against the chart at
<url>  his is the earlier
5th Generation iPod.
		Steven M. Bellovin, <url>
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @pts: "Gidday folks,
mmm  big problems.
1. i have taken possession of the new 5th gen. determined to get an ipod,
they are quite special. almost worth the $$$ for the exquisite pleasure of
unwrapping such a thing.
2. i have the same problems as David. can't mount. and incorrect geometry
detected. bummer.
3. I have posted on port-i386 as this to me is a low level i386 thing.
But with no replies thus far i wonder if i should have posted here.
dunno.
So who and what list is ideal to ask questions about this
geometry problem WRT  netbsd?
4. I wonder if someone in Linux world has been able to mount the new
5th gen? If they did it on 386 then we can!  ( if it bleeds we can kill it :)
All help appreciated.
In the mean time i'll just get my moneys worth by josephwilson@example.org.
And occasionally picking it up.
:)
cheers,
Pauly.
<quote>
____________________________________________
Paul
Australian Bureau Of Meteorology
____________________________________________
"In a world without walls and fences,
who needs windows and gates ?"
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @smb: "On Fri, 29 Sep 2006 17:32:16 -0400, "Steven M. Bellovin"
<quote>
I tried "disk mode" on my Nano.  Here's the dmesg in regular mode:
umass0 at uhub1 port 2 configuration 1 interface 0
umass0: Apple iPod, rev 2.00/0.01, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Apple, iPod, 1.62> disk removable
sd0(umass0:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Is in Process Of Becoming Ready
sd0: drive offline
sd0: fabricating a geometry
and here's the dmesg in disk mode:
umass0 at uhub1 port 2 configuration 1 interface 0
umass0: Apple iPod, rev 2.00/0.01, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Apple, iPod, 1.62> disk removable
sd0: fabricating a geometry
sd0: 3906 MB, 3906 cyl, 64 head, 32 sec, 512 bytes/sect x 7999488 sectors
sd0: fabricating a geometry
I have no idea what difference is being presented to the system by the two
different modes; however, the disk mode version gives the same geometry
message as the people experiencing failures have reported coming out on
connection.
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @pts: "<quote>
Hi Steve,
i'm confused.
Doesn't the above show failure in non disk mode?
It doesn't even come up with an incorrect geometry.
Where as if it says 4gig in disk mode above, then aren't
you saying that disk mode works and the other doesn't?
Paul.
____________________________________________
Paul
Australian Bureau Of Meteorology
____________________________________________
"In a world without walls and fences,
who needs windows and gates ?"
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @smb: "<quote>
I don't know why it isn't printing anything, but it works just fine in
regular mode  I can mount it, run gtkpod, etc.
		Steven M. Bellovin, <url>
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @pts: "<quote>
sorry Steve, i didn't mean i was confused with mine.
i meant i was confused with what 'you' said.
see above
your normal mode doesn't show a josephwilson@example.org. ??
let alone a false one.
indicating problem.  surprising.
see below
your disk mode shows a geom??
indicating success.
anyhow i tried disk mode and it was the same result for me.
ie doesn't work.
except that after it the whole machine froze.
couldn't even ping it from elsewhere.
chs,
Paul.
____________________________________________
Paul
Australian Bureau Of Meteorology
____________________________________________
"In a world without walls and fences,
who needs windows and gates ?"
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @smb: "<quote>
Yes, I agree, but I'm not inclined to argue with success....
Yup.
It might be that I don't get the geometry message in normal mode because
the device shows as "not ready" initially.
That sounds like an even worse bug in our kernel....
Anyhow  I think this going to take attention from one of the USB
specialists, and probably some USB traces.  I'll be happy to run whatever
is needed on my end, though for me it's a lot easier to do with -current.
		Steven M. Bellovin, <url>
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @pts: "<quote>
:)))
yep.
sounds good.
i'll leave it for a bit.
see if a usb guru turns up with comments here.
else i might post on current.
chs,
Paul.
____________________________________________
Paul
Australian Bureau Of Meteorology
____________________________________________
"In a world without walls and fences,
who needs windows and gates ?"
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @smb: "I had another random thought on the subject.  My iPods work, but they
don't display a geometry message (though flash disks do), and do display a
'not ready' message.  The failing ones don't say "not ready", but do
display a bogus geometry.  This sounds to me like a race condition, though
I'm not certain of what type.
It could be that the new iPod is a bit later on the "not ready" status, so
it's not caught immediately; however, the device isn't ready when the
geometry is probed, so it gives bad answers.  Or maybe it's buggy and
isn't saying "not ready", though it should, because it can't give status
yet.
It would be interesting to insert a 1- or 2-second delay call before the
device is queried for geometry.
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @thorpej: "<quote>
He said "video", so by definition that's Gen 5.
 thorpej
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @smb: "On Fri, 29 Sep 2006 21:10:53 -0700, Jason Thorpe <email_address>
wrote:
<quote>
Actually, Apple distinguishes between two different classes of 5th
Generation  see <url>
It's only the newest ones that are showing the problem, as best I can tell.
I also need to verify what firmware release my son's has.
		Steven M. Bellovin, <url>
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @talmage: "<quote>
I have.  My PoweBook G3 has xubuntu, the XFCE version of Ubuntu Linux.  It 
recognizes my iPod as soon as I plug it in.  When I double-click on the iPod 
icon on the desktop, the XFCE file manager shows me the contents of the iPod.  
gtkpod can read and write the iPod.
Here is the output from dmesg when I plug in the iPod and mount it:
[  216.523212] usb 1-1: new full speed USB device using ohci_hcd and address 3
[  216.735713] usb 1-1: configuration #1 chosen from 2 choices
[  217.263083] Initializing USB Mass Storage driver...
[  217.265749] scsi1 : SCSI emulation for USB Mass Storage devices
[  217.267388] usb-storage: device found at 3
[  217.267405] usb-storage: waiting for device to settle before scanning
[  217.268047] usbcore: registered new driver usb-storage
[  217.268064] USB Mass Storage support registered.
[  222.273632]   Vendor: Apple     Model: iPod              Rev: 1.62
[  222.273697]   Type:   Direct-Access                      ANSI SCSI 
revision: 00
[  222.299277] usb-storage: device scan complete
[  222.484324] Driver 'sd' needs updating - please use bus_type methods
[  222.496025] SCSI device sda: 14651279 2048-byte hdwr sectors (30006 MB)
[  222.505533] sda: Write Protect is off
[  222.505558] sda: Mode Sense: 68 00 00 08
[  222.505569] sda: assuming drive cache: write through
[  222.525525] SCSI device sda: 14651279 2048-byte hdwr sectors (30006 MB)
[  222.536547] sda: Write Protect is off
[  222.536572] sda: Mode Sense: 68 00 00 08
[  222.536584] sda: assuming drive cache: write through
[  222.537343]  sda: sda1 sda2
[  222.556622] sd 1:0:0:0: Attached scsi removable disk sda
[  222.665297] sd 1:0:0:0: Attached scsi generic sg0 type 0
[  222.955741] Buffer I/O error on device sda2, logical block 14603084
[  222.991313] Buffer I/O error on device sda2, logical block 14603084
[  223.008003] Buffer I/O error on device sda2, logical block 14603084
[  223.008481] Buffer I/O error on device sda2, logical block 14603084
[  223.008905] Buffer I/O error on device sda2, logical block 14603084
[  223.009329] Buffer I/O error on device sda2, logical block 14603084
[  223.425816] Buffer I/O error on device sda2, logical block 14603084
[  223.426289] Buffer I/O error on device sda2, logical block 14603084
[  223.426889] Buffer I/O error on device sda2, logical block 14603084
[  223.427432] Buffer I/O error on device sda2, logical block 14603084
[  229.821573] FAT: utf8 is not a recommended IO charset for FAT filesystems, 
filesystem will be case sensitive!
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @thorpej: "<quote>
The newest ones (with the brighter screen) are generally referred to  
as "Gen 5.5".
 thorpej
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @smb: "On Sat, 30 Sep 2006 16:49:33 -0700, Jason Thorpe <email_address>
wrote:
<quote>
Ack.  My son's iPod is running 1.1.1  I wonder if it's 1.2 that's the
problem. 
		Steven M. Bellovin, <url>
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @talmage: "<quote>
Mine has 1.2.  It's definitely Gen 5.5. 
David
PS- No need to CC me if you're also sending to netbsd-users.
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @rhialto: "<quote>
I can confirm that there are some bugs in the geometry-detection code,
in case the drive sends out messed up replies to "mode page" inquiries.
I found out with firewire but my external box does the same with usb, as
I noticed later.  Here is the start of the thread:
<url>
My problem may require the same... I found some workaround but it could
be done better, I hope.
-Olaf.
___ Olaf 'Rhialto' Seibert       You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl         Cetero censeo "authored" delendum esse.
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
    @talmage: "I submitted a pr for this.  Its kern/34737.
<url>
Already, a Mr. Woodford sent a patch which I am embarrassed to say I can't 
apply due to my own ignorance of patch construction. I've asked him for 
another patch.  I'll report again when there's more to tell.
David
Posted automagically by a mail2news josephwilson@example.org e.V.
Please direct questions, flames, donations, etc. to <email_address>"
{'source': 'USENET', 'other_information': '{"reply_count": 23, "forum_name": "muc.lists.netbsd.users.20141207.mbox"}', 'file': 'data/output/usenet-muc.lists.parquet'}