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
Od klkunastu godzin próbuje skompilowac jajko bez initrd, wbudowałem obsługe dysków(sterownik libata) , systemu plików na stałe a nadal wypluwa unable to mount root ,,,
Wpisy gruba raczej wporządku , tu zamieszczam potrzebne dane:
lspci -n
00:00.0 0600: 8086:2e20 (rev 02) 00:01.0 0604: 8086:2e21 (rev 02) 00:1a.0 0c03: 8086:3a37 00:1a.1 0c03: 8086:3a38 00:1a.2 0c03: 8086:3a39 00:1a.7 0c03: 8086:3a3c 00:1b.0 0403: 8086:3a3e 00:1c.0 0604: 8086:3a40 00:1c.5 0604: 8086:3a4a 00:1d.0 0c03: 8086:3a34 00:1d.1 0c03: 8086:3a35 00:1d.2 0c03: 8086:3a36 00:1d.7 0c03: 8086:3a3a 00:1e.0 0604: 8086:244e (rev 90) 00:1f.0 0601: 8086:3a16 00:1f.2 0101: 8086:3a20 00:1f.3 0c05: 8086:3a30 00:1f.5 0101: 8086:3a26 01:00.0 0300: 1002:9440 01:00.1 0403: 1002:aa30 02:00.0 0200: 1969:1026 (rev b0)
lsmod :
Module Size Used by cpufreq_stats 1940 0 cpufreq_userspace 1480 0 cpufreq_powersave 602 0 cpufreq_conservative 4018 0 tun 8772 2 fuse 44033 1 loop 9765 0 snd_hda_codec_atihdmi 1687 1 snd_hda_codec_realtek 163294 1 snd_hda_intel 16811 1 snd_hda_codec 46002 3 snd_hda_codec_atihdmi,snd_hda_codec_realtek,snd_hda_intel snd_hwdep 4054 1 snd_hda_codec snd_pcm_oss 28671 0 snd_mixer_oss 10461 1 snd_pcm_oss snd_pcm 47226 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss snd_seq_midi 3576 0 snd_rawmidi 12513 1 snd_seq_midi snd_seq_midi_event 3684 1 snd_seq_midi snd_seq 35463 2 snd_seq_midi,snd_seq_midi_event radeon 511184 0 snd_timer 12258 2 snd_pcm,snd_seq snd_seq_device 3673 3 snd_seq_midi,snd_rawmidi,snd_seq ttm 33386 1 radeon drm_kms_helper 18309 1 radeon snd 34375 13 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device drm 112088 3 radeon,ttm,drm_kms_helper soundcore 3450 1 snd snd_page_alloc 5045 2 snd_hda_intel,snd_pcm i2c_i801 6462 0 i2c_algo_bit 3497 1 radeon i2c_core 12696 5 radeon,drm_kms_helper,drm,i2c_i801,i2c_algo_bit evdev 5609 9 joydev 6739 0 pcspkr 1207 0 button 3598 0 asus_atk0110 6770 0 psmouse 44657 0 processor 26327 0 serio_raw 2916 0 ext4 257803 2 mbcache 3762 1 ext4 jbd2 56155 1 ext4 crc16 1027 1 ext4 sg 15968 0 sr_mod 10770 0 sd_mod 25977 4 crc_t10dif 1012 1 sd_mod cdrom 26487 1 sr_mod usbhid 28008 0 hid 50893 1 usbhid ata_generic 2067 0 uhci_hcd 16057 0 ehci_hcd 27851 0 thermal 9206 0 ata_piix 17736 3 floppy 40923 0 atl1e 23144 0 libata 115753 2 ata_generic,ata_piix thermal_sys 9378 2 processor,thermal scsi_mod 101429 4 sg,sr_mod,sd_mod,libata usbcore 98453 4 usbhid,uhci_hcd,ehci_hcd nls_base 4541 1 usbcore
i mój konfig
http://grom120.no-ip.org/config-2.6.37-grom120
Pomozcie bo juz siwieje od tego
Offline
[quote=grom120]Wpisy gruba raczej wporządku , tu zamieszczam potrzebne dane:[/quote]
Nie wrzuciłeś tych wpisów gruba, a [i]raczej w porządku[/i] nie brzmi zbyt przekonująco... Wrzuć. ;)
Offline
prosze:
### BEGIN /etc/grub.d/10_linux ### menuentry 'Debian GNU/Linux, with Linux 2.6.37-grom120' --class debian --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos2)' search --no-floppy --fs-uuid --set=root 806a652d-3dc0-414e-8697-a306511841b0 echo 'Loading Linux 2.6.37-grom120 ...' linux /boot/vmlinuz-2.6.37-grom120 root=/dev/sda2 ro quiet nomodeset radeon.modeset=0 } menuentry 'Debian GNU/Linux, with Linux 2.6.37-grom120 (recovery mode)' --class debian --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos2)' search --no-floppy --fs-uuid --set=root 806a652d-3dc0-414e-8697-a306511841b0 echo 'Loading Linux 2.6.37-grom120 ...' linux /boot/vmlinuz-2.6.37-grom120 root=/dev/sda2 ro single } menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686' --class debian --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos2)' search --no-floppy --fs-uuid --set=root 806a652d-3dc0-414e-8697-a306511841b0 echo 'Loading Linux 2.6.32-5-686 ...' linux /boot/vmlinuz-2.6.32-5-686 root=/dev/sda2 ro quiet nomodeset radeon.modeset=0 echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-5-686 } menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode)' --class debian --class gnu-linux --class gnu --class os { insmod part_msdos insmod ext2 set root='(hd0,msdos2)' search --no-floppy --fs-uuid --set=root 806a652d-3dc0-414e-8697-a306511841b0 echo 'Loading Linux 2.6.32-5-686 ...' linux /boot/vmlinuz-2.6.32-5-686 root=/dev/sda2 ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-5-686 } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/30_os-prober ### menuentry "Microsoft Windows XP Professional (on /dev/sda1)" --class windows --class os { insmod part_msdos insmod ntfs set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root C68059E08059D78F drivemap -s (hd0) ${root} chainloader +1 } menuentry "Arch (on /dev/sda6)" --class gnu-linux --class gnu --class os { insmod part_msdos insmod xfs set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 23efa4d4-c827-4a6a-9cd2-14846de45992 linux /boot/vmlinuz26 root=/dev/sda6 initrd /boot/kernel26.img
drops120@debian:/boot$ sudo fdisk -l Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x1ed01ecf Device Boot Start End Blocks Id System /dev/sda1 * 1 14023 112639716 7 HPFS/NTFS /dev/sda2 14024 15239 9764864 83 Linux /dev/sda3 15239 24722 76171265 5 Extended /dev/sda5 15239 23044 62694400 83 Linux /dev/sda6 23044 24357 10547283 83 Linux /dev/sda7 24358 24722 2928640 82 Linux swap / Solaris
Offline
No fakt, wpis gruba wydaje się być ok. Spróbuj tak...
ten włącz:
│ Symbol: BLK_DEV_SD [=n] │ Type : tristate │ Prompt: SCSI disk support │ Defined at drivers/scsi/Kconfig:69 │ Depends on: SCSI [=y] │ Location: │ -> Device Drivers │ -> SCSI device support │ Selects: CRC_T10DIF [=y]
a ten wyłącz:
│ Symbol: SATA_AHCI [=y] │ Type : tristate │ Prompt: AHCI SATA support │ Defined at drivers/ata/Kconfig:62 │ Depends on: ATA [=y] && PCI [=y] │ Location: │ -> Device Drivers │ -> Serial ATA and Parallel ATA drivers (ATA [=y])
Offline
Grub2 mnie przeraża, pewnie dlatego go pożegnałem... Jaki masz dysk, z interfejsem ATA, czy SATA? Bo ja widzę ATA, a nie widzę sterownika żadnego:
# CONFIG_PATA_ALI is not set # CONFIG_PATA_AMD is not set # CONFIG_PATA_ARTOP is not set # CONFIG_PATA_ATIIXP is not set # CONFIG_PATA_ATP867X is not set # CONFIG_PATA_CMD64X is not set # CONFIG_PATA_CS5520 is not set # CONFIG_PATA_CS5530 is not set # CONFIG_PATA_CS5535 is not set # CONFIG_PATA_CS5536 is not set # CONFIG_PATA_CYPRESS is not set # CONFIG_PATA_EFAR is not set # CONFIG_PATA_HPT366 is not set # CONFIG_PATA_HPT37X is not set # CONFIG_PATA_HPT3X2N is not set # CONFIG_PATA_HPT3X3 is not set # CONFIG_PATA_IT8213 is not set # CONFIG_PATA_IT821X is not set # CONFIG_PATA_JMICRON is not set # CONFIG_PATA_MARVELL is not set # CONFIG_PATA_NETCELL is not set # CONFIG_PATA_NINJA32 is not set # CONFIG_PATA_NS87415 is not set CONFIG_PATA_OLDPIIX=y # CONFIG_PATA_OPTIDMA is not set # CONFIG_PATA_PDC2027X is not set # CONFIG_PATA_PDC_OLD is not set # CONFIG_PATA_RADISYS is not set # CONFIG_PATA_RDC is not set # CONFIG_PATA_SC1200 is not set # CONFIG_PATA_SCH is not set # CONFIG_PATA_SERVERWORKS is not set # CONFIG_PATA_SIL680 is not set # CONFIG_PATA_SIS is not set # CONFIG_PATA_TOSHIBA is not set # CONFIG_PATA_TRIFLEX is not set # CONFIG_PATA_VIA is not set # CONFIG_PATA_WINBOND is not set
Lspci można prosić bez parametru n? :P Ja go nie rozumiem.... ;) A chciałem zobaczyć jaki chipset i co tam siedzi.
Offline
wynik lspci -n wklej tutaj http://kmuto.jp/debian/hcl/index.rhtmlx
w razie czego daje wynik lspci :
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 02) 00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller 00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1 00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6 00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90) 00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller 00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1 00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller 00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2 01:00.0 VGA compatible controller: ATI Technologies Inc RV770 [Radeon HD 4870] 01:00.1 Audio device: ATI Technologies Inc HD48x0 audio 02:00.0 Ethernet controller: Atheros Communications AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
dysk jest sata
Offline
Symbol: SATA_AHCI_PLATFORM [=y]
Ten w sumie też możesz wyłączyć, ale nie wiem czy to akurat ma znaczenie...
============
Natomiast u mnie przy braku AHCI włączenie go, konkretnie:
Symbol: SATA_AHCI [=y]
powoduje, że system nie wstaje (już nie pamiętam z jakim komunikatem).
Offline
nom system wstał , ta opcja była powodem , pozniej wyskoczylo ze udev required tmpfs wiec wlaczylem w kernelu , przekompilowalem ... ale wyskakuja errory , cos w ten desen(niestety nie zapisalo mi do logu) :
couldn't mount because of unsupported optional features
i dalej sporo bledow typu ze system jest read only
touch : cannot touch '/var/lib/sudo...' Read-only file system
starting enhanced syslogd : rsyslogd Can't open or create /var/run/rsyslogd.pid
can't write pid
gdy w grubie zmienie z ro na rw to wyskakuje kernel panic
Offline
couldn't mount because of unsupported optional features
To przy ext4 czy przy czym? Spróbuj jako argument dla kernela dać: [tt]rootfstype=ext4[/tt]
Offline
tak ext4 niestety rootfstype=ext4 nie pomoglo, w kernelu wylaczylem obsluge fuse i nie wyskakuje juz ten blad , teraz ewidentnie problemem jest system plików read-only, bo wyskakuja errory ze nie mozna stworzyc,zapisac czegos tam bo system jest Read-only ... mozna wykonac komende typu mount -o remount,rw / z gruba ? bo niestety w systemie nic sie nie da zrobic ,lapie zwieche
Offline
niby tak ale na 2 kompie mam ro i system wstaje bez problemu , gdy dam rw to wyskakuje kernel panic
edit: juz chyba znam przyczyne
# / was on /dev/sda2 during installation UUID=806a652d-3dc0-414e-8697-a306511841b0 / ext4 [b]errors=remount-ro[/b] 0 1
tylko jak sie pozbyc tych errorow zeby nie montowal w read-only ; /
EDIT: UDALO SIE! Musiałem w konfiguracji zaznaczyć CONFIG_LBDAF=y
, widocznie wymaga tego ext4 , teraz wszystko smiga
drops120@debian:/boot$ lsmod Module Size Used by ipv6 223921 16 atl1e 24114 0
Btw co sądzicie o tym ?? http://www.komputerswiat.pl/nowosci/programy/2010/46/kernel-linuksa-szybki-jak-diabli.aspx
Ostatnio edytowany przez grom120 (2011-02-21 20:03:39)
Offline
Hmm, u mnie:
│ Symbol: LBDAF [=n] │ Type : boolean │ Prompt: Support for large (2TB+) block devices and files │ Defined at block/Kconfig:26 │ Depends on: BLOCK [=y] && !64BIT [=y] │ Location: │ -> Enable the block layer (BLOCK [=y])
System na ext4, wszystko działa... Dziwne. ;)
[b]EDIT:[/b] [quote=grom120]Btw co sądzicie o tym ?? http://www.komputerswiat.pl/nowosci/programy/2010/46/kernel-linuksa-szybki-jak-diabli.aspx[/quote]
http://forum.dug.net.pl/viewtopic.php?id=17754
Offline
Time (s) | Query |
---|---|
0.00012 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00119 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.142.43.244' WHERE u.id=1 |
0.00090 | UPDATE punbb_online SET logged=1732693854 WHERE ident='3.142.43.244' |
0.00052 | SELECT * FROM punbb_online WHERE logged<1732693554 |
0.00005 | SELECT topic_id FROM punbb_posts WHERE id=166375 |
0.00008 | SELECT id FROM punbb_posts WHERE topic_id=18388 ORDER BY posted |
0.00057 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=18388 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00223 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=18388 ORDER BY p.id LIMIT 0,25 |
0.00085 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=18388 |
Total query time: 0.0066 s |