LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-28-2006, 11:16 PM   #1
xtknight
LQ Newbie
 
Registered: Jun 2004
Location: Michigan, United States
Distribution: Ubuntu 6.10
Posts: 25

Rep: Reputation: 16
Question JMicron controller issues + how do I permanently remove a module from the kernel?


I have a Gigabyte GA-965P-DS3 (rev 2.0, BIOS F8) motherboard with a JMicron JMB363 controller. I've gotten persistent error messages of all kinds. I'm attempting to weed out every sort of warning/error I get out of this board.

Some looked like (log1):

Code:
[ 211.655845] hde: timeout waiting for DMA
[ 216.851704] hde: status timeout: status=0xd0 { Busy }
[ 216.851710] ide: failed opcode was: unknown
[ 216.851741] hde: drive not ready for command
[ 216.902180] hde: ATAPI reset complete
Others (log2):

Code:
[ 1316.692439] hdf: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.
[ 1780.785741] hdf: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.
[ 1864.803208] hdf: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.
Still others (log3, accompanied by heavy CPU-processed I/O and freezing): (this has been solved however, by enabling DMA mode)

Code:
Dec 28 23:21:07 andy-desktop kernel: [ 1234.287774] warning: many lost ticks.
Dec 28 23:21:07 andy-desktop kernel: [ 1234.287777] Your time source seems to be instable or some driver is hogging interupts
Dec 28 23:21:07 andy-desktop kernel: [ 1234.287787] rip __do_softirq+0x51/0xc3
Dec 28 23:21:07 andy-desktop kernel: [ 1234.287789] Falling back to HPET
Now, with log1, I have no idea what is happening. It's as if random data was flowing through the controller all day long. Last night I had a dmesg full of errors like log1 (occuring every 3 seconds), even the kernel initialization log got knocked out of syslog because there were so many JMicron errors.

The oddest thing about this is that it only happens on some boot-ups. (I have been messing with ide2=autotune to enable DMA and such, so I am not sure if that has been affecting it.)

With log2, it just happens every so often (maybe every five minutes). It's still annoying though and I don't know what is causing it. It does happen while being mounted. I am testing as we speak if it still occurs in an unmounted state, but it is sporadic so it'll still be hard to tell for sure.

For my JBM368 controller there seem to be several modules.

One set includes ata_generic and pata_jmicron, and the other is simply libata (as far as I know). From what I've read, pata_jmicron provides "basic" support and libata provides full support. I've done `sudo modprobe -r pata_jmicron` and `sudo modprobe -r ata_generic` and it seems to have curbed the error output. I am not sure if it was because those drivers were conflicting, or whether those drivers were just plain unstable as all get out. My only problem now is removing them from my kernel. I reboot and they're back in lsmod. How do I permanently unload those modules?

Update: Apparently now my '/dev/hde' DVD drive is 'getting confused' after unmounting '/dev/hdf'. I did forget to mention both drives on the JMB368 controller are DVD recorders. It looks like which drives are mounted has no bearing as to what drive the error is originating from or whether the error happens. I have unmounted both and it is still occurring on /dev/hde.

I am also getting this a lot (log4):
Code:
[   54.579627] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.579632] device-mapper: ioctl: error adding target to table
Here is my full dmesg (pertinent parts AFAIK):

Code:
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 2, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Setting APIC routing to physical flat
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] Nosave address range: 000000000009f000 - 00000000000a0000
[    0.000000] Nosave address range: 00000000000a0000 - 00000000000f0000
[    0.000000] Nosave address range: 00000000000f0000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at 80000000 (gap: 7ff00000:70100000)
[    0.000000] SMP: Allowing 4 CPUs, 2 hotplug CPUs
[    0.000000] PERCPU: Allocating 33536 bytes of per cpu data
[    0.000000] Built 1 zonelists.  Total pages: 515836
[    0.000000] Kernel command line: root=UUID=54fb9fee-fdfc-4bad-a31e-9aa93f87585c ro quiet splash ide2=autotune
[    0.000000] ide_setup: ide2=autotune -- OBSOLETE OPTION, WILL BE REMOVED SOON!
[    0.000000] Initializing CPU#0
[    0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[   28.086334] start_kernel(): bug: interrupts were enabled early
[   28.087222] Console: colour VGA+ 80x25
[   28.088094] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[   28.088900] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[   28.089059] Checking aperture...
[   28.105473] Memory: 2053528k/2096000k available (1978k kernel code, 42084k reserved, 826k data, 284k init)
[   28.164668] Calibrating delay using timer specific routine.. 3735.96 BogoMIPS (lpj=1867982)
[   28.164716] Security Framework v1.0.0 initialized
[   28.164720] SELinux:  Disabled at boot.
[   28.164742] Mount-cache hash table entries: 256
[   28.164864] CPU: L1 I cache: 32K, L1 D cache: 32K
[   28.164867] CPU: L2 cache: 2048K
[   28.164869] CPU 0/0 -> Node 0
[   28.164871] using mwait in idle threads.
[   28.164873] CPU: Physical Processor ID: 0
[   28.164874] CPU: Processor Core ID: 0
[   28.164881] CPU0: Thermal monitoring enabled (TM2)
[   28.164894] SMP alternatives: switching to UP code
[   28.165007] ACPI: Core revision 20060707
[   28.187056] Using local APIC timer interrupts.
[   28.240576] result 16666691
[   28.240577] Detected 16.666 MHz APIC timer.
[   28.240719] SMP alternatives: switching to SMP code
[   28.240778] Booting processor 1/2 APIC 0x1
[   28.251205] Initializing CPU#1
[   28.311509] Calibrating delay using timer specific routine.. 3733.31 BogoMIPS (lpj=1866657)
[   28.311516] CPU: L1 I cache: 32K, L1 D cache: 32K
[   28.311518] CPU: L2 cache: 2048K
[   28.311521] CPU 1/1 -> Node 0
[   28.311522] CPU: Physical Processor ID: 0
[   28.311524] CPU: Processor Core ID: 1
[   28.311529] CPU1: Thermal monitoring enabled (TM2)
[   28.311833] Intel(R) Core(TM)2 CPU          6300  @ 1.86GHz stepping 06
[   28.312519] Brought up 2 CPUs
[   28.312556] testing NMI watchdog ... OK.
[   28.322556] time.c: Using 14.318180 MHz WALL HPET GTOD HPET/TSC timer.
[   28.322559] time.c: Detected 1866.670 MHz processor.
[   28.372640] migration_cost=18
[   28.372743] checking if image is initramfs... it is
[   29.000230] Freeing initrd memory: 6499k freed
[   29.002943] NET: Registered protocol family 16
[   29.003013] ACPI: bus type pci registered
[   29.006264] PCI: Using MMCONFIG at f0000000
[   29.006647] mtrr: your CPUs had inconsistent variable MTRR settings
[   29.006649] mtrr: probably your BIOS does not setup all CPUs.
[   29.006651] mtrr: corrected configuration.
[   29.014184] ACPI: Interpreter enabled
[   29.014187] ACPI: Using IOAPIC for interrupt routing
[   29.014758] ACPI: PCI Root Bridge [PCI0] (0000:00)
[   29.014768] PCI: Probing PCI hardware (bus 00)
[   29.016703] PCI quirk: region 0400-047f claimed by ICH6 ACPI/GPIO/TCO
[   29.016706] PCI quirk: region 0480-04bf claimed by ICH6 GPIO
[   29.016733] PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.2
[   29.016829] Boot video device is 0000:01:00.0
[   29.017317] PCI: Transparent bridge - 0000:00:1e.0
[   29.017352] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[   29.030172] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEX0._PRT]
[   29.030610] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEX3._PRT]
[   29.031325] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEX4._PRT]
[   29.031648] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
[   29.034610] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
[   29.034847] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[   29.035079] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 *12 14 15)
[   29.035311] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
[   29.035541] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[   29.035779] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
[   29.036011] ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
[   29.036240] ACPI: PCI Interrupt Link [LNK1] (IRQs *3 4 5 6 7 9 10 11 12 14 15)
[   29.036435] Linux Plug and Play Support v0.97 (c) Adam Belay
[   29.036443] pnp: PnP ACPI init
[   29.039418] pnp: PnP ACPI: found 14 devices
[   29.039477] PCI: Using ACPI for IRQ routing
[   29.039479] PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
[   29.039556] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[   29.039560] hpet0: 3 64-bit timers, 14318180 Hz
[   29.040578] PCI-GART: No AMD northbridge found.
[   29.041037] pnp: 00:0a: ioport range 0x400-0x4bf could not be reserved
[   29.041266] PCI: Bridge: 0000:00:01.0
[   29.041268]   IO window: 7000-7fff
[   29.041271]   MEM window: f4000000-f6ffffff
[   29.041273]   PREFETCH window: e0000000-efffffff
[   29.041275] PCI: Bridge: 0000:00:1c.0
[   29.041277]   IO window: 6000-6fff
[   29.041280]   MEM window: disabled.
[   29.041282]   PREFETCH window: disabled.
[   29.041286] PCI: Bridge: 0000:00:1c.3
[   29.041288]   IO window: 8000-9fff
[   29.041291]   MEM window: f9000000-f90fffff
[   29.041293]   PREFETCH window: disabled.
[   29.041297] PCI: Bridge: 0000:00:1c.4
[   29.041299]   IO window: a000-afff
[   29.041302]   MEM window: f7000000-f8ffffff
[   29.041305]   PREFETCH window: 80000000-800fffff
[   29.041308] PCI: Bridge: 0000:00:1e.0
[   29.041311]   IO window: b000-bfff
[   29.041314]   MEM window: f9100000-f91fffff
[   29.041316]   PREFETCH window: disabled.
[   29.041324] ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16
[   29.041329] PCI: Setting latency timer of device 0000:00:01.0 to 64
[   29.041338] ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 16 (level, low) -> IRQ 16
[   29.041342] PCI: Setting latency timer of device 0000:00:1c.0 to 64
[   29.041352] ACPI: PCI Interrupt 0000:00:1c.3[D] -> GSI 19 (level, low) -> IRQ 19
[   29.041356] PCI: Setting latency timer of device 0000:00:1c.3 to 64
[   29.041365] ACPI: PCI Interrupt 0000:00:1c.4[A] -> GSI 16 (level, low) -> IRQ 16
[   29.041369] PCI: Setting latency timer of device 0000:00:1c.4 to 64
[   29.041376] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[   29.041408] NET: Registered protocol family 2
[   29.051966] IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
[   29.052136] TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
[   29.053949] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[   29.054410] TCP: Hash tables configured (established 262144 bind 65536)
[   29.054413] TCP reno registered
[   29.055140] audit: initializing netlink socket (disabled)
[   29.055153] audit(1167348764.912:1): initialized
[   29.055298] VFS: Disk quotas dquot_6.5.1
[   29.055319] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[   29.055365] io scheduler noop registered
[   29.055376] io scheduler cfq registered (default)
[   29.057517] PCI: Setting latency timer of device 0000:00:01.0 to 64
[   29.057529] assign_interrupt_mode Found MSI capability
[   29.057556] Allocate Port Service[0000:00:01.0:pcie00]
[   29.057590] Allocate Port Service[0000:00:01.0:pcie03]
[   29.057637] PCI: Setting latency timer of device 0000:00:1c.0 to 64
[   29.057660] assign_interrupt_mode Found MSI capability
[   29.057679] Allocate Port Service[0000:00:1c.0:pcie00]
[   29.057710] Allocate Port Service[0000:00:1c.0:pcie02]
[   29.057738] Allocate Port Service[0000:00:1c.0:pcie03]
[   29.057797] PCI: Setting latency timer of device 0000:00:1c.3 to 64
[   29.057820] assign_interrupt_mode Found MSI capability
[   29.057839] Allocate Port Service[0000:00:1c.3:pcie00]
[   29.057871] Allocate Port Service[0000:00:1c.3:pcie02]
[   29.057899] Allocate Port Service[0000:00:1c.3:pcie03]
[   29.057982] PCI: Setting latency timer of device 0000:00:1c.4 to 64
[   29.058005] assign_interrupt_mode Found MSI capability
[   29.058024] Allocate Port Service[0000:00:1c.4:pcie00]
[   29.058053] Allocate Port Service[0000:00:1c.4:pcie02]
[   29.058084] Allocate Port Service[0000:00:1c.4:pcie03]
[   29.076177] Real Time Clock Driver v1.12ac
[   29.076222] Linux agpgart interface v0.101 (c) Dave Jones
[   29.076224] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[   29.076339] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   29.076837] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   29.077468] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[   29.077554] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[   29.077557] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[   29.077720] PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[   29.077722] PNP: PS/2 controller doesn't have AUX irq; using default 12
[   29.080133] serio: i8042 KBD port at 0x60,0x64 irq 1
[   29.080219] mice: PS/2 mouse device common for all mice
[   29.080289] TCP cubic registered
[   29.080296] NET: Registered protocol family 1
[   29.080301] NET: Registered protocol family 8
[   29.080303] NET: Registered protocol family 20
[   29.080422] ACPI: (supports S0 S1 S4 S5)
[   29.080512] Freeing unused kernel memory: 284k freed
[   29.099478] input: AT Translated Set 2 keyboard as /class/input/input0
[   29.117384] vga16fb: initializing
[   29.117387] vga16fb: mapped to 0xffff8100000a0000
[   29.117427] fb0: VGA16 VGA frame buffer device
[   30.154588] ACPI: Processor [CPU0] (supports 2 throttling states)
[   30.154811] ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ PmRef] OemTableId [ Cpu1Ist] [20060707]
[   30.154848] ACPI: Processor [CPU1] (supports 2 throttling states)
[   30.154854] ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707]
[   30.154858] ACPI: Getting cpuindex for acpiid 0x2
[   30.154863] ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707]
[   30.154867] ACPI: Getting cpuindex for acpiid 0x3
[   30.384928] JMB363: IDE controller at PCI slot 0000:03:00.1
[   30.384946] PCI: Enabling device 0000:03:00.1 (0000 -> 0001)
[   30.384952] ACPI: PCI Interrupt 0000:03:00.1[B] -> GSI 16 (level, low) -> IRQ 16
[   30.384961] JMB363: chipset revision 2
[   30.384963] JMB363: 100% native mode on irq 16
[   30.384974] PCI: Setting latency timer of device 0000:03:00.1 to 64
[   30.384979]     ide2: BM-DMA at 0x9000-0x9007, BIOS settings: hde:DMA, hdf:DMA
[   30.384989]     ide3: BM-DMA at 0x9008-0x900f, BIOS settings: hdg:pio, hdh:pio
[   30.384996] Probing IDE interface ide2...
[   31.056512] hde: TSSTcorpCD/DVDW SH-S182M, ATAPI CD/DVD-ROM drive
[   31.770194] hdf: HP DVD Writer 420, ATAPI CD/DVD-ROM drive
[   31.821851] ide2 at 0x8000-0x8007,0x8402 on irq 16
[   31.821901] Probing IDE interface ide3...
[   32.344613] SCSI subsystem initialized
[   32.347939] libata version 2.00 loaded.
[   32.349010] ata_piix 0000:00:1f.2: version 2.00ac6
[   32.349014] ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
[   32.349029] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
[   32.349041] PCI: Setting latency timer of device 0000:00:1f.2 to 64
[   32.349073] ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
[   32.349094] ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
[   32.349112] scsi0 : ata_piix
[   32.357062] hde: ATAPI 94X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
[   32.357070] Uniform CD-ROM driver Revision: 3.20
[   32.367469] hdf: ATAPI 32X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
[   53.256460] device-mapper: ioctl: 4.10.0-ioctl (2006-09-14) initialised: dm-devel@redhat.com
[   53.754111] sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
[   54.313088] cdrom: hde: mrw address space DMA selected
[   54.579627] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.579632] device-mapper: ioctl: error adding target to table
[   54.580291] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.580295] device-mapper: ioctl: error adding target to table
[   54.580486] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.580490] device-mapper: ioctl: error adding target to table
[   54.580669] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.580673] device-mapper: ioctl: error adding target to table
[   54.580852] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.580855] device-mapper: ioctl: error adding target to table
[   54.581035] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.581038] device-mapper: ioctl: error adding target to table
[   54.581229] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.581232] device-mapper: ioctl: error adding target to table
[   54.581425] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.581429] device-mapper: ioctl: error adding target to table
[   54.581616] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.581620] device-mapper: ioctl: error adding target to table
[   54.581810] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.581814] device-mapper: ioctl: error adding target to table
[   54.582019] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.582022] device-mapper: ioctl: error adding target to table
[   54.582212] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.582216] device-mapper: ioctl: error adding target to table
[   54.582419] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.582423] device-mapper: ioctl: error adding target to table
[   54.582601] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.582604] device-mapper: ioctl: error adding target to table
[   54.582778] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.582782] device-mapper: ioctl: error adding target to table
[   54.582960] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.582963] device-mapper: ioctl: error adding target to table
[   54.583138] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.583142] device-mapper: ioctl: error adding target to table
[   54.583321] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.583325] device-mapper: ioctl: error adding target to table
[   54.583513] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.583516] device-mapper: ioctl: error adding target to table
[   54.583704] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.583707] device-mapper: ioctl: error adding target to table
[   54.583896] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.583899] device-mapper: ioctl: error adding target to table
[   54.584087] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.584090] device-mapper: ioctl: error adding target to table
[   54.584280] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.584284] device-mapper: ioctl: error adding target to table
[   54.584473] device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
[   54.584476] device-mapper: ioctl: error adding target to table
[  494.083399] hdf: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.
[  552.021976] ISO 9660 Extensions: Microsoft Joliet Level 3
[  552.223356] ISO 9660 Extensions: RRIP_1991A
[  678.676184] ISO 9660 Extensions: Microsoft Joliet Level 3
[  678.690710] ISO 9660 Extensions: RRIP_1991A
[  748.387966] ISO 9660 Extensions: Microsoft Joliet Level 3
[  748.389126] ISO 9660 Extensions: RRIP_1991A
[ 1316.692439] hdf: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.
[ 1780.785741] hdf: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.
[ 1864.803208] hdf: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.
[ 2495.694635] hde: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.
[ 2623.784926] hde: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.

Last edited by xtknight; 12-28-2006 at 11:29 PM.
 
Old 01-20-2007, 10:29 AM   #2
bandwidthjunkie
LQ Newbie
 
Registered: Jan 2007
Location: london
Distribution: Gentoo(amd64) - 2.16.20
Posts: 26

Rep: Reputation: 15
I have an almost identical setup GA-965P-S3 F7 bios (same board, different capacitors) and E6400 Core2Duo chip.

The problem that I have is very similar, I keep getting the following errors in my log
Code:
hdi: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.
hdi: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hdi: drive not ready for command
hdi: status timeout: status=0xd8 { Busy }
ide: failed opcode was: unknown
hdi: drive not ready for command
hdi: ATAPI reset complete
This coincides with my machine locking up for a few seconds and it happens every 5 minutes or so. It is very annoying...

Have you managed to find any cure for this?

Does anyone have any suggestions aside from putting the cable out of my cd drive (that is currently my best solution)?
 
Old 01-28-2007, 12:46 PM   #3
fc5useradm
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
JMicron controller issues + how do I permanently remove a module from the kernel?

I have the same problem with a Gigabyte 965P S3 board running the 2.6.18 kernel.

According to all the information I've found, the 2.6.18 kernel provides support for the JMicron PATA support. I upgraded from the 2.6.17 kernel that did not have this support, and with the newer kernel, the CDROM/DVD is recognized - an improvement.

The CDROM/DVD seems to work fine but the occasional system stutter is new with the 2.6.18 kernel as are the log file error messages... disturbing.

Sorry I don't have a fix but I am interested, too.
 
Old 01-29-2007, 05:05 AM   #4
bandwidthjunkie
LQ Newbie
 
Registered: Jan 2007
Location: london
Distribution: Gentoo(amd64) - 2.16.20
Posts: 26

Rep: Reputation: 15
It is all a bit odd, originally my hard disk was on hda and the cdrom would freeze. Then I tweeked my kernel settings and now the hard disk is on sda and the cdrom has vanished. 2.19 upwards is supposed to have jmicron support. I have it in the kernel menu, but then there were problems with the nvidia drivers so I gave up. Will try again soon.
 
Old 01-29-2007, 09:24 AM   #5
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
This link may be useful to all of you with 965 boards and the infamous JMicron controller:

http://www.softwareinreview.com/cms/content/view/60/

Look particularly at the section called "CD not Found Error".
The whole article is recommended for all openSUSE 10.2 users.
 
Old 01-29-2007, 09:50 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
As for not loading specific modules, just add them to the modules blacklist - maybe /etc/modprobe.d/blacklist.
 
Old 02-07-2007, 05:55 AM   #7
johannlo
LQ Newbie
 
Registered: Jul 2005
Location: Melbourne, Australia
Distribution: Fedora
Posts: 16

Rep: Reputation: 0
same issue

Greetz from Fedora user... same issue here

Feb 7 22:36:31 localhost kernel: ide: failed opcode was: unknown
Feb 7 22:36:31 localhost kernel: hde: drive not ready for command
Feb 7 22:36:33 localhost kernel: hde: status error: status=0x58 { DriveReady SeekComplete DataRequest }

Using Gigabyte P965-DS3 as well with Fedora Core 6 (kernel version 2.6.19-1.2895.fc6)

I also have this weird issue where the system 'thinks' there is a CD in there but there isn't, and I can't eject it without issuing a bogus mount command. (even lsof turns up nothing)

I've already set AHCI mode on my BIOS settings.

NOt too sure what else its actually doing though in terms of errors - I can read / write data discs fine, even use DVD shrink in wine. Playing audio CDs however gives me this horrible hiss. Ah The joys of using new hardware in linux
 
Old 02-09-2007, 01:38 AM   #8
xquost
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
Jmicron

Hello,

I'm not sure this is the right place for this question, but maybe I'm lucky.

I have (also) a Gigabyte P965 DS3 Mother board, And I would like to mount a dual boot (Linux,Win2k) on a RAID 0Disk (2*320G).

Once the Raid mounted and Win2K instaled, I do not succed in instaling linux : ubuntu doesn't see the raid (even providing dodmraid to the kernel) and Mandriva see the raid but without beiing able to acces it.

This is (in my mind) a problem with the Jmicron controller. How do you think I can bypass this problem (without removing the Raid ?)
 
Old 03-16-2007, 12:18 PM   #9
ap90033
LQ Newbie
 
Registered: Feb 2004
Location: Winterville NC
Distribution: Mandrake
Posts: 12

Rep: Reputation: 0
So you guys got it installed at least. I cant get Suse 10.2 to finish installing. I run the install and it doesnt find the cd, so i insmod the jmicron and generic ide and it see's it. Then i load the os, it finishes and reboots AND HANGS. Someone said to add blacklist intel_agp to the modprobe.conf.local so i did and still no go. PLEASE LET ME KNOW the secret to getting this to work...
 
Old 03-17-2007, 11:14 AM   #10
bandwidthjunkie
LQ Newbie
 
Registered: Jan 2007
Location: london
Distribution: Gentoo(amd64) - 2.16.20
Posts: 26

Rep: Reputation: 15
*UPDATE*

I have Linux up and running perfectly on my P965 S3; network, cd, sata. I am running gentoo with the 2.6.20-gentoo kernel. The kernel has driver support for all the hardware on this board. See this post for details on how to set up your kernel.

http://forums.gentoo.org/viewtopic-t...e+jmicron.html

BTW I did a manual install (ie I did it from the gentoo minimal cd and built from a stage 3 tarball), this may be the best way to get Linux running on this board at the moment as the kernels found on live cds are not very recent.
 
Old 03-28-2007, 08:25 AM   #11
Jim44
Member
 
Registered: Feb 2006
Location: Atlanta, Georgia, USA
Distribution: Mint, Ubuntu, Centos
Posts: 57

Rep: Reputation: 15
JMicron controller issues

Quote:
Originally Posted by ap90033
So you guys got it installed at least. I cant get Suse 10.2 to finish installing. I run the install and it doesnt find the cd, so i insmod the jmicron and generic ide and it see's it. Then i load the os, it finishes and reboots AND HANGS. Someone said to add blacklist intel_agp to the modprobe.conf.local so i did and still no go. PLEASE LET ME KNOW the secret to getting this to work...
My secret was to install a PCI IDE controller. I was never able to get Linux to install. I have nothing hanging from the JMicron connector, but still get the same strange messages the others are getting in the syslog, however they don't affect the performance of the system as far as I can tell.

Jim.
 
  


Reply

Tags
coredump, horrifying, impossible, kernel panic



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IT8212 / IT821x IDE raid controller - kernel module for 2.6.18 Thoddy Linux - Hardware 0 11-11-2006 10:02 AM
How to remove module permanently Maverick1182 Linux - Hardware 3 11-04-2006 02:08 PM
unable to remove kernel module........ dogslayer Linux - Software 6 03-27-2006 12:26 AM
How to remove module from kernel without recompile? Stoic Linux - Software 10 09-23-2003 06:17 PM
How to PERMANENTLY Remove a KLM? RWild Linux - General 7 08-31-2003 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration