> r...@tos-backup:~# pstack /dev/rdsk/core
> core '/dev/rdsk/core' of 1217:  format
> fee62e4a UDiv (4, 0, 8046c80, 80469a0, 8046a30,  8046a50) + 2a
> 08079799 auto_sense (4, 0, 8046c80, 0) + 281
> ...

Seems that one function call is missing in the back trace
between auto_sense and UDiv, because UDiv does not setup
a complete stack frame.

Looking at the source ...
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/format/auto_sense.c#819
... you can get some extra debug output
from format when you specify the "-M" option.

E.g. with an usb flash memory stick and format -eM
I get

# format -eM
Searching for disks...
c11t0d0: attempting auto configuration
Inquiry:
00 80 02 02 1f 00 00 00 53 61 6e 44 69 73 6b 20     ........SanDisk 
55 33 20 43 6f 6e 74 6f 75 72 20 20 20 20 20 20     U3 Contour      
34 2e 30                                            4.0
Product id: U3 Contour      
Capacity: 00 7a 46 90 00 00 02 00 
blocks:  8013456 (0x7a4690)
blksize: 512
disk name:  `r      `
Request sense for command mode sense failed
Sense data:
f0 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 
Mode sense page 0x3 failed
Request sense for command mode sense failed
Sense data:
f0 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 
Mode sense page 0x4 failed
Geometry:
    pcyl:    1956
    ncyl:    1954
    heads:   128
    nsects:  32
    acyl:    2
    bcyl:    0
    rpm:     0
    nblocks:     8013457
The current rpm value 0 is invalid, adjusting it to 3600

Geometry after adjusting for capacity:
    pcyl:    1956
    ncyl:    1954
    heads:   128
    nsects:  32
    acyl:    2
    rpm:     3600

Partition 0:   128.00MB       64 cylinders
Partition 1:   128.00MB       64 cylinders
Partition 2:     3.82GB     1956 cylinders
Partition 6:     3.56GB     1825 cylinders
Partition 8:     2.00MB        1 cylinders

Inquiry:
00 00 03 02 1f 00 00 02 41 54 41 20 20 20 20 20     ........ATA     
48 69 74 61 63 68 69 20 48 54 53 37 32 33 32 33     Hitachi HTS72323
43 33 30                                            C30
done

c11t0d0: configured with capacity of 3.82GB
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to