LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-23-2004, 07:24 AM   #1
alienzero
Member
 
Registered: Dec 2003
Posts: 45

Rep: Reputation: 15
Question Re-configure After New Kernel Install


Hi all. I just installed a new kernel image and it seems as though I need to re-configure my network settings.
As you know, when you first install Debian, it prompts you with configuration questions about your hardware and internet connection, etc. When it came to configuring my connection, I said to just let the DHCP server do it for me. This works great, but I need to know how to do that again for my new kernel? Is there a command to run or a config file I edit? The new kernel is 2.6.6-1-k7 from Debian.org running on Sarge. Thanks!
 
Old 06-23-2004, 07:39 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
umm...as far as I know, the options you chose while installing were saved as configuration files or something...like resolv.conf, hosts.conf etc. etc. etc. and the kernel's job is to provide the "tools" for doing the actual work. I haven't had any need to do any reconfiguration after kernel updates, and I don't think you should neither have...are you sure you enabled your network hardware's "drivers" in your kernel (built-in/modules)?

what exactly is it that is not working or tells that you need to reconfigure? if it's a non-working ethernet, then I'd guess you forgot something from your kernel...

altough I can be wrong on this, but at least I have never ever reconfigured network after updating kernel...I've just checked that the modules etc. I need are in the kernel and the existing saved config has worked.
 
Old 06-23-2004, 02:54 PM   #3
alienzero
Member
 
Registered: Dec 2003
Posts: 45

Original Poster
Rep: Reputation: 15
Well as I stated before, I just installed a new kernel image. I have not messed with a kernel at all before so I don't really know what I'm doing But LQ is helping alot.
I know that the connection to the outside world is not working because I simply type 'apt-get update' and it returns "failed to connect..."
It is probably a module thing. I don't know how to mess with those though. How would I go about checking the kernel module, which one, and how? Thanks!
 
Old 06-23-2004, 03:20 PM   #4
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
i have use apt-get to upgrade kernel images and never had to worry about my network connection....i t always works without any additional configuration...
 
Old 06-23-2004, 05:04 PM   #5
alienzero
Member
 
Registered: Dec 2003
Posts: 45

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by utanja
i have use apt-get to upgrade kernel images and never had to worry about my network connection....i t always works without any additional configuration...
Ok. What are you exact steps in doing this? I'd like to know. BTW, this thread is a continuation from http://www.linuxquestions.org/questi...hreadid=195323
 
Old 06-23-2004, 05:32 PM   #6
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
Quote:
Originally posted by utanja
i have use apt-get to upgrade kernel images and never had to worry about my network connection....i t always works without any additional configuration...
first of all.....what boot loader are you using.....Lilo or Grub...or 3d party?
on my system i use grub and when i apt-get a new image ..it automatically takes care of grub...

ok...

define your sources.list
as root
apt-setup

here you can pick out with source location you wish to use

that being done...

as root

apt-get install kernel-image <the image # you wish to install>
simple
after all done....reboot
 
Old 06-23-2004, 05:56 PM   #7
alienzero
Member
 
Registered: Dec 2003
Posts: 45

Original Poster
Rep: Reputation: 15
OK, well I use lilo, and I just want to use the kernel-image-2.6.6-1-k7-smp from Debian.org
How would I set up my sources list to get that? Maybe I have it already. Here's my current sources.list:
Code:
# Tunator Apt-Get Listing
deb ftp://ftp.debian.org/debian/ stable contrib
deb ftp://ftp.debian.org/debian/ stable non-free
deb ftp://ftp.debian.org/debian/ testing main
deb ftp://ftp.debian.org/debian/ testing contrib
deb ftp://ftp.debian.org/debian/ testing non-free
deb http://security.debian.org stable/updates main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free
deb-src ftp://ftp.debian.org/debian/ testing main
deb-src ftp://ftp.debian.org/debian/ testing contrib
deb-src ftp://ftp.debian.org/debian/ testing non-free
 
Old 06-23-2004, 06:02 PM   #8
alienzero
Member
 
Registered: Dec 2003
Posts: 45

Original Poster
Rep: Reputation: 15
Hmm, nevermind that last post. I just attempted 'apt-get install kernel-image-2.6.6-1-k7-smp' and it's now installing
I'll let you know how it goes afterward.
 
Old 06-23-2004, 06:06 PM   #9
blanks
Member
 
Registered: Jun 2004
Location: West Virginia
Distribution: Gentoo, Debian
Posts: 52

Rep: Reputation: 15
Is the kernel detecting your nic? What's the dmesg output? If your nic is detected, what does ifconfig say?
 
Old 06-23-2004, 08:14 PM   #10
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
this is my sources.list

deb http://ftp.us.debian.org/debian/ testing main
deb-src http://ftp.us.debian.org/debian/ testing main

deb http://security.debian.org/ stable/updates main

i have no listing for stable or sid...
 
Old 06-23-2004, 08:36 PM   #11
alienzero
Member
 
Registered: Dec 2003
Posts: 45

Original Poster
Rep: Reputation: 15
OK, I have the SMP kernel installed fine. I had to manually tweak lilo.conf but that's ok. But the connection is still not there.
I'm really wondering about the modules configured with these kernel images from Debian.org. When I mounted the floppy drive in order to get dmesg info from my server to this computer, I think it installed the kernel mount module right then, or something.
Anyway, demsg output:

Code:
Linux version 2.6.6-1-k7-smp (herbert@gondolin) (gcc version 3.3.3 (Debian 20040401)) #1 SMP Wed May 12 19:57:06 EST 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000ca000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003fef0000 (usable)
 BIOS-e820: 000000003fef0000 - 000000003feff000 (ACPI data)
 BIOS-e820: 000000003feff000 - 000000003ff00000 (ACPI NVS)
 BIOS-e820: 000000003ff00000 - 000000003ff80000 (usable)
 BIOS-e820: 000000003ff80000 - 0000000040000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec04000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
127MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f7170
On node 0 totalpages: 262016
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 225280 pages, LIFO batch:16
  HighMem zone: 32640 pages, LIFO batch:7
DMI 2.3 present.
ACPI: RSDP (v000 PTLTD                                     ) @ 0x000f7100
ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x3fefcf28
ACPI: FADT (v001 AMD    TECATE   0x06040000 PTL  0x000f4240) @ 0x3fefef2e
ACPI: MADT (v001 PTLTD  	 APIC   0x06040000  LTP 0x00000000) @ 0x3fefefa2
ACPI: DSDT (v001    AMD  AMDACPI 0x06040000 MSFT 0x0100000d) @ 0x00000000
ACPI: PM-Timer IO Port: 0x8008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x01] enabled)
Processor #1 6:8 APIC version 16
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:8 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] global_irq_base[0x0])
IOAPIC[0]: Assigned apic_id 2
IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=Linux ro root=301
Initializing CPU#0
PID hash table entries: 4096 (order 12: 32768 bytes)
Detected 2000.282 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Memory: 1031500k/1048064k available (1596k kernel code, 15588k reserved, 672k data, 164k init, 130496k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 3956.73 BogoMIPS
Security Scaffold v1.0.0 initialized
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU:     After generic identify, caps: 0383fbff c1cbfbff 00000000 00000000
CPU:     After vendor identify, caps: 0383fbff c1cbfbff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU:     After all inits, caps: 0383fbff c1cbfbff 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
CPU0: AMD Athlon(tm) MP 2400+ stepping 01
per-CPU timeslice cutoff: 731.38 usecs.
task migration cache decay timeout: 1 msecs.
masked ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Booting processor 1/0 eip 3000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Calibrating delay loop... 3997.69 BogoMIPS
CPU:     After generic identify, caps: 0383fbff c1cbfbff 00000000 00000000
CPU:     After vendor identify, caps: 0383fbff c1cbfbff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU:     After all inits, caps: 0383fbff c1cbfbff 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: AMD Athlon(tm) Processor stepping 01
Total of 2 processors activated (7954.43 BogoMIPS).
ENABLING IO-APIC IRQs
init IO_APIC IRQs


 IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22, 2-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=-1
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1999.0664 MHz.
..... host bus clock speed is 266.0622 MHz.
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
checking if image is initramfs...it isn't (ungzip failed); looks like an initrd
Freeing initrd memory: 4276k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd7d0, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
mtrr: your CPUs had inconsistent fixed MTRR settings
mtrr: probably your BIOS does not setup all CPUs.
mtrr: corrected configuration.
ACPI: Subsystem revision 20040326
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.OP2P._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 5 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 5 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 5 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 5 *10 11)
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00f7130
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x9aad, dseg 0x400
PnPBIOS: 13 nodes reported by PnP BIOS; 13 recorded by driver
00:00:08[A] -> 2-20 -> IRQ 20 level low
00:00:08[B] -> 2-21 -> IRQ 21 level low
00:00:08[C] -> 2-22 -> IRQ 22 level low
00:00:08[D] -> 2-23 -> IRQ 23 level low
00:01:05[A] -> 2-18 -> IRQ 18 level low
00:01:05[B] -> 2-19 -> IRQ 19 level low
00:02:04[A] -> 2-16 -> IRQ 16 level low
00:02:04[B] -> 2-17 -> IRQ 17 level low
number of MP IRQ sources: 15.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................
IO APIC #2......
.... register #00: 02000000
.......    : physical APIC id: 02
.......    : Delivery Type: 0
.......    : LTS          : 0
.... register #01: 00170011
.......     : max redirection entries: 0017
.......     : PRQ implemented: 0
.......     : IO APIC version: 0011
.... register #02: 06000000
.......     : arbitration: 06
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:   
 00 000 00  1    0    0   0   0    0    0    00
 01 0FF 0F  0    0    0   0   0    1    1    39
 02 0FF 0F  0    0    0   0   0    1    1    31
 03 0FF 0F  0    0    0   0   0    1    1    41
 04 0FF 0F  0    0    0   0   0    1    1    49
 05 0FF 0F  0    0    0   0   0    1    1    51
 06 0FF 0F  0    0    0   0   0    1    1    59
 07 0FF 0F  0    0    0   0   0    1    1    61
 08 0FF 0F  0    0    0   0   0    1    1    69
 09 0FF 0F  0    1    0   1   0    1    1    71
 0a 0FF 0F  0    0    0   0   0    1    1    79
 0b 0FF 0F  0    0    0   0   0    1    1    81
 0c 0FF 0F  0    0    0   0   0    1    1    89
 0d 0FF 0F  0    0    0   0   0    1    1    91
 0e 0FF 0F  0    0    0   0   0    1    1    99
 0f 0FF 0F  0    0    0   0   0    1    1    A1
 10 003 03  1    1    0   1   0    1    1    D9
 11 003 03  1    1    0   1   0    1    1    E1
 12 003 03  1    1    0   1   0    1    1    C9
 13 003 03  1    1    0   1   0    1    1    D1
 14 003 03  1    1    0   1   0    1    1    A9
 15 003 03  1    1    0   1   0    1    1    B1
 16 003 03  1    1    0   1   0    1    1    B9
 17 003 03  1    1    0   1   0    1    1    C1
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 0:16
IRQ17 -> 0:17
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ20 -> 0:20
IRQ21 -> 0:21
IRQ22 -> 0:22
IRQ23 -> 0:23
.................................... done.
PCI: Using ACPI for IRQ routing
Starting balanced_irq
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
BIOS failed to enable PCI standards compliance, fixing this error.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET: Registered protocol family 8
NET: Registered protocol family 20
ACPI: (supports S0 S1 S4 S5)
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4276 blocks [1 disk] into ram disk...
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 164k freed
NET: Registered protocol family 1
SCSI subsystem initialized
libata version 1.02 loaded.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AMD7441: IDE controller at PCI slot 0000:00:07.1
AMD7441: chipset revision 4
AMD7441: not 100% native mode: will probe irqs later
AMD7441: 0000:00:07.1 (rev 04) UDMA100 controller
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:pio
hda: WDC WD400JB-00ETA0, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: 56X CD-ROM, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 78165360 sectors (40020 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
 /dev/ide/host0/bus0/target0/lun0: p1 p2
ext3: No journal on filesystem on hda1
Adding 506036k swap on /dev/hda2.  Priority:-1 extents:1
Real Time Clock Driver v1.12
NET: Registered protocol family 17
Capability LSM initialized
inserting floppy driver for 2.6.6-1-k7-smp
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077

Sorry it's really long. Not sure what to look for.
 
Old 06-24-2004, 10:37 AM   #12
blanks
Member
 
Registered: Jun 2004
Location: West Virginia
Distribution: Gentoo, Debian
Posts: 52

Rep: Reputation: 15
I don't see your nic detected anywhere... You should have a line like:

eth0: <nic brand> <mac addr> <lots of other stuff>...

You might try compiling these drivers directly into the kernel - i.e. not as a module
 
Old 06-24-2004, 12:49 PM   #13
alienzero
Member
 
Registered: Dec 2003
Posts: 45

Original Poster
Rep: Reputation: 15
All I did was install the kernel image and boot fro it. I don't know anything about a module. It's probably not even there. When I initialy installed Debian I let it configure my NiC via DHCP. This worked great.
Is there any way I can have it configure again? Or how do I compile the driver directly into the kernel? My board is the Tyan Tiger MPX (S2466-4M) with onboard 3Com 3C920 LAN controller.
 
Old 06-24-2004, 12:49 PM   #14
alienzero
Member
 
Registered: Dec 2003
Posts: 45

Original Poster
Rep: Reputation: 15
I wonder if I need to configure the new kernel somehow? Maybe there are no moduels loaded?
I used "configure network via DHCP/BOOTP" when I first installed.

Last edited by alienzero; 06-24-2004 at 02:49 PM.
 
Old 06-24-2004, 07:23 PM   #15
alienzero
Member
 
Registered: Dec 2003
Posts: 45

Original Poster
Rep: Reputation: 15
I found this page: http://www.debian.org/doc/FAQ/ch-kernel.en.html
Near the bottom under "9.4 What special provisions does Debian provide to deal with modules?" it has some files that deal with the modules for the kernel. I checked my /etc/modules file and there is only one entry: af_packet
I'm assuming that this means there are no other modules installed?
I also tried running the program 'modconf'. The only menu entry it gave me was to exit the program.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: cannot find install-sh or install.sh in . ./.. ./../.. jialin Debian 9 12-01-2009 08:36 PM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 03:52 PM
configure hardware before install OR install elo touchscreen drivers ahnree General 2 06-28-2004 08:17 PM
install/configure kernel sources questions amayer Linux - Newbie 5 12-07-2003 11:20 AM
Can I use the configure file from the last kernel on the new kernel? Pcghost Linux - General 6 07-15-2003 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration