kern/74771: mounting write-protected umass device as read/write
hangs device
Bernd Luevelsmeyer
bernd at heitec.net
Mon Dec 6 05:00:51 PST 2004
>Number: 74771
>Category: kern
>Synopsis: mounting write-protected umass device as read/write hangs device
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 06 13:00:50 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Bernd Luevelsmeyer
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD 5.3-STABLE #2: Mon Dec 6 12:13:23 CET 2004 i386
>Description:
If a write-protected USB stick is attached and mounted
read-write, this fails with an error, which is fine. However,
afterwards it cannot be mounted read-only because "ressource
temporarily unavailable". It is necessary to unplug and re-plug
the USB stick to be able to mount it.
>How-To-Repeat:
This is a log showing the activities and console messages. My
comments are inserted with leading '-- '.
-- I plug in the write-protected USB stick, which has a FAT filesystem
umass0: USB Flash Disk, rev 2.00/2.00, addr 2
umass0:1:0:-1: Attached to scbus1
pass5 at umass-sim0 bus 0 target 0 lun 0
pass5: <TinyDisk 2004-10-15 2.00> Removable Direct Access SCSI-2 device
pass5: Serial Number ?
-- The '?' above is really a byte 31
pass5: 1.000MB/s transfers
GEOM: new disk da3
da3 at umass-sim0 bus 0 target 0 lun 0
da3: <TinyDisk 2004-10-15 2.00> Removable Direct Access SCSI-2 device
da3: Serial Number ?
-- The '?' above is really a byte 31
da3: 1.000MB/s transfers
da3: 500MB (1024000 512 byte sectors: 64H 32S/T 500C)
[0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
# camcontrol devlist -v
scbus0 on ahc0 bus 0:
<SEAGATE ST173404LW 0004> at scbus0 target 0 lun 0 (da0,pass0)
<SEAGATE ST173404LW 0004> at scbus0 target 1 lun 0 (da1,pass1)
<SEAGATE ST373405LW 0003> at scbus0 target 2 lun 0 (da2,pass2)
<TECMAR TRAVAN NS20 S255> at scbus0 target 4 lun 0 (sa0,pass3)
<HP CD-Writer+ 9200 1.0e> at scbus0 target 5 lun 0 (cd0,pass4)
< > at scbus0 target -1 lun -1 ()
scbus1 on umass-sim0 bus 0:
<TinyDisk 2004-10-15 2.00> at scbus1 target 0 lun 0 (pass5,da3)
scbus-1 on xpt0 bus 0:
< > at scbus-1 target -1 lun -1 (xpt0)
# usbdevs -dv
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000)
, rev 1.00
uhub0
port 1 powered
port 2 addr 2: full speed, power 200 mA, config 1, Flash Disk(0x2168), USB(0x0e
a0), rev 2.00
umass0
-- I will now attempt to mount it read/write, which fails
# mount_msdosfs /dev/da3 /mnt
(da3:umass-sim0:0:0:0): WRITE(10). CDB: 2a 0 0 0 0 20 0 0 8 0
(da3:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da3:umass-sim0:0:0:0): SCSI Status: Check Condition
(da3:umass-sim0:0:0:0): DATA PROTECT asc:27,0
(da3:umass-sim0:0:0:0): Write protected
(da3:umass-sim0:0:0:0): (da3:umass-sim0:0:0:0): WRITE(10). CDB: 2a 0 0 0 0 20 0
0 8 0
(da3:umass-sim0:0:0:0): DATA PROTECT asc:27,0
(da3:umass-sim0:0:0:0): Write protected
Unretryable error
(da3:umass-sim0:0:0:0): error 13
(da3:umass-sim0:0:0:0): Unretryable Error
[0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
mount_msdosfs: /dev/da3: Permission denied
-- Now I try to mount it read-only, which should succeed but doesn't
# mount_msdosfs -o ro /dev/da3 /mnt
fsync: giving up on dirty: 0xc1469948: tag devfs, type VCHR, usecount 1, writeco
unt 0, refcount 127, lock type devfs: EXCL (count 1) by thread 0xc1186320 (pid 2
1691)
dev da3
mount_msdosfs: /dev/da3: Resource temporarily unavailable
-- I unplug the USB stick
umass0: at uhub0 port 2 (addr 2) disconnected
(pass5:umass-sim0:0:0:0): lost device
(pass5:umass-sim0:0:0:0): removing device entry
(da3:umass-sim0:0:0:0): lost device
(da3:umass-sim0:0:0:0): removing device entry
umass0: detached
-- I plug the USB stick in again
umass0: USB Flash Disk, rev 2.00/2.00, addr 2
umass0:1:0:-1: Attached to scbus1
pass5 at umass-sim0 bus 0 target 0 lun 0
pass5: <TinyDisk 2004-10-15 2.00> Removable Direct Access SCSI-2 device
pass5: Serial Number ?
-- The '?' above is really a byte 31
pass5: 1.000MB/s transfers
GEOM: new disk da3
da3 at umass-sim0 bus 0 target 0 lun 0
da3: <TinyDisk 2004-10-15 2.00> Removable Direct Access SCSI-2 device
da3: Serial Number ?
-- The '?' above is really a byte 31
da3: 1.000MB/s transfers
da3: 500MB (1024000 512 byte sectors: 64H 32S/T 500C)
[0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
-- Now I mount it read-only, which succeeds as expected
# mount_msdosfs -o ro /dev/da3 /mnt
# ls /mnt
testfile
==============================
I'm including /var/run/dmesg.boot in its entirety:
Copyright (c) 1992-2004 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 5.3-STABLE #1: Mon Dec 6 07:58:11 CET 2004
bernd at tostan.admin.er.heitec.net:/usr/obj/usr/src/sys/TOSTAN
Preloaded elf kernel "/boot/kernel/kernel" at 0xc070d000.
Preloaded elf module "/boot/modules/acpi.ko" at 0xc070d200.
Calibrating clock(s) ... i8254 clock: 1193174 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 400910991 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x651 Stepping = 1
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory = 268423168 (255 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000000826000 - 0x000000000fb4cfff, 254963712 bytes (62247 pages)
avail memory = 257310720 (245 MB)
bios32: Found BIOS32 Service Directory header at 0xc00f9d60
bios32: Entry = 0xf0520 (c00f0520) Rev = 0 Len = 1
pcibios: PCI BIOS entry at 0xf0000+0x720
pnpbios: Found PnP BIOS data at 0xc00fd1b0
pnpbios: Entry = f0000:d1e0 Rev = 1.0
pnpbios: OEM ID cd041
Other BIOS signatures found:
mem: <memory>
Pentium Pro MTRR support enabled
netsmb_dev: loaded
io: <I/O>
null: <null device, zero device>
random: <entropy source, Software, Yarrow>
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS P2B-LS> on motherboard
acpi0: [MPSAFE]
pci_open(1): mode 1 addr port (0x0cf8) is 0x80002358
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086)
pcibios: BIOS version 2.10
Found $PIR table, 8 entries at 0xc00f0d10
PCI-Only Interrupts: none
Location Bus Device Pin Link IRQs
slot 1 0 12 A 0x60 3 4 5 7 9 10 11 12
slot 1 0 12 B 0x61 3 4 5 7 9 10 11 12
slot 1 0 12 C 0x62 3 4 5 7 9 10 11 12
slot 1 0 12 D 0x63 3 4 5 7 9 10 11 12
slot 2 0 11 A 0x61 3 4 5 7 9 10 11 12
slot 2 0 11 B 0x62 3 4 5 7 9 10 11 12
slot 2 0 11 C 0x63 3 4 5 7 9 10 11 12
slot 2 0 11 D 0x60 3 4 5 7 9 10 11 12
slot 3 0 10 A 0x62 3 4 5 7 9 10 11 12
slot 3 0 10 B 0x63 3 4 5 7 9 10 11 12
slot 3 0 10 C 0x60 3 4 5 7 9 10 11 12
slot 3 0 10 D 0x61 3 4 5 7 9 10 11 12
slot 4 0 9 A 0x63 3 4 5 7 9 10 11 12
slot 4 0 9 B 0x60 3 4 5 7 9 10 11 12
slot 4 0 9 C 0x61 3 4 5 7 9 10 11 12
slot 4 0 9 D 0x62 3 4 5 7 9 10 11 12
embedded 0 4 A 0x60 3 4 5 7 9 10 11 12
embedded 0 4 B 0x61 3 4 5 7 9 10 11 12
embedded 0 4 C 0x62 3 4 5 7 9 10 11 12
embedded 0 4 D 0x63 3 4 5 7 9 10 11 12
embedded 0 1 A 0x60 3 4 5 7 9 10 11 12
embedded 0 1 B 0x61 3 4 5 7 9 10 11 12
embedded 0 1 C 0x62 3 4 5 7 9 10 11 12
embedded 0 1 D 0x63 3 4 5 7 9 10 11 12
embedded 0 6 A 0x63 3 4 5 7 9 10 11 12
embedded 0 6 B 0x60 3 4 5 7 9 10 11 12
embedded 0 6 C 0x61 3 4 5 7 9 10 11 12
embedded 0 6 D 0x62 3 4 5 7 9 10 11 12
embedded 0 7 A 0x62 3 4 5 7 9 10 11 12
embedded 0 7 B 0x63 3 4 5 7 9 10 11 12
embedded 0 7 C 0x60 3 4 5 7 9 10 11 12
embedded 0 7 D 0x61 3 4 5 7 9 10 11 12
acpi_bus_number: root bus has no _BBN, assuming 0
AcpiOsDerivePciId: bus 0 dev 4 func 0
acpi0: Power Button (fixed)
atpic: Programming IRQ9 as level/low
acpi_bus_number: root bus has no _BBN, assuming 0
AcpiOsDerivePciId: bus 0 dev 4 func 3
acpi_bus_number: root bus has no _BBN, assuming 0
AcpiOsDerivePciId: bus 0 dev 4 func 3
ACPI timer: 0/6 0/4 0/4 0/4 0/4 0/4 0/4 0/4 0/4 0/4 -> 0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
ACPI PCI link initial configuration:
\\_SB_.LNKA irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 11+ low,level,sharable 0.12.0
\\_SB_.LNKB irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 0+ low,level,sharable 0.12.1
\\_SB_.LNKC irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 10+ low,level,sharable 0.12.2
\\_SB_.LNKD irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 15+ low,level,sharable 0.12.3
\\_SB_.LNKB irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 0+ low,level,sharable 0.11.0
\\_SB_.LNKC irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 10+ low,level,sharable 0.11.1
\\_SB_.LNKD irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 15+ low,level,sharable 0.11.2
\\_SB_.LNKA irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 11+ low,level,sharable 0.11.3
\\_SB_.LNKC irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 10+ low,level,sharable 0.10.0
\\_SB_.LNKD irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 15+ low,level,sharable 0.10.1
\\_SB_.LNKA irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 11+ low,level,sharable 0.10.2
\\_SB_.LNKB irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 0+ low,level,sharable 0.10.3
\\_SB_.LNKD irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 15+ low,level,sharable 0.9.0
\\_SB_.LNKA irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 11+ low,level,sharable 0.9.1
\\_SB_.LNKB irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 0+ low,level,sharable 0.9.2
\\_SB_.LNKC irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 10+ low,level,sharable 0.9.3
\\_SB_.LNKA irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 11+ low,level,sharable 0.4.0
\\_SB_.LNKB irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 0+ low,level,sharable 0.4.1
\\_SB_.LNKC irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 10+ low,level,sharable 0.4.2
\\_SB_.LNKD irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 15+ low,level,sharable 0.4.3
\\_SB_.LNKA irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 11+ low,level,sharable 0.1.0
\\_SB_.LNKB irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 0+ low,level,sharable 0.1.1
\\_SB_.LNKC irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 10+ low,level,sharable 0.1.2
\\_SB_.LNKD irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 15+ low,level,sharable 0.1.3
\\_SB_.LNKD irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 15+ low,level,sharable 0.6.0
\\_SB_.LNKA irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 11+ low,level,sharable 0.6.1
\\_SB_.LNKB irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 0+ low,level,sharable 0.6.2
\\_SB_.LNKC irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 10+ low,level,sharable 0.6.3
\\_SB_.LNKC irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 10+ low,level,sharable 0.7.0
\\_SB_.LNKD irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 15+ low,level,sharable 0.7.1
\\_SB_.LNKA irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 11+ low,level,sharable 0.7.2
\\_SB_.LNKB irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 0+ low,level,sharable 0.7.3
pci0: <ACPI PCI bus> on pcib0
pci0: physical bus=0
map[10]: type 3, range 32, base e7800000, size 22, enabled
found-> vendor=0x8086, dev=0x7190, revid=0x02
bus=0, slot=0, func=0
class=06-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0106, statreg=0x2210, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x7191, revid=0x02
bus=0, slot=1, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0117, statreg=0x0220, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x88 (34000 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x7110, revid=0x02
bus=0, slot=4, func=0
class=06-01-00, hdrtype=0x00, mfdev=1
cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
map[20]: type 4, range 32, base 0000b800, size 4, port disabled
found-> vendor=0x8086, dev=0x7111, revid=0x01
bus=0, slot=4, func=1
class=01-01-80, hdrtype=0x00, mfdev=0
cmdreg=0x0000, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
map[20]: type 4, range 32, base 0000b400, size 5, enabled
pcib0: matched entry for 0.4.INTD (src \\_SB_.LNKD)
pcib0: possible interrupts: 3 4 5 6 7 9 10 11 12 14 15
ACPI PCI link arbitrated settings:
\\_SB_.LNKA (references 8, priority 93738):
interrupts: 11 10 5 9 12 7 6 4 3 15 14
penalty: 320 320 370 640 5320 5320 5320 5320 5320 50320 50320
\\_SB_.LNKB (references 8, priority 93738):
interrupts: 11 10 5 9 12 7 6 4 3 15 14
penalty: 320 320 370 640 5320 5320 5320 5320 5320 50320 50320
\\_SB_.LNKC (references 8, priority 93738):
interrupts: 11 10 5 9 12 7 6 4 3 15 14
penalty: 320 320 370 640 5320 5320 5320 5320 5320 50320 50320
\\_SB_.LNKD (references 8, priority 93738):
interrupts: 11 10 5 9 12 7 6 4 3 15 14
penalty: 320 320 370 640 5320 5320 5320 5320 5320 50320 50320
pcib0: slot 4 INTD routed to irq 15 via \\_SB_.LNKD
found-> vendor=0x8086, dev=0x7112, revid=0x01
bus=0, slot=4, func=2
class=0c-03-00, hdrtype=0x00, mfdev=0
cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=d, irq=15
map[90]: type 4, range 32, base 0000e800, size 4, enabled
found-> vendor=0x8086, dev=0x7113, revid=0x02
bus=0, slot=4, func=3
class=06-80-00, hdrtype=0x00, mfdev=0
cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
map[10]: type 4, range 32, base 0000b000, size 8, enabled
map[14]: type 1, range 64, base e3800000, size 12, enabled
pcib0: matched entry for 0.6.INTA (src \\_SB_.LNKD)
pcib0: slot 6 INTA is already routed to irq 15
found-> vendor=0x9005, dev=0x001f, revid=0x00
bus=0, slot=6, func=0
class=01-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0017, statreg=0x0290, cachelnsz=8 (dwords)
lattimer=0x20 (960 ns), mingnt=0x27 (9750 ns), maxlat=0x19 (6250 ns)
intpin=a, irq=15
powerspec 1 supports D0 D3 current D0
map[10]: type 4, range 32, base 0000a800, size 6, enabled
pcib0: matched entry for 0.10.INTA (src \\_SB_.LNKC)
pcib0: possible interrupts: 3 4 5 6 7 9 10 11 12 14 15
ACPI PCI link arbitrated settings:
\\_SB_.LNKA (references 8, priority 96589):
interrupts: 11 10 5 9 12 7 6 4 3 14 15
penalty: 640 640 690 1280 5640 5640 5640 5640 5640 50640 50720
\\_SB_.LNKB (references 8, priority 96589):
interrupts: 11 10 5 9 12 7 6 4 3 14 15
penalty: 640 640 690 1280 5640 5640 5640 5640 5640 50640 50720
\\_SB_.LNKC (references 8, priority 96589):
interrupts: 11 10 5 9 12 7 6 4 3 14 15
penalty: 640 640 690 1280 5640 5640 5640 5640 5640 50640 50720
pcib0: slot 10 INTA routed to irq 10 via \\_SB_.LNKC
found-> vendor=0x1274, dev=0x1371, revid=0x08
bus=0, slot=10, func=0
class=04-01-00, hdrtype=0x00, mfdev=0
cmdreg=0x0005, statreg=0x0410, cachelnsz=0 (dwords)
lattimer=0x20 (960 ns), mingnt=0x0c (3000 ns), maxlat=0x80 (32000 ns)
intpin=a, irq=10
powerspec 1 supports D0 D2 D3 current D0
map[10]: type 3, range 32, base e5000000, size 12, enabled
map[14]: type 4, range 32, base 0000a400, size 5, enabled
map[18]: type 1, range 32, base e3000000, size 20, enabled
pcib0: matched entry for 0.12.INTA (src \\_SB_.LNKA)
pcib0: possible interrupts: 3 4 5 6 7 9 10 11 12 14 15
ACPI PCI link arbitrated settings:
\\_SB_.LNKA (references 8, priority 99440):
interrupts: 11 5 10 9 12 7 6 4 3 14 15
penalty: 960 1010 1040 1920 5960 5960 5960 5960 5960 50960 51040
\\_SB_.LNKB (references 8, priority 99440):
interrupts: 11 5 10 9 12 7 6 4 3 14 15
penalty: 960 1010 1040 1920 5960 5960 5960 5960 5960 50960 51040
pcib0: slot 12 INTA routed to irq 11 via \\_SB_.LNKA
found-> vendor=0x8086, dev=0x1229, revid=0x05
bus=0, slot=12, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0017, statreg=0x0290, cachelnsz=8 (dwords)
lattimer=0x20 (960 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns)
intpin=a, irq=11
powerspec 1 supports D0 D1 D2 D3 current D0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pcib1: secondary bus 1
pcib1: subordinate bus 1
pcib1: I/O decode 0xd000-0xdfff
pcib1: memory decode 0xe4000000-0xe4efffff
pcib1: prefetched decode 0xe5f00000-0xe77fffff
pci1: <PCI bus> on pcib1
pci1: physical bus=1
map[10]: type 3, range 32, base e6000000, size 24, enabled
pcib1: device (null) requested decoded memory range 0xe6000000-0xe6ffffff
map[14]: type 4, range 32, base 0000d800, size 8, enabled
pcib1: device (null) requested decoded I/O range 0xd800-0xd8ff
map[18]: type 1, range 32, base e4000000, size 12, enabled
pcib1: device (null) requested decoded memory range 0xe4000000-0xe4000fff
found-> vendor=0x1002, dev=0x4742, revid=0x5c
bus=1, slot=0, func=0
class=03-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0087, statreg=0x0290, cachelnsz=8 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
pci0: <mass storage, ATA> at device 4.1 (no driver attached)
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xb400-0xb41f irq 15 at device 4.2 on pci0
uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xb400
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) 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
intpm0: <Intel 82371AB Power management controller> port 0xe800-0xe80f irq 9 at device 4.3 on pci0
intpm0: Reserved 0x10 bytes for rid 0x90 type 4 at 0xe800
intpm0: I/O mapped e800
intpm0: intr IRQ 9 enabled revision 0
intpm0: [GIANT-LOCKED]
intsmb0: <Intel PIIX4 SMBUS Interface> on intpm0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus generic I/O> on smbus0
intpm0: PM I/O mapped e400
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> port 0xb000-0xb0ff mem 0xe3800000-0xe3800fff irq 15 at device 6.0 on pci0
ahc0: Defaulting to MEMIO on
ahc0: Reserved 0x1000 bytes for rid 0x14 type 3 at 0xe3800000
ahc0: Reading SEEPROM...done.
ahc0: Manual SE Termination
ahc0: Manual LVD Termination
ahc0: BIOS eeprom is present
ahc0: Primary Low Byte termination Enabled
ahc0: Primary High Byte termination Enabled
ahc0: Downloading Sequencer Program... 424 instructions downloaded
ahc0: Features 0x56f6, Bugs 0x6, Flags 0x20485560
ahc0: [GIANT-LOCKED]
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
pcm0: <AudioPCI ES1373-8> port 0xa800-0xa83f irq 10 at device 10.0 on pci0
pcm0: Reserved 0x40 bytes for rid 0x10 type 4 at 0xa800
pcm0: <Cirrus Logic CS4297A AC97 Codec (id = 0x43525913)>
pcm0: Codec features headphone, 20 bit DAC, 18 bit ADC, 6 bit master volume, Crystal Semi 3D Stereo Enhancement
pcm0: Primary codec extended features AMAP
pcm0: [GIANT-LOCKED]
pcm0: sndbuf_setmap 1d0000, 1000; 0xc119c000 -> 1d0000
pcm0: sndbuf_setmap 209000, 1000; 0xc11b5000 -> 209000
fxp0: <Intel 82558 Pro/100 Ethernet> port 0xa400-0xa41f mem 0xe3000000-0xe30fffff,0xe5000000-0xe5000fff irq 11 at device 12.0 on pci0
fxp0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xe5000000
fxp0: using memory space register mapping
fxp0: PCI IDs: 8086 1229 8086 0009 0005
fxp0: Dynamic Standby mode is disabled
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: bpf attached
fxp0: Ethernet address: 00:90:27:2e:e0:c7
fxp0: [MPSAFE]
fdc0: <floppy drive controller> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: ic_type 90 part_id 80
fdc0: [MPSAFE]
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
fd1: <1200-KB 5.25" drive> on fdc0 drive 1
unknown: not probed (disabled)
ppc0: using extended I/O port range
ppc0: ECP SPP ECP+EPP SPP
ppc0: <ECP parallel printer port> port 0x778-0x77b,0x378-0x37b irq 7 drq 3 flags 0xf on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in ECP+EPP mode (EPP 1.9)
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x30 on acpi0
sio0: type 16550A, console
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
fdc: fdc0 already exists; skipping it
ppc: ppc0 already exists; skipping it
sio: sio0 already exists; skipping it
sio: sio1 already exists; skipping it
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <ISA Option ROMs> at iomem 0xc8000-0xcd7ff,0xc0000-0xc7fff on isa0
isa_probe_children: probing PnP devices
Device configuration finished.
Timecounter "TSC" frequency 400910991 Hz quality 800
Timecounters tick every 10.000 msec
lo0: bpf attached
Waiting 2 seconds for SCSI devices to settle
(noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted.
ahc0: Selection Timeout on A:3. 0 SCBs aborted
ahc0: Selection Timeout on A:6. 0 SCBs aborted
ahc0: Selection Timeout on A:8. 0 SCBs aborted
ahc0: Selection Timeout on A:9. 0 SCBs aborted
ahc0: Selection Timeout on A:10. 0 SCBs aborted
ahc0: Selection Timeout on A:11. 0 SCBs aborted
ahc0: Selection Timeout on A:12. 0 SCBs aborted
ahc0: Selection Timeout on A:13. 0 SCBs aborted
ahc0: Selection Timeout on A:14. 0 SCBs aborted
ahc0: Selection Timeout on A:15. 0 SCBs aborted
(probe2:ahc0:0:2:0): Retrying Command
(probe4:ahc0:0:4:0): error 22
(probe4:ahc0:0:4:0): Unretryable Error
(ahc0:A:4:0): Sending SDTR period c, offset 7f
(probe5:ahc0:0:5:0): error 22
(probe5:ahc0:0:5:0): Unretryable Error
(probe0:ahc0:0:0:0): Retrying Command
(probe1:ahc0:0:1:0): Retrying Command
(ahc0:A:4:0): Received SDTR period 19, offset f
Filtered to period 19, offset f
ahc0: target 4 synchronous at 10.0MHz, offset = 0xf
(ahc0:A:5:0): Sending SDTR period c, offset 7f
(ahc0:A:5:0): Received SDTR period 19, offset f
Filtered to period 19, offset f
ahc0: target 5 synchronous at 10.0MHz, offset = 0xf
(ahc0:A:4:0): Sending SDTR period 19, offset f
(ahc0:A:4:0): Received SDTR period 19, offset f
Filtered to period 19, offset f
(ahc0:A:5:0): Sending SDTR period 19, offset f
(ahc0:A:5:0): Received SDTR period 19, offset f
Filtered to period 19, offset f
(ahc0:A:2:0): Sending WDTR 1
(ahc0:A:2:0): Received WDTR 1 filtered to 1
ahc0: target 2 using 16bit transfers
(ahc0:A:2:0): Sending SDTR period a, offset 7f
(ahc0:A:2:0): Received SDTR period a, offset 3f
Filtered to period a, offset 3f
ahc0: target 2 synchronous at 40.0MHz, offset = 0x3f
(ahc0:A:0:0): Sending WDTR 1
(ahc0:A:0:0): Received WDTR 1 filtered to 1
ahc0: target 0 using 16bit transfers
(ahc0:A:0:0): Sending SDTR period a, offset 7f
(ahc0:A:0:0): Received SDTR period a, offset 3f
Filtered to period a, offset 3f
ahc0: target 0 synchronous at 40.0MHz, offset = 0x3f
(ahc0:A:1:0): Sending WDTR 1
(ahc0:A:1:0): Received WDTR 1 filtered to 1
ahc0: target 1 using 16bit transfers
(ahc0:A:1:0): Sending SDTR period a, offset 7f
(ahc0:A:1:0): Received SDTR period a, offset 3f
Filtered to period a, offset 3f
ahc0: target 1 synchronous at 40.0MHz, offset = 0x3f
pass0 at ahc0 bus 0 target 0 lun 0
pass0: <SEAGATE ST173404LW 0004> Fixed Direct Access SCSI-3 device
pass0: Serial Number 3CE0JQZE0000712515DX
pass0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
pass1 at ahc0 bus 0 target 1 lun 0
pass1: <SEAGATE ST173404LW 0004> Fixed Direct Access SCSI-3 device
pass1: Serial Number 3CE0JRBH00002126H41Y
pass1: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
pass2 at ahc0 bus 0 target 2 lun 0
pass2: <SEAGATE ST373405LW 0003> Fixed Direct Access SCSI-3 device
pass2: Serial Number 3EK01A9X00007222A71B
pass2: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
pass3 at ahc0 bus 0 target 4 lun 0
pass3: <TECMAR TRAVAN NS20 S255> Removable Sequential Access SCSI-2 device
pass3: 10.000MB/s transfers (10.000MHz, offset 15)
pass4 at ahc0 bus 0 target 5 lun 0
pass4: <HP CD-Writer+ 9200 1.0e> Removable CD-ROM SCSI-4 device
pass4: 10.000MB/s transfers (10.000MHz, offset 15)
sa0 at ahc0 bus 0 target 4 lun 0
sa0: <TECMAR TRAVAN NS20 S255> Removable Sequential Access SCSI-2 device
sa0: 10.000MB/s transfers (10.000MHz, offset 15)
GEOM: new disk cd0
GEOM: new disk da0
GEOM: new disk da1
GEOM: new disk da2
(ahc0:A:5:0): Sending SDTR period 19, offset f
(ahc0:A:5:0): Received SDTR period 19, offset f
Filtered to period 19, offset f
(cd0:ahc0:0:5:0): error 6
(cd0:ahc0:0:5:0): Unretryable Error
cd0 at ahc0 bus 0 target 5 lun 0
cd0: <HP CD-Writer+ 9200 1.0e> Removable CD-ROM SCSI-4 device
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da2 at ahc0 bus 0 target 2 lun 0
da2: <SEAGATE ST373405LW 0003> Fixed Direct Access SCSI-3 device
da2: Serial Number 3EK01A9X00007222A71B
da2: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da2: 70007MB (143374741 512 byte sectors: 255H 63S/T 8924C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST173404LW 0004> Fixed Direct Access SCSI-3 device
da1: Serial Number 3CE0JRBH00002126H41Y
da1: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da1: 70007MB (143374738 512 byte sectors: 255H 63S/T 8924C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST173404LW 0004> Fixed Direct Access SCSI-3 device
da0: Serial Number 3CE0JQZE0000712515DX
da0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 70007MB (143374738 512 byte sectors: 255H 63S/T 8924C)
(ahc0:A:5:0): Sending SDTR period 19, offset f
(ahc0:A:5:0): Received SDTR period 19, offset f
Filtered to period 19, offset f
(cd0:ahc0:0:5:0): error 6
(cd0:ahc0:0:5:0): Unretryable Error
(ahc0:A:5:0): Sending SDTR period 19, offset f
(ahc0:A:5:0): Received SDTR period 19, offset f
Filtered to period 19, offset f
(cd0:ahc0:0:5:0): error 6
(cd0:ahc0:0:5:0): Unretryable Error
[0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/254/63 s:63 l:143363997
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
GEOM: Configure da0s1, start 32256 length 73402366464 end 73402398719
[0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/254/63 s:63 l:143363997
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
GEOM: Configure da1s1, start 32256 length 73402366464 end 73402398719
[0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/254/63 s:63 l:143363997
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
GEOM: Configure da2s1, start 32256 length 73402366464 end 73402398719
GEOM: Configure da0s1a, start 0 length 524288000 end 524287999
GEOM: Configure da0s1b, start 524288000 length 541065216 end 1065353215
GEOM: Configure da0s1c, start 0 length 73402366464 end 73402366463
GEOM: Configure da0s1e, start 1065353216 length 524288000 end 1589641215
GEOM: Configure da0s1f, start 1589641216 length 3221225472 end 4810866687
GEOM: Configure da0s1g, start 4810866688 length 10737418240 end 15548284927
GEOM: Configure da0s1h, start 15548284928 length 57854081536 end 73402366463
GEOM: Configure da1s1c, start 0 length 73402366464 end 73402366463
GEOM: Configure da1s1e, start 0 length 73402366464 end 73402366463
GEOM: Configure da2s1c, start 0 length 73402366464 end 73402366463
GEOM: Configure da2s1e, start 0 length 68033657344 end 68033657343
GEOM: Configure da2s1f, start 68033657344 length 5368709120 end 73402366463
Mounting root from ufs:/dev/da0s1a
start_init: trying /sbin/init
fxp0: Microcode loaded, int_delay: 1000 usec bundle_max: 0
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list