LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-02-2003, 12:45 PM   #1
jag7720
Member
 
Registered: Aug 2003
Posts: 53

Rep: Reputation: 15
Question Slack 9 and new kernel


OK, I'm not a newbie but I'm stuck.

I've been using Slackware since 7.0 and have recompiled my kernel many times to include SMP.

Well I've upgraded to 9.0 and I installed the kernel source. The compile goes fine and then when I reboot the boot process gets stuck at the USB stuff...

See, the thing is I don't have any USB and I turned the USB off in the kernel. This has happened on 2 totally different machines.

I can boot into the original kernel but not a new one. I've used the .config from the CD in the bare.i directory as well as the one on the machine from the build.

Can anyone help with this... I can't find a way around it.

Thanks
Jason
 
Old 08-02-2003, 01:27 PM   #2
allo
Member
 
Registered: Jan 2003
Location: Toulouse, France
Distribution: slackware 8.1+
Posts: 35

Rep: Reputation: 15
usb problem

Hello,

With id root what 's the output of lsmod, cat /proc/usb/ and all subdirectories ?

and is /etc/rc.d/rc.modules for your new kernel config OK ? i.e are all USB modules disabled by a # at the beginning of the line ?
 
Old 08-02-2003, 02:06 PM   #3
jag7720
Member
 
Registered: Aug 2003
Posts: 53

Original Poster
Rep: Reputation: 15
root@web:~# lsmod
Module Size Used by Not tainted
pcmcia_core 38112 0
ide-scsi 8048 0
3c509 10676 1
isa-pnp 30724 0 [3c509]

root@web:/proc# cat /proc/modules
pcmcia_core 38112 0
ide-scsi 8048 0
3c509 10676 1
isa-pnp 30724 0 [3c509]

I don't have a /proc/usb file or directory.

There are no enabled USB lines in /etc/rc.d/rc.modules

root@web:/proc# cat devices
Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
7 vcs
10 misc
29 fb
109 lvm
128 ptm
129 ptm
136 pts
137 pts
162 raw

Block devices:
1 ramdisk
2 fd
3 ide0
7 loop
9 md
22 ide1
58 lvm

What do you think?
 
Old 08-02-2003, 02:31 PM   #4
allo
Member
 
Registered: Jan 2003
Location: Toulouse, France
Distribution: slackware 8.1+
Posts: 35

Rep: Reputation: 15
Sorry but everything seems OK :

No usb modules, no usb devices and you don't have USB devices, so it's coherent.

under root :

grep -i 'usb' /var/log/message*
grep -i 'usb' /var/log/syslog*

for USB warnings or errors ?

When you reboot with your new kernel what's about usb messages ?

HTH
 
Old 08-02-2003, 02:51 PM   #5
jag7720
Member
 
Registered: Aug 2003
Posts: 53

Original Poster
Rep: Reputation: 15
When I boot with the new kernel I get to this point

usb.c: deregistering driver usbdevfs
usb.c: deregistering driver hub

and it will not go any further... I've waited for hours. and there are no errors. this also does not get put into /var/log/messages becuse the boot never completes.

If I reboot and use the origional kernel I get this

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 15:38:38 Mar 11 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Int erface driver
uhci.c: USB Universal Host Controller Interface driv er v1.1
usb.c: deregistering driver usbdevfs
usb.c: deregistering driver hub


grep -i 'usb' /var/log/syslog* Reports nothing back.

???

I don't get it. This is happening on a Dual P-Pro 200 and an IBM Intellistation. I've never had thi happen on previous versions of Slackware.

What do you think?
 
Old 08-02-2003, 06:31 PM   #6
allo
Member
 
Registered: Jan 2003
Location: Toulouse, France
Distribution: slackware 8.1+
Posts: 35

Rep: Reputation: 15
Hello again :-),

After your last post, I'm not sure that's your kernel problem comes from USB - the two last lines just before your kernel freeze are in the good kernel too -

in order to verify it, could you try to build a test kernel like the good ones without usb stuff only in .config and to rebuild the kernel with - i.e.
cd /usr/src/linux :
0- save your .config /some/where/.config (because mrproper remove .config )
1 - make mrproper (to clean deeply results of last compilation).
2 - cp /some/where/.config .config
3 - make xconfig to make changes in .config
4 - make dep && make clean && make bzImage && make modules && make modules_install
5 - Copy System.map et arch/i386/boot/bzImage to /boot
6 - modify /etc/lilo.conf and run lilo for adding your new kernel.

?

Your opinion ?
 
Old 08-03-2003, 10:29 PM   #7
zero_copy
Member
 
Registered: Aug 2003
Location: CT
Distribution: Slackware
Posts: 45

Rep: Reputation: 15
someone correct me if im wrong but i *think* devfs is experimental, and shouldnt be run with devpts enabled......
 
Old 08-04-2003, 07:18 PM   #8
jag7720
Member
 
Registered: Aug 2003
Posts: 53

Original Poster
Rep: Reputation: 15
Out for a week

I cant't reply until next Monday. I'm at the LinuxWorld Conf. in San Francisco this week and have limited access to my servers.

I'll try the suggestions this weekend and let you know how it goes.

thanks
Jason
 
Old 08-19-2003, 12:49 PM   #9
jag7720
Member
 
Registered: Aug 2003
Posts: 53

Original Poster
Rep: Reputation: 15
allo,

That worked. I was able to compile a new kernel and boot into Slackware 9 with smp and it all came up fine.

Thanks for all the help.

Jason
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Using Slack 10's 2.6.7 kernel packages on Slack 10.1? SocialEngineer Slackware 1 03-05-2005 12:53 PM
Kernel 2.6.8.1 on slack 10 derzok Linux - General 9 09-10-2004 05:10 PM
2.6.7 Kernel + Slack 10 Sir.Del Slackware 0 07-24-2004 10:33 AM
Slack 9.0 kernel in 9.1 Wolfgang67 Linux - Wireless Networking 2 01-16-2004 09:22 AM
slack and kernel 2.4.22 one Slackware 21 09-01-2003 08:22 PM

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

All times are GMT -5. The time now is 12:20 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