Re: Configuration de xcdroast 0.98

Top Page

Reply to this message
Author: Olivier Allard-Jacquin
Date:  
To: Alainmorellec
CC: guilde
Subject: Re: Configuration de xcdroast 0.98
    Bonjour Alain,


> Bonjour, ça y est c'est plus clair pour moi après une lecture minutieuse
> mais je ne sais pas si tout cela est compatible avec la version de mon
> noyau 2.4.19 ci-après le contenu du fichier dmesg de ma version actuelle :


    Cela ne semble pas être un problème de compatibilité mais de 
configuration. Cf ci-dessous



> Linux version 2.4.19-16mdk (quintela@???) (gcc version
> 3.2 (Mandrake Linux 9.0 3.2-1mdk)) #1 Fri Sep 20 18:15:05 CEST 2002
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
> BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 0000000006000000 (usable)
> BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
> BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
> BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
> 96MB LOWMEM available.
> Advanced speculative caching feature not present
> On node 0 totalpages: 24576
> zone(0): 4096 pages.
> zone(1): 20480 pages.
> zone(2): 0 pages.
> Kernel command line: BOOT_IMAGE=linux ro root=1601 devfs=mount


    Cette ligne est très importante, car elle indique les paramètres que tu 
as passé au kernel. Il manque ici l'option permettant d'activer 
l'émulation SCSI pour ton lecteur de CDROM (qui se trouve en /dev/hdb, 
si j'en crois la suite de ton dmesg). Il faut donc que tu rajoutes 
l'option hdb=ide-scsi comme option de ton kernel.


    Pour savoir comment il faut faire, relis la section 
olivieraj.free.fr/fr/linux/information/gravure/page-05.html#bootloader



> No local APIC present or hardware disabled
> Initializing CPU#0
> Detected 200.456 MHz processor.
> Console: colour VGA+ 80x25
> Calibrating delay loop... 399.76 BogoMIPS
> Memory: 94460k/98304k available (1176k kernel code, 3456k reserved, 444k 
> data, 136k init, 0k highmem)
> Checking if this processor honours the WP bit even in supervisor mode... Ok.
> Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
> Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
> Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
> Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
> CPU: Before vendor init, caps: 0080a135 00000000 00000000, vendor = 1
> CPU: After vendor init, caps: 0080a135 00000000 00000000 00000004
> CPU:     After generic, caps: 0080a135 00000000 00000000 00000004
> CPU:             Common caps: 0080a135 00000000 00000000 00000004
> CPU: Cyrix M II 3x Core/Bus Clock stepping 08
> Checking 'hlt' instruction... OK.
> POSIX conformance testing by UNIFIX
> mtrr: v1.40 (20010327) Richard Gooch (rgooch@???)
> mtrr: detected mtrr type: Cyrix ARR
> PCI: PCI BIOS revision 2.10 entry at 0xfdb91, last bus=0
> PCI: Using configuration type 1
> PCI: Probing PCI hardware
> PCI: Cannot allocate resource region 0 of device 00:0d.0
> PCI: Cannot allocate resource region 0 of device 00:14.0
> PCI: Cannot allocate resource region 1 of device 00:14.0
> PCI: Cannot allocate resource region 2 of device 00:14.0
> Disabling direct PCI/PCI transfers.
> isapnp: Scanning for PnP cards...
> isapnp: CMI8330 quirk - fixing interrupts and dma
> isapnp: Card 'CMI8330. Audio Adapter'
> isapnp: 1 Plug & Play card detected total
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
> Starting kswapd
> VFS: Diskquotas version dquot_6.5.0 initialized
> devfs: v1.12a (20020514) Richard Gooch (rgooch@???)
> devfs: boot_options: 0x1
> Detected PS/2 Mouse Port.
> pty: 256 Unix98 ptys configured
> Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT 
> SHARE_IRQ SERIAL_PCI ISAPNP enabled
> ttyS00 at 0x03f8 (irq = 4) is a 16550A
> ttyS01 at 0x02f8 (irq = 3) is a 16550A
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> SIS5513: IDE controller on PCI bus 00 dev 09
> PCI: No IRQ known for interrupt pin A of device 00:01.1. Please try 
> using pci=biosirq.
> SIS5513: chipset revision 208
> SIS5513: not 100% native mode: will probe irqs later
> SiS5597
>     ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:pio, hdb:pio
>     ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:pio, hdd:pio
> hda: WDC AC38400L, ATA DISK drive
> hdb: SONY CDU4811, ATAPI CD/DVD-ROM drive


    Ton lecteur de CDROM est bien en /dev/hdb, comme je l'ai écris plus haut.



> hdc: ST32122A, ATA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: 16514064 sectors (8455 MB) w/256KiB Cache, CHS=1027/255/63, UDMA(33)
> hdc: 4124736 sectors (2112 MB) w/128KiB Cache, CHS=4092/16/63, UDMA(33)
> Partition check:
> /dev/ide/host0/bus0/target0/lun0: p1
> /dev/ide/host0/bus1/target0/lun0:<6> [PTBL] [1023/64/63] p1 p2 < p5 p6 >
> RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
> md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md: Autodetecting RAID arrays.
> md: autorun ...
> md: ... autorun DONE.
> 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 8192 bind 16384)
> Linux IP multicast router 0.06 plus PIM-SM
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> RAMDISK: Compressed image found at block 0
> Freeing initrd memory: 245k freed
> VFS: Mounted root (ext2 filesystem).
> Mounted devfs on /dev
> SCSI subsystem driver Revision: 1.00
> PCI: Setting latency timer of device 00:0f.0 to 32
> ahc_pci:0:15:0: Host Adapter Bios disabled.  Using default SCSI device 
> parameters
> scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
>         <Adaptec 2902/04/10/15/20/30C SCSI adapter>
>         aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs

>
>   Vendor: YAMAHA    Model: CRW8424S          Rev: 1.0d
>   Type:   CD-ROM                             ANSI SCSI revision: 02


Là, le kernel Linux active ta carte SCSI, ainsi que ton graveur de CDROM.
Par la suite, il sera accessible en /dev/scd0, ou
/scsi/host0/bus0/target0/lun0/cd

> Journalled Block Device driver loaded
> kjournald starting. Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> Mounted devfs on /dev
> Freeing unused kernel memory: 136k freed
> Real Time Clock Driver v1.10e
> usb.c: registered new driver usbdevfs
> usb.c: registered new driver hub
> usb-uhci.c: $Revision: 1.275 $ time 18:49:04 Sep 20 2002
> usb-uhci.c: High bandwidth mode enabled
> PCI: Setting latency timer of device 00:0b.0 to 32
> usb-uhci.c: USB UHCI at I/O 0xf780, IRQ 9
> 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
> usbdevfs: remount parameter error
> EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide1(22,1), internal journal
> Adding Swap: 221720k swap-space (priority -1)
> kjournald starting. Commit interval 5 seconds
> EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide1(22,6), internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> MSDOS FS: IO charset iso8859-15
> MSDOS FS: Using codepage 850
> CSLIP: code copyright 1989 Regents of the University of California
> PPP generic driver version 2.4.2
> es1371: version v0.30 time 18:46:14 Sep 20 2002
> es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x08
> es1371: found es1371 rev 8 at io 0xf700 irq 10
> es1371: features: joystick 0x0
> PCI: Setting latency timer of device 00:09.0 to 32
> ac97_codec: AC97 codec, id: 0x5452:0x4123 (TriTech TR A5)
> inserting floppy driver for 2.4.19-16mdk
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is an 8272A
> hdb: ATAPI 48X CD-ROM drive, 120kB Cache, UDMA(33)
> Uniform CD-ROM driver Revision: 3.12
> Attached scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
> (scsi0:A:3): 10.000MB/s transfers (10.000MHz, offset 15)
> sr0: scsi3-mmc drive: 24x/16x writer cd/rw xa/form2 cdda tray
> parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
> lp0: using parport0 (polling).
> scsi1 : SCSI host adapter emulation for IDE ATAPI devices


    Le module d'émulation SCSI est chargé, mais vraisemblablement pas 
utilisé, du fait du manque de l'option passé au kernel.


> ide-floppy driver 0.99b
> udf: registering filesystem
> end_request: I/O error, dev 02:00 (floppy), sector 0
> cdrom: open failed.
> cdrom: open failed.
> cdrom: open failed.
> cdrom: open failed.
> cdrom: open failed.
> sr0: CDROM not ready. Make sure there is a disc in the drive.
> cdrom: open failed.
> Device not ready. Make sure there is a disc in the drive.
> sr0: CDROM not ready. Make sure there is a disc in the drive.
> cdrom: open failed.
> Device not ready. Make sure there is a disc in the drive.
> sr0: CDROM not ready. Make sure there is a disc in the drive.
> cdrom: open failed.
> Device not ready. Make sure there is a disc in the drive.
> sr0: CDROM not ready. Make sure there is a disc in the drive.
> cdrom: open failed.
> Device not ready. Make sure there is a disc in the drive.
> sr0: CDROM not ready. Make sure there is a disc in the drive.
> cdrom: open failed.
> Device not ready. Make sure there is a disc in the drive.
> end_request: I/O error, dev 02:00 (floppy), sector 0
> cdrom: open failed.
> cdrom: open failed.
> cdrom: open failed.
> cdrom: open failed.
> cdrom: open failed.
> sr0: CDROM not ready. Make sure there is a disc in the drive.
> cdrom: open failed.
> Device not ready. Make sure there is a disc in the drive.
> sr0: CDROM not ready. Make sure there is a disc in the drive.
> cdrom: open failed.
> Device not ready. Make sure there is a disc in the drive.
> sr0: CDROM not ready. Make sure there is a disc in the drive.
> cdrom: open failed.
> Device not ready. Make sure there is a disc in the drive.
> sr0: CDROM not ready. Make sure there is a disc in the drive.
> cdrom: open failed.
> Device not ready. Make sure there is a disc in the drive.
> sr0: CDROM not ready. Make sure there is a disc in the drive.
> cdrom: open failed.
> Device not ready. Make sure there is a disc in the drive.


    Tu as dû demander de lire un CD sur ton graveur, alors que le graveur 
était vide.



> Merci pour tes conseils et la clarté de ton documents de 15 pages de ton
> site sur la gravure des Cdrom avec lecteur IDE et graveur SCSI.


    Merci



    Depuis un an, je n'utilise plus mon graveur SCSI, suite à une panne 
définitive de celui-ci. Je ne tiens donc plus cette doc à jour, mais je 
pense que l'on peut simplifier le /etc/modules.conf et le /etc/modules.


    Rajoutes ces lignes ci au /etc/modules.conf (supprime celle que tu as 
rajouté suite à ma doc):


probeall scsi_hostadapter usb-storage ide-scsi sd_mod

    Et rajoute ceci au /etc/module (retire ce que tu as eventuellement 
rajouté suite à ma doc):


scsi_hostadapter


    C'est un peu moins fin comme configuration, puisque tout les modules 
nécéssaires sont chargé en mémoire, mais c'est nettement plus simple à 
gérer. Même si c'est au prix de quelques Ko de mémoire perdu lorsque tu 
ne graves pas de CD ... ;=)



    A plus


                    Olivier



-- 
~~~~~~~  _____/\_____  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phoenix /   _ \/ _   \    Olivier Allard-Jacquin
        /   / \  / \   \   Web:  olivieraj.free.fr
       /___/  /  \  \___\  Mail: olivieraj@???
~~~~ /////  ///\\\  \\\\\ ~~~~~~~~~~~~~~~~~~~~~~~ Linux Powered !!