rakenotriva Posted June 15, 2005 Report Share Posted June 15, 2005 (edited) I have an R52 Thinkpad, and by searching this board I was able to get the video driver (dri-i915) plus dependencies installed from the cli and working B) , but the cdrom is still not detected and I don't even know where to start. It is a GCC-4241N. The R52 is dual booting, and windoze has no trouble reading cds in this drive. The hard drive is scsi, so maybe that bus has something to do with the lack of detection. (I downloaded sg_scan, but that only shows the harddrive) There is no /dev/hdc. Linux tried to mount /dev/sr0, but when I do this manually, it says it's not a valid block device. I actually had to use a different usb-cdrom device to install, because after beginning with the Mandrake CD1 through the BIOS, it was unable to find the cdrom on its own. I also can't detect that usb cdrom from mandrake, but I don't care if the built-in is working. Any hints on where to look or what to try would be appreciated. -rake Edited June 18, 2005 by rakenotriva Quote Link to comment Share on other sites More sharing options...
devries Posted June 15, 2005 Report Share Posted June 15, 2005 If the cdrom is the only drive at the ide channel it would be /dev/hda and not hdc. The scsi drive would be sda. Can you post your /etc/fstab? Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted June 15, 2005 Report Share Posted June 15, 2005 I don't know if this will help, but I also had an issue with the cdrom device not being created. To solve the issue, I simply had to enable the harddrake service at boot. Yves. Quote Link to comment Share on other sites More sharing options...
ChrisM Posted June 15, 2005 Report Share Posted June 15, 2005 (edited) Also, you may want to ensure that supermount is selected withhin the MCC/mount points/cr-rom/options. Edited June 15, 2005 by ChrisM Quote Link to comment Share on other sites More sharing options...
rakenotriva Posted June 15, 2005 Author Report Share Posted June 15, 2005 My fstab: /dev/sda3 / ext2 noatime 1 1 /dev/sr0 /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0 /dev/sda1 /mnt/win_c ntfs umask=0,nls=iso8859-1,ro 0 0 /dev/sda6 /mnt/win_d vfat umask=0,iocharset=iso8859-1,codepage=850 0 0 /dev/sda2 /mnt/win_e ntfs umask=0,nls=iso8859-1,ro 0 0 none /proc proc defaults 0 0 /dev/sda5 swap swap defaults 0 0 hda does not exist in /dev, thus mounting it says that the device does not exist. There are no devices starting with h. There is sda, sda1 through sda6 (my hd partitions), and there's sr0, sr1, sg0, sg1, but none of those will mount [not a valid block device]. There was a CD inserted during these attempts. I ran interactive bootup, and specifically selected hardrake - although I think it runs anyway - harddrake did not find anything new. Supermount? I did not find MCC in any path on my machine, but I don't think it matters until the device exists and can be mounted manually. I was kind of expecting there to be another driver or module that I would need, maybe for the ide bus, but I'll follow any suggestions. -rake Quote Link to comment Share on other sites More sharing options...
devries Posted June 15, 2005 Report Share Posted June 15, 2005 Comment out the /dev/sr0 line (that would be the usb cdwriter). Turn on the harddrake service in the Mandriva Control Center, system, services and reboot. See what that gives. Yes you need a driver for the ide bus but rest assured: Linux supports ide out of the box :) Quote Link to comment Share on other sites More sharing options...
rakenotriva Posted June 15, 2005 Author Report Share Posted June 15, 2005 Harddrake service was already set to run on boot. I commented out sr0 in fstab and rebooted, but nothing new happened. I still don't have a device that mounts. Will it show up as hda? Do I have to create /dev/hda? If you're sure there's no chipset driver that would be required for ide, then maybe it's on the scsi controller? I tried to modprobe ide-scsi once to see if I could mount it as sg0 or sg1, but that didn't work either. Pardon the naive questions, but I don't see how an ATAPI device that even the BIOS can read would be completely inaccessible from linux. Quote Link to comment Share on other sites More sharing options...
devries Posted June 15, 2005 Report Share Posted June 15, 2005 Neither do I. :) Ide-scsi emulation was discarded with Mandrake 10..0 so no need to load it. Just to be sure though check /etc/lilo.conf and remove it if it's mentioned. Run lilo -v afterwards and reboot. If it's an ide drive (and it is according to google) it should be hdx (a and b for the first channel, c and d for de second channel. A master, b slave etcetc) Quote Link to comment Share on other sites More sharing options...
rakenotriva Posted June 15, 2005 Author Report Share Posted June 15, 2005 I'm able to boot from my linux rescue cd, based on an older 2.4 kernel. It enumerates a device /dev/ide/host1/bus0/target0/lun0/cd which has major/minor numbers of 22 0. When I go back to Mandrake and try: mknod /dev/hda b 22 0 mount /dev/hda /mnt/cdrom I get "not a valid block device" Actually I had tried that with 0 0 to 32 0 before it occured to me to try a bootable linux and get the info from there. On the other hand, Mandrake Move 2.0, after loading itself into memory from the cdrom, also says "no CDROM device found" At least it's consistant with the 10.1 installer. Please tell me the solution isn't to use a different distribution. Quote Link to comment Share on other sites More sharing options...
rakenotriva Posted June 15, 2005 Author Report Share Posted June 15, 2005 If it matters, the harddrive is not scsi, of course. It is ATA. I wonder why it was labeled sda instead of hda. :huh: Quote Link to comment Share on other sites More sharing options...
coverup Posted June 16, 2005 Report Share Posted June 16, 2005 If it matters, the harddrive is not scsi, of course. It is ATA. I wonder why it was labeled sda instead of hda. :huh: <{POST_SNAPBACK}> I had a similar "No CDROM found" error during installing 10.1, my box is IBM ThinkCentre. The problem is MDK screwed up the installer, so that it does not work with IBM hardware. You may try to reinstall using 2.4 kernel (alt1 option of the installer). That's what I did, and ended up with SATA devices handled as IDE devices. As a result, DMA is off, hardrrive crawls, sound barely works, and DVD playback is jerky. Your experience shows that installing 2.6 kernel from usb-cdrom is no better. My advice would be to stay away from Mandrake/Mandriva if you have a newish IBM hardware. If you can, try Fedora Core, many people use it on ThinkPads, see http://mailman.linux-thinkpad.org/mailman/.../linux-thinkpad Quote Link to comment Share on other sites More sharing options...
devries Posted June 16, 2005 Report Share Posted June 16, 2005 I would go with Coverup. It sounds like a bug. Try Mandriva again in a year or so :). Quote Link to comment Share on other sites More sharing options...
rakenotriva Posted June 17, 2005 Author Report Share Posted June 17, 2005 I have successfully installed 10.1 on T30, R40, T40, T41, and T42 - which is fairly new. All of those went without any additional intervention. In the case of the R52, I'd prefer not to give up so easily. After all, everything else is working - well, the PCI express slot probably isn't, but I was only going to use that with Windoze anyway. The 2.6 kernel should still support this, but maybe wrong options were selected by the installer. Maybe a kernel recompile with the right options would fix things. I'm not afraid of a kernel recompile. I already had to load gcc and kernel source just to get the graphics driver installed, so I'm half way there. I googled a similar startup for a system with the same harddrive, and it went like this: /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 >Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.20 Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0 I'm getting the ata1 and ata2 on scsi0 and scsi1, but I don't get the CDROM attachment at scsi1, channel 0, id 0, lun 0. Doesn't this seem possible to fix? If not, then maybe I could somehow attach only the cdrom at /dev/ide/host1/bus0/target0/lun0/cd. If anyone knows why I'm doomed before I start, please let me know now :unsure: my dmesg: ACPI: Subsystem revision 20040326ACPI: Found ECDT ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11) ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 *11) ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 *11) ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11) ACPI: PCI Root Bridge [PCI0] (00:00) PCI: Probing PCI hardware (bus 00) PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.2 PCI: Transparent bridge - 0000:00:1e.0 . . . Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx mice: PS/2 mouse device common for all mice serio: i8042 AUX port at 0x60,0x64 irq 12 Synaptics Touchpad, model: 1 Firmware: 5.9 Sensor: 44 new absolute packet format Touchpad has extended capability bits -> multifinger detection -> palm detection -> pass-through port input: SynPS/2 Synaptics TouchPad on isa0060/serio1 serio: Synaptics pass-through port at isa0060/serio1/input0 input: PS/2 Generic Mouse on synaptics-pt/serio0 serio: i8042 KBD port at 0x60,0x64 irq 1 input: AT Translated Set 2 keyboard on isa0060/serio0 md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 NET: Registered protocol family 2 IP: routing cache hash table of 2048 buckets, 16Kbytes TCP: Hash tables configured (established 16384 bind 32768) NET: Registered protocol family 1 ACPI: (supports S0 S3 S4 S5) BIOS EDD facility v0.16 2004-Jun-25, 1 devices found init init/main.c:726 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem). SCSI subsystem initialized libata version 1.02 loaded. ata_piix version 1.02 PCI: Setting latency timer of device 0000:00:1f.2 to 64 ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0x1810 irq 14 ata1: dev 0 cfg 49:2b00 82:346b 83:5b29 84:4003 85:3469 86:1a09 87:4003 88:203f ata1: dev 0 ATA, max UDMA/100, 78140160 sectors: ata1: dev 0 configured for UDMA/100 scsi0 : ata_piix Using anticipatory io scheduler Vendor: ATA Model: FUJITSU MHT2040A Rev: 8431 Type: Direct-Access ANSI SCSI revision: 05 ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x1818 irq 15 ata2: dev 0 cfg 49:0f00 82:4218 83:0000 84:0000 85:0000 86:0000 87:0000 88:0407 ata2: dev 0 ATAPI, max UDMA/33 ata2: dev 0 configured for UDMA/33 scsi1 : ata_piix ieee1394: Initialized config rom entry `ip1394' ohci1394: $Rev: 1223 $ Ben Collins <bcollins@debian.org> ACPI: PCI interrupt 0000:04:00.1 -> GSI 17 (level, low) -> IRQ 17 ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[17] MMIO=[90305000-903057ff] Max Packet=[2048] sbp2: $Rev: 1219 $ Ben Collins <bcollins@debian.org> ieee1394: Host added: ID:BUS[0-00:1023] GUID[000ae4aaaa28b778] SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB) SCSI device sda: drive cache: write back /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 > Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 <snip> no other disk info was shown. Quote Link to comment Share on other sites More sharing options...
rakenotriva Posted June 17, 2005 Author Report Share Posted June 17, 2005 Does anyone think it would be worth installing kernel-2.6.11.6mdk-1-1mdk.i586.rpm? Would it break more than it fixed? Quote Link to comment Share on other sites More sharing options...
arctic Posted June 17, 2005 Report Share Posted June 17, 2005 hard to tell, as the kernel version is an unstable one (stable ones would be 2.6.8, 2.6.10, 2.6.12,...)... but i would give it a go. i guess it will fix more than break things. but this is only my opinion. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.