Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam serdecznie. Przedwczoraj postanowilem skompilowac wlasnego kernela i mam maly problem poniewaz nie wykrywa mi cdromu. Mam dystrybucyjne jajko 2.6.18-5 i tam cdrom jest wykrywany jako /dev/hda Natomast po kompilacji nowego kernelka cdrom mi wyprowal. Poprzednio na starym sprzecie nie bylo takich problemow i cdrom sie pokazywal , zas teraz na nowym niestety nie :/ Kompilowalem to jajko wczoraj chyba z 6razy i spasowalem :/ Prosze o jakies rady co moze byc tego powodem.
Oto moje /etc/fstab
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/sda2 / ext3 defaults,errors=remount-ro 0 1 /dev/sda5 none swap sw 0 0 /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/sda1 /mnt/c ntfs users,noauto 0 0
DMESG
seneka@leszek:~$ dmesg zone: 223520 pages, LIFO batch:31 HighMem zone: 2301 pages used for memmap HighMem zone: 292323 pages, LIFO batch:31 DMI 2.2 present. Allocating PCI resources starting at 80000000 (gap: 7ff00000:60100000) Built 1 zonelists. Total pages: 519907 Kernel command line: root=/dev/sda2 ro Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 16384 bytes) Detected 2040.105 MHz processor. Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 2074056k/2096000k available (2340k kernel code, 20824k reserved, 967k data, 136k init, 1178496k highmem) virtual kernel memory layout: fixmap : 0xffff0000 - 0xfffff000 ( 60 kB) pkmap : 0xff800000 - 0xffc00000 (4096 kB) vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB) lowmem : 0xc0000000 - 0xf8000000 ( 896 MB) .init : 0xc043e000 - 0xc0460000 ( 136 kB) .data : 0xc03493ff - 0xc043b004 ( 967 kB) .text : 0xc0100000 - 0xc03493ff (2340 kB) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 4083.04 BogoMIPS (lpj=8166083) Mount-cache hash table entries: 512 CPU: After generic identify, caps: afebfbff 20100000 00000000 00000000 0000e31d 00000000 00000001 monitor/mwait feature present. using mwait in idle threads. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 512K CPU: After all inits, caps: afebfbff 20100000 00000000 00003940 0000e31d 00000000 00000001 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. Compat vDSO mapped to ffffe000. CPU: Intel(R) Celeron(R) CPU 440 @ 2.00GHz stepping 01 Checking 'hlt' instruction... OK. NET: Registered protocol family 16 PCI: PCI BIOS revision 3.00 entry at 0xfa140, last bus=7 PCI: Using configuration type 1 Setting up standard PCI resources SCSI subsystem initialized libata version 2.21 loaded. usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) PCI quirk: region 0400-047f claimed by ICH6 ACPI/GPIO/TCO PCI quirk: region 0480-04bf claimed by ICH6 GPIO PCI: Transparent bridge - 0000:00:1e.0 NET: Registered protocol family 8 NET: Registered protocol family 20 PCI: Setting latency timer of device 0000:07:02.0 to 64 Time: tsc clocksource has been installed. ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[10] MMIO=[fd7ff000-fd7ff7ff] Max Packet=[2048] IR/IT contexts=[4/8] PCI: Bridge: 0000:00:01.0 IO window: 8000-8fff MEM window: fa000000-fcffffff PREFETCH window: d0000000-dfffffff PCI: Bridge: 0000:00:1c.0 IO window: 7000-7fff MEM window: fd800000-fd8fffff PREFETCH window: fd500000-fd5fffff PCI: Bridge: 0000:00:1c.2 IO window: d000-dfff MEM window: fd400000-fd4fffff PREFETCH window: fd300000-fd3fffff PCI: Bridge: 0000:00:1c.3 IO window: b000-bfff MEM window: fde00000-fdefffff PREFETCH window: fdd00000-fddfffff PCI: Bridge: 0000:00:1c.4 IO window: a000-afff MEM window: fdc00000-fdcfffff PREFETCH window: fdb00000-fdbfffff PCI: Bridge: 0000:00:1c.5 IO window: 9000-9fff MEM window: fda00000-fdafffff PREFETCH window: fd900000-fd9fffff PCI: Bridge: 0000:00:1e.0 IO window: c000-cfff MEM window: fd700000-fd7fffff PREFETCH window: fd600000-fd6fffff PCI: Setting latency timer of device 0000:00:01.0 to 64 PCI: Setting latency timer of device 0000:00:1c.0 to 64 PCI: Setting latency timer of device 0000:00:1c.2 to 64 PCI: Setting latency timer of device 0000:00:1c.3 to 64 PCI: Setting latency timer of device 0000:00:1c.4 to 64 PCI: Setting latency timer of device 0000:00:1c.5 to 64 PCI: Setting latency timer of device 0000:00:1e.0 to 64 NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1048576 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac) highmem bounce pool size: 64 pages fuse init (API version 7.8) io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered Boot video device is 0000:01:00.0 PCI: Setting latency timer of device 0000:00:01.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:01.0:pcie00] PCI: Setting latency timer of device 0000:00:1c.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.0:pcie00] Allocate Port Service[0000:00:1c.0:pcie02] PCI: Setting latency timer of device 0000:00:1c.2 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.2:pcie00] Allocate Port Service[0000:00:1c.2:pcie02] PCI: Setting latency timer of device 0000:00:1c.3 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.3:pcie00] Allocate Port Service[0000:00:1c.3:pcie02] PCI: Setting latency timer of device 0000:00:1c.4 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.4:pcie00] Allocate Port Service[0000:00:1c.4:pcie02] PCI: Setting latency timer of device 0000:00:1c.5 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.5:pcie00] Allocate Port Service[0000:00:1c.5:pcie02] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 pciehp: HPC vendor_id 8086 device_id 283f ss_vid 0 ss_did 0 Load service driver hpdriver on pcie device 0000:00:1c.0:pcie02 pciehp: HPC vendor_id 8086 device_id 2843 ss_vid 0 ss_did 0 Load service driver hpdriver on pcie device 0000:00:1c.2:pcie02 pciehp: HPC vendor_id 8086 device_id 2845 ss_vid 0 ss_did 0 Load service driver hpdriver on pcie device 0000:00:1c.3:pcie02 pciehp: HPC vendor_id 8086 device_id 2847 ss_vid 0 ss_did 0 Load service driver hpdriver on pcie device 0000:00:1c.4:pcie02 pciehp: HPC vendor_id 8086 device_id 2849 ss_vid 0 ss_did 0 Load service driver hpdriver on pcie device 0000:00:1c.5:pcie02 pciehp: PCI Express Hot Plug Controller Driver version: 0.4 Linux agpgart interface v0.102 (c) Dave Jones [drm] Initialized drm 1.1.0 20060810 PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx Probing IDE interface ide0... Probing IDE interface ide1... ahci 0000:00:1f.2: version 2.2 ieee1394: Host added: ID:BUS[0-00:1023] GUID[00508d0000920c82] ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 6 ports 3 Gbps 0x3f impl RAID mode ahci 0000:00:1f.2: flags: 64bit ncq led clo pio slum part PCI: Setting latency timer of device 0000:00:1f.2 to 64 scsi0 : ahci scsi1 : ahci scsi2 : ahci scsi3 : ahci scsi4 : ahci scsi5 : ahci ata1: SATA max UDMA/133 cmd 0xf8802100 ctl 0x00000000 bmdma 0x00000000 irq 11 ata2: SATA max UDMA/133 cmd 0xf8802180 ctl 0x00000000 bmdma 0x00000000 irq 11 ata3: SATA max UDMA/133 cmd 0xf8802200 ctl 0x00000000 bmdma 0x00000000 irq 11 ata4: SATA max UDMA/133 cmd 0xf8802280 ctl 0x00000000 bmdma 0x00000000 irq 11 ata5: SATA max UDMA/133 cmd 0xf8802300 ctl 0x00000000 bmdma 0x00000000 irq 11 ata6: SATA max UDMA/133 cmd 0xf8802380 ctl 0x00000000 bmdma 0x00000000 irq 11 ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) ata1.00: ATA-7: ST3400620AS, 3.AAK, max UDMA/133 ata1.00: 781422768 sectors, multi 0: LBA48 NCQ (depth 31/32) ata1.00: configured for UDMA/133 ata2: SATA link down (SStatus 0 SControl 300) ata3: SATA link down (SStatus 0 SControl 300) ata4: SATA link down (SStatus 0 SControl 300) ata5: SATA link down (SStatus 0 SControl 300) ata6: SATA link down (SStatus 0 SControl 300) scsi 0:0:0:0: Direct-Access ATA ST3400620AS 3.AA PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] 781422768 512-byte hardware sectors (400088 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 0:0:0:0: [sda] 781422768 512-byte hardware sectors (400088 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sda2 sda3 < sda5 > sd 0:0:0:0: [sda] Attached SCSI disk ahci 0000:06:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA mode ahci 0000:06:00.0: flags: 64bit ncq pm led clo pmp pio slum part PCI: Setting latency timer of device 0000:06:00.0 to 64 scsi6 : ahci scsi7 : ahci ata7: SATA max UDMA/133 cmd 0xf8804100 ctl 0x00000000 bmdma 0x00000000 irq 10 ata8: SATA max UDMA/133 cmd 0xf8804180 ctl 0x00000000 bmdma 0x00000000 irq 10 ata7: SATA link down (SStatus 0 SControl 300) ata8: SATA link down (SStatus 0 SControl 300) sata_sil24 0000:04:00.0: version 0.9 PCI: Setting latency timer of device 0000:04:00.0 to 64 scsi8 : sata_sil24 scsi9 : sata_sil24 ata9: SATA max UDMA/100 cmd 0xf8810000 ctl 0x00000000 bmdma 0x00000000 irq 11 ata10: SATA max UDMA/100 cmd 0xf8812000 ctl 0x00000000 bmdma 0x00000000 irq 11 ata9: SATA link down (SStatus 0 SControl 300) ata10: SATA link down (SStatus 0 SControl 300) usbmon: debugfs is not available PCI: Setting latency timer of device 0000:00:1a.7 to 64 ehci_hcd 0000:00:1a.7: EHCI Host Controller ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1 PCI: cache line size of 32 is not supported by device 0000:00:1a.7 ehci_hcd 0000:00:1a.7: irq 7, io mem 0xfdfff000 ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 4 ports detected PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: EHCI Host Controller ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2 PCI: cache line size of 32 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: irq 10, io mem 0xfdffe000 ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 6 ports detected ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver USB Universal Host Controller Interface driver v3.0 PCI: Setting latency timer of device 0000:00:1a.0 to 64 uhci_hcd 0000:00:1a.0: UHCI Host Controller uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:1a.0: irq 5, io base 0x0000ff00 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected PCI: Setting latency timer of device 0000:00:1a.1 to 64 uhci_hcd 0000:00:1a.1: UHCI Host Controller uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:1a.1: irq 11, io base 0x0000fe00 usb usb4: configuration #1 chosen from 1 choice hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: UHCI Host Controller uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5 uhci_hcd 0000:00:1d.0: irq 10, io base 0x0000fd00 usb usb5: configuration #1 chosen from 1 choice hub 5-0:1.0: USB hub found hub 5-0:1.0: 2 ports detected PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6 uhci_hcd 0000:00:1d.1: irq 11, io base 0x0000fc00 usb usb6: configuration #1 chosen from 1 choice hub 6-0:1.0: USB hub found hub 6-0:1.0: 2 ports detected PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: UHCI Host Controller uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7 uhci_hcd 0000:00:1d.2: irq 7, io base 0x0000fb00 usb usb7: configuration #1 chosen from 1 choice hub 7-0:1.0: USB hub found hub 7-0:1.0: 2 ports detected usb 5-1: new full speed USB device using uhci_hcd and address 2 usb 5-1: configuration #2 chosen from 2 choices usbcore: registered new interface driver cdc_acm drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters usbcore: registered new interface driver usbserial drivers/usb/serial/usb-serial.c: USB Serial support registered for generic usbcore: registered new interface driver usbserial_generic drivers/usb/serial/usb-serial.c: USB Serial Driver core drivers/usb/serial/usb-serial.c: USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter usbcore: registered new interface driver belkin drivers/usb/serial/belkin_sa.c: USB Belkin Serial converter driver v1.2 drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303 usbcore: registered new interface driver pl2303 drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver [ueagle-atm] driver ueagle 1.4 loaded usbcore: registered new interface driver ueagle-atm serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX port at 0x60,0x64 irq 12 mice: PS/2 mouse device common for all mice input: AT Translated Set 2 keyboard as /class/input/input0 md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 md: raid10 personality registered for level 10 Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 2007 UTC). PCI: Setting latency timer of device 0000:00:1b.0 to 64 hda_codec: Unknown model for ALC882, trying auto-probe from BIOS... ALSA device list: #0: HDA Intel at 0xfdff4000 irq 4 TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI Shortcut mode BIOS EDD facility v0.16 2004-Jun-25, 1 devices found input: ImPS/2 Generic Wheel Mouse as /class/input/input1 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 136k freed r8169 Gigabit Ethernet driver 2.2LK loaded PCI: Setting latency timer of device 0000:03:00.0 to 64 eth0: RTL8168b/8111b at 0xf8816000, 00:50:8d:94:04:26, IRQ 7 r8169 Gigabit Ethernet driver 2.2LK loaded PCI: Setting latency timer of device 0000:05:00.0 to 64 eth1: RTL8168b/8111b at 0xf881e000, 00:50:8d:94:04:27, IRQ 5 eth0: register 'cdc_ether' at usb-0000:00:1d.0-1, CDC Ethernet Device, 00:19:e0:f3:b3:2c usbcore: registered new interface driver cdc_ether Adding 2658716k swap on /dev/sda5. Priority:-1 extents:1 across:2658716k EXT3 FS on sda2, internal journal loop: module loaded Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. NTFS driver 2.1.28 [Flags: R/W MODULE]. lp: driver loaded but no devices found r8169: eth2: link up r8169: eth2: link up r8169: eth1: link down nvidia: module license 'NVIDIA' taints kernel. PCI: Setting latency timer of device 0000:01:00.0 to 64 NVRM: loading NVIDIA UNIX x86 Kernel Module 100.14.19 Wed Sep 12 14:12:24 PDT 2007 NET: Registered protocol family 10 ADDRCONF(NETDEV_UP): eth1: link is not ready eth2: no IPv6 routers present eth3: no IPv6 routers present
i moj CONFIG jajka , moze ktos zerknie i znajdzie cos co powinno byc dodane badz wyrzucone....
Config Kernela http://s001.wyslijto.pl/index.php?file_id=78341524811600315496
Offline
albo mi się zdaje albo taki topic już był...
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
W powyższej linijce jest mała literówka
Offline
TGR , wynik fdisk -l daje
Disk /dev/sda: 400.0 GB, 400088457216 bytes 255 heads, 63 sectors/track, 48641 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 5149 41359311 7 HPFS/NTFS /dev/sda2 5150 48310 346690732+ 83 Linux /dev/sda3 48311 48641 2658757+ 5 Extended /dev/sda5 48311 48641 2658726 82 Linux swap / Solaris
@terefere , Nie jestem przekonany czy tam jest literowka , jesli jest to cdrom nie powinien byc wykrywany w taki razie takze na kernelu dystrybucyjnym , czyli 2.6.18-5, a tak sie nie dzieje. Problem dotyczy tylko 2.6.22 :/
Offline
postanowilem skompilowac wlasnego kernela i mam maly problem poniewaz nie wykrywa mi cdromu.
imo chodzi raczej o to, że nie dodałeś do jajca sterów do cdromu. sprawdź czy masz:
Device drivers --> <*> ATA/ATAPI/MFM/RLL support ---> <*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support <*> Include IDE/ATAPI CDROM support <*> generic/default IDE chipset support [*] PCI IDE chipset support [*] Sharing PCI IDE interrupts support <*> Generic PCI IDE Chipset Support [*] Generic PCI bus-master DMA support <*> tu_wybierz_ster_do_swego_chipsetu
Offline
No @Rychu byl najblizej :)
Trzeba bylo wkompilowac sterownik jmb361 i ruszylo :)
Dzieki chlopaki. Pozdrawiam.
PROBLEM ROZWIAZANY
Offline