SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What settings are chosen when configuring custom kernel (during make menuconfig or make xconfig) so that sata cd/dvd shows up as /dev/hdc instead of /dev/sr0?
When using generic-smp kernel, dvd is hdc.
When using what should be reasonable choices it shows up as sr0.
I recently build 2.6.25.11 and tried to copy as much from generic-smp config file, but with built in file systems and dvd showed up as hdc. I'll review config files and post what appear to be differences in near future, but from memory I didn't think the settings made sense for the result.
Below is the options I chose in make xconfig to get sata dvd show up as /dev/hdc on gigabyte GA-MA78GM-S2H. Also shown is which settings were different in the kernel that has the dvd at /dev/sr0.
Only big difference I can see is the ATI IXP under ATA. I think this might make sense if the SATA dvd is in ide mode in bios. Would any of the other differences cause this effect?
Code:
Bus options
- pci express off
-Support for pci hotplug
--ACPI and SHPC as M
Device Drivers
-ATA
--Enhanced IDE... Y
---Include ATA/IDE-2 Disk Y
---Include IDE CDROM M
---Include ACPI support Y, (/dev/sr0 version has this off)
---legacy proc/ide Y
---generic/default chipset Y, (/dev/sr0 version has this off)
---Probe ide in bus order Y, (/dev/sr0 version has this off)
---Generic PCI IDE chipset support Y, (/dev/sr0 version has this off)
---RZ1000 fix Y, (/dev/sr0 version has this off)
---AMD NVIDIA Y
---ATI IXP Y, (/dev/sr0 version has this off)
---JMicron Y
---Intel PIIXn Y
-SCSI
--RAID M, (/dev/sr0 version has this off)
--SCSI Disk support Y
--SCSI CDROM M
--SCSI generic M
-SATA
--AHCI Y
--Intel ESB, ICH... Y
--NVIDIA Y
--ACPI Firmware Y (/dev/sr0 version has this off)
--AMD/NVIDIA Y
--ATI PATA Y
--JMicron PATA
-i2c
---I2C Device Interface M
--I2C algorythms
---M for both
--I2C hardware
---Intel PIIX4 M
to copy the current kernels .config into the source dir of the new kernel.
however, when i run 'make oldconfig', I get these errors:
Code:
OSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -o arch/x86/Kconfig
.config:33:warning: trying to assign nonexistent symbol ARCH_SUPPORTS_OPROFILE
.config:70:warning: trying to assign nonexistent symbol FAIR_USER_SCHED
.config:71:warning: trying to assign nonexistent symbol FAIR_CGROUP_SCHED
.config:199:warning: trying to assign nonexistent symbol PREEMPT_BKL
.config:263:warning: trying to assign nonexistent symbol SUSPEND_SMP_POSSIBLE
.config:265:warning: trying to assign nonexistent symbol HIBERNATION_SMP_POSSIBLE
.config:522:warning: trying to assign nonexistent symbol NF_CONNTRACK_ENABLED
.config:585:warning: trying to assign nonexistent symbol IP_NF_MATCH_IPRANGE
.config:586:warning: trying to assign nonexistent symbol IP_NF_MATCH_TOS
.config:591:warning: trying to assign nonexistent symbol IP_NF_MATCH_OWNER
.config:602:warning: trying to assign nonexistent symbol IP_NF_TARGET_SAME
.config:613:warning: trying to assign nonexistent symbol IP_NF_TARGET_TOS
.config:632:warning: trying to assign nonexistent symbol IP6_NF_MATCH_OWNER
.config:766:warning: trying to assign nonexistent symbol NET_CLS_POLICE
.config:904:warning: trying to assign nonexistent symbol MAC80211_RCSIMPLE
.config:996:warning: trying to assign nonexistent symbol MTD_PNC2000
.config:1139:warning: trying to assign nonexistent symbol BLK_DEV_RAM_BLOCKSIZE
.config:1191:warning: trying to assign nonexistent symbol IDEPCI_SHARE_IRQ
.config:1219:warning: trying to assign nonexistent symbol PDC202XX_BURST
.config:1356:warning: trying to assign nonexistent symbol SCSI_PSI240I
.config:1362:warning: trying to assign nonexistent symbol SCSI_SEAGATE
.config:1550:warning: symbol value 'm' invalid for FIXED_PHY
.config:1551:warning: trying to assign nonexistent symbol FIXED_MII_10_FDX
.config:1552:warning: trying to assign nonexistent symbol FIXED_MII_100_FDX
.config:1553:warning: trying to assign nonexistent symbol FIXED_MII_1000_FDX
.config:1554:warning: trying to assign nonexistent symbol FIXED_MII_AMNT
.config:1740:warning: trying to assign nonexistent symbol IWLWIFI
.config:1741:warning: trying to assign nonexistent symbol IWLWIFI_DEBUG
.config:1742:warning: trying to assign nonexistent symbol IWLWIFI_SENSITIVITY
.config:1743:warning: trying to assign nonexistent symbol IWLWIFI_SPECTRUM_MEASUREMENT
.config:1744:warning: trying to assign nonexistent symbol IWLWIFI_QOS
.config:1767:warning: trying to assign nonexistent symbol B43_DMA
.config:1768:warning: trying to assign nonexistent symbol B43_PIO
.config:1769:warning: trying to assign nonexistent symbol B43_DMA_AND_PIO_MODE
.config:1770:warning: trying to assign nonexistent symbol B43_DMA_MODE
.config:1771:warning: trying to assign nonexistent symbol B43_PIO_MODE
.config:1928:warning: trying to assign nonexistent symbol SHAPER
.config:2203:warning: trying to assign nonexistent symbol MOXA_SMARTIO_NEW
.config:2338:warning: trying to assign nonexistent symbol SENSORS_DS1337
.config:2339:warning: trying to assign nonexistent symbol SENSORS_DS1374
.config:2628:warning: trying to assign nonexistent symbol VIDEO_PVRUSB2_29XXX
.config:2629:warning: trying to assign nonexistent symbol VIDEO_PVRUSB2_24XXX
.config:3227:warning: trying to assign nonexistent symbol USB_EHCI_SPLIT_ISO
.config:3740:warning: trying to assign nonexistent symbol INSTRUMENTATION
.config:3783:warning: trying to assign nonexistent symbol CRYPTO_ABLKCIPHER
*
* Linux Kernel Configuration
*
*
* General setup
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
Local version - append to kernel release (LOCALVERSION) [-smp] -smp
Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n
Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y
System V IPC (SYSVIPC) [Y/n/?] y
POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y
BSD Process Accounting (BSD_PROCESS_ACCT) [Y/n/?] y
BSD Process Accounting version 3 file format (BSD_PROCESS_ACCT_V3) [N/y/?] n
Export task/process statistics through netlink (EXPERIMENTAL) (TASKSTATS) [N/y/?] n
Auditing support (AUDIT) [N/y/?] n
Kernel .config support (IKCONFIG) [Y/n/m/?] y
Enable access to .config through /proc/config.gz (IKCONFIG_PROC) [Y/n/?] y
Kernel log buffer size (16 => 64KB, 17 => 128KB) (LOG_BUF_SHIFT) [15] 15
Control Group support (CGROUPS) [N/y/?] n
Group CPU scheduler (GROUP_SCHED) [Y/n/?]
I thought that this would simply build a new kernel with the old kernels options and there wouldnt be a problem.
could anyone tell me where Im going wrong on this?
to copy the current kernels .config into the source dir of the new kernel.
however, when i run 'make oldconfig', I get these errors:
Code:
OSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -o arch/x86/Kconfig
.config:33:warning: trying to assign nonexistent symbol ARCH_SUPPORTS_OPROFILE
.config:70:warning: trying to assign nonexistent symbol FAIR_USER_SCHED
.config:71:warning: trying to assign nonexistent symbol FAIR_CGROUP_SCHED
.config:199:warning: trying to assign nonexistent symbol PREEMPT_BKL
.config:263:warning: trying to assign nonexistent symbol SUSPEND_SMP_POSSIBLE
.config:265:warning: trying to assign nonexistent symbol HIBERNATION_SMP_POSSIBLE
.config:522:warning: trying to assign nonexistent symbol NF_CONNTRACK_ENABLED
.config:585:warning: trying to assign nonexistent symbol IP_NF_MATCH_IPRANGE
.config:586:warning: trying to assign nonexistent symbol IP_NF_MATCH_TOS
.config:591:warning: trying to assign nonexistent symbol IP_NF_MATCH_OWNER
.config:602:warning: trying to assign nonexistent symbol IP_NF_TARGET_SAME
.config:613:warning: trying to assign nonexistent symbol IP_NF_TARGET_TOS
.config:632:warning: trying to assign nonexistent symbol IP6_NF_MATCH_OWNER
.config:766:warning: trying to assign nonexistent symbol NET_CLS_POLICE
.config:904:warning: trying to assign nonexistent symbol MAC80211_RCSIMPLE
.config:996:warning: trying to assign nonexistent symbol MTD_PNC2000
.config:1139:warning: trying to assign nonexistent symbol BLK_DEV_RAM_BLOCKSIZE
.config:1191:warning: trying to assign nonexistent symbol IDEPCI_SHARE_IRQ
.config:1219:warning: trying to assign nonexistent symbol PDC202XX_BURST
.config:1356:warning: trying to assign nonexistent symbol SCSI_PSI240I
.config:1362:warning: trying to assign nonexistent symbol SCSI_SEAGATE
.config:1550:warning: symbol value 'm' invalid for FIXED_PHY
.config:1551:warning: trying to assign nonexistent symbol FIXED_MII_10_FDX
.config:1552:warning: trying to assign nonexistent symbol FIXED_MII_100_FDX
.config:1553:warning: trying to assign nonexistent symbol FIXED_MII_1000_FDX
.config:1554:warning: trying to assign nonexistent symbol FIXED_MII_AMNT
.config:1740:warning: trying to assign nonexistent symbol IWLWIFI
.config:1741:warning: trying to assign nonexistent symbol IWLWIFI_DEBUG
.config:1742:warning: trying to assign nonexistent symbol IWLWIFI_SENSITIVITY
.config:1743:warning: trying to assign nonexistent symbol IWLWIFI_SPECTRUM_MEASUREMENT
.config:1744:warning: trying to assign nonexistent symbol IWLWIFI_QOS
.config:1767:warning: trying to assign nonexistent symbol B43_DMA
.config:1768:warning: trying to assign nonexistent symbol B43_PIO
.config:1769:warning: trying to assign nonexistent symbol B43_DMA_AND_PIO_MODE
.config:1770:warning: trying to assign nonexistent symbol B43_DMA_MODE
.config:1771:warning: trying to assign nonexistent symbol B43_PIO_MODE
.config:1928:warning: trying to assign nonexistent symbol SHAPER
.config:2203:warning: trying to assign nonexistent symbol MOXA_SMARTIO_NEW
.config:2338:warning: trying to assign nonexistent symbol SENSORS_DS1337
.config:2339:warning: trying to assign nonexistent symbol SENSORS_DS1374
.config:2628:warning: trying to assign nonexistent symbol VIDEO_PVRUSB2_29XXX
.config:2629:warning: trying to assign nonexistent symbol VIDEO_PVRUSB2_24XXX
.config:3227:warning: trying to assign nonexistent symbol USB_EHCI_SPLIT_ISO
.config:3740:warning: trying to assign nonexistent symbol INSTRUMENTATION
.config:3783:warning: trying to assign nonexistent symbol CRYPTO_ABLKCIPHER
*
* Linux Kernel Configuration
*
*
* General setup
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
Local version - append to kernel release (LOCALVERSION) [-smp] -smp
Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n
Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y
System V IPC (SYSVIPC) [Y/n/?] y
POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y
BSD Process Accounting (BSD_PROCESS_ACCT) [Y/n/?] y
BSD Process Accounting version 3 file format (BSD_PROCESS_ACCT_V3) [N/y/?] n
Export task/process statistics through netlink (EXPERIMENTAL) (TASKSTATS) [N/y/?] n
Auditing support (AUDIT) [N/y/?] n
Kernel .config support (IKCONFIG) [Y/n/m/?] y
Enable access to .config through /proc/config.gz (IKCONFIG_PROC) [Y/n/?] y
Kernel log buffer size (16 => 64KB, 17 => 128KB) (LOG_BUF_SHIFT) [15] 15
Control Group support (CGROUPS) [N/y/?] n
Group CPU scheduler (GROUP_SCHED) [Y/n/?]
I thought that this would simply build a new kernel with the old kernels options and there wouldnt be a problem.
could anyone tell me where Im going wrong on this?
They're not errors, but new options that have been added to the kernel since 2.6.24. You will have to answer each with yes, no, or module.
jayacharan & Linuxmaster001 - do not ask for commercially available books to be provided to you by our members. If you want the book, go to a book seller (either on or offline) and order it. I have deleted your posts.
My config is called .configmy How can i be sure make oldconfig will pick it up? I did this by make menuconfig- then saving alternate and then copying alternate over .config (default). Then i do make. I know this is not correct.
I would like to post in response only to encourage those who want to make a good kernel to go online and find a spec sheet for their chipset. I found one for mine (I own laptops: one is an Intel ICH4, one is an Intel ICH7) and that helped me trim out of the kernel that which I do not have, and also to add things that I do have.
As for kernel size, the majority of it seems to be caused by a generic CPU choice and then Generic X86 optimizations. I would encourage those who are to build a kernel to pick their actual CPU, disable Generic X86 optimizations, and to disable SMP/SMT if they do not have a dual processor/core machine. This alone, along with Optimize for Size, seems to cut the kernel image and most module sizes almost in half.
The Generic and Huge kernel builds in Slackware are excellent at what they do (i.e. in booting almost any machine), but they are not specific to any machine. While I would encourage their use as a starting point for optimizing, and also as a FailSafe type image for emergency use, it is easy to make a much faster, more trim kernel for your machine simply by making a few minor tweaks.
Hi to all,i want to use ext4 on my slack machine, and i must use kernel 2.6.29.1 . So i tried to install to my machine but....kernel panic appeared ,again.....gggrrrrr.
Explain: i follow the guide , which is in the first page but when i tried to use generate-modoprobe command not found
Nevertheless,when my machine boot to new kernel an error occurred which has to do with file system.
My partitions is:
Quote:
cfdisk (util-linux-ng 2.14.1)
Disk Drive: /dev/hda
Size: 80026361856 bytes, 80.0 GB
Heads: 16 Sectors per Track: 63 Cylinders: 155061
Name Flags Part Type FS Type [Label] Size (MB)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
hda1 Boot Primary NTFS [^D] 40895.52 *
hda2 Primary Linux swap 509.97 *
hda3 Primary Linux ext3 18622.30 *
hda4 Primary Linux ext3 19995.98 *
Unusable 2.62 *
From dmesg i show that tries to mount wrong fs type, something like romfs
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.