kern/86767: bogus "slice starts beyond end of the disk:..." on USB
floppy access
Gilbert Healton
ghealton at exit109.com
Fri Sep 30 15:20:30 PDT 2005
>Number: 86767
>Category: kern
>Synopsis: bogus "slice starts beyond end of the disk:..." on USB floppy access
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 30 22:20:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Gilbert Healton
>Release: FreeBSD 4.11-RELEASE i386
>Organization:
Lumeta Corporation http://www.lumeta.com/
>Environment:
System: FreeBSD ghealton5 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri Jan 21 17:21:22 GMT 2005 root at perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
<System: FreeBSD mothra.corp.lumeta.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon O
ct 27 17:51:09 GMT 2003 root at freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENER
IC i386>
>Description:
When using USB based floppy disks under FreeBSD4.11 the kernel produces
diagnostics that were not generated by FreeBSD4.9. These errors print on the console as well as being logged to /var/log/messages.
Diagnostics on USB floppy mount:
# mount -t msdos /dev/da0 /mnt
da0s1: slice starts beyond end of the disk: rejecting it
da0s2: slice starts beyond end of the disk: rejecting it
da0s3: slice starts beyond end of the disk: rejecting it
Diagnostics on USB floppy umount:
# umount /mnt
umass0: Unsupported UFI command 0x35
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x6, scsi status == 0x0
The mount appears successful, but not sure of that. It is very noisy and confusing. Will cause many complaints from our customer base.
More details:
* src/UPDATING read. Closest is 20030806 DA_OLD_QUIRKS note,
but that claims it was removed in 4.9 and 4.9 worked
without these errors.
* Attachment has some duplicate details, logs, as well as much
additional material.
* Failures observed on two different Dell D600 systems and
a Dell D610.
* Failures do not occur on straight "fd0" floppies.
* Notice many people asking about this error in various
news groups when searching for error text using Google.
* Related to fact that the "MSDOS partition table" area of
preformatted non-system floppies have error text in the
first three entires of the slice table (s1 to s3). If format
floppy under Windows XP, which fills all four slices, get
messages about s1 to s4. If use FreeBSD's new_msdos to
format floppy, which leaves slice table zeros, mount
shows no errors though umount still does. See attachment.
>How-To-Repeat:
Mount non-system MSDOS 3 1/2 formatted floppy in USB connected drive then
mount -t msdos /dev/da0 /mnt
umount /mnt
Used multiple fresh-out-of-the-box preformatted floppies with nothing
written to them as well as floppies formatted other ways. The key is
having a non-system floppy that prints that classic error message where
message text is stored where MSDOS partition table normally resides.
100% reproduction rate.
Used Dell branded floppy (PN/71761-A01) though it lists as NEC in dmesg
(see attachment). Other numbers on drive: FDDM-101 243-560390-101-0
UL E151483 M IC Class B ICES-003
Bar Code PH-02R152-17601-42B-E239 Rev A00.
WORKAROUND - PARTIAL
--------------------
Format floppy with FreeBSD's "newfs_msdos" program before mounting
the floppy for use:
newfs_msdos [-L label] /dev/da0
This stops mount errors, though the umount errors continue.
(This happens to leave the partition table area zeros.)
DD ERRORS
---------
Has also been observed when using "dd" access of raw, unmounted, drive.
This generates all of the errors in one command. But I've run "dd" at
times where I did not notice there errors either.
dd if=/dev/da0 of=./floppy.0 bs=512 count=1
This seems to favor the same messages as umount, though sometimes I've
seen them all.
FDFORMAT ERRORS
---------------
fdformat program fails with these errors in addition to:
fdformat: not a floppy disk: /dev/da0
FDISK ERRORS
------------
Fdisk gives up on floppies.
NEWFS_MSDOS ERRORS
------------------
newfs_msdos appears to format correctly though it shows errors
in the way DD does.
>Fix:
None found yet. still looking, but slowly as not used to FreeBSD
I/O drivers and I have a software delivery coming well too soon.
Never done BSD drivers nor these devices before so lots to learn.
--- floppy-bug.txt begins here ---
Summary: FreeBSD4.11 produces bogus "slice starts beyond end of the disk: rejecting it" errors under USB/umass floppies. 4.9 did not.
--------------------------------------------------------------------
* Have searched GNATS database for anything close to this.
Found nothing.
* Marked serious as:
* problem in kernel I/O routines (official reason for serious).
* multiple people reporting messages.
some can not mount floppies, or at least think they can't.
* reliability of floppy operations questionable,
which can cause be expensive on even occasional
failures to our application.
* Floppies formatted with Windows XP, which puts error text in "s4",
a diagnostic for "s4" is also included.
* Floppies formatted with FreeBSD's newfs_msdos command, which
leaves s1-s4 zero, no mount errors occur though umount errors
still occur.
FIX REWARD:
-----------------------------------------------------------------------
Whoever I receive the best fix from by 2005-10-12 gets
a free poster-size map of the Internet (not for sale anywhere....
so don't ask if you don't send me a fix... no volume publishing
facilities just a spin-off of something else).
Offered for sure to USA residents. Other countries if,
and after, passing additional legal checks and permissions.
This map shows routes to all registered networks and not
individual hosts nor generic ISPs. With over 180,000 networks
it has quite a lot on it. It will be more complex than those
shown at:
sample: http://www.lumeta.com/gallery/isp-ss.gif
details: http://www.lumeta.com/mapping.html
Ideas:
--------------------------------------------------------------------
My first guess is that these are caused by the fact that non-system floppy disks have error message text at offset 0x1BE rather than a MSDOS partition table. Such a floppy dump follows.
My second guess involves someone adding SCSI/UFI code that cycles through MS-DOS partitions without first checking if the partition table exsists.
Perhaps some SCSI related code for reading MBRs without partition tables was deleted as "unused" even though it is required for umass/UFI floppies. Looking at bytes 15 and 12-14 should tell the kernel if it has a floppy or not.
Suspect UMASS/SCSI/UFI specific code as straight "fd0" floppy drives do not generate this error.
/var/log/messages boot log extract
--------------------------------------------------------------------
Sep 30 13:48:13 ghealton5 /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Sep 30 13:48:13 ghealton5 /kernel: da0: <NEC USB UF000x 1.50> Removable Direct Access SCSI-0 device
Sep 30 13:48:13 ghealton5 /kernel: da0: 20KB/s transfers
Sep 30 13:48:13 ghealton5 /kernel: da0: Attempt to query device size failed: NOT READY, Medium not present
dmesg log follows
--------------------------------------------------------------------
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.11-RELEASE #0: Fri Jan 21 17:21:22 GMT 2005
root at perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz
CPU: Intel(R) Pentium(R) M processor 2.00GHz (1995.01-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8
Features=0xafe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
real memory = 1073549312 (1048388K bytes)
avail memory = 1039441920 (1015080K bytes)
Preloaded elf kernel "kernel" at 0xc055c000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 10 entries at 0xc00fb2c0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=8086 device=2591)> irq 0 at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI model 5460 graphics accelerator> at 0.0 irq 11
pcib2: <PCI to PCI bridge (vendor=8086 device=2660)> irq 0 at device 28.0 on pci0
pci2: <PCI bus> on pcib2
bge0: <Broadcom BCM5751 Gigabit Ethernet, ASIC rev. 0x4001> mem 0xdfcf0000-0xdfcfffff irq 11 at device 0.0 on pci2
bge0: Ethernet address: 00:11:43:4d:b4:1c
miibus0: <MII bus> on bge0
brgphy0: <BCM5750 10/100/1000baseTX PHY> on miibus0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
uhci0: <UHCI (generic) USB controller> port 0xbf80-0xbf9f irq 11 at device 29.0 on pci0
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0xbf60-0xbf7f irq 10 at device 29.1 on pci0
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <UHCI (generic) USB controller> port 0xbf40-0xbf5f irq 9 at device 29.2 on pci0
usb2: <UHCI (generic) USB controller> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
umass0: NEC NEC USB UF000x, rev 1.10/1.50, addr 2
uhci3: <UHCI (generic) USB controller> port 0xbf20-0xbf3f irq 7 at device 29.3 on pci0
usb3: <UHCI (generic) USB controller> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: <USB controller> at 29.7 irq 11
pcib3: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on pci0
pci3: <PCI bus> on pcib3
pcic0: <YENTA PCI-CardBus Bridge> irq 7 at device 1.0 on pci3
pcic0: PCI Memory allocated: 0x88000000
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pci3: <unknown card> (vendor=0x104c, dev=0x8038) at 1.5 irq 7
pci3: <unknown card> (vendor=0x14e4, dev=0x4320) at 3.0 irq 10
pci0: <unknown card> (vendor=0x8086, dev=0x266e) at 30.2 irq 11
pci0: <unknown card> (vendor=0x8086, dev=0x266d) at 30.3 irq 10
isab0: <PCI to ISA bridge (vendor=8086 device=2641)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Generic PCI ATA controller> port 0xbfa0-0xbfaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 irq 10 at device 31.2 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x8086, dev=0x266a) at 31.3 irq 10
orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: parallel port not found.
ad0: 57231MB <TOSHIBA MK6026GAX> [116280/16/63] at ata0-master BIOSDMA
acd0: DVD-ROM <HL-DT-STDVD-ROM GDR8082N> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <NEC USB UF000x 1.50> Removable Direct Access SCSI-0 device
da0: 20KB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
Working Notes:
--------------------------------------------------------------------
MBR details follow from http://bootmaster.filerecovery.biz/appnote4.html
00-02: JMP (EB + byte-address) instruction then NOP (90)
03-0A: OEM name & DOS version
0B-0C: bytes per sector (usually 512 0x200)
0D: sectors per cluster (must be power of 2)
0E-0F: reserved sectors (boot sectors - usually 1)
10: FAT copies (usually 2)
11-12: max root directory entries (usually 512) 192 (0xe0) here.
13-14: total sectors if partition <= 32M, else 0.
15: media description byte ( from
http://www.win.tue.nl/~aeb/linux/fs/fat/fat-1.html )
For 8" floppies:
fc, fd, fe - Various interesting formats
For 5.25" floppies:
Value DOS version Capacity sides tracks sectors/track
ff 1.1 320 KB 2 40 8
fe 1.0 160 KB 1 40 8
fd 2.0 360 KB 2 40 9
fc 2.0 180 KB 1 40 9
fb 640 KB 2 80 8
fa 320 KB 1 80 8
f9 3.0 1200 KB 2 80 15
For 3.5" floppies:
Value DOS version Capacity sides tracks sectors/track
fb 640 KB 2 80 8
fa 320 KB 1 80 8
f9 3.2 720 KB 2 80 9
f0 3.3 1440 KB 2 80 18
f0 2880 KB 2 80 36
For RAMdisks:
fa
16-17: Sectors-per-fat
18-19: Sectors-per-track
1A-1E: number of heads
1C-1F: hidden sectors (if partitions <= 32M, only 2-bytes: see 13-14)
Additional words exist for MSDOS 4.0 and beyond, which non-system floppies
do not seem to use, escept for the signature in the last two bytes.
Samples of several styles of formatting follow:
--- preformatted.floppy ---
.0.1 .2.3 .4.5 .6.7 .8.9 .A.B .C.D .E.F 0123456789ABCDEF
---- ---- ---- ---- ---- ---- ---- ---- ----------------
0000: eb34 9049 424d 2020 332e 3300 0201 0100 /.4.IBM 3.3...../
0010: 02e0 0040 0bf0 0900 1200 0200 0000 0000 /... at ............/
0020: 0000 0000 0000 0000 0000 0000 0000 0012 /................/
0030: 0000 0000 0100 fa33 c08e d0bc 007c 1607 /.......3.....|../
0040: bb78 0036 c537 1e56 1653 bf2b 7cb9 0b00 /.x.6.7.V.S.+|.../
0050: fcac 2680 3d00 7403 268a 05aa 8ac4 e2f1 /..&.=.t.&......./
0060: 061f 8947 02c7 072b 7cfb cd13 7267 a010 /...G...+|...rg../
0070: 7c98 f726 167c 0306 1c7c 0306 0e7c a33f /|..&.|...|...|.?/
0080: 7ca3 377c b820 00f7 2611 7c8b 1e0b 7c03 /|.7|. ..&.|...|./
0090: c348 f7f3 0106 377c bb00 05a1 3f7c e89f /.H....7|....?|../
00a0: 00b8 0102 e8b3 0072 198b fbb9 0b00 bed6 /.......r......../
00b0: 7df3 a675 0d8d 7f20 bee1 7db9 0b00 f3a6 /}..u... ..}...../
00c0: 7418 be77 7de8 6a00 32e4 cd16 5e1f 8f04 /t..w}.j.2...^.../
00d0: 8f44 02cd 19be c07d ebeb a11c 0533 d2f7 /.D.....}.....3../
00e0: 360b 7cfe c0a2 3c7c a137 7ca3 3d7c bb00 /6.|...<|.7|.=|../
00f0: 07a1 377c e849 00a1 187c 2a06 3b7c 4038 /..7|.I...|*.;|@8/
0100: 063c 7c73 03a0 3c7c 50e8 4e00 5872 c628 /.<|s..<|P.N.Xr.(/
0110: 063c 7c74 0c01 0637 7cf7 260b 7c03 d8eb /.<|t...7|.&.|.../
0120: d08a 2e15 7c8a 16fd 7d8b 1e3d 7cea 0000 /....|...}..=|.../
0130: 7000 ac0a c074 22b4 0ebb 0700 cd10 ebf2 /p....t"........./
0140: 33d2 f736 187c fec2 8816 3b7c 33d2 f736 /3..6.|....;|3..6/
0150: 1a7c 8816 2a7c a339 7cc3 b402 8b16 397c /.|..*|.9|.....9|/
0160: b106 d2e6 0a36 3b7c 8bca 86e9 8a16 fd7d /.....6;|.......}/
0170: 8a36 2a7c cd13 c30d 0a4e 6f6e 2d53 7973 /.6*|.....Non-Sys/
0180: 7465 6d20 6469 736b 206f 7220 6469 736b /tem disk or disk/
0190: 2065 7272 6f72 0d0a 5265 706c 6163 6520 / error..Replace /
01a0: 616e 6420 7374 7269 6b65 2061 6e79 206b /and strike any k/
01b0: 6579 2077 6865 6e20 7265 6164 790d 0a00 /ey when ready.../
01c0: 0d0a 4469 736b 2042 6f6f 7420 6661 696c /..Disk Boot fail/
01d0: 7572 650d 0a00 4942 4d42 494f 2020 434f /ure...IBMBIO CO/
01e0: 4d49 424d 444f 5320 2043 4f4d 0000 0000 /MIBMDOS COM..../
01f0: 0000 0000 0000 0000 0000 0000 0000 55aa /..............U./
--- xp-formatted.floppy ---
.0.1 .2.3 .4.5 .6.7 .8.9 .A.B .C.D .E.F 0123456789ABCDEF
---- ---- ---- ---- ---- ---- ---- ---- ----------------
0000: eb3c 904d 5344 4f53 352e 3000 0201 0100 /.<.MSDOS5.0...../
0010: 02e0 0040 0bf0 0900 1200 0200 0000 0000 /... at ............/
0020: 0000 0000 0000 292c ef5e e84e 4f20 4e41 /......),.^.NO NA/
0030: 4d45 2020 2020 4641 5431 3220 2020 33c9 /ME FAT12 3./
0040: 8ed1 bcf0 7b8e d9b8 0020 8ec0 fcbd 007c /....{.... .....|/
0050: 384e 247d 248b c199 e83c 0172 1c83 eb3a /8N$}$....<.r...:/
0060: 66a1 1c7c 2666 3b07 268a 57fc 7506 80ca /f..|&f;.&.W.u.../
0070: 0288 5602 80c3 1073 eb33 c98a 4610 98f7 /..V....s.3..F.../
0080: 6616 0346 1c13 561e 0346 0e13 d18b 7611 /f..F..V..F....v./
0090: 6089 46fc 8956 feb8 2000 f7e6 8b5e 0b03 /`.F..V.. ....^../
00a0: c348 f7f3 0146 fc11 4efe 61bf 0000 e8e6 /.H...F..N.a...../
00b0: 0072 3926 382d 7417 60b1 0bbe a17d f3a6 /.r9&8-t.`....}../
00c0: 6174 324e 7409 83c7 203b fb72 e6eb dca0 /at2Nt... ;.r..../
00d0: fb7d b47d 8bf0 ac98 4074 0c48 7413 b40e /.}.}.... at t.Ht.../
00e0: bb07 00cd 10eb efa0 fd7d ebe6 a0fc 7deb /.........}....}./
00f0: e1cd 16cd 1926 8b55 1a52 b001 bb00 00e8 /.....&.U.R....../
0100: 3b00 72e8 5b8a 5624 be0b 7c8b fcc7 46f0 /;.r.[.V$..|...F./
0110: 3d7d c746 f429 7d8c d989 4ef2 894e f6c6 /=}.F.)}...N..N../
0120: 0696 7dcb ea03 0000 200f b6c8 668b 46f8 /..}..... ...f.F./
0130: 6603 461c 668b d066 c1ea 10eb 5e0f b6c8 /f.F.f..f....^.../
0140: 4a4a 8a46 0d32 e4f7 e203 46fc 1356 feeb /JJ.F.2....F..V../
0150: 4a52 5006 536a 016a 1091 8b46 1896 9233 /JRP.Sj.j...F...3/
0160: d2f7 f691 f7f6 4287 caf7 761a 8af2 8ae8 /......B...v...../
0170: c0cc 020a ccb8 0102 807e 020e 7504 b442 /.........~..u..B/
0180: 8bf4 8a56 24cd 1361 6172 0b40 7501 4203 /...V$..aar. at u.B./
0190: 5e0b 4975 06f8 c341 bb00 0060 666a 00eb /^.Iu...A...`fj../
01a0: b04e 544c 4452 2020 2020 2020 0d0a 5265 /.NTLDR ..Re/
01b0: 6d6f 7665 2064 6973 6b73 206f 7220 6f74 /move disks or ot/
01c0: 6865 7220 6d65 6469 612e ff0d 0a44 6973 /her media....Dis/
01d0: 6b20 6572 726f 72ff 0d0a 5072 6573 7320 /k error...Press /
01e0: 616e 7920 6b65 7920 746f 2072 6573 7461 /any key to resta/
01f0: 7274 0d0a 0000 0000 0000 00ac cbd8 55aa /rt............U./
--- newfs_msdos.floppy ---
.0.1 .2.3 .4.5 .6.7 .8.9 .A.B .C.D .E.F 0123456789ABCDEF
---- ---- ---- ---- ---- ---- ---- ---- ----------------
0000: eb3c 9042 5344 2020 342e 3400 0208 0100 /.<.BSD 4.4...../
0010: 0200 0240 0bf0 0200 3200 7300 0000 0000 /... at ....2.s...../
0020: 0000 0000 0000 29e6 1318 894e 4f20 4e41 /......)....NO NA/
0030: 4d45 2020 2020 4641 5431 3220 2020 fa31 /ME FAT12 .1/
0040: c08e d0bc 007c fb8e d8e8 0000 5e83 c619 /.....|......^.../
0050: bb07 00fc ac84 c074 06b4 0ecd 10eb f530 /.......t.......0/
0060: e4cd 16cd 190d 0a4e 6f6e 2d73 7973 7465 /.......Non-syste/
0070: 6d20 6469 736b 0d0a 5072 6573 7320 616e /m disk..Press an/
0080: 7920 6b65 7920 746f 2072 6562 6f6f 740d /y key to reboot./
0090: 0a00 0000 0000 0000 0000 0000 0000 0000 /................/
00a0: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
00b0: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
00c0: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
00d0: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
00e0: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
00f0: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
0100: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
0110: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
0120: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
0130: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
0140: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
0150: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
0160: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
0170: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
0180: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
0190: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
01a0: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
01b0: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
01c0: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
01d0: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
01e0: 0000 0000 0000 0000 0000 0000 0000 0000 /................/
01f0: 0000 0000 0000 0000 0000 0000 0000 55aa /..............U./
More Notes:
--------------------------------------------------------------------
Errors produced by code present in both FreeBSD4.9 and FreeBSD4.11:
/usr/src/sys/kern/subr_diskmbr.c
da0s2: slice starts beyond end of the disk: rejecting it
/usr/src/sys/dev/usb/umass.c
umass0: Unsupported UFI command 0x35
/usr/src/cam/scsi/scsi_da.c
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x6, scsi status == 0x0
Terms:
( umass -> UFI )
Traces:
sys/cam/scsi/scsi_all.c scsi_print_inquiry() seems to print (near bottom):
da0: <NEC USB UF000x 1.50> Removable Direct Access SCSI-0 device
kern/subr_diskmbr.c
mbr_setslice()
printf( "%s: slice starts beyond end of the disk: rejecting it\n",
+++likely called from:
dsinit()
Reads DOS partition table. suspect should not be called if floppy.
+++likely called from:
kern/subr_diskslice.c
dsopen(dev, mode, flags, sspp, lp)
called on inactive unit to make it active
DSO_ONESLICE in flags must NOT be set to call dsopen().
cam/scsi/scsi_cd.c cdregister() seems to be only place that
sets DSO_ONESLICE.
--- floppy-bug.txt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list