LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   4 questions. slow boot + kernel compile (http://www.linuxquestions.org/questions/slackware-14/4-questions-slow-boot-kernel-compile-237810/)

xushi 10-02-2004 04:05 AM

4 questions. slow boot + kernel compile
 
Lo all,

1- Do i have to reinstall the NForce ethernet and audio drivers, as well as the NVidia graphics drivers again, everytime i recompile the kernel?

2 - Shown in dmesg in red, it says
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Shouldn't that be 133? (Asus A7n8x delux)

3- Everytime i boot my pc, it stalls for 30 seconds at 2 points (the bold ones down below). The second one is probably acceptable coz its detecting the scsi drive.. But the first one always looks for hdg, which i dont have (and dont really know what it is). Is there anyway to get rid of it?

4 - Where is alsa located in the 2.4.26 kernel? i can't quite find it...

Thanks

dmesg > dm
Code:

Linux version 2.4.26 (root@xushi) (gcc version 3.3.4) #18 Fri Oct 1 20:14:59 BST 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
 BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
 BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
 BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
127MB HIGHMEM available.
896MB LOWMEM available.
On node 0 totalpages: 262128
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 32752 pages.
Kernel command line: auto BOOT_IMAGE=Slack10 ro root=801 hdc=ide-scsi hdd=ide-scsi
ide_setup: hdc=ide-scsi
ide_setup: hdd=ide-scsi
Initializing CPU#0
Detected 2171.593 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 4338.48 BogoMIPS
Memory: 1032792k/1048512k available (1947k kernel code, 15332k reserved, 645k data, 116k init, 131008k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU:    After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU:            Common caps: 0383fbff c1c3fbff 00000000 00000000
CPU: AMD Athlon(tm) XP 2700+ stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb4a0, last bus=3
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router default [10de/01e0] at 00:00.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
allocated 32 pages and 32 bhs reserved for the highmem bounces
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10f
Floppy drive(s): fd0 is 1.44M
keyboard: Timeout - AT keyboard not present?(00)
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
NFORCE2: 00:09.0 (rev a2) UDMA133 controller
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
SiI3112 Serial ATA: IDE controller at PCI slot 01:0b.0
SiI3112 Serial ATA: chipset revision 1
SiI3112 Serial ATA: not 100% native mode: will probe irqs later
    ide2: MMIO-DMA , BIOS settings: hde:pio, hdf:pio
    ide3: MMIO-DMA , BIOS settings: hdg:pio, hdh:pio
hdc: _NEC DVD_RW ND-2510A, ATAPI CD/DVD-ROM drive
hdd: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive
hde: Maxtor 6Y250M0, ATA DISK drive
blk: queue c03d5c68, I/O limit 4095Mb (mask 0xffffffff)
hdg: no response (status = 0xfe)
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xf880d080-0xf880d087,0xf880d08a on irq 5
hde: attached ide-disk driver.
hde: host protected area => 1
hde: 490234752 sectors (251000 MB) w/7936KiB Cache, CHS=30515/255/63
Partition check:
 hde: hde1
SCSI subsystem driver Revision: 1.00
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
        <Adaptec 29160 Ultra160 SCSI adapter>
        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

(scsi0:A:9): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
  Vendor: IBM      Model: DDYS-T18350N      Rev: S96H
  Type:  Direct-Access                      ANSI SCSI revision: 03
scsi0:A:9:0: Tagged Queuing enabled.  Depth 8
Attached scsi disk sda at scsi0, channel 0, id 9, lun 0
SCSI device sda: 35843670 512-byte hdwr sectors (18352 MB)
 sda: sda1 sda2 sda3
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
  8regs    :  3113.600 MB/sec
  32regs    :  2085.600 MB/sec
  pIII_sse  :  5899.200 MB/sec
  pII_mmx  :  5083.600 MB/sec
  p5_mmx    :  6495.200 MB/sec
raid5: using function: pIII_sse (5899.200 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.8(17/11/2003)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 116k freed
Adding Swap: 248996k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,1), internal journal
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 941M
agpgart: Detected NVIDIA nForce2 chipset
agpgart: AGP aperture is 128M @ 0xd0000000
hdc: attached ide-scsi driver.
hdd: attached ide-scsi driver.
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: _NEC      Model: DVD_RW ND-2510A  Rev: 2.04
  Type:  CD-ROM                            ANSI SCSI revision: 02
  Vendor: SONY      Model: DVD RW DRU-500A  Rev: 2.0h
  Type:  CD-ROM                            ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,3), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide2(33,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-6111  Tue Jul 27 07:55:38 PDT 2004
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
See Documentation/networking/vortex.txt
02:01.0: 3Com PCI 3c920 Tornado at 0xc000. Vers LK1.1.18-ac
 00:e0:18:f1:04:b7, IRQ 11
  product code ffff rev 00.0 date 15-31-127
  Internal config register is 1600000, transceivers 0x40.
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/MII interface.
  MII transceiver found at address 2, status 7849.
  Enabling bus-master transmits and whole-frame receives.
02:01.0: scatter/gather enabled. h/w checksums enabled
ohci1394: $Rev: 1045 $ Ben Collins <bcollins@debian.org>
PCI: Setting latency timer of device 00:0d.0 to 64
ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[5]  MMIO=[e7084000-e70847ff]  Max Packet=[2048]
Nvsound: Nvidia Audio Init Module, 20:26:34 Oct  1 2004 version 1.0-0
PCI: Setting latency timer of device 00:05.0 to 64
Nvsound:  NVIDIA nForce2 Controller found at Mem 0xe7000000 and IRQ b
PCI: Setting latency timer of device 00:06.0 to 64
Nvsound: NVIDIA nForce2 Audio found at IO 0xd400 and 0xd000, IRQ 5
Nvsound: Aci_device c1c3b400 Apu_device c1c3b000
Nvsound: DEV MIXER 0 DEV AUDIO 3
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
PCI: Setting latency timer of device 00:04.0 to 64
eth1: forcedeth.c: subsystem: 01043:80a7 bound to 00:04.0
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Setting latency timer of device 00:02.2 to 64
ehci_hcd 00:02.2: nVidia Corporation nForce2 USB Controller
ehci_hcd 00:02.2: irq 11, pci mem f8fc0000
usb.c: new USB bus registered, assigned bus number 1
PCI: cache line size of 64 is not supported by device 00:02.2
ehci_hcd 00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 6 ports detected
PCI: Setting latency timer of device 00:02.0 to 64
usb-ohci.c: USB OHCI at membase 0xf8fc8000, IRQ 11
usb-ohci.c: usb-00:02.0, nVidia Corporation nForce2 USB Controller
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.1 to 64
usb-ohci.c: USB OHCI at membase 0xf8fca000, IRQ 5
usb-ohci.c: usb-00:02.1, nVidia Corporation nForce2 USB Controller (#2)
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 3 ports detected
hub.c: new USB device 00:02.2-3, assigned address 2
usb.c: USB device not accepting new address=2 (error=-71)
hub.c: new USB device 00:02.2-3, assigned address 3
usb.c: USB device not accepting new address=3 (error=-71)
uhci.c: USB Universal Host Controller Interface driver v1.1
usb-uhci.c: $Revision: 1.275 $ time 20:21:05 Oct  1 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
hub.c: new USB device 00:02.1-2, assigned address 2
hub.c: USB hub found
hub.c: 3 ports detected
hub.c: new USB device 00:02.1-2.1, assigned address 3
usb.c: USB device 3 (vend/prod 0x443/0x1c) is not claimed by any active driver.
usb.c: registered new driver usbkbd
input0: Silitek Gateway Generic USB Hub on usb3:3.0
usbkbd.c: :USB HID Boot Protocol keyboard driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice


gbonvehi 10-02-2004 04:30 AM

1) Yes
2 & 3) Don't know
4) ALSA doesn't come with kernels 2.4.X it started to show in 2.6.X, you just have to install the packages or get the source and compile it.

xushi 10-02-2004 04:36 AM

Quote:

Originally posted by gbonvehi
4) ALSA doesn't come with kernels 2.4.X it started to show in 2.6.X, you just have to install the packages or get the source and compile it.
Makes sense... And since (from reading around and testing) i can't get my nforce audio to work properly with alsa, and if i wanted to completly get rid of alsa and use OSS with it, do all i have to do is just remove alsa packages, and enable OSS in the kernel?

gbonvehi 10-02-2004 05:59 AM

Yeap. :)

xushi 10-02-2004 07:40 AM

Err, built in as a module (M), or actually built in (*) ?
=)

gbonvehi 10-02-2004 08:12 AM

That's just a matter of taste :)
I'd suggest built-in to be very sure that they're there and working :P

vectordrake 10-02-2004 09:24 AM

2: this is right. That's the speed of your PCI bus that its reporting. 33 is right. All good.

3: It looks like your Drive is taking a moment to recognize or initialize (SCSI one). The reference to HDG is probably RAID. Do you have an onboard IDE RAID? Perhaps the kernel is trying to load the drivers for HDs that aren't there. If so, try disabling the RAID in your BIOS, and prehaps, if you can, try unloading the module as well.

xushi 10-02-2004 09:37 AM

Quote:

Originally posted by vectordrake
The reference to HDG is probably RAID. Do you have an onboard IDE RAID? Perhaps the kernel is trying to load the drivers for HDs that aren't there. If so, try disabling the RAID in your BIOS, and prehaps, if you can, try unloading the module as well.
Yes i do, and i'm not using it. Thanks for that, now i know the problem, i can start fixing it =)

vectordrake 10-02-2004 09:50 AM

And perhaps I can spellcheck mu posts more often. LOL. My "prehaps" is now imortalized. Oops. Glad we could all be of help. The baton is yours...

skog 10-02-2004 09:51 AM

xushi if your going to use oss drivers and you do much with sound games, cds, sounds for events in X ... you should probably load esd or arts. esd is the enlightened sound daemon and arts is the k sound daemon. esd is used by gnome fluxbox and arts is used by k.

if you dont you can fairly easily flood the oss sound and it will stop working till reloading the drivers.

i think arts starts up by default in K and esd can be turned on in gnome with -> Desktop Prefs -> sound

xushi 10-02-2004 05:31 PM

After reading about, and noticing the error from esdctl (as well as sound in gnome), apparently esound can be compiled against either alsa or oss, but not both.

In Slackware, esd is compiled against ALSA and not OSS.. Will it be easier if i just compile esd form source?

EDIT:, sorry i think i got confused.. Do you meen i should get rid of the nvsound driver as a whole, and switch to esd?

skog 10-03-2004 08:53 AM

no esd is a program that intercepts the sound requests and then gives them to the sound driver that puts them through the speakers. You need your driver. When you compile esd it can use either oss or alsa but only one at a time.

from the command line run "esd --help" at the bottom of the help message check for this line
Possible devices are: /dev/dsp, /dev/dsp2, etc. or does it list alsa or /dev/snd/hwCxxx

if it shows alsa check if alsa is running or if the modules are loaded. lsmod and ps -aux if so remove them and change your boot options so alsa doesnt start

also check in /etc/esd.conf if its set for using alsa (* i doubt it but check *) would be on this line
spawn_options=-terminate -nobeeps -as 2 { -d /dev/snd/hwC0D0 comment this part out if there }

xushi 10-03-2004 08:57 AM

Quote:

Originally posted by skog
from the command line run "esd --help" at the bottom of the help message check for this line
Possible devices are: /dev/dsp, /dev/dsp2, etc. or does it list alsa or /dev/snd/hwCxxx

Thanks skog, the command shows No available cards found. And this always happens when i have my nforce audio drivers installed. I guess i should stop using them... remove them, get alsa with intel8x0 working again, and try out your comments on ESD.

Just one more question, Is surround sound possible in ALSA, OSS, or ESD? based on the intel8x0 drivers?

skog 10-03-2004 10:15 AM

no idea about the surround sound the alsa page has supported features list for all their drivers and oss youll have to check in the kernel source documentation dir or the readme file that came with your driver

if its listing no devices and you have the oss drivers loaded and alsa isnt loading...something is up with your oss driver hooking to the device...

try this
cp /etc/modules.conf modules.conf-original

then edit modules.conf
alias char-major-116 soundcore
alias sound-service-0-3 off (* i turn all this off so i dont get logs about it being looked for *)
alias sound-service-1-0 off
alias sound-service-1-3 off
alias sound-service-2-3 off
alias sound-service-2-0 off
alias sound-service-3-0 off
alias sound-service-3-3 off
alias sound-slot-0 (* the name of your sound card module here *)
alias sound-slot-1 off
alias sound-slot-2 off
alias sound-slot-3 off

and comment out all the references to alsa drivers then
add a line in /etc/rc.d/rc.modules so that it loads you sound card driver.

do you have 1 driver for both your ethernet and your soundcard? check the readme file and see if it has module options you need to set options like irq=x dma=x ... something isnt loading the driver and "hooking" it to the device properly

xushi 10-03-2004 11:23 AM

Sorry, let me clear out a few things,

I tried using the kernel's OSS drivers, but today i realised that i don't think i actually enabled them.. but anyway they've been removed now from the kernel.

I'm using ALSA's oss emulation at the moment. Because whenever i try removing ALSA packages, nothing works.. i get errors in gnome, and any player/game.

I have one driver for my network (nvnet), and one for my sound (nvsound).

My current modules.conf is
alias snd-slot-0 nvsound
alias eth0 nvnet
alias char-major-195 nvidia

sound, network, and graphics drivers respectively.

Everytime i run alsaconf, it says no card found... Except when i unload the nvidia audio drivers, and revert back to inte intel8x0 drivers, then it detects intel8x0. Oddly enough, it refuses to detect the nvsound drivers, which im guessing is the problem here. Regardless of all that, sound works with nvsound (except the problems discussed in the other thread)


All times are GMT -5. The time now is 07:57 AM.