Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-02-2003, 12:45 PM
|
#1
|
Member
Registered: Aug 2003
Posts: 53
Rep:
|
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
|
|
|
08-02-2003, 01:27 PM
|
#2
|
Member
Registered: Jan 2003
Location: Toulouse, France
Distribution: slackware 8.1+
Posts: 35
Rep:
|
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 ?
|
|
|
08-02-2003, 02:06 PM
|
#3
|
Member
Registered: Aug 2003
Posts: 53
Original Poster
Rep:
|
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?
|
|
|
08-02-2003, 02:31 PM
|
#4
|
Member
Registered: Jan 2003
Location: Toulouse, France
Distribution: slackware 8.1+
Posts: 35
Rep:
|
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
|
|
|
08-02-2003, 02:51 PM
|
#5
|
Member
Registered: Aug 2003
Posts: 53
Original Poster
Rep:
|
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?
|
|
|
08-02-2003, 06:31 PM
|
#6
|
Member
Registered: Jan 2003
Location: Toulouse, France
Distribution: slackware 8.1+
Posts: 35
Rep:
|
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 ?
|
|
|
08-03-2003, 10:29 PM
|
#7
|
Member
Registered: Aug 2003
Location: CT
Distribution: Slackware
Posts: 45
Rep:
|
someone correct me if im wrong but i *think* devfs is experimental, and shouldnt be run with devpts enabled......
|
|
|
08-04-2003, 07:18 PM
|
#8
|
Member
Registered: Aug 2003
Posts: 53
Original Poster
Rep:
|
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
|
|
|
08-19-2003, 12:49 PM
|
#9
|
Member
Registered: Aug 2003
Posts: 53
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|