Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2005 18:02:58 -0400
From:      John Van Sickle <john.vansickle@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Atapicam problems
Message-ID:  <1386782805071915028c2553e@mail.gmail.com>
In-Reply-To: <138678280507170858c1b3898@mail.gmail.com>
References:  <138678280507170858c1b3898@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/17/05, John Van Sickle <john.vansickle@gmail.com> wrote:
>=20
> Hi,
>=20
> After a day or two I keep losing my /dev/cd0 and /dev/cd1 devices. When=
=20
> this happens I'm able to reboot and everything works again. By that I mea=
n=20
> the drives show up in /dev again and 'camcontrol devlist' lists them. I=
=20
> haven't had any errors burning dvds/cds either. My log message gives me t=
he=20
> following info after I lose the drives:
>=20
> atapicam0: timeout waiting for ATAPI ready
> atapicam0: timeout waiting for ATAPI ready
> atapicam0: timeout waiting for ATAPI ready
> atapicam0: timeout waiting for ATAPI ready
> atapicam0: timeout waiting for ATAPI ready
> atapicam0: timeout waiting for ATAPI ready
> (probe2:ata1:0:0:0): Lost target 0???
>=20
> I noticed the problem about two or so weeks ago. I tried running=20
> 'camcontrol rescan all' and 'camcontrol reset all' but it didn't help. I'=
d=20
> also like to note that I don't have "atapicd" in my kernel or acpi enable=
d.=20
> Not sure if that matters (hasn't in the past).=20
>=20
> Thanks for your time.
>=20
> uname -a=20
> FreeBSD workstation.insightbb.com <http://workstation.insightbb.com>=20
> 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Jul 15 20:38:58 EDT 2005=20
> root@workstation.insightbb.com:/usr/obj/usr/src/sys/SAMSON i386
>=20
>=20
> camcontrol devlist
> <Apple Co iPod 2700> at scbus0 target 0 lun 0 (pass0,da0)
> <_NEC DVD_RW ND-3540A 1.01> at scbus2 target 0 lun 0 (pass1,cd0)
> <PIONEER DVD-RW DVR-106D 1.07> at scbus2 target 1 lun 0 (pass2,cd1)
>=20
>=20
> dmesg | grep cd=20
> cd0 at ata1 bus 0 target 0 lun 0
> cd0: <_NEC DVD_RW ND-3540A 1.01> Removable CD-ROM SCSI-0 device=20
> cd0: 16.000MB/s transfers
> cd0: Attempt to query device size failed: NOT READY, Medium not present
> cd1 at ata1 bus 0 target 1 lun 0
> cd1: <PIONEER DVD-RW DVR-106D 1.07> Removable CD-ROM SCSI-0 device=20
> cd1: 16.000MB/s transfers
> cd1: Attempt to query device size failed: NOT READY, Medium not present
>=20
> info from 'pciconf -vl' on my ata chipset:
> atapci0@pci0:4:1: class=3D0x01018a card=3D0x00000000 chip=3D0x05711106 re=
v=3D0x06=20
> hdr=3D0x00
> vendor =3D 'VIA Technologies Inc'
> device =3D 'VT82xxxx EIDE Controller (All VIA Chipsets)'
> class =3D mass storage
> subclass =3D ATA
>=20
> kernel config:
> machine i386
> cpu I686_CPU
> ident SAMSON=20
>=20
> # To statically compile in device wiring instead of /boot/device.hints
> #hints "GENERIC.hints" # Default places to look for devices.
>=20
> options SCHED_4BSD # 4BSD scheduler
> options INET # InterNETworking
> options INET6 # IPv6 communications protocols
> options FFS # Berkeley Fast Filesystem
> options SOFTUPDATES # Enable FFS soft updates support
> options UFS_ACL # Support for access control lists
> options UFS_DIRHASH # Improve performance on big directories
> options MD_ROOT # MD is a potential root device
> options MSDOSFS # MSDOS Filesystem
> options CD9660 # ISO 9660 Filesystem
> options PROCFS # Process filesystem (requires PSEUDOFS)
> options PSEUDOFS # Pseudo-filesystem framework
> options GEOM_GPT # GUID Partition Tables.
> options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
> options COMPAT_FREEBSD4 # Compatible with FreeBSD4
> options KTRACE # ktrace(1) support
> options SYSVSHM # SYSV-style shared memory
> options SYSVMSG # SYSV-style message queues
> options SYSVSEM # SYSV-style semaphores
> options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
> options KBD_INSTALL_CDEV # install a CDEV entry in /dev
> options ADAPTIVE_GIANT # Giant mutex is adaptive.
>=20
> device apic # I/O APIC
>=20
> # Bus support. Do not remove isa, even if you have no isa slots
> device isa
> device eisa
> device pci
>=20
> # Floppy drives
> device fdc
>=20
> # ATA and ATAPI devices
> device ata
> device atadisk # ATA disk drives
> device atapifd # ATAPI floppy drives
> options ATA_STATIC_ID # Static device numbering
>=20
> # SCSI peripherals
> device scbus # SCSI bus (required for SCSI)
> device da # Direct Access (disks)
> device sa # Sequential Access (tape etc)
> device cd # CD
> device pass # Passthrough device (direct SCSI access)
>=20
> # atkbdc0 controls both the keyboard and the PS/2 mouse
> device atkbdc # AT keyboard controller
> device psm # PS/2 mouse
>=20
> device vga # VGA video card driver
>=20
> device splash # Splash screen and screen saver support
>=20
> # syscons is the default console driver, resembling an SCO console
> device sc
>=20
> # Enable this for the pcvt (VT220 compatible) console driver
> #device vt
> #options XSERVER # support for X server on a vt console
> #options FAT_CURSOR # start with block cursor
>=20
> # Floating point support - do not disable.
> device npx
>=20
> # Power management support (see NOTES for more options)
> #device apm
> # Add suspend/resume support for the i8254.
>=20
> # Parallel port
> device ppbus # Parallel port bus (required)
>=20
> # PCI Ethernet NICs that use the common MII bus controller code.
> # NOTE: Be sure to keep the 'device miibus' line in order to use these=20
> NICs!
> device miibus # MII bus support
> device fxp # Intel EtherExpress PRO/100B (82557, 82558)
>=20
> # Pseudo devices.
> device loop # Network loopback
> device mem # Memory and kernel memory devices
> device io # I/O device
> device random # Entropy device
> device ether # Ethernet support
> device tun # Packet tunnel.
> device pty # Pseudo-ttys (telnet etc)
> device md # Memory "disks"
> device gif # IPv6 and IPv4 tunneling
> device faith # IPv6-to-IPv4 relaying (translation)
>=20
> # The `bpf' device enables the Berkeley Packet Filter.
> # Be aware of the administrative consequences of enabling this!
> device bpf # Berkeley packet filter
>=20
> # USB support
> device uhci # UHCI PCI->USB interface
> device usb # USB Bus (required)
> #device udbp # USB Double Bulk Pipe devices
> device ugen # Generic
> device uhid # "Human Interface Devices"
> device ulpt # Printer
> device umass # Disks/Mass storage - Requires scbus and da
> device ukbd # Keyboard
>=20
> # FireWire support
> device firewire # FireWire bus code
> device sbp # SCSI over FireWire (Requires scbus and da)
>=20
> # Custom
> device sound
> device "snd_emu10k1"
> device atapicam
> options UDF=20
>  <http://www.johnvansickle.com>=20


Anyone? Or is there another mailing list I should try?


--=20
John Van Sickle www.johnvansickle.com <http://www.johnvansickle.com>;



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