[問題]無法偵測cdrom

歡迎提問 debian desktop 相關問題,何謂 desktop ? 舉凡您日常生活會用到的部份,如上網 ( www 、 bbs ..) 、程式設計、繪圖...等等。 通常以 X Window 環境底下問題為主。

[問題]無法偵測cdrom

文章訪客 » 週二 1月 28, 2003 4:43 pm

小弟是用網路安裝debian,未曾使用過光碟機,但是想用cdrom時卻發現下列問題

難道cdrom不是放在/dev下

代碼: 選擇全部
debian:~# mount /dev/cdrom /cdrom
mount: special device /dev/cdrom does not exist
debian:~#

請各位大哥哥們幫助小弟,感激不盡
訪客
 

re:[問題]無法偵測cdrom

文章octapult » 週二 1月 28, 2003 9:14 pm

請您貼出 /etc/fstab 的內容,讓大家幫您看看。

底下是一個簡單範例:
代碼: 選擇全部
/dev/cdrom  /cdrom  iso9660 defaults,ro,nouser,noauto  0  0

這樣子只要執行 mount /cdrom 就可以讀進光碟片裡面的內容了。
假如您要讓普通使用者可以直接 mount /cdrom 的話,可以把上面的 nouser 改成 user。
octapult
摩托學園!學園長們
摩托學園!學園長們
 
文章: 512
註冊時間: 週六 9月 07, 2002 10:30 pm
來自: Seyda Neen, Morrowind

re:[問題]無法偵測cdrom

文章訪客 » 週二 1月 28, 2003 9:39 pm

代碼: 選擇全部
# /etc/fstab: static file system information.
#
# <file system>   <mount point>   <type>          <options>      <dump>   <pass>
   /dev/hda3     /                  reiserfs       defaults                 0                  0
   /dev/hda4     none              swap          sw            0                 0
   proc            /proc           proc        defaults             0                  0
   /dev/fd0       /floppy          auto              user,noauto        0               0
   /dev/cdrom    /cdrom            iso9660       ro,user,noauto     0               0
訪客
 

re:[問題]無法偵測cdrom

文章訪客 » 週二 1月 28, 2003 9:42 pm

重貼
代碼: 選擇全部
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>               <dump>  <pass>
/dev/hda3       /               reiserfs        defaults        0       0
/dev/hda4       none            swap    sw                      0       0
proc            /proc           proc    defaults                0       0
/dev/fd0        /floppy         auto    user,noauto             0       0
/dev/cdrom      /cdrom          iso9660 ro,user,noauto          0       0
訪客
 

re:[問題]無法偵測cdrom

文章Tetralet » 週三 1月 29, 2003 12:13 am

ls -l /dev/cdrom 的結果?
時間並不能治療我心中的疼痛
南方的春天說什麼也溫暖不了我冰冷的血

誦唱大復活咒文,今天的 Tetralet 又在唧唧喳喳了 重生!
Tetralet
俺是博士
俺是博士
 
文章: 3078
註冊時間: 週四 11月 28, 2002 3:02 pm

re:[問題]無法偵測cdrom

文章damon » 週三 1月 29, 2003 10:06 am

dmesg沒有偵測到的話,再怎麼試都是一樣的
dmesg結果貼上來看看
damon
活潑的高中生
活潑的高中生
 
文章: 358
註冊時間: 週二 9月 10, 2002 5:42 pm

re:[問題]無法偵測cdrom

文章訪客 » 週三 1月 29, 2003 12:47 pm

代碼: 選擇全部
Linux version 2.4.18-bf2.4 (root@zombie) (gcc version 2.95.4 20011002 (Debian pr
erelease)) #1 Son Apr 14 09:53:28 CEST 2002
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000003ffd000 (usable)
 BIOS-e820: 0000000003ffd000 - 0000000003fff000 (ACPI data)
 BIOS-e820: 0000000003fff000 - 0000000004000000 (ACPI NVS)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 16381
zone(0): 4096 pages.
zone(1): 12285 pages.
zone(2): 0 pages.
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Kernel command line: BOOT_IMAGE=Linux ro root=303
Initializing CPU#0
Detected 451.045 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 897.84 BogoMIPS
Memory: 61160k/65524k available (1783k kernel code, 3976k reserved, 549k data, 2
80k init, 0k highmem)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
CPU: Before vendor init, caps: 0383fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After vendor init, caps: 0383fbff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
CPU: Intel Pentium III (Katmai) stepping 03
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 451.0257 MHz.
..... host bus clock speed is 100.2278 MHz.
cpu: 0, clocks: 1002278, slice: 501139
CPU0<T0:1002272,T1:501120,D:13,S:501139,C:1002278>
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xf0560, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: 00:04.3: class 604 doesn't match header type 00. Ignoring class.
PCI: Using IRQ router VIA [1106/0596] at 00:04.0
Activating ISA DMA hang workarounds.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
Console: switching to colour frame buffer device 80x30
fb0: VGA16 VGA frame buffer device
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI en
abled
ttyS02 at 0x03e8 (irq = 4) is a 16550A
ttyS03 at 0x02e8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 21
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c596a (rev 09) IDE UDMA33 controller on pci00:04.1
    ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:pio
hda: QUANTUM FIREBALLP KA9.1, ATA DISK drive
hdc: CD-540E, ATAPI CD/DVD-ROM drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 18041184 sectors (9237 MB) w/371KiB Cache, CHS=1123/255/63
hdc: ATAPI 40X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.12
ide-floppy driver 0.97.sv
Partition check:
 hda: hda1 hda2 < hda5 hda6 > hda3 hda4
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Loading I2O Core - (c) Copyright 1999 Red Hat Software
I2O configuration manager v 0.04.
  (C) Copyright 1999 Red Hat Software
loop: loaded (max 8 devices)
Compaq CISS Driver (v 2.4.5)
HDLC support module revision 1.02 for Linux 2.4
Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994
Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak.
ide-floppy driver 0.97.sv
Promise Fasttrak(tm) Softwareraid driver 0.03beta: No raid array found
Highpoint HPT370 Softwareraid driver for linux version 0.01
No raid array found
SCSI subsystem driver Revision: 1.00
Red Hat/Adaptec aacraid driver, Apr 14 2002
DC390: 0 adapters found
3ware Storage Controller device driver for Linux v1.02.00.016.
3w-xxxx: No cards with valid units found.
request_module[scsi_hostadapter]: Root fs not mounted
request_module[scsi_hostadapter]: Root fs not mounted
i2o_scsi.c: Version 0.0.1
  chain_pool: 0 bytes @ c3ff8e00
  (512 byte buffers X 4 can_queue X 0 i2o controllers)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
cramfs: wrong magic
FAT: bogus logical sector size 0
reiserfs: checking transaction log (device 03:03) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 280k freed
Adding Swap: 128516k swap-space (priority -1)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 10:29:43 Apr 14 2002
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 7 for device 00:04.2
PCI: Sharing IRQ 7 with 00:09.0
usb-uhci.c: USB UHCI at I/O 0xb400, IRQ 7
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver keyboard
usbkbd.c: :USB HID Boot Protocol keyboard driver
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
via-rhine.c:v1.10-LK1.1.13  Nov-17-2001  Written by Donald Becker
  http://www.scyld.com/network/via-rhine.html
PCI: Found IRQ 7 for device 00:09.0
PCI: Sharing IRQ 7 with 00:04.2
eth0: VIA VT6102 Rhine-II at 0xb000, 00:50:ba:1b:c3:6e, IRQ 7.
eth0: MII PHY found at address 8, status 0x7829 advertising 01e1 Link 0021.
solo1: version v0.19 time 10:28:35 Apr 14 2002
PCI: Found IRQ 3 for device 00:0b.0
solo1: joystick port at 0x9401
solo1: ddma base address: 0xa000
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.1
PPP BSD Compression module registered
PPP Deflate Compression module registered
訪客
 

re:[問題]無法偵測cdrom

文章訪客 » 週三 1月 29, 2003 1:02 pm

謝謝大家,我已成功mount cdrom了
cdrom好像真的不是在/dev/cdrom下呢
代碼: 選擇全部
debian:~# mount /cdrom
mount: special device /dev/cdrom does not exist
debian:~# mount /dev/hdc /cdrom
mount: block device /dev/hdc is write-protected, mounting read-only
debian:~#
訪客
 

re:[問題]無法偵測cdrom

文章octapult » 週三 1月 29, 2003 1:17 pm

請以 ls -l /dev/cdrom 這個指令,確定 /dev/cdrom 指向那裡。
假如 /dev/cdrom 不存在的話,請自己建立一個 symbolic link,將 /dev/cdrom 指到 /dev/hdc,
再將這個 link 的 group owner 改為 cdrom,例如:
代碼: 選擇全部
ln -s /dev/hdc /dev/cdrom
chgrp cdrom /dev/cdrom
octapult
摩托學園!學園長們
摩托學園!學園長們
 
文章: 512
註冊時間: 週六 9月 07, 2002 10:30 pm
來自: Seyda Neen, Morrowind

re:[問題]無法偵測cdrom

文章訪客 » 週三 1月 29, 2003 6:06 pm

謝謝

succeed
訪客
 

re:[問題]無法偵測cdrom

文章octapult » 週三 1月 29, 2003 7:56 pm

抱歉,chgrp cdrom /dev/cdrom 這個指令應該是不必要的 :ooops:
octapult
摩托學園!學園長們
摩托學園!學園長們
 
文章: 512
註冊時間: 週六 9月 07, 2002 10:30 pm
來自: Seyda Neen, Morrowind


回到 debian desktop

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客