Subject: Re: kern/34737
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: David W. Talmage <talmage@onespeeddave.com>
List: netbsd-bugs
Date: 10/09/2006 18:40:02
The following reply was made to PR kern/34737; it has been noted by GNATS.

From: "David W. Talmage" <talmage@onespeeddave.com>
To: gnats-bugs@netbsd.org
Cc: Steve Woodford <scw@netbsd.org>
Subject: Re: kern/34737
Date: Mon, 9 Oct 2006 14:38:51 -0400

 I applied the patch, rebuilt the kernel, and rebooted with the new kernel.  As Mr. Woodford predicted, the patch resolved the geometry and hanging issues.  Stll, I can't mount the iPod.
 
 Here's what dmesg said when I plugged in the iPod:
 
 umass1 at uhub4 port 6 configuration 1 interface 0
 umass1: Apple iPod, rev 2.00/0.02, addr 3
 umass1: using SCSI over Bulk-Only
 scsibus1 at umass1: 2 targets, 1 lun per target
 sd4 at scsibus1 target 0 lun 0: <Apple, iPod, 1.62> disk removable
 sd4: fabricating a geometry
 sd4: 28615 MB, 7153 cyl, 64 head, 32 sec, 2048 bytes/sect x 14651280 sectors
 
 Let me tell you, that was exciting to see!
 
 Disklabel said this:
 
 talmage@macdonell% sudo disklabel sd4
 disklabel: Can't read master boot record 0: Invalid argument
 # /dev/rsd4d:
 type: SCSI
 disk: mydisk
 label: fictitious
 flags: removable
 bytes/sector: 2048
 sectors/track: 32
 tracks/cylinder: 64
 sectors/cylinder: 2048
 cylinders: 7153
 total sectors: 14651280
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0           # microseconds
 track-to-track seek: 0  # microseconds
 drivedata: 0
 
 6 partitions:
 #        size    offset     fstype [fsize bsize cpg/sgs]
  d:  58605120         0     unused      0     0        # (Cyl.      0 -  28615+)
  f:  14603085     48195      MSDOS                     # (Cyl.     23*-  7153*)
 disklabel: boot block size 0
 disklabel: super block size 0
 disklabel: partition d: partition extends past end of unit
 
 Attempting to read the disklabel from the iPod, I got this:
 
 talmage@macdonell% sudo disklabel -r sd4
 disklabel: Can't read master boot record 0: Invalid argument
 disklabel: no disklabel
 
 
 Still, I can't mount the iPod.
 
 talmage@macdonell% sudo mount -t msdos /dev/sd4f /mnt/hd
 mount_msdos: /dev/sd4f on /mnt/hd: Invalid argument