Results 1 to 8 of 8

Thread: CD: not a valid block-device

  1. #1
    Junior Member registered user
    Join Date
    May 2005
    Posts
    15

    CD: not a valid block-device

    Hi,

    another problem: cannot mount a cdrom.
    I will get the message: not a valid block-device.
    What's wrong here?

    I've seen the thread #17348 and I checked my system.
    Here is what I found:
    uname tells me: 2.6.11 (from Knoppix 3.8.1)
    lilo.conf looks as described
    but I found a line like:
    append="ramdisk_size=100000 .... hda=scsi .... hdh=scsi"
    in it, but I do not have scsi nor do I use ist. Removing the entry
    hdc=scsi
    does not help.

    dmesg tells me: CD/DVD-drive is on hdc.

    Checking /dev/hdc: I changed the group to cdrom (was root).
    I also did this with /dev/cdrom and /dev/dvd.

    I created a new icon on the KDE-desktop: get the same message.

    So the situation is: mounting a CD via commandline or via KDE
    results in the message: not a valid block-device.

    What can I do?

    Thanks.
    AugustQ

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Did you run lilo after changing lilo.conf?
    Are you trying with a data cd? Audio cd's won't mount due to no filesystem.
    What does dmesg say about the cd?

  3. #3
    Junior Member registered user
    Join Date
    May 2005
    Posts
    15
    Hello Markus,

    sorry for beeing late.

    For safety I started lilo (I thin I started it after I made the changes). Here is what it says:

    /proc/misc: no entry for device-mapper found

    Don't know if this is a hint for my problem.

    dmesg: it tells me the following:

    hdc: LITEON DVD-ROM LTD163 ATAPI
    ide-cd: passing drive hdc to ide-scsi emulation

    the CD: I've used the Knoppix-CD for my tests, no audio-CD.

    So what's wrong with my system?

    Thanks.
    AugustQ

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Hmm, it's still using scsi emulation even if you removed hdc=scsi from lilo.conf. Just to be sure, remove it from all kernels (append lines) in lilo.conf and run lilo -v .
    Did running lilo say something like "Added linux" or did it just give the error? If just the error, post lilo.conf.
    If nothing else works, scsi emulation can be used with 2.6.x kernels, it's just unnecessary to use it.

  5. #5
    Junior Member registered user
    Join Date
    May 2005
    Posts
    15
    Hello Markus,

    by accident my lilo.conf still contained an etnry

    hdc=scsi

    which I removed. Then I started lilo:

    root@Athlon:/etc# lilo -v
    LILO version 22.6.1, Copyright (C) 1992-1998 Werner Almesberger
    Development beyond version 21 Copyright (C) 1999-2004 John Coffman
    Released 17-Nov-2004, and compiled at 20:30:43 on Dec 9 2004
    Debian GNU/Linux

    /proc/misc: No entry for device-mapper found
    Is device-mapper driver missing from kernel?
    /dev/mapper/control: open failed: No such device
    Failure to communicate with kernel device-mapper driver.
    /proc/misc: No entry for device-mapper found
    Is device-mapper driver missing from kernel?
    /dev/mapper/control: open failed: No such device
    Failure to communicate with kernel device-mapper driver.
    Incompatible libdevmapper 1.00.20-ioctl (2005-01-06)(compat) and kernel
    driver
    Reading boot sector from /dev/hda
    Warning: Kernel & BIOS return differing head/sector geometries for device
    0x80
    Kernel: 65535 cylinders, 16 heads, 63 sectors
    BIOS: 1023 cylinders, 255 heads, 63 sectors
    Using BITMAP secondary loader
    Calling map_insert_data
    Mapping bitmap file /usr/share/lilo/debianlilo.bmp
    Calling map_insert_file

    Boot image: /boot/vmlinuz -> vmlinuz-2.6.11
    Mapping RAM disk /boot/initrd.img -> initrd.img-2.6.11
    Added Linux *

    Boot image: /boot/vmlinuz-2.6.11
    Mapping RAM disk /boot/initrd.img-2.6.11
    Added Linux(2.6)-1

    Writing boot sector.
    /boot/boot.0300 exists - no boot sector backup copy made.
    root@Athlon:/etc#


    Does this give any hints?

    AugustQ

  6. #6
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    So what does dmesg say now? The post in thread #17348 should work for the rest of the setup.

    The error from running lilo doesn't seem to affect it getting updated as it added the kernels. Do you have something like this in lilo.conf:
    disk=/dev/hde
    bios=0x81
    If yes, comment out with a # to:
    #disk=/dev/hde
    #bios=0x81
    If no, post lilo.conf

  7. #7
    Junior Member registered user
    Join Date
    May 2005
    Posts
    15
    Hello Markus,

    the problem is solved!javascript:emoticon('')

    Today I first checked the access to the CD-drive before I looked into lilo.conf and voila: it works.
    Don't know why it didn't work on wednesday (maybe I forgot to reboot after I made the last changes).

    Thanks for your help!

    AugustQ

    PS: lilo.conf contains the lines you mentioned but they are already converted in a comment.

  8. #8
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    You're welcome, and if everything works now I wouldn't worry about the device mapper lilo complained about.

Similar Threads

  1. Brand new disk, '/dev/hda is not a valid block device'
    By rollo11 in forum Hdd Install / Debian / Apt
    Replies: 9
    Last Post: 02-26-2006, 09:06 PM
  2. noob help with block device
    By Brokoro in forum General Support
    Replies: 3
    Last Post: 02-21-2006, 02:18 AM
  3. fd0 not a valid block device!!
    By smeadows in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 07-23-2004, 03:15 AM
  4. Card Reader, not a valid block device?
    By ozlad in forum Hdd Install / Debian / Apt
    Replies: 11
    Last Post: 02-02-2004, 04:53 AM
  5. Cant use CD rom device "not a valid block device"
    By YuXeL in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 12-08-2003, 01:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


16GB KIT (2x8GB) DDR4 Gamer Desktop RAM PC4 MIXED BRANDS picture

16GB KIT (2x8GB) DDR4 Gamer Desktop RAM PC4 MIXED BRANDS

$65.00



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



128gb DDR4 Ram Hpyerx HX430C15PB3K8/128 16x8 3000 MHZ CL15 Tested Read DESC picture

128gb DDR4 Ram Hpyerx HX430C15PB3K8/128 16x8 3000 MHZ CL15 Tested Read DESC

$300.00



Corsair Vengeance LPX 32GB (2x16GB) RAM DDR4 3200MHz CMK32GX4M2E3200C16 picture

Corsair Vengeance LPX 32GB (2x16GB) RAM DDR4 3200MHz CMK32GX4M2E3200C16

$160.00



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



MINT Micron Cisco 32GB PC4-2400T DDR4 2Rx4 RDIMM RAM MTA36ASF4G72PZ-2G3 LOT picture

MINT Micron Cisco 32GB PC4-2400T DDR4 2Rx4 RDIMM RAM MTA36ASF4G72PZ-2G3 LOT

$159.99



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



Crucial 16GB DDR4-3200 SO-DIMM 260-Pin Laptop Memory Model: CT16G4SFRA32A.FF1 picture

Crucial 16GB DDR4-3200 SO-DIMM 260-Pin Laptop Memory Model: CT16G4SFRA32A.FF1

$85.00



Dell 32GB 2Rx8 DDR5 ECC UDIMM 5600 MT/s picture

Dell 32GB 2Rx8 DDR5 ECC UDIMM 5600 MT/s

$1199.99



OWC 32GB DDR4 PC4-23400 DDR4-2933 288-Pin ECC RDIMM RAM picture

OWC 32GB DDR4 PC4-23400 DDR4-2933 288-Pin ECC RDIMM RAM

$200.00