Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2002 00:28:58 +0300
From:      Alex Popa <razor@ldc.ro>
To:        stable@FreeBSD.org
Subject:   atapi cdrom problems with -RC as of May 23rd
Message-ID:  <20020606002858.A42811@ldc.ro>

next in thread | raw e-mail | index | archive | help

--AqsLC8rIMeq19msA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I remember no commits to the ATA code since my last build , so I think
this is worth posting.

Here it goes:
Using 4.6-RC, [and I seem to remember having the same problems with
-current, on a different mobo/cpu, but with the same physical cdrom
unit]  I cannot copy large files between my cdrom and a fat32 partition.
The cp process hangs in biord (or so says ps axl), and the file on the
win partition is 0 in size.

I have been thinking about hardware errors, but Windows seems to work OK
with this cdrom unit.  I have tried different CDs, some cd-r, recorded
by a friend, and some original software CDs.  All files were located in
the root directory of the cdrom.

I have not been able to link this to a certain file size, but I seem to
remember -current copying about a megabyte or so before hanging in a
similar manner.  However that was a rather old -current (about six weeks
ago). The computer does not hang, as I am writing this from exactly that
computer (but on a different VT).

Attached is my dmesg (can anyone tell me why I get to see both my old
and new dmesg, even after a reboot?  I do not recall this happening on
the other CPU/mobo).

Thank you
	Alex


------------+------------------------------------------
Alex Popa,  |  "Artificial Intelligence is
razor@ldc.ro|         no match for Natural Stupidity"
------------+------------------------------------------
"It took the computing power of three C-64s to fly to the Moon.
It takes a 486 to run Windows 95. Something is wrong here."

--AqsLC8rIMeq19msA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=dmesg

Copyright (c) 1992-2002 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.6-RC #1: Thu May 23 13:31:54 EEST 2002
    root@wabbit.ldc.ro:/usr/src/sys/compile/WABBIT
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) XP 1700+ (1460.46-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<<b19>,AMIE,DSP,3DNow!>
real memory  = 134152192 (131008K bytes)
avail memory = 125792256 (122844K bytes)
Preloaded elf kernel "kernel" at 0xc04a8000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 8 entries at 0xc00f7760
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 5
isab0: <SiS 85c503 PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <SiS 5591 ATA100 controller> port 0xff00-0xff0f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: <SiS 7012> port 0xd800-0xd83f,0xdc00-0xdcff irq 11 at device 2.7 on pci0
sis0: <SiS 900 10/100BaseTX> port 0xd400-0xd4ff mem 0xcffdd000-0xcffddfff irq 11 at device 3.0 on pci0
sis0: Ethernet address: 00:d0:09:ee:09:73
miibus0: <MII bus> on sis0
rlphy0: <RTL8201L 10/100 media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROM> at iomem 0xcc000-0xd3fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
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 IntelliMouse, device ID 3
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 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE
Probing for PnP devices on ppbus0:
ppbus0: <Hewlett-Packard HP LaserJet 5L/0101.03> HP ENHANCED PCL5,PJL
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 38166MB <ST340016A> [77545/16/63] at ata0-master UDMA100
acd0: CDROM <ATAPI CD-ROM DRIVE 40X MAXIMUM> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a
ad0s4: raw partition size != slice size
ad0s4: start 32499495, end 38813039, size 6313545
ad0s4c: start 32499495, end 38791430, size 6291936
ad0s4: rejecting partition in BSD label: it isn't entirely within the slice
ad0s4: start 32499495, end 38813039, size 6313545
ad0s4d: start 0, end 78165359, size 78165360
cd9660: Joliet Extension (Level 3)
acd0: READ_BIG command timeout - resetting
ata1: resetting devices .. done
acd0: READ_BIG command timeout - resetting
ata1: resetting devices .. done
acd0: READ_BIG command timeout - resetting
ata1: resetting devices .. done
acd0: READ_BIG command timeout - resetting
ata1: resetting devices .. done
Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped

syncing disks... 35 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 
done
Copyright (c) 1992-2002 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.6-RC #1: Thu May 23 13:31:54 EEST 2002
    root@wabbit.ldc.ro:/usr/src/sys/compile/WABBIT
Calibrating clock(s) ... TSC clock: 1460574464 Hz, i8254 clock: 1193280 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: AMD Athlon(tm) XP 1700+ (1460.46-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<<b19>,AMIE,DSP,3DNow!>
Data TLB: 32 entries, fully associative
Instruction TLB: 16 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 internal cache: 256 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative
real memory  = 134152192 (131008K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x004cf000 - 0x07fe7fff, 129077248 bytes (31513 pages)
avail memory = 125792256 (122844K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fdad0
bios32: Entry = 0xfdae0 (c00fdae0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xdb01
pnpbios: Found PnP BIOS data at 0xc00f7160
pnpbios: Entry = f0000:5c17  Rev = 1.0
Other BIOS signatures found:
ACPI: 000fa300
Preloaded elf kernel "kernel" at 0xc04a8000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
Math emulator present
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80001048
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=80] is there (id=07351039)
Using $PIR table, 8 entries at 0xc00f7760
pcib-: pcib0 exists, using next available unit number
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
found->	vendor=0x1039, dev=0x0735, revid=0x01
	class=06-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base d0000000, size 23
found->	vendor=0x1039, dev=0x0001, revid=0x00
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
found->	vendor=0x1039, dev=0x0008, revid=0x00
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1039, dev=0x5513, revid=0xd0
	class=01-01-80, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	map[20]: type 1, range 32, base 0000ff00, size  4
found->	vendor=0x1039, dev=0x7012, revid=0xa0
	class=04-01-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=c, irq=11
	map[10]: type 1, range 32, base 0000dc00, size  8
	map[14]: type 1, range 32, base 0000d800, size  6
found->	vendor=0x1039, dev=0x0900, revid=0x90
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base 0000d400, size  8
	map[14]: type 1, range 32, base cffdd000, size 12
pci0: <PCI bus> on pcib0
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 1.0 on pci0
found->	vendor=0x10de, dev=0x0110, revid=0xa1
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=5
	map[10]: type 1, range 32, base ce000000, size 24
	map[14]: type 1, range 32, base c0000000, size 27
pci1: <PCI bus> on pcib2
pci1: <NVidia model 0110 graphics accelerator> (vendor=0x10de, dev=0x0110) at 0.0 irq 5
isab0: <SiS 85c503 PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <SiS 5591 ATA100 controller> port 0xff00-0xff0f at device 2.5 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xff00
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI 00 00
ata0-slave: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=00
ata0-master: ATA 01 a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xff08
ata1: mask=01 ostat0=50 ostat2=ff
ata1-master: ATAPI 14 eb
ata1: mask=01 stat0=00 stat1=00
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
pcm0: <SiS 7012> port 0xd800-0xd83f,0xdc00-0xdcff irq 11 at device 2.7 on pci0
pcm0: ac97 codec id 0x414c4326
pcm0: ac97 codec features 5 bit master volume, Realtek 3D Stereo Enhancement
pcm0: ac97 primary codec extended features AMAP
pcm0: sndbuf_setmap 5000, 4000; 0xc7f40000 -> 5000
pcm0: sndbuf_setmap 9000, 4000; 0xc7f44000 -> 9000
pcm0: measured ac97 link rate at 47991 Hz, will use 48000 Hz
sis0: <SiS 900 10/100BaseTX> port 0xd400-0xd4ff mem 0xcffdd000-0xcffddfff irq 11 at device 3.0 on pci0
	using shared irq11.
sis0: Ethernet address: 00:d0:09:ee:09:73
miibus0: <MII bus> on sis0
rlphy0: <RTL8201L 10/100 media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: sis0 attached
pci-: pci1 exists, using next available unit number
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
ex_isa_identify()
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
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: <Option ROM> at iomem 0xcc000-0xd3fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 failed to probe at port 0x170 irq 15 on isa0
adv0 failed to probe on isa0
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x330
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x334
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x230
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x234
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x130
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x134
bt0 failed to probe at port 0x134-0x137 on isa0
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0 failed to probe at port 0x134-0x137 on isa0
aic0 failed to probe at port 0x140-0x15f on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0065
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3-00, 3 buttons
psm0: config:00000000, flags:00000000, packet size:4
psm0: syncmask:08, syncbits:08
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 54 80 
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 54 80 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 54 80 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic1: not probed (disabled)
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: not probed (disabled)
sio3: not probed (disabled)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: ECP SPP ECP+EPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE/NIBBLE_ID/Extensibility Link
Probing for PnP devices on ppbus0:
ppbus0: <Hewlett-Packard HP LaserJet 5L/0101.03> HP ENHANCED PCL5,PJL
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
fe0 failed to probe at port 0x300-0x31f on isa0
ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
cs0 failed to probe at port 0x300-0x31f on isa0
sn0 failed to probe at port 0x300-0x30f irq 10 on isa0
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 68c040, tty 63189a, net 67189a
bpf: sl0 attached
bpf: faith0 attached
ad0: success setting UDMA5 on SiS chip
Creating DISK ad0
ar: FreeBSD check1 failed
ad0: <ST340016A/3.10> ATA-5 disk at ata0-master
ad0: 38166MB (78165360 sectors), 77545 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA100
ad0: piomode=4 dmamode=2 udmamode=5 cblid=1
ata1-master: piomode=4 dmamode=2 udmamode=2 dmaflag=1
ata1-master: success setting PIO4 on generic chip
acd0: <ATAPI CD-ROM DRIVE 40X MAXIMUM/N0AP> CDROM drive at ata1 as master
acd0: read 6890KB/s (36026KB/s), 128KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream
acd0: Writes:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: CD-R 120mm data disc
Mounting root from ufs:/dev/ad0s2a
ad0s1: type 0xc, start 63, end = 20980889, size 20980827 : OK
ad0s2: type 0xa5, start 20980890, end = 32499494, size 11518605 : OK
ad0s3: type 0x5, start 38813040, end = 78156224, size 39343185 : OK
ad0s4: type 0x83, start 32499495, end = 38813039, size 6313545 : OK
ad0s5: type 0xb, start 38813103, end = 78156224, size 39343122 : OK
ad0s4: raw partition size != slice size
ad0s4: start 32499495, end 38813039, size 6313545
ad0s4c: start 32499495, end 38791430, size 6291936
ad0s4: rejecting partition in BSD label: it isn't entirely within the slice
ad0s4: start 32499495, end 38813039, size 6313545
ad0s4d: start 0, end 78165359, size 78165360
start_init: trying /sbin/init
splash: image decoder found: warp_saver
Linux ELF exec handler installed
No debugger in kernel
cd9660: Joliet Extension (Level 3)
acd0: READ_BIG command timeout - resetting
ata1: resetting devices .. ata1: mask=01 ostat0=50 ostat2=ff
acd0: ATAPI 14 eb
ata1: mask=01 stat0=00 stat1=00
ata1: devices=04
acd0: success setting PIO4 on generic chip
done
acd0: READ_BIG command timeout - resetting
ata1: resetting devices .. ata1: mask=01 ostat0=50 ostat2=ff
acd0: ATAPI 14 eb
ata1: mask=01 stat0=00 stat1=00
ata1: devices=04
acd0: success setting PIO4 on generic chip
done
acd0: READ_BIG command timeout - resetting
ata1: resetting devices .. ata1: mask=01 ostat0=50 ostat2=ff
acd0: ATAPI 14 eb
ata1: mask=01 stat0=00 stat1=00
ata1: devices=04
acd0: success setting PIO4 on generic chip
done
acd0: READ_BIG command timeout - resetting
ata1: resetting devices .. ata1: mask=01 ostat0=50 ostat2=ff
acd0: ATAPI 14 eb
ata1: mask=01 stat0=00 stat1=00
ata1: devices=04
acd0: success setting PIO4 on generic chip
done

--AqsLC8rIMeq19msA--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020606002858.A42811>